]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libstdc++/configure
merge fix for boot-time hang on centos' xen
[FreeBSD/FreeBSD.git] / contrib / libstdc++ / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib         build many library versions (default)
848   --enable-maintainer-mode enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-c-mbchar       enable multibyte (wide) characters
873                           [default=yes]
874   --enable-c99            turns on ISO/IEC 9899:1999 support
875                           [default=yes]
876   --enable-long-long      enables I/O support for 'long long'
877                           [default=yes]
878   --enable-concept-checks use Boost-derived template checks [default=no]
879   --enable-libstdcxx-debug-flags=FLAGS
880                           pass compiler FLAGS when building debug library
881                           [default="-g3 -O0"]
882   --enable-libstdcxx-debug
883                           build extra debug library [default=no]
884   --enable-cxx-flags=FLAGS
885                           pass compiler FLAGS when building library
886                           [default=]
887   --enable-fully-dynamic-string
888                           do not put empty strings in per-process static
889                           memory [default=no]
890   --enable-symvers=STYLE  enables symbol versioning of the shared library
891                           [default=yes]
892   --enable-version-specific-runtime-libs
893                           Specify that runtime libraries should be installed
894                           in a compiler-specific directory
895
896 Optional Packages:
897   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
898   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
899   --with-target-subdir=SUBDIR
900                           configuring in a subdirectory
901   --with-cross-host=HOST  configuring with a cross compiler
902   --with-newlib           assume newlib as a system C library
903   --with-gnu-ld           assume the C compiler uses GNU ld default=no
904   --with-pic              try to use only PIC/non-PIC objects default=use both
905   --with-gxx-include-dir=DIR
906                           installation directory for include files
907
908 Some influential environment variables:
909   CC          C compiler command
910   CFLAGS      C compiler flags
911   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
912               nonstandard directory <lib dir>
913   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
914               headers in a nonstandard directory <include dir>
915   CXX         C++ compiler command
916   CXXFLAGS    C++ compiler flags
917   CXXCPP      C++ preprocessor
918   CPP         C preprocessor
919
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
922
923 _ACEOF
924 fi
925
926 if test "$ac_init_help" = "recursive"; then
927   # If there are subdirs, report their specific --help.
928   ac_popdir=`pwd`
929   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930     test -d $ac_dir || continue
931     ac_builddir=.
932
933 if test "$ac_dir" != .; then
934   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935   # A "../" for each directory in $ac_dir_suffix.
936   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938   ac_dir_suffix= ac_top_builddir=
939 fi
940
941 case $srcdir in
942   .)  # No --srcdir option.  We are building in place.
943     ac_srcdir=.
944     if test -z "$ac_top_builddir"; then
945        ac_top_srcdir=.
946     else
947        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948     fi ;;
949   [\\/]* | ?:[\\/]* )  # Absolute path.
950     ac_srcdir=$srcdir$ac_dir_suffix;
951     ac_top_srcdir=$srcdir ;;
952   *) # Relative path.
953     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954     ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
956
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
961 *)
962   case "$ac_dir" in
963   .) ac_abs_builddir=`pwd`;;
964   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965   *) ac_abs_builddir=`pwd`/"$ac_dir";;
966   esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
970 *)
971   case ${ac_top_builddir}. in
972   .) ac_abs_top_builddir=$ac_abs_builddir;;
973   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975   esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
979 *)
980   case $ac_srcdir in
981   .) ac_abs_srcdir=$ac_abs_builddir;;
982   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984   esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
988 *)
989   case $ac_top_srcdir in
990   .) ac_abs_top_srcdir=$ac_abs_builddir;;
991   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993   esac;;
994 esac
995
996     cd $ac_dir
997     # Check for guested configure; otherwise get Cygnus style configure.
998     if test -f $ac_srcdir/configure.gnu; then
999       echo
1000       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1001     elif test -f $ac_srcdir/configure; then
1002       echo
1003       $SHELL $ac_srcdir/configure  --help=recursive
1004     elif test -f $ac_srcdir/configure.ac ||
1005            test -f $ac_srcdir/configure.in; then
1006       echo
1007       $ac_configure --help
1008     else
1009       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010     fi
1011     cd $ac_popdir
1012   done
1013 fi
1014
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017   cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1020
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025   exit 0
1026 fi
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1031
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59.  Invocation command line was
1034
1035   $ $0 $@
1036
1037 _ACEOF
1038 {
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1043
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1052
1053 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1054 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1057 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1058 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1059 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1060
1061 _ASUNAME
1062
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1065 do
1066   IFS=$as_save_IFS
1067   test -z "$as_dir" && as_dir=.
1068   echo "PATH: $as_dir"
1069 done
1070
1071 } >&5
1072
1073 cat >&5 <<_ACEOF
1074
1075
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1079
1080 _ACEOF
1081
1082
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1094 do
1095   for ac_arg
1096   do
1097     case $ac_arg in
1098     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100     | -silent | --silent | --silen | --sile | --sil)
1101       continue ;;
1102     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104     esac
1105     case $ac_pass in
1106     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107     2)
1108       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109       if test $ac_must_keep_next = true; then
1110         ac_must_keep_next=false # Got value, back to normal.
1111       else
1112         case $ac_arg in
1113           *=* | --config-cache | -C | -disable-* | --disable-* \
1114           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116           | -with-* | --with-* | -without-* | --without-* | --x)
1117             case "$ac_configure_args0 " in
1118               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119             esac
1120             ;;
1121           -* ) ac_must_keep_next=true ;;
1122         esac
1123       fi
1124       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125       # Get rid of the leading space.
1126       ac_sep=" "
1127       ;;
1128     esac
1129   done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log.  We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140   # Save into config.log some information that might help in debugging.
1141   {
1142     echo
1143
1144     cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149     echo
1150     # The following way of writing the cache mishandles newlines in values,
1151 {
1152   (set) 2>&1 |
1153     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154     *ac_space=\ *)
1155       sed -n \
1156         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1158       ;;
1159     *)
1160       sed -n \
1161         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162       ;;
1163     esac;
1164 }
1165     echo
1166
1167     cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172     echo
1173     for ac_var in $ac_subst_vars
1174     do
1175       eval ac_val=$`echo $ac_var`
1176       echo "$ac_var='"'"'$ac_val'"'"'"
1177     done | sort
1178     echo
1179
1180     if test -n "$ac_subst_files"; then
1181       cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186       echo
1187       for ac_var in $ac_subst_files
1188       do
1189         eval ac_val=$`echo $ac_var`
1190         echo "$ac_var='"'"'$ac_val'"'"'"
1191       done | sort
1192       echo
1193     fi
1194
1195     if test -s confdefs.h; then
1196       cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201       echo
1202       sed "/^$/d" confdefs.h | sort
1203       echo
1204     fi
1205     test "$ac_signal" != 0 &&
1206       echo "$as_me: caught signal $ac_signal"
1207     echo "$as_me: exit $exit_status"
1208   } >&5
1209   rm -f core *.core &&
1210   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211     exit $exit_status
1212      ' 0
1213 for ac_signal in 1 2 13 15; do
1214   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1217
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1222
1223 # Predefined preprocessor variables.
1224
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1248
1249
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253   if test "x$prefix" != xNONE; then
1254     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255   else
1256     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257   fi
1258 fi
1259 for ac_site_file in $CONFIG_SITE; do
1260   if test -r "$ac_site_file"; then
1261     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263     sed 's/^/| /' "$ac_site_file" >&5
1264     . "$ac_site_file"
1265   fi
1266 done
1267
1268 if test -r "$cache_file"; then
1269   # Some versions of bash will fail to source /dev/null (special
1270   # files actually), so we avoid doing that.
1271   if test -f "$cache_file"; then
1272     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274     case $cache_file in
1275       [\\/]* | ?:[\\/]* ) . $cache_file;;
1276       *)                      . ./$cache_file;;
1277     esac
1278   fi
1279 else
1280   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282   >$cache_file
1283 fi
1284
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291   eval ac_new_set=\$ac_env_${ac_var}_set
1292   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293   eval ac_new_val="\$ac_env_${ac_var}_value"
1294   case $ac_old_set,$ac_new_set in
1295     set,)
1296       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298       ac_cache_corrupted=: ;;
1299     ,set)
1300       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302       ac_cache_corrupted=: ;;
1303     ,);;
1304     *)
1305       if test "x$ac_old_val" != "x$ac_new_val"; then
1306         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1309 echo "$as_me:   former value:  $ac_old_val" >&2;}
1310         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1311 echo "$as_me:   current value: $ac_new_val" >&2;}
1312         ac_cache_corrupted=:
1313       fi;;
1314   esac
1315   # Pass precious variables to config.status.
1316   if test "$ac_new_set" = set; then
1317     case $ac_new_val in
1318     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320     *) ac_arg=$ac_var=$ac_new_val ;;
1321     esac
1322     case " $ac_configure_args " in
1323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1324       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325     esac
1326   fi
1327 done
1328 if $ac_cache_corrupted; then
1329   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333    { (exit 1); exit 1; }; }
1334 fi
1335
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369           ac_config_headers="$ac_config_headers config.h"
1370
1371
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported.  Only used at the end of this file.
1376 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1377
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:3:0
1380
1381
1382 # Find the rest of the source tree framework.
1383
1384   # Sets up multi_basedir, which is srcdir/.. plus the usual
1385   # "multi_source_toprel_bottom_adjust" lunacy as needed.
1386   # Default to --enable-multilib
1387 # Check whether --enable-multilib or --disable-multilib was given.
1388 if test "${enable_multilib+set}" = set; then
1389   enableval="$enable_multilib"
1390   case "$enableval" in
1391   yes) multilib=yes ;;
1392   no)  multilib=no ;;
1393   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1394 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1395    { (exit 1); exit 1; }; } ;;
1396  esac
1397 else
1398   multilib=yes
1399 fi;
1400
1401 # We may get other options which we leave undocumented:
1402 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1403 # See config-ml.in if you want the gory details.
1404
1405 if test "$srcdir" = "."; then
1406   if test "$with_target_subdir" != "."; then
1407     multi_basedir="$srcdir/$with_multisrctop../.."
1408   else
1409     multi_basedir="$srcdir/$with_multisrctop.."
1410   fi
1411 else
1412   multi_basedir="$srcdir/.."
1413 fi
1414
1415
1416           ac_config_commands="$ac_config_commands default-1"
1417
1418
1419   # The generated code is exactly the same, except that automake's looks in
1420   # ".. $srcdir/.." and autoconf's looks in multi_basedir.  Apparently other
1421   # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1422   # know what they are or what the other differences might be (and they keep
1423   # changing anyhow).
1424   #
1425   # Looking in multi_basedir seems smarter, so actually execute that branch.
1426   if false; then
1427     # this is for automake
1428     ac_aux_dir=
1429 for ac_dir in .. $srcdir/..; do
1430   if test -f $ac_dir/install-sh; then
1431     ac_aux_dir=$ac_dir
1432     ac_install_sh="$ac_aux_dir/install-sh -c"
1433     break
1434   elif 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/shtool; then
1439     ac_aux_dir=$ac_dir
1440     ac_install_sh="$ac_aux_dir/shtool install -c"
1441     break
1442   fi
1443 done
1444 if test -z "$ac_aux_dir"; then
1445   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1446 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1447    { (exit 1); exit 1; }; }
1448 fi
1449 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1450 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1451 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1452
1453   else
1454     # this is for autoconf
1455     ac_aux_dir=
1456 for ac_dir in ${multi_basedir}; do
1457   if test -f $ac_dir/install-sh; then
1458     ac_aux_dir=$ac_dir
1459     ac_install_sh="$ac_aux_dir/install-sh -c"
1460     break
1461   elif test -f $ac_dir/install.sh; then
1462     ac_aux_dir=$ac_dir
1463     ac_install_sh="$ac_aux_dir/install.sh -c"
1464     break
1465   elif test -f $ac_dir/shtool; then
1466     ac_aux_dir=$ac_dir
1467     ac_install_sh="$ac_aux_dir/shtool install -c"
1468     break
1469   fi
1470 done
1471 if test -z "$ac_aux_dir"; then
1472   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1473 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1474    { (exit 1); exit 1; }; }
1475 fi
1476 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1477 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1478 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1479
1480   fi
1481
1482
1483
1484 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1485 #
1486 # You will slowly go insane if you do not grok the following fact:  when
1487 # building v3 as part of the compiler, the top-level /target/ becomes the
1488 # library's /host/.  configure then causes --target to default to --host,
1489 # exactly like any other package using autoconf.  Therefore, 'target' and
1490 # 'host' will always be the same.  This makes sense both for native and
1491 # cross compilers, just think about it for a little while.  :-)
1492 #
1493 # Also, if v3 is being configured as part of a cross compiler, the top-level
1494 # configure script will pass the "real" host as $with_cross_host.
1495 #
1496 # Do not delete or change the following two lines.  For why, see
1497 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1498 # Make sure we can run config.sub.
1499 $ac_config_sub sun4 >/dev/null 2>&1 ||
1500   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1501 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1502    { (exit 1); exit 1; }; }
1503
1504 echo "$as_me:$LINENO: checking build system type" >&5
1505 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1506 if test "${ac_cv_build+set}" = set; then
1507   echo $ECHO_N "(cached) $ECHO_C" >&6
1508 else
1509   ac_cv_build_alias=$build_alias
1510 test -z "$ac_cv_build_alias" &&
1511   ac_cv_build_alias=`$ac_config_guess`
1512 test -z "$ac_cv_build_alias" &&
1513   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1514 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1515    { (exit 1); exit 1; }; }
1516 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1517   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1518 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1519    { (exit 1); exit 1; }; }
1520
1521 fi
1522 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1523 echo "${ECHO_T}$ac_cv_build" >&6
1524 build=$ac_cv_build
1525 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1526 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1527 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528
1529
1530 echo "$as_me:$LINENO: checking host system type" >&5
1531 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1532 if test "${ac_cv_host+set}" = set; then
1533   echo $ECHO_N "(cached) $ECHO_C" >&6
1534 else
1535   ac_cv_host_alias=$host_alias
1536 test -z "$ac_cv_host_alias" &&
1537   ac_cv_host_alias=$ac_cv_build_alias
1538 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1539   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1540 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1541    { (exit 1); exit 1; }; }
1542
1543 fi
1544 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1545 echo "${ECHO_T}$ac_cv_host" >&6
1546 host=$ac_cv_host
1547 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1548 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1549 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550
1551
1552 echo "$as_me:$LINENO: checking target system type" >&5
1553 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1554 if test "${ac_cv_target+set}" = set; then
1555   echo $ECHO_N "(cached) $ECHO_C" >&6
1556 else
1557   ac_cv_target_alias=$target_alias
1558 test "x$ac_cv_target_alias" = "x" &&
1559   ac_cv_target_alias=$ac_cv_host_alias
1560 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1561   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1562 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1563    { (exit 1); exit 1; }; }
1564
1565 fi
1566 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1567 echo "${ECHO_T}$ac_cv_target" >&6
1568 target=$ac_cv_target
1569 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1570 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1571 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572
1573
1574 # The aliases save the names the user supplied, while $host etc.
1575 # will get canonicalized.
1576 test -n "$target_alias" &&
1577   test "$program_prefix$program_suffix$program_transform_name" = \
1578     NONENONEs,x,x, &&
1579   program_prefix=${target_alias}-
1580 target_alias=${target_alias-$host_alias}
1581
1582 # Handy for debugging:
1583 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1584
1585 if test "$build" != "$host"; then
1586   # We are being configured with some form of cross compiler.
1587   GLIBCXX_IS_NATIVE=false
1588
1589 else
1590   GLIBCXX_IS_NATIVE=true
1591 fi
1592
1593 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1594 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1595 #  1.x:  minimum required version
1596 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1597 #              of other PACKAGE_* variables will, however, and there's nothing
1598 #              we can do about that; they come from AC_INIT).
1599 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1600 #            file in the top srcdir, etc, etc), so stop complaining.
1601 #  no-dependencies:  turns off auto dependency generation (just for now)
1602 #  -Wall:  turns on all automake warnings...
1603 #  -Wno-portability:  ...except this one, since GNU make is now required.
1604 am__api_version="1.7"
1605 # Find a good install program.  We prefer a C program (faster),
1606 # so one script is as good as another.  But avoid the broken or
1607 # incompatible versions:
1608 # SysV /etc/install, /usr/sbin/install
1609 # SunOS /usr/etc/install
1610 # IRIX /sbin/install
1611 # AIX /bin/install
1612 # AmigaOS /C/install, which installs bootblocks on floppy discs
1613 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1616 # OS/2's system install, which has a completely different semantic
1617 # ./install, which can be erroneously created by make from ./install.sh.
1618 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1619 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1620 if test -z "$INSTALL"; then
1621 if test "${ac_cv_path_install+set}" = set; then
1622   echo $ECHO_N "(cached) $ECHO_C" >&6
1623 else
1624   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625 for as_dir in $PATH
1626 do
1627   IFS=$as_save_IFS
1628   test -z "$as_dir" && as_dir=.
1629   # Account for people who put trailing slashes in PATH elements.
1630 case $as_dir/ in
1631   ./ | .// | /cC/* | \
1632   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1633   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1634   /usr/ucb/* ) ;;
1635   *)
1636     # OSF1 and SCO ODT 3.0 have their own names for install.
1637     # Don't use installbsd from OSF since it installs stuff as root
1638     # by default.
1639     for ac_prog in ginstall scoinst install; do
1640       for ac_exec_ext in '' $ac_executable_extensions; do
1641         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1642           if test $ac_prog = install &&
1643             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1644             # AIX install.  It has an incompatible calling convention.
1645             :
1646           elif test $ac_prog = install &&
1647             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1648             # program-specific install script used by HP pwplus--don't use.
1649             :
1650           else
1651             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1652             break 3
1653           fi
1654         fi
1655       done
1656     done
1657     ;;
1658 esac
1659 done
1660
1661
1662 fi
1663   if test "${ac_cv_path_install+set}" = set; then
1664     INSTALL=$ac_cv_path_install
1665   else
1666     # As a last resort, use the slow shell script.  We don't cache a
1667     # path for INSTALL within a source directory, because that will
1668     # break other packages using the cache if that directory is
1669     # removed, or if the path is relative.
1670     INSTALL=$ac_install_sh
1671   fi
1672 fi
1673 echo "$as_me:$LINENO: result: $INSTALL" >&5
1674 echo "${ECHO_T}$INSTALL" >&6
1675
1676 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1677 # It thinks the first close brace ends the variable substitution.
1678 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1679
1680 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1681
1682 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1683
1684 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1685 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1686 # Just in case
1687 sleep 1
1688 echo timestamp > conftest.file
1689 # Do `set' in a subshell so we don't clobber the current shell's
1690 # arguments.  Must try -L first in case configure is actually a
1691 # symlink; some systems play weird games with the mod time of symlinks
1692 # (eg FreeBSD returns the mod time of the symlink's containing
1693 # directory).
1694 if (
1695    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1696    if test "$*" = "X"; then
1697       # -L didn't work.
1698       set X `ls -t $srcdir/configure conftest.file`
1699    fi
1700    rm -f conftest.file
1701    if test "$*" != "X $srcdir/configure conftest.file" \
1702       && test "$*" != "X conftest.file $srcdir/configure"; then
1703
1704       # If neither matched, then we have a broken ls.  This can happen
1705       # if, for instance, CONFIG_SHELL is bash and it inherits a
1706       # broken ls alias from the environment.  This has actually
1707       # happened.  Such a system could not be considered "sane".
1708       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1709 alias in your environment" >&5
1710 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1711 alias in your environment" >&2;}
1712    { (exit 1); exit 1; }; }
1713    fi
1714
1715    test "$2" = conftest.file
1716    )
1717 then
1718    # Ok.
1719    :
1720 else
1721    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1722 Check your system clock" >&5
1723 echo "$as_me: error: newly created file is older than distributed files!
1724 Check your system clock" >&2;}
1725    { (exit 1); exit 1; }; }
1726 fi
1727 echo "$as_me:$LINENO: result: yes" >&5
1728 echo "${ECHO_T}yes" >&6
1729 test "$program_prefix" != NONE &&
1730   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1731 # Use a double $ so make ignores it.
1732 test "$program_suffix" != NONE &&
1733   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1734 # Double any \ or $.  echo might interpret backslashes.
1735 # By default was `s,x,x', remove it if useless.
1736 cat <<\_ACEOF >conftest.sed
1737 s/[\\$]/&&/g;s/;s,x,x,$//
1738 _ACEOF
1739 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1740 rm conftest.sed
1741
1742
1743 # expand $ac_aux_dir to an absolute path
1744 am_aux_dir=`cd $ac_aux_dir && pwd`
1745
1746 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1747 # Use eval to expand $SHELL
1748 if eval "$MISSING --run true"; then
1749   am_missing_run="$MISSING --run "
1750 else
1751   am_missing_run=
1752   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1753 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1754 fi
1755
1756 for ac_prog in gawk mawk nawk awk
1757 do
1758   # Extract the first word of "$ac_prog", so it can be a program name with args.
1759 set dummy $ac_prog; ac_word=$2
1760 echo "$as_me:$LINENO: checking for $ac_word" >&5
1761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1762 if test "${ac_cv_prog_AWK+set}" = set; then
1763   echo $ECHO_N "(cached) $ECHO_C" >&6
1764 else
1765   if test -n "$AWK"; then
1766   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1767 else
1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1769 for as_dir in $PATH
1770 do
1771   IFS=$as_save_IFS
1772   test -z "$as_dir" && as_dir=.
1773   for ac_exec_ext in '' $ac_executable_extensions; do
1774   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775     ac_cv_prog_AWK="$ac_prog"
1776     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1777     break 2
1778   fi
1779 done
1780 done
1781
1782 fi
1783 fi
1784 AWK=$ac_cv_prog_AWK
1785 if test -n "$AWK"; then
1786   echo "$as_me:$LINENO: result: $AWK" >&5
1787 echo "${ECHO_T}$AWK" >&6
1788 else
1789   echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6
1791 fi
1792
1793   test -n "$AWK" && break
1794 done
1795
1796 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1797 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1798 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1799 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1800   echo $ECHO_N "(cached) $ECHO_C" >&6
1801 else
1802   cat >conftest.make <<\_ACEOF
1803 all:
1804         @echo 'ac_maketemp="$(MAKE)"'
1805 _ACEOF
1806 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1807 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1808 if test -n "$ac_maketemp"; then
1809   eval ac_cv_prog_make_${ac_make}_set=yes
1810 else
1811   eval ac_cv_prog_make_${ac_make}_set=no
1812 fi
1813 rm -f conftest.make
1814 fi
1815 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1816   echo "$as_me:$LINENO: result: yes" >&5
1817 echo "${ECHO_T}yes" >&6
1818   SET_MAKE=
1819 else
1820   echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1822   SET_MAKE="MAKE=${MAKE-make}"
1823 fi
1824
1825 rm -rf .tst 2>/dev/null
1826 mkdir .tst 2>/dev/null
1827 if test -d .tst; then
1828   am__leading_dot=.
1829 else
1830   am__leading_dot=_
1831 fi
1832 rmdir .tst 2>/dev/null
1833
1834  # test to see if srcdir already configured
1835 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1836    test -f $srcdir/config.status; then
1837   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1838 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1839    { (exit 1); exit 1; }; }
1840 fi
1841
1842 # test whether we have cygpath
1843 if test -z "$CYGPATH_W"; then
1844   if (cygpath --version) >/dev/null 2>/dev/null; then
1845     CYGPATH_W='cygpath -w'
1846   else
1847     CYGPATH_W=echo
1848   fi
1849 fi
1850
1851
1852 # Define the identity of the package.
1853  PACKAGE='libstdc++'
1854  VERSION='version-unused'
1855
1856
1857 # Some tools Automake needs.
1858
1859 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1860
1861
1862 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1863
1864
1865 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1866
1867
1868 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1869
1870
1871 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1872
1873
1874 AMTAR=${AMTAR-"${am_missing_run}tar"}
1875
1876 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1877
1878 # Installed binaries are usually stripped using `strip' when the user
1879 # run `make install-strip'.  However `strip' might not be the right
1880 # tool to use in cross-compilation environments, therefore Automake
1881 # will honor the `STRIP' environment variable to overrule this program.
1882 if test "$cross_compiling" != no; then
1883   if test -n "$ac_tool_prefix"; then
1884   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1885 set dummy ${ac_tool_prefix}strip; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_STRIP+set}" = set; then
1889   echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891   if test -n "$STRIP"; then
1892   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1896 do
1897   IFS=$as_save_IFS
1898   test -z "$as_dir" && as_dir=.
1899   for ac_exec_ext in '' $ac_executable_extensions; do
1900   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903     break 2
1904   fi
1905 done
1906 done
1907
1908 fi
1909 fi
1910 STRIP=$ac_cv_prog_STRIP
1911 if test -n "$STRIP"; then
1912   echo "$as_me:$LINENO: result: $STRIP" >&5
1913 echo "${ECHO_T}$STRIP" >&6
1914 else
1915   echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919 fi
1920 if test -z "$ac_cv_prog_STRIP"; then
1921   ac_ct_STRIP=$STRIP
1922   # Extract the first word of "strip", so it can be a program name with args.
1923 set dummy strip; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1927   echo $ECHO_N "(cached) $ECHO_C" >&6
1928 else
1929   if test -n "$ac_ct_STRIP"; then
1930   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1931 else
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 for as_dir in $PATH
1934 do
1935   IFS=$as_save_IFS
1936   test -z "$as_dir" && as_dir=.
1937   for ac_exec_ext in '' $ac_executable_extensions; do
1938   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939     ac_cv_prog_ac_ct_STRIP="strip"
1940     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941     break 2
1942   fi
1943 done
1944 done
1945
1946   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1947 fi
1948 fi
1949 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1950 if test -n "$ac_ct_STRIP"; then
1951   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1952 echo "${ECHO_T}$ac_ct_STRIP" >&6
1953 else
1954   echo "$as_me:$LINENO: result: no" >&5
1955 echo "${ECHO_T}no" >&6
1956 fi
1957
1958   STRIP=$ac_ct_STRIP
1959 else
1960   STRIP="$ac_cv_prog_STRIP"
1961 fi
1962
1963 fi
1964 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1965
1966 # We need awk for the "check" target.  The system "awk" is bad on
1967 # some platforms.
1968
1969
1970
1971
1972 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1973 # up critical shell variables.
1974
1975   # Keep these sync'd with the list in Makefile.am.  The first provides an
1976   # expandable list at autoconf time; the second provides an expandable list
1977   # (i.e., shell variable) at configure time.
1978
1979   SUBDIRS='include libmath libsupc++ src po testsuite'
1980
1981   # These need to be absolute paths, yet at the same time need to
1982   # canonicalize only relative paths, because then amd will not unmount
1983   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1984   glibcxx_builddir=`${PWDCMD-pwd}`
1985   case $srcdir in
1986     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1987     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1988   esac
1989   toplevel_srcdir=${glibcxx_srcdir}/..
1990
1991
1992
1993
1994   # We use these options to decide which functions to include.  They are
1995   # set from the top level.
1996
1997 # Check whether --with-target-subdir or --without-target-subdir was given.
1998 if test "${with_target_subdir+set}" = set; then
1999   withval="$with_target_subdir"
2000
2001 fi;
2002
2003
2004 # Check whether --with-cross-host or --without-cross-host was given.
2005 if test "${with_cross_host+set}" = set; then
2006   withval="$with_cross_host"
2007
2008 fi;
2009
2010
2011 # Check whether --with-newlib or --without-newlib was given.
2012 if test "${with_newlib+set}" = set; then
2013   withval="$with_newlib"
2014
2015 fi;
2016
2017   # We're almost certainly being configured before anything else which uses
2018   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2019   # we not cache the value of CXX that we "discover" here, because it's set
2020   # to something unique for us and libjava.  Other target libraries need to
2021   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2022   # process by sneakily renaming the cache variable.  This also lets us debug
2023   # the value of "our" CXX in postmortems.
2024   #
2025   # We must also force CXX to /not/ be a precious variable, otherwise the
2026   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2027   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2028   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2029   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2030   #
2031   # -fno-builtin must be present here so that a non-conflicting form of
2032   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2033
2034
2035
2036
2037   save_CXXFLAGS="$CXXFLAGS"
2038   CXXFLAGS="$CXXFLAGS -fno-builtin"
2039   ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050   echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052   if test -n "$CC"; then
2053   ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2057 do
2058   IFS=$as_save_IFS
2059   test -z "$as_dir" && as_dir=.
2060   for ac_exec_ext in '' $ac_executable_extensions; do
2061   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064     break 2
2065   fi
2066 done
2067 done
2068
2069 fi
2070 fi
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073   echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6
2075 else
2076   echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6
2078 fi
2079
2080 fi
2081 if test -z "$ac_cv_prog_CC"; then
2082   ac_ct_CC=$CC
2083   # Extract the first word of "gcc", so it can be a program name with args.
2084 set dummy gcc; ac_word=$2
2085 echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2088   echo $ECHO_N "(cached) $ECHO_C" >&6
2089 else
2090   if test -n "$ac_ct_CC"; then
2091   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2092 else
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 for as_dir in $PATH
2095 do
2096   IFS=$as_save_IFS
2097   test -z "$as_dir" && as_dir=.
2098   for ac_exec_ext in '' $ac_executable_extensions; do
2099   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100     ac_cv_prog_ac_ct_CC="gcc"
2101     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2102     break 2
2103   fi
2104 done
2105 done
2106
2107 fi
2108 fi
2109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2110 if test -n "$ac_ct_CC"; then
2111   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2112 echo "${ECHO_T}$ac_ct_CC" >&6
2113 else
2114   echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6
2116 fi
2117
2118   CC=$ac_ct_CC
2119 else
2120   CC="$ac_cv_prog_CC"
2121 fi
2122
2123 if test -z "$CC"; then
2124   if test -n "$ac_tool_prefix"; then
2125   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2126 set dummy ${ac_tool_prefix}cc; ac_word=$2
2127 echo "$as_me:$LINENO: checking for $ac_word" >&5
2128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2129 if test "${ac_cv_prog_CC+set}" = set; then
2130   echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132   if test -n "$CC"; then
2133   ac_cv_prog_CC="$CC" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2137 do
2138   IFS=$as_save_IFS
2139   test -z "$as_dir" && as_dir=.
2140   for ac_exec_ext in '' $ac_executable_extensions; do
2141   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2142     ac_cv_prog_CC="${ac_tool_prefix}cc"
2143     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144     break 2
2145   fi
2146 done
2147 done
2148
2149 fi
2150 fi
2151 CC=$ac_cv_prog_CC
2152 if test -n "$CC"; then
2153   echo "$as_me:$LINENO: result: $CC" >&5
2154 echo "${ECHO_T}$CC" >&6
2155 else
2156   echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2158 fi
2159
2160 fi
2161 if test -z "$ac_cv_prog_CC"; then
2162   ac_ct_CC=$CC
2163   # Extract the first word of "cc", so it can be a program name with args.
2164 set dummy cc; ac_word=$2
2165 echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2167 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2168   echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170   if test -n "$ac_ct_CC"; then
2171   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2175 do
2176   IFS=$as_save_IFS
2177   test -z "$as_dir" && as_dir=.
2178   for ac_exec_ext in '' $ac_executable_extensions; do
2179   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180     ac_cv_prog_ac_ct_CC="cc"
2181     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182     break 2
2183   fi
2184 done
2185 done
2186
2187 fi
2188 fi
2189 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2190 if test -n "$ac_ct_CC"; then
2191   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2192 echo "${ECHO_T}$ac_ct_CC" >&6
2193 else
2194   echo "$as_me:$LINENO: result: no" >&5
2195 echo "${ECHO_T}no" >&6
2196 fi
2197
2198   CC=$ac_ct_CC
2199 else
2200   CC="$ac_cv_prog_CC"
2201 fi
2202
2203 fi
2204 if test -z "$CC"; then
2205   # Extract the first word of "cc", so it can be a program name with args.
2206 set dummy cc; ac_word=$2
2207 echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2209 if test "${ac_cv_prog_CC+set}" = set; then
2210   echo $ECHO_N "(cached) $ECHO_C" >&6
2211 else
2212   if test -n "$CC"; then
2213   ac_cv_prog_CC="$CC" # Let the user override the test.
2214 else
2215   ac_prog_rejected=no
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2217 for as_dir in $PATH
2218 do
2219   IFS=$as_save_IFS
2220   test -z "$as_dir" && as_dir=.
2221   for ac_exec_ext in '' $ac_executable_extensions; do
2222   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2223     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2224        ac_prog_rejected=yes
2225        continue
2226      fi
2227     ac_cv_prog_CC="cc"
2228     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2229     break 2
2230   fi
2231 done
2232 done
2233
2234 if test $ac_prog_rejected = yes; then
2235   # We found a bogon in the path, so make sure we never use it.
2236   set dummy $ac_cv_prog_CC
2237   shift
2238   if test $# != 0; then
2239     # We chose a different compiler from the bogus one.
2240     # However, it has the same basename, so the bogon will be chosen
2241     # first if we set CC to just the basename; use the full file name.
2242     shift
2243     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2244   fi
2245 fi
2246 fi
2247 fi
2248 CC=$ac_cv_prog_CC
2249 if test -n "$CC"; then
2250   echo "$as_me:$LINENO: result: $CC" >&5
2251 echo "${ECHO_T}$CC" >&6
2252 else
2253   echo "$as_me:$LINENO: result: no" >&5
2254 echo "${ECHO_T}no" >&6
2255 fi
2256
2257 fi
2258 if test -z "$CC"; then
2259   if test -n "$ac_tool_prefix"; then
2260   for ac_prog in cl
2261   do
2262     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267   echo $ECHO_N "(cached) $ECHO_C" >&6
2268 else
2269   if test -n "$CC"; then
2270   ac_cv_prog_CC="$CC" # Let the user override the test.
2271 else
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 for as_dir in $PATH
2274 do
2275   IFS=$as_save_IFS
2276   test -z "$as_dir" && as_dir=.
2277   for ac_exec_ext in '' $ac_executable_extensions; do
2278   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2280     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281     break 2
2282   fi
2283 done
2284 done
2285
2286 fi
2287 fi
2288 CC=$ac_cv_prog_CC
2289 if test -n "$CC"; then
2290   echo "$as_me:$LINENO: result: $CC" >&5
2291 echo "${ECHO_T}$CC" >&6
2292 else
2293   echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2295 fi
2296
2297     test -n "$CC" && break
2298   done
2299 fi
2300 if test -z "$CC"; then
2301   ac_ct_CC=$CC
2302   for ac_prog in cl
2303 do
2304   # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy $ac_prog; ac_word=$2
2306 echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2309   echo $ECHO_N "(cached) $ECHO_C" >&6
2310 else
2311   if test -n "$ac_ct_CC"; then
2312   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2316 do
2317   IFS=$as_save_IFS
2318   test -z "$as_dir" && as_dir=.
2319   for ac_exec_ext in '' $ac_executable_extensions; do
2320   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2321     ac_cv_prog_ac_ct_CC="$ac_prog"
2322     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323     break 2
2324   fi
2325 done
2326 done
2327
2328 fi
2329 fi
2330 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2331 if test -n "$ac_ct_CC"; then
2332   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2333 echo "${ECHO_T}$ac_ct_CC" >&6
2334 else
2335   echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6
2337 fi
2338
2339   test -n "$ac_ct_CC" && break
2340 done
2341
2342   CC=$ac_ct_CC
2343 fi
2344
2345 fi
2346
2347
2348 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: no acceptable C compiler found in \$PATH
2351 See \`config.log' for more details." >&2;}
2352    { (exit 1); exit 1; }; }
2353
2354 # Provide some information about the compiler.
2355 echo "$as_me:$LINENO:" \
2356      "checking for C compiler version" >&5
2357 ac_compiler=`set X $ac_compile; echo $2`
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2359   (eval $ac_compiler --version </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 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2369   (eval $ac_compiler -V </dev/null >&5) 2>&5
2370   ac_status=$?
2371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372   (exit $ac_status); }
2373
2374 cat >conftest.$ac_ext <<_ACEOF
2375 /* confdefs.h.  */
2376 _ACEOF
2377 cat confdefs.h >>conftest.$ac_ext
2378 cat >>conftest.$ac_ext <<_ACEOF
2379 /* end confdefs.h.  */
2380
2381 int
2382 main ()
2383 {
2384
2385   ;
2386   return 0;
2387 }
2388 _ACEOF
2389 # FIXME: Cleanup?
2390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2391   (eval $ac_link) 2>&5
2392   ac_status=$?
2393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394   (exit $ac_status); }; then
2395   gcc_no_link=no
2396 else
2397   gcc_no_link=yes
2398 fi
2399
2400 if test x$gcc_no_link = xyes; then
2401   # Setting cross_compile will disable run tests; it will
2402   # also disable AC_CHECK_FILE but that's generally
2403   # correct if we can't link.
2404   cross_compiling=yes
2405   EXEEXT=
2406 else
2407   cat >conftest.$ac_ext <<_ACEOF
2408 /* confdefs.h.  */
2409 _ACEOF
2410 cat confdefs.h >>conftest.$ac_ext
2411 cat >>conftest.$ac_ext <<_ACEOF
2412 /* end confdefs.h.  */
2413
2414 int
2415 main ()
2416 {
2417
2418   ;
2419   return 0;
2420 }
2421 _ACEOF
2422 ac_clean_files_save=$ac_clean_files
2423 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2424 # Try to create an executable without -o first, disregard a.out.
2425 # It will help us diagnose broken compilers, and finding out an intuition
2426 # of exeext.
2427 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2428 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2429 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2430 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2431   (eval $ac_link_default) 2>&5
2432   ac_status=$?
2433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434   (exit $ac_status); }; then
2435   # Find the output, starting from the most likely.  This scheme is
2436 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2437 # resort.
2438
2439 # Be careful to initialize this variable, since it used to be cached.
2440 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2441 ac_cv_exeext=
2442 # b.out is created by i960 compilers.
2443 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2444 do
2445   test -f "$ac_file" || continue
2446   case $ac_file in
2447     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2448         ;;
2449     conftest.$ac_ext )
2450         # This is the source file.
2451         ;;
2452     [ab].out )
2453         # We found the default executable, but exeext='' is most
2454         # certainly right.
2455         break;;
2456     *.* )
2457         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458         # FIXME: I believe we export ac_cv_exeext for Libtool,
2459         # but it would be cool to find out if it's true.  Does anybody
2460         # maintain Libtool? --akim.
2461         export ac_cv_exeext
2462         break;;
2463     * )
2464         break;;
2465   esac
2466 done
2467 else
2468   echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.$ac_ext >&5
2470
2471 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2472 See \`config.log' for more details." >&5
2473 echo "$as_me: error: C compiler cannot create executables
2474 See \`config.log' for more details." >&2;}
2475    { (exit 77); exit 77; }; }
2476 fi
2477
2478 ac_exeext=$ac_cv_exeext
2479 echo "$as_me:$LINENO: result: $ac_file" >&5
2480 echo "${ECHO_T}$ac_file" >&6
2481
2482 # Check the compiler produces executables we can run.  If not, either
2483 # the compiler is broken, or we cross compile.
2484 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2485 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2486 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2487 # If not cross compiling, check that we can run a simple program.
2488 if test "$cross_compiling" != yes; then
2489   if { ac_try='./$ac_file'
2490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491   (eval $ac_try) 2>&5
2492   ac_status=$?
2493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494   (exit $ac_status); }; }; then
2495     cross_compiling=no
2496   else
2497     if test "$cross_compiling" = maybe; then
2498         cross_compiling=yes
2499     else
2500         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details." >&5
2503 echo "$as_me: error: cannot run C compiled programs.
2504 If you meant to cross compile, use \`--host'.
2505 See \`config.log' for more details." >&2;}
2506    { (exit 1); exit 1; }; }
2507     fi
2508   fi
2509 fi
2510 echo "$as_me:$LINENO: result: yes" >&5
2511 echo "${ECHO_T}yes" >&6
2512
2513 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2514 ac_clean_files=$ac_clean_files_save
2515 # Check the compiler produces executables we can run.  If not, either
2516 # the compiler is broken, or we cross compile.
2517 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2518 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2519 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2520 echo "${ECHO_T}$cross_compiling" >&6
2521
2522 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2523 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2525   (eval $ac_link) 2>&5
2526   ac_status=$?
2527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528   (exit $ac_status); }; then
2529   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2530 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2531 # work properly (i.e., refer to `conftest.exe'), while it won't with
2532 # `rm'.
2533 for ac_file in conftest.exe conftest conftest.*; do
2534   test -f "$ac_file" || continue
2535   case $ac_file in
2536     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2537     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538           export ac_cv_exeext
2539           break;;
2540     * ) break;;
2541   esac
2542 done
2543 else
2544   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&5
2546 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2547 See \`config.log' for more details." >&2;}
2548    { (exit 1); exit 1; }; }
2549 fi
2550
2551 rm -f conftest$ac_cv_exeext
2552 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2553 echo "${ECHO_T}$ac_cv_exeext" >&6
2554
2555 rm -f conftest.$ac_ext
2556 EXEEXT=$ac_cv_exeext
2557 ac_exeext=$EXEEXT
2558 fi
2559 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2560 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2561 if test "${ac_cv_objext+set}" = set; then
2562   echo $ECHO_N "(cached) $ECHO_C" >&6
2563 else
2564   cat >conftest.$ac_ext <<_ACEOF
2565 /* confdefs.h.  */
2566 _ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
2569 /* end confdefs.h.  */
2570
2571 int
2572 main ()
2573 {
2574
2575   ;
2576   return 0;
2577 }
2578 _ACEOF
2579 rm -f conftest.o conftest.obj
2580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2581   (eval $ac_compile) 2>&5
2582   ac_status=$?
2583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584   (exit $ac_status); }; then
2585   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2586   case $ac_file in
2587     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2588     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2589        break;;
2590   esac
2591 done
2592 else
2593   echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2595
2596 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2599 See \`config.log' for more details." >&2;}
2600    { (exit 1); exit 1; }; }
2601 fi
2602
2603 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2604 fi
2605 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2606 echo "${ECHO_T}$ac_cv_objext" >&6
2607 OBJEXT=$ac_cv_objext
2608 ac_objext=$OBJEXT
2609 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2610 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2611 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2612   echo $ECHO_N "(cached) $ECHO_C" >&6
2613 else
2614   cat >conftest.$ac_ext <<_ACEOF
2615 /* confdefs.h.  */
2616 _ACEOF
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h.  */
2620
2621 int
2622 main ()
2623 {
2624 #ifndef __GNUC__
2625        choke me
2626 #endif
2627
2628   ;
2629   return 0;
2630 }
2631 _ACEOF
2632 rm -f conftest.$ac_objext
2633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2634   (eval $ac_compile) 2>conftest.er1
2635   ac_status=$?
2636   grep -v '^ *+' conftest.er1 >conftest.err
2637   rm -f conftest.er1
2638   cat conftest.err >&5
2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640   (exit $ac_status); } &&
2641          { ac_try='test -z "$ac_c_werror_flag"
2642                          || test ! -s conftest.err'
2643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644   (eval $ac_try) 2>&5
2645   ac_status=$?
2646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647   (exit $ac_status); }; } &&
2648          { ac_try='test -s conftest.$ac_objext'
2649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650   (eval $ac_try) 2>&5
2651   ac_status=$?
2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653   (exit $ac_status); }; }; then
2654   ac_compiler_gnu=yes
2655 else
2656   echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2658
2659 ac_compiler_gnu=no
2660 fi
2661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2662 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2663
2664 fi
2665 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2666 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2667 GCC=`test $ac_compiler_gnu = yes && echo yes`
2668 ac_test_CFLAGS=${CFLAGS+set}
2669 ac_save_CFLAGS=$CFLAGS
2670 CFLAGS="-g"
2671 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2672 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2673 if test "${ac_cv_prog_cc_g+set}" = set; then
2674   echo $ECHO_N "(cached) $ECHO_C" >&6
2675 else
2676   cat >conftest.$ac_ext <<_ACEOF
2677 /* confdefs.h.  */
2678 _ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h.  */
2682
2683 int
2684 main ()
2685 {
2686
2687   ;
2688   return 0;
2689 }
2690 _ACEOF
2691 rm -f conftest.$ac_objext
2692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2693   (eval $ac_compile) 2>conftest.er1
2694   ac_status=$?
2695   grep -v '^ *+' conftest.er1 >conftest.err
2696   rm -f conftest.er1
2697   cat conftest.err >&5
2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699   (exit $ac_status); } &&
2700          { ac_try='test -z "$ac_c_werror_flag"
2701                          || test ! -s conftest.err'
2702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703   (eval $ac_try) 2>&5
2704   ac_status=$?
2705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706   (exit $ac_status); }; } &&
2707          { ac_try='test -s conftest.$ac_objext'
2708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709   (eval $ac_try) 2>&5
2710   ac_status=$?
2711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712   (exit $ac_status); }; }; then
2713   ac_cv_prog_cc_g=yes
2714 else
2715   echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2717
2718 ac_cv_prog_cc_g=no
2719 fi
2720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2721 fi
2722 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2723 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2724 if test "$ac_test_CFLAGS" = set; then
2725   CFLAGS=$ac_save_CFLAGS
2726 elif test $ac_cv_prog_cc_g = yes; then
2727   if test "$GCC" = yes; then
2728     CFLAGS="-g -O2"
2729   else
2730     CFLAGS="-g"
2731   fi
2732 else
2733   if test "$GCC" = yes; then
2734     CFLAGS="-O2"
2735   else
2736     CFLAGS=
2737   fi
2738 fi
2739 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2740 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2741 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2742   echo $ECHO_N "(cached) $ECHO_C" >&6
2743 else
2744   ac_cv_prog_cc_stdc=no
2745 ac_save_CC=$CC
2746 cat >conftest.$ac_ext <<_ACEOF
2747 /* confdefs.h.  */
2748 _ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h.  */
2752 #include <stdarg.h>
2753 #include <stdio.h>
2754 #include <sys/types.h>
2755 #include <sys/stat.h>
2756 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2757 struct buf { int x; };
2758 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2759 static char *e (p, i)
2760      char **p;
2761      int i;
2762 {
2763   return p[i];
2764 }
2765 static char *f (char * (*g) (char **, int), char **p, ...)
2766 {
2767   char *s;
2768   va_list v;
2769   va_start (v,p);
2770   s = g (p, va_arg (v,int));
2771   va_end (v);
2772   return s;
2773 }
2774
2775 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2776    function prototypes and stuff, but not '\xHH' hex character constants.
2777    These don't provoke an error unfortunately, instead are silently treated
2778    as 'x'.  The following induces an error, until -std1 is added to get
2779    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2780    array size at least.  It's necessary to write '\x00'==0 to get something
2781    that's true only with -std1.  */
2782 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2783
2784 int test (int i, double x);
2785 struct s1 {int (*f) (int a);};
2786 struct s2 {int (*f) (double a);};
2787 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2788 int argc;
2789 char **argv;
2790 int
2791 main ()
2792 {
2793 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2794   ;
2795   return 0;
2796 }
2797 _ACEOF
2798 # Don't try gcc -ansi; that turns off useful extensions and
2799 # breaks some systems' header files.
2800 # AIX                   -qlanglvl=ansi
2801 # Ultrix and OSF/1      -std1
2802 # HP-UX 10.20 and later -Ae
2803 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2804 # SVR4                  -Xc -D__EXTENSIONS__
2805 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2806 do
2807   CC="$ac_save_CC $ac_arg"
2808   rm -f conftest.$ac_objext
2809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2810   (eval $ac_compile) 2>conftest.er1
2811   ac_status=$?
2812   grep -v '^ *+' conftest.er1 >conftest.err
2813   rm -f conftest.er1
2814   cat conftest.err >&5
2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816   (exit $ac_status); } &&
2817          { ac_try='test -z "$ac_c_werror_flag"
2818                          || test ! -s conftest.err'
2819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820   (eval $ac_try) 2>&5
2821   ac_status=$?
2822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823   (exit $ac_status); }; } &&
2824          { ac_try='test -s conftest.$ac_objext'
2825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826   (eval $ac_try) 2>&5
2827   ac_status=$?
2828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829   (exit $ac_status); }; }; then
2830   ac_cv_prog_cc_stdc=$ac_arg
2831 break
2832 else
2833   echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2835
2836 fi
2837 rm -f conftest.err conftest.$ac_objext
2838 done
2839 rm -f conftest.$ac_ext conftest.$ac_objext
2840 CC=$ac_save_CC
2841
2842 fi
2843
2844 case "x$ac_cv_prog_cc_stdc" in
2845   x|xno)
2846     echo "$as_me:$LINENO: result: none needed" >&5
2847 echo "${ECHO_T}none needed" >&6 ;;
2848   *)
2849     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2850 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2851     CC="$CC $ac_cv_prog_cc_stdc" ;;
2852 esac
2853
2854 # Some people use a C++ compiler to compile C.  Since we use `exit',
2855 # in C++ we need to declare it.  In case someone uses the same compiler
2856 # for both compiling C and C++ we need to have the C++ compiler decide
2857 # the declaration of exit, since it's the most demanding environment.
2858 cat >conftest.$ac_ext <<_ACEOF
2859 #ifndef __cplusplus
2860   choke me
2861 #endif
2862 _ACEOF
2863 rm -f conftest.$ac_objext
2864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865   (eval $ac_compile) 2>conftest.er1
2866   ac_status=$?
2867   grep -v '^ *+' conftest.er1 >conftest.err
2868   rm -f conftest.er1
2869   cat conftest.err >&5
2870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871   (exit $ac_status); } &&
2872          { ac_try='test -z "$ac_c_werror_flag"
2873                          || test ! -s conftest.err'
2874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875   (eval $ac_try) 2>&5
2876   ac_status=$?
2877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878   (exit $ac_status); }; } &&
2879          { ac_try='test -s conftest.$ac_objext'
2880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881   (eval $ac_try) 2>&5
2882   ac_status=$?
2883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884   (exit $ac_status); }; }; then
2885   for ac_declaration in \
2886    '' \
2887    'extern "C" void std::exit (int) throw (); using std::exit;' \
2888    'extern "C" void std::exit (int); using std::exit;' \
2889    'extern "C" void exit (int) throw ();' \
2890    'extern "C" void exit (int);' \
2891    'void exit (int);'
2892 do
2893   cat >conftest.$ac_ext <<_ACEOF
2894 /* confdefs.h.  */
2895 _ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h.  */
2899 $ac_declaration
2900 #include <stdlib.h>
2901 int
2902 main ()
2903 {
2904 exit (42);
2905   ;
2906   return 0;
2907 }
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911   (eval $ac_compile) 2>conftest.er1
2912   ac_status=$?
2913   grep -v '^ *+' conftest.er1 >conftest.err
2914   rm -f conftest.er1
2915   cat conftest.err >&5
2916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917   (exit $ac_status); } &&
2918          { ac_try='test -z "$ac_c_werror_flag"
2919                          || test ! -s conftest.err'
2920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921   (eval $ac_try) 2>&5
2922   ac_status=$?
2923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924   (exit $ac_status); }; } &&
2925          { ac_try='test -s conftest.$ac_objext'
2926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927   (eval $ac_try) 2>&5
2928   ac_status=$?
2929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930   (exit $ac_status); }; }; then
2931   :
2932 else
2933   echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2935
2936 continue
2937 fi
2938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939   cat >conftest.$ac_ext <<_ACEOF
2940 /* confdefs.h.  */
2941 _ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h.  */
2945 $ac_declaration
2946 int
2947 main ()
2948 {
2949 exit (42);
2950   ;
2951   return 0;
2952 }
2953 _ACEOF
2954 rm -f conftest.$ac_objext
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956   (eval $ac_compile) 2>conftest.er1
2957   ac_status=$?
2958   grep -v '^ *+' conftest.er1 >conftest.err
2959   rm -f conftest.er1
2960   cat conftest.err >&5
2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962   (exit $ac_status); } &&
2963          { ac_try='test -z "$ac_c_werror_flag"
2964                          || test ! -s conftest.err'
2965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966   (eval $ac_try) 2>&5
2967   ac_status=$?
2968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969   (exit $ac_status); }; } &&
2970          { ac_try='test -s conftest.$ac_objext'
2971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972   (eval $ac_try) 2>&5
2973   ac_status=$?
2974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975   (exit $ac_status); }; }; then
2976   break
2977 else
2978   echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2980
2981 fi
2982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2983 done
2984 rm -f conftest*
2985 if test -n "$ac_declaration"; then
2986   echo '#ifdef __cplusplus' >>confdefs.h
2987   echo $ac_declaration      >>confdefs.h
2988   echo '#endif'             >>confdefs.h
2989 fi
2990
2991 else
2992   echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2994
2995 fi
2996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2997 ac_ext=c
2998 ac_cpp='$CPP $CPPFLAGS'
2999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3002
3003   ac_ext=cc
3004 ac_cpp='$CXXCPP $CPPFLAGS'
3005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3008 if test -n "$ac_tool_prefix"; then
3009   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3010   do
3011     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3012 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3013 echo "$as_me:$LINENO: checking for $ac_word" >&5
3014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3015 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3016   echo $ECHO_N "(cached) $ECHO_C" >&6
3017 else
3018   if test -n "$CXX"; then
3019   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3020 else
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3023 do
3024   IFS=$as_save_IFS
3025   test -z "$as_dir" && as_dir=.
3026   for ac_exec_ext in '' $ac_executable_extensions; do
3027   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3028     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3029     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030     break 2
3031   fi
3032 done
3033 done
3034
3035 fi
3036 fi
3037 CXX=$glibcxx_cv_prog_CXX
3038 if test -n "$CXX"; then
3039   echo "$as_me:$LINENO: result: $CXX" >&5
3040 echo "${ECHO_T}$CXX" >&6
3041 else
3042   echo "$as_me:$LINENO: result: no" >&5
3043 echo "${ECHO_T}no" >&6
3044 fi
3045
3046     test -n "$CXX" && break
3047   done
3048 fi
3049 if test -z "$CXX"; then
3050   ac_ct_CXX=$CXX
3051   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3052 do
3053   # Extract the first word of "$ac_prog", so it can be a program name with args.
3054 set dummy $ac_prog; ac_word=$2
3055 echo "$as_me:$LINENO: checking for $ac_word" >&5
3056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3057 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3058   echo $ECHO_N "(cached) $ECHO_C" >&6
3059 else
3060   if test -n "$ac_ct_CXX"; then
3061   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3062 else
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 for as_dir in $PATH
3065 do
3066   IFS=$as_save_IFS
3067   test -z "$as_dir" && as_dir=.
3068   for ac_exec_ext in '' $ac_executable_extensions; do
3069   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3070     ac_cv_prog_ac_ct_CXX="$ac_prog"
3071     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072     break 2
3073   fi
3074 done
3075 done
3076
3077 fi
3078 fi
3079 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3080 if test -n "$ac_ct_CXX"; then
3081   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3082 echo "${ECHO_T}$ac_ct_CXX" >&6
3083 else
3084   echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 fi
3087
3088   test -n "$ac_ct_CXX" && break
3089 done
3090 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3091
3092   CXX=$ac_ct_CXX
3093 fi
3094
3095
3096 # Provide some information about the compiler.
3097 echo "$as_me:$LINENO:" \
3098      "checking for C++ compiler version" >&5
3099 ac_compiler=`set X $ac_compile; echo $2`
3100 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3101   (eval $ac_compiler --version </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 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3111   (eval $ac_compiler -V </dev/null >&5) 2>&5
3112   ac_status=$?
3113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114   (exit $ac_status); }
3115
3116 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3117 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3118 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3119   echo $ECHO_N "(cached) $ECHO_C" >&6
3120 else
3121   cat >conftest.$ac_ext <<_ACEOF
3122 /* confdefs.h.  */
3123 _ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h.  */
3127
3128 int
3129 main ()
3130 {
3131 #ifndef __GNUC__
3132        choke me
3133 #endif
3134
3135   ;
3136   return 0;
3137 }
3138 _ACEOF
3139 rm -f conftest.$ac_objext
3140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3141   (eval $ac_compile) 2>conftest.er1
3142   ac_status=$?
3143   grep -v '^ *+' conftest.er1 >conftest.err
3144   rm -f conftest.er1
3145   cat conftest.err >&5
3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147   (exit $ac_status); } &&
3148          { ac_try='test -z "$ac_cxx_werror_flag"
3149                          || test ! -s conftest.err'
3150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151   (eval $ac_try) 2>&5
3152   ac_status=$?
3153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154   (exit $ac_status); }; } &&
3155          { ac_try='test -s conftest.$ac_objext'
3156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157   (eval $ac_try) 2>&5
3158   ac_status=$?
3159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160   (exit $ac_status); }; }; then
3161   ac_compiler_gnu=yes
3162 else
3163   echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3165
3166 ac_compiler_gnu=no
3167 fi
3168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3169 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3170
3171 fi
3172 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3173 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3174 GXX=`test $ac_compiler_gnu = yes && echo yes`
3175 ac_test_CXXFLAGS=${CXXFLAGS+set}
3176 ac_save_CXXFLAGS=$CXXFLAGS
3177 CXXFLAGS="-g"
3178 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3179 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3180 if test "${ac_cv_prog_cxx_g+set}" = set; then
3181   echo $ECHO_N "(cached) $ECHO_C" >&6
3182 else
3183   cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h.  */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h.  */
3189
3190 int
3191 main ()
3192 {
3193
3194   ;
3195   return 0;
3196 }
3197 _ACEOF
3198 rm -f conftest.$ac_objext
3199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3200   (eval $ac_compile) 2>conftest.er1
3201   ac_status=$?
3202   grep -v '^ *+' conftest.er1 >conftest.err
3203   rm -f conftest.er1
3204   cat conftest.err >&5
3205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206   (exit $ac_status); } &&
3207          { ac_try='test -z "$ac_cxx_werror_flag"
3208                          || test ! -s conftest.err'
3209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210   (eval $ac_try) 2>&5
3211   ac_status=$?
3212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213   (exit $ac_status); }; } &&
3214          { ac_try='test -s conftest.$ac_objext'
3215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216   (eval $ac_try) 2>&5
3217   ac_status=$?
3218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219   (exit $ac_status); }; }; then
3220   ac_cv_prog_cxx_g=yes
3221 else
3222   echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.$ac_ext >&5
3224
3225 ac_cv_prog_cxx_g=no
3226 fi
3227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3228 fi
3229 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3230 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3231 if test "$ac_test_CXXFLAGS" = set; then
3232   CXXFLAGS=$ac_save_CXXFLAGS
3233 elif test $ac_cv_prog_cxx_g = yes; then
3234   if test "$GXX" = yes; then
3235     CXXFLAGS="-g -O2"
3236   else
3237     CXXFLAGS="-g"
3238   fi
3239 else
3240   if test "$GXX" = yes; then
3241     CXXFLAGS="-O2"
3242   else
3243     CXXFLAGS=
3244   fi
3245 fi
3246 for ac_declaration in \
3247    '' \
3248    'extern "C" void std::exit (int) throw (); using std::exit;' \
3249    'extern "C" void std::exit (int); using std::exit;' \
3250    'extern "C" void exit (int) throw ();' \
3251    'extern "C" void exit (int);' \
3252    'void exit (int);'
3253 do
3254   cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h.  */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h.  */
3260 $ac_declaration
3261 #include <stdlib.h>
3262 int
3263 main ()
3264 {
3265 exit (42);
3266   ;
3267   return 0;
3268 }
3269 _ACEOF
3270 rm -f conftest.$ac_objext
3271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3272   (eval $ac_compile) 2>conftest.er1
3273   ac_status=$?
3274   grep -v '^ *+' conftest.er1 >conftest.err
3275   rm -f conftest.er1
3276   cat conftest.err >&5
3277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278   (exit $ac_status); } &&
3279          { ac_try='test -z "$ac_cxx_werror_flag"
3280                          || test ! -s conftest.err'
3281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3282   (eval $ac_try) 2>&5
3283   ac_status=$?
3284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285   (exit $ac_status); }; } &&
3286          { ac_try='test -s conftest.$ac_objext'
3287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288   (eval $ac_try) 2>&5
3289   ac_status=$?
3290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291   (exit $ac_status); }; }; then
3292   :
3293 else
3294   echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3296
3297 continue
3298 fi
3299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3300   cat >conftest.$ac_ext <<_ACEOF
3301 /* confdefs.h.  */
3302 _ACEOF
3303 cat confdefs.h >>conftest.$ac_ext
3304 cat >>conftest.$ac_ext <<_ACEOF
3305 /* end confdefs.h.  */
3306 $ac_declaration
3307 int
3308 main ()
3309 {
3310 exit (42);
3311   ;
3312   return 0;
3313 }
3314 _ACEOF
3315 rm -f conftest.$ac_objext
3316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3317   (eval $ac_compile) 2>conftest.er1
3318   ac_status=$?
3319   grep -v '^ *+' conftest.er1 >conftest.err
3320   rm -f conftest.er1
3321   cat conftest.err >&5
3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); } &&
3324          { ac_try='test -z "$ac_cxx_werror_flag"
3325                          || test ! -s conftest.err'
3326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327   (eval $ac_try) 2>&5
3328   ac_status=$?
3329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330   (exit $ac_status); }; } &&
3331          { ac_try='test -s conftest.$ac_objext'
3332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333   (eval $ac_try) 2>&5
3334   ac_status=$?
3335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336   (exit $ac_status); }; }; then
3337   break
3338 else
3339   echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.$ac_ext >&5
3341
3342 fi
3343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3344 done
3345 rm -f conftest*
3346 if test -n "$ac_declaration"; then
3347   echo '#ifdef __cplusplus' >>confdefs.h
3348   echo $ac_declaration      >>confdefs.h
3349   echo '#endif'             >>confdefs.h
3350 fi
3351
3352 ac_ext=c
3353 ac_cpp='$CPP $CPPFLAGS'
3354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3357
3358   CXXFLAGS="$save_CXXFLAGS"
3359
3360
3361
3362
3363   # For directory versioning (e.g., headers) and other variables.
3364   echo "$as_me:$LINENO: checking for GCC version number" >&5
3365 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3366   gcc_version=`$CXX -dumpversion`
3367   echo "$as_me:$LINENO: result: $gcc_version" >&5
3368 echo "${ECHO_T}$gcc_version" >&6
3369
3370   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3371   # available).  Uncomment the next line to force a particular method.
3372   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3373 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3374 LN_S=$as_ln_s
3375 if test "$LN_S" = "ln -s"; then
3376   echo "$as_me:$LINENO: result: yes" >&5
3377 echo "${ECHO_T}yes" >&6
3378 else
3379   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3380 echo "${ECHO_T}no, using $LN_S" >&6
3381 fi
3382
3383   #LN_S='cp -p'
3384
3385   if test -n "$ac_tool_prefix"; then
3386   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3387 set dummy ${ac_tool_prefix}as; ac_word=$2
3388 echo "$as_me:$LINENO: checking for $ac_word" >&5
3389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3390 if test "${ac_cv_prog_AS+set}" = set; then
3391   echo $ECHO_N "(cached) $ECHO_C" >&6
3392 else
3393   if test -n "$AS"; then
3394   ac_cv_prog_AS="$AS" # Let the user override the test.
3395 else
3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3397 for as_dir in $PATH
3398 do
3399   IFS=$as_save_IFS
3400   test -z "$as_dir" && as_dir=.
3401   for ac_exec_ext in '' $ac_executable_extensions; do
3402   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3403     ac_cv_prog_AS="${ac_tool_prefix}as"
3404     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3405     break 2
3406   fi
3407 done
3408 done
3409
3410 fi
3411 fi
3412 AS=$ac_cv_prog_AS
3413 if test -n "$AS"; then
3414   echo "$as_me:$LINENO: result: $AS" >&5
3415 echo "${ECHO_T}$AS" >&6
3416 else
3417   echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3419 fi
3420
3421 fi
3422 if test -z "$ac_cv_prog_AS"; then
3423   ac_ct_AS=$AS
3424   # Extract the first word of "as", so it can be a program name with args.
3425 set dummy as; ac_word=$2
3426 echo "$as_me:$LINENO: checking for $ac_word" >&5
3427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3428 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3429   echo $ECHO_N "(cached) $ECHO_C" >&6
3430 else
3431   if test -n "$ac_ct_AS"; then
3432   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3436 do
3437   IFS=$as_save_IFS
3438   test -z "$as_dir" && as_dir=.
3439   for ac_exec_ext in '' $ac_executable_extensions; do
3440   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441     ac_cv_prog_ac_ct_AS="as"
3442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3443     break 2
3444   fi
3445 done
3446 done
3447
3448 fi
3449 fi
3450 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3451 if test -n "$ac_ct_AS"; then
3452   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3453 echo "${ECHO_T}$ac_ct_AS" >&6
3454 else
3455   echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 fi
3458
3459   AS=$ac_ct_AS
3460 else
3461   AS="$ac_cv_prog_AS"
3462 fi
3463
3464   if test -n "$ac_tool_prefix"; then
3465   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3466 set dummy ${ac_tool_prefix}ar; ac_word=$2
3467 echo "$as_me:$LINENO: checking for $ac_word" >&5
3468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3469 if test "${ac_cv_prog_AR+set}" = set; then
3470   echo $ECHO_N "(cached) $ECHO_C" >&6
3471 else
3472   if test -n "$AR"; then
3473   ac_cv_prog_AR="$AR" # Let the user override the test.
3474 else
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476 for as_dir in $PATH
3477 do
3478   IFS=$as_save_IFS
3479   test -z "$as_dir" && as_dir=.
3480   for ac_exec_ext in '' $ac_executable_extensions; do
3481   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3482     ac_cv_prog_AR="${ac_tool_prefix}ar"
3483     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3484     break 2
3485   fi
3486 done
3487 done
3488
3489 fi
3490 fi
3491 AR=$ac_cv_prog_AR
3492 if test -n "$AR"; then
3493   echo "$as_me:$LINENO: result: $AR" >&5
3494 echo "${ECHO_T}$AR" >&6
3495 else
3496   echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6
3498 fi
3499
3500 fi
3501 if test -z "$ac_cv_prog_AR"; then
3502   ac_ct_AR=$AR
3503   # Extract the first word of "ar", so it can be a program name with args.
3504 set dummy ar; ac_word=$2
3505 echo "$as_me:$LINENO: checking for $ac_word" >&5
3506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3507 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3508   echo $ECHO_N "(cached) $ECHO_C" >&6
3509 else
3510   if test -n "$ac_ct_AR"; then
3511   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3512 else
3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 for as_dir in $PATH
3515 do
3516   IFS=$as_save_IFS
3517   test -z "$as_dir" && as_dir=.
3518   for ac_exec_ext in '' $ac_executable_extensions; do
3519   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3520     ac_cv_prog_ac_ct_AR="ar"
3521     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3522     break 2
3523   fi
3524 done
3525 done
3526
3527 fi
3528 fi
3529 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3530 if test -n "$ac_ct_AR"; then
3531   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3532 echo "${ECHO_T}$ac_ct_AR" >&6
3533 else
3534   echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6
3536 fi
3537
3538   AR=$ac_ct_AR
3539 else
3540   AR="$ac_cv_prog_AR"
3541 fi
3542
3543   if test -n "$ac_tool_prefix"; then
3544   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3545 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3546 echo "$as_me:$LINENO: checking for $ac_word" >&5
3547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3548 if test "${ac_cv_prog_RANLIB+set}" = set; then
3549   echo $ECHO_N "(cached) $ECHO_C" >&6
3550 else
3551   if test -n "$RANLIB"; then
3552   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3556 do
3557   IFS=$as_save_IFS
3558   test -z "$as_dir" && as_dir=.
3559   for ac_exec_ext in '' $ac_executable_extensions; do
3560   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3562     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3563     break 2
3564   fi
3565 done
3566 done
3567
3568 fi
3569 fi
3570 RANLIB=$ac_cv_prog_RANLIB
3571 if test -n "$RANLIB"; then
3572   echo "$as_me:$LINENO: result: $RANLIB" >&5
3573 echo "${ECHO_T}$RANLIB" >&6
3574 else
3575   echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6
3577 fi
3578
3579 fi
3580 if test -z "$ac_cv_prog_RANLIB"; then
3581   ac_ct_RANLIB=$RANLIB
3582   # Extract the first word of "ranlib", so it can be a program name with args.
3583 set dummy ranlib; ac_word=$2
3584 echo "$as_me:$LINENO: checking for $ac_word" >&5
3585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3586 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3587   echo $ECHO_N "(cached) $ECHO_C" >&6
3588 else
3589   if test -n "$ac_ct_RANLIB"; then
3590   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3594 do
3595   IFS=$as_save_IFS
3596   test -z "$as_dir" && as_dir=.
3597   for ac_exec_ext in '' $ac_executable_extensions; do
3598   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599     ac_cv_prog_ac_ct_RANLIB="ranlib"
3600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601     break 2
3602   fi
3603 done
3604 done
3605
3606   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3607 fi
3608 fi
3609 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3610 if test -n "$ac_ct_RANLIB"; then
3611   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3612 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3613 else
3614   echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6
3616 fi
3617
3618   RANLIB=$ac_ct_RANLIB
3619 else
3620   RANLIB="$ac_cv_prog_RANLIB"
3621 fi
3622
3623
3624   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3625 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3626     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3627 if test "${enable_maintainer_mode+set}" = set; then
3628   enableval="$enable_maintainer_mode"
3629   USE_MAINTAINER_MODE=$enableval
3630 else
3631   USE_MAINTAINER_MODE=no
3632 fi;
3633   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3634 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3635
3636
3637 if test $USE_MAINTAINER_MODE = yes; then
3638   MAINTAINER_MODE_TRUE=
3639   MAINTAINER_MODE_FALSE='#'
3640 else
3641   MAINTAINER_MODE_TRUE='#'
3642   MAINTAINER_MODE_FALSE=
3643 fi
3644
3645   MAINT=$MAINTAINER_MODE_TRUE
3646
3647
3648
3649   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3650   # which are themselves conditionally expanded.
3651   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3652   ## other macros from doing the same.  This should be automated.)  -pme
3653   need_libmath=no
3654   enable_wchar_t=no
3655   #enable_libstdcxx_debug=no
3656   #enable_libstdcxx_pch=no
3657   #enable_cheaders=c
3658   #c_compatibility=no
3659   #enable_abi_check=no
3660   #enable_symvers=no
3661   #enable_hosted_libstdcxx=yes
3662
3663   # Find platform-specific directories containing configuration info.
3664   # Also possibly modify flags used elsewhere, as needed by the platform.
3665
3666   . $glibcxx_srcdir/configure.host
3667   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3668 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3669   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3670 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3671
3672
3673
3674 #AC_MSG_NOTICE([====== Starting libtool configuration])
3675
3676 # Check whether --enable-shared or --disable-shared was given.
3677 if test "${enable_shared+set}" = set; then
3678   enableval="$enable_shared"
3679   p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_shared=yes ;;
3682 no) enable_shared=no ;;
3683 *)
3684   enable_shared=no
3685   # Look at the argument we got.  We use all the common list separators.
3686   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687   for pkg in $enableval; do
3688     if test "X$pkg" = "X$p"; then
3689       enable_shared=yes
3690     fi
3691   done
3692   IFS="$ac_save_ifs"
3693   ;;
3694 esac
3695 else
3696   enable_shared=yes
3697 fi;
3698 # Check whether --enable-static or --disable-static was given.
3699 if test "${enable_static+set}" = set; then
3700   enableval="$enable_static"
3701   p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_static=yes ;;
3704 no) enable_static=no ;;
3705 *)
3706   enable_static=no
3707   # Look at the argument we got.  We use all the common list separators.
3708   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709   for pkg in $enableval; do
3710     if test "X$pkg" = "X$p"; then
3711       enable_static=yes
3712     fi
3713   done
3714   IFS="$ac_save_ifs"
3715   ;;
3716 esac
3717 else
3718   enable_static=yes
3719 fi;
3720 # Check whether --enable-fast-install or --disable-fast-install was given.
3721 if test "${enable_fast_install+set}" = set; then
3722   enableval="$enable_fast_install"
3723   p=${PACKAGE-default}
3724 case $enableval in
3725 yes) enable_fast_install=yes ;;
3726 no) enable_fast_install=no ;;
3727 *)
3728   enable_fast_install=no
3729   # Look at the argument we got.  We use all the common list separators.
3730   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3731   for pkg in $enableval; do
3732     if test "X$pkg" = "X$p"; then
3733       enable_fast_install=yes
3734     fi
3735   done
3736   IFS="$ac_save_ifs"
3737   ;;
3738 esac
3739 else
3740   enable_fast_install=yes
3741 fi;
3742
3743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3744 if test "${with_gnu_ld+set}" = set; then
3745   withval="$with_gnu_ld"
3746   test "$withval" = no || with_gnu_ld=yes
3747 else
3748   with_gnu_ld=no
3749 fi;
3750 ac_prog=ld
3751 if test "$GCC" = yes; then
3752   # Check if gcc -print-prog-name=ld gives a path.
3753   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3754 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755   case $host in
3756   *-*-mingw*)
3757     # gcc leaves a trailing carriage return which upsets mingw
3758     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3759   *)
3760     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761   esac
3762   case $ac_prog in
3763     # Accept absolute paths.
3764     [\\/]* | [A-Za-z]:[\\/]*)
3765       re_direlt='/[^/][^/]*/\.\./'
3766       # Canonicalize the path of ld
3767       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3768       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3769         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3770       done
3771       test -z "$LD" && LD="$ac_prog"
3772       ;;
3773   "")
3774     # If it fails, then pretend we aren't using GCC.
3775     ac_prog=ld
3776     ;;
3777   *)
3778     # If it is relative, then search for the first ld in PATH.
3779     with_gnu_ld=unknown
3780     ;;
3781   esac
3782 elif test "$with_gnu_ld" = yes; then
3783   echo "$as_me:$LINENO: checking for GNU ld" >&5
3784 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3785 else
3786   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3787 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3788 fi
3789 if test "${lt_cv_path_LD+set}" = set; then
3790   echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792   if test -z "$LD"; then
3793   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3794   for ac_dir in $PATH; do
3795     test -z "$ac_dir" && ac_dir=.
3796     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3797       lt_cv_path_LD="$ac_dir/$ac_prog"
3798       # Check to see if the program is GNU ld.  I'd rather use --version,
3799       # but apparently some GNU ld's only accept -v.
3800       # Break only if it was the GNU/non-GNU ld that we prefer.
3801       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3802         test "$with_gnu_ld" != no && break
3803       else
3804         test "$with_gnu_ld" != yes && break
3805       fi
3806     fi
3807   done
3808   IFS="$ac_save_ifs"
3809 else
3810   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3811 fi
3812 fi
3813
3814 LD="$lt_cv_path_LD"
3815 if test -n "$LD"; then
3816   echo "$as_me:$LINENO: result: $LD" >&5
3817 echo "${ECHO_T}$LD" >&6
3818 else
3819   echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3821 fi
3822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3824    { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3828   echo $ECHO_N "(cached) $ECHO_C" >&6
3829 else
3830   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3831 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3832   lt_cv_prog_gnu_ld=yes
3833 else
3834   lt_cv_prog_gnu_ld=no
3835 fi
3836 fi
3837 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3839 with_gnu_ld=$lt_cv_prog_gnu_ld
3840
3841
3842 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3843 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3844 if test "${lt_cv_ld_reload_flag+set}" = set; then
3845   echo $ECHO_N "(cached) $ECHO_C" >&6
3846 else
3847   lt_cv_ld_reload_flag='-r'
3848 fi
3849 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3851 reload_flag=$lt_cv_ld_reload_flag
3852 test -n "$reload_flag" && reload_flag=" $reload_flag"
3853
3854 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3855 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3856 if test "${lt_cv_path_NM+set}" = set; then
3857   echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859   if test -n "$NM"; then
3860   # Let the user override the test.
3861   lt_cv_path_NM="$NM"
3862 else
3863   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3864   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3865     test -z "$ac_dir" && ac_dir=.
3866     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3867     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3868       # Check to see if the nm accepts a BSD-compat flag.
3869       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3870       #   nm: unknown option "B" ignored
3871       # Tru64's nm complains that /dev/null is an invalid object file
3872       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3873         lt_cv_path_NM="$tmp_nm -B"
3874         break
3875       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3876         lt_cv_path_NM="$tmp_nm -p"
3877         break
3878       else
3879         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3880         continue # so that we can try to find one that supports BSD flags
3881       fi
3882     fi
3883   done
3884   IFS="$ac_save_ifs"
3885   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3886 fi
3887 fi
3888
3889 NM="$lt_cv_path_NM"
3890 echo "$as_me:$LINENO: result: $NM" >&5
3891 echo "${ECHO_T}$NM" >&6
3892
3893 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3894 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3895 if test "${lt_cv_deplibs_check_method+set}" = set; then
3896   echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else
3898   lt_cv_file_magic_cmd='$MAGIC_CMD'
3899 lt_cv_file_magic_test_file=
3900 lt_cv_deplibs_check_method='unknown'
3901 # Need to set the preceding variable on all platforms that support
3902 # interlibrary dependencies.
3903 # 'none' -- dependencies not supported.
3904 # `unknown' -- same as none, but documents that we really don't know.
3905 # 'pass_all' -- all dependencies passed with no checks.
3906 # 'test_compile' -- check by making test program.
3907 # 'file_magic [regex]' -- check by looking for files in library path
3908 # which responds to the $file_magic_cmd with a given egrep regex.
3909 # If you have `file' or equivalent on your system and you're not sure
3910 # whether `pass_all' will *always* work, you probably want this one.
3911
3912 case $host_os in
3913 aix*)
3914   lt_cv_deplibs_check_method=pass_all
3915   ;;
3916
3917 beos*)
3918   lt_cv_deplibs_check_method=pass_all
3919   ;;
3920
3921 bsdi4*)
3922   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3923   lt_cv_file_magic_cmd='/usr/bin/file -L'
3924   lt_cv_file_magic_test_file=/shlib/libc.so
3925   ;;
3926
3927 cygwin* | mingw* |pw32*)
3928   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3929   lt_cv_file_magic_cmd='$OBJDUMP -f'
3930   ;;
3931
3932 darwin* | rhapsody*)
3933   # this will be overwritten by pass_all, but leave it in just in case
3934   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3935   lt_cv_file_magic_cmd='/usr/bin/file -L'
3936   case "$host_os" in
3937   rhapsody* | darwin1.012)
3938     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3939     ;;
3940   *) # Darwin 1.3 on
3941     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3942     ;;
3943   esac
3944   lt_cv_deplibs_check_method=pass_all
3945   ;;
3946
3947 freebsd* )
3948   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949     case $host_cpu in
3950     i*86 )
3951       # Not sure whether the presence of OpenBSD here was a mistake.
3952       # Let's accept both of them until this is cleared up.
3953       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3954       lt_cv_file_magic_cmd=/usr/bin/file
3955       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3956       ;;
3957     esac
3958   else
3959     lt_cv_deplibs_check_method=pass_all
3960   fi
3961   ;;
3962
3963 gnu*)
3964   lt_cv_deplibs_check_method=pass_all
3965   ;;
3966
3967 hpux10.20*|hpux11*)
3968   case $host_cpu in
3969   hppa*)
3970     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3971     lt_cv_file_magic_cmd=/usr/bin/file
3972     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3973     ;;
3974   ia64*)
3975     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3976     lt_cv_file_magic_cmd=/usr/bin/file
3977     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3978     ;;
3979   esac
3980   ;;
3981
3982 irix5* | irix6*)
3983   case $host_os in
3984   irix5*)
3985     # this will be overridden with pass_all, but let us keep it just in case
3986     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3987     ;;
3988   *)
3989     case $LD in
3990     *-32|*"-32 ") libmagic=32-bit;;
3991     *-n32|*"-n32 ") libmagic=N32;;
3992     *-64|*"-64 ") libmagic=64-bit;;
3993     *) libmagic=never-match;;
3994     esac
3995     # this will be overridden with pass_all, but let us keep it just in case
3996     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3997     ;;
3998   esac
3999   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4000   lt_cv_deplibs_check_method=pass_all
4001   ;;
4002
4003 # This must be Linux ELF.
4004 linux-gnu*)
4005   case $host_cpu in
4006   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4007     lt_cv_deplibs_check_method=pass_all ;;
4008   *)
4009     # glibc up to 2.1.1 does not perform some relocations on ARM
4010     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4011   esac
4012   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4013   ;;
4014
4015 netbsd*)
4016   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4017     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4018   else
4019     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4020   fi
4021   ;;
4022
4023 newsos6)
4024   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4025   lt_cv_file_magic_cmd=/usr/bin/file
4026   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4027   ;;
4028
4029 osf3* | osf4* | osf5*)
4030   # this will be overridden with pass_all, but let us keep it just in case
4031   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4032   lt_cv_file_magic_test_file=/shlib/libc.so
4033   lt_cv_deplibs_check_method=pass_all
4034   ;;
4035
4036 sco3.2v5*)
4037   lt_cv_deplibs_check_method=pass_all
4038   ;;
4039
4040 solaris*)
4041   lt_cv_deplibs_check_method=pass_all
4042   lt_cv_file_magic_test_file=/lib/libc.so
4043   ;;
4044
4045 sysv5uw[78]* | sysv4*uw2*)
4046   lt_cv_deplibs_check_method=pass_all
4047   ;;
4048
4049 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4050   case $host_vendor in
4051   ncr)
4052     lt_cv_deplibs_check_method=pass_all
4053     ;;
4054   motorola)
4055     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]'
4056     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4057     ;;
4058   esac
4059   ;;
4060 esac
4061
4062 fi
4063 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4064 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4065 file_magic_cmd=$lt_cv_file_magic_cmd
4066 deplibs_check_method=$lt_cv_deplibs_check_method
4067
4068
4069
4070
4071
4072 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4073
4074 # Only perform the check for file, if the check method requires it
4075 case $deplibs_check_method in
4076 file_magic*)
4077   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4078     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4079 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4080 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4081   echo $ECHO_N "(cached) $ECHO_C" >&6
4082 else
4083   case $MAGIC_CMD in
4084   /*)
4085   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4086   ;;
4087   ?:/*)
4088   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4089   ;;
4090   *)
4091   ac_save_MAGIC_CMD="$MAGIC_CMD"
4092   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4093   ac_dummy="/usr/bin:$PATH"
4094   for ac_dir in $ac_dummy; do
4095     test -z "$ac_dir" && ac_dir=.
4096     if test -f $ac_dir/${ac_tool_prefix}file; then
4097       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4098       if test -n "$file_magic_test_file"; then
4099         case $deplibs_check_method in
4100         "file_magic "*)
4101           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4102           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4103           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4104             egrep "$file_magic_regex" > /dev/null; then
4105             :
4106           else
4107             cat <<EOF 1>&2
4108
4109 *** Warning: the command libtool uses to detect shared libraries,
4110 *** $file_magic_cmd, produces output that libtool cannot recognize.
4111 *** The result is that libtool may fail to recognize shared libraries
4112 *** as such.  This will affect the creation of libtool libraries that
4113 *** depend on shared libraries, but programs linked with such libtool
4114 *** libraries will work regardless of this problem.  Nevertheless, you
4115 *** may want to report the problem to your system manager and/or to
4116 *** bug-libtool@gnu.org
4117
4118 EOF
4119           fi ;;
4120         esac
4121       fi
4122       break
4123     fi
4124   done
4125   IFS="$ac_save_ifs"
4126   MAGIC_CMD="$ac_save_MAGIC_CMD"
4127   ;;
4128 esac
4129 fi
4130
4131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4132 if test -n "$MAGIC_CMD"; then
4133   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4134 echo "${ECHO_T}$MAGIC_CMD" >&6
4135 else
4136   echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4138 fi
4139
4140 if test -z "$lt_cv_path_MAGIC_CMD"; then
4141   if test -n "$ac_tool_prefix"; then
4142     echo "$as_me:$LINENO: checking for file" >&5
4143 echo $ECHO_N "checking for file... $ECHO_C" >&6
4144 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4145   echo $ECHO_N "(cached) $ECHO_C" >&6
4146 else
4147   case $MAGIC_CMD in
4148   /*)
4149   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4150   ;;
4151   ?:/*)
4152   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4153   ;;
4154   *)
4155   ac_save_MAGIC_CMD="$MAGIC_CMD"
4156   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4157   ac_dummy="/usr/bin:$PATH"
4158   for ac_dir in $ac_dummy; do
4159     test -z "$ac_dir" && ac_dir=.
4160     if test -f $ac_dir/file; then
4161       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4162       if test -n "$file_magic_test_file"; then
4163         case $deplibs_check_method in
4164         "file_magic "*)
4165           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4166           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4167           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4168             egrep "$file_magic_regex" > /dev/null; then
4169             :
4170           else
4171             cat <<EOF 1>&2
4172
4173 *** Warning: the command libtool uses to detect shared libraries,
4174 *** $file_magic_cmd, produces output that libtool cannot recognize.
4175 *** The result is that libtool may fail to recognize shared libraries
4176 *** as such.  This will affect the creation of libtool libraries that
4177 *** depend on shared libraries, but programs linked with such libtool
4178 *** libraries will work regardless of this problem.  Nevertheless, you
4179 *** may want to report the problem to your system manager and/or to
4180 *** bug-libtool@gnu.org
4181
4182 EOF
4183           fi ;;
4184         esac
4185       fi
4186       break
4187     fi
4188   done
4189   IFS="$ac_save_ifs"
4190   MAGIC_CMD="$ac_save_MAGIC_CMD"
4191   ;;
4192 esac
4193 fi
4194
4195 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4196 if test -n "$MAGIC_CMD"; then
4197   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4198 echo "${ECHO_T}$MAGIC_CMD" >&6
4199 else
4200   echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204   else
4205     MAGIC_CMD=:
4206   fi
4207 fi
4208
4209   fi
4210   ;;
4211 esac
4212
4213 if test -n "$ac_tool_prefix"; then
4214   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4215 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4216 echo "$as_me:$LINENO: checking for $ac_word" >&5
4217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4218 if test "${ac_cv_prog_RANLIB+set}" = set; then
4219   echo $ECHO_N "(cached) $ECHO_C" >&6
4220 else
4221   if test -n "$RANLIB"; then
4222   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4223 else
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4225 for as_dir in $PATH
4226 do
4227   IFS=$as_save_IFS
4228   test -z "$as_dir" && as_dir=.
4229   for ac_exec_ext in '' $ac_executable_extensions; do
4230   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4231     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4232     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4233     break 2
4234   fi
4235 done
4236 done
4237
4238 fi
4239 fi
4240 RANLIB=$ac_cv_prog_RANLIB
4241 if test -n "$RANLIB"; then
4242   echo "$as_me:$LINENO: result: $RANLIB" >&5
4243 echo "${ECHO_T}$RANLIB" >&6
4244 else
4245   echo "$as_me:$LINENO: result: no" >&5
4246 echo "${ECHO_T}no" >&6
4247 fi
4248
4249 fi
4250 if test -z "$ac_cv_prog_RANLIB"; then
4251   ac_ct_RANLIB=$RANLIB
4252   # Extract the first word of "ranlib", so it can be a program name with args.
4253 set dummy ranlib; ac_word=$2
4254 echo "$as_me:$LINENO: checking for $ac_word" >&5
4255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4256 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4257   echo $ECHO_N "(cached) $ECHO_C" >&6
4258 else
4259   if test -n "$ac_ct_RANLIB"; then
4260   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4261 else
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 for as_dir in $PATH
4264 do
4265   IFS=$as_save_IFS
4266   test -z "$as_dir" && as_dir=.
4267   for ac_exec_ext in '' $ac_executable_extensions; do
4268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269     ac_cv_prog_ac_ct_RANLIB="ranlib"
4270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4271     break 2
4272   fi
4273 done
4274 done
4275
4276   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4277 fi
4278 fi
4279 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4280 if test -n "$ac_ct_RANLIB"; then
4281   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4282 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4283 else
4284   echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6
4286 fi
4287
4288   RANLIB=$ac_ct_RANLIB
4289 else
4290   RANLIB="$ac_cv_prog_RANLIB"
4291 fi
4292
4293 if test -n "$ac_tool_prefix"; then
4294   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4295 set dummy ${ac_tool_prefix}strip; ac_word=$2
4296 echo "$as_me:$LINENO: checking for $ac_word" >&5
4297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4298 if test "${ac_cv_prog_STRIP+set}" = set; then
4299   echo $ECHO_N "(cached) $ECHO_C" >&6
4300 else
4301   if test -n "$STRIP"; then
4302   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4303 else
4304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4305 for as_dir in $PATH
4306 do
4307   IFS=$as_save_IFS
4308   test -z "$as_dir" && as_dir=.
4309   for ac_exec_ext in '' $ac_executable_extensions; do
4310   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4311     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4312     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4313     break 2
4314   fi
4315 done
4316 done
4317
4318 fi
4319 fi
4320 STRIP=$ac_cv_prog_STRIP
4321 if test -n "$STRIP"; then
4322   echo "$as_me:$LINENO: result: $STRIP" >&5
4323 echo "${ECHO_T}$STRIP" >&6
4324 else
4325   echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6
4327 fi
4328
4329 fi
4330 if test -z "$ac_cv_prog_STRIP"; then
4331   ac_ct_STRIP=$STRIP
4332   # Extract the first word of "strip", so it can be a program name with args.
4333 set dummy strip; ac_word=$2
4334 echo "$as_me:$LINENO: checking for $ac_word" >&5
4335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4336 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4337   echo $ECHO_N "(cached) $ECHO_C" >&6
4338 else
4339   if test -n "$ac_ct_STRIP"; then
4340   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4344 do
4345   IFS=$as_save_IFS
4346   test -z "$as_dir" && as_dir=.
4347   for ac_exec_ext in '' $ac_executable_extensions; do
4348   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349     ac_cv_prog_ac_ct_STRIP="strip"
4350     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351     break 2
4352   fi
4353 done
4354 done
4355
4356   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4357 fi
4358 fi
4359 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4360 if test -n "$ac_ct_STRIP"; then
4361   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4362 echo "${ECHO_T}$ac_ct_STRIP" >&6
4363 else
4364   echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4366 fi
4367
4368   STRIP=$ac_ct_STRIP
4369 else
4370   STRIP="$ac_cv_prog_STRIP"
4371 fi
4372
4373
4374 # Check for any special flags to pass to ltconfig.
4375 libtool_flags="--cache-file=$cache_file"
4376 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4377 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4378 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4379 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4380 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4381
4382
4383 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4384 if test "${enable_libtool_lock+set}" = set; then
4385   enableval="$enable_libtool_lock"
4386
4387 fi;
4388 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4389 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4390
4391
4392 # Check whether --with-pic or --without-pic was given.
4393 if test "${with_pic+set}" = set; then
4394   withval="$with_pic"
4395   pic_mode="$withval"
4396 else
4397   pic_mode=default
4398 fi;
4399 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4400 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4401
4402 # Some flags need to be propagated to the compiler or linker for good
4403 # libtool support.
4404 case $host in
4405 *-*-irix6*)
4406   # Find out which ABI we are using.
4407   echo '#line 4407 "configure"' > conftest.$ac_ext
4408   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4409   (eval $ac_compile) 2>&5
4410   ac_status=$?
4411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412   (exit $ac_status); }; then
4413    if test "$lt_cv_prog_gnu_ld" = yes; then
4414     case `/usr/bin/file conftest.$ac_objext` in
4415     *32-bit*)
4416       LD="${LD-ld} -melf32bsmip"
4417       ;;
4418     *N32*)
4419       LD="${LD-ld} -melf32bmipn32"
4420       ;;
4421     *64-bit*)
4422       LD="${LD-ld} -melf64bmip"
4423       ;;
4424     esac
4425    else
4426     case `/usr/bin/file conftest.$ac_objext` in
4427     *32-bit*)
4428       LD="${LD-ld} -32"
4429       ;;
4430     *N32*)
4431       LD="${LD-ld} -n32"
4432       ;;
4433     *64-bit*)
4434       LD="${LD-ld} -64"
4435       ;;
4436     esac
4437    fi
4438   fi
4439   rm -rf conftest*
4440   ;;
4441
4442 ia64-*-hpux*)
4443   # Find out which ABI we are using.
4444   echo 'int i;' > conftest.$ac_ext
4445   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446   (eval $ac_compile) 2>&5
4447   ac_status=$?
4448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449   (exit $ac_status); }; then
4450     case "`/usr/bin/file conftest.o`" in
4451     *ELF-32*)
4452       HPUX_IA64_MODE="32"
4453       ;;
4454     *ELF-64*)
4455       HPUX_IA64_MODE="64"
4456       ;;
4457     esac
4458   fi
4459   rm -rf conftest*
4460   ;;
4461
4462 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4463   # Find out which ABI we are using.
4464   echo 'int i;' > conftest.$ac_ext
4465   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4466   (eval $ac_compile) 2>&5
4467   ac_status=$?
4468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469   (exit $ac_status); }; then
4470     case "`/usr/bin/file conftest.o`" in
4471     *32-bit*)
4472       case $host in
4473         x86_64-*linux*)
4474           LD="${LD-ld} -m elf_i386"
4475           ;;
4476         ppc64-*linux*|powerpc64-*linux*)
4477           LD="${LD-ld} -m elf32ppclinux"
4478           ;;
4479         s390x-*linux*)
4480           LD="${LD-ld} -m elf_s390"
4481           ;;
4482         sparc64-*linux*)
4483           LD="${LD-ld} -m elf32_sparc"
4484           ;;
4485       esac
4486       ;;
4487     *64-bit*)
4488       case $host in
4489         x86_64-*linux*)
4490           LD="${LD-ld} -m elf_x86_64"
4491           ;;
4492         ppc*-*linux*|powerpc*-*linux*)
4493           LD="${LD-ld} -m elf64ppc"
4494           ;;
4495         s390*-*linux*)
4496           LD="${LD-ld} -m elf64_s390"
4497           ;;
4498         sparc*-*linux*)
4499           LD="${LD-ld} -m elf64_sparc"
4500           ;;
4501       esac
4502       ;;
4503     esac
4504   fi
4505   rm -rf conftest*
4506   ;;
4507
4508 *-*-sco3.2v5*)
4509   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4510   SAVE_CFLAGS="$CFLAGS"
4511   CFLAGS="$CFLAGS -belf"
4512   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4513 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4514 if test "${lt_cv_cc_needs_belf+set}" = set; then
4515   echo $ECHO_N "(cached) $ECHO_C" >&6
4516 else
4517
4518
4519      ac_ext=c
4520 ac_cpp='$CPP $CPPFLAGS'
4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4524
4525      if test x$gcc_no_link = xyes; then
4526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4528    { (exit 1); exit 1; }; }
4529 fi
4530 cat >conftest.$ac_ext <<_ACEOF
4531 /* confdefs.h.  */
4532 _ACEOF
4533 cat confdefs.h >>conftest.$ac_ext
4534 cat >>conftest.$ac_ext <<_ACEOF
4535 /* end confdefs.h.  */
4536
4537 int
4538 main ()
4539 {
4540
4541   ;
4542   return 0;
4543 }
4544 _ACEOF
4545 rm -f conftest.$ac_objext conftest$ac_exeext
4546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4547   (eval $ac_link) 2>conftest.er1
4548   ac_status=$?
4549   grep -v '^ *+' conftest.er1 >conftest.err
4550   rm -f conftest.er1
4551   cat conftest.err >&5
4552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553   (exit $ac_status); } &&
4554          { ac_try='test -z "$ac_c_werror_flag"
4555                          || test ! -s conftest.err'
4556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557   (eval $ac_try) 2>&5
4558   ac_status=$?
4559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560   (exit $ac_status); }; } &&
4561          { ac_try='test -s conftest$ac_exeext'
4562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4563   (eval $ac_try) 2>&5
4564   ac_status=$?
4565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566   (exit $ac_status); }; }; then
4567   lt_cv_cc_needs_belf=yes
4568 else
4569   echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4571
4572 lt_cv_cc_needs_belf=no
4573 fi
4574 rm -f conftest.err conftest.$ac_objext \
4575       conftest$ac_exeext conftest.$ac_ext
4576      ac_ext=c
4577 ac_cpp='$CPP $CPPFLAGS'
4578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4581
4582 fi
4583 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4584 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4585   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4586     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4587     CFLAGS="$SAVE_CFLAGS"
4588   fi
4589   ;;
4590
4591
4592 esac
4593
4594
4595 # Save cache, so that ltconfig can load it
4596 cat >confcache <<\_ACEOF
4597 # This file is a shell script that caches the results of configure
4598 # tests run on this system so they can be shared between configure
4599 # scripts and configure runs, see configure's option --config-cache.
4600 # It is not useful on other systems.  If it contains results you don't
4601 # want to keep, you may remove or edit it.
4602 #
4603 # config.status only pays attention to the cache file if you give it
4604 # the --recheck option to rerun configure.
4605 #
4606 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4607 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4608 # following values.
4609
4610 _ACEOF
4611
4612 # The following way of writing the cache mishandles newlines in values,
4613 # but we know of no workaround that is simple, portable, and efficient.
4614 # So, don't put newlines in cache variables' values.
4615 # Ultrix sh set writes to stderr and can't be redirected directly,
4616 # and sets the high bit in the cache file unless we assign to the vars.
4617 {
4618   (set) 2>&1 |
4619     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4620     *ac_space=\ *)
4621       # `set' does not quote correctly, so add quotes (double-quote
4622       # substitution turns \\\\ into \\, and sed turns \\ into \).
4623       sed -n \
4624         "s/'/'\\\\''/g;
4625           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4626       ;;
4627     *)
4628       # `set' quotes correctly as required by POSIX, so do not add quotes.
4629       sed -n \
4630         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4631       ;;
4632     esac;
4633 } |
4634   sed '
4635      t clear
4636      : clear
4637      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4638      t end
4639      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4640      : end' >>confcache
4641 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4642   if test -w $cache_file; then
4643     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4644     cat confcache >$cache_file
4645   else
4646     echo "not updating unwritable cache $cache_file"
4647   fi
4648 fi
4649 rm -f confcache
4650
4651 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4652 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4653 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4654 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4655 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4656 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4657 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4658 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4659 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4660 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4661 echo "$as_me: error: libtool configure failed" >&2;}
4662    { (exit 1); exit 1; }; }
4663
4664 # Reload cache, that may have been modified by ltconfig
4665 if test -r "$cache_file"; then
4666   # Some versions of bash will fail to source /dev/null (special
4667   # files actually), so we avoid doing that.
4668   if test -f "$cache_file"; then
4669     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4670 echo "$as_me: loading cache $cache_file" >&6;}
4671     case $cache_file in
4672       [\\/]* | ?:[\\/]* ) . $cache_file;;
4673       *)                      . ./$cache_file;;
4674     esac
4675   fi
4676 else
4677   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4678 echo "$as_me: creating cache $cache_file" >&6;}
4679   >$cache_file
4680 fi
4681
4682
4683 # This can be used to rebuild libtool when needed
4684 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4685
4686 # Always use our own libtool.
4687 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4688
4689 # Redirect the config.log output again, so that the ltconfig log is not
4690 # clobbered by the next message.
4691 exec 5>>./config.log
4692
4693 ac_ext=cc
4694 ac_cpp='$CXXCPP $CPPFLAGS'
4695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4698 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4699 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4700 if test -z "$CXXCPP"; then
4701   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4702   echo $ECHO_N "(cached) $ECHO_C" >&6
4703 else
4704       # Double quotes because CXXCPP needs to be expanded
4705     for CXXCPP in "$CXX -E" "/lib/cpp"
4706     do
4707       ac_preproc_ok=false
4708 for ac_cxx_preproc_warn_flag in '' yes
4709 do
4710   # Use a header file that comes with gcc, so configuring glibc
4711   # with a fresh cross-compiler works.
4712   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4713   # <limits.h> exists even on freestanding compilers.
4714   # On the NeXT, cc -E runs the code through the compiler's parser,
4715   # not just through cpp. "Syntax error" is here to catch this case.
4716   cat >conftest.$ac_ext <<_ACEOF
4717 /* confdefs.h.  */
4718 _ACEOF
4719 cat confdefs.h >>conftest.$ac_ext
4720 cat >>conftest.$ac_ext <<_ACEOF
4721 /* end confdefs.h.  */
4722 #ifdef __STDC__
4723 # include <limits.h>
4724 #else
4725 # include <assert.h>
4726 #endif
4727                      Syntax error
4728 _ACEOF
4729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4730   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4731   ac_status=$?
4732   grep -v '^ *+' conftest.er1 >conftest.err
4733   rm -f conftest.er1
4734   cat conftest.err >&5
4735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736   (exit $ac_status); } >/dev/null; then
4737   if test -s conftest.err; then
4738     ac_cpp_err=$ac_cxx_preproc_warn_flag
4739     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4740   else
4741     ac_cpp_err=
4742   fi
4743 else
4744   ac_cpp_err=yes
4745 fi
4746 if test -z "$ac_cpp_err"; then
4747   :
4748 else
4749   echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4751
4752   # Broken: fails on valid input.
4753 continue
4754 fi
4755 rm -f conftest.err conftest.$ac_ext
4756
4757   # OK, works on sane cases.  Now check whether non-existent headers
4758   # can be detected and how.
4759   cat >conftest.$ac_ext <<_ACEOF
4760 /* confdefs.h.  */
4761 _ACEOF
4762 cat confdefs.h >>conftest.$ac_ext
4763 cat >>conftest.$ac_ext <<_ACEOF
4764 /* end confdefs.h.  */
4765 #include <ac_nonexistent.h>
4766 _ACEOF
4767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4768   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4769   ac_status=$?
4770   grep -v '^ *+' conftest.er1 >conftest.err
4771   rm -f conftest.er1
4772   cat conftest.err >&5
4773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774   (exit $ac_status); } >/dev/null; then
4775   if test -s conftest.err; then
4776     ac_cpp_err=$ac_cxx_preproc_warn_flag
4777     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4778   else
4779     ac_cpp_err=
4780   fi
4781 else
4782   ac_cpp_err=yes
4783 fi
4784 if test -z "$ac_cpp_err"; then
4785   # Broken: success on invalid input.
4786 continue
4787 else
4788   echo "$as_me: failed program was:" >&5
4789 sed 's/^/| /' conftest.$ac_ext >&5
4790
4791   # Passes both tests.
4792 ac_preproc_ok=:
4793 break
4794 fi
4795 rm -f conftest.err conftest.$ac_ext
4796
4797 done
4798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4799 rm -f conftest.err conftest.$ac_ext
4800 if $ac_preproc_ok; then
4801   break
4802 fi
4803
4804     done
4805     ac_cv_prog_CXXCPP=$CXXCPP
4806
4807 fi
4808   CXXCPP=$ac_cv_prog_CXXCPP
4809 else
4810   ac_cv_prog_CXXCPP=$CXXCPP
4811 fi
4812 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4813 echo "${ECHO_T}$CXXCPP" >&6
4814 ac_preproc_ok=false
4815 for ac_cxx_preproc_warn_flag in '' yes
4816 do
4817   # Use a header file that comes with gcc, so configuring glibc
4818   # with a fresh cross-compiler works.
4819   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4820   # <limits.h> exists even on freestanding compilers.
4821   # On the NeXT, cc -E runs the code through the compiler's parser,
4822   # not just through cpp. "Syntax error" is here to catch this case.
4823   cat >conftest.$ac_ext <<_ACEOF
4824 /* confdefs.h.  */
4825 _ACEOF
4826 cat confdefs.h >>conftest.$ac_ext
4827 cat >>conftest.$ac_ext <<_ACEOF
4828 /* end confdefs.h.  */
4829 #ifdef __STDC__
4830 # include <limits.h>
4831 #else
4832 # include <assert.h>
4833 #endif
4834                      Syntax error
4835 _ACEOF
4836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4837   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4838   ac_status=$?
4839   grep -v '^ *+' conftest.er1 >conftest.err
4840   rm -f conftest.er1
4841   cat conftest.err >&5
4842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843   (exit $ac_status); } >/dev/null; then
4844   if test -s conftest.err; then
4845     ac_cpp_err=$ac_cxx_preproc_warn_flag
4846     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4847   else
4848     ac_cpp_err=
4849   fi
4850 else
4851   ac_cpp_err=yes
4852 fi
4853 if test -z "$ac_cpp_err"; then
4854   :
4855 else
4856   echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4858
4859   # Broken: fails on valid input.
4860 continue
4861 fi
4862 rm -f conftest.err conftest.$ac_ext
4863
4864   # OK, works on sane cases.  Now check whether non-existent headers
4865   # can be detected and how.
4866   cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h.  */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h.  */
4872 #include <ac_nonexistent.h>
4873 _ACEOF
4874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4875   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4876   ac_status=$?
4877   grep -v '^ *+' conftest.er1 >conftest.err
4878   rm -f conftest.er1
4879   cat conftest.err >&5
4880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881   (exit $ac_status); } >/dev/null; then
4882   if test -s conftest.err; then
4883     ac_cpp_err=$ac_cxx_preproc_warn_flag
4884     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4885   else
4886     ac_cpp_err=
4887   fi
4888 else
4889   ac_cpp_err=yes
4890 fi
4891 if test -z "$ac_cpp_err"; then
4892   # Broken: success on invalid input.
4893 continue
4894 else
4895   echo "$as_me: failed program was:" >&5
4896 sed 's/^/| /' conftest.$ac_ext >&5
4897
4898   # Passes both tests.
4899 ac_preproc_ok=:
4900 break
4901 fi
4902 rm -f conftest.err conftest.$ac_ext
4903
4904 done
4905 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4906 rm -f conftest.err conftest.$ac_ext
4907 if $ac_preproc_ok; then
4908   :
4909 else
4910   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4911 See \`config.log' for more details." >&5
4912 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4913 See \`config.log' for more details." >&2;}
4914    { (exit 1); exit 1; }; }
4915 fi
4916
4917 ac_ext=c
4918 ac_cpp='$CPP $CPPFLAGS'
4919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4922
4923
4924
4925 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4926 lt_save_CC="$CC"
4927 lt_save_CFLAGS="$CFLAGS"
4928 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4929 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4930 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4931 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4932 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4933 deplibs_check_method="$deplibs_check_method" \
4934 file_magic_cmd="$file_magic_cmd" \
4935 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4936 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4937 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4938 echo "$as_me: error: libtool tag configuration failed" >&2;}
4939    { (exit 1); exit 1; }; }
4940 CC="$lt_save_CC"
4941 CFLAGS="$lt_save_CFLAGS"
4942
4943 # Redirect the config.log output again, so that the ltconfig log is not
4944 # clobbered by the next message.
4945 exec 5>>./config.log
4946
4947
4948
4949
4950
4951
4952
4953
4954 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4955
4956 # Possibly disable most of the library.
4957 ## XXX Consider skipping unncessary tests altogether in this case, rather
4958 ## than just ignoring the results.  Faster /and/ more correct, win win.
4959
4960   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4961 if test "${enable_hosted_libstdcxx+set}" = set; then
4962   enableval="$enable_hosted_libstdcxx"
4963
4964 else
4965   enable_hosted_libstdcxx=yes
4966 fi;
4967   if test "$enable_hosted_libstdcxx" = no; then
4968     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4969 echo "$as_me: Only freestanding libraries will be built" >&6;}
4970     is_hosted=no
4971     hosted_define=0
4972     enable_abi_check=no
4973     enable_libstdcxx_pch=no
4974   else
4975     is_hosted=yes
4976     hosted_define=1
4977   fi
4978
4979
4980 cat >>confdefs.h <<_ACEOF
4981 #define _GLIBCXX_HOSTED $hosted_define
4982 _ACEOF
4983
4984
4985
4986 # Check for support bits and g++ features that don't require linking.
4987
4988   echo "$as_me:$LINENO: checking for exception model to use" >&5
4989 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4990
4991
4992   ac_ext=cc
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4997
4998    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4999 if test "${enable_sjlj_exceptions+set}" = set; then
5000   enableval="$enable_sjlj_exceptions"
5001
5002       case "$enableval" in
5003        yes|no|auto) ;;
5004        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5005 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5006    { (exit 1); exit 1; }; } ;;
5007                           esac
5008
5009 else
5010   enable_sjlj_exceptions=auto
5011 fi;
5012
5013
5014   if test $enable_sjlj_exceptions = auto; then
5015     # Botheration.  Now we've got to detect the exception model.  Link tests
5016     # against libgcc.a are problematic since we've not been given proper -L
5017     # bits for single-tree newlib and libgloss.
5018     #
5019     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5020     cat > conftest.$ac_ext << EOF
5021 #line 5021 "configure"
5022 struct S { ~S(); };
5023 void bar();
5024 void foo()
5025 {
5026   S s;
5027   bar();
5028 }
5029 EOF
5030     old_CXXFLAGS="$CXXFLAGS"
5031     CXXFLAGS=-S
5032     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033   (eval $ac_compile) 2>&5
5034   ac_status=$?
5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036   (exit $ac_status); }; then
5037       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5038         enable_sjlj_exceptions=yes
5039       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5040         enable_sjlj_exceptions=no
5041       fi
5042     fi
5043     CXXFLAGS="$old_CXXFLAGS"
5044     rm -f conftest*
5045   fi
5046
5047   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5048   # to two different models.
5049   case $enable_sjlj_exceptions in
5050     yes)
5051
5052 cat >>confdefs.h <<\_ACEOF
5053 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5054 _ACEOF
5055
5056       ac_exception_model_name=sjlj
5057       ;;
5058     no)
5059       ac_exception_model_name="call frame"
5060       ;;
5061     *)
5062       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5063 echo "$as_me: error: unable to detect exception model" >&2;}
5064    { (exit 1); exit 1; }; }
5065       ;;
5066   esac
5067  ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072
5073  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5074 echo "${ECHO_T}$ac_exception_model_name" >&6
5075
5076
5077   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5078 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5079    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5080 if test "${enable_libstdcxx_pch+set}" = set; then
5081   enableval="$enable_libstdcxx_pch"
5082
5083       case "$enableval" in
5084        yes|no) ;;
5085        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5087    { (exit 1); exit 1; }; } ;;
5088       esac
5089
5090 else
5091   enable_libstdcxx_pch=$is_hosted
5092 fi;
5093
5094   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5095 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5096
5097   if test $enable_libstdcxx_pch = yes; then
5098     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5099 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5100 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5101   echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103   ac_save_CXXFLAGS="$CXXFLAGS"
5104        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5105
5106
5107        ac_ext=cc
5108 ac_cpp='$CXXCPP $CPPFLAGS'
5109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5112
5113        echo '#include <math.h>' > conftest.h
5114        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5115                           -o conftest.h.gch 1>&5 2>&1 &&
5116                 echo '#error "pch failed"' > conftest.h &&
5117           echo '#include "conftest.h"' > conftest.cc &&
5118                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5119        then
5120          glibcxx_cv_prog_CXX_pch=yes
5121        else
5122          glibcxx_cv_prog_CXX_pch=no
5123        fi
5124        rm -f conftest*
5125        CXXFLAGS=$ac_save_CXXFLAGS
5126        ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131
5132
5133 fi
5134 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5135 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5136     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5137   fi
5138
5139
5140   if test $enable_libstdcxx_pch = yes; then
5141     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5142   else
5143     glibcxx_PCHFLAGS=""
5144   fi
5145
5146
5147
5148 # Enable all the variable C++ runtime options.
5149 # NB: C_MBCHAR must come early.
5150
5151   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5152 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5153    # Check whether --enable-cstdio or --disable-cstdio was given.
5154 if test "${enable_cstdio+set}" = set; then
5155   enableval="$enable_cstdio"
5156
5157       case "$enableval" in
5158        stdio) ;;
5159        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5160 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5161    { (exit 1); exit 1; }; } ;;
5162                           esac
5163
5164 else
5165   enable_cstdio=stdio
5166 fi;
5167
5168
5169   # Now that libio has been removed, you can have any color you want as long
5170   # as it's black.  This is one big no-op until other packages are added, but
5171   # showing the framework never hurts.
5172   case ${enable_cstdio} in
5173     stdio)
5174       CSTDIO_H=config/io/c_io_stdio.h
5175       BASIC_FILE_H=config/io/basic_file_stdio.h
5176       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5177       echo "$as_me:$LINENO: result: stdio" >&5
5178 echo "${ECHO_T}stdio" >&6
5179       ;;
5180   esac
5181
5182
5183
5184
5185
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5195   CPP=
5196 fi
5197 if test -z "$CPP"; then
5198   if test "${ac_cv_prog_CPP+set}" = set; then
5199   echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201       # Double quotes because CPP needs to be expanded
5202     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5203     do
5204       ac_preproc_ok=false
5205 for ac_c_preproc_warn_flag in '' yes
5206 do
5207   # Use a header file that comes with gcc, so configuring glibc
5208   # with a fresh cross-compiler works.
5209   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210   # <limits.h> exists even on freestanding compilers.
5211   # On the NeXT, cc -E runs the code through the compiler's parser,
5212   # not just through cpp. "Syntax error" is here to catch this case.
5213   cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h.  */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h.  */
5219 #ifdef __STDC__
5220 # include <limits.h>
5221 #else
5222 # include <assert.h>
5223 #endif
5224                      Syntax error
5225 _ACEOF
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228   ac_status=$?
5229   grep -v '^ *+' conftest.er1 >conftest.err
5230   rm -f conftest.er1
5231   cat conftest.err >&5
5232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233   (exit $ac_status); } >/dev/null; then
5234   if test -s conftest.err; then
5235     ac_cpp_err=$ac_c_preproc_warn_flag
5236     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5237   else
5238     ac_cpp_err=
5239   fi
5240 else
5241   ac_cpp_err=yes
5242 fi
5243 if test -z "$ac_cpp_err"; then
5244   :
5245 else
5246   echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5248
5249   # Broken: fails on valid input.
5250 continue
5251 fi
5252 rm -f conftest.err conftest.$ac_ext
5253
5254   # OK, works on sane cases.  Now check whether non-existent headers
5255   # can be detected and how.
5256   cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h.  */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h.  */
5262 #include <ac_nonexistent.h>
5263 _ACEOF
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5266   ac_status=$?
5267   grep -v '^ *+' conftest.er1 >conftest.err
5268   rm -f conftest.er1
5269   cat conftest.err >&5
5270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271   (exit $ac_status); } >/dev/null; then
5272   if test -s conftest.err; then
5273     ac_cpp_err=$ac_c_preproc_warn_flag
5274     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5275   else
5276     ac_cpp_err=
5277   fi
5278 else
5279   ac_cpp_err=yes
5280 fi
5281 if test -z "$ac_cpp_err"; then
5282   # Broken: success on invalid input.
5283 continue
5284 else
5285   echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5287
5288   # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5291 fi
5292 rm -f conftest.err conftest.$ac_ext
5293
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then
5298   break
5299 fi
5300
5301     done
5302     ac_cv_prog_CPP=$CPP
5303
5304 fi
5305   CPP=$ac_cv_prog_CPP
5306 else
5307   ac_cv_prog_CPP=$CPP
5308 fi
5309 echo "$as_me:$LINENO: result: $CPP" >&5
5310 echo "${ECHO_T}$CPP" >&6
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5313 do
5314   # Use a header file that comes with gcc, so configuring glibc
5315   # with a fresh cross-compiler works.
5316   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317   # <limits.h> exists even on freestanding compilers.
5318   # On the NeXT, cc -E runs the code through the compiler's parser,
5319   # not just through cpp. "Syntax error" is here to catch this case.
5320   cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h.  */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h.  */
5326 #ifdef __STDC__
5327 # include <limits.h>
5328 #else
5329 # include <assert.h>
5330 #endif
5331                      Syntax error
5332 _ACEOF
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5335   ac_status=$?
5336   grep -v '^ *+' conftest.er1 >conftest.err
5337   rm -f conftest.er1
5338   cat conftest.err >&5
5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340   (exit $ac_status); } >/dev/null; then
5341   if test -s conftest.err; then
5342     ac_cpp_err=$ac_c_preproc_warn_flag
5343     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5344   else
5345     ac_cpp_err=
5346   fi
5347 else
5348   ac_cpp_err=yes
5349 fi
5350 if test -z "$ac_cpp_err"; then
5351   :
5352 else
5353   echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5355
5356   # Broken: fails on valid input.
5357 continue
5358 fi
5359 rm -f conftest.err conftest.$ac_ext
5360
5361   # OK, works on sane cases.  Now check whether non-existent headers
5362   # can be detected and how.
5363   cat >conftest.$ac_ext <<_ACEOF
5364 /* confdefs.h.  */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h.  */
5369 #include <ac_nonexistent.h>
5370 _ACEOF
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5373   ac_status=$?
5374   grep -v '^ *+' conftest.er1 >conftest.err
5375   rm -f conftest.er1
5376   cat conftest.err >&5
5377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378   (exit $ac_status); } >/dev/null; then
5379   if test -s conftest.err; then
5380     ac_cpp_err=$ac_c_preproc_warn_flag
5381     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5382   else
5383     ac_cpp_err=
5384   fi
5385 else
5386   ac_cpp_err=yes
5387 fi
5388 if test -z "$ac_cpp_err"; then
5389   # Broken: success on invalid input.
5390 continue
5391 else
5392   echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5394
5395   # Passes both tests.
5396 ac_preproc_ok=:
5397 break
5398 fi
5399 rm -f conftest.err conftest.$ac_ext
5400
5401 done
5402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5403 rm -f conftest.err conftest.$ac_ext
5404 if $ac_preproc_ok; then
5405   :
5406 else
5407   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5408 See \`config.log' for more details." >&5
5409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5410 See \`config.log' for more details." >&2;}
5411    { (exit 1); exit 1; }; }
5412 fi
5413
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419
5420
5421 echo "$as_me:$LINENO: checking for egrep" >&5
5422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5423 if test "${ac_cv_prog_egrep+set}" = set; then
5424   echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5427     then ac_cv_prog_egrep='grep -E'
5428     else ac_cv_prog_egrep='egrep'
5429     fi
5430 fi
5431 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5432 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5433  EGREP=$ac_cv_prog_egrep
5434
5435
5436 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439   echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441   cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h.  */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h.  */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5451
5452 int
5453 main ()
5454 {
5455
5456   ;
5457   return 0;
5458 }
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462   (eval $ac_compile) 2>conftest.er1
5463   ac_status=$?
5464   grep -v '^ *+' conftest.er1 >conftest.err
5465   rm -f conftest.er1
5466   cat conftest.err >&5
5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468   (exit $ac_status); } &&
5469          { ac_try='test -z "$ac_c_werror_flag"
5470                          || test ! -s conftest.err'
5471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472   (eval $ac_try) 2>&5
5473   ac_status=$?
5474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475   (exit $ac_status); }; } &&
5476          { ac_try='test -s conftest.$ac_objext'
5477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478   (eval $ac_try) 2>&5
5479   ac_status=$?
5480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481   (exit $ac_status); }; }; then
5482   ac_cv_header_stdc=yes
5483 else
5484   echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5486
5487 ac_cv_header_stdc=no
5488 fi
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5490
5491 if test $ac_cv_header_stdc = yes; then
5492   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5493   cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h.  */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h.  */
5499 #include <string.h>
5500
5501 _ACEOF
5502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503   $EGREP "memchr" >/dev/null 2>&1; then
5504   :
5505 else
5506   ac_cv_header_stdc=no
5507 fi
5508 rm -f conftest*
5509
5510 fi
5511
5512 if test $ac_cv_header_stdc = yes; then
5513   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514   cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h.  */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h.  */
5520 #include <stdlib.h>
5521
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524   $EGREP "free" >/dev/null 2>&1; then
5525   :
5526 else
5527   ac_cv_header_stdc=no
5528 fi
5529 rm -f conftest*
5530
5531 fi
5532
5533 if test $ac_cv_header_stdc = yes; then
5534   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5535   if test "$cross_compiling" = yes; then
5536   :
5537 else
5538   cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h.  */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h.  */
5544 #include <ctype.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550                    (('a' <= (c) && (c) <= 'i') \
5551                      || ('j' <= (c) && (c) <= 'r') \
5552                      || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5555
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5557 int
5558 main ()
5559 {
5560   int i;
5561   for (i = 0; i < 256; i++)
5562     if (XOR (islower (i), ISLOWER (i))
5563         || toupper (i) != TOUPPER (i))
5564       exit(2);
5565   exit (0);
5566 }
5567 _ACEOF
5568 rm -f conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570   (eval $ac_link) 2>&5
5571   ac_status=$?
5572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575   (eval $ac_try) 2>&5
5576   ac_status=$?
5577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578   (exit $ac_status); }; }; then
5579   :
5580 else
5581   echo "$as_me: program exited with status $ac_status" >&5
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5584
5585 ( exit $ac_status )
5586 ac_cv_header_stdc=no
5587 fi
5588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5589 fi
5590 fi
5591 fi
5592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5594 if test $ac_cv_header_stdc = yes; then
5595
5596 cat >>confdefs.h <<\_ACEOF
5597 #define STDC_HEADERS 1
5598 _ACEOF
5599
5600 fi
5601
5602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5613                   inttypes.h stdint.h unistd.h
5614 do
5615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5616 echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619   echo $ECHO_N "(cached) $ECHO_C" >&6
5620 else
5621   cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h.  */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h.  */
5627 $ac_includes_default
5628
5629 #include <$ac_header>
5630 _ACEOF
5631 rm -f conftest.$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633   (eval $ac_compile) 2>conftest.er1
5634   ac_status=$?
5635   grep -v '^ *+' conftest.er1 >conftest.err
5636   rm -f conftest.er1
5637   cat conftest.err >&5
5638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639   (exit $ac_status); } &&
5640          { ac_try='test -z "$ac_c_werror_flag"
5641                          || test ! -s conftest.err'
5642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643   (eval $ac_try) 2>&5
5644   ac_status=$?
5645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646   (exit $ac_status); }; } &&
5647          { ac_try='test -s conftest.$ac_objext'
5648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649   (eval $ac_try) 2>&5
5650   ac_status=$?
5651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652   (exit $ac_status); }; }; then
5653   eval "$as_ac_Header=yes"
5654 else
5655   echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5657
5658 eval "$as_ac_Header=no"
5659 fi
5660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5661 fi
5662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5665   cat >>confdefs.h <<_ACEOF
5666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 _ACEOF
5668
5669 fi
5670
5671 done
5672
5673
5674
5675   echo "$as_me:$LINENO: checking for C locale to use" >&5
5676 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5677    # Check whether --enable-clocale or --disable-clocale was given.
5678 if test "${enable_clocale+set}" = set; then
5679   enableval="$enable_clocale"
5680
5681       case "$enableval" in
5682        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5683        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5684 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5685    { (exit 1); exit 1; }; } ;;
5686                           esac
5687
5688 else
5689   enable_clocale=auto
5690 fi;
5691
5692
5693   # If they didn't use this option switch, or if they specified --enable
5694   # with no specific model, we'll have to look for one.  If they
5695   # specified --disable (???), do likewise.
5696   if test $enable_clocale = no || test $enable_clocale = yes; then
5697      enable_clocale=auto
5698   fi
5699
5700   # Either a known package, or "auto"
5701   enable_clocale_flag=$enable_clocale
5702
5703   # Probe for locale support if no specific model is specified.
5704   # Default to "generic".
5705   if test $enable_clocale_flag = auto; then
5706     case x${target_os} in
5707       xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5708         cat >conftest.$ac_ext <<_ACEOF
5709 /* confdefs.h.  */
5710 _ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h.  */
5714
5715         #include <features.h>
5716         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5717           _GLIBCXX_ok
5718         #endif
5719
5720 _ACEOF
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5723   enable_clocale_flag=gnu
5724 else
5725   enable_clocale_flag=generic
5726 fi
5727 rm -f conftest*
5728
5729
5730         # Test for bugs early in glibc-2.2.x series
5731           if test x$enable_clocale_flag = xgnu; then
5732           if test "$cross_compiling" = yes; then
5733   enable_clocale_flag=generic
5734 else
5735   cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h.  */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h.  */
5741
5742           #define _GNU_SOURCE 1
5743           #include <locale.h>
5744           #include <string.h>
5745           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5746           extern __typeof(newlocale) __newlocale;
5747           extern __typeof(duplocale) __duplocale;
5748           extern __typeof(strcoll_l) __strcoll_l;
5749           #endif
5750           int main()
5751           {
5752               const char __one[] = "Äuglein Augmen";
5753               const char __two[] = "Äuglein";
5754               int i;
5755               int j;
5756               __locale_t        loc;
5757                __locale_t        loc_dup;
5758               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5759               loc_dup = __duplocale(loc);
5760               i = __strcoll_l(__one, __two, loc);
5761               j = __strcoll_l(__one, __two, loc_dup);
5762               return 0;
5763           }
5764
5765 _ACEOF
5766 rm -f conftest$ac_exeext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5768   (eval $ac_link) 2>&5
5769   ac_status=$?
5770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773   (eval $ac_try) 2>&5
5774   ac_status=$?
5775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776   (exit $ac_status); }; }; then
5777   enable_clocale_flag=gnu
5778 else
5779   echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5782
5783 ( exit $ac_status )
5784 enable_clocale_flag=generic
5785 fi
5786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5787 fi
5788           fi
5789
5790         # ... at some point put __strxfrm_l tests in as well.
5791         ;;
5792       *)
5793         enable_clocale_flag=generic
5794         ;;
5795     esac
5796   fi
5797
5798   # Deal with gettext issues.  Default to not using it (=no) until we detect
5799   # support for it later.  Let the user turn it off via --e/d, but let that
5800   # default to on for easier handling.
5801   USE_NLS=no
5802   # Check whether --enable-nls or --disable-nls was given.
5803 if test "${enable_nls+set}" = set; then
5804   enableval="$enable_nls"
5805
5806 else
5807   enable_nls=yes
5808 fi;
5809
5810   # Set configure bits for specified locale package
5811   case ${enable_clocale_flag} in
5812     generic)
5813       echo "$as_me:$LINENO: result: generic" >&5
5814 echo "${ECHO_T}generic" >&6
5815
5816       CLOCALE_H=config/locale/generic/c_locale.h
5817       CLOCALE_CC=config/locale/generic/c_locale.cc
5818       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5819       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5820       CCOLLATE_CC=config/locale/generic/collate_members.cc
5821       CCTYPE_CC=config/locale/generic/ctype_members.cc
5822       CMESSAGES_H=config/locale/generic/messages_members.h
5823       CMESSAGES_CC=config/locale/generic/messages_members.cc
5824       CMONEY_CC=config/locale/generic/monetary_members.cc
5825       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5826       CTIME_H=config/locale/generic/time_members.h
5827       CTIME_CC=config/locale/generic/time_members.cc
5828       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5829       ;;
5830     gnu)
5831       echo "$as_me:$LINENO: result: gnu" >&5
5832 echo "${ECHO_T}gnu" >&6
5833
5834       # Declare intention to use gettext, and add support for specific
5835       # languages.
5836       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5837       ALL_LINGUAS="de fr"
5838
5839       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5840       # Extract the first word of "msgfmt", so it can be a program name with args.
5841 set dummy msgfmt; ac_word=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5845   echo $ECHO_N "(cached) $ECHO_C" >&6
5846 else
5847   if test -n "$check_msgfmt"; then
5848   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5852 do
5853   IFS=$as_save_IFS
5854   test -z "$as_dir" && as_dir=.
5855   for ac_exec_ext in '' $ac_executable_extensions; do
5856   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857     ac_cv_prog_check_msgfmt="yes"
5858     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859     break 2
5860   fi
5861 done
5862 done
5863
5864   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5865 fi
5866 fi
5867 check_msgfmt=$ac_cv_prog_check_msgfmt
5868 if test -n "$check_msgfmt"; then
5869   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5870 echo "${ECHO_T}$check_msgfmt" >&6
5871 else
5872   echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5874 fi
5875
5876       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5877         USE_NLS=yes
5878       fi
5879       # Export the build objects.
5880       for ling in $ALL_LINGUAS; do \
5881         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5882         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5883       done
5884
5885
5886
5887       CLOCALE_H=config/locale/gnu/c_locale.h
5888       CLOCALE_CC=config/locale/gnu/c_locale.cc
5889       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5890       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5891       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5892       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5893       CMESSAGES_H=config/locale/gnu/messages_members.h
5894       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5895       CMONEY_CC=config/locale/gnu/monetary_members.cc
5896       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5897       CTIME_H=config/locale/gnu/time_members.h
5898       CTIME_CC=config/locale/gnu/time_members.cc
5899       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5900       ;;
5901     ieee_1003.1-2001)
5902       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5903 echo "${ECHO_T}IEEE 1003.1" >&6
5904
5905       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5906       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5907       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5908       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5909       CCOLLATE_CC=config/locale/generic/collate_members.cc
5910       CCTYPE_CC=config/locale/generic/ctype_members.cc
5911       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5912       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5913       CMONEY_CC=config/locale/generic/monetary_members.cc
5914       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5915       CTIME_H=config/locale/generic/time_members.h
5916       CTIME_CC=config/locale/generic/time_members.cc
5917       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5918       ;;
5919   esac
5920
5921   # This is where the testsuite looks for locale catalogs, using the
5922   # -DLOCALEDIR define during testsuite compilation.
5923   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5924
5925
5926   # A standalone libintl (e.g., GNU libintl) may be in use.
5927   if test $USE_NLS = yes; then
5928
5929 for ac_header in libintl.h
5930 do
5931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5933   echo "$as_me:$LINENO: checking for $ac_header" >&5
5934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5936   echo $ECHO_N "(cached) $ECHO_C" >&6
5937 fi
5938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5940 else
5941   # Is the header compilable?
5942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h.  */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h.  */
5950 $ac_includes_default
5951 #include <$ac_header>
5952 _ACEOF
5953 rm -f conftest.$ac_objext
5954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5955   (eval $ac_compile) 2>conftest.er1
5956   ac_status=$?
5957   grep -v '^ *+' conftest.er1 >conftest.err
5958   rm -f conftest.er1
5959   cat conftest.err >&5
5960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961   (exit $ac_status); } &&
5962          { ac_try='test -z "$ac_c_werror_flag"
5963                          || test ! -s conftest.err'
5964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965   (eval $ac_try) 2>&5
5966   ac_status=$?
5967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968   (exit $ac_status); }; } &&
5969          { ac_try='test -s conftest.$ac_objext'
5970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971   (eval $ac_try) 2>&5
5972   ac_status=$?
5973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974   (exit $ac_status); }; }; then
5975   ac_header_compiler=yes
5976 else
5977   echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.$ac_ext >&5
5979
5980 ac_header_compiler=no
5981 fi
5982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5984 echo "${ECHO_T}$ac_header_compiler" >&6
5985
5986 # Is the header present?
5987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h.  */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h.  */
5995 #include <$ac_header>
5996 _ACEOF
5997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5998   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5999   ac_status=$?
6000   grep -v '^ *+' conftest.er1 >conftest.err
6001   rm -f conftest.er1
6002   cat conftest.err >&5
6003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004   (exit $ac_status); } >/dev/null; then
6005   if test -s conftest.err; then
6006     ac_cpp_err=$ac_c_preproc_warn_flag
6007     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6008   else
6009     ac_cpp_err=
6010   fi
6011 else
6012   ac_cpp_err=yes
6013 fi
6014 if test -z "$ac_cpp_err"; then
6015   ac_header_preproc=yes
6016 else
6017   echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.$ac_ext >&5
6019
6020   ac_header_preproc=no
6021 fi
6022 rm -f conftest.err conftest.$ac_ext
6023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6024 echo "${ECHO_T}$ac_header_preproc" >&6
6025
6026 # So?  What about this header?
6027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6028   yes:no: )
6029     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6031     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6033     ac_header_preproc=yes
6034     ;;
6035   no:yes:* )
6036     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6038     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6039 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6040     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6042     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6043 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6044     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6046     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6048     (
6049       cat <<\_ASBOX
6050 ## ----------------------------------------- ##
6051 ## Report this to the package-unused lists.  ##
6052 ## ----------------------------------------- ##
6053 _ASBOX
6054     ) |
6055       sed "s/^/$as_me: WARNING:     /" >&2
6056     ;;
6057 esac
6058 echo "$as_me:$LINENO: checking for $ac_header" >&5
6059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6061   echo $ECHO_N "(cached) $ECHO_C" >&6
6062 else
6063   eval "$as_ac_Header=\$ac_header_preproc"
6064 fi
6065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6067
6068 fi
6069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6070   cat >>confdefs.h <<_ACEOF
6071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6072 _ACEOF
6073
6074 else
6075   USE_NLS=no
6076 fi
6077
6078 done
6079
6080     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6081 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6082 if test "${ac_cv_search_gettext+set}" = set; then
6083   echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085   ac_func_search_save_LIBS=$LIBS
6086 ac_cv_search_gettext=no
6087 if test x$gcc_no_link = xyes; then
6088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6090    { (exit 1); exit 1; }; }
6091 fi
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h.  */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h.  */
6098
6099 /* Override any gcc2 internal prototype to avoid an error.  */
6100 #ifdef __cplusplus
6101 extern "C"
6102 #endif
6103 /* We use char because int might match the return type of a gcc2
6104    builtin and then its argument prototype would still apply.  */
6105 char gettext ();
6106 int
6107 main ()
6108 {
6109 gettext ();
6110   ;
6111   return 0;
6112 }
6113 _ACEOF
6114 rm -f conftest.$ac_objext conftest$ac_exeext
6115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6116   (eval $ac_link) 2>conftest.er1
6117   ac_status=$?
6118   grep -v '^ *+' conftest.er1 >conftest.err
6119   rm -f conftest.er1
6120   cat conftest.err >&5
6121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122   (exit $ac_status); } &&
6123          { ac_try='test -z "$ac_c_werror_flag"
6124                          || test ! -s conftest.err'
6125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126   (eval $ac_try) 2>&5
6127   ac_status=$?
6128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129   (exit $ac_status); }; } &&
6130          { ac_try='test -s conftest$ac_exeext'
6131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132   (eval $ac_try) 2>&5
6133   ac_status=$?
6134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135   (exit $ac_status); }; }; then
6136   ac_cv_search_gettext="none required"
6137 else
6138   echo "$as_me: failed program was:" >&5
6139 sed 's/^/| /' conftest.$ac_ext >&5
6140
6141 fi
6142 rm -f conftest.err conftest.$ac_objext \
6143       conftest$ac_exeext conftest.$ac_ext
6144 if test "$ac_cv_search_gettext" = no; then
6145   for ac_lib in intl; do
6146     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6147     if test x$gcc_no_link = xyes; then
6148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6150    { (exit 1); exit 1; }; }
6151 fi
6152 cat >conftest.$ac_ext <<_ACEOF
6153 /* confdefs.h.  */
6154 _ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h.  */
6158
6159 /* Override any gcc2 internal prototype to avoid an error.  */
6160 #ifdef __cplusplus
6161 extern "C"
6162 #endif
6163 /* We use char because int might match the return type of a gcc2
6164    builtin and then its argument prototype would still apply.  */
6165 char gettext ();
6166 int
6167 main ()
6168 {
6169 gettext ();
6170   ;
6171   return 0;
6172 }
6173 _ACEOF
6174 rm -f conftest.$ac_objext conftest$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176   (eval $ac_link) 2>conftest.er1
6177   ac_status=$?
6178   grep -v '^ *+' conftest.er1 >conftest.err
6179   rm -f conftest.er1
6180   cat conftest.err >&5
6181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182   (exit $ac_status); } &&
6183          { ac_try='test -z "$ac_c_werror_flag"
6184                          || test ! -s conftest.err'
6185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186   (eval $ac_try) 2>&5
6187   ac_status=$?
6188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189   (exit $ac_status); }; } &&
6190          { ac_try='test -s conftest$ac_exeext'
6191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192   (eval $ac_try) 2>&5
6193   ac_status=$?
6194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195   (exit $ac_status); }; }; then
6196   ac_cv_search_gettext="-l$ac_lib"
6197 break
6198 else
6199   echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.$ac_ext >&5
6201
6202 fi
6203 rm -f conftest.err conftest.$ac_objext \
6204       conftest$ac_exeext conftest.$ac_ext
6205   done
6206 fi
6207 LIBS=$ac_func_search_save_LIBS
6208 fi
6209 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6210 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6211 if test "$ac_cv_search_gettext" != no; then
6212   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6213
6214 else
6215   USE_NLS=no
6216 fi
6217
6218   fi
6219   if test $USE_NLS = yes; then
6220     cat >>confdefs.h <<\_ACEOF
6221 #define _GLIBCXX_USE_NLS 1
6222 _ACEOF
6223
6224   fi
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6243 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6244    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6245 if test "${enable_libstdcxx_allocator+set}" = set; then
6246   enableval="$enable_libstdcxx_allocator"
6247
6248       case "$enableval" in
6249        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6250        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6251 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6252    { (exit 1); exit 1; }; } ;;
6253                           esac
6254
6255 else
6256   enable_libstdcxx_allocator=auto
6257 fi;
6258
6259   # If they didn't use this option switch, or if they specified --enable
6260   # with no specific model, we'll have to look for one.  If they
6261   # specified --disable (???), do likewise.
6262   if test $enable_libstdcxx_allocator = no || test $enable_libstdcxx_allocator = yes; then
6263      enable_libstdcxx_allocator=auto
6264   fi
6265
6266   # Either a known package, or "auto"
6267   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6268
6269   # Probe for host-specific support if no specific model is specified.
6270   # Default to "new".
6271   if test $enable_libstdcxx_allocator_flag = auto; then
6272     case ${target_os} in
6273       *)
6274         enable_libstdcxx_allocator_flag=new
6275         ;;
6276     esac
6277   fi
6278   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6279 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6280
6281
6282   # Set configure bits for specified locale package
6283   case ${enable_libstdcxx_allocator_flag} in
6284     bitmap)
6285       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6286       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6287       ;;
6288     malloc)
6289       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6290       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6291       ;;
6292     mt)
6293       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6294       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6295       ;;
6296     new)
6297       ALLOCATOR_H=config/allocator/new_allocator_base.h
6298       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6299       ;;
6300     pool)
6301       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6302       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6303       ;;
6304   esac
6305
6306
6307
6308
6309
6310    # Check whether --enable-cheaders or --disable-cheaders was given.
6311 if test "${enable_cheaders+set}" = set; then
6312   enableval="$enable_cheaders"
6313
6314       case "$enableval" in
6315        c|c_std) ;;
6316        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6317 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6318    { (exit 1); exit 1; }; } ;;
6319                           esac
6320
6321 else
6322   enable_cheaders=$c_model
6323 fi;
6324
6325   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6326 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6327
6328   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6329
6330
6331
6332
6333
6334
6335    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6336 if test "${enable_c_mbchar+set}" = set; then
6337   enableval="$enable_c_mbchar"
6338
6339       case "$enableval" in
6340        yes|no) ;;
6341        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6342 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6343    { (exit 1); exit 1; }; } ;;
6344       esac
6345
6346 else
6347   enable_c_mbchar=yes
6348 fi;
6349
6350   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6351
6352
6353
6354    # Check whether --enable-c99 or --disable-c99 was given.
6355 if test "${enable_c99+set}" = set; then
6356   enableval="$enable_c99"
6357
6358       case "$enableval" in
6359        yes|no) ;;
6360        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6361 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6362    { (exit 1); exit 1; }; } ;;
6363       esac
6364
6365 else
6366   enable_c99=yes
6367 fi;
6368
6369
6370
6371
6372   ac_ext=cc
6373 ac_cpp='$CXXCPP $CPPFLAGS'
6374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6377
6378
6379   # Check for the existence of <math.h> functions used if C99 is enabled.
6380   ac_c99_math=yes;
6381   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6382 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6383   cat >conftest.$ac_ext <<_ACEOF
6384 /* confdefs.h.  */
6385 _ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h.  */
6389 #include <math.h>
6390 int
6391 main ()
6392 {
6393 fpclassify(0.0);
6394   ;
6395   return 0;
6396 }
6397 _ACEOF
6398 rm -f conftest.$ac_objext
6399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6400   (eval $ac_compile) 2>conftest.er1
6401   ac_status=$?
6402   grep -v '^ *+' conftest.er1 >conftest.err
6403   rm -f conftest.er1
6404   cat conftest.err >&5
6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406   (exit $ac_status); } &&
6407          { ac_try='test -z "$ac_cxx_werror_flag"
6408                          || test ! -s conftest.err'
6409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410   (eval $ac_try) 2>&5
6411   ac_status=$?
6412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413   (exit $ac_status); }; } &&
6414          { ac_try='test -s conftest.$ac_objext'
6415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416   (eval $ac_try) 2>&5
6417   ac_status=$?
6418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419   (exit $ac_status); }; }; then
6420   :
6421 else
6422   echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.$ac_ext >&5
6424
6425 ac_c99_math=no
6426 fi
6427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6428   cat >conftest.$ac_ext <<_ACEOF
6429 /* confdefs.h.  */
6430 _ACEOF
6431 cat confdefs.h >>conftest.$ac_ext
6432 cat >>conftest.$ac_ext <<_ACEOF
6433 /* end confdefs.h.  */
6434 #include <math.h>
6435 int
6436 main ()
6437 {
6438 isfinite(0.0);
6439   ;
6440   return 0;
6441 }
6442 _ACEOF
6443 rm -f conftest.$ac_objext
6444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6445   (eval $ac_compile) 2>conftest.er1
6446   ac_status=$?
6447   grep -v '^ *+' conftest.er1 >conftest.err
6448   rm -f conftest.er1
6449   cat conftest.err >&5
6450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451   (exit $ac_status); } &&
6452          { ac_try='test -z "$ac_cxx_werror_flag"
6453                          || test ! -s conftest.err'
6454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455   (eval $ac_try) 2>&5
6456   ac_status=$?
6457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458   (exit $ac_status); }; } &&
6459          { ac_try='test -s conftest.$ac_objext'
6460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461   (eval $ac_try) 2>&5
6462   ac_status=$?
6463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464   (exit $ac_status); }; }; then
6465   :
6466 else
6467   echo "$as_me: failed program was:" >&5
6468 sed 's/^/| /' conftest.$ac_ext >&5
6469
6470 ac_c99_math=no
6471 fi
6472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6473   cat >conftest.$ac_ext <<_ACEOF
6474 /* confdefs.h.  */
6475 _ACEOF
6476 cat confdefs.h >>conftest.$ac_ext
6477 cat >>conftest.$ac_ext <<_ACEOF
6478 /* end confdefs.h.  */
6479 #include <math.h>
6480 int
6481 main ()
6482 {
6483 isinf(0.0);
6484   ;
6485   return 0;
6486 }
6487 _ACEOF
6488 rm -f conftest.$ac_objext
6489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6490   (eval $ac_compile) 2>conftest.er1
6491   ac_status=$?
6492   grep -v '^ *+' conftest.er1 >conftest.err
6493   rm -f conftest.er1
6494   cat conftest.err >&5
6495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496   (exit $ac_status); } &&
6497          { ac_try='test -z "$ac_cxx_werror_flag"
6498                          || test ! -s conftest.err'
6499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500   (eval $ac_try) 2>&5
6501   ac_status=$?
6502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503   (exit $ac_status); }; } &&
6504          { ac_try='test -s conftest.$ac_objext'
6505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506   (eval $ac_try) 2>&5
6507   ac_status=$?
6508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509   (exit $ac_status); }; }; then
6510   :
6511 else
6512   echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.$ac_ext >&5
6514
6515 ac_c99_math=no
6516 fi
6517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6518   cat >conftest.$ac_ext <<_ACEOF
6519 /* confdefs.h.  */
6520 _ACEOF
6521 cat confdefs.h >>conftest.$ac_ext
6522 cat >>conftest.$ac_ext <<_ACEOF
6523 /* end confdefs.h.  */
6524 #include <math.h>
6525 int
6526 main ()
6527 {
6528 isnan(0.0);
6529   ;
6530   return 0;
6531 }
6532 _ACEOF
6533 rm -f conftest.$ac_objext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535   (eval $ac_compile) 2>conftest.er1
6536   ac_status=$?
6537   grep -v '^ *+' conftest.er1 >conftest.err
6538   rm -f conftest.er1
6539   cat conftest.err >&5
6540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541   (exit $ac_status); } &&
6542          { ac_try='test -z "$ac_cxx_werror_flag"
6543                          || test ! -s conftest.err'
6544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545   (eval $ac_try) 2>&5
6546   ac_status=$?
6547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548   (exit $ac_status); }; } &&
6549          { ac_try='test -s conftest.$ac_objext'
6550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551   (eval $ac_try) 2>&5
6552   ac_status=$?
6553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554   (exit $ac_status); }; }; then
6555   :
6556 else
6557   echo "$as_me: failed program was:" >&5
6558 sed 's/^/| /' conftest.$ac_ext >&5
6559
6560 ac_c99_math=no
6561 fi
6562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6563   cat >conftest.$ac_ext <<_ACEOF
6564 /* confdefs.h.  */
6565 _ACEOF
6566 cat confdefs.h >>conftest.$ac_ext
6567 cat >>conftest.$ac_ext <<_ACEOF
6568 /* end confdefs.h.  */
6569 #include <math.h>
6570 int
6571 main ()
6572 {
6573 isnormal(0.0);
6574   ;
6575   return 0;
6576 }
6577 _ACEOF
6578 rm -f conftest.$ac_objext
6579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6580   (eval $ac_compile) 2>conftest.er1
6581   ac_status=$?
6582   grep -v '^ *+' conftest.er1 >conftest.err
6583   rm -f conftest.er1
6584   cat conftest.err >&5
6585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586   (exit $ac_status); } &&
6587          { ac_try='test -z "$ac_cxx_werror_flag"
6588                          || test ! -s conftest.err'
6589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6590   (eval $ac_try) 2>&5
6591   ac_status=$?
6592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593   (exit $ac_status); }; } &&
6594          { ac_try='test -s conftest.$ac_objext'
6595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6596   (eval $ac_try) 2>&5
6597   ac_status=$?
6598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599   (exit $ac_status); }; }; then
6600   :
6601 else
6602   echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6604
6605 ac_c99_math=no
6606 fi
6607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6608   cat >conftest.$ac_ext <<_ACEOF
6609 /* confdefs.h.  */
6610 _ACEOF
6611 cat confdefs.h >>conftest.$ac_ext
6612 cat >>conftest.$ac_ext <<_ACEOF
6613 /* end confdefs.h.  */
6614 #include <math.h>
6615 int
6616 main ()
6617 {
6618 signbit(0.0);
6619   ;
6620   return 0;
6621 }
6622 _ACEOF
6623 rm -f conftest.$ac_objext
6624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6625   (eval $ac_compile) 2>conftest.er1
6626   ac_status=$?
6627   grep -v '^ *+' conftest.er1 >conftest.err
6628   rm -f conftest.er1
6629   cat conftest.err >&5
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); } &&
6632          { ac_try='test -z "$ac_cxx_werror_flag"
6633                          || test ! -s conftest.err'
6634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6635   (eval $ac_try) 2>&5
6636   ac_status=$?
6637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638   (exit $ac_status); }; } &&
6639          { ac_try='test -s conftest.$ac_objext'
6640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641   (eval $ac_try) 2>&5
6642   ac_status=$?
6643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644   (exit $ac_status); }; }; then
6645   :
6646 else
6647   echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.$ac_ext >&5
6649
6650 ac_c99_math=no
6651 fi
6652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6653   cat >conftest.$ac_ext <<_ACEOF
6654 /* confdefs.h.  */
6655 _ACEOF
6656 cat confdefs.h >>conftest.$ac_ext
6657 cat >>conftest.$ac_ext <<_ACEOF
6658 /* end confdefs.h.  */
6659 #include <math.h>
6660 int
6661 main ()
6662 {
6663 isgreater(0.0,0.0);
6664   ;
6665   return 0;
6666 }
6667 _ACEOF
6668 rm -f conftest.$ac_objext
6669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6670   (eval $ac_compile) 2>conftest.er1
6671   ac_status=$?
6672   grep -v '^ *+' conftest.er1 >conftest.err
6673   rm -f conftest.er1
6674   cat conftest.err >&5
6675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676   (exit $ac_status); } &&
6677          { ac_try='test -z "$ac_cxx_werror_flag"
6678                          || test ! -s conftest.err'
6679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680   (eval $ac_try) 2>&5
6681   ac_status=$?
6682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683   (exit $ac_status); }; } &&
6684          { ac_try='test -s conftest.$ac_objext'
6685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686   (eval $ac_try) 2>&5
6687   ac_status=$?
6688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689   (exit $ac_status); }; }; then
6690   :
6691 else
6692   echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6694
6695 ac_c99_math=no
6696 fi
6697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6698   cat >conftest.$ac_ext <<_ACEOF
6699 /* confdefs.h.  */
6700 _ACEOF
6701 cat confdefs.h >>conftest.$ac_ext
6702 cat >>conftest.$ac_ext <<_ACEOF
6703 /* end confdefs.h.  */
6704 #include <math.h>
6705 int
6706 main ()
6707 {
6708 isgreaterequal(0.0,0.0);
6709   ;
6710   return 0;
6711 }
6712 _ACEOF
6713 rm -f conftest.$ac_objext
6714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6715   (eval $ac_compile) 2>conftest.er1
6716   ac_status=$?
6717   grep -v '^ *+' conftest.er1 >conftest.err
6718   rm -f conftest.er1
6719   cat conftest.err >&5
6720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721   (exit $ac_status); } &&
6722          { ac_try='test -z "$ac_cxx_werror_flag"
6723                          || test ! -s conftest.err'
6724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6725   (eval $ac_try) 2>&5
6726   ac_status=$?
6727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728   (exit $ac_status); }; } &&
6729          { ac_try='test -s conftest.$ac_objext'
6730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731   (eval $ac_try) 2>&5
6732   ac_status=$?
6733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734   (exit $ac_status); }; }; then
6735   :
6736 else
6737   echo "$as_me: failed program was:" >&5
6738 sed 's/^/| /' conftest.$ac_ext >&5
6739
6740 ac_c99_math=no
6741 fi
6742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6743   cat >conftest.$ac_ext <<_ACEOF
6744 /* confdefs.h.  */
6745 _ACEOF
6746 cat confdefs.h >>conftest.$ac_ext
6747 cat >>conftest.$ac_ext <<_ACEOF
6748 /* end confdefs.h.  */
6749 #include <math.h>
6750 int
6751 main ()
6752 {
6753 isless(0.0,0.0);
6754   ;
6755   return 0;
6756 }
6757 _ACEOF
6758 rm -f conftest.$ac_objext
6759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6760   (eval $ac_compile) 2>conftest.er1
6761   ac_status=$?
6762   grep -v '^ *+' conftest.er1 >conftest.err
6763   rm -f conftest.er1
6764   cat conftest.err >&5
6765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766   (exit $ac_status); } &&
6767          { ac_try='test -z "$ac_cxx_werror_flag"
6768                          || test ! -s conftest.err'
6769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6770   (eval $ac_try) 2>&5
6771   ac_status=$?
6772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773   (exit $ac_status); }; } &&
6774          { ac_try='test -s conftest.$ac_objext'
6775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776   (eval $ac_try) 2>&5
6777   ac_status=$?
6778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779   (exit $ac_status); }; }; then
6780   :
6781 else
6782   echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6784
6785 ac_c99_math=no
6786 fi
6787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6788   cat >conftest.$ac_ext <<_ACEOF
6789 /* confdefs.h.  */
6790 _ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h.  */
6794 #include <math.h>
6795 int
6796 main ()
6797 {
6798 islessequal(0.0,0.0);
6799   ;
6800   return 0;
6801 }
6802 _ACEOF
6803 rm -f conftest.$ac_objext
6804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6805   (eval $ac_compile) 2>conftest.er1
6806   ac_status=$?
6807   grep -v '^ *+' conftest.er1 >conftest.err
6808   rm -f conftest.er1
6809   cat conftest.err >&5
6810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811   (exit $ac_status); } &&
6812          { ac_try='test -z "$ac_cxx_werror_flag"
6813                          || test ! -s conftest.err'
6814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6815   (eval $ac_try) 2>&5
6816   ac_status=$?
6817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818   (exit $ac_status); }; } &&
6819          { ac_try='test -s conftest.$ac_objext'
6820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821   (eval $ac_try) 2>&5
6822   ac_status=$?
6823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824   (exit $ac_status); }; }; then
6825   :
6826 else
6827   echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6829
6830 ac_c99_math=no
6831 fi
6832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6833   cat >conftest.$ac_ext <<_ACEOF
6834 /* confdefs.h.  */
6835 _ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h.  */
6839 #include <math.h>
6840 int
6841 main ()
6842 {
6843 islessgreater(0.0,0.0);
6844   ;
6845   return 0;
6846 }
6847 _ACEOF
6848 rm -f conftest.$ac_objext
6849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6850   (eval $ac_compile) 2>conftest.er1
6851   ac_status=$?
6852   grep -v '^ *+' conftest.er1 >conftest.err
6853   rm -f conftest.er1
6854   cat conftest.err >&5
6855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856   (exit $ac_status); } &&
6857          { ac_try='test -z "$ac_cxx_werror_flag"
6858                          || test ! -s conftest.err'
6859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6860   (eval $ac_try) 2>&5
6861   ac_status=$?
6862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863   (exit $ac_status); }; } &&
6864          { ac_try='test -s conftest.$ac_objext'
6865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6866   (eval $ac_try) 2>&5
6867   ac_status=$?
6868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869   (exit $ac_status); }; }; then
6870   :
6871 else
6872   echo "$as_me: failed program was:" >&5
6873 sed 's/^/| /' conftest.$ac_ext >&5
6874
6875 ac_c99_math=no
6876 fi
6877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6878   cat >conftest.$ac_ext <<_ACEOF
6879 /* confdefs.h.  */
6880 _ACEOF
6881 cat confdefs.h >>conftest.$ac_ext
6882 cat >>conftest.$ac_ext <<_ACEOF
6883 /* end confdefs.h.  */
6884 #include <math.h>
6885 int
6886 main ()
6887 {
6888 isunordered(0.0,0.0);
6889   ;
6890   return 0;
6891 }
6892 _ACEOF
6893 rm -f conftest.$ac_objext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6895   (eval $ac_compile) 2>conftest.er1
6896   ac_status=$?
6897   grep -v '^ *+' conftest.er1 >conftest.err
6898   rm -f conftest.er1
6899   cat conftest.err >&5
6900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901   (exit $ac_status); } &&
6902          { ac_try='test -z "$ac_cxx_werror_flag"
6903                          || test ! -s conftest.err'
6904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905   (eval $ac_try) 2>&5
6906   ac_status=$?
6907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908   (exit $ac_status); }; } &&
6909          { ac_try='test -s conftest.$ac_objext'
6910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911   (eval $ac_try) 2>&5
6912   ac_status=$?
6913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914   (exit $ac_status); }; }; then
6915   :
6916 else
6917   echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.$ac_ext >&5
6919
6920 ac_c99_math=no
6921 fi
6922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6923   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6924 echo "${ECHO_T}$ac_c99_math" >&6
6925
6926   if test x"$ac_c99_math" = x"yes"; then
6927     cat >>confdefs.h <<\_ACEOF
6928 #define _GLIBCXX_USE_C99_MATH 1
6929 _ACEOF
6930
6931   fi
6932
6933   # Check for the existence in <stdio.h> of vscanf, et. al.
6934   ac_c99_stdio=yes;
6935   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6936 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6937   cat >conftest.$ac_ext <<_ACEOF
6938 /* confdefs.h.  */
6939 _ACEOF
6940 cat confdefs.h >>conftest.$ac_ext
6941 cat >>conftest.$ac_ext <<_ACEOF
6942 /* end confdefs.h.  */
6943 #include <stdio.h>
6944 int
6945 main ()
6946 {
6947 snprintf("12", 0, "%i");
6948   ;
6949   return 0;
6950 }
6951 _ACEOF
6952 rm -f conftest.$ac_objext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6954   (eval $ac_compile) 2>conftest.er1
6955   ac_status=$?
6956   grep -v '^ *+' conftest.er1 >conftest.err
6957   rm -f conftest.er1
6958   cat conftest.err >&5
6959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960   (exit $ac_status); } &&
6961          { ac_try='test -z "$ac_cxx_werror_flag"
6962                          || test ! -s conftest.err'
6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964   (eval $ac_try) 2>&5
6965   ac_status=$?
6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967   (exit $ac_status); }; } &&
6968          { ac_try='test -s conftest.$ac_objext'
6969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970   (eval $ac_try) 2>&5
6971   ac_status=$?
6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973   (exit $ac_status); }; }; then
6974   :
6975 else
6976   echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6978
6979 ac_c99_stdio=no
6980 fi
6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6982   cat >conftest.$ac_ext <<_ACEOF
6983 /* confdefs.h.  */
6984 _ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h.  */
6988 #include <stdio.h>
6989                   #include <stdarg.h>
6990                   void foo(char* fmt, ...)
6991                   {va_list args; va_start(args, fmt);
6992                   vfscanf(stderr, "%i", args);}
6993 int
6994 main ()
6995 {
6996
6997   ;
6998   return 0;
6999 }
7000 _ACEOF
7001 rm -f conftest.$ac_objext
7002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7003   (eval $ac_compile) 2>conftest.er1
7004   ac_status=$?
7005   grep -v '^ *+' conftest.er1 >conftest.err
7006   rm -f conftest.er1
7007   cat conftest.err >&5
7008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009   (exit $ac_status); } &&
7010          { ac_try='test -z "$ac_cxx_werror_flag"
7011                          || test ! -s conftest.err'
7012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7013   (eval $ac_try) 2>&5
7014   ac_status=$?
7015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016   (exit $ac_status); }; } &&
7017          { ac_try='test -s conftest.$ac_objext'
7018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7019   (eval $ac_try) 2>&5
7020   ac_status=$?
7021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022   (exit $ac_status); }; }; then
7023   :
7024 else
7025   echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.$ac_ext >&5
7027
7028 ac_c99_stdio=no
7029 fi
7030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7031   cat >conftest.$ac_ext <<_ACEOF
7032 /* confdefs.h.  */
7033 _ACEOF
7034 cat confdefs.h >>conftest.$ac_ext
7035 cat >>conftest.$ac_ext <<_ACEOF
7036 /* end confdefs.h.  */
7037 #include <stdio.h>
7038                   #include <stdarg.h>
7039                   void foo(char* fmt, ...)
7040                   {va_list args; va_start(args, fmt);
7041                   vscanf("%i", args);}
7042 int
7043 main ()
7044 {
7045
7046   ;
7047   return 0;
7048 }
7049 _ACEOF
7050 rm -f conftest.$ac_objext
7051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7052   (eval $ac_compile) 2>conftest.er1
7053   ac_status=$?
7054   grep -v '^ *+' conftest.er1 >conftest.err
7055   rm -f conftest.er1
7056   cat conftest.err >&5
7057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058   (exit $ac_status); } &&
7059          { ac_try='test -z "$ac_cxx_werror_flag"
7060                          || test ! -s conftest.err'
7061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062   (eval $ac_try) 2>&5
7063   ac_status=$?
7064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065   (exit $ac_status); }; } &&
7066          { ac_try='test -s conftest.$ac_objext'
7067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068   (eval $ac_try) 2>&5
7069   ac_status=$?
7070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071   (exit $ac_status); }; }; then
7072   :
7073 else
7074   echo "$as_me: failed program was:" >&5
7075 sed 's/^/| /' conftest.$ac_ext >&5
7076
7077 ac_c99_stdio=no
7078 fi
7079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7080   cat >conftest.$ac_ext <<_ACEOF
7081 /* confdefs.h.  */
7082 _ACEOF
7083 cat confdefs.h >>conftest.$ac_ext
7084 cat >>conftest.$ac_ext <<_ACEOF
7085 /* end confdefs.h.  */
7086 #include <stdio.h>
7087                   #include <stdarg.h>
7088                   void foo(char* fmt, ...)
7089                   {va_list args; va_start(args, fmt);
7090                   vsnprintf(fmt, 0, "%i", args);}
7091 int
7092 main ()
7093 {
7094
7095   ;
7096   return 0;
7097 }
7098 _ACEOF
7099 rm -f conftest.$ac_objext
7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7101   (eval $ac_compile) 2>conftest.er1
7102   ac_status=$?
7103   grep -v '^ *+' conftest.er1 >conftest.err
7104   rm -f conftest.er1
7105   cat conftest.err >&5
7106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107   (exit $ac_status); } &&
7108          { ac_try='test -z "$ac_cxx_werror_flag"
7109                          || test ! -s conftest.err'
7110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111   (eval $ac_try) 2>&5
7112   ac_status=$?
7113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114   (exit $ac_status); }; } &&
7115          { ac_try='test -s conftest.$ac_objext'
7116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117   (eval $ac_try) 2>&5
7118   ac_status=$?
7119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120   (exit $ac_status); }; }; then
7121   :
7122 else
7123   echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7125
7126 ac_c99_stdio=no
7127 fi
7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7129   cat >conftest.$ac_ext <<_ACEOF
7130 /* confdefs.h.  */
7131 _ACEOF
7132 cat confdefs.h >>conftest.$ac_ext
7133 cat >>conftest.$ac_ext <<_ACEOF
7134 /* end confdefs.h.  */
7135 #include <stdio.h>
7136                   #include <stdarg.h>
7137                   void foo(char* fmt, ...)
7138                   {va_list args; va_start(args, fmt);
7139                   vsscanf(fmt, "%i", args);}
7140 int
7141 main ()
7142 {
7143
7144   ;
7145   return 0;
7146 }
7147 _ACEOF
7148 rm -f conftest.$ac_objext
7149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7150   (eval $ac_compile) 2>conftest.er1
7151   ac_status=$?
7152   grep -v '^ *+' conftest.er1 >conftest.err
7153   rm -f conftest.er1
7154   cat conftest.err >&5
7155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156   (exit $ac_status); } &&
7157          { ac_try='test -z "$ac_cxx_werror_flag"
7158                          || test ! -s conftest.err'
7159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160   (eval $ac_try) 2>&5
7161   ac_status=$?
7162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163   (exit $ac_status); }; } &&
7164          { ac_try='test -s conftest.$ac_objext'
7165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166   (eval $ac_try) 2>&5
7167   ac_status=$?
7168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169   (exit $ac_status); }; }; then
7170   :
7171 else
7172   echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7174
7175 ac_c99_stdio=no
7176 fi
7177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7178   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7179 echo "${ECHO_T}$ac_c99_stdio" >&6
7180
7181   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7182   ac_c99_stdlib=yes;
7183   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7184 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7185   if test "${ac_c99_lldiv_t+set}" = set; then
7186   echo $ECHO_N "(cached) $ECHO_C" >&6
7187 else
7188
7189   cat >conftest.$ac_ext <<_ACEOF
7190 /* confdefs.h.  */
7191 _ACEOF
7192 cat confdefs.h >>conftest.$ac_ext
7193 cat >>conftest.$ac_ext <<_ACEOF
7194 /* end confdefs.h.  */
7195 #include <stdlib.h>
7196 int
7197 main ()
7198 {
7199  lldiv_t mydivt;
7200   ;
7201   return 0;
7202 }
7203 _ACEOF
7204 rm -f conftest.$ac_objext
7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206   (eval $ac_compile) 2>conftest.er1
7207   ac_status=$?
7208   grep -v '^ *+' conftest.er1 >conftest.err
7209   rm -f conftest.er1
7210   cat conftest.err >&5
7211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212   (exit $ac_status); } &&
7213          { ac_try='test -z "$ac_cxx_werror_flag"
7214                          || test ! -s conftest.err'
7215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7216   (eval $ac_try) 2>&5
7217   ac_status=$?
7218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219   (exit $ac_status); }; } &&
7220          { ac_try='test -s conftest.$ac_objext'
7221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7222   (eval $ac_try) 2>&5
7223   ac_status=$?
7224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225   (exit $ac_status); }; }; then
7226   ac_c99_lldiv_t=yes
7227 else
7228   echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.$ac_ext >&5
7230
7231 ac_c99_lldiv_t=no
7232 fi
7233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7234
7235 fi
7236
7237   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7238 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7239
7240   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7241 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7242   cat >conftest.$ac_ext <<_ACEOF
7243 /* confdefs.h.  */
7244 _ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h.  */
7248 #include <stdlib.h>
7249 int
7250 main ()
7251 {
7252 char* tmp; strtof("gnu", &tmp);
7253   ;
7254   return 0;
7255 }
7256 _ACEOF
7257 rm -f conftest.$ac_objext
7258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7259   (eval $ac_compile) 2>conftest.er1
7260   ac_status=$?
7261   grep -v '^ *+' conftest.er1 >conftest.err
7262   rm -f conftest.er1
7263   cat conftest.err >&5
7264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265   (exit $ac_status); } &&
7266          { ac_try='test -z "$ac_cxx_werror_flag"
7267                          || test ! -s conftest.err'
7268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7269   (eval $ac_try) 2>&5
7270   ac_status=$?
7271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272   (exit $ac_status); }; } &&
7273          { ac_try='test -s conftest.$ac_objext'
7274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7275   (eval $ac_try) 2>&5
7276   ac_status=$?
7277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278   (exit $ac_status); }; }; then
7279   :
7280 else
7281   echo "$as_me: failed program was:" >&5
7282 sed 's/^/| /' conftest.$ac_ext >&5
7283
7284 ac_c99_stdlib=no
7285 fi
7286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7287   cat >conftest.$ac_ext <<_ACEOF
7288 /* confdefs.h.  */
7289 _ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h.  */
7293 #include <stdlib.h>
7294 int
7295 main ()
7296 {
7297 char* tmp; strtold("gnu", &tmp);
7298   ;
7299   return 0;
7300 }
7301 _ACEOF
7302 rm -f conftest.$ac_objext
7303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7304   (eval $ac_compile) 2>conftest.er1
7305   ac_status=$?
7306   grep -v '^ *+' conftest.er1 >conftest.err
7307   rm -f conftest.er1
7308   cat conftest.err >&5
7309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310   (exit $ac_status); } &&
7311          { ac_try='test -z "$ac_cxx_werror_flag"
7312                          || test ! -s conftest.err'
7313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7314   (eval $ac_try) 2>&5
7315   ac_status=$?
7316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317   (exit $ac_status); }; } &&
7318          { ac_try='test -s conftest.$ac_objext'
7319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320   (eval $ac_try) 2>&5
7321   ac_status=$?
7322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323   (exit $ac_status); }; }; then
7324   :
7325 else
7326   echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.$ac_ext >&5
7328
7329 ac_c99_stdlib=no
7330 fi
7331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7332   cat >conftest.$ac_ext <<_ACEOF
7333 /* confdefs.h.  */
7334 _ACEOF
7335 cat confdefs.h >>conftest.$ac_ext
7336 cat >>conftest.$ac_ext <<_ACEOF
7337 /* end confdefs.h.  */
7338 #include <stdlib.h>
7339 int
7340 main ()
7341 {
7342 llabs(10);
7343   ;
7344   return 0;
7345 }
7346 _ACEOF
7347 rm -f conftest.$ac_objext
7348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7349   (eval $ac_compile) 2>conftest.er1
7350   ac_status=$?
7351   grep -v '^ *+' conftest.er1 >conftest.err
7352   rm -f conftest.er1
7353   cat conftest.err >&5
7354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355   (exit $ac_status); } &&
7356          { ac_try='test -z "$ac_cxx_werror_flag"
7357                          || test ! -s conftest.err'
7358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359   (eval $ac_try) 2>&5
7360   ac_status=$?
7361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362   (exit $ac_status); }; } &&
7363          { ac_try='test -s conftest.$ac_objext'
7364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7365   (eval $ac_try) 2>&5
7366   ac_status=$?
7367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368   (exit $ac_status); }; }; then
7369   :
7370 else
7371   echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.$ac_ext >&5
7373
7374 ac_c99_stdlib=no
7375 fi
7376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7377   cat >conftest.$ac_ext <<_ACEOF
7378 /* confdefs.h.  */
7379 _ACEOF
7380 cat confdefs.h >>conftest.$ac_ext
7381 cat >>conftest.$ac_ext <<_ACEOF
7382 /* end confdefs.h.  */
7383 #include <stdlib.h>
7384 int
7385 main ()
7386 {
7387 lldiv(10,1);
7388   ;
7389   return 0;
7390 }
7391 _ACEOF
7392 rm -f conftest.$ac_objext
7393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7394   (eval $ac_compile) 2>conftest.er1
7395   ac_status=$?
7396   grep -v '^ *+' conftest.er1 >conftest.err
7397   rm -f conftest.er1
7398   cat conftest.err >&5
7399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400   (exit $ac_status); } &&
7401          { ac_try='test -z "$ac_cxx_werror_flag"
7402                          || test ! -s conftest.err'
7403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7404   (eval $ac_try) 2>&5
7405   ac_status=$?
7406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407   (exit $ac_status); }; } &&
7408          { ac_try='test -s conftest.$ac_objext'
7409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410   (eval $ac_try) 2>&5
7411   ac_status=$?
7412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413   (exit $ac_status); }; }; then
7414   :
7415 else
7416   echo "$as_me: failed program was:" >&5
7417 sed 's/^/| /' conftest.$ac_ext >&5
7418
7419 ac_c99_stdlib=no
7420 fi
7421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7422   cat >conftest.$ac_ext <<_ACEOF
7423 /* confdefs.h.  */
7424 _ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h.  */
7428 #include <stdlib.h>
7429 int
7430 main ()
7431 {
7432 atoll("10");
7433   ;
7434   return 0;
7435 }
7436 _ACEOF
7437 rm -f conftest.$ac_objext
7438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7439   (eval $ac_compile) 2>conftest.er1
7440   ac_status=$?
7441   grep -v '^ *+' conftest.er1 >conftest.err
7442   rm -f conftest.er1
7443   cat conftest.err >&5
7444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445   (exit $ac_status); } &&
7446          { ac_try='test -z "$ac_cxx_werror_flag"
7447                          || test ! -s conftest.err'
7448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449   (eval $ac_try) 2>&5
7450   ac_status=$?
7451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452   (exit $ac_status); }; } &&
7453          { ac_try='test -s conftest.$ac_objext'
7454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455   (eval $ac_try) 2>&5
7456   ac_status=$?
7457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458   (exit $ac_status); }; }; then
7459   :
7460 else
7461   echo "$as_me: failed program was:" >&5
7462 sed 's/^/| /' conftest.$ac_ext >&5
7463
7464 ac_c99_stdlib=no
7465 fi
7466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7467   cat >conftest.$ac_ext <<_ACEOF
7468 /* confdefs.h.  */
7469 _ACEOF
7470 cat confdefs.h >>conftest.$ac_ext
7471 cat >>conftest.$ac_ext <<_ACEOF
7472 /* end confdefs.h.  */
7473 #include <stdlib.h>
7474 int
7475 main ()
7476 {
7477 _Exit(0);
7478   ;
7479   return 0;
7480 }
7481 _ACEOF
7482 rm -f conftest.$ac_objext
7483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7484   (eval $ac_compile) 2>conftest.er1
7485   ac_status=$?
7486   grep -v '^ *+' conftest.er1 >conftest.err
7487   rm -f conftest.er1
7488   cat conftest.err >&5
7489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490   (exit $ac_status); } &&
7491          { ac_try='test -z "$ac_cxx_werror_flag"
7492                          || test ! -s conftest.err'
7493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7494   (eval $ac_try) 2>&5
7495   ac_status=$?
7496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497   (exit $ac_status); }; } &&
7498          { ac_try='test -s conftest.$ac_objext'
7499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7500   (eval $ac_try) 2>&5
7501   ac_status=$?
7502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7503   (exit $ac_status); }; }; then
7504   :
7505 else
7506   echo "$as_me: failed program was:" >&5
7507 sed 's/^/| /' conftest.$ac_ext >&5
7508
7509 ac_c99_stdlib=no
7510 fi
7511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7512   if test x"$ac_c99_lldiv_t" = x"no"; then
7513     ac_c99_stdlib=no;
7514   fi;
7515   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7516 echo "${ECHO_T}$ac_c99_stdlib" >&6
7517
7518   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7519   # XXX the wchar.h checks should be rolled into the general C99 bits.
7520   ac_c99_wchar=yes;
7521   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7522 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7523   cat >conftest.$ac_ext <<_ACEOF
7524 /* confdefs.h.  */
7525 _ACEOF
7526 cat confdefs.h >>conftest.$ac_ext
7527 cat >>conftest.$ac_ext <<_ACEOF
7528 /* end confdefs.h.  */
7529 #include <wchar.h>
7530 int
7531 main ()
7532 {
7533 wcstold(L"10.0", NULL);
7534   ;
7535   return 0;
7536 }
7537 _ACEOF
7538 rm -f conftest.$ac_objext
7539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7540   (eval $ac_compile) 2>conftest.er1
7541   ac_status=$?
7542   grep -v '^ *+' conftest.er1 >conftest.err
7543   rm -f conftest.er1
7544   cat conftest.err >&5
7545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546   (exit $ac_status); } &&
7547          { ac_try='test -z "$ac_cxx_werror_flag"
7548                          || test ! -s conftest.err'
7549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7550   (eval $ac_try) 2>&5
7551   ac_status=$?
7552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553   (exit $ac_status); }; } &&
7554          { ac_try='test -s conftest.$ac_objext'
7555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556   (eval $ac_try) 2>&5
7557   ac_status=$?
7558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559   (exit $ac_status); }; }; then
7560   :
7561 else
7562   echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.$ac_ext >&5
7564
7565 ac_c99_wchar=no
7566 fi
7567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7568   cat >conftest.$ac_ext <<_ACEOF
7569 /* confdefs.h.  */
7570 _ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h.  */
7574 #include <wchar.h>
7575 int
7576 main ()
7577 {
7578 wcstoll(L"10", NULL, 10);
7579   ;
7580   return 0;
7581 }
7582 _ACEOF
7583 rm -f conftest.$ac_objext
7584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7585   (eval $ac_compile) 2>conftest.er1
7586   ac_status=$?
7587   grep -v '^ *+' conftest.er1 >conftest.err
7588   rm -f conftest.er1
7589   cat conftest.err >&5
7590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591   (exit $ac_status); } &&
7592          { ac_try='test -z "$ac_cxx_werror_flag"
7593                          || test ! -s conftest.err'
7594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595   (eval $ac_try) 2>&5
7596   ac_status=$?
7597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598   (exit $ac_status); }; } &&
7599          { ac_try='test -s conftest.$ac_objext'
7600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7601   (eval $ac_try) 2>&5
7602   ac_status=$?
7603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604   (exit $ac_status); }; }; then
7605   :
7606 else
7607   echo "$as_me: failed program was:" >&5
7608 sed 's/^/| /' conftest.$ac_ext >&5
7609
7610 ac_c99_wchar=no
7611 fi
7612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7613   cat >conftest.$ac_ext <<_ACEOF
7614 /* confdefs.h.  */
7615 _ACEOF
7616 cat confdefs.h >>conftest.$ac_ext
7617 cat >>conftest.$ac_ext <<_ACEOF
7618 /* end confdefs.h.  */
7619 #include <wchar.h>
7620 int
7621 main ()
7622 {
7623 wcstoull(L"10", NULL, 10);
7624   ;
7625   return 0;
7626 }
7627 _ACEOF
7628 rm -f conftest.$ac_objext
7629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7630   (eval $ac_compile) 2>conftest.er1
7631   ac_status=$?
7632   grep -v '^ *+' conftest.er1 >conftest.err
7633   rm -f conftest.er1
7634   cat conftest.err >&5
7635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636   (exit $ac_status); } &&
7637          { ac_try='test -z "$ac_cxx_werror_flag"
7638                          || test ! -s conftest.err'
7639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640   (eval $ac_try) 2>&5
7641   ac_status=$?
7642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643   (exit $ac_status); }; } &&
7644          { ac_try='test -s conftest.$ac_objext'
7645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646   (eval $ac_try) 2>&5
7647   ac_status=$?
7648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649   (exit $ac_status); }; }; then
7650   :
7651 else
7652   echo "$as_me: failed program was:" >&5
7653 sed 's/^/| /' conftest.$ac_ext >&5
7654
7655 ac_c99_wchar=no
7656 fi
7657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7658   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7659 echo "${ECHO_T}$ac_c99_wchar" >&6
7660
7661   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7662 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7663   if test x"$ac_c99_math" = x"no" ||
7664      test x"$ac_c99_stdio" = x"no" ||
7665      test x"$ac_c99_stdlib" = x"no" ||
7666      test x"$ac_c99_wchar" = x"no"; then
7667     enable_c99=no;
7668   fi;
7669   echo "$as_me:$LINENO: result: $enable_c99" >&5
7670 echo "${ECHO_T}$enable_c99" >&6
7671
7672   if test x"$ac_99_math" = x"yes"; then
7673     cat >>confdefs.h <<\_ACEOF
7674 #define _GLIBCXX_USE_C99_MATH 1
7675 _ACEOF
7676
7677   fi
7678
7679   # Option parsed, now set things appropriately
7680   if test x"$enable_c99" = x"yes"; then
7681     cat >>confdefs.h <<\_ACEOF
7682 #define _GLIBCXX_USE_C99 1
7683 _ACEOF
7684
7685   fi
7686
7687   ac_ext=c
7688 ac_cpp='$CPP $CPPFLAGS'
7689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7692
7693
7694
7695    # Check whether --enable-long-long or --disable-long-long was given.
7696 if test "${enable_long_long+set}" = set; then
7697   enableval="$enable_long_long"
7698
7699       case "$enableval" in
7700        yes|no) ;;
7701        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7702 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7703    { (exit 1); exit 1; }; } ;;
7704       esac
7705
7706 else
7707   enable_long_long=yes
7708 fi;
7709
7710   if test $enable_long_long = yes; then
7711     cat >>confdefs.h <<\_ACEOF
7712 #define _GLIBCXX_USE_LONG_LONG 1
7713 _ACEOF
7714
7715   fi
7716
7717
7718   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7719 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7720   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7721   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7722 echo "${ECHO_T}$target_thread_file" >&6
7723
7724   if test $target_thread_file != single; then
7725     cat >>confdefs.h <<\_ACEOF
7726 #define HAVE_GTHR_DEFAULT 1
7727 _ACEOF
7728
7729   fi
7730
7731   glibcxx_thread_h=gthr-$target_thread_file.h
7732
7733
7734
7735    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7736 if test "${enable_concept_checks+set}" = set; then
7737   enableval="$enable_concept_checks"
7738
7739       case "$enableval" in
7740        yes|no) ;;
7741        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7742 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7743    { (exit 1); exit 1; }; } ;;
7744       esac
7745
7746 else
7747   enable_concept_checks=no
7748 fi;
7749
7750   if test $enable_concept_checks = yes; then
7751     cat >>confdefs.h <<\_ACEOF
7752 #define _GLIBCXX_CONCEPT_CHECKS 1
7753 _ACEOF
7754
7755   fi
7756
7757
7758    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7759 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7760   enableval="$enable_libstdcxx_debug_flags"
7761   case "x$enable_libstdcxx_debug_flags" in
7762       xno | x)    enable_libstdcxx_debug_flags= ;;
7763       x-*)        ;;
7764       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7765 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7766    { (exit 1); exit 1; }; } ;;
7767      esac
7768 else
7769   enable_libstdcxx_debug_flags="-g3 -O0"
7770 fi;
7771
7772
7773   # Option parsed, now set things appropriately
7774   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7775
7776
7777   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7778 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7779
7780
7781   echo "$as_me:$LINENO: checking for additional debug build" >&5
7782 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7783    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7784 if test "${enable_libstdcxx_debug+set}" = set; then
7785   enableval="$enable_libstdcxx_debug"
7786
7787       case "$enableval" in
7788        yes|no) ;;
7789        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7790 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7791    { (exit 1); exit 1; }; } ;;
7792       esac
7793
7794 else
7795   enable_libstdcxx_debug=no
7796 fi;
7797
7798   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7799 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7800
7801
7802   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7803 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7804    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7805 if test "${enable_cxx_flags+set}" = set; then
7806   enableval="$enable_cxx_flags"
7807   case "x$enable_cxx_flags" in
7808       xno | x)   enable_cxx_flags= ;;
7809       x-*)       ;;
7810       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7811 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7812    { (exit 1); exit 1; }; } ;;
7813      esac
7814 else
7815   enable_cxx_flags=
7816 fi;
7817
7818
7819   # Run through flags (either default or command-line) and set anything
7820   # extra (e.g., #defines) that must accompany particular g++ options.
7821   if test -n "$enable_cxx_flags"; then
7822     for f in $enable_cxx_flags; do
7823       case "$f" in
7824         -fhonor-std)  ;;
7825         -*)  ;;
7826         *)   # and we're trying to pass /what/ exactly?
7827              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7828 echo "$as_me: error: compiler flags start with a -" >&2;}
7829    { (exit 1); exit 1; }; } ;;
7830       esac
7831     done
7832   fi
7833
7834   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7835   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7836 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7837
7838
7839
7840    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7841 if test "${enable_fully_dynamic_string+set}" = set; then
7842   enableval="$enable_fully_dynamic_string"
7843
7844       case "$enableval" in
7845        yes|no) ;;
7846        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7847 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7848    { (exit 1); exit 1; }; } ;;
7849       esac
7850
7851 else
7852   enable_fully_dynamic_string=no
7853 fi;
7854
7855   if test $enable_fully_dynamic_string = yes; then
7856     cat >>confdefs.h <<\_ACEOF
7857 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7858 _ACEOF
7859
7860   fi
7861
7862
7863 # No surprises, no surprises...
7864 if test $atomicity_dir = cpu/generic ; then
7865   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7866 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7867   if test $target_thread_file = single; then
7868     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7869 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7870     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7871 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7872   else
7873     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7874 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7875     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7876 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7877   fi
7878 fi
7879
7880
7881 if $GLIBCXX_IS_NATIVE; then
7882
7883   # We can do more elaborate tests that assume a working linker.
7884   CANADIAN=no
7885
7886   # Check for available headers.
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7901   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7902   sys/types.h
7903 do
7904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7906   echo "$as_me:$LINENO: checking for $ac_header" >&5
7907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7909   echo $ECHO_N "(cached) $ECHO_C" >&6
7910 fi
7911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7913 else
7914   # Is the header compilable?
7915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7917 cat >conftest.$ac_ext <<_ACEOF
7918 /* confdefs.h.  */
7919 _ACEOF
7920 cat confdefs.h >>conftest.$ac_ext
7921 cat >>conftest.$ac_ext <<_ACEOF
7922 /* end confdefs.h.  */
7923 $ac_includes_default
7924 #include <$ac_header>
7925 _ACEOF
7926 rm -f conftest.$ac_objext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7928   (eval $ac_compile) 2>conftest.er1
7929   ac_status=$?
7930   grep -v '^ *+' conftest.er1 >conftest.err
7931   rm -f conftest.er1
7932   cat conftest.err >&5
7933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934   (exit $ac_status); } &&
7935          { ac_try='test -z "$ac_c_werror_flag"
7936                          || test ! -s conftest.err'
7937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938   (eval $ac_try) 2>&5
7939   ac_status=$?
7940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941   (exit $ac_status); }; } &&
7942          { ac_try='test -s conftest.$ac_objext'
7943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944   (eval $ac_try) 2>&5
7945   ac_status=$?
7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947   (exit $ac_status); }; }; then
7948   ac_header_compiler=yes
7949 else
7950   echo "$as_me: failed program was:" >&5
7951 sed 's/^/| /' conftest.$ac_ext >&5
7952
7953 ac_header_compiler=no
7954 fi
7955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7957 echo "${ECHO_T}$ac_header_compiler" >&6
7958
7959 # Is the header present?
7960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7962 cat >conftest.$ac_ext <<_ACEOF
7963 /* confdefs.h.  */
7964 _ACEOF
7965 cat confdefs.h >>conftest.$ac_ext
7966 cat >>conftest.$ac_ext <<_ACEOF
7967 /* end confdefs.h.  */
7968 #include <$ac_header>
7969 _ACEOF
7970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7971   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7972   ac_status=$?
7973   grep -v '^ *+' conftest.er1 >conftest.err
7974   rm -f conftest.er1
7975   cat conftest.err >&5
7976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977   (exit $ac_status); } >/dev/null; then
7978   if test -s conftest.err; then
7979     ac_cpp_err=$ac_c_preproc_warn_flag
7980     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7981   else
7982     ac_cpp_err=
7983   fi
7984 else
7985   ac_cpp_err=yes
7986 fi
7987 if test -z "$ac_cpp_err"; then
7988   ac_header_preproc=yes
7989 else
7990   echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7992
7993   ac_header_preproc=no
7994 fi
7995 rm -f conftest.err conftest.$ac_ext
7996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7997 echo "${ECHO_T}$ac_header_preproc" >&6
7998
7999 # So?  What about this header?
8000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8001   yes:no: )
8002     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8004     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8006     ac_header_preproc=yes
8007     ;;
8008   no:yes:* )
8009     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8011     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8012 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8013     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8015     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8016 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8017     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8019     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8021     (
8022       cat <<\_ASBOX
8023 ## ----------------------------------------- ##
8024 ## Report this to the package-unused lists.  ##
8025 ## ----------------------------------------- ##
8026 _ASBOX
8027     ) |
8028       sed "s/^/$as_me: WARNING:     /" >&2
8029     ;;
8030 esac
8031 echo "$as_me:$LINENO: checking for $ac_header" >&5
8032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8034   echo $ECHO_N "(cached) $ECHO_C" >&6
8035 else
8036   eval "$as_ac_Header=\$ac_header_preproc"
8037 fi
8038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8040
8041 fi
8042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8043   cat >>confdefs.h <<_ACEOF
8044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8045 _ACEOF
8046
8047 fi
8048
8049 done
8050
8051
8052
8053   # All these tests are for C++; save the language and the compiler flags.
8054   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8055   # found in GLIBCXX_CONFIGURE.
8056
8057
8058   ac_ext=cc
8059 ac_cpp='$CXXCPP $CPPFLAGS'
8060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8063
8064   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8065   ac_save_CXXFLAGS="$CXXFLAGS"
8066
8067   # Check for maintainer-mode bits.
8068   if test x"$USE_MAINTAINER_MODE" = xno; then
8069     WERROR=''
8070   else
8071     WERROR='-Werror'
8072   fi
8073
8074   # Check for -ffunction-sections -fdata-sections
8075   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8076 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8077   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8078   cat >conftest.$ac_ext <<_ACEOF
8079 /* confdefs.h.  */
8080 _ACEOF
8081 cat confdefs.h >>conftest.$ac_ext
8082 cat >>conftest.$ac_ext <<_ACEOF
8083 /* end confdefs.h.  */
8084
8085 int
8086 main ()
8087 {
8088 int foo;
8089   ;
8090   return 0;
8091 }
8092 _ACEOF
8093 rm -f conftest.$ac_objext
8094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8095   (eval $ac_compile) 2>conftest.er1
8096   ac_status=$?
8097   grep -v '^ *+' conftest.er1 >conftest.err
8098   rm -f conftest.er1
8099   cat conftest.err >&5
8100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101   (exit $ac_status); } &&
8102          { ac_try='test -z "$ac_cxx_werror_flag"
8103                          || test ! -s conftest.err'
8104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8105   (eval $ac_try) 2>&5
8106   ac_status=$?
8107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108   (exit $ac_status); }; } &&
8109          { ac_try='test -s conftest.$ac_objext'
8110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111   (eval $ac_try) 2>&5
8112   ac_status=$?
8113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114   (exit $ac_status); }; }; then
8115   ac_fdsections=yes
8116 else
8117   echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.$ac_ext >&5
8119
8120 ac_fdsections=no
8121 fi
8122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8123   if test "$ac_test_CXXFLAGS" = set; then
8124     CXXFLAGS="$ac_save_CXXFLAGS"
8125   else
8126     # this is the suspicious part
8127     CXXFLAGS=''
8128   fi
8129   if test x"$ac_fdsections" = x"yes"; then
8130     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8131   fi
8132   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8133 echo "${ECHO_T}$ac_fdsections" >&6
8134
8135   ac_ext=c
8136 ac_cpp='$CPP $CPPFLAGS'
8137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8140
8141
8142
8143
8144
8145   # If we're not using GNU ld, then there's no point in even trying these
8146   # tests.  Check for that first.  We should have already tested for gld
8147   # by now (in libtool), but require it now just to be safe...
8148   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8149   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8150
8151
8152
8153   # The name set by libtool depends on the version of libtool.  Shame on us
8154   # for depending on an impl detail, but c'est la vie.  Older versions used
8155   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8156   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8157   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8158   # set (hence we're using an older libtool), then set it.
8159   if test x${with_gnu_ld+set} != xset; then
8160     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8161       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8162       with_gnu_ld=no
8163     else
8164       with_gnu_ld=$ac_cv_prog_gnu_ld
8165     fi
8166   fi
8167
8168   # Start by getting the version number.  I think the libtool test already
8169   # does some of this, but throws away the result.
8170
8171   ldver=`$LD --version 2>/dev/null | head -1 | \
8172          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8173
8174   glibcxx_gnu_ld_version=`echo $ldver | \
8175          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8176
8177   # Set --gc-sections.
8178   if test "$with_gnu_ld" = "notbroken"; then
8179     # GNU ld it is!  Joy and bunny rabbits!
8180
8181     # All these tests are for C++; save the language and the compiler flags.
8182     # Need to do this so that g++ won't try to link in libstdc++
8183     ac_test_CFLAGS="${CFLAGS+set}"
8184     ac_save_CFLAGS="$CFLAGS"
8185     CFLAGS='-x c++  -Wl,--gc-sections'
8186
8187     # Check for -Wl,--gc-sections
8188     # XXX This test is broken at the moment, as symbols required for linking
8189     # are now in libsupc++ (not built yet).  In addition, this test has
8190     # cored on solaris in the past.  In addition, --gc-sections doesn't
8191     # really work at the moment (keeps on discarding used sections, first
8192     # .eh_frame and now some of the glibc sections for iconv).
8193     # Bzzzzt.  Thanks for playing, maybe next time.
8194     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8195 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8196     if test "$cross_compiling" = yes; then
8197   ac_sectionLDflags=yes
8198 else
8199   cat >conftest.$ac_ext <<_ACEOF
8200 /* confdefs.h.  */
8201 _ACEOF
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h.  */
8205
8206      int main(void)
8207      {
8208        try { throw 1; }
8209        catch (...) { };
8210        return 0;
8211      }
8212
8213 _ACEOF
8214 rm -f conftest$ac_exeext
8215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8216   (eval $ac_link) 2>&5
8217   ac_status=$?
8218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8221   (eval $ac_try) 2>&5
8222   ac_status=$?
8223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224   (exit $ac_status); }; }; then
8225   ac_sectionLDflags=yes
8226 else
8227   echo "$as_me: program exited with status $ac_status" >&5
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8230
8231 ( exit $ac_status )
8232 ac_sectionLDflags=no
8233 fi
8234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8235 fi
8236     if test "$ac_test_CFLAGS" = set; then
8237       CFLAGS="$ac_save_CFLAGS"
8238     else
8239       # this is the suspicious part
8240       CFLAGS=''
8241     fi
8242     if test "$ac_sectionLDflags" = "yes"; then
8243       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8244     fi
8245     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8246 echo "${ECHO_T}$ac_sectionLDflags" >&6
8247   fi
8248
8249   # Set linker optimization flags.
8250   if test x"$with_gnu_ld" = x"yes"; then
8251     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8252   fi
8253
8254
8255
8256
8257
8258   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8259   ac_save_CXXFLAGS="$CXXFLAGS"
8260   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8261
8262     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8263 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8264 if test "${ac_cv_lib_m_sin+set}" = set; then
8265   echo $ECHO_N "(cached) $ECHO_C" >&6
8266 else
8267   ac_check_lib_save_LIBS=$LIBS
8268 LIBS="-lm  $LIBS"
8269 if test x$gcc_no_link = xyes; then
8270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8272    { (exit 1); exit 1; }; }
8273 fi
8274 cat >conftest.$ac_ext <<_ACEOF
8275 /* confdefs.h.  */
8276 _ACEOF
8277 cat confdefs.h >>conftest.$ac_ext
8278 cat >>conftest.$ac_ext <<_ACEOF
8279 /* end confdefs.h.  */
8280
8281 /* Override any gcc2 internal prototype to avoid an error.  */
8282 #ifdef __cplusplus
8283 extern "C"
8284 #endif
8285 /* We use char because int might match the return type of a gcc2
8286    builtin and then its argument prototype would still apply.  */
8287 char sin ();
8288 int
8289 main ()
8290 {
8291 sin ();
8292   ;
8293   return 0;
8294 }
8295 _ACEOF
8296 rm -f conftest.$ac_objext conftest$ac_exeext
8297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8298   (eval $ac_link) 2>conftest.er1
8299   ac_status=$?
8300   grep -v '^ *+' conftest.er1 >conftest.err
8301   rm -f conftest.er1
8302   cat conftest.err >&5
8303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304   (exit $ac_status); } &&
8305          { ac_try='test -z "$ac_c_werror_flag"
8306                          || test ! -s conftest.err'
8307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308   (eval $ac_try) 2>&5
8309   ac_status=$?
8310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311   (exit $ac_status); }; } &&
8312          { ac_try='test -s conftest$ac_exeext'
8313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8314   (eval $ac_try) 2>&5
8315   ac_status=$?
8316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317   (exit $ac_status); }; }; then
8318   ac_cv_lib_m_sin=yes
8319 else
8320   echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8322
8323 ac_cv_lib_m_sin=no
8324 fi
8325 rm -f conftest.err conftest.$ac_objext \
8326       conftest$ac_exeext conftest.$ac_ext
8327 LIBS=$ac_check_lib_save_LIBS
8328 fi
8329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8330 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8331 if test $ac_cv_lib_m_sin = yes; then
8332   libm="-lm"
8333 fi
8334
8335   ac_save_LIBS="$LIBS"
8336   LIBS="$LIBS $libm"
8337
8338
8339
8340   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8341 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8342   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8343     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8344   echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346
8347
8348
8349       ac_ext=cc
8350 ac_cpp='$CXXCPP $CPPFLAGS'
8351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8354
8355       cat >conftest.$ac_ext <<_ACEOF
8356 /* confdefs.h.  */
8357 _ACEOF
8358 cat confdefs.h >>conftest.$ac_ext
8359 cat >>conftest.$ac_ext <<_ACEOF
8360 /* end confdefs.h.  */
8361 #include <math.h>
8362                       #ifdef HAVE_IEEEFP_H
8363                       #include <ieeefp.h>
8364                       #endif
8365
8366 int
8367 main ()
8368 {
8369  isinf(0);
8370   ;
8371   return 0;
8372 }
8373 _ACEOF
8374 rm -f conftest.$ac_objext
8375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8376   (eval $ac_compile) 2>conftest.er1
8377   ac_status=$?
8378   grep -v '^ *+' conftest.er1 >conftest.err
8379   rm -f conftest.er1
8380   cat conftest.err >&5
8381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382   (exit $ac_status); } &&
8383          { ac_try='test -z "$ac_cxx_werror_flag"
8384                          || test ! -s conftest.err'
8385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8386   (eval $ac_try) 2>&5
8387   ac_status=$?
8388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389   (exit $ac_status); }; } &&
8390          { ac_try='test -s conftest.$ac_objext'
8391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8392   (eval $ac_try) 2>&5
8393   ac_status=$?
8394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395   (exit $ac_status); }; }; then
8396   glibcxx_cv_func_isinf_use=yes
8397 else
8398   echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8400
8401 glibcxx_cv_func_isinf_use=no
8402 fi
8403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8404       ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 fi
8412
8413   fi
8414   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8415 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8416
8417   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8418
8419 for ac_func in isinf
8420 do
8421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8422 echo "$as_me:$LINENO: checking for $ac_func" >&5
8423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8424 if eval "test \"\${$as_ac_var+set}\" = set"; then
8425   echo $ECHO_N "(cached) $ECHO_C" >&6
8426 else
8427   if test x$gcc_no_link = xyes; then
8428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8430    { (exit 1); exit 1; }; }
8431 fi
8432 cat >conftest.$ac_ext <<_ACEOF
8433 /* confdefs.h.  */
8434 _ACEOF
8435 cat confdefs.h >>conftest.$ac_ext
8436 cat >>conftest.$ac_ext <<_ACEOF
8437 /* end confdefs.h.  */
8438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8440 #define $ac_func innocuous_$ac_func
8441
8442 /* System header to define __stub macros and hopefully few prototypes,
8443     which can conflict with char $ac_func (); below.
8444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8445     <limits.h> exists even on freestanding compilers.  */
8446
8447 #ifdef __STDC__
8448 # include <limits.h>
8449 #else
8450 # include <assert.h>
8451 #endif
8452
8453 #undef $ac_func
8454
8455 /* Override any gcc2 internal prototype to avoid an error.  */
8456 #ifdef __cplusplus
8457 extern "C"
8458 {
8459 #endif
8460 /* We use char because int might match the return type of a gcc2
8461    builtin and then its argument prototype would still apply.  */
8462 char $ac_func ();
8463 /* The GNU C library defines this for functions which it implements
8464     to always fail with ENOSYS.  Some functions are actually named
8465     something starting with __ and the normal name is an alias.  */
8466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8467 choke me
8468 #else
8469 char (*f) () = $ac_func;
8470 #endif
8471 #ifdef __cplusplus
8472 }
8473 #endif
8474
8475 int
8476 main ()
8477 {
8478 return f != $ac_func;
8479   ;
8480   return 0;
8481 }
8482 _ACEOF
8483 rm -f conftest.$ac_objext conftest$ac_exeext
8484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8485   (eval $ac_link) 2>conftest.er1
8486   ac_status=$?
8487   grep -v '^ *+' conftest.er1 >conftest.err
8488   rm -f conftest.er1
8489   cat conftest.err >&5
8490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491   (exit $ac_status); } &&
8492          { ac_try='test -z "$ac_c_werror_flag"
8493                          || test ! -s conftest.err'
8494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495   (eval $ac_try) 2>&5
8496   ac_status=$?
8497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498   (exit $ac_status); }; } &&
8499          { ac_try='test -s conftest$ac_exeext'
8500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501   (eval $ac_try) 2>&5
8502   ac_status=$?
8503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504   (exit $ac_status); }; }; then
8505   eval "$as_ac_var=yes"
8506 else
8507   echo "$as_me: failed program was:" >&5
8508 sed 's/^/| /' conftest.$ac_ext >&5
8509
8510 eval "$as_ac_var=no"
8511 fi
8512 rm -f conftest.err conftest.$ac_objext \
8513       conftest$ac_exeext conftest.$ac_ext
8514 fi
8515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8517 if test `eval echo '${'$as_ac_var'}'` = yes; then
8518   cat >>confdefs.h <<_ACEOF
8519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8520 _ACEOF
8521
8522 fi
8523 done
8524
8525   else
8526
8527   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8528 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8529   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8530     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8531   echo $ECHO_N "(cached) $ECHO_C" >&6
8532 else
8533
8534
8535
8536       ac_ext=cc
8537 ac_cpp='$CXXCPP $CPPFLAGS'
8538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8541
8542       cat >conftest.$ac_ext <<_ACEOF
8543 /* confdefs.h.  */
8544 _ACEOF
8545 cat confdefs.h >>conftest.$ac_ext
8546 cat >>conftest.$ac_ext <<_ACEOF
8547 /* end confdefs.h.  */
8548 #include <math.h>
8549                       #ifdef HAVE_IEEEFP_H
8550                       #include <ieeefp.h>
8551                       #endif
8552
8553 int
8554 main ()
8555 {
8556  _isinf(0);
8557   ;
8558   return 0;
8559 }
8560 _ACEOF
8561 rm -f conftest.$ac_objext
8562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8563   (eval $ac_compile) 2>conftest.er1
8564   ac_status=$?
8565   grep -v '^ *+' conftest.er1 >conftest.err
8566   rm -f conftest.er1
8567   cat conftest.err >&5
8568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569   (exit $ac_status); } &&
8570          { ac_try='test -z "$ac_cxx_werror_flag"
8571                          || test ! -s conftest.err'
8572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8573   (eval $ac_try) 2>&5
8574   ac_status=$?
8575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576   (exit $ac_status); }; } &&
8577          { ac_try='test -s conftest.$ac_objext'
8578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8579   (eval $ac_try) 2>&5
8580   ac_status=$?
8581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582   (exit $ac_status); }; }; then
8583   glibcxx_cv_func__isinf_use=yes
8584 else
8585   echo "$as_me: failed program was:" >&5
8586 sed 's/^/| /' conftest.$ac_ext >&5
8587
8588 glibcxx_cv_func__isinf_use=no
8589 fi
8590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8591       ac_ext=c
8592 ac_cpp='$CPP $CPPFLAGS'
8593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8596
8597
8598 fi
8599
8600   fi
8601   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8602 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8603
8604     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8605
8606 for ac_func in _isinf
8607 do
8608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8609 echo "$as_me:$LINENO: checking for $ac_func" >&5
8610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8611 if eval "test \"\${$as_ac_var+set}\" = set"; then
8612   echo $ECHO_N "(cached) $ECHO_C" >&6
8613 else
8614   if test x$gcc_no_link = xyes; then
8615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8617    { (exit 1); exit 1; }; }
8618 fi
8619 cat >conftest.$ac_ext <<_ACEOF
8620 /* confdefs.h.  */
8621 _ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h.  */
8625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8627 #define $ac_func innocuous_$ac_func
8628
8629 /* System header to define __stub macros and hopefully few prototypes,
8630     which can conflict with char $ac_func (); below.
8631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8632     <limits.h> exists even on freestanding compilers.  */
8633
8634 #ifdef __STDC__
8635 # include <limits.h>
8636 #else
8637 # include <assert.h>
8638 #endif
8639
8640 #undef $ac_func
8641
8642 /* Override any gcc2 internal prototype to avoid an error.  */
8643 #ifdef __cplusplus
8644 extern "C"
8645 {
8646 #endif
8647 /* We use char because int might match the return type of a gcc2
8648    builtin and then its argument prototype would still apply.  */
8649 char $ac_func ();
8650 /* The GNU C library defines this for functions which it implements
8651     to always fail with ENOSYS.  Some functions are actually named
8652     something starting with __ and the normal name is an alias.  */
8653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8654 choke me
8655 #else
8656 char (*f) () = $ac_func;
8657 #endif
8658 #ifdef __cplusplus
8659 }
8660 #endif
8661
8662 int
8663 main ()
8664 {
8665 return f != $ac_func;
8666   ;
8667   return 0;
8668 }
8669 _ACEOF
8670 rm -f conftest.$ac_objext conftest$ac_exeext
8671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8672   (eval $ac_link) 2>conftest.er1
8673   ac_status=$?
8674   grep -v '^ *+' conftest.er1 >conftest.err
8675   rm -f conftest.er1
8676   cat conftest.err >&5
8677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8678   (exit $ac_status); } &&
8679          { ac_try='test -z "$ac_c_werror_flag"
8680                          || test ! -s conftest.err'
8681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8682   (eval $ac_try) 2>&5
8683   ac_status=$?
8684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685   (exit $ac_status); }; } &&
8686          { ac_try='test -s conftest$ac_exeext'
8687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688   (eval $ac_try) 2>&5
8689   ac_status=$?
8690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691   (exit $ac_status); }; }; then
8692   eval "$as_ac_var=yes"
8693 else
8694   echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8696
8697 eval "$as_ac_var=no"
8698 fi
8699 rm -f conftest.err conftest.$ac_objext \
8700       conftest$ac_exeext conftest.$ac_ext
8701 fi
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8704 if test `eval echo '${'$as_ac_var'}'` = yes; then
8705   cat >>confdefs.h <<_ACEOF
8706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8707 _ACEOF
8708
8709 fi
8710 done
8711
8712     fi
8713   fi
8714
8715
8716
8717   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8718 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8719   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8720     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8721   echo $ECHO_N "(cached) $ECHO_C" >&6
8722 else
8723
8724
8725
8726       ac_ext=cc
8727 ac_cpp='$CXXCPP $CPPFLAGS'
8728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8731
8732       cat >conftest.$ac_ext <<_ACEOF
8733 /* confdefs.h.  */
8734 _ACEOF
8735 cat confdefs.h >>conftest.$ac_ext
8736 cat >>conftest.$ac_ext <<_ACEOF
8737 /* end confdefs.h.  */
8738 #include <math.h>
8739                       #ifdef HAVE_IEEEFP_H
8740                       #include <ieeefp.h>
8741                       #endif
8742
8743 int
8744 main ()
8745 {
8746  isnan(0);
8747   ;
8748   return 0;
8749 }
8750 _ACEOF
8751 rm -f conftest.$ac_objext
8752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753   (eval $ac_compile) 2>conftest.er1
8754   ac_status=$?
8755   grep -v '^ *+' conftest.er1 >conftest.err
8756   rm -f conftest.er1
8757   cat conftest.err >&5
8758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759   (exit $ac_status); } &&
8760          { ac_try='test -z "$ac_cxx_werror_flag"
8761                          || test ! -s conftest.err'
8762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763   (eval $ac_try) 2>&5
8764   ac_status=$?
8765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766   (exit $ac_status); }; } &&
8767          { ac_try='test -s conftest.$ac_objext'
8768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769   (eval $ac_try) 2>&5
8770   ac_status=$?
8771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772   (exit $ac_status); }; }; then
8773   glibcxx_cv_func_isnan_use=yes
8774 else
8775   echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8777
8778 glibcxx_cv_func_isnan_use=no
8779 fi
8780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8781       ac_ext=c
8782 ac_cpp='$CPP $CPPFLAGS'
8783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8786
8787
8788 fi
8789
8790   fi
8791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8792 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8793
8794   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8795
8796 for ac_func in isnan
8797 do
8798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8799 echo "$as_me:$LINENO: checking for $ac_func" >&5
8800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8801 if eval "test \"\${$as_ac_var+set}\" = set"; then
8802   echo $ECHO_N "(cached) $ECHO_C" >&6
8803 else
8804   if test x$gcc_no_link = xyes; then
8805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8807    { (exit 1); exit 1; }; }
8808 fi
8809 cat >conftest.$ac_ext <<_ACEOF
8810 /* confdefs.h.  */
8811 _ACEOF
8812 cat confdefs.h >>conftest.$ac_ext
8813 cat >>conftest.$ac_ext <<_ACEOF
8814 /* end confdefs.h.  */
8815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8817 #define $ac_func innocuous_$ac_func
8818
8819 /* System header to define __stub macros and hopefully few prototypes,
8820     which can conflict with char $ac_func (); below.
8821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8822     <limits.h> exists even on freestanding compilers.  */
8823
8824 #ifdef __STDC__
8825 # include <limits.h>
8826 #else
8827 # include <assert.h>
8828 #endif
8829
8830 #undef $ac_func
8831
8832 /* Override any gcc2 internal prototype to avoid an error.  */
8833 #ifdef __cplusplus
8834 extern "C"
8835 {
8836 #endif
8837 /* We use char because int might match the return type of a gcc2
8838    builtin and then its argument prototype would still apply.  */
8839 char $ac_func ();
8840 /* The GNU C library defines this for functions which it implements
8841     to always fail with ENOSYS.  Some functions are actually named
8842     something starting with __ and the normal name is an alias.  */
8843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8844 choke me
8845 #else
8846 char (*f) () = $ac_func;
8847 #endif
8848 #ifdef __cplusplus
8849 }
8850 #endif
8851
8852 int
8853 main ()
8854 {
8855 return f != $ac_func;
8856   ;
8857   return 0;
8858 }
8859 _ACEOF
8860 rm -f conftest.$ac_objext conftest$ac_exeext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8862   (eval $ac_link) 2>conftest.er1
8863   ac_status=$?
8864   grep -v '^ *+' conftest.er1 >conftest.err
8865   rm -f conftest.er1
8866   cat conftest.err >&5
8867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868   (exit $ac_status); } &&
8869          { ac_try='test -z "$ac_c_werror_flag"
8870                          || test ! -s conftest.err'
8871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8872   (eval $ac_try) 2>&5
8873   ac_status=$?
8874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8875   (exit $ac_status); }; } &&
8876          { ac_try='test -s conftest$ac_exeext'
8877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8878   (eval $ac_try) 2>&5
8879   ac_status=$?
8880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881   (exit $ac_status); }; }; then
8882   eval "$as_ac_var=yes"
8883 else
8884   echo "$as_me: failed program was:" >&5
8885 sed 's/^/| /' conftest.$ac_ext >&5
8886
8887 eval "$as_ac_var=no"
8888 fi
8889 rm -f conftest.err conftest.$ac_objext \
8890       conftest$ac_exeext conftest.$ac_ext
8891 fi
8892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8894 if test `eval echo '${'$as_ac_var'}'` = yes; then
8895   cat >>confdefs.h <<_ACEOF
8896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8897 _ACEOF
8898
8899 fi
8900 done
8901
8902   else
8903
8904   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8905 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8906   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8907     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8908   echo $ECHO_N "(cached) $ECHO_C" >&6
8909 else
8910
8911
8912
8913       ac_ext=cc
8914 ac_cpp='$CXXCPP $CPPFLAGS'
8915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8918
8919       cat >conftest.$ac_ext <<_ACEOF
8920 /* confdefs.h.  */
8921 _ACEOF
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h.  */
8925 #include <math.h>
8926                       #ifdef HAVE_IEEEFP_H
8927                       #include <ieeefp.h>
8928                       #endif
8929
8930 int
8931 main ()
8932 {
8933  _isnan(0);
8934   ;
8935   return 0;
8936 }
8937 _ACEOF
8938 rm -f conftest.$ac_objext
8939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8940   (eval $ac_compile) 2>conftest.er1
8941   ac_status=$?
8942   grep -v '^ *+' conftest.er1 >conftest.err
8943   rm -f conftest.er1
8944   cat conftest.err >&5
8945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946   (exit $ac_status); } &&
8947          { ac_try='test -z "$ac_cxx_werror_flag"
8948                          || test ! -s conftest.err'
8949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950   (eval $ac_try) 2>&5
8951   ac_status=$?
8952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953   (exit $ac_status); }; } &&
8954          { ac_try='test -s conftest.$ac_objext'
8955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8956   (eval $ac_try) 2>&5
8957   ac_status=$?
8958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959   (exit $ac_status); }; }; then
8960   glibcxx_cv_func__isnan_use=yes
8961 else
8962   echo "$as_me: failed program was:" >&5
8963 sed 's/^/| /' conftest.$ac_ext >&5
8964
8965 glibcxx_cv_func__isnan_use=no
8966 fi
8967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8968       ac_ext=c
8969 ac_cpp='$CPP $CPPFLAGS'
8970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8973
8974
8975 fi
8976
8977   fi
8978   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8979 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8980
8981     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8982
8983 for ac_func in _isnan
8984 do
8985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8986 echo "$as_me:$LINENO: checking for $ac_func" >&5
8987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8988 if eval "test \"\${$as_ac_var+set}\" = set"; then
8989   echo $ECHO_N "(cached) $ECHO_C" >&6
8990 else
8991   if test x$gcc_no_link = xyes; then
8992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8994    { (exit 1); exit 1; }; }
8995 fi
8996 cat >conftest.$ac_ext <<_ACEOF
8997 /* confdefs.h.  */
8998 _ACEOF
8999 cat confdefs.h >>conftest.$ac_ext
9000 cat >>conftest.$ac_ext <<_ACEOF
9001 /* end confdefs.h.  */
9002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9004 #define $ac_func innocuous_$ac_func
9005
9006 /* System header to define __stub macros and hopefully few prototypes,
9007     which can conflict with char $ac_func (); below.
9008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9009     <limits.h> exists even on freestanding compilers.  */
9010
9011 #ifdef __STDC__
9012 # include <limits.h>
9013 #else
9014 # include <assert.h>
9015 #endif
9016
9017 #undef $ac_func
9018
9019 /* Override any gcc2 internal prototype to avoid an error.  */
9020 #ifdef __cplusplus
9021 extern "C"
9022 {
9023 #endif
9024 /* We use char because int might match the return type of a gcc2
9025    builtin and then its argument prototype would still apply.  */
9026 char $ac_func ();
9027 /* The GNU C library defines this for functions which it implements
9028     to always fail with ENOSYS.  Some functions are actually named
9029     something starting with __ and the normal name is an alias.  */
9030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9031 choke me
9032 #else
9033 char (*f) () = $ac_func;
9034 #endif
9035 #ifdef __cplusplus
9036 }
9037 #endif
9038
9039 int
9040 main ()
9041 {
9042 return f != $ac_func;
9043   ;
9044   return 0;
9045 }
9046 _ACEOF
9047 rm -f conftest.$ac_objext conftest$ac_exeext
9048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9049   (eval $ac_link) 2>conftest.er1
9050   ac_status=$?
9051   grep -v '^ *+' conftest.er1 >conftest.err
9052   rm -f conftest.er1
9053   cat conftest.err >&5
9054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055   (exit $ac_status); } &&
9056          { ac_try='test -z "$ac_c_werror_flag"
9057                          || test ! -s conftest.err'
9058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9059   (eval $ac_try) 2>&5
9060   ac_status=$?
9061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9062   (exit $ac_status); }; } &&
9063          { ac_try='test -s conftest$ac_exeext'
9064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9065   (eval $ac_try) 2>&5
9066   ac_status=$?
9067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068   (exit $ac_status); }; }; then
9069   eval "$as_ac_var=yes"
9070 else
9071   echo "$as_me: failed program was:" >&5
9072 sed 's/^/| /' conftest.$ac_ext >&5
9073
9074 eval "$as_ac_var=no"
9075 fi
9076 rm -f conftest.err conftest.$ac_objext \
9077       conftest$ac_exeext conftest.$ac_ext
9078 fi
9079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9081 if test `eval echo '${'$as_ac_var'}'` = yes; then
9082   cat >>confdefs.h <<_ACEOF
9083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9084 _ACEOF
9085
9086 fi
9087 done
9088
9089     fi
9090   fi
9091
9092
9093
9094   echo "$as_me:$LINENO: checking for finite declaration" >&5
9095 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9096   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9097     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9098   echo $ECHO_N "(cached) $ECHO_C" >&6
9099 else
9100
9101
9102
9103       ac_ext=cc
9104 ac_cpp='$CXXCPP $CPPFLAGS'
9105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9108
9109       cat >conftest.$ac_ext <<_ACEOF
9110 /* confdefs.h.  */
9111 _ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h.  */
9115 #include <math.h>
9116                       #ifdef HAVE_IEEEFP_H
9117                       #include <ieeefp.h>
9118                       #endif
9119
9120 int
9121 main ()
9122 {
9123  finite(0);
9124   ;
9125   return 0;
9126 }
9127 _ACEOF
9128 rm -f conftest.$ac_objext
9129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9130   (eval $ac_compile) 2>conftest.er1
9131   ac_status=$?
9132   grep -v '^ *+' conftest.er1 >conftest.err
9133   rm -f conftest.er1
9134   cat conftest.err >&5
9135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136   (exit $ac_status); } &&
9137          { ac_try='test -z "$ac_cxx_werror_flag"
9138                          || test ! -s conftest.err'
9139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140   (eval $ac_try) 2>&5
9141   ac_status=$?
9142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143   (exit $ac_status); }; } &&
9144          { ac_try='test -s conftest.$ac_objext'
9145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146   (eval $ac_try) 2>&5
9147   ac_status=$?
9148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149   (exit $ac_status); }; }; then
9150   glibcxx_cv_func_finite_use=yes
9151 else
9152   echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.$ac_ext >&5
9154
9155 glibcxx_cv_func_finite_use=no
9156 fi
9157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9158       ac_ext=c
9159 ac_cpp='$CPP $CPPFLAGS'
9160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9163
9164
9165 fi
9166
9167   fi
9168   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9169 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9170
9171   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9172
9173 for ac_func in finite
9174 do
9175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9176 echo "$as_me:$LINENO: checking for $ac_func" >&5
9177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9178 if eval "test \"\${$as_ac_var+set}\" = set"; then
9179   echo $ECHO_N "(cached) $ECHO_C" >&6
9180 else
9181   if test x$gcc_no_link = xyes; then
9182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9184    { (exit 1); exit 1; }; }
9185 fi
9186 cat >conftest.$ac_ext <<_ACEOF
9187 /* confdefs.h.  */
9188 _ACEOF
9189 cat confdefs.h >>conftest.$ac_ext
9190 cat >>conftest.$ac_ext <<_ACEOF
9191 /* end confdefs.h.  */
9192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9194 #define $ac_func innocuous_$ac_func
9195
9196 /* System header to define __stub macros and hopefully few prototypes,
9197     which can conflict with char $ac_func (); below.
9198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9199     <limits.h> exists even on freestanding compilers.  */
9200
9201 #ifdef __STDC__
9202 # include <limits.h>
9203 #else
9204 # include <assert.h>
9205 #endif
9206
9207 #undef $ac_func
9208
9209 /* Override any gcc2 internal prototype to avoid an error.  */
9210 #ifdef __cplusplus
9211 extern "C"
9212 {
9213 #endif
9214 /* We use char because int might match the return type of a gcc2
9215    builtin and then its argument prototype would still apply.  */
9216 char $ac_func ();
9217 /* The GNU C library defines this for functions which it implements
9218     to always fail with ENOSYS.  Some functions are actually named
9219     something starting with __ and the normal name is an alias.  */
9220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9221 choke me
9222 #else
9223 char (*f) () = $ac_func;
9224 #endif
9225 #ifdef __cplusplus
9226 }
9227 #endif
9228
9229 int
9230 main ()
9231 {
9232 return f != $ac_func;
9233   ;
9234   return 0;
9235 }
9236 _ACEOF
9237 rm -f conftest.$ac_objext conftest$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239   (eval $ac_link) 2>conftest.er1
9240   ac_status=$?
9241   grep -v '^ *+' conftest.er1 >conftest.err
9242   rm -f conftest.er1
9243   cat conftest.err >&5
9244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245   (exit $ac_status); } &&
9246          { ac_try='test -z "$ac_c_werror_flag"
9247                          || test ! -s conftest.err'
9248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9249   (eval $ac_try) 2>&5
9250   ac_status=$?
9251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252   (exit $ac_status); }; } &&
9253          { ac_try='test -s conftest$ac_exeext'
9254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9255   (eval $ac_try) 2>&5
9256   ac_status=$?
9257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258   (exit $ac_status); }; }; then
9259   eval "$as_ac_var=yes"
9260 else
9261   echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.$ac_ext >&5
9263
9264 eval "$as_ac_var=no"
9265 fi
9266 rm -f conftest.err conftest.$ac_objext \
9267       conftest$ac_exeext conftest.$ac_ext
9268 fi
9269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9271 if test `eval echo '${'$as_ac_var'}'` = yes; then
9272   cat >>confdefs.h <<_ACEOF
9273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9274 _ACEOF
9275
9276 fi
9277 done
9278
9279   else
9280
9281   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9282 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9283   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9284     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9285   echo $ECHO_N "(cached) $ECHO_C" >&6
9286 else
9287
9288
9289
9290       ac_ext=cc
9291 ac_cpp='$CXXCPP $CPPFLAGS'
9292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9295
9296       cat >conftest.$ac_ext <<_ACEOF
9297 /* confdefs.h.  */
9298 _ACEOF
9299 cat confdefs.h >>conftest.$ac_ext
9300 cat >>conftest.$ac_ext <<_ACEOF
9301 /* end confdefs.h.  */
9302 #include <math.h>
9303                       #ifdef HAVE_IEEEFP_H
9304                       #include <ieeefp.h>
9305                       #endif
9306
9307 int
9308 main ()
9309 {
9310  _finite(0);
9311   ;
9312   return 0;
9313 }
9314 _ACEOF
9315 rm -f conftest.$ac_objext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9317   (eval $ac_compile) 2>conftest.er1
9318   ac_status=$?
9319   grep -v '^ *+' conftest.er1 >conftest.err
9320   rm -f conftest.er1
9321   cat conftest.err >&5
9322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323   (exit $ac_status); } &&
9324          { ac_try='test -z "$ac_cxx_werror_flag"
9325                          || test ! -s conftest.err'
9326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327   (eval $ac_try) 2>&5
9328   ac_status=$?
9329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330   (exit $ac_status); }; } &&
9331          { ac_try='test -s conftest.$ac_objext'
9332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333   (eval $ac_try) 2>&5
9334   ac_status=$?
9335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336   (exit $ac_status); }; }; then
9337   glibcxx_cv_func__finite_use=yes
9338 else
9339   echo "$as_me: failed program was:" >&5
9340 sed 's/^/| /' conftest.$ac_ext >&5
9341
9342 glibcxx_cv_func__finite_use=no
9343 fi
9344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9345       ac_ext=c
9346 ac_cpp='$CPP $CPPFLAGS'
9347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9350
9351
9352 fi
9353
9354   fi
9355   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9356 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9357
9358     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9359
9360 for ac_func in _finite
9361 do
9362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9363 echo "$as_me:$LINENO: checking for $ac_func" >&5
9364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9365 if eval "test \"\${$as_ac_var+set}\" = set"; then
9366   echo $ECHO_N "(cached) $ECHO_C" >&6
9367 else
9368   if test x$gcc_no_link = xyes; then
9369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9371    { (exit 1); exit 1; }; }
9372 fi
9373 cat >conftest.$ac_ext <<_ACEOF
9374 /* confdefs.h.  */
9375 _ACEOF
9376 cat confdefs.h >>conftest.$ac_ext
9377 cat >>conftest.$ac_ext <<_ACEOF
9378 /* end confdefs.h.  */
9379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9381 #define $ac_func innocuous_$ac_func
9382
9383 /* System header to define __stub macros and hopefully few prototypes,
9384     which can conflict with char $ac_func (); below.
9385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9386     <limits.h> exists even on freestanding compilers.  */
9387
9388 #ifdef __STDC__
9389 # include <limits.h>
9390 #else
9391 # include <assert.h>
9392 #endif
9393
9394 #undef $ac_func
9395
9396 /* Override any gcc2 internal prototype to avoid an error.  */
9397 #ifdef __cplusplus
9398 extern "C"
9399 {
9400 #endif
9401 /* We use char because int might match the return type of a gcc2
9402    builtin and then its argument prototype would still apply.  */
9403 char $ac_func ();
9404 /* The GNU C library defines this for functions which it implements
9405     to always fail with ENOSYS.  Some functions are actually named
9406     something starting with __ and the normal name is an alias.  */
9407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9408 choke me
9409 #else
9410 char (*f) () = $ac_func;
9411 #endif
9412 #ifdef __cplusplus
9413 }
9414 #endif
9415
9416 int
9417 main ()
9418 {
9419 return f != $ac_func;
9420   ;
9421   return 0;
9422 }
9423 _ACEOF
9424 rm -f conftest.$ac_objext conftest$ac_exeext
9425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9426   (eval $ac_link) 2>conftest.er1
9427   ac_status=$?
9428   grep -v '^ *+' conftest.er1 >conftest.err
9429   rm -f conftest.er1
9430   cat conftest.err >&5
9431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432   (exit $ac_status); } &&
9433          { ac_try='test -z "$ac_c_werror_flag"
9434                          || test ! -s conftest.err'
9435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436   (eval $ac_try) 2>&5
9437   ac_status=$?
9438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439   (exit $ac_status); }; } &&
9440          { ac_try='test -s conftest$ac_exeext'
9441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9442   (eval $ac_try) 2>&5
9443   ac_status=$?
9444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9445   (exit $ac_status); }; }; then
9446   eval "$as_ac_var=yes"
9447 else
9448   echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.$ac_ext >&5
9450
9451 eval "$as_ac_var=no"
9452 fi
9453 rm -f conftest.err conftest.$ac_objext \
9454       conftest$ac_exeext conftest.$ac_ext
9455 fi
9456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9458 if test `eval echo '${'$as_ac_var'}'` = yes; then
9459   cat >>confdefs.h <<_ACEOF
9460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9461 _ACEOF
9462
9463 fi
9464 done
9465
9466     fi
9467   fi
9468
9469
9470
9471   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9472 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9473   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9474     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9475   echo $ECHO_N "(cached) $ECHO_C" >&6
9476 else
9477
9478
9479
9480       ac_ext=cc
9481 ac_cpp='$CXXCPP $CPPFLAGS'
9482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9485
9486       cat >conftest.$ac_ext <<_ACEOF
9487 /* confdefs.h.  */
9488 _ACEOF
9489 cat confdefs.h >>conftest.$ac_ext
9490 cat >>conftest.$ac_ext <<_ACEOF
9491 /* end confdefs.h.  */
9492 #include <math.h>
9493 int
9494 main ()
9495 {
9496  copysign(0, 0);
9497   ;
9498   return 0;
9499 }
9500 _ACEOF
9501 rm -f conftest.$ac_objext
9502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9503   (eval $ac_compile) 2>conftest.er1
9504   ac_status=$?
9505   grep -v '^ *+' conftest.er1 >conftest.err
9506   rm -f conftest.er1
9507   cat conftest.err >&5
9508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509   (exit $ac_status); } &&
9510          { ac_try='test -z "$ac_cxx_werror_flag"
9511                          || test ! -s conftest.err'
9512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513   (eval $ac_try) 2>&5
9514   ac_status=$?
9515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516   (exit $ac_status); }; } &&
9517          { ac_try='test -s conftest.$ac_objext'
9518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9519   (eval $ac_try) 2>&5
9520   ac_status=$?
9521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9522   (exit $ac_status); }; }; then
9523   glibcxx_cv_func_copysign_use=yes
9524 else
9525   echo "$as_me: failed program was:" >&5
9526 sed 's/^/| /' conftest.$ac_ext >&5
9527
9528 glibcxx_cv_func_copysign_use=no
9529 fi
9530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9531       ac_ext=c
9532 ac_cpp='$CPP $CPPFLAGS'
9533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9536
9537
9538 fi
9539
9540   fi
9541   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9542 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9543
9544   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9545
9546 for ac_func in copysign
9547 do
9548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9549 echo "$as_me:$LINENO: checking for $ac_func" >&5
9550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9551 if eval "test \"\${$as_ac_var+set}\" = set"; then
9552   echo $ECHO_N "(cached) $ECHO_C" >&6
9553 else
9554   if test x$gcc_no_link = xyes; then
9555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9557    { (exit 1); exit 1; }; }
9558 fi
9559 cat >conftest.$ac_ext <<_ACEOF
9560 /* confdefs.h.  */
9561 _ACEOF
9562 cat confdefs.h >>conftest.$ac_ext
9563 cat >>conftest.$ac_ext <<_ACEOF
9564 /* end confdefs.h.  */
9565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9567 #define $ac_func innocuous_$ac_func
9568
9569 /* System header to define __stub macros and hopefully few prototypes,
9570     which can conflict with char $ac_func (); below.
9571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9572     <limits.h> exists even on freestanding compilers.  */
9573
9574 #ifdef __STDC__
9575 # include <limits.h>
9576 #else
9577 # include <assert.h>
9578 #endif
9579
9580 #undef $ac_func
9581
9582 /* Override any gcc2 internal prototype to avoid an error.  */
9583 #ifdef __cplusplus
9584 extern "C"
9585 {
9586 #endif
9587 /* We use char because int might match the return type of a gcc2
9588    builtin and then its argument prototype would still apply.  */
9589 char $ac_func ();
9590 /* The GNU C library defines this for functions which it implements
9591     to always fail with ENOSYS.  Some functions are actually named
9592     something starting with __ and the normal name is an alias.  */
9593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9594 choke me
9595 #else
9596 char (*f) () = $ac_func;
9597 #endif
9598 #ifdef __cplusplus
9599 }
9600 #endif
9601
9602 int
9603 main ()
9604 {
9605 return f != $ac_func;
9606   ;
9607   return 0;
9608 }
9609 _ACEOF
9610 rm -f conftest.$ac_objext conftest$ac_exeext
9611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9612   (eval $ac_link) 2>conftest.er1
9613   ac_status=$?
9614   grep -v '^ *+' conftest.er1 >conftest.err
9615   rm -f conftest.er1
9616   cat conftest.err >&5
9617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618   (exit $ac_status); } &&
9619          { ac_try='test -z "$ac_c_werror_flag"
9620                          || test ! -s conftest.err'
9621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622   (eval $ac_try) 2>&5
9623   ac_status=$?
9624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625   (exit $ac_status); }; } &&
9626          { ac_try='test -s conftest$ac_exeext'
9627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628   (eval $ac_try) 2>&5
9629   ac_status=$?
9630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631   (exit $ac_status); }; }; then
9632   eval "$as_ac_var=yes"
9633 else
9634   echo "$as_me: failed program was:" >&5
9635 sed 's/^/| /' conftest.$ac_ext >&5
9636
9637 eval "$as_ac_var=no"
9638 fi
9639 rm -f conftest.err conftest.$ac_objext \
9640       conftest$ac_exeext conftest.$ac_ext
9641 fi
9642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9644 if test `eval echo '${'$as_ac_var'}'` = yes; then
9645   cat >>confdefs.h <<_ACEOF
9646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9647 _ACEOF
9648
9649 fi
9650 done
9651
9652   else
9653
9654   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9655 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9656   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9657     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9658   echo $ECHO_N "(cached) $ECHO_C" >&6
9659 else
9660
9661
9662
9663       ac_ext=cc
9664 ac_cpp='$CXXCPP $CPPFLAGS'
9665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9668
9669       cat >conftest.$ac_ext <<_ACEOF
9670 /* confdefs.h.  */
9671 _ACEOF
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h.  */
9675 #include <math.h>
9676 int
9677 main ()
9678 {
9679  _copysign(0, 0);
9680   ;
9681   return 0;
9682 }
9683 _ACEOF
9684 rm -f conftest.$ac_objext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9686   (eval $ac_compile) 2>conftest.er1
9687   ac_status=$?
9688   grep -v '^ *+' conftest.er1 >conftest.err
9689   rm -f conftest.er1
9690   cat conftest.err >&5
9691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692   (exit $ac_status); } &&
9693          { ac_try='test -z "$ac_cxx_werror_flag"
9694                          || test ! -s conftest.err'
9695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696   (eval $ac_try) 2>&5
9697   ac_status=$?
9698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699   (exit $ac_status); }; } &&
9700          { ac_try='test -s conftest.$ac_objext'
9701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702   (eval $ac_try) 2>&5
9703   ac_status=$?
9704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705   (exit $ac_status); }; }; then
9706   glibcxx_cv_func__copysign_use=yes
9707 else
9708   echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9710
9711 glibcxx_cv_func__copysign_use=no
9712 fi
9713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9714       ac_ext=c
9715 ac_cpp='$CPP $CPPFLAGS'
9716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9719
9720
9721 fi
9722
9723   fi
9724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9725 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9726
9727     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9728
9729 for ac_func in _copysign
9730 do
9731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9732 echo "$as_me:$LINENO: checking for $ac_func" >&5
9733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9734 if eval "test \"\${$as_ac_var+set}\" = set"; then
9735   echo $ECHO_N "(cached) $ECHO_C" >&6
9736 else
9737   if test x$gcc_no_link = xyes; then
9738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9740    { (exit 1); exit 1; }; }
9741 fi
9742 cat >conftest.$ac_ext <<_ACEOF
9743 /* confdefs.h.  */
9744 _ACEOF
9745 cat confdefs.h >>conftest.$ac_ext
9746 cat >>conftest.$ac_ext <<_ACEOF
9747 /* end confdefs.h.  */
9748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9750 #define $ac_func innocuous_$ac_func
9751
9752 /* System header to define __stub macros and hopefully few prototypes,
9753     which can conflict with char $ac_func (); below.
9754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9755     <limits.h> exists even on freestanding compilers.  */
9756
9757 #ifdef __STDC__
9758 # include <limits.h>
9759 #else
9760 # include <assert.h>
9761 #endif
9762
9763 #undef $ac_func
9764
9765 /* Override any gcc2 internal prototype to avoid an error.  */
9766 #ifdef __cplusplus
9767 extern "C"
9768 {
9769 #endif
9770 /* We use char because int might match the return type of a gcc2
9771    builtin and then its argument prototype would still apply.  */
9772 char $ac_func ();
9773 /* The GNU C library defines this for functions which it implements
9774     to always fail with ENOSYS.  Some functions are actually named
9775     something starting with __ and the normal name is an alias.  */
9776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9777 choke me
9778 #else
9779 char (*f) () = $ac_func;
9780 #endif
9781 #ifdef __cplusplus
9782 }
9783 #endif
9784
9785 int
9786 main ()
9787 {
9788 return f != $ac_func;
9789   ;
9790   return 0;
9791 }
9792 _ACEOF
9793 rm -f conftest.$ac_objext conftest$ac_exeext
9794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9795   (eval $ac_link) 2>conftest.er1
9796   ac_status=$?
9797   grep -v '^ *+' conftest.er1 >conftest.err
9798   rm -f conftest.er1
9799   cat conftest.err >&5
9800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801   (exit $ac_status); } &&
9802          { ac_try='test -z "$ac_c_werror_flag"
9803                          || test ! -s conftest.err'
9804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9805   (eval $ac_try) 2>&5
9806   ac_status=$?
9807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808   (exit $ac_status); }; } &&
9809          { ac_try='test -s conftest$ac_exeext'
9810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9811   (eval $ac_try) 2>&5
9812   ac_status=$?
9813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814   (exit $ac_status); }; }; then
9815   eval "$as_ac_var=yes"
9816 else
9817   echo "$as_me: failed program was:" >&5
9818 sed 's/^/| /' conftest.$ac_ext >&5
9819
9820 eval "$as_ac_var=no"
9821 fi
9822 rm -f conftest.err conftest.$ac_objext \
9823       conftest$ac_exeext conftest.$ac_ext
9824 fi
9825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9827 if test `eval echo '${'$as_ac_var'}'` = yes; then
9828   cat >>confdefs.h <<_ACEOF
9829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9830 _ACEOF
9831
9832 fi
9833 done
9834
9835     fi
9836   fi
9837
9838
9839
9840   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9841 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9842   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9843     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9844   echo $ECHO_N "(cached) $ECHO_C" >&6
9845 else
9846
9847
9848
9849       ac_ext=cc
9850 ac_cpp='$CXXCPP $CPPFLAGS'
9851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9854
9855       cat >conftest.$ac_ext <<_ACEOF
9856 /* confdefs.h.  */
9857 _ACEOF
9858 cat confdefs.h >>conftest.$ac_ext
9859 cat >>conftest.$ac_ext <<_ACEOF
9860 /* end confdefs.h.  */
9861 #include <math.h>
9862 int
9863 main ()
9864 {
9865  sincos(0, 0, 0);
9866   ;
9867   return 0;
9868 }
9869 _ACEOF
9870 rm -f conftest.$ac_objext
9871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9872   (eval $ac_compile) 2>conftest.er1
9873   ac_status=$?
9874   grep -v '^ *+' conftest.er1 >conftest.err
9875   rm -f conftest.er1
9876   cat conftest.err >&5
9877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878   (exit $ac_status); } &&
9879          { ac_try='test -z "$ac_cxx_werror_flag"
9880                          || test ! -s conftest.err'
9881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882   (eval $ac_try) 2>&5
9883   ac_status=$?
9884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885   (exit $ac_status); }; } &&
9886          { ac_try='test -s conftest.$ac_objext'
9887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888   (eval $ac_try) 2>&5
9889   ac_status=$?
9890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891   (exit $ac_status); }; }; then
9892   glibcxx_cv_func_sincos_use=yes
9893 else
9894   echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9896
9897 glibcxx_cv_func_sincos_use=no
9898 fi
9899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9900       ac_ext=c
9901 ac_cpp='$CPP $CPPFLAGS'
9902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9905
9906
9907 fi
9908
9909   fi
9910   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9911 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9912
9913   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9914
9915 for ac_func in sincos
9916 do
9917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9918 echo "$as_me:$LINENO: checking for $ac_func" >&5
9919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9920 if eval "test \"\${$as_ac_var+set}\" = set"; then
9921   echo $ECHO_N "(cached) $ECHO_C" >&6
9922 else
9923   if test x$gcc_no_link = xyes; then
9924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9926    { (exit 1); exit 1; }; }
9927 fi
9928 cat >conftest.$ac_ext <<_ACEOF
9929 /* confdefs.h.  */
9930 _ACEOF
9931 cat confdefs.h >>conftest.$ac_ext
9932 cat >>conftest.$ac_ext <<_ACEOF
9933 /* end confdefs.h.  */
9934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9936 #define $ac_func innocuous_$ac_func
9937
9938 /* System header to define __stub macros and hopefully few prototypes,
9939     which can conflict with char $ac_func (); below.
9940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9941     <limits.h> exists even on freestanding compilers.  */
9942
9943 #ifdef __STDC__
9944 # include <limits.h>
9945 #else
9946 # include <assert.h>
9947 #endif
9948
9949 #undef $ac_func
9950
9951 /* Override any gcc2 internal prototype to avoid an error.  */
9952 #ifdef __cplusplus
9953 extern "C"
9954 {
9955 #endif
9956 /* We use char because int might match the return type of a gcc2
9957    builtin and then its argument prototype would still apply.  */
9958 char $ac_func ();
9959 /* The GNU C library defines this for functions which it implements
9960     to always fail with ENOSYS.  Some functions are actually named
9961     something starting with __ and the normal name is an alias.  */
9962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9963 choke me
9964 #else
9965 char (*f) () = $ac_func;
9966 #endif
9967 #ifdef __cplusplus
9968 }
9969 #endif
9970
9971 int
9972 main ()
9973 {
9974 return f != $ac_func;
9975   ;
9976   return 0;
9977 }
9978 _ACEOF
9979 rm -f conftest.$ac_objext conftest$ac_exeext
9980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9981   (eval $ac_link) 2>conftest.er1
9982   ac_status=$?
9983   grep -v '^ *+' conftest.er1 >conftest.err
9984   rm -f conftest.er1
9985   cat conftest.err >&5
9986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987   (exit $ac_status); } &&
9988          { ac_try='test -z "$ac_c_werror_flag"
9989                          || test ! -s conftest.err'
9990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9991   (eval $ac_try) 2>&5
9992   ac_status=$?
9993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994   (exit $ac_status); }; } &&
9995          { ac_try='test -s conftest$ac_exeext'
9996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997   (eval $ac_try) 2>&5
9998   ac_status=$?
9999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000   (exit $ac_status); }; }; then
10001   eval "$as_ac_var=yes"
10002 else
10003   echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10005
10006 eval "$as_ac_var=no"
10007 fi
10008 rm -f conftest.err conftest.$ac_objext \
10009       conftest$ac_exeext conftest.$ac_ext
10010 fi
10011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10013 if test `eval echo '${'$as_ac_var'}'` = yes; then
10014   cat >>confdefs.h <<_ACEOF
10015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10016 _ACEOF
10017
10018 fi
10019 done
10020
10021   else
10022
10023   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10024 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10025   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10026     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10027   echo $ECHO_N "(cached) $ECHO_C" >&6
10028 else
10029
10030
10031
10032       ac_ext=cc
10033 ac_cpp='$CXXCPP $CPPFLAGS'
10034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10037
10038       cat >conftest.$ac_ext <<_ACEOF
10039 /* confdefs.h.  */
10040 _ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h.  */
10044 #include <math.h>
10045 int
10046 main ()
10047 {
10048  _sincos(0, 0, 0);
10049   ;
10050   return 0;
10051 }
10052 _ACEOF
10053 rm -f conftest.$ac_objext
10054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10055   (eval $ac_compile) 2>conftest.er1
10056   ac_status=$?
10057   grep -v '^ *+' conftest.er1 >conftest.err
10058   rm -f conftest.er1
10059   cat conftest.err >&5
10060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061   (exit $ac_status); } &&
10062          { ac_try='test -z "$ac_cxx_werror_flag"
10063                          || test ! -s conftest.err'
10064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065   (eval $ac_try) 2>&5
10066   ac_status=$?
10067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068   (exit $ac_status); }; } &&
10069          { ac_try='test -s conftest.$ac_objext'
10070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10071   (eval $ac_try) 2>&5
10072   ac_status=$?
10073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074   (exit $ac_status); }; }; then
10075   glibcxx_cv_func__sincos_use=yes
10076 else
10077   echo "$as_me: failed program was:" >&5
10078 sed 's/^/| /' conftest.$ac_ext >&5
10079
10080 glibcxx_cv_func__sincos_use=no
10081 fi
10082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10083       ac_ext=c
10084 ac_cpp='$CPP $CPPFLAGS'
10085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10088
10089
10090 fi
10091
10092   fi
10093   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10094 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10095
10096     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10097
10098 for ac_func in _sincos
10099 do
10100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10101 echo "$as_me:$LINENO: checking for $ac_func" >&5
10102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10103 if eval "test \"\${$as_ac_var+set}\" = set"; then
10104   echo $ECHO_N "(cached) $ECHO_C" >&6
10105 else
10106   if test x$gcc_no_link = xyes; then
10107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10109    { (exit 1); exit 1; }; }
10110 fi
10111 cat >conftest.$ac_ext <<_ACEOF
10112 /* confdefs.h.  */
10113 _ACEOF
10114 cat confdefs.h >>conftest.$ac_ext
10115 cat >>conftest.$ac_ext <<_ACEOF
10116 /* end confdefs.h.  */
10117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10119 #define $ac_func innocuous_$ac_func
10120
10121 /* System header to define __stub macros and hopefully few prototypes,
10122     which can conflict with char $ac_func (); below.
10123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10124     <limits.h> exists even on freestanding compilers.  */
10125
10126 #ifdef __STDC__
10127 # include <limits.h>
10128 #else
10129 # include <assert.h>
10130 #endif
10131
10132 #undef $ac_func
10133
10134 /* Override any gcc2 internal prototype to avoid an error.  */
10135 #ifdef __cplusplus
10136 extern "C"
10137 {
10138 #endif
10139 /* We use char because int might match the return type of a gcc2
10140    builtin and then its argument prototype would still apply.  */
10141 char $ac_func ();
10142 /* The GNU C library defines this for functions which it implements
10143     to always fail with ENOSYS.  Some functions are actually named
10144     something starting with __ and the normal name is an alias.  */
10145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10146 choke me
10147 #else
10148 char (*f) () = $ac_func;
10149 #endif
10150 #ifdef __cplusplus
10151 }
10152 #endif
10153
10154 int
10155 main ()
10156 {
10157 return f != $ac_func;
10158   ;
10159   return 0;
10160 }
10161 _ACEOF
10162 rm -f conftest.$ac_objext conftest$ac_exeext
10163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10164   (eval $ac_link) 2>conftest.er1
10165   ac_status=$?
10166   grep -v '^ *+' conftest.er1 >conftest.err
10167   rm -f conftest.er1
10168   cat conftest.err >&5
10169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10170   (exit $ac_status); } &&
10171          { ac_try='test -z "$ac_c_werror_flag"
10172                          || test ! -s conftest.err'
10173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10174   (eval $ac_try) 2>&5
10175   ac_status=$?
10176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177   (exit $ac_status); }; } &&
10178          { ac_try='test -s conftest$ac_exeext'
10179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10180   (eval $ac_try) 2>&5
10181   ac_status=$?
10182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183   (exit $ac_status); }; }; then
10184   eval "$as_ac_var=yes"
10185 else
10186   echo "$as_me: failed program was:" >&5
10187 sed 's/^/| /' conftest.$ac_ext >&5
10188
10189 eval "$as_ac_var=no"
10190 fi
10191 rm -f conftest.err conftest.$ac_objext \
10192       conftest$ac_exeext conftest.$ac_ext
10193 fi
10194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10196 if test `eval echo '${'$as_ac_var'}'` = yes; then
10197   cat >>confdefs.h <<_ACEOF
10198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10199 _ACEOF
10200
10201 fi
10202 done
10203
10204     fi
10205   fi
10206
10207
10208
10209   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10210 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10211   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10212     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10213   echo $ECHO_N "(cached) $ECHO_C" >&6
10214 else
10215
10216
10217
10218       ac_ext=cc
10219 ac_cpp='$CXXCPP $CPPFLAGS'
10220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10223
10224       cat >conftest.$ac_ext <<_ACEOF
10225 /* confdefs.h.  */
10226 _ACEOF
10227 cat confdefs.h >>conftest.$ac_ext
10228 cat >>conftest.$ac_ext <<_ACEOF
10229 /* end confdefs.h.  */
10230 #include <math.h>
10231                       #ifdef HAVE_IEEEFP_H
10232                       #include <ieeefp.h>
10233                       #endif
10234
10235 int
10236 main ()
10237 {
10238  fpclass(0);
10239   ;
10240   return 0;
10241 }
10242 _ACEOF
10243 rm -f conftest.$ac_objext
10244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10245   (eval $ac_compile) 2>conftest.er1
10246   ac_status=$?
10247   grep -v '^ *+' conftest.er1 >conftest.err
10248   rm -f conftest.er1
10249   cat conftest.err >&5
10250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251   (exit $ac_status); } &&
10252          { ac_try='test -z "$ac_cxx_werror_flag"
10253                          || test ! -s conftest.err'
10254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255   (eval $ac_try) 2>&5
10256   ac_status=$?
10257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258   (exit $ac_status); }; } &&
10259          { ac_try='test -s conftest.$ac_objext'
10260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10261   (eval $ac_try) 2>&5
10262   ac_status=$?
10263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264   (exit $ac_status); }; }; then
10265   glibcxx_cv_func_fpclass_use=yes
10266 else
10267   echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10269
10270 glibcxx_cv_func_fpclass_use=no
10271 fi
10272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10273       ac_ext=c
10274 ac_cpp='$CPP $CPPFLAGS'
10275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10278
10279
10280 fi
10281
10282   fi
10283   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10284 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10285
10286   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10287
10288 for ac_func in fpclass
10289 do
10290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10291 echo "$as_me:$LINENO: checking for $ac_func" >&5
10292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10293 if eval "test \"\${$as_ac_var+set}\" = set"; then
10294   echo $ECHO_N "(cached) $ECHO_C" >&6
10295 else
10296   if test x$gcc_no_link = xyes; then
10297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10299    { (exit 1); exit 1; }; }
10300 fi
10301 cat >conftest.$ac_ext <<_ACEOF
10302 /* confdefs.h.  */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h.  */
10307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10309 #define $ac_func innocuous_$ac_func
10310
10311 /* System header to define __stub macros and hopefully few prototypes,
10312     which can conflict with char $ac_func (); below.
10313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10314     <limits.h> exists even on freestanding compilers.  */
10315
10316 #ifdef __STDC__
10317 # include <limits.h>
10318 #else
10319 # include <assert.h>
10320 #endif
10321
10322 #undef $ac_func
10323
10324 /* Override any gcc2 internal prototype to avoid an error.  */
10325 #ifdef __cplusplus
10326 extern "C"
10327 {
10328 #endif
10329 /* We use char because int might match the return type of a gcc2
10330    builtin and then its argument prototype would still apply.  */
10331 char $ac_func ();
10332 /* The GNU C library defines this for functions which it implements
10333     to always fail with ENOSYS.  Some functions are actually named
10334     something starting with __ and the normal name is an alias.  */
10335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10336 choke me
10337 #else
10338 char (*f) () = $ac_func;
10339 #endif
10340 #ifdef __cplusplus
10341 }
10342 #endif
10343
10344 int
10345 main ()
10346 {
10347 return f != $ac_func;
10348   ;
10349   return 0;
10350 }
10351 _ACEOF
10352 rm -f conftest.$ac_objext conftest$ac_exeext
10353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10354   (eval $ac_link) 2>conftest.er1
10355   ac_status=$?
10356   grep -v '^ *+' conftest.er1 >conftest.err
10357   rm -f conftest.er1
10358   cat conftest.err >&5
10359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360   (exit $ac_status); } &&
10361          { ac_try='test -z "$ac_c_werror_flag"
10362                          || test ! -s conftest.err'
10363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364   (eval $ac_try) 2>&5
10365   ac_status=$?
10366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367   (exit $ac_status); }; } &&
10368          { ac_try='test -s conftest$ac_exeext'
10369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10370   (eval $ac_try) 2>&5
10371   ac_status=$?
10372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373   (exit $ac_status); }; }; then
10374   eval "$as_ac_var=yes"
10375 else
10376   echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.$ac_ext >&5
10378
10379 eval "$as_ac_var=no"
10380 fi
10381 rm -f conftest.err conftest.$ac_objext \
10382       conftest$ac_exeext conftest.$ac_ext
10383 fi
10384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10386 if test `eval echo '${'$as_ac_var'}'` = yes; then
10387   cat >>confdefs.h <<_ACEOF
10388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10389 _ACEOF
10390
10391 fi
10392 done
10393
10394   else
10395
10396   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10397 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10398   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10399     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10400   echo $ECHO_N "(cached) $ECHO_C" >&6
10401 else
10402
10403
10404
10405       ac_ext=cc
10406 ac_cpp='$CXXCPP $CPPFLAGS'
10407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10410
10411       cat >conftest.$ac_ext <<_ACEOF
10412 /* confdefs.h.  */
10413 _ACEOF
10414 cat confdefs.h >>conftest.$ac_ext
10415 cat >>conftest.$ac_ext <<_ACEOF
10416 /* end confdefs.h.  */
10417 #include <math.h>
10418                       #ifdef HAVE_IEEEFP_H
10419                       #include <ieeefp.h>
10420                       #endif
10421
10422 int
10423 main ()
10424 {
10425  _fpclass(0);
10426   ;
10427   return 0;
10428 }
10429 _ACEOF
10430 rm -f conftest.$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432   (eval $ac_compile) 2>conftest.er1
10433   ac_status=$?
10434   grep -v '^ *+' conftest.er1 >conftest.err
10435   rm -f conftest.er1
10436   cat conftest.err >&5
10437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438   (exit $ac_status); } &&
10439          { ac_try='test -z "$ac_cxx_werror_flag"
10440                          || test ! -s conftest.err'
10441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10442   (eval $ac_try) 2>&5
10443   ac_status=$?
10444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10445   (exit $ac_status); }; } &&
10446          { ac_try='test -s conftest.$ac_objext'
10447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448   (eval $ac_try) 2>&5
10449   ac_status=$?
10450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451   (exit $ac_status); }; }; then
10452   glibcxx_cv_func__fpclass_use=yes
10453 else
10454   echo "$as_me: failed program was:" >&5
10455 sed 's/^/| /' conftest.$ac_ext >&5
10456
10457 glibcxx_cv_func__fpclass_use=no
10458 fi
10459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10460       ac_ext=c
10461 ac_cpp='$CPP $CPPFLAGS'
10462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10465
10466
10467 fi
10468
10469   fi
10470   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10471 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10472
10473     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10474
10475 for ac_func in _fpclass
10476 do
10477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10478 echo "$as_me:$LINENO: checking for $ac_func" >&5
10479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10480 if eval "test \"\${$as_ac_var+set}\" = set"; then
10481   echo $ECHO_N "(cached) $ECHO_C" >&6
10482 else
10483   if test x$gcc_no_link = xyes; then
10484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10486    { (exit 1); exit 1; }; }
10487 fi
10488 cat >conftest.$ac_ext <<_ACEOF
10489 /* confdefs.h.  */
10490 _ACEOF
10491 cat confdefs.h >>conftest.$ac_ext
10492 cat >>conftest.$ac_ext <<_ACEOF
10493 /* end confdefs.h.  */
10494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10496 #define $ac_func innocuous_$ac_func
10497
10498 /* System header to define __stub macros and hopefully few prototypes,
10499     which can conflict with char $ac_func (); below.
10500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10501     <limits.h> exists even on freestanding compilers.  */
10502
10503 #ifdef __STDC__
10504 # include <limits.h>
10505 #else
10506 # include <assert.h>
10507 #endif
10508
10509 #undef $ac_func
10510
10511 /* Override any gcc2 internal prototype to avoid an error.  */
10512 #ifdef __cplusplus
10513 extern "C"
10514 {
10515 #endif
10516 /* We use char because int might match the return type of a gcc2
10517    builtin and then its argument prototype would still apply.  */
10518 char $ac_func ();
10519 /* The GNU C library defines this for functions which it implements
10520     to always fail with ENOSYS.  Some functions are actually named
10521     something starting with __ and the normal name is an alias.  */
10522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10523 choke me
10524 #else
10525 char (*f) () = $ac_func;
10526 #endif
10527 #ifdef __cplusplus
10528 }
10529 #endif
10530
10531 int
10532 main ()
10533 {
10534 return f != $ac_func;
10535   ;
10536   return 0;
10537 }
10538 _ACEOF
10539 rm -f conftest.$ac_objext conftest$ac_exeext
10540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10541   (eval $ac_link) 2>conftest.er1
10542   ac_status=$?
10543   grep -v '^ *+' conftest.er1 >conftest.err
10544   rm -f conftest.er1
10545   cat conftest.err >&5
10546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547   (exit $ac_status); } &&
10548          { ac_try='test -z "$ac_c_werror_flag"
10549                          || test ! -s conftest.err'
10550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551   (eval $ac_try) 2>&5
10552   ac_status=$?
10553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554   (exit $ac_status); }; } &&
10555          { ac_try='test -s conftest$ac_exeext'
10556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557   (eval $ac_try) 2>&5
10558   ac_status=$?
10559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560   (exit $ac_status); }; }; then
10561   eval "$as_ac_var=yes"
10562 else
10563   echo "$as_me: failed program was:" >&5
10564 sed 's/^/| /' conftest.$ac_ext >&5
10565
10566 eval "$as_ac_var=no"
10567 fi
10568 rm -f conftest.err conftest.$ac_objext \
10569       conftest$ac_exeext conftest.$ac_ext
10570 fi
10571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10573 if test `eval echo '${'$as_ac_var'}'` = yes; then
10574   cat >>confdefs.h <<_ACEOF
10575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10576 _ACEOF
10577
10578 fi
10579 done
10580
10581     fi
10582   fi
10583
10584
10585
10586   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10587 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10588   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10589     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10590   echo $ECHO_N "(cached) $ECHO_C" >&6
10591 else
10592
10593
10594
10595       ac_ext=cc
10596 ac_cpp='$CXXCPP $CPPFLAGS'
10597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10600
10601       cat >conftest.$ac_ext <<_ACEOF
10602 /* confdefs.h.  */
10603 _ACEOF
10604 cat confdefs.h >>conftest.$ac_ext
10605 cat >>conftest.$ac_ext <<_ACEOF
10606 /* end confdefs.h.  */
10607 #include <math.h>
10608                       #ifdef HAVE_IEEEFP_H
10609                       #include <ieeefp.h>
10610                       #endif
10611
10612 int
10613 main ()
10614 {
10615  qfpclass(0);
10616   ;
10617   return 0;
10618 }
10619 _ACEOF
10620 rm -f conftest.$ac_objext
10621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10622   (eval $ac_compile) 2>conftest.er1
10623   ac_status=$?
10624   grep -v '^ *+' conftest.er1 >conftest.err
10625   rm -f conftest.er1
10626   cat conftest.err >&5
10627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628   (exit $ac_status); } &&
10629          { ac_try='test -z "$ac_cxx_werror_flag"
10630                          || test ! -s conftest.err'
10631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632   (eval $ac_try) 2>&5
10633   ac_status=$?
10634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635   (exit $ac_status); }; } &&
10636          { ac_try='test -s conftest.$ac_objext'
10637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10638   (eval $ac_try) 2>&5
10639   ac_status=$?
10640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641   (exit $ac_status); }; }; then
10642   glibcxx_cv_func_qfpclass_use=yes
10643 else
10644   echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10646
10647 glibcxx_cv_func_qfpclass_use=no
10648 fi
10649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10650       ac_ext=c
10651 ac_cpp='$CPP $CPPFLAGS'
10652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10655
10656
10657 fi
10658
10659   fi
10660   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10661 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10662
10663   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10664
10665 for ac_func in qfpclass
10666 do
10667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10668 echo "$as_me:$LINENO: checking for $ac_func" >&5
10669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10670 if eval "test \"\${$as_ac_var+set}\" = set"; then
10671   echo $ECHO_N "(cached) $ECHO_C" >&6
10672 else
10673   if test x$gcc_no_link = xyes; then
10674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10676    { (exit 1); exit 1; }; }
10677 fi
10678 cat >conftest.$ac_ext <<_ACEOF
10679 /* confdefs.h.  */
10680 _ACEOF
10681 cat confdefs.h >>conftest.$ac_ext
10682 cat >>conftest.$ac_ext <<_ACEOF
10683 /* end confdefs.h.  */
10684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10685    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10686 #define $ac_func innocuous_$ac_func
10687
10688 /* System header to define __stub macros and hopefully few prototypes,
10689     which can conflict with char $ac_func (); below.
10690     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10691     <limits.h> exists even on freestanding compilers.  */
10692
10693 #ifdef __STDC__
10694 # include <limits.h>
10695 #else
10696 # include <assert.h>
10697 #endif
10698
10699 #undef $ac_func
10700
10701 /* Override any gcc2 internal prototype to avoid an error.  */
10702 #ifdef __cplusplus
10703 extern "C"
10704 {
10705 #endif
10706 /* We use char because int might match the return type of a gcc2
10707    builtin and then its argument prototype would still apply.  */
10708 char $ac_func ();
10709 /* The GNU C library defines this for functions which it implements
10710     to always fail with ENOSYS.  Some functions are actually named
10711     something starting with __ and the normal name is an alias.  */
10712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10713 choke me
10714 #else
10715 char (*f) () = $ac_func;
10716 #endif
10717 #ifdef __cplusplus
10718 }
10719 #endif
10720
10721 int
10722 main ()
10723 {
10724 return f != $ac_func;
10725   ;
10726   return 0;
10727 }
10728 _ACEOF
10729 rm -f conftest.$ac_objext conftest$ac_exeext
10730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10731   (eval $ac_link) 2>conftest.er1
10732   ac_status=$?
10733   grep -v '^ *+' conftest.er1 >conftest.err
10734   rm -f conftest.er1
10735   cat conftest.err >&5
10736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737   (exit $ac_status); } &&
10738          { ac_try='test -z "$ac_c_werror_flag"
10739                          || test ! -s conftest.err'
10740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10741   (eval $ac_try) 2>&5
10742   ac_status=$?
10743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744   (exit $ac_status); }; } &&
10745          { ac_try='test -s conftest$ac_exeext'
10746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747   (eval $ac_try) 2>&5
10748   ac_status=$?
10749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750   (exit $ac_status); }; }; then
10751   eval "$as_ac_var=yes"
10752 else
10753   echo "$as_me: failed program was:" >&5
10754 sed 's/^/| /' conftest.$ac_ext >&5
10755
10756 eval "$as_ac_var=no"
10757 fi
10758 rm -f conftest.err conftest.$ac_objext \
10759       conftest$ac_exeext conftest.$ac_ext
10760 fi
10761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10763 if test `eval echo '${'$as_ac_var'}'` = yes; then
10764   cat >>confdefs.h <<_ACEOF
10765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10766 _ACEOF
10767
10768 fi
10769 done
10770
10771   else
10772
10773   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10774 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10775   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10776     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10777   echo $ECHO_N "(cached) $ECHO_C" >&6
10778 else
10779
10780
10781
10782       ac_ext=cc
10783 ac_cpp='$CXXCPP $CPPFLAGS'
10784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10787
10788       cat >conftest.$ac_ext <<_ACEOF
10789 /* confdefs.h.  */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h.  */
10794 #include <math.h>
10795                       #ifdef HAVE_IEEEFP_H
10796                       #include <ieeefp.h>
10797                       #endif
10798
10799 int
10800 main ()
10801 {
10802  _qfpclass(0);
10803   ;
10804   return 0;
10805 }
10806 _ACEOF
10807 rm -f conftest.$ac_objext
10808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10809   (eval $ac_compile) 2>conftest.er1
10810   ac_status=$?
10811   grep -v '^ *+' conftest.er1 >conftest.err
10812   rm -f conftest.er1
10813   cat conftest.err >&5
10814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815   (exit $ac_status); } &&
10816          { ac_try='test -z "$ac_cxx_werror_flag"
10817                          || test ! -s conftest.err'
10818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819   (eval $ac_try) 2>&5
10820   ac_status=$?
10821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822   (exit $ac_status); }; } &&
10823          { ac_try='test -s conftest.$ac_objext'
10824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825   (eval $ac_try) 2>&5
10826   ac_status=$?
10827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828   (exit $ac_status); }; }; then
10829   glibcxx_cv_func__qfpclass_use=yes
10830 else
10831   echo "$as_me: failed program was:" >&5
10832 sed 's/^/| /' conftest.$ac_ext >&5
10833
10834 glibcxx_cv_func__qfpclass_use=no
10835 fi
10836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10837       ac_ext=c
10838 ac_cpp='$CPP $CPPFLAGS'
10839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10842
10843
10844 fi
10845
10846   fi
10847   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10848 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10849
10850     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10851
10852 for ac_func in _qfpclass
10853 do
10854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10855 echo "$as_me:$LINENO: checking for $ac_func" >&5
10856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10857 if eval "test \"\${$as_ac_var+set}\" = set"; then
10858   echo $ECHO_N "(cached) $ECHO_C" >&6
10859 else
10860   if test x$gcc_no_link = xyes; then
10861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10863    { (exit 1); exit 1; }; }
10864 fi
10865 cat >conftest.$ac_ext <<_ACEOF
10866 /* confdefs.h.  */
10867 _ACEOF
10868 cat confdefs.h >>conftest.$ac_ext
10869 cat >>conftest.$ac_ext <<_ACEOF
10870 /* end confdefs.h.  */
10871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10873 #define $ac_func innocuous_$ac_func
10874
10875 /* System header to define __stub macros and hopefully few prototypes,
10876     which can conflict with char $ac_func (); below.
10877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10878     <limits.h> exists even on freestanding compilers.  */
10879
10880 #ifdef __STDC__
10881 # include <limits.h>
10882 #else
10883 # include <assert.h>
10884 #endif
10885
10886 #undef $ac_func
10887
10888 /* Override any gcc2 internal prototype to avoid an error.  */
10889 #ifdef __cplusplus
10890 extern "C"
10891 {
10892 #endif
10893 /* We use char because int might match the return type of a gcc2
10894    builtin and then its argument prototype would still apply.  */
10895 char $ac_func ();
10896 /* The GNU C library defines this for functions which it implements
10897     to always fail with ENOSYS.  Some functions are actually named
10898     something starting with __ and the normal name is an alias.  */
10899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10900 choke me
10901 #else
10902 char (*f) () = $ac_func;
10903 #endif
10904 #ifdef __cplusplus
10905 }
10906 #endif
10907
10908 int
10909 main ()
10910 {
10911 return f != $ac_func;
10912   ;
10913   return 0;
10914 }
10915 _ACEOF
10916 rm -f conftest.$ac_objext conftest$ac_exeext
10917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10918   (eval $ac_link) 2>conftest.er1
10919   ac_status=$?
10920   grep -v '^ *+' conftest.er1 >conftest.err
10921   rm -f conftest.er1
10922   cat conftest.err >&5
10923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924   (exit $ac_status); } &&
10925          { ac_try='test -z "$ac_c_werror_flag"
10926                          || test ! -s conftest.err'
10927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10928   (eval $ac_try) 2>&5
10929   ac_status=$?
10930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931   (exit $ac_status); }; } &&
10932          { ac_try='test -s conftest$ac_exeext'
10933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10934   (eval $ac_try) 2>&5
10935   ac_status=$?
10936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937   (exit $ac_status); }; }; then
10938   eval "$as_ac_var=yes"
10939 else
10940   echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.$ac_ext >&5
10942
10943 eval "$as_ac_var=no"
10944 fi
10945 rm -f conftest.err conftest.$ac_objext \
10946       conftest$ac_exeext conftest.$ac_ext
10947 fi
10948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10950 if test `eval echo '${'$as_ac_var'}'` = yes; then
10951   cat >>confdefs.h <<_ACEOF
10952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10953 _ACEOF
10954
10955 fi
10956 done
10957
10958     fi
10959   fi
10960
10961
10962
10963   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10964 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10965   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10966     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10967   echo $ECHO_N "(cached) $ECHO_C" >&6
10968 else
10969
10970
10971
10972       ac_ext=cc
10973 ac_cpp='$CXXCPP $CPPFLAGS'
10974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10977
10978       cat >conftest.$ac_ext <<_ACEOF
10979 /* confdefs.h.  */
10980 _ACEOF
10981 cat confdefs.h >>conftest.$ac_ext
10982 cat >>conftest.$ac_ext <<_ACEOF
10983 /* end confdefs.h.  */
10984 #include <math.h>
10985 int
10986 main ()
10987 {
10988  hypot(0, 0);
10989   ;
10990   return 0;
10991 }
10992 _ACEOF
10993 rm -f conftest.$ac_objext
10994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10995   (eval $ac_compile) 2>conftest.er1
10996   ac_status=$?
10997   grep -v '^ *+' conftest.er1 >conftest.err
10998   rm -f conftest.er1
10999   cat conftest.err >&5
11000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001   (exit $ac_status); } &&
11002          { ac_try='test -z "$ac_cxx_werror_flag"
11003                          || test ! -s conftest.err'
11004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11005   (eval $ac_try) 2>&5
11006   ac_status=$?
11007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008   (exit $ac_status); }; } &&
11009          { ac_try='test -s conftest.$ac_objext'
11010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011   (eval $ac_try) 2>&5
11012   ac_status=$?
11013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014   (exit $ac_status); }; }; then
11015   glibcxx_cv_func_hypot_use=yes
11016 else
11017   echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11019
11020 glibcxx_cv_func_hypot_use=no
11021 fi
11022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11023       ac_ext=c
11024 ac_cpp='$CPP $CPPFLAGS'
11025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11028
11029
11030 fi
11031
11032   fi
11033   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11034 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11035
11036   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11037
11038 for ac_func in hypot
11039 do
11040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11041 echo "$as_me:$LINENO: checking for $ac_func" >&5
11042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11043 if eval "test \"\${$as_ac_var+set}\" = set"; then
11044   echo $ECHO_N "(cached) $ECHO_C" >&6
11045 else
11046   if test x$gcc_no_link = xyes; then
11047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11049    { (exit 1); exit 1; }; }
11050 fi
11051 cat >conftest.$ac_ext <<_ACEOF
11052 /* confdefs.h.  */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h.  */
11057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11059 #define $ac_func innocuous_$ac_func
11060
11061 /* System header to define __stub macros and hopefully few prototypes,
11062     which can conflict with char $ac_func (); below.
11063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11064     <limits.h> exists even on freestanding compilers.  */
11065
11066 #ifdef __STDC__
11067 # include <limits.h>
11068 #else
11069 # include <assert.h>
11070 #endif
11071
11072 #undef $ac_func
11073
11074 /* Override any gcc2 internal prototype to avoid an error.  */
11075 #ifdef __cplusplus
11076 extern "C"
11077 {
11078 #endif
11079 /* We use char because int might match the return type of a gcc2
11080    builtin and then its argument prototype would still apply.  */
11081 char $ac_func ();
11082 /* The GNU C library defines this for functions which it implements
11083     to always fail with ENOSYS.  Some functions are actually named
11084     something starting with __ and the normal name is an alias.  */
11085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11086 choke me
11087 #else
11088 char (*f) () = $ac_func;
11089 #endif
11090 #ifdef __cplusplus
11091 }
11092 #endif
11093
11094 int
11095 main ()
11096 {
11097 return f != $ac_func;
11098   ;
11099   return 0;
11100 }
11101 _ACEOF
11102 rm -f conftest.$ac_objext conftest$ac_exeext
11103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11104   (eval $ac_link) 2>conftest.er1
11105   ac_status=$?
11106   grep -v '^ *+' conftest.er1 >conftest.err
11107   rm -f conftest.er1
11108   cat conftest.err >&5
11109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110   (exit $ac_status); } &&
11111          { ac_try='test -z "$ac_c_werror_flag"
11112                          || test ! -s conftest.err'
11113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114   (eval $ac_try) 2>&5
11115   ac_status=$?
11116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117   (exit $ac_status); }; } &&
11118          { ac_try='test -s conftest$ac_exeext'
11119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120   (eval $ac_try) 2>&5
11121   ac_status=$?
11122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123   (exit $ac_status); }; }; then
11124   eval "$as_ac_var=yes"
11125 else
11126   echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.$ac_ext >&5
11128
11129 eval "$as_ac_var=no"
11130 fi
11131 rm -f conftest.err conftest.$ac_objext \
11132       conftest$ac_exeext conftest.$ac_ext
11133 fi
11134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11136 if test `eval echo '${'$as_ac_var'}'` = yes; then
11137   cat >>confdefs.h <<_ACEOF
11138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11139 _ACEOF
11140
11141 fi
11142 done
11143
11144   else
11145
11146   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11147 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11148   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11149     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11150   echo $ECHO_N "(cached) $ECHO_C" >&6
11151 else
11152
11153
11154
11155       ac_ext=cc
11156 ac_cpp='$CXXCPP $CPPFLAGS'
11157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11160
11161       cat >conftest.$ac_ext <<_ACEOF
11162 /* confdefs.h.  */
11163 _ACEOF
11164 cat confdefs.h >>conftest.$ac_ext
11165 cat >>conftest.$ac_ext <<_ACEOF
11166 /* end confdefs.h.  */
11167 #include <math.h>
11168 int
11169 main ()
11170 {
11171  _hypot(0, 0);
11172   ;
11173   return 0;
11174 }
11175 _ACEOF
11176 rm -f conftest.$ac_objext
11177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11178   (eval $ac_compile) 2>conftest.er1
11179   ac_status=$?
11180   grep -v '^ *+' conftest.er1 >conftest.err
11181   rm -f conftest.er1
11182   cat conftest.err >&5
11183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11184   (exit $ac_status); } &&
11185          { ac_try='test -z "$ac_cxx_werror_flag"
11186                          || test ! -s conftest.err'
11187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11188   (eval $ac_try) 2>&5
11189   ac_status=$?
11190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191   (exit $ac_status); }; } &&
11192          { ac_try='test -s conftest.$ac_objext'
11193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11194   (eval $ac_try) 2>&5
11195   ac_status=$?
11196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197   (exit $ac_status); }; }; then
11198   glibcxx_cv_func__hypot_use=yes
11199 else
11200   echo "$as_me: failed program was:" >&5
11201 sed 's/^/| /' conftest.$ac_ext >&5
11202
11203 glibcxx_cv_func__hypot_use=no
11204 fi
11205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11206       ac_ext=c
11207 ac_cpp='$CPP $CPPFLAGS'
11208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11211
11212
11213 fi
11214
11215   fi
11216   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11217 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11218
11219     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11220
11221 for ac_func in _hypot
11222 do
11223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11224 echo "$as_me:$LINENO: checking for $ac_func" >&5
11225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11226 if eval "test \"\${$as_ac_var+set}\" = set"; then
11227   echo $ECHO_N "(cached) $ECHO_C" >&6
11228 else
11229   if test x$gcc_no_link = xyes; then
11230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11232    { (exit 1); exit 1; }; }
11233 fi
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h.  */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h.  */
11240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11242 #define $ac_func innocuous_$ac_func
11243
11244 /* System header to define __stub macros and hopefully few prototypes,
11245     which can conflict with char $ac_func (); below.
11246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11247     <limits.h> exists even on freestanding compilers.  */
11248
11249 #ifdef __STDC__
11250 # include <limits.h>
11251 #else
11252 # include <assert.h>
11253 #endif
11254
11255 #undef $ac_func
11256
11257 /* Override any gcc2 internal prototype to avoid an error.  */
11258 #ifdef __cplusplus
11259 extern "C"
11260 {
11261 #endif
11262 /* We use char because int might match the return type of a gcc2
11263    builtin and then its argument prototype would still apply.  */
11264 char $ac_func ();
11265 /* The GNU C library defines this for functions which it implements
11266     to always fail with ENOSYS.  Some functions are actually named
11267     something starting with __ and the normal name is an alias.  */
11268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11269 choke me
11270 #else
11271 char (*f) () = $ac_func;
11272 #endif
11273 #ifdef __cplusplus
11274 }
11275 #endif
11276
11277 int
11278 main ()
11279 {
11280 return f != $ac_func;
11281   ;
11282   return 0;
11283 }
11284 _ACEOF
11285 rm -f conftest.$ac_objext conftest$ac_exeext
11286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11287   (eval $ac_link) 2>conftest.er1
11288   ac_status=$?
11289   grep -v '^ *+' conftest.er1 >conftest.err
11290   rm -f conftest.er1
11291   cat conftest.err >&5
11292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293   (exit $ac_status); } &&
11294          { ac_try='test -z "$ac_c_werror_flag"
11295                          || test ! -s conftest.err'
11296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297   (eval $ac_try) 2>&5
11298   ac_status=$?
11299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300   (exit $ac_status); }; } &&
11301          { ac_try='test -s conftest$ac_exeext'
11302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303   (eval $ac_try) 2>&5
11304   ac_status=$?
11305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306   (exit $ac_status); }; }; then
11307   eval "$as_ac_var=yes"
11308 else
11309   echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11311
11312 eval "$as_ac_var=no"
11313 fi
11314 rm -f conftest.err conftest.$ac_objext \
11315       conftest$ac_exeext conftest.$ac_ext
11316 fi
11317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11319 if test `eval echo '${'$as_ac_var'}'` = yes; then
11320   cat >>confdefs.h <<_ACEOF
11321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11322 _ACEOF
11323
11324 fi
11325 done
11326
11327     fi
11328   fi
11329
11330
11331
11332   echo "$as_me:$LINENO: checking for float trig functions" >&5
11333 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11334   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11335   echo $ECHO_N "(cached) $ECHO_C" >&6
11336 else
11337
11338
11339
11340     ac_ext=cc
11341 ac_cpp='$CXXCPP $CPPFLAGS'
11342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11345
11346     cat >conftest.$ac_ext <<_ACEOF
11347 /* confdefs.h.  */
11348 _ACEOF
11349 cat confdefs.h >>conftest.$ac_ext
11350 cat >>conftest.$ac_ext <<_ACEOF
11351 /* end confdefs.h.  */
11352 #include <math.h>
11353 int
11354 main ()
11355 {
11356  `for x in acosf asinf atanf \
11357                                           cosf sinf tanf \
11358                                           coshf sinhf tanhf; do echo "$x (0);"; done`
11359   ;
11360   return 0;
11361 }
11362 _ACEOF
11363 rm -f conftest.$ac_objext
11364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11365   (eval $ac_compile) 2>conftest.er1
11366   ac_status=$?
11367   grep -v '^ *+' conftest.er1 >conftest.err
11368   rm -f conftest.er1
11369   cat conftest.err >&5
11370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371   (exit $ac_status); } &&
11372          { ac_try='test -z "$ac_cxx_werror_flag"
11373                          || test ! -s conftest.err'
11374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375   (eval $ac_try) 2>&5
11376   ac_status=$?
11377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378   (exit $ac_status); }; } &&
11379          { ac_try='test -s conftest.$ac_objext'
11380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381   (eval $ac_try) 2>&5
11382   ac_status=$?
11383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384   (exit $ac_status); }; }; then
11385   glibcxx_cv_func_float_trig_use=yes
11386 else
11387   echo "$as_me: failed program was:" >&5
11388 sed 's/^/| /' conftest.$ac_ext >&5
11389
11390 glibcxx_cv_func_float_trig_use=no
11391 fi
11392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11393     ac_ext=c
11394 ac_cpp='$CPP $CPPFLAGS'
11395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11398
11399 fi
11400
11401   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11402 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11403   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413 for ac_func in acosf asinf atanf \
11414                                           cosf sinf tanf \
11415                                           coshf sinhf tanhf
11416 do
11417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11418 echo "$as_me:$LINENO: checking for $ac_func" >&5
11419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11420 if eval "test \"\${$as_ac_var+set}\" = set"; then
11421   echo $ECHO_N "(cached) $ECHO_C" >&6
11422 else
11423   if test x$gcc_no_link = xyes; then
11424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11426    { (exit 1); exit 1; }; }
11427 fi
11428 cat >conftest.$ac_ext <<_ACEOF
11429 /* confdefs.h.  */
11430 _ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h.  */
11434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11436 #define $ac_func innocuous_$ac_func
11437
11438 /* System header to define __stub macros and hopefully few prototypes,
11439     which can conflict with char $ac_func (); below.
11440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11441     <limits.h> exists even on freestanding compilers.  */
11442
11443 #ifdef __STDC__
11444 # include <limits.h>
11445 #else
11446 # include <assert.h>
11447 #endif
11448
11449 #undef $ac_func
11450
11451 /* Override any gcc2 internal prototype to avoid an error.  */
11452 #ifdef __cplusplus
11453 extern "C"
11454 {
11455 #endif
11456 /* We use char because int might match the return type of a gcc2
11457    builtin and then its argument prototype would still apply.  */
11458 char $ac_func ();
11459 /* The GNU C library defines this for functions which it implements
11460     to always fail with ENOSYS.  Some functions are actually named
11461     something starting with __ and the normal name is an alias.  */
11462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11463 choke me
11464 #else
11465 char (*f) () = $ac_func;
11466 #endif
11467 #ifdef __cplusplus
11468 }
11469 #endif
11470
11471 int
11472 main ()
11473 {
11474 return f != $ac_func;
11475   ;
11476   return 0;
11477 }
11478 _ACEOF
11479 rm -f conftest.$ac_objext conftest$ac_exeext
11480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11481   (eval $ac_link) 2>conftest.er1
11482   ac_status=$?
11483   grep -v '^ *+' conftest.er1 >conftest.err
11484   rm -f conftest.er1
11485   cat conftest.err >&5
11486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487   (exit $ac_status); } &&
11488          { ac_try='test -z "$ac_c_werror_flag"
11489                          || test ! -s conftest.err'
11490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491   (eval $ac_try) 2>&5
11492   ac_status=$?
11493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494   (exit $ac_status); }; } &&
11495          { ac_try='test -s conftest$ac_exeext'
11496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11497   (eval $ac_try) 2>&5
11498   ac_status=$?
11499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500   (exit $ac_status); }; }; then
11501   eval "$as_ac_var=yes"
11502 else
11503   echo "$as_me: failed program was:" >&5
11504 sed 's/^/| /' conftest.$ac_ext >&5
11505
11506 eval "$as_ac_var=no"
11507 fi
11508 rm -f conftest.err conftest.$ac_objext \
11509       conftest$ac_exeext conftest.$ac_ext
11510 fi
11511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11513 if test `eval echo '${'$as_ac_var'}'` = yes; then
11514   cat >>confdefs.h <<_ACEOF
11515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11516 _ACEOF
11517
11518 fi
11519 done
11520
11521   fi
11522
11523
11524   echo "$as_me:$LINENO: checking for float round functions" >&5
11525 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11526   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11527   echo $ECHO_N "(cached) $ECHO_C" >&6
11528 else
11529
11530
11531
11532     ac_ext=cc
11533 ac_cpp='$CXXCPP $CPPFLAGS'
11534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11537
11538     cat >conftest.$ac_ext <<_ACEOF
11539 /* confdefs.h.  */
11540 _ACEOF
11541 cat confdefs.h >>conftest.$ac_ext
11542 cat >>conftest.$ac_ext <<_ACEOF
11543 /* end confdefs.h.  */
11544 #include <math.h>
11545 int
11546 main ()
11547 {
11548  `for x in ceilf floorf; do echo "$x (0);"; done`
11549   ;
11550   return 0;
11551 }
11552 _ACEOF
11553 rm -f conftest.$ac_objext
11554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11555   (eval $ac_compile) 2>conftest.er1
11556   ac_status=$?
11557   grep -v '^ *+' conftest.er1 >conftest.err
11558   rm -f conftest.er1
11559   cat conftest.err >&5
11560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561   (exit $ac_status); } &&
11562          { ac_try='test -z "$ac_cxx_werror_flag"
11563                          || test ! -s conftest.err'
11564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11565   (eval $ac_try) 2>&5
11566   ac_status=$?
11567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568   (exit $ac_status); }; } &&
11569          { ac_try='test -s conftest.$ac_objext'
11570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571   (eval $ac_try) 2>&5
11572   ac_status=$?
11573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574   (exit $ac_status); }; }; then
11575   glibcxx_cv_func_float_round_use=yes
11576 else
11577   echo "$as_me: failed program was:" >&5
11578 sed 's/^/| /' conftest.$ac_ext >&5
11579
11580 glibcxx_cv_func_float_round_use=no
11581 fi
11582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11583     ac_ext=c
11584 ac_cpp='$CPP $CPPFLAGS'
11585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11588
11589 fi
11590
11591   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11592 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11593   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11594
11595
11596 for ac_func in ceilf floorf
11597 do
11598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11599 echo "$as_me:$LINENO: checking for $ac_func" >&5
11600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11601 if eval "test \"\${$as_ac_var+set}\" = set"; then
11602   echo $ECHO_N "(cached) $ECHO_C" >&6
11603 else
11604   if test x$gcc_no_link = xyes; then
11605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11607    { (exit 1); exit 1; }; }
11608 fi
11609 cat >conftest.$ac_ext <<_ACEOF
11610 /* confdefs.h.  */
11611 _ACEOF
11612 cat confdefs.h >>conftest.$ac_ext
11613 cat >>conftest.$ac_ext <<_ACEOF
11614 /* end confdefs.h.  */
11615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11617 #define $ac_func innocuous_$ac_func
11618
11619 /* System header to define __stub macros and hopefully few prototypes,
11620     which can conflict with char $ac_func (); below.
11621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11622     <limits.h> exists even on freestanding compilers.  */
11623
11624 #ifdef __STDC__
11625 # include <limits.h>
11626 #else
11627 # include <assert.h>
11628 #endif
11629
11630 #undef $ac_func
11631
11632 /* Override any gcc2 internal prototype to avoid an error.  */
11633 #ifdef __cplusplus
11634 extern "C"
11635 {
11636 #endif
11637 /* We use char because int might match the return type of a gcc2
11638    builtin and then its argument prototype would still apply.  */
11639 char $ac_func ();
11640 /* The GNU C library defines this for functions which it implements
11641     to always fail with ENOSYS.  Some functions are actually named
11642     something starting with __ and the normal name is an alias.  */
11643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11644 choke me
11645 #else
11646 char (*f) () = $ac_func;
11647 #endif
11648 #ifdef __cplusplus
11649 }
11650 #endif
11651
11652 int
11653 main ()
11654 {
11655 return f != $ac_func;
11656   ;
11657   return 0;
11658 }
11659 _ACEOF
11660 rm -f conftest.$ac_objext conftest$ac_exeext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662   (eval $ac_link) 2>conftest.er1
11663   ac_status=$?
11664   grep -v '^ *+' conftest.er1 >conftest.err
11665   rm -f conftest.er1
11666   cat conftest.err >&5
11667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668   (exit $ac_status); } &&
11669          { ac_try='test -z "$ac_c_werror_flag"
11670                          || test ! -s conftest.err'
11671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11672   (eval $ac_try) 2>&5
11673   ac_status=$?
11674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675   (exit $ac_status); }; } &&
11676          { ac_try='test -s conftest$ac_exeext'
11677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678   (eval $ac_try) 2>&5
11679   ac_status=$?
11680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681   (exit $ac_status); }; }; then
11682   eval "$as_ac_var=yes"
11683 else
11684   echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.$ac_ext >&5
11686
11687 eval "$as_ac_var=no"
11688 fi
11689 rm -f conftest.err conftest.$ac_objext \
11690       conftest$ac_exeext conftest.$ac_ext
11691 fi
11692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11694 if test `eval echo '${'$as_ac_var'}'` = yes; then
11695   cat >>confdefs.h <<_ACEOF
11696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11697 _ACEOF
11698
11699 fi
11700 done
11701
11702   fi
11703
11704
11705
11706   echo "$as_me:$LINENO: checking for expf declaration" >&5
11707 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11708   if test x${glibcxx_cv_func_expf_use+set} != xset; then
11709     if test "${glibcxx_cv_func_expf_use+set}" = set; then
11710   echo $ECHO_N "(cached) $ECHO_C" >&6
11711 else
11712
11713
11714
11715       ac_ext=cc
11716 ac_cpp='$CXXCPP $CPPFLAGS'
11717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11720
11721       cat >conftest.$ac_ext <<_ACEOF
11722 /* confdefs.h.  */
11723 _ACEOF
11724 cat confdefs.h >>conftest.$ac_ext
11725 cat >>conftest.$ac_ext <<_ACEOF
11726 /* end confdefs.h.  */
11727 #include <math.h>
11728                       #ifdef HAVE_IEEEFP_H
11729                       #include <ieeefp.h>
11730                       #endif
11731
11732 int
11733 main ()
11734 {
11735  expf(0);
11736   ;
11737   return 0;
11738 }
11739 _ACEOF
11740 rm -f conftest.$ac_objext
11741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11742   (eval $ac_compile) 2>conftest.er1
11743   ac_status=$?
11744   grep -v '^ *+' conftest.er1 >conftest.err
11745   rm -f conftest.er1
11746   cat conftest.err >&5
11747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748   (exit $ac_status); } &&
11749          { ac_try='test -z "$ac_cxx_werror_flag"
11750                          || test ! -s conftest.err'
11751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752   (eval $ac_try) 2>&5
11753   ac_status=$?
11754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755   (exit $ac_status); }; } &&
11756          { ac_try='test -s conftest.$ac_objext'
11757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758   (eval $ac_try) 2>&5
11759   ac_status=$?
11760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761   (exit $ac_status); }; }; then
11762   glibcxx_cv_func_expf_use=yes
11763 else
11764   echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11766
11767 glibcxx_cv_func_expf_use=no
11768 fi
11769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11770       ac_ext=c
11771 ac_cpp='$CPP $CPPFLAGS'
11772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11775
11776
11777 fi
11778
11779   fi
11780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11781 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11782
11783   if test x$glibcxx_cv_func_expf_use = x"yes"; then
11784
11785 for ac_func in expf
11786 do
11787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11788 echo "$as_me:$LINENO: checking for $ac_func" >&5
11789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11790 if eval "test \"\${$as_ac_var+set}\" = set"; then
11791   echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else
11793   if test x$gcc_no_link = xyes; then
11794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11796    { (exit 1); exit 1; }; }
11797 fi
11798 cat >conftest.$ac_ext <<_ACEOF
11799 /* confdefs.h.  */
11800 _ACEOF
11801 cat confdefs.h >>conftest.$ac_ext
11802 cat >>conftest.$ac_ext <<_ACEOF
11803 /* end confdefs.h.  */
11804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11806 #define $ac_func innocuous_$ac_func
11807
11808 /* System header to define __stub macros and hopefully few prototypes,
11809     which can conflict with char $ac_func (); below.
11810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11811     <limits.h> exists even on freestanding compilers.  */
11812
11813 #ifdef __STDC__
11814 # include <limits.h>
11815 #else
11816 # include <assert.h>
11817 #endif
11818
11819 #undef $ac_func
11820
11821 /* Override any gcc2 internal prototype to avoid an error.  */
11822 #ifdef __cplusplus
11823 extern "C"
11824 {
11825 #endif
11826 /* We use char because int might match the return type of a gcc2
11827    builtin and then its argument prototype would still apply.  */
11828 char $ac_func ();
11829 /* The GNU C library defines this for functions which it implements
11830     to always fail with ENOSYS.  Some functions are actually named
11831     something starting with __ and the normal name is an alias.  */
11832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11833 choke me
11834 #else
11835 char (*f) () = $ac_func;
11836 #endif
11837 #ifdef __cplusplus
11838 }
11839 #endif
11840
11841 int
11842 main ()
11843 {
11844 return f != $ac_func;
11845   ;
11846   return 0;
11847 }
11848 _ACEOF
11849 rm -f conftest.$ac_objext conftest$ac_exeext
11850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11851   (eval $ac_link) 2>conftest.er1
11852   ac_status=$?
11853   grep -v '^ *+' conftest.er1 >conftest.err
11854   rm -f conftest.er1
11855   cat conftest.err >&5
11856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857   (exit $ac_status); } &&
11858          { ac_try='test -z "$ac_c_werror_flag"
11859                          || test ! -s conftest.err'
11860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861   (eval $ac_try) 2>&5
11862   ac_status=$?
11863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864   (exit $ac_status); }; } &&
11865          { ac_try='test -s conftest$ac_exeext'
11866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867   (eval $ac_try) 2>&5
11868   ac_status=$?
11869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870   (exit $ac_status); }; }; then
11871   eval "$as_ac_var=yes"
11872 else
11873   echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.$ac_ext >&5
11875
11876 eval "$as_ac_var=no"
11877 fi
11878 rm -f conftest.err conftest.$ac_objext \
11879       conftest$ac_exeext conftest.$ac_ext
11880 fi
11881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11883 if test `eval echo '${'$as_ac_var'}'` = yes; then
11884   cat >>confdefs.h <<_ACEOF
11885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11886 _ACEOF
11887
11888 fi
11889 done
11890
11891   else
11892
11893   echo "$as_me:$LINENO: checking for _expf declaration" >&5
11894 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11895   if test x${glibcxx_cv_func__expf_use+set} != xset; then
11896     if test "${glibcxx_cv_func__expf_use+set}" = set; then
11897   echo $ECHO_N "(cached) $ECHO_C" >&6
11898 else
11899
11900
11901
11902       ac_ext=cc
11903 ac_cpp='$CXXCPP $CPPFLAGS'
11904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11907
11908       cat >conftest.$ac_ext <<_ACEOF
11909 /* confdefs.h.  */
11910 _ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h.  */
11914 #include <math.h>
11915                       #ifdef HAVE_IEEEFP_H
11916                       #include <ieeefp.h>
11917                       #endif
11918
11919 int
11920 main ()
11921 {
11922  _expf(0);
11923   ;
11924   return 0;
11925 }
11926 _ACEOF
11927 rm -f conftest.$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929   (eval $ac_compile) 2>conftest.er1
11930   ac_status=$?
11931   grep -v '^ *+' conftest.er1 >conftest.err
11932   rm -f conftest.er1
11933   cat conftest.err >&5
11934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935   (exit $ac_status); } &&
11936          { ac_try='test -z "$ac_cxx_werror_flag"
11937                          || test ! -s conftest.err'
11938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939   (eval $ac_try) 2>&5
11940   ac_status=$?
11941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942   (exit $ac_status); }; } &&
11943          { ac_try='test -s conftest.$ac_objext'
11944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945   (eval $ac_try) 2>&5
11946   ac_status=$?
11947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948   (exit $ac_status); }; }; then
11949   glibcxx_cv_func__expf_use=yes
11950 else
11951   echo "$as_me: failed program was:" >&5
11952 sed 's/^/| /' conftest.$ac_ext >&5
11953
11954 glibcxx_cv_func__expf_use=no
11955 fi
11956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11957       ac_ext=c
11958 ac_cpp='$CPP $CPPFLAGS'
11959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11962
11963
11964 fi
11965
11966   fi
11967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11968 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11969
11970     if test x$glibcxx_cv_func__expf_use = x"yes"; then
11971
11972 for ac_func in _expf
11973 do
11974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11975 echo "$as_me:$LINENO: checking for $ac_func" >&5
11976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11977 if eval "test \"\${$as_ac_var+set}\" = set"; then
11978   echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980   if test x$gcc_no_link = xyes; then
11981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11983    { (exit 1); exit 1; }; }
11984 fi
11985 cat >conftest.$ac_ext <<_ACEOF
11986 /* confdefs.h.  */
11987 _ACEOF
11988 cat confdefs.h >>conftest.$ac_ext
11989 cat >>conftest.$ac_ext <<_ACEOF
11990 /* end confdefs.h.  */
11991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11993 #define $ac_func innocuous_$ac_func
11994
11995 /* System header to define __stub macros and hopefully few prototypes,
11996     which can conflict with char $ac_func (); below.
11997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11998     <limits.h> exists even on freestanding compilers.  */
11999
12000 #ifdef __STDC__
12001 # include <limits.h>
12002 #else
12003 # include <assert.h>
12004 #endif
12005
12006 #undef $ac_func
12007
12008 /* Override any gcc2 internal prototype to avoid an error.  */
12009 #ifdef __cplusplus
12010 extern "C"
12011 {
12012 #endif
12013 /* We use char because int might match the return type of a gcc2
12014    builtin and then its argument prototype would still apply.  */
12015 char $ac_func ();
12016 /* The GNU C library defines this for functions which it implements
12017     to always fail with ENOSYS.  Some functions are actually named
12018     something starting with __ and the normal name is an alias.  */
12019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12020 choke me
12021 #else
12022 char (*f) () = $ac_func;
12023 #endif
12024 #ifdef __cplusplus
12025 }
12026 #endif
12027
12028 int
12029 main ()
12030 {
12031 return f != $ac_func;
12032   ;
12033   return 0;
12034 }
12035 _ACEOF
12036 rm -f conftest.$ac_objext conftest$ac_exeext
12037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038   (eval $ac_link) 2>conftest.er1
12039   ac_status=$?
12040   grep -v '^ *+' conftest.er1 >conftest.err
12041   rm -f conftest.er1
12042   cat conftest.err >&5
12043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044   (exit $ac_status); } &&
12045          { ac_try='test -z "$ac_c_werror_flag"
12046                          || test ! -s conftest.err'
12047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12048   (eval $ac_try) 2>&5
12049   ac_status=$?
12050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051   (exit $ac_status); }; } &&
12052          { ac_try='test -s conftest$ac_exeext'
12053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12054   (eval $ac_try) 2>&5
12055   ac_status=$?
12056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057   (exit $ac_status); }; }; then
12058   eval "$as_ac_var=yes"
12059 else
12060   echo "$as_me: failed program was:" >&5
12061 sed 's/^/| /' conftest.$ac_ext >&5
12062
12063 eval "$as_ac_var=no"
12064 fi
12065 rm -f conftest.err conftest.$ac_objext \
12066       conftest$ac_exeext conftest.$ac_ext
12067 fi
12068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12070 if test `eval echo '${'$as_ac_var'}'` = yes; then
12071   cat >>confdefs.h <<_ACEOF
12072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12073 _ACEOF
12074
12075 fi
12076 done
12077
12078     fi
12079   fi
12080
12081
12082
12083   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12084 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12085   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12086     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12087   echo $ECHO_N "(cached) $ECHO_C" >&6
12088 else
12089
12090
12091
12092       ac_ext=cc
12093 ac_cpp='$CXXCPP $CPPFLAGS'
12094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12097
12098       cat >conftest.$ac_ext <<_ACEOF
12099 /* confdefs.h.  */
12100 _ACEOF
12101 cat confdefs.h >>conftest.$ac_ext
12102 cat >>conftest.$ac_ext <<_ACEOF
12103 /* end confdefs.h.  */
12104 #include <math.h>
12105                       #ifdef HAVE_IEEEFP_H
12106                       #include <ieeefp.h>
12107                       #endif
12108
12109 int
12110 main ()
12111 {
12112  isnanf(0);
12113   ;
12114   return 0;
12115 }
12116 _ACEOF
12117 rm -f conftest.$ac_objext
12118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12119   (eval $ac_compile) 2>conftest.er1
12120   ac_status=$?
12121   grep -v '^ *+' conftest.er1 >conftest.err
12122   rm -f conftest.er1
12123   cat conftest.err >&5
12124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125   (exit $ac_status); } &&
12126          { ac_try='test -z "$ac_cxx_werror_flag"
12127                          || test ! -s conftest.err'
12128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129   (eval $ac_try) 2>&5
12130   ac_status=$?
12131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132   (exit $ac_status); }; } &&
12133          { ac_try='test -s conftest.$ac_objext'
12134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135   (eval $ac_try) 2>&5
12136   ac_status=$?
12137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138   (exit $ac_status); }; }; then
12139   glibcxx_cv_func_isnanf_use=yes
12140 else
12141   echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12143
12144 glibcxx_cv_func_isnanf_use=no
12145 fi
12146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12147       ac_ext=c
12148 ac_cpp='$CPP $CPPFLAGS'
12149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12152
12153
12154 fi
12155
12156   fi
12157   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12158 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12159
12160   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12161
12162 for ac_func in isnanf
12163 do
12164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12165 echo "$as_me:$LINENO: checking for $ac_func" >&5
12166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_var+set}\" = set"; then
12168   echo $ECHO_N "(cached) $ECHO_C" >&6
12169 else
12170   if test x$gcc_no_link = xyes; then
12171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12173    { (exit 1); exit 1; }; }
12174 fi
12175 cat >conftest.$ac_ext <<_ACEOF
12176 /* confdefs.h.  */
12177 _ACEOF
12178 cat confdefs.h >>conftest.$ac_ext
12179 cat >>conftest.$ac_ext <<_ACEOF
12180 /* end confdefs.h.  */
12181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12183 #define $ac_func innocuous_$ac_func
12184
12185 /* System header to define __stub macros and hopefully few prototypes,
12186     which can conflict with char $ac_func (); below.
12187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12188     <limits.h> exists even on freestanding compilers.  */
12189
12190 #ifdef __STDC__
12191 # include <limits.h>
12192 #else
12193 # include <assert.h>
12194 #endif
12195
12196 #undef $ac_func
12197
12198 /* Override any gcc2 internal prototype to avoid an error.  */
12199 #ifdef __cplusplus
12200 extern "C"
12201 {
12202 #endif
12203 /* We use char because int might match the return type of a gcc2
12204    builtin and then its argument prototype would still apply.  */
12205 char $ac_func ();
12206 /* The GNU C library defines this for functions which it implements
12207     to always fail with ENOSYS.  Some functions are actually named
12208     something starting with __ and the normal name is an alias.  */
12209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12210 choke me
12211 #else
12212 char (*f) () = $ac_func;
12213 #endif
12214 #ifdef __cplusplus
12215 }
12216 #endif
12217
12218 int
12219 main ()
12220 {
12221 return f != $ac_func;
12222   ;
12223   return 0;
12224 }
12225 _ACEOF
12226 rm -f conftest.$ac_objext conftest$ac_exeext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12228   (eval $ac_link) 2>conftest.er1
12229   ac_status=$?
12230   grep -v '^ *+' conftest.er1 >conftest.err
12231   rm -f conftest.er1
12232   cat conftest.err >&5
12233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234   (exit $ac_status); } &&
12235          { ac_try='test -z "$ac_c_werror_flag"
12236                          || test ! -s conftest.err'
12237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238   (eval $ac_try) 2>&5
12239   ac_status=$?
12240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241   (exit $ac_status); }; } &&
12242          { ac_try='test -s conftest$ac_exeext'
12243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244   (eval $ac_try) 2>&5
12245   ac_status=$?
12246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247   (exit $ac_status); }; }; then
12248   eval "$as_ac_var=yes"
12249 else
12250   echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.$ac_ext >&5
12252
12253 eval "$as_ac_var=no"
12254 fi
12255 rm -f conftest.err conftest.$ac_objext \
12256       conftest$ac_exeext conftest.$ac_ext
12257 fi
12258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12260 if test `eval echo '${'$as_ac_var'}'` = yes; then
12261   cat >>confdefs.h <<_ACEOF
12262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12263 _ACEOF
12264
12265 fi
12266 done
12267
12268   else
12269
12270   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12271 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12272   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12273     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12274   echo $ECHO_N "(cached) $ECHO_C" >&6
12275 else
12276
12277
12278
12279       ac_ext=cc
12280 ac_cpp='$CXXCPP $CPPFLAGS'
12281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12284
12285       cat >conftest.$ac_ext <<_ACEOF
12286 /* confdefs.h.  */
12287 _ACEOF
12288 cat confdefs.h >>conftest.$ac_ext
12289 cat >>conftest.$ac_ext <<_ACEOF
12290 /* end confdefs.h.  */
12291 #include <math.h>
12292                       #ifdef HAVE_IEEEFP_H
12293                       #include <ieeefp.h>
12294                       #endif
12295
12296 int
12297 main ()
12298 {
12299  _isnanf(0);
12300   ;
12301   return 0;
12302 }
12303 _ACEOF
12304 rm -f conftest.$ac_objext
12305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12306   (eval $ac_compile) 2>conftest.er1
12307   ac_status=$?
12308   grep -v '^ *+' conftest.er1 >conftest.err
12309   rm -f conftest.er1
12310   cat conftest.err >&5
12311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312   (exit $ac_status); } &&
12313          { ac_try='test -z "$ac_cxx_werror_flag"
12314                          || test ! -s conftest.err'
12315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316   (eval $ac_try) 2>&5
12317   ac_status=$?
12318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319   (exit $ac_status); }; } &&
12320          { ac_try='test -s conftest.$ac_objext'
12321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322   (eval $ac_try) 2>&5
12323   ac_status=$?
12324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325   (exit $ac_status); }; }; then
12326   glibcxx_cv_func__isnanf_use=yes
12327 else
12328   echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12330
12331 glibcxx_cv_func__isnanf_use=no
12332 fi
12333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12334       ac_ext=c
12335 ac_cpp='$CPP $CPPFLAGS'
12336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12339
12340
12341 fi
12342
12343   fi
12344   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12345 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12346
12347     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12348
12349 for ac_func in _isnanf
12350 do
12351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12352 echo "$as_me:$LINENO: checking for $ac_func" >&5
12353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12354 if eval "test \"\${$as_ac_var+set}\" = set"; then
12355   echo $ECHO_N "(cached) $ECHO_C" >&6
12356 else
12357   if test x$gcc_no_link = xyes; then
12358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12360    { (exit 1); exit 1; }; }
12361 fi
12362 cat >conftest.$ac_ext <<_ACEOF
12363 /* confdefs.h.  */
12364 _ACEOF
12365 cat confdefs.h >>conftest.$ac_ext
12366 cat >>conftest.$ac_ext <<_ACEOF
12367 /* end confdefs.h.  */
12368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12370 #define $ac_func innocuous_$ac_func
12371
12372 /* System header to define __stub macros and hopefully few prototypes,
12373     which can conflict with char $ac_func (); below.
12374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12375     <limits.h> exists even on freestanding compilers.  */
12376
12377 #ifdef __STDC__
12378 # include <limits.h>
12379 #else
12380 # include <assert.h>
12381 #endif
12382
12383 #undef $ac_func
12384
12385 /* Override any gcc2 internal prototype to avoid an error.  */
12386 #ifdef __cplusplus
12387 extern "C"
12388 {
12389 #endif
12390 /* We use char because int might match the return type of a gcc2
12391    builtin and then its argument prototype would still apply.  */
12392 char $ac_func ();
12393 /* The GNU C library defines this for functions which it implements
12394     to always fail with ENOSYS.  Some functions are actually named
12395     something starting with __ and the normal name is an alias.  */
12396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12397 choke me
12398 #else
12399 char (*f) () = $ac_func;
12400 #endif
12401 #ifdef __cplusplus
12402 }
12403 #endif
12404
12405 int
12406 main ()
12407 {
12408 return f != $ac_func;
12409   ;
12410   return 0;
12411 }
12412 _ACEOF
12413 rm -f conftest.$ac_objext conftest$ac_exeext
12414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12415   (eval $ac_link) 2>conftest.er1
12416   ac_status=$?
12417   grep -v '^ *+' conftest.er1 >conftest.err
12418   rm -f conftest.er1
12419   cat conftest.err >&5
12420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421   (exit $ac_status); } &&
12422          { ac_try='test -z "$ac_c_werror_flag"
12423                          || test ! -s conftest.err'
12424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425   (eval $ac_try) 2>&5
12426   ac_status=$?
12427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428   (exit $ac_status); }; } &&
12429          { ac_try='test -s conftest$ac_exeext'
12430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431   (eval $ac_try) 2>&5
12432   ac_status=$?
12433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434   (exit $ac_status); }; }; then
12435   eval "$as_ac_var=yes"
12436 else
12437   echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12439
12440 eval "$as_ac_var=no"
12441 fi
12442 rm -f conftest.err conftest.$ac_objext \
12443       conftest$ac_exeext conftest.$ac_ext
12444 fi
12445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12447 if test `eval echo '${'$as_ac_var'}'` = yes; then
12448   cat >>confdefs.h <<_ACEOF
12449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12450 _ACEOF
12451
12452 fi
12453 done
12454
12455     fi
12456   fi
12457
12458
12459
12460   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12461 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12462   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12463     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12464   echo $ECHO_N "(cached) $ECHO_C" >&6
12465 else
12466
12467
12468
12469       ac_ext=cc
12470 ac_cpp='$CXXCPP $CPPFLAGS'
12471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12474
12475       cat >conftest.$ac_ext <<_ACEOF
12476 /* confdefs.h.  */
12477 _ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h.  */
12481 #include <math.h>
12482                       #ifdef HAVE_IEEEFP_H
12483                       #include <ieeefp.h>
12484                       #endif
12485
12486 int
12487 main ()
12488 {
12489  isinff(0);
12490   ;
12491   return 0;
12492 }
12493 _ACEOF
12494 rm -f conftest.$ac_objext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12496   (eval $ac_compile) 2>conftest.er1
12497   ac_status=$?
12498   grep -v '^ *+' conftest.er1 >conftest.err
12499   rm -f conftest.er1
12500   cat conftest.err >&5
12501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502   (exit $ac_status); } &&
12503          { ac_try='test -z "$ac_cxx_werror_flag"
12504                          || test ! -s conftest.err'
12505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506   (eval $ac_try) 2>&5
12507   ac_status=$?
12508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509   (exit $ac_status); }; } &&
12510          { ac_try='test -s conftest.$ac_objext'
12511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512   (eval $ac_try) 2>&5
12513   ac_status=$?
12514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515   (exit $ac_status); }; }; then
12516   glibcxx_cv_func_isinff_use=yes
12517 else
12518   echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.$ac_ext >&5
12520
12521 glibcxx_cv_func_isinff_use=no
12522 fi
12523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12524       ac_ext=c
12525 ac_cpp='$CPP $CPPFLAGS'
12526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12529
12530
12531 fi
12532
12533   fi
12534   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12535 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12536
12537   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12538
12539 for ac_func in isinff
12540 do
12541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12542 echo "$as_me:$LINENO: checking for $ac_func" >&5
12543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12544 if eval "test \"\${$as_ac_var+set}\" = set"; then
12545   echo $ECHO_N "(cached) $ECHO_C" >&6
12546 else
12547   if test x$gcc_no_link = xyes; then
12548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12550    { (exit 1); exit 1; }; }
12551 fi
12552 cat >conftest.$ac_ext <<_ACEOF
12553 /* confdefs.h.  */
12554 _ACEOF
12555 cat confdefs.h >>conftest.$ac_ext
12556 cat >>conftest.$ac_ext <<_ACEOF
12557 /* end confdefs.h.  */
12558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12560 #define $ac_func innocuous_$ac_func
12561
12562 /* System header to define __stub macros and hopefully few prototypes,
12563     which can conflict with char $ac_func (); below.
12564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12565     <limits.h> exists even on freestanding compilers.  */
12566
12567 #ifdef __STDC__
12568 # include <limits.h>
12569 #else
12570 # include <assert.h>
12571 #endif
12572
12573 #undef $ac_func
12574
12575 /* Override any gcc2 internal prototype to avoid an error.  */
12576 #ifdef __cplusplus
12577 extern "C"
12578 {
12579 #endif
12580 /* We use char because int might match the return type of a gcc2
12581    builtin and then its argument prototype would still apply.  */
12582 char $ac_func ();
12583 /* The GNU C library defines this for functions which it implements
12584     to always fail with ENOSYS.  Some functions are actually named
12585     something starting with __ and the normal name is an alias.  */
12586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12587 choke me
12588 #else
12589 char (*f) () = $ac_func;
12590 #endif
12591 #ifdef __cplusplus
12592 }
12593 #endif
12594
12595 int
12596 main ()
12597 {
12598 return f != $ac_func;
12599   ;
12600   return 0;
12601 }
12602 _ACEOF
12603 rm -f conftest.$ac_objext conftest$ac_exeext
12604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12605   (eval $ac_link) 2>conftest.er1
12606   ac_status=$?
12607   grep -v '^ *+' conftest.er1 >conftest.err
12608   rm -f conftest.er1
12609   cat conftest.err >&5
12610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611   (exit $ac_status); } &&
12612          { ac_try='test -z "$ac_c_werror_flag"
12613                          || test ! -s conftest.err'
12614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615   (eval $ac_try) 2>&5
12616   ac_status=$?
12617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618   (exit $ac_status); }; } &&
12619          { ac_try='test -s conftest$ac_exeext'
12620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621   (eval $ac_try) 2>&5
12622   ac_status=$?
12623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624   (exit $ac_status); }; }; then
12625   eval "$as_ac_var=yes"
12626 else
12627   echo "$as_me: failed program was:" >&5
12628 sed 's/^/| /' conftest.$ac_ext >&5
12629
12630 eval "$as_ac_var=no"
12631 fi
12632 rm -f conftest.err conftest.$ac_objext \
12633       conftest$ac_exeext conftest.$ac_ext
12634 fi
12635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12637 if test `eval echo '${'$as_ac_var'}'` = yes; then
12638   cat >>confdefs.h <<_ACEOF
12639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12640 _ACEOF
12641
12642 fi
12643 done
12644
12645   else
12646
12647   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12648 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12649   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12650     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12651   echo $ECHO_N "(cached) $ECHO_C" >&6
12652 else
12653
12654
12655
12656       ac_ext=cc
12657 ac_cpp='$CXXCPP $CPPFLAGS'
12658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12661
12662       cat >conftest.$ac_ext <<_ACEOF
12663 /* confdefs.h.  */
12664 _ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h.  */
12668 #include <math.h>
12669                       #ifdef HAVE_IEEEFP_H
12670                       #include <ieeefp.h>
12671                       #endif
12672
12673 int
12674 main ()
12675 {
12676  _isinff(0);
12677   ;
12678   return 0;
12679 }
12680 _ACEOF
12681 rm -f conftest.$ac_objext
12682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12683   (eval $ac_compile) 2>conftest.er1
12684   ac_status=$?
12685   grep -v '^ *+' conftest.er1 >conftest.err
12686   rm -f conftest.er1
12687   cat conftest.err >&5
12688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689   (exit $ac_status); } &&
12690          { ac_try='test -z "$ac_cxx_werror_flag"
12691                          || test ! -s conftest.err'
12692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693   (eval $ac_try) 2>&5
12694   ac_status=$?
12695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696   (exit $ac_status); }; } &&
12697          { ac_try='test -s conftest.$ac_objext'
12698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699   (eval $ac_try) 2>&5
12700   ac_status=$?
12701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702   (exit $ac_status); }; }; then
12703   glibcxx_cv_func__isinff_use=yes
12704 else
12705   echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12707
12708 glibcxx_cv_func__isinff_use=no
12709 fi
12710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12711       ac_ext=c
12712 ac_cpp='$CPP $CPPFLAGS'
12713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12716
12717
12718 fi
12719
12720   fi
12721   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12722 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12723
12724     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12725
12726 for ac_func in _isinff
12727 do
12728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12729 echo "$as_me:$LINENO: checking for $ac_func" >&5
12730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12731 if eval "test \"\${$as_ac_var+set}\" = set"; then
12732   echo $ECHO_N "(cached) $ECHO_C" >&6
12733 else
12734   if test x$gcc_no_link = xyes; then
12735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737    { (exit 1); exit 1; }; }
12738 fi
12739 cat >conftest.$ac_ext <<_ACEOF
12740 /* confdefs.h.  */
12741 _ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h.  */
12745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12747 #define $ac_func innocuous_$ac_func
12748
12749 /* System header to define __stub macros and hopefully few prototypes,
12750     which can conflict with char $ac_func (); below.
12751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12752     <limits.h> exists even on freestanding compilers.  */
12753
12754 #ifdef __STDC__
12755 # include <limits.h>
12756 #else
12757 # include <assert.h>
12758 #endif
12759
12760 #undef $ac_func
12761
12762 /* Override any gcc2 internal prototype to avoid an error.  */
12763 #ifdef __cplusplus
12764 extern "C"
12765 {
12766 #endif
12767 /* We use char because int might match the return type of a gcc2
12768    builtin and then its argument prototype would still apply.  */
12769 char $ac_func ();
12770 /* The GNU C library defines this for functions which it implements
12771     to always fail with ENOSYS.  Some functions are actually named
12772     something starting with __ and the normal name is an alias.  */
12773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12774 choke me
12775 #else
12776 char (*f) () = $ac_func;
12777 #endif
12778 #ifdef __cplusplus
12779 }
12780 #endif
12781
12782 int
12783 main ()
12784 {
12785 return f != $ac_func;
12786   ;
12787   return 0;
12788 }
12789 _ACEOF
12790 rm -f conftest.$ac_objext conftest$ac_exeext
12791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12792   (eval $ac_link) 2>conftest.er1
12793   ac_status=$?
12794   grep -v '^ *+' conftest.er1 >conftest.err
12795   rm -f conftest.er1
12796   cat conftest.err >&5
12797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798   (exit $ac_status); } &&
12799          { ac_try='test -z "$ac_c_werror_flag"
12800                          || test ! -s conftest.err'
12801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802   (eval $ac_try) 2>&5
12803   ac_status=$?
12804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805   (exit $ac_status); }; } &&
12806          { ac_try='test -s conftest$ac_exeext'
12807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808   (eval $ac_try) 2>&5
12809   ac_status=$?
12810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811   (exit $ac_status); }; }; then
12812   eval "$as_ac_var=yes"
12813 else
12814   echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.$ac_ext >&5
12816
12817 eval "$as_ac_var=no"
12818 fi
12819 rm -f conftest.err conftest.$ac_objext \
12820       conftest$ac_exeext conftest.$ac_ext
12821 fi
12822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12824 if test `eval echo '${'$as_ac_var'}'` = yes; then
12825   cat >>confdefs.h <<_ACEOF
12826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12827 _ACEOF
12828
12829 fi
12830 done
12831
12832     fi
12833   fi
12834
12835
12836
12837   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12838 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12839   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12840     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12841   echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843
12844
12845
12846       ac_ext=cc
12847 ac_cpp='$CXXCPP $CPPFLAGS'
12848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12851
12852       cat >conftest.$ac_ext <<_ACEOF
12853 /* confdefs.h.  */
12854 _ACEOF
12855 cat confdefs.h >>conftest.$ac_ext
12856 cat >>conftest.$ac_ext <<_ACEOF
12857 /* end confdefs.h.  */
12858 #include <math.h>
12859 int
12860 main ()
12861 {
12862  atan2f(0, 0);
12863   ;
12864   return 0;
12865 }
12866 _ACEOF
12867 rm -f conftest.$ac_objext
12868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12869   (eval $ac_compile) 2>conftest.er1
12870   ac_status=$?
12871   grep -v '^ *+' conftest.er1 >conftest.err
12872   rm -f conftest.er1
12873   cat conftest.err >&5
12874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12875   (exit $ac_status); } &&
12876          { ac_try='test -z "$ac_cxx_werror_flag"
12877                          || test ! -s conftest.err'
12878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879   (eval $ac_try) 2>&5
12880   ac_status=$?
12881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882   (exit $ac_status); }; } &&
12883          { ac_try='test -s conftest.$ac_objext'
12884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885   (eval $ac_try) 2>&5
12886   ac_status=$?
12887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888   (exit $ac_status); }; }; then
12889   glibcxx_cv_func_atan2f_use=yes
12890 else
12891   echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12893
12894 glibcxx_cv_func_atan2f_use=no
12895 fi
12896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12897       ac_ext=c
12898 ac_cpp='$CPP $CPPFLAGS'
12899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12902
12903
12904 fi
12905
12906   fi
12907   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12908 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12909
12910   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12911
12912 for ac_func in atan2f
12913 do
12914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12915 echo "$as_me:$LINENO: checking for $ac_func" >&5
12916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12917 if eval "test \"\${$as_ac_var+set}\" = set"; then
12918   echo $ECHO_N "(cached) $ECHO_C" >&6
12919 else
12920   if test x$gcc_no_link = xyes; then
12921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12923    { (exit 1); exit 1; }; }
12924 fi
12925 cat >conftest.$ac_ext <<_ACEOF
12926 /* confdefs.h.  */
12927 _ACEOF
12928 cat confdefs.h >>conftest.$ac_ext
12929 cat >>conftest.$ac_ext <<_ACEOF
12930 /* end confdefs.h.  */
12931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12933 #define $ac_func innocuous_$ac_func
12934
12935 /* System header to define __stub macros and hopefully few prototypes,
12936     which can conflict with char $ac_func (); below.
12937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12938     <limits.h> exists even on freestanding compilers.  */
12939
12940 #ifdef __STDC__
12941 # include <limits.h>
12942 #else
12943 # include <assert.h>
12944 #endif
12945
12946 #undef $ac_func
12947
12948 /* Override any gcc2 internal prototype to avoid an error.  */
12949 #ifdef __cplusplus
12950 extern "C"
12951 {
12952 #endif
12953 /* We use char because int might match the return type of a gcc2
12954    builtin and then its argument prototype would still apply.  */
12955 char $ac_func ();
12956 /* The GNU C library defines this for functions which it implements
12957     to always fail with ENOSYS.  Some functions are actually named
12958     something starting with __ and the normal name is an alias.  */
12959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12960 choke me
12961 #else
12962 char (*f) () = $ac_func;
12963 #endif
12964 #ifdef __cplusplus
12965 }
12966 #endif
12967
12968 int
12969 main ()
12970 {
12971 return f != $ac_func;
12972   ;
12973   return 0;
12974 }
12975 _ACEOF
12976 rm -f conftest.$ac_objext conftest$ac_exeext
12977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12978   (eval $ac_link) 2>conftest.er1
12979   ac_status=$?
12980   grep -v '^ *+' conftest.er1 >conftest.err
12981   rm -f conftest.er1
12982   cat conftest.err >&5
12983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984   (exit $ac_status); } &&
12985          { ac_try='test -z "$ac_c_werror_flag"
12986                          || test ! -s conftest.err'
12987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12988   (eval $ac_try) 2>&5
12989   ac_status=$?
12990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991   (exit $ac_status); }; } &&
12992          { ac_try='test -s conftest$ac_exeext'
12993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12994   (eval $ac_try) 2>&5
12995   ac_status=$?
12996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997   (exit $ac_status); }; }; then
12998   eval "$as_ac_var=yes"
12999 else
13000   echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.$ac_ext >&5
13002
13003 eval "$as_ac_var=no"
13004 fi
13005 rm -f conftest.err conftest.$ac_objext \
13006       conftest$ac_exeext conftest.$ac_ext
13007 fi
13008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13010 if test `eval echo '${'$as_ac_var'}'` = yes; then
13011   cat >>confdefs.h <<_ACEOF
13012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13013 _ACEOF
13014
13015 fi
13016 done
13017
13018   else
13019
13020   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13021 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13022   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13023     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13024   echo $ECHO_N "(cached) $ECHO_C" >&6
13025 else
13026
13027
13028
13029       ac_ext=cc
13030 ac_cpp='$CXXCPP $CPPFLAGS'
13031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13034
13035       cat >conftest.$ac_ext <<_ACEOF
13036 /* confdefs.h.  */
13037 _ACEOF
13038 cat confdefs.h >>conftest.$ac_ext
13039 cat >>conftest.$ac_ext <<_ACEOF
13040 /* end confdefs.h.  */
13041 #include <math.h>
13042 int
13043 main ()
13044 {
13045  _atan2f(0, 0);
13046   ;
13047   return 0;
13048 }
13049 _ACEOF
13050 rm -f conftest.$ac_objext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052   (eval $ac_compile) 2>conftest.er1
13053   ac_status=$?
13054   grep -v '^ *+' conftest.er1 >conftest.err
13055   rm -f conftest.er1
13056   cat conftest.err >&5
13057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058   (exit $ac_status); } &&
13059          { ac_try='test -z "$ac_cxx_werror_flag"
13060                          || test ! -s conftest.err'
13061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062   (eval $ac_try) 2>&5
13063   ac_status=$?
13064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065   (exit $ac_status); }; } &&
13066          { ac_try='test -s conftest.$ac_objext'
13067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068   (eval $ac_try) 2>&5
13069   ac_status=$?
13070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071   (exit $ac_status); }; }; then
13072   glibcxx_cv_func__atan2f_use=yes
13073 else
13074   echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13076
13077 glibcxx_cv_func__atan2f_use=no
13078 fi
13079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13080       ac_ext=c
13081 ac_cpp='$CPP $CPPFLAGS'
13082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13085
13086
13087 fi
13088
13089   fi
13090   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13091 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13092
13093     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13094
13095 for ac_func in _atan2f
13096 do
13097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13098 echo "$as_me:$LINENO: checking for $ac_func" >&5
13099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13100 if eval "test \"\${$as_ac_var+set}\" = set"; then
13101   echo $ECHO_N "(cached) $ECHO_C" >&6
13102 else
13103   if test x$gcc_no_link = xyes; then
13104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13106    { (exit 1); exit 1; }; }
13107 fi
13108 cat >conftest.$ac_ext <<_ACEOF
13109 /* confdefs.h.  */
13110 _ACEOF
13111 cat confdefs.h >>conftest.$ac_ext
13112 cat >>conftest.$ac_ext <<_ACEOF
13113 /* end confdefs.h.  */
13114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13116 #define $ac_func innocuous_$ac_func
13117
13118 /* System header to define __stub macros and hopefully few prototypes,
13119     which can conflict with char $ac_func (); below.
13120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13121     <limits.h> exists even on freestanding compilers.  */
13122
13123 #ifdef __STDC__
13124 # include <limits.h>
13125 #else
13126 # include <assert.h>
13127 #endif
13128
13129 #undef $ac_func
13130
13131 /* Override any gcc2 internal prototype to avoid an error.  */
13132 #ifdef __cplusplus
13133 extern "C"
13134 {
13135 #endif
13136 /* We use char because int might match the return type of a gcc2
13137    builtin and then its argument prototype would still apply.  */
13138 char $ac_func ();
13139 /* The GNU C library defines this for functions which it implements
13140     to always fail with ENOSYS.  Some functions are actually named
13141     something starting with __ and the normal name is an alias.  */
13142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13143 choke me
13144 #else
13145 char (*f) () = $ac_func;
13146 #endif
13147 #ifdef __cplusplus
13148 }
13149 #endif
13150
13151 int
13152 main ()
13153 {
13154 return f != $ac_func;
13155   ;
13156   return 0;
13157 }
13158 _ACEOF
13159 rm -f conftest.$ac_objext conftest$ac_exeext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13161   (eval $ac_link) 2>conftest.er1
13162   ac_status=$?
13163   grep -v '^ *+' conftest.er1 >conftest.err
13164   rm -f conftest.er1
13165   cat conftest.err >&5
13166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167   (exit $ac_status); } &&
13168          { ac_try='test -z "$ac_c_werror_flag"
13169                          || test ! -s conftest.err'
13170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13171   (eval $ac_try) 2>&5
13172   ac_status=$?
13173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13174   (exit $ac_status); }; } &&
13175          { ac_try='test -s conftest$ac_exeext'
13176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177   (eval $ac_try) 2>&5
13178   ac_status=$?
13179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180   (exit $ac_status); }; }; then
13181   eval "$as_ac_var=yes"
13182 else
13183   echo "$as_me: failed program was:" >&5
13184 sed 's/^/| /' conftest.$ac_ext >&5
13185
13186 eval "$as_ac_var=no"
13187 fi
13188 rm -f conftest.err conftest.$ac_objext \
13189       conftest$ac_exeext conftest.$ac_ext
13190 fi
13191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13193 if test `eval echo '${'$as_ac_var'}'` = yes; then
13194   cat >>confdefs.h <<_ACEOF
13195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13196 _ACEOF
13197
13198 fi
13199 done
13200
13201     fi
13202   fi
13203
13204
13205
13206   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13207 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13208   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13209     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13210   echo $ECHO_N "(cached) $ECHO_C" >&6
13211 else
13212
13213
13214
13215       ac_ext=cc
13216 ac_cpp='$CXXCPP $CPPFLAGS'
13217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13220
13221       cat >conftest.$ac_ext <<_ACEOF
13222 /* confdefs.h.  */
13223 _ACEOF
13224 cat confdefs.h >>conftest.$ac_ext
13225 cat >>conftest.$ac_ext <<_ACEOF
13226 /* end confdefs.h.  */
13227 #include <math.h>
13228                       #ifdef HAVE_IEEEFP_H
13229                       #include <ieeefp.h>
13230                       #endif
13231
13232 int
13233 main ()
13234 {
13235  fabsf(0);
13236   ;
13237   return 0;
13238 }
13239 _ACEOF
13240 rm -f conftest.$ac_objext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13242   (eval $ac_compile) 2>conftest.er1
13243   ac_status=$?
13244   grep -v '^ *+' conftest.er1 >conftest.err
13245   rm -f conftest.er1
13246   cat conftest.err >&5
13247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248   (exit $ac_status); } &&
13249          { ac_try='test -z "$ac_cxx_werror_flag"
13250                          || test ! -s conftest.err'
13251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252   (eval $ac_try) 2>&5
13253   ac_status=$?
13254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255   (exit $ac_status); }; } &&
13256          { ac_try='test -s conftest.$ac_objext'
13257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258   (eval $ac_try) 2>&5
13259   ac_status=$?
13260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261   (exit $ac_status); }; }; then
13262   glibcxx_cv_func_fabsf_use=yes
13263 else
13264   echo "$as_me: failed program was:" >&5
13265 sed 's/^/| /' conftest.$ac_ext >&5
13266
13267 glibcxx_cv_func_fabsf_use=no
13268 fi
13269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13270       ac_ext=c
13271 ac_cpp='$CPP $CPPFLAGS'
13272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13275
13276
13277 fi
13278
13279   fi
13280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13281 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13282
13283   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13284
13285 for ac_func in fabsf
13286 do
13287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13288 echo "$as_me:$LINENO: checking for $ac_func" >&5
13289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13290 if eval "test \"\${$as_ac_var+set}\" = set"; then
13291   echo $ECHO_N "(cached) $ECHO_C" >&6
13292 else
13293   if test x$gcc_no_link = xyes; then
13294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13296    { (exit 1); exit 1; }; }
13297 fi
13298 cat >conftest.$ac_ext <<_ACEOF
13299 /* confdefs.h.  */
13300 _ACEOF
13301 cat confdefs.h >>conftest.$ac_ext
13302 cat >>conftest.$ac_ext <<_ACEOF
13303 /* end confdefs.h.  */
13304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13306 #define $ac_func innocuous_$ac_func
13307
13308 /* System header to define __stub macros and hopefully few prototypes,
13309     which can conflict with char $ac_func (); below.
13310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13311     <limits.h> exists even on freestanding compilers.  */
13312
13313 #ifdef __STDC__
13314 # include <limits.h>
13315 #else
13316 # include <assert.h>
13317 #endif
13318
13319 #undef $ac_func
13320
13321 /* Override any gcc2 internal prototype to avoid an error.  */
13322 #ifdef __cplusplus
13323 extern "C"
13324 {
13325 #endif
13326 /* We use char because int might match the return type of a gcc2
13327    builtin and then its argument prototype would still apply.  */
13328 char $ac_func ();
13329 /* The GNU C library defines this for functions which it implements
13330     to always fail with ENOSYS.  Some functions are actually named
13331     something starting with __ and the normal name is an alias.  */
13332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13333 choke me
13334 #else
13335 char (*f) () = $ac_func;
13336 #endif
13337 #ifdef __cplusplus
13338 }
13339 #endif
13340
13341 int
13342 main ()
13343 {
13344 return f != $ac_func;
13345   ;
13346   return 0;
13347 }
13348 _ACEOF
13349 rm -f conftest.$ac_objext conftest$ac_exeext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13351   (eval $ac_link) 2>conftest.er1
13352   ac_status=$?
13353   grep -v '^ *+' conftest.er1 >conftest.err
13354   rm -f conftest.er1
13355   cat conftest.err >&5
13356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357   (exit $ac_status); } &&
13358          { ac_try='test -z "$ac_c_werror_flag"
13359                          || test ! -s conftest.err'
13360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361   (eval $ac_try) 2>&5
13362   ac_status=$?
13363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364   (exit $ac_status); }; } &&
13365          { ac_try='test -s conftest$ac_exeext'
13366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367   (eval $ac_try) 2>&5
13368   ac_status=$?
13369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370   (exit $ac_status); }; }; then
13371   eval "$as_ac_var=yes"
13372 else
13373   echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.$ac_ext >&5
13375
13376 eval "$as_ac_var=no"
13377 fi
13378 rm -f conftest.err conftest.$ac_objext \
13379       conftest$ac_exeext conftest.$ac_ext
13380 fi
13381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13383 if test `eval echo '${'$as_ac_var'}'` = yes; then
13384   cat >>confdefs.h <<_ACEOF
13385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13386 _ACEOF
13387
13388 fi
13389 done
13390
13391   else
13392
13393   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13394 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13395   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13396     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13397   echo $ECHO_N "(cached) $ECHO_C" >&6
13398 else
13399
13400
13401
13402       ac_ext=cc
13403 ac_cpp='$CXXCPP $CPPFLAGS'
13404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13407
13408       cat >conftest.$ac_ext <<_ACEOF
13409 /* confdefs.h.  */
13410 _ACEOF
13411 cat confdefs.h >>conftest.$ac_ext
13412 cat >>conftest.$ac_ext <<_ACEOF
13413 /* end confdefs.h.  */
13414 #include <math.h>
13415                       #ifdef HAVE_IEEEFP_H
13416                       #include <ieeefp.h>
13417                       #endif
13418
13419 int
13420 main ()
13421 {
13422  _fabsf(0);
13423   ;
13424   return 0;
13425 }
13426 _ACEOF
13427 rm -f conftest.$ac_objext
13428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13429   (eval $ac_compile) 2>conftest.er1
13430   ac_status=$?
13431   grep -v '^ *+' conftest.er1 >conftest.err
13432   rm -f conftest.er1
13433   cat conftest.err >&5
13434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435   (exit $ac_status); } &&
13436          { ac_try='test -z "$ac_cxx_werror_flag"
13437                          || test ! -s conftest.err'
13438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13439   (eval $ac_try) 2>&5
13440   ac_status=$?
13441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442   (exit $ac_status); }; } &&
13443          { ac_try='test -s conftest.$ac_objext'
13444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445   (eval $ac_try) 2>&5
13446   ac_status=$?
13447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448   (exit $ac_status); }; }; then
13449   glibcxx_cv_func__fabsf_use=yes
13450 else
13451   echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13453
13454 glibcxx_cv_func__fabsf_use=no
13455 fi
13456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13457       ac_ext=c
13458 ac_cpp='$CPP $CPPFLAGS'
13459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13462
13463
13464 fi
13465
13466   fi
13467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13468 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13469
13470     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13471
13472 for ac_func in _fabsf
13473 do
13474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13475 echo "$as_me:$LINENO: checking for $ac_func" >&5
13476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13477 if eval "test \"\${$as_ac_var+set}\" = set"; then
13478   echo $ECHO_N "(cached) $ECHO_C" >&6
13479 else
13480   if test x$gcc_no_link = xyes; then
13481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13483    { (exit 1); exit 1; }; }
13484 fi
13485 cat >conftest.$ac_ext <<_ACEOF
13486 /* confdefs.h.  */
13487 _ACEOF
13488 cat confdefs.h >>conftest.$ac_ext
13489 cat >>conftest.$ac_ext <<_ACEOF
13490 /* end confdefs.h.  */
13491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13493 #define $ac_func innocuous_$ac_func
13494
13495 /* System header to define __stub macros and hopefully few prototypes,
13496     which can conflict with char $ac_func (); below.
13497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13498     <limits.h> exists even on freestanding compilers.  */
13499
13500 #ifdef __STDC__
13501 # include <limits.h>
13502 #else
13503 # include <assert.h>
13504 #endif
13505
13506 #undef $ac_func
13507
13508 /* Override any gcc2 internal prototype to avoid an error.  */
13509 #ifdef __cplusplus
13510 extern "C"
13511 {
13512 #endif
13513 /* We use char because int might match the return type of a gcc2
13514    builtin and then its argument prototype would still apply.  */
13515 char $ac_func ();
13516 /* The GNU C library defines this for functions which it implements
13517     to always fail with ENOSYS.  Some functions are actually named
13518     something starting with __ and the normal name is an alias.  */
13519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13520 choke me
13521 #else
13522 char (*f) () = $ac_func;
13523 #endif
13524 #ifdef __cplusplus
13525 }
13526 #endif
13527
13528 int
13529 main ()
13530 {
13531 return f != $ac_func;
13532   ;
13533   return 0;
13534 }
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13538   (eval $ac_link) 2>conftest.er1
13539   ac_status=$?
13540   grep -v '^ *+' conftest.er1 >conftest.err
13541   rm -f conftest.er1
13542   cat conftest.err >&5
13543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544   (exit $ac_status); } &&
13545          { ac_try='test -z "$ac_c_werror_flag"
13546                          || test ! -s conftest.err'
13547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548   (eval $ac_try) 2>&5
13549   ac_status=$?
13550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551   (exit $ac_status); }; } &&
13552          { ac_try='test -s conftest$ac_exeext'
13553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554   (eval $ac_try) 2>&5
13555   ac_status=$?
13556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557   (exit $ac_status); }; }; then
13558   eval "$as_ac_var=yes"
13559 else
13560   echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13562
13563 eval "$as_ac_var=no"
13564 fi
13565 rm -f conftest.err conftest.$ac_objext \
13566       conftest$ac_exeext conftest.$ac_ext
13567 fi
13568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13570 if test `eval echo '${'$as_ac_var'}'` = yes; then
13571   cat >>confdefs.h <<_ACEOF
13572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13573 _ACEOF
13574
13575 fi
13576 done
13577
13578     fi
13579   fi
13580
13581
13582
13583   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13584 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13585   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13586     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13587   echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589
13590
13591
13592       ac_ext=cc
13593 ac_cpp='$CXXCPP $CPPFLAGS'
13594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13597
13598       cat >conftest.$ac_ext <<_ACEOF
13599 /* confdefs.h.  */
13600 _ACEOF
13601 cat confdefs.h >>conftest.$ac_ext
13602 cat >>conftest.$ac_ext <<_ACEOF
13603 /* end confdefs.h.  */
13604 #include <math.h>
13605 int
13606 main ()
13607 {
13608  fmodf(0, 0);
13609   ;
13610   return 0;
13611 }
13612 _ACEOF
13613 rm -f conftest.$ac_objext
13614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13615   (eval $ac_compile) 2>conftest.er1
13616   ac_status=$?
13617   grep -v '^ *+' conftest.er1 >conftest.err
13618   rm -f conftest.er1
13619   cat conftest.err >&5
13620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621   (exit $ac_status); } &&
13622          { ac_try='test -z "$ac_cxx_werror_flag"
13623                          || test ! -s conftest.err'
13624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625   (eval $ac_try) 2>&5
13626   ac_status=$?
13627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628   (exit $ac_status); }; } &&
13629          { ac_try='test -s conftest.$ac_objext'
13630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631   (eval $ac_try) 2>&5
13632   ac_status=$?
13633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634   (exit $ac_status); }; }; then
13635   glibcxx_cv_func_fmodf_use=yes
13636 else
13637   echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13639
13640 glibcxx_cv_func_fmodf_use=no
13641 fi
13642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13643       ac_ext=c
13644 ac_cpp='$CPP $CPPFLAGS'
13645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13648
13649
13650 fi
13651
13652   fi
13653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13654 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13655
13656   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13657
13658 for ac_func in fmodf
13659 do
13660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13661 echo "$as_me:$LINENO: checking for $ac_func" >&5
13662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13663 if eval "test \"\${$as_ac_var+set}\" = set"; then
13664   echo $ECHO_N "(cached) $ECHO_C" >&6
13665 else
13666   if test x$gcc_no_link = xyes; then
13667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13669    { (exit 1); exit 1; }; }
13670 fi
13671 cat >conftest.$ac_ext <<_ACEOF
13672 /* confdefs.h.  */
13673 _ACEOF
13674 cat confdefs.h >>conftest.$ac_ext
13675 cat >>conftest.$ac_ext <<_ACEOF
13676 /* end confdefs.h.  */
13677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13679 #define $ac_func innocuous_$ac_func
13680
13681 /* System header to define __stub macros and hopefully few prototypes,
13682     which can conflict with char $ac_func (); below.
13683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13684     <limits.h> exists even on freestanding compilers.  */
13685
13686 #ifdef __STDC__
13687 # include <limits.h>
13688 #else
13689 # include <assert.h>
13690 #endif
13691
13692 #undef $ac_func
13693
13694 /* Override any gcc2 internal prototype to avoid an error.  */
13695 #ifdef __cplusplus
13696 extern "C"
13697 {
13698 #endif
13699 /* We use char because int might match the return type of a gcc2
13700    builtin and then its argument prototype would still apply.  */
13701 char $ac_func ();
13702 /* The GNU C library defines this for functions which it implements
13703     to always fail with ENOSYS.  Some functions are actually named
13704     something starting with __ and the normal name is an alias.  */
13705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13706 choke me
13707 #else
13708 char (*f) () = $ac_func;
13709 #endif
13710 #ifdef __cplusplus
13711 }
13712 #endif
13713
13714 int
13715 main ()
13716 {
13717 return f != $ac_func;
13718   ;
13719   return 0;
13720 }
13721 _ACEOF
13722 rm -f conftest.$ac_objext conftest$ac_exeext
13723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13724   (eval $ac_link) 2>conftest.er1
13725   ac_status=$?
13726   grep -v '^ *+' conftest.er1 >conftest.err
13727   rm -f conftest.er1
13728   cat conftest.err >&5
13729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730   (exit $ac_status); } &&
13731          { ac_try='test -z "$ac_c_werror_flag"
13732                          || test ! -s conftest.err'
13733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734   (eval $ac_try) 2>&5
13735   ac_status=$?
13736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737   (exit $ac_status); }; } &&
13738          { ac_try='test -s conftest$ac_exeext'
13739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740   (eval $ac_try) 2>&5
13741   ac_status=$?
13742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743   (exit $ac_status); }; }; then
13744   eval "$as_ac_var=yes"
13745 else
13746   echo "$as_me: failed program was:" >&5
13747 sed 's/^/| /' conftest.$ac_ext >&5
13748
13749 eval "$as_ac_var=no"
13750 fi
13751 rm -f conftest.err conftest.$ac_objext \
13752       conftest$ac_exeext conftest.$ac_ext
13753 fi
13754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13756 if test `eval echo '${'$as_ac_var'}'` = yes; then
13757   cat >>confdefs.h <<_ACEOF
13758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13759 _ACEOF
13760
13761 fi
13762 done
13763
13764   else
13765
13766   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13767 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13768   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13769     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13770   echo $ECHO_N "(cached) $ECHO_C" >&6
13771 else
13772
13773
13774
13775       ac_ext=cc
13776 ac_cpp='$CXXCPP $CPPFLAGS'
13777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13780
13781       cat >conftest.$ac_ext <<_ACEOF
13782 /* confdefs.h.  */
13783 _ACEOF
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h.  */
13787 #include <math.h>
13788 int
13789 main ()
13790 {
13791  _fmodf(0, 0);
13792   ;
13793   return 0;
13794 }
13795 _ACEOF
13796 rm -f conftest.$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798   (eval $ac_compile) 2>conftest.er1
13799   ac_status=$?
13800   grep -v '^ *+' conftest.er1 >conftest.err
13801   rm -f conftest.er1
13802   cat conftest.err >&5
13803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804   (exit $ac_status); } &&
13805          { ac_try='test -z "$ac_cxx_werror_flag"
13806                          || test ! -s conftest.err'
13807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808   (eval $ac_try) 2>&5
13809   ac_status=$?
13810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811   (exit $ac_status); }; } &&
13812          { ac_try='test -s conftest.$ac_objext'
13813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814   (eval $ac_try) 2>&5
13815   ac_status=$?
13816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817   (exit $ac_status); }; }; then
13818   glibcxx_cv_func__fmodf_use=yes
13819 else
13820   echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13822
13823 glibcxx_cv_func__fmodf_use=no
13824 fi
13825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13826       ac_ext=c
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831
13832
13833 fi
13834
13835   fi
13836   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13837 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13838
13839     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13840
13841 for ac_func in _fmodf
13842 do
13843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13844 echo "$as_me:$LINENO: checking for $ac_func" >&5
13845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13846 if eval "test \"\${$as_ac_var+set}\" = set"; then
13847   echo $ECHO_N "(cached) $ECHO_C" >&6
13848 else
13849   if test x$gcc_no_link = xyes; then
13850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13852    { (exit 1); exit 1; }; }
13853 fi
13854 cat >conftest.$ac_ext <<_ACEOF
13855 /* confdefs.h.  */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h.  */
13860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13862 #define $ac_func innocuous_$ac_func
13863
13864 /* System header to define __stub macros and hopefully few prototypes,
13865     which can conflict with char $ac_func (); below.
13866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13867     <limits.h> exists even on freestanding compilers.  */
13868
13869 #ifdef __STDC__
13870 # include <limits.h>
13871 #else
13872 # include <assert.h>
13873 #endif
13874
13875 #undef $ac_func
13876
13877 /* Override any gcc2 internal prototype to avoid an error.  */
13878 #ifdef __cplusplus
13879 extern "C"
13880 {
13881 #endif
13882 /* We use char because int might match the return type of a gcc2
13883    builtin and then its argument prototype would still apply.  */
13884 char $ac_func ();
13885 /* The GNU C library defines this for functions which it implements
13886     to always fail with ENOSYS.  Some functions are actually named
13887     something starting with __ and the normal name is an alias.  */
13888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13889 choke me
13890 #else
13891 char (*f) () = $ac_func;
13892 #endif
13893 #ifdef __cplusplus
13894 }
13895 #endif
13896
13897 int
13898 main ()
13899 {
13900 return f != $ac_func;
13901   ;
13902   return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest.$ac_objext conftest$ac_exeext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13907   (eval $ac_link) 2>conftest.er1
13908   ac_status=$?
13909   grep -v '^ *+' conftest.er1 >conftest.err
13910   rm -f conftest.er1
13911   cat conftest.err >&5
13912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913   (exit $ac_status); } &&
13914          { ac_try='test -z "$ac_c_werror_flag"
13915                          || test ! -s conftest.err'
13916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13917   (eval $ac_try) 2>&5
13918   ac_status=$?
13919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920   (exit $ac_status); }; } &&
13921          { ac_try='test -s conftest$ac_exeext'
13922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13923   (eval $ac_try) 2>&5
13924   ac_status=$?
13925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926   (exit $ac_status); }; }; then
13927   eval "$as_ac_var=yes"
13928 else
13929   echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13931
13932 eval "$as_ac_var=no"
13933 fi
13934 rm -f conftest.err conftest.$ac_objext \
13935       conftest$ac_exeext conftest.$ac_ext
13936 fi
13937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13939 if test `eval echo '${'$as_ac_var'}'` = yes; then
13940   cat >>confdefs.h <<_ACEOF
13941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13942 _ACEOF
13943
13944 fi
13945 done
13946
13947     fi
13948   fi
13949
13950
13951
13952   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13953 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13954   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13955     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13956   echo $ECHO_N "(cached) $ECHO_C" >&6
13957 else
13958
13959
13960
13961       ac_ext=cc
13962 ac_cpp='$CXXCPP $CPPFLAGS'
13963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13966
13967       cat >conftest.$ac_ext <<_ACEOF
13968 /* confdefs.h.  */
13969 _ACEOF
13970 cat confdefs.h >>conftest.$ac_ext
13971 cat >>conftest.$ac_ext <<_ACEOF
13972 /* end confdefs.h.  */
13973 #include <math.h>
13974 int
13975 main ()
13976 {
13977  frexpf(0, 0);
13978   ;
13979   return 0;
13980 }
13981 _ACEOF
13982 rm -f conftest.$ac_objext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984   (eval $ac_compile) 2>conftest.er1
13985   ac_status=$?
13986   grep -v '^ *+' conftest.er1 >conftest.err
13987   rm -f conftest.er1
13988   cat conftest.err >&5
13989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990   (exit $ac_status); } &&
13991          { ac_try='test -z "$ac_cxx_werror_flag"
13992                          || test ! -s conftest.err'
13993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994   (eval $ac_try) 2>&5
13995   ac_status=$?
13996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997   (exit $ac_status); }; } &&
13998          { ac_try='test -s conftest.$ac_objext'
13999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000   (eval $ac_try) 2>&5
14001   ac_status=$?
14002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003   (exit $ac_status); }; }; then
14004   glibcxx_cv_func_frexpf_use=yes
14005 else
14006   echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14008
14009 glibcxx_cv_func_frexpf_use=no
14010 fi
14011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14012       ac_ext=c
14013 ac_cpp='$CPP $CPPFLAGS'
14014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14017
14018
14019 fi
14020
14021   fi
14022   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14023 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14024
14025   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14026
14027 for ac_func in frexpf
14028 do
14029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14030 echo "$as_me:$LINENO: checking for $ac_func" >&5
14031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14032 if eval "test \"\${$as_ac_var+set}\" = set"; then
14033   echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035   if test x$gcc_no_link = xyes; then
14036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14038    { (exit 1); exit 1; }; }
14039 fi
14040 cat >conftest.$ac_ext <<_ACEOF
14041 /* confdefs.h.  */
14042 _ACEOF
14043 cat confdefs.h >>conftest.$ac_ext
14044 cat >>conftest.$ac_ext <<_ACEOF
14045 /* end confdefs.h.  */
14046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14048 #define $ac_func innocuous_$ac_func
14049
14050 /* System header to define __stub macros and hopefully few prototypes,
14051     which can conflict with char $ac_func (); below.
14052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14053     <limits.h> exists even on freestanding compilers.  */
14054
14055 #ifdef __STDC__
14056 # include <limits.h>
14057 #else
14058 # include <assert.h>
14059 #endif
14060
14061 #undef $ac_func
14062
14063 /* Override any gcc2 internal prototype to avoid an error.  */
14064 #ifdef __cplusplus
14065 extern "C"
14066 {
14067 #endif
14068 /* We use char because int might match the return type of a gcc2
14069    builtin and then its argument prototype would still apply.  */
14070 char $ac_func ();
14071 /* The GNU C library defines this for functions which it implements
14072     to always fail with ENOSYS.  Some functions are actually named
14073     something starting with __ and the normal name is an alias.  */
14074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14075 choke me
14076 #else
14077 char (*f) () = $ac_func;
14078 #endif
14079 #ifdef __cplusplus
14080 }
14081 #endif
14082
14083 int
14084 main ()
14085 {
14086 return f != $ac_func;
14087   ;
14088   return 0;
14089 }
14090 _ACEOF
14091 rm -f conftest.$ac_objext conftest$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093   (eval $ac_link) 2>conftest.er1
14094   ac_status=$?
14095   grep -v '^ *+' conftest.er1 >conftest.err
14096   rm -f conftest.er1
14097   cat conftest.err >&5
14098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099   (exit $ac_status); } &&
14100          { ac_try='test -z "$ac_c_werror_flag"
14101                          || test ! -s conftest.err'
14102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103   (eval $ac_try) 2>&5
14104   ac_status=$?
14105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106   (exit $ac_status); }; } &&
14107          { ac_try='test -s conftest$ac_exeext'
14108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109   (eval $ac_try) 2>&5
14110   ac_status=$?
14111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112   (exit $ac_status); }; }; then
14113   eval "$as_ac_var=yes"
14114 else
14115   echo "$as_me: failed program was:" >&5
14116 sed 's/^/| /' conftest.$ac_ext >&5
14117
14118 eval "$as_ac_var=no"
14119 fi
14120 rm -f conftest.err conftest.$ac_objext \
14121       conftest$ac_exeext conftest.$ac_ext
14122 fi
14123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14125 if test `eval echo '${'$as_ac_var'}'` = yes; then
14126   cat >>confdefs.h <<_ACEOF
14127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14128 _ACEOF
14129
14130 fi
14131 done
14132
14133   else
14134
14135   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14136 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14137   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14138     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14139   echo $ECHO_N "(cached) $ECHO_C" >&6
14140 else
14141
14142
14143
14144       ac_ext=cc
14145 ac_cpp='$CXXCPP $CPPFLAGS'
14146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14149
14150       cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h.  */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h.  */
14156 #include <math.h>
14157 int
14158 main ()
14159 {
14160  _frexpf(0, 0);
14161   ;
14162   return 0;
14163 }
14164 _ACEOF
14165 rm -f conftest.$ac_objext
14166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14167   (eval $ac_compile) 2>conftest.er1
14168   ac_status=$?
14169   grep -v '^ *+' conftest.er1 >conftest.err
14170   rm -f conftest.er1
14171   cat conftest.err >&5
14172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173   (exit $ac_status); } &&
14174          { ac_try='test -z "$ac_cxx_werror_flag"
14175                          || test ! -s conftest.err'
14176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177   (eval $ac_try) 2>&5
14178   ac_status=$?
14179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180   (exit $ac_status); }; } &&
14181          { ac_try='test -s conftest.$ac_objext'
14182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183   (eval $ac_try) 2>&5
14184   ac_status=$?
14185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186   (exit $ac_status); }; }; then
14187   glibcxx_cv_func__frexpf_use=yes
14188 else
14189   echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14191
14192 glibcxx_cv_func__frexpf_use=no
14193 fi
14194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14195       ac_ext=c
14196 ac_cpp='$CPP $CPPFLAGS'
14197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14200
14201
14202 fi
14203
14204   fi
14205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14206 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14207
14208     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14209
14210 for ac_func in _frexpf
14211 do
14212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14213 echo "$as_me:$LINENO: checking for $ac_func" >&5
14214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14215 if eval "test \"\${$as_ac_var+set}\" = set"; then
14216   echo $ECHO_N "(cached) $ECHO_C" >&6
14217 else
14218   if test x$gcc_no_link = xyes; then
14219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14221    { (exit 1); exit 1; }; }
14222 fi
14223 cat >conftest.$ac_ext <<_ACEOF
14224 /* confdefs.h.  */
14225 _ACEOF
14226 cat confdefs.h >>conftest.$ac_ext
14227 cat >>conftest.$ac_ext <<_ACEOF
14228 /* end confdefs.h.  */
14229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14231 #define $ac_func innocuous_$ac_func
14232
14233 /* System header to define __stub macros and hopefully few prototypes,
14234     which can conflict with char $ac_func (); below.
14235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14236     <limits.h> exists even on freestanding compilers.  */
14237
14238 #ifdef __STDC__
14239 # include <limits.h>
14240 #else
14241 # include <assert.h>
14242 #endif
14243
14244 #undef $ac_func
14245
14246 /* Override any gcc2 internal prototype to avoid an error.  */
14247 #ifdef __cplusplus
14248 extern "C"
14249 {
14250 #endif
14251 /* We use char because int might match the return type of a gcc2
14252    builtin and then its argument prototype would still apply.  */
14253 char $ac_func ();
14254 /* The GNU C library defines this for functions which it implements
14255     to always fail with ENOSYS.  Some functions are actually named
14256     something starting with __ and the normal name is an alias.  */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14258 choke me
14259 #else
14260 char (*f) () = $ac_func;
14261 #endif
14262 #ifdef __cplusplus
14263 }
14264 #endif
14265
14266 int
14267 main ()
14268 {
14269 return f != $ac_func;
14270   ;
14271   return 0;
14272 }
14273 _ACEOF
14274 rm -f conftest.$ac_objext conftest$ac_exeext
14275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14276   (eval $ac_link) 2>conftest.er1
14277   ac_status=$?
14278   grep -v '^ *+' conftest.er1 >conftest.err
14279   rm -f conftest.er1
14280   cat conftest.err >&5
14281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282   (exit $ac_status); } &&
14283          { ac_try='test -z "$ac_c_werror_flag"
14284                          || test ! -s conftest.err'
14285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286   (eval $ac_try) 2>&5
14287   ac_status=$?
14288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289   (exit $ac_status); }; } &&
14290          { ac_try='test -s conftest$ac_exeext'
14291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292   (eval $ac_try) 2>&5
14293   ac_status=$?
14294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295   (exit $ac_status); }; }; then
14296   eval "$as_ac_var=yes"
14297 else
14298   echo "$as_me: failed program was:" >&5
14299 sed 's/^/| /' conftest.$ac_ext >&5
14300
14301 eval "$as_ac_var=no"
14302 fi
14303 rm -f conftest.err conftest.$ac_objext \
14304       conftest$ac_exeext conftest.$ac_ext
14305 fi
14306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14308 if test `eval echo '${'$as_ac_var'}'` = yes; then
14309   cat >>confdefs.h <<_ACEOF
14310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14311 _ACEOF
14312
14313 fi
14314 done
14315
14316     fi
14317   fi
14318
14319
14320
14321   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14322 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14323   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14324     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14325   echo $ECHO_N "(cached) $ECHO_C" >&6
14326 else
14327
14328
14329
14330       ac_ext=cc
14331 ac_cpp='$CXXCPP $CPPFLAGS'
14332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14335
14336       cat >conftest.$ac_ext <<_ACEOF
14337 /* confdefs.h.  */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h.  */
14342 #include <math.h>
14343 int
14344 main ()
14345 {
14346  hypotf(0, 0);
14347   ;
14348   return 0;
14349 }
14350 _ACEOF
14351 rm -f conftest.$ac_objext
14352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14353   (eval $ac_compile) 2>conftest.er1
14354   ac_status=$?
14355   grep -v '^ *+' conftest.er1 >conftest.err
14356   rm -f conftest.er1
14357   cat conftest.err >&5
14358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359   (exit $ac_status); } &&
14360          { ac_try='test -z "$ac_cxx_werror_flag"
14361                          || test ! -s conftest.err'
14362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14363   (eval $ac_try) 2>&5
14364   ac_status=$?
14365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14366   (exit $ac_status); }; } &&
14367          { ac_try='test -s conftest.$ac_objext'
14368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14369   (eval $ac_try) 2>&5
14370   ac_status=$?
14371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372   (exit $ac_status); }; }; then
14373   glibcxx_cv_func_hypotf_use=yes
14374 else
14375   echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14377
14378 glibcxx_cv_func_hypotf_use=no
14379 fi
14380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14381       ac_ext=c
14382 ac_cpp='$CPP $CPPFLAGS'
14383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14386
14387
14388 fi
14389
14390   fi
14391   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14392 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14393
14394   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14395
14396 for ac_func in hypotf
14397 do
14398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14399 echo "$as_me:$LINENO: checking for $ac_func" >&5
14400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14401 if eval "test \"\${$as_ac_var+set}\" = set"; then
14402   echo $ECHO_N "(cached) $ECHO_C" >&6
14403 else
14404   if test x$gcc_no_link = xyes; then
14405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14407    { (exit 1); exit 1; }; }
14408 fi
14409 cat >conftest.$ac_ext <<_ACEOF
14410 /* confdefs.h.  */
14411 _ACEOF
14412 cat confdefs.h >>conftest.$ac_ext
14413 cat >>conftest.$ac_ext <<_ACEOF
14414 /* end confdefs.h.  */
14415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14417 #define $ac_func innocuous_$ac_func
14418
14419 /* System header to define __stub macros and hopefully few prototypes,
14420     which can conflict with char $ac_func (); below.
14421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14422     <limits.h> exists even on freestanding compilers.  */
14423
14424 #ifdef __STDC__
14425 # include <limits.h>
14426 #else
14427 # include <assert.h>
14428 #endif
14429
14430 #undef $ac_func
14431
14432 /* Override any gcc2 internal prototype to avoid an error.  */
14433 #ifdef __cplusplus
14434 extern "C"
14435 {
14436 #endif
14437 /* We use char because int might match the return type of a gcc2
14438    builtin and then its argument prototype would still apply.  */
14439 char $ac_func ();
14440 /* The GNU C library defines this for functions which it implements
14441     to always fail with ENOSYS.  Some functions are actually named
14442     something starting with __ and the normal name is an alias.  */
14443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14444 choke me
14445 #else
14446 char (*f) () = $ac_func;
14447 #endif
14448 #ifdef __cplusplus
14449 }
14450 #endif
14451
14452 int
14453 main ()
14454 {
14455 return f != $ac_func;
14456   ;
14457   return 0;
14458 }
14459 _ACEOF
14460 rm -f conftest.$ac_objext conftest$ac_exeext
14461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14462   (eval $ac_link) 2>conftest.er1
14463   ac_status=$?
14464   grep -v '^ *+' conftest.er1 >conftest.err
14465   rm -f conftest.er1
14466   cat conftest.err >&5
14467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468   (exit $ac_status); } &&
14469          { ac_try='test -z "$ac_c_werror_flag"
14470                          || test ! -s conftest.err'
14471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472   (eval $ac_try) 2>&5
14473   ac_status=$?
14474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475   (exit $ac_status); }; } &&
14476          { ac_try='test -s conftest$ac_exeext'
14477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14478   (eval $ac_try) 2>&5
14479   ac_status=$?
14480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481   (exit $ac_status); }; }; then
14482   eval "$as_ac_var=yes"
14483 else
14484   echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.$ac_ext >&5
14486
14487 eval "$as_ac_var=no"
14488 fi
14489 rm -f conftest.err conftest.$ac_objext \
14490       conftest$ac_exeext conftest.$ac_ext
14491 fi
14492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14494 if test `eval echo '${'$as_ac_var'}'` = yes; then
14495   cat >>confdefs.h <<_ACEOF
14496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14497 _ACEOF
14498
14499 fi
14500 done
14501
14502   else
14503
14504   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14505 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14506   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14507     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14508   echo $ECHO_N "(cached) $ECHO_C" >&6
14509 else
14510
14511
14512
14513       ac_ext=cc
14514 ac_cpp='$CXXCPP $CPPFLAGS'
14515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14518
14519       cat >conftest.$ac_ext <<_ACEOF
14520 /* confdefs.h.  */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h.  */
14525 #include <math.h>
14526 int
14527 main ()
14528 {
14529  _hypotf(0, 0);
14530   ;
14531   return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536   (eval $ac_compile) 2>conftest.er1
14537   ac_status=$?
14538   grep -v '^ *+' conftest.er1 >conftest.err
14539   rm -f conftest.er1
14540   cat conftest.err >&5
14541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542   (exit $ac_status); } &&
14543          { ac_try='test -z "$ac_cxx_werror_flag"
14544                          || test ! -s conftest.err'
14545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546   (eval $ac_try) 2>&5
14547   ac_status=$?
14548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549   (exit $ac_status); }; } &&
14550          { ac_try='test -s conftest.$ac_objext'
14551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552   (eval $ac_try) 2>&5
14553   ac_status=$?
14554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555   (exit $ac_status); }; }; then
14556   glibcxx_cv_func__hypotf_use=yes
14557 else
14558   echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.$ac_ext >&5
14560
14561 glibcxx_cv_func__hypotf_use=no
14562 fi
14563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14564       ac_ext=c
14565 ac_cpp='$CPP $CPPFLAGS'
14566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14569
14570
14571 fi
14572
14573   fi
14574   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14575 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14576
14577     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14578
14579 for ac_func in _hypotf
14580 do
14581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14582 echo "$as_me:$LINENO: checking for $ac_func" >&5
14583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14584 if eval "test \"\${$as_ac_var+set}\" = set"; then
14585   echo $ECHO_N "(cached) $ECHO_C" >&6
14586 else
14587   if test x$gcc_no_link = xyes; then
14588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14590    { (exit 1); exit 1; }; }
14591 fi
14592 cat >conftest.$ac_ext <<_ACEOF
14593 /* confdefs.h.  */
14594 _ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h.  */
14598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14600 #define $ac_func innocuous_$ac_func
14601
14602 /* System header to define __stub macros and hopefully few prototypes,
14603     which can conflict with char $ac_func (); below.
14604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14605     <limits.h> exists even on freestanding compilers.  */
14606
14607 #ifdef __STDC__
14608 # include <limits.h>
14609 #else
14610 # include <assert.h>
14611 #endif
14612
14613 #undef $ac_func
14614
14615 /* Override any gcc2 internal prototype to avoid an error.  */
14616 #ifdef __cplusplus
14617 extern "C"
14618 {
14619 #endif
14620 /* We use char because int might match the return type of a gcc2
14621    builtin and then its argument prototype would still apply.  */
14622 char $ac_func ();
14623 /* The GNU C library defines this for functions which it implements
14624     to always fail with ENOSYS.  Some functions are actually named
14625     something starting with __ and the normal name is an alias.  */
14626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14627 choke me
14628 #else
14629 char (*f) () = $ac_func;
14630 #endif
14631 #ifdef __cplusplus
14632 }
14633 #endif
14634
14635 int
14636 main ()
14637 {
14638 return f != $ac_func;
14639   ;
14640   return 0;
14641 }
14642 _ACEOF
14643 rm -f conftest.$ac_objext conftest$ac_exeext
14644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14645   (eval $ac_link) 2>conftest.er1
14646   ac_status=$?
14647   grep -v '^ *+' conftest.er1 >conftest.err
14648   rm -f conftest.er1
14649   cat conftest.err >&5
14650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651   (exit $ac_status); } &&
14652          { ac_try='test -z "$ac_c_werror_flag"
14653                          || test ! -s conftest.err'
14654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655   (eval $ac_try) 2>&5
14656   ac_status=$?
14657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658   (exit $ac_status); }; } &&
14659          { ac_try='test -s conftest$ac_exeext'
14660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661   (eval $ac_try) 2>&5
14662   ac_status=$?
14663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664   (exit $ac_status); }; }; then
14665   eval "$as_ac_var=yes"
14666 else
14667   echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 eval "$as_ac_var=no"
14671 fi
14672 rm -f conftest.err conftest.$ac_objext \
14673       conftest$ac_exeext conftest.$ac_ext
14674 fi
14675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14677 if test `eval echo '${'$as_ac_var'}'` = yes; then
14678   cat >>confdefs.h <<_ACEOF
14679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14680 _ACEOF
14681
14682 fi
14683 done
14684
14685     fi
14686   fi
14687
14688
14689
14690   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14691 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14692   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14693     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14694   echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696
14697
14698
14699       ac_ext=cc
14700 ac_cpp='$CXXCPP $CPPFLAGS'
14701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14704
14705       cat >conftest.$ac_ext <<_ACEOF
14706 /* confdefs.h.  */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h.  */
14711 #include <math.h>
14712 int
14713 main ()
14714 {
14715  ldexpf(0, 0);
14716   ;
14717   return 0;
14718 }
14719 _ACEOF
14720 rm -f conftest.$ac_objext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14722   (eval $ac_compile) 2>conftest.er1
14723   ac_status=$?
14724   grep -v '^ *+' conftest.er1 >conftest.err
14725   rm -f conftest.er1
14726   cat conftest.err >&5
14727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728   (exit $ac_status); } &&
14729          { ac_try='test -z "$ac_cxx_werror_flag"
14730                          || test ! -s conftest.err'
14731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732   (eval $ac_try) 2>&5
14733   ac_status=$?
14734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735   (exit $ac_status); }; } &&
14736          { ac_try='test -s conftest.$ac_objext'
14737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738   (eval $ac_try) 2>&5
14739   ac_status=$?
14740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741   (exit $ac_status); }; }; then
14742   glibcxx_cv_func_ldexpf_use=yes
14743 else
14744   echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14746
14747 glibcxx_cv_func_ldexpf_use=no
14748 fi
14749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14750       ac_ext=c
14751 ac_cpp='$CPP $CPPFLAGS'
14752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14755
14756
14757 fi
14758
14759   fi
14760   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14761 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14762
14763   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14764
14765 for ac_func in ldexpf
14766 do
14767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14768 echo "$as_me:$LINENO: checking for $ac_func" >&5
14769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14770 if eval "test \"\${$as_ac_var+set}\" = set"; then
14771   echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773   if test x$gcc_no_link = xyes; then
14774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14776    { (exit 1); exit 1; }; }
14777 fi
14778 cat >conftest.$ac_ext <<_ACEOF
14779 /* confdefs.h.  */
14780 _ACEOF
14781 cat confdefs.h >>conftest.$ac_ext
14782 cat >>conftest.$ac_ext <<_ACEOF
14783 /* end confdefs.h.  */
14784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14786 #define $ac_func innocuous_$ac_func
14787
14788 /* System header to define __stub macros and hopefully few prototypes,
14789     which can conflict with char $ac_func (); below.
14790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14791     <limits.h> exists even on freestanding compilers.  */
14792
14793 #ifdef __STDC__
14794 # include <limits.h>
14795 #else
14796 # include <assert.h>
14797 #endif
14798
14799 #undef $ac_func
14800
14801 /* Override any gcc2 internal prototype to avoid an error.  */
14802 #ifdef __cplusplus
14803 extern "C"
14804 {
14805 #endif
14806 /* We use char because int might match the return type of a gcc2
14807    builtin and then its argument prototype would still apply.  */
14808 char $ac_func ();
14809 /* The GNU C library defines this for functions which it implements
14810     to always fail with ENOSYS.  Some functions are actually named
14811     something starting with __ and the normal name is an alias.  */
14812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14813 choke me
14814 #else
14815 char (*f) () = $ac_func;
14816 #endif
14817 #ifdef __cplusplus
14818 }
14819 #endif
14820
14821 int
14822 main ()
14823 {
14824 return f != $ac_func;
14825   ;
14826   return 0;
14827 }
14828 _ACEOF
14829 rm -f conftest.$ac_objext conftest$ac_exeext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14831   (eval $ac_link) 2>conftest.er1
14832   ac_status=$?
14833   grep -v '^ *+' conftest.er1 >conftest.err
14834   rm -f conftest.er1
14835   cat conftest.err >&5
14836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837   (exit $ac_status); } &&
14838          { ac_try='test -z "$ac_c_werror_flag"
14839                          || test ! -s conftest.err'
14840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841   (eval $ac_try) 2>&5
14842   ac_status=$?
14843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844   (exit $ac_status); }; } &&
14845          { ac_try='test -s conftest$ac_exeext'
14846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847   (eval $ac_try) 2>&5
14848   ac_status=$?
14849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850   (exit $ac_status); }; }; then
14851   eval "$as_ac_var=yes"
14852 else
14853   echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.$ac_ext >&5
14855
14856 eval "$as_ac_var=no"
14857 fi
14858 rm -f conftest.err conftest.$ac_objext \
14859       conftest$ac_exeext conftest.$ac_ext
14860 fi
14861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14863 if test `eval echo '${'$as_ac_var'}'` = yes; then
14864   cat >>confdefs.h <<_ACEOF
14865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14866 _ACEOF
14867
14868 fi
14869 done
14870
14871   else
14872
14873   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14874 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14875   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14876     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14877   echo $ECHO_N "(cached) $ECHO_C" >&6
14878 else
14879
14880
14881
14882       ac_ext=cc
14883 ac_cpp='$CXXCPP $CPPFLAGS'
14884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14887
14888       cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h.  */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h.  */
14894 #include <math.h>
14895 int
14896 main ()
14897 {
14898  _ldexpf(0, 0);
14899   ;
14900   return 0;
14901 }
14902 _ACEOF
14903 rm -f conftest.$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905   (eval $ac_compile) 2>conftest.er1
14906   ac_status=$?
14907   grep -v '^ *+' conftest.er1 >conftest.err
14908   rm -f conftest.er1
14909   cat conftest.err >&5
14910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911   (exit $ac_status); } &&
14912          { ac_try='test -z "$ac_cxx_werror_flag"
14913                          || test ! -s conftest.err'
14914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915   (eval $ac_try) 2>&5
14916   ac_status=$?
14917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918   (exit $ac_status); }; } &&
14919          { ac_try='test -s conftest.$ac_objext'
14920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921   (eval $ac_try) 2>&5
14922   ac_status=$?
14923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924   (exit $ac_status); }; }; then
14925   glibcxx_cv_func__ldexpf_use=yes
14926 else
14927   echo "$as_me: failed program was:" >&5
14928 sed 's/^/| /' conftest.$ac_ext >&5
14929
14930 glibcxx_cv_func__ldexpf_use=no
14931 fi
14932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14933       ac_ext=c
14934 ac_cpp='$CPP $CPPFLAGS'
14935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14938
14939
14940 fi
14941
14942   fi
14943   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14944 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14945
14946     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14947
14948 for ac_func in _ldexpf
14949 do
14950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14951 echo "$as_me:$LINENO: checking for $ac_func" >&5
14952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14953 if eval "test \"\${$as_ac_var+set}\" = set"; then
14954   echo $ECHO_N "(cached) $ECHO_C" >&6
14955 else
14956   if test x$gcc_no_link = xyes; then
14957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14959    { (exit 1); exit 1; }; }
14960 fi
14961 cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h.  */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h.  */
14967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14969 #define $ac_func innocuous_$ac_func
14970
14971 /* System header to define __stub macros and hopefully few prototypes,
14972     which can conflict with char $ac_func (); below.
14973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14974     <limits.h> exists even on freestanding compilers.  */
14975
14976 #ifdef __STDC__
14977 # include <limits.h>
14978 #else
14979 # include <assert.h>
14980 #endif
14981
14982 #undef $ac_func
14983
14984 /* Override any gcc2 internal prototype to avoid an error.  */
14985 #ifdef __cplusplus
14986 extern "C"
14987 {
14988 #endif
14989 /* We use char because int might match the return type of a gcc2
14990    builtin and then its argument prototype would still apply.  */
14991 char $ac_func ();
14992 /* The GNU C library defines this for functions which it implements
14993     to always fail with ENOSYS.  Some functions are actually named
14994     something starting with __ and the normal name is an alias.  */
14995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14996 choke me
14997 #else
14998 char (*f) () = $ac_func;
14999 #endif
15000 #ifdef __cplusplus
15001 }
15002 #endif
15003
15004 int
15005 main ()
15006 {
15007 return f != $ac_func;
15008   ;
15009   return 0;
15010 }
15011 _ACEOF
15012 rm -f conftest.$ac_objext conftest$ac_exeext
15013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15014   (eval $ac_link) 2>conftest.er1
15015   ac_status=$?
15016   grep -v '^ *+' conftest.er1 >conftest.err
15017   rm -f conftest.er1
15018   cat conftest.err >&5
15019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020   (exit $ac_status); } &&
15021          { ac_try='test -z "$ac_c_werror_flag"
15022                          || test ! -s conftest.err'
15023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15024   (eval $ac_try) 2>&5
15025   ac_status=$?
15026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027   (exit $ac_status); }; } &&
15028          { ac_try='test -s conftest$ac_exeext'
15029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030   (eval $ac_try) 2>&5
15031   ac_status=$?
15032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033   (exit $ac_status); }; }; then
15034   eval "$as_ac_var=yes"
15035 else
15036   echo "$as_me: failed program was:" >&5
15037 sed 's/^/| /' conftest.$ac_ext >&5
15038
15039 eval "$as_ac_var=no"
15040 fi
15041 rm -f conftest.err conftest.$ac_objext \
15042       conftest$ac_exeext conftest.$ac_ext
15043 fi
15044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15046 if test `eval echo '${'$as_ac_var'}'` = yes; then
15047   cat >>confdefs.h <<_ACEOF
15048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15049 _ACEOF
15050
15051 fi
15052 done
15053
15054     fi
15055   fi
15056
15057
15058
15059   echo "$as_me:$LINENO: checking for logf declaration" >&5
15060 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15061   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15062     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15063   echo $ECHO_N "(cached) $ECHO_C" >&6
15064 else
15065
15066
15067
15068       ac_ext=cc
15069 ac_cpp='$CXXCPP $CPPFLAGS'
15070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15073
15074       cat >conftest.$ac_ext <<_ACEOF
15075 /* confdefs.h.  */
15076 _ACEOF
15077 cat confdefs.h >>conftest.$ac_ext
15078 cat >>conftest.$ac_ext <<_ACEOF
15079 /* end confdefs.h.  */
15080 #include <math.h>
15081                       #ifdef HAVE_IEEEFP_H
15082                       #include <ieeefp.h>
15083                       #endif
15084
15085 int
15086 main ()
15087 {
15088  logf(0);
15089   ;
15090   return 0;
15091 }
15092 _ACEOF
15093 rm -f conftest.$ac_objext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095   (eval $ac_compile) 2>conftest.er1
15096   ac_status=$?
15097   grep -v '^ *+' conftest.er1 >conftest.err
15098   rm -f conftest.er1
15099   cat conftest.err >&5
15100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101   (exit $ac_status); } &&
15102          { ac_try='test -z "$ac_cxx_werror_flag"
15103                          || test ! -s conftest.err'
15104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15105   (eval $ac_try) 2>&5
15106   ac_status=$?
15107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108   (exit $ac_status); }; } &&
15109          { ac_try='test -s conftest.$ac_objext'
15110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111   (eval $ac_try) 2>&5
15112   ac_status=$?
15113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114   (exit $ac_status); }; }; then
15115   glibcxx_cv_func_logf_use=yes
15116 else
15117   echo "$as_me: failed program was:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15119
15120 glibcxx_cv_func_logf_use=no
15121 fi
15122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15123       ac_ext=c
15124 ac_cpp='$CPP $CPPFLAGS'
15125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15128
15129
15130 fi
15131
15132   fi
15133   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15134 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15135
15136   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15137
15138 for ac_func in logf
15139 do
15140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15141 echo "$as_me:$LINENO: checking for $ac_func" >&5
15142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15143 if eval "test \"\${$as_ac_var+set}\" = set"; then
15144   echo $ECHO_N "(cached) $ECHO_C" >&6
15145 else
15146   if test x$gcc_no_link = xyes; then
15147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15149    { (exit 1); exit 1; }; }
15150 fi
15151 cat >conftest.$ac_ext <<_ACEOF
15152 /* confdefs.h.  */
15153 _ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h.  */
15157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15159 #define $ac_func innocuous_$ac_func
15160
15161 /* System header to define __stub macros and hopefully few prototypes,
15162     which can conflict with char $ac_func (); below.
15163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15164     <limits.h> exists even on freestanding compilers.  */
15165
15166 #ifdef __STDC__
15167 # include <limits.h>
15168 #else
15169 # include <assert.h>
15170 #endif
15171
15172 #undef $ac_func
15173
15174 /* Override any gcc2 internal prototype to avoid an error.  */
15175 #ifdef __cplusplus
15176 extern "C"
15177 {
15178 #endif
15179 /* We use char because int might match the return type of a gcc2
15180    builtin and then its argument prototype would still apply.  */
15181 char $ac_func ();
15182 /* The GNU C library defines this for functions which it implements
15183     to always fail with ENOSYS.  Some functions are actually named
15184     something starting with __ and the normal name is an alias.  */
15185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15186 choke me
15187 #else
15188 char (*f) () = $ac_func;
15189 #endif
15190 #ifdef __cplusplus
15191 }
15192 #endif
15193
15194 int
15195 main ()
15196 {
15197 return f != $ac_func;
15198   ;
15199   return 0;
15200 }
15201 _ACEOF
15202 rm -f conftest.$ac_objext conftest$ac_exeext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15204   (eval $ac_link) 2>conftest.er1
15205   ac_status=$?
15206   grep -v '^ *+' conftest.er1 >conftest.err
15207   rm -f conftest.er1
15208   cat conftest.err >&5
15209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210   (exit $ac_status); } &&
15211          { ac_try='test -z "$ac_c_werror_flag"
15212                          || test ! -s conftest.err'
15213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214   (eval $ac_try) 2>&5
15215   ac_status=$?
15216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217   (exit $ac_status); }; } &&
15218          { ac_try='test -s conftest$ac_exeext'
15219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15220   (eval $ac_try) 2>&5
15221   ac_status=$?
15222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223   (exit $ac_status); }; }; then
15224   eval "$as_ac_var=yes"
15225 else
15226   echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15228
15229 eval "$as_ac_var=no"
15230 fi
15231 rm -f conftest.err conftest.$ac_objext \
15232       conftest$ac_exeext conftest.$ac_ext
15233 fi
15234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15236 if test `eval echo '${'$as_ac_var'}'` = yes; then
15237   cat >>confdefs.h <<_ACEOF
15238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15239 _ACEOF
15240
15241 fi
15242 done
15243
15244   else
15245
15246   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15247 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15248   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15249     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15250   echo $ECHO_N "(cached) $ECHO_C" >&6
15251 else
15252
15253
15254
15255       ac_ext=cc
15256 ac_cpp='$CXXCPP $CPPFLAGS'
15257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15260
15261       cat >conftest.$ac_ext <<_ACEOF
15262 /* confdefs.h.  */
15263 _ACEOF
15264 cat confdefs.h >>conftest.$ac_ext
15265 cat >>conftest.$ac_ext <<_ACEOF
15266 /* end confdefs.h.  */
15267 #include <math.h>
15268                       #ifdef HAVE_IEEEFP_H
15269                       #include <ieeefp.h>
15270                       #endif
15271
15272 int
15273 main ()
15274 {
15275  _logf(0);
15276   ;
15277   return 0;
15278 }
15279 _ACEOF
15280 rm -f conftest.$ac_objext
15281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15282   (eval $ac_compile) 2>conftest.er1
15283   ac_status=$?
15284   grep -v '^ *+' conftest.er1 >conftest.err
15285   rm -f conftest.er1
15286   cat conftest.err >&5
15287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288   (exit $ac_status); } &&
15289          { ac_try='test -z "$ac_cxx_werror_flag"
15290                          || test ! -s conftest.err'
15291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292   (eval $ac_try) 2>&5
15293   ac_status=$?
15294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295   (exit $ac_status); }; } &&
15296          { ac_try='test -s conftest.$ac_objext'
15297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298   (eval $ac_try) 2>&5
15299   ac_status=$?
15300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301   (exit $ac_status); }; }; then
15302   glibcxx_cv_func__logf_use=yes
15303 else
15304   echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15306
15307 glibcxx_cv_func__logf_use=no
15308 fi
15309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15310       ac_ext=c
15311 ac_cpp='$CPP $CPPFLAGS'
15312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15315
15316
15317 fi
15318
15319   fi
15320   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15321 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15322
15323     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15324
15325 for ac_func in _logf
15326 do
15327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15328 echo "$as_me:$LINENO: checking for $ac_func" >&5
15329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15330 if eval "test \"\${$as_ac_var+set}\" = set"; then
15331   echo $ECHO_N "(cached) $ECHO_C" >&6
15332 else
15333   if test x$gcc_no_link = xyes; then
15334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15336    { (exit 1); exit 1; }; }
15337 fi
15338 cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h.  */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h.  */
15344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15346 #define $ac_func innocuous_$ac_func
15347
15348 /* System header to define __stub macros and hopefully few prototypes,
15349     which can conflict with char $ac_func (); below.
15350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15351     <limits.h> exists even on freestanding compilers.  */
15352
15353 #ifdef __STDC__
15354 # include <limits.h>
15355 #else
15356 # include <assert.h>
15357 #endif
15358
15359 #undef $ac_func
15360
15361 /* Override any gcc2 internal prototype to avoid an error.  */
15362 #ifdef __cplusplus
15363 extern "C"
15364 {
15365 #endif
15366 /* We use char because int might match the return type of a gcc2
15367    builtin and then its argument prototype would still apply.  */
15368 char $ac_func ();
15369 /* The GNU C library defines this for functions which it implements
15370     to always fail with ENOSYS.  Some functions are actually named
15371     something starting with __ and the normal name is an alias.  */
15372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15373 choke me
15374 #else
15375 char (*f) () = $ac_func;
15376 #endif
15377 #ifdef __cplusplus
15378 }
15379 #endif
15380
15381 int
15382 main ()
15383 {
15384 return f != $ac_func;
15385   ;
15386   return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext conftest$ac_exeext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15391   (eval $ac_link) 2>conftest.er1
15392   ac_status=$?
15393   grep -v '^ *+' conftest.er1 >conftest.err
15394   rm -f conftest.er1
15395   cat conftest.err >&5
15396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397   (exit $ac_status); } &&
15398          { ac_try='test -z "$ac_c_werror_flag"
15399                          || test ! -s conftest.err'
15400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401   (eval $ac_try) 2>&5
15402   ac_status=$?
15403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404   (exit $ac_status); }; } &&
15405          { ac_try='test -s conftest$ac_exeext'
15406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407   (eval $ac_try) 2>&5
15408   ac_status=$?
15409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410   (exit $ac_status); }; }; then
15411   eval "$as_ac_var=yes"
15412 else
15413   echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15415
15416 eval "$as_ac_var=no"
15417 fi
15418 rm -f conftest.err conftest.$ac_objext \
15419       conftest$ac_exeext conftest.$ac_ext
15420 fi
15421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15423 if test `eval echo '${'$as_ac_var'}'` = yes; then
15424   cat >>confdefs.h <<_ACEOF
15425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15426 _ACEOF
15427
15428 fi
15429 done
15430
15431     fi
15432   fi
15433
15434
15435
15436   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15437 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15438   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15439     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15440   echo $ECHO_N "(cached) $ECHO_C" >&6
15441 else
15442
15443
15444
15445       ac_ext=cc
15446 ac_cpp='$CXXCPP $CPPFLAGS'
15447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15450
15451       cat >conftest.$ac_ext <<_ACEOF
15452 /* confdefs.h.  */
15453 _ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h.  */
15457 #include <math.h>
15458                       #ifdef HAVE_IEEEFP_H
15459                       #include <ieeefp.h>
15460                       #endif
15461
15462 int
15463 main ()
15464 {
15465  log10f(0);
15466   ;
15467   return 0;
15468 }
15469 _ACEOF
15470 rm -f conftest.$ac_objext
15471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15472   (eval $ac_compile) 2>conftest.er1
15473   ac_status=$?
15474   grep -v '^ *+' conftest.er1 >conftest.err
15475   rm -f conftest.er1
15476   cat conftest.err >&5
15477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478   (exit $ac_status); } &&
15479          { ac_try='test -z "$ac_cxx_werror_flag"
15480                          || test ! -s conftest.err'
15481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482   (eval $ac_try) 2>&5
15483   ac_status=$?
15484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485   (exit $ac_status); }; } &&
15486          { ac_try='test -s conftest.$ac_objext'
15487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488   (eval $ac_try) 2>&5
15489   ac_status=$?
15490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491   (exit $ac_status); }; }; then
15492   glibcxx_cv_func_log10f_use=yes
15493 else
15494   echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 glibcxx_cv_func_log10f_use=no
15498 fi
15499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15500       ac_ext=c
15501 ac_cpp='$CPP $CPPFLAGS'
15502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15505
15506
15507 fi
15508
15509   fi
15510   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15511 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15512
15513   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15514
15515 for ac_func in log10f
15516 do
15517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15518 echo "$as_me:$LINENO: checking for $ac_func" >&5
15519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15520 if eval "test \"\${$as_ac_var+set}\" = set"; then
15521   echo $ECHO_N "(cached) $ECHO_C" >&6
15522 else
15523   if test x$gcc_no_link = xyes; then
15524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15526    { (exit 1); exit 1; }; }
15527 fi
15528 cat >conftest.$ac_ext <<_ACEOF
15529 /* confdefs.h.  */
15530 _ACEOF
15531 cat confdefs.h >>conftest.$ac_ext
15532 cat >>conftest.$ac_ext <<_ACEOF
15533 /* end confdefs.h.  */
15534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15536 #define $ac_func innocuous_$ac_func
15537
15538 /* System header to define __stub macros and hopefully few prototypes,
15539     which can conflict with char $ac_func (); below.
15540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15541     <limits.h> exists even on freestanding compilers.  */
15542
15543 #ifdef __STDC__
15544 # include <limits.h>
15545 #else
15546 # include <assert.h>
15547 #endif
15548
15549 #undef $ac_func
15550
15551 /* Override any gcc2 internal prototype to avoid an error.  */
15552 #ifdef __cplusplus
15553 extern "C"
15554 {
15555 #endif
15556 /* We use char because int might match the return type of a gcc2
15557    builtin and then its argument prototype would still apply.  */
15558 char $ac_func ();
15559 /* The GNU C library defines this for functions which it implements
15560     to always fail with ENOSYS.  Some functions are actually named
15561     something starting with __ and the normal name is an alias.  */
15562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15563 choke me
15564 #else
15565 char (*f) () = $ac_func;
15566 #endif
15567 #ifdef __cplusplus
15568 }
15569 #endif
15570
15571 int
15572 main ()
15573 {
15574 return f != $ac_func;
15575   ;
15576   return 0;
15577 }
15578 _ACEOF
15579 rm -f conftest.$ac_objext conftest$ac_exeext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15581   (eval $ac_link) 2>conftest.er1
15582   ac_status=$?
15583   grep -v '^ *+' conftest.er1 >conftest.err
15584   rm -f conftest.er1
15585   cat conftest.err >&5
15586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587   (exit $ac_status); } &&
15588          { ac_try='test -z "$ac_c_werror_flag"
15589                          || test ! -s conftest.err'
15590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591   (eval $ac_try) 2>&5
15592   ac_status=$?
15593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594   (exit $ac_status); }; } &&
15595          { ac_try='test -s conftest$ac_exeext'
15596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597   (eval $ac_try) 2>&5
15598   ac_status=$?
15599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600   (exit $ac_status); }; }; then
15601   eval "$as_ac_var=yes"
15602 else
15603   echo "$as_me: failed program was:" >&5
15604 sed 's/^/| /' conftest.$ac_ext >&5
15605
15606 eval "$as_ac_var=no"
15607 fi
15608 rm -f conftest.err conftest.$ac_objext \
15609       conftest$ac_exeext conftest.$ac_ext
15610 fi
15611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15613 if test `eval echo '${'$as_ac_var'}'` = yes; then
15614   cat >>confdefs.h <<_ACEOF
15615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15616 _ACEOF
15617
15618 fi
15619 done
15620
15621   else
15622
15623   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15624 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15625   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15626     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15627   echo $ECHO_N "(cached) $ECHO_C" >&6
15628 else
15629
15630
15631
15632       ac_ext=cc
15633 ac_cpp='$CXXCPP $CPPFLAGS'
15634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15637
15638       cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h.  */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h.  */
15644 #include <math.h>
15645                       #ifdef HAVE_IEEEFP_H
15646                       #include <ieeefp.h>
15647                       #endif
15648
15649 int
15650 main ()
15651 {
15652  _log10f(0);
15653   ;
15654   return 0;
15655 }
15656 _ACEOF
15657 rm -f conftest.$ac_objext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15659   (eval $ac_compile) 2>conftest.er1
15660   ac_status=$?
15661   grep -v '^ *+' conftest.er1 >conftest.err
15662   rm -f conftest.er1
15663   cat conftest.err >&5
15664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665   (exit $ac_status); } &&
15666          { ac_try='test -z "$ac_cxx_werror_flag"
15667                          || test ! -s conftest.err'
15668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669   (eval $ac_try) 2>&5
15670   ac_status=$?
15671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672   (exit $ac_status); }; } &&
15673          { ac_try='test -s conftest.$ac_objext'
15674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675   (eval $ac_try) 2>&5
15676   ac_status=$?
15677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678   (exit $ac_status); }; }; then
15679   glibcxx_cv_func__log10f_use=yes
15680 else
15681   echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15683
15684 glibcxx_cv_func__log10f_use=no
15685 fi
15686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15687       ac_ext=c
15688 ac_cpp='$CPP $CPPFLAGS'
15689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692
15693
15694 fi
15695
15696   fi
15697   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15698 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15699
15700     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15701
15702 for ac_func in _log10f
15703 do
15704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15705 echo "$as_me:$LINENO: checking for $ac_func" >&5
15706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15707 if eval "test \"\${$as_ac_var+set}\" = set"; then
15708   echo $ECHO_N "(cached) $ECHO_C" >&6
15709 else
15710   if test x$gcc_no_link = xyes; then
15711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15713    { (exit 1); exit 1; }; }
15714 fi
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h.  */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h.  */
15721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15723 #define $ac_func innocuous_$ac_func
15724
15725 /* System header to define __stub macros and hopefully few prototypes,
15726     which can conflict with char $ac_func (); below.
15727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15728     <limits.h> exists even on freestanding compilers.  */
15729
15730 #ifdef __STDC__
15731 # include <limits.h>
15732 #else
15733 # include <assert.h>
15734 #endif
15735
15736 #undef $ac_func
15737
15738 /* Override any gcc2 internal prototype to avoid an error.  */
15739 #ifdef __cplusplus
15740 extern "C"
15741 {
15742 #endif
15743 /* We use char because int might match the return type of a gcc2
15744    builtin and then its argument prototype would still apply.  */
15745 char $ac_func ();
15746 /* The GNU C library defines this for functions which it implements
15747     to always fail with ENOSYS.  Some functions are actually named
15748     something starting with __ and the normal name is an alias.  */
15749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15750 choke me
15751 #else
15752 char (*f) () = $ac_func;
15753 #endif
15754 #ifdef __cplusplus
15755 }
15756 #endif
15757
15758 int
15759 main ()
15760 {
15761 return f != $ac_func;
15762   ;
15763   return 0;
15764 }
15765 _ACEOF
15766 rm -f conftest.$ac_objext conftest$ac_exeext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15768   (eval $ac_link) 2>conftest.er1
15769   ac_status=$?
15770   grep -v '^ *+' conftest.er1 >conftest.err
15771   rm -f conftest.er1
15772   cat conftest.err >&5
15773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774   (exit $ac_status); } &&
15775          { ac_try='test -z "$ac_c_werror_flag"
15776                          || test ! -s conftest.err'
15777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778   (eval $ac_try) 2>&5
15779   ac_status=$?
15780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781   (exit $ac_status); }; } &&
15782          { ac_try='test -s conftest$ac_exeext'
15783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784   (eval $ac_try) 2>&5
15785   ac_status=$?
15786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787   (exit $ac_status); }; }; then
15788   eval "$as_ac_var=yes"
15789 else
15790   echo "$as_me: failed program was:" >&5
15791 sed 's/^/| /' conftest.$ac_ext >&5
15792
15793 eval "$as_ac_var=no"
15794 fi
15795 rm -f conftest.err conftest.$ac_objext \
15796       conftest$ac_exeext conftest.$ac_ext
15797 fi
15798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15800 if test `eval echo '${'$as_ac_var'}'` = yes; then
15801   cat >>confdefs.h <<_ACEOF
15802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15803 _ACEOF
15804
15805 fi
15806 done
15807
15808     fi
15809   fi
15810
15811
15812
15813   echo "$as_me:$LINENO: checking for modff declaration" >&5
15814 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15815   if test x${glibcxx_cv_func_modff_use+set} != xset; then
15816     if test "${glibcxx_cv_func_modff_use+set}" = set; then
15817   echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819
15820
15821
15822       ac_ext=cc
15823 ac_cpp='$CXXCPP $CPPFLAGS'
15824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15827
15828       cat >conftest.$ac_ext <<_ACEOF
15829 /* confdefs.h.  */
15830 _ACEOF
15831 cat confdefs.h >>conftest.$ac_ext
15832 cat >>conftest.$ac_ext <<_ACEOF
15833 /* end confdefs.h.  */
15834 #include <math.h>
15835 int
15836 main ()
15837 {
15838  modff(0, 0);
15839   ;
15840   return 0;
15841 }
15842 _ACEOF
15843 rm -f conftest.$ac_objext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845   (eval $ac_compile) 2>conftest.er1
15846   ac_status=$?
15847   grep -v '^ *+' conftest.er1 >conftest.err
15848   rm -f conftest.er1
15849   cat conftest.err >&5
15850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851   (exit $ac_status); } &&
15852          { ac_try='test -z "$ac_cxx_werror_flag"
15853                          || test ! -s conftest.err'
15854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15855   (eval $ac_try) 2>&5
15856   ac_status=$?
15857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858   (exit $ac_status); }; } &&
15859          { ac_try='test -s conftest.$ac_objext'
15860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15861   (eval $ac_try) 2>&5
15862   ac_status=$?
15863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15864   (exit $ac_status); }; }; then
15865   glibcxx_cv_func_modff_use=yes
15866 else
15867   echo "$as_me: failed program was:" >&5
15868 sed 's/^/| /' conftest.$ac_ext >&5
15869
15870 glibcxx_cv_func_modff_use=no
15871 fi
15872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15873       ac_ext=c
15874 ac_cpp='$CPP $CPPFLAGS'
15875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15878
15879
15880 fi
15881
15882   fi
15883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15884 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15885
15886   if test x$glibcxx_cv_func_modff_use = x"yes"; then
15887
15888 for ac_func in modff
15889 do
15890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15891 echo "$as_me:$LINENO: checking for $ac_func" >&5
15892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15893 if eval "test \"\${$as_ac_var+set}\" = set"; then
15894   echo $ECHO_N "(cached) $ECHO_C" >&6
15895 else
15896   if test x$gcc_no_link = xyes; then
15897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15899    { (exit 1); exit 1; }; }
15900 fi
15901 cat >conftest.$ac_ext <<_ACEOF
15902 /* confdefs.h.  */
15903 _ACEOF
15904 cat confdefs.h >>conftest.$ac_ext
15905 cat >>conftest.$ac_ext <<_ACEOF
15906 /* end confdefs.h.  */
15907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15909 #define $ac_func innocuous_$ac_func
15910
15911 /* System header to define __stub macros and hopefully few prototypes,
15912     which can conflict with char $ac_func (); below.
15913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15914     <limits.h> exists even on freestanding compilers.  */
15915
15916 #ifdef __STDC__
15917 # include <limits.h>
15918 #else
15919 # include <assert.h>
15920 #endif
15921
15922 #undef $ac_func
15923
15924 /* Override any gcc2 internal prototype to avoid an error.  */
15925 #ifdef __cplusplus
15926 extern "C"
15927 {
15928 #endif
15929 /* We use char because int might match the return type of a gcc2
15930    builtin and then its argument prototype would still apply.  */
15931 char $ac_func ();
15932 /* The GNU C library defines this for functions which it implements
15933     to always fail with ENOSYS.  Some functions are actually named
15934     something starting with __ and the normal name is an alias.  */
15935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15936 choke me
15937 #else
15938 char (*f) () = $ac_func;
15939 #endif
15940 #ifdef __cplusplus
15941 }
15942 #endif
15943
15944 int
15945 main ()
15946 {
15947 return f != $ac_func;
15948   ;
15949   return 0;
15950 }
15951 _ACEOF
15952 rm -f conftest.$ac_objext conftest$ac_exeext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15954   (eval $ac_link) 2>conftest.er1
15955   ac_status=$?
15956   grep -v '^ *+' conftest.er1 >conftest.err
15957   rm -f conftest.er1
15958   cat conftest.err >&5
15959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960   (exit $ac_status); } &&
15961          { ac_try='test -z "$ac_c_werror_flag"
15962                          || test ! -s conftest.err'
15963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964   (eval $ac_try) 2>&5
15965   ac_status=$?
15966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967   (exit $ac_status); }; } &&
15968          { ac_try='test -s conftest$ac_exeext'
15969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970   (eval $ac_try) 2>&5
15971   ac_status=$?
15972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973   (exit $ac_status); }; }; then
15974   eval "$as_ac_var=yes"
15975 else
15976   echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15978
15979 eval "$as_ac_var=no"
15980 fi
15981 rm -f conftest.err conftest.$ac_objext \
15982       conftest$ac_exeext conftest.$ac_ext
15983 fi
15984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15986 if test `eval echo '${'$as_ac_var'}'` = yes; then
15987   cat >>confdefs.h <<_ACEOF
15988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15989 _ACEOF
15990
15991 fi
15992 done
15993
15994   else
15995
15996   echo "$as_me:$LINENO: checking for _modff declaration" >&5
15997 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15998   if test x${glibcxx_cv_func__modff_use+set} != xset; then
15999     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16000   echo $ECHO_N "(cached) $ECHO_C" >&6
16001 else
16002
16003
16004
16005       ac_ext=cc
16006 ac_cpp='$CXXCPP $CPPFLAGS'
16007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16010
16011       cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h.  */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h.  */
16017 #include <math.h>
16018 int
16019 main ()
16020 {
16021  _modff(0, 0);
16022   ;
16023   return 0;
16024 }
16025 _ACEOF
16026 rm -f conftest.$ac_objext
16027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16028   (eval $ac_compile) 2>conftest.er1
16029   ac_status=$?
16030   grep -v '^ *+' conftest.er1 >conftest.err
16031   rm -f conftest.er1
16032   cat conftest.err >&5
16033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034   (exit $ac_status); } &&
16035          { ac_try='test -z "$ac_cxx_werror_flag"
16036                          || test ! -s conftest.err'
16037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038   (eval $ac_try) 2>&5
16039   ac_status=$?
16040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041   (exit $ac_status); }; } &&
16042          { ac_try='test -s conftest.$ac_objext'
16043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044   (eval $ac_try) 2>&5
16045   ac_status=$?
16046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047   (exit $ac_status); }; }; then
16048   glibcxx_cv_func__modff_use=yes
16049 else
16050   echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16052
16053 glibcxx_cv_func__modff_use=no
16054 fi
16055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16056       ac_ext=c
16057 ac_cpp='$CPP $CPPFLAGS'
16058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16061
16062
16063 fi
16064
16065   fi
16066   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16067 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16068
16069     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16070
16071 for ac_func in _modff
16072 do
16073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16074 echo "$as_me:$LINENO: checking for $ac_func" >&5
16075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16076 if eval "test \"\${$as_ac_var+set}\" = set"; then
16077   echo $ECHO_N "(cached) $ECHO_C" >&6
16078 else
16079   if test x$gcc_no_link = xyes; then
16080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16082    { (exit 1); exit 1; }; }
16083 fi
16084 cat >conftest.$ac_ext <<_ACEOF
16085 /* confdefs.h.  */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h.  */
16090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16092 #define $ac_func innocuous_$ac_func
16093
16094 /* System header to define __stub macros and hopefully few prototypes,
16095     which can conflict with char $ac_func (); below.
16096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16097     <limits.h> exists even on freestanding compilers.  */
16098
16099 #ifdef __STDC__
16100 # include <limits.h>
16101 #else
16102 # include <assert.h>
16103 #endif
16104
16105 #undef $ac_func
16106
16107 /* Override any gcc2 internal prototype to avoid an error.  */
16108 #ifdef __cplusplus
16109 extern "C"
16110 {
16111 #endif
16112 /* We use char because int might match the return type of a gcc2
16113    builtin and then its argument prototype would still apply.  */
16114 char $ac_func ();
16115 /* The GNU C library defines this for functions which it implements
16116     to always fail with ENOSYS.  Some functions are actually named
16117     something starting with __ and the normal name is an alias.  */
16118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16119 choke me
16120 #else
16121 char (*f) () = $ac_func;
16122 #endif
16123 #ifdef __cplusplus
16124 }
16125 #endif
16126
16127 int
16128 main ()
16129 {
16130 return f != $ac_func;
16131   ;
16132   return 0;
16133 }
16134 _ACEOF
16135 rm -f conftest.$ac_objext conftest$ac_exeext
16136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16137   (eval $ac_link) 2>conftest.er1
16138   ac_status=$?
16139   grep -v '^ *+' conftest.er1 >conftest.err
16140   rm -f conftest.er1
16141   cat conftest.err >&5
16142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143   (exit $ac_status); } &&
16144          { ac_try='test -z "$ac_c_werror_flag"
16145                          || test ! -s conftest.err'
16146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16147   (eval $ac_try) 2>&5
16148   ac_status=$?
16149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150   (exit $ac_status); }; } &&
16151          { ac_try='test -s conftest$ac_exeext'
16152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153   (eval $ac_try) 2>&5
16154   ac_status=$?
16155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156   (exit $ac_status); }; }; then
16157   eval "$as_ac_var=yes"
16158 else
16159   echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.$ac_ext >&5
16161
16162 eval "$as_ac_var=no"
16163 fi
16164 rm -f conftest.err conftest.$ac_objext \
16165       conftest$ac_exeext conftest.$ac_ext
16166 fi
16167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16169 if test `eval echo '${'$as_ac_var'}'` = yes; then
16170   cat >>confdefs.h <<_ACEOF
16171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16172 _ACEOF
16173
16174 fi
16175 done
16176
16177     fi
16178   fi
16179
16180
16181
16182   echo "$as_me:$LINENO: checking for powf declaration" >&5
16183 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16184   if test x${glibcxx_cv_func_powf_use+set} != xset; then
16185     if test "${glibcxx_cv_func_powf_use+set}" = set; then
16186   echo $ECHO_N "(cached) $ECHO_C" >&6
16187 else
16188
16189
16190
16191       ac_ext=cc
16192 ac_cpp='$CXXCPP $CPPFLAGS'
16193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16196
16197       cat >conftest.$ac_ext <<_ACEOF
16198 /* confdefs.h.  */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h.  */
16203 #include <math.h>
16204 int
16205 main ()
16206 {
16207  powf(0, 0);
16208   ;
16209   return 0;
16210 }
16211 _ACEOF
16212 rm -f conftest.$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214   (eval $ac_compile) 2>conftest.er1
16215   ac_status=$?
16216   grep -v '^ *+' conftest.er1 >conftest.err
16217   rm -f conftest.er1
16218   cat conftest.err >&5
16219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220   (exit $ac_status); } &&
16221          { ac_try='test -z "$ac_cxx_werror_flag"
16222                          || test ! -s conftest.err'
16223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224   (eval $ac_try) 2>&5
16225   ac_status=$?
16226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227   (exit $ac_status); }; } &&
16228          { ac_try='test -s conftest.$ac_objext'
16229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230   (eval $ac_try) 2>&5
16231   ac_status=$?
16232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233   (exit $ac_status); }; }; then
16234   glibcxx_cv_func_powf_use=yes
16235 else
16236   echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 glibcxx_cv_func_powf_use=no
16240 fi
16241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16242       ac_ext=c
16243 ac_cpp='$CPP $CPPFLAGS'
16244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16247
16248
16249 fi
16250
16251   fi
16252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16253 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16254
16255   if test x$glibcxx_cv_func_powf_use = x"yes"; then
16256
16257 for ac_func in powf
16258 do
16259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16260 echo "$as_me:$LINENO: checking for $ac_func" >&5
16261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16262 if eval "test \"\${$as_ac_var+set}\" = set"; then
16263   echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265   if test x$gcc_no_link = xyes; then
16266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16268    { (exit 1); exit 1; }; }
16269 fi
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h.  */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h.  */
16276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16278 #define $ac_func innocuous_$ac_func
16279
16280 /* System header to define __stub macros and hopefully few prototypes,
16281     which can conflict with char $ac_func (); below.
16282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16283     <limits.h> exists even on freestanding compilers.  */
16284
16285 #ifdef __STDC__
16286 # include <limits.h>
16287 #else
16288 # include <assert.h>
16289 #endif
16290
16291 #undef $ac_func
16292
16293 /* Override any gcc2 internal prototype to avoid an error.  */
16294 #ifdef __cplusplus
16295 extern "C"
16296 {
16297 #endif
16298 /* We use char because int might match the return type of a gcc2
16299    builtin and then its argument prototype would still apply.  */
16300 char $ac_func ();
16301 /* The GNU C library defines this for functions which it implements
16302     to always fail with ENOSYS.  Some functions are actually named
16303     something starting with __ and the normal name is an alias.  */
16304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16305 choke me
16306 #else
16307 char (*f) () = $ac_func;
16308 #endif
16309 #ifdef __cplusplus
16310 }
16311 #endif
16312
16313 int
16314 main ()
16315 {
16316 return f != $ac_func;
16317   ;
16318   return 0;
16319 }
16320 _ACEOF
16321 rm -f conftest.$ac_objext conftest$ac_exeext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16323   (eval $ac_link) 2>conftest.er1
16324   ac_status=$?
16325   grep -v '^ *+' conftest.er1 >conftest.err
16326   rm -f conftest.er1
16327   cat conftest.err >&5
16328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329   (exit $ac_status); } &&
16330          { ac_try='test -z "$ac_c_werror_flag"
16331                          || test ! -s conftest.err'
16332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333   (eval $ac_try) 2>&5
16334   ac_status=$?
16335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336   (exit $ac_status); }; } &&
16337          { ac_try='test -s conftest$ac_exeext'
16338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16339   (eval $ac_try) 2>&5
16340   ac_status=$?
16341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342   (exit $ac_status); }; }; then
16343   eval "$as_ac_var=yes"
16344 else
16345   echo "$as_me: failed program was:" >&5
16346 sed 's/^/| /' conftest.$ac_ext >&5
16347
16348 eval "$as_ac_var=no"
16349 fi
16350 rm -f conftest.err conftest.$ac_objext \
16351       conftest$ac_exeext conftest.$ac_ext
16352 fi
16353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16355 if test `eval echo '${'$as_ac_var'}'` = yes; then
16356   cat >>confdefs.h <<_ACEOF
16357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16358 _ACEOF
16359
16360 fi
16361 done
16362
16363   else
16364
16365   echo "$as_me:$LINENO: checking for _powf declaration" >&5
16366 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16367   if test x${glibcxx_cv_func__powf_use+set} != xset; then
16368     if test "${glibcxx_cv_func__powf_use+set}" = set; then
16369   echo $ECHO_N "(cached) $ECHO_C" >&6
16370 else
16371
16372
16373
16374       ac_ext=cc
16375 ac_cpp='$CXXCPP $CPPFLAGS'
16376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16379
16380       cat >conftest.$ac_ext <<_ACEOF
16381 /* confdefs.h.  */
16382 _ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h.  */
16386 #include <math.h>
16387 int
16388 main ()
16389 {
16390  _powf(0, 0);
16391   ;
16392   return 0;
16393 }
16394 _ACEOF
16395 rm -f conftest.$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397   (eval $ac_compile) 2>conftest.er1
16398   ac_status=$?
16399   grep -v '^ *+' conftest.er1 >conftest.err
16400   rm -f conftest.er1
16401   cat conftest.err >&5
16402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403   (exit $ac_status); } &&
16404          { ac_try='test -z "$ac_cxx_werror_flag"
16405                          || test ! -s conftest.err'
16406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407   (eval $ac_try) 2>&5
16408   ac_status=$?
16409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410   (exit $ac_status); }; } &&
16411          { ac_try='test -s conftest.$ac_objext'
16412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413   (eval $ac_try) 2>&5
16414   ac_status=$?
16415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416   (exit $ac_status); }; }; then
16417   glibcxx_cv_func__powf_use=yes
16418 else
16419   echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.$ac_ext >&5
16421
16422 glibcxx_cv_func__powf_use=no
16423 fi
16424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16425       ac_ext=c
16426 ac_cpp='$CPP $CPPFLAGS'
16427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16430
16431
16432 fi
16433
16434   fi
16435   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16436 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16437
16438     if test x$glibcxx_cv_func__powf_use = x"yes"; then
16439
16440 for ac_func in _powf
16441 do
16442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16443 echo "$as_me:$LINENO: checking for $ac_func" >&5
16444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16445 if eval "test \"\${$as_ac_var+set}\" = set"; then
16446   echo $ECHO_N "(cached) $ECHO_C" >&6
16447 else
16448   if test x$gcc_no_link = xyes; then
16449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16451    { (exit 1); exit 1; }; }
16452 fi
16453 cat >conftest.$ac_ext <<_ACEOF
16454 /* confdefs.h.  */
16455 _ACEOF
16456 cat confdefs.h >>conftest.$ac_ext
16457 cat >>conftest.$ac_ext <<_ACEOF
16458 /* end confdefs.h.  */
16459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16461 #define $ac_func innocuous_$ac_func
16462
16463 /* System header to define __stub macros and hopefully few prototypes,
16464     which can conflict with char $ac_func (); below.
16465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16466     <limits.h> exists even on freestanding compilers.  */
16467
16468 #ifdef __STDC__
16469 # include <limits.h>
16470 #else
16471 # include <assert.h>
16472 #endif
16473
16474 #undef $ac_func
16475
16476 /* Override any gcc2 internal prototype to avoid an error.  */
16477 #ifdef __cplusplus
16478 extern "C"
16479 {
16480 #endif
16481 /* We use char because int might match the return type of a gcc2
16482    builtin and then its argument prototype would still apply.  */
16483 char $ac_func ();
16484 /* The GNU C library defines this for functions which it implements
16485     to always fail with ENOSYS.  Some functions are actually named
16486     something starting with __ and the normal name is an alias.  */
16487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16488 choke me
16489 #else
16490 char (*f) () = $ac_func;
16491 #endif
16492 #ifdef __cplusplus
16493 }
16494 #endif
16495
16496 int
16497 main ()
16498 {
16499 return f != $ac_func;
16500   ;
16501   return 0;
16502 }
16503 _ACEOF
16504 rm -f conftest.$ac_objext conftest$ac_exeext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16506   (eval $ac_link) 2>conftest.er1
16507   ac_status=$?
16508   grep -v '^ *+' conftest.er1 >conftest.err
16509   rm -f conftest.er1
16510   cat conftest.err >&5
16511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512   (exit $ac_status); } &&
16513          { ac_try='test -z "$ac_c_werror_flag"
16514                          || test ! -s conftest.err'
16515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516   (eval $ac_try) 2>&5
16517   ac_status=$?
16518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519   (exit $ac_status); }; } &&
16520          { ac_try='test -s conftest$ac_exeext'
16521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522   (eval $ac_try) 2>&5
16523   ac_status=$?
16524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525   (exit $ac_status); }; }; then
16526   eval "$as_ac_var=yes"
16527 else
16528   echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.$ac_ext >&5
16530
16531 eval "$as_ac_var=no"
16532 fi
16533 rm -f conftest.err conftest.$ac_objext \
16534       conftest$ac_exeext conftest.$ac_ext
16535 fi
16536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16538 if test `eval echo '${'$as_ac_var'}'` = yes; then
16539   cat >>confdefs.h <<_ACEOF
16540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16541 _ACEOF
16542
16543 fi
16544 done
16545
16546     fi
16547   fi
16548
16549
16550
16551   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16552 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16553   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16554     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16555   echo $ECHO_N "(cached) $ECHO_C" >&6
16556 else
16557
16558
16559
16560       ac_ext=cc
16561 ac_cpp='$CXXCPP $CPPFLAGS'
16562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16565
16566       cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h.  */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h.  */
16572 #include <math.h>
16573                       #ifdef HAVE_IEEEFP_H
16574                       #include <ieeefp.h>
16575                       #endif
16576
16577 int
16578 main ()
16579 {
16580  sqrtf(0);
16581   ;
16582   return 0;
16583 }
16584 _ACEOF
16585 rm -f conftest.$ac_objext
16586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16587   (eval $ac_compile) 2>conftest.er1
16588   ac_status=$?
16589   grep -v '^ *+' conftest.er1 >conftest.err
16590   rm -f conftest.er1
16591   cat conftest.err >&5
16592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593   (exit $ac_status); } &&
16594          { ac_try='test -z "$ac_cxx_werror_flag"
16595                          || test ! -s conftest.err'
16596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597   (eval $ac_try) 2>&5
16598   ac_status=$?
16599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600   (exit $ac_status); }; } &&
16601          { ac_try='test -s conftest.$ac_objext'
16602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603   (eval $ac_try) 2>&5
16604   ac_status=$?
16605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606   (exit $ac_status); }; }; then
16607   glibcxx_cv_func_sqrtf_use=yes
16608 else
16609   echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16611
16612 glibcxx_cv_func_sqrtf_use=no
16613 fi
16614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16615       ac_ext=c
16616 ac_cpp='$CPP $CPPFLAGS'
16617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16620
16621
16622 fi
16623
16624   fi
16625   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16626 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16627
16628   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16629
16630 for ac_func in sqrtf
16631 do
16632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16633 echo "$as_me:$LINENO: checking for $ac_func" >&5
16634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16635 if eval "test \"\${$as_ac_var+set}\" = set"; then
16636   echo $ECHO_N "(cached) $ECHO_C" >&6
16637 else
16638   if test x$gcc_no_link = xyes; then
16639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16641    { (exit 1); exit 1; }; }
16642 fi
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h.  */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h.  */
16649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16651 #define $ac_func innocuous_$ac_func
16652
16653 /* System header to define __stub macros and hopefully few prototypes,
16654     which can conflict with char $ac_func (); below.
16655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16656     <limits.h> exists even on freestanding compilers.  */
16657
16658 #ifdef __STDC__
16659 # include <limits.h>
16660 #else
16661 # include <assert.h>
16662 #endif
16663
16664 #undef $ac_func
16665
16666 /* Override any gcc2 internal prototype to avoid an error.  */
16667 #ifdef __cplusplus
16668 extern "C"
16669 {
16670 #endif
16671 /* We use char because int might match the return type of a gcc2
16672    builtin and then its argument prototype would still apply.  */
16673 char $ac_func ();
16674 /* The GNU C library defines this for functions which it implements
16675     to always fail with ENOSYS.  Some functions are actually named
16676     something starting with __ and the normal name is an alias.  */
16677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16678 choke me
16679 #else
16680 char (*f) () = $ac_func;
16681 #endif
16682 #ifdef __cplusplus
16683 }
16684 #endif
16685
16686 int
16687 main ()
16688 {
16689 return f != $ac_func;
16690   ;
16691   return 0;
16692 }
16693 _ACEOF
16694 rm -f conftest.$ac_objext conftest$ac_exeext
16695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16696   (eval $ac_link) 2>conftest.er1
16697   ac_status=$?
16698   grep -v '^ *+' conftest.er1 >conftest.err
16699   rm -f conftest.er1
16700   cat conftest.err >&5
16701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702   (exit $ac_status); } &&
16703          { ac_try='test -z "$ac_c_werror_flag"
16704                          || test ! -s conftest.err'
16705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706   (eval $ac_try) 2>&5
16707   ac_status=$?
16708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709   (exit $ac_status); }; } &&
16710          { ac_try='test -s conftest$ac_exeext'
16711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712   (eval $ac_try) 2>&5
16713   ac_status=$?
16714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715   (exit $ac_status); }; }; then
16716   eval "$as_ac_var=yes"
16717 else
16718   echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16720
16721 eval "$as_ac_var=no"
16722 fi
16723 rm -f conftest.err conftest.$ac_objext \
16724       conftest$ac_exeext conftest.$ac_ext
16725 fi
16726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16728 if test `eval echo '${'$as_ac_var'}'` = yes; then
16729   cat >>confdefs.h <<_ACEOF
16730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16731 _ACEOF
16732
16733 fi
16734 done
16735
16736   else
16737
16738   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16739 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16740   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16741     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16742   echo $ECHO_N "(cached) $ECHO_C" >&6
16743 else
16744
16745
16746
16747       ac_ext=cc
16748 ac_cpp='$CXXCPP $CPPFLAGS'
16749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16752
16753       cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h.  */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h.  */
16759 #include <math.h>
16760                       #ifdef HAVE_IEEEFP_H
16761                       #include <ieeefp.h>
16762                       #endif
16763
16764 int
16765 main ()
16766 {
16767  _sqrtf(0);
16768   ;
16769   return 0;
16770 }
16771 _ACEOF
16772 rm -f conftest.$ac_objext
16773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16774   (eval $ac_compile) 2>conftest.er1
16775   ac_status=$?
16776   grep -v '^ *+' conftest.er1 >conftest.err
16777   rm -f conftest.er1
16778   cat conftest.err >&5
16779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780   (exit $ac_status); } &&
16781          { ac_try='test -z "$ac_cxx_werror_flag"
16782                          || test ! -s conftest.err'
16783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784   (eval $ac_try) 2>&5
16785   ac_status=$?
16786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787   (exit $ac_status); }; } &&
16788          { ac_try='test -s conftest.$ac_objext'
16789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790   (eval $ac_try) 2>&5
16791   ac_status=$?
16792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793   (exit $ac_status); }; }; then
16794   glibcxx_cv_func__sqrtf_use=yes
16795 else
16796   echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16798
16799 glibcxx_cv_func__sqrtf_use=no
16800 fi
16801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16802       ac_ext=c
16803 ac_cpp='$CPP $CPPFLAGS'
16804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16807
16808
16809 fi
16810
16811   fi
16812   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16813 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16814
16815     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16816
16817 for ac_func in _sqrtf
16818 do
16819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16820 echo "$as_me:$LINENO: checking for $ac_func" >&5
16821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16822 if eval "test \"\${$as_ac_var+set}\" = set"; then
16823   echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825   if test x$gcc_no_link = xyes; then
16826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16828    { (exit 1); exit 1; }; }
16829 fi
16830 cat >conftest.$ac_ext <<_ACEOF
16831 /* confdefs.h.  */
16832 _ACEOF
16833 cat confdefs.h >>conftest.$ac_ext
16834 cat >>conftest.$ac_ext <<_ACEOF
16835 /* end confdefs.h.  */
16836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16838 #define $ac_func innocuous_$ac_func
16839
16840 /* System header to define __stub macros and hopefully few prototypes,
16841     which can conflict with char $ac_func (); below.
16842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16843     <limits.h> exists even on freestanding compilers.  */
16844
16845 #ifdef __STDC__
16846 # include <limits.h>
16847 #else
16848 # include <assert.h>
16849 #endif
16850
16851 #undef $ac_func
16852
16853 /* Override any gcc2 internal prototype to avoid an error.  */
16854 #ifdef __cplusplus
16855 extern "C"
16856 {
16857 #endif
16858 /* We use char because int might match the return type of a gcc2
16859    builtin and then its argument prototype would still apply.  */
16860 char $ac_func ();
16861 /* The GNU C library defines this for functions which it implements
16862     to always fail with ENOSYS.  Some functions are actually named
16863     something starting with __ and the normal name is an alias.  */
16864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16865 choke me
16866 #else
16867 char (*f) () = $ac_func;
16868 #endif
16869 #ifdef __cplusplus
16870 }
16871 #endif
16872
16873 int
16874 main ()
16875 {
16876 return f != $ac_func;
16877   ;
16878   return 0;
16879 }
16880 _ACEOF
16881 rm -f conftest.$ac_objext conftest$ac_exeext
16882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16883   (eval $ac_link) 2>conftest.er1
16884   ac_status=$?
16885   grep -v '^ *+' conftest.er1 >conftest.err
16886   rm -f conftest.er1
16887   cat conftest.err >&5
16888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889   (exit $ac_status); } &&
16890          { ac_try='test -z "$ac_c_werror_flag"
16891                          || test ! -s conftest.err'
16892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893   (eval $ac_try) 2>&5
16894   ac_status=$?
16895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896   (exit $ac_status); }; } &&
16897          { ac_try='test -s conftest$ac_exeext'
16898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899   (eval $ac_try) 2>&5
16900   ac_status=$?
16901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902   (exit $ac_status); }; }; then
16903   eval "$as_ac_var=yes"
16904 else
16905   echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16907
16908 eval "$as_ac_var=no"
16909 fi
16910 rm -f conftest.err conftest.$ac_objext \
16911       conftest$ac_exeext conftest.$ac_ext
16912 fi
16913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16915 if test `eval echo '${'$as_ac_var'}'` = yes; then
16916   cat >>confdefs.h <<_ACEOF
16917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16918 _ACEOF
16919
16920 fi
16921 done
16922
16923     fi
16924   fi
16925
16926
16927
16928   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16929 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16930   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16931     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16932   echo $ECHO_N "(cached) $ECHO_C" >&6
16933 else
16934
16935
16936
16937       ac_ext=cc
16938 ac_cpp='$CXXCPP $CPPFLAGS'
16939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16942
16943       cat >conftest.$ac_ext <<_ACEOF
16944 /* confdefs.h.  */
16945 _ACEOF
16946 cat confdefs.h >>conftest.$ac_ext
16947 cat >>conftest.$ac_ext <<_ACEOF
16948 /* end confdefs.h.  */
16949 #include <math.h>
16950 int
16951 main ()
16952 {
16953  sincosf(0, 0, 0);
16954   ;
16955   return 0;
16956 }
16957 _ACEOF
16958 rm -f conftest.$ac_objext
16959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16960   (eval $ac_compile) 2>conftest.er1
16961   ac_status=$?
16962   grep -v '^ *+' conftest.er1 >conftest.err
16963   rm -f conftest.er1
16964   cat conftest.err >&5
16965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966   (exit $ac_status); } &&
16967          { ac_try='test -z "$ac_cxx_werror_flag"
16968                          || test ! -s conftest.err'
16969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970   (eval $ac_try) 2>&5
16971   ac_status=$?
16972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973   (exit $ac_status); }; } &&
16974          { ac_try='test -s conftest.$ac_objext'
16975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976   (eval $ac_try) 2>&5
16977   ac_status=$?
16978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979   (exit $ac_status); }; }; then
16980   glibcxx_cv_func_sincosf_use=yes
16981 else
16982   echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16984
16985 glibcxx_cv_func_sincosf_use=no
16986 fi
16987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16988       ac_ext=c
16989 ac_cpp='$CPP $CPPFLAGS'
16990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16993
16994
16995 fi
16996
16997   fi
16998   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16999 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17000
17001   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17002
17003 for ac_func in sincosf
17004 do
17005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17006 echo "$as_me:$LINENO: checking for $ac_func" >&5
17007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17008 if eval "test \"\${$as_ac_var+set}\" = set"; then
17009   echo $ECHO_N "(cached) $ECHO_C" >&6
17010 else
17011   if test x$gcc_no_link = xyes; then
17012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17014    { (exit 1); exit 1; }; }
17015 fi
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h.  */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h.  */
17022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17024 #define $ac_func innocuous_$ac_func
17025
17026 /* System header to define __stub macros and hopefully few prototypes,
17027     which can conflict with char $ac_func (); below.
17028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17029     <limits.h> exists even on freestanding compilers.  */
17030
17031 #ifdef __STDC__
17032 # include <limits.h>
17033 #else
17034 # include <assert.h>
17035 #endif
17036
17037 #undef $ac_func
17038
17039 /* Override any gcc2 internal prototype to avoid an error.  */
17040 #ifdef __cplusplus
17041 extern "C"
17042 {
17043 #endif
17044 /* We use char because int might match the return type of a gcc2
17045    builtin and then its argument prototype would still apply.  */
17046 char $ac_func ();
17047 /* The GNU C library defines this for functions which it implements
17048     to always fail with ENOSYS.  Some functions are actually named
17049     something starting with __ and the normal name is an alias.  */
17050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17051 choke me
17052 #else
17053 char (*f) () = $ac_func;
17054 #endif
17055 #ifdef __cplusplus
17056 }
17057 #endif
17058
17059 int
17060 main ()
17061 {
17062 return f != $ac_func;
17063   ;
17064   return 0;
17065 }
17066 _ACEOF
17067 rm -f conftest.$ac_objext conftest$ac_exeext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17069   (eval $ac_link) 2>conftest.er1
17070   ac_status=$?
17071   grep -v '^ *+' conftest.er1 >conftest.err
17072   rm -f conftest.er1
17073   cat conftest.err >&5
17074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075   (exit $ac_status); } &&
17076          { ac_try='test -z "$ac_c_werror_flag"
17077                          || test ! -s conftest.err'
17078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079   (eval $ac_try) 2>&5
17080   ac_status=$?
17081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082   (exit $ac_status); }; } &&
17083          { ac_try='test -s conftest$ac_exeext'
17084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085   (eval $ac_try) 2>&5
17086   ac_status=$?
17087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088   (exit $ac_status); }; }; then
17089   eval "$as_ac_var=yes"
17090 else
17091   echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17093
17094 eval "$as_ac_var=no"
17095 fi
17096 rm -f conftest.err conftest.$ac_objext \
17097       conftest$ac_exeext conftest.$ac_ext
17098 fi
17099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17101 if test `eval echo '${'$as_ac_var'}'` = yes; then
17102   cat >>confdefs.h <<_ACEOF
17103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17104 _ACEOF
17105
17106 fi
17107 done
17108
17109   else
17110
17111   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17112 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17113   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17114     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17115   echo $ECHO_N "(cached) $ECHO_C" >&6
17116 else
17117
17118
17119
17120       ac_ext=cc
17121 ac_cpp='$CXXCPP $CPPFLAGS'
17122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17125
17126       cat >conftest.$ac_ext <<_ACEOF
17127 /* confdefs.h.  */
17128 _ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h.  */
17132 #include <math.h>
17133 int
17134 main ()
17135 {
17136  _sincosf(0, 0, 0);
17137   ;
17138   return 0;
17139 }
17140 _ACEOF
17141 rm -f conftest.$ac_objext
17142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17143   (eval $ac_compile) 2>conftest.er1
17144   ac_status=$?
17145   grep -v '^ *+' conftest.er1 >conftest.err
17146   rm -f conftest.er1
17147   cat conftest.err >&5
17148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149   (exit $ac_status); } &&
17150          { ac_try='test -z "$ac_cxx_werror_flag"
17151                          || test ! -s conftest.err'
17152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153   (eval $ac_try) 2>&5
17154   ac_status=$?
17155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156   (exit $ac_status); }; } &&
17157          { ac_try='test -s conftest.$ac_objext'
17158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159   (eval $ac_try) 2>&5
17160   ac_status=$?
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); }; }; then
17163   glibcxx_cv_func__sincosf_use=yes
17164 else
17165   echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 glibcxx_cv_func__sincosf_use=no
17169 fi
17170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17171       ac_ext=c
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176
17177
17178 fi
17179
17180   fi
17181   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17182 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17183
17184     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17185
17186 for ac_func in _sincosf
17187 do
17188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17189 echo "$as_me:$LINENO: checking for $ac_func" >&5
17190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17191 if eval "test \"\${$as_ac_var+set}\" = set"; then
17192   echo $ECHO_N "(cached) $ECHO_C" >&6
17193 else
17194   if test x$gcc_no_link = xyes; then
17195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17197    { (exit 1); exit 1; }; }
17198 fi
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h.  */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h.  */
17205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17207 #define $ac_func innocuous_$ac_func
17208
17209 /* System header to define __stub macros and hopefully few prototypes,
17210     which can conflict with char $ac_func (); below.
17211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17212     <limits.h> exists even on freestanding compilers.  */
17213
17214 #ifdef __STDC__
17215 # include <limits.h>
17216 #else
17217 # include <assert.h>
17218 #endif
17219
17220 #undef $ac_func
17221
17222 /* Override any gcc2 internal prototype to avoid an error.  */
17223 #ifdef __cplusplus
17224 extern "C"
17225 {
17226 #endif
17227 /* We use char because int might match the return type of a gcc2
17228    builtin and then its argument prototype would still apply.  */
17229 char $ac_func ();
17230 /* The GNU C library defines this for functions which it implements
17231     to always fail with ENOSYS.  Some functions are actually named
17232     something starting with __ and the normal name is an alias.  */
17233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17234 choke me
17235 #else
17236 char (*f) () = $ac_func;
17237 #endif
17238 #ifdef __cplusplus
17239 }
17240 #endif
17241
17242 int
17243 main ()
17244 {
17245 return f != $ac_func;
17246   ;
17247   return 0;
17248 }
17249 _ACEOF
17250 rm -f conftest.$ac_objext conftest$ac_exeext
17251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17252   (eval $ac_link) 2>conftest.er1
17253   ac_status=$?
17254   grep -v '^ *+' conftest.er1 >conftest.err
17255   rm -f conftest.er1
17256   cat conftest.err >&5
17257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258   (exit $ac_status); } &&
17259          { ac_try='test -z "$ac_c_werror_flag"
17260                          || test ! -s conftest.err'
17261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17262   (eval $ac_try) 2>&5
17263   ac_status=$?
17264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265   (exit $ac_status); }; } &&
17266          { ac_try='test -s conftest$ac_exeext'
17267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17268   (eval $ac_try) 2>&5
17269   ac_status=$?
17270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271   (exit $ac_status); }; }; then
17272   eval "$as_ac_var=yes"
17273 else
17274   echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17276
17277 eval "$as_ac_var=no"
17278 fi
17279 rm -f conftest.err conftest.$ac_objext \
17280       conftest$ac_exeext conftest.$ac_ext
17281 fi
17282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17284 if test `eval echo '${'$as_ac_var'}'` = yes; then
17285   cat >>confdefs.h <<_ACEOF
17286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17287 _ACEOF
17288
17289 fi
17290 done
17291
17292     fi
17293   fi
17294
17295
17296
17297   echo "$as_me:$LINENO: checking for finitef declaration" >&5
17298 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17299   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17300     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17301   echo $ECHO_N "(cached) $ECHO_C" >&6
17302 else
17303
17304
17305
17306       ac_ext=cc
17307 ac_cpp='$CXXCPP $CPPFLAGS'
17308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17311
17312       cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h.  */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h.  */
17318 #include <math.h>
17319                       #ifdef HAVE_IEEEFP_H
17320                       #include <ieeefp.h>
17321                       #endif
17322
17323 int
17324 main ()
17325 {
17326  finitef(0);
17327   ;
17328   return 0;
17329 }
17330 _ACEOF
17331 rm -f conftest.$ac_objext
17332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17333   (eval $ac_compile) 2>conftest.er1
17334   ac_status=$?
17335   grep -v '^ *+' conftest.er1 >conftest.err
17336   rm -f conftest.er1
17337   cat conftest.err >&5
17338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339   (exit $ac_status); } &&
17340          { ac_try='test -z "$ac_cxx_werror_flag"
17341                          || test ! -s conftest.err'
17342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343   (eval $ac_try) 2>&5
17344   ac_status=$?
17345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346   (exit $ac_status); }; } &&
17347          { ac_try='test -s conftest.$ac_objext'
17348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349   (eval $ac_try) 2>&5
17350   ac_status=$?
17351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352   (exit $ac_status); }; }; then
17353   glibcxx_cv_func_finitef_use=yes
17354 else
17355   echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358 glibcxx_cv_func_finitef_use=no
17359 fi
17360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17361       ac_ext=c
17362 ac_cpp='$CPP $CPPFLAGS'
17363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17366
17367
17368 fi
17369
17370   fi
17371   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17372 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17373
17374   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17375
17376 for ac_func in finitef
17377 do
17378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17379 echo "$as_me:$LINENO: checking for $ac_func" >&5
17380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17381 if eval "test \"\${$as_ac_var+set}\" = set"; then
17382   echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384   if test x$gcc_no_link = xyes; then
17385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17387    { (exit 1); exit 1; }; }
17388 fi
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h.  */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h.  */
17395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17397 #define $ac_func innocuous_$ac_func
17398
17399 /* System header to define __stub macros and hopefully few prototypes,
17400     which can conflict with char $ac_func (); below.
17401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17402     <limits.h> exists even on freestanding compilers.  */
17403
17404 #ifdef __STDC__
17405 # include <limits.h>
17406 #else
17407 # include <assert.h>
17408 #endif
17409
17410 #undef $ac_func
17411
17412 /* Override any gcc2 internal prototype to avoid an error.  */
17413 #ifdef __cplusplus
17414 extern "C"
17415 {
17416 #endif
17417 /* We use char because int might match the return type of a gcc2
17418    builtin and then its argument prototype would still apply.  */
17419 char $ac_func ();
17420 /* The GNU C library defines this for functions which it implements
17421     to always fail with ENOSYS.  Some functions are actually named
17422     something starting with __ and the normal name is an alias.  */
17423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17424 choke me
17425 #else
17426 char (*f) () = $ac_func;
17427 #endif
17428 #ifdef __cplusplus
17429 }
17430 #endif
17431
17432 int
17433 main ()
17434 {
17435 return f != $ac_func;
17436   ;
17437   return 0;
17438 }
17439 _ACEOF
17440 rm -f conftest.$ac_objext conftest$ac_exeext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17442   (eval $ac_link) 2>conftest.er1
17443   ac_status=$?
17444   grep -v '^ *+' conftest.er1 >conftest.err
17445   rm -f conftest.er1
17446   cat conftest.err >&5
17447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448   (exit $ac_status); } &&
17449          { ac_try='test -z "$ac_c_werror_flag"
17450                          || test ! -s conftest.err'
17451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452   (eval $ac_try) 2>&5
17453   ac_status=$?
17454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455   (exit $ac_status); }; } &&
17456          { ac_try='test -s conftest$ac_exeext'
17457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458   (eval $ac_try) 2>&5
17459   ac_status=$?
17460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461   (exit $ac_status); }; }; then
17462   eval "$as_ac_var=yes"
17463 else
17464   echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 eval "$as_ac_var=no"
17468 fi
17469 rm -f conftest.err conftest.$ac_objext \
17470       conftest$ac_exeext conftest.$ac_ext
17471 fi
17472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17474 if test `eval echo '${'$as_ac_var'}'` = yes; then
17475   cat >>confdefs.h <<_ACEOF
17476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17477 _ACEOF
17478
17479 fi
17480 done
17481
17482   else
17483
17484   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17485 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17486   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17487     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17488   echo $ECHO_N "(cached) $ECHO_C" >&6
17489 else
17490
17491
17492
17493       ac_ext=cc
17494 ac_cpp='$CXXCPP $CPPFLAGS'
17495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17498
17499       cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h.  */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h.  */
17505 #include <math.h>
17506                       #ifdef HAVE_IEEEFP_H
17507                       #include <ieeefp.h>
17508                       #endif
17509
17510 int
17511 main ()
17512 {
17513  _finitef(0);
17514   ;
17515   return 0;
17516 }
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520   (eval $ac_compile) 2>conftest.er1
17521   ac_status=$?
17522   grep -v '^ *+' conftest.er1 >conftest.err
17523   rm -f conftest.er1
17524   cat conftest.err >&5
17525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526   (exit $ac_status); } &&
17527          { ac_try='test -z "$ac_cxx_werror_flag"
17528                          || test ! -s conftest.err'
17529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530   (eval $ac_try) 2>&5
17531   ac_status=$?
17532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533   (exit $ac_status); }; } &&
17534          { ac_try='test -s conftest.$ac_objext'
17535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536   (eval $ac_try) 2>&5
17537   ac_status=$?
17538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539   (exit $ac_status); }; }; then
17540   glibcxx_cv_func__finitef_use=yes
17541 else
17542   echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17544
17545 glibcxx_cv_func__finitef_use=no
17546 fi
17547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17548       ac_ext=c
17549 ac_cpp='$CPP $CPPFLAGS'
17550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17553
17554
17555 fi
17556
17557   fi
17558   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17559 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17560
17561     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17562
17563 for ac_func in _finitef
17564 do
17565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17566 echo "$as_me:$LINENO: checking for $ac_func" >&5
17567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17568 if eval "test \"\${$as_ac_var+set}\" = set"; then
17569   echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17571   if test x$gcc_no_link = xyes; then
17572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17574    { (exit 1); exit 1; }; }
17575 fi
17576 cat >conftest.$ac_ext <<_ACEOF
17577 /* confdefs.h.  */
17578 _ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h.  */
17582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17584 #define $ac_func innocuous_$ac_func
17585
17586 /* System header to define __stub macros and hopefully few prototypes,
17587     which can conflict with char $ac_func (); below.
17588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17589     <limits.h> exists even on freestanding compilers.  */
17590
17591 #ifdef __STDC__
17592 # include <limits.h>
17593 #else
17594 # include <assert.h>
17595 #endif
17596
17597 #undef $ac_func
17598
17599 /* Override any gcc2 internal prototype to avoid an error.  */
17600 #ifdef __cplusplus
17601 extern "C"
17602 {
17603 #endif
17604 /* We use char because int might match the return type of a gcc2
17605    builtin and then its argument prototype would still apply.  */
17606 char $ac_func ();
17607 /* The GNU C library defines this for functions which it implements
17608     to always fail with ENOSYS.  Some functions are actually named
17609     something starting with __ and the normal name is an alias.  */
17610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17611 choke me
17612 #else
17613 char (*f) () = $ac_func;
17614 #endif
17615 #ifdef __cplusplus
17616 }
17617 #endif
17618
17619 int
17620 main ()
17621 {
17622 return f != $ac_func;
17623   ;
17624   return 0;
17625 }
17626 _ACEOF
17627 rm -f conftest.$ac_objext conftest$ac_exeext
17628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17629   (eval $ac_link) 2>conftest.er1
17630   ac_status=$?
17631   grep -v '^ *+' conftest.er1 >conftest.err
17632   rm -f conftest.er1
17633   cat conftest.err >&5
17634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635   (exit $ac_status); } &&
17636          { ac_try='test -z "$ac_c_werror_flag"
17637                          || test ! -s conftest.err'
17638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17639   (eval $ac_try) 2>&5
17640   ac_status=$?
17641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642   (exit $ac_status); }; } &&
17643          { ac_try='test -s conftest$ac_exeext'
17644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645   (eval $ac_try) 2>&5
17646   ac_status=$?
17647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648   (exit $ac_status); }; }; then
17649   eval "$as_ac_var=yes"
17650 else
17651   echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.$ac_ext >&5
17653
17654 eval "$as_ac_var=no"
17655 fi
17656 rm -f conftest.err conftest.$ac_objext \
17657       conftest$ac_exeext conftest.$ac_ext
17658 fi
17659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17661 if test `eval echo '${'$as_ac_var'}'` = yes; then
17662   cat >>confdefs.h <<_ACEOF
17663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17664 _ACEOF
17665
17666 fi
17667 done
17668
17669     fi
17670   fi
17671
17672
17673
17674   echo "$as_me:$LINENO: checking for long double trig functions" >&5
17675 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17676   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17677   echo $ECHO_N "(cached) $ECHO_C" >&6
17678 else
17679
17680
17681
17682     ac_ext=cc
17683 ac_cpp='$CXXCPP $CPPFLAGS'
17684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17687
17688     cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h.  */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h.  */
17694 #include <math.h>
17695 int
17696 main ()
17697 {
17698  `for x in acosl asinl atanl \
17699                                           cosl sinl tanl \
17700                                           coshl sinhl tanhl; do echo "$x (0);"; done`
17701   ;
17702   return 0;
17703 }
17704 _ACEOF
17705 rm -f conftest.$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707   (eval $ac_compile) 2>conftest.er1
17708   ac_status=$?
17709   grep -v '^ *+' conftest.er1 >conftest.err
17710   rm -f conftest.er1
17711   cat conftest.err >&5
17712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713   (exit $ac_status); } &&
17714          { ac_try='test -z "$ac_cxx_werror_flag"
17715                          || test ! -s conftest.err'
17716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717   (eval $ac_try) 2>&5
17718   ac_status=$?
17719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720   (exit $ac_status); }; } &&
17721          { ac_try='test -s conftest.$ac_objext'
17722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723   (eval $ac_try) 2>&5
17724   ac_status=$?
17725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726   (exit $ac_status); }; }; then
17727   glibcxx_cv_func_long_double_trig_use=yes
17728 else
17729   echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 glibcxx_cv_func_long_double_trig_use=no
17733 fi
17734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735     ac_ext=c
17736 ac_cpp='$CPP $CPPFLAGS'
17737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17740
17741 fi
17742
17743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17744 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17745   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755 for ac_func in acosl asinl atanl \
17756                                           cosl sinl tanl \
17757                                           coshl sinhl tanhl
17758 do
17759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17760 echo "$as_me:$LINENO: checking for $ac_func" >&5
17761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17762 if eval "test \"\${$as_ac_var+set}\" = set"; then
17763   echo $ECHO_N "(cached) $ECHO_C" >&6
17764 else
17765   if test x$gcc_no_link = xyes; then
17766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17768    { (exit 1); exit 1; }; }
17769 fi
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h.  */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h.  */
17776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17778 #define $ac_func innocuous_$ac_func
17779
17780 /* System header to define __stub macros and hopefully few prototypes,
17781     which can conflict with char $ac_func (); below.
17782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17783     <limits.h> exists even on freestanding compilers.  */
17784
17785 #ifdef __STDC__
17786 # include <limits.h>
17787 #else
17788 # include <assert.h>
17789 #endif
17790
17791 #undef $ac_func
17792
17793 /* Override any gcc2 internal prototype to avoid an error.  */
17794 #ifdef __cplusplus
17795 extern "C"
17796 {
17797 #endif
17798 /* We use char because int might match the return type of a gcc2
17799    builtin and then its argument prototype would still apply.  */
17800 char $ac_func ();
17801 /* The GNU C library defines this for functions which it implements
17802     to always fail with ENOSYS.  Some functions are actually named
17803     something starting with __ and the normal name is an alias.  */
17804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17805 choke me
17806 #else
17807 char (*f) () = $ac_func;
17808 #endif
17809 #ifdef __cplusplus
17810 }
17811 #endif
17812
17813 int
17814 main ()
17815 {
17816 return f != $ac_func;
17817   ;
17818   return 0;
17819 }
17820 _ACEOF
17821 rm -f conftest.$ac_objext conftest$ac_exeext
17822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17823   (eval $ac_link) 2>conftest.er1
17824   ac_status=$?
17825   grep -v '^ *+' conftest.er1 >conftest.err
17826   rm -f conftest.er1
17827   cat conftest.err >&5
17828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829   (exit $ac_status); } &&
17830          { ac_try='test -z "$ac_c_werror_flag"
17831                          || test ! -s conftest.err'
17832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833   (eval $ac_try) 2>&5
17834   ac_status=$?
17835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836   (exit $ac_status); }; } &&
17837          { ac_try='test -s conftest$ac_exeext'
17838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17839   (eval $ac_try) 2>&5
17840   ac_status=$?
17841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842   (exit $ac_status); }; }; then
17843   eval "$as_ac_var=yes"
17844 else
17845   echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 eval "$as_ac_var=no"
17849 fi
17850 rm -f conftest.err conftest.$ac_objext \
17851       conftest$ac_exeext conftest.$ac_ext
17852 fi
17853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17855 if test `eval echo '${'$as_ac_var'}'` = yes; then
17856   cat >>confdefs.h <<_ACEOF
17857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17858 _ACEOF
17859
17860 fi
17861 done
17862
17863   fi
17864
17865
17866   echo "$as_me:$LINENO: checking for long double round functions" >&5
17867 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17868   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17869   echo $ECHO_N "(cached) $ECHO_C" >&6
17870 else
17871
17872
17873
17874     ac_ext=cc
17875 ac_cpp='$CXXCPP $CPPFLAGS'
17876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17879
17880     cat >conftest.$ac_ext <<_ACEOF
17881 /* confdefs.h.  */
17882 _ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h.  */
17886 #include <math.h>
17887 int
17888 main ()
17889 {
17890  `for x in ceill floorl; do echo "$x (0);"; done`
17891   ;
17892   return 0;
17893 }
17894 _ACEOF
17895 rm -f conftest.$ac_objext
17896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897   (eval $ac_compile) 2>conftest.er1
17898   ac_status=$?
17899   grep -v '^ *+' conftest.er1 >conftest.err
17900   rm -f conftest.er1
17901   cat conftest.err >&5
17902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903   (exit $ac_status); } &&
17904          { ac_try='test -z "$ac_cxx_werror_flag"
17905                          || test ! -s conftest.err'
17906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907   (eval $ac_try) 2>&5
17908   ac_status=$?
17909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910   (exit $ac_status); }; } &&
17911          { ac_try='test -s conftest.$ac_objext'
17912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913   (eval $ac_try) 2>&5
17914   ac_status=$?
17915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916   (exit $ac_status); }; }; then
17917   glibcxx_cv_func_long_double_round_use=yes
17918 else
17919   echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.$ac_ext >&5
17921
17922 glibcxx_cv_func_long_double_round_use=no
17923 fi
17924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17925     ac_ext=c
17926 ac_cpp='$CPP $CPPFLAGS'
17927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17930
17931 fi
17932
17933   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17934 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17935   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17936
17937
17938 for ac_func in ceill floorl
17939 do
17940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17941 echo "$as_me:$LINENO: checking for $ac_func" >&5
17942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17943 if eval "test \"\${$as_ac_var+set}\" = set"; then
17944   echo $ECHO_N "(cached) $ECHO_C" >&6
17945 else
17946   if test x$gcc_no_link = xyes; then
17947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17949    { (exit 1); exit 1; }; }
17950 fi
17951 cat >conftest.$ac_ext <<_ACEOF
17952 /* confdefs.h.  */
17953 _ACEOF
17954 cat confdefs.h >>conftest.$ac_ext
17955 cat >>conftest.$ac_ext <<_ACEOF
17956 /* end confdefs.h.  */
17957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17959 #define $ac_func innocuous_$ac_func
17960
17961 /* System header to define __stub macros and hopefully few prototypes,
17962     which can conflict with char $ac_func (); below.
17963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17964     <limits.h> exists even on freestanding compilers.  */
17965
17966 #ifdef __STDC__
17967 # include <limits.h>
17968 #else
17969 # include <assert.h>
17970 #endif
17971
17972 #undef $ac_func
17973
17974 /* Override any gcc2 internal prototype to avoid an error.  */
17975 #ifdef __cplusplus
17976 extern "C"
17977 {
17978 #endif
17979 /* We use char because int might match the return type of a gcc2
17980    builtin and then its argument prototype would still apply.  */
17981 char $ac_func ();
17982 /* The GNU C library defines this for functions which it implements
17983     to always fail with ENOSYS.  Some functions are actually named
17984     something starting with __ and the normal name is an alias.  */
17985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17986 choke me
17987 #else
17988 char (*f) () = $ac_func;
17989 #endif
17990 #ifdef __cplusplus
17991 }
17992 #endif
17993
17994 int
17995 main ()
17996 {
17997 return f != $ac_func;
17998   ;
17999   return 0;
18000 }
18001 _ACEOF
18002 rm -f conftest.$ac_objext conftest$ac_exeext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18004   (eval $ac_link) 2>conftest.er1
18005   ac_status=$?
18006   grep -v '^ *+' conftest.er1 >conftest.err
18007   rm -f conftest.er1
18008   cat conftest.err >&5
18009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010   (exit $ac_status); } &&
18011          { ac_try='test -z "$ac_c_werror_flag"
18012                          || test ! -s conftest.err'
18013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014   (eval $ac_try) 2>&5
18015   ac_status=$?
18016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017   (exit $ac_status); }; } &&
18018          { ac_try='test -s conftest$ac_exeext'
18019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020   (eval $ac_try) 2>&5
18021   ac_status=$?
18022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023   (exit $ac_status); }; }; then
18024   eval "$as_ac_var=yes"
18025 else
18026   echo "$as_me: failed program was:" >&5
18027 sed 's/^/| /' conftest.$ac_ext >&5
18028
18029 eval "$as_ac_var=no"
18030 fi
18031 rm -f conftest.err conftest.$ac_objext \
18032       conftest$ac_exeext conftest.$ac_ext
18033 fi
18034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18036 if test `eval echo '${'$as_ac_var'}'` = yes; then
18037   cat >>confdefs.h <<_ACEOF
18038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18039 _ACEOF
18040
18041 fi
18042 done
18043
18044   fi
18045
18046
18047
18048   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18049 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18050   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18051     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18052   echo $ECHO_N "(cached) $ECHO_C" >&6
18053 else
18054
18055
18056
18057       ac_ext=cc
18058 ac_cpp='$CXXCPP $CPPFLAGS'
18059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18062
18063       cat >conftest.$ac_ext <<_ACEOF
18064 /* confdefs.h.  */
18065 _ACEOF
18066 cat confdefs.h >>conftest.$ac_ext
18067 cat >>conftest.$ac_ext <<_ACEOF
18068 /* end confdefs.h.  */
18069 #include <math.h>
18070                       #ifdef HAVE_IEEEFP_H
18071                       #include <ieeefp.h>
18072                       #endif
18073
18074 int
18075 main ()
18076 {
18077  isnanl(0);
18078   ;
18079   return 0;
18080 }
18081 _ACEOF
18082 rm -f conftest.$ac_objext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18084   (eval $ac_compile) 2>conftest.er1
18085   ac_status=$?
18086   grep -v '^ *+' conftest.er1 >conftest.err
18087   rm -f conftest.er1
18088   cat conftest.err >&5
18089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090   (exit $ac_status); } &&
18091          { ac_try='test -z "$ac_cxx_werror_flag"
18092                          || test ! -s conftest.err'
18093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094   (eval $ac_try) 2>&5
18095   ac_status=$?
18096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097   (exit $ac_status); }; } &&
18098          { ac_try='test -s conftest.$ac_objext'
18099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100   (eval $ac_try) 2>&5
18101   ac_status=$?
18102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103   (exit $ac_status); }; }; then
18104   glibcxx_cv_func_isnanl_use=yes
18105 else
18106   echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.$ac_ext >&5
18108
18109 glibcxx_cv_func_isnanl_use=no
18110 fi
18111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18112       ac_ext=c
18113 ac_cpp='$CPP $CPPFLAGS'
18114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18117
18118
18119 fi
18120
18121   fi
18122   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18123 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18124
18125   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18126
18127 for ac_func in isnanl
18128 do
18129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18130 echo "$as_me:$LINENO: checking for $ac_func" >&5
18131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18132 if eval "test \"\${$as_ac_var+set}\" = set"; then
18133   echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135   if test x$gcc_no_link = xyes; then
18136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18138    { (exit 1); exit 1; }; }
18139 fi
18140 cat >conftest.$ac_ext <<_ACEOF
18141 /* confdefs.h.  */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h.  */
18146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18148 #define $ac_func innocuous_$ac_func
18149
18150 /* System header to define __stub macros and hopefully few prototypes,
18151     which can conflict with char $ac_func (); below.
18152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18153     <limits.h> exists even on freestanding compilers.  */
18154
18155 #ifdef __STDC__
18156 # include <limits.h>
18157 #else
18158 # include <assert.h>
18159 #endif
18160
18161 #undef $ac_func
18162
18163 /* Override any gcc2 internal prototype to avoid an error.  */
18164 #ifdef __cplusplus
18165 extern "C"
18166 {
18167 #endif
18168 /* We use char because int might match the return type of a gcc2
18169    builtin and then its argument prototype would still apply.  */
18170 char $ac_func ();
18171 /* The GNU C library defines this for functions which it implements
18172     to always fail with ENOSYS.  Some functions are actually named
18173     something starting with __ and the normal name is an alias.  */
18174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18175 choke me
18176 #else
18177 char (*f) () = $ac_func;
18178 #endif
18179 #ifdef __cplusplus
18180 }
18181 #endif
18182
18183 int
18184 main ()
18185 {
18186 return f != $ac_func;
18187   ;
18188   return 0;
18189 }
18190 _ACEOF
18191 rm -f conftest.$ac_objext conftest$ac_exeext
18192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18193   (eval $ac_link) 2>conftest.er1
18194   ac_status=$?
18195   grep -v '^ *+' conftest.er1 >conftest.err
18196   rm -f conftest.er1
18197   cat conftest.err >&5
18198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199   (exit $ac_status); } &&
18200          { ac_try='test -z "$ac_c_werror_flag"
18201                          || test ! -s conftest.err'
18202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203   (eval $ac_try) 2>&5
18204   ac_status=$?
18205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206   (exit $ac_status); }; } &&
18207          { ac_try='test -s conftest$ac_exeext'
18208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18209   (eval $ac_try) 2>&5
18210   ac_status=$?
18211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212   (exit $ac_status); }; }; then
18213   eval "$as_ac_var=yes"
18214 else
18215   echo "$as_me: failed program was:" >&5
18216 sed 's/^/| /' conftest.$ac_ext >&5
18217
18218 eval "$as_ac_var=no"
18219 fi
18220 rm -f conftest.err conftest.$ac_objext \
18221       conftest$ac_exeext conftest.$ac_ext
18222 fi
18223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18225 if test `eval echo '${'$as_ac_var'}'` = yes; then
18226   cat >>confdefs.h <<_ACEOF
18227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18228 _ACEOF
18229
18230 fi
18231 done
18232
18233   else
18234
18235   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18236 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18237   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18238     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18239   echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18241
18242
18243
18244       ac_ext=cc
18245 ac_cpp='$CXXCPP $CPPFLAGS'
18246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18249
18250       cat >conftest.$ac_ext <<_ACEOF
18251 /* confdefs.h.  */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h.  */
18256 #include <math.h>
18257                       #ifdef HAVE_IEEEFP_H
18258                       #include <ieeefp.h>
18259                       #endif
18260
18261 int
18262 main ()
18263 {
18264  _isnanl(0);
18265   ;
18266   return 0;
18267 }
18268 _ACEOF
18269 rm -f conftest.$ac_objext
18270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18271   (eval $ac_compile) 2>conftest.er1
18272   ac_status=$?
18273   grep -v '^ *+' conftest.er1 >conftest.err
18274   rm -f conftest.er1
18275   cat conftest.err >&5
18276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277   (exit $ac_status); } &&
18278          { ac_try='test -z "$ac_cxx_werror_flag"
18279                          || test ! -s conftest.err'
18280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281   (eval $ac_try) 2>&5
18282   ac_status=$?
18283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284   (exit $ac_status); }; } &&
18285          { ac_try='test -s conftest.$ac_objext'
18286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287   (eval $ac_try) 2>&5
18288   ac_status=$?
18289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290   (exit $ac_status); }; }; then
18291   glibcxx_cv_func__isnanl_use=yes
18292 else
18293   echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18295
18296 glibcxx_cv_func__isnanl_use=no
18297 fi
18298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18299       ac_ext=c
18300 ac_cpp='$CPP $CPPFLAGS'
18301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18304
18305
18306 fi
18307
18308   fi
18309   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18310 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18311
18312     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18313
18314 for ac_func in _isnanl
18315 do
18316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18317 echo "$as_me:$LINENO: checking for $ac_func" >&5
18318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18319 if eval "test \"\${$as_ac_var+set}\" = set"; then
18320   echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322   if test x$gcc_no_link = xyes; then
18323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18325    { (exit 1); exit 1; }; }
18326 fi
18327 cat >conftest.$ac_ext <<_ACEOF
18328 /* confdefs.h.  */
18329 _ACEOF
18330 cat confdefs.h >>conftest.$ac_ext
18331 cat >>conftest.$ac_ext <<_ACEOF
18332 /* end confdefs.h.  */
18333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18335 #define $ac_func innocuous_$ac_func
18336
18337 /* System header to define __stub macros and hopefully few prototypes,
18338     which can conflict with char $ac_func (); below.
18339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18340     <limits.h> exists even on freestanding compilers.  */
18341
18342 #ifdef __STDC__
18343 # include <limits.h>
18344 #else
18345 # include <assert.h>
18346 #endif
18347
18348 #undef $ac_func
18349
18350 /* Override any gcc2 internal prototype to avoid an error.  */
18351 #ifdef __cplusplus
18352 extern "C"
18353 {
18354 #endif
18355 /* We use char because int might match the return type of a gcc2
18356    builtin and then its argument prototype would still apply.  */
18357 char $ac_func ();
18358 /* The GNU C library defines this for functions which it implements
18359     to always fail with ENOSYS.  Some functions are actually named
18360     something starting with __ and the normal name is an alias.  */
18361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18362 choke me
18363 #else
18364 char (*f) () = $ac_func;
18365 #endif
18366 #ifdef __cplusplus
18367 }
18368 #endif
18369
18370 int
18371 main ()
18372 {
18373 return f != $ac_func;
18374   ;
18375   return 0;
18376 }
18377 _ACEOF
18378 rm -f conftest.$ac_objext conftest$ac_exeext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18380   (eval $ac_link) 2>conftest.er1
18381   ac_status=$?
18382   grep -v '^ *+' conftest.er1 >conftest.err
18383   rm -f conftest.er1
18384   cat conftest.err >&5
18385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386   (exit $ac_status); } &&
18387          { ac_try='test -z "$ac_c_werror_flag"
18388                          || test ! -s conftest.err'
18389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390   (eval $ac_try) 2>&5
18391   ac_status=$?
18392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393   (exit $ac_status); }; } &&
18394          { ac_try='test -s conftest$ac_exeext'
18395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396   (eval $ac_try) 2>&5
18397   ac_status=$?
18398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399   (exit $ac_status); }; }; then
18400   eval "$as_ac_var=yes"
18401 else
18402   echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18404
18405 eval "$as_ac_var=no"
18406 fi
18407 rm -f conftest.err conftest.$ac_objext \
18408       conftest$ac_exeext conftest.$ac_ext
18409 fi
18410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18412 if test `eval echo '${'$as_ac_var'}'` = yes; then
18413   cat >>confdefs.h <<_ACEOF
18414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18415 _ACEOF
18416
18417 fi
18418 done
18419
18420     fi
18421   fi
18422
18423
18424
18425   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18426 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18427   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18428     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18429   echo $ECHO_N "(cached) $ECHO_C" >&6
18430 else
18431
18432
18433
18434       ac_ext=cc
18435 ac_cpp='$CXXCPP $CPPFLAGS'
18436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18439
18440       cat >conftest.$ac_ext <<_ACEOF
18441 /* confdefs.h.  */
18442 _ACEOF
18443 cat confdefs.h >>conftest.$ac_ext
18444 cat >>conftest.$ac_ext <<_ACEOF
18445 /* end confdefs.h.  */
18446 #include <math.h>
18447                       #ifdef HAVE_IEEEFP_H
18448                       #include <ieeefp.h>
18449                       #endif
18450
18451 int
18452 main ()
18453 {
18454  isinfl(0);
18455   ;
18456   return 0;
18457 }
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18461   (eval $ac_compile) 2>conftest.er1
18462   ac_status=$?
18463   grep -v '^ *+' conftest.er1 >conftest.err
18464   rm -f conftest.er1
18465   cat conftest.err >&5
18466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467   (exit $ac_status); } &&
18468          { ac_try='test -z "$ac_cxx_werror_flag"
18469                          || test ! -s conftest.err'
18470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471   (eval $ac_try) 2>&5
18472   ac_status=$?
18473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474   (exit $ac_status); }; } &&
18475          { ac_try='test -s conftest.$ac_objext'
18476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477   (eval $ac_try) 2>&5
18478   ac_status=$?
18479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480   (exit $ac_status); }; }; then
18481   glibcxx_cv_func_isinfl_use=yes
18482 else
18483   echo "$as_me: failed program was:" >&5
18484 sed 's/^/| /' conftest.$ac_ext >&5
18485
18486 glibcxx_cv_func_isinfl_use=no
18487 fi
18488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18489       ac_ext=c
18490 ac_cpp='$CPP $CPPFLAGS'
18491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18494
18495
18496 fi
18497
18498   fi
18499   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18500 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18501
18502   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18503
18504 for ac_func in isinfl
18505 do
18506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18507 echo "$as_me:$LINENO: checking for $ac_func" >&5
18508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18509 if eval "test \"\${$as_ac_var+set}\" = set"; then
18510   echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18512   if test x$gcc_no_link = xyes; then
18513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18515    { (exit 1); exit 1; }; }
18516 fi
18517 cat >conftest.$ac_ext <<_ACEOF
18518 /* confdefs.h.  */
18519 _ACEOF
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h.  */
18523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18525 #define $ac_func innocuous_$ac_func
18526
18527 /* System header to define __stub macros and hopefully few prototypes,
18528     which can conflict with char $ac_func (); below.
18529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18530     <limits.h> exists even on freestanding compilers.  */
18531
18532 #ifdef __STDC__
18533 # include <limits.h>
18534 #else
18535 # include <assert.h>
18536 #endif
18537
18538 #undef $ac_func
18539
18540 /* Override any gcc2 internal prototype to avoid an error.  */
18541 #ifdef __cplusplus
18542 extern "C"
18543 {
18544 #endif
18545 /* We use char because int might match the return type of a gcc2
18546    builtin and then its argument prototype would still apply.  */
18547 char $ac_func ();
18548 /* The GNU C library defines this for functions which it implements
18549     to always fail with ENOSYS.  Some functions are actually named
18550     something starting with __ and the normal name is an alias.  */
18551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18552 choke me
18553 #else
18554 char (*f) () = $ac_func;
18555 #endif
18556 #ifdef __cplusplus
18557 }
18558 #endif
18559
18560 int
18561 main ()
18562 {
18563 return f != $ac_func;
18564   ;
18565   return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext conftest$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570   (eval $ac_link) 2>conftest.er1
18571   ac_status=$?
18572   grep -v '^ *+' conftest.er1 >conftest.err
18573   rm -f conftest.er1
18574   cat conftest.err >&5
18575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576   (exit $ac_status); } &&
18577          { ac_try='test -z "$ac_c_werror_flag"
18578                          || test ! -s conftest.err'
18579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580   (eval $ac_try) 2>&5
18581   ac_status=$?
18582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583   (exit $ac_status); }; } &&
18584          { ac_try='test -s conftest$ac_exeext'
18585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586   (eval $ac_try) 2>&5
18587   ac_status=$?
18588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589   (exit $ac_status); }; }; then
18590   eval "$as_ac_var=yes"
18591 else
18592   echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18594
18595 eval "$as_ac_var=no"
18596 fi
18597 rm -f conftest.err conftest.$ac_objext \
18598       conftest$ac_exeext conftest.$ac_ext
18599 fi
18600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18602 if test `eval echo '${'$as_ac_var'}'` = yes; then
18603   cat >>confdefs.h <<_ACEOF
18604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18605 _ACEOF
18606
18607 fi
18608 done
18609
18610   else
18611
18612   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18613 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18614   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18615     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18616   echo $ECHO_N "(cached) $ECHO_C" >&6
18617 else
18618
18619
18620
18621       ac_ext=cc
18622 ac_cpp='$CXXCPP $CPPFLAGS'
18623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18626
18627       cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h.  */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h.  */
18633 #include <math.h>
18634                       #ifdef HAVE_IEEEFP_H
18635                       #include <ieeefp.h>
18636                       #endif
18637
18638 int
18639 main ()
18640 {
18641  _isinfl(0);
18642   ;
18643   return 0;
18644 }
18645 _ACEOF
18646 rm -f conftest.$ac_objext
18647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18648   (eval $ac_compile) 2>conftest.er1
18649   ac_status=$?
18650   grep -v '^ *+' conftest.er1 >conftest.err
18651   rm -f conftest.er1
18652   cat conftest.err >&5
18653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654   (exit $ac_status); } &&
18655          { ac_try='test -z "$ac_cxx_werror_flag"
18656                          || test ! -s conftest.err'
18657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658   (eval $ac_try) 2>&5
18659   ac_status=$?
18660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661   (exit $ac_status); }; } &&
18662          { ac_try='test -s conftest.$ac_objext'
18663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664   (eval $ac_try) 2>&5
18665   ac_status=$?
18666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667   (exit $ac_status); }; }; then
18668   glibcxx_cv_func__isinfl_use=yes
18669 else
18670   echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18672
18673 glibcxx_cv_func__isinfl_use=no
18674 fi
18675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18676       ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683 fi
18684
18685   fi
18686   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18687 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18688
18689     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18690
18691 for ac_func in _isinfl
18692 do
18693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18694 echo "$as_me:$LINENO: checking for $ac_func" >&5
18695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18696 if eval "test \"\${$as_ac_var+set}\" = set"; then
18697   echo $ECHO_N "(cached) $ECHO_C" >&6
18698 else
18699   if test x$gcc_no_link = xyes; then
18700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18702    { (exit 1); exit 1; }; }
18703 fi
18704 cat >conftest.$ac_ext <<_ACEOF
18705 /* confdefs.h.  */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h.  */
18710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18712 #define $ac_func innocuous_$ac_func
18713
18714 /* System header to define __stub macros and hopefully few prototypes,
18715     which can conflict with char $ac_func (); below.
18716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18717     <limits.h> exists even on freestanding compilers.  */
18718
18719 #ifdef __STDC__
18720 # include <limits.h>
18721 #else
18722 # include <assert.h>
18723 #endif
18724
18725 #undef $ac_func
18726
18727 /* Override any gcc2 internal prototype to avoid an error.  */
18728 #ifdef __cplusplus
18729 extern "C"
18730 {
18731 #endif
18732 /* We use char because int might match the return type of a gcc2
18733    builtin and then its argument prototype would still apply.  */
18734 char $ac_func ();
18735 /* The GNU C library defines this for functions which it implements
18736     to always fail with ENOSYS.  Some functions are actually named
18737     something starting with __ and the normal name is an alias.  */
18738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18739 choke me
18740 #else
18741 char (*f) () = $ac_func;
18742 #endif
18743 #ifdef __cplusplus
18744 }
18745 #endif
18746
18747 int
18748 main ()
18749 {
18750 return f != $ac_func;
18751   ;
18752   return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext conftest$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757   (eval $ac_link) 2>conftest.er1
18758   ac_status=$?
18759   grep -v '^ *+' conftest.er1 >conftest.err
18760   rm -f conftest.er1
18761   cat conftest.err >&5
18762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763   (exit $ac_status); } &&
18764          { ac_try='test -z "$ac_c_werror_flag"
18765                          || test ! -s conftest.err'
18766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767   (eval $ac_try) 2>&5
18768   ac_status=$?
18769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770   (exit $ac_status); }; } &&
18771          { ac_try='test -s conftest$ac_exeext'
18772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773   (eval $ac_try) 2>&5
18774   ac_status=$?
18775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776   (exit $ac_status); }; }; then
18777   eval "$as_ac_var=yes"
18778 else
18779   echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18781
18782 eval "$as_ac_var=no"
18783 fi
18784 rm -f conftest.err conftest.$ac_objext \
18785       conftest$ac_exeext conftest.$ac_ext
18786 fi
18787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18789 if test `eval echo '${'$as_ac_var'}'` = yes; then
18790   cat >>confdefs.h <<_ACEOF
18791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18792 _ACEOF
18793
18794 fi
18795 done
18796
18797     fi
18798   fi
18799
18800
18801
18802   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18803 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18804   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18805     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18806   echo $ECHO_N "(cached) $ECHO_C" >&6
18807 else
18808
18809
18810
18811       ac_ext=cc
18812 ac_cpp='$CXXCPP $CPPFLAGS'
18813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18816
18817       cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h.  */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h.  */
18823 #include <math.h>
18824 int
18825 main ()
18826 {
18827  copysignl(0, 0);
18828   ;
18829   return 0;
18830 }
18831 _ACEOF
18832 rm -f conftest.$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834   (eval $ac_compile) 2>conftest.er1
18835   ac_status=$?
18836   grep -v '^ *+' conftest.er1 >conftest.err
18837   rm -f conftest.er1
18838   cat conftest.err >&5
18839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840   (exit $ac_status); } &&
18841          { ac_try='test -z "$ac_cxx_werror_flag"
18842                          || test ! -s conftest.err'
18843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844   (eval $ac_try) 2>&5
18845   ac_status=$?
18846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847   (exit $ac_status); }; } &&
18848          { ac_try='test -s conftest.$ac_objext'
18849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850   (eval $ac_try) 2>&5
18851   ac_status=$?
18852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853   (exit $ac_status); }; }; then
18854   glibcxx_cv_func_copysignl_use=yes
18855 else
18856   echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18858
18859 glibcxx_cv_func_copysignl_use=no
18860 fi
18861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18862       ac_ext=c
18863 ac_cpp='$CPP $CPPFLAGS'
18864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18867
18868
18869 fi
18870
18871   fi
18872   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18873 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18874
18875   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18876
18877 for ac_func in copysignl
18878 do
18879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18880 echo "$as_me:$LINENO: checking for $ac_func" >&5
18881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18882 if eval "test \"\${$as_ac_var+set}\" = set"; then
18883   echo $ECHO_N "(cached) $ECHO_C" >&6
18884 else
18885   if test x$gcc_no_link = xyes; then
18886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18888    { (exit 1); exit 1; }; }
18889 fi
18890 cat >conftest.$ac_ext <<_ACEOF
18891 /* confdefs.h.  */
18892 _ACEOF
18893 cat confdefs.h >>conftest.$ac_ext
18894 cat >>conftest.$ac_ext <<_ACEOF
18895 /* end confdefs.h.  */
18896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18898 #define $ac_func innocuous_$ac_func
18899
18900 /* System header to define __stub macros and hopefully few prototypes,
18901     which can conflict with char $ac_func (); below.
18902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18903     <limits.h> exists even on freestanding compilers.  */
18904
18905 #ifdef __STDC__
18906 # include <limits.h>
18907 #else
18908 # include <assert.h>
18909 #endif
18910
18911 #undef $ac_func
18912
18913 /* Override any gcc2 internal prototype to avoid an error.  */
18914 #ifdef __cplusplus
18915 extern "C"
18916 {
18917 #endif
18918 /* We use char because int might match the return type of a gcc2
18919    builtin and then its argument prototype would still apply.  */
18920 char $ac_func ();
18921 /* The GNU C library defines this for functions which it implements
18922     to always fail with ENOSYS.  Some functions are actually named
18923     something starting with __ and the normal name is an alias.  */
18924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18925 choke me
18926 #else
18927 char (*f) () = $ac_func;
18928 #endif
18929 #ifdef __cplusplus
18930 }
18931 #endif
18932
18933 int
18934 main ()
18935 {
18936 return f != $ac_func;
18937   ;
18938   return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext conftest$ac_exeext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18943   (eval $ac_link) 2>conftest.er1
18944   ac_status=$?
18945   grep -v '^ *+' conftest.er1 >conftest.err
18946   rm -f conftest.er1
18947   cat conftest.err >&5
18948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949   (exit $ac_status); } &&
18950          { ac_try='test -z "$ac_c_werror_flag"
18951                          || test ! -s conftest.err'
18952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953   (eval $ac_try) 2>&5
18954   ac_status=$?
18955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956   (exit $ac_status); }; } &&
18957          { ac_try='test -s conftest$ac_exeext'
18958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959   (eval $ac_try) 2>&5
18960   ac_status=$?
18961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962   (exit $ac_status); }; }; then
18963   eval "$as_ac_var=yes"
18964 else
18965   echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18967
18968 eval "$as_ac_var=no"
18969 fi
18970 rm -f conftest.err conftest.$ac_objext \
18971       conftest$ac_exeext conftest.$ac_ext
18972 fi
18973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18975 if test `eval echo '${'$as_ac_var'}'` = yes; then
18976   cat >>confdefs.h <<_ACEOF
18977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18978 _ACEOF
18979
18980 fi
18981 done
18982
18983   else
18984
18985   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18986 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18987   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18988     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18989   echo $ECHO_N "(cached) $ECHO_C" >&6
18990 else
18991
18992
18993
18994       ac_ext=cc
18995 ac_cpp='$CXXCPP $CPPFLAGS'
18996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18999
19000       cat >conftest.$ac_ext <<_ACEOF
19001 /* confdefs.h.  */
19002 _ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h.  */
19006 #include <math.h>
19007 int
19008 main ()
19009 {
19010  _copysignl(0, 0);
19011   ;
19012   return 0;
19013 }
19014 _ACEOF
19015 rm -f conftest.$ac_objext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19017   (eval $ac_compile) 2>conftest.er1
19018   ac_status=$?
19019   grep -v '^ *+' conftest.er1 >conftest.err
19020   rm -f conftest.er1
19021   cat conftest.err >&5
19022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023   (exit $ac_status); } &&
19024          { ac_try='test -z "$ac_cxx_werror_flag"
19025                          || test ! -s conftest.err'
19026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027   (eval $ac_try) 2>&5
19028   ac_status=$?
19029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030   (exit $ac_status); }; } &&
19031          { ac_try='test -s conftest.$ac_objext'
19032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033   (eval $ac_try) 2>&5
19034   ac_status=$?
19035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036   (exit $ac_status); }; }; then
19037   glibcxx_cv_func__copysignl_use=yes
19038 else
19039   echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19041
19042 glibcxx_cv_func__copysignl_use=no
19043 fi
19044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19045       ac_ext=c
19046 ac_cpp='$CPP $CPPFLAGS'
19047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19050
19051
19052 fi
19053
19054   fi
19055   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19056 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19057
19058     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19059
19060 for ac_func in _copysignl
19061 do
19062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19063 echo "$as_me:$LINENO: checking for $ac_func" >&5
19064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19065 if eval "test \"\${$as_ac_var+set}\" = set"; then
19066   echo $ECHO_N "(cached) $ECHO_C" >&6
19067 else
19068   if test x$gcc_no_link = xyes; then
19069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19071    { (exit 1); exit 1; }; }
19072 fi
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h.  */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h.  */
19079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19081 #define $ac_func innocuous_$ac_func
19082
19083 /* System header to define __stub macros and hopefully few prototypes,
19084     which can conflict with char $ac_func (); below.
19085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19086     <limits.h> exists even on freestanding compilers.  */
19087
19088 #ifdef __STDC__
19089 # include <limits.h>
19090 #else
19091 # include <assert.h>
19092 #endif
19093
19094 #undef $ac_func
19095
19096 /* Override any gcc2 internal prototype to avoid an error.  */
19097 #ifdef __cplusplus
19098 extern "C"
19099 {
19100 #endif
19101 /* We use char because int might match the return type of a gcc2
19102    builtin and then its argument prototype would still apply.  */
19103 char $ac_func ();
19104 /* The GNU C library defines this for functions which it implements
19105     to always fail with ENOSYS.  Some functions are actually named
19106     something starting with __ and the normal name is an alias.  */
19107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19108 choke me
19109 #else
19110 char (*f) () = $ac_func;
19111 #endif
19112 #ifdef __cplusplus
19113 }
19114 #endif
19115
19116 int
19117 main ()
19118 {
19119 return f != $ac_func;
19120   ;
19121   return 0;
19122 }
19123 _ACEOF
19124 rm -f conftest.$ac_objext conftest$ac_exeext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19126   (eval $ac_link) 2>conftest.er1
19127   ac_status=$?
19128   grep -v '^ *+' conftest.er1 >conftest.err
19129   rm -f conftest.er1
19130   cat conftest.err >&5
19131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132   (exit $ac_status); } &&
19133          { ac_try='test -z "$ac_c_werror_flag"
19134                          || test ! -s conftest.err'
19135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136   (eval $ac_try) 2>&5
19137   ac_status=$?
19138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139   (exit $ac_status); }; } &&
19140          { ac_try='test -s conftest$ac_exeext'
19141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19142   (eval $ac_try) 2>&5
19143   ac_status=$?
19144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145   (exit $ac_status); }; }; then
19146   eval "$as_ac_var=yes"
19147 else
19148   echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19150
19151 eval "$as_ac_var=no"
19152 fi
19153 rm -f conftest.err conftest.$ac_objext \
19154       conftest$ac_exeext conftest.$ac_ext
19155 fi
19156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19158 if test `eval echo '${'$as_ac_var'}'` = yes; then
19159   cat >>confdefs.h <<_ACEOF
19160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19161 _ACEOF
19162
19163 fi
19164 done
19165
19166     fi
19167   fi
19168
19169
19170
19171   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19172 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19173   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19174     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19175   echo $ECHO_N "(cached) $ECHO_C" >&6
19176 else
19177
19178
19179
19180       ac_ext=cc
19181 ac_cpp='$CXXCPP $CPPFLAGS'
19182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19185
19186       cat >conftest.$ac_ext <<_ACEOF
19187 /* confdefs.h.  */
19188 _ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h.  */
19192 #include <math.h>
19193 int
19194 main ()
19195 {
19196  atan2l(0, 0);
19197   ;
19198   return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203   (eval $ac_compile) 2>conftest.er1
19204   ac_status=$?
19205   grep -v '^ *+' conftest.er1 >conftest.err
19206   rm -f conftest.er1
19207   cat conftest.err >&5
19208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209   (exit $ac_status); } &&
19210          { ac_try='test -z "$ac_cxx_werror_flag"
19211                          || test ! -s conftest.err'
19212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213   (eval $ac_try) 2>&5
19214   ac_status=$?
19215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216   (exit $ac_status); }; } &&
19217          { ac_try='test -s conftest.$ac_objext'
19218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19219   (eval $ac_try) 2>&5
19220   ac_status=$?
19221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222   (exit $ac_status); }; }; then
19223   glibcxx_cv_func_atan2l_use=yes
19224 else
19225   echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19227
19228 glibcxx_cv_func_atan2l_use=no
19229 fi
19230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19231       ac_ext=c
19232 ac_cpp='$CPP $CPPFLAGS'
19233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19236
19237
19238 fi
19239
19240   fi
19241   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19242 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19243
19244   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19245
19246 for ac_func in atan2l
19247 do
19248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19249 echo "$as_me:$LINENO: checking for $ac_func" >&5
19250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19251 if eval "test \"\${$as_ac_var+set}\" = set"; then
19252   echo $ECHO_N "(cached) $ECHO_C" >&6
19253 else
19254   if test x$gcc_no_link = xyes; then
19255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19257    { (exit 1); exit 1; }; }
19258 fi
19259 cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h.  */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h.  */
19265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19267 #define $ac_func innocuous_$ac_func
19268
19269 /* System header to define __stub macros and hopefully few prototypes,
19270     which can conflict with char $ac_func (); below.
19271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19272     <limits.h> exists even on freestanding compilers.  */
19273
19274 #ifdef __STDC__
19275 # include <limits.h>
19276 #else
19277 # include <assert.h>
19278 #endif
19279
19280 #undef $ac_func
19281
19282 /* Override any gcc2 internal prototype to avoid an error.  */
19283 #ifdef __cplusplus
19284 extern "C"
19285 {
19286 #endif
19287 /* We use char because int might match the return type of a gcc2
19288    builtin and then its argument prototype would still apply.  */
19289 char $ac_func ();
19290 /* The GNU C library defines this for functions which it implements
19291     to always fail with ENOSYS.  Some functions are actually named
19292     something starting with __ and the normal name is an alias.  */
19293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19294 choke me
19295 #else
19296 char (*f) () = $ac_func;
19297 #endif
19298 #ifdef __cplusplus
19299 }
19300 #endif
19301
19302 int
19303 main ()
19304 {
19305 return f != $ac_func;
19306   ;
19307   return 0;
19308 }
19309 _ACEOF
19310 rm -f conftest.$ac_objext conftest$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312   (eval $ac_link) 2>conftest.er1
19313   ac_status=$?
19314   grep -v '^ *+' conftest.er1 >conftest.err
19315   rm -f conftest.er1
19316   cat conftest.err >&5
19317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318   (exit $ac_status); } &&
19319          { ac_try='test -z "$ac_c_werror_flag"
19320                          || test ! -s conftest.err'
19321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322   (eval $ac_try) 2>&5
19323   ac_status=$?
19324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325   (exit $ac_status); }; } &&
19326          { ac_try='test -s conftest$ac_exeext'
19327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328   (eval $ac_try) 2>&5
19329   ac_status=$?
19330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331   (exit $ac_status); }; }; then
19332   eval "$as_ac_var=yes"
19333 else
19334   echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 eval "$as_ac_var=no"
19338 fi
19339 rm -f conftest.err conftest.$ac_objext \
19340       conftest$ac_exeext conftest.$ac_ext
19341 fi
19342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19344 if test `eval echo '${'$as_ac_var'}'` = yes; then
19345   cat >>confdefs.h <<_ACEOF
19346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19347 _ACEOF
19348
19349 fi
19350 done
19351
19352   else
19353
19354   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19355 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19356   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19357     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19358   echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360
19361
19362
19363       ac_ext=cc
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19368
19369       cat >conftest.$ac_ext <<_ACEOF
19370 /* confdefs.h.  */
19371 _ACEOF
19372 cat confdefs.h >>conftest.$ac_ext
19373 cat >>conftest.$ac_ext <<_ACEOF
19374 /* end confdefs.h.  */
19375 #include <math.h>
19376 int
19377 main ()
19378 {
19379  _atan2l(0, 0);
19380   ;
19381   return 0;
19382 }
19383 _ACEOF
19384 rm -f conftest.$ac_objext
19385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19386   (eval $ac_compile) 2>conftest.er1
19387   ac_status=$?
19388   grep -v '^ *+' conftest.er1 >conftest.err
19389   rm -f conftest.er1
19390   cat conftest.err >&5
19391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392   (exit $ac_status); } &&
19393          { ac_try='test -z "$ac_cxx_werror_flag"
19394                          || test ! -s conftest.err'
19395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396   (eval $ac_try) 2>&5
19397   ac_status=$?
19398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399   (exit $ac_status); }; } &&
19400          { ac_try='test -s conftest.$ac_objext'
19401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402   (eval $ac_try) 2>&5
19403   ac_status=$?
19404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405   (exit $ac_status); }; }; then
19406   glibcxx_cv_func__atan2l_use=yes
19407 else
19408   echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19410
19411 glibcxx_cv_func__atan2l_use=no
19412 fi
19413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19414       ac_ext=c
19415 ac_cpp='$CPP $CPPFLAGS'
19416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19419
19420
19421 fi
19422
19423   fi
19424   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19425 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19426
19427     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19428
19429 for ac_func in _atan2l
19430 do
19431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19432 echo "$as_me:$LINENO: checking for $ac_func" >&5
19433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19434 if eval "test \"\${$as_ac_var+set}\" = set"; then
19435   echo $ECHO_N "(cached) $ECHO_C" >&6
19436 else
19437   if test x$gcc_no_link = xyes; then
19438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19440    { (exit 1); exit 1; }; }
19441 fi
19442 cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h.  */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h.  */
19448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19449    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19450 #define $ac_func innocuous_$ac_func
19451
19452 /* System header to define __stub macros and hopefully few prototypes,
19453     which can conflict with char $ac_func (); below.
19454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19455     <limits.h> exists even on freestanding compilers.  */
19456
19457 #ifdef __STDC__
19458 # include <limits.h>
19459 #else
19460 # include <assert.h>
19461 #endif
19462
19463 #undef $ac_func
19464
19465 /* Override any gcc2 internal prototype to avoid an error.  */
19466 #ifdef __cplusplus
19467 extern "C"
19468 {
19469 #endif
19470 /* We use char because int might match the return type of a gcc2
19471    builtin and then its argument prototype would still apply.  */
19472 char $ac_func ();
19473 /* The GNU C library defines this for functions which it implements
19474     to always fail with ENOSYS.  Some functions are actually named
19475     something starting with __ and the normal name is an alias.  */
19476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19477 choke me
19478 #else
19479 char (*f) () = $ac_func;
19480 #endif
19481 #ifdef __cplusplus
19482 }
19483 #endif
19484
19485 int
19486 main ()
19487 {
19488 return f != $ac_func;
19489   ;
19490   return 0;
19491 }
19492 _ACEOF
19493 rm -f conftest.$ac_objext conftest$ac_exeext
19494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19495   (eval $ac_link) 2>conftest.er1
19496   ac_status=$?
19497   grep -v '^ *+' conftest.er1 >conftest.err
19498   rm -f conftest.er1
19499   cat conftest.err >&5
19500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501   (exit $ac_status); } &&
19502          { ac_try='test -z "$ac_c_werror_flag"
19503                          || test ! -s conftest.err'
19504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505   (eval $ac_try) 2>&5
19506   ac_status=$?
19507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508   (exit $ac_status); }; } &&
19509          { ac_try='test -s conftest$ac_exeext'
19510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511   (eval $ac_try) 2>&5
19512   ac_status=$?
19513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514   (exit $ac_status); }; }; then
19515   eval "$as_ac_var=yes"
19516 else
19517   echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.$ac_ext >&5
19519
19520 eval "$as_ac_var=no"
19521 fi
19522 rm -f conftest.err conftest.$ac_objext \
19523       conftest$ac_exeext conftest.$ac_ext
19524 fi
19525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19527 if test `eval echo '${'$as_ac_var'}'` = yes; then
19528   cat >>confdefs.h <<_ACEOF
19529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19530 _ACEOF
19531
19532 fi
19533 done
19534
19535     fi
19536   fi
19537
19538
19539
19540   echo "$as_me:$LINENO: checking for expl declaration" >&5
19541 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19542   if test x${glibcxx_cv_func_expl_use+set} != xset; then
19543     if test "${glibcxx_cv_func_expl_use+set}" = set; then
19544   echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546
19547
19548
19549       ac_ext=cc
19550 ac_cpp='$CXXCPP $CPPFLAGS'
19551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19554
19555       cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h.  */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h.  */
19561 #include <math.h>
19562                       #ifdef HAVE_IEEEFP_H
19563                       #include <ieeefp.h>
19564                       #endif
19565
19566 int
19567 main ()
19568 {
19569  expl(0);
19570   ;
19571   return 0;
19572 }
19573 _ACEOF
19574 rm -f conftest.$ac_objext
19575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19576   (eval $ac_compile) 2>conftest.er1
19577   ac_status=$?
19578   grep -v '^ *+' conftest.er1 >conftest.err
19579   rm -f conftest.er1
19580   cat conftest.err >&5
19581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582   (exit $ac_status); } &&
19583          { ac_try='test -z "$ac_cxx_werror_flag"
19584                          || test ! -s conftest.err'
19585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586   (eval $ac_try) 2>&5
19587   ac_status=$?
19588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589   (exit $ac_status); }; } &&
19590          { ac_try='test -s conftest.$ac_objext'
19591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592   (eval $ac_try) 2>&5
19593   ac_status=$?
19594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595   (exit $ac_status); }; }; then
19596   glibcxx_cv_func_expl_use=yes
19597 else
19598   echo "$as_me: failed program was:" >&5
19599 sed 's/^/| /' conftest.$ac_ext >&5
19600
19601 glibcxx_cv_func_expl_use=no
19602 fi
19603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19604       ac_ext=c
19605 ac_cpp='$CPP $CPPFLAGS'
19606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19609
19610
19611 fi
19612
19613   fi
19614   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19615 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19616
19617   if test x$glibcxx_cv_func_expl_use = x"yes"; then
19618
19619 for ac_func in expl
19620 do
19621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19622 echo "$as_me:$LINENO: checking for $ac_func" >&5
19623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19624 if eval "test \"\${$as_ac_var+set}\" = set"; then
19625   echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627   if test x$gcc_no_link = xyes; then
19628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19630    { (exit 1); exit 1; }; }
19631 fi
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h.  */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h.  */
19638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19640 #define $ac_func innocuous_$ac_func
19641
19642 /* System header to define __stub macros and hopefully few prototypes,
19643     which can conflict with char $ac_func (); below.
19644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19645     <limits.h> exists even on freestanding compilers.  */
19646
19647 #ifdef __STDC__
19648 # include <limits.h>
19649 #else
19650 # include <assert.h>
19651 #endif
19652
19653 #undef $ac_func
19654
19655 /* Override any gcc2 internal prototype to avoid an error.  */
19656 #ifdef __cplusplus
19657 extern "C"
19658 {
19659 #endif
19660 /* We use char because int might match the return type of a gcc2
19661    builtin and then its argument prototype would still apply.  */
19662 char $ac_func ();
19663 /* The GNU C library defines this for functions which it implements
19664     to always fail with ENOSYS.  Some functions are actually named
19665     something starting with __ and the normal name is an alias.  */
19666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19667 choke me
19668 #else
19669 char (*f) () = $ac_func;
19670 #endif
19671 #ifdef __cplusplus
19672 }
19673 #endif
19674
19675 int
19676 main ()
19677 {
19678 return f != $ac_func;
19679   ;
19680   return 0;
19681 }
19682 _ACEOF
19683 rm -f conftest.$ac_objext conftest$ac_exeext
19684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19685   (eval $ac_link) 2>conftest.er1
19686   ac_status=$?
19687   grep -v '^ *+' conftest.er1 >conftest.err
19688   rm -f conftest.er1
19689   cat conftest.err >&5
19690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691   (exit $ac_status); } &&
19692          { ac_try='test -z "$ac_c_werror_flag"
19693                          || test ! -s conftest.err'
19694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19695   (eval $ac_try) 2>&5
19696   ac_status=$?
19697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698   (exit $ac_status); }; } &&
19699          { ac_try='test -s conftest$ac_exeext'
19700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701   (eval $ac_try) 2>&5
19702   ac_status=$?
19703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704   (exit $ac_status); }; }; then
19705   eval "$as_ac_var=yes"
19706 else
19707   echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.$ac_ext >&5
19709
19710 eval "$as_ac_var=no"
19711 fi
19712 rm -f conftest.err conftest.$ac_objext \
19713       conftest$ac_exeext conftest.$ac_ext
19714 fi
19715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19717 if test `eval echo '${'$as_ac_var'}'` = yes; then
19718   cat >>confdefs.h <<_ACEOF
19719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19720 _ACEOF
19721
19722 fi
19723 done
19724
19725   else
19726
19727   echo "$as_me:$LINENO: checking for _expl declaration" >&5
19728 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19729   if test x${glibcxx_cv_func__expl_use+set} != xset; then
19730     if test "${glibcxx_cv_func__expl_use+set}" = set; then
19731   echo $ECHO_N "(cached) $ECHO_C" >&6
19732 else
19733
19734
19735
19736       ac_ext=cc
19737 ac_cpp='$CXXCPP $CPPFLAGS'
19738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19741
19742       cat >conftest.$ac_ext <<_ACEOF
19743 /* confdefs.h.  */
19744 _ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h.  */
19748 #include <math.h>
19749                       #ifdef HAVE_IEEEFP_H
19750                       #include <ieeefp.h>
19751                       #endif
19752
19753 int
19754 main ()
19755 {
19756  _expl(0);
19757   ;
19758   return 0;
19759 }
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19763   (eval $ac_compile) 2>conftest.er1
19764   ac_status=$?
19765   grep -v '^ *+' conftest.er1 >conftest.err
19766   rm -f conftest.er1
19767   cat conftest.err >&5
19768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769   (exit $ac_status); } &&
19770          { ac_try='test -z "$ac_cxx_werror_flag"
19771                          || test ! -s conftest.err'
19772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773   (eval $ac_try) 2>&5
19774   ac_status=$?
19775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776   (exit $ac_status); }; } &&
19777          { ac_try='test -s conftest.$ac_objext'
19778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779   (eval $ac_try) 2>&5
19780   ac_status=$?
19781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782   (exit $ac_status); }; }; then
19783   glibcxx_cv_func__expl_use=yes
19784 else
19785   echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19787
19788 glibcxx_cv_func__expl_use=no
19789 fi
19790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19791       ac_ext=c
19792 ac_cpp='$CPP $CPPFLAGS'
19793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19796
19797
19798 fi
19799
19800   fi
19801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19802 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19803
19804     if test x$glibcxx_cv_func__expl_use = x"yes"; then
19805
19806 for ac_func in _expl
19807 do
19808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19809 echo "$as_me:$LINENO: checking for $ac_func" >&5
19810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19811 if eval "test \"\${$as_ac_var+set}\" = set"; then
19812   echo $ECHO_N "(cached) $ECHO_C" >&6
19813 else
19814   if test x$gcc_no_link = xyes; then
19815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19817    { (exit 1); exit 1; }; }
19818 fi
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h.  */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h.  */
19825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19827 #define $ac_func innocuous_$ac_func
19828
19829 /* System header to define __stub macros and hopefully few prototypes,
19830     which can conflict with char $ac_func (); below.
19831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19832     <limits.h> exists even on freestanding compilers.  */
19833
19834 #ifdef __STDC__
19835 # include <limits.h>
19836 #else
19837 # include <assert.h>
19838 #endif
19839
19840 #undef $ac_func
19841
19842 /* Override any gcc2 internal prototype to avoid an error.  */
19843 #ifdef __cplusplus
19844 extern "C"
19845 {
19846 #endif
19847 /* We use char because int might match the return type of a gcc2
19848    builtin and then its argument prototype would still apply.  */
19849 char $ac_func ();
19850 /* The GNU C library defines this for functions which it implements
19851     to always fail with ENOSYS.  Some functions are actually named
19852     something starting with __ and the normal name is an alias.  */
19853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19854 choke me
19855 #else
19856 char (*f) () = $ac_func;
19857 #endif
19858 #ifdef __cplusplus
19859 }
19860 #endif
19861
19862 int
19863 main ()
19864 {
19865 return f != $ac_func;
19866   ;
19867   return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext conftest$ac_exeext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19872   (eval $ac_link) 2>conftest.er1
19873   ac_status=$?
19874   grep -v '^ *+' conftest.er1 >conftest.err
19875   rm -f conftest.er1
19876   cat conftest.err >&5
19877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878   (exit $ac_status); } &&
19879          { ac_try='test -z "$ac_c_werror_flag"
19880                          || test ! -s conftest.err'
19881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882   (eval $ac_try) 2>&5
19883   ac_status=$?
19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885   (exit $ac_status); }; } &&
19886          { ac_try='test -s conftest$ac_exeext'
19887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888   (eval $ac_try) 2>&5
19889   ac_status=$?
19890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891   (exit $ac_status); }; }; then
19892   eval "$as_ac_var=yes"
19893 else
19894   echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 eval "$as_ac_var=no"
19898 fi
19899 rm -f conftest.err conftest.$ac_objext \
19900       conftest$ac_exeext conftest.$ac_ext
19901 fi
19902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19904 if test `eval echo '${'$as_ac_var'}'` = yes; then
19905   cat >>confdefs.h <<_ACEOF
19906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19907 _ACEOF
19908
19909 fi
19910 done
19911
19912     fi
19913   fi
19914
19915
19916
19917   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19918 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19919   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19920     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19921   echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923
19924
19925
19926       ac_ext=cc
19927 ac_cpp='$CXXCPP $CPPFLAGS'
19928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19931
19932       cat >conftest.$ac_ext <<_ACEOF
19933 /* confdefs.h.  */
19934 _ACEOF
19935 cat confdefs.h >>conftest.$ac_ext
19936 cat >>conftest.$ac_ext <<_ACEOF
19937 /* end confdefs.h.  */
19938 #include <math.h>
19939                       #ifdef HAVE_IEEEFP_H
19940                       #include <ieeefp.h>
19941                       #endif
19942
19943 int
19944 main ()
19945 {
19946  fabsl(0);
19947   ;
19948   return 0;
19949 }
19950 _ACEOF
19951 rm -f conftest.$ac_objext
19952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19953   (eval $ac_compile) 2>conftest.er1
19954   ac_status=$?
19955   grep -v '^ *+' conftest.er1 >conftest.err
19956   rm -f conftest.er1
19957   cat conftest.err >&5
19958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959   (exit $ac_status); } &&
19960          { ac_try='test -z "$ac_cxx_werror_flag"
19961                          || test ! -s conftest.err'
19962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963   (eval $ac_try) 2>&5
19964   ac_status=$?
19965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966   (exit $ac_status); }; } &&
19967          { ac_try='test -s conftest.$ac_objext'
19968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969   (eval $ac_try) 2>&5
19970   ac_status=$?
19971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972   (exit $ac_status); }; }; then
19973   glibcxx_cv_func_fabsl_use=yes
19974 else
19975   echo "$as_me: failed program was:" >&5
19976 sed 's/^/| /' conftest.$ac_ext >&5
19977
19978 glibcxx_cv_func_fabsl_use=no
19979 fi
19980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19981       ac_ext=c
19982 ac_cpp='$CPP $CPPFLAGS'
19983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19986
19987
19988 fi
19989
19990   fi
19991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19992 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19993
19994   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19995
19996 for ac_func in fabsl
19997 do
19998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19999 echo "$as_me:$LINENO: checking for $ac_func" >&5
20000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20001 if eval "test \"\${$as_ac_var+set}\" = set"; then
20002   echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004   if test x$gcc_no_link = xyes; then
20005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20007    { (exit 1); exit 1; }; }
20008 fi
20009 cat >conftest.$ac_ext <<_ACEOF
20010 /* confdefs.h.  */
20011 _ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h.  */
20015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20017 #define $ac_func innocuous_$ac_func
20018
20019 /* System header to define __stub macros and hopefully few prototypes,
20020     which can conflict with char $ac_func (); below.
20021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20022     <limits.h> exists even on freestanding compilers.  */
20023
20024 #ifdef __STDC__
20025 # include <limits.h>
20026 #else
20027 # include <assert.h>
20028 #endif
20029
20030 #undef $ac_func
20031
20032 /* Override any gcc2 internal prototype to avoid an error.  */
20033 #ifdef __cplusplus
20034 extern "C"
20035 {
20036 #endif
20037 /* We use char because int might match the return type of a gcc2
20038    builtin and then its argument prototype would still apply.  */
20039 char $ac_func ();
20040 /* The GNU C library defines this for functions which it implements
20041     to always fail with ENOSYS.  Some functions are actually named
20042     something starting with __ and the normal name is an alias.  */
20043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20044 choke me
20045 #else
20046 char (*f) () = $ac_func;
20047 #endif
20048 #ifdef __cplusplus
20049 }
20050 #endif
20051
20052 int
20053 main ()
20054 {
20055 return f != $ac_func;
20056   ;
20057   return 0;
20058 }
20059 _ACEOF
20060 rm -f conftest.$ac_objext conftest$ac_exeext
20061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20062   (eval $ac_link) 2>conftest.er1
20063   ac_status=$?
20064   grep -v '^ *+' conftest.er1 >conftest.err
20065   rm -f conftest.er1
20066   cat conftest.err >&5
20067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068   (exit $ac_status); } &&
20069          { ac_try='test -z "$ac_c_werror_flag"
20070                          || test ! -s conftest.err'
20071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072   (eval $ac_try) 2>&5
20073   ac_status=$?
20074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075   (exit $ac_status); }; } &&
20076          { ac_try='test -s conftest$ac_exeext'
20077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078   (eval $ac_try) 2>&5
20079   ac_status=$?
20080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081   (exit $ac_status); }; }; then
20082   eval "$as_ac_var=yes"
20083 else
20084   echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20086
20087 eval "$as_ac_var=no"
20088 fi
20089 rm -f conftest.err conftest.$ac_objext \
20090       conftest$ac_exeext conftest.$ac_ext
20091 fi
20092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20094 if test `eval echo '${'$as_ac_var'}'` = yes; then
20095   cat >>confdefs.h <<_ACEOF
20096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20097 _ACEOF
20098
20099 fi
20100 done
20101
20102   else
20103
20104   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20105 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20106   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20107     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20108   echo $ECHO_N "(cached) $ECHO_C" >&6
20109 else
20110
20111
20112
20113       ac_ext=cc
20114 ac_cpp='$CXXCPP $CPPFLAGS'
20115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20118
20119       cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h.  */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h.  */
20125 #include <math.h>
20126                       #ifdef HAVE_IEEEFP_H
20127                       #include <ieeefp.h>
20128                       #endif
20129
20130 int
20131 main ()
20132 {
20133  _fabsl(0);
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 rm -f conftest.$ac_objext
20139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20140   (eval $ac_compile) 2>conftest.er1
20141   ac_status=$?
20142   grep -v '^ *+' conftest.er1 >conftest.err
20143   rm -f conftest.er1
20144   cat conftest.err >&5
20145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146   (exit $ac_status); } &&
20147          { ac_try='test -z "$ac_cxx_werror_flag"
20148                          || test ! -s conftest.err'
20149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150   (eval $ac_try) 2>&5
20151   ac_status=$?
20152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153   (exit $ac_status); }; } &&
20154          { ac_try='test -s conftest.$ac_objext'
20155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156   (eval $ac_try) 2>&5
20157   ac_status=$?
20158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159   (exit $ac_status); }; }; then
20160   glibcxx_cv_func__fabsl_use=yes
20161 else
20162   echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20164
20165 glibcxx_cv_func__fabsl_use=no
20166 fi
20167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20168       ac_ext=c
20169 ac_cpp='$CPP $CPPFLAGS'
20170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20173
20174
20175 fi
20176
20177   fi
20178   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20179 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20180
20181     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20182
20183 for ac_func in _fabsl
20184 do
20185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20186 echo "$as_me:$LINENO: checking for $ac_func" >&5
20187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20188 if eval "test \"\${$as_ac_var+set}\" = set"; then
20189   echo $ECHO_N "(cached) $ECHO_C" >&6
20190 else
20191   if test x$gcc_no_link = xyes; then
20192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20194    { (exit 1); exit 1; }; }
20195 fi
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h.  */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h.  */
20202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20204 #define $ac_func innocuous_$ac_func
20205
20206 /* System header to define __stub macros and hopefully few prototypes,
20207     which can conflict with char $ac_func (); below.
20208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20209     <limits.h> exists even on freestanding compilers.  */
20210
20211 #ifdef __STDC__
20212 # include <limits.h>
20213 #else
20214 # include <assert.h>
20215 #endif
20216
20217 #undef $ac_func
20218
20219 /* Override any gcc2 internal prototype to avoid an error.  */
20220 #ifdef __cplusplus
20221 extern "C"
20222 {
20223 #endif
20224 /* We use char because int might match the return type of a gcc2
20225    builtin and then its argument prototype would still apply.  */
20226 char $ac_func ();
20227 /* The GNU C library defines this for functions which it implements
20228     to always fail with ENOSYS.  Some functions are actually named
20229     something starting with __ and the normal name is an alias.  */
20230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20231 choke me
20232 #else
20233 char (*f) () = $ac_func;
20234 #endif
20235 #ifdef __cplusplus
20236 }
20237 #endif
20238
20239 int
20240 main ()
20241 {
20242 return f != $ac_func;
20243   ;
20244   return 0;
20245 }
20246 _ACEOF
20247 rm -f conftest.$ac_objext conftest$ac_exeext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20249   (eval $ac_link) 2>conftest.er1
20250   ac_status=$?
20251   grep -v '^ *+' conftest.er1 >conftest.err
20252   rm -f conftest.er1
20253   cat conftest.err >&5
20254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255   (exit $ac_status); } &&
20256          { ac_try='test -z "$ac_c_werror_flag"
20257                          || test ! -s conftest.err'
20258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259   (eval $ac_try) 2>&5
20260   ac_status=$?
20261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262   (exit $ac_status); }; } &&
20263          { ac_try='test -s conftest$ac_exeext'
20264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265   (eval $ac_try) 2>&5
20266   ac_status=$?
20267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268   (exit $ac_status); }; }; then
20269   eval "$as_ac_var=yes"
20270 else
20271   echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20273
20274 eval "$as_ac_var=no"
20275 fi
20276 rm -f conftest.err conftest.$ac_objext \
20277       conftest$ac_exeext conftest.$ac_ext
20278 fi
20279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20281 if test `eval echo '${'$as_ac_var'}'` = yes; then
20282   cat >>confdefs.h <<_ACEOF
20283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20284 _ACEOF
20285
20286 fi
20287 done
20288
20289     fi
20290   fi
20291
20292
20293
20294   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20295 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20296   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20297     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20298   echo $ECHO_N "(cached) $ECHO_C" >&6
20299 else
20300
20301
20302
20303       ac_ext=cc
20304 ac_cpp='$CXXCPP $CPPFLAGS'
20305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20308
20309       cat >conftest.$ac_ext <<_ACEOF
20310 /* confdefs.h.  */
20311 _ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h.  */
20315 #include <math.h>
20316 int
20317 main ()
20318 {
20319  fmodl(0, 0);
20320   ;
20321   return 0;
20322 }
20323 _ACEOF
20324 rm -f conftest.$ac_objext
20325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20326   (eval $ac_compile) 2>conftest.er1
20327   ac_status=$?
20328   grep -v '^ *+' conftest.er1 >conftest.err
20329   rm -f conftest.er1
20330   cat conftest.err >&5
20331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332   (exit $ac_status); } &&
20333          { ac_try='test -z "$ac_cxx_werror_flag"
20334                          || test ! -s conftest.err'
20335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336   (eval $ac_try) 2>&5
20337   ac_status=$?
20338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339   (exit $ac_status); }; } &&
20340          { ac_try='test -s conftest.$ac_objext'
20341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20342   (eval $ac_try) 2>&5
20343   ac_status=$?
20344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345   (exit $ac_status); }; }; then
20346   glibcxx_cv_func_fmodl_use=yes
20347 else
20348   echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.$ac_ext >&5
20350
20351 glibcxx_cv_func_fmodl_use=no
20352 fi
20353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20354       ac_ext=c
20355 ac_cpp='$CPP $CPPFLAGS'
20356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20359
20360
20361 fi
20362
20363   fi
20364   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20365 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20366
20367   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20368
20369 for ac_func in fmodl
20370 do
20371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20372 echo "$as_me:$LINENO: checking for $ac_func" >&5
20373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20374 if eval "test \"\${$as_ac_var+set}\" = set"; then
20375   echo $ECHO_N "(cached) $ECHO_C" >&6
20376 else
20377   if test x$gcc_no_link = xyes; then
20378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20380    { (exit 1); exit 1; }; }
20381 fi
20382 cat >conftest.$ac_ext <<_ACEOF
20383 /* confdefs.h.  */
20384 _ACEOF
20385 cat confdefs.h >>conftest.$ac_ext
20386 cat >>conftest.$ac_ext <<_ACEOF
20387 /* end confdefs.h.  */
20388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20390 #define $ac_func innocuous_$ac_func
20391
20392 /* System header to define __stub macros and hopefully few prototypes,
20393     which can conflict with char $ac_func (); below.
20394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20395     <limits.h> exists even on freestanding compilers.  */
20396
20397 #ifdef __STDC__
20398 # include <limits.h>
20399 #else
20400 # include <assert.h>
20401 #endif
20402
20403 #undef $ac_func
20404
20405 /* Override any gcc2 internal prototype to avoid an error.  */
20406 #ifdef __cplusplus
20407 extern "C"
20408 {
20409 #endif
20410 /* We use char because int might match the return type of a gcc2
20411    builtin and then its argument prototype would still apply.  */
20412 char $ac_func ();
20413 /* The GNU C library defines this for functions which it implements
20414     to always fail with ENOSYS.  Some functions are actually named
20415     something starting with __ and the normal name is an alias.  */
20416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20417 choke me
20418 #else
20419 char (*f) () = $ac_func;
20420 #endif
20421 #ifdef __cplusplus
20422 }
20423 #endif
20424
20425 int
20426 main ()
20427 {
20428 return f != $ac_func;
20429   ;
20430   return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext conftest$ac_exeext
20434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20435   (eval $ac_link) 2>conftest.er1
20436   ac_status=$?
20437   grep -v '^ *+' conftest.er1 >conftest.err
20438   rm -f conftest.er1
20439   cat conftest.err >&5
20440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441   (exit $ac_status); } &&
20442          { ac_try='test -z "$ac_c_werror_flag"
20443                          || test ! -s conftest.err'
20444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445   (eval $ac_try) 2>&5
20446   ac_status=$?
20447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448   (exit $ac_status); }; } &&
20449          { ac_try='test -s conftest$ac_exeext'
20450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20451   (eval $ac_try) 2>&5
20452   ac_status=$?
20453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454   (exit $ac_status); }; }; then
20455   eval "$as_ac_var=yes"
20456 else
20457   echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.$ac_ext >&5
20459
20460 eval "$as_ac_var=no"
20461 fi
20462 rm -f conftest.err conftest.$ac_objext \
20463       conftest$ac_exeext conftest.$ac_ext
20464 fi
20465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20467 if test `eval echo '${'$as_ac_var'}'` = yes; then
20468   cat >>confdefs.h <<_ACEOF
20469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20470 _ACEOF
20471
20472 fi
20473 done
20474
20475   else
20476
20477   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20478 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20479   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20480     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20481   echo $ECHO_N "(cached) $ECHO_C" >&6
20482 else
20483
20484
20485
20486       ac_ext=cc
20487 ac_cpp='$CXXCPP $CPPFLAGS'
20488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20491
20492       cat >conftest.$ac_ext <<_ACEOF
20493 /* confdefs.h.  */
20494 _ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h.  */
20498 #include <math.h>
20499 int
20500 main ()
20501 {
20502  _fmodl(0, 0);
20503   ;
20504   return 0;
20505 }
20506 _ACEOF
20507 rm -f conftest.$ac_objext
20508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20509   (eval $ac_compile) 2>conftest.er1
20510   ac_status=$?
20511   grep -v '^ *+' conftest.er1 >conftest.err
20512   rm -f conftest.er1
20513   cat conftest.err >&5
20514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515   (exit $ac_status); } &&
20516          { ac_try='test -z "$ac_cxx_werror_flag"
20517                          || test ! -s conftest.err'
20518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519   (eval $ac_try) 2>&5
20520   ac_status=$?
20521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522   (exit $ac_status); }; } &&
20523          { ac_try='test -s conftest.$ac_objext'
20524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525   (eval $ac_try) 2>&5
20526   ac_status=$?
20527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528   (exit $ac_status); }; }; then
20529   glibcxx_cv_func__fmodl_use=yes
20530 else
20531   echo "$as_me: failed program was:" >&5
20532 sed 's/^/| /' conftest.$ac_ext >&5
20533
20534 glibcxx_cv_func__fmodl_use=no
20535 fi
20536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20537       ac_ext=c
20538 ac_cpp='$CPP $CPPFLAGS'
20539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20542
20543
20544 fi
20545
20546   fi
20547   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20548 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20549
20550     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20551
20552 for ac_func in _fmodl
20553 do
20554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20555 echo "$as_me:$LINENO: checking for $ac_func" >&5
20556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20557 if eval "test \"\${$as_ac_var+set}\" = set"; then
20558   echo $ECHO_N "(cached) $ECHO_C" >&6
20559 else
20560   if test x$gcc_no_link = xyes; then
20561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20563    { (exit 1); exit 1; }; }
20564 fi
20565 cat >conftest.$ac_ext <<_ACEOF
20566 /* confdefs.h.  */
20567 _ACEOF
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h.  */
20571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20573 #define $ac_func innocuous_$ac_func
20574
20575 /* System header to define __stub macros and hopefully few prototypes,
20576     which can conflict with char $ac_func (); below.
20577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20578     <limits.h> exists even on freestanding compilers.  */
20579
20580 #ifdef __STDC__
20581 # include <limits.h>
20582 #else
20583 # include <assert.h>
20584 #endif
20585
20586 #undef $ac_func
20587
20588 /* Override any gcc2 internal prototype to avoid an error.  */
20589 #ifdef __cplusplus
20590 extern "C"
20591 {
20592 #endif
20593 /* We use char because int might match the return type of a gcc2
20594    builtin and then its argument prototype would still apply.  */
20595 char $ac_func ();
20596 /* The GNU C library defines this for functions which it implements
20597     to always fail with ENOSYS.  Some functions are actually named
20598     something starting with __ and the normal name is an alias.  */
20599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20600 choke me
20601 #else
20602 char (*f) () = $ac_func;
20603 #endif
20604 #ifdef __cplusplus
20605 }
20606 #endif
20607
20608 int
20609 main ()
20610 {
20611 return f != $ac_func;
20612   ;
20613   return 0;
20614 }
20615 _ACEOF
20616 rm -f conftest.$ac_objext conftest$ac_exeext
20617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20618   (eval $ac_link) 2>conftest.er1
20619   ac_status=$?
20620   grep -v '^ *+' conftest.er1 >conftest.err
20621   rm -f conftest.er1
20622   cat conftest.err >&5
20623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624   (exit $ac_status); } &&
20625          { ac_try='test -z "$ac_c_werror_flag"
20626                          || test ! -s conftest.err'
20627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628   (eval $ac_try) 2>&5
20629   ac_status=$?
20630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631   (exit $ac_status); }; } &&
20632          { ac_try='test -s conftest$ac_exeext'
20633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634   (eval $ac_try) 2>&5
20635   ac_status=$?
20636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637   (exit $ac_status); }; }; then
20638   eval "$as_ac_var=yes"
20639 else
20640   echo "$as_me: failed program was:" >&5
20641 sed 's/^/| /' conftest.$ac_ext >&5
20642
20643 eval "$as_ac_var=no"
20644 fi
20645 rm -f conftest.err conftest.$ac_objext \
20646       conftest$ac_exeext conftest.$ac_ext
20647 fi
20648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20650 if test `eval echo '${'$as_ac_var'}'` = yes; then
20651   cat >>confdefs.h <<_ACEOF
20652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20653 _ACEOF
20654
20655 fi
20656 done
20657
20658     fi
20659   fi
20660
20661
20662
20663   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20664 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20665   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20666     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20667   echo $ECHO_N "(cached) $ECHO_C" >&6
20668 else
20669
20670
20671
20672       ac_ext=cc
20673 ac_cpp='$CXXCPP $CPPFLAGS'
20674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20677
20678       cat >conftest.$ac_ext <<_ACEOF
20679 /* confdefs.h.  */
20680 _ACEOF
20681 cat confdefs.h >>conftest.$ac_ext
20682 cat >>conftest.$ac_ext <<_ACEOF
20683 /* end confdefs.h.  */
20684 #include <math.h>
20685 int
20686 main ()
20687 {
20688  frexpl(0, 0);
20689   ;
20690   return 0;
20691 }
20692 _ACEOF
20693 rm -f conftest.$ac_objext
20694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20695   (eval $ac_compile) 2>conftest.er1
20696   ac_status=$?
20697   grep -v '^ *+' conftest.er1 >conftest.err
20698   rm -f conftest.er1
20699   cat conftest.err >&5
20700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701   (exit $ac_status); } &&
20702          { ac_try='test -z "$ac_cxx_werror_flag"
20703                          || test ! -s conftest.err'
20704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705   (eval $ac_try) 2>&5
20706   ac_status=$?
20707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708   (exit $ac_status); }; } &&
20709          { ac_try='test -s conftest.$ac_objext'
20710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711   (eval $ac_try) 2>&5
20712   ac_status=$?
20713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714   (exit $ac_status); }; }; then
20715   glibcxx_cv_func_frexpl_use=yes
20716 else
20717   echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20719
20720 glibcxx_cv_func_frexpl_use=no
20721 fi
20722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20723       ac_ext=c
20724 ac_cpp='$CPP $CPPFLAGS'
20725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20728
20729
20730 fi
20731
20732   fi
20733   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20734 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20735
20736   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20737
20738 for ac_func in frexpl
20739 do
20740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20741 echo "$as_me:$LINENO: checking for $ac_func" >&5
20742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20743 if eval "test \"\${$as_ac_var+set}\" = set"; then
20744   echo $ECHO_N "(cached) $ECHO_C" >&6
20745 else
20746   if test x$gcc_no_link = xyes; then
20747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20749    { (exit 1); exit 1; }; }
20750 fi
20751 cat >conftest.$ac_ext <<_ACEOF
20752 /* confdefs.h.  */
20753 _ACEOF
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h.  */
20757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20759 #define $ac_func innocuous_$ac_func
20760
20761 /* System header to define __stub macros and hopefully few prototypes,
20762     which can conflict with char $ac_func (); below.
20763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20764     <limits.h> exists even on freestanding compilers.  */
20765
20766 #ifdef __STDC__
20767 # include <limits.h>
20768 #else
20769 # include <assert.h>
20770 #endif
20771
20772 #undef $ac_func
20773
20774 /* Override any gcc2 internal prototype to avoid an error.  */
20775 #ifdef __cplusplus
20776 extern "C"
20777 {
20778 #endif
20779 /* We use char because int might match the return type of a gcc2
20780    builtin and then its argument prototype would still apply.  */
20781 char $ac_func ();
20782 /* The GNU C library defines this for functions which it implements
20783     to always fail with ENOSYS.  Some functions are actually named
20784     something starting with __ and the normal name is an alias.  */
20785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20786 choke me
20787 #else
20788 char (*f) () = $ac_func;
20789 #endif
20790 #ifdef __cplusplus
20791 }
20792 #endif
20793
20794 int
20795 main ()
20796 {
20797 return f != $ac_func;
20798   ;
20799   return 0;
20800 }
20801 _ACEOF
20802 rm -f conftest.$ac_objext conftest$ac_exeext
20803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20804   (eval $ac_link) 2>conftest.er1
20805   ac_status=$?
20806   grep -v '^ *+' conftest.er1 >conftest.err
20807   rm -f conftest.er1
20808   cat conftest.err >&5
20809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20810   (exit $ac_status); } &&
20811          { ac_try='test -z "$ac_c_werror_flag"
20812                          || test ! -s conftest.err'
20813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814   (eval $ac_try) 2>&5
20815   ac_status=$?
20816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817   (exit $ac_status); }; } &&
20818          { ac_try='test -s conftest$ac_exeext'
20819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820   (eval $ac_try) 2>&5
20821   ac_status=$?
20822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823   (exit $ac_status); }; }; then
20824   eval "$as_ac_var=yes"
20825 else
20826   echo "$as_me: failed program was:" >&5
20827 sed 's/^/| /' conftest.$ac_ext >&5
20828
20829 eval "$as_ac_var=no"
20830 fi
20831 rm -f conftest.err conftest.$ac_objext \
20832       conftest$ac_exeext conftest.$ac_ext
20833 fi
20834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20836 if test `eval echo '${'$as_ac_var'}'` = yes; then
20837   cat >>confdefs.h <<_ACEOF
20838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20839 _ACEOF
20840
20841 fi
20842 done
20843
20844   else
20845
20846   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20847 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20848   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20849     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20850   echo $ECHO_N "(cached) $ECHO_C" >&6
20851 else
20852
20853
20854
20855       ac_ext=cc
20856 ac_cpp='$CXXCPP $CPPFLAGS'
20857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20860
20861       cat >conftest.$ac_ext <<_ACEOF
20862 /* confdefs.h.  */
20863 _ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h.  */
20867 #include <math.h>
20868 int
20869 main ()
20870 {
20871  _frexpl(0, 0);
20872   ;
20873   return 0;
20874 }
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878   (eval $ac_compile) 2>conftest.er1
20879   ac_status=$?
20880   grep -v '^ *+' conftest.er1 >conftest.err
20881   rm -f conftest.er1
20882   cat conftest.err >&5
20883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884   (exit $ac_status); } &&
20885          { ac_try='test -z "$ac_cxx_werror_flag"
20886                          || test ! -s conftest.err'
20887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888   (eval $ac_try) 2>&5
20889   ac_status=$?
20890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891   (exit $ac_status); }; } &&
20892          { ac_try='test -s conftest.$ac_objext'
20893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894   (eval $ac_try) 2>&5
20895   ac_status=$?
20896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897   (exit $ac_status); }; }; then
20898   glibcxx_cv_func__frexpl_use=yes
20899 else
20900   echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 glibcxx_cv_func__frexpl_use=no
20904 fi
20905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20906       ac_ext=c
20907 ac_cpp='$CPP $CPPFLAGS'
20908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20911
20912
20913 fi
20914
20915   fi
20916   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20917 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20918
20919     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20920
20921 for ac_func in _frexpl
20922 do
20923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20924 echo "$as_me:$LINENO: checking for $ac_func" >&5
20925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20926 if eval "test \"\${$as_ac_var+set}\" = set"; then
20927   echo $ECHO_N "(cached) $ECHO_C" >&6
20928 else
20929   if test x$gcc_no_link = xyes; then
20930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20932    { (exit 1); exit 1; }; }
20933 fi
20934 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h.  */
20936 _ACEOF
20937 cat confdefs.h >>conftest.$ac_ext
20938 cat >>conftest.$ac_ext <<_ACEOF
20939 /* end confdefs.h.  */
20940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20942 #define $ac_func innocuous_$ac_func
20943
20944 /* System header to define __stub macros and hopefully few prototypes,
20945     which can conflict with char $ac_func (); below.
20946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20947     <limits.h> exists even on freestanding compilers.  */
20948
20949 #ifdef __STDC__
20950 # include <limits.h>
20951 #else
20952 # include <assert.h>
20953 #endif
20954
20955 #undef $ac_func
20956
20957 /* Override any gcc2 internal prototype to avoid an error.  */
20958 #ifdef __cplusplus
20959 extern "C"
20960 {
20961 #endif
20962 /* We use char because int might match the return type of a gcc2
20963    builtin and then its argument prototype would still apply.  */
20964 char $ac_func ();
20965 /* The GNU C library defines this for functions which it implements
20966     to always fail with ENOSYS.  Some functions are actually named
20967     something starting with __ and the normal name is an alias.  */
20968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20969 choke me
20970 #else
20971 char (*f) () = $ac_func;
20972 #endif
20973 #ifdef __cplusplus
20974 }
20975 #endif
20976
20977 int
20978 main ()
20979 {
20980 return f != $ac_func;
20981   ;
20982   return 0;
20983 }
20984 _ACEOF
20985 rm -f conftest.$ac_objext conftest$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987   (eval $ac_link) 2>conftest.er1
20988   ac_status=$?
20989   grep -v '^ *+' conftest.er1 >conftest.err
20990   rm -f conftest.er1
20991   cat conftest.err >&5
20992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993   (exit $ac_status); } &&
20994          { ac_try='test -z "$ac_c_werror_flag"
20995                          || test ! -s conftest.err'
20996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997   (eval $ac_try) 2>&5
20998   ac_status=$?
20999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000   (exit $ac_status); }; } &&
21001          { ac_try='test -s conftest$ac_exeext'
21002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003   (eval $ac_try) 2>&5
21004   ac_status=$?
21005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006   (exit $ac_status); }; }; then
21007   eval "$as_ac_var=yes"
21008 else
21009   echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21011
21012 eval "$as_ac_var=no"
21013 fi
21014 rm -f conftest.err conftest.$ac_objext \
21015       conftest$ac_exeext conftest.$ac_ext
21016 fi
21017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21019 if test `eval echo '${'$as_ac_var'}'` = yes; then
21020   cat >>confdefs.h <<_ACEOF
21021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21022 _ACEOF
21023
21024 fi
21025 done
21026
21027     fi
21028   fi
21029
21030
21031
21032   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21033 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21034   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21035     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21036   echo $ECHO_N "(cached) $ECHO_C" >&6
21037 else
21038
21039
21040
21041       ac_ext=cc
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21046
21047       cat >conftest.$ac_ext <<_ACEOF
21048 /* confdefs.h.  */
21049 _ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h.  */
21053 #include <math.h>
21054 int
21055 main ()
21056 {
21057  hypotl(0, 0);
21058   ;
21059   return 0;
21060 }
21061 _ACEOF
21062 rm -f conftest.$ac_objext
21063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21064   (eval $ac_compile) 2>conftest.er1
21065   ac_status=$?
21066   grep -v '^ *+' conftest.er1 >conftest.err
21067   rm -f conftest.er1
21068   cat conftest.err >&5
21069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070   (exit $ac_status); } &&
21071          { ac_try='test -z "$ac_cxx_werror_flag"
21072                          || test ! -s conftest.err'
21073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21074   (eval $ac_try) 2>&5
21075   ac_status=$?
21076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077   (exit $ac_status); }; } &&
21078          { ac_try='test -s conftest.$ac_objext'
21079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080   (eval $ac_try) 2>&5
21081   ac_status=$?
21082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083   (exit $ac_status); }; }; then
21084   glibcxx_cv_func_hypotl_use=yes
21085 else
21086   echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21088
21089 glibcxx_cv_func_hypotl_use=no
21090 fi
21091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21092       ac_ext=c
21093 ac_cpp='$CPP $CPPFLAGS'
21094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21097
21098
21099 fi
21100
21101   fi
21102   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21103 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21104
21105   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21106
21107 for ac_func in hypotl
21108 do
21109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21110 echo "$as_me:$LINENO: checking for $ac_func" >&5
21111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21112 if eval "test \"\${$as_ac_var+set}\" = set"; then
21113   echo $ECHO_N "(cached) $ECHO_C" >&6
21114 else
21115   if test x$gcc_no_link = xyes; then
21116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21118    { (exit 1); exit 1; }; }
21119 fi
21120 cat >conftest.$ac_ext <<_ACEOF
21121 /* confdefs.h.  */
21122 _ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h.  */
21126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21128 #define $ac_func innocuous_$ac_func
21129
21130 /* System header to define __stub macros and hopefully few prototypes,
21131     which can conflict with char $ac_func (); below.
21132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21133     <limits.h> exists even on freestanding compilers.  */
21134
21135 #ifdef __STDC__
21136 # include <limits.h>
21137 #else
21138 # include <assert.h>
21139 #endif
21140
21141 #undef $ac_func
21142
21143 /* Override any gcc2 internal prototype to avoid an error.  */
21144 #ifdef __cplusplus
21145 extern "C"
21146 {
21147 #endif
21148 /* We use char because int might match the return type of a gcc2
21149    builtin and then its argument prototype would still apply.  */
21150 char $ac_func ();
21151 /* The GNU C library defines this for functions which it implements
21152     to always fail with ENOSYS.  Some functions are actually named
21153     something starting with __ and the normal name is an alias.  */
21154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21155 choke me
21156 #else
21157 char (*f) () = $ac_func;
21158 #endif
21159 #ifdef __cplusplus
21160 }
21161 #endif
21162
21163 int
21164 main ()
21165 {
21166 return f != $ac_func;
21167   ;
21168   return 0;
21169 }
21170 _ACEOF
21171 rm -f conftest.$ac_objext conftest$ac_exeext
21172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21173   (eval $ac_link) 2>conftest.er1
21174   ac_status=$?
21175   grep -v '^ *+' conftest.er1 >conftest.err
21176   rm -f conftest.er1
21177   cat conftest.err >&5
21178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179   (exit $ac_status); } &&
21180          { ac_try='test -z "$ac_c_werror_flag"
21181                          || test ! -s conftest.err'
21182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183   (eval $ac_try) 2>&5
21184   ac_status=$?
21185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186   (exit $ac_status); }; } &&
21187          { ac_try='test -s conftest$ac_exeext'
21188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189   (eval $ac_try) 2>&5
21190   ac_status=$?
21191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192   (exit $ac_status); }; }; then
21193   eval "$as_ac_var=yes"
21194 else
21195   echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21197
21198 eval "$as_ac_var=no"
21199 fi
21200 rm -f conftest.err conftest.$ac_objext \
21201       conftest$ac_exeext conftest.$ac_ext
21202 fi
21203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21205 if test `eval echo '${'$as_ac_var'}'` = yes; then
21206   cat >>confdefs.h <<_ACEOF
21207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21208 _ACEOF
21209
21210 fi
21211 done
21212
21213   else
21214
21215   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21216 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21217   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21218     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21219   echo $ECHO_N "(cached) $ECHO_C" >&6
21220 else
21221
21222
21223
21224       ac_ext=cc
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229
21230       cat >conftest.$ac_ext <<_ACEOF
21231 /* confdefs.h.  */
21232 _ACEOF
21233 cat confdefs.h >>conftest.$ac_ext
21234 cat >>conftest.$ac_ext <<_ACEOF
21235 /* end confdefs.h.  */
21236 #include <math.h>
21237 int
21238 main ()
21239 {
21240  _hypotl(0, 0);
21241   ;
21242   return 0;
21243 }
21244 _ACEOF
21245 rm -f conftest.$ac_objext
21246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21247   (eval $ac_compile) 2>conftest.er1
21248   ac_status=$?
21249   grep -v '^ *+' conftest.er1 >conftest.err
21250   rm -f conftest.er1
21251   cat conftest.err >&5
21252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21253   (exit $ac_status); } &&
21254          { ac_try='test -z "$ac_cxx_werror_flag"
21255                          || test ! -s conftest.err'
21256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21257   (eval $ac_try) 2>&5
21258   ac_status=$?
21259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260   (exit $ac_status); }; } &&
21261          { ac_try='test -s conftest.$ac_objext'
21262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21263   (eval $ac_try) 2>&5
21264   ac_status=$?
21265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266   (exit $ac_status); }; }; then
21267   glibcxx_cv_func__hypotl_use=yes
21268 else
21269   echo "$as_me: failed program was:" >&5
21270 sed 's/^/| /' conftest.$ac_ext >&5
21271
21272 glibcxx_cv_func__hypotl_use=no
21273 fi
21274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21275       ac_ext=c
21276 ac_cpp='$CPP $CPPFLAGS'
21277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21280
21281
21282 fi
21283
21284   fi
21285   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21286 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21287
21288     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21289
21290 for ac_func in _hypotl
21291 do
21292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21293 echo "$as_me:$LINENO: checking for $ac_func" >&5
21294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21295 if eval "test \"\${$as_ac_var+set}\" = set"; then
21296   echo $ECHO_N "(cached) $ECHO_C" >&6
21297 else
21298   if test x$gcc_no_link = xyes; then
21299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21301    { (exit 1); exit 1; }; }
21302 fi
21303 cat >conftest.$ac_ext <<_ACEOF
21304 /* confdefs.h.  */
21305 _ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h.  */
21309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21311 #define $ac_func innocuous_$ac_func
21312
21313 /* System header to define __stub macros and hopefully few prototypes,
21314     which can conflict with char $ac_func (); below.
21315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21316     <limits.h> exists even on freestanding compilers.  */
21317
21318 #ifdef __STDC__
21319 # include <limits.h>
21320 #else
21321 # include <assert.h>
21322 #endif
21323
21324 #undef $ac_func
21325
21326 /* Override any gcc2 internal prototype to avoid an error.  */
21327 #ifdef __cplusplus
21328 extern "C"
21329 {
21330 #endif
21331 /* We use char because int might match the return type of a gcc2
21332    builtin and then its argument prototype would still apply.  */
21333 char $ac_func ();
21334 /* The GNU C library defines this for functions which it implements
21335     to always fail with ENOSYS.  Some functions are actually named
21336     something starting with __ and the normal name is an alias.  */
21337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21338 choke me
21339 #else
21340 char (*f) () = $ac_func;
21341 #endif
21342 #ifdef __cplusplus
21343 }
21344 #endif
21345
21346 int
21347 main ()
21348 {
21349 return f != $ac_func;
21350   ;
21351   return 0;
21352 }
21353 _ACEOF
21354 rm -f conftest.$ac_objext conftest$ac_exeext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21356   (eval $ac_link) 2>conftest.er1
21357   ac_status=$?
21358   grep -v '^ *+' conftest.er1 >conftest.err
21359   rm -f conftest.er1
21360   cat conftest.err >&5
21361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362   (exit $ac_status); } &&
21363          { ac_try='test -z "$ac_c_werror_flag"
21364                          || test ! -s conftest.err'
21365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366   (eval $ac_try) 2>&5
21367   ac_status=$?
21368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369   (exit $ac_status); }; } &&
21370          { ac_try='test -s conftest$ac_exeext'
21371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372   (eval $ac_try) 2>&5
21373   ac_status=$?
21374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375   (exit $ac_status); }; }; then
21376   eval "$as_ac_var=yes"
21377 else
21378   echo "$as_me: failed program was:" >&5
21379 sed 's/^/| /' conftest.$ac_ext >&5
21380
21381 eval "$as_ac_var=no"
21382 fi
21383 rm -f conftest.err conftest.$ac_objext \
21384       conftest$ac_exeext conftest.$ac_ext
21385 fi
21386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21388 if test `eval echo '${'$as_ac_var'}'` = yes; then
21389   cat >>confdefs.h <<_ACEOF
21390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21391 _ACEOF
21392
21393 fi
21394 done
21395
21396     fi
21397   fi
21398
21399
21400
21401   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21402 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21403   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21404     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21405   echo $ECHO_N "(cached) $ECHO_C" >&6
21406 else
21407
21408
21409
21410       ac_ext=cc
21411 ac_cpp='$CXXCPP $CPPFLAGS'
21412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21415
21416       cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h.  */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h.  */
21422 #include <math.h>
21423 int
21424 main ()
21425 {
21426  ldexpl(0, 0);
21427   ;
21428   return 0;
21429 }
21430 _ACEOF
21431 rm -f conftest.$ac_objext
21432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21433   (eval $ac_compile) 2>conftest.er1
21434   ac_status=$?
21435   grep -v '^ *+' conftest.er1 >conftest.err
21436   rm -f conftest.er1
21437   cat conftest.err >&5
21438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439   (exit $ac_status); } &&
21440          { ac_try='test -z "$ac_cxx_werror_flag"
21441                          || test ! -s conftest.err'
21442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443   (eval $ac_try) 2>&5
21444   ac_status=$?
21445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446   (exit $ac_status); }; } &&
21447          { ac_try='test -s conftest.$ac_objext'
21448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21449   (eval $ac_try) 2>&5
21450   ac_status=$?
21451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452   (exit $ac_status); }; }; then
21453   glibcxx_cv_func_ldexpl_use=yes
21454 else
21455   echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.$ac_ext >&5
21457
21458 glibcxx_cv_func_ldexpl_use=no
21459 fi
21460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21461       ac_ext=c
21462 ac_cpp='$CPP $CPPFLAGS'
21463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21466
21467
21468 fi
21469
21470   fi
21471   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21472 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21473
21474   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21475
21476 for ac_func in ldexpl
21477 do
21478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21479 echo "$as_me:$LINENO: checking for $ac_func" >&5
21480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21481 if eval "test \"\${$as_ac_var+set}\" = set"; then
21482   echo $ECHO_N "(cached) $ECHO_C" >&6
21483 else
21484   if test x$gcc_no_link = xyes; then
21485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21487    { (exit 1); exit 1; }; }
21488 fi
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h.  */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h.  */
21495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21497 #define $ac_func innocuous_$ac_func
21498
21499 /* System header to define __stub macros and hopefully few prototypes,
21500     which can conflict with char $ac_func (); below.
21501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21502     <limits.h> exists even on freestanding compilers.  */
21503
21504 #ifdef __STDC__
21505 # include <limits.h>
21506 #else
21507 # include <assert.h>
21508 #endif
21509
21510 #undef $ac_func
21511
21512 /* Override any gcc2 internal prototype to avoid an error.  */
21513 #ifdef __cplusplus
21514 extern "C"
21515 {
21516 #endif
21517 /* We use char because int might match the return type of a gcc2
21518    builtin and then its argument prototype would still apply.  */
21519 char $ac_func ();
21520 /* The GNU C library defines this for functions which it implements
21521     to always fail with ENOSYS.  Some functions are actually named
21522     something starting with __ and the normal name is an alias.  */
21523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21524 choke me
21525 #else
21526 char (*f) () = $ac_func;
21527 #endif
21528 #ifdef __cplusplus
21529 }
21530 #endif
21531
21532 int
21533 main ()
21534 {
21535 return f != $ac_func;
21536   ;
21537   return 0;
21538 }
21539 _ACEOF
21540 rm -f conftest.$ac_objext conftest$ac_exeext
21541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21542   (eval $ac_link) 2>conftest.er1
21543   ac_status=$?
21544   grep -v '^ *+' conftest.er1 >conftest.err
21545   rm -f conftest.er1
21546   cat conftest.err >&5
21547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548   (exit $ac_status); } &&
21549          { ac_try='test -z "$ac_c_werror_flag"
21550                          || test ! -s conftest.err'
21551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21552   (eval $ac_try) 2>&5
21553   ac_status=$?
21554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555   (exit $ac_status); }; } &&
21556          { ac_try='test -s conftest$ac_exeext'
21557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558   (eval $ac_try) 2>&5
21559   ac_status=$?
21560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561   (exit $ac_status); }; }; then
21562   eval "$as_ac_var=yes"
21563 else
21564   echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.$ac_ext >&5
21566
21567 eval "$as_ac_var=no"
21568 fi
21569 rm -f conftest.err conftest.$ac_objext \
21570       conftest$ac_exeext conftest.$ac_ext
21571 fi
21572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21574 if test `eval echo '${'$as_ac_var'}'` = yes; then
21575   cat >>confdefs.h <<_ACEOF
21576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21577 _ACEOF
21578
21579 fi
21580 done
21581
21582   else
21583
21584   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21585 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21586   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21587     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21588   echo $ECHO_N "(cached) $ECHO_C" >&6
21589 else
21590
21591
21592
21593       ac_ext=cc
21594 ac_cpp='$CXXCPP $CPPFLAGS'
21595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21598
21599       cat >conftest.$ac_ext <<_ACEOF
21600 /* confdefs.h.  */
21601 _ACEOF
21602 cat confdefs.h >>conftest.$ac_ext
21603 cat >>conftest.$ac_ext <<_ACEOF
21604 /* end confdefs.h.  */
21605 #include <math.h>
21606 int
21607 main ()
21608 {
21609  _ldexpl(0, 0);
21610   ;
21611   return 0;
21612 }
21613 _ACEOF
21614 rm -f conftest.$ac_objext
21615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21616   (eval $ac_compile) 2>conftest.er1
21617   ac_status=$?
21618   grep -v '^ *+' conftest.er1 >conftest.err
21619   rm -f conftest.er1
21620   cat conftest.err >&5
21621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622   (exit $ac_status); } &&
21623          { ac_try='test -z "$ac_cxx_werror_flag"
21624                          || test ! -s conftest.err'
21625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626   (eval $ac_try) 2>&5
21627   ac_status=$?
21628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629   (exit $ac_status); }; } &&
21630          { ac_try='test -s conftest.$ac_objext'
21631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21632   (eval $ac_try) 2>&5
21633   ac_status=$?
21634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635   (exit $ac_status); }; }; then
21636   glibcxx_cv_func__ldexpl_use=yes
21637 else
21638   echo "$as_me: failed program was:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21640
21641 glibcxx_cv_func__ldexpl_use=no
21642 fi
21643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21644       ac_ext=c
21645 ac_cpp='$CPP $CPPFLAGS'
21646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21649
21650
21651 fi
21652
21653   fi
21654   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21655 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21656
21657     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21658
21659 for ac_func in _ldexpl
21660 do
21661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21662 echo "$as_me:$LINENO: checking for $ac_func" >&5
21663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21664 if eval "test \"\${$as_ac_var+set}\" = set"; then
21665   echo $ECHO_N "(cached) $ECHO_C" >&6
21666 else
21667   if test x$gcc_no_link = xyes; then
21668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21670    { (exit 1); exit 1; }; }
21671 fi
21672 cat >conftest.$ac_ext <<_ACEOF
21673 /* confdefs.h.  */
21674 _ACEOF
21675 cat confdefs.h >>conftest.$ac_ext
21676 cat >>conftest.$ac_ext <<_ACEOF
21677 /* end confdefs.h.  */
21678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21679    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21680 #define $ac_func innocuous_$ac_func
21681
21682 /* System header to define __stub macros and hopefully few prototypes,
21683     which can conflict with char $ac_func (); below.
21684     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21685     <limits.h> exists even on freestanding compilers.  */
21686
21687 #ifdef __STDC__
21688 # include <limits.h>
21689 #else
21690 # include <assert.h>
21691 #endif
21692
21693 #undef $ac_func
21694
21695 /* Override any gcc2 internal prototype to avoid an error.  */
21696 #ifdef __cplusplus
21697 extern "C"
21698 {
21699 #endif
21700 /* We use char because int might match the return type of a gcc2
21701    builtin and then its argument prototype would still apply.  */
21702 char $ac_func ();
21703 /* The GNU C library defines this for functions which it implements
21704     to always fail with ENOSYS.  Some functions are actually named
21705     something starting with __ and the normal name is an alias.  */
21706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21707 choke me
21708 #else
21709 char (*f) () = $ac_func;
21710 #endif
21711 #ifdef __cplusplus
21712 }
21713 #endif
21714
21715 int
21716 main ()
21717 {
21718 return f != $ac_func;
21719   ;
21720   return 0;
21721 }
21722 _ACEOF
21723 rm -f conftest.$ac_objext conftest$ac_exeext
21724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21725   (eval $ac_link) 2>conftest.er1
21726   ac_status=$?
21727   grep -v '^ *+' conftest.er1 >conftest.err
21728   rm -f conftest.er1
21729   cat conftest.err >&5
21730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731   (exit $ac_status); } &&
21732          { ac_try='test -z "$ac_c_werror_flag"
21733                          || test ! -s conftest.err'
21734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21735   (eval $ac_try) 2>&5
21736   ac_status=$?
21737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738   (exit $ac_status); }; } &&
21739          { ac_try='test -s conftest$ac_exeext'
21740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741   (eval $ac_try) 2>&5
21742   ac_status=$?
21743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744   (exit $ac_status); }; }; then
21745   eval "$as_ac_var=yes"
21746 else
21747   echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21749
21750 eval "$as_ac_var=no"
21751 fi
21752 rm -f conftest.err conftest.$ac_objext \
21753       conftest$ac_exeext conftest.$ac_ext
21754 fi
21755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21757 if test `eval echo '${'$as_ac_var'}'` = yes; then
21758   cat >>confdefs.h <<_ACEOF
21759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21760 _ACEOF
21761
21762 fi
21763 done
21764
21765     fi
21766   fi
21767
21768
21769
21770   echo "$as_me:$LINENO: checking for logl declaration" >&5
21771 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21772   if test x${glibcxx_cv_func_logl_use+set} != xset; then
21773     if test "${glibcxx_cv_func_logl_use+set}" = set; then
21774   echo $ECHO_N "(cached) $ECHO_C" >&6
21775 else
21776
21777
21778
21779       ac_ext=cc
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21784
21785       cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h.  */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h.  */
21791 #include <math.h>
21792                       #ifdef HAVE_IEEEFP_H
21793                       #include <ieeefp.h>
21794                       #endif
21795
21796 int
21797 main ()
21798 {
21799  logl(0);
21800   ;
21801   return 0;
21802 }
21803 _ACEOF
21804 rm -f conftest.$ac_objext
21805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21806   (eval $ac_compile) 2>conftest.er1
21807   ac_status=$?
21808   grep -v '^ *+' conftest.er1 >conftest.err
21809   rm -f conftest.er1
21810   cat conftest.err >&5
21811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812   (exit $ac_status); } &&
21813          { ac_try='test -z "$ac_cxx_werror_flag"
21814                          || test ! -s conftest.err'
21815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21816   (eval $ac_try) 2>&5
21817   ac_status=$?
21818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819   (exit $ac_status); }; } &&
21820          { ac_try='test -s conftest.$ac_objext'
21821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822   (eval $ac_try) 2>&5
21823   ac_status=$?
21824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825   (exit $ac_status); }; }; then
21826   glibcxx_cv_func_logl_use=yes
21827 else
21828   echo "$as_me: failed program was:" >&5
21829 sed 's/^/| /' conftest.$ac_ext >&5
21830
21831 glibcxx_cv_func_logl_use=no
21832 fi
21833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21834       ac_ext=c
21835 ac_cpp='$CPP $CPPFLAGS'
21836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839
21840
21841 fi
21842
21843   fi
21844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21845 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21846
21847   if test x$glibcxx_cv_func_logl_use = x"yes"; then
21848
21849 for ac_func in logl
21850 do
21851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21852 echo "$as_me:$LINENO: checking for $ac_func" >&5
21853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21854 if eval "test \"\${$as_ac_var+set}\" = set"; then
21855   echo $ECHO_N "(cached) $ECHO_C" >&6
21856 else
21857   if test x$gcc_no_link = xyes; then
21858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21860    { (exit 1); exit 1; }; }
21861 fi
21862 cat >conftest.$ac_ext <<_ACEOF
21863 /* confdefs.h.  */
21864 _ACEOF
21865 cat confdefs.h >>conftest.$ac_ext
21866 cat >>conftest.$ac_ext <<_ACEOF
21867 /* end confdefs.h.  */
21868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21870 #define $ac_func innocuous_$ac_func
21871
21872 /* System header to define __stub macros and hopefully few prototypes,
21873     which can conflict with char $ac_func (); below.
21874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21875     <limits.h> exists even on freestanding compilers.  */
21876
21877 #ifdef __STDC__
21878 # include <limits.h>
21879 #else
21880 # include <assert.h>
21881 #endif
21882
21883 #undef $ac_func
21884
21885 /* Override any gcc2 internal prototype to avoid an error.  */
21886 #ifdef __cplusplus
21887 extern "C"
21888 {
21889 #endif
21890 /* We use char because int might match the return type of a gcc2
21891    builtin and then its argument prototype would still apply.  */
21892 char $ac_func ();
21893 /* The GNU C library defines this for functions which it implements
21894     to always fail with ENOSYS.  Some functions are actually named
21895     something starting with __ and the normal name is an alias.  */
21896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21897 choke me
21898 #else
21899 char (*f) () = $ac_func;
21900 #endif
21901 #ifdef __cplusplus
21902 }
21903 #endif
21904
21905 int
21906 main ()
21907 {
21908 return f != $ac_func;
21909   ;
21910   return 0;
21911 }
21912 _ACEOF
21913 rm -f conftest.$ac_objext conftest$ac_exeext
21914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21915   (eval $ac_link) 2>conftest.er1
21916   ac_status=$?
21917   grep -v '^ *+' conftest.er1 >conftest.err
21918   rm -f conftest.er1
21919   cat conftest.err >&5
21920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921   (exit $ac_status); } &&
21922          { ac_try='test -z "$ac_c_werror_flag"
21923                          || test ! -s conftest.err'
21924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925   (eval $ac_try) 2>&5
21926   ac_status=$?
21927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928   (exit $ac_status); }; } &&
21929          { ac_try='test -s conftest$ac_exeext'
21930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21931   (eval $ac_try) 2>&5
21932   ac_status=$?
21933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934   (exit $ac_status); }; }; then
21935   eval "$as_ac_var=yes"
21936 else
21937   echo "$as_me: failed program was:" >&5
21938 sed 's/^/| /' conftest.$ac_ext >&5
21939
21940 eval "$as_ac_var=no"
21941 fi
21942 rm -f conftest.err conftest.$ac_objext \
21943       conftest$ac_exeext conftest.$ac_ext
21944 fi
21945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21947 if test `eval echo '${'$as_ac_var'}'` = yes; then
21948   cat >>confdefs.h <<_ACEOF
21949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21950 _ACEOF
21951
21952 fi
21953 done
21954
21955   else
21956
21957   echo "$as_me:$LINENO: checking for _logl declaration" >&5
21958 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21959   if test x${glibcxx_cv_func__logl_use+set} != xset; then
21960     if test "${glibcxx_cv_func__logl_use+set}" = set; then
21961   echo $ECHO_N "(cached) $ECHO_C" >&6
21962 else
21963
21964
21965
21966       ac_ext=cc
21967 ac_cpp='$CXXCPP $CPPFLAGS'
21968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21971
21972       cat >conftest.$ac_ext <<_ACEOF
21973 /* confdefs.h.  */
21974 _ACEOF
21975 cat confdefs.h >>conftest.$ac_ext
21976 cat >>conftest.$ac_ext <<_ACEOF
21977 /* end confdefs.h.  */
21978 #include <math.h>
21979                       #ifdef HAVE_IEEEFP_H
21980                       #include <ieeefp.h>
21981                       #endif
21982
21983 int
21984 main ()
21985 {
21986  _logl(0);
21987   ;
21988   return 0;
21989 }
21990 _ACEOF
21991 rm -f conftest.$ac_objext
21992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21993   (eval $ac_compile) 2>conftest.er1
21994   ac_status=$?
21995   grep -v '^ *+' conftest.er1 >conftest.err
21996   rm -f conftest.er1
21997   cat conftest.err >&5
21998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999   (exit $ac_status); } &&
22000          { ac_try='test -z "$ac_cxx_werror_flag"
22001                          || test ! -s conftest.err'
22002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003   (eval $ac_try) 2>&5
22004   ac_status=$?
22005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006   (exit $ac_status); }; } &&
22007          { ac_try='test -s conftest.$ac_objext'
22008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009   (eval $ac_try) 2>&5
22010   ac_status=$?
22011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012   (exit $ac_status); }; }; then
22013   glibcxx_cv_func__logl_use=yes
22014 else
22015   echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.$ac_ext >&5
22017
22018 glibcxx_cv_func__logl_use=no
22019 fi
22020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22021       ac_ext=c
22022 ac_cpp='$CPP $CPPFLAGS'
22023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22026
22027
22028 fi
22029
22030   fi
22031   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22032 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22033
22034     if test x$glibcxx_cv_func__logl_use = x"yes"; then
22035
22036 for ac_func in _logl
22037 do
22038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22039 echo "$as_me:$LINENO: checking for $ac_func" >&5
22040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22041 if eval "test \"\${$as_ac_var+set}\" = set"; then
22042   echo $ECHO_N "(cached) $ECHO_C" >&6
22043 else
22044   if test x$gcc_no_link = xyes; then
22045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22047    { (exit 1); exit 1; }; }
22048 fi
22049 cat >conftest.$ac_ext <<_ACEOF
22050 /* confdefs.h.  */
22051 _ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h.  */
22055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22057 #define $ac_func innocuous_$ac_func
22058
22059 /* System header to define __stub macros and hopefully few prototypes,
22060     which can conflict with char $ac_func (); below.
22061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22062     <limits.h> exists even on freestanding compilers.  */
22063
22064 #ifdef __STDC__
22065 # include <limits.h>
22066 #else
22067 # include <assert.h>
22068 #endif
22069
22070 #undef $ac_func
22071
22072 /* Override any gcc2 internal prototype to avoid an error.  */
22073 #ifdef __cplusplus
22074 extern "C"
22075 {
22076 #endif
22077 /* We use char because int might match the return type of a gcc2
22078    builtin and then its argument prototype would still apply.  */
22079 char $ac_func ();
22080 /* The GNU C library defines this for functions which it implements
22081     to always fail with ENOSYS.  Some functions are actually named
22082     something starting with __ and the normal name is an alias.  */
22083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22084 choke me
22085 #else
22086 char (*f) () = $ac_func;
22087 #endif
22088 #ifdef __cplusplus
22089 }
22090 #endif
22091
22092 int
22093 main ()
22094 {
22095 return f != $ac_func;
22096   ;
22097   return 0;
22098 }
22099 _ACEOF
22100 rm -f conftest.$ac_objext conftest$ac_exeext
22101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22102   (eval $ac_link) 2>conftest.er1
22103   ac_status=$?
22104   grep -v '^ *+' conftest.er1 >conftest.err
22105   rm -f conftest.er1
22106   cat conftest.err >&5
22107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108   (exit $ac_status); } &&
22109          { ac_try='test -z "$ac_c_werror_flag"
22110                          || test ! -s conftest.err'
22111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112   (eval $ac_try) 2>&5
22113   ac_status=$?
22114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115   (exit $ac_status); }; } &&
22116          { ac_try='test -s conftest$ac_exeext'
22117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118   (eval $ac_try) 2>&5
22119   ac_status=$?
22120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121   (exit $ac_status); }; }; then
22122   eval "$as_ac_var=yes"
22123 else
22124   echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.$ac_ext >&5
22126
22127 eval "$as_ac_var=no"
22128 fi
22129 rm -f conftest.err conftest.$ac_objext \
22130       conftest$ac_exeext conftest.$ac_ext
22131 fi
22132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22134 if test `eval echo '${'$as_ac_var'}'` = yes; then
22135   cat >>confdefs.h <<_ACEOF
22136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22137 _ACEOF
22138
22139 fi
22140 done
22141
22142     fi
22143   fi
22144
22145
22146
22147   echo "$as_me:$LINENO: checking for log10l declaration" >&5
22148 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22149   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22150     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22151   echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22153
22154
22155
22156       ac_ext=cc
22157 ac_cpp='$CXXCPP $CPPFLAGS'
22158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22161
22162       cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h.  */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h.  */
22168 #include <math.h>
22169                       #ifdef HAVE_IEEEFP_H
22170                       #include <ieeefp.h>
22171                       #endif
22172
22173 int
22174 main ()
22175 {
22176  log10l(0);
22177   ;
22178   return 0;
22179 }
22180 _ACEOF
22181 rm -f conftest.$ac_objext
22182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22183   (eval $ac_compile) 2>conftest.er1
22184   ac_status=$?
22185   grep -v '^ *+' conftest.er1 >conftest.err
22186   rm -f conftest.er1
22187   cat conftest.err >&5
22188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189   (exit $ac_status); } &&
22190          { ac_try='test -z "$ac_cxx_werror_flag"
22191                          || test ! -s conftest.err'
22192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193   (eval $ac_try) 2>&5
22194   ac_status=$?
22195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196   (exit $ac_status); }; } &&
22197          { ac_try='test -s conftest.$ac_objext'
22198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22199   (eval $ac_try) 2>&5
22200   ac_status=$?
22201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202   (exit $ac_status); }; }; then
22203   glibcxx_cv_func_log10l_use=yes
22204 else
22205   echo "$as_me: failed program was:" >&5
22206 sed 's/^/| /' conftest.$ac_ext >&5
22207
22208 glibcxx_cv_func_log10l_use=no
22209 fi
22210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22211       ac_ext=c
22212 ac_cpp='$CPP $CPPFLAGS'
22213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22216
22217
22218 fi
22219
22220   fi
22221   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22222 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22223
22224   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22225
22226 for ac_func in log10l
22227 do
22228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22229 echo "$as_me:$LINENO: checking for $ac_func" >&5
22230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22231 if eval "test \"\${$as_ac_var+set}\" = set"; then
22232   echo $ECHO_N "(cached) $ECHO_C" >&6
22233 else
22234   if test x$gcc_no_link = xyes; then
22235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22237    { (exit 1); exit 1; }; }
22238 fi
22239 cat >conftest.$ac_ext <<_ACEOF
22240 /* confdefs.h.  */
22241 _ACEOF
22242 cat confdefs.h >>conftest.$ac_ext
22243 cat >>conftest.$ac_ext <<_ACEOF
22244 /* end confdefs.h.  */
22245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22247 #define $ac_func innocuous_$ac_func
22248
22249 /* System header to define __stub macros and hopefully few prototypes,
22250     which can conflict with char $ac_func (); below.
22251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22252     <limits.h> exists even on freestanding compilers.  */
22253
22254 #ifdef __STDC__
22255 # include <limits.h>
22256 #else
22257 # include <assert.h>
22258 #endif
22259
22260 #undef $ac_func
22261
22262 /* Override any gcc2 internal prototype to avoid an error.  */
22263 #ifdef __cplusplus
22264 extern "C"
22265 {
22266 #endif
22267 /* We use char because int might match the return type of a gcc2
22268    builtin and then its argument prototype would still apply.  */
22269 char $ac_func ();
22270 /* The GNU C library defines this for functions which it implements
22271     to always fail with ENOSYS.  Some functions are actually named
22272     something starting with __ and the normal name is an alias.  */
22273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22274 choke me
22275 #else
22276 char (*f) () = $ac_func;
22277 #endif
22278 #ifdef __cplusplus
22279 }
22280 #endif
22281
22282 int
22283 main ()
22284 {
22285 return f != $ac_func;
22286   ;
22287   return 0;
22288 }
22289 _ACEOF
22290 rm -f conftest.$ac_objext conftest$ac_exeext
22291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22292   (eval $ac_link) 2>conftest.er1
22293   ac_status=$?
22294   grep -v '^ *+' conftest.er1 >conftest.err
22295   rm -f conftest.er1
22296   cat conftest.err >&5
22297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22298   (exit $ac_status); } &&
22299          { ac_try='test -z "$ac_c_werror_flag"
22300                          || test ! -s conftest.err'
22301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302   (eval $ac_try) 2>&5
22303   ac_status=$?
22304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305   (exit $ac_status); }; } &&
22306          { ac_try='test -s conftest$ac_exeext'
22307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308   (eval $ac_try) 2>&5
22309   ac_status=$?
22310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311   (exit $ac_status); }; }; then
22312   eval "$as_ac_var=yes"
22313 else
22314   echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22316
22317 eval "$as_ac_var=no"
22318 fi
22319 rm -f conftest.err conftest.$ac_objext \
22320       conftest$ac_exeext conftest.$ac_ext
22321 fi
22322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22324 if test `eval echo '${'$as_ac_var'}'` = yes; then
22325   cat >>confdefs.h <<_ACEOF
22326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22327 _ACEOF
22328
22329 fi
22330 done
22331
22332   else
22333
22334   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22335 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22336   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22337     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22338   echo $ECHO_N "(cached) $ECHO_C" >&6
22339 else
22340
22341
22342
22343       ac_ext=cc
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348
22349       cat >conftest.$ac_ext <<_ACEOF
22350 /* confdefs.h.  */
22351 _ACEOF
22352 cat confdefs.h >>conftest.$ac_ext
22353 cat >>conftest.$ac_ext <<_ACEOF
22354 /* end confdefs.h.  */
22355 #include <math.h>
22356                       #ifdef HAVE_IEEEFP_H
22357                       #include <ieeefp.h>
22358                       #endif
22359
22360 int
22361 main ()
22362 {
22363  _log10l(0);
22364   ;
22365   return 0;
22366 }
22367 _ACEOF
22368 rm -f conftest.$ac_objext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22370   (eval $ac_compile) 2>conftest.er1
22371   ac_status=$?
22372   grep -v '^ *+' conftest.er1 >conftest.err
22373   rm -f conftest.er1
22374   cat conftest.err >&5
22375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376   (exit $ac_status); } &&
22377          { ac_try='test -z "$ac_cxx_werror_flag"
22378                          || test ! -s conftest.err'
22379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380   (eval $ac_try) 2>&5
22381   ac_status=$?
22382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383   (exit $ac_status); }; } &&
22384          { ac_try='test -s conftest.$ac_objext'
22385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386   (eval $ac_try) 2>&5
22387   ac_status=$?
22388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389   (exit $ac_status); }; }; then
22390   glibcxx_cv_func__log10l_use=yes
22391 else
22392   echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22394
22395 glibcxx_cv_func__log10l_use=no
22396 fi
22397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22398       ac_ext=c
22399 ac_cpp='$CPP $CPPFLAGS'
22400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22403
22404
22405 fi
22406
22407   fi
22408   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22409 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22410
22411     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22412
22413 for ac_func in _log10l
22414 do
22415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22416 echo "$as_me:$LINENO: checking for $ac_func" >&5
22417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22418 if eval "test \"\${$as_ac_var+set}\" = set"; then
22419   echo $ECHO_N "(cached) $ECHO_C" >&6
22420 else
22421   if test x$gcc_no_link = xyes; then
22422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22424    { (exit 1); exit 1; }; }
22425 fi
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h.  */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h.  */
22432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22434 #define $ac_func innocuous_$ac_func
22435
22436 /* System header to define __stub macros and hopefully few prototypes,
22437     which can conflict with char $ac_func (); below.
22438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22439     <limits.h> exists even on freestanding compilers.  */
22440
22441 #ifdef __STDC__
22442 # include <limits.h>
22443 #else
22444 # include <assert.h>
22445 #endif
22446
22447 #undef $ac_func
22448
22449 /* Override any gcc2 internal prototype to avoid an error.  */
22450 #ifdef __cplusplus
22451 extern "C"
22452 {
22453 #endif
22454 /* We use char because int might match the return type of a gcc2
22455    builtin and then its argument prototype would still apply.  */
22456 char $ac_func ();
22457 /* The GNU C library defines this for functions which it implements
22458     to always fail with ENOSYS.  Some functions are actually named
22459     something starting with __ and the normal name is an alias.  */
22460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22461 choke me
22462 #else
22463 char (*f) () = $ac_func;
22464 #endif
22465 #ifdef __cplusplus
22466 }
22467 #endif
22468
22469 int
22470 main ()
22471 {
22472 return f != $ac_func;
22473   ;
22474   return 0;
22475 }
22476 _ACEOF
22477 rm -f conftest.$ac_objext conftest$ac_exeext
22478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22479   (eval $ac_link) 2>conftest.er1
22480   ac_status=$?
22481   grep -v '^ *+' conftest.er1 >conftest.err
22482   rm -f conftest.er1
22483   cat conftest.err >&5
22484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485   (exit $ac_status); } &&
22486          { ac_try='test -z "$ac_c_werror_flag"
22487                          || test ! -s conftest.err'
22488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489   (eval $ac_try) 2>&5
22490   ac_status=$?
22491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492   (exit $ac_status); }; } &&
22493          { ac_try='test -s conftest$ac_exeext'
22494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495   (eval $ac_try) 2>&5
22496   ac_status=$?
22497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498   (exit $ac_status); }; }; then
22499   eval "$as_ac_var=yes"
22500 else
22501   echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22503
22504 eval "$as_ac_var=no"
22505 fi
22506 rm -f conftest.err conftest.$ac_objext \
22507       conftest$ac_exeext conftest.$ac_ext
22508 fi
22509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22511 if test `eval echo '${'$as_ac_var'}'` = yes; then
22512   cat >>confdefs.h <<_ACEOF
22513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22514 _ACEOF
22515
22516 fi
22517 done
22518
22519     fi
22520   fi
22521
22522
22523
22524   echo "$as_me:$LINENO: checking for modfl declaration" >&5
22525 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22526   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22527     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22528   echo $ECHO_N "(cached) $ECHO_C" >&6
22529 else
22530
22531
22532
22533       ac_ext=cc
22534 ac_cpp='$CXXCPP $CPPFLAGS'
22535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22538
22539       cat >conftest.$ac_ext <<_ACEOF
22540 /* confdefs.h.  */
22541 _ACEOF
22542 cat confdefs.h >>conftest.$ac_ext
22543 cat >>conftest.$ac_ext <<_ACEOF
22544 /* end confdefs.h.  */
22545 #include <math.h>
22546 int
22547 main ()
22548 {
22549  modfl(0, 0);
22550   ;
22551   return 0;
22552 }
22553 _ACEOF
22554 rm -f conftest.$ac_objext
22555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22556   (eval $ac_compile) 2>conftest.er1
22557   ac_status=$?
22558   grep -v '^ *+' conftest.er1 >conftest.err
22559   rm -f conftest.er1
22560   cat conftest.err >&5
22561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562   (exit $ac_status); } &&
22563          { ac_try='test -z "$ac_cxx_werror_flag"
22564                          || test ! -s conftest.err'
22565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566   (eval $ac_try) 2>&5
22567   ac_status=$?
22568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569   (exit $ac_status); }; } &&
22570          { ac_try='test -s conftest.$ac_objext'
22571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572   (eval $ac_try) 2>&5
22573   ac_status=$?
22574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575   (exit $ac_status); }; }; then
22576   glibcxx_cv_func_modfl_use=yes
22577 else
22578   echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22580
22581 glibcxx_cv_func_modfl_use=no
22582 fi
22583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22584       ac_ext=c
22585 ac_cpp='$CPP $CPPFLAGS'
22586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22589
22590
22591 fi
22592
22593   fi
22594   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22595 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22596
22597   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22598
22599 for ac_func in modfl
22600 do
22601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22602 echo "$as_me:$LINENO: checking for $ac_func" >&5
22603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22604 if eval "test \"\${$as_ac_var+set}\" = set"; then
22605   echo $ECHO_N "(cached) $ECHO_C" >&6
22606 else
22607   if test x$gcc_no_link = xyes; then
22608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22610    { (exit 1); exit 1; }; }
22611 fi
22612 cat >conftest.$ac_ext <<_ACEOF
22613 /* confdefs.h.  */
22614 _ACEOF
22615 cat confdefs.h >>conftest.$ac_ext
22616 cat >>conftest.$ac_ext <<_ACEOF
22617 /* end confdefs.h.  */
22618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22619    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22620 #define $ac_func innocuous_$ac_func
22621
22622 /* System header to define __stub macros and hopefully few prototypes,
22623     which can conflict with char $ac_func (); below.
22624     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22625     <limits.h> exists even on freestanding compilers.  */
22626
22627 #ifdef __STDC__
22628 # include <limits.h>
22629 #else
22630 # include <assert.h>
22631 #endif
22632
22633 #undef $ac_func
22634
22635 /* Override any gcc2 internal prototype to avoid an error.  */
22636 #ifdef __cplusplus
22637 extern "C"
22638 {
22639 #endif
22640 /* We use char because int might match the return type of a gcc2
22641    builtin and then its argument prototype would still apply.  */
22642 char $ac_func ();
22643 /* The GNU C library defines this for functions which it implements
22644     to always fail with ENOSYS.  Some functions are actually named
22645     something starting with __ and the normal name is an alias.  */
22646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22647 choke me
22648 #else
22649 char (*f) () = $ac_func;
22650 #endif
22651 #ifdef __cplusplus
22652 }
22653 #endif
22654
22655 int
22656 main ()
22657 {
22658 return f != $ac_func;
22659   ;
22660   return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext conftest$ac_exeext
22664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22665   (eval $ac_link) 2>conftest.er1
22666   ac_status=$?
22667   grep -v '^ *+' conftest.er1 >conftest.err
22668   rm -f conftest.er1
22669   cat conftest.err >&5
22670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671   (exit $ac_status); } &&
22672          { ac_try='test -z "$ac_c_werror_flag"
22673                          || test ! -s conftest.err'
22674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22675   (eval $ac_try) 2>&5
22676   ac_status=$?
22677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678   (exit $ac_status); }; } &&
22679          { ac_try='test -s conftest$ac_exeext'
22680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22681   (eval $ac_try) 2>&5
22682   ac_status=$?
22683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684   (exit $ac_status); }; }; then
22685   eval "$as_ac_var=yes"
22686 else
22687   echo "$as_me: failed program was:" >&5
22688 sed 's/^/| /' conftest.$ac_ext >&5
22689
22690 eval "$as_ac_var=no"
22691 fi
22692 rm -f conftest.err conftest.$ac_objext \
22693       conftest$ac_exeext conftest.$ac_ext
22694 fi
22695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22697 if test `eval echo '${'$as_ac_var'}'` = yes; then
22698   cat >>confdefs.h <<_ACEOF
22699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22700 _ACEOF
22701
22702 fi
22703 done
22704
22705   else
22706
22707   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22708 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22709   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22710     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22711   echo $ECHO_N "(cached) $ECHO_C" >&6
22712 else
22713
22714
22715
22716       ac_ext=cc
22717 ac_cpp='$CXXCPP $CPPFLAGS'
22718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22721
22722       cat >conftest.$ac_ext <<_ACEOF
22723 /* confdefs.h.  */
22724 _ACEOF
22725 cat confdefs.h >>conftest.$ac_ext
22726 cat >>conftest.$ac_ext <<_ACEOF
22727 /* end confdefs.h.  */
22728 #include <math.h>
22729 int
22730 main ()
22731 {
22732  _modfl(0, 0);
22733   ;
22734   return 0;
22735 }
22736 _ACEOF
22737 rm -f conftest.$ac_objext
22738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22739   (eval $ac_compile) 2>conftest.er1
22740   ac_status=$?
22741   grep -v '^ *+' conftest.er1 >conftest.err
22742   rm -f conftest.er1
22743   cat conftest.err >&5
22744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22745   (exit $ac_status); } &&
22746          { ac_try='test -z "$ac_cxx_werror_flag"
22747                          || test ! -s conftest.err'
22748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749   (eval $ac_try) 2>&5
22750   ac_status=$?
22751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22752   (exit $ac_status); }; } &&
22753          { ac_try='test -s conftest.$ac_objext'
22754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755   (eval $ac_try) 2>&5
22756   ac_status=$?
22757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758   (exit $ac_status); }; }; then
22759   glibcxx_cv_func__modfl_use=yes
22760 else
22761   echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22763
22764 glibcxx_cv_func__modfl_use=no
22765 fi
22766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22767       ac_ext=c
22768 ac_cpp='$CPP $CPPFLAGS'
22769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22772
22773
22774 fi
22775
22776   fi
22777   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22778 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22779
22780     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22781
22782 for ac_func in _modfl
22783 do
22784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22785 echo "$as_me:$LINENO: checking for $ac_func" >&5
22786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22787 if eval "test \"\${$as_ac_var+set}\" = set"; then
22788   echo $ECHO_N "(cached) $ECHO_C" >&6
22789 else
22790   if test x$gcc_no_link = xyes; then
22791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22793    { (exit 1); exit 1; }; }
22794 fi
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h.  */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h.  */
22801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22803 #define $ac_func innocuous_$ac_func
22804
22805 /* System header to define __stub macros and hopefully few prototypes,
22806     which can conflict with char $ac_func (); below.
22807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22808     <limits.h> exists even on freestanding compilers.  */
22809
22810 #ifdef __STDC__
22811 # include <limits.h>
22812 #else
22813 # include <assert.h>
22814 #endif
22815
22816 #undef $ac_func
22817
22818 /* Override any gcc2 internal prototype to avoid an error.  */
22819 #ifdef __cplusplus
22820 extern "C"
22821 {
22822 #endif
22823 /* We use char because int might match the return type of a gcc2
22824    builtin and then its argument prototype would still apply.  */
22825 char $ac_func ();
22826 /* The GNU C library defines this for functions which it implements
22827     to always fail with ENOSYS.  Some functions are actually named
22828     something starting with __ and the normal name is an alias.  */
22829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22830 choke me
22831 #else
22832 char (*f) () = $ac_func;
22833 #endif
22834 #ifdef __cplusplus
22835 }
22836 #endif
22837
22838 int
22839 main ()
22840 {
22841 return f != $ac_func;
22842   ;
22843   return 0;
22844 }
22845 _ACEOF
22846 rm -f conftest.$ac_objext conftest$ac_exeext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22848   (eval $ac_link) 2>conftest.er1
22849   ac_status=$?
22850   grep -v '^ *+' conftest.er1 >conftest.err
22851   rm -f conftest.er1
22852   cat conftest.err >&5
22853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854   (exit $ac_status); } &&
22855          { ac_try='test -z "$ac_c_werror_flag"
22856                          || test ! -s conftest.err'
22857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858   (eval $ac_try) 2>&5
22859   ac_status=$?
22860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861   (exit $ac_status); }; } &&
22862          { ac_try='test -s conftest$ac_exeext'
22863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864   (eval $ac_try) 2>&5
22865   ac_status=$?
22866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867   (exit $ac_status); }; }; then
22868   eval "$as_ac_var=yes"
22869 else
22870   echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22872
22873 eval "$as_ac_var=no"
22874 fi
22875 rm -f conftest.err conftest.$ac_objext \
22876       conftest$ac_exeext conftest.$ac_ext
22877 fi
22878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22880 if test `eval echo '${'$as_ac_var'}'` = yes; then
22881   cat >>confdefs.h <<_ACEOF
22882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22883 _ACEOF
22884
22885 fi
22886 done
22887
22888     fi
22889   fi
22890
22891
22892
22893   echo "$as_me:$LINENO: checking for powl declaration" >&5
22894 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22895   if test x${glibcxx_cv_func_powl_use+set} != xset; then
22896     if test "${glibcxx_cv_func_powl_use+set}" = set; then
22897   echo $ECHO_N "(cached) $ECHO_C" >&6
22898 else
22899
22900
22901
22902       ac_ext=cc
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22907
22908       cat >conftest.$ac_ext <<_ACEOF
22909 /* confdefs.h.  */
22910 _ACEOF
22911 cat confdefs.h >>conftest.$ac_ext
22912 cat >>conftest.$ac_ext <<_ACEOF
22913 /* end confdefs.h.  */
22914 #include <math.h>
22915 int
22916 main ()
22917 {
22918  powl(0, 0);
22919   ;
22920   return 0;
22921 }
22922 _ACEOF
22923 rm -f conftest.$ac_objext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22925   (eval $ac_compile) 2>conftest.er1
22926   ac_status=$?
22927   grep -v '^ *+' conftest.er1 >conftest.err
22928   rm -f conftest.er1
22929   cat conftest.err >&5
22930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931   (exit $ac_status); } &&
22932          { ac_try='test -z "$ac_cxx_werror_flag"
22933                          || test ! -s conftest.err'
22934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22935   (eval $ac_try) 2>&5
22936   ac_status=$?
22937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22938   (exit $ac_status); }; } &&
22939          { ac_try='test -s conftest.$ac_objext'
22940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22941   (eval $ac_try) 2>&5
22942   ac_status=$?
22943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944   (exit $ac_status); }; }; then
22945   glibcxx_cv_func_powl_use=yes
22946 else
22947   echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22949
22950 glibcxx_cv_func_powl_use=no
22951 fi
22952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22953       ac_ext=c
22954 ac_cpp='$CPP $CPPFLAGS'
22955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22958
22959
22960 fi
22961
22962   fi
22963   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22964 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22965
22966   if test x$glibcxx_cv_func_powl_use = x"yes"; then
22967
22968 for ac_func in powl
22969 do
22970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22971 echo "$as_me:$LINENO: checking for $ac_func" >&5
22972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22973 if eval "test \"\${$as_ac_var+set}\" = set"; then
22974   echo $ECHO_N "(cached) $ECHO_C" >&6
22975 else
22976   if test x$gcc_no_link = xyes; then
22977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22979    { (exit 1); exit 1; }; }
22980 fi
22981 cat >conftest.$ac_ext <<_ACEOF
22982 /* confdefs.h.  */
22983 _ACEOF
22984 cat confdefs.h >>conftest.$ac_ext
22985 cat >>conftest.$ac_ext <<_ACEOF
22986 /* end confdefs.h.  */
22987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22989 #define $ac_func innocuous_$ac_func
22990
22991 /* System header to define __stub macros and hopefully few prototypes,
22992     which can conflict with char $ac_func (); below.
22993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22994     <limits.h> exists even on freestanding compilers.  */
22995
22996 #ifdef __STDC__
22997 # include <limits.h>
22998 #else
22999 # include <assert.h>
23000 #endif
23001
23002 #undef $ac_func
23003
23004 /* Override any gcc2 internal prototype to avoid an error.  */
23005 #ifdef __cplusplus
23006 extern "C"
23007 {
23008 #endif
23009 /* We use char because int might match the return type of a gcc2
23010    builtin and then its argument prototype would still apply.  */
23011 char $ac_func ();
23012 /* The GNU C library defines this for functions which it implements
23013     to always fail with ENOSYS.  Some functions are actually named
23014     something starting with __ and the normal name is an alias.  */
23015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23016 choke me
23017 #else
23018 char (*f) () = $ac_func;
23019 #endif
23020 #ifdef __cplusplus
23021 }
23022 #endif
23023
23024 int
23025 main ()
23026 {
23027 return f != $ac_func;
23028   ;
23029   return 0;
23030 }
23031 _ACEOF
23032 rm -f conftest.$ac_objext conftest$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034   (eval $ac_link) 2>conftest.er1
23035   ac_status=$?
23036   grep -v '^ *+' conftest.er1 >conftest.err
23037   rm -f conftest.er1
23038   cat conftest.err >&5
23039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040   (exit $ac_status); } &&
23041          { ac_try='test -z "$ac_c_werror_flag"
23042                          || test ! -s conftest.err'
23043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044   (eval $ac_try) 2>&5
23045   ac_status=$?
23046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047   (exit $ac_status); }; } &&
23048          { ac_try='test -s conftest$ac_exeext'
23049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23050   (eval $ac_try) 2>&5
23051   ac_status=$?
23052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23053   (exit $ac_status); }; }; then
23054   eval "$as_ac_var=yes"
23055 else
23056   echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23058
23059 eval "$as_ac_var=no"
23060 fi
23061 rm -f conftest.err conftest.$ac_objext \
23062       conftest$ac_exeext conftest.$ac_ext
23063 fi
23064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23066 if test `eval echo '${'$as_ac_var'}'` = yes; then
23067   cat >>confdefs.h <<_ACEOF
23068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23069 _ACEOF
23070
23071 fi
23072 done
23073
23074   else
23075
23076   echo "$as_me:$LINENO: checking for _powl declaration" >&5
23077 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23078   if test x${glibcxx_cv_func__powl_use+set} != xset; then
23079     if test "${glibcxx_cv_func__powl_use+set}" = set; then
23080   echo $ECHO_N "(cached) $ECHO_C" >&6
23081 else
23082
23083
23084
23085       ac_ext=cc
23086 ac_cpp='$CXXCPP $CPPFLAGS'
23087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23090
23091       cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h.  */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h.  */
23097 #include <math.h>
23098 int
23099 main ()
23100 {
23101  _powl(0, 0);
23102   ;
23103   return 0;
23104 }
23105 _ACEOF
23106 rm -f conftest.$ac_objext
23107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23108   (eval $ac_compile) 2>conftest.er1
23109   ac_status=$?
23110   grep -v '^ *+' conftest.er1 >conftest.err
23111   rm -f conftest.er1
23112   cat conftest.err >&5
23113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114   (exit $ac_status); } &&
23115          { ac_try='test -z "$ac_cxx_werror_flag"
23116                          || test ! -s conftest.err'
23117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118   (eval $ac_try) 2>&5
23119   ac_status=$?
23120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121   (exit $ac_status); }; } &&
23122          { ac_try='test -s conftest.$ac_objext'
23123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124   (eval $ac_try) 2>&5
23125   ac_status=$?
23126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127   (exit $ac_status); }; }; then
23128   glibcxx_cv_func__powl_use=yes
23129 else
23130   echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23132
23133 glibcxx_cv_func__powl_use=no
23134 fi
23135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23136       ac_ext=c
23137 ac_cpp='$CPP $CPPFLAGS'
23138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23141
23142
23143 fi
23144
23145   fi
23146   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23147 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23148
23149     if test x$glibcxx_cv_func__powl_use = x"yes"; then
23150
23151 for ac_func in _powl
23152 do
23153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23154 echo "$as_me:$LINENO: checking for $ac_func" >&5
23155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23156 if eval "test \"\${$as_ac_var+set}\" = set"; then
23157   echo $ECHO_N "(cached) $ECHO_C" >&6
23158 else
23159   if test x$gcc_no_link = xyes; then
23160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23162    { (exit 1); exit 1; }; }
23163 fi
23164 cat >conftest.$ac_ext <<_ACEOF
23165 /* confdefs.h.  */
23166 _ACEOF
23167 cat confdefs.h >>conftest.$ac_ext
23168 cat >>conftest.$ac_ext <<_ACEOF
23169 /* end confdefs.h.  */
23170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23172 #define $ac_func innocuous_$ac_func
23173
23174 /* System header to define __stub macros and hopefully few prototypes,
23175     which can conflict with char $ac_func (); below.
23176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23177     <limits.h> exists even on freestanding compilers.  */
23178
23179 #ifdef __STDC__
23180 # include <limits.h>
23181 #else
23182 # include <assert.h>
23183 #endif
23184
23185 #undef $ac_func
23186
23187 /* Override any gcc2 internal prototype to avoid an error.  */
23188 #ifdef __cplusplus
23189 extern "C"
23190 {
23191 #endif
23192 /* We use char because int might match the return type of a gcc2
23193    builtin and then its argument prototype would still apply.  */
23194 char $ac_func ();
23195 /* The GNU C library defines this for functions which it implements
23196     to always fail with ENOSYS.  Some functions are actually named
23197     something starting with __ and the normal name is an alias.  */
23198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23199 choke me
23200 #else
23201 char (*f) () = $ac_func;
23202 #endif
23203 #ifdef __cplusplus
23204 }
23205 #endif
23206
23207 int
23208 main ()
23209 {
23210 return f != $ac_func;
23211   ;
23212   return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext conftest$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217   (eval $ac_link) 2>conftest.er1
23218   ac_status=$?
23219   grep -v '^ *+' conftest.er1 >conftest.err
23220   rm -f conftest.er1
23221   cat conftest.err >&5
23222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223   (exit $ac_status); } &&
23224          { ac_try='test -z "$ac_c_werror_flag"
23225                          || test ! -s conftest.err'
23226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227   (eval $ac_try) 2>&5
23228   ac_status=$?
23229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230   (exit $ac_status); }; } &&
23231          { ac_try='test -s conftest$ac_exeext'
23232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233   (eval $ac_try) 2>&5
23234   ac_status=$?
23235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236   (exit $ac_status); }; }; then
23237   eval "$as_ac_var=yes"
23238 else
23239   echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 eval "$as_ac_var=no"
23243 fi
23244 rm -f conftest.err conftest.$ac_objext \
23245       conftest$ac_exeext conftest.$ac_ext
23246 fi
23247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23249 if test `eval echo '${'$as_ac_var'}'` = yes; then
23250   cat >>confdefs.h <<_ACEOF
23251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23252 _ACEOF
23253
23254 fi
23255 done
23256
23257     fi
23258   fi
23259
23260
23261
23262   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23263 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23264   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23265     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23266   echo $ECHO_N "(cached) $ECHO_C" >&6
23267 else
23268
23269
23270
23271       ac_ext=cc
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276
23277       cat >conftest.$ac_ext <<_ACEOF
23278 /* confdefs.h.  */
23279 _ACEOF
23280 cat confdefs.h >>conftest.$ac_ext
23281 cat >>conftest.$ac_ext <<_ACEOF
23282 /* end confdefs.h.  */
23283 #include <math.h>
23284                       #ifdef HAVE_IEEEFP_H
23285                       #include <ieeefp.h>
23286                       #endif
23287
23288 int
23289 main ()
23290 {
23291  sqrtl(0);
23292   ;
23293   return 0;
23294 }
23295 _ACEOF
23296 rm -f conftest.$ac_objext
23297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23298   (eval $ac_compile) 2>conftest.er1
23299   ac_status=$?
23300   grep -v '^ *+' conftest.er1 >conftest.err
23301   rm -f conftest.er1
23302   cat conftest.err >&5
23303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304   (exit $ac_status); } &&
23305          { ac_try='test -z "$ac_cxx_werror_flag"
23306                          || test ! -s conftest.err'
23307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308   (eval $ac_try) 2>&5
23309   ac_status=$?
23310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311   (exit $ac_status); }; } &&
23312          { ac_try='test -s conftest.$ac_objext'
23313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314   (eval $ac_try) 2>&5
23315   ac_status=$?
23316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317   (exit $ac_status); }; }; then
23318   glibcxx_cv_func_sqrtl_use=yes
23319 else
23320   echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.$ac_ext >&5
23322
23323 glibcxx_cv_func_sqrtl_use=no
23324 fi
23325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23326       ac_ext=c
23327 ac_cpp='$CPP $CPPFLAGS'
23328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23331
23332
23333 fi
23334
23335   fi
23336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23337 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23338
23339   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23340
23341 for ac_func in sqrtl
23342 do
23343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23344 echo "$as_me:$LINENO: checking for $ac_func" >&5
23345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23346 if eval "test \"\${$as_ac_var+set}\" = set"; then
23347   echo $ECHO_N "(cached) $ECHO_C" >&6
23348 else
23349   if test x$gcc_no_link = xyes; then
23350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23352    { (exit 1); exit 1; }; }
23353 fi
23354 cat >conftest.$ac_ext <<_ACEOF
23355 /* confdefs.h.  */
23356 _ACEOF
23357 cat confdefs.h >>conftest.$ac_ext
23358 cat >>conftest.$ac_ext <<_ACEOF
23359 /* end confdefs.h.  */
23360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23362 #define $ac_func innocuous_$ac_func
23363
23364 /* System header to define __stub macros and hopefully few prototypes,
23365     which can conflict with char $ac_func (); below.
23366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23367     <limits.h> exists even on freestanding compilers.  */
23368
23369 #ifdef __STDC__
23370 # include <limits.h>
23371 #else
23372 # include <assert.h>
23373 #endif
23374
23375 #undef $ac_func
23376
23377 /* Override any gcc2 internal prototype to avoid an error.  */
23378 #ifdef __cplusplus
23379 extern "C"
23380 {
23381 #endif
23382 /* We use char because int might match the return type of a gcc2
23383    builtin and then its argument prototype would still apply.  */
23384 char $ac_func ();
23385 /* The GNU C library defines this for functions which it implements
23386     to always fail with ENOSYS.  Some functions are actually named
23387     something starting with __ and the normal name is an alias.  */
23388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23389 choke me
23390 #else
23391 char (*f) () = $ac_func;
23392 #endif
23393 #ifdef __cplusplus
23394 }
23395 #endif
23396
23397 int
23398 main ()
23399 {
23400 return f != $ac_func;
23401   ;
23402   return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext conftest$ac_exeext
23406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23407   (eval $ac_link) 2>conftest.er1
23408   ac_status=$?
23409   grep -v '^ *+' conftest.er1 >conftest.err
23410   rm -f conftest.er1
23411   cat conftest.err >&5
23412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413   (exit $ac_status); } &&
23414          { ac_try='test -z "$ac_c_werror_flag"
23415                          || test ! -s conftest.err'
23416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417   (eval $ac_try) 2>&5
23418   ac_status=$?
23419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420   (exit $ac_status); }; } &&
23421          { ac_try='test -s conftest$ac_exeext'
23422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423   (eval $ac_try) 2>&5
23424   ac_status=$?
23425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426   (exit $ac_status); }; }; then
23427   eval "$as_ac_var=yes"
23428 else
23429   echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 eval "$as_ac_var=no"
23433 fi
23434 rm -f conftest.err conftest.$ac_objext \
23435       conftest$ac_exeext conftest.$ac_ext
23436 fi
23437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23439 if test `eval echo '${'$as_ac_var'}'` = yes; then
23440   cat >>confdefs.h <<_ACEOF
23441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23442 _ACEOF
23443
23444 fi
23445 done
23446
23447   else
23448
23449   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23450 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23451   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23452     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23453   echo $ECHO_N "(cached) $ECHO_C" >&6
23454 else
23455
23456
23457
23458       ac_ext=cc
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23463
23464       cat >conftest.$ac_ext <<_ACEOF
23465 /* confdefs.h.  */
23466 _ACEOF
23467 cat confdefs.h >>conftest.$ac_ext
23468 cat >>conftest.$ac_ext <<_ACEOF
23469 /* end confdefs.h.  */
23470 #include <math.h>
23471                       #ifdef HAVE_IEEEFP_H
23472                       #include <ieeefp.h>
23473                       #endif
23474
23475 int
23476 main ()
23477 {
23478  _sqrtl(0);
23479   ;
23480   return 0;
23481 }
23482 _ACEOF
23483 rm -f conftest.$ac_objext
23484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23485   (eval $ac_compile) 2>conftest.er1
23486   ac_status=$?
23487   grep -v '^ *+' conftest.er1 >conftest.err
23488   rm -f conftest.er1
23489   cat conftest.err >&5
23490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491   (exit $ac_status); } &&
23492          { ac_try='test -z "$ac_cxx_werror_flag"
23493                          || test ! -s conftest.err'
23494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23495   (eval $ac_try) 2>&5
23496   ac_status=$?
23497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498   (exit $ac_status); }; } &&
23499          { ac_try='test -s conftest.$ac_objext'
23500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501   (eval $ac_try) 2>&5
23502   ac_status=$?
23503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504   (exit $ac_status); }; }; then
23505   glibcxx_cv_func__sqrtl_use=yes
23506 else
23507   echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23509
23510 glibcxx_cv_func__sqrtl_use=no
23511 fi
23512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23513       ac_ext=c
23514 ac_cpp='$CPP $CPPFLAGS'
23515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23518
23519
23520 fi
23521
23522   fi
23523   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23524 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23525
23526     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23527
23528 for ac_func in _sqrtl
23529 do
23530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23531 echo "$as_me:$LINENO: checking for $ac_func" >&5
23532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23533 if eval "test \"\${$as_ac_var+set}\" = set"; then
23534   echo $ECHO_N "(cached) $ECHO_C" >&6
23535 else
23536   if test x$gcc_no_link = xyes; then
23537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23539    { (exit 1); exit 1; }; }
23540 fi
23541 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h.  */
23543 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h.  */
23547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23549 #define $ac_func innocuous_$ac_func
23550
23551 /* System header to define __stub macros and hopefully few prototypes,
23552     which can conflict with char $ac_func (); below.
23553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23554     <limits.h> exists even on freestanding compilers.  */
23555
23556 #ifdef __STDC__
23557 # include <limits.h>
23558 #else
23559 # include <assert.h>
23560 #endif
23561
23562 #undef $ac_func
23563
23564 /* Override any gcc2 internal prototype to avoid an error.  */
23565 #ifdef __cplusplus
23566 extern "C"
23567 {
23568 #endif
23569 /* We use char because int might match the return type of a gcc2
23570    builtin and then its argument prototype would still apply.  */
23571 char $ac_func ();
23572 /* The GNU C library defines this for functions which it implements
23573     to always fail with ENOSYS.  Some functions are actually named
23574     something starting with __ and the normal name is an alias.  */
23575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23576 choke me
23577 #else
23578 char (*f) () = $ac_func;
23579 #endif
23580 #ifdef __cplusplus
23581 }
23582 #endif
23583
23584 int
23585 main ()
23586 {
23587 return f != $ac_func;
23588   ;
23589   return 0;
23590 }
23591 _ACEOF
23592 rm -f conftest.$ac_objext conftest$ac_exeext
23593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23594   (eval $ac_link) 2>conftest.er1
23595   ac_status=$?
23596   grep -v '^ *+' conftest.er1 >conftest.err
23597   rm -f conftest.er1
23598   cat conftest.err >&5
23599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600   (exit $ac_status); } &&
23601          { ac_try='test -z "$ac_c_werror_flag"
23602                          || test ! -s conftest.err'
23603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23604   (eval $ac_try) 2>&5
23605   ac_status=$?
23606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607   (exit $ac_status); }; } &&
23608          { ac_try='test -s conftest$ac_exeext'
23609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610   (eval $ac_try) 2>&5
23611   ac_status=$?
23612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613   (exit $ac_status); }; }; then
23614   eval "$as_ac_var=yes"
23615 else
23616   echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23618
23619 eval "$as_ac_var=no"
23620 fi
23621 rm -f conftest.err conftest.$ac_objext \
23622       conftest$ac_exeext conftest.$ac_ext
23623 fi
23624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23626 if test `eval echo '${'$as_ac_var'}'` = yes; then
23627   cat >>confdefs.h <<_ACEOF
23628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23629 _ACEOF
23630
23631 fi
23632 done
23633
23634     fi
23635   fi
23636
23637
23638
23639   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23640 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23641   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23642     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23643   echo $ECHO_N "(cached) $ECHO_C" >&6
23644 else
23645
23646
23647
23648       ac_ext=cc
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653
23654       cat >conftest.$ac_ext <<_ACEOF
23655 /* confdefs.h.  */
23656 _ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h.  */
23660 #include <math.h>
23661 int
23662 main ()
23663 {
23664  sincosl(0, 0, 0);
23665   ;
23666   return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23671   (eval $ac_compile) 2>conftest.er1
23672   ac_status=$?
23673   grep -v '^ *+' conftest.er1 >conftest.err
23674   rm -f conftest.er1
23675   cat conftest.err >&5
23676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677   (exit $ac_status); } &&
23678          { ac_try='test -z "$ac_cxx_werror_flag"
23679                          || test ! -s conftest.err'
23680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681   (eval $ac_try) 2>&5
23682   ac_status=$?
23683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684   (exit $ac_status); }; } &&
23685          { ac_try='test -s conftest.$ac_objext'
23686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687   (eval $ac_try) 2>&5
23688   ac_status=$?
23689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690   (exit $ac_status); }; }; then
23691   glibcxx_cv_func_sincosl_use=yes
23692 else
23693   echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 glibcxx_cv_func_sincosl_use=no
23697 fi
23698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23699       ac_ext=c
23700 ac_cpp='$CPP $CPPFLAGS'
23701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23704
23705
23706 fi
23707
23708   fi
23709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23710 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23711
23712   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23713
23714 for ac_func in sincosl
23715 do
23716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23717 echo "$as_me:$LINENO: checking for $ac_func" >&5
23718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23719 if eval "test \"\${$as_ac_var+set}\" = set"; then
23720   echo $ECHO_N "(cached) $ECHO_C" >&6
23721 else
23722   if test x$gcc_no_link = xyes; then
23723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23725    { (exit 1); exit 1; }; }
23726 fi
23727 cat >conftest.$ac_ext <<_ACEOF
23728 /* confdefs.h.  */
23729 _ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h.  */
23733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23735 #define $ac_func innocuous_$ac_func
23736
23737 /* System header to define __stub macros and hopefully few prototypes,
23738     which can conflict with char $ac_func (); below.
23739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23740     <limits.h> exists even on freestanding compilers.  */
23741
23742 #ifdef __STDC__
23743 # include <limits.h>
23744 #else
23745 # include <assert.h>
23746 #endif
23747
23748 #undef $ac_func
23749
23750 /* Override any gcc2 internal prototype to avoid an error.  */
23751 #ifdef __cplusplus
23752 extern "C"
23753 {
23754 #endif
23755 /* We use char because int might match the return type of a gcc2
23756    builtin and then its argument prototype would still apply.  */
23757 char $ac_func ();
23758 /* The GNU C library defines this for functions which it implements
23759     to always fail with ENOSYS.  Some functions are actually named
23760     something starting with __ and the normal name is an alias.  */
23761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23762 choke me
23763 #else
23764 char (*f) () = $ac_func;
23765 #endif
23766 #ifdef __cplusplus
23767 }
23768 #endif
23769
23770 int
23771 main ()
23772 {
23773 return f != $ac_func;
23774   ;
23775   return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext conftest$ac_exeext
23779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23780   (eval $ac_link) 2>conftest.er1
23781   ac_status=$?
23782   grep -v '^ *+' conftest.er1 >conftest.err
23783   rm -f conftest.er1
23784   cat conftest.err >&5
23785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786   (exit $ac_status); } &&
23787          { ac_try='test -z "$ac_c_werror_flag"
23788                          || test ! -s conftest.err'
23789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23790   (eval $ac_try) 2>&5
23791   ac_status=$?
23792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793   (exit $ac_status); }; } &&
23794          { ac_try='test -s conftest$ac_exeext'
23795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23796   (eval $ac_try) 2>&5
23797   ac_status=$?
23798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799   (exit $ac_status); }; }; then
23800   eval "$as_ac_var=yes"
23801 else
23802   echo "$as_me: failed program was:" >&5
23803 sed 's/^/| /' conftest.$ac_ext >&5
23804
23805 eval "$as_ac_var=no"
23806 fi
23807 rm -f conftest.err conftest.$ac_objext \
23808       conftest$ac_exeext conftest.$ac_ext
23809 fi
23810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23812 if test `eval echo '${'$as_ac_var'}'` = yes; then
23813   cat >>confdefs.h <<_ACEOF
23814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23815 _ACEOF
23816
23817 fi
23818 done
23819
23820   else
23821
23822   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23823 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23824   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23825     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23826   echo $ECHO_N "(cached) $ECHO_C" >&6
23827 else
23828
23829
23830
23831       ac_ext=cc
23832 ac_cpp='$CXXCPP $CPPFLAGS'
23833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23836
23837       cat >conftest.$ac_ext <<_ACEOF
23838 /* confdefs.h.  */
23839 _ACEOF
23840 cat confdefs.h >>conftest.$ac_ext
23841 cat >>conftest.$ac_ext <<_ACEOF
23842 /* end confdefs.h.  */
23843 #include <math.h>
23844 int
23845 main ()
23846 {
23847  _sincosl(0, 0, 0);
23848   ;
23849   return 0;
23850 }
23851 _ACEOF
23852 rm -f conftest.$ac_objext
23853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23854   (eval $ac_compile) 2>conftest.er1
23855   ac_status=$?
23856   grep -v '^ *+' conftest.er1 >conftest.err
23857   rm -f conftest.er1
23858   cat conftest.err >&5
23859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860   (exit $ac_status); } &&
23861          { ac_try='test -z "$ac_cxx_werror_flag"
23862                          || test ! -s conftest.err'
23863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23864   (eval $ac_try) 2>&5
23865   ac_status=$?
23866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867   (exit $ac_status); }; } &&
23868          { ac_try='test -s conftest.$ac_objext'
23869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870   (eval $ac_try) 2>&5
23871   ac_status=$?
23872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873   (exit $ac_status); }; }; then
23874   glibcxx_cv_func__sincosl_use=yes
23875 else
23876   echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.$ac_ext >&5
23878
23879 glibcxx_cv_func__sincosl_use=no
23880 fi
23881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23882       ac_ext=c
23883 ac_cpp='$CPP $CPPFLAGS'
23884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23887
23888
23889 fi
23890
23891   fi
23892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23893 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23894
23895     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23896
23897 for ac_func in _sincosl
23898 do
23899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23900 echo "$as_me:$LINENO: checking for $ac_func" >&5
23901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23902 if eval "test \"\${$as_ac_var+set}\" = set"; then
23903   echo $ECHO_N "(cached) $ECHO_C" >&6
23904 else
23905   if test x$gcc_no_link = xyes; then
23906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23908    { (exit 1); exit 1; }; }
23909 fi
23910 cat >conftest.$ac_ext <<_ACEOF
23911 /* confdefs.h.  */
23912 _ACEOF
23913 cat confdefs.h >>conftest.$ac_ext
23914 cat >>conftest.$ac_ext <<_ACEOF
23915 /* end confdefs.h.  */
23916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23918 #define $ac_func innocuous_$ac_func
23919
23920 /* System header to define __stub macros and hopefully few prototypes,
23921     which can conflict with char $ac_func (); below.
23922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23923     <limits.h> exists even on freestanding compilers.  */
23924
23925 #ifdef __STDC__
23926 # include <limits.h>
23927 #else
23928 # include <assert.h>
23929 #endif
23930
23931 #undef $ac_func
23932
23933 /* Override any gcc2 internal prototype to avoid an error.  */
23934 #ifdef __cplusplus
23935 extern "C"
23936 {
23937 #endif
23938 /* We use char because int might match the return type of a gcc2
23939    builtin and then its argument prototype would still apply.  */
23940 char $ac_func ();
23941 /* The GNU C library defines this for functions which it implements
23942     to always fail with ENOSYS.  Some functions are actually named
23943     something starting with __ and the normal name is an alias.  */
23944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23945 choke me
23946 #else
23947 char (*f) () = $ac_func;
23948 #endif
23949 #ifdef __cplusplus
23950 }
23951 #endif
23952
23953 int
23954 main ()
23955 {
23956 return f != $ac_func;
23957   ;
23958   return 0;
23959 }
23960 _ACEOF
23961 rm -f conftest.$ac_objext conftest$ac_exeext
23962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23963   (eval $ac_link) 2>conftest.er1
23964   ac_status=$?
23965   grep -v '^ *+' conftest.er1 >conftest.err
23966   rm -f conftest.er1
23967   cat conftest.err >&5
23968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969   (exit $ac_status); } &&
23970          { ac_try='test -z "$ac_c_werror_flag"
23971                          || test ! -s conftest.err'
23972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973   (eval $ac_try) 2>&5
23974   ac_status=$?
23975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976   (exit $ac_status); }; } &&
23977          { ac_try='test -s conftest$ac_exeext'
23978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979   (eval $ac_try) 2>&5
23980   ac_status=$?
23981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982   (exit $ac_status); }; }; then
23983   eval "$as_ac_var=yes"
23984 else
23985   echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.$ac_ext >&5
23987
23988 eval "$as_ac_var=no"
23989 fi
23990 rm -f conftest.err conftest.$ac_objext \
23991       conftest$ac_exeext conftest.$ac_ext
23992 fi
23993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23995 if test `eval echo '${'$as_ac_var'}'` = yes; then
23996   cat >>confdefs.h <<_ACEOF
23997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23998 _ACEOF
23999
24000 fi
24001 done
24002
24003     fi
24004   fi
24005
24006
24007
24008   echo "$as_me:$LINENO: checking for finitel declaration" >&5
24009 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24010   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24011     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24012   echo $ECHO_N "(cached) $ECHO_C" >&6
24013 else
24014
24015
24016
24017       ac_ext=cc
24018 ac_cpp='$CXXCPP $CPPFLAGS'
24019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24022
24023       cat >conftest.$ac_ext <<_ACEOF
24024 /* confdefs.h.  */
24025 _ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h.  */
24029 #include <math.h>
24030                       #ifdef HAVE_IEEEFP_H
24031                       #include <ieeefp.h>
24032                       #endif
24033
24034 int
24035 main ()
24036 {
24037  finitel(0);
24038   ;
24039   return 0;
24040 }
24041 _ACEOF
24042 rm -f conftest.$ac_objext
24043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24044   (eval $ac_compile) 2>conftest.er1
24045   ac_status=$?
24046   grep -v '^ *+' conftest.er1 >conftest.err
24047   rm -f conftest.er1
24048   cat conftest.err >&5
24049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050   (exit $ac_status); } &&
24051          { ac_try='test -z "$ac_cxx_werror_flag"
24052                          || test ! -s conftest.err'
24053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24054   (eval $ac_try) 2>&5
24055   ac_status=$?
24056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057   (exit $ac_status); }; } &&
24058          { ac_try='test -s conftest.$ac_objext'
24059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24060   (eval $ac_try) 2>&5
24061   ac_status=$?
24062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063   (exit $ac_status); }; }; then
24064   glibcxx_cv_func_finitel_use=yes
24065 else
24066   echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.$ac_ext >&5
24068
24069 glibcxx_cv_func_finitel_use=no
24070 fi
24071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24072       ac_ext=c
24073 ac_cpp='$CPP $CPPFLAGS'
24074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077
24078
24079 fi
24080
24081   fi
24082   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24083 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24084
24085   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24086
24087 for ac_func in finitel
24088 do
24089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24090 echo "$as_me:$LINENO: checking for $ac_func" >&5
24091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24092 if eval "test \"\${$as_ac_var+set}\" = set"; then
24093   echo $ECHO_N "(cached) $ECHO_C" >&6
24094 else
24095   if test x$gcc_no_link = xyes; then
24096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24098    { (exit 1); exit 1; }; }
24099 fi
24100 cat >conftest.$ac_ext <<_ACEOF
24101 /* confdefs.h.  */
24102 _ACEOF
24103 cat confdefs.h >>conftest.$ac_ext
24104 cat >>conftest.$ac_ext <<_ACEOF
24105 /* end confdefs.h.  */
24106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24108 #define $ac_func innocuous_$ac_func
24109
24110 /* System header to define __stub macros and hopefully few prototypes,
24111     which can conflict with char $ac_func (); below.
24112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24113     <limits.h> exists even on freestanding compilers.  */
24114
24115 #ifdef __STDC__
24116 # include <limits.h>
24117 #else
24118 # include <assert.h>
24119 #endif
24120
24121 #undef $ac_func
24122
24123 /* Override any gcc2 internal prototype to avoid an error.  */
24124 #ifdef __cplusplus
24125 extern "C"
24126 {
24127 #endif
24128 /* We use char because int might match the return type of a gcc2
24129    builtin and then its argument prototype would still apply.  */
24130 char $ac_func ();
24131 /* The GNU C library defines this for functions which it implements
24132     to always fail with ENOSYS.  Some functions are actually named
24133     something starting with __ and the normal name is an alias.  */
24134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24135 choke me
24136 #else
24137 char (*f) () = $ac_func;
24138 #endif
24139 #ifdef __cplusplus
24140 }
24141 #endif
24142
24143 int
24144 main ()
24145 {
24146 return f != $ac_func;
24147   ;
24148   return 0;
24149 }
24150 _ACEOF
24151 rm -f conftest.$ac_objext conftest$ac_exeext
24152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24153   (eval $ac_link) 2>conftest.er1
24154   ac_status=$?
24155   grep -v '^ *+' conftest.er1 >conftest.err
24156   rm -f conftest.er1
24157   cat conftest.err >&5
24158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159   (exit $ac_status); } &&
24160          { ac_try='test -z "$ac_c_werror_flag"
24161                          || test ! -s conftest.err'
24162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163   (eval $ac_try) 2>&5
24164   ac_status=$?
24165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166   (exit $ac_status); }; } &&
24167          { ac_try='test -s conftest$ac_exeext'
24168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169   (eval $ac_try) 2>&5
24170   ac_status=$?
24171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172   (exit $ac_status); }; }; then
24173   eval "$as_ac_var=yes"
24174 else
24175   echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.$ac_ext >&5
24177
24178 eval "$as_ac_var=no"
24179 fi
24180 rm -f conftest.err conftest.$ac_objext \
24181       conftest$ac_exeext conftest.$ac_ext
24182 fi
24183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24185 if test `eval echo '${'$as_ac_var'}'` = yes; then
24186   cat >>confdefs.h <<_ACEOF
24187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24188 _ACEOF
24189
24190 fi
24191 done
24192
24193   else
24194
24195   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24196 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24197   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24198     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24199   echo $ECHO_N "(cached) $ECHO_C" >&6
24200 else
24201
24202
24203
24204       ac_ext=cc
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24209
24210       cat >conftest.$ac_ext <<_ACEOF
24211 /* confdefs.h.  */
24212 _ACEOF
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h.  */
24216 #include <math.h>
24217                       #ifdef HAVE_IEEEFP_H
24218                       #include <ieeefp.h>
24219                       #endif
24220
24221 int
24222 main ()
24223 {
24224  _finitel(0);
24225   ;
24226   return 0;
24227 }
24228 _ACEOF
24229 rm -f conftest.$ac_objext
24230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24231   (eval $ac_compile) 2>conftest.er1
24232   ac_status=$?
24233   grep -v '^ *+' conftest.er1 >conftest.err
24234   rm -f conftest.er1
24235   cat conftest.err >&5
24236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237   (exit $ac_status); } &&
24238          { ac_try='test -z "$ac_cxx_werror_flag"
24239                          || test ! -s conftest.err'
24240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241   (eval $ac_try) 2>&5
24242   ac_status=$?
24243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244   (exit $ac_status); }; } &&
24245          { ac_try='test -s conftest.$ac_objext'
24246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24247   (eval $ac_try) 2>&5
24248   ac_status=$?
24249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250   (exit $ac_status); }; }; then
24251   glibcxx_cv_func__finitel_use=yes
24252 else
24253   echo "$as_me: failed program was:" >&5
24254 sed 's/^/| /' conftest.$ac_ext >&5
24255
24256 glibcxx_cv_func__finitel_use=no
24257 fi
24258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24259       ac_ext=c
24260 ac_cpp='$CPP $CPPFLAGS'
24261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24264
24265
24266 fi
24267
24268   fi
24269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24270 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24271
24272     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24273
24274 for ac_func in _finitel
24275 do
24276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24277 echo "$as_me:$LINENO: checking for $ac_func" >&5
24278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24279 if eval "test \"\${$as_ac_var+set}\" = set"; then
24280   echo $ECHO_N "(cached) $ECHO_C" >&6
24281 else
24282   if test x$gcc_no_link = xyes; then
24283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24285    { (exit 1); exit 1; }; }
24286 fi
24287 cat >conftest.$ac_ext <<_ACEOF
24288 /* confdefs.h.  */
24289 _ACEOF
24290 cat confdefs.h >>conftest.$ac_ext
24291 cat >>conftest.$ac_ext <<_ACEOF
24292 /* end confdefs.h.  */
24293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24295 #define $ac_func innocuous_$ac_func
24296
24297 /* System header to define __stub macros and hopefully few prototypes,
24298     which can conflict with char $ac_func (); below.
24299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24300     <limits.h> exists even on freestanding compilers.  */
24301
24302 #ifdef __STDC__
24303 # include <limits.h>
24304 #else
24305 # include <assert.h>
24306 #endif
24307
24308 #undef $ac_func
24309
24310 /* Override any gcc2 internal prototype to avoid an error.  */
24311 #ifdef __cplusplus
24312 extern "C"
24313 {
24314 #endif
24315 /* We use char because int might match the return type of a gcc2
24316    builtin and then its argument prototype would still apply.  */
24317 char $ac_func ();
24318 /* The GNU C library defines this for functions which it implements
24319     to always fail with ENOSYS.  Some functions are actually named
24320     something starting with __ and the normal name is an alias.  */
24321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24322 choke me
24323 #else
24324 char (*f) () = $ac_func;
24325 #endif
24326 #ifdef __cplusplus
24327 }
24328 #endif
24329
24330 int
24331 main ()
24332 {
24333 return f != $ac_func;
24334   ;
24335   return 0;
24336 }
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24340   (eval $ac_link) 2>conftest.er1
24341   ac_status=$?
24342   grep -v '^ *+' conftest.er1 >conftest.err
24343   rm -f conftest.er1
24344   cat conftest.err >&5
24345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346   (exit $ac_status); } &&
24347          { ac_try='test -z "$ac_c_werror_flag"
24348                          || test ! -s conftest.err'
24349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350   (eval $ac_try) 2>&5
24351   ac_status=$?
24352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353   (exit $ac_status); }; } &&
24354          { ac_try='test -s conftest$ac_exeext'
24355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356   (eval $ac_try) 2>&5
24357   ac_status=$?
24358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359   (exit $ac_status); }; }; then
24360   eval "$as_ac_var=yes"
24361 else
24362   echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24364
24365 eval "$as_ac_var=no"
24366 fi
24367 rm -f conftest.err conftest.$ac_objext \
24368       conftest$ac_exeext conftest.$ac_ext
24369 fi
24370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24372 if test `eval echo '${'$as_ac_var'}'` = yes; then
24373   cat >>confdefs.h <<_ACEOF
24374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24375 _ACEOF
24376
24377 fi
24378 done
24379
24380     fi
24381   fi
24382
24383
24384
24385
24386   echo "$as_me:$LINENO: checking for _float trig functions" >&5
24387 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24388   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24389   echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24391
24392
24393
24394     ac_ext=cc
24395 ac_cpp='$CXXCPP $CPPFLAGS'
24396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399
24400     cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h.  */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h.  */
24406 #include <math.h>
24407 int
24408 main ()
24409 {
24410  `for x in _acosf _asinf _atanf \
24411                                           _cosf _sinf _tanf \
24412                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24413   ;
24414   return 0;
24415 }
24416 _ACEOF
24417 rm -f conftest.$ac_objext
24418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24419   (eval $ac_compile) 2>conftest.er1
24420   ac_status=$?
24421   grep -v '^ *+' conftest.er1 >conftest.err
24422   rm -f conftest.er1
24423   cat conftest.err >&5
24424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425   (exit $ac_status); } &&
24426          { ac_try='test -z "$ac_cxx_werror_flag"
24427                          || test ! -s conftest.err'
24428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429   (eval $ac_try) 2>&5
24430   ac_status=$?
24431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432   (exit $ac_status); }; } &&
24433          { ac_try='test -s conftest.$ac_objext'
24434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435   (eval $ac_try) 2>&5
24436   ac_status=$?
24437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438   (exit $ac_status); }; }; then
24439   glibcxx_cv_func__float_trig_use=yes
24440 else
24441   echo "$as_me: failed program was:" >&5
24442 sed 's/^/| /' conftest.$ac_ext >&5
24443
24444 glibcxx_cv_func__float_trig_use=no
24445 fi
24446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24447     ac_ext=c
24448 ac_cpp='$CPP $CPPFLAGS'
24449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24452
24453 fi
24454
24455   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24456 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24457   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467 for ac_func in _acosf _asinf _atanf \
24468                                           _cosf _sinf _tanf \
24469                                           _coshf _sinhf _tanhf
24470 do
24471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24472 echo "$as_me:$LINENO: checking for $ac_func" >&5
24473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24474 if eval "test \"\${$as_ac_var+set}\" = set"; then
24475   echo $ECHO_N "(cached) $ECHO_C" >&6
24476 else
24477   if test x$gcc_no_link = xyes; then
24478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24480    { (exit 1); exit 1; }; }
24481 fi
24482 cat >conftest.$ac_ext <<_ACEOF
24483 /* confdefs.h.  */
24484 _ACEOF
24485 cat confdefs.h >>conftest.$ac_ext
24486 cat >>conftest.$ac_ext <<_ACEOF
24487 /* end confdefs.h.  */
24488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24490 #define $ac_func innocuous_$ac_func
24491
24492 /* System header to define __stub macros and hopefully few prototypes,
24493     which can conflict with char $ac_func (); below.
24494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24495     <limits.h> exists even on freestanding compilers.  */
24496
24497 #ifdef __STDC__
24498 # include <limits.h>
24499 #else
24500 # include <assert.h>
24501 #endif
24502
24503 #undef $ac_func
24504
24505 /* Override any gcc2 internal prototype to avoid an error.  */
24506 #ifdef __cplusplus
24507 extern "C"
24508 {
24509 #endif
24510 /* We use char because int might match the return type of a gcc2
24511    builtin and then its argument prototype would still apply.  */
24512 char $ac_func ();
24513 /* The GNU C library defines this for functions which it implements
24514     to always fail with ENOSYS.  Some functions are actually named
24515     something starting with __ and the normal name is an alias.  */
24516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24517 choke me
24518 #else
24519 char (*f) () = $ac_func;
24520 #endif
24521 #ifdef __cplusplus
24522 }
24523 #endif
24524
24525 int
24526 main ()
24527 {
24528 return f != $ac_func;
24529   ;
24530   return 0;
24531 }
24532 _ACEOF
24533 rm -f conftest.$ac_objext conftest$ac_exeext
24534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24535   (eval $ac_link) 2>conftest.er1
24536   ac_status=$?
24537   grep -v '^ *+' conftest.er1 >conftest.err
24538   rm -f conftest.er1
24539   cat conftest.err >&5
24540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541   (exit $ac_status); } &&
24542          { ac_try='test -z "$ac_c_werror_flag"
24543                          || test ! -s conftest.err'
24544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24545   (eval $ac_try) 2>&5
24546   ac_status=$?
24547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548   (exit $ac_status); }; } &&
24549          { ac_try='test -s conftest$ac_exeext'
24550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24551   (eval $ac_try) 2>&5
24552   ac_status=$?
24553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554   (exit $ac_status); }; }; then
24555   eval "$as_ac_var=yes"
24556 else
24557   echo "$as_me: failed program was:" >&5
24558 sed 's/^/| /' conftest.$ac_ext >&5
24559
24560 eval "$as_ac_var=no"
24561 fi
24562 rm -f conftest.err conftest.$ac_objext \
24563       conftest$ac_exeext conftest.$ac_ext
24564 fi
24565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24567 if test `eval echo '${'$as_ac_var'}'` = yes; then
24568   cat >>confdefs.h <<_ACEOF
24569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24570 _ACEOF
24571
24572 fi
24573 done
24574
24575   fi
24576
24577
24578   echo "$as_me:$LINENO: checking for _float round functions" >&5
24579 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24580   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24581   echo $ECHO_N "(cached) $ECHO_C" >&6
24582 else
24583
24584
24585
24586     ac_ext=cc
24587 ac_cpp='$CXXCPP $CPPFLAGS'
24588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24591
24592     cat >conftest.$ac_ext <<_ACEOF
24593 /* confdefs.h.  */
24594 _ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h.  */
24598 #include <math.h>
24599 int
24600 main ()
24601 {
24602  `for x in _ceilf _floorf; do echo "$x (0);"; done`
24603   ;
24604   return 0;
24605 }
24606 _ACEOF
24607 rm -f conftest.$ac_objext
24608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24609   (eval $ac_compile) 2>conftest.er1
24610   ac_status=$?
24611   grep -v '^ *+' conftest.er1 >conftest.err
24612   rm -f conftest.er1
24613   cat conftest.err >&5
24614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615   (exit $ac_status); } &&
24616          { ac_try='test -z "$ac_cxx_werror_flag"
24617                          || test ! -s conftest.err'
24618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619   (eval $ac_try) 2>&5
24620   ac_status=$?
24621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622   (exit $ac_status); }; } &&
24623          { ac_try='test -s conftest.$ac_objext'
24624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24625   (eval $ac_try) 2>&5
24626   ac_status=$?
24627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628   (exit $ac_status); }; }; then
24629   glibcxx_cv_func__float_round_use=yes
24630 else
24631   echo "$as_me: failed program was:" >&5
24632 sed 's/^/| /' conftest.$ac_ext >&5
24633
24634 glibcxx_cv_func__float_round_use=no
24635 fi
24636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24637     ac_ext=c
24638 ac_cpp='$CPP $CPPFLAGS'
24639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24642
24643 fi
24644
24645   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24646 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24647   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24648
24649
24650 for ac_func in _ceilf _floorf
24651 do
24652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24653 echo "$as_me:$LINENO: checking for $ac_func" >&5
24654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24655 if eval "test \"\${$as_ac_var+set}\" = set"; then
24656   echo $ECHO_N "(cached) $ECHO_C" >&6
24657 else
24658   if test x$gcc_no_link = xyes; then
24659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24661    { (exit 1); exit 1; }; }
24662 fi
24663 cat >conftest.$ac_ext <<_ACEOF
24664 /* confdefs.h.  */
24665 _ACEOF
24666 cat confdefs.h >>conftest.$ac_ext
24667 cat >>conftest.$ac_ext <<_ACEOF
24668 /* end confdefs.h.  */
24669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24671 #define $ac_func innocuous_$ac_func
24672
24673 /* System header to define __stub macros and hopefully few prototypes,
24674     which can conflict with char $ac_func (); below.
24675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24676     <limits.h> exists even on freestanding compilers.  */
24677
24678 #ifdef __STDC__
24679 # include <limits.h>
24680 #else
24681 # include <assert.h>
24682 #endif
24683
24684 #undef $ac_func
24685
24686 /* Override any gcc2 internal prototype to avoid an error.  */
24687 #ifdef __cplusplus
24688 extern "C"
24689 {
24690 #endif
24691 /* We use char because int might match the return type of a gcc2
24692    builtin and then its argument prototype would still apply.  */
24693 char $ac_func ();
24694 /* The GNU C library defines this for functions which it implements
24695     to always fail with ENOSYS.  Some functions are actually named
24696     something starting with __ and the normal name is an alias.  */
24697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24698 choke me
24699 #else
24700 char (*f) () = $ac_func;
24701 #endif
24702 #ifdef __cplusplus
24703 }
24704 #endif
24705
24706 int
24707 main ()
24708 {
24709 return f != $ac_func;
24710   ;
24711   return 0;
24712 }
24713 _ACEOF
24714 rm -f conftest.$ac_objext conftest$ac_exeext
24715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24716   (eval $ac_link) 2>conftest.er1
24717   ac_status=$?
24718   grep -v '^ *+' conftest.er1 >conftest.err
24719   rm -f conftest.er1
24720   cat conftest.err >&5
24721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722   (exit $ac_status); } &&
24723          { ac_try='test -z "$ac_c_werror_flag"
24724                          || test ! -s conftest.err'
24725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726   (eval $ac_try) 2>&5
24727   ac_status=$?
24728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729   (exit $ac_status); }; } &&
24730          { ac_try='test -s conftest$ac_exeext'
24731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24732   (eval $ac_try) 2>&5
24733   ac_status=$?
24734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735   (exit $ac_status); }; }; then
24736   eval "$as_ac_var=yes"
24737 else
24738   echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 eval "$as_ac_var=no"
24742 fi
24743 rm -f conftest.err conftest.$ac_objext \
24744       conftest$ac_exeext conftest.$ac_ext
24745 fi
24746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24748 if test `eval echo '${'$as_ac_var'}'` = yes; then
24749   cat >>confdefs.h <<_ACEOF
24750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24751 _ACEOF
24752
24753 fi
24754 done
24755
24756   fi
24757
24758
24759
24760   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24761 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24762   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24763   echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765
24766
24767
24768     ac_ext=cc
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773
24774     cat >conftest.$ac_ext <<_ACEOF
24775 /* confdefs.h.  */
24776 _ACEOF
24777 cat confdefs.h >>conftest.$ac_ext
24778 cat >>conftest.$ac_ext <<_ACEOF
24779 /* end confdefs.h.  */
24780 #include <math.h>
24781 int
24782 main ()
24783 {
24784  `for x in _acosl _asinl _atanl \
24785                                           _cosl _sinl _tanl \
24786                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24787   ;
24788   return 0;
24789 }
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793   (eval $ac_compile) 2>conftest.er1
24794   ac_status=$?
24795   grep -v '^ *+' conftest.er1 >conftest.err
24796   rm -f conftest.er1
24797   cat conftest.err >&5
24798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799   (exit $ac_status); } &&
24800          { ac_try='test -z "$ac_cxx_werror_flag"
24801                          || test ! -s conftest.err'
24802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803   (eval $ac_try) 2>&5
24804   ac_status=$?
24805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806   (exit $ac_status); }; } &&
24807          { ac_try='test -s conftest.$ac_objext'
24808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809   (eval $ac_try) 2>&5
24810   ac_status=$?
24811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812   (exit $ac_status); }; }; then
24813   glibcxx_cv_func__long_double_trig_use=yes
24814 else
24815   echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.$ac_ext >&5
24817
24818 glibcxx_cv_func__long_double_trig_use=no
24819 fi
24820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24821     ac_ext=c
24822 ac_cpp='$CPP $CPPFLAGS'
24823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24826
24827 fi
24828
24829   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24830 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24831   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841 for ac_func in _acosl _asinl _atanl \
24842                                           _cosl _sinl _tanl \
24843                                           _coshl _sinhl _tanhl
24844 do
24845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24846 echo "$as_me:$LINENO: checking for $ac_func" >&5
24847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24848 if eval "test \"\${$as_ac_var+set}\" = set"; then
24849   echo $ECHO_N "(cached) $ECHO_C" >&6
24850 else
24851   if test x$gcc_no_link = xyes; then
24852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24854    { (exit 1); exit 1; }; }
24855 fi
24856 cat >conftest.$ac_ext <<_ACEOF
24857 /* confdefs.h.  */
24858 _ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h.  */
24862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24864 #define $ac_func innocuous_$ac_func
24865
24866 /* System header to define __stub macros and hopefully few prototypes,
24867     which can conflict with char $ac_func (); below.
24868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24869     <limits.h> exists even on freestanding compilers.  */
24870
24871 #ifdef __STDC__
24872 # include <limits.h>
24873 #else
24874 # include <assert.h>
24875 #endif
24876
24877 #undef $ac_func
24878
24879 /* Override any gcc2 internal prototype to avoid an error.  */
24880 #ifdef __cplusplus
24881 extern "C"
24882 {
24883 #endif
24884 /* We use char because int might match the return type of a gcc2
24885    builtin and then its argument prototype would still apply.  */
24886 char $ac_func ();
24887 /* The GNU C library defines this for functions which it implements
24888     to always fail with ENOSYS.  Some functions are actually named
24889     something starting with __ and the normal name is an alias.  */
24890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24891 choke me
24892 #else
24893 char (*f) () = $ac_func;
24894 #endif
24895 #ifdef __cplusplus
24896 }
24897 #endif
24898
24899 int
24900 main ()
24901 {
24902 return f != $ac_func;
24903   ;
24904   return 0;
24905 }
24906 _ACEOF
24907 rm -f conftest.$ac_objext conftest$ac_exeext
24908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24909   (eval $ac_link) 2>conftest.er1
24910   ac_status=$?
24911   grep -v '^ *+' conftest.er1 >conftest.err
24912   rm -f conftest.er1
24913   cat conftest.err >&5
24914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915   (exit $ac_status); } &&
24916          { ac_try='test -z "$ac_c_werror_flag"
24917                          || test ! -s conftest.err'
24918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919   (eval $ac_try) 2>&5
24920   ac_status=$?
24921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922   (exit $ac_status); }; } &&
24923          { ac_try='test -s conftest$ac_exeext'
24924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24925   (eval $ac_try) 2>&5
24926   ac_status=$?
24927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928   (exit $ac_status); }; }; then
24929   eval "$as_ac_var=yes"
24930 else
24931   echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24933
24934 eval "$as_ac_var=no"
24935 fi
24936 rm -f conftest.err conftest.$ac_objext \
24937       conftest$ac_exeext conftest.$ac_ext
24938 fi
24939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24941 if test `eval echo '${'$as_ac_var'}'` = yes; then
24942   cat >>confdefs.h <<_ACEOF
24943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24944 _ACEOF
24945
24946 fi
24947 done
24948
24949   fi
24950
24951
24952   echo "$as_me:$LINENO: checking for _long double round functions" >&5
24953 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24954   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24955   echo $ECHO_N "(cached) $ECHO_C" >&6
24956 else
24957
24958
24959
24960     ac_ext=cc
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24965
24966     cat >conftest.$ac_ext <<_ACEOF
24967 /* confdefs.h.  */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h.  */
24972 #include <math.h>
24973 int
24974 main ()
24975 {
24976  `for x in _ceill _floorl; do echo "$x (0);"; done`
24977   ;
24978   return 0;
24979 }
24980 _ACEOF
24981 rm -f conftest.$ac_objext
24982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24983   (eval $ac_compile) 2>conftest.er1
24984   ac_status=$?
24985   grep -v '^ *+' conftest.er1 >conftest.err
24986   rm -f conftest.er1
24987   cat conftest.err >&5
24988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989   (exit $ac_status); } &&
24990          { ac_try='test -z "$ac_cxx_werror_flag"
24991                          || test ! -s conftest.err'
24992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993   (eval $ac_try) 2>&5
24994   ac_status=$?
24995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996   (exit $ac_status); }; } &&
24997          { ac_try='test -s conftest.$ac_objext'
24998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999   (eval $ac_try) 2>&5
25000   ac_status=$?
25001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002   (exit $ac_status); }; }; then
25003   glibcxx_cv_func__long_double_round_use=yes
25004 else
25005   echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 glibcxx_cv_func__long_double_round_use=no
25009 fi
25010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25011     ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016
25017 fi
25018
25019   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25020 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25021   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25022
25023
25024 for ac_func in _ceill _floorl
25025 do
25026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25027 echo "$as_me:$LINENO: checking for $ac_func" >&5
25028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25029 if eval "test \"\${$as_ac_var+set}\" = set"; then
25030   echo $ECHO_N "(cached) $ECHO_C" >&6
25031 else
25032   if test x$gcc_no_link = xyes; then
25033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25035    { (exit 1); exit 1; }; }
25036 fi
25037 cat >conftest.$ac_ext <<_ACEOF
25038 /* confdefs.h.  */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h.  */
25043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25045 #define $ac_func innocuous_$ac_func
25046
25047 /* System header to define __stub macros and hopefully few prototypes,
25048     which can conflict with char $ac_func (); below.
25049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25050     <limits.h> exists even on freestanding compilers.  */
25051
25052 #ifdef __STDC__
25053 # include <limits.h>
25054 #else
25055 # include <assert.h>
25056 #endif
25057
25058 #undef $ac_func
25059
25060 /* Override any gcc2 internal prototype to avoid an error.  */
25061 #ifdef __cplusplus
25062 extern "C"
25063 {
25064 #endif
25065 /* We use char because int might match the return type of a gcc2
25066    builtin and then its argument prototype would still apply.  */
25067 char $ac_func ();
25068 /* The GNU C library defines this for functions which it implements
25069     to always fail with ENOSYS.  Some functions are actually named
25070     something starting with __ and the normal name is an alias.  */
25071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25072 choke me
25073 #else
25074 char (*f) () = $ac_func;
25075 #endif
25076 #ifdef __cplusplus
25077 }
25078 #endif
25079
25080 int
25081 main ()
25082 {
25083 return f != $ac_func;
25084   ;
25085   return 0;
25086 }
25087 _ACEOF
25088 rm -f conftest.$ac_objext conftest$ac_exeext
25089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25090   (eval $ac_link) 2>conftest.er1
25091   ac_status=$?
25092   grep -v '^ *+' conftest.er1 >conftest.err
25093   rm -f conftest.er1
25094   cat conftest.err >&5
25095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096   (exit $ac_status); } &&
25097          { ac_try='test -z "$ac_c_werror_flag"
25098                          || test ! -s conftest.err'
25099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25100   (eval $ac_try) 2>&5
25101   ac_status=$?
25102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103   (exit $ac_status); }; } &&
25104          { ac_try='test -s conftest$ac_exeext'
25105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25106   (eval $ac_try) 2>&5
25107   ac_status=$?
25108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109   (exit $ac_status); }; }; then
25110   eval "$as_ac_var=yes"
25111 else
25112   echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5
25114
25115 eval "$as_ac_var=no"
25116 fi
25117 rm -f conftest.err conftest.$ac_objext \
25118       conftest$ac_exeext conftest.$ac_ext
25119 fi
25120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25122 if test `eval echo '${'$as_ac_var'}'` = yes; then
25123   cat >>confdefs.h <<_ACEOF
25124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25125 _ACEOF
25126
25127 fi
25128 done
25129
25130   fi
25131
25132
25133   LIBS="$ac_save_LIBS"
25134   CXXFLAGS="$ac_save_CXXFLAGS"
25135
25136
25137
25138   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25139 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25140   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25141     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25142   echo $ECHO_N "(cached) $ECHO_C" >&6
25143 else
25144
25145
25146
25147       ac_ext=cc
25148 ac_cpp='$CXXCPP $CPPFLAGS'
25149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25152
25153       cat >conftest.$ac_ext <<_ACEOF
25154 /* confdefs.h.  */
25155 _ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h.  */
25159 #include <math.h>
25160 int
25161 main ()
25162 {
25163  __builtin_abs(0);
25164   ;
25165   return 0;
25166 }
25167 _ACEOF
25168 rm -f conftest.$ac_objext
25169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25170   (eval $ac_compile) 2>conftest.er1
25171   ac_status=$?
25172   grep -v '^ *+' conftest.er1 >conftest.err
25173   rm -f conftest.er1
25174   cat conftest.err >&5
25175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176   (exit $ac_status); } &&
25177          { ac_try='test -z "$ac_cxx_werror_flag"
25178                          || test ! -s conftest.err'
25179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180   (eval $ac_try) 2>&5
25181   ac_status=$?
25182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183   (exit $ac_status); }; } &&
25184          { ac_try='test -s conftest.$ac_objext'
25185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186   (eval $ac_try) 2>&5
25187   ac_status=$?
25188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189   (exit $ac_status); }; }; then
25190   glibcxx_cv_func___builtin_abs_use=yes
25191 else
25192   echo "$as_me: failed program was:" >&5
25193 sed 's/^/| /' conftest.$ac_ext >&5
25194
25195 glibcxx_cv_func___builtin_abs_use=no
25196 fi
25197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25198       ac_ext=c
25199 ac_cpp='$CPP $CPPFLAGS'
25200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25203
25204
25205 fi
25206
25207   fi
25208   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25209 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25210   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25211     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25212 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25213     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25214       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25215   echo $ECHO_N "(cached) $ECHO_C" >&6
25216 else
25217
25218         if test x$gcc_no_link = xyes; then
25219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25221    { (exit 1); exit 1; }; }
25222 fi
25223 cat >conftest.$ac_ext <<_ACEOF
25224 /* confdefs.h.  */
25225 _ACEOF
25226 cat confdefs.h >>conftest.$ac_ext
25227 cat >>conftest.$ac_ext <<_ACEOF
25228 /* end confdefs.h.  */
25229 #include <math.h>
25230 int
25231 main ()
25232 {
25233  __builtin_abs(0);
25234   ;
25235   return 0;
25236 }
25237 _ACEOF
25238 rm -f conftest.$ac_objext conftest$ac_exeext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25240   (eval $ac_link) 2>conftest.er1
25241   ac_status=$?
25242   grep -v '^ *+' conftest.er1 >conftest.err
25243   rm -f conftest.er1
25244   cat conftest.err >&5
25245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25246   (exit $ac_status); } &&
25247          { ac_try='test -z "$ac_c_werror_flag"
25248                          || test ! -s conftest.err'
25249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250   (eval $ac_try) 2>&5
25251   ac_status=$?
25252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253   (exit $ac_status); }; } &&
25254          { ac_try='test -s conftest$ac_exeext'
25255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25256   (eval $ac_try) 2>&5
25257   ac_status=$?
25258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259   (exit $ac_status); }; }; then
25260   glibcxx_cv_func___builtin_abs_link=yes
25261 else
25262   echo "$as_me: failed program was:" >&5
25263 sed 's/^/| /' conftest.$ac_ext >&5
25264
25265 glibcxx_cv_func___builtin_abs_link=no
25266 fi
25267 rm -f conftest.err conftest.$ac_objext \
25268       conftest$ac_exeext conftest.$ac_ext
25269
25270 fi
25271
25272     fi
25273     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25274 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25275     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25276       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25277
25278 cat >>confdefs.h <<_ACEOF
25279 #define ${ac_tr_func} 1
25280 _ACEOF
25281
25282     fi
25283   fi
25284
25285
25286   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25287 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25288   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25289     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25290   echo $ECHO_N "(cached) $ECHO_C" >&6
25291 else
25292
25293
25294
25295       ac_ext=cc
25296 ac_cpp='$CXXCPP $CPPFLAGS'
25297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25300
25301       cat >conftest.$ac_ext <<_ACEOF
25302 /* confdefs.h.  */
25303 _ACEOF
25304 cat confdefs.h >>conftest.$ac_ext
25305 cat >>conftest.$ac_ext <<_ACEOF
25306 /* end confdefs.h.  */
25307 #include <math.h>
25308 int
25309 main ()
25310 {
25311  __builtin_fabsf(0);
25312   ;
25313   return 0;
25314 }
25315 _ACEOF
25316 rm -f conftest.$ac_objext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25318   (eval $ac_compile) 2>conftest.er1
25319   ac_status=$?
25320   grep -v '^ *+' conftest.er1 >conftest.err
25321   rm -f conftest.er1
25322   cat conftest.err >&5
25323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324   (exit $ac_status); } &&
25325          { ac_try='test -z "$ac_cxx_werror_flag"
25326                          || test ! -s conftest.err'
25327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25328   (eval $ac_try) 2>&5
25329   ac_status=$?
25330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331   (exit $ac_status); }; } &&
25332          { ac_try='test -s conftest.$ac_objext'
25333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25334   (eval $ac_try) 2>&5
25335   ac_status=$?
25336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337   (exit $ac_status); }; }; then
25338   glibcxx_cv_func___builtin_fabsf_use=yes
25339 else
25340   echo "$as_me: failed program was:" >&5
25341 sed 's/^/| /' conftest.$ac_ext >&5
25342
25343 glibcxx_cv_func___builtin_fabsf_use=no
25344 fi
25345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25346       ac_ext=c
25347 ac_cpp='$CPP $CPPFLAGS'
25348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25351
25352
25353 fi
25354
25355   fi
25356   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25357 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25358   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25359     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25360 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25361     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25362       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25363   echo $ECHO_N "(cached) $ECHO_C" >&6
25364 else
25365
25366         if test x$gcc_no_link = xyes; then
25367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25369    { (exit 1); exit 1; }; }
25370 fi
25371 cat >conftest.$ac_ext <<_ACEOF
25372 /* confdefs.h.  */
25373 _ACEOF
25374 cat confdefs.h >>conftest.$ac_ext
25375 cat >>conftest.$ac_ext <<_ACEOF
25376 /* end confdefs.h.  */
25377 #include <math.h>
25378 int
25379 main ()
25380 {
25381  __builtin_fabsf(0);
25382   ;
25383   return 0;
25384 }
25385 _ACEOF
25386 rm -f conftest.$ac_objext conftest$ac_exeext
25387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25388   (eval $ac_link) 2>conftest.er1
25389   ac_status=$?
25390   grep -v '^ *+' conftest.er1 >conftest.err
25391   rm -f conftest.er1
25392   cat conftest.err >&5
25393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394   (exit $ac_status); } &&
25395          { ac_try='test -z "$ac_c_werror_flag"
25396                          || test ! -s conftest.err'
25397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398   (eval $ac_try) 2>&5
25399   ac_status=$?
25400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401   (exit $ac_status); }; } &&
25402          { ac_try='test -s conftest$ac_exeext'
25403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25404   (eval $ac_try) 2>&5
25405   ac_status=$?
25406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407   (exit $ac_status); }; }; then
25408   glibcxx_cv_func___builtin_fabsf_link=yes
25409 else
25410   echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.$ac_ext >&5
25412
25413 glibcxx_cv_func___builtin_fabsf_link=no
25414 fi
25415 rm -f conftest.err conftest.$ac_objext \
25416       conftest$ac_exeext conftest.$ac_ext
25417
25418 fi
25419
25420     fi
25421     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25422 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25423     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25424       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25425
25426 cat >>confdefs.h <<_ACEOF
25427 #define ${ac_tr_func} 1
25428 _ACEOF
25429
25430     fi
25431   fi
25432
25433
25434   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25435 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25436   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25437     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25438   echo $ECHO_N "(cached) $ECHO_C" >&6
25439 else
25440
25441
25442
25443       ac_ext=cc
25444 ac_cpp='$CXXCPP $CPPFLAGS'
25445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25448
25449       cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h.  */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h.  */
25455 #include <math.h>
25456 int
25457 main ()
25458 {
25459  __builtin_fabs(0);
25460   ;
25461   return 0;
25462 }
25463 _ACEOF
25464 rm -f conftest.$ac_objext
25465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25466   (eval $ac_compile) 2>conftest.er1
25467   ac_status=$?
25468   grep -v '^ *+' conftest.er1 >conftest.err
25469   rm -f conftest.er1
25470   cat conftest.err >&5
25471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472   (exit $ac_status); } &&
25473          { ac_try='test -z "$ac_cxx_werror_flag"
25474                          || test ! -s conftest.err'
25475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476   (eval $ac_try) 2>&5
25477   ac_status=$?
25478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479   (exit $ac_status); }; } &&
25480          { ac_try='test -s conftest.$ac_objext'
25481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482   (eval $ac_try) 2>&5
25483   ac_status=$?
25484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485   (exit $ac_status); }; }; then
25486   glibcxx_cv_func___builtin_fabs_use=yes
25487 else
25488   echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.$ac_ext >&5
25490
25491 glibcxx_cv_func___builtin_fabs_use=no
25492 fi
25493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25494       ac_ext=c
25495 ac_cpp='$CPP $CPPFLAGS'
25496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25499
25500
25501 fi
25502
25503   fi
25504   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25505 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25506   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25507     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25508 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25509     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25510       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25511   echo $ECHO_N "(cached) $ECHO_C" >&6
25512 else
25513
25514         if test x$gcc_no_link = xyes; then
25515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25517    { (exit 1); exit 1; }; }
25518 fi
25519 cat >conftest.$ac_ext <<_ACEOF
25520 /* confdefs.h.  */
25521 _ACEOF
25522 cat confdefs.h >>conftest.$ac_ext
25523 cat >>conftest.$ac_ext <<_ACEOF
25524 /* end confdefs.h.  */
25525 #include <math.h>
25526 int
25527 main ()
25528 {
25529  __builtin_fabs(0);
25530   ;
25531   return 0;
25532 }
25533 _ACEOF
25534 rm -f conftest.$ac_objext conftest$ac_exeext
25535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25536   (eval $ac_link) 2>conftest.er1
25537   ac_status=$?
25538   grep -v '^ *+' conftest.er1 >conftest.err
25539   rm -f conftest.er1
25540   cat conftest.err >&5
25541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542   (exit $ac_status); } &&
25543          { ac_try='test -z "$ac_c_werror_flag"
25544                          || test ! -s conftest.err'
25545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546   (eval $ac_try) 2>&5
25547   ac_status=$?
25548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549   (exit $ac_status); }; } &&
25550          { ac_try='test -s conftest$ac_exeext'
25551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552   (eval $ac_try) 2>&5
25553   ac_status=$?
25554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555   (exit $ac_status); }; }; then
25556   glibcxx_cv_func___builtin_fabs_link=yes
25557 else
25558   echo "$as_me: failed program was:" >&5
25559 sed 's/^/| /' conftest.$ac_ext >&5
25560
25561 glibcxx_cv_func___builtin_fabs_link=no
25562 fi
25563 rm -f conftest.err conftest.$ac_objext \
25564       conftest$ac_exeext conftest.$ac_ext
25565
25566 fi
25567
25568     fi
25569     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25570 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25571     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25572       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25573
25574 cat >>confdefs.h <<_ACEOF
25575 #define ${ac_tr_func} 1
25576 _ACEOF
25577
25578     fi
25579   fi
25580
25581
25582   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25583 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25584   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25585     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25586   echo $ECHO_N "(cached) $ECHO_C" >&6
25587 else
25588
25589
25590
25591       ac_ext=cc
25592 ac_cpp='$CXXCPP $CPPFLAGS'
25593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25596
25597       cat >conftest.$ac_ext <<_ACEOF
25598 /* confdefs.h.  */
25599 _ACEOF
25600 cat confdefs.h >>conftest.$ac_ext
25601 cat >>conftest.$ac_ext <<_ACEOF
25602 /* end confdefs.h.  */
25603 #include <math.h>
25604 int
25605 main ()
25606 {
25607  __builtin_fabsl(0);
25608   ;
25609   return 0;
25610 }
25611 _ACEOF
25612 rm -f conftest.$ac_objext
25613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25614   (eval $ac_compile) 2>conftest.er1
25615   ac_status=$?
25616   grep -v '^ *+' conftest.er1 >conftest.err
25617   rm -f conftest.er1
25618   cat conftest.err >&5
25619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620   (exit $ac_status); } &&
25621          { ac_try='test -z "$ac_cxx_werror_flag"
25622                          || test ! -s conftest.err'
25623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25624   (eval $ac_try) 2>&5
25625   ac_status=$?
25626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627   (exit $ac_status); }; } &&
25628          { ac_try='test -s conftest.$ac_objext'
25629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25630   (eval $ac_try) 2>&5
25631   ac_status=$?
25632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25633   (exit $ac_status); }; }; then
25634   glibcxx_cv_func___builtin_fabsl_use=yes
25635 else
25636   echo "$as_me: failed program was:" >&5
25637 sed 's/^/| /' conftest.$ac_ext >&5
25638
25639 glibcxx_cv_func___builtin_fabsl_use=no
25640 fi
25641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25642       ac_ext=c
25643 ac_cpp='$CPP $CPPFLAGS'
25644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25647
25648
25649 fi
25650
25651   fi
25652   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25653 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25654   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25655     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25656 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25657     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25658       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25659   echo $ECHO_N "(cached) $ECHO_C" >&6
25660 else
25661
25662         if test x$gcc_no_link = xyes; then
25663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25665    { (exit 1); exit 1; }; }
25666 fi
25667 cat >conftest.$ac_ext <<_ACEOF
25668 /* confdefs.h.  */
25669 _ACEOF
25670 cat confdefs.h >>conftest.$ac_ext
25671 cat >>conftest.$ac_ext <<_ACEOF
25672 /* end confdefs.h.  */
25673 #include <math.h>
25674 int
25675 main ()
25676 {
25677  __builtin_fabsl(0);
25678   ;
25679   return 0;
25680 }
25681 _ACEOF
25682 rm -f conftest.$ac_objext conftest$ac_exeext
25683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25684   (eval $ac_link) 2>conftest.er1
25685   ac_status=$?
25686   grep -v '^ *+' conftest.er1 >conftest.err
25687   rm -f conftest.er1
25688   cat conftest.err >&5
25689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690   (exit $ac_status); } &&
25691          { ac_try='test -z "$ac_c_werror_flag"
25692                          || test ! -s conftest.err'
25693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25694   (eval $ac_try) 2>&5
25695   ac_status=$?
25696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697   (exit $ac_status); }; } &&
25698          { ac_try='test -s conftest$ac_exeext'
25699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700   (eval $ac_try) 2>&5
25701   ac_status=$?
25702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703   (exit $ac_status); }; }; then
25704   glibcxx_cv_func___builtin_fabsl_link=yes
25705 else
25706   echo "$as_me: failed program was:" >&5
25707 sed 's/^/| /' conftest.$ac_ext >&5
25708
25709 glibcxx_cv_func___builtin_fabsl_link=no
25710 fi
25711 rm -f conftest.err conftest.$ac_objext \
25712       conftest$ac_exeext conftest.$ac_ext
25713
25714 fi
25715
25716     fi
25717     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25718 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25719     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25720       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25721
25722 cat >>confdefs.h <<_ACEOF
25723 #define ${ac_tr_func} 1
25724 _ACEOF
25725
25726     fi
25727   fi
25728
25729
25730   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25731 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25732   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25733     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25734   echo $ECHO_N "(cached) $ECHO_C" >&6
25735 else
25736
25737
25738
25739       ac_ext=cc
25740 ac_cpp='$CXXCPP $CPPFLAGS'
25741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25744
25745       cat >conftest.$ac_ext <<_ACEOF
25746 /* confdefs.h.  */
25747 _ACEOF
25748 cat confdefs.h >>conftest.$ac_ext
25749 cat >>conftest.$ac_ext <<_ACEOF
25750 /* end confdefs.h.  */
25751 #include <math.h>
25752 int
25753 main ()
25754 {
25755  __builtin_labs(0);
25756   ;
25757   return 0;
25758 }
25759 _ACEOF
25760 rm -f conftest.$ac_objext
25761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25762   (eval $ac_compile) 2>conftest.er1
25763   ac_status=$?
25764   grep -v '^ *+' conftest.er1 >conftest.err
25765   rm -f conftest.er1
25766   cat conftest.err >&5
25767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768   (exit $ac_status); } &&
25769          { ac_try='test -z "$ac_cxx_werror_flag"
25770                          || test ! -s conftest.err'
25771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772   (eval $ac_try) 2>&5
25773   ac_status=$?
25774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775   (exit $ac_status); }; } &&
25776          { ac_try='test -s conftest.$ac_objext'
25777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778   (eval $ac_try) 2>&5
25779   ac_status=$?
25780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781   (exit $ac_status); }; }; then
25782   glibcxx_cv_func___builtin_labs_use=yes
25783 else
25784   echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25786
25787 glibcxx_cv_func___builtin_labs_use=no
25788 fi
25789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25790       ac_ext=c
25791 ac_cpp='$CPP $CPPFLAGS'
25792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25795
25796
25797 fi
25798
25799   fi
25800   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25801 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25802   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25803     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25804 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25805     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25806       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25807   echo $ECHO_N "(cached) $ECHO_C" >&6
25808 else
25809
25810         if test x$gcc_no_link = xyes; then
25811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25813    { (exit 1); exit 1; }; }
25814 fi
25815 cat >conftest.$ac_ext <<_ACEOF
25816 /* confdefs.h.  */
25817 _ACEOF
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h.  */
25821 #include <math.h>
25822 int
25823 main ()
25824 {
25825  __builtin_labs(0);
25826   ;
25827   return 0;
25828 }
25829 _ACEOF
25830 rm -f conftest.$ac_objext conftest$ac_exeext
25831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25832   (eval $ac_link) 2>conftest.er1
25833   ac_status=$?
25834   grep -v '^ *+' conftest.er1 >conftest.err
25835   rm -f conftest.er1
25836   cat conftest.err >&5
25837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838   (exit $ac_status); } &&
25839          { ac_try='test -z "$ac_c_werror_flag"
25840                          || test ! -s conftest.err'
25841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25842   (eval $ac_try) 2>&5
25843   ac_status=$?
25844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845   (exit $ac_status); }; } &&
25846          { ac_try='test -s conftest$ac_exeext'
25847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25848   (eval $ac_try) 2>&5
25849   ac_status=$?
25850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851   (exit $ac_status); }; }; then
25852   glibcxx_cv_func___builtin_labs_link=yes
25853 else
25854   echo "$as_me: failed program was:" >&5
25855 sed 's/^/| /' conftest.$ac_ext >&5
25856
25857 glibcxx_cv_func___builtin_labs_link=no
25858 fi
25859 rm -f conftest.err conftest.$ac_objext \
25860       conftest$ac_exeext conftest.$ac_ext
25861
25862 fi
25863
25864     fi
25865     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25866 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25867     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25868       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25869
25870 cat >>confdefs.h <<_ACEOF
25871 #define ${ac_tr_func} 1
25872 _ACEOF
25873
25874     fi
25875   fi
25876
25877
25878
25879   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25880 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25881   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25882     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25883   echo $ECHO_N "(cached) $ECHO_C" >&6
25884 else
25885
25886
25887
25888       ac_ext=cc
25889 ac_cpp='$CXXCPP $CPPFLAGS'
25890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25893
25894       cat >conftest.$ac_ext <<_ACEOF
25895 /* confdefs.h.  */
25896 _ACEOF
25897 cat confdefs.h >>conftest.$ac_ext
25898 cat >>conftest.$ac_ext <<_ACEOF
25899 /* end confdefs.h.  */
25900 #include <math.h>
25901 int
25902 main ()
25903 {
25904  __builtin_sqrtf(0);
25905   ;
25906   return 0;
25907 }
25908 _ACEOF
25909 rm -f conftest.$ac_objext
25910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25911   (eval $ac_compile) 2>conftest.er1
25912   ac_status=$?
25913   grep -v '^ *+' conftest.er1 >conftest.err
25914   rm -f conftest.er1
25915   cat conftest.err >&5
25916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917   (exit $ac_status); } &&
25918          { ac_try='test -z "$ac_cxx_werror_flag"
25919                          || test ! -s conftest.err'
25920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921   (eval $ac_try) 2>&5
25922   ac_status=$?
25923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924   (exit $ac_status); }; } &&
25925          { ac_try='test -s conftest.$ac_objext'
25926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927   (eval $ac_try) 2>&5
25928   ac_status=$?
25929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930   (exit $ac_status); }; }; then
25931   glibcxx_cv_func___builtin_sqrtf_use=yes
25932 else
25933   echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.$ac_ext >&5
25935
25936 glibcxx_cv_func___builtin_sqrtf_use=no
25937 fi
25938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25939       ac_ext=c
25940 ac_cpp='$CPP $CPPFLAGS'
25941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25944
25945
25946 fi
25947
25948   fi
25949   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25950 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25951   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25952     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25953 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25954     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25955       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25956   echo $ECHO_N "(cached) $ECHO_C" >&6
25957 else
25958
25959         if test x$gcc_no_link = xyes; then
25960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25962    { (exit 1); exit 1; }; }
25963 fi
25964 cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h.  */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h.  */
25970 #include <math.h>
25971 int
25972 main ()
25973 {
25974  __builtin_sqrtf(0);
25975   ;
25976   return 0;
25977 }
25978 _ACEOF
25979 rm -f conftest.$ac_objext conftest$ac_exeext
25980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25981   (eval $ac_link) 2>conftest.er1
25982   ac_status=$?
25983   grep -v '^ *+' conftest.er1 >conftest.err
25984   rm -f conftest.er1
25985   cat conftest.err >&5
25986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987   (exit $ac_status); } &&
25988          { ac_try='test -z "$ac_c_werror_flag"
25989                          || test ! -s conftest.err'
25990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991   (eval $ac_try) 2>&5
25992   ac_status=$?
25993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994   (exit $ac_status); }; } &&
25995          { ac_try='test -s conftest$ac_exeext'
25996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25997   (eval $ac_try) 2>&5
25998   ac_status=$?
25999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000   (exit $ac_status); }; }; then
26001   glibcxx_cv_func___builtin_sqrtf_link=yes
26002 else
26003   echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26005
26006 glibcxx_cv_func___builtin_sqrtf_link=no
26007 fi
26008 rm -f conftest.err conftest.$ac_objext \
26009       conftest$ac_exeext conftest.$ac_ext
26010
26011 fi
26012
26013     fi
26014     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26015 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26016     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26017       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26018
26019 cat >>confdefs.h <<_ACEOF
26020 #define ${ac_tr_func} 1
26021 _ACEOF
26022
26023     fi
26024   fi
26025
26026
26027   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26028 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26029   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26030     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26031   echo $ECHO_N "(cached) $ECHO_C" >&6
26032 else
26033
26034
26035
26036       ac_ext=cc
26037 ac_cpp='$CXXCPP $CPPFLAGS'
26038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26041
26042       cat >conftest.$ac_ext <<_ACEOF
26043 /* confdefs.h.  */
26044 _ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h.  */
26048 #include <math.h>
26049 int
26050 main ()
26051 {
26052  __builtin_sqrt(0);
26053   ;
26054   return 0;
26055 }
26056 _ACEOF
26057 rm -f conftest.$ac_objext
26058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26059   (eval $ac_compile) 2>conftest.er1
26060   ac_status=$?
26061   grep -v '^ *+' conftest.er1 >conftest.err
26062   rm -f conftest.er1
26063   cat conftest.err >&5
26064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065   (exit $ac_status); } &&
26066          { ac_try='test -z "$ac_cxx_werror_flag"
26067                          || test ! -s conftest.err'
26068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069   (eval $ac_try) 2>&5
26070   ac_status=$?
26071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072   (exit $ac_status); }; } &&
26073          { ac_try='test -s conftest.$ac_objext'
26074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26075   (eval $ac_try) 2>&5
26076   ac_status=$?
26077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078   (exit $ac_status); }; }; then
26079   glibcxx_cv_func___builtin_sqrt_use=yes
26080 else
26081   echo "$as_me: failed program was:" >&5
26082 sed 's/^/| /' conftest.$ac_ext >&5
26083
26084 glibcxx_cv_func___builtin_sqrt_use=no
26085 fi
26086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26087       ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26092
26093
26094 fi
26095
26096   fi
26097   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26099   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26100     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26101 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26102     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26103       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26104   echo $ECHO_N "(cached) $ECHO_C" >&6
26105 else
26106
26107         if test x$gcc_no_link = xyes; then
26108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26110    { (exit 1); exit 1; }; }
26111 fi
26112 cat >conftest.$ac_ext <<_ACEOF
26113 /* confdefs.h.  */
26114 _ACEOF
26115 cat confdefs.h >>conftest.$ac_ext
26116 cat >>conftest.$ac_ext <<_ACEOF
26117 /* end confdefs.h.  */
26118 #include <math.h>
26119 int
26120 main ()
26121 {
26122  __builtin_sqrt(0);
26123   ;
26124   return 0;
26125 }
26126 _ACEOF
26127 rm -f conftest.$ac_objext conftest$ac_exeext
26128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26129   (eval $ac_link) 2>conftest.er1
26130   ac_status=$?
26131   grep -v '^ *+' conftest.er1 >conftest.err
26132   rm -f conftest.er1
26133   cat conftest.err >&5
26134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135   (exit $ac_status); } &&
26136          { ac_try='test -z "$ac_c_werror_flag"
26137                          || test ! -s conftest.err'
26138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139   (eval $ac_try) 2>&5
26140   ac_status=$?
26141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142   (exit $ac_status); }; } &&
26143          { ac_try='test -s conftest$ac_exeext'
26144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145   (eval $ac_try) 2>&5
26146   ac_status=$?
26147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148   (exit $ac_status); }; }; then
26149   glibcxx_cv_func___builtin_sqrt_link=yes
26150 else
26151   echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.$ac_ext >&5
26153
26154 glibcxx_cv_func___builtin_sqrt_link=no
26155 fi
26156 rm -f conftest.err conftest.$ac_objext \
26157       conftest$ac_exeext conftest.$ac_ext
26158
26159 fi
26160
26161     fi
26162     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26163 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26164     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26165       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26166
26167 cat >>confdefs.h <<_ACEOF
26168 #define ${ac_tr_func} 1
26169 _ACEOF
26170
26171     fi
26172   fi
26173
26174
26175   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26176 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26177   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26178     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26179   echo $ECHO_N "(cached) $ECHO_C" >&6
26180 else
26181
26182
26183
26184       ac_ext=cc
26185 ac_cpp='$CXXCPP $CPPFLAGS'
26186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26189
26190       cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h.  */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h.  */
26196 #include <math.h>
26197 int
26198 main ()
26199 {
26200  __builtin_sqrtl(0);
26201   ;
26202   return 0;
26203 }
26204 _ACEOF
26205 rm -f conftest.$ac_objext
26206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26207   (eval $ac_compile) 2>conftest.er1
26208   ac_status=$?
26209   grep -v '^ *+' conftest.er1 >conftest.err
26210   rm -f conftest.er1
26211   cat conftest.err >&5
26212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213   (exit $ac_status); } &&
26214          { ac_try='test -z "$ac_cxx_werror_flag"
26215                          || test ! -s conftest.err'
26216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217   (eval $ac_try) 2>&5
26218   ac_status=$?
26219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220   (exit $ac_status); }; } &&
26221          { ac_try='test -s conftest.$ac_objext'
26222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26223   (eval $ac_try) 2>&5
26224   ac_status=$?
26225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226   (exit $ac_status); }; }; then
26227   glibcxx_cv_func___builtin_sqrtl_use=yes
26228 else
26229   echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232 glibcxx_cv_func___builtin_sqrtl_use=no
26233 fi
26234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26235       ac_ext=c
26236 ac_cpp='$CPP $CPPFLAGS'
26237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26240
26241
26242 fi
26243
26244   fi
26245   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26246 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26247   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26248     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26249 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26250     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26251       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26252   echo $ECHO_N "(cached) $ECHO_C" >&6
26253 else
26254
26255         if test x$gcc_no_link = xyes; then
26256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26258    { (exit 1); exit 1; }; }
26259 fi
26260 cat >conftest.$ac_ext <<_ACEOF
26261 /* confdefs.h.  */
26262 _ACEOF
26263 cat confdefs.h >>conftest.$ac_ext
26264 cat >>conftest.$ac_ext <<_ACEOF
26265 /* end confdefs.h.  */
26266 #include <math.h>
26267 int
26268 main ()
26269 {
26270  __builtin_sqrtl(0);
26271   ;
26272   return 0;
26273 }
26274 _ACEOF
26275 rm -f conftest.$ac_objext conftest$ac_exeext
26276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26277   (eval $ac_link) 2>conftest.er1
26278   ac_status=$?
26279   grep -v '^ *+' conftest.er1 >conftest.err
26280   rm -f conftest.er1
26281   cat conftest.err >&5
26282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283   (exit $ac_status); } &&
26284          { ac_try='test -z "$ac_c_werror_flag"
26285                          || test ! -s conftest.err'
26286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26287   (eval $ac_try) 2>&5
26288   ac_status=$?
26289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290   (exit $ac_status); }; } &&
26291          { ac_try='test -s conftest$ac_exeext'
26292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26293   (eval $ac_try) 2>&5
26294   ac_status=$?
26295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26296   (exit $ac_status); }; }; then
26297   glibcxx_cv_func___builtin_sqrtl_link=yes
26298 else
26299   echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.$ac_ext >&5
26301
26302 glibcxx_cv_func___builtin_sqrtl_link=no
26303 fi
26304 rm -f conftest.err conftest.$ac_objext \
26305       conftest$ac_exeext conftest.$ac_ext
26306
26307 fi
26308
26309     fi
26310     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26311 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26312     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26313       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26314
26315 cat >>confdefs.h <<_ACEOF
26316 #define ${ac_tr_func} 1
26317 _ACEOF
26318
26319     fi
26320   fi
26321
26322
26323
26324   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26325 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26326   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26327     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26328   echo $ECHO_N "(cached) $ECHO_C" >&6
26329 else
26330
26331
26332
26333       ac_ext=cc
26334 ac_cpp='$CXXCPP $CPPFLAGS'
26335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26338
26339       cat >conftest.$ac_ext <<_ACEOF
26340 /* confdefs.h.  */
26341 _ACEOF
26342 cat confdefs.h >>conftest.$ac_ext
26343 cat >>conftest.$ac_ext <<_ACEOF
26344 /* end confdefs.h.  */
26345 #include <math.h>
26346 int
26347 main ()
26348 {
26349  __builtin_sinf(0);
26350   ;
26351   return 0;
26352 }
26353 _ACEOF
26354 rm -f conftest.$ac_objext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26356   (eval $ac_compile) 2>conftest.er1
26357   ac_status=$?
26358   grep -v '^ *+' conftest.er1 >conftest.err
26359   rm -f conftest.er1
26360   cat conftest.err >&5
26361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362   (exit $ac_status); } &&
26363          { ac_try='test -z "$ac_cxx_werror_flag"
26364                          || test ! -s conftest.err'
26365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366   (eval $ac_try) 2>&5
26367   ac_status=$?
26368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369   (exit $ac_status); }; } &&
26370          { ac_try='test -s conftest.$ac_objext'
26371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372   (eval $ac_try) 2>&5
26373   ac_status=$?
26374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375   (exit $ac_status); }; }; then
26376   glibcxx_cv_func___builtin_sinf_use=yes
26377 else
26378   echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26380
26381 glibcxx_cv_func___builtin_sinf_use=no
26382 fi
26383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26384       ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26389
26390
26391 fi
26392
26393   fi
26394   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26395 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26396   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26397     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26398 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26399     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26400       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26401   echo $ECHO_N "(cached) $ECHO_C" >&6
26402 else
26403
26404         if test x$gcc_no_link = xyes; then
26405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26407    { (exit 1); exit 1; }; }
26408 fi
26409 cat >conftest.$ac_ext <<_ACEOF
26410 /* confdefs.h.  */
26411 _ACEOF
26412 cat confdefs.h >>conftest.$ac_ext
26413 cat >>conftest.$ac_ext <<_ACEOF
26414 /* end confdefs.h.  */
26415 #include <math.h>
26416 int
26417 main ()
26418 {
26419  __builtin_sinf(0);
26420   ;
26421   return 0;
26422 }
26423 _ACEOF
26424 rm -f conftest.$ac_objext conftest$ac_exeext
26425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26426   (eval $ac_link) 2>conftest.er1
26427   ac_status=$?
26428   grep -v '^ *+' conftest.er1 >conftest.err
26429   rm -f conftest.er1
26430   cat conftest.err >&5
26431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432   (exit $ac_status); } &&
26433          { ac_try='test -z "$ac_c_werror_flag"
26434                          || test ! -s conftest.err'
26435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436   (eval $ac_try) 2>&5
26437   ac_status=$?
26438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439   (exit $ac_status); }; } &&
26440          { ac_try='test -s conftest$ac_exeext'
26441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442   (eval $ac_try) 2>&5
26443   ac_status=$?
26444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445   (exit $ac_status); }; }; then
26446   glibcxx_cv_func___builtin_sinf_link=yes
26447 else
26448   echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26450
26451 glibcxx_cv_func___builtin_sinf_link=no
26452 fi
26453 rm -f conftest.err conftest.$ac_objext \
26454       conftest$ac_exeext conftest.$ac_ext
26455
26456 fi
26457
26458     fi
26459     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26460 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26461     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26462       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26463
26464 cat >>confdefs.h <<_ACEOF
26465 #define ${ac_tr_func} 1
26466 _ACEOF
26467
26468     fi
26469   fi
26470
26471
26472   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26473 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26474   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26475     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26476   echo $ECHO_N "(cached) $ECHO_C" >&6
26477 else
26478
26479
26480
26481       ac_ext=cc
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26486
26487       cat >conftest.$ac_ext <<_ACEOF
26488 /* confdefs.h.  */
26489 _ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h.  */
26493 #include <math.h>
26494 int
26495 main ()
26496 {
26497  __builtin_sin(0);
26498   ;
26499   return 0;
26500 }
26501 _ACEOF
26502 rm -f conftest.$ac_objext
26503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26504   (eval $ac_compile) 2>conftest.er1
26505   ac_status=$?
26506   grep -v '^ *+' conftest.er1 >conftest.err
26507   rm -f conftest.er1
26508   cat conftest.err >&5
26509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26510   (exit $ac_status); } &&
26511          { ac_try='test -z "$ac_cxx_werror_flag"
26512                          || test ! -s conftest.err'
26513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514   (eval $ac_try) 2>&5
26515   ac_status=$?
26516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517   (exit $ac_status); }; } &&
26518          { ac_try='test -s conftest.$ac_objext'
26519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26520   (eval $ac_try) 2>&5
26521   ac_status=$?
26522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523   (exit $ac_status); }; }; then
26524   glibcxx_cv_func___builtin_sin_use=yes
26525 else
26526   echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26528
26529 glibcxx_cv_func___builtin_sin_use=no
26530 fi
26531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26532       ac_ext=c
26533 ac_cpp='$CPP $CPPFLAGS'
26534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26537
26538
26539 fi
26540
26541   fi
26542   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26543 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26544   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26545     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26546 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26547     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26548       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26549   echo $ECHO_N "(cached) $ECHO_C" >&6
26550 else
26551
26552         if test x$gcc_no_link = xyes; then
26553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26555    { (exit 1); exit 1; }; }
26556 fi
26557 cat >conftest.$ac_ext <<_ACEOF
26558 /* confdefs.h.  */
26559 _ACEOF
26560 cat confdefs.h >>conftest.$ac_ext
26561 cat >>conftest.$ac_ext <<_ACEOF
26562 /* end confdefs.h.  */
26563 #include <math.h>
26564 int
26565 main ()
26566 {
26567  __builtin_sin(0);
26568   ;
26569   return 0;
26570 }
26571 _ACEOF
26572 rm -f conftest.$ac_objext conftest$ac_exeext
26573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26574   (eval $ac_link) 2>conftest.er1
26575   ac_status=$?
26576   grep -v '^ *+' conftest.er1 >conftest.err
26577   rm -f conftest.er1
26578   cat conftest.err >&5
26579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580   (exit $ac_status); } &&
26581          { ac_try='test -z "$ac_c_werror_flag"
26582                          || test ! -s conftest.err'
26583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26584   (eval $ac_try) 2>&5
26585   ac_status=$?
26586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587   (exit $ac_status); }; } &&
26588          { ac_try='test -s conftest$ac_exeext'
26589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590   (eval $ac_try) 2>&5
26591   ac_status=$?
26592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593   (exit $ac_status); }; }; then
26594   glibcxx_cv_func___builtin_sin_link=yes
26595 else
26596   echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26598
26599 glibcxx_cv_func___builtin_sin_link=no
26600 fi
26601 rm -f conftest.err conftest.$ac_objext \
26602       conftest$ac_exeext conftest.$ac_ext
26603
26604 fi
26605
26606     fi
26607     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26608 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26609     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26610       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26611
26612 cat >>confdefs.h <<_ACEOF
26613 #define ${ac_tr_func} 1
26614 _ACEOF
26615
26616     fi
26617   fi
26618
26619
26620   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26621 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26622   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26623     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26624   echo $ECHO_N "(cached) $ECHO_C" >&6
26625 else
26626
26627
26628
26629       ac_ext=cc
26630 ac_cpp='$CXXCPP $CPPFLAGS'
26631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26634
26635       cat >conftest.$ac_ext <<_ACEOF
26636 /* confdefs.h.  */
26637 _ACEOF
26638 cat confdefs.h >>conftest.$ac_ext
26639 cat >>conftest.$ac_ext <<_ACEOF
26640 /* end confdefs.h.  */
26641 #include <math.h>
26642 int
26643 main ()
26644 {
26645  __builtin_sinl(0);
26646   ;
26647   return 0;
26648 }
26649 _ACEOF
26650 rm -f conftest.$ac_objext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26652   (eval $ac_compile) 2>conftest.er1
26653   ac_status=$?
26654   grep -v '^ *+' conftest.er1 >conftest.err
26655   rm -f conftest.er1
26656   cat conftest.err >&5
26657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658   (exit $ac_status); } &&
26659          { ac_try='test -z "$ac_cxx_werror_flag"
26660                          || test ! -s conftest.err'
26661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662   (eval $ac_try) 2>&5
26663   ac_status=$?
26664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665   (exit $ac_status); }; } &&
26666          { ac_try='test -s conftest.$ac_objext'
26667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668   (eval $ac_try) 2>&5
26669   ac_status=$?
26670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671   (exit $ac_status); }; }; then
26672   glibcxx_cv_func___builtin_sinl_use=yes
26673 else
26674   echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26676
26677 glibcxx_cv_func___builtin_sinl_use=no
26678 fi
26679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26680       ac_ext=c
26681 ac_cpp='$CPP $CPPFLAGS'
26682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26685
26686
26687 fi
26688
26689   fi
26690   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26691 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26692   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26693     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26694 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26695     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26696       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26697   echo $ECHO_N "(cached) $ECHO_C" >&6
26698 else
26699
26700         if test x$gcc_no_link = xyes; then
26701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26703    { (exit 1); exit 1; }; }
26704 fi
26705 cat >conftest.$ac_ext <<_ACEOF
26706 /* confdefs.h.  */
26707 _ACEOF
26708 cat confdefs.h >>conftest.$ac_ext
26709 cat >>conftest.$ac_ext <<_ACEOF
26710 /* end confdefs.h.  */
26711 #include <math.h>
26712 int
26713 main ()
26714 {
26715  __builtin_sinl(0);
26716   ;
26717   return 0;
26718 }
26719 _ACEOF
26720 rm -f conftest.$ac_objext conftest$ac_exeext
26721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26722   (eval $ac_link) 2>conftest.er1
26723   ac_status=$?
26724   grep -v '^ *+' conftest.er1 >conftest.err
26725   rm -f conftest.er1
26726   cat conftest.err >&5
26727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728   (exit $ac_status); } &&
26729          { ac_try='test -z "$ac_c_werror_flag"
26730                          || test ! -s conftest.err'
26731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26732   (eval $ac_try) 2>&5
26733   ac_status=$?
26734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735   (exit $ac_status); }; } &&
26736          { ac_try='test -s conftest$ac_exeext'
26737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738   (eval $ac_try) 2>&5
26739   ac_status=$?
26740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741   (exit $ac_status); }; }; then
26742   glibcxx_cv_func___builtin_sinl_link=yes
26743 else
26744   echo "$as_me: failed program was:" >&5
26745 sed 's/^/| /' conftest.$ac_ext >&5
26746
26747 glibcxx_cv_func___builtin_sinl_link=no
26748 fi
26749 rm -f conftest.err conftest.$ac_objext \
26750       conftest$ac_exeext conftest.$ac_ext
26751
26752 fi
26753
26754     fi
26755     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26756 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26757     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26758       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26759
26760 cat >>confdefs.h <<_ACEOF
26761 #define ${ac_tr_func} 1
26762 _ACEOF
26763
26764     fi
26765   fi
26766
26767
26768
26769   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26770 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26771   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26772     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26773   echo $ECHO_N "(cached) $ECHO_C" >&6
26774 else
26775
26776
26777
26778       ac_ext=cc
26779 ac_cpp='$CXXCPP $CPPFLAGS'
26780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26783
26784       cat >conftest.$ac_ext <<_ACEOF
26785 /* confdefs.h.  */
26786 _ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h.  */
26790 #include <math.h>
26791 int
26792 main ()
26793 {
26794  __builtin_cosf(0);
26795   ;
26796   return 0;
26797 }
26798 _ACEOF
26799 rm -f conftest.$ac_objext
26800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26801   (eval $ac_compile) 2>conftest.er1
26802   ac_status=$?
26803   grep -v '^ *+' conftest.er1 >conftest.err
26804   rm -f conftest.er1
26805   cat conftest.err >&5
26806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807   (exit $ac_status); } &&
26808          { ac_try='test -z "$ac_cxx_werror_flag"
26809                          || test ! -s conftest.err'
26810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811   (eval $ac_try) 2>&5
26812   ac_status=$?
26813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814   (exit $ac_status); }; } &&
26815          { ac_try='test -s conftest.$ac_objext'
26816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817   (eval $ac_try) 2>&5
26818   ac_status=$?
26819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820   (exit $ac_status); }; }; then
26821   glibcxx_cv_func___builtin_cosf_use=yes
26822 else
26823   echo "$as_me: failed program was:" >&5
26824 sed 's/^/| /' conftest.$ac_ext >&5
26825
26826 glibcxx_cv_func___builtin_cosf_use=no
26827 fi
26828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26829       ac_ext=c
26830 ac_cpp='$CPP $CPPFLAGS'
26831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26834
26835
26836 fi
26837
26838   fi
26839   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26840 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26841   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26842     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26843 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26844     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26845       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26846   echo $ECHO_N "(cached) $ECHO_C" >&6
26847 else
26848
26849         if test x$gcc_no_link = xyes; then
26850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26852    { (exit 1); exit 1; }; }
26853 fi
26854 cat >conftest.$ac_ext <<_ACEOF
26855 /* confdefs.h.  */
26856 _ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h.  */
26860 #include <math.h>
26861 int
26862 main ()
26863 {
26864  __builtin_cosf(0);
26865   ;
26866   return 0;
26867 }
26868 _ACEOF
26869 rm -f conftest.$ac_objext conftest$ac_exeext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26871   (eval $ac_link) 2>conftest.er1
26872   ac_status=$?
26873   grep -v '^ *+' conftest.er1 >conftest.err
26874   rm -f conftest.er1
26875   cat conftest.err >&5
26876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877   (exit $ac_status); } &&
26878          { ac_try='test -z "$ac_c_werror_flag"
26879                          || test ! -s conftest.err'
26880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881   (eval $ac_try) 2>&5
26882   ac_status=$?
26883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884   (exit $ac_status); }; } &&
26885          { ac_try='test -s conftest$ac_exeext'
26886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26887   (eval $ac_try) 2>&5
26888   ac_status=$?
26889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890   (exit $ac_status); }; }; then
26891   glibcxx_cv_func___builtin_cosf_link=yes
26892 else
26893   echo "$as_me: failed program was:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26895
26896 glibcxx_cv_func___builtin_cosf_link=no
26897 fi
26898 rm -f conftest.err conftest.$ac_objext \
26899       conftest$ac_exeext conftest.$ac_ext
26900
26901 fi
26902
26903     fi
26904     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26905 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26906     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26907       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26908
26909 cat >>confdefs.h <<_ACEOF
26910 #define ${ac_tr_func} 1
26911 _ACEOF
26912
26913     fi
26914   fi
26915
26916
26917   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26918 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26919   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26920     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26921   echo $ECHO_N "(cached) $ECHO_C" >&6
26922 else
26923
26924
26925
26926       ac_ext=cc
26927 ac_cpp='$CXXCPP $CPPFLAGS'
26928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26931
26932       cat >conftest.$ac_ext <<_ACEOF
26933 /* confdefs.h.  */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h.  */
26938 #include <math.h>
26939 int
26940 main ()
26941 {
26942  __builtin_cos(0);
26943   ;
26944   return 0;
26945 }
26946 _ACEOF
26947 rm -f conftest.$ac_objext
26948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26949   (eval $ac_compile) 2>conftest.er1
26950   ac_status=$?
26951   grep -v '^ *+' conftest.er1 >conftest.err
26952   rm -f conftest.er1
26953   cat conftest.err >&5
26954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955   (exit $ac_status); } &&
26956          { ac_try='test -z "$ac_cxx_werror_flag"
26957                          || test ! -s conftest.err'
26958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959   (eval $ac_try) 2>&5
26960   ac_status=$?
26961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962   (exit $ac_status); }; } &&
26963          { ac_try='test -s conftest.$ac_objext'
26964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26965   (eval $ac_try) 2>&5
26966   ac_status=$?
26967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968   (exit $ac_status); }; }; then
26969   glibcxx_cv_func___builtin_cos_use=yes
26970 else
26971   echo "$as_me: failed program was:" >&5
26972 sed 's/^/| /' conftest.$ac_ext >&5
26973
26974 glibcxx_cv_func___builtin_cos_use=no
26975 fi
26976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26977       ac_ext=c
26978 ac_cpp='$CPP $CPPFLAGS'
26979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26982
26983
26984 fi
26985
26986   fi
26987   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26988 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26989   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26990     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26991 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26992     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26993       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26994   echo $ECHO_N "(cached) $ECHO_C" >&6
26995 else
26996
26997         if test x$gcc_no_link = xyes; then
26998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27000    { (exit 1); exit 1; }; }
27001 fi
27002 cat >conftest.$ac_ext <<_ACEOF
27003 /* confdefs.h.  */
27004 _ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h.  */
27008 #include <math.h>
27009 int
27010 main ()
27011 {
27012  __builtin_cos(0);
27013   ;
27014   return 0;
27015 }
27016 _ACEOF
27017 rm -f conftest.$ac_objext conftest$ac_exeext
27018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27019   (eval $ac_link) 2>conftest.er1
27020   ac_status=$?
27021   grep -v '^ *+' conftest.er1 >conftest.err
27022   rm -f conftest.er1
27023   cat conftest.err >&5
27024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025   (exit $ac_status); } &&
27026          { ac_try='test -z "$ac_c_werror_flag"
27027                          || test ! -s conftest.err'
27028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029   (eval $ac_try) 2>&5
27030   ac_status=$?
27031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032   (exit $ac_status); }; } &&
27033          { ac_try='test -s conftest$ac_exeext'
27034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035   (eval $ac_try) 2>&5
27036   ac_status=$?
27037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038   (exit $ac_status); }; }; then
27039   glibcxx_cv_func___builtin_cos_link=yes
27040 else
27041   echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.$ac_ext >&5
27043
27044 glibcxx_cv_func___builtin_cos_link=no
27045 fi
27046 rm -f conftest.err conftest.$ac_objext \
27047       conftest$ac_exeext conftest.$ac_ext
27048
27049 fi
27050
27051     fi
27052     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27053 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27054     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27055       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27056
27057 cat >>confdefs.h <<_ACEOF
27058 #define ${ac_tr_func} 1
27059 _ACEOF
27060
27061     fi
27062   fi
27063
27064
27065   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27066 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27067   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27068     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27069   echo $ECHO_N "(cached) $ECHO_C" >&6
27070 else
27071
27072
27073
27074       ac_ext=cc
27075 ac_cpp='$CXXCPP $CPPFLAGS'
27076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27079
27080       cat >conftest.$ac_ext <<_ACEOF
27081 /* confdefs.h.  */
27082 _ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h.  */
27086 #include <math.h>
27087 int
27088 main ()
27089 {
27090  __builtin_cosl(0);
27091   ;
27092   return 0;
27093 }
27094 _ACEOF
27095 rm -f conftest.$ac_objext
27096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27097   (eval $ac_compile) 2>conftest.er1
27098   ac_status=$?
27099   grep -v '^ *+' conftest.er1 >conftest.err
27100   rm -f conftest.er1
27101   cat conftest.err >&5
27102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103   (exit $ac_status); } &&
27104          { ac_try='test -z "$ac_cxx_werror_flag"
27105                          || test ! -s conftest.err'
27106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107   (eval $ac_try) 2>&5
27108   ac_status=$?
27109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110   (exit $ac_status); }; } &&
27111          { ac_try='test -s conftest.$ac_objext'
27112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113   (eval $ac_try) 2>&5
27114   ac_status=$?
27115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116   (exit $ac_status); }; }; then
27117   glibcxx_cv_func___builtin_cosl_use=yes
27118 else
27119   echo "$as_me: failed program was:" >&5
27120 sed 's/^/| /' conftest.$ac_ext >&5
27121
27122 glibcxx_cv_func___builtin_cosl_use=no
27123 fi
27124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27125       ac_ext=c
27126 ac_cpp='$CPP $CPPFLAGS'
27127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130
27131
27132 fi
27133
27134   fi
27135   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27136 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27137   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27138     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27139 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27140     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27141       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27142   echo $ECHO_N "(cached) $ECHO_C" >&6
27143 else
27144
27145         if test x$gcc_no_link = xyes; then
27146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27148    { (exit 1); exit 1; }; }
27149 fi
27150 cat >conftest.$ac_ext <<_ACEOF
27151 /* confdefs.h.  */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h.  */
27156 #include <math.h>
27157 int
27158 main ()
27159 {
27160  __builtin_cosl(0);
27161   ;
27162   return 0;
27163 }
27164 _ACEOF
27165 rm -f conftest.$ac_objext conftest$ac_exeext
27166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27167   (eval $ac_link) 2>conftest.er1
27168   ac_status=$?
27169   grep -v '^ *+' conftest.er1 >conftest.err
27170   rm -f conftest.er1
27171   cat conftest.err >&5
27172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27173   (exit $ac_status); } &&
27174          { ac_try='test -z "$ac_c_werror_flag"
27175                          || test ! -s conftest.err'
27176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27177   (eval $ac_try) 2>&5
27178   ac_status=$?
27179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180   (exit $ac_status); }; } &&
27181          { ac_try='test -s conftest$ac_exeext'
27182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27183   (eval $ac_try) 2>&5
27184   ac_status=$?
27185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186   (exit $ac_status); }; }; then
27187   glibcxx_cv_func___builtin_cosl_link=yes
27188 else
27189   echo "$as_me: failed program was:" >&5
27190 sed 's/^/| /' conftest.$ac_ext >&5
27191
27192 glibcxx_cv_func___builtin_cosl_link=no
27193 fi
27194 rm -f conftest.err conftest.$ac_objext \
27195       conftest$ac_exeext conftest.$ac_ext
27196
27197 fi
27198
27199     fi
27200     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27201 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27202     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27203       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27204
27205 cat >>confdefs.h <<_ACEOF
27206 #define ${ac_tr_func} 1
27207 _ACEOF
27208
27209     fi
27210   fi
27211
27212
27213
27214
27215 echo "$as_me:$LINENO: checking for main in -lm" >&5
27216 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27217 if test "${ac_cv_lib_m_main+set}" = set; then
27218   echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220   ac_check_lib_save_LIBS=$LIBS
27221 LIBS="-lm  $LIBS"
27222 if test x$gcc_no_link = xyes; then
27223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27225    { (exit 1); exit 1; }; }
27226 fi
27227 cat >conftest.$ac_ext <<_ACEOF
27228 /* confdefs.h.  */
27229 _ACEOF
27230 cat confdefs.h >>conftest.$ac_ext
27231 cat >>conftest.$ac_ext <<_ACEOF
27232 /* end confdefs.h.  */
27233
27234
27235 int
27236 main ()
27237 {
27238 main ();
27239   ;
27240   return 0;
27241 }
27242 _ACEOF
27243 rm -f conftest.$ac_objext conftest$ac_exeext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27245   (eval $ac_link) 2>conftest.er1
27246   ac_status=$?
27247   grep -v '^ *+' conftest.er1 >conftest.err
27248   rm -f conftest.er1
27249   cat conftest.err >&5
27250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251   (exit $ac_status); } &&
27252          { ac_try='test -z "$ac_c_werror_flag"
27253                          || test ! -s conftest.err'
27254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255   (eval $ac_try) 2>&5
27256   ac_status=$?
27257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258   (exit $ac_status); }; } &&
27259          { ac_try='test -s conftest$ac_exeext'
27260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261   (eval $ac_try) 2>&5
27262   ac_status=$?
27263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264   (exit $ac_status); }; }; then
27265   ac_cv_lib_m_main=yes
27266 else
27267   echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 ac_cv_lib_m_main=no
27271 fi
27272 rm -f conftest.err conftest.$ac_objext \
27273       conftest$ac_exeext conftest.$ac_ext
27274 LIBS=$ac_check_lib_save_LIBS
27275 fi
27276 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27277 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27278 if test $ac_cv_lib_m_main = yes; then
27279   cat >>confdefs.h <<_ACEOF
27280 #define HAVE_LIBM 1
27281 _ACEOF
27282
27283   LIBS="-lm $LIBS"
27284
27285 fi
27286
27287
27288 for ac_func in copysignf
27289 do
27290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27291 echo "$as_me:$LINENO: checking for $ac_func" >&5
27292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27293 if eval "test \"\${$as_ac_var+set}\" = set"; then
27294   echo $ECHO_N "(cached) $ECHO_C" >&6
27295 else
27296   if test x$gcc_no_link = xyes; then
27297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27299    { (exit 1); exit 1; }; }
27300 fi
27301 cat >conftest.$ac_ext <<_ACEOF
27302 /* confdefs.h.  */
27303 _ACEOF
27304 cat confdefs.h >>conftest.$ac_ext
27305 cat >>conftest.$ac_ext <<_ACEOF
27306 /* end confdefs.h.  */
27307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27309 #define $ac_func innocuous_$ac_func
27310
27311 /* System header to define __stub macros and hopefully few prototypes,
27312     which can conflict with char $ac_func (); below.
27313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27314     <limits.h> exists even on freestanding compilers.  */
27315
27316 #ifdef __STDC__
27317 # include <limits.h>
27318 #else
27319 # include <assert.h>
27320 #endif
27321
27322 #undef $ac_func
27323
27324 /* Override any gcc2 internal prototype to avoid an error.  */
27325 #ifdef __cplusplus
27326 extern "C"
27327 {
27328 #endif
27329 /* We use char because int might match the return type of a gcc2
27330    builtin and then its argument prototype would still apply.  */
27331 char $ac_func ();
27332 /* The GNU C library defines this for functions which it implements
27333     to always fail with ENOSYS.  Some functions are actually named
27334     something starting with __ and the normal name is an alias.  */
27335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27336 choke me
27337 #else
27338 char (*f) () = $ac_func;
27339 #endif
27340 #ifdef __cplusplus
27341 }
27342 #endif
27343
27344 int
27345 main ()
27346 {
27347 return f != $ac_func;
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 rm -f conftest.$ac_objext conftest$ac_exeext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27354   (eval $ac_link) 2>conftest.er1
27355   ac_status=$?
27356   grep -v '^ *+' conftest.er1 >conftest.err
27357   rm -f conftest.er1
27358   cat conftest.err >&5
27359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360   (exit $ac_status); } &&
27361          { ac_try='test -z "$ac_c_werror_flag"
27362                          || test ! -s conftest.err'
27363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364   (eval $ac_try) 2>&5
27365   ac_status=$?
27366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367   (exit $ac_status); }; } &&
27368          { ac_try='test -s conftest$ac_exeext'
27369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370   (eval $ac_try) 2>&5
27371   ac_status=$?
27372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373   (exit $ac_status); }; }; then
27374   eval "$as_ac_var=yes"
27375 else
27376   echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27378
27379 eval "$as_ac_var=no"
27380 fi
27381 rm -f conftest.err conftest.$ac_objext \
27382       conftest$ac_exeext conftest.$ac_ext
27383 fi
27384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27386 if test `eval echo '${'$as_ac_var'}'` = yes; then
27387   cat >>confdefs.h <<_ACEOF
27388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27389 _ACEOF
27390
27391 else
27392   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27393 fi
27394 done
27395
27396
27397
27398 for ac_func in __signbit
27399 do
27400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27401 echo "$as_me:$LINENO: checking for $ac_func" >&5
27402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27403 if eval "test \"\${$as_ac_var+set}\" = set"; then
27404   echo $ECHO_N "(cached) $ECHO_C" >&6
27405 else
27406   if test x$gcc_no_link = xyes; then
27407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27409    { (exit 1); exit 1; }; }
27410 fi
27411 cat >conftest.$ac_ext <<_ACEOF
27412 /* confdefs.h.  */
27413 _ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h.  */
27417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27419 #define $ac_func innocuous_$ac_func
27420
27421 /* System header to define __stub macros and hopefully few prototypes,
27422     which can conflict with char $ac_func (); below.
27423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27424     <limits.h> exists even on freestanding compilers.  */
27425
27426 #ifdef __STDC__
27427 # include <limits.h>
27428 #else
27429 # include <assert.h>
27430 #endif
27431
27432 #undef $ac_func
27433
27434 /* Override any gcc2 internal prototype to avoid an error.  */
27435 #ifdef __cplusplus
27436 extern "C"
27437 {
27438 #endif
27439 /* We use char because int might match the return type of a gcc2
27440    builtin and then its argument prototype would still apply.  */
27441 char $ac_func ();
27442 /* The GNU C library defines this for functions which it implements
27443     to always fail with ENOSYS.  Some functions are actually named
27444     something starting with __ and the normal name is an alias.  */
27445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27446 choke me
27447 #else
27448 char (*f) () = $ac_func;
27449 #endif
27450 #ifdef __cplusplus
27451 }
27452 #endif
27453
27454 int
27455 main ()
27456 {
27457 return f != $ac_func;
27458   ;
27459   return 0;
27460 }
27461 _ACEOF
27462 rm -f conftest.$ac_objext conftest$ac_exeext
27463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27464   (eval $ac_link) 2>conftest.er1
27465   ac_status=$?
27466   grep -v '^ *+' conftest.er1 >conftest.err
27467   rm -f conftest.er1
27468   cat conftest.err >&5
27469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470   (exit $ac_status); } &&
27471          { ac_try='test -z "$ac_c_werror_flag"
27472                          || test ! -s conftest.err'
27473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27474   (eval $ac_try) 2>&5
27475   ac_status=$?
27476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27477   (exit $ac_status); }; } &&
27478          { ac_try='test -s conftest$ac_exeext'
27479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480   (eval $ac_try) 2>&5
27481   ac_status=$?
27482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483   (exit $ac_status); }; }; then
27484   eval "$as_ac_var=yes"
27485 else
27486   echo "$as_me: failed program was:" >&5
27487 sed 's/^/| /' conftest.$ac_ext >&5
27488
27489 eval "$as_ac_var=no"
27490 fi
27491 rm -f conftest.err conftest.$ac_objext \
27492       conftest$ac_exeext conftest.$ac_ext
27493 fi
27494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27496 if test `eval echo '${'$as_ac_var'}'` = yes; then
27497   cat >>confdefs.h <<_ACEOF
27498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27499 _ACEOF
27500
27501 else
27502   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27503 fi
27504 done
27505
27506
27507
27508 for ac_func in __signbitf
27509 do
27510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27511 echo "$as_me:$LINENO: checking for $ac_func" >&5
27512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27513 if eval "test \"\${$as_ac_var+set}\" = set"; then
27514   echo $ECHO_N "(cached) $ECHO_C" >&6
27515 else
27516   if test x$gcc_no_link = xyes; then
27517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27519    { (exit 1); exit 1; }; }
27520 fi
27521 cat >conftest.$ac_ext <<_ACEOF
27522 /* confdefs.h.  */
27523 _ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h.  */
27527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27529 #define $ac_func innocuous_$ac_func
27530
27531 /* System header to define __stub macros and hopefully few prototypes,
27532     which can conflict with char $ac_func (); below.
27533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27534     <limits.h> exists even on freestanding compilers.  */
27535
27536 #ifdef __STDC__
27537 # include <limits.h>
27538 #else
27539 # include <assert.h>
27540 #endif
27541
27542 #undef $ac_func
27543
27544 /* Override any gcc2 internal prototype to avoid an error.  */
27545 #ifdef __cplusplus
27546 extern "C"
27547 {
27548 #endif
27549 /* We use char because int might match the return type of a gcc2
27550    builtin and then its argument prototype would still apply.  */
27551 char $ac_func ();
27552 /* The GNU C library defines this for functions which it implements
27553     to always fail with ENOSYS.  Some functions are actually named
27554     something starting with __ and the normal name is an alias.  */
27555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27556 choke me
27557 #else
27558 char (*f) () = $ac_func;
27559 #endif
27560 #ifdef __cplusplus
27561 }
27562 #endif
27563
27564 int
27565 main ()
27566 {
27567 return f != $ac_func;
27568   ;
27569   return 0;
27570 }
27571 _ACEOF
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574   (eval $ac_link) 2>conftest.er1
27575   ac_status=$?
27576   grep -v '^ *+' conftest.er1 >conftest.err
27577   rm -f conftest.er1
27578   cat conftest.err >&5
27579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580   (exit $ac_status); } &&
27581          { ac_try='test -z "$ac_c_werror_flag"
27582                          || test ! -s conftest.err'
27583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584   (eval $ac_try) 2>&5
27585   ac_status=$?
27586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587   (exit $ac_status); }; } &&
27588          { ac_try='test -s conftest$ac_exeext'
27589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590   (eval $ac_try) 2>&5
27591   ac_status=$?
27592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593   (exit $ac_status); }; }; then
27594   eval "$as_ac_var=yes"
27595 else
27596   echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27598
27599 eval "$as_ac_var=no"
27600 fi
27601 rm -f conftest.err conftest.$ac_objext \
27602       conftest$ac_exeext conftest.$ac_ext
27603 fi
27604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27606 if test `eval echo '${'$as_ac_var'}'` = yes; then
27607   cat >>confdefs.h <<_ACEOF
27608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27609 _ACEOF
27610
27611 else
27612   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27613 fi
27614 done
27615
27616
27617           if test x$ac_cv_func_copysignl = x"yes"; then
27618
27619 for ac_func in __signbitl
27620 do
27621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27622 echo "$as_me:$LINENO: checking for $ac_func" >&5
27623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27624 if eval "test \"\${$as_ac_var+set}\" = set"; then
27625   echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627   if test x$gcc_no_link = xyes; then
27628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27630    { (exit 1); exit 1; }; }
27631 fi
27632 cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h.  */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h.  */
27638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27640 #define $ac_func innocuous_$ac_func
27641
27642 /* System header to define __stub macros and hopefully few prototypes,
27643     which can conflict with char $ac_func (); below.
27644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27645     <limits.h> exists even on freestanding compilers.  */
27646
27647 #ifdef __STDC__
27648 # include <limits.h>
27649 #else
27650 # include <assert.h>
27651 #endif
27652
27653 #undef $ac_func
27654
27655 /* Override any gcc2 internal prototype to avoid an error.  */
27656 #ifdef __cplusplus
27657 extern "C"
27658 {
27659 #endif
27660 /* We use char because int might match the return type of a gcc2
27661    builtin and then its argument prototype would still apply.  */
27662 char $ac_func ();
27663 /* The GNU C library defines this for functions which it implements
27664     to always fail with ENOSYS.  Some functions are actually named
27665     something starting with __ and the normal name is an alias.  */
27666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27667 choke me
27668 #else
27669 char (*f) () = $ac_func;
27670 #endif
27671 #ifdef __cplusplus
27672 }
27673 #endif
27674
27675 int
27676 main ()
27677 {
27678 return f != $ac_func;
27679   ;
27680   return 0;
27681 }
27682 _ACEOF
27683 rm -f conftest.$ac_objext conftest$ac_exeext
27684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27685   (eval $ac_link) 2>conftest.er1
27686   ac_status=$?
27687   grep -v '^ *+' conftest.er1 >conftest.err
27688   rm -f conftest.er1
27689   cat conftest.err >&5
27690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691   (exit $ac_status); } &&
27692          { ac_try='test -z "$ac_c_werror_flag"
27693                          || test ! -s conftest.err'
27694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27695   (eval $ac_try) 2>&5
27696   ac_status=$?
27697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27698   (exit $ac_status); }; } &&
27699          { ac_try='test -s conftest$ac_exeext'
27700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27701   (eval $ac_try) 2>&5
27702   ac_status=$?
27703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704   (exit $ac_status); }; }; then
27705   eval "$as_ac_var=yes"
27706 else
27707   echo "$as_me: failed program was:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27709
27710 eval "$as_ac_var=no"
27711 fi
27712 rm -f conftest.err conftest.$ac_objext \
27713       conftest$ac_exeext conftest.$ac_ext
27714 fi
27715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27717 if test `eval echo '${'$as_ac_var'}'` = yes; then
27718   cat >>confdefs.h <<_ACEOF
27719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27720 _ACEOF
27721
27722 else
27723   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27724 fi
27725 done
27726
27727   fi
27728
27729   # Used in libmath/Makefile.am.
27730   if test -n "$LIBMATHOBJS"; then
27731     need_libmath=yes
27732   fi
27733
27734
27735
27736   # Test wchar.h for mbstate_t, which is needed for char_traits and
27737   # others even if wchar_t support is not on.
27738   echo "$as_me:$LINENO: checking for mbstate_t" >&5
27739 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27740   cat >conftest.$ac_ext <<_ACEOF
27741 /* confdefs.h.  */
27742 _ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h.  */
27746 #include <wchar.h>
27747 int
27748 main ()
27749 {
27750 mbstate_t teststate;
27751   ;
27752   return 0;
27753 }
27754 _ACEOF
27755 rm -f conftest.$ac_objext
27756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27757   (eval $ac_compile) 2>conftest.er1
27758   ac_status=$?
27759   grep -v '^ *+' conftest.er1 >conftest.err
27760   rm -f conftest.er1
27761   cat conftest.err >&5
27762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763   (exit $ac_status); } &&
27764          { ac_try='test -z "$ac_c_werror_flag"
27765                          || test ! -s conftest.err'
27766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27767   (eval $ac_try) 2>&5
27768   ac_status=$?
27769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770   (exit $ac_status); }; } &&
27771          { ac_try='test -s conftest.$ac_objext'
27772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27773   (eval $ac_try) 2>&5
27774   ac_status=$?
27775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776   (exit $ac_status); }; }; then
27777   have_mbstate_t=yes
27778 else
27779   echo "$as_me: failed program was:" >&5
27780 sed 's/^/| /' conftest.$ac_ext >&5
27781
27782 have_mbstate_t=no
27783 fi
27784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27785   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27786 echo "${ECHO_T}$have_mbstate_t" >&6
27787   if test x"$have_mbstate_t" = xyes; then
27788     cat >>confdefs.h <<\_ACEOF
27789 #define HAVE_MBSTATE_T 1
27790 _ACEOF
27791
27792   fi
27793
27794   # Sanity check for existence of ISO C99 headers for extended encoding.
27795
27796 for ac_header in wchar.h
27797 do
27798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27800   echo "$as_me:$LINENO: checking for $ac_header" >&5
27801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27803   echo $ECHO_N "(cached) $ECHO_C" >&6
27804 fi
27805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27807 else
27808   # Is the header compilable?
27809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27811 cat >conftest.$ac_ext <<_ACEOF
27812 /* confdefs.h.  */
27813 _ACEOF
27814 cat confdefs.h >>conftest.$ac_ext
27815 cat >>conftest.$ac_ext <<_ACEOF
27816 /* end confdefs.h.  */
27817 $ac_includes_default
27818 #include <$ac_header>
27819 _ACEOF
27820 rm -f conftest.$ac_objext
27821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27822   (eval $ac_compile) 2>conftest.er1
27823   ac_status=$?
27824   grep -v '^ *+' conftest.er1 >conftest.err
27825   rm -f conftest.er1
27826   cat conftest.err >&5
27827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828   (exit $ac_status); } &&
27829          { ac_try='test -z "$ac_c_werror_flag"
27830                          || test ! -s conftest.err'
27831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27832   (eval $ac_try) 2>&5
27833   ac_status=$?
27834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835   (exit $ac_status); }; } &&
27836          { ac_try='test -s conftest.$ac_objext'
27837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838   (eval $ac_try) 2>&5
27839   ac_status=$?
27840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841   (exit $ac_status); }; }; then
27842   ac_header_compiler=yes
27843 else
27844   echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.$ac_ext >&5
27846
27847 ac_header_compiler=no
27848 fi
27849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27851 echo "${ECHO_T}$ac_header_compiler" >&6
27852
27853 # Is the header present?
27854 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27856 cat >conftest.$ac_ext <<_ACEOF
27857 /* confdefs.h.  */
27858 _ACEOF
27859 cat confdefs.h >>conftest.$ac_ext
27860 cat >>conftest.$ac_ext <<_ACEOF
27861 /* end confdefs.h.  */
27862 #include <$ac_header>
27863 _ACEOF
27864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27865   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27866   ac_status=$?
27867   grep -v '^ *+' conftest.er1 >conftest.err
27868   rm -f conftest.er1
27869   cat conftest.err >&5
27870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871   (exit $ac_status); } >/dev/null; then
27872   if test -s conftest.err; then
27873     ac_cpp_err=$ac_c_preproc_warn_flag
27874     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27875   else
27876     ac_cpp_err=
27877   fi
27878 else
27879   ac_cpp_err=yes
27880 fi
27881 if test -z "$ac_cpp_err"; then
27882   ac_header_preproc=yes
27883 else
27884   echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27886
27887   ac_header_preproc=no
27888 fi
27889 rm -f conftest.err conftest.$ac_ext
27890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27891 echo "${ECHO_T}$ac_header_preproc" >&6
27892
27893 # So?  What about this header?
27894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27895   yes:no: )
27896     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27898     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27900     ac_header_preproc=yes
27901     ;;
27902   no:yes:* )
27903     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27905     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27906 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27907     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27909     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27910 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27911     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27913     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27915     (
27916       cat <<\_ASBOX
27917 ## ----------------------------------------- ##
27918 ## Report this to the package-unused lists.  ##
27919 ## ----------------------------------------- ##
27920 _ASBOX
27921     ) |
27922       sed "s/^/$as_me: WARNING:     /" >&2
27923     ;;
27924 esac
27925 echo "$as_me:$LINENO: checking for $ac_header" >&5
27926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27928   echo $ECHO_N "(cached) $ECHO_C" >&6
27929 else
27930   eval "$as_ac_Header=\$ac_header_preproc"
27931 fi
27932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27934
27935 fi
27936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27937   cat >>confdefs.h <<_ACEOF
27938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27939 _ACEOF
27940  ac_has_wchar_h=yes
27941 else
27942   ac_has_wchar_h=no
27943 fi
27944
27945 done
27946
27947
27948 for ac_header in wctype.h
27949 do
27950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27952   echo "$as_me:$LINENO: checking for $ac_header" >&5
27953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27955   echo $ECHO_N "(cached) $ECHO_C" >&6
27956 fi
27957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27959 else
27960   # Is the header compilable?
27961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27963 cat >conftest.$ac_ext <<_ACEOF
27964 /* confdefs.h.  */
27965 _ACEOF
27966 cat confdefs.h >>conftest.$ac_ext
27967 cat >>conftest.$ac_ext <<_ACEOF
27968 /* end confdefs.h.  */
27969 $ac_includes_default
27970 #include <$ac_header>
27971 _ACEOF
27972 rm -f conftest.$ac_objext
27973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27974   (eval $ac_compile) 2>conftest.er1
27975   ac_status=$?
27976   grep -v '^ *+' conftest.er1 >conftest.err
27977   rm -f conftest.er1
27978   cat conftest.err >&5
27979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980   (exit $ac_status); } &&
27981          { ac_try='test -z "$ac_c_werror_flag"
27982                          || test ! -s conftest.err'
27983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984   (eval $ac_try) 2>&5
27985   ac_status=$?
27986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987   (exit $ac_status); }; } &&
27988          { ac_try='test -s conftest.$ac_objext'
27989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27990   (eval $ac_try) 2>&5
27991   ac_status=$?
27992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993   (exit $ac_status); }; }; then
27994   ac_header_compiler=yes
27995 else
27996   echo "$as_me: failed program was:" >&5
27997 sed 's/^/| /' conftest.$ac_ext >&5
27998
27999 ac_header_compiler=no
28000 fi
28001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28003 echo "${ECHO_T}$ac_header_compiler" >&6
28004
28005 # Is the header present?
28006 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28007 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28008 cat >conftest.$ac_ext <<_ACEOF
28009 /* confdefs.h.  */
28010 _ACEOF
28011 cat confdefs.h >>conftest.$ac_ext
28012 cat >>conftest.$ac_ext <<_ACEOF
28013 /* end confdefs.h.  */
28014 #include <$ac_header>
28015 _ACEOF
28016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28017   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28018   ac_status=$?
28019   grep -v '^ *+' conftest.er1 >conftest.err
28020   rm -f conftest.er1
28021   cat conftest.err >&5
28022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023   (exit $ac_status); } >/dev/null; then
28024   if test -s conftest.err; then
28025     ac_cpp_err=$ac_c_preproc_warn_flag
28026     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28027   else
28028     ac_cpp_err=
28029   fi
28030 else
28031   ac_cpp_err=yes
28032 fi
28033 if test -z "$ac_cpp_err"; then
28034   ac_header_preproc=yes
28035 else
28036   echo "$as_me: failed program was:" >&5
28037 sed 's/^/| /' conftest.$ac_ext >&5
28038
28039   ac_header_preproc=no
28040 fi
28041 rm -f conftest.err conftest.$ac_ext
28042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28043 echo "${ECHO_T}$ac_header_preproc" >&6
28044
28045 # So?  What about this header?
28046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28047   yes:no: )
28048     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28050     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28052     ac_header_preproc=yes
28053     ;;
28054   no:yes:* )
28055     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28057     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28058 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28059     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28061     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28062 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28063     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28065     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28067     (
28068       cat <<\_ASBOX
28069 ## ----------------------------------------- ##
28070 ## Report this to the package-unused lists.  ##
28071 ## ----------------------------------------- ##
28072 _ASBOX
28073     ) |
28074       sed "s/^/$as_me: WARNING:     /" >&2
28075     ;;
28076 esac
28077 echo "$as_me:$LINENO: checking for $ac_header" >&5
28078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28080   echo $ECHO_N "(cached) $ECHO_C" >&6
28081 else
28082   eval "$as_ac_Header=\$ac_header_preproc"
28083 fi
28084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28086
28087 fi
28088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28089   cat >>confdefs.h <<_ACEOF
28090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28091 _ACEOF
28092  ac_has_wctype_h=yes
28093 else
28094   ac_has_wctype_h=no
28095 fi
28096
28097 done
28098
28099
28100   # Only continue checking if the ISO C99 headers exist and support is on.
28101   if test x"$ac_has_wchar_h" = xyes &&
28102      test x"$ac_has_wctype_h" = xyes &&
28103      test x"$enable_c_mbchar" != xno; then
28104
28105     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28106     # numeric_limits can instantiate type_traits<wchar_t>
28107     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28108 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28109     cat >conftest.$ac_ext <<_ACEOF
28110 /* confdefs.h.  */
28111 _ACEOF
28112 cat confdefs.h >>conftest.$ac_ext
28113 cat >>conftest.$ac_ext <<_ACEOF
28114 /* end confdefs.h.  */
28115 #include <wchar.h>
28116 int
28117 main ()
28118 {
28119 int i = WCHAR_MIN; int j = WCHAR_MAX;
28120   ;
28121   return 0;
28122 }
28123 _ACEOF
28124 rm -f conftest.$ac_objext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28126   (eval $ac_compile) 2>conftest.er1
28127   ac_status=$?
28128   grep -v '^ *+' conftest.er1 >conftest.err
28129   rm -f conftest.er1
28130   cat conftest.err >&5
28131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132   (exit $ac_status); } &&
28133          { ac_try='test -z "$ac_c_werror_flag"
28134                          || test ! -s conftest.err'
28135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136   (eval $ac_try) 2>&5
28137   ac_status=$?
28138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139   (exit $ac_status); }; } &&
28140          { ac_try='test -s conftest.$ac_objext'
28141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142   (eval $ac_try) 2>&5
28143   ac_status=$?
28144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145   (exit $ac_status); }; }; then
28146   has_wchar_minmax=yes
28147 else
28148   echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.$ac_ext >&5
28150
28151 has_wchar_minmax=no
28152 fi
28153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28154     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28155 echo "${ECHO_T}$has_wchar_minmax" >&6
28156
28157     # Test wchar.h for WEOF, which is what we use to determine whether
28158     # to specialize for char_traits<wchar_t> or not.
28159     echo "$as_me:$LINENO: checking for WEOF" >&5
28160 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28161     cat >conftest.$ac_ext <<_ACEOF
28162 /* confdefs.h.  */
28163 _ACEOF
28164 cat confdefs.h >>conftest.$ac_ext
28165 cat >>conftest.$ac_ext <<_ACEOF
28166 /* end confdefs.h.  */
28167
28168       #include <wchar.h>
28169       #include <stddef.h>
28170 int
28171 main ()
28172 {
28173 wint_t i = WEOF;
28174   ;
28175   return 0;
28176 }
28177 _ACEOF
28178 rm -f conftest.$ac_objext
28179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28180   (eval $ac_compile) 2>conftest.er1
28181   ac_status=$?
28182   grep -v '^ *+' conftest.er1 >conftest.err
28183   rm -f conftest.er1
28184   cat conftest.err >&5
28185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186   (exit $ac_status); } &&
28187          { ac_try='test -z "$ac_c_werror_flag"
28188                          || test ! -s conftest.err'
28189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190   (eval $ac_try) 2>&5
28191   ac_status=$?
28192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193   (exit $ac_status); }; } &&
28194          { ac_try='test -s conftest.$ac_objext'
28195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196   (eval $ac_try) 2>&5
28197   ac_status=$?
28198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199   (exit $ac_status); }; }; then
28200   has_weof=yes
28201 else
28202   echo "$as_me: failed program was:" >&5
28203 sed 's/^/| /' conftest.$ac_ext >&5
28204
28205 has_weof=no
28206 fi
28207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28208     echo "$as_me:$LINENO: result: $has_weof" >&5
28209 echo "${ECHO_T}$has_weof" >&6
28210
28211     # Tests for wide character functions used in char_traits<wchar_t>.
28212     ac_wfuncs=yes
28213
28214
28215
28216
28217
28218
28219 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28220 do
28221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28222 echo "$as_me:$LINENO: checking for $ac_func" >&5
28223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28224 if eval "test \"\${$as_ac_var+set}\" = set"; then
28225   echo $ECHO_N "(cached) $ECHO_C" >&6
28226 else
28227   if test x$gcc_no_link = xyes; then
28228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28230    { (exit 1); exit 1; }; }
28231 fi
28232 cat >conftest.$ac_ext <<_ACEOF
28233 /* confdefs.h.  */
28234 _ACEOF
28235 cat confdefs.h >>conftest.$ac_ext
28236 cat >>conftest.$ac_ext <<_ACEOF
28237 /* end confdefs.h.  */
28238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28240 #define $ac_func innocuous_$ac_func
28241
28242 /* System header to define __stub macros and hopefully few prototypes,
28243     which can conflict with char $ac_func (); below.
28244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28245     <limits.h> exists even on freestanding compilers.  */
28246
28247 #ifdef __STDC__
28248 # include <limits.h>
28249 #else
28250 # include <assert.h>
28251 #endif
28252
28253 #undef $ac_func
28254
28255 /* Override any gcc2 internal prototype to avoid an error.  */
28256 #ifdef __cplusplus
28257 extern "C"
28258 {
28259 #endif
28260 /* We use char because int might match the return type of a gcc2
28261    builtin and then its argument prototype would still apply.  */
28262 char $ac_func ();
28263 /* The GNU C library defines this for functions which it implements
28264     to always fail with ENOSYS.  Some functions are actually named
28265     something starting with __ and the normal name is an alias.  */
28266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28267 choke me
28268 #else
28269 char (*f) () = $ac_func;
28270 #endif
28271 #ifdef __cplusplus
28272 }
28273 #endif
28274
28275 int
28276 main ()
28277 {
28278 return f != $ac_func;
28279   ;
28280   return 0;
28281 }
28282 _ACEOF
28283 rm -f conftest.$ac_objext conftest$ac_exeext
28284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28285   (eval $ac_link) 2>conftest.er1
28286   ac_status=$?
28287   grep -v '^ *+' conftest.er1 >conftest.err
28288   rm -f conftest.er1
28289   cat conftest.err >&5
28290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291   (exit $ac_status); } &&
28292          { ac_try='test -z "$ac_c_werror_flag"
28293                          || test ! -s conftest.err'
28294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295   (eval $ac_try) 2>&5
28296   ac_status=$?
28297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298   (exit $ac_status); }; } &&
28299          { ac_try='test -s conftest$ac_exeext'
28300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301   (eval $ac_try) 2>&5
28302   ac_status=$?
28303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304   (exit $ac_status); }; }; then
28305   eval "$as_ac_var=yes"
28306 else
28307   echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28309
28310 eval "$as_ac_var=no"
28311 fi
28312 rm -f conftest.err conftest.$ac_objext \
28313       conftest$ac_exeext conftest.$ac_ext
28314 fi
28315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28317 if test `eval echo '${'$as_ac_var'}'` = yes; then
28318   cat >>confdefs.h <<_ACEOF
28319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 _ACEOF
28321
28322 else
28323   ac_wfuncs=no
28324 fi
28325 done
28326
28327
28328     # Checks for names injected into std:: by the c_std headers.
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28376     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28377     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28378     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28379     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28380     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28381 do
28382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28383 echo "$as_me:$LINENO: checking for $ac_func" >&5
28384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28385 if eval "test \"\${$as_ac_var+set}\" = set"; then
28386   echo $ECHO_N "(cached) $ECHO_C" >&6
28387 else
28388   if test x$gcc_no_link = xyes; then
28389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28391    { (exit 1); exit 1; }; }
28392 fi
28393 cat >conftest.$ac_ext <<_ACEOF
28394 /* confdefs.h.  */
28395 _ACEOF
28396 cat confdefs.h >>conftest.$ac_ext
28397 cat >>conftest.$ac_ext <<_ACEOF
28398 /* end confdefs.h.  */
28399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28401 #define $ac_func innocuous_$ac_func
28402
28403 /* System header to define __stub macros and hopefully few prototypes,
28404     which can conflict with char $ac_func (); below.
28405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28406     <limits.h> exists even on freestanding compilers.  */
28407
28408 #ifdef __STDC__
28409 # include <limits.h>
28410 #else
28411 # include <assert.h>
28412 #endif
28413
28414 #undef $ac_func
28415
28416 /* Override any gcc2 internal prototype to avoid an error.  */
28417 #ifdef __cplusplus
28418 extern "C"
28419 {
28420 #endif
28421 /* We use char because int might match the return type of a gcc2
28422    builtin and then its argument prototype would still apply.  */
28423 char $ac_func ();
28424 /* The GNU C library defines this for functions which it implements
28425     to always fail with ENOSYS.  Some functions are actually named
28426     something starting with __ and the normal name is an alias.  */
28427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28428 choke me
28429 #else
28430 char (*f) () = $ac_func;
28431 #endif
28432 #ifdef __cplusplus
28433 }
28434 #endif
28435
28436 int
28437 main ()
28438 {
28439 return f != $ac_func;
28440   ;
28441   return 0;
28442 }
28443 _ACEOF
28444 rm -f conftest.$ac_objext conftest$ac_exeext
28445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28446   (eval $ac_link) 2>conftest.er1
28447   ac_status=$?
28448   grep -v '^ *+' conftest.er1 >conftest.err
28449   rm -f conftest.er1
28450   cat conftest.err >&5
28451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452   (exit $ac_status); } &&
28453          { ac_try='test -z "$ac_c_werror_flag"
28454                          || test ! -s conftest.err'
28455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456   (eval $ac_try) 2>&5
28457   ac_status=$?
28458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459   (exit $ac_status); }; } &&
28460          { ac_try='test -s conftest$ac_exeext'
28461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462   (eval $ac_try) 2>&5
28463   ac_status=$?
28464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465   (exit $ac_status); }; }; then
28466   eval "$as_ac_var=yes"
28467 else
28468   echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.$ac_ext >&5
28470
28471 eval "$as_ac_var=no"
28472 fi
28473 rm -f conftest.err conftest.$ac_objext \
28474       conftest$ac_exeext conftest.$ac_ext
28475 fi
28476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28478 if test `eval echo '${'$as_ac_var'}'` = yes; then
28479   cat >>confdefs.h <<_ACEOF
28480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28481 _ACEOF
28482
28483 else
28484   ac_wfuncs=no
28485 fi
28486 done
28487
28488
28489     # Checks for wide character functions that are not required
28490     # for basic wchar_t support.  Don't disable support if they are missing.
28491     # Injection of these is wrapped with guard macros.
28492
28493
28494
28495
28496
28497 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28498 do
28499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28500 echo "$as_me:$LINENO: checking for $ac_func" >&5
28501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28502 if eval "test \"\${$as_ac_var+set}\" = set"; then
28503   echo $ECHO_N "(cached) $ECHO_C" >&6
28504 else
28505   if test x$gcc_no_link = xyes; then
28506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28508    { (exit 1); exit 1; }; }
28509 fi
28510 cat >conftest.$ac_ext <<_ACEOF
28511 /* confdefs.h.  */
28512 _ACEOF
28513 cat confdefs.h >>conftest.$ac_ext
28514 cat >>conftest.$ac_ext <<_ACEOF
28515 /* end confdefs.h.  */
28516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28517    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28518 #define $ac_func innocuous_$ac_func
28519
28520 /* System header to define __stub macros and hopefully few prototypes,
28521     which can conflict with char $ac_func (); below.
28522     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28523     <limits.h> exists even on freestanding compilers.  */
28524
28525 #ifdef __STDC__
28526 # include <limits.h>
28527 #else
28528 # include <assert.h>
28529 #endif
28530
28531 #undef $ac_func
28532
28533 /* Override any gcc2 internal prototype to avoid an error.  */
28534 #ifdef __cplusplus
28535 extern "C"
28536 {
28537 #endif
28538 /* We use char because int might match the return type of a gcc2
28539    builtin and then its argument prototype would still apply.  */
28540 char $ac_func ();
28541 /* The GNU C library defines this for functions which it implements
28542     to always fail with ENOSYS.  Some functions are actually named
28543     something starting with __ and the normal name is an alias.  */
28544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28545 choke me
28546 #else
28547 char (*f) () = $ac_func;
28548 #endif
28549 #ifdef __cplusplus
28550 }
28551 #endif
28552
28553 int
28554 main ()
28555 {
28556 return f != $ac_func;
28557   ;
28558   return 0;
28559 }
28560 _ACEOF
28561 rm -f conftest.$ac_objext conftest$ac_exeext
28562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28563   (eval $ac_link) 2>conftest.er1
28564   ac_status=$?
28565   grep -v '^ *+' conftest.er1 >conftest.err
28566   rm -f conftest.er1
28567   cat conftest.err >&5
28568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569   (exit $ac_status); } &&
28570          { ac_try='test -z "$ac_c_werror_flag"
28571                          || test ! -s conftest.err'
28572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28573   (eval $ac_try) 2>&5
28574   ac_status=$?
28575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576   (exit $ac_status); }; } &&
28577          { ac_try='test -s conftest$ac_exeext'
28578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28579   (eval $ac_try) 2>&5
28580   ac_status=$?
28581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582   (exit $ac_status); }; }; then
28583   eval "$as_ac_var=yes"
28584 else
28585   echo "$as_me: failed program was:" >&5
28586 sed 's/^/| /' conftest.$ac_ext >&5
28587
28588 eval "$as_ac_var=no"
28589 fi
28590 rm -f conftest.err conftest.$ac_objext \
28591       conftest$ac_exeext conftest.$ac_ext
28592 fi
28593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28595 if test `eval echo '${'$as_ac_var'}'` = yes; then
28596   cat >>confdefs.h <<_ACEOF
28597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28598 _ACEOF
28599
28600 fi
28601 done
28602
28603
28604     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28605 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28606     if test x"$has_weof" = xyes &&
28607        test x"$has_wchar_minmax" = xyes &&
28608        test x"$ac_wfuncs" = xyes;
28609     then
28610       ac_isoC99_wchar_t=yes
28611     else
28612       ac_isoC99_wchar_t=no
28613     fi
28614     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28615 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28616
28617     # Use iconv for wchar_t to char conversions. As such, check for
28618     # X/Open Portability Guide, version 2 features (XPG2).
28619     if test "${ac_cv_header_iconv_h+set}" = set; then
28620   echo "$as_me:$LINENO: checking for iconv.h" >&5
28621 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28622 if test "${ac_cv_header_iconv_h+set}" = set; then
28623   echo $ECHO_N "(cached) $ECHO_C" >&6
28624 fi
28625 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28626 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28627 else
28628   # Is the header compilable?
28629 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28630 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28631 cat >conftest.$ac_ext <<_ACEOF
28632 /* confdefs.h.  */
28633 _ACEOF
28634 cat confdefs.h >>conftest.$ac_ext
28635 cat >>conftest.$ac_ext <<_ACEOF
28636 /* end confdefs.h.  */
28637 $ac_includes_default
28638 #include <iconv.h>
28639 _ACEOF
28640 rm -f conftest.$ac_objext
28641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28642   (eval $ac_compile) 2>conftest.er1
28643   ac_status=$?
28644   grep -v '^ *+' conftest.er1 >conftest.err
28645   rm -f conftest.er1
28646   cat conftest.err >&5
28647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648   (exit $ac_status); } &&
28649          { ac_try='test -z "$ac_c_werror_flag"
28650                          || test ! -s conftest.err'
28651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652   (eval $ac_try) 2>&5
28653   ac_status=$?
28654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655   (exit $ac_status); }; } &&
28656          { ac_try='test -s conftest.$ac_objext'
28657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28658   (eval $ac_try) 2>&5
28659   ac_status=$?
28660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661   (exit $ac_status); }; }; then
28662   ac_header_compiler=yes
28663 else
28664   echo "$as_me: failed program was:" >&5
28665 sed 's/^/| /' conftest.$ac_ext >&5
28666
28667 ac_header_compiler=no
28668 fi
28669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28671 echo "${ECHO_T}$ac_header_compiler" >&6
28672
28673 # Is the header present?
28674 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28675 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28676 cat >conftest.$ac_ext <<_ACEOF
28677 /* confdefs.h.  */
28678 _ACEOF
28679 cat confdefs.h >>conftest.$ac_ext
28680 cat >>conftest.$ac_ext <<_ACEOF
28681 /* end confdefs.h.  */
28682 #include <iconv.h>
28683 _ACEOF
28684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28685   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28686   ac_status=$?
28687   grep -v '^ *+' conftest.er1 >conftest.err
28688   rm -f conftest.er1
28689   cat conftest.err >&5
28690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691   (exit $ac_status); } >/dev/null; then
28692   if test -s conftest.err; then
28693     ac_cpp_err=$ac_c_preproc_warn_flag
28694     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28695   else
28696     ac_cpp_err=
28697   fi
28698 else
28699   ac_cpp_err=yes
28700 fi
28701 if test -z "$ac_cpp_err"; then
28702   ac_header_preproc=yes
28703 else
28704   echo "$as_me: failed program was:" >&5
28705 sed 's/^/| /' conftest.$ac_ext >&5
28706
28707   ac_header_preproc=no
28708 fi
28709 rm -f conftest.err conftest.$ac_ext
28710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28711 echo "${ECHO_T}$ac_header_preproc" >&6
28712
28713 # So?  What about this header?
28714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28715   yes:no: )
28716     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28717 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28718     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28719 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28720     ac_header_preproc=yes
28721     ;;
28722   no:yes:* )
28723     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28724 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28725     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28726 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28727     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28728 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28729     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28730 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28731     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28732 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28733     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28734 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28735     (
28736       cat <<\_ASBOX
28737 ## ----------------------------------------- ##
28738 ## Report this to the package-unused lists.  ##
28739 ## ----------------------------------------- ##
28740 _ASBOX
28741     ) |
28742       sed "s/^/$as_me: WARNING:     /" >&2
28743     ;;
28744 esac
28745 echo "$as_me:$LINENO: checking for iconv.h" >&5
28746 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28747 if test "${ac_cv_header_iconv_h+set}" = set; then
28748   echo $ECHO_N "(cached) $ECHO_C" >&6
28749 else
28750   ac_cv_header_iconv_h=$ac_header_preproc
28751 fi
28752 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28753 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28754
28755 fi
28756 if test $ac_cv_header_iconv_h = yes; then
28757   ac_has_iconv_h=yes
28758 else
28759   ac_has_iconv_h=no
28760 fi
28761
28762
28763     if test "${ac_cv_header_langinfo_h+set}" = set; then
28764   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28765 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28766 if test "${ac_cv_header_langinfo_h+set}" = set; then
28767   echo $ECHO_N "(cached) $ECHO_C" >&6
28768 fi
28769 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28770 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28771 else
28772   # Is the header compilable?
28773 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28774 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28775 cat >conftest.$ac_ext <<_ACEOF
28776 /* confdefs.h.  */
28777 _ACEOF
28778 cat confdefs.h >>conftest.$ac_ext
28779 cat >>conftest.$ac_ext <<_ACEOF
28780 /* end confdefs.h.  */
28781 $ac_includes_default
28782 #include <langinfo.h>
28783 _ACEOF
28784 rm -f conftest.$ac_objext
28785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28786   (eval $ac_compile) 2>conftest.er1
28787   ac_status=$?
28788   grep -v '^ *+' conftest.er1 >conftest.err
28789   rm -f conftest.er1
28790   cat conftest.err >&5
28791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792   (exit $ac_status); } &&
28793          { ac_try='test -z "$ac_c_werror_flag"
28794                          || test ! -s conftest.err'
28795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28796   (eval $ac_try) 2>&5
28797   ac_status=$?
28798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799   (exit $ac_status); }; } &&
28800          { ac_try='test -s conftest.$ac_objext'
28801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28802   (eval $ac_try) 2>&5
28803   ac_status=$?
28804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805   (exit $ac_status); }; }; then
28806   ac_header_compiler=yes
28807 else
28808   echo "$as_me: failed program was:" >&5
28809 sed 's/^/| /' conftest.$ac_ext >&5
28810
28811 ac_header_compiler=no
28812 fi
28813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28815 echo "${ECHO_T}$ac_header_compiler" >&6
28816
28817 # Is the header present?
28818 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28819 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28820 cat >conftest.$ac_ext <<_ACEOF
28821 /* confdefs.h.  */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h.  */
28826 #include <langinfo.h>
28827 _ACEOF
28828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28829   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28830   ac_status=$?
28831   grep -v '^ *+' conftest.er1 >conftest.err
28832   rm -f conftest.er1
28833   cat conftest.err >&5
28834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835   (exit $ac_status); } >/dev/null; then
28836   if test -s conftest.err; then
28837     ac_cpp_err=$ac_c_preproc_warn_flag
28838     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28839   else
28840     ac_cpp_err=
28841   fi
28842 else
28843   ac_cpp_err=yes
28844 fi
28845 if test -z "$ac_cpp_err"; then
28846   ac_header_preproc=yes
28847 else
28848   echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851   ac_header_preproc=no
28852 fi
28853 rm -f conftest.err conftest.$ac_ext
28854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28855 echo "${ECHO_T}$ac_header_preproc" >&6
28856
28857 # So?  What about this header?
28858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28859   yes:no: )
28860     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28861 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28862     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28863 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28864     ac_header_preproc=yes
28865     ;;
28866   no:yes:* )
28867     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28868 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28869     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28870 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28871     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28872 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28873     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28874 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28875     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28876 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28877     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28878 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28879     (
28880       cat <<\_ASBOX
28881 ## ----------------------------------------- ##
28882 ## Report this to the package-unused lists.  ##
28883 ## ----------------------------------------- ##
28884 _ASBOX
28885     ) |
28886       sed "s/^/$as_me: WARNING:     /" >&2
28887     ;;
28888 esac
28889 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28890 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28891 if test "${ac_cv_header_langinfo_h+set}" = set; then
28892   echo $ECHO_N "(cached) $ECHO_C" >&6
28893 else
28894   ac_cv_header_langinfo_h=$ac_header_preproc
28895 fi
28896 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28897 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28898
28899 fi
28900 if test $ac_cv_header_langinfo_h = yes; then
28901   ac_has_langinfo_h=yes
28902 else
28903   ac_has_langinfo_h=no
28904 fi
28905
28906
28907
28908     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28909     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28910 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28911 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28912   echo $ECHO_N "(cached) $ECHO_C" >&6
28913 else
28914   ac_check_lib_save_LIBS=$LIBS
28915 LIBS="-liconv  $LIBS"
28916 if test x$gcc_no_link = xyes; then
28917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28919    { (exit 1); exit 1; }; }
28920 fi
28921 cat >conftest.$ac_ext <<_ACEOF
28922 /* confdefs.h.  */
28923 _ACEOF
28924 cat confdefs.h >>conftest.$ac_ext
28925 cat >>conftest.$ac_ext <<_ACEOF
28926 /* end confdefs.h.  */
28927
28928 /* Override any gcc2 internal prototype to avoid an error.  */
28929 #ifdef __cplusplus
28930 extern "C"
28931 #endif
28932 /* We use char because int might match the return type of a gcc2
28933    builtin and then its argument prototype would still apply.  */
28934 char iconv ();
28935 int
28936 main ()
28937 {
28938 iconv ();
28939   ;
28940   return 0;
28941 }
28942 _ACEOF
28943 rm -f conftest.$ac_objext conftest$ac_exeext
28944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28945   (eval $ac_link) 2>conftest.er1
28946   ac_status=$?
28947   grep -v '^ *+' conftest.er1 >conftest.err
28948   rm -f conftest.er1
28949   cat conftest.err >&5
28950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951   (exit $ac_status); } &&
28952          { ac_try='test -z "$ac_c_werror_flag"
28953                          || test ! -s conftest.err'
28954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955   (eval $ac_try) 2>&5
28956   ac_status=$?
28957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958   (exit $ac_status); }; } &&
28959          { ac_try='test -s conftest$ac_exeext'
28960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28961   (eval $ac_try) 2>&5
28962   ac_status=$?
28963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28964   (exit $ac_status); }; }; then
28965   ac_cv_lib_iconv_iconv=yes
28966 else
28967   echo "$as_me: failed program was:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28969
28970 ac_cv_lib_iconv_iconv=no
28971 fi
28972 rm -f conftest.err conftest.$ac_objext \
28973       conftest$ac_exeext conftest.$ac_ext
28974 LIBS=$ac_check_lib_save_LIBS
28975 fi
28976 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28977 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28978 if test $ac_cv_lib_iconv_iconv = yes; then
28979   libiconv="-liconv"
28980 fi
28981
28982     ac_save_LIBS="$LIBS"
28983     LIBS="$LIBS $libiconv"
28984
28985
28986
28987
28988
28989 for ac_func in iconv_open iconv_close iconv nl_langinfo
28990 do
28991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28992 echo "$as_me:$LINENO: checking for $ac_func" >&5
28993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28994 if eval "test \"\${$as_ac_var+set}\" = set"; then
28995   echo $ECHO_N "(cached) $ECHO_C" >&6
28996 else
28997   if test x$gcc_no_link = xyes; then
28998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29000    { (exit 1); exit 1; }; }
29001 fi
29002 cat >conftest.$ac_ext <<_ACEOF
29003 /* confdefs.h.  */
29004 _ACEOF
29005 cat confdefs.h >>conftest.$ac_ext
29006 cat >>conftest.$ac_ext <<_ACEOF
29007 /* end confdefs.h.  */
29008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29010 #define $ac_func innocuous_$ac_func
29011
29012 /* System header to define __stub macros and hopefully few prototypes,
29013     which can conflict with char $ac_func (); below.
29014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29015     <limits.h> exists even on freestanding compilers.  */
29016
29017 #ifdef __STDC__
29018 # include <limits.h>
29019 #else
29020 # include <assert.h>
29021 #endif
29022
29023 #undef $ac_func
29024
29025 /* Override any gcc2 internal prototype to avoid an error.  */
29026 #ifdef __cplusplus
29027 extern "C"
29028 {
29029 #endif
29030 /* We use char because int might match the return type of a gcc2
29031    builtin and then its argument prototype would still apply.  */
29032 char $ac_func ();
29033 /* The GNU C library defines this for functions which it implements
29034     to always fail with ENOSYS.  Some functions are actually named
29035     something starting with __ and the normal name is an alias.  */
29036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29037 choke me
29038 #else
29039 char (*f) () = $ac_func;
29040 #endif
29041 #ifdef __cplusplus
29042 }
29043 #endif
29044
29045 int
29046 main ()
29047 {
29048 return f != $ac_func;
29049   ;
29050   return 0;
29051 }
29052 _ACEOF
29053 rm -f conftest.$ac_objext conftest$ac_exeext
29054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29055   (eval $ac_link) 2>conftest.er1
29056   ac_status=$?
29057   grep -v '^ *+' conftest.er1 >conftest.err
29058   rm -f conftest.er1
29059   cat conftest.err >&5
29060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061   (exit $ac_status); } &&
29062          { ac_try='test -z "$ac_c_werror_flag"
29063                          || test ! -s conftest.err'
29064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29065   (eval $ac_try) 2>&5
29066   ac_status=$?
29067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068   (exit $ac_status); }; } &&
29069          { ac_try='test -s conftest$ac_exeext'
29070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29071   (eval $ac_try) 2>&5
29072   ac_status=$?
29073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074   (exit $ac_status); }; }; then
29075   eval "$as_ac_var=yes"
29076 else
29077   echo "$as_me: failed program was:" >&5
29078 sed 's/^/| /' conftest.$ac_ext >&5
29079
29080 eval "$as_ac_var=no"
29081 fi
29082 rm -f conftest.err conftest.$ac_objext \
29083       conftest$ac_exeext conftest.$ac_ext
29084 fi
29085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29087 if test `eval echo '${'$as_ac_var'}'` = yes; then
29088   cat >>confdefs.h <<_ACEOF
29089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29090 _ACEOF
29091  ac_XPG2funcs=yes
29092 else
29093   ac_XPG2funcs=no
29094 fi
29095 done
29096
29097
29098     LIBS="$ac_save_LIBS"
29099
29100     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29101 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29102     if test x"$ac_has_iconv_h" = xyes &&
29103        test x"$ac_has_langinfo_h" = xyes &&
29104        test x"$ac_XPG2funcs" = xyes;
29105     then
29106       ac_XPG2_wchar_t=yes
29107     else
29108       ac_XPG2_wchar_t=no
29109     fi
29110     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29111 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29112
29113     # At the moment, only enable wchar_t specializations if all the
29114     # above support is present.
29115     if test x"$ac_isoC99_wchar_t" = xyes &&
29116        test x"$ac_XPG2_wchar_t" = xyes;
29117     then
29118       cat >>confdefs.h <<\_ACEOF
29119 #define _GLIBCXX_USE_WCHAR_T 1
29120 _ACEOF
29121
29122       enable_wchar_t=yes
29123     fi
29124   fi
29125   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29126 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29127   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29128 echo "${ECHO_T}$enable_wchar_t" >&6
29129
29130
29131   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29132   ac_save_CXXFLAGS="$CXXFLAGS"
29133   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29134
29135
29136   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29137 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29138   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29139     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29140   echo $ECHO_N "(cached) $ECHO_C" >&6
29141 else
29142
29143
29144
29145       ac_ext=cc
29146 ac_cpp='$CXXCPP $CPPFLAGS'
29147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29150
29151       cat >conftest.$ac_ext <<_ACEOF
29152 /* confdefs.h.  */
29153 _ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h.  */
29157 #include <stdlib.h>
29158 int
29159 main ()
29160 {
29161  strtold(0, 0);
29162   ;
29163   return 0;
29164 }
29165 _ACEOF
29166 rm -f conftest.$ac_objext
29167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29168   (eval $ac_compile) 2>conftest.er1
29169   ac_status=$?
29170   grep -v '^ *+' conftest.er1 >conftest.err
29171   rm -f conftest.er1
29172   cat conftest.err >&5
29173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174   (exit $ac_status); } &&
29175          { ac_try='test -z "$ac_cxx_werror_flag"
29176                          || test ! -s conftest.err'
29177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178   (eval $ac_try) 2>&5
29179   ac_status=$?
29180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181   (exit $ac_status); }; } &&
29182          { ac_try='test -s conftest.$ac_objext'
29183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29184   (eval $ac_try) 2>&5
29185   ac_status=$?
29186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187   (exit $ac_status); }; }; then
29188   glibcxx_cv_func_strtold_use=yes
29189 else
29190   echo "$as_me: failed program was:" >&5
29191 sed 's/^/| /' conftest.$ac_ext >&5
29192
29193 glibcxx_cv_func_strtold_use=no
29194 fi
29195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29196       ac_ext=c
29197 ac_cpp='$CPP $CPPFLAGS'
29198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29201
29202
29203 fi
29204
29205   fi
29206   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29207 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29208   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29209
29210 for ac_func in strtold
29211 do
29212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29213 echo "$as_me:$LINENO: checking for $ac_func" >&5
29214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29215 if eval "test \"\${$as_ac_var+set}\" = set"; then
29216   echo $ECHO_N "(cached) $ECHO_C" >&6
29217 else
29218   if test x$gcc_no_link = xyes; then
29219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29221    { (exit 1); exit 1; }; }
29222 fi
29223 cat >conftest.$ac_ext <<_ACEOF
29224 /* confdefs.h.  */
29225 _ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h.  */
29229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29231 #define $ac_func innocuous_$ac_func
29232
29233 /* System header to define __stub macros and hopefully few prototypes,
29234     which can conflict with char $ac_func (); below.
29235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29236     <limits.h> exists even on freestanding compilers.  */
29237
29238 #ifdef __STDC__
29239 # include <limits.h>
29240 #else
29241 # include <assert.h>
29242 #endif
29243
29244 #undef $ac_func
29245
29246 /* Override any gcc2 internal prototype to avoid an error.  */
29247 #ifdef __cplusplus
29248 extern "C"
29249 {
29250 #endif
29251 /* We use char because int might match the return type of a gcc2
29252    builtin and then its argument prototype would still apply.  */
29253 char $ac_func ();
29254 /* The GNU C library defines this for functions which it implements
29255     to always fail with ENOSYS.  Some functions are actually named
29256     something starting with __ and the normal name is an alias.  */
29257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29258 choke me
29259 #else
29260 char (*f) () = $ac_func;
29261 #endif
29262 #ifdef __cplusplus
29263 }
29264 #endif
29265
29266 int
29267 main ()
29268 {
29269 return f != $ac_func;
29270   ;
29271   return 0;
29272 }
29273 _ACEOF
29274 rm -f conftest.$ac_objext conftest$ac_exeext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29276   (eval $ac_link) 2>conftest.er1
29277   ac_status=$?
29278   grep -v '^ *+' conftest.er1 >conftest.err
29279   rm -f conftest.er1
29280   cat conftest.err >&5
29281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282   (exit $ac_status); } &&
29283          { ac_try='test -z "$ac_c_werror_flag"
29284                          || test ! -s conftest.err'
29285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286   (eval $ac_try) 2>&5
29287   ac_status=$?
29288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289   (exit $ac_status); }; } &&
29290          { ac_try='test -s conftest$ac_exeext'
29291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292   (eval $ac_try) 2>&5
29293   ac_status=$?
29294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295   (exit $ac_status); }; }; then
29296   eval "$as_ac_var=yes"
29297 else
29298   echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301 eval "$as_ac_var=no"
29302 fi
29303 rm -f conftest.err conftest.$ac_objext \
29304       conftest$ac_exeext conftest.$ac_ext
29305 fi
29306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29308 if test `eval echo '${'$as_ac_var'}'` = yes; then
29309   cat >>confdefs.h <<_ACEOF
29310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29311 _ACEOF
29312
29313 fi
29314 done
29315
29316   fi
29317
29318
29319   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29320 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29321   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29322     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29323   echo $ECHO_N "(cached) $ECHO_C" >&6
29324 else
29325
29326
29327
29328       ac_ext=cc
29329 ac_cpp='$CXXCPP $CPPFLAGS'
29330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29333
29334       cat >conftest.$ac_ext <<_ACEOF
29335 /* confdefs.h.  */
29336 _ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h.  */
29340 #include <stdlib.h>
29341 int
29342 main ()
29343 {
29344  strtof(0, 0);
29345   ;
29346   return 0;
29347 }
29348 _ACEOF
29349 rm -f conftest.$ac_objext
29350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29351   (eval $ac_compile) 2>conftest.er1
29352   ac_status=$?
29353   grep -v '^ *+' conftest.er1 >conftest.err
29354   rm -f conftest.er1
29355   cat conftest.err >&5
29356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29357   (exit $ac_status); } &&
29358          { ac_try='test -z "$ac_cxx_werror_flag"
29359                          || test ! -s conftest.err'
29360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361   (eval $ac_try) 2>&5
29362   ac_status=$?
29363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364   (exit $ac_status); }; } &&
29365          { ac_try='test -s conftest.$ac_objext'
29366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29367   (eval $ac_try) 2>&5
29368   ac_status=$?
29369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370   (exit $ac_status); }; }; then
29371   glibcxx_cv_func_strtof_use=yes
29372 else
29373   echo "$as_me: failed program was:" >&5
29374 sed 's/^/| /' conftest.$ac_ext >&5
29375
29376 glibcxx_cv_func_strtof_use=no
29377 fi
29378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29379       ac_ext=c
29380 ac_cpp='$CPP $CPPFLAGS'
29381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29384
29385
29386 fi
29387
29388   fi
29389   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29390 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29391   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29392
29393 for ac_func in strtof
29394 do
29395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29396 echo "$as_me:$LINENO: checking for $ac_func" >&5
29397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29398 if eval "test \"\${$as_ac_var+set}\" = set"; then
29399   echo $ECHO_N "(cached) $ECHO_C" >&6
29400 else
29401   if test x$gcc_no_link = xyes; then
29402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29404    { (exit 1); exit 1; }; }
29405 fi
29406 cat >conftest.$ac_ext <<_ACEOF
29407 /* confdefs.h.  */
29408 _ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h.  */
29412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29414 #define $ac_func innocuous_$ac_func
29415
29416 /* System header to define __stub macros and hopefully few prototypes,
29417     which can conflict with char $ac_func (); below.
29418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29419     <limits.h> exists even on freestanding compilers.  */
29420
29421 #ifdef __STDC__
29422 # include <limits.h>
29423 #else
29424 # include <assert.h>
29425 #endif
29426
29427 #undef $ac_func
29428
29429 /* Override any gcc2 internal prototype to avoid an error.  */
29430 #ifdef __cplusplus
29431 extern "C"
29432 {
29433 #endif
29434 /* We use char because int might match the return type of a gcc2
29435    builtin and then its argument prototype would still apply.  */
29436 char $ac_func ();
29437 /* The GNU C library defines this for functions which it implements
29438     to always fail with ENOSYS.  Some functions are actually named
29439     something starting with __ and the normal name is an alias.  */
29440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29441 choke me
29442 #else
29443 char (*f) () = $ac_func;
29444 #endif
29445 #ifdef __cplusplus
29446 }
29447 #endif
29448
29449 int
29450 main ()
29451 {
29452 return f != $ac_func;
29453   ;
29454   return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext conftest$ac_exeext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29459   (eval $ac_link) 2>conftest.er1
29460   ac_status=$?
29461   grep -v '^ *+' conftest.er1 >conftest.err
29462   rm -f conftest.er1
29463   cat conftest.err >&5
29464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465   (exit $ac_status); } &&
29466          { ac_try='test -z "$ac_c_werror_flag"
29467                          || test ! -s conftest.err'
29468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469   (eval $ac_try) 2>&5
29470   ac_status=$?
29471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472   (exit $ac_status); }; } &&
29473          { ac_try='test -s conftest$ac_exeext'
29474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475   (eval $ac_try) 2>&5
29476   ac_status=$?
29477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478   (exit $ac_status); }; }; then
29479   eval "$as_ac_var=yes"
29480 else
29481   echo "$as_me: failed program was:" >&5
29482 sed 's/^/| /' conftest.$ac_ext >&5
29483
29484 eval "$as_ac_var=no"
29485 fi
29486 rm -f conftest.err conftest.$ac_objext \
29487       conftest$ac_exeext conftest.$ac_ext
29488 fi
29489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29491 if test `eval echo '${'$as_ac_var'}'` = yes; then
29492   cat >>confdefs.h <<_ACEOF
29493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29494 _ACEOF
29495
29496 fi
29497 done
29498
29499   fi
29500
29501
29502   CXXFLAGS="$ac_save_CXXFLAGS"
29503
29504
29505   # For showmanyc_helper().
29506
29507
29508 for ac_header in sys/ioctl.h sys/filio.h
29509 do
29510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29512   echo "$as_me:$LINENO: checking for $ac_header" >&5
29513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29515   echo $ECHO_N "(cached) $ECHO_C" >&6
29516 fi
29517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29519 else
29520   # Is the header compilable?
29521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29523 cat >conftest.$ac_ext <<_ACEOF
29524 /* confdefs.h.  */
29525 _ACEOF
29526 cat confdefs.h >>conftest.$ac_ext
29527 cat >>conftest.$ac_ext <<_ACEOF
29528 /* end confdefs.h.  */
29529 $ac_includes_default
29530 #include <$ac_header>
29531 _ACEOF
29532 rm -f conftest.$ac_objext
29533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29534   (eval $ac_compile) 2>conftest.er1
29535   ac_status=$?
29536   grep -v '^ *+' conftest.er1 >conftest.err
29537   rm -f conftest.er1
29538   cat conftest.err >&5
29539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540   (exit $ac_status); } &&
29541          { ac_try='test -z "$ac_c_werror_flag"
29542                          || test ! -s conftest.err'
29543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544   (eval $ac_try) 2>&5
29545   ac_status=$?
29546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547   (exit $ac_status); }; } &&
29548          { ac_try='test -s conftest.$ac_objext'
29549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29550   (eval $ac_try) 2>&5
29551   ac_status=$?
29552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553   (exit $ac_status); }; }; then
29554   ac_header_compiler=yes
29555 else
29556   echo "$as_me: failed program was:" >&5
29557 sed 's/^/| /' conftest.$ac_ext >&5
29558
29559 ac_header_compiler=no
29560 fi
29561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29563 echo "${ECHO_T}$ac_header_compiler" >&6
29564
29565 # Is the header present?
29566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29568 cat >conftest.$ac_ext <<_ACEOF
29569 /* confdefs.h.  */
29570 _ACEOF
29571 cat confdefs.h >>conftest.$ac_ext
29572 cat >>conftest.$ac_ext <<_ACEOF
29573 /* end confdefs.h.  */
29574 #include <$ac_header>
29575 _ACEOF
29576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29577   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29578   ac_status=$?
29579   grep -v '^ *+' conftest.er1 >conftest.err
29580   rm -f conftest.er1
29581   cat conftest.err >&5
29582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583   (exit $ac_status); } >/dev/null; then
29584   if test -s conftest.err; then
29585     ac_cpp_err=$ac_c_preproc_warn_flag
29586     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29587   else
29588     ac_cpp_err=
29589   fi
29590 else
29591   ac_cpp_err=yes
29592 fi
29593 if test -z "$ac_cpp_err"; then
29594   ac_header_preproc=yes
29595 else
29596   echo "$as_me: failed program was:" >&5
29597 sed 's/^/| /' conftest.$ac_ext >&5
29598
29599   ac_header_preproc=no
29600 fi
29601 rm -f conftest.err conftest.$ac_ext
29602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29603 echo "${ECHO_T}$ac_header_preproc" >&6
29604
29605 # So?  What about this header?
29606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29607   yes:no: )
29608     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29610     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29611 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29612     ac_header_preproc=yes
29613     ;;
29614   no:yes:* )
29615     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29617     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29618 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29619     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29620 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29621     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29622 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29623     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29625     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29626 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29627     (
29628       cat <<\_ASBOX
29629 ## ----------------------------------------- ##
29630 ## Report this to the package-unused lists.  ##
29631 ## ----------------------------------------- ##
29632 _ASBOX
29633     ) |
29634       sed "s/^/$as_me: WARNING:     /" >&2
29635     ;;
29636 esac
29637 echo "$as_me:$LINENO: checking for $ac_header" >&5
29638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29640   echo $ECHO_N "(cached) $ECHO_C" >&6
29641 else
29642   eval "$as_ac_Header=\$ac_header_preproc"
29643 fi
29644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29646
29647 fi
29648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29649   cat >>confdefs.h <<_ACEOF
29650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29651 _ACEOF
29652
29653 fi
29654
29655 done
29656
29657
29658   if test "${glibcxx_cv_POLL+set}" = set; then
29659   echo $ECHO_N "(cached) $ECHO_C" >&6
29660 else
29661
29662     if test x$gcc_no_link = xyes; then
29663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29665    { (exit 1); exit 1; }; }
29666 fi
29667 cat >conftest.$ac_ext <<_ACEOF
29668 /* confdefs.h.  */
29669 _ACEOF
29670 cat confdefs.h >>conftest.$ac_ext
29671 cat >>conftest.$ac_ext <<_ACEOF
29672 /* end confdefs.h.  */
29673 #include <poll.h>
29674 int
29675 main ()
29676 {
29677 struct pollfd pfd[1];
29678        pfd[0].events = POLLIN;
29679        poll(pfd, 1, 0);
29680   ;
29681   return 0;
29682 }
29683 _ACEOF
29684 rm -f conftest.$ac_objext conftest$ac_exeext
29685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29686   (eval $ac_link) 2>conftest.er1
29687   ac_status=$?
29688   grep -v '^ *+' conftest.er1 >conftest.err
29689   rm -f conftest.er1
29690   cat conftest.err >&5
29691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692   (exit $ac_status); } &&
29693          { ac_try='test -z "$ac_c_werror_flag"
29694                          || test ! -s conftest.err'
29695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29696   (eval $ac_try) 2>&5
29697   ac_status=$?
29698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699   (exit $ac_status); }; } &&
29700          { ac_try='test -s conftest$ac_exeext'
29701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702   (eval $ac_try) 2>&5
29703   ac_status=$?
29704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705   (exit $ac_status); }; }; then
29706   glibcxx_cv_POLL=yes
29707 else
29708   echo "$as_me: failed program was:" >&5
29709 sed 's/^/| /' conftest.$ac_ext >&5
29710
29711 glibcxx_cv_POLL=no
29712 fi
29713 rm -f conftest.err conftest.$ac_objext \
29714       conftest$ac_exeext conftest.$ac_ext
29715
29716 fi
29717
29718   if test $glibcxx_cv_POLL = yes; then
29719     cat >>confdefs.h <<\_ACEOF
29720 #define HAVE_POLL 1
29721 _ACEOF
29722
29723   fi
29724
29725
29726   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29727   echo $ECHO_N "(cached) $ECHO_C" >&6
29728 else
29729
29730     if test x$gcc_no_link = xyes; then
29731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29733    { (exit 1); exit 1; }; }
29734 fi
29735 cat >conftest.$ac_ext <<_ACEOF
29736 /* confdefs.h.  */
29737 _ACEOF
29738 cat confdefs.h >>conftest.$ac_ext
29739 cat >>conftest.$ac_ext <<_ACEOF
29740 /* end confdefs.h.  */
29741 #include <sys/stat.h>
29742 int
29743 main ()
29744 {
29745 struct stat buffer;
29746        fstat(0, &buffer);
29747        S_ISREG(buffer.st_mode);
29748   ;
29749   return 0;
29750 }
29751 _ACEOF
29752 rm -f conftest.$ac_objext conftest$ac_exeext
29753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29754   (eval $ac_link) 2>conftest.er1
29755   ac_status=$?
29756   grep -v '^ *+' conftest.er1 >conftest.err
29757   rm -f conftest.er1
29758   cat conftest.err >&5
29759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760   (exit $ac_status); } &&
29761          { ac_try='test -z "$ac_c_werror_flag"
29762                          || test ! -s conftest.err'
29763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29764   (eval $ac_try) 2>&5
29765   ac_status=$?
29766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767   (exit $ac_status); }; } &&
29768          { ac_try='test -s conftest$ac_exeext'
29769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770   (eval $ac_try) 2>&5
29771   ac_status=$?
29772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773   (exit $ac_status); }; }; then
29774   glibcxx_cv_S_ISREG=yes
29775 else
29776   echo "$as_me: failed program was:" >&5
29777 sed 's/^/| /' conftest.$ac_ext >&5
29778
29779 glibcxx_cv_S_ISREG=no
29780 fi
29781 rm -f conftest.err conftest.$ac_objext \
29782       conftest$ac_exeext conftest.$ac_ext
29783
29784 fi
29785
29786   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29787   echo $ECHO_N "(cached) $ECHO_C" >&6
29788 else
29789
29790     if test x$gcc_no_link = xyes; then
29791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29793    { (exit 1); exit 1; }; }
29794 fi
29795 cat >conftest.$ac_ext <<_ACEOF
29796 /* confdefs.h.  */
29797 _ACEOF
29798 cat confdefs.h >>conftest.$ac_ext
29799 cat >>conftest.$ac_ext <<_ACEOF
29800 /* end confdefs.h.  */
29801 #include <sys/stat.h>
29802 int
29803 main ()
29804 {
29805 struct stat buffer;
29806        fstat(0, &buffer);
29807        S_IFREG & buffer.st_mode;
29808   ;
29809   return 0;
29810 }
29811 _ACEOF
29812 rm -f conftest.$ac_objext conftest$ac_exeext
29813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29814   (eval $ac_link) 2>conftest.er1
29815   ac_status=$?
29816   grep -v '^ *+' conftest.er1 >conftest.err
29817   rm -f conftest.er1
29818   cat conftest.err >&5
29819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820   (exit $ac_status); } &&
29821          { ac_try='test -z "$ac_c_werror_flag"
29822                          || test ! -s conftest.err'
29823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824   (eval $ac_try) 2>&5
29825   ac_status=$?
29826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827   (exit $ac_status); }; } &&
29828          { ac_try='test -s conftest$ac_exeext'
29829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830   (eval $ac_try) 2>&5
29831   ac_status=$?
29832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833   (exit $ac_status); }; }; then
29834   glibcxx_cv_S_IFREG=yes
29835 else
29836   echo "$as_me: failed program was:" >&5
29837 sed 's/^/| /' conftest.$ac_ext >&5
29838
29839 glibcxx_cv_S_IFREG=no
29840 fi
29841 rm -f conftest.err conftest.$ac_objext \
29842       conftest$ac_exeext conftest.$ac_ext
29843
29844 fi
29845
29846   if test $glibcxx_cv_S_ISREG = yes; then
29847     cat >>confdefs.h <<\_ACEOF
29848 #define HAVE_S_ISREG 1
29849 _ACEOF
29850
29851   elif test $glibcxx_cv_S_IFREG = yes; then
29852     cat >>confdefs.h <<\_ACEOF
29853 #define HAVE_S_IFREG 1
29854 _ACEOF
29855
29856   fi
29857
29858
29859   # For xsputn_2().
29860
29861 for ac_header in sys/uio.h
29862 do
29863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29865   echo "$as_me:$LINENO: checking for $ac_header" >&5
29866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29868   echo $ECHO_N "(cached) $ECHO_C" >&6
29869 fi
29870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29872 else
29873   # Is the header compilable?
29874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29876 cat >conftest.$ac_ext <<_ACEOF
29877 /* confdefs.h.  */
29878 _ACEOF
29879 cat confdefs.h >>conftest.$ac_ext
29880 cat >>conftest.$ac_ext <<_ACEOF
29881 /* end confdefs.h.  */
29882 $ac_includes_default
29883 #include <$ac_header>
29884 _ACEOF
29885 rm -f conftest.$ac_objext
29886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29887   (eval $ac_compile) 2>conftest.er1
29888   ac_status=$?
29889   grep -v '^ *+' conftest.er1 >conftest.err
29890   rm -f conftest.er1
29891   cat conftest.err >&5
29892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893   (exit $ac_status); } &&
29894          { ac_try='test -z "$ac_c_werror_flag"
29895                          || test ! -s conftest.err'
29896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29897   (eval $ac_try) 2>&5
29898   ac_status=$?
29899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900   (exit $ac_status); }; } &&
29901          { ac_try='test -s conftest.$ac_objext'
29902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903   (eval $ac_try) 2>&5
29904   ac_status=$?
29905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906   (exit $ac_status); }; }; then
29907   ac_header_compiler=yes
29908 else
29909   echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29911
29912 ac_header_compiler=no
29913 fi
29914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29916 echo "${ECHO_T}$ac_header_compiler" >&6
29917
29918 # Is the header present?
29919 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29921 cat >conftest.$ac_ext <<_ACEOF
29922 /* confdefs.h.  */
29923 _ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h.  */
29927 #include <$ac_header>
29928 _ACEOF
29929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29930   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29931   ac_status=$?
29932   grep -v '^ *+' conftest.er1 >conftest.err
29933   rm -f conftest.er1
29934   cat conftest.err >&5
29935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936   (exit $ac_status); } >/dev/null; then
29937   if test -s conftest.err; then
29938     ac_cpp_err=$ac_c_preproc_warn_flag
29939     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29940   else
29941     ac_cpp_err=
29942   fi
29943 else
29944   ac_cpp_err=yes
29945 fi
29946 if test -z "$ac_cpp_err"; then
29947   ac_header_preproc=yes
29948 else
29949   echo "$as_me: failed program was:" >&5
29950 sed 's/^/| /' conftest.$ac_ext >&5
29951
29952   ac_header_preproc=no
29953 fi
29954 rm -f conftest.err conftest.$ac_ext
29955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29956 echo "${ECHO_T}$ac_header_preproc" >&6
29957
29958 # So?  What about this header?
29959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29960   yes:no: )
29961     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29963     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29965     ac_header_preproc=yes
29966     ;;
29967   no:yes:* )
29968     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29970     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29971 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29972     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29974     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29975 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29976     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29978     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29980     (
29981       cat <<\_ASBOX
29982 ## ----------------------------------------- ##
29983 ## Report this to the package-unused lists.  ##
29984 ## ----------------------------------------- ##
29985 _ASBOX
29986     ) |
29987       sed "s/^/$as_me: WARNING:     /" >&2
29988     ;;
29989 esac
29990 echo "$as_me:$LINENO: checking for $ac_header" >&5
29991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29993   echo $ECHO_N "(cached) $ECHO_C" >&6
29994 else
29995   eval "$as_ac_Header=\$ac_header_preproc"
29996 fi
29997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29999
30000 fi
30001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30002   cat >>confdefs.h <<_ACEOF
30003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30004 _ACEOF
30005
30006 fi
30007
30008 done
30009
30010
30011   if test "${glibcxx_cv_WRITEV+set}" = set; then
30012   echo $ECHO_N "(cached) $ECHO_C" >&6
30013 else
30014
30015     if test x$gcc_no_link = xyes; then
30016   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30018    { (exit 1); exit 1; }; }
30019 fi
30020 cat >conftest.$ac_ext <<_ACEOF
30021 /* confdefs.h.  */
30022 _ACEOF
30023 cat confdefs.h >>conftest.$ac_ext
30024 cat >>conftest.$ac_ext <<_ACEOF
30025 /* end confdefs.h.  */
30026 #include <sys/uio.h>
30027 int
30028 main ()
30029 {
30030 struct iovec iov[2];
30031        writev(0, iov, 0);
30032   ;
30033   return 0;
30034 }
30035 _ACEOF
30036 rm -f conftest.$ac_objext conftest$ac_exeext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30038   (eval $ac_link) 2>conftest.er1
30039   ac_status=$?
30040   grep -v '^ *+' conftest.er1 >conftest.err
30041   rm -f conftest.er1
30042   cat conftest.err >&5
30043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044   (exit $ac_status); } &&
30045          { ac_try='test -z "$ac_c_werror_flag"
30046                          || test ! -s conftest.err'
30047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048   (eval $ac_try) 2>&5
30049   ac_status=$?
30050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051   (exit $ac_status); }; } &&
30052          { ac_try='test -s conftest$ac_exeext'
30053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054   (eval $ac_try) 2>&5
30055   ac_status=$?
30056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057   (exit $ac_status); }; }; then
30058   glibcxx_cv_WRITEV=yes
30059 else
30060   echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30062
30063 glibcxx_cv_WRITEV=no
30064 fi
30065 rm -f conftest.err conftest.$ac_objext \
30066       conftest$ac_exeext conftest.$ac_ext
30067
30068 fi
30069
30070   if test $glibcxx_cv_WRITEV = yes; then
30071     cat >>confdefs.h <<\_ACEOF
30072 #define HAVE_WRITEV 1
30073 _ACEOF
30074
30075   fi
30076
30077
30078   # For the __streamoff_base_type typedef.
30079
30080   if test "${glibcxx_cv_INT64_T+set}" = set; then
30081   echo $ECHO_N "(cached) $ECHO_C" >&6
30082 else
30083
30084     cat >conftest.$ac_ext <<_ACEOF
30085 /* confdefs.h.  */
30086 _ACEOF
30087 cat confdefs.h >>conftest.$ac_ext
30088 cat >>conftest.$ac_ext <<_ACEOF
30089 /* end confdefs.h.  */
30090 #include <stdint.h>
30091 int
30092 main ()
30093 {
30094 int64_t var;
30095   ;
30096   return 0;
30097 }
30098 _ACEOF
30099 rm -f conftest.$ac_objext
30100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30101   (eval $ac_compile) 2>conftest.er1
30102   ac_status=$?
30103   grep -v '^ *+' conftest.er1 >conftest.err
30104   rm -f conftest.er1
30105   cat conftest.err >&5
30106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107   (exit $ac_status); } &&
30108          { ac_try='test -z "$ac_c_werror_flag"
30109                          || test ! -s conftest.err'
30110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30111   (eval $ac_try) 2>&5
30112   ac_status=$?
30113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114   (exit $ac_status); }; } &&
30115          { ac_try='test -s conftest.$ac_objext'
30116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30117   (eval $ac_try) 2>&5
30118   ac_status=$?
30119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120   (exit $ac_status); }; }; then
30121   glibcxx_cv_INT64_T=yes
30122 else
30123   echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.$ac_ext >&5
30125
30126 glibcxx_cv_INT64_T=no
30127 fi
30128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30129
30130 fi
30131
30132   if test $glibcxx_cv_INT64_T = yes; then
30133     cat >>confdefs.h <<\_ACEOF
30134 #define HAVE_INT64_T 1
30135 _ACEOF
30136
30137   fi
30138
30139
30140   # For LFS support.
30141
30142
30143
30144   ac_ext=cc
30145 ac_cpp='$CXXCPP $CPPFLAGS'
30146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149
30150   ac_save_CXXFLAGS="$CXXFLAGS"
30151   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30152   if test "${glibcxx_cv_LFS+set}" = set; then
30153   echo $ECHO_N "(cached) $ECHO_C" >&6
30154 else
30155
30156     if test x$gcc_no_link = xyes; then
30157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30159    { (exit 1); exit 1; }; }
30160 fi
30161 cat >conftest.$ac_ext <<_ACEOF
30162 /* confdefs.h.  */
30163 _ACEOF
30164 cat confdefs.h >>conftest.$ac_ext
30165 cat >>conftest.$ac_ext <<_ACEOF
30166 /* end confdefs.h.  */
30167 #include <unistd.h>
30168        #include <stdio.h>
30169
30170 int
30171 main ()
30172 {
30173 FILE* fp;
30174        fopen64("t", "w");
30175        fseeko64(fp, 0, SEEK_CUR);
30176        ftello64(fp);
30177        lseek64(1, 0, SEEK_CUR);
30178   ;
30179   return 0;
30180 }
30181 _ACEOF
30182 rm -f conftest.$ac_objext conftest$ac_exeext
30183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30184   (eval $ac_link) 2>conftest.er1
30185   ac_status=$?
30186   grep -v '^ *+' conftest.er1 >conftest.err
30187   rm -f conftest.er1
30188   cat conftest.err >&5
30189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190   (exit $ac_status); } &&
30191          { ac_try='test -z "$ac_cxx_werror_flag"
30192                          || test ! -s conftest.err'
30193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30194   (eval $ac_try) 2>&5
30195   ac_status=$?
30196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197   (exit $ac_status); }; } &&
30198          { ac_try='test -s conftest$ac_exeext'
30199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200   (eval $ac_try) 2>&5
30201   ac_status=$?
30202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203   (exit $ac_status); }; }; then
30204   glibcxx_cv_LFS=yes
30205 else
30206   echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.$ac_ext >&5
30208
30209 glibcxx_cv_LFS=no
30210 fi
30211 rm -f conftest.err conftest.$ac_objext \
30212       conftest$ac_exeext conftest.$ac_ext
30213
30214 fi
30215
30216   if test $glibcxx_cv_LFS = yes; then
30217     cat >>confdefs.h <<\_ACEOF
30218 #define _GLIBCXX_USE_LFS 1
30219 _ACEOF
30220
30221   fi
30222   CXXFLAGS="$ac_save_CXXFLAGS"
30223   ac_ext=c
30224 ac_cpp='$CPP $CPPFLAGS'
30225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30228
30229
30230
30231
30232   if test "${ac_cv_header_locale_h+set}" = set; then
30233   echo "$as_me:$LINENO: checking for locale.h" >&5
30234 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30235 if test "${ac_cv_header_locale_h+set}" = set; then
30236   echo $ECHO_N "(cached) $ECHO_C" >&6
30237 fi
30238 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30239 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30240 else
30241   # Is the header compilable?
30242 echo "$as_me:$LINENO: checking locale.h usability" >&5
30243 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30244 cat >conftest.$ac_ext <<_ACEOF
30245 /* confdefs.h.  */
30246 _ACEOF
30247 cat confdefs.h >>conftest.$ac_ext
30248 cat >>conftest.$ac_ext <<_ACEOF
30249 /* end confdefs.h.  */
30250 $ac_includes_default
30251 #include <locale.h>
30252 _ACEOF
30253 rm -f conftest.$ac_objext
30254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30255   (eval $ac_compile) 2>conftest.er1
30256   ac_status=$?
30257   grep -v '^ *+' conftest.er1 >conftest.err
30258   rm -f conftest.er1
30259   cat conftest.err >&5
30260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261   (exit $ac_status); } &&
30262          { ac_try='test -z "$ac_c_werror_flag"
30263                          || test ! -s conftest.err'
30264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265   (eval $ac_try) 2>&5
30266   ac_status=$?
30267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268   (exit $ac_status); }; } &&
30269          { ac_try='test -s conftest.$ac_objext'
30270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271   (eval $ac_try) 2>&5
30272   ac_status=$?
30273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274   (exit $ac_status); }; }; then
30275   ac_header_compiler=yes
30276 else
30277   echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.$ac_ext >&5
30279
30280 ac_header_compiler=no
30281 fi
30282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30284 echo "${ECHO_T}$ac_header_compiler" >&6
30285
30286 # Is the header present?
30287 echo "$as_me:$LINENO: checking locale.h presence" >&5
30288 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30289 cat >conftest.$ac_ext <<_ACEOF
30290 /* confdefs.h.  */
30291 _ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h.  */
30295 #include <locale.h>
30296 _ACEOF
30297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30298   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30299   ac_status=$?
30300   grep -v '^ *+' conftest.er1 >conftest.err
30301   rm -f conftest.er1
30302   cat conftest.err >&5
30303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30304   (exit $ac_status); } >/dev/null; then
30305   if test -s conftest.err; then
30306     ac_cpp_err=$ac_c_preproc_warn_flag
30307     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30308   else
30309     ac_cpp_err=
30310   fi
30311 else
30312   ac_cpp_err=yes
30313 fi
30314 if test -z "$ac_cpp_err"; then
30315   ac_header_preproc=yes
30316 else
30317   echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30319
30320   ac_header_preproc=no
30321 fi
30322 rm -f conftest.err conftest.$ac_ext
30323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30324 echo "${ECHO_T}$ac_header_preproc" >&6
30325
30326 # So?  What about this header?
30327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30328   yes:no: )
30329     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30330 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30331     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30332 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30333     ac_header_preproc=yes
30334     ;;
30335   no:yes:* )
30336     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30337 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30338     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30339 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30340     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30341 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30342     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30343 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30344     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30345 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30346     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30347 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30348     (
30349       cat <<\_ASBOX
30350 ## ----------------------------------------- ##
30351 ## Report this to the package-unused lists.  ##
30352 ## ----------------------------------------- ##
30353 _ASBOX
30354     ) |
30355       sed "s/^/$as_me: WARNING:     /" >&2
30356     ;;
30357 esac
30358 echo "$as_me:$LINENO: checking for locale.h" >&5
30359 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30360 if test "${ac_cv_header_locale_h+set}" = set; then
30361   echo $ECHO_N "(cached) $ECHO_C" >&6
30362 else
30363   ac_cv_header_locale_h=$ac_header_preproc
30364 fi
30365 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30366 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30367
30368 fi
30369 if test $ac_cv_header_locale_h = yes; then
30370
30371     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30372 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30373 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30374   echo $ECHO_N "(cached) $ECHO_C" >&6
30375 else
30376   if test x$gcc_no_link = xyes; then
30377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30379    { (exit 1); exit 1; }; }
30380 fi
30381 cat >conftest.$ac_ext <<_ACEOF
30382 /* confdefs.h.  */
30383 _ACEOF
30384 cat confdefs.h >>conftest.$ac_ext
30385 cat >>conftest.$ac_ext <<_ACEOF
30386 /* end confdefs.h.  */
30387 #include <locale.h>
30388 int
30389 main ()
30390 {
30391 return LC_MESSAGES
30392   ;
30393   return 0;
30394 }
30395 _ACEOF
30396 rm -f conftest.$ac_objext conftest$ac_exeext
30397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30398   (eval $ac_link) 2>conftest.er1
30399   ac_status=$?
30400   grep -v '^ *+' conftest.er1 >conftest.err
30401   rm -f conftest.er1
30402   cat conftest.err >&5
30403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404   (exit $ac_status); } &&
30405          { ac_try='test -z "$ac_c_werror_flag"
30406                          || test ! -s conftest.err'
30407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30408   (eval $ac_try) 2>&5
30409   ac_status=$?
30410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411   (exit $ac_status); }; } &&
30412          { ac_try='test -s conftest$ac_exeext'
30413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30414   (eval $ac_try) 2>&5
30415   ac_status=$?
30416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417   (exit $ac_status); }; }; then
30418   ac_cv_val_LC_MESSAGES=yes
30419 else
30420   echo "$as_me: failed program was:" >&5
30421 sed 's/^/| /' conftest.$ac_ext >&5
30422
30423 ac_cv_val_LC_MESSAGES=no
30424 fi
30425 rm -f conftest.err conftest.$ac_objext \
30426       conftest$ac_exeext conftest.$ac_ext
30427 fi
30428 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30429 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30430     if test $ac_cv_val_LC_MESSAGES = yes; then
30431       cat >>confdefs.h <<\_ACEOF
30432 #define HAVE_LC_MESSAGES 1
30433 _ACEOF
30434
30435     fi
30436
30437 fi
30438
30439
30440
30441
30442   cat >conftest.$ac_ext <<_ACEOF
30443 /* confdefs.h.  */
30444 _ACEOF
30445 cat confdefs.h >>conftest.$ac_ext
30446 cat >>conftest.$ac_ext <<_ACEOF
30447 /* end confdefs.h.  */
30448 #include <setjmp.h>
30449 int
30450 main ()
30451 {
30452 sigjmp_buf env;
30453      while (! sigsetjmp (env, 1))
30454        siglongjmp (env, 1);
30455
30456   ;
30457   return 0;
30458 }
30459 _ACEOF
30460 rm -f conftest.$ac_objext
30461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30462   (eval $ac_compile) 2>conftest.er1
30463   ac_status=$?
30464   grep -v '^ *+' conftest.er1 >conftest.err
30465   rm -f conftest.er1
30466   cat conftest.err >&5
30467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468   (exit $ac_status); } &&
30469          { ac_try='test -z "$ac_c_werror_flag"
30470                          || test ! -s conftest.err'
30471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472   (eval $ac_try) 2>&5
30473   ac_status=$?
30474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475   (exit $ac_status); }; } &&
30476          { ac_try='test -s conftest.$ac_objext'
30477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478   (eval $ac_try) 2>&5
30479   ac_status=$?
30480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481   (exit $ac_status); }; }; then
30482
30483 cat >>confdefs.h <<\_ACEOF
30484 #define HAVE_SIGSETJMP 1
30485 _ACEOF
30486
30487 else
30488   echo "$as_me: failed program was:" >&5
30489 sed 's/^/| /' conftest.$ac_ext >&5
30490
30491 fi
30492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30493
30494   if test x$gcc_no_link = xyes; then
30495   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30496     ac_cv_func_mmap_fixed_mapped=no
30497   fi
30498 fi
30499 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30500
30501
30502 for ac_header in stdlib.h unistd.h
30503 do
30504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30506   echo "$as_me:$LINENO: checking for $ac_header" >&5
30507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30509   echo $ECHO_N "(cached) $ECHO_C" >&6
30510 fi
30511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30513 else
30514   # Is the header compilable?
30515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30517 cat >conftest.$ac_ext <<_ACEOF
30518 /* confdefs.h.  */
30519 _ACEOF
30520 cat confdefs.h >>conftest.$ac_ext
30521 cat >>conftest.$ac_ext <<_ACEOF
30522 /* end confdefs.h.  */
30523 $ac_includes_default
30524 #include <$ac_header>
30525 _ACEOF
30526 rm -f conftest.$ac_objext
30527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30528   (eval $ac_compile) 2>conftest.er1
30529   ac_status=$?
30530   grep -v '^ *+' conftest.er1 >conftest.err
30531   rm -f conftest.er1
30532   cat conftest.err >&5
30533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534   (exit $ac_status); } &&
30535          { ac_try='test -z "$ac_c_werror_flag"
30536                          || test ! -s conftest.err'
30537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538   (eval $ac_try) 2>&5
30539   ac_status=$?
30540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541   (exit $ac_status); }; } &&
30542          { ac_try='test -s conftest.$ac_objext'
30543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544   (eval $ac_try) 2>&5
30545   ac_status=$?
30546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547   (exit $ac_status); }; }; then
30548   ac_header_compiler=yes
30549 else
30550   echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30552
30553 ac_header_compiler=no
30554 fi
30555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30557 echo "${ECHO_T}$ac_header_compiler" >&6
30558
30559 # Is the header present?
30560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30562 cat >conftest.$ac_ext <<_ACEOF
30563 /* confdefs.h.  */
30564 _ACEOF
30565 cat confdefs.h >>conftest.$ac_ext
30566 cat >>conftest.$ac_ext <<_ACEOF
30567 /* end confdefs.h.  */
30568 #include <$ac_header>
30569 _ACEOF
30570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30571   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30572   ac_status=$?
30573   grep -v '^ *+' conftest.er1 >conftest.err
30574   rm -f conftest.er1
30575   cat conftest.err >&5
30576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577   (exit $ac_status); } >/dev/null; then
30578   if test -s conftest.err; then
30579     ac_cpp_err=$ac_c_preproc_warn_flag
30580     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30581   else
30582     ac_cpp_err=
30583   fi
30584 else
30585   ac_cpp_err=yes
30586 fi
30587 if test -z "$ac_cpp_err"; then
30588   ac_header_preproc=yes
30589 else
30590   echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30592
30593   ac_header_preproc=no
30594 fi
30595 rm -f conftest.err conftest.$ac_ext
30596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30597 echo "${ECHO_T}$ac_header_preproc" >&6
30598
30599 # So?  What about this header?
30600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30601   yes:no: )
30602     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30604     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30606     ac_header_preproc=yes
30607     ;;
30608   no:yes:* )
30609     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30611     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30612 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30613     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30615     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30616 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30617     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30619     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30621     (
30622       cat <<\_ASBOX
30623 ## ----------------------------------------- ##
30624 ## Report this to the package-unused lists.  ##
30625 ## ----------------------------------------- ##
30626 _ASBOX
30627     ) |
30628       sed "s/^/$as_me: WARNING:     /" >&2
30629     ;;
30630 esac
30631 echo "$as_me:$LINENO: checking for $ac_header" >&5
30632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30634   echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636   eval "$as_ac_Header=\$ac_header_preproc"
30637 fi
30638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30640
30641 fi
30642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30643   cat >>confdefs.h <<_ACEOF
30644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30645 _ACEOF
30646
30647 fi
30648
30649 done
30650
30651
30652 for ac_func in getpagesize
30653 do
30654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30655 echo "$as_me:$LINENO: checking for $ac_func" >&5
30656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30657 if eval "test \"\${$as_ac_var+set}\" = set"; then
30658   echo $ECHO_N "(cached) $ECHO_C" >&6
30659 else
30660   if test x$gcc_no_link = xyes; then
30661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30663    { (exit 1); exit 1; }; }
30664 fi
30665 cat >conftest.$ac_ext <<_ACEOF
30666 /* confdefs.h.  */
30667 _ACEOF
30668 cat confdefs.h >>conftest.$ac_ext
30669 cat >>conftest.$ac_ext <<_ACEOF
30670 /* end confdefs.h.  */
30671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30673 #define $ac_func innocuous_$ac_func
30674
30675 /* System header to define __stub macros and hopefully few prototypes,
30676     which can conflict with char $ac_func (); below.
30677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30678     <limits.h> exists even on freestanding compilers.  */
30679
30680 #ifdef __STDC__
30681 # include <limits.h>
30682 #else
30683 # include <assert.h>
30684 #endif
30685
30686 #undef $ac_func
30687
30688 /* Override any gcc2 internal prototype to avoid an error.  */
30689 #ifdef __cplusplus
30690 extern "C"
30691 {
30692 #endif
30693 /* We use char because int might match the return type of a gcc2
30694    builtin and then its argument prototype would still apply.  */
30695 char $ac_func ();
30696 /* The GNU C library defines this for functions which it implements
30697     to always fail with ENOSYS.  Some functions are actually named
30698     something starting with __ and the normal name is an alias.  */
30699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30700 choke me
30701 #else
30702 char (*f) () = $ac_func;
30703 #endif
30704 #ifdef __cplusplus
30705 }
30706 #endif
30707
30708 int
30709 main ()
30710 {
30711 return f != $ac_func;
30712   ;
30713   return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30718   (eval $ac_link) 2>conftest.er1
30719   ac_status=$?
30720   grep -v '^ *+' conftest.er1 >conftest.err
30721   rm -f conftest.er1
30722   cat conftest.err >&5
30723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724   (exit $ac_status); } &&
30725          { ac_try='test -z "$ac_c_werror_flag"
30726                          || test ! -s conftest.err'
30727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728   (eval $ac_try) 2>&5
30729   ac_status=$?
30730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731   (exit $ac_status); }; } &&
30732          { ac_try='test -s conftest$ac_exeext'
30733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734   (eval $ac_try) 2>&5
30735   ac_status=$?
30736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737   (exit $ac_status); }; }; then
30738   eval "$as_ac_var=yes"
30739 else
30740   echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 eval "$as_ac_var=no"
30744 fi
30745 rm -f conftest.err conftest.$ac_objext \
30746       conftest$ac_exeext conftest.$ac_ext
30747 fi
30748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30750 if test `eval echo '${'$as_ac_var'}'` = yes; then
30751   cat >>confdefs.h <<_ACEOF
30752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30753 _ACEOF
30754
30755 fi
30756 done
30757
30758 echo "$as_me:$LINENO: checking for working mmap" >&5
30759 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30760 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30761   echo $ECHO_N "(cached) $ECHO_C" >&6
30762 else
30763   if test "$cross_compiling" = yes; then
30764   ac_cv_func_mmap_fixed_mapped=no
30765 else
30766   cat >conftest.$ac_ext <<_ACEOF
30767 /* confdefs.h.  */
30768 _ACEOF
30769 cat confdefs.h >>conftest.$ac_ext
30770 cat >>conftest.$ac_ext <<_ACEOF
30771 /* end confdefs.h.  */
30772 $ac_includes_default
30773 /* malloc might have been renamed as rpl_malloc. */
30774 #undef malloc
30775
30776 /* Thanks to Mike Haertel and Jim Avera for this test.
30777    Here is a matrix of mmap possibilities:
30778         mmap private not fixed
30779         mmap private fixed at somewhere currently unmapped
30780         mmap private fixed at somewhere already mapped
30781         mmap shared not fixed
30782         mmap shared fixed at somewhere currently unmapped
30783         mmap shared fixed at somewhere already mapped
30784    For private mappings, we should verify that changes cannot be read()
30785    back from the file, nor mmap's back from the file at a different
30786    address.  (There have been systems where private was not correctly
30787    implemented like the infamous i386 svr4.0, and systems where the
30788    VM page cache was not coherent with the file system buffer cache
30789    like early versions of FreeBSD and possibly contemporary NetBSD.)
30790    For shared mappings, we should conversely verify that changes get
30791    propagated back to all the places they're supposed to be.
30792
30793    Grep wants private fixed already mapped.
30794    The main things grep needs to know about mmap are:
30795    * does it exist and is it safe to write into the mmap'd area
30796    * how to use it (BSD variants)  */
30797
30798 #include <fcntl.h>
30799 #include <sys/mman.h>
30800
30801 #if !STDC_HEADERS && !HAVE_STDLIB_H
30802 char *malloc ();
30803 #endif
30804
30805 /* This mess was copied from the GNU getpagesize.h.  */
30806 #if !HAVE_GETPAGESIZE
30807 /* Assume that all systems that can run configure have sys/param.h.  */
30808 # if !HAVE_SYS_PARAM_H
30809 #  define HAVE_SYS_PARAM_H 1
30810 # endif
30811
30812 # ifdef _SC_PAGESIZE
30813 #  define getpagesize() sysconf(_SC_PAGESIZE)
30814 # else /* no _SC_PAGESIZE */
30815 #  if HAVE_SYS_PARAM_H
30816 #   include <sys/param.h>
30817 #   ifdef EXEC_PAGESIZE
30818 #    define getpagesize() EXEC_PAGESIZE
30819 #   else /* no EXEC_PAGESIZE */
30820 #    ifdef NBPG
30821 #     define getpagesize() NBPG * CLSIZE
30822 #     ifndef CLSIZE
30823 #      define CLSIZE 1
30824 #     endif /* no CLSIZE */
30825 #    else /* no NBPG */
30826 #     ifdef NBPC
30827 #      define getpagesize() NBPC
30828 #     else /* no NBPC */
30829 #      ifdef PAGESIZE
30830 #       define getpagesize() PAGESIZE
30831 #      endif /* PAGESIZE */
30832 #     endif /* no NBPC */
30833 #    endif /* no NBPG */
30834 #   endif /* no EXEC_PAGESIZE */
30835 #  else /* no HAVE_SYS_PARAM_H */
30836 #   define getpagesize() 8192   /* punt totally */
30837 #  endif /* no HAVE_SYS_PARAM_H */
30838 # endif /* no _SC_PAGESIZE */
30839
30840 #endif /* no HAVE_GETPAGESIZE */
30841
30842 int
30843 main ()
30844 {
30845   char *data, *data2, *data3;
30846   int i, pagesize;
30847   int fd;
30848
30849   pagesize = getpagesize ();
30850
30851   /* First, make a file with some known garbage in it. */
30852   data = (char *) malloc (pagesize);
30853   if (!data)
30854     exit (1);
30855   for (i = 0; i < pagesize; ++i)
30856     *(data + i) = rand ();
30857   umask (0);
30858   fd = creat ("conftest.mmap", 0600);
30859   if (fd < 0)
30860     exit (1);
30861   if (write (fd, data, pagesize) != pagesize)
30862     exit (1);
30863   close (fd);
30864
30865   /* Next, try to mmap the file at a fixed address which already has
30866      something else allocated at it.  If we can, also make sure that
30867      we see the same garbage.  */
30868   fd = open ("conftest.mmap", O_RDWR);
30869   if (fd < 0)
30870     exit (1);
30871   data2 = (char *) malloc (2 * pagesize);
30872   if (!data2)
30873     exit (1);
30874   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30875   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30876                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30877     exit (1);
30878   for (i = 0; i < pagesize; ++i)
30879     if (*(data + i) != *(data2 + i))
30880       exit (1);
30881
30882   /* Finally, make sure that changes to the mapped area do not
30883      percolate back to the file as seen by read().  (This is a bug on
30884      some variants of i386 svr4.0.)  */
30885   for (i = 0; i < pagesize; ++i)
30886     *(data2 + i) = *(data2 + i) + 1;
30887   data3 = (char *) malloc (pagesize);
30888   if (!data3)
30889     exit (1);
30890   if (read (fd, data3, pagesize) != pagesize)
30891     exit (1);
30892   for (i = 0; i < pagesize; ++i)
30893     if (*(data + i) != *(data3 + i))
30894       exit (1);
30895   close (fd);
30896   exit (0);
30897 }
30898 _ACEOF
30899 rm -f conftest$ac_exeext
30900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30901   (eval $ac_link) 2>&5
30902   ac_status=$?
30903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30906   (eval $ac_try) 2>&5
30907   ac_status=$?
30908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909   (exit $ac_status); }; }; then
30910   ac_cv_func_mmap_fixed_mapped=yes
30911 else
30912   echo "$as_me: program exited with status $ac_status" >&5
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916 ( exit $ac_status )
30917 ac_cv_func_mmap_fixed_mapped=no
30918 fi
30919 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30920 fi
30921 fi
30922 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30923 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30924 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30925
30926 cat >>confdefs.h <<\_ACEOF
30927 #define HAVE_MMAP 1
30928 _ACEOF
30929
30930 fi
30931 rm -f conftest.mmap
30932
30933 fi
30934
30935 else
30936
30937   # This lets us hard-code the functionality we know we'll have in the cross
30938   # target environment.  "Let" is a sugar-coated word placed on an especially
30939   # dull and tedious hack, actually.
30940   #
30941   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30942   # that involve linking, can't be used:
30943   #    "cannot open sim-crt0.o"
30944   #    "cannot open crt0.o"
30945   # etc.  All this is because there currently exists no unified, consistent
30946   # way for top level CC information to be passed down to target directories:
30947   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30948   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30949   # crosses can be removed.
30950
30951   # If Canadian cross, then don't pick up tools from the build directory.
30952   # Used only in GLIBCXX_EXPORT_INCLUDES.
30953   if test -n "$with_cross_host" &&
30954      test x"$build_alias" != x"$with_cross_host" &&
30955      test x"$build" != x"$target";
30956   then
30957     CANADIAN=yes
30958   else
30959     CANADIAN=no
30960   fi
30961
30962   # Construct crosses by hand, eliminating bits that need ld...
30963   # GLIBCXX_CHECK_COMPILER_FEATURES
30964   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30965   # GLIBCXX_CHECK_MATH_SUPPORT
30966
30967   # First, test for "known" system libraries.  We may be using newlib even
30968   # on a hosted environment.
30969   if test "x${with_newlib}" = "xyes"; then
30970     os_include_dir="os/newlib"
30971     cat >>confdefs.h <<\_ACEOF
30972 #define HAVE_HYPOT 1
30973 _ACEOF
30974
30975
30976     # GLIBCXX_CHECK_STDLIB_SUPPORT
30977     cat >>confdefs.h <<\_ACEOF
30978 #define HAVE_STRTOF 1
30979 _ACEOF
30980
30981     # AC_FUNC_MMAP
30982     cat >>confdefs.h <<\_ACEOF
30983 #define HAVE_MMAP 1
30984 _ACEOF
30985
30986
30987     cat >>confdefs.h <<\_ACEOF
30988 #define HAVE_ACOSF 1
30989 _ACEOF
30990
30991     cat >>confdefs.h <<\_ACEOF
30992 #define HAVE_ASINF 1
30993 _ACEOF
30994
30995     cat >>confdefs.h <<\_ACEOF
30996 #define HAVE_ATAN2F 1
30997 _ACEOF
30998
30999     cat >>confdefs.h <<\_ACEOF
31000 #define HAVE_ATANF 1
31001 _ACEOF
31002
31003     cat >>confdefs.h <<\_ACEOF
31004 #define HAVE_CEILF 1
31005 _ACEOF
31006
31007     cat >>confdefs.h <<\_ACEOF
31008 #define HAVE_COPYSIGN 1
31009 _ACEOF
31010
31011     cat >>confdefs.h <<\_ACEOF
31012 #define HAVE_COPYSIGNF 1
31013 _ACEOF
31014
31015     cat >>confdefs.h <<\_ACEOF
31016 #define HAVE_COSF 1
31017 _ACEOF
31018
31019     cat >>confdefs.h <<\_ACEOF
31020 #define HAVE_COSHF 1
31021 _ACEOF
31022
31023     cat >>confdefs.h <<\_ACEOF
31024 #define HAVE_EXPF 1
31025 _ACEOF
31026
31027     cat >>confdefs.h <<\_ACEOF
31028 #define HAVE_FABSF 1
31029 _ACEOF
31030
31031     cat >>confdefs.h <<\_ACEOF
31032 #define HAVE_FLOORF 1
31033 _ACEOF
31034
31035     cat >>confdefs.h <<\_ACEOF
31036 #define HAVE_FMODF 1
31037 _ACEOF
31038
31039     cat >>confdefs.h <<\_ACEOF
31040 #define HAVE_FREXPF 1
31041 _ACEOF
31042
31043     cat >>confdefs.h <<\_ACEOF
31044 #define HAVE_LDEXPF 1
31045 _ACEOF
31046
31047     cat >>confdefs.h <<\_ACEOF
31048 #define HAVE_LOG10F 1
31049 _ACEOF
31050
31051     cat >>confdefs.h <<\_ACEOF
31052 #define HAVE_LOGF 1
31053 _ACEOF
31054
31055     cat >>confdefs.h <<\_ACEOF
31056 #define HAVE_MODFF 1
31057 _ACEOF
31058
31059     cat >>confdefs.h <<\_ACEOF
31060 #define HAVE_POWF 1
31061 _ACEOF
31062
31063     cat >>confdefs.h <<\_ACEOF
31064 #define HAVE_SINF 1
31065 _ACEOF
31066
31067     cat >>confdefs.h <<\_ACEOF
31068 #define HAVE_SINHF 1
31069 _ACEOF
31070
31071     cat >>confdefs.h <<\_ACEOF
31072 #define HAVE_SQRTF 1
31073 _ACEOF
31074
31075     cat >>confdefs.h <<\_ACEOF
31076 #define HAVE_TANF 1
31077 _ACEOF
31078
31079     cat >>confdefs.h <<\_ACEOF
31080 #define HAVE_TANHF 1
31081 _ACEOF
31082
31083
31084     cat >>confdefs.h <<\_ACEOF
31085 #define HAVE_S_ISREG 1
31086 _ACEOF
31087
31088     cat >>confdefs.h <<\_ACEOF
31089 #define HAVE_S_IFREG 1
31090 _ACEOF
31091
31092   else
31093
31094 # Base decisions on target environment.
31095 case "${host}" in
31096   *-darwin*)
31097     # Darwin versions vary, but the linker should work in a cross environment,
31098     # so we just check for all the features here.
31099     # Check for available headers.
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31114     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31115     sys/types.h
31116 do
31117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31119   echo "$as_me:$LINENO: checking for $ac_header" >&5
31120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31122   echo $ECHO_N "(cached) $ECHO_C" >&6
31123 fi
31124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31126 else
31127   # Is the header compilable?
31128 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31129 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31130 cat >conftest.$ac_ext <<_ACEOF
31131 /* confdefs.h.  */
31132 _ACEOF
31133 cat confdefs.h >>conftest.$ac_ext
31134 cat >>conftest.$ac_ext <<_ACEOF
31135 /* end confdefs.h.  */
31136 $ac_includes_default
31137 #include <$ac_header>
31138 _ACEOF
31139 rm -f conftest.$ac_objext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31141   (eval $ac_compile) 2>conftest.er1
31142   ac_status=$?
31143   grep -v '^ *+' conftest.er1 >conftest.err
31144   rm -f conftest.er1
31145   cat conftest.err >&5
31146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147   (exit $ac_status); } &&
31148          { ac_try='test -z "$ac_c_werror_flag"
31149                          || test ! -s conftest.err'
31150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151   (eval $ac_try) 2>&5
31152   ac_status=$?
31153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154   (exit $ac_status); }; } &&
31155          { ac_try='test -s conftest.$ac_objext'
31156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157   (eval $ac_try) 2>&5
31158   ac_status=$?
31159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160   (exit $ac_status); }; }; then
31161   ac_header_compiler=yes
31162 else
31163   echo "$as_me: failed program was:" >&5
31164 sed 's/^/| /' conftest.$ac_ext >&5
31165
31166 ac_header_compiler=no
31167 fi
31168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31170 echo "${ECHO_T}$ac_header_compiler" >&6
31171
31172 # Is the header present?
31173 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31174 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31175 cat >conftest.$ac_ext <<_ACEOF
31176 /* confdefs.h.  */
31177 _ACEOF
31178 cat confdefs.h >>conftest.$ac_ext
31179 cat >>conftest.$ac_ext <<_ACEOF
31180 /* end confdefs.h.  */
31181 #include <$ac_header>
31182 _ACEOF
31183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31184   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31185   ac_status=$?
31186   grep -v '^ *+' conftest.er1 >conftest.err
31187   rm -f conftest.er1
31188   cat conftest.err >&5
31189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190   (exit $ac_status); } >/dev/null; then
31191   if test -s conftest.err; then
31192     ac_cpp_err=$ac_c_preproc_warn_flag
31193     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31194   else
31195     ac_cpp_err=
31196   fi
31197 else
31198   ac_cpp_err=yes
31199 fi
31200 if test -z "$ac_cpp_err"; then
31201   ac_header_preproc=yes
31202 else
31203   echo "$as_me: failed program was:" >&5
31204 sed 's/^/| /' conftest.$ac_ext >&5
31205
31206   ac_header_preproc=no
31207 fi
31208 rm -f conftest.err conftest.$ac_ext
31209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31210 echo "${ECHO_T}$ac_header_preproc" >&6
31211
31212 # So?  What about this header?
31213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31214   yes:no: )
31215     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31216 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31217     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31218 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31219     ac_header_preproc=yes
31220     ;;
31221   no:yes:* )
31222     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31224     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31225 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31226     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31227 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31228     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31229 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31230     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31231 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31232     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31233 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31234     (
31235       cat <<\_ASBOX
31236 ## ----------------------------------------- ##
31237 ## Report this to the package-unused lists.  ##
31238 ## ----------------------------------------- ##
31239 _ASBOX
31240     ) |
31241       sed "s/^/$as_me: WARNING:     /" >&2
31242     ;;
31243 esac
31244 echo "$as_me:$LINENO: checking for $ac_header" >&5
31245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31247   echo $ECHO_N "(cached) $ECHO_C" >&6
31248 else
31249   eval "$as_ac_Header=\$ac_header_preproc"
31250 fi
31251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31253
31254 fi
31255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31256   cat >>confdefs.h <<_ACEOF
31257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31258 _ACEOF
31259
31260 fi
31261
31262 done
31263
31264
31265
31266   # All these tests are for C++; save the language and the compiler flags.
31267   # The CXXFLAGS thing is suspicious, but based on similar bits previously
31268   # found in GLIBCXX_CONFIGURE.
31269
31270
31271   ac_ext=cc
31272 ac_cpp='$CXXCPP $CPPFLAGS'
31273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31276
31277   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31278   ac_save_CXXFLAGS="$CXXFLAGS"
31279
31280   # Check for maintainer-mode bits.
31281   if test x"$USE_MAINTAINER_MODE" = xno; then
31282     WERROR=''
31283   else
31284     WERROR='-Werror'
31285   fi
31286
31287   # Check for -ffunction-sections -fdata-sections
31288   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31289 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31290   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31291   cat >conftest.$ac_ext <<_ACEOF
31292 /* confdefs.h.  */
31293 _ACEOF
31294 cat confdefs.h >>conftest.$ac_ext
31295 cat >>conftest.$ac_ext <<_ACEOF
31296 /* end confdefs.h.  */
31297
31298 int
31299 main ()
31300 {
31301 int foo;
31302   ;
31303   return 0;
31304 }
31305 _ACEOF
31306 rm -f conftest.$ac_objext
31307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31308   (eval $ac_compile) 2>conftest.er1
31309   ac_status=$?
31310   grep -v '^ *+' conftest.er1 >conftest.err
31311   rm -f conftest.er1
31312   cat conftest.err >&5
31313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314   (exit $ac_status); } &&
31315          { ac_try='test -z "$ac_cxx_werror_flag"
31316                          || test ! -s conftest.err'
31317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318   (eval $ac_try) 2>&5
31319   ac_status=$?
31320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321   (exit $ac_status); }; } &&
31322          { ac_try='test -s conftest.$ac_objext'
31323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324   (eval $ac_try) 2>&5
31325   ac_status=$?
31326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327   (exit $ac_status); }; }; then
31328   ac_fdsections=yes
31329 else
31330   echo "$as_me: failed program was:" >&5
31331 sed 's/^/| /' conftest.$ac_ext >&5
31332
31333 ac_fdsections=no
31334 fi
31335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31336   if test "$ac_test_CXXFLAGS" = set; then
31337     CXXFLAGS="$ac_save_CXXFLAGS"
31338   else
31339     # this is the suspicious part
31340     CXXFLAGS=''
31341   fi
31342   if test x"$ac_fdsections" = x"yes"; then
31343     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31344   fi
31345   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31346 echo "${ECHO_T}$ac_fdsections" >&6
31347
31348   ac_ext=c
31349 ac_cpp='$CPP $CPPFLAGS'
31350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31353
31354
31355
31356
31357     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31358
31359   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31360   ac_save_CXXFLAGS="$CXXFLAGS"
31361   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31362
31363     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31364 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31365 if test "${ac_cv_lib_m_sin+set}" = set; then
31366   echo $ECHO_N "(cached) $ECHO_C" >&6
31367 else
31368   ac_check_lib_save_LIBS=$LIBS
31369 LIBS="-lm  $LIBS"
31370 if test x$gcc_no_link = xyes; then
31371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31373    { (exit 1); exit 1; }; }
31374 fi
31375 cat >conftest.$ac_ext <<_ACEOF
31376 /* confdefs.h.  */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h.  */
31381
31382 /* Override any gcc2 internal prototype to avoid an error.  */
31383 #ifdef __cplusplus
31384 extern "C"
31385 #endif
31386 /* We use char because int might match the return type of a gcc2
31387    builtin and then its argument prototype would still apply.  */
31388 char sin ();
31389 int
31390 main ()
31391 {
31392 sin ();
31393   ;
31394   return 0;
31395 }
31396 _ACEOF
31397 rm -f conftest.$ac_objext conftest$ac_exeext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399   (eval $ac_link) 2>conftest.er1
31400   ac_status=$?
31401   grep -v '^ *+' conftest.er1 >conftest.err
31402   rm -f conftest.er1
31403   cat conftest.err >&5
31404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405   (exit $ac_status); } &&
31406          { ac_try='test -z "$ac_c_werror_flag"
31407                          || test ! -s conftest.err'
31408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409   (eval $ac_try) 2>&5
31410   ac_status=$?
31411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412   (exit $ac_status); }; } &&
31413          { ac_try='test -s conftest$ac_exeext'
31414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415   (eval $ac_try) 2>&5
31416   ac_status=$?
31417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418   (exit $ac_status); }; }; then
31419   ac_cv_lib_m_sin=yes
31420 else
31421   echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.$ac_ext >&5
31423
31424 ac_cv_lib_m_sin=no
31425 fi
31426 rm -f conftest.err conftest.$ac_objext \
31427       conftest$ac_exeext conftest.$ac_ext
31428 LIBS=$ac_check_lib_save_LIBS
31429 fi
31430 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31431 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31432 if test $ac_cv_lib_m_sin = yes; then
31433   libm="-lm"
31434 fi
31435
31436   ac_save_LIBS="$LIBS"
31437   LIBS="$LIBS $libm"
31438
31439
31440
31441   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31442 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31443   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31444     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31445   echo $ECHO_N "(cached) $ECHO_C" >&6
31446 else
31447
31448
31449
31450       ac_ext=cc
31451 ac_cpp='$CXXCPP $CPPFLAGS'
31452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31455
31456       cat >conftest.$ac_ext <<_ACEOF
31457 /* confdefs.h.  */
31458 _ACEOF
31459 cat confdefs.h >>conftest.$ac_ext
31460 cat >>conftest.$ac_ext <<_ACEOF
31461 /* end confdefs.h.  */
31462 #include <math.h>
31463                       #ifdef HAVE_IEEEFP_H
31464                       #include <ieeefp.h>
31465                       #endif
31466
31467 int
31468 main ()
31469 {
31470  isinf(0);
31471   ;
31472   return 0;
31473 }
31474 _ACEOF
31475 rm -f conftest.$ac_objext
31476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31477   (eval $ac_compile) 2>conftest.er1
31478   ac_status=$?
31479   grep -v '^ *+' conftest.er1 >conftest.err
31480   rm -f conftest.er1
31481   cat conftest.err >&5
31482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31483   (exit $ac_status); } &&
31484          { ac_try='test -z "$ac_cxx_werror_flag"
31485                          || test ! -s conftest.err'
31486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487   (eval $ac_try) 2>&5
31488   ac_status=$?
31489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490   (exit $ac_status); }; } &&
31491          { ac_try='test -s conftest.$ac_objext'
31492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31493   (eval $ac_try) 2>&5
31494   ac_status=$?
31495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496   (exit $ac_status); }; }; then
31497   glibcxx_cv_func_isinf_use=yes
31498 else
31499   echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31501
31502 glibcxx_cv_func_isinf_use=no
31503 fi
31504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31505       ac_ext=c
31506 ac_cpp='$CPP $CPPFLAGS'
31507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31510
31511
31512 fi
31513
31514   fi
31515   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31516 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31517
31518   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31519
31520 for ac_func in isinf
31521 do
31522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31523 echo "$as_me:$LINENO: checking for $ac_func" >&5
31524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31525 if eval "test \"\${$as_ac_var+set}\" = set"; then
31526   echo $ECHO_N "(cached) $ECHO_C" >&6
31527 else
31528   if test x$gcc_no_link = xyes; then
31529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31531    { (exit 1); exit 1; }; }
31532 fi
31533 cat >conftest.$ac_ext <<_ACEOF
31534 /* confdefs.h.  */
31535 _ACEOF
31536 cat confdefs.h >>conftest.$ac_ext
31537 cat >>conftest.$ac_ext <<_ACEOF
31538 /* end confdefs.h.  */
31539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31541 #define $ac_func innocuous_$ac_func
31542
31543 /* System header to define __stub macros and hopefully few prototypes,
31544     which can conflict with char $ac_func (); below.
31545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31546     <limits.h> exists even on freestanding compilers.  */
31547
31548 #ifdef __STDC__
31549 # include <limits.h>
31550 #else
31551 # include <assert.h>
31552 #endif
31553
31554 #undef $ac_func
31555
31556 /* Override any gcc2 internal prototype to avoid an error.  */
31557 #ifdef __cplusplus
31558 extern "C"
31559 {
31560 #endif
31561 /* We use char because int might match the return type of a gcc2
31562    builtin and then its argument prototype would still apply.  */
31563 char $ac_func ();
31564 /* The GNU C library defines this for functions which it implements
31565     to always fail with ENOSYS.  Some functions are actually named
31566     something starting with __ and the normal name is an alias.  */
31567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31568 choke me
31569 #else
31570 char (*f) () = $ac_func;
31571 #endif
31572 #ifdef __cplusplus
31573 }
31574 #endif
31575
31576 int
31577 main ()
31578 {
31579 return f != $ac_func;
31580   ;
31581   return 0;
31582 }
31583 _ACEOF
31584 rm -f conftest.$ac_objext conftest$ac_exeext
31585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31586   (eval $ac_link) 2>conftest.er1
31587   ac_status=$?
31588   grep -v '^ *+' conftest.er1 >conftest.err
31589   rm -f conftest.er1
31590   cat conftest.err >&5
31591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592   (exit $ac_status); } &&
31593          { ac_try='test -z "$ac_c_werror_flag"
31594                          || test ! -s conftest.err'
31595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31596   (eval $ac_try) 2>&5
31597   ac_status=$?
31598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599   (exit $ac_status); }; } &&
31600          { ac_try='test -s conftest$ac_exeext'
31601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602   (eval $ac_try) 2>&5
31603   ac_status=$?
31604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605   (exit $ac_status); }; }; then
31606   eval "$as_ac_var=yes"
31607 else
31608   echo "$as_me: failed program was:" >&5
31609 sed 's/^/| /' conftest.$ac_ext >&5
31610
31611 eval "$as_ac_var=no"
31612 fi
31613 rm -f conftest.err conftest.$ac_objext \
31614       conftest$ac_exeext conftest.$ac_ext
31615 fi
31616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31618 if test `eval echo '${'$as_ac_var'}'` = yes; then
31619   cat >>confdefs.h <<_ACEOF
31620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31621 _ACEOF
31622
31623 fi
31624 done
31625
31626   else
31627
31628   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31629 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31630   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31631     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31632   echo $ECHO_N "(cached) $ECHO_C" >&6
31633 else
31634
31635
31636
31637       ac_ext=cc
31638 ac_cpp='$CXXCPP $CPPFLAGS'
31639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31642
31643       cat >conftest.$ac_ext <<_ACEOF
31644 /* confdefs.h.  */
31645 _ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h.  */
31649 #include <math.h>
31650                       #ifdef HAVE_IEEEFP_H
31651                       #include <ieeefp.h>
31652                       #endif
31653
31654 int
31655 main ()
31656 {
31657  _isinf(0);
31658   ;
31659   return 0;
31660 }
31661 _ACEOF
31662 rm -f conftest.$ac_objext
31663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31664   (eval $ac_compile) 2>conftest.er1
31665   ac_status=$?
31666   grep -v '^ *+' conftest.er1 >conftest.err
31667   rm -f conftest.er1
31668   cat conftest.err >&5
31669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670   (exit $ac_status); } &&
31671          { ac_try='test -z "$ac_cxx_werror_flag"
31672                          || test ! -s conftest.err'
31673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674   (eval $ac_try) 2>&5
31675   ac_status=$?
31676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677   (exit $ac_status); }; } &&
31678          { ac_try='test -s conftest.$ac_objext'
31679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680   (eval $ac_try) 2>&5
31681   ac_status=$?
31682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683   (exit $ac_status); }; }; then
31684   glibcxx_cv_func__isinf_use=yes
31685 else
31686   echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31688
31689 glibcxx_cv_func__isinf_use=no
31690 fi
31691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31692       ac_ext=c
31693 ac_cpp='$CPP $CPPFLAGS'
31694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697
31698
31699 fi
31700
31701   fi
31702   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31703 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31704
31705     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31706
31707 for ac_func in _isinf
31708 do
31709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31710 echo "$as_me:$LINENO: checking for $ac_func" >&5
31711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31712 if eval "test \"\${$as_ac_var+set}\" = set"; then
31713   echo $ECHO_N "(cached) $ECHO_C" >&6
31714 else
31715   if test x$gcc_no_link = xyes; then
31716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31718    { (exit 1); exit 1; }; }
31719 fi
31720 cat >conftest.$ac_ext <<_ACEOF
31721 /* confdefs.h.  */
31722 _ACEOF
31723 cat confdefs.h >>conftest.$ac_ext
31724 cat >>conftest.$ac_ext <<_ACEOF
31725 /* end confdefs.h.  */
31726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31728 #define $ac_func innocuous_$ac_func
31729
31730 /* System header to define __stub macros and hopefully few prototypes,
31731     which can conflict with char $ac_func (); below.
31732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31733     <limits.h> exists even on freestanding compilers.  */
31734
31735 #ifdef __STDC__
31736 # include <limits.h>
31737 #else
31738 # include <assert.h>
31739 #endif
31740
31741 #undef $ac_func
31742
31743 /* Override any gcc2 internal prototype to avoid an error.  */
31744 #ifdef __cplusplus
31745 extern "C"
31746 {
31747 #endif
31748 /* We use char because int might match the return type of a gcc2
31749    builtin and then its argument prototype would still apply.  */
31750 char $ac_func ();
31751 /* The GNU C library defines this for functions which it implements
31752     to always fail with ENOSYS.  Some functions are actually named
31753     something starting with __ and the normal name is an alias.  */
31754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31755 choke me
31756 #else
31757 char (*f) () = $ac_func;
31758 #endif
31759 #ifdef __cplusplus
31760 }
31761 #endif
31762
31763 int
31764 main ()
31765 {
31766 return f != $ac_func;
31767   ;
31768   return 0;
31769 }
31770 _ACEOF
31771 rm -f conftest.$ac_objext conftest$ac_exeext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31773   (eval $ac_link) 2>conftest.er1
31774   ac_status=$?
31775   grep -v '^ *+' conftest.er1 >conftest.err
31776   rm -f conftest.er1
31777   cat conftest.err >&5
31778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779   (exit $ac_status); } &&
31780          { ac_try='test -z "$ac_c_werror_flag"
31781                          || test ! -s conftest.err'
31782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783   (eval $ac_try) 2>&5
31784   ac_status=$?
31785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786   (exit $ac_status); }; } &&
31787          { ac_try='test -s conftest$ac_exeext'
31788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789   (eval $ac_try) 2>&5
31790   ac_status=$?
31791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792   (exit $ac_status); }; }; then
31793   eval "$as_ac_var=yes"
31794 else
31795   echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31797
31798 eval "$as_ac_var=no"
31799 fi
31800 rm -f conftest.err conftest.$ac_objext \
31801       conftest$ac_exeext conftest.$ac_ext
31802 fi
31803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31805 if test `eval echo '${'$as_ac_var'}'` = yes; then
31806   cat >>confdefs.h <<_ACEOF
31807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31808 _ACEOF
31809
31810 fi
31811 done
31812
31813     fi
31814   fi
31815
31816
31817
31818   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31819 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31820   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31821     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31822   echo $ECHO_N "(cached) $ECHO_C" >&6
31823 else
31824
31825
31826
31827       ac_ext=cc
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31832
31833       cat >conftest.$ac_ext <<_ACEOF
31834 /* confdefs.h.  */
31835 _ACEOF
31836 cat confdefs.h >>conftest.$ac_ext
31837 cat >>conftest.$ac_ext <<_ACEOF
31838 /* end confdefs.h.  */
31839 #include <math.h>
31840                       #ifdef HAVE_IEEEFP_H
31841                       #include <ieeefp.h>
31842                       #endif
31843
31844 int
31845 main ()
31846 {
31847  isnan(0);
31848   ;
31849   return 0;
31850 }
31851 _ACEOF
31852 rm -f conftest.$ac_objext
31853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31854   (eval $ac_compile) 2>conftest.er1
31855   ac_status=$?
31856   grep -v '^ *+' conftest.er1 >conftest.err
31857   rm -f conftest.er1
31858   cat conftest.err >&5
31859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860   (exit $ac_status); } &&
31861          { ac_try='test -z "$ac_cxx_werror_flag"
31862                          || test ! -s conftest.err'
31863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864   (eval $ac_try) 2>&5
31865   ac_status=$?
31866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867   (exit $ac_status); }; } &&
31868          { ac_try='test -s conftest.$ac_objext'
31869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870   (eval $ac_try) 2>&5
31871   ac_status=$?
31872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873   (exit $ac_status); }; }; then
31874   glibcxx_cv_func_isnan_use=yes
31875 else
31876   echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.$ac_ext >&5
31878
31879 glibcxx_cv_func_isnan_use=no
31880 fi
31881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31882       ac_ext=c
31883 ac_cpp='$CPP $CPPFLAGS'
31884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31887
31888
31889 fi
31890
31891   fi
31892   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31893 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31894
31895   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31896
31897 for ac_func in isnan
31898 do
31899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31900 echo "$as_me:$LINENO: checking for $ac_func" >&5
31901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31902 if eval "test \"\${$as_ac_var+set}\" = set"; then
31903   echo $ECHO_N "(cached) $ECHO_C" >&6
31904 else
31905   if test x$gcc_no_link = xyes; then
31906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31908    { (exit 1); exit 1; }; }
31909 fi
31910 cat >conftest.$ac_ext <<_ACEOF
31911 /* confdefs.h.  */
31912 _ACEOF
31913 cat confdefs.h >>conftest.$ac_ext
31914 cat >>conftest.$ac_ext <<_ACEOF
31915 /* end confdefs.h.  */
31916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31918 #define $ac_func innocuous_$ac_func
31919
31920 /* System header to define __stub macros and hopefully few prototypes,
31921     which can conflict with char $ac_func (); below.
31922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31923     <limits.h> exists even on freestanding compilers.  */
31924
31925 #ifdef __STDC__
31926 # include <limits.h>
31927 #else
31928 # include <assert.h>
31929 #endif
31930
31931 #undef $ac_func
31932
31933 /* Override any gcc2 internal prototype to avoid an error.  */
31934 #ifdef __cplusplus
31935 extern "C"
31936 {
31937 #endif
31938 /* We use char because int might match the return type of a gcc2
31939    builtin and then its argument prototype would still apply.  */
31940 char $ac_func ();
31941 /* The GNU C library defines this for functions which it implements
31942     to always fail with ENOSYS.  Some functions are actually named
31943     something starting with __ and the normal name is an alias.  */
31944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31945 choke me
31946 #else
31947 char (*f) () = $ac_func;
31948 #endif
31949 #ifdef __cplusplus
31950 }
31951 #endif
31952
31953 int
31954 main ()
31955 {
31956 return f != $ac_func;
31957   ;
31958   return 0;
31959 }
31960 _ACEOF
31961 rm -f conftest.$ac_objext conftest$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963   (eval $ac_link) 2>conftest.er1
31964   ac_status=$?
31965   grep -v '^ *+' conftest.er1 >conftest.err
31966   rm -f conftest.er1
31967   cat conftest.err >&5
31968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969   (exit $ac_status); } &&
31970          { ac_try='test -z "$ac_c_werror_flag"
31971                          || test ! -s conftest.err'
31972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973   (eval $ac_try) 2>&5
31974   ac_status=$?
31975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976   (exit $ac_status); }; } &&
31977          { ac_try='test -s conftest$ac_exeext'
31978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979   (eval $ac_try) 2>&5
31980   ac_status=$?
31981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982   (exit $ac_status); }; }; then
31983   eval "$as_ac_var=yes"
31984 else
31985   echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31987
31988 eval "$as_ac_var=no"
31989 fi
31990 rm -f conftest.err conftest.$ac_objext \
31991       conftest$ac_exeext conftest.$ac_ext
31992 fi
31993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31995 if test `eval echo '${'$as_ac_var'}'` = yes; then
31996   cat >>confdefs.h <<_ACEOF
31997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31998 _ACEOF
31999
32000 fi
32001 done
32002
32003   else
32004
32005   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32006 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32007   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32008     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32009   echo $ECHO_N "(cached) $ECHO_C" >&6
32010 else
32011
32012
32013
32014       ac_ext=cc
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32019
32020       cat >conftest.$ac_ext <<_ACEOF
32021 /* confdefs.h.  */
32022 _ACEOF
32023 cat confdefs.h >>conftest.$ac_ext
32024 cat >>conftest.$ac_ext <<_ACEOF
32025 /* end confdefs.h.  */
32026 #include <math.h>
32027                       #ifdef HAVE_IEEEFP_H
32028                       #include <ieeefp.h>
32029                       #endif
32030
32031 int
32032 main ()
32033 {
32034  _isnan(0);
32035   ;
32036   return 0;
32037 }
32038 _ACEOF
32039 rm -f conftest.$ac_objext
32040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32041   (eval $ac_compile) 2>conftest.er1
32042   ac_status=$?
32043   grep -v '^ *+' conftest.er1 >conftest.err
32044   rm -f conftest.er1
32045   cat conftest.err >&5
32046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047   (exit $ac_status); } &&
32048          { ac_try='test -z "$ac_cxx_werror_flag"
32049                          || test ! -s conftest.err'
32050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051   (eval $ac_try) 2>&5
32052   ac_status=$?
32053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054   (exit $ac_status); }; } &&
32055          { ac_try='test -s conftest.$ac_objext'
32056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32057   (eval $ac_try) 2>&5
32058   ac_status=$?
32059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060   (exit $ac_status); }; }; then
32061   glibcxx_cv_func__isnan_use=yes
32062 else
32063   echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.$ac_ext >&5
32065
32066 glibcxx_cv_func__isnan_use=no
32067 fi
32068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32069       ac_ext=c
32070 ac_cpp='$CPP $CPPFLAGS'
32071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32074
32075
32076 fi
32077
32078   fi
32079   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32080 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32081
32082     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32083
32084 for ac_func in _isnan
32085 do
32086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32087 echo "$as_me:$LINENO: checking for $ac_func" >&5
32088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32089 if eval "test \"\${$as_ac_var+set}\" = set"; then
32090   echo $ECHO_N "(cached) $ECHO_C" >&6
32091 else
32092   if test x$gcc_no_link = xyes; then
32093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32095    { (exit 1); exit 1; }; }
32096 fi
32097 cat >conftest.$ac_ext <<_ACEOF
32098 /* confdefs.h.  */
32099 _ACEOF
32100 cat confdefs.h >>conftest.$ac_ext
32101 cat >>conftest.$ac_ext <<_ACEOF
32102 /* end confdefs.h.  */
32103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32105 #define $ac_func innocuous_$ac_func
32106
32107 /* System header to define __stub macros and hopefully few prototypes,
32108     which can conflict with char $ac_func (); below.
32109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32110     <limits.h> exists even on freestanding compilers.  */
32111
32112 #ifdef __STDC__
32113 # include <limits.h>
32114 #else
32115 # include <assert.h>
32116 #endif
32117
32118 #undef $ac_func
32119
32120 /* Override any gcc2 internal prototype to avoid an error.  */
32121 #ifdef __cplusplus
32122 extern "C"
32123 {
32124 #endif
32125 /* We use char because int might match the return type of a gcc2
32126    builtin and then its argument prototype would still apply.  */
32127 char $ac_func ();
32128 /* The GNU C library defines this for functions which it implements
32129     to always fail with ENOSYS.  Some functions are actually named
32130     something starting with __ and the normal name is an alias.  */
32131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32132 choke me
32133 #else
32134 char (*f) () = $ac_func;
32135 #endif
32136 #ifdef __cplusplus
32137 }
32138 #endif
32139
32140 int
32141 main ()
32142 {
32143 return f != $ac_func;
32144   ;
32145   return 0;
32146 }
32147 _ACEOF
32148 rm -f conftest.$ac_objext conftest$ac_exeext
32149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32150   (eval $ac_link) 2>conftest.er1
32151   ac_status=$?
32152   grep -v '^ *+' conftest.er1 >conftest.err
32153   rm -f conftest.er1
32154   cat conftest.err >&5
32155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156   (exit $ac_status); } &&
32157          { ac_try='test -z "$ac_c_werror_flag"
32158                          || test ! -s conftest.err'
32159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160   (eval $ac_try) 2>&5
32161   ac_status=$?
32162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163   (exit $ac_status); }; } &&
32164          { ac_try='test -s conftest$ac_exeext'
32165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32166   (eval $ac_try) 2>&5
32167   ac_status=$?
32168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32169   (exit $ac_status); }; }; then
32170   eval "$as_ac_var=yes"
32171 else
32172   echo "$as_me: failed program was:" >&5
32173 sed 's/^/| /' conftest.$ac_ext >&5
32174
32175 eval "$as_ac_var=no"
32176 fi
32177 rm -f conftest.err conftest.$ac_objext \
32178       conftest$ac_exeext conftest.$ac_ext
32179 fi
32180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32182 if test `eval echo '${'$as_ac_var'}'` = yes; then
32183   cat >>confdefs.h <<_ACEOF
32184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32185 _ACEOF
32186
32187 fi
32188 done
32189
32190     fi
32191   fi
32192
32193
32194
32195   echo "$as_me:$LINENO: checking for finite declaration" >&5
32196 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32197   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32198     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32199   echo $ECHO_N "(cached) $ECHO_C" >&6
32200 else
32201
32202
32203
32204       ac_ext=cc
32205 ac_cpp='$CXXCPP $CPPFLAGS'
32206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32209
32210       cat >conftest.$ac_ext <<_ACEOF
32211 /* confdefs.h.  */
32212 _ACEOF
32213 cat confdefs.h >>conftest.$ac_ext
32214 cat >>conftest.$ac_ext <<_ACEOF
32215 /* end confdefs.h.  */
32216 #include <math.h>
32217                       #ifdef HAVE_IEEEFP_H
32218                       #include <ieeefp.h>
32219                       #endif
32220
32221 int
32222 main ()
32223 {
32224  finite(0);
32225   ;
32226   return 0;
32227 }
32228 _ACEOF
32229 rm -f conftest.$ac_objext
32230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32231   (eval $ac_compile) 2>conftest.er1
32232   ac_status=$?
32233   grep -v '^ *+' conftest.er1 >conftest.err
32234   rm -f conftest.er1
32235   cat conftest.err >&5
32236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237   (exit $ac_status); } &&
32238          { ac_try='test -z "$ac_cxx_werror_flag"
32239                          || test ! -s conftest.err'
32240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241   (eval $ac_try) 2>&5
32242   ac_status=$?
32243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244   (exit $ac_status); }; } &&
32245          { ac_try='test -s conftest.$ac_objext'
32246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32247   (eval $ac_try) 2>&5
32248   ac_status=$?
32249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250   (exit $ac_status); }; }; then
32251   glibcxx_cv_func_finite_use=yes
32252 else
32253   echo "$as_me: failed program was:" >&5
32254 sed 's/^/| /' conftest.$ac_ext >&5
32255
32256 glibcxx_cv_func_finite_use=no
32257 fi
32258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32259       ac_ext=c
32260 ac_cpp='$CPP $CPPFLAGS'
32261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264
32265
32266 fi
32267
32268   fi
32269   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32270 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32271
32272   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32273
32274 for ac_func in finite
32275 do
32276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32277 echo "$as_me:$LINENO: checking for $ac_func" >&5
32278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32279 if eval "test \"\${$as_ac_var+set}\" = set"; then
32280   echo $ECHO_N "(cached) $ECHO_C" >&6
32281 else
32282   if test x$gcc_no_link = xyes; then
32283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32285    { (exit 1); exit 1; }; }
32286 fi
32287 cat >conftest.$ac_ext <<_ACEOF
32288 /* confdefs.h.  */
32289 _ACEOF
32290 cat confdefs.h >>conftest.$ac_ext
32291 cat >>conftest.$ac_ext <<_ACEOF
32292 /* end confdefs.h.  */
32293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32295 #define $ac_func innocuous_$ac_func
32296
32297 /* System header to define __stub macros and hopefully few prototypes,
32298     which can conflict with char $ac_func (); below.
32299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32300     <limits.h> exists even on freestanding compilers.  */
32301
32302 #ifdef __STDC__
32303 # include <limits.h>
32304 #else
32305 # include <assert.h>
32306 #endif
32307
32308 #undef $ac_func
32309
32310 /* Override any gcc2 internal prototype to avoid an error.  */
32311 #ifdef __cplusplus
32312 extern "C"
32313 {
32314 #endif
32315 /* We use char because int might match the return type of a gcc2
32316    builtin and then its argument prototype would still apply.  */
32317 char $ac_func ();
32318 /* The GNU C library defines this for functions which it implements
32319     to always fail with ENOSYS.  Some functions are actually named
32320     something starting with __ and the normal name is an alias.  */
32321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32322 choke me
32323 #else
32324 char (*f) () = $ac_func;
32325 #endif
32326 #ifdef __cplusplus
32327 }
32328 #endif
32329
32330 int
32331 main ()
32332 {
32333 return f != $ac_func;
32334   ;
32335   return 0;
32336 }
32337 _ACEOF
32338 rm -f conftest.$ac_objext conftest$ac_exeext
32339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32340   (eval $ac_link) 2>conftest.er1
32341   ac_status=$?
32342   grep -v '^ *+' conftest.er1 >conftest.err
32343   rm -f conftest.er1
32344   cat conftest.err >&5
32345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346   (exit $ac_status); } &&
32347          { ac_try='test -z "$ac_c_werror_flag"
32348                          || test ! -s conftest.err'
32349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32350   (eval $ac_try) 2>&5
32351   ac_status=$?
32352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353   (exit $ac_status); }; } &&
32354          { ac_try='test -s conftest$ac_exeext'
32355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356   (eval $ac_try) 2>&5
32357   ac_status=$?
32358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359   (exit $ac_status); }; }; then
32360   eval "$as_ac_var=yes"
32361 else
32362   echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.$ac_ext >&5
32364
32365 eval "$as_ac_var=no"
32366 fi
32367 rm -f conftest.err conftest.$ac_objext \
32368       conftest$ac_exeext conftest.$ac_ext
32369 fi
32370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32372 if test `eval echo '${'$as_ac_var'}'` = yes; then
32373   cat >>confdefs.h <<_ACEOF
32374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32375 _ACEOF
32376
32377 fi
32378 done
32379
32380   else
32381
32382   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32383 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32384   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32385     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32386   echo $ECHO_N "(cached) $ECHO_C" >&6
32387 else
32388
32389
32390
32391       ac_ext=cc
32392 ac_cpp='$CXXCPP $CPPFLAGS'
32393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32396
32397       cat >conftest.$ac_ext <<_ACEOF
32398 /* confdefs.h.  */
32399 _ACEOF
32400 cat confdefs.h >>conftest.$ac_ext
32401 cat >>conftest.$ac_ext <<_ACEOF
32402 /* end confdefs.h.  */
32403 #include <math.h>
32404                       #ifdef HAVE_IEEEFP_H
32405                       #include <ieeefp.h>
32406                       #endif
32407
32408 int
32409 main ()
32410 {
32411  _finite(0);
32412   ;
32413   return 0;
32414 }
32415 _ACEOF
32416 rm -f conftest.$ac_objext
32417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32418   (eval $ac_compile) 2>conftest.er1
32419   ac_status=$?
32420   grep -v '^ *+' conftest.er1 >conftest.err
32421   rm -f conftest.er1
32422   cat conftest.err >&5
32423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424   (exit $ac_status); } &&
32425          { ac_try='test -z "$ac_cxx_werror_flag"
32426                          || test ! -s conftest.err'
32427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428   (eval $ac_try) 2>&5
32429   ac_status=$?
32430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431   (exit $ac_status); }; } &&
32432          { ac_try='test -s conftest.$ac_objext'
32433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434   (eval $ac_try) 2>&5
32435   ac_status=$?
32436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437   (exit $ac_status); }; }; then
32438   glibcxx_cv_func__finite_use=yes
32439 else
32440   echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32442
32443 glibcxx_cv_func__finite_use=no
32444 fi
32445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32446       ac_ext=c
32447 ac_cpp='$CPP $CPPFLAGS'
32448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32451
32452
32453 fi
32454
32455   fi
32456   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32457 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32458
32459     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32460
32461 for ac_func in _finite
32462 do
32463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32464 echo "$as_me:$LINENO: checking for $ac_func" >&5
32465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32466 if eval "test \"\${$as_ac_var+set}\" = set"; then
32467   echo $ECHO_N "(cached) $ECHO_C" >&6
32468 else
32469   if test x$gcc_no_link = xyes; then
32470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32472    { (exit 1); exit 1; }; }
32473 fi
32474 cat >conftest.$ac_ext <<_ACEOF
32475 /* confdefs.h.  */
32476 _ACEOF
32477 cat confdefs.h >>conftest.$ac_ext
32478 cat >>conftest.$ac_ext <<_ACEOF
32479 /* end confdefs.h.  */
32480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32482 #define $ac_func innocuous_$ac_func
32483
32484 /* System header to define __stub macros and hopefully few prototypes,
32485     which can conflict with char $ac_func (); below.
32486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32487     <limits.h> exists even on freestanding compilers.  */
32488
32489 #ifdef __STDC__
32490 # include <limits.h>
32491 #else
32492 # include <assert.h>
32493 #endif
32494
32495 #undef $ac_func
32496
32497 /* Override any gcc2 internal prototype to avoid an error.  */
32498 #ifdef __cplusplus
32499 extern "C"
32500 {
32501 #endif
32502 /* We use char because int might match the return type of a gcc2
32503    builtin and then its argument prototype would still apply.  */
32504 char $ac_func ();
32505 /* The GNU C library defines this for functions which it implements
32506     to always fail with ENOSYS.  Some functions are actually named
32507     something starting with __ and the normal name is an alias.  */
32508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32509 choke me
32510 #else
32511 char (*f) () = $ac_func;
32512 #endif
32513 #ifdef __cplusplus
32514 }
32515 #endif
32516
32517 int
32518 main ()
32519 {
32520 return f != $ac_func;
32521   ;
32522   return 0;
32523 }
32524 _ACEOF
32525 rm -f conftest.$ac_objext conftest$ac_exeext
32526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32527   (eval $ac_link) 2>conftest.er1
32528   ac_status=$?
32529   grep -v '^ *+' conftest.er1 >conftest.err
32530   rm -f conftest.er1
32531   cat conftest.err >&5
32532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533   (exit $ac_status); } &&
32534          { ac_try='test -z "$ac_c_werror_flag"
32535                          || test ! -s conftest.err'
32536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32537   (eval $ac_try) 2>&5
32538   ac_status=$?
32539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540   (exit $ac_status); }; } &&
32541          { ac_try='test -s conftest$ac_exeext'
32542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32543   (eval $ac_try) 2>&5
32544   ac_status=$?
32545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32546   (exit $ac_status); }; }; then
32547   eval "$as_ac_var=yes"
32548 else
32549   echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32551
32552 eval "$as_ac_var=no"
32553 fi
32554 rm -f conftest.err conftest.$ac_objext \
32555       conftest$ac_exeext conftest.$ac_ext
32556 fi
32557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32559 if test `eval echo '${'$as_ac_var'}'` = yes; then
32560   cat >>confdefs.h <<_ACEOF
32561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32562 _ACEOF
32563
32564 fi
32565 done
32566
32567     fi
32568   fi
32569
32570
32571
32572   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32573 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32574   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32575     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32576   echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578
32579
32580
32581       ac_ext=cc
32582 ac_cpp='$CXXCPP $CPPFLAGS'
32583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32586
32587       cat >conftest.$ac_ext <<_ACEOF
32588 /* confdefs.h.  */
32589 _ACEOF
32590 cat confdefs.h >>conftest.$ac_ext
32591 cat >>conftest.$ac_ext <<_ACEOF
32592 /* end confdefs.h.  */
32593 #include <math.h>
32594 int
32595 main ()
32596 {
32597  copysign(0, 0);
32598   ;
32599   return 0;
32600 }
32601 _ACEOF
32602 rm -f conftest.$ac_objext
32603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32604   (eval $ac_compile) 2>conftest.er1
32605   ac_status=$?
32606   grep -v '^ *+' conftest.er1 >conftest.err
32607   rm -f conftest.er1
32608   cat conftest.err >&5
32609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610   (exit $ac_status); } &&
32611          { ac_try='test -z "$ac_cxx_werror_flag"
32612                          || test ! -s conftest.err'
32613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614   (eval $ac_try) 2>&5
32615   ac_status=$?
32616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617   (exit $ac_status); }; } &&
32618          { ac_try='test -s conftest.$ac_objext'
32619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620   (eval $ac_try) 2>&5
32621   ac_status=$?
32622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623   (exit $ac_status); }; }; then
32624   glibcxx_cv_func_copysign_use=yes
32625 else
32626   echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32628
32629 glibcxx_cv_func_copysign_use=no
32630 fi
32631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32632       ac_ext=c
32633 ac_cpp='$CPP $CPPFLAGS'
32634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32637
32638
32639 fi
32640
32641   fi
32642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32643 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32644
32645   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32646
32647 for ac_func in copysign
32648 do
32649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32650 echo "$as_me:$LINENO: checking for $ac_func" >&5
32651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32652 if eval "test \"\${$as_ac_var+set}\" = set"; then
32653   echo $ECHO_N "(cached) $ECHO_C" >&6
32654 else
32655   if test x$gcc_no_link = xyes; then
32656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32658    { (exit 1); exit 1; }; }
32659 fi
32660 cat >conftest.$ac_ext <<_ACEOF
32661 /* confdefs.h.  */
32662 _ACEOF
32663 cat confdefs.h >>conftest.$ac_ext
32664 cat >>conftest.$ac_ext <<_ACEOF
32665 /* end confdefs.h.  */
32666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32668 #define $ac_func innocuous_$ac_func
32669
32670 /* System header to define __stub macros and hopefully few prototypes,
32671     which can conflict with char $ac_func (); below.
32672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32673     <limits.h> exists even on freestanding compilers.  */
32674
32675 #ifdef __STDC__
32676 # include <limits.h>
32677 #else
32678 # include <assert.h>
32679 #endif
32680
32681 #undef $ac_func
32682
32683 /* Override any gcc2 internal prototype to avoid an error.  */
32684 #ifdef __cplusplus
32685 extern "C"
32686 {
32687 #endif
32688 /* We use char because int might match the return type of a gcc2
32689    builtin and then its argument prototype would still apply.  */
32690 char $ac_func ();
32691 /* The GNU C library defines this for functions which it implements
32692     to always fail with ENOSYS.  Some functions are actually named
32693     something starting with __ and the normal name is an alias.  */
32694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32695 choke me
32696 #else
32697 char (*f) () = $ac_func;
32698 #endif
32699 #ifdef __cplusplus
32700 }
32701 #endif
32702
32703 int
32704 main ()
32705 {
32706 return f != $ac_func;
32707   ;
32708   return 0;
32709 }
32710 _ACEOF
32711 rm -f conftest.$ac_objext conftest$ac_exeext
32712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32713   (eval $ac_link) 2>conftest.er1
32714   ac_status=$?
32715   grep -v '^ *+' conftest.er1 >conftest.err
32716   rm -f conftest.er1
32717   cat conftest.err >&5
32718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719   (exit $ac_status); } &&
32720          { ac_try='test -z "$ac_c_werror_flag"
32721                          || test ! -s conftest.err'
32722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32723   (eval $ac_try) 2>&5
32724   ac_status=$?
32725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726   (exit $ac_status); }; } &&
32727          { ac_try='test -s conftest$ac_exeext'
32728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729   (eval $ac_try) 2>&5
32730   ac_status=$?
32731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732   (exit $ac_status); }; }; then
32733   eval "$as_ac_var=yes"
32734 else
32735   echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.$ac_ext >&5
32737
32738 eval "$as_ac_var=no"
32739 fi
32740 rm -f conftest.err conftest.$ac_objext \
32741       conftest$ac_exeext conftest.$ac_ext
32742 fi
32743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32745 if test `eval echo '${'$as_ac_var'}'` = yes; then
32746   cat >>confdefs.h <<_ACEOF
32747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32748 _ACEOF
32749
32750 fi
32751 done
32752
32753   else
32754
32755   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32756 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32757   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32758     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32759   echo $ECHO_N "(cached) $ECHO_C" >&6
32760 else
32761
32762
32763
32764       ac_ext=cc
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32769
32770       cat >conftest.$ac_ext <<_ACEOF
32771 /* confdefs.h.  */
32772 _ACEOF
32773 cat confdefs.h >>conftest.$ac_ext
32774 cat >>conftest.$ac_ext <<_ACEOF
32775 /* end confdefs.h.  */
32776 #include <math.h>
32777 int
32778 main ()
32779 {
32780  _copysign(0, 0);
32781   ;
32782   return 0;
32783 }
32784 _ACEOF
32785 rm -f conftest.$ac_objext
32786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32787   (eval $ac_compile) 2>conftest.er1
32788   ac_status=$?
32789   grep -v '^ *+' conftest.er1 >conftest.err
32790   rm -f conftest.er1
32791   cat conftest.err >&5
32792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32793   (exit $ac_status); } &&
32794          { ac_try='test -z "$ac_cxx_werror_flag"
32795                          || test ! -s conftest.err'
32796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32797   (eval $ac_try) 2>&5
32798   ac_status=$?
32799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800   (exit $ac_status); }; } &&
32801          { ac_try='test -s conftest.$ac_objext'
32802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32803   (eval $ac_try) 2>&5
32804   ac_status=$?
32805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806   (exit $ac_status); }; }; then
32807   glibcxx_cv_func__copysign_use=yes
32808 else
32809   echo "$as_me: failed program was:" >&5
32810 sed 's/^/| /' conftest.$ac_ext >&5
32811
32812 glibcxx_cv_func__copysign_use=no
32813 fi
32814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32815       ac_ext=c
32816 ac_cpp='$CPP $CPPFLAGS'
32817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32820
32821
32822 fi
32823
32824   fi
32825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32826 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32827
32828     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32829
32830 for ac_func in _copysign
32831 do
32832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32833 echo "$as_me:$LINENO: checking for $ac_func" >&5
32834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32835 if eval "test \"\${$as_ac_var+set}\" = set"; then
32836   echo $ECHO_N "(cached) $ECHO_C" >&6
32837 else
32838   if test x$gcc_no_link = xyes; then
32839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32841    { (exit 1); exit 1; }; }
32842 fi
32843 cat >conftest.$ac_ext <<_ACEOF
32844 /* confdefs.h.  */
32845 _ACEOF
32846 cat confdefs.h >>conftest.$ac_ext
32847 cat >>conftest.$ac_ext <<_ACEOF
32848 /* end confdefs.h.  */
32849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32851 #define $ac_func innocuous_$ac_func
32852
32853 /* System header to define __stub macros and hopefully few prototypes,
32854     which can conflict with char $ac_func (); below.
32855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32856     <limits.h> exists even on freestanding compilers.  */
32857
32858 #ifdef __STDC__
32859 # include <limits.h>
32860 #else
32861 # include <assert.h>
32862 #endif
32863
32864 #undef $ac_func
32865
32866 /* Override any gcc2 internal prototype to avoid an error.  */
32867 #ifdef __cplusplus
32868 extern "C"
32869 {
32870 #endif
32871 /* We use char because int might match the return type of a gcc2
32872    builtin and then its argument prototype would still apply.  */
32873 char $ac_func ();
32874 /* The GNU C library defines this for functions which it implements
32875     to always fail with ENOSYS.  Some functions are actually named
32876     something starting with __ and the normal name is an alias.  */
32877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32878 choke me
32879 #else
32880 char (*f) () = $ac_func;
32881 #endif
32882 #ifdef __cplusplus
32883 }
32884 #endif
32885
32886 int
32887 main ()
32888 {
32889 return f != $ac_func;
32890   ;
32891   return 0;
32892 }
32893 _ACEOF
32894 rm -f conftest.$ac_objext conftest$ac_exeext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32896   (eval $ac_link) 2>conftest.er1
32897   ac_status=$?
32898   grep -v '^ *+' conftest.er1 >conftest.err
32899   rm -f conftest.er1
32900   cat conftest.err >&5
32901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902   (exit $ac_status); } &&
32903          { ac_try='test -z "$ac_c_werror_flag"
32904                          || test ! -s conftest.err'
32905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32906   (eval $ac_try) 2>&5
32907   ac_status=$?
32908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909   (exit $ac_status); }; } &&
32910          { ac_try='test -s conftest$ac_exeext'
32911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912   (eval $ac_try) 2>&5
32913   ac_status=$?
32914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915   (exit $ac_status); }; }; then
32916   eval "$as_ac_var=yes"
32917 else
32918   echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.$ac_ext >&5
32920
32921 eval "$as_ac_var=no"
32922 fi
32923 rm -f conftest.err conftest.$ac_objext \
32924       conftest$ac_exeext conftest.$ac_ext
32925 fi
32926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32928 if test `eval echo '${'$as_ac_var'}'` = yes; then
32929   cat >>confdefs.h <<_ACEOF
32930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32931 _ACEOF
32932
32933 fi
32934 done
32935
32936     fi
32937   fi
32938
32939
32940
32941   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32942 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32943   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32944     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32945   echo $ECHO_N "(cached) $ECHO_C" >&6
32946 else
32947
32948
32949
32950       ac_ext=cc
32951 ac_cpp='$CXXCPP $CPPFLAGS'
32952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32955
32956       cat >conftest.$ac_ext <<_ACEOF
32957 /* confdefs.h.  */
32958 _ACEOF
32959 cat confdefs.h >>conftest.$ac_ext
32960 cat >>conftest.$ac_ext <<_ACEOF
32961 /* end confdefs.h.  */
32962 #include <math.h>
32963 int
32964 main ()
32965 {
32966  sincos(0, 0, 0);
32967   ;
32968   return 0;
32969 }
32970 _ACEOF
32971 rm -f conftest.$ac_objext
32972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32973   (eval $ac_compile) 2>conftest.er1
32974   ac_status=$?
32975   grep -v '^ *+' conftest.er1 >conftest.err
32976   rm -f conftest.er1
32977   cat conftest.err >&5
32978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979   (exit $ac_status); } &&
32980          { ac_try='test -z "$ac_cxx_werror_flag"
32981                          || test ! -s conftest.err'
32982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32983   (eval $ac_try) 2>&5
32984   ac_status=$?
32985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32986   (exit $ac_status); }; } &&
32987          { ac_try='test -s conftest.$ac_objext'
32988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32989   (eval $ac_try) 2>&5
32990   ac_status=$?
32991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992   (exit $ac_status); }; }; then
32993   glibcxx_cv_func_sincos_use=yes
32994 else
32995   echo "$as_me: failed program was:" >&5
32996 sed 's/^/| /' conftest.$ac_ext >&5
32997
32998 glibcxx_cv_func_sincos_use=no
32999 fi
33000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33001       ac_ext=c
33002 ac_cpp='$CPP $CPPFLAGS'
33003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33006
33007
33008 fi
33009
33010   fi
33011   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33012 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33013
33014   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33015
33016 for ac_func in sincos
33017 do
33018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33019 echo "$as_me:$LINENO: checking for $ac_func" >&5
33020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33021 if eval "test \"\${$as_ac_var+set}\" = set"; then
33022   echo $ECHO_N "(cached) $ECHO_C" >&6
33023 else
33024   if test x$gcc_no_link = xyes; then
33025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33027    { (exit 1); exit 1; }; }
33028 fi
33029 cat >conftest.$ac_ext <<_ACEOF
33030 /* confdefs.h.  */
33031 _ACEOF
33032 cat confdefs.h >>conftest.$ac_ext
33033 cat >>conftest.$ac_ext <<_ACEOF
33034 /* end confdefs.h.  */
33035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33037 #define $ac_func innocuous_$ac_func
33038
33039 /* System header to define __stub macros and hopefully few prototypes,
33040     which can conflict with char $ac_func (); below.
33041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33042     <limits.h> exists even on freestanding compilers.  */
33043
33044 #ifdef __STDC__
33045 # include <limits.h>
33046 #else
33047 # include <assert.h>
33048 #endif
33049
33050 #undef $ac_func
33051
33052 /* Override any gcc2 internal prototype to avoid an error.  */
33053 #ifdef __cplusplus
33054 extern "C"
33055 {
33056 #endif
33057 /* We use char because int might match the return type of a gcc2
33058    builtin and then its argument prototype would still apply.  */
33059 char $ac_func ();
33060 /* The GNU C library defines this for functions which it implements
33061     to always fail with ENOSYS.  Some functions are actually named
33062     something starting with __ and the normal name is an alias.  */
33063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33064 choke me
33065 #else
33066 char (*f) () = $ac_func;
33067 #endif
33068 #ifdef __cplusplus
33069 }
33070 #endif
33071
33072 int
33073 main ()
33074 {
33075 return f != $ac_func;
33076   ;
33077   return 0;
33078 }
33079 _ACEOF
33080 rm -f conftest.$ac_objext conftest$ac_exeext
33081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33082   (eval $ac_link) 2>conftest.er1
33083   ac_status=$?
33084   grep -v '^ *+' conftest.er1 >conftest.err
33085   rm -f conftest.er1
33086   cat conftest.err >&5
33087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088   (exit $ac_status); } &&
33089          { ac_try='test -z "$ac_c_werror_flag"
33090                          || test ! -s conftest.err'
33091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092   (eval $ac_try) 2>&5
33093   ac_status=$?
33094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095   (exit $ac_status); }; } &&
33096          { ac_try='test -s conftest$ac_exeext'
33097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098   (eval $ac_try) 2>&5
33099   ac_status=$?
33100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101   (exit $ac_status); }; }; then
33102   eval "$as_ac_var=yes"
33103 else
33104   echo "$as_me: failed program was:" >&5
33105 sed 's/^/| /' conftest.$ac_ext >&5
33106
33107 eval "$as_ac_var=no"
33108 fi
33109 rm -f conftest.err conftest.$ac_objext \
33110       conftest$ac_exeext conftest.$ac_ext
33111 fi
33112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33114 if test `eval echo '${'$as_ac_var'}'` = yes; then
33115   cat >>confdefs.h <<_ACEOF
33116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33117 _ACEOF
33118
33119 fi
33120 done
33121
33122   else
33123
33124   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33125 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33126   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33127     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33128   echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130
33131
33132
33133       ac_ext=cc
33134 ac_cpp='$CXXCPP $CPPFLAGS'
33135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33138
33139       cat >conftest.$ac_ext <<_ACEOF
33140 /* confdefs.h.  */
33141 _ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h.  */
33145 #include <math.h>
33146 int
33147 main ()
33148 {
33149  _sincos(0, 0, 0);
33150   ;
33151   return 0;
33152 }
33153 _ACEOF
33154 rm -f conftest.$ac_objext
33155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33156   (eval $ac_compile) 2>conftest.er1
33157   ac_status=$?
33158   grep -v '^ *+' conftest.er1 >conftest.err
33159   rm -f conftest.er1
33160   cat conftest.err >&5
33161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162   (exit $ac_status); } &&
33163          { ac_try='test -z "$ac_cxx_werror_flag"
33164                          || test ! -s conftest.err'
33165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166   (eval $ac_try) 2>&5
33167   ac_status=$?
33168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169   (exit $ac_status); }; } &&
33170          { ac_try='test -s conftest.$ac_objext'
33171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33172   (eval $ac_try) 2>&5
33173   ac_status=$?
33174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175   (exit $ac_status); }; }; then
33176   glibcxx_cv_func__sincos_use=yes
33177 else
33178   echo "$as_me: failed program was:" >&5
33179 sed 's/^/| /' conftest.$ac_ext >&5
33180
33181 glibcxx_cv_func__sincos_use=no
33182 fi
33183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33184       ac_ext=c
33185 ac_cpp='$CPP $CPPFLAGS'
33186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33189
33190
33191 fi
33192
33193   fi
33194   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33195 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33196
33197     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33198
33199 for ac_func in _sincos
33200 do
33201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33202 echo "$as_me:$LINENO: checking for $ac_func" >&5
33203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33204 if eval "test \"\${$as_ac_var+set}\" = set"; then
33205   echo $ECHO_N "(cached) $ECHO_C" >&6
33206 else
33207   if test x$gcc_no_link = xyes; then
33208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33210    { (exit 1); exit 1; }; }
33211 fi
33212 cat >conftest.$ac_ext <<_ACEOF
33213 /* confdefs.h.  */
33214 _ACEOF
33215 cat confdefs.h >>conftest.$ac_ext
33216 cat >>conftest.$ac_ext <<_ACEOF
33217 /* end confdefs.h.  */
33218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33220 #define $ac_func innocuous_$ac_func
33221
33222 /* System header to define __stub macros and hopefully few prototypes,
33223     which can conflict with char $ac_func (); below.
33224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33225     <limits.h> exists even on freestanding compilers.  */
33226
33227 #ifdef __STDC__
33228 # include <limits.h>
33229 #else
33230 # include <assert.h>
33231 #endif
33232
33233 #undef $ac_func
33234
33235 /* Override any gcc2 internal prototype to avoid an error.  */
33236 #ifdef __cplusplus
33237 extern "C"
33238 {
33239 #endif
33240 /* We use char because int might match the return type of a gcc2
33241    builtin and then its argument prototype would still apply.  */
33242 char $ac_func ();
33243 /* The GNU C library defines this for functions which it implements
33244     to always fail with ENOSYS.  Some functions are actually named
33245     something starting with __ and the normal name is an alias.  */
33246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33247 choke me
33248 #else
33249 char (*f) () = $ac_func;
33250 #endif
33251 #ifdef __cplusplus
33252 }
33253 #endif
33254
33255 int
33256 main ()
33257 {
33258 return f != $ac_func;
33259   ;
33260   return 0;
33261 }
33262 _ACEOF
33263 rm -f conftest.$ac_objext conftest$ac_exeext
33264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33265   (eval $ac_link) 2>conftest.er1
33266   ac_status=$?
33267   grep -v '^ *+' conftest.er1 >conftest.err
33268   rm -f conftest.er1
33269   cat conftest.err >&5
33270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271   (exit $ac_status); } &&
33272          { ac_try='test -z "$ac_c_werror_flag"
33273                          || test ! -s conftest.err'
33274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275   (eval $ac_try) 2>&5
33276   ac_status=$?
33277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278   (exit $ac_status); }; } &&
33279          { ac_try='test -s conftest$ac_exeext'
33280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281   (eval $ac_try) 2>&5
33282   ac_status=$?
33283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284   (exit $ac_status); }; }; then
33285   eval "$as_ac_var=yes"
33286 else
33287   echo "$as_me: failed program was:" >&5
33288 sed 's/^/| /' conftest.$ac_ext >&5
33289
33290 eval "$as_ac_var=no"
33291 fi
33292 rm -f conftest.err conftest.$ac_objext \
33293       conftest$ac_exeext conftest.$ac_ext
33294 fi
33295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33297 if test `eval echo '${'$as_ac_var'}'` = yes; then
33298   cat >>confdefs.h <<_ACEOF
33299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33300 _ACEOF
33301
33302 fi
33303 done
33304
33305     fi
33306   fi
33307
33308
33309
33310   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33311 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33312   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33313     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33314   echo $ECHO_N "(cached) $ECHO_C" >&6
33315 else
33316
33317
33318
33319       ac_ext=cc
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33324
33325       cat >conftest.$ac_ext <<_ACEOF
33326 /* confdefs.h.  */
33327 _ACEOF
33328 cat confdefs.h >>conftest.$ac_ext
33329 cat >>conftest.$ac_ext <<_ACEOF
33330 /* end confdefs.h.  */
33331 #include <math.h>
33332                       #ifdef HAVE_IEEEFP_H
33333                       #include <ieeefp.h>
33334                       #endif
33335
33336 int
33337 main ()
33338 {
33339  fpclass(0);
33340   ;
33341   return 0;
33342 }
33343 _ACEOF
33344 rm -f conftest.$ac_objext
33345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33346   (eval $ac_compile) 2>conftest.er1
33347   ac_status=$?
33348   grep -v '^ *+' conftest.er1 >conftest.err
33349   rm -f conftest.er1
33350   cat conftest.err >&5
33351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352   (exit $ac_status); } &&
33353          { ac_try='test -z "$ac_cxx_werror_flag"
33354                          || test ! -s conftest.err'
33355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33356   (eval $ac_try) 2>&5
33357   ac_status=$?
33358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33359   (exit $ac_status); }; } &&
33360          { ac_try='test -s conftest.$ac_objext'
33361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362   (eval $ac_try) 2>&5
33363   ac_status=$?
33364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365   (exit $ac_status); }; }; then
33366   glibcxx_cv_func_fpclass_use=yes
33367 else
33368   echo "$as_me: failed program was:" >&5
33369 sed 's/^/| /' conftest.$ac_ext >&5
33370
33371 glibcxx_cv_func_fpclass_use=no
33372 fi
33373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33374       ac_ext=c
33375 ac_cpp='$CPP $CPPFLAGS'
33376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33379
33380
33381 fi
33382
33383   fi
33384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33385 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33386
33387   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33388
33389 for ac_func in fpclass
33390 do
33391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33392 echo "$as_me:$LINENO: checking for $ac_func" >&5
33393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33394 if eval "test \"\${$as_ac_var+set}\" = set"; then
33395   echo $ECHO_N "(cached) $ECHO_C" >&6
33396 else
33397   if test x$gcc_no_link = xyes; then
33398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33400    { (exit 1); exit 1; }; }
33401 fi
33402 cat >conftest.$ac_ext <<_ACEOF
33403 /* confdefs.h.  */
33404 _ACEOF
33405 cat confdefs.h >>conftest.$ac_ext
33406 cat >>conftest.$ac_ext <<_ACEOF
33407 /* end confdefs.h.  */
33408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33410 #define $ac_func innocuous_$ac_func
33411
33412 /* System header to define __stub macros and hopefully few prototypes,
33413     which can conflict with char $ac_func (); below.
33414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33415     <limits.h> exists even on freestanding compilers.  */
33416
33417 #ifdef __STDC__
33418 # include <limits.h>
33419 #else
33420 # include <assert.h>
33421 #endif
33422
33423 #undef $ac_func
33424
33425 /* Override any gcc2 internal prototype to avoid an error.  */
33426 #ifdef __cplusplus
33427 extern "C"
33428 {
33429 #endif
33430 /* We use char because int might match the return type of a gcc2
33431    builtin and then its argument prototype would still apply.  */
33432 char $ac_func ();
33433 /* The GNU C library defines this for functions which it implements
33434     to always fail with ENOSYS.  Some functions are actually named
33435     something starting with __ and the normal name is an alias.  */
33436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33437 choke me
33438 #else
33439 char (*f) () = $ac_func;
33440 #endif
33441 #ifdef __cplusplus
33442 }
33443 #endif
33444
33445 int
33446 main ()
33447 {
33448 return f != $ac_func;
33449   ;
33450   return 0;
33451 }
33452 _ACEOF
33453 rm -f conftest.$ac_objext conftest$ac_exeext
33454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33455   (eval $ac_link) 2>conftest.er1
33456   ac_status=$?
33457   grep -v '^ *+' conftest.er1 >conftest.err
33458   rm -f conftest.er1
33459   cat conftest.err >&5
33460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461   (exit $ac_status); } &&
33462          { ac_try='test -z "$ac_c_werror_flag"
33463                          || test ! -s conftest.err'
33464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33465   (eval $ac_try) 2>&5
33466   ac_status=$?
33467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33468   (exit $ac_status); }; } &&
33469          { ac_try='test -s conftest$ac_exeext'
33470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471   (eval $ac_try) 2>&5
33472   ac_status=$?
33473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474   (exit $ac_status); }; }; then
33475   eval "$as_ac_var=yes"
33476 else
33477   echo "$as_me: failed program was:" >&5
33478 sed 's/^/| /' conftest.$ac_ext >&5
33479
33480 eval "$as_ac_var=no"
33481 fi
33482 rm -f conftest.err conftest.$ac_objext \
33483       conftest$ac_exeext conftest.$ac_ext
33484 fi
33485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33487 if test `eval echo '${'$as_ac_var'}'` = yes; then
33488   cat >>confdefs.h <<_ACEOF
33489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33490 _ACEOF
33491
33492 fi
33493 done
33494
33495   else
33496
33497   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33498 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33499   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33500     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33501   echo $ECHO_N "(cached) $ECHO_C" >&6
33502 else
33503
33504
33505
33506       ac_ext=cc
33507 ac_cpp='$CXXCPP $CPPFLAGS'
33508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33511
33512       cat >conftest.$ac_ext <<_ACEOF
33513 /* confdefs.h.  */
33514 _ACEOF
33515 cat confdefs.h >>conftest.$ac_ext
33516 cat >>conftest.$ac_ext <<_ACEOF
33517 /* end confdefs.h.  */
33518 #include <math.h>
33519                       #ifdef HAVE_IEEEFP_H
33520                       #include <ieeefp.h>
33521                       #endif
33522
33523 int
33524 main ()
33525 {
33526  _fpclass(0);
33527   ;
33528   return 0;
33529 }
33530 _ACEOF
33531 rm -f conftest.$ac_objext
33532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33533   (eval $ac_compile) 2>conftest.er1
33534   ac_status=$?
33535   grep -v '^ *+' conftest.er1 >conftest.err
33536   rm -f conftest.er1
33537   cat conftest.err >&5
33538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539   (exit $ac_status); } &&
33540          { ac_try='test -z "$ac_cxx_werror_flag"
33541                          || test ! -s conftest.err'
33542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543   (eval $ac_try) 2>&5
33544   ac_status=$?
33545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546   (exit $ac_status); }; } &&
33547          { ac_try='test -s conftest.$ac_objext'
33548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33549   (eval $ac_try) 2>&5
33550   ac_status=$?
33551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552   (exit $ac_status); }; }; then
33553   glibcxx_cv_func__fpclass_use=yes
33554 else
33555   echo "$as_me: failed program was:" >&5
33556 sed 's/^/| /' conftest.$ac_ext >&5
33557
33558 glibcxx_cv_func__fpclass_use=no
33559 fi
33560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33561       ac_ext=c
33562 ac_cpp='$CPP $CPPFLAGS'
33563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33566
33567
33568 fi
33569
33570   fi
33571   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33572 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33573
33574     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33575
33576 for ac_func in _fpclass
33577 do
33578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 echo "$as_me:$LINENO: checking for $ac_func" >&5
33580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33581 if eval "test \"\${$as_ac_var+set}\" = set"; then
33582   echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584   if test x$gcc_no_link = xyes; then
33585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33587    { (exit 1); exit 1; }; }
33588 fi
33589 cat >conftest.$ac_ext <<_ACEOF
33590 /* confdefs.h.  */
33591 _ACEOF
33592 cat confdefs.h >>conftest.$ac_ext
33593 cat >>conftest.$ac_ext <<_ACEOF
33594 /* end confdefs.h.  */
33595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33597 #define $ac_func innocuous_$ac_func
33598
33599 /* System header to define __stub macros and hopefully few prototypes,
33600     which can conflict with char $ac_func (); below.
33601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33602     <limits.h> exists even on freestanding compilers.  */
33603
33604 #ifdef __STDC__
33605 # include <limits.h>
33606 #else
33607 # include <assert.h>
33608 #endif
33609
33610 #undef $ac_func
33611
33612 /* Override any gcc2 internal prototype to avoid an error.  */
33613 #ifdef __cplusplus
33614 extern "C"
33615 {
33616 #endif
33617 /* We use char because int might match the return type of a gcc2
33618    builtin and then its argument prototype would still apply.  */
33619 char $ac_func ();
33620 /* The GNU C library defines this for functions which it implements
33621     to always fail with ENOSYS.  Some functions are actually named
33622     something starting with __ and the normal name is an alias.  */
33623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33624 choke me
33625 #else
33626 char (*f) () = $ac_func;
33627 #endif
33628 #ifdef __cplusplus
33629 }
33630 #endif
33631
33632 int
33633 main ()
33634 {
33635 return f != $ac_func;
33636   ;
33637   return 0;
33638 }
33639 _ACEOF
33640 rm -f conftest.$ac_objext conftest$ac_exeext
33641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33642   (eval $ac_link) 2>conftest.er1
33643   ac_status=$?
33644   grep -v '^ *+' conftest.er1 >conftest.err
33645   rm -f conftest.er1
33646   cat conftest.err >&5
33647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648   (exit $ac_status); } &&
33649          { ac_try='test -z "$ac_c_werror_flag"
33650                          || test ! -s conftest.err'
33651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33652   (eval $ac_try) 2>&5
33653   ac_status=$?
33654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33655   (exit $ac_status); }; } &&
33656          { ac_try='test -s conftest$ac_exeext'
33657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658   (eval $ac_try) 2>&5
33659   ac_status=$?
33660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661   (exit $ac_status); }; }; then
33662   eval "$as_ac_var=yes"
33663 else
33664   echo "$as_me: failed program was:" >&5
33665 sed 's/^/| /' conftest.$ac_ext >&5
33666
33667 eval "$as_ac_var=no"
33668 fi
33669 rm -f conftest.err conftest.$ac_objext \
33670       conftest$ac_exeext conftest.$ac_ext
33671 fi
33672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33674 if test `eval echo '${'$as_ac_var'}'` = yes; then
33675   cat >>confdefs.h <<_ACEOF
33676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33677 _ACEOF
33678
33679 fi
33680 done
33681
33682     fi
33683   fi
33684
33685
33686
33687   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33688 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33689   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33690     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33691   echo $ECHO_N "(cached) $ECHO_C" >&6
33692 else
33693
33694
33695
33696       ac_ext=cc
33697 ac_cpp='$CXXCPP $CPPFLAGS'
33698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33701
33702       cat >conftest.$ac_ext <<_ACEOF
33703 /* confdefs.h.  */
33704 _ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h.  */
33708 #include <math.h>
33709                       #ifdef HAVE_IEEEFP_H
33710                       #include <ieeefp.h>
33711                       #endif
33712
33713 int
33714 main ()
33715 {
33716  qfpclass(0);
33717   ;
33718   return 0;
33719 }
33720 _ACEOF
33721 rm -f conftest.$ac_objext
33722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33723   (eval $ac_compile) 2>conftest.er1
33724   ac_status=$?
33725   grep -v '^ *+' conftest.er1 >conftest.err
33726   rm -f conftest.er1
33727   cat conftest.err >&5
33728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729   (exit $ac_status); } &&
33730          { ac_try='test -z "$ac_cxx_werror_flag"
33731                          || test ! -s conftest.err'
33732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33733   (eval $ac_try) 2>&5
33734   ac_status=$?
33735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736   (exit $ac_status); }; } &&
33737          { ac_try='test -s conftest.$ac_objext'
33738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739   (eval $ac_try) 2>&5
33740   ac_status=$?
33741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742   (exit $ac_status); }; }; then
33743   glibcxx_cv_func_qfpclass_use=yes
33744 else
33745   echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 glibcxx_cv_func_qfpclass_use=no
33749 fi
33750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33751       ac_ext=c
33752 ac_cpp='$CPP $CPPFLAGS'
33753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33756
33757
33758 fi
33759
33760   fi
33761   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33762 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33763
33764   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33765
33766 for ac_func in qfpclass
33767 do
33768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33769 echo "$as_me:$LINENO: checking for $ac_func" >&5
33770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33771 if eval "test \"\${$as_ac_var+set}\" = set"; then
33772   echo $ECHO_N "(cached) $ECHO_C" >&6
33773 else
33774   if test x$gcc_no_link = xyes; then
33775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33777    { (exit 1); exit 1; }; }
33778 fi
33779 cat >conftest.$ac_ext <<_ACEOF
33780 /* confdefs.h.  */
33781 _ACEOF
33782 cat confdefs.h >>conftest.$ac_ext
33783 cat >>conftest.$ac_ext <<_ACEOF
33784 /* end confdefs.h.  */
33785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33787 #define $ac_func innocuous_$ac_func
33788
33789 /* System header to define __stub macros and hopefully few prototypes,
33790     which can conflict with char $ac_func (); below.
33791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33792     <limits.h> exists even on freestanding compilers.  */
33793
33794 #ifdef __STDC__
33795 # include <limits.h>
33796 #else
33797 # include <assert.h>
33798 #endif
33799
33800 #undef $ac_func
33801
33802 /* Override any gcc2 internal prototype to avoid an error.  */
33803 #ifdef __cplusplus
33804 extern "C"
33805 {
33806 #endif
33807 /* We use char because int might match the return type of a gcc2
33808    builtin and then its argument prototype would still apply.  */
33809 char $ac_func ();
33810 /* The GNU C library defines this for functions which it implements
33811     to always fail with ENOSYS.  Some functions are actually named
33812     something starting with __ and the normal name is an alias.  */
33813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33814 choke me
33815 #else
33816 char (*f) () = $ac_func;
33817 #endif
33818 #ifdef __cplusplus
33819 }
33820 #endif
33821
33822 int
33823 main ()
33824 {
33825 return f != $ac_func;
33826   ;
33827   return 0;
33828 }
33829 _ACEOF
33830 rm -f conftest.$ac_objext conftest$ac_exeext
33831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33832   (eval $ac_link) 2>conftest.er1
33833   ac_status=$?
33834   grep -v '^ *+' conftest.er1 >conftest.err
33835   rm -f conftest.er1
33836   cat conftest.err >&5
33837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838   (exit $ac_status); } &&
33839          { ac_try='test -z "$ac_c_werror_flag"
33840                          || test ! -s conftest.err'
33841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33842   (eval $ac_try) 2>&5
33843   ac_status=$?
33844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845   (exit $ac_status); }; } &&
33846          { ac_try='test -s conftest$ac_exeext'
33847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33848   (eval $ac_try) 2>&5
33849   ac_status=$?
33850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851   (exit $ac_status); }; }; then
33852   eval "$as_ac_var=yes"
33853 else
33854   echo "$as_me: failed program was:" >&5
33855 sed 's/^/| /' conftest.$ac_ext >&5
33856
33857 eval "$as_ac_var=no"
33858 fi
33859 rm -f conftest.err conftest.$ac_objext \
33860       conftest$ac_exeext conftest.$ac_ext
33861 fi
33862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33864 if test `eval echo '${'$as_ac_var'}'` = yes; then
33865   cat >>confdefs.h <<_ACEOF
33866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33867 _ACEOF
33868
33869 fi
33870 done
33871
33872   else
33873
33874   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33875 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33876   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33877     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33878   echo $ECHO_N "(cached) $ECHO_C" >&6
33879 else
33880
33881
33882
33883       ac_ext=cc
33884 ac_cpp='$CXXCPP $CPPFLAGS'
33885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33888
33889       cat >conftest.$ac_ext <<_ACEOF
33890 /* confdefs.h.  */
33891 _ACEOF
33892 cat confdefs.h >>conftest.$ac_ext
33893 cat >>conftest.$ac_ext <<_ACEOF
33894 /* end confdefs.h.  */
33895 #include <math.h>
33896                       #ifdef HAVE_IEEEFP_H
33897                       #include <ieeefp.h>
33898                       #endif
33899
33900 int
33901 main ()
33902 {
33903  _qfpclass(0);
33904   ;
33905   return 0;
33906 }
33907 _ACEOF
33908 rm -f conftest.$ac_objext
33909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33910   (eval $ac_compile) 2>conftest.er1
33911   ac_status=$?
33912   grep -v '^ *+' conftest.er1 >conftest.err
33913   rm -f conftest.er1
33914   cat conftest.err >&5
33915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916   (exit $ac_status); } &&
33917          { ac_try='test -z "$ac_cxx_werror_flag"
33918                          || test ! -s conftest.err'
33919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33920   (eval $ac_try) 2>&5
33921   ac_status=$?
33922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33923   (exit $ac_status); }; } &&
33924          { ac_try='test -s conftest.$ac_objext'
33925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33926   (eval $ac_try) 2>&5
33927   ac_status=$?
33928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929   (exit $ac_status); }; }; then
33930   glibcxx_cv_func__qfpclass_use=yes
33931 else
33932   echo "$as_me: failed program was:" >&5
33933 sed 's/^/| /' conftest.$ac_ext >&5
33934
33935 glibcxx_cv_func__qfpclass_use=no
33936 fi
33937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33938       ac_ext=c
33939 ac_cpp='$CPP $CPPFLAGS'
33940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33943
33944
33945 fi
33946
33947   fi
33948   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33949 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33950
33951     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33952
33953 for ac_func in _qfpclass
33954 do
33955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33956 echo "$as_me:$LINENO: checking for $ac_func" >&5
33957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33958 if eval "test \"\${$as_ac_var+set}\" = set"; then
33959   echo $ECHO_N "(cached) $ECHO_C" >&6
33960 else
33961   if test x$gcc_no_link = xyes; then
33962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33964    { (exit 1); exit 1; }; }
33965 fi
33966 cat >conftest.$ac_ext <<_ACEOF
33967 /* confdefs.h.  */
33968 _ACEOF
33969 cat confdefs.h >>conftest.$ac_ext
33970 cat >>conftest.$ac_ext <<_ACEOF
33971 /* end confdefs.h.  */
33972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33974 #define $ac_func innocuous_$ac_func
33975
33976 /* System header to define __stub macros and hopefully few prototypes,
33977     which can conflict with char $ac_func (); below.
33978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33979     <limits.h> exists even on freestanding compilers.  */
33980
33981 #ifdef __STDC__
33982 # include <limits.h>
33983 #else
33984 # include <assert.h>
33985 #endif
33986
33987 #undef $ac_func
33988
33989 /* Override any gcc2 internal prototype to avoid an error.  */
33990 #ifdef __cplusplus
33991 extern "C"
33992 {
33993 #endif
33994 /* We use char because int might match the return type of a gcc2
33995    builtin and then its argument prototype would still apply.  */
33996 char $ac_func ();
33997 /* The GNU C library defines this for functions which it implements
33998     to always fail with ENOSYS.  Some functions are actually named
33999     something starting with __ and the normal name is an alias.  */
34000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34001 choke me
34002 #else
34003 char (*f) () = $ac_func;
34004 #endif
34005 #ifdef __cplusplus
34006 }
34007 #endif
34008
34009 int
34010 main ()
34011 {
34012 return f != $ac_func;
34013   ;
34014   return 0;
34015 }
34016 _ACEOF
34017 rm -f conftest.$ac_objext conftest$ac_exeext
34018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34019   (eval $ac_link) 2>conftest.er1
34020   ac_status=$?
34021   grep -v '^ *+' conftest.er1 >conftest.err
34022   rm -f conftest.er1
34023   cat conftest.err >&5
34024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025   (exit $ac_status); } &&
34026          { ac_try='test -z "$ac_c_werror_flag"
34027                          || test ! -s conftest.err'
34028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029   (eval $ac_try) 2>&5
34030   ac_status=$?
34031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032   (exit $ac_status); }; } &&
34033          { ac_try='test -s conftest$ac_exeext'
34034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34035   (eval $ac_try) 2>&5
34036   ac_status=$?
34037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038   (exit $ac_status); }; }; then
34039   eval "$as_ac_var=yes"
34040 else
34041   echo "$as_me: failed program was:" >&5
34042 sed 's/^/| /' conftest.$ac_ext >&5
34043
34044 eval "$as_ac_var=no"
34045 fi
34046 rm -f conftest.err conftest.$ac_objext \
34047       conftest$ac_exeext conftest.$ac_ext
34048 fi
34049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34051 if test `eval echo '${'$as_ac_var'}'` = yes; then
34052   cat >>confdefs.h <<_ACEOF
34053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34054 _ACEOF
34055
34056 fi
34057 done
34058
34059     fi
34060   fi
34061
34062
34063
34064   echo "$as_me:$LINENO: checking for hypot declaration" >&5
34065 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34066   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34067     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34068   echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34070
34071
34072
34073       ac_ext=cc
34074 ac_cpp='$CXXCPP $CPPFLAGS'
34075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34078
34079       cat >conftest.$ac_ext <<_ACEOF
34080 /* confdefs.h.  */
34081 _ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h.  */
34085 #include <math.h>
34086 int
34087 main ()
34088 {
34089  hypot(0, 0);
34090   ;
34091   return 0;
34092 }
34093 _ACEOF
34094 rm -f conftest.$ac_objext
34095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34096   (eval $ac_compile) 2>conftest.er1
34097   ac_status=$?
34098   grep -v '^ *+' conftest.er1 >conftest.err
34099   rm -f conftest.er1
34100   cat conftest.err >&5
34101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102   (exit $ac_status); } &&
34103          { ac_try='test -z "$ac_cxx_werror_flag"
34104                          || test ! -s conftest.err'
34105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34106   (eval $ac_try) 2>&5
34107   ac_status=$?
34108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109   (exit $ac_status); }; } &&
34110          { ac_try='test -s conftest.$ac_objext'
34111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112   (eval $ac_try) 2>&5
34113   ac_status=$?
34114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115   (exit $ac_status); }; }; then
34116   glibcxx_cv_func_hypot_use=yes
34117 else
34118   echo "$as_me: failed program was:" >&5
34119 sed 's/^/| /' conftest.$ac_ext >&5
34120
34121 glibcxx_cv_func_hypot_use=no
34122 fi
34123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34124       ac_ext=c
34125 ac_cpp='$CPP $CPPFLAGS'
34126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34129
34130
34131 fi
34132
34133   fi
34134   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34135 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34136
34137   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34138
34139 for ac_func in hypot
34140 do
34141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34142 echo "$as_me:$LINENO: checking for $ac_func" >&5
34143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34144 if eval "test \"\${$as_ac_var+set}\" = set"; then
34145   echo $ECHO_N "(cached) $ECHO_C" >&6
34146 else
34147   if test x$gcc_no_link = xyes; then
34148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34150    { (exit 1); exit 1; }; }
34151 fi
34152 cat >conftest.$ac_ext <<_ACEOF
34153 /* confdefs.h.  */
34154 _ACEOF
34155 cat confdefs.h >>conftest.$ac_ext
34156 cat >>conftest.$ac_ext <<_ACEOF
34157 /* end confdefs.h.  */
34158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34160 #define $ac_func innocuous_$ac_func
34161
34162 /* System header to define __stub macros and hopefully few prototypes,
34163     which can conflict with char $ac_func (); below.
34164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34165     <limits.h> exists even on freestanding compilers.  */
34166
34167 #ifdef __STDC__
34168 # include <limits.h>
34169 #else
34170 # include <assert.h>
34171 #endif
34172
34173 #undef $ac_func
34174
34175 /* Override any gcc2 internal prototype to avoid an error.  */
34176 #ifdef __cplusplus
34177 extern "C"
34178 {
34179 #endif
34180 /* We use char because int might match the return type of a gcc2
34181    builtin and then its argument prototype would still apply.  */
34182 char $ac_func ();
34183 /* The GNU C library defines this for functions which it implements
34184     to always fail with ENOSYS.  Some functions are actually named
34185     something starting with __ and the normal name is an alias.  */
34186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34187 choke me
34188 #else
34189 char (*f) () = $ac_func;
34190 #endif
34191 #ifdef __cplusplus
34192 }
34193 #endif
34194
34195 int
34196 main ()
34197 {
34198 return f != $ac_func;
34199   ;
34200   return 0;
34201 }
34202 _ACEOF
34203 rm -f conftest.$ac_objext conftest$ac_exeext
34204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34205   (eval $ac_link) 2>conftest.er1
34206   ac_status=$?
34207   grep -v '^ *+' conftest.er1 >conftest.err
34208   rm -f conftest.er1
34209   cat conftest.err >&5
34210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211   (exit $ac_status); } &&
34212          { ac_try='test -z "$ac_c_werror_flag"
34213                          || test ! -s conftest.err'
34214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34215   (eval $ac_try) 2>&5
34216   ac_status=$?
34217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218   (exit $ac_status); }; } &&
34219          { ac_try='test -s conftest$ac_exeext'
34220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221   (eval $ac_try) 2>&5
34222   ac_status=$?
34223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224   (exit $ac_status); }; }; then
34225   eval "$as_ac_var=yes"
34226 else
34227   echo "$as_me: failed program was:" >&5
34228 sed 's/^/| /' conftest.$ac_ext >&5
34229
34230 eval "$as_ac_var=no"
34231 fi
34232 rm -f conftest.err conftest.$ac_objext \
34233       conftest$ac_exeext conftest.$ac_ext
34234 fi
34235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34237 if test `eval echo '${'$as_ac_var'}'` = yes; then
34238   cat >>confdefs.h <<_ACEOF
34239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34240 _ACEOF
34241
34242 fi
34243 done
34244
34245   else
34246
34247   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34248 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34249   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34250     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34251   echo $ECHO_N "(cached) $ECHO_C" >&6
34252 else
34253
34254
34255
34256       ac_ext=cc
34257 ac_cpp='$CXXCPP $CPPFLAGS'
34258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34261
34262       cat >conftest.$ac_ext <<_ACEOF
34263 /* confdefs.h.  */
34264 _ACEOF
34265 cat confdefs.h >>conftest.$ac_ext
34266 cat >>conftest.$ac_ext <<_ACEOF
34267 /* end confdefs.h.  */
34268 #include <math.h>
34269 int
34270 main ()
34271 {
34272  _hypot(0, 0);
34273   ;
34274   return 0;
34275 }
34276 _ACEOF
34277 rm -f conftest.$ac_objext
34278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34279   (eval $ac_compile) 2>conftest.er1
34280   ac_status=$?
34281   grep -v '^ *+' conftest.er1 >conftest.err
34282   rm -f conftest.er1
34283   cat conftest.err >&5
34284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285   (exit $ac_status); } &&
34286          { ac_try='test -z "$ac_cxx_werror_flag"
34287                          || test ! -s conftest.err'
34288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34289   (eval $ac_try) 2>&5
34290   ac_status=$?
34291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292   (exit $ac_status); }; } &&
34293          { ac_try='test -s conftest.$ac_objext'
34294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295   (eval $ac_try) 2>&5
34296   ac_status=$?
34297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298   (exit $ac_status); }; }; then
34299   glibcxx_cv_func__hypot_use=yes
34300 else
34301   echo "$as_me: failed program was:" >&5
34302 sed 's/^/| /' conftest.$ac_ext >&5
34303
34304 glibcxx_cv_func__hypot_use=no
34305 fi
34306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34307       ac_ext=c
34308 ac_cpp='$CPP $CPPFLAGS'
34309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34312
34313
34314 fi
34315
34316   fi
34317   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34318 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34319
34320     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34321
34322 for ac_func in _hypot
34323 do
34324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34325 echo "$as_me:$LINENO: checking for $ac_func" >&5
34326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34327 if eval "test \"\${$as_ac_var+set}\" = set"; then
34328   echo $ECHO_N "(cached) $ECHO_C" >&6
34329 else
34330   if test x$gcc_no_link = xyes; then
34331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34333    { (exit 1); exit 1; }; }
34334 fi
34335 cat >conftest.$ac_ext <<_ACEOF
34336 /* confdefs.h.  */
34337 _ACEOF
34338 cat confdefs.h >>conftest.$ac_ext
34339 cat >>conftest.$ac_ext <<_ACEOF
34340 /* end confdefs.h.  */
34341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34343 #define $ac_func innocuous_$ac_func
34344
34345 /* System header to define __stub macros and hopefully few prototypes,
34346     which can conflict with char $ac_func (); below.
34347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34348     <limits.h> exists even on freestanding compilers.  */
34349
34350 #ifdef __STDC__
34351 # include <limits.h>
34352 #else
34353 # include <assert.h>
34354 #endif
34355
34356 #undef $ac_func
34357
34358 /* Override any gcc2 internal prototype to avoid an error.  */
34359 #ifdef __cplusplus
34360 extern "C"
34361 {
34362 #endif
34363 /* We use char because int might match the return type of a gcc2
34364    builtin and then its argument prototype would still apply.  */
34365 char $ac_func ();
34366 /* The GNU C library defines this for functions which it implements
34367     to always fail with ENOSYS.  Some functions are actually named
34368     something starting with __ and the normal name is an alias.  */
34369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34370 choke me
34371 #else
34372 char (*f) () = $ac_func;
34373 #endif
34374 #ifdef __cplusplus
34375 }
34376 #endif
34377
34378 int
34379 main ()
34380 {
34381 return f != $ac_func;
34382   ;
34383   return 0;
34384 }
34385 _ACEOF
34386 rm -f conftest.$ac_objext conftest$ac_exeext
34387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34388   (eval $ac_link) 2>conftest.er1
34389   ac_status=$?
34390   grep -v '^ *+' conftest.er1 >conftest.err
34391   rm -f conftest.er1
34392   cat conftest.err >&5
34393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394   (exit $ac_status); } &&
34395          { ac_try='test -z "$ac_c_werror_flag"
34396                          || test ! -s conftest.err'
34397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398   (eval $ac_try) 2>&5
34399   ac_status=$?
34400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401   (exit $ac_status); }; } &&
34402          { ac_try='test -s conftest$ac_exeext'
34403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34404   (eval $ac_try) 2>&5
34405   ac_status=$?
34406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34407   (exit $ac_status); }; }; then
34408   eval "$as_ac_var=yes"
34409 else
34410   echo "$as_me: failed program was:" >&5
34411 sed 's/^/| /' conftest.$ac_ext >&5
34412
34413 eval "$as_ac_var=no"
34414 fi
34415 rm -f conftest.err conftest.$ac_objext \
34416       conftest$ac_exeext conftest.$ac_ext
34417 fi
34418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34420 if test `eval echo '${'$as_ac_var'}'` = yes; then
34421   cat >>confdefs.h <<_ACEOF
34422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34423 _ACEOF
34424
34425 fi
34426 done
34427
34428     fi
34429   fi
34430
34431
34432
34433   echo "$as_me:$LINENO: checking for float trig functions" >&5
34434 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34435   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34436   echo $ECHO_N "(cached) $ECHO_C" >&6
34437 else
34438
34439
34440
34441     ac_ext=cc
34442 ac_cpp='$CXXCPP $CPPFLAGS'
34443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34446
34447     cat >conftest.$ac_ext <<_ACEOF
34448 /* confdefs.h.  */
34449 _ACEOF
34450 cat confdefs.h >>conftest.$ac_ext
34451 cat >>conftest.$ac_ext <<_ACEOF
34452 /* end confdefs.h.  */
34453 #include <math.h>
34454 int
34455 main ()
34456 {
34457  `for x in acosf asinf atanf \
34458                                           cosf sinf tanf \
34459                                           coshf sinhf tanhf; do echo "$x (0);"; done`
34460   ;
34461   return 0;
34462 }
34463 _ACEOF
34464 rm -f conftest.$ac_objext
34465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34466   (eval $ac_compile) 2>conftest.er1
34467   ac_status=$?
34468   grep -v '^ *+' conftest.er1 >conftest.err
34469   rm -f conftest.er1
34470   cat conftest.err >&5
34471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472   (exit $ac_status); } &&
34473          { ac_try='test -z "$ac_cxx_werror_flag"
34474                          || test ! -s conftest.err'
34475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34476   (eval $ac_try) 2>&5
34477   ac_status=$?
34478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479   (exit $ac_status); }; } &&
34480          { ac_try='test -s conftest.$ac_objext'
34481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34482   (eval $ac_try) 2>&5
34483   ac_status=$?
34484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485   (exit $ac_status); }; }; then
34486   glibcxx_cv_func_float_trig_use=yes
34487 else
34488   echo "$as_me: failed program was:" >&5
34489 sed 's/^/| /' conftest.$ac_ext >&5
34490
34491 glibcxx_cv_func_float_trig_use=no
34492 fi
34493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34494     ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34499
34500 fi
34501
34502   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34503 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34504   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514 for ac_func in acosf asinf atanf \
34515                                           cosf sinf tanf \
34516                                           coshf sinhf tanhf
34517 do
34518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34519 echo "$as_me:$LINENO: checking for $ac_func" >&5
34520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34521 if eval "test \"\${$as_ac_var+set}\" = set"; then
34522   echo $ECHO_N "(cached) $ECHO_C" >&6
34523 else
34524   if test x$gcc_no_link = xyes; then
34525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34527    { (exit 1); exit 1; }; }
34528 fi
34529 cat >conftest.$ac_ext <<_ACEOF
34530 /* confdefs.h.  */
34531 _ACEOF
34532 cat confdefs.h >>conftest.$ac_ext
34533 cat >>conftest.$ac_ext <<_ACEOF
34534 /* end confdefs.h.  */
34535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34537 #define $ac_func innocuous_$ac_func
34538
34539 /* System header to define __stub macros and hopefully few prototypes,
34540     which can conflict with char $ac_func (); below.
34541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34542     <limits.h> exists even on freestanding compilers.  */
34543
34544 #ifdef __STDC__
34545 # include <limits.h>
34546 #else
34547 # include <assert.h>
34548 #endif
34549
34550 #undef $ac_func
34551
34552 /* Override any gcc2 internal prototype to avoid an error.  */
34553 #ifdef __cplusplus
34554 extern "C"
34555 {
34556 #endif
34557 /* We use char because int might match the return type of a gcc2
34558    builtin and then its argument prototype would still apply.  */
34559 char $ac_func ();
34560 /* The GNU C library defines this for functions which it implements
34561     to always fail with ENOSYS.  Some functions are actually named
34562     something starting with __ and the normal name is an alias.  */
34563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34564 choke me
34565 #else
34566 char (*f) () = $ac_func;
34567 #endif
34568 #ifdef __cplusplus
34569 }
34570 #endif
34571
34572 int
34573 main ()
34574 {
34575 return f != $ac_func;
34576   ;
34577   return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext conftest$ac_exeext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34582   (eval $ac_link) 2>conftest.er1
34583   ac_status=$?
34584   grep -v '^ *+' conftest.er1 >conftest.err
34585   rm -f conftest.er1
34586   cat conftest.err >&5
34587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588   (exit $ac_status); } &&
34589          { ac_try='test -z "$ac_c_werror_flag"
34590                          || test ! -s conftest.err'
34591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592   (eval $ac_try) 2>&5
34593   ac_status=$?
34594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595   (exit $ac_status); }; } &&
34596          { ac_try='test -s conftest$ac_exeext'
34597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598   (eval $ac_try) 2>&5
34599   ac_status=$?
34600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601   (exit $ac_status); }; }; then
34602   eval "$as_ac_var=yes"
34603 else
34604   echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34606
34607 eval "$as_ac_var=no"
34608 fi
34609 rm -f conftest.err conftest.$ac_objext \
34610       conftest$ac_exeext conftest.$ac_ext
34611 fi
34612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34614 if test `eval echo '${'$as_ac_var'}'` = yes; then
34615   cat >>confdefs.h <<_ACEOF
34616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34617 _ACEOF
34618
34619 fi
34620 done
34621
34622   fi
34623
34624
34625   echo "$as_me:$LINENO: checking for float round functions" >&5
34626 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34627   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34628   echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630
34631
34632
34633     ac_ext=cc
34634 ac_cpp='$CXXCPP $CPPFLAGS'
34635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638
34639     cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h.  */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h.  */
34645 #include <math.h>
34646 int
34647 main ()
34648 {
34649  `for x in ceilf floorf; do echo "$x (0);"; done`
34650   ;
34651   return 0;
34652 }
34653 _ACEOF
34654 rm -f conftest.$ac_objext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34656   (eval $ac_compile) 2>conftest.er1
34657   ac_status=$?
34658   grep -v '^ *+' conftest.er1 >conftest.err
34659   rm -f conftest.er1
34660   cat conftest.err >&5
34661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662   (exit $ac_status); } &&
34663          { ac_try='test -z "$ac_cxx_werror_flag"
34664                          || test ! -s conftest.err'
34665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666   (eval $ac_try) 2>&5
34667   ac_status=$?
34668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669   (exit $ac_status); }; } &&
34670          { ac_try='test -s conftest.$ac_objext'
34671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672   (eval $ac_try) 2>&5
34673   ac_status=$?
34674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675   (exit $ac_status); }; }; then
34676   glibcxx_cv_func_float_round_use=yes
34677 else
34678   echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34680
34681 glibcxx_cv_func_float_round_use=no
34682 fi
34683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34684     ac_ext=c
34685 ac_cpp='$CPP $CPPFLAGS'
34686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34689
34690 fi
34691
34692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34693 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34694   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34695
34696
34697 for ac_func in ceilf floorf
34698 do
34699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34700 echo "$as_me:$LINENO: checking for $ac_func" >&5
34701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34702 if eval "test \"\${$as_ac_var+set}\" = set"; then
34703   echo $ECHO_N "(cached) $ECHO_C" >&6
34704 else
34705   if test x$gcc_no_link = xyes; then
34706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34708    { (exit 1); exit 1; }; }
34709 fi
34710 cat >conftest.$ac_ext <<_ACEOF
34711 /* confdefs.h.  */
34712 _ACEOF
34713 cat confdefs.h >>conftest.$ac_ext
34714 cat >>conftest.$ac_ext <<_ACEOF
34715 /* end confdefs.h.  */
34716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34718 #define $ac_func innocuous_$ac_func
34719
34720 /* System header to define __stub macros and hopefully few prototypes,
34721     which can conflict with char $ac_func (); below.
34722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34723     <limits.h> exists even on freestanding compilers.  */
34724
34725 #ifdef __STDC__
34726 # include <limits.h>
34727 #else
34728 # include <assert.h>
34729 #endif
34730
34731 #undef $ac_func
34732
34733 /* Override any gcc2 internal prototype to avoid an error.  */
34734 #ifdef __cplusplus
34735 extern "C"
34736 {
34737 #endif
34738 /* We use char because int might match the return type of a gcc2
34739    builtin and then its argument prototype would still apply.  */
34740 char $ac_func ();
34741 /* The GNU C library defines this for functions which it implements
34742     to always fail with ENOSYS.  Some functions are actually named
34743     something starting with __ and the normal name is an alias.  */
34744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34745 choke me
34746 #else
34747 char (*f) () = $ac_func;
34748 #endif
34749 #ifdef __cplusplus
34750 }
34751 #endif
34752
34753 int
34754 main ()
34755 {
34756 return f != $ac_func;
34757   ;
34758   return 0;
34759 }
34760 _ACEOF
34761 rm -f conftest.$ac_objext conftest$ac_exeext
34762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34763   (eval $ac_link) 2>conftest.er1
34764   ac_status=$?
34765   grep -v '^ *+' conftest.er1 >conftest.err
34766   rm -f conftest.er1
34767   cat conftest.err >&5
34768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34769   (exit $ac_status); } &&
34770          { ac_try='test -z "$ac_c_werror_flag"
34771                          || test ! -s conftest.err'
34772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773   (eval $ac_try) 2>&5
34774   ac_status=$?
34775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776   (exit $ac_status); }; } &&
34777          { ac_try='test -s conftest$ac_exeext'
34778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34779   (eval $ac_try) 2>&5
34780   ac_status=$?
34781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782   (exit $ac_status); }; }; then
34783   eval "$as_ac_var=yes"
34784 else
34785   echo "$as_me: failed program was:" >&5
34786 sed 's/^/| /' conftest.$ac_ext >&5
34787
34788 eval "$as_ac_var=no"
34789 fi
34790 rm -f conftest.err conftest.$ac_objext \
34791       conftest$ac_exeext conftest.$ac_ext
34792 fi
34793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34795 if test `eval echo '${'$as_ac_var'}'` = yes; then
34796   cat >>confdefs.h <<_ACEOF
34797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34798 _ACEOF
34799
34800 fi
34801 done
34802
34803   fi
34804
34805
34806
34807   echo "$as_me:$LINENO: checking for expf declaration" >&5
34808 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34809   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34810     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34811   echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813
34814
34815
34816       ac_ext=cc
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34821
34822       cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h.  */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h.  */
34828 #include <math.h>
34829                       #ifdef HAVE_IEEEFP_H
34830                       #include <ieeefp.h>
34831                       #endif
34832
34833 int
34834 main ()
34835 {
34836  expf(0);
34837   ;
34838   return 0;
34839 }
34840 _ACEOF
34841 rm -f conftest.$ac_objext
34842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34843   (eval $ac_compile) 2>conftest.er1
34844   ac_status=$?
34845   grep -v '^ *+' conftest.er1 >conftest.err
34846   rm -f conftest.er1
34847   cat conftest.err >&5
34848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34849   (exit $ac_status); } &&
34850          { ac_try='test -z "$ac_cxx_werror_flag"
34851                          || test ! -s conftest.err'
34852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34853   (eval $ac_try) 2>&5
34854   ac_status=$?
34855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856   (exit $ac_status); }; } &&
34857          { ac_try='test -s conftest.$ac_objext'
34858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859   (eval $ac_try) 2>&5
34860   ac_status=$?
34861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862   (exit $ac_status); }; }; then
34863   glibcxx_cv_func_expf_use=yes
34864 else
34865   echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34867
34868 glibcxx_cv_func_expf_use=no
34869 fi
34870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34871       ac_ext=c
34872 ac_cpp='$CPP $CPPFLAGS'
34873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34876
34877
34878 fi
34879
34880   fi
34881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34882 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34883
34884   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34885
34886 for ac_func in expf
34887 do
34888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34889 echo "$as_me:$LINENO: checking for $ac_func" >&5
34890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34891 if eval "test \"\${$as_ac_var+set}\" = set"; then
34892   echo $ECHO_N "(cached) $ECHO_C" >&6
34893 else
34894   if test x$gcc_no_link = xyes; then
34895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34897    { (exit 1); exit 1; }; }
34898 fi
34899 cat >conftest.$ac_ext <<_ACEOF
34900 /* confdefs.h.  */
34901 _ACEOF
34902 cat confdefs.h >>conftest.$ac_ext
34903 cat >>conftest.$ac_ext <<_ACEOF
34904 /* end confdefs.h.  */
34905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34907 #define $ac_func innocuous_$ac_func
34908
34909 /* System header to define __stub macros and hopefully few prototypes,
34910     which can conflict with char $ac_func (); below.
34911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34912     <limits.h> exists even on freestanding compilers.  */
34913
34914 #ifdef __STDC__
34915 # include <limits.h>
34916 #else
34917 # include <assert.h>
34918 #endif
34919
34920 #undef $ac_func
34921
34922 /* Override any gcc2 internal prototype to avoid an error.  */
34923 #ifdef __cplusplus
34924 extern "C"
34925 {
34926 #endif
34927 /* We use char because int might match the return type of a gcc2
34928    builtin and then its argument prototype would still apply.  */
34929 char $ac_func ();
34930 /* The GNU C library defines this for functions which it implements
34931     to always fail with ENOSYS.  Some functions are actually named
34932     something starting with __ and the normal name is an alias.  */
34933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34934 choke me
34935 #else
34936 char (*f) () = $ac_func;
34937 #endif
34938 #ifdef __cplusplus
34939 }
34940 #endif
34941
34942 int
34943 main ()
34944 {
34945 return f != $ac_func;
34946   ;
34947   return 0;
34948 }
34949 _ACEOF
34950 rm -f conftest.$ac_objext conftest$ac_exeext
34951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34952   (eval $ac_link) 2>conftest.er1
34953   ac_status=$?
34954   grep -v '^ *+' conftest.er1 >conftest.err
34955   rm -f conftest.er1
34956   cat conftest.err >&5
34957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958   (exit $ac_status); } &&
34959          { ac_try='test -z "$ac_c_werror_flag"
34960                          || test ! -s conftest.err'
34961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34962   (eval $ac_try) 2>&5
34963   ac_status=$?
34964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965   (exit $ac_status); }; } &&
34966          { ac_try='test -s conftest$ac_exeext'
34967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34968   (eval $ac_try) 2>&5
34969   ac_status=$?
34970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971   (exit $ac_status); }; }; then
34972   eval "$as_ac_var=yes"
34973 else
34974   echo "$as_me: failed program was:" >&5
34975 sed 's/^/| /' conftest.$ac_ext >&5
34976
34977 eval "$as_ac_var=no"
34978 fi
34979 rm -f conftest.err conftest.$ac_objext \
34980       conftest$ac_exeext conftest.$ac_ext
34981 fi
34982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34984 if test `eval echo '${'$as_ac_var'}'` = yes; then
34985   cat >>confdefs.h <<_ACEOF
34986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34987 _ACEOF
34988
34989 fi
34990 done
34991
34992   else
34993
34994   echo "$as_me:$LINENO: checking for _expf declaration" >&5
34995 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34996   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34997     if test "${glibcxx_cv_func__expf_use+set}" = set; then
34998   echo $ECHO_N "(cached) $ECHO_C" >&6
34999 else
35000
35001
35002
35003       ac_ext=cc
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
35009       cat >conftest.$ac_ext <<_ACEOF
35010 /* confdefs.h.  */
35011 _ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h.  */
35015 #include <math.h>
35016                       #ifdef HAVE_IEEEFP_H
35017                       #include <ieeefp.h>
35018                       #endif
35019
35020 int
35021 main ()
35022 {
35023  _expf(0);
35024   ;
35025   return 0;
35026 }
35027 _ACEOF
35028 rm -f conftest.$ac_objext
35029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35030   (eval $ac_compile) 2>conftest.er1
35031   ac_status=$?
35032   grep -v '^ *+' conftest.er1 >conftest.err
35033   rm -f conftest.er1
35034   cat conftest.err >&5
35035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036   (exit $ac_status); } &&
35037          { ac_try='test -z "$ac_cxx_werror_flag"
35038                          || test ! -s conftest.err'
35039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040   (eval $ac_try) 2>&5
35041   ac_status=$?
35042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043   (exit $ac_status); }; } &&
35044          { ac_try='test -s conftest.$ac_objext'
35045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35046   (eval $ac_try) 2>&5
35047   ac_status=$?
35048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35049   (exit $ac_status); }; }; then
35050   glibcxx_cv_func__expf_use=yes
35051 else
35052   echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.$ac_ext >&5
35054
35055 glibcxx_cv_func__expf_use=no
35056 fi
35057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35058       ac_ext=c
35059 ac_cpp='$CPP $CPPFLAGS'
35060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35063
35064
35065 fi
35066
35067   fi
35068   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35069 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35070
35071     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35072
35073 for ac_func in _expf
35074 do
35075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35076 echo "$as_me:$LINENO: checking for $ac_func" >&5
35077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35078 if eval "test \"\${$as_ac_var+set}\" = set"; then
35079   echo $ECHO_N "(cached) $ECHO_C" >&6
35080 else
35081   if test x$gcc_no_link = xyes; then
35082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35084    { (exit 1); exit 1; }; }
35085 fi
35086 cat >conftest.$ac_ext <<_ACEOF
35087 /* confdefs.h.  */
35088 _ACEOF
35089 cat confdefs.h >>conftest.$ac_ext
35090 cat >>conftest.$ac_ext <<_ACEOF
35091 /* end confdefs.h.  */
35092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35094 #define $ac_func innocuous_$ac_func
35095
35096 /* System header to define __stub macros and hopefully few prototypes,
35097     which can conflict with char $ac_func (); below.
35098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35099     <limits.h> exists even on freestanding compilers.  */
35100
35101 #ifdef __STDC__
35102 # include <limits.h>
35103 #else
35104 # include <assert.h>
35105 #endif
35106
35107 #undef $ac_func
35108
35109 /* Override any gcc2 internal prototype to avoid an error.  */
35110 #ifdef __cplusplus
35111 extern "C"
35112 {
35113 #endif
35114 /* We use char because int might match the return type of a gcc2
35115    builtin and then its argument prototype would still apply.  */
35116 char $ac_func ();
35117 /* The GNU C library defines this for functions which it implements
35118     to always fail with ENOSYS.  Some functions are actually named
35119     something starting with __ and the normal name is an alias.  */
35120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35121 choke me
35122 #else
35123 char (*f) () = $ac_func;
35124 #endif
35125 #ifdef __cplusplus
35126 }
35127 #endif
35128
35129 int
35130 main ()
35131 {
35132 return f != $ac_func;
35133   ;
35134   return 0;
35135 }
35136 _ACEOF
35137 rm -f conftest.$ac_objext conftest$ac_exeext
35138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35139   (eval $ac_link) 2>conftest.er1
35140   ac_status=$?
35141   grep -v '^ *+' conftest.er1 >conftest.err
35142   rm -f conftest.er1
35143   cat conftest.err >&5
35144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145   (exit $ac_status); } &&
35146          { ac_try='test -z "$ac_c_werror_flag"
35147                          || test ! -s conftest.err'
35148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35149   (eval $ac_try) 2>&5
35150   ac_status=$?
35151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152   (exit $ac_status); }; } &&
35153          { ac_try='test -s conftest$ac_exeext'
35154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155   (eval $ac_try) 2>&5
35156   ac_status=$?
35157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158   (exit $ac_status); }; }; then
35159   eval "$as_ac_var=yes"
35160 else
35161   echo "$as_me: failed program was:" >&5
35162 sed 's/^/| /' conftest.$ac_ext >&5
35163
35164 eval "$as_ac_var=no"
35165 fi
35166 rm -f conftest.err conftest.$ac_objext \
35167       conftest$ac_exeext conftest.$ac_ext
35168 fi
35169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35171 if test `eval echo '${'$as_ac_var'}'` = yes; then
35172   cat >>confdefs.h <<_ACEOF
35173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35174 _ACEOF
35175
35176 fi
35177 done
35178
35179     fi
35180   fi
35181
35182
35183
35184   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35185 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35186   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35187     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35188   echo $ECHO_N "(cached) $ECHO_C" >&6
35189 else
35190
35191
35192
35193       ac_ext=cc
35194 ac_cpp='$CXXCPP $CPPFLAGS'
35195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35198
35199       cat >conftest.$ac_ext <<_ACEOF
35200 /* confdefs.h.  */
35201 _ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h.  */
35205 #include <math.h>
35206                       #ifdef HAVE_IEEEFP_H
35207                       #include <ieeefp.h>
35208                       #endif
35209
35210 int
35211 main ()
35212 {
35213  isnanf(0);
35214   ;
35215   return 0;
35216 }
35217 _ACEOF
35218 rm -f conftest.$ac_objext
35219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35220   (eval $ac_compile) 2>conftest.er1
35221   ac_status=$?
35222   grep -v '^ *+' conftest.er1 >conftest.err
35223   rm -f conftest.er1
35224   cat conftest.err >&5
35225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226   (exit $ac_status); } &&
35227          { ac_try='test -z "$ac_cxx_werror_flag"
35228                          || test ! -s conftest.err'
35229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35230   (eval $ac_try) 2>&5
35231   ac_status=$?
35232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35233   (exit $ac_status); }; } &&
35234          { ac_try='test -s conftest.$ac_objext'
35235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35236   (eval $ac_try) 2>&5
35237   ac_status=$?
35238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239   (exit $ac_status); }; }; then
35240   glibcxx_cv_func_isnanf_use=yes
35241 else
35242   echo "$as_me: failed program was:" >&5
35243 sed 's/^/| /' conftest.$ac_ext >&5
35244
35245 glibcxx_cv_func_isnanf_use=no
35246 fi
35247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35248       ac_ext=c
35249 ac_cpp='$CPP $CPPFLAGS'
35250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35253
35254
35255 fi
35256
35257   fi
35258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35259 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35260
35261   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35262
35263 for ac_func in isnanf
35264 do
35265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35266 echo "$as_me:$LINENO: checking for $ac_func" >&5
35267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35268 if eval "test \"\${$as_ac_var+set}\" = set"; then
35269   echo $ECHO_N "(cached) $ECHO_C" >&6
35270 else
35271   if test x$gcc_no_link = xyes; then
35272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35274    { (exit 1); exit 1; }; }
35275 fi
35276 cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h.  */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h.  */
35282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35284 #define $ac_func innocuous_$ac_func
35285
35286 /* System header to define __stub macros and hopefully few prototypes,
35287     which can conflict with char $ac_func (); below.
35288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35289     <limits.h> exists even on freestanding compilers.  */
35290
35291 #ifdef __STDC__
35292 # include <limits.h>
35293 #else
35294 # include <assert.h>
35295 #endif
35296
35297 #undef $ac_func
35298
35299 /* Override any gcc2 internal prototype to avoid an error.  */
35300 #ifdef __cplusplus
35301 extern "C"
35302 {
35303 #endif
35304 /* We use char because int might match the return type of a gcc2
35305    builtin and then its argument prototype would still apply.  */
35306 char $ac_func ();
35307 /* The GNU C library defines this for functions which it implements
35308     to always fail with ENOSYS.  Some functions are actually named
35309     something starting with __ and the normal name is an alias.  */
35310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35311 choke me
35312 #else
35313 char (*f) () = $ac_func;
35314 #endif
35315 #ifdef __cplusplus
35316 }
35317 #endif
35318
35319 int
35320 main ()
35321 {
35322 return f != $ac_func;
35323   ;
35324   return 0;
35325 }
35326 _ACEOF
35327 rm -f conftest.$ac_objext conftest$ac_exeext
35328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35329   (eval $ac_link) 2>conftest.er1
35330   ac_status=$?
35331   grep -v '^ *+' conftest.er1 >conftest.err
35332   rm -f conftest.er1
35333   cat conftest.err >&5
35334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35335   (exit $ac_status); } &&
35336          { ac_try='test -z "$ac_c_werror_flag"
35337                          || test ! -s conftest.err'
35338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35339   (eval $ac_try) 2>&5
35340   ac_status=$?
35341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35342   (exit $ac_status); }; } &&
35343          { ac_try='test -s conftest$ac_exeext'
35344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35345   (eval $ac_try) 2>&5
35346   ac_status=$?
35347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348   (exit $ac_status); }; }; then
35349   eval "$as_ac_var=yes"
35350 else
35351   echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.$ac_ext >&5
35353
35354 eval "$as_ac_var=no"
35355 fi
35356 rm -f conftest.err conftest.$ac_objext \
35357       conftest$ac_exeext conftest.$ac_ext
35358 fi
35359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35361 if test `eval echo '${'$as_ac_var'}'` = yes; then
35362   cat >>confdefs.h <<_ACEOF
35363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35364 _ACEOF
35365
35366 fi
35367 done
35368
35369   else
35370
35371   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35372 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35373   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35374     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35375   echo $ECHO_N "(cached) $ECHO_C" >&6
35376 else
35377
35378
35379
35380       ac_ext=cc
35381 ac_cpp='$CXXCPP $CPPFLAGS'
35382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35385
35386       cat >conftest.$ac_ext <<_ACEOF
35387 /* confdefs.h.  */
35388 _ACEOF
35389 cat confdefs.h >>conftest.$ac_ext
35390 cat >>conftest.$ac_ext <<_ACEOF
35391 /* end confdefs.h.  */
35392 #include <math.h>
35393                       #ifdef HAVE_IEEEFP_H
35394                       #include <ieeefp.h>
35395                       #endif
35396
35397 int
35398 main ()
35399 {
35400  _isnanf(0);
35401   ;
35402   return 0;
35403 }
35404 _ACEOF
35405 rm -f conftest.$ac_objext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35407   (eval $ac_compile) 2>conftest.er1
35408   ac_status=$?
35409   grep -v '^ *+' conftest.er1 >conftest.err
35410   rm -f conftest.er1
35411   cat conftest.err >&5
35412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413   (exit $ac_status); } &&
35414          { ac_try='test -z "$ac_cxx_werror_flag"
35415                          || test ! -s conftest.err'
35416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417   (eval $ac_try) 2>&5
35418   ac_status=$?
35419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420   (exit $ac_status); }; } &&
35421          { ac_try='test -s conftest.$ac_objext'
35422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423   (eval $ac_try) 2>&5
35424   ac_status=$?
35425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426   (exit $ac_status); }; }; then
35427   glibcxx_cv_func__isnanf_use=yes
35428 else
35429   echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35431
35432 glibcxx_cv_func__isnanf_use=no
35433 fi
35434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35435       ac_ext=c
35436 ac_cpp='$CPP $CPPFLAGS'
35437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35440
35441
35442 fi
35443
35444   fi
35445   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35446 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35447
35448     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35449
35450 for ac_func in _isnanf
35451 do
35452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35453 echo "$as_me:$LINENO: checking for $ac_func" >&5
35454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35455 if eval "test \"\${$as_ac_var+set}\" = set"; then
35456   echo $ECHO_N "(cached) $ECHO_C" >&6
35457 else
35458   if test x$gcc_no_link = xyes; then
35459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35461    { (exit 1); exit 1; }; }
35462 fi
35463 cat >conftest.$ac_ext <<_ACEOF
35464 /* confdefs.h.  */
35465 _ACEOF
35466 cat confdefs.h >>conftest.$ac_ext
35467 cat >>conftest.$ac_ext <<_ACEOF
35468 /* end confdefs.h.  */
35469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35471 #define $ac_func innocuous_$ac_func
35472
35473 /* System header to define __stub macros and hopefully few prototypes,
35474     which can conflict with char $ac_func (); below.
35475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35476     <limits.h> exists even on freestanding compilers.  */
35477
35478 #ifdef __STDC__
35479 # include <limits.h>
35480 #else
35481 # include <assert.h>
35482 #endif
35483
35484 #undef $ac_func
35485
35486 /* Override any gcc2 internal prototype to avoid an error.  */
35487 #ifdef __cplusplus
35488 extern "C"
35489 {
35490 #endif
35491 /* We use char because int might match the return type of a gcc2
35492    builtin and then its argument prototype would still apply.  */
35493 char $ac_func ();
35494 /* The GNU C library defines this for functions which it implements
35495     to always fail with ENOSYS.  Some functions are actually named
35496     something starting with __ and the normal name is an alias.  */
35497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35498 choke me
35499 #else
35500 char (*f) () = $ac_func;
35501 #endif
35502 #ifdef __cplusplus
35503 }
35504 #endif
35505
35506 int
35507 main ()
35508 {
35509 return f != $ac_func;
35510   ;
35511   return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext conftest$ac_exeext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35516   (eval $ac_link) 2>conftest.er1
35517   ac_status=$?
35518   grep -v '^ *+' conftest.er1 >conftest.err
35519   rm -f conftest.er1
35520   cat conftest.err >&5
35521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522   (exit $ac_status); } &&
35523          { ac_try='test -z "$ac_c_werror_flag"
35524                          || test ! -s conftest.err'
35525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526   (eval $ac_try) 2>&5
35527   ac_status=$?
35528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529   (exit $ac_status); }; } &&
35530          { ac_try='test -s conftest$ac_exeext'
35531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35532   (eval $ac_try) 2>&5
35533   ac_status=$?
35534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535   (exit $ac_status); }; }; then
35536   eval "$as_ac_var=yes"
35537 else
35538   echo "$as_me: failed program was:" >&5
35539 sed 's/^/| /' conftest.$ac_ext >&5
35540
35541 eval "$as_ac_var=no"
35542 fi
35543 rm -f conftest.err conftest.$ac_objext \
35544       conftest$ac_exeext conftest.$ac_ext
35545 fi
35546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35548 if test `eval echo '${'$as_ac_var'}'` = yes; then
35549   cat >>confdefs.h <<_ACEOF
35550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35551 _ACEOF
35552
35553 fi
35554 done
35555
35556     fi
35557   fi
35558
35559
35560
35561   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35562 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35563   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35564     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35565   echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567
35568
35569
35570       ac_ext=cc
35571 ac_cpp='$CXXCPP $CPPFLAGS'
35572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35575
35576       cat >conftest.$ac_ext <<_ACEOF
35577 /* confdefs.h.  */
35578 _ACEOF
35579 cat confdefs.h >>conftest.$ac_ext
35580 cat >>conftest.$ac_ext <<_ACEOF
35581 /* end confdefs.h.  */
35582 #include <math.h>
35583                       #ifdef HAVE_IEEEFP_H
35584                       #include <ieeefp.h>
35585                       #endif
35586
35587 int
35588 main ()
35589 {
35590  isinff(0);
35591   ;
35592   return 0;
35593 }
35594 _ACEOF
35595 rm -f conftest.$ac_objext
35596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35597   (eval $ac_compile) 2>conftest.er1
35598   ac_status=$?
35599   grep -v '^ *+' conftest.er1 >conftest.err
35600   rm -f conftest.er1
35601   cat conftest.err >&5
35602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603   (exit $ac_status); } &&
35604          { ac_try='test -z "$ac_cxx_werror_flag"
35605                          || test ! -s conftest.err'
35606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35607   (eval $ac_try) 2>&5
35608   ac_status=$?
35609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610   (exit $ac_status); }; } &&
35611          { ac_try='test -s conftest.$ac_objext'
35612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35613   (eval $ac_try) 2>&5
35614   ac_status=$?
35615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35616   (exit $ac_status); }; }; then
35617   glibcxx_cv_func_isinff_use=yes
35618 else
35619   echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.$ac_ext >&5
35621
35622 glibcxx_cv_func_isinff_use=no
35623 fi
35624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35625       ac_ext=c
35626 ac_cpp='$CPP $CPPFLAGS'
35627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35630
35631
35632 fi
35633
35634   fi
35635   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35636 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35637
35638   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35639
35640 for ac_func in isinff
35641 do
35642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35643 echo "$as_me:$LINENO: checking for $ac_func" >&5
35644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35645 if eval "test \"\${$as_ac_var+set}\" = set"; then
35646   echo $ECHO_N "(cached) $ECHO_C" >&6
35647 else
35648   if test x$gcc_no_link = xyes; then
35649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35651    { (exit 1); exit 1; }; }
35652 fi
35653 cat >conftest.$ac_ext <<_ACEOF
35654 /* confdefs.h.  */
35655 _ACEOF
35656 cat confdefs.h >>conftest.$ac_ext
35657 cat >>conftest.$ac_ext <<_ACEOF
35658 /* end confdefs.h.  */
35659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35661 #define $ac_func innocuous_$ac_func
35662
35663 /* System header to define __stub macros and hopefully few prototypes,
35664     which can conflict with char $ac_func (); below.
35665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35666     <limits.h> exists even on freestanding compilers.  */
35667
35668 #ifdef __STDC__
35669 # include <limits.h>
35670 #else
35671 # include <assert.h>
35672 #endif
35673
35674 #undef $ac_func
35675
35676 /* Override any gcc2 internal prototype to avoid an error.  */
35677 #ifdef __cplusplus
35678 extern "C"
35679 {
35680 #endif
35681 /* We use char because int might match the return type of a gcc2
35682    builtin and then its argument prototype would still apply.  */
35683 char $ac_func ();
35684 /* The GNU C library defines this for functions which it implements
35685     to always fail with ENOSYS.  Some functions are actually named
35686     something starting with __ and the normal name is an alias.  */
35687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35688 choke me
35689 #else
35690 char (*f) () = $ac_func;
35691 #endif
35692 #ifdef __cplusplus
35693 }
35694 #endif
35695
35696 int
35697 main ()
35698 {
35699 return f != $ac_func;
35700   ;
35701   return 0;
35702 }
35703 _ACEOF
35704 rm -f conftest.$ac_objext conftest$ac_exeext
35705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35706   (eval $ac_link) 2>conftest.er1
35707   ac_status=$?
35708   grep -v '^ *+' conftest.er1 >conftest.err
35709   rm -f conftest.er1
35710   cat conftest.err >&5
35711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712   (exit $ac_status); } &&
35713          { ac_try='test -z "$ac_c_werror_flag"
35714                          || test ! -s conftest.err'
35715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716   (eval $ac_try) 2>&5
35717   ac_status=$?
35718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719   (exit $ac_status); }; } &&
35720          { ac_try='test -s conftest$ac_exeext'
35721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722   (eval $ac_try) 2>&5
35723   ac_status=$?
35724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725   (exit $ac_status); }; }; then
35726   eval "$as_ac_var=yes"
35727 else
35728   echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.$ac_ext >&5
35730
35731 eval "$as_ac_var=no"
35732 fi
35733 rm -f conftest.err conftest.$ac_objext \
35734       conftest$ac_exeext conftest.$ac_ext
35735 fi
35736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35738 if test `eval echo '${'$as_ac_var'}'` = yes; then
35739   cat >>confdefs.h <<_ACEOF
35740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35741 _ACEOF
35742
35743 fi
35744 done
35745
35746   else
35747
35748   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35749 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35750   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35751     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35752   echo $ECHO_N "(cached) $ECHO_C" >&6
35753 else
35754
35755
35756
35757       ac_ext=cc
35758 ac_cpp='$CXXCPP $CPPFLAGS'
35759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35762
35763       cat >conftest.$ac_ext <<_ACEOF
35764 /* confdefs.h.  */
35765 _ACEOF
35766 cat confdefs.h >>conftest.$ac_ext
35767 cat >>conftest.$ac_ext <<_ACEOF
35768 /* end confdefs.h.  */
35769 #include <math.h>
35770                       #ifdef HAVE_IEEEFP_H
35771                       #include <ieeefp.h>
35772                       #endif
35773
35774 int
35775 main ()
35776 {
35777  _isinff(0);
35778   ;
35779   return 0;
35780 }
35781 _ACEOF
35782 rm -f conftest.$ac_objext
35783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35784   (eval $ac_compile) 2>conftest.er1
35785   ac_status=$?
35786   grep -v '^ *+' conftest.er1 >conftest.err
35787   rm -f conftest.er1
35788   cat conftest.err >&5
35789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790   (exit $ac_status); } &&
35791          { ac_try='test -z "$ac_cxx_werror_flag"
35792                          || test ! -s conftest.err'
35793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35794   (eval $ac_try) 2>&5
35795   ac_status=$?
35796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797   (exit $ac_status); }; } &&
35798          { ac_try='test -s conftest.$ac_objext'
35799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35800   (eval $ac_try) 2>&5
35801   ac_status=$?
35802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803   (exit $ac_status); }; }; then
35804   glibcxx_cv_func__isinff_use=yes
35805 else
35806   echo "$as_me: failed program was:" >&5
35807 sed 's/^/| /' conftest.$ac_ext >&5
35808
35809 glibcxx_cv_func__isinff_use=no
35810 fi
35811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35812       ac_ext=c
35813 ac_cpp='$CPP $CPPFLAGS'
35814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817
35818
35819 fi
35820
35821   fi
35822   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35823 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35824
35825     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35826
35827 for ac_func in _isinff
35828 do
35829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35830 echo "$as_me:$LINENO: checking for $ac_func" >&5
35831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35832 if eval "test \"\${$as_ac_var+set}\" = set"; then
35833   echo $ECHO_N "(cached) $ECHO_C" >&6
35834 else
35835   if test x$gcc_no_link = xyes; then
35836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35838    { (exit 1); exit 1; }; }
35839 fi
35840 cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h.  */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h.  */
35846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35848 #define $ac_func innocuous_$ac_func
35849
35850 /* System header to define __stub macros and hopefully few prototypes,
35851     which can conflict with char $ac_func (); below.
35852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35853     <limits.h> exists even on freestanding compilers.  */
35854
35855 #ifdef __STDC__
35856 # include <limits.h>
35857 #else
35858 # include <assert.h>
35859 #endif
35860
35861 #undef $ac_func
35862
35863 /* Override any gcc2 internal prototype to avoid an error.  */
35864 #ifdef __cplusplus
35865 extern "C"
35866 {
35867 #endif
35868 /* We use char because int might match the return type of a gcc2
35869    builtin and then its argument prototype would still apply.  */
35870 char $ac_func ();
35871 /* The GNU C library defines this for functions which it implements
35872     to always fail with ENOSYS.  Some functions are actually named
35873     something starting with __ and the normal name is an alias.  */
35874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35875 choke me
35876 #else
35877 char (*f) () = $ac_func;
35878 #endif
35879 #ifdef __cplusplus
35880 }
35881 #endif
35882
35883 int
35884 main ()
35885 {
35886 return f != $ac_func;
35887   ;
35888   return 0;
35889 }
35890 _ACEOF
35891 rm -f conftest.$ac_objext conftest$ac_exeext
35892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35893   (eval $ac_link) 2>conftest.er1
35894   ac_status=$?
35895   grep -v '^ *+' conftest.er1 >conftest.err
35896   rm -f conftest.er1
35897   cat conftest.err >&5
35898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899   (exit $ac_status); } &&
35900          { ac_try='test -z "$ac_c_werror_flag"
35901                          || test ! -s conftest.err'
35902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35903   (eval $ac_try) 2>&5
35904   ac_status=$?
35905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906   (exit $ac_status); }; } &&
35907          { ac_try='test -s conftest$ac_exeext'
35908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35909   (eval $ac_try) 2>&5
35910   ac_status=$?
35911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912   (exit $ac_status); }; }; then
35913   eval "$as_ac_var=yes"
35914 else
35915   echo "$as_me: failed program was:" >&5
35916 sed 's/^/| /' conftest.$ac_ext >&5
35917
35918 eval "$as_ac_var=no"
35919 fi
35920 rm -f conftest.err conftest.$ac_objext \
35921       conftest$ac_exeext conftest.$ac_ext
35922 fi
35923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35925 if test `eval echo '${'$as_ac_var'}'` = yes; then
35926   cat >>confdefs.h <<_ACEOF
35927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35928 _ACEOF
35929
35930 fi
35931 done
35932
35933     fi
35934   fi
35935
35936
35937
35938   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35939 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35940   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35941     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35942   echo $ECHO_N "(cached) $ECHO_C" >&6
35943 else
35944
35945
35946
35947       ac_ext=cc
35948 ac_cpp='$CXXCPP $CPPFLAGS'
35949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35952
35953       cat >conftest.$ac_ext <<_ACEOF
35954 /* confdefs.h.  */
35955 _ACEOF
35956 cat confdefs.h >>conftest.$ac_ext
35957 cat >>conftest.$ac_ext <<_ACEOF
35958 /* end confdefs.h.  */
35959 #include <math.h>
35960 int
35961 main ()
35962 {
35963  atan2f(0, 0);
35964   ;
35965   return 0;
35966 }
35967 _ACEOF
35968 rm -f conftest.$ac_objext
35969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35970   (eval $ac_compile) 2>conftest.er1
35971   ac_status=$?
35972   grep -v '^ *+' conftest.er1 >conftest.err
35973   rm -f conftest.er1
35974   cat conftest.err >&5
35975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976   (exit $ac_status); } &&
35977          { ac_try='test -z "$ac_cxx_werror_flag"
35978                          || test ! -s conftest.err'
35979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35980   (eval $ac_try) 2>&5
35981   ac_status=$?
35982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983   (exit $ac_status); }; } &&
35984          { ac_try='test -s conftest.$ac_objext'
35985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35986   (eval $ac_try) 2>&5
35987   ac_status=$?
35988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35989   (exit $ac_status); }; }; then
35990   glibcxx_cv_func_atan2f_use=yes
35991 else
35992   echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35994
35995 glibcxx_cv_func_atan2f_use=no
35996 fi
35997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35998       ac_ext=c
35999 ac_cpp='$CPP $CPPFLAGS'
36000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36003
36004
36005 fi
36006
36007   fi
36008   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36009 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36010
36011   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36012
36013 for ac_func in atan2f
36014 do
36015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36016 echo "$as_me:$LINENO: checking for $ac_func" >&5
36017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36018 if eval "test \"\${$as_ac_var+set}\" = set"; then
36019   echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021   if test x$gcc_no_link = xyes; then
36022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36024    { (exit 1); exit 1; }; }
36025 fi
36026 cat >conftest.$ac_ext <<_ACEOF
36027 /* confdefs.h.  */
36028 _ACEOF
36029 cat confdefs.h >>conftest.$ac_ext
36030 cat >>conftest.$ac_ext <<_ACEOF
36031 /* end confdefs.h.  */
36032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36034 #define $ac_func innocuous_$ac_func
36035
36036 /* System header to define __stub macros and hopefully few prototypes,
36037     which can conflict with char $ac_func (); below.
36038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36039     <limits.h> exists even on freestanding compilers.  */
36040
36041 #ifdef __STDC__
36042 # include <limits.h>
36043 #else
36044 # include <assert.h>
36045 #endif
36046
36047 #undef $ac_func
36048
36049 /* Override any gcc2 internal prototype to avoid an error.  */
36050 #ifdef __cplusplus
36051 extern "C"
36052 {
36053 #endif
36054 /* We use char because int might match the return type of a gcc2
36055    builtin and then its argument prototype would still apply.  */
36056 char $ac_func ();
36057 /* The GNU C library defines this for functions which it implements
36058     to always fail with ENOSYS.  Some functions are actually named
36059     something starting with __ and the normal name is an alias.  */
36060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36061 choke me
36062 #else
36063 char (*f) () = $ac_func;
36064 #endif
36065 #ifdef __cplusplus
36066 }
36067 #endif
36068
36069 int
36070 main ()
36071 {
36072 return f != $ac_func;
36073   ;
36074   return 0;
36075 }
36076 _ACEOF
36077 rm -f conftest.$ac_objext conftest$ac_exeext
36078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36079   (eval $ac_link) 2>conftest.er1
36080   ac_status=$?
36081   grep -v '^ *+' conftest.er1 >conftest.err
36082   rm -f conftest.er1
36083   cat conftest.err >&5
36084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085   (exit $ac_status); } &&
36086          { ac_try='test -z "$ac_c_werror_flag"
36087                          || test ! -s conftest.err'
36088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089   (eval $ac_try) 2>&5
36090   ac_status=$?
36091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092   (exit $ac_status); }; } &&
36093          { ac_try='test -s conftest$ac_exeext'
36094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095   (eval $ac_try) 2>&5
36096   ac_status=$?
36097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098   (exit $ac_status); }; }; then
36099   eval "$as_ac_var=yes"
36100 else
36101   echo "$as_me: failed program was:" >&5
36102 sed 's/^/| /' conftest.$ac_ext >&5
36103
36104 eval "$as_ac_var=no"
36105 fi
36106 rm -f conftest.err conftest.$ac_objext \
36107       conftest$ac_exeext conftest.$ac_ext
36108 fi
36109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36111 if test `eval echo '${'$as_ac_var'}'` = yes; then
36112   cat >>confdefs.h <<_ACEOF
36113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36114 _ACEOF
36115
36116 fi
36117 done
36118
36119   else
36120
36121   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36122 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36123   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36124     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36125   echo $ECHO_N "(cached) $ECHO_C" >&6
36126 else
36127
36128
36129
36130       ac_ext=cc
36131 ac_cpp='$CXXCPP $CPPFLAGS'
36132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36135
36136       cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h.  */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h.  */
36142 #include <math.h>
36143 int
36144 main ()
36145 {
36146  _atan2f(0, 0);
36147   ;
36148   return 0;
36149 }
36150 _ACEOF
36151 rm -f conftest.$ac_objext
36152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36153   (eval $ac_compile) 2>conftest.er1
36154   ac_status=$?
36155   grep -v '^ *+' conftest.er1 >conftest.err
36156   rm -f conftest.er1
36157   cat conftest.err >&5
36158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159   (exit $ac_status); } &&
36160          { ac_try='test -z "$ac_cxx_werror_flag"
36161                          || test ! -s conftest.err'
36162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163   (eval $ac_try) 2>&5
36164   ac_status=$?
36165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166   (exit $ac_status); }; } &&
36167          { ac_try='test -s conftest.$ac_objext'
36168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169   (eval $ac_try) 2>&5
36170   ac_status=$?
36171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172   (exit $ac_status); }; }; then
36173   glibcxx_cv_func__atan2f_use=yes
36174 else
36175   echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 glibcxx_cv_func__atan2f_use=no
36179 fi
36180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36181       ac_ext=c
36182 ac_cpp='$CPP $CPPFLAGS'
36183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186
36187
36188 fi
36189
36190   fi
36191   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36192 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36193
36194     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36195
36196 for ac_func in _atan2f
36197 do
36198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36199 echo "$as_me:$LINENO: checking for $ac_func" >&5
36200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36201 if eval "test \"\${$as_ac_var+set}\" = set"; then
36202   echo $ECHO_N "(cached) $ECHO_C" >&6
36203 else
36204   if test x$gcc_no_link = xyes; then
36205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36207    { (exit 1); exit 1; }; }
36208 fi
36209 cat >conftest.$ac_ext <<_ACEOF
36210 /* confdefs.h.  */
36211 _ACEOF
36212 cat confdefs.h >>conftest.$ac_ext
36213 cat >>conftest.$ac_ext <<_ACEOF
36214 /* end confdefs.h.  */
36215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36217 #define $ac_func innocuous_$ac_func
36218
36219 /* System header to define __stub macros and hopefully few prototypes,
36220     which can conflict with char $ac_func (); below.
36221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36222     <limits.h> exists even on freestanding compilers.  */
36223
36224 #ifdef __STDC__
36225 # include <limits.h>
36226 #else
36227 # include <assert.h>
36228 #endif
36229
36230 #undef $ac_func
36231
36232 /* Override any gcc2 internal prototype to avoid an error.  */
36233 #ifdef __cplusplus
36234 extern "C"
36235 {
36236 #endif
36237 /* We use char because int might match the return type of a gcc2
36238    builtin and then its argument prototype would still apply.  */
36239 char $ac_func ();
36240 /* The GNU C library defines this for functions which it implements
36241     to always fail with ENOSYS.  Some functions are actually named
36242     something starting with __ and the normal name is an alias.  */
36243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36244 choke me
36245 #else
36246 char (*f) () = $ac_func;
36247 #endif
36248 #ifdef __cplusplus
36249 }
36250 #endif
36251
36252 int
36253 main ()
36254 {
36255 return f != $ac_func;
36256   ;
36257   return 0;
36258 }
36259 _ACEOF
36260 rm -f conftest.$ac_objext conftest$ac_exeext
36261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36262   (eval $ac_link) 2>conftest.er1
36263   ac_status=$?
36264   grep -v '^ *+' conftest.er1 >conftest.err
36265   rm -f conftest.er1
36266   cat conftest.err >&5
36267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268   (exit $ac_status); } &&
36269          { ac_try='test -z "$ac_c_werror_flag"
36270                          || test ! -s conftest.err'
36271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272   (eval $ac_try) 2>&5
36273   ac_status=$?
36274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275   (exit $ac_status); }; } &&
36276          { ac_try='test -s conftest$ac_exeext'
36277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36278   (eval $ac_try) 2>&5
36279   ac_status=$?
36280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281   (exit $ac_status); }; }; then
36282   eval "$as_ac_var=yes"
36283 else
36284   echo "$as_me: failed program was:" >&5
36285 sed 's/^/| /' conftest.$ac_ext >&5
36286
36287 eval "$as_ac_var=no"
36288 fi
36289 rm -f conftest.err conftest.$ac_objext \
36290       conftest$ac_exeext conftest.$ac_ext
36291 fi
36292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36294 if test `eval echo '${'$as_ac_var'}'` = yes; then
36295   cat >>confdefs.h <<_ACEOF
36296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36297 _ACEOF
36298
36299 fi
36300 done
36301
36302     fi
36303   fi
36304
36305
36306
36307   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36308 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36309   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36310     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36311   echo $ECHO_N "(cached) $ECHO_C" >&6
36312 else
36313
36314
36315
36316       ac_ext=cc
36317 ac_cpp='$CXXCPP $CPPFLAGS'
36318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36321
36322       cat >conftest.$ac_ext <<_ACEOF
36323 /* confdefs.h.  */
36324 _ACEOF
36325 cat confdefs.h >>conftest.$ac_ext
36326 cat >>conftest.$ac_ext <<_ACEOF
36327 /* end confdefs.h.  */
36328 #include <math.h>
36329                       #ifdef HAVE_IEEEFP_H
36330                       #include <ieeefp.h>
36331                       #endif
36332
36333 int
36334 main ()
36335 {
36336  fabsf(0);
36337   ;
36338   return 0;
36339 }
36340 _ACEOF
36341 rm -f conftest.$ac_objext
36342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36343   (eval $ac_compile) 2>conftest.er1
36344   ac_status=$?
36345   grep -v '^ *+' conftest.er1 >conftest.err
36346   rm -f conftest.er1
36347   cat conftest.err >&5
36348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349   (exit $ac_status); } &&
36350          { ac_try='test -z "$ac_cxx_werror_flag"
36351                          || test ! -s conftest.err'
36352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36353   (eval $ac_try) 2>&5
36354   ac_status=$?
36355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36356   (exit $ac_status); }; } &&
36357          { ac_try='test -s conftest.$ac_objext'
36358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36359   (eval $ac_try) 2>&5
36360   ac_status=$?
36361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362   (exit $ac_status); }; }; then
36363   glibcxx_cv_func_fabsf_use=yes
36364 else
36365   echo "$as_me: failed program was:" >&5
36366 sed 's/^/| /' conftest.$ac_ext >&5
36367
36368 glibcxx_cv_func_fabsf_use=no
36369 fi
36370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36371       ac_ext=c
36372 ac_cpp='$CPP $CPPFLAGS'
36373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36376
36377
36378 fi
36379
36380   fi
36381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36382 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36383
36384   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36385
36386 for ac_func in fabsf
36387 do
36388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36389 echo "$as_me:$LINENO: checking for $ac_func" >&5
36390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36391 if eval "test \"\${$as_ac_var+set}\" = set"; then
36392   echo $ECHO_N "(cached) $ECHO_C" >&6
36393 else
36394   if test x$gcc_no_link = xyes; then
36395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36397    { (exit 1); exit 1; }; }
36398 fi
36399 cat >conftest.$ac_ext <<_ACEOF
36400 /* confdefs.h.  */
36401 _ACEOF
36402 cat confdefs.h >>conftest.$ac_ext
36403 cat >>conftest.$ac_ext <<_ACEOF
36404 /* end confdefs.h.  */
36405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36407 #define $ac_func innocuous_$ac_func
36408
36409 /* System header to define __stub macros and hopefully few prototypes,
36410     which can conflict with char $ac_func (); below.
36411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36412     <limits.h> exists even on freestanding compilers.  */
36413
36414 #ifdef __STDC__
36415 # include <limits.h>
36416 #else
36417 # include <assert.h>
36418 #endif
36419
36420 #undef $ac_func
36421
36422 /* Override any gcc2 internal prototype to avoid an error.  */
36423 #ifdef __cplusplus
36424 extern "C"
36425 {
36426 #endif
36427 /* We use char because int might match the return type of a gcc2
36428    builtin and then its argument prototype would still apply.  */
36429 char $ac_func ();
36430 /* The GNU C library defines this for functions which it implements
36431     to always fail with ENOSYS.  Some functions are actually named
36432     something starting with __ and the normal name is an alias.  */
36433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36434 choke me
36435 #else
36436 char (*f) () = $ac_func;
36437 #endif
36438 #ifdef __cplusplus
36439 }
36440 #endif
36441
36442 int
36443 main ()
36444 {
36445 return f != $ac_func;
36446   ;
36447   return 0;
36448 }
36449 _ACEOF
36450 rm -f conftest.$ac_objext conftest$ac_exeext
36451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36452   (eval $ac_link) 2>conftest.er1
36453   ac_status=$?
36454   grep -v '^ *+' conftest.er1 >conftest.err
36455   rm -f conftest.er1
36456   cat conftest.err >&5
36457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458   (exit $ac_status); } &&
36459          { ac_try='test -z "$ac_c_werror_flag"
36460                          || test ! -s conftest.err'
36461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36462   (eval $ac_try) 2>&5
36463   ac_status=$?
36464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465   (exit $ac_status); }; } &&
36466          { ac_try='test -s conftest$ac_exeext'
36467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36468   (eval $ac_try) 2>&5
36469   ac_status=$?
36470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471   (exit $ac_status); }; }; then
36472   eval "$as_ac_var=yes"
36473 else
36474   echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36476
36477 eval "$as_ac_var=no"
36478 fi
36479 rm -f conftest.err conftest.$ac_objext \
36480       conftest$ac_exeext conftest.$ac_ext
36481 fi
36482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36484 if test `eval echo '${'$as_ac_var'}'` = yes; then
36485   cat >>confdefs.h <<_ACEOF
36486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36487 _ACEOF
36488
36489 fi
36490 done
36491
36492   else
36493
36494   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36495 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36496   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36497     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36498   echo $ECHO_N "(cached) $ECHO_C" >&6
36499 else
36500
36501
36502
36503       ac_ext=cc
36504 ac_cpp='$CXXCPP $CPPFLAGS'
36505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36508
36509       cat >conftest.$ac_ext <<_ACEOF
36510 /* confdefs.h.  */
36511 _ACEOF
36512 cat confdefs.h >>conftest.$ac_ext
36513 cat >>conftest.$ac_ext <<_ACEOF
36514 /* end confdefs.h.  */
36515 #include <math.h>
36516                       #ifdef HAVE_IEEEFP_H
36517                       #include <ieeefp.h>
36518                       #endif
36519
36520 int
36521 main ()
36522 {
36523  _fabsf(0);
36524   ;
36525   return 0;
36526 }
36527 _ACEOF
36528 rm -f conftest.$ac_objext
36529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36530   (eval $ac_compile) 2>conftest.er1
36531   ac_status=$?
36532   grep -v '^ *+' conftest.er1 >conftest.err
36533   rm -f conftest.er1
36534   cat conftest.err >&5
36535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536   (exit $ac_status); } &&
36537          { ac_try='test -z "$ac_cxx_werror_flag"
36538                          || test ! -s conftest.err'
36539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36540   (eval $ac_try) 2>&5
36541   ac_status=$?
36542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543   (exit $ac_status); }; } &&
36544          { ac_try='test -s conftest.$ac_objext'
36545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36546   (eval $ac_try) 2>&5
36547   ac_status=$?
36548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549   (exit $ac_status); }; }; then
36550   glibcxx_cv_func__fabsf_use=yes
36551 else
36552   echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36554
36555 glibcxx_cv_func__fabsf_use=no
36556 fi
36557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36558       ac_ext=c
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563
36564
36565 fi
36566
36567   fi
36568   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36569 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36570
36571     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36572
36573 for ac_func in _fabsf
36574 do
36575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36576 echo "$as_me:$LINENO: checking for $ac_func" >&5
36577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36578 if eval "test \"\${$as_ac_var+set}\" = set"; then
36579   echo $ECHO_N "(cached) $ECHO_C" >&6
36580 else
36581   if test x$gcc_no_link = xyes; then
36582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36584    { (exit 1); exit 1; }; }
36585 fi
36586 cat >conftest.$ac_ext <<_ACEOF
36587 /* confdefs.h.  */
36588 _ACEOF
36589 cat confdefs.h >>conftest.$ac_ext
36590 cat >>conftest.$ac_ext <<_ACEOF
36591 /* end confdefs.h.  */
36592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36594 #define $ac_func innocuous_$ac_func
36595
36596 /* System header to define __stub macros and hopefully few prototypes,
36597     which can conflict with char $ac_func (); below.
36598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36599     <limits.h> exists even on freestanding compilers.  */
36600
36601 #ifdef __STDC__
36602 # include <limits.h>
36603 #else
36604 # include <assert.h>
36605 #endif
36606
36607 #undef $ac_func
36608
36609 /* Override any gcc2 internal prototype to avoid an error.  */
36610 #ifdef __cplusplus
36611 extern "C"
36612 {
36613 #endif
36614 /* We use char because int might match the return type of a gcc2
36615    builtin and then its argument prototype would still apply.  */
36616 char $ac_func ();
36617 /* The GNU C library defines this for functions which it implements
36618     to always fail with ENOSYS.  Some functions are actually named
36619     something starting with __ and the normal name is an alias.  */
36620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36621 choke me
36622 #else
36623 char (*f) () = $ac_func;
36624 #endif
36625 #ifdef __cplusplus
36626 }
36627 #endif
36628
36629 int
36630 main ()
36631 {
36632 return f != $ac_func;
36633   ;
36634   return 0;
36635 }
36636 _ACEOF
36637 rm -f conftest.$ac_objext conftest$ac_exeext
36638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36639   (eval $ac_link) 2>conftest.er1
36640   ac_status=$?
36641   grep -v '^ *+' conftest.er1 >conftest.err
36642   rm -f conftest.er1
36643   cat conftest.err >&5
36644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645   (exit $ac_status); } &&
36646          { ac_try='test -z "$ac_c_werror_flag"
36647                          || test ! -s conftest.err'
36648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36649   (eval $ac_try) 2>&5
36650   ac_status=$?
36651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36652   (exit $ac_status); }; } &&
36653          { ac_try='test -s conftest$ac_exeext'
36654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36655   (eval $ac_try) 2>&5
36656   ac_status=$?
36657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36658   (exit $ac_status); }; }; then
36659   eval "$as_ac_var=yes"
36660 else
36661   echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.$ac_ext >&5
36663
36664 eval "$as_ac_var=no"
36665 fi
36666 rm -f conftest.err conftest.$ac_objext \
36667       conftest$ac_exeext conftest.$ac_ext
36668 fi
36669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36671 if test `eval echo '${'$as_ac_var'}'` = yes; then
36672   cat >>confdefs.h <<_ACEOF
36673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36674 _ACEOF
36675
36676 fi
36677 done
36678
36679     fi
36680   fi
36681
36682
36683
36684   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36685 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36686   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36687     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36688   echo $ECHO_N "(cached) $ECHO_C" >&6
36689 else
36690
36691
36692
36693       ac_ext=cc
36694 ac_cpp='$CXXCPP $CPPFLAGS'
36695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36698
36699       cat >conftest.$ac_ext <<_ACEOF
36700 /* confdefs.h.  */
36701 _ACEOF
36702 cat confdefs.h >>conftest.$ac_ext
36703 cat >>conftest.$ac_ext <<_ACEOF
36704 /* end confdefs.h.  */
36705 #include <math.h>
36706 int
36707 main ()
36708 {
36709  fmodf(0, 0);
36710   ;
36711   return 0;
36712 }
36713 _ACEOF
36714 rm -f conftest.$ac_objext
36715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36716   (eval $ac_compile) 2>conftest.er1
36717   ac_status=$?
36718   grep -v '^ *+' conftest.er1 >conftest.err
36719   rm -f conftest.er1
36720   cat conftest.err >&5
36721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722   (exit $ac_status); } &&
36723          { ac_try='test -z "$ac_cxx_werror_flag"
36724                          || test ! -s conftest.err'
36725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726   (eval $ac_try) 2>&5
36727   ac_status=$?
36728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729   (exit $ac_status); }; } &&
36730          { ac_try='test -s conftest.$ac_objext'
36731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732   (eval $ac_try) 2>&5
36733   ac_status=$?
36734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735   (exit $ac_status); }; }; then
36736   glibcxx_cv_func_fmodf_use=yes
36737 else
36738   echo "$as_me: failed program was:" >&5
36739 sed 's/^/| /' conftest.$ac_ext >&5
36740
36741 glibcxx_cv_func_fmodf_use=no
36742 fi
36743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36744       ac_ext=c
36745 ac_cpp='$CPP $CPPFLAGS'
36746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36749
36750
36751 fi
36752
36753   fi
36754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36755 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36756
36757   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36758
36759 for ac_func in fmodf
36760 do
36761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36762 echo "$as_me:$LINENO: checking for $ac_func" >&5
36763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36764 if eval "test \"\${$as_ac_var+set}\" = set"; then
36765   echo $ECHO_N "(cached) $ECHO_C" >&6
36766 else
36767   if test x$gcc_no_link = xyes; then
36768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36770    { (exit 1); exit 1; }; }
36771 fi
36772 cat >conftest.$ac_ext <<_ACEOF
36773 /* confdefs.h.  */
36774 _ACEOF
36775 cat confdefs.h >>conftest.$ac_ext
36776 cat >>conftest.$ac_ext <<_ACEOF
36777 /* end confdefs.h.  */
36778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36780 #define $ac_func innocuous_$ac_func
36781
36782 /* System header to define __stub macros and hopefully few prototypes,
36783     which can conflict with char $ac_func (); below.
36784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36785     <limits.h> exists even on freestanding compilers.  */
36786
36787 #ifdef __STDC__
36788 # include <limits.h>
36789 #else
36790 # include <assert.h>
36791 #endif
36792
36793 #undef $ac_func
36794
36795 /* Override any gcc2 internal prototype to avoid an error.  */
36796 #ifdef __cplusplus
36797 extern "C"
36798 {
36799 #endif
36800 /* We use char because int might match the return type of a gcc2
36801    builtin and then its argument prototype would still apply.  */
36802 char $ac_func ();
36803 /* The GNU C library defines this for functions which it implements
36804     to always fail with ENOSYS.  Some functions are actually named
36805     something starting with __ and the normal name is an alias.  */
36806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36807 choke me
36808 #else
36809 char (*f) () = $ac_func;
36810 #endif
36811 #ifdef __cplusplus
36812 }
36813 #endif
36814
36815 int
36816 main ()
36817 {
36818 return f != $ac_func;
36819   ;
36820   return 0;
36821 }
36822 _ACEOF
36823 rm -f conftest.$ac_objext conftest$ac_exeext
36824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36825   (eval $ac_link) 2>conftest.er1
36826   ac_status=$?
36827   grep -v '^ *+' conftest.er1 >conftest.err
36828   rm -f conftest.er1
36829   cat conftest.err >&5
36830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36831   (exit $ac_status); } &&
36832          { ac_try='test -z "$ac_c_werror_flag"
36833                          || test ! -s conftest.err'
36834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36835   (eval $ac_try) 2>&5
36836   ac_status=$?
36837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838   (exit $ac_status); }; } &&
36839          { ac_try='test -s conftest$ac_exeext'
36840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36841   (eval $ac_try) 2>&5
36842   ac_status=$?
36843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844   (exit $ac_status); }; }; then
36845   eval "$as_ac_var=yes"
36846 else
36847   echo "$as_me: failed program was:" >&5
36848 sed 's/^/| /' conftest.$ac_ext >&5
36849
36850 eval "$as_ac_var=no"
36851 fi
36852 rm -f conftest.err conftest.$ac_objext \
36853       conftest$ac_exeext conftest.$ac_ext
36854 fi
36855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36857 if test `eval echo '${'$as_ac_var'}'` = yes; then
36858   cat >>confdefs.h <<_ACEOF
36859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36860 _ACEOF
36861
36862 fi
36863 done
36864
36865   else
36866
36867   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36868 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36869   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36870     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36871   echo $ECHO_N "(cached) $ECHO_C" >&6
36872 else
36873
36874
36875
36876       ac_ext=cc
36877 ac_cpp='$CXXCPP $CPPFLAGS'
36878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36881
36882       cat >conftest.$ac_ext <<_ACEOF
36883 /* confdefs.h.  */
36884 _ACEOF
36885 cat confdefs.h >>conftest.$ac_ext
36886 cat >>conftest.$ac_ext <<_ACEOF
36887 /* end confdefs.h.  */
36888 #include <math.h>
36889 int
36890 main ()
36891 {
36892  _fmodf(0, 0);
36893   ;
36894   return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36899   (eval $ac_compile) 2>conftest.er1
36900   ac_status=$?
36901   grep -v '^ *+' conftest.er1 >conftest.err
36902   rm -f conftest.er1
36903   cat conftest.err >&5
36904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905   (exit $ac_status); } &&
36906          { ac_try='test -z "$ac_cxx_werror_flag"
36907                          || test ! -s conftest.err'
36908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909   (eval $ac_try) 2>&5
36910   ac_status=$?
36911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912   (exit $ac_status); }; } &&
36913          { ac_try='test -s conftest.$ac_objext'
36914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36915   (eval $ac_try) 2>&5
36916   ac_status=$?
36917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36918   (exit $ac_status); }; }; then
36919   glibcxx_cv_func__fmodf_use=yes
36920 else
36921   echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36923
36924 glibcxx_cv_func__fmodf_use=no
36925 fi
36926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36927       ac_ext=c
36928 ac_cpp='$CPP $CPPFLAGS'
36929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36932
36933
36934 fi
36935
36936   fi
36937   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36938 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36939
36940     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36941
36942 for ac_func in _fmodf
36943 do
36944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36945 echo "$as_me:$LINENO: checking for $ac_func" >&5
36946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36947 if eval "test \"\${$as_ac_var+set}\" = set"; then
36948   echo $ECHO_N "(cached) $ECHO_C" >&6
36949 else
36950   if test x$gcc_no_link = xyes; then
36951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36953    { (exit 1); exit 1; }; }
36954 fi
36955 cat >conftest.$ac_ext <<_ACEOF
36956 /* confdefs.h.  */
36957 _ACEOF
36958 cat confdefs.h >>conftest.$ac_ext
36959 cat >>conftest.$ac_ext <<_ACEOF
36960 /* end confdefs.h.  */
36961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36963 #define $ac_func innocuous_$ac_func
36964
36965 /* System header to define __stub macros and hopefully few prototypes,
36966     which can conflict with char $ac_func (); below.
36967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36968     <limits.h> exists even on freestanding compilers.  */
36969
36970 #ifdef __STDC__
36971 # include <limits.h>
36972 #else
36973 # include <assert.h>
36974 #endif
36975
36976 #undef $ac_func
36977
36978 /* Override any gcc2 internal prototype to avoid an error.  */
36979 #ifdef __cplusplus
36980 extern "C"
36981 {
36982 #endif
36983 /* We use char because int might match the return type of a gcc2
36984    builtin and then its argument prototype would still apply.  */
36985 char $ac_func ();
36986 /* The GNU C library defines this for functions which it implements
36987     to always fail with ENOSYS.  Some functions are actually named
36988     something starting with __ and the normal name is an alias.  */
36989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36990 choke me
36991 #else
36992 char (*f) () = $ac_func;
36993 #endif
36994 #ifdef __cplusplus
36995 }
36996 #endif
36997
36998 int
36999 main ()
37000 {
37001 return f != $ac_func;
37002   ;
37003   return 0;
37004 }
37005 _ACEOF
37006 rm -f conftest.$ac_objext conftest$ac_exeext
37007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37008   (eval $ac_link) 2>conftest.er1
37009   ac_status=$?
37010   grep -v '^ *+' conftest.er1 >conftest.err
37011   rm -f conftest.er1
37012   cat conftest.err >&5
37013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37014   (exit $ac_status); } &&
37015          { ac_try='test -z "$ac_c_werror_flag"
37016                          || test ! -s conftest.err'
37017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018   (eval $ac_try) 2>&5
37019   ac_status=$?
37020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021   (exit $ac_status); }; } &&
37022          { ac_try='test -s conftest$ac_exeext'
37023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024   (eval $ac_try) 2>&5
37025   ac_status=$?
37026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027   (exit $ac_status); }; }; then
37028   eval "$as_ac_var=yes"
37029 else
37030   echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033 eval "$as_ac_var=no"
37034 fi
37035 rm -f conftest.err conftest.$ac_objext \
37036       conftest$ac_exeext conftest.$ac_ext
37037 fi
37038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37040 if test `eval echo '${'$as_ac_var'}'` = yes; then
37041   cat >>confdefs.h <<_ACEOF
37042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37043 _ACEOF
37044
37045 fi
37046 done
37047
37048     fi
37049   fi
37050
37051
37052
37053   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37054 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37055   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37056     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37057   echo $ECHO_N "(cached) $ECHO_C" >&6
37058 else
37059
37060
37061
37062       ac_ext=cc
37063 ac_cpp='$CXXCPP $CPPFLAGS'
37064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37067
37068       cat >conftest.$ac_ext <<_ACEOF
37069 /* confdefs.h.  */
37070 _ACEOF
37071 cat confdefs.h >>conftest.$ac_ext
37072 cat >>conftest.$ac_ext <<_ACEOF
37073 /* end confdefs.h.  */
37074 #include <math.h>
37075 int
37076 main ()
37077 {
37078  frexpf(0, 0);
37079   ;
37080   return 0;
37081 }
37082 _ACEOF
37083 rm -f conftest.$ac_objext
37084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37085   (eval $ac_compile) 2>conftest.er1
37086   ac_status=$?
37087   grep -v '^ *+' conftest.er1 >conftest.err
37088   rm -f conftest.er1
37089   cat conftest.err >&5
37090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091   (exit $ac_status); } &&
37092          { ac_try='test -z "$ac_cxx_werror_flag"
37093                          || test ! -s conftest.err'
37094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37095   (eval $ac_try) 2>&5
37096   ac_status=$?
37097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098   (exit $ac_status); }; } &&
37099          { ac_try='test -s conftest.$ac_objext'
37100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101   (eval $ac_try) 2>&5
37102   ac_status=$?
37103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104   (exit $ac_status); }; }; then
37105   glibcxx_cv_func_frexpf_use=yes
37106 else
37107   echo "$as_me: failed program was:" >&5
37108 sed 's/^/| /' conftest.$ac_ext >&5
37109
37110 glibcxx_cv_func_frexpf_use=no
37111 fi
37112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37113       ac_ext=c
37114 ac_cpp='$CPP $CPPFLAGS'
37115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37118
37119
37120 fi
37121
37122   fi
37123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37124 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37125
37126   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37127
37128 for ac_func in frexpf
37129 do
37130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37131 echo "$as_me:$LINENO: checking for $ac_func" >&5
37132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37133 if eval "test \"\${$as_ac_var+set}\" = set"; then
37134   echo $ECHO_N "(cached) $ECHO_C" >&6
37135 else
37136   if test x$gcc_no_link = xyes; then
37137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37139    { (exit 1); exit 1; }; }
37140 fi
37141 cat >conftest.$ac_ext <<_ACEOF
37142 /* confdefs.h.  */
37143 _ACEOF
37144 cat confdefs.h >>conftest.$ac_ext
37145 cat >>conftest.$ac_ext <<_ACEOF
37146 /* end confdefs.h.  */
37147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37149 #define $ac_func innocuous_$ac_func
37150
37151 /* System header to define __stub macros and hopefully few prototypes,
37152     which can conflict with char $ac_func (); below.
37153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37154     <limits.h> exists even on freestanding compilers.  */
37155
37156 #ifdef __STDC__
37157 # include <limits.h>
37158 #else
37159 # include <assert.h>
37160 #endif
37161
37162 #undef $ac_func
37163
37164 /* Override any gcc2 internal prototype to avoid an error.  */
37165 #ifdef __cplusplus
37166 extern "C"
37167 {
37168 #endif
37169 /* We use char because int might match the return type of a gcc2
37170    builtin and then its argument prototype would still apply.  */
37171 char $ac_func ();
37172 /* The GNU C library defines this for functions which it implements
37173     to always fail with ENOSYS.  Some functions are actually named
37174     something starting with __ and the normal name is an alias.  */
37175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37176 choke me
37177 #else
37178 char (*f) () = $ac_func;
37179 #endif
37180 #ifdef __cplusplus
37181 }
37182 #endif
37183
37184 int
37185 main ()
37186 {
37187 return f != $ac_func;
37188   ;
37189   return 0;
37190 }
37191 _ACEOF
37192 rm -f conftest.$ac_objext conftest$ac_exeext
37193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37194   (eval $ac_link) 2>conftest.er1
37195   ac_status=$?
37196   grep -v '^ *+' conftest.er1 >conftest.err
37197   rm -f conftest.er1
37198   cat conftest.err >&5
37199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200   (exit $ac_status); } &&
37201          { ac_try='test -z "$ac_c_werror_flag"
37202                          || test ! -s conftest.err'
37203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37204   (eval $ac_try) 2>&5
37205   ac_status=$?
37206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37207   (exit $ac_status); }; } &&
37208          { ac_try='test -s conftest$ac_exeext'
37209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37210   (eval $ac_try) 2>&5
37211   ac_status=$?
37212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213   (exit $ac_status); }; }; then
37214   eval "$as_ac_var=yes"
37215 else
37216   echo "$as_me: failed program was:" >&5
37217 sed 's/^/| /' conftest.$ac_ext >&5
37218
37219 eval "$as_ac_var=no"
37220 fi
37221 rm -f conftest.err conftest.$ac_objext \
37222       conftest$ac_exeext conftest.$ac_ext
37223 fi
37224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37226 if test `eval echo '${'$as_ac_var'}'` = yes; then
37227   cat >>confdefs.h <<_ACEOF
37228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37229 _ACEOF
37230
37231 fi
37232 done
37233
37234   else
37235
37236   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37237 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37238   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37239     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37240   echo $ECHO_N "(cached) $ECHO_C" >&6
37241 else
37242
37243
37244
37245       ac_ext=cc
37246 ac_cpp='$CXXCPP $CPPFLAGS'
37247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37250
37251       cat >conftest.$ac_ext <<_ACEOF
37252 /* confdefs.h.  */
37253 _ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h.  */
37257 #include <math.h>
37258 int
37259 main ()
37260 {
37261  _frexpf(0, 0);
37262   ;
37263   return 0;
37264 }
37265 _ACEOF
37266 rm -f conftest.$ac_objext
37267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37268   (eval $ac_compile) 2>conftest.er1
37269   ac_status=$?
37270   grep -v '^ *+' conftest.er1 >conftest.err
37271   rm -f conftest.er1
37272   cat conftest.err >&5
37273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37274   (exit $ac_status); } &&
37275          { ac_try='test -z "$ac_cxx_werror_flag"
37276                          || test ! -s conftest.err'
37277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278   (eval $ac_try) 2>&5
37279   ac_status=$?
37280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281   (exit $ac_status); }; } &&
37282          { ac_try='test -s conftest.$ac_objext'
37283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284   (eval $ac_try) 2>&5
37285   ac_status=$?
37286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287   (exit $ac_status); }; }; then
37288   glibcxx_cv_func__frexpf_use=yes
37289 else
37290   echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37292
37293 glibcxx_cv_func__frexpf_use=no
37294 fi
37295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37296       ac_ext=c
37297 ac_cpp='$CPP $CPPFLAGS'
37298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37301
37302
37303 fi
37304
37305   fi
37306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37307 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37308
37309     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37310
37311 for ac_func in _frexpf
37312 do
37313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37314 echo "$as_me:$LINENO: checking for $ac_func" >&5
37315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37316 if eval "test \"\${$as_ac_var+set}\" = set"; then
37317   echo $ECHO_N "(cached) $ECHO_C" >&6
37318 else
37319   if test x$gcc_no_link = xyes; then
37320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37322    { (exit 1); exit 1; }; }
37323 fi
37324 cat >conftest.$ac_ext <<_ACEOF
37325 /* confdefs.h.  */
37326 _ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h.  */
37330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37332 #define $ac_func innocuous_$ac_func
37333
37334 /* System header to define __stub macros and hopefully few prototypes,
37335     which can conflict with char $ac_func (); below.
37336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37337     <limits.h> exists even on freestanding compilers.  */
37338
37339 #ifdef __STDC__
37340 # include <limits.h>
37341 #else
37342 # include <assert.h>
37343 #endif
37344
37345 #undef $ac_func
37346
37347 /* Override any gcc2 internal prototype to avoid an error.  */
37348 #ifdef __cplusplus
37349 extern "C"
37350 {
37351 #endif
37352 /* We use char because int might match the return type of a gcc2
37353    builtin and then its argument prototype would still apply.  */
37354 char $ac_func ();
37355 /* The GNU C library defines this for functions which it implements
37356     to always fail with ENOSYS.  Some functions are actually named
37357     something starting with __ and the normal name is an alias.  */
37358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37359 choke me
37360 #else
37361 char (*f) () = $ac_func;
37362 #endif
37363 #ifdef __cplusplus
37364 }
37365 #endif
37366
37367 int
37368 main ()
37369 {
37370 return f != $ac_func;
37371   ;
37372   return 0;
37373 }
37374 _ACEOF
37375 rm -f conftest.$ac_objext conftest$ac_exeext
37376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37377   (eval $ac_link) 2>conftest.er1
37378   ac_status=$?
37379   grep -v '^ *+' conftest.er1 >conftest.err
37380   rm -f conftest.er1
37381   cat conftest.err >&5
37382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37383   (exit $ac_status); } &&
37384          { ac_try='test -z "$ac_c_werror_flag"
37385                          || test ! -s conftest.err'
37386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37387   (eval $ac_try) 2>&5
37388   ac_status=$?
37389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390   (exit $ac_status); }; } &&
37391          { ac_try='test -s conftest$ac_exeext'
37392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37393   (eval $ac_try) 2>&5
37394   ac_status=$?
37395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396   (exit $ac_status); }; }; then
37397   eval "$as_ac_var=yes"
37398 else
37399   echo "$as_me: failed program was:" >&5
37400 sed 's/^/| /' conftest.$ac_ext >&5
37401
37402 eval "$as_ac_var=no"
37403 fi
37404 rm -f conftest.err conftest.$ac_objext \
37405       conftest$ac_exeext conftest.$ac_ext
37406 fi
37407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37409 if test `eval echo '${'$as_ac_var'}'` = yes; then
37410   cat >>confdefs.h <<_ACEOF
37411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37412 _ACEOF
37413
37414 fi
37415 done
37416
37417     fi
37418   fi
37419
37420
37421
37422   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37423 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37424   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37425     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37426   echo $ECHO_N "(cached) $ECHO_C" >&6
37427 else
37428
37429
37430
37431       ac_ext=cc
37432 ac_cpp='$CXXCPP $CPPFLAGS'
37433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37436
37437       cat >conftest.$ac_ext <<_ACEOF
37438 /* confdefs.h.  */
37439 _ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h.  */
37443 #include <math.h>
37444 int
37445 main ()
37446 {
37447  hypotf(0, 0);
37448   ;
37449   return 0;
37450 }
37451 _ACEOF
37452 rm -f conftest.$ac_objext
37453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37454   (eval $ac_compile) 2>conftest.er1
37455   ac_status=$?
37456   grep -v '^ *+' conftest.er1 >conftest.err
37457   rm -f conftest.er1
37458   cat conftest.err >&5
37459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460   (exit $ac_status); } &&
37461          { ac_try='test -z "$ac_cxx_werror_flag"
37462                          || test ! -s conftest.err'
37463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464   (eval $ac_try) 2>&5
37465   ac_status=$?
37466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467   (exit $ac_status); }; } &&
37468          { ac_try='test -s conftest.$ac_objext'
37469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470   (eval $ac_try) 2>&5
37471   ac_status=$?
37472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473   (exit $ac_status); }; }; then
37474   glibcxx_cv_func_hypotf_use=yes
37475 else
37476   echo "$as_me: failed program was:" >&5
37477 sed 's/^/| /' conftest.$ac_ext >&5
37478
37479 glibcxx_cv_func_hypotf_use=no
37480 fi
37481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37482       ac_ext=c
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487
37488
37489 fi
37490
37491   fi
37492   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37493 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37494
37495   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37496
37497 for ac_func in hypotf
37498 do
37499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37500 echo "$as_me:$LINENO: checking for $ac_func" >&5
37501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37502 if eval "test \"\${$as_ac_var+set}\" = set"; then
37503   echo $ECHO_N "(cached) $ECHO_C" >&6
37504 else
37505   if test x$gcc_no_link = xyes; then
37506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37508    { (exit 1); exit 1; }; }
37509 fi
37510 cat >conftest.$ac_ext <<_ACEOF
37511 /* confdefs.h.  */
37512 _ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h.  */
37516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37517    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37518 #define $ac_func innocuous_$ac_func
37519
37520 /* System header to define __stub macros and hopefully few prototypes,
37521     which can conflict with char $ac_func (); below.
37522     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37523     <limits.h> exists even on freestanding compilers.  */
37524
37525 #ifdef __STDC__
37526 # include <limits.h>
37527 #else
37528 # include <assert.h>
37529 #endif
37530
37531 #undef $ac_func
37532
37533 /* Override any gcc2 internal prototype to avoid an error.  */
37534 #ifdef __cplusplus
37535 extern "C"
37536 {
37537 #endif
37538 /* We use char because int might match the return type of a gcc2
37539    builtin and then its argument prototype would still apply.  */
37540 char $ac_func ();
37541 /* The GNU C library defines this for functions which it implements
37542     to always fail with ENOSYS.  Some functions are actually named
37543     something starting with __ and the normal name is an alias.  */
37544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37545 choke me
37546 #else
37547 char (*f) () = $ac_func;
37548 #endif
37549 #ifdef __cplusplus
37550 }
37551 #endif
37552
37553 int
37554 main ()
37555 {
37556 return f != $ac_func;
37557   ;
37558   return 0;
37559 }
37560 _ACEOF
37561 rm -f conftest.$ac_objext conftest$ac_exeext
37562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37563   (eval $ac_link) 2>conftest.er1
37564   ac_status=$?
37565   grep -v '^ *+' conftest.er1 >conftest.err
37566   rm -f conftest.er1
37567   cat conftest.err >&5
37568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37569   (exit $ac_status); } &&
37570          { ac_try='test -z "$ac_c_werror_flag"
37571                          || test ! -s conftest.err'
37572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37573   (eval $ac_try) 2>&5
37574   ac_status=$?
37575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37576   (exit $ac_status); }; } &&
37577          { ac_try='test -s conftest$ac_exeext'
37578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37579   (eval $ac_try) 2>&5
37580   ac_status=$?
37581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582   (exit $ac_status); }; }; then
37583   eval "$as_ac_var=yes"
37584 else
37585   echo "$as_me: failed program was:" >&5
37586 sed 's/^/| /' conftest.$ac_ext >&5
37587
37588 eval "$as_ac_var=no"
37589 fi
37590 rm -f conftest.err conftest.$ac_objext \
37591       conftest$ac_exeext conftest.$ac_ext
37592 fi
37593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37595 if test `eval echo '${'$as_ac_var'}'` = yes; then
37596   cat >>confdefs.h <<_ACEOF
37597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37599
37600 fi
37601 done
37602
37603   else
37604
37605   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37606 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37607   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37608     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37609   echo $ECHO_N "(cached) $ECHO_C" >&6
37610 else
37611
37612
37613
37614       ac_ext=cc
37615 ac_cpp='$CXXCPP $CPPFLAGS'
37616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37619
37620       cat >conftest.$ac_ext <<_ACEOF
37621 /* confdefs.h.  */
37622 _ACEOF
37623 cat confdefs.h >>conftest.$ac_ext
37624 cat >>conftest.$ac_ext <<_ACEOF
37625 /* end confdefs.h.  */
37626 #include <math.h>
37627 int
37628 main ()
37629 {
37630  _hypotf(0, 0);
37631   ;
37632   return 0;
37633 }
37634 _ACEOF
37635 rm -f conftest.$ac_objext
37636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37637   (eval $ac_compile) 2>conftest.er1
37638   ac_status=$?
37639   grep -v '^ *+' conftest.er1 >conftest.err
37640   rm -f conftest.er1
37641   cat conftest.err >&5
37642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643   (exit $ac_status); } &&
37644          { ac_try='test -z "$ac_cxx_werror_flag"
37645                          || test ! -s conftest.err'
37646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647   (eval $ac_try) 2>&5
37648   ac_status=$?
37649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650   (exit $ac_status); }; } &&
37651          { ac_try='test -s conftest.$ac_objext'
37652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653   (eval $ac_try) 2>&5
37654   ac_status=$?
37655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656   (exit $ac_status); }; }; then
37657   glibcxx_cv_func__hypotf_use=yes
37658 else
37659   echo "$as_me: failed program was:" >&5
37660 sed 's/^/| /' conftest.$ac_ext >&5
37661
37662 glibcxx_cv_func__hypotf_use=no
37663 fi
37664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37665       ac_ext=c
37666 ac_cpp='$CPP $CPPFLAGS'
37667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37670
37671
37672 fi
37673
37674   fi
37675   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37676 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37677
37678     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37679
37680 for ac_func in _hypotf
37681 do
37682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37683 echo "$as_me:$LINENO: checking for $ac_func" >&5
37684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37685 if eval "test \"\${$as_ac_var+set}\" = set"; then
37686   echo $ECHO_N "(cached) $ECHO_C" >&6
37687 else
37688   if test x$gcc_no_link = xyes; then
37689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37691    { (exit 1); exit 1; }; }
37692 fi
37693 cat >conftest.$ac_ext <<_ACEOF
37694 /* confdefs.h.  */
37695 _ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h.  */
37699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37700    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37701 #define $ac_func innocuous_$ac_func
37702
37703 /* System header to define __stub macros and hopefully few prototypes,
37704     which can conflict with char $ac_func (); below.
37705     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37706     <limits.h> exists even on freestanding compilers.  */
37707
37708 #ifdef __STDC__
37709 # include <limits.h>
37710 #else
37711 # include <assert.h>
37712 #endif
37713
37714 #undef $ac_func
37715
37716 /* Override any gcc2 internal prototype to avoid an error.  */
37717 #ifdef __cplusplus
37718 extern "C"
37719 {
37720 #endif
37721 /* We use char because int might match the return type of a gcc2
37722    builtin and then its argument prototype would still apply.  */
37723 char $ac_func ();
37724 /* The GNU C library defines this for functions which it implements
37725     to always fail with ENOSYS.  Some functions are actually named
37726     something starting with __ and the normal name is an alias.  */
37727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37728 choke me
37729 #else
37730 char (*f) () = $ac_func;
37731 #endif
37732 #ifdef __cplusplus
37733 }
37734 #endif
37735
37736 int
37737 main ()
37738 {
37739 return f != $ac_func;
37740   ;
37741   return 0;
37742 }
37743 _ACEOF
37744 rm -f conftest.$ac_objext conftest$ac_exeext
37745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37746   (eval $ac_link) 2>conftest.er1
37747   ac_status=$?
37748   grep -v '^ *+' conftest.er1 >conftest.err
37749   rm -f conftest.er1
37750   cat conftest.err >&5
37751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752   (exit $ac_status); } &&
37753          { ac_try='test -z "$ac_c_werror_flag"
37754                          || test ! -s conftest.err'
37755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756   (eval $ac_try) 2>&5
37757   ac_status=$?
37758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759   (exit $ac_status); }; } &&
37760          { ac_try='test -s conftest$ac_exeext'
37761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762   (eval $ac_try) 2>&5
37763   ac_status=$?
37764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765   (exit $ac_status); }; }; then
37766   eval "$as_ac_var=yes"
37767 else
37768   echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37770
37771 eval "$as_ac_var=no"
37772 fi
37773 rm -f conftest.err conftest.$ac_objext \
37774       conftest$ac_exeext conftest.$ac_ext
37775 fi
37776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37778 if test `eval echo '${'$as_ac_var'}'` = yes; then
37779   cat >>confdefs.h <<_ACEOF
37780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37781 _ACEOF
37782
37783 fi
37784 done
37785
37786     fi
37787   fi
37788
37789
37790
37791   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37792 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37793   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37794     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37795   echo $ECHO_N "(cached) $ECHO_C" >&6
37796 else
37797
37798
37799
37800       ac_ext=cc
37801 ac_cpp='$CXXCPP $CPPFLAGS'
37802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37805
37806       cat >conftest.$ac_ext <<_ACEOF
37807 /* confdefs.h.  */
37808 _ACEOF
37809 cat confdefs.h >>conftest.$ac_ext
37810 cat >>conftest.$ac_ext <<_ACEOF
37811 /* end confdefs.h.  */
37812 #include <math.h>
37813 int
37814 main ()
37815 {
37816  ldexpf(0, 0);
37817   ;
37818   return 0;
37819 }
37820 _ACEOF
37821 rm -f conftest.$ac_objext
37822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37823   (eval $ac_compile) 2>conftest.er1
37824   ac_status=$?
37825   grep -v '^ *+' conftest.er1 >conftest.err
37826   rm -f conftest.er1
37827   cat conftest.err >&5
37828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829   (exit $ac_status); } &&
37830          { ac_try='test -z "$ac_cxx_werror_flag"
37831                          || test ! -s conftest.err'
37832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833   (eval $ac_try) 2>&5
37834   ac_status=$?
37835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836   (exit $ac_status); }; } &&
37837          { ac_try='test -s conftest.$ac_objext'
37838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37839   (eval $ac_try) 2>&5
37840   ac_status=$?
37841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37842   (exit $ac_status); }; }; then
37843   glibcxx_cv_func_ldexpf_use=yes
37844 else
37845   echo "$as_me: failed program was:" >&5
37846 sed 's/^/| /' conftest.$ac_ext >&5
37847
37848 glibcxx_cv_func_ldexpf_use=no
37849 fi
37850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37851       ac_ext=c
37852 ac_cpp='$CPP $CPPFLAGS'
37853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37856
37857
37858 fi
37859
37860   fi
37861   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37862 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37863
37864   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37865
37866 for ac_func in ldexpf
37867 do
37868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37869 echo "$as_me:$LINENO: checking for $ac_func" >&5
37870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37871 if eval "test \"\${$as_ac_var+set}\" = set"; then
37872   echo $ECHO_N "(cached) $ECHO_C" >&6
37873 else
37874   if test x$gcc_no_link = xyes; then
37875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37877    { (exit 1); exit 1; }; }
37878 fi
37879 cat >conftest.$ac_ext <<_ACEOF
37880 /* confdefs.h.  */
37881 _ACEOF
37882 cat confdefs.h >>conftest.$ac_ext
37883 cat >>conftest.$ac_ext <<_ACEOF
37884 /* end confdefs.h.  */
37885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37887 #define $ac_func innocuous_$ac_func
37888
37889 /* System header to define __stub macros and hopefully few prototypes,
37890     which can conflict with char $ac_func (); below.
37891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37892     <limits.h> exists even on freestanding compilers.  */
37893
37894 #ifdef __STDC__
37895 # include <limits.h>
37896 #else
37897 # include <assert.h>
37898 #endif
37899
37900 #undef $ac_func
37901
37902 /* Override any gcc2 internal prototype to avoid an error.  */
37903 #ifdef __cplusplus
37904 extern "C"
37905 {
37906 #endif
37907 /* We use char because int might match the return type of a gcc2
37908    builtin and then its argument prototype would still apply.  */
37909 char $ac_func ();
37910 /* The GNU C library defines this for functions which it implements
37911     to always fail with ENOSYS.  Some functions are actually named
37912     something starting with __ and the normal name is an alias.  */
37913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37914 choke me
37915 #else
37916 char (*f) () = $ac_func;
37917 #endif
37918 #ifdef __cplusplus
37919 }
37920 #endif
37921
37922 int
37923 main ()
37924 {
37925 return f != $ac_func;
37926   ;
37927   return 0;
37928 }
37929 _ACEOF
37930 rm -f conftest.$ac_objext conftest$ac_exeext
37931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37932   (eval $ac_link) 2>conftest.er1
37933   ac_status=$?
37934   grep -v '^ *+' conftest.er1 >conftest.err
37935   rm -f conftest.er1
37936   cat conftest.err >&5
37937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938   (exit $ac_status); } &&
37939          { ac_try='test -z "$ac_c_werror_flag"
37940                          || test ! -s conftest.err'
37941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942   (eval $ac_try) 2>&5
37943   ac_status=$?
37944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945   (exit $ac_status); }; } &&
37946          { ac_try='test -s conftest$ac_exeext'
37947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948   (eval $ac_try) 2>&5
37949   ac_status=$?
37950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951   (exit $ac_status); }; }; then
37952   eval "$as_ac_var=yes"
37953 else
37954   echo "$as_me: failed program was:" >&5
37955 sed 's/^/| /' conftest.$ac_ext >&5
37956
37957 eval "$as_ac_var=no"
37958 fi
37959 rm -f conftest.err conftest.$ac_objext \
37960       conftest$ac_exeext conftest.$ac_ext
37961 fi
37962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37964 if test `eval echo '${'$as_ac_var'}'` = yes; then
37965   cat >>confdefs.h <<_ACEOF
37966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37967 _ACEOF
37968
37969 fi
37970 done
37971
37972   else
37973
37974   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37975 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37976   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37977     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37978   echo $ECHO_N "(cached) $ECHO_C" >&6
37979 else
37980
37981
37982
37983       ac_ext=cc
37984 ac_cpp='$CXXCPP $CPPFLAGS'
37985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37988
37989       cat >conftest.$ac_ext <<_ACEOF
37990 /* confdefs.h.  */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h.  */
37995 #include <math.h>
37996 int
37997 main ()
37998 {
37999  _ldexpf(0, 0);
38000   ;
38001   return 0;
38002 }
38003 _ACEOF
38004 rm -f conftest.$ac_objext
38005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38006   (eval $ac_compile) 2>conftest.er1
38007   ac_status=$?
38008   grep -v '^ *+' conftest.er1 >conftest.err
38009   rm -f conftest.er1
38010   cat conftest.err >&5
38011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012   (exit $ac_status); } &&
38013          { ac_try='test -z "$ac_cxx_werror_flag"
38014                          || test ! -s conftest.err'
38015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38016   (eval $ac_try) 2>&5
38017   ac_status=$?
38018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019   (exit $ac_status); }; } &&
38020          { ac_try='test -s conftest.$ac_objext'
38021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022   (eval $ac_try) 2>&5
38023   ac_status=$?
38024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025   (exit $ac_status); }; }; then
38026   glibcxx_cv_func__ldexpf_use=yes
38027 else
38028   echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38030
38031 glibcxx_cv_func__ldexpf_use=no
38032 fi
38033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38034       ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38039
38040
38041 fi
38042
38043   fi
38044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38045 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38046
38047     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38048
38049 for ac_func in _ldexpf
38050 do
38051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38052 echo "$as_me:$LINENO: checking for $ac_func" >&5
38053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_var+set}\" = set"; then
38055   echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057   if test x$gcc_no_link = xyes; then
38058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38060    { (exit 1); exit 1; }; }
38061 fi
38062 cat >conftest.$ac_ext <<_ACEOF
38063 /* confdefs.h.  */
38064 _ACEOF
38065 cat confdefs.h >>conftest.$ac_ext
38066 cat >>conftest.$ac_ext <<_ACEOF
38067 /* end confdefs.h.  */
38068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38070 #define $ac_func innocuous_$ac_func
38071
38072 /* System header to define __stub macros and hopefully few prototypes,
38073     which can conflict with char $ac_func (); below.
38074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38075     <limits.h> exists even on freestanding compilers.  */
38076
38077 #ifdef __STDC__
38078 # include <limits.h>
38079 #else
38080 # include <assert.h>
38081 #endif
38082
38083 #undef $ac_func
38084
38085 /* Override any gcc2 internal prototype to avoid an error.  */
38086 #ifdef __cplusplus
38087 extern "C"
38088 {
38089 #endif
38090 /* We use char because int might match the return type of a gcc2
38091    builtin and then its argument prototype would still apply.  */
38092 char $ac_func ();
38093 /* The GNU C library defines this for functions which it implements
38094     to always fail with ENOSYS.  Some functions are actually named
38095     something starting with __ and the normal name is an alias.  */
38096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38097 choke me
38098 #else
38099 char (*f) () = $ac_func;
38100 #endif
38101 #ifdef __cplusplus
38102 }
38103 #endif
38104
38105 int
38106 main ()
38107 {
38108 return f != $ac_func;
38109   ;
38110   return 0;
38111 }
38112 _ACEOF
38113 rm -f conftest.$ac_objext conftest$ac_exeext
38114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38115   (eval $ac_link) 2>conftest.er1
38116   ac_status=$?
38117   grep -v '^ *+' conftest.er1 >conftest.err
38118   rm -f conftest.er1
38119   cat conftest.err >&5
38120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121   (exit $ac_status); } &&
38122          { ac_try='test -z "$ac_c_werror_flag"
38123                          || test ! -s conftest.err'
38124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38125   (eval $ac_try) 2>&5
38126   ac_status=$?
38127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128   (exit $ac_status); }; } &&
38129          { ac_try='test -s conftest$ac_exeext'
38130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131   (eval $ac_try) 2>&5
38132   ac_status=$?
38133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134   (exit $ac_status); }; }; then
38135   eval "$as_ac_var=yes"
38136 else
38137   echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38139
38140 eval "$as_ac_var=no"
38141 fi
38142 rm -f conftest.err conftest.$ac_objext \
38143       conftest$ac_exeext conftest.$ac_ext
38144 fi
38145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38147 if test `eval echo '${'$as_ac_var'}'` = yes; then
38148   cat >>confdefs.h <<_ACEOF
38149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38150 _ACEOF
38151
38152 fi
38153 done
38154
38155     fi
38156   fi
38157
38158
38159
38160   echo "$as_me:$LINENO: checking for logf declaration" >&5
38161 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38162   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38163     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38164   echo $ECHO_N "(cached) $ECHO_C" >&6
38165 else
38166
38167
38168
38169       ac_ext=cc
38170 ac_cpp='$CXXCPP $CPPFLAGS'
38171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38174
38175       cat >conftest.$ac_ext <<_ACEOF
38176 /* confdefs.h.  */
38177 _ACEOF
38178 cat confdefs.h >>conftest.$ac_ext
38179 cat >>conftest.$ac_ext <<_ACEOF
38180 /* end confdefs.h.  */
38181 #include <math.h>
38182                       #ifdef HAVE_IEEEFP_H
38183                       #include <ieeefp.h>
38184                       #endif
38185
38186 int
38187 main ()
38188 {
38189  logf(0);
38190   ;
38191   return 0;
38192 }
38193 _ACEOF
38194 rm -f conftest.$ac_objext
38195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38196   (eval $ac_compile) 2>conftest.er1
38197   ac_status=$?
38198   grep -v '^ *+' conftest.er1 >conftest.err
38199   rm -f conftest.er1
38200   cat conftest.err >&5
38201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202   (exit $ac_status); } &&
38203          { ac_try='test -z "$ac_cxx_werror_flag"
38204                          || test ! -s conftest.err'
38205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206   (eval $ac_try) 2>&5
38207   ac_status=$?
38208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209   (exit $ac_status); }; } &&
38210          { ac_try='test -s conftest.$ac_objext'
38211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212   (eval $ac_try) 2>&5
38213   ac_status=$?
38214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215   (exit $ac_status); }; }; then
38216   glibcxx_cv_func_logf_use=yes
38217 else
38218   echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38220
38221 glibcxx_cv_func_logf_use=no
38222 fi
38223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38224       ac_ext=c
38225 ac_cpp='$CPP $CPPFLAGS'
38226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38229
38230
38231 fi
38232
38233   fi
38234   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38235 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38236
38237   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38238
38239 for ac_func in logf
38240 do
38241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38242 echo "$as_me:$LINENO: checking for $ac_func" >&5
38243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38244 if eval "test \"\${$as_ac_var+set}\" = set"; then
38245   echo $ECHO_N "(cached) $ECHO_C" >&6
38246 else
38247   if test x$gcc_no_link = xyes; then
38248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38250    { (exit 1); exit 1; }; }
38251 fi
38252 cat >conftest.$ac_ext <<_ACEOF
38253 /* confdefs.h.  */
38254 _ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h.  */
38258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38260 #define $ac_func innocuous_$ac_func
38261
38262 /* System header to define __stub macros and hopefully few prototypes,
38263     which can conflict with char $ac_func (); below.
38264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38265     <limits.h> exists even on freestanding compilers.  */
38266
38267 #ifdef __STDC__
38268 # include <limits.h>
38269 #else
38270 # include <assert.h>
38271 #endif
38272
38273 #undef $ac_func
38274
38275 /* Override any gcc2 internal prototype to avoid an error.  */
38276 #ifdef __cplusplus
38277 extern "C"
38278 {
38279 #endif
38280 /* We use char because int might match the return type of a gcc2
38281    builtin and then its argument prototype would still apply.  */
38282 char $ac_func ();
38283 /* The GNU C library defines this for functions which it implements
38284     to always fail with ENOSYS.  Some functions are actually named
38285     something starting with __ and the normal name is an alias.  */
38286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38287 choke me
38288 #else
38289 char (*f) () = $ac_func;
38290 #endif
38291 #ifdef __cplusplus
38292 }
38293 #endif
38294
38295 int
38296 main ()
38297 {
38298 return f != $ac_func;
38299   ;
38300   return 0;
38301 }
38302 _ACEOF
38303 rm -f conftest.$ac_objext conftest$ac_exeext
38304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38305   (eval $ac_link) 2>conftest.er1
38306   ac_status=$?
38307   grep -v '^ *+' conftest.er1 >conftest.err
38308   rm -f conftest.er1
38309   cat conftest.err >&5
38310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311   (exit $ac_status); } &&
38312          { ac_try='test -z "$ac_c_werror_flag"
38313                          || test ! -s conftest.err'
38314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38315   (eval $ac_try) 2>&5
38316   ac_status=$?
38317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318   (exit $ac_status); }; } &&
38319          { ac_try='test -s conftest$ac_exeext'
38320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38321   (eval $ac_try) 2>&5
38322   ac_status=$?
38323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38324   (exit $ac_status); }; }; then
38325   eval "$as_ac_var=yes"
38326 else
38327   echo "$as_me: failed program was:" >&5
38328 sed 's/^/| /' conftest.$ac_ext >&5
38329
38330 eval "$as_ac_var=no"
38331 fi
38332 rm -f conftest.err conftest.$ac_objext \
38333       conftest$ac_exeext conftest.$ac_ext
38334 fi
38335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38337 if test `eval echo '${'$as_ac_var'}'` = yes; then
38338   cat >>confdefs.h <<_ACEOF
38339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38340 _ACEOF
38341
38342 fi
38343 done
38344
38345   else
38346
38347   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38348 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38349   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38350     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38351   echo $ECHO_N "(cached) $ECHO_C" >&6
38352 else
38353
38354
38355
38356       ac_ext=cc
38357 ac_cpp='$CXXCPP $CPPFLAGS'
38358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38361
38362       cat >conftest.$ac_ext <<_ACEOF
38363 /* confdefs.h.  */
38364 _ACEOF
38365 cat confdefs.h >>conftest.$ac_ext
38366 cat >>conftest.$ac_ext <<_ACEOF
38367 /* end confdefs.h.  */
38368 #include <math.h>
38369                       #ifdef HAVE_IEEEFP_H
38370                       #include <ieeefp.h>
38371                       #endif
38372
38373 int
38374 main ()
38375 {
38376  _logf(0);
38377   ;
38378   return 0;
38379 }
38380 _ACEOF
38381 rm -f conftest.$ac_objext
38382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38383   (eval $ac_compile) 2>conftest.er1
38384   ac_status=$?
38385   grep -v '^ *+' conftest.er1 >conftest.err
38386   rm -f conftest.er1
38387   cat conftest.err >&5
38388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38389   (exit $ac_status); } &&
38390          { ac_try='test -z "$ac_cxx_werror_flag"
38391                          || test ! -s conftest.err'
38392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38393   (eval $ac_try) 2>&5
38394   ac_status=$?
38395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396   (exit $ac_status); }; } &&
38397          { ac_try='test -s conftest.$ac_objext'
38398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38399   (eval $ac_try) 2>&5
38400   ac_status=$?
38401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402   (exit $ac_status); }; }; then
38403   glibcxx_cv_func__logf_use=yes
38404 else
38405   echo "$as_me: failed program was:" >&5
38406 sed 's/^/| /' conftest.$ac_ext >&5
38407
38408 glibcxx_cv_func__logf_use=no
38409 fi
38410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38411       ac_ext=c
38412 ac_cpp='$CPP $CPPFLAGS'
38413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38416
38417
38418 fi
38419
38420   fi
38421   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38422 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38423
38424     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38425
38426 for ac_func in _logf
38427 do
38428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38429 echo "$as_me:$LINENO: checking for $ac_func" >&5
38430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38431 if eval "test \"\${$as_ac_var+set}\" = set"; then
38432   echo $ECHO_N "(cached) $ECHO_C" >&6
38433 else
38434   if test x$gcc_no_link = xyes; then
38435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38437    { (exit 1); exit 1; }; }
38438 fi
38439 cat >conftest.$ac_ext <<_ACEOF
38440 /* confdefs.h.  */
38441 _ACEOF
38442 cat confdefs.h >>conftest.$ac_ext
38443 cat >>conftest.$ac_ext <<_ACEOF
38444 /* end confdefs.h.  */
38445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38447 #define $ac_func innocuous_$ac_func
38448
38449 /* System header to define __stub macros and hopefully few prototypes,
38450     which can conflict with char $ac_func (); below.
38451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38452     <limits.h> exists even on freestanding compilers.  */
38453
38454 #ifdef __STDC__
38455 # include <limits.h>
38456 #else
38457 # include <assert.h>
38458 #endif
38459
38460 #undef $ac_func
38461
38462 /* Override any gcc2 internal prototype to avoid an error.  */
38463 #ifdef __cplusplus
38464 extern "C"
38465 {
38466 #endif
38467 /* We use char because int might match the return type of a gcc2
38468    builtin and then its argument prototype would still apply.  */
38469 char $ac_func ();
38470 /* The GNU C library defines this for functions which it implements
38471     to always fail with ENOSYS.  Some functions are actually named
38472     something starting with __ and the normal name is an alias.  */
38473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38474 choke me
38475 #else
38476 char (*f) () = $ac_func;
38477 #endif
38478 #ifdef __cplusplus
38479 }
38480 #endif
38481
38482 int
38483 main ()
38484 {
38485 return f != $ac_func;
38486   ;
38487   return 0;
38488 }
38489 _ACEOF
38490 rm -f conftest.$ac_objext conftest$ac_exeext
38491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38492   (eval $ac_link) 2>conftest.er1
38493   ac_status=$?
38494   grep -v '^ *+' conftest.er1 >conftest.err
38495   rm -f conftest.er1
38496   cat conftest.err >&5
38497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498   (exit $ac_status); } &&
38499          { ac_try='test -z "$ac_c_werror_flag"
38500                          || test ! -s conftest.err'
38501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38502   (eval $ac_try) 2>&5
38503   ac_status=$?
38504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38505   (exit $ac_status); }; } &&
38506          { ac_try='test -s conftest$ac_exeext'
38507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38508   (eval $ac_try) 2>&5
38509   ac_status=$?
38510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38511   (exit $ac_status); }; }; then
38512   eval "$as_ac_var=yes"
38513 else
38514   echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38516
38517 eval "$as_ac_var=no"
38518 fi
38519 rm -f conftest.err conftest.$ac_objext \
38520       conftest$ac_exeext conftest.$ac_ext
38521 fi
38522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38524 if test `eval echo '${'$as_ac_var'}'` = yes; then
38525   cat >>confdefs.h <<_ACEOF
38526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38527 _ACEOF
38528
38529 fi
38530 done
38531
38532     fi
38533   fi
38534
38535
38536
38537   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38538 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38539   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38540     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38541   echo $ECHO_N "(cached) $ECHO_C" >&6
38542 else
38543
38544
38545
38546       ac_ext=cc
38547 ac_cpp='$CXXCPP $CPPFLAGS'
38548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38551
38552       cat >conftest.$ac_ext <<_ACEOF
38553 /* confdefs.h.  */
38554 _ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h.  */
38558 #include <math.h>
38559                       #ifdef HAVE_IEEEFP_H
38560                       #include <ieeefp.h>
38561                       #endif
38562
38563 int
38564 main ()
38565 {
38566  log10f(0);
38567   ;
38568   return 0;
38569 }
38570 _ACEOF
38571 rm -f conftest.$ac_objext
38572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38573   (eval $ac_compile) 2>conftest.er1
38574   ac_status=$?
38575   grep -v '^ *+' conftest.er1 >conftest.err
38576   rm -f conftest.er1
38577   cat conftest.err >&5
38578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38579   (exit $ac_status); } &&
38580          { ac_try='test -z "$ac_cxx_werror_flag"
38581                          || test ! -s conftest.err'
38582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583   (eval $ac_try) 2>&5
38584   ac_status=$?
38585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586   (exit $ac_status); }; } &&
38587          { ac_try='test -s conftest.$ac_objext'
38588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589   (eval $ac_try) 2>&5
38590   ac_status=$?
38591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592   (exit $ac_status); }; }; then
38593   glibcxx_cv_func_log10f_use=yes
38594 else
38595   echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38597
38598 glibcxx_cv_func_log10f_use=no
38599 fi
38600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38601       ac_ext=c
38602 ac_cpp='$CPP $CPPFLAGS'
38603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38606
38607
38608 fi
38609
38610   fi
38611   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38612 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38613
38614   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38615
38616 for ac_func in log10f
38617 do
38618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38619 echo "$as_me:$LINENO: checking for $ac_func" >&5
38620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38621 if eval "test \"\${$as_ac_var+set}\" = set"; then
38622   echo $ECHO_N "(cached) $ECHO_C" >&6
38623 else
38624   if test x$gcc_no_link = xyes; then
38625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38627    { (exit 1); exit 1; }; }
38628 fi
38629 cat >conftest.$ac_ext <<_ACEOF
38630 /* confdefs.h.  */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h.  */
38635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38637 #define $ac_func innocuous_$ac_func
38638
38639 /* System header to define __stub macros and hopefully few prototypes,
38640     which can conflict with char $ac_func (); below.
38641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38642     <limits.h> exists even on freestanding compilers.  */
38643
38644 #ifdef __STDC__
38645 # include <limits.h>
38646 #else
38647 # include <assert.h>
38648 #endif
38649
38650 #undef $ac_func
38651
38652 /* Override any gcc2 internal prototype to avoid an error.  */
38653 #ifdef __cplusplus
38654 extern "C"
38655 {
38656 #endif
38657 /* We use char because int might match the return type of a gcc2
38658    builtin and then its argument prototype would still apply.  */
38659 char $ac_func ();
38660 /* The GNU C library defines this for functions which it implements
38661     to always fail with ENOSYS.  Some functions are actually named
38662     something starting with __ and the normal name is an alias.  */
38663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38664 choke me
38665 #else
38666 char (*f) () = $ac_func;
38667 #endif
38668 #ifdef __cplusplus
38669 }
38670 #endif
38671
38672 int
38673 main ()
38674 {
38675 return f != $ac_func;
38676   ;
38677   return 0;
38678 }
38679 _ACEOF
38680 rm -f conftest.$ac_objext conftest$ac_exeext
38681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38682   (eval $ac_link) 2>conftest.er1
38683   ac_status=$?
38684   grep -v '^ *+' conftest.er1 >conftest.err
38685   rm -f conftest.er1
38686   cat conftest.err >&5
38687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38688   (exit $ac_status); } &&
38689          { ac_try='test -z "$ac_c_werror_flag"
38690                          || test ! -s conftest.err'
38691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38692   (eval $ac_try) 2>&5
38693   ac_status=$?
38694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695   (exit $ac_status); }; } &&
38696          { ac_try='test -s conftest$ac_exeext'
38697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38698   (eval $ac_try) 2>&5
38699   ac_status=$?
38700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701   (exit $ac_status); }; }; then
38702   eval "$as_ac_var=yes"
38703 else
38704   echo "$as_me: failed program was:" >&5
38705 sed 's/^/| /' conftest.$ac_ext >&5
38706
38707 eval "$as_ac_var=no"
38708 fi
38709 rm -f conftest.err conftest.$ac_objext \
38710       conftest$ac_exeext conftest.$ac_ext
38711 fi
38712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38714 if test `eval echo '${'$as_ac_var'}'` = yes; then
38715   cat >>confdefs.h <<_ACEOF
38716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38717 _ACEOF
38718
38719 fi
38720 done
38721
38722   else
38723
38724   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38725 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38726   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38727     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38728   echo $ECHO_N "(cached) $ECHO_C" >&6
38729 else
38730
38731
38732
38733       ac_ext=cc
38734 ac_cpp='$CXXCPP $CPPFLAGS'
38735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38738
38739       cat >conftest.$ac_ext <<_ACEOF
38740 /* confdefs.h.  */
38741 _ACEOF
38742 cat confdefs.h >>conftest.$ac_ext
38743 cat >>conftest.$ac_ext <<_ACEOF
38744 /* end confdefs.h.  */
38745 #include <math.h>
38746                       #ifdef HAVE_IEEEFP_H
38747                       #include <ieeefp.h>
38748                       #endif
38749
38750 int
38751 main ()
38752 {
38753  _log10f(0);
38754   ;
38755   return 0;
38756 }
38757 _ACEOF
38758 rm -f conftest.$ac_objext
38759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38760   (eval $ac_compile) 2>conftest.er1
38761   ac_status=$?
38762   grep -v '^ *+' conftest.er1 >conftest.err
38763   rm -f conftest.er1
38764   cat conftest.err >&5
38765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766   (exit $ac_status); } &&
38767          { ac_try='test -z "$ac_cxx_werror_flag"
38768                          || test ! -s conftest.err'
38769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770   (eval $ac_try) 2>&5
38771   ac_status=$?
38772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773   (exit $ac_status); }; } &&
38774          { ac_try='test -s conftest.$ac_objext'
38775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38776   (eval $ac_try) 2>&5
38777   ac_status=$?
38778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779   (exit $ac_status); }; }; then
38780   glibcxx_cv_func__log10f_use=yes
38781 else
38782   echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.$ac_ext >&5
38784
38785 glibcxx_cv_func__log10f_use=no
38786 fi
38787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38788       ac_ext=c
38789 ac_cpp='$CPP $CPPFLAGS'
38790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38793
38794
38795 fi
38796
38797   fi
38798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38799 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38800
38801     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38802
38803 for ac_func in _log10f
38804 do
38805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38806 echo "$as_me:$LINENO: checking for $ac_func" >&5
38807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38808 if eval "test \"\${$as_ac_var+set}\" = set"; then
38809   echo $ECHO_N "(cached) $ECHO_C" >&6
38810 else
38811   if test x$gcc_no_link = xyes; then
38812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38814    { (exit 1); exit 1; }; }
38815 fi
38816 cat >conftest.$ac_ext <<_ACEOF
38817 /* confdefs.h.  */
38818 _ACEOF
38819 cat confdefs.h >>conftest.$ac_ext
38820 cat >>conftest.$ac_ext <<_ACEOF
38821 /* end confdefs.h.  */
38822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38824 #define $ac_func innocuous_$ac_func
38825
38826 /* System header to define __stub macros and hopefully few prototypes,
38827     which can conflict with char $ac_func (); below.
38828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38829     <limits.h> exists even on freestanding compilers.  */
38830
38831 #ifdef __STDC__
38832 # include <limits.h>
38833 #else
38834 # include <assert.h>
38835 #endif
38836
38837 #undef $ac_func
38838
38839 /* Override any gcc2 internal prototype to avoid an error.  */
38840 #ifdef __cplusplus
38841 extern "C"
38842 {
38843 #endif
38844 /* We use char because int might match the return type of a gcc2
38845    builtin and then its argument prototype would still apply.  */
38846 char $ac_func ();
38847 /* The GNU C library defines this for functions which it implements
38848     to always fail with ENOSYS.  Some functions are actually named
38849     something starting with __ and the normal name is an alias.  */
38850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38851 choke me
38852 #else
38853 char (*f) () = $ac_func;
38854 #endif
38855 #ifdef __cplusplus
38856 }
38857 #endif
38858
38859 int
38860 main ()
38861 {
38862 return f != $ac_func;
38863   ;
38864   return 0;
38865 }
38866 _ACEOF
38867 rm -f conftest.$ac_objext conftest$ac_exeext
38868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38869   (eval $ac_link) 2>conftest.er1
38870   ac_status=$?
38871   grep -v '^ *+' conftest.er1 >conftest.err
38872   rm -f conftest.er1
38873   cat conftest.err >&5
38874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38875   (exit $ac_status); } &&
38876          { ac_try='test -z "$ac_c_werror_flag"
38877                          || test ! -s conftest.err'
38878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38879   (eval $ac_try) 2>&5
38880   ac_status=$?
38881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882   (exit $ac_status); }; } &&
38883          { ac_try='test -s conftest$ac_exeext'
38884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38885   (eval $ac_try) 2>&5
38886   ac_status=$?
38887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38888   (exit $ac_status); }; }; then
38889   eval "$as_ac_var=yes"
38890 else
38891   echo "$as_me: failed program was:" >&5
38892 sed 's/^/| /' conftest.$ac_ext >&5
38893
38894 eval "$as_ac_var=no"
38895 fi
38896 rm -f conftest.err conftest.$ac_objext \
38897       conftest$ac_exeext conftest.$ac_ext
38898 fi
38899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38901 if test `eval echo '${'$as_ac_var'}'` = yes; then
38902   cat >>confdefs.h <<_ACEOF
38903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38904 _ACEOF
38905
38906 fi
38907 done
38908
38909     fi
38910   fi
38911
38912
38913
38914   echo "$as_me:$LINENO: checking for modff declaration" >&5
38915 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38916   if test x${glibcxx_cv_func_modff_use+set} != xset; then
38917     if test "${glibcxx_cv_func_modff_use+set}" = set; then
38918   echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920
38921
38922
38923       ac_ext=cc
38924 ac_cpp='$CXXCPP $CPPFLAGS'
38925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38928
38929       cat >conftest.$ac_ext <<_ACEOF
38930 /* confdefs.h.  */
38931 _ACEOF
38932 cat confdefs.h >>conftest.$ac_ext
38933 cat >>conftest.$ac_ext <<_ACEOF
38934 /* end confdefs.h.  */
38935 #include <math.h>
38936 int
38937 main ()
38938 {
38939  modff(0, 0);
38940   ;
38941   return 0;
38942 }
38943 _ACEOF
38944 rm -f conftest.$ac_objext
38945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38946   (eval $ac_compile) 2>conftest.er1
38947   ac_status=$?
38948   grep -v '^ *+' conftest.er1 >conftest.err
38949   rm -f conftest.er1
38950   cat conftest.err >&5
38951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952   (exit $ac_status); } &&
38953          { ac_try='test -z "$ac_cxx_werror_flag"
38954                          || test ! -s conftest.err'
38955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956   (eval $ac_try) 2>&5
38957   ac_status=$?
38958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959   (exit $ac_status); }; } &&
38960          { ac_try='test -s conftest.$ac_objext'
38961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38962   (eval $ac_try) 2>&5
38963   ac_status=$?
38964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965   (exit $ac_status); }; }; then
38966   glibcxx_cv_func_modff_use=yes
38967 else
38968   echo "$as_me: failed program was:" >&5
38969 sed 's/^/| /' conftest.$ac_ext >&5
38970
38971 glibcxx_cv_func_modff_use=no
38972 fi
38973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38974       ac_ext=c
38975 ac_cpp='$CPP $CPPFLAGS'
38976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38979
38980
38981 fi
38982
38983   fi
38984   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38985 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38986
38987   if test x$glibcxx_cv_func_modff_use = x"yes"; then
38988
38989 for ac_func in modff
38990 do
38991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38992 echo "$as_me:$LINENO: checking for $ac_func" >&5
38993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38994 if eval "test \"\${$as_ac_var+set}\" = set"; then
38995   echo $ECHO_N "(cached) $ECHO_C" >&6
38996 else
38997   if test x$gcc_no_link = xyes; then
38998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39000    { (exit 1); exit 1; }; }
39001 fi
39002 cat >conftest.$ac_ext <<_ACEOF
39003 /* confdefs.h.  */
39004 _ACEOF
39005 cat confdefs.h >>conftest.$ac_ext
39006 cat >>conftest.$ac_ext <<_ACEOF
39007 /* end confdefs.h.  */
39008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39010 #define $ac_func innocuous_$ac_func
39011
39012 /* System header to define __stub macros and hopefully few prototypes,
39013     which can conflict with char $ac_func (); below.
39014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39015     <limits.h> exists even on freestanding compilers.  */
39016
39017 #ifdef __STDC__
39018 # include <limits.h>
39019 #else
39020 # include <assert.h>
39021 #endif
39022
39023 #undef $ac_func
39024
39025 /* Override any gcc2 internal prototype to avoid an error.  */
39026 #ifdef __cplusplus
39027 extern "C"
39028 {
39029 #endif
39030 /* We use char because int might match the return type of a gcc2
39031    builtin and then its argument prototype would still apply.  */
39032 char $ac_func ();
39033 /* The GNU C library defines this for functions which it implements
39034     to always fail with ENOSYS.  Some functions are actually named
39035     something starting with __ and the normal name is an alias.  */
39036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39037 choke me
39038 #else
39039 char (*f) () = $ac_func;
39040 #endif
39041 #ifdef __cplusplus
39042 }
39043 #endif
39044
39045 int
39046 main ()
39047 {
39048 return f != $ac_func;
39049   ;
39050   return 0;
39051 }
39052 _ACEOF
39053 rm -f conftest.$ac_objext conftest$ac_exeext
39054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39055   (eval $ac_link) 2>conftest.er1
39056   ac_status=$?
39057   grep -v '^ *+' conftest.er1 >conftest.err
39058   rm -f conftest.er1
39059   cat conftest.err >&5
39060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061   (exit $ac_status); } &&
39062          { ac_try='test -z "$ac_c_werror_flag"
39063                          || test ! -s conftest.err'
39064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39065   (eval $ac_try) 2>&5
39066   ac_status=$?
39067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068   (exit $ac_status); }; } &&
39069          { ac_try='test -s conftest$ac_exeext'
39070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39071   (eval $ac_try) 2>&5
39072   ac_status=$?
39073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39074   (exit $ac_status); }; }; then
39075   eval "$as_ac_var=yes"
39076 else
39077   echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.$ac_ext >&5
39079
39080 eval "$as_ac_var=no"
39081 fi
39082 rm -f conftest.err conftest.$ac_objext \
39083       conftest$ac_exeext conftest.$ac_ext
39084 fi
39085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39087 if test `eval echo '${'$as_ac_var'}'` = yes; then
39088   cat >>confdefs.h <<_ACEOF
39089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39090 _ACEOF
39091
39092 fi
39093 done
39094
39095   else
39096
39097   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39098 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39099   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39100     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39101   echo $ECHO_N "(cached) $ECHO_C" >&6
39102 else
39103
39104
39105
39106       ac_ext=cc
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39111
39112       cat >conftest.$ac_ext <<_ACEOF
39113 /* confdefs.h.  */
39114 _ACEOF
39115 cat confdefs.h >>conftest.$ac_ext
39116 cat >>conftest.$ac_ext <<_ACEOF
39117 /* end confdefs.h.  */
39118 #include <math.h>
39119 int
39120 main ()
39121 {
39122  _modff(0, 0);
39123   ;
39124   return 0;
39125 }
39126 _ACEOF
39127 rm -f conftest.$ac_objext
39128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39129   (eval $ac_compile) 2>conftest.er1
39130   ac_status=$?
39131   grep -v '^ *+' conftest.er1 >conftest.err
39132   rm -f conftest.er1
39133   cat conftest.err >&5
39134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135   (exit $ac_status); } &&
39136          { ac_try='test -z "$ac_cxx_werror_flag"
39137                          || test ! -s conftest.err'
39138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139   (eval $ac_try) 2>&5
39140   ac_status=$?
39141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142   (exit $ac_status); }; } &&
39143          { ac_try='test -s conftest.$ac_objext'
39144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145   (eval $ac_try) 2>&5
39146   ac_status=$?
39147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148   (exit $ac_status); }; }; then
39149   glibcxx_cv_func__modff_use=yes
39150 else
39151   echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39153
39154 glibcxx_cv_func__modff_use=no
39155 fi
39156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39157       ac_ext=c
39158 ac_cpp='$CPP $CPPFLAGS'
39159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39162
39163
39164 fi
39165
39166   fi
39167   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39168 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39169
39170     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39171
39172 for ac_func in _modff
39173 do
39174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39175 echo "$as_me:$LINENO: checking for $ac_func" >&5
39176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39177 if eval "test \"\${$as_ac_var+set}\" = set"; then
39178   echo $ECHO_N "(cached) $ECHO_C" >&6
39179 else
39180   if test x$gcc_no_link = xyes; then
39181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39183    { (exit 1); exit 1; }; }
39184 fi
39185 cat >conftest.$ac_ext <<_ACEOF
39186 /* confdefs.h.  */
39187 _ACEOF
39188 cat confdefs.h >>conftest.$ac_ext
39189 cat >>conftest.$ac_ext <<_ACEOF
39190 /* end confdefs.h.  */
39191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39193 #define $ac_func innocuous_$ac_func
39194
39195 /* System header to define __stub macros and hopefully few prototypes,
39196     which can conflict with char $ac_func (); below.
39197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39198     <limits.h> exists even on freestanding compilers.  */
39199
39200 #ifdef __STDC__
39201 # include <limits.h>
39202 #else
39203 # include <assert.h>
39204 #endif
39205
39206 #undef $ac_func
39207
39208 /* Override any gcc2 internal prototype to avoid an error.  */
39209 #ifdef __cplusplus
39210 extern "C"
39211 {
39212 #endif
39213 /* We use char because int might match the return type of a gcc2
39214    builtin and then its argument prototype would still apply.  */
39215 char $ac_func ();
39216 /* The GNU C library defines this for functions which it implements
39217     to always fail with ENOSYS.  Some functions are actually named
39218     something starting with __ and the normal name is an alias.  */
39219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39220 choke me
39221 #else
39222 char (*f) () = $ac_func;
39223 #endif
39224 #ifdef __cplusplus
39225 }
39226 #endif
39227
39228 int
39229 main ()
39230 {
39231 return f != $ac_func;
39232   ;
39233   return 0;
39234 }
39235 _ACEOF
39236 rm -f conftest.$ac_objext conftest$ac_exeext
39237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39238   (eval $ac_link) 2>conftest.er1
39239   ac_status=$?
39240   grep -v '^ *+' conftest.er1 >conftest.err
39241   rm -f conftest.er1
39242   cat conftest.err >&5
39243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39244   (exit $ac_status); } &&
39245          { ac_try='test -z "$ac_c_werror_flag"
39246                          || test ! -s conftest.err'
39247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248   (eval $ac_try) 2>&5
39249   ac_status=$?
39250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251   (exit $ac_status); }; } &&
39252          { ac_try='test -s conftest$ac_exeext'
39253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39254   (eval $ac_try) 2>&5
39255   ac_status=$?
39256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257   (exit $ac_status); }; }; then
39258   eval "$as_ac_var=yes"
39259 else
39260   echo "$as_me: failed program was:" >&5
39261 sed 's/^/| /' conftest.$ac_ext >&5
39262
39263 eval "$as_ac_var=no"
39264 fi
39265 rm -f conftest.err conftest.$ac_objext \
39266       conftest$ac_exeext conftest.$ac_ext
39267 fi
39268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39270 if test `eval echo '${'$as_ac_var'}'` = yes; then
39271   cat >>confdefs.h <<_ACEOF
39272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39273 _ACEOF
39274
39275 fi
39276 done
39277
39278     fi
39279   fi
39280
39281
39282
39283   echo "$as_me:$LINENO: checking for powf declaration" >&5
39284 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39285   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39286     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39287   echo $ECHO_N "(cached) $ECHO_C" >&6
39288 else
39289
39290
39291
39292       ac_ext=cc
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39297
39298       cat >conftest.$ac_ext <<_ACEOF
39299 /* confdefs.h.  */
39300 _ACEOF
39301 cat confdefs.h >>conftest.$ac_ext
39302 cat >>conftest.$ac_ext <<_ACEOF
39303 /* end confdefs.h.  */
39304 #include <math.h>
39305 int
39306 main ()
39307 {
39308  powf(0, 0);
39309   ;
39310   return 0;
39311 }
39312 _ACEOF
39313 rm -f conftest.$ac_objext
39314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39315   (eval $ac_compile) 2>conftest.er1
39316   ac_status=$?
39317   grep -v '^ *+' conftest.er1 >conftest.err
39318   rm -f conftest.er1
39319   cat conftest.err >&5
39320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321   (exit $ac_status); } &&
39322          { ac_try='test -z "$ac_cxx_werror_flag"
39323                          || test ! -s conftest.err'
39324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325   (eval $ac_try) 2>&5
39326   ac_status=$?
39327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328   (exit $ac_status); }; } &&
39329          { ac_try='test -s conftest.$ac_objext'
39330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331   (eval $ac_try) 2>&5
39332   ac_status=$?
39333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334   (exit $ac_status); }; }; then
39335   glibcxx_cv_func_powf_use=yes
39336 else
39337   echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39339
39340 glibcxx_cv_func_powf_use=no
39341 fi
39342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39343       ac_ext=c
39344 ac_cpp='$CPP $CPPFLAGS'
39345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348
39349
39350 fi
39351
39352   fi
39353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39354 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39355
39356   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39357
39358 for ac_func in powf
39359 do
39360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39361 echo "$as_me:$LINENO: checking for $ac_func" >&5
39362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39363 if eval "test \"\${$as_ac_var+set}\" = set"; then
39364   echo $ECHO_N "(cached) $ECHO_C" >&6
39365 else
39366   if test x$gcc_no_link = xyes; then
39367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39369    { (exit 1); exit 1; }; }
39370 fi
39371 cat >conftest.$ac_ext <<_ACEOF
39372 /* confdefs.h.  */
39373 _ACEOF
39374 cat confdefs.h >>conftest.$ac_ext
39375 cat >>conftest.$ac_ext <<_ACEOF
39376 /* end confdefs.h.  */
39377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39379 #define $ac_func innocuous_$ac_func
39380
39381 /* System header to define __stub macros and hopefully few prototypes,
39382     which can conflict with char $ac_func (); below.
39383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39384     <limits.h> exists even on freestanding compilers.  */
39385
39386 #ifdef __STDC__
39387 # include <limits.h>
39388 #else
39389 # include <assert.h>
39390 #endif
39391
39392 #undef $ac_func
39393
39394 /* Override any gcc2 internal prototype to avoid an error.  */
39395 #ifdef __cplusplus
39396 extern "C"
39397 {
39398 #endif
39399 /* We use char because int might match the return type of a gcc2
39400    builtin and then its argument prototype would still apply.  */
39401 char $ac_func ();
39402 /* The GNU C library defines this for functions which it implements
39403     to always fail with ENOSYS.  Some functions are actually named
39404     something starting with __ and the normal name is an alias.  */
39405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39406 choke me
39407 #else
39408 char (*f) () = $ac_func;
39409 #endif
39410 #ifdef __cplusplus
39411 }
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 return f != $ac_func;
39418   ;
39419   return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39424   (eval $ac_link) 2>conftest.er1
39425   ac_status=$?
39426   grep -v '^ *+' conftest.er1 >conftest.err
39427   rm -f conftest.er1
39428   cat conftest.err >&5
39429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430   (exit $ac_status); } &&
39431          { ac_try='test -z "$ac_c_werror_flag"
39432                          || test ! -s conftest.err'
39433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39434   (eval $ac_try) 2>&5
39435   ac_status=$?
39436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437   (exit $ac_status); }; } &&
39438          { ac_try='test -s conftest$ac_exeext'
39439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440   (eval $ac_try) 2>&5
39441   ac_status=$?
39442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443   (exit $ac_status); }; }; then
39444   eval "$as_ac_var=yes"
39445 else
39446   echo "$as_me: failed program was:" >&5
39447 sed 's/^/| /' conftest.$ac_ext >&5
39448
39449 eval "$as_ac_var=no"
39450 fi
39451 rm -f conftest.err conftest.$ac_objext \
39452       conftest$ac_exeext conftest.$ac_ext
39453 fi
39454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39456 if test `eval echo '${'$as_ac_var'}'` = yes; then
39457   cat >>confdefs.h <<_ACEOF
39458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39459 _ACEOF
39460
39461 fi
39462 done
39463
39464   else
39465
39466   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39467 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39468   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39469     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39470   echo $ECHO_N "(cached) $ECHO_C" >&6
39471 else
39472
39473
39474
39475       ac_ext=cc
39476 ac_cpp='$CXXCPP $CPPFLAGS'
39477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480
39481       cat >conftest.$ac_ext <<_ACEOF
39482 /* confdefs.h.  */
39483 _ACEOF
39484 cat confdefs.h >>conftest.$ac_ext
39485 cat >>conftest.$ac_ext <<_ACEOF
39486 /* end confdefs.h.  */
39487 #include <math.h>
39488 int
39489 main ()
39490 {
39491  _powf(0, 0);
39492   ;
39493   return 0;
39494 }
39495 _ACEOF
39496 rm -f conftest.$ac_objext
39497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39498   (eval $ac_compile) 2>conftest.er1
39499   ac_status=$?
39500   grep -v '^ *+' conftest.er1 >conftest.err
39501   rm -f conftest.er1
39502   cat conftest.err >&5
39503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39504   (exit $ac_status); } &&
39505          { ac_try='test -z "$ac_cxx_werror_flag"
39506                          || test ! -s conftest.err'
39507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39508   (eval $ac_try) 2>&5
39509   ac_status=$?
39510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511   (exit $ac_status); }; } &&
39512          { ac_try='test -s conftest.$ac_objext'
39513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39514   (eval $ac_try) 2>&5
39515   ac_status=$?
39516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39517   (exit $ac_status); }; }; then
39518   glibcxx_cv_func__powf_use=yes
39519 else
39520   echo "$as_me: failed program was:" >&5
39521 sed 's/^/| /' conftest.$ac_ext >&5
39522
39523 glibcxx_cv_func__powf_use=no
39524 fi
39525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39526       ac_ext=c
39527 ac_cpp='$CPP $CPPFLAGS'
39528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39531
39532
39533 fi
39534
39535   fi
39536   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39537 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39538
39539     if test x$glibcxx_cv_func__powf_use = x"yes"; then
39540
39541 for ac_func in _powf
39542 do
39543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39544 echo "$as_me:$LINENO: checking for $ac_func" >&5
39545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39546 if eval "test \"\${$as_ac_var+set}\" = set"; then
39547   echo $ECHO_N "(cached) $ECHO_C" >&6
39548 else
39549   if test x$gcc_no_link = xyes; then
39550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39552    { (exit 1); exit 1; }; }
39553 fi
39554 cat >conftest.$ac_ext <<_ACEOF
39555 /* confdefs.h.  */
39556 _ACEOF
39557 cat confdefs.h >>conftest.$ac_ext
39558 cat >>conftest.$ac_ext <<_ACEOF
39559 /* end confdefs.h.  */
39560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39562 #define $ac_func innocuous_$ac_func
39563
39564 /* System header to define __stub macros and hopefully few prototypes,
39565     which can conflict with char $ac_func (); below.
39566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39567     <limits.h> exists even on freestanding compilers.  */
39568
39569 #ifdef __STDC__
39570 # include <limits.h>
39571 #else
39572 # include <assert.h>
39573 #endif
39574
39575 #undef $ac_func
39576
39577 /* Override any gcc2 internal prototype to avoid an error.  */
39578 #ifdef __cplusplus
39579 extern "C"
39580 {
39581 #endif
39582 /* We use char because int might match the return type of a gcc2
39583    builtin and then its argument prototype would still apply.  */
39584 char $ac_func ();
39585 /* The GNU C library defines this for functions which it implements
39586     to always fail with ENOSYS.  Some functions are actually named
39587     something starting with __ and the normal name is an alias.  */
39588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39589 choke me
39590 #else
39591 char (*f) () = $ac_func;
39592 #endif
39593 #ifdef __cplusplus
39594 }
39595 #endif
39596
39597 int
39598 main ()
39599 {
39600 return f != $ac_func;
39601   ;
39602   return 0;
39603 }
39604 _ACEOF
39605 rm -f conftest.$ac_objext conftest$ac_exeext
39606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39607   (eval $ac_link) 2>conftest.er1
39608   ac_status=$?
39609   grep -v '^ *+' conftest.er1 >conftest.err
39610   rm -f conftest.er1
39611   cat conftest.err >&5
39612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613   (exit $ac_status); } &&
39614          { ac_try='test -z "$ac_c_werror_flag"
39615                          || test ! -s conftest.err'
39616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39617   (eval $ac_try) 2>&5
39618   ac_status=$?
39619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620   (exit $ac_status); }; } &&
39621          { ac_try='test -s conftest$ac_exeext'
39622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39623   (eval $ac_try) 2>&5
39624   ac_status=$?
39625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626   (exit $ac_status); }; }; then
39627   eval "$as_ac_var=yes"
39628 else
39629   echo "$as_me: failed program was:" >&5
39630 sed 's/^/| /' conftest.$ac_ext >&5
39631
39632 eval "$as_ac_var=no"
39633 fi
39634 rm -f conftest.err conftest.$ac_objext \
39635       conftest$ac_exeext conftest.$ac_ext
39636 fi
39637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39639 if test `eval echo '${'$as_ac_var'}'` = yes; then
39640   cat >>confdefs.h <<_ACEOF
39641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39642 _ACEOF
39643
39644 fi
39645 done
39646
39647     fi
39648   fi
39649
39650
39651
39652   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39653 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39654   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39655     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39656   echo $ECHO_N "(cached) $ECHO_C" >&6
39657 else
39658
39659
39660
39661       ac_ext=cc
39662 ac_cpp='$CXXCPP $CPPFLAGS'
39663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39666
39667       cat >conftest.$ac_ext <<_ACEOF
39668 /* confdefs.h.  */
39669 _ACEOF
39670 cat confdefs.h >>conftest.$ac_ext
39671 cat >>conftest.$ac_ext <<_ACEOF
39672 /* end confdefs.h.  */
39673 #include <math.h>
39674                       #ifdef HAVE_IEEEFP_H
39675                       #include <ieeefp.h>
39676                       #endif
39677
39678 int
39679 main ()
39680 {
39681  sqrtf(0);
39682   ;
39683   return 0;
39684 }
39685 _ACEOF
39686 rm -f conftest.$ac_objext
39687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39688   (eval $ac_compile) 2>conftest.er1
39689   ac_status=$?
39690   grep -v '^ *+' conftest.er1 >conftest.err
39691   rm -f conftest.er1
39692   cat conftest.err >&5
39693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694   (exit $ac_status); } &&
39695          { ac_try='test -z "$ac_cxx_werror_flag"
39696                          || test ! -s conftest.err'
39697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39698   (eval $ac_try) 2>&5
39699   ac_status=$?
39700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701   (exit $ac_status); }; } &&
39702          { ac_try='test -s conftest.$ac_objext'
39703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704   (eval $ac_try) 2>&5
39705   ac_status=$?
39706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707   (exit $ac_status); }; }; then
39708   glibcxx_cv_func_sqrtf_use=yes
39709 else
39710   echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39712
39713 glibcxx_cv_func_sqrtf_use=no
39714 fi
39715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39716       ac_ext=c
39717 ac_cpp='$CPP $CPPFLAGS'
39718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39721
39722
39723 fi
39724
39725   fi
39726   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39727 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39728
39729   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39730
39731 for ac_func in sqrtf
39732 do
39733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39734 echo "$as_me:$LINENO: checking for $ac_func" >&5
39735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39736 if eval "test \"\${$as_ac_var+set}\" = set"; then
39737   echo $ECHO_N "(cached) $ECHO_C" >&6
39738 else
39739   if test x$gcc_no_link = xyes; then
39740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39742    { (exit 1); exit 1; }; }
39743 fi
39744 cat >conftest.$ac_ext <<_ACEOF
39745 /* confdefs.h.  */
39746 _ACEOF
39747 cat confdefs.h >>conftest.$ac_ext
39748 cat >>conftest.$ac_ext <<_ACEOF
39749 /* end confdefs.h.  */
39750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39752 #define $ac_func innocuous_$ac_func
39753
39754 /* System header to define __stub macros and hopefully few prototypes,
39755     which can conflict with char $ac_func (); below.
39756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39757     <limits.h> exists even on freestanding compilers.  */
39758
39759 #ifdef __STDC__
39760 # include <limits.h>
39761 #else
39762 # include <assert.h>
39763 #endif
39764
39765 #undef $ac_func
39766
39767 /* Override any gcc2 internal prototype to avoid an error.  */
39768 #ifdef __cplusplus
39769 extern "C"
39770 {
39771 #endif
39772 /* We use char because int might match the return type of a gcc2
39773    builtin and then its argument prototype would still apply.  */
39774 char $ac_func ();
39775 /* The GNU C library defines this for functions which it implements
39776     to always fail with ENOSYS.  Some functions are actually named
39777     something starting with __ and the normal name is an alias.  */
39778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39779 choke me
39780 #else
39781 char (*f) () = $ac_func;
39782 #endif
39783 #ifdef __cplusplus
39784 }
39785 #endif
39786
39787 int
39788 main ()
39789 {
39790 return f != $ac_func;
39791   ;
39792   return 0;
39793 }
39794 _ACEOF
39795 rm -f conftest.$ac_objext conftest$ac_exeext
39796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39797   (eval $ac_link) 2>conftest.er1
39798   ac_status=$?
39799   grep -v '^ *+' conftest.er1 >conftest.err
39800   rm -f conftest.er1
39801   cat conftest.err >&5
39802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803   (exit $ac_status); } &&
39804          { ac_try='test -z "$ac_c_werror_flag"
39805                          || test ! -s conftest.err'
39806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807   (eval $ac_try) 2>&5
39808   ac_status=$?
39809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810   (exit $ac_status); }; } &&
39811          { ac_try='test -s conftest$ac_exeext'
39812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39813   (eval $ac_try) 2>&5
39814   ac_status=$?
39815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816   (exit $ac_status); }; }; then
39817   eval "$as_ac_var=yes"
39818 else
39819   echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39821
39822 eval "$as_ac_var=no"
39823 fi
39824 rm -f conftest.err conftest.$ac_objext \
39825       conftest$ac_exeext conftest.$ac_ext
39826 fi
39827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39829 if test `eval echo '${'$as_ac_var'}'` = yes; then
39830   cat >>confdefs.h <<_ACEOF
39831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39832 _ACEOF
39833
39834 fi
39835 done
39836
39837   else
39838
39839   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39840 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39841   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39842     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39843   echo $ECHO_N "(cached) $ECHO_C" >&6
39844 else
39845
39846
39847
39848       ac_ext=cc
39849 ac_cpp='$CXXCPP $CPPFLAGS'
39850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853
39854       cat >conftest.$ac_ext <<_ACEOF
39855 /* confdefs.h.  */
39856 _ACEOF
39857 cat confdefs.h >>conftest.$ac_ext
39858 cat >>conftest.$ac_ext <<_ACEOF
39859 /* end confdefs.h.  */
39860 #include <math.h>
39861                       #ifdef HAVE_IEEEFP_H
39862                       #include <ieeefp.h>
39863                       #endif
39864
39865 int
39866 main ()
39867 {
39868  _sqrtf(0);
39869   ;
39870   return 0;
39871 }
39872 _ACEOF
39873 rm -f conftest.$ac_objext
39874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39875   (eval $ac_compile) 2>conftest.er1
39876   ac_status=$?
39877   grep -v '^ *+' conftest.er1 >conftest.err
39878   rm -f conftest.er1
39879   cat conftest.err >&5
39880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881   (exit $ac_status); } &&
39882          { ac_try='test -z "$ac_cxx_werror_flag"
39883                          || test ! -s conftest.err'
39884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885   (eval $ac_try) 2>&5
39886   ac_status=$?
39887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888   (exit $ac_status); }; } &&
39889          { ac_try='test -s conftest.$ac_objext'
39890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39891   (eval $ac_try) 2>&5
39892   ac_status=$?
39893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894   (exit $ac_status); }; }; then
39895   glibcxx_cv_func__sqrtf_use=yes
39896 else
39897   echo "$as_me: failed program was:" >&5
39898 sed 's/^/| /' conftest.$ac_ext >&5
39899
39900 glibcxx_cv_func__sqrtf_use=no
39901 fi
39902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39903       ac_ext=c
39904 ac_cpp='$CPP $CPPFLAGS'
39905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39908
39909
39910 fi
39911
39912   fi
39913   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39914 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39915
39916     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39917
39918 for ac_func in _sqrtf
39919 do
39920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39921 echo "$as_me:$LINENO: checking for $ac_func" >&5
39922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39923 if eval "test \"\${$as_ac_var+set}\" = set"; then
39924   echo $ECHO_N "(cached) $ECHO_C" >&6
39925 else
39926   if test x$gcc_no_link = xyes; then
39927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39929    { (exit 1); exit 1; }; }
39930 fi
39931 cat >conftest.$ac_ext <<_ACEOF
39932 /* confdefs.h.  */
39933 _ACEOF
39934 cat confdefs.h >>conftest.$ac_ext
39935 cat >>conftest.$ac_ext <<_ACEOF
39936 /* end confdefs.h.  */
39937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39939 #define $ac_func innocuous_$ac_func
39940
39941 /* System header to define __stub macros and hopefully few prototypes,
39942     which can conflict with char $ac_func (); below.
39943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39944     <limits.h> exists even on freestanding compilers.  */
39945
39946 #ifdef __STDC__
39947 # include <limits.h>
39948 #else
39949 # include <assert.h>
39950 #endif
39951
39952 #undef $ac_func
39953
39954 /* Override any gcc2 internal prototype to avoid an error.  */
39955 #ifdef __cplusplus
39956 extern "C"
39957 {
39958 #endif
39959 /* We use char because int might match the return type of a gcc2
39960    builtin and then its argument prototype would still apply.  */
39961 char $ac_func ();
39962 /* The GNU C library defines this for functions which it implements
39963     to always fail with ENOSYS.  Some functions are actually named
39964     something starting with __ and the normal name is an alias.  */
39965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39966 choke me
39967 #else
39968 char (*f) () = $ac_func;
39969 #endif
39970 #ifdef __cplusplus
39971 }
39972 #endif
39973
39974 int
39975 main ()
39976 {
39977 return f != $ac_func;
39978   ;
39979   return 0;
39980 }
39981 _ACEOF
39982 rm -f conftest.$ac_objext conftest$ac_exeext
39983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39984   (eval $ac_link) 2>conftest.er1
39985   ac_status=$?
39986   grep -v '^ *+' conftest.er1 >conftest.err
39987   rm -f conftest.er1
39988   cat conftest.err >&5
39989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990   (exit $ac_status); } &&
39991          { ac_try='test -z "$ac_c_werror_flag"
39992                          || test ! -s conftest.err'
39993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39994   (eval $ac_try) 2>&5
39995   ac_status=$?
39996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997   (exit $ac_status); }; } &&
39998          { ac_try='test -s conftest$ac_exeext'
39999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40000   (eval $ac_try) 2>&5
40001   ac_status=$?
40002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003   (exit $ac_status); }; }; then
40004   eval "$as_ac_var=yes"
40005 else
40006   echo "$as_me: failed program was:" >&5
40007 sed 's/^/| /' conftest.$ac_ext >&5
40008
40009 eval "$as_ac_var=no"
40010 fi
40011 rm -f conftest.err conftest.$ac_objext \
40012       conftest$ac_exeext conftest.$ac_ext
40013 fi
40014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40016 if test `eval echo '${'$as_ac_var'}'` = yes; then
40017   cat >>confdefs.h <<_ACEOF
40018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40019 _ACEOF
40020
40021 fi
40022 done
40023
40024     fi
40025   fi
40026
40027
40028
40029   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40030 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40031   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40032     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40033   echo $ECHO_N "(cached) $ECHO_C" >&6
40034 else
40035
40036
40037
40038       ac_ext=cc
40039 ac_cpp='$CXXCPP $CPPFLAGS'
40040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40043
40044       cat >conftest.$ac_ext <<_ACEOF
40045 /* confdefs.h.  */
40046 _ACEOF
40047 cat confdefs.h >>conftest.$ac_ext
40048 cat >>conftest.$ac_ext <<_ACEOF
40049 /* end confdefs.h.  */
40050 #include <math.h>
40051 int
40052 main ()
40053 {
40054  sincosf(0, 0, 0);
40055   ;
40056   return 0;
40057 }
40058 _ACEOF
40059 rm -f conftest.$ac_objext
40060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40061   (eval $ac_compile) 2>conftest.er1
40062   ac_status=$?
40063   grep -v '^ *+' conftest.er1 >conftest.err
40064   rm -f conftest.er1
40065   cat conftest.err >&5
40066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067   (exit $ac_status); } &&
40068          { ac_try='test -z "$ac_cxx_werror_flag"
40069                          || test ! -s conftest.err'
40070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40071   (eval $ac_try) 2>&5
40072   ac_status=$?
40073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074   (exit $ac_status); }; } &&
40075          { ac_try='test -s conftest.$ac_objext'
40076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40077   (eval $ac_try) 2>&5
40078   ac_status=$?
40079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080   (exit $ac_status); }; }; then
40081   glibcxx_cv_func_sincosf_use=yes
40082 else
40083   echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.$ac_ext >&5
40085
40086 glibcxx_cv_func_sincosf_use=no
40087 fi
40088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40089       ac_ext=c
40090 ac_cpp='$CPP $CPPFLAGS'
40091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40094
40095
40096 fi
40097
40098   fi
40099   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40100 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40101
40102   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40103
40104 for ac_func in sincosf
40105 do
40106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40107 echo "$as_me:$LINENO: checking for $ac_func" >&5
40108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40109 if eval "test \"\${$as_ac_var+set}\" = set"; then
40110   echo $ECHO_N "(cached) $ECHO_C" >&6
40111 else
40112   if test x$gcc_no_link = xyes; then
40113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40115    { (exit 1); exit 1; }; }
40116 fi
40117 cat >conftest.$ac_ext <<_ACEOF
40118 /* confdefs.h.  */
40119 _ACEOF
40120 cat confdefs.h >>conftest.$ac_ext
40121 cat >>conftest.$ac_ext <<_ACEOF
40122 /* end confdefs.h.  */
40123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40125 #define $ac_func innocuous_$ac_func
40126
40127 /* System header to define __stub macros and hopefully few prototypes,
40128     which can conflict with char $ac_func (); below.
40129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40130     <limits.h> exists even on freestanding compilers.  */
40131
40132 #ifdef __STDC__
40133 # include <limits.h>
40134 #else
40135 # include <assert.h>
40136 #endif
40137
40138 #undef $ac_func
40139
40140 /* Override any gcc2 internal prototype to avoid an error.  */
40141 #ifdef __cplusplus
40142 extern "C"
40143 {
40144 #endif
40145 /* We use char because int might match the return type of a gcc2
40146    builtin and then its argument prototype would still apply.  */
40147 char $ac_func ();
40148 /* The GNU C library defines this for functions which it implements
40149     to always fail with ENOSYS.  Some functions are actually named
40150     something starting with __ and the normal name is an alias.  */
40151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40152 choke me
40153 #else
40154 char (*f) () = $ac_func;
40155 #endif
40156 #ifdef __cplusplus
40157 }
40158 #endif
40159
40160 int
40161 main ()
40162 {
40163 return f != $ac_func;
40164   ;
40165   return 0;
40166 }
40167 _ACEOF
40168 rm -f conftest.$ac_objext conftest$ac_exeext
40169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40170   (eval $ac_link) 2>conftest.er1
40171   ac_status=$?
40172   grep -v '^ *+' conftest.er1 >conftest.err
40173   rm -f conftest.er1
40174   cat conftest.err >&5
40175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176   (exit $ac_status); } &&
40177          { ac_try='test -z "$ac_c_werror_flag"
40178                          || test ! -s conftest.err'
40179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40180   (eval $ac_try) 2>&5
40181   ac_status=$?
40182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40183   (exit $ac_status); }; } &&
40184          { ac_try='test -s conftest$ac_exeext'
40185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40186   (eval $ac_try) 2>&5
40187   ac_status=$?
40188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189   (exit $ac_status); }; }; then
40190   eval "$as_ac_var=yes"
40191 else
40192   echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40194
40195 eval "$as_ac_var=no"
40196 fi
40197 rm -f conftest.err conftest.$ac_objext \
40198       conftest$ac_exeext conftest.$ac_ext
40199 fi
40200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40202 if test `eval echo '${'$as_ac_var'}'` = yes; then
40203   cat >>confdefs.h <<_ACEOF
40204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40205 _ACEOF
40206
40207 fi
40208 done
40209
40210   else
40211
40212   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40213 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40214   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40215     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40216   echo $ECHO_N "(cached) $ECHO_C" >&6
40217 else
40218
40219
40220
40221       ac_ext=cc
40222 ac_cpp='$CXXCPP $CPPFLAGS'
40223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40226
40227       cat >conftest.$ac_ext <<_ACEOF
40228 /* confdefs.h.  */
40229 _ACEOF
40230 cat confdefs.h >>conftest.$ac_ext
40231 cat >>conftest.$ac_ext <<_ACEOF
40232 /* end confdefs.h.  */
40233 #include <math.h>
40234 int
40235 main ()
40236 {
40237  _sincosf(0, 0, 0);
40238   ;
40239   return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext
40243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40244   (eval $ac_compile) 2>conftest.er1
40245   ac_status=$?
40246   grep -v '^ *+' conftest.er1 >conftest.err
40247   rm -f conftest.er1
40248   cat conftest.err >&5
40249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250   (exit $ac_status); } &&
40251          { ac_try='test -z "$ac_cxx_werror_flag"
40252                          || test ! -s conftest.err'
40253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40254   (eval $ac_try) 2>&5
40255   ac_status=$?
40256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257   (exit $ac_status); }; } &&
40258          { ac_try='test -s conftest.$ac_objext'
40259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260   (eval $ac_try) 2>&5
40261   ac_status=$?
40262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263   (exit $ac_status); }; }; then
40264   glibcxx_cv_func__sincosf_use=yes
40265 else
40266   echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.$ac_ext >&5
40268
40269 glibcxx_cv_func__sincosf_use=no
40270 fi
40271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40272       ac_ext=c
40273 ac_cpp='$CPP $CPPFLAGS'
40274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40277
40278
40279 fi
40280
40281   fi
40282   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40283 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40284
40285     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40286
40287 for ac_func in _sincosf
40288 do
40289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40290 echo "$as_me:$LINENO: checking for $ac_func" >&5
40291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40292 if eval "test \"\${$as_ac_var+set}\" = set"; then
40293   echo $ECHO_N "(cached) $ECHO_C" >&6
40294 else
40295   if test x$gcc_no_link = xyes; then
40296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40298    { (exit 1); exit 1; }; }
40299 fi
40300 cat >conftest.$ac_ext <<_ACEOF
40301 /* confdefs.h.  */
40302 _ACEOF
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h.  */
40306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40307    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40308 #define $ac_func innocuous_$ac_func
40309
40310 /* System header to define __stub macros and hopefully few prototypes,
40311     which can conflict with char $ac_func (); below.
40312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40313     <limits.h> exists even on freestanding compilers.  */
40314
40315 #ifdef __STDC__
40316 # include <limits.h>
40317 #else
40318 # include <assert.h>
40319 #endif
40320
40321 #undef $ac_func
40322
40323 /* Override any gcc2 internal prototype to avoid an error.  */
40324 #ifdef __cplusplus
40325 extern "C"
40326 {
40327 #endif
40328 /* We use char because int might match the return type of a gcc2
40329    builtin and then its argument prototype would still apply.  */
40330 char $ac_func ();
40331 /* The GNU C library defines this for functions which it implements
40332     to always fail with ENOSYS.  Some functions are actually named
40333     something starting with __ and the normal name is an alias.  */
40334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40335 choke me
40336 #else
40337 char (*f) () = $ac_func;
40338 #endif
40339 #ifdef __cplusplus
40340 }
40341 #endif
40342
40343 int
40344 main ()
40345 {
40346 return f != $ac_func;
40347   ;
40348   return 0;
40349 }
40350 _ACEOF
40351 rm -f conftest.$ac_objext conftest$ac_exeext
40352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40353   (eval $ac_link) 2>conftest.er1
40354   ac_status=$?
40355   grep -v '^ *+' conftest.er1 >conftest.err
40356   rm -f conftest.er1
40357   cat conftest.err >&5
40358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359   (exit $ac_status); } &&
40360          { ac_try='test -z "$ac_c_werror_flag"
40361                          || test ! -s conftest.err'
40362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40363   (eval $ac_try) 2>&5
40364   ac_status=$?
40365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366   (exit $ac_status); }; } &&
40367          { ac_try='test -s conftest$ac_exeext'
40368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369   (eval $ac_try) 2>&5
40370   ac_status=$?
40371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372   (exit $ac_status); }; }; then
40373   eval "$as_ac_var=yes"
40374 else
40375   echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40377
40378 eval "$as_ac_var=no"
40379 fi
40380 rm -f conftest.err conftest.$ac_objext \
40381       conftest$ac_exeext conftest.$ac_ext
40382 fi
40383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40385 if test `eval echo '${'$as_ac_var'}'` = yes; then
40386   cat >>confdefs.h <<_ACEOF
40387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40388 _ACEOF
40389
40390 fi
40391 done
40392
40393     fi
40394   fi
40395
40396
40397
40398   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40399 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40400   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40401     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40402   echo $ECHO_N "(cached) $ECHO_C" >&6
40403 else
40404
40405
40406
40407       ac_ext=cc
40408 ac_cpp='$CXXCPP $CPPFLAGS'
40409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40412
40413       cat >conftest.$ac_ext <<_ACEOF
40414 /* confdefs.h.  */
40415 _ACEOF
40416 cat confdefs.h >>conftest.$ac_ext
40417 cat >>conftest.$ac_ext <<_ACEOF
40418 /* end confdefs.h.  */
40419 #include <math.h>
40420                       #ifdef HAVE_IEEEFP_H
40421                       #include <ieeefp.h>
40422                       #endif
40423
40424 int
40425 main ()
40426 {
40427  finitef(0);
40428   ;
40429   return 0;
40430 }
40431 _ACEOF
40432 rm -f conftest.$ac_objext
40433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40434   (eval $ac_compile) 2>conftest.er1
40435   ac_status=$?
40436   grep -v '^ *+' conftest.er1 >conftest.err
40437   rm -f conftest.er1
40438   cat conftest.err >&5
40439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440   (exit $ac_status); } &&
40441          { ac_try='test -z "$ac_cxx_werror_flag"
40442                          || test ! -s conftest.err'
40443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444   (eval $ac_try) 2>&5
40445   ac_status=$?
40446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447   (exit $ac_status); }; } &&
40448          { ac_try='test -s conftest.$ac_objext'
40449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450   (eval $ac_try) 2>&5
40451   ac_status=$?
40452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453   (exit $ac_status); }; }; then
40454   glibcxx_cv_func_finitef_use=yes
40455 else
40456   echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.$ac_ext >&5
40458
40459 glibcxx_cv_func_finitef_use=no
40460 fi
40461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40462       ac_ext=c
40463 ac_cpp='$CPP $CPPFLAGS'
40464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40467
40468
40469 fi
40470
40471   fi
40472   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40473 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40474
40475   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40476
40477 for ac_func in finitef
40478 do
40479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40480 echo "$as_me:$LINENO: checking for $ac_func" >&5
40481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40482 if eval "test \"\${$as_ac_var+set}\" = set"; then
40483   echo $ECHO_N "(cached) $ECHO_C" >&6
40484 else
40485   if test x$gcc_no_link = xyes; then
40486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40488    { (exit 1); exit 1; }; }
40489 fi
40490 cat >conftest.$ac_ext <<_ACEOF
40491 /* confdefs.h.  */
40492 _ACEOF
40493 cat confdefs.h >>conftest.$ac_ext
40494 cat >>conftest.$ac_ext <<_ACEOF
40495 /* end confdefs.h.  */
40496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40498 #define $ac_func innocuous_$ac_func
40499
40500 /* System header to define __stub macros and hopefully few prototypes,
40501     which can conflict with char $ac_func (); below.
40502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40503     <limits.h> exists even on freestanding compilers.  */
40504
40505 #ifdef __STDC__
40506 # include <limits.h>
40507 #else
40508 # include <assert.h>
40509 #endif
40510
40511 #undef $ac_func
40512
40513 /* Override any gcc2 internal prototype to avoid an error.  */
40514 #ifdef __cplusplus
40515 extern "C"
40516 {
40517 #endif
40518 /* We use char because int might match the return type of a gcc2
40519    builtin and then its argument prototype would still apply.  */
40520 char $ac_func ();
40521 /* The GNU C library defines this for functions which it implements
40522     to always fail with ENOSYS.  Some functions are actually named
40523     something starting with __ and the normal name is an alias.  */
40524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40525 choke me
40526 #else
40527 char (*f) () = $ac_func;
40528 #endif
40529 #ifdef __cplusplus
40530 }
40531 #endif
40532
40533 int
40534 main ()
40535 {
40536 return f != $ac_func;
40537   ;
40538   return 0;
40539 }
40540 _ACEOF
40541 rm -f conftest.$ac_objext conftest$ac_exeext
40542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40543   (eval $ac_link) 2>conftest.er1
40544   ac_status=$?
40545   grep -v '^ *+' conftest.er1 >conftest.err
40546   rm -f conftest.er1
40547   cat conftest.err >&5
40548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549   (exit $ac_status); } &&
40550          { ac_try='test -z "$ac_c_werror_flag"
40551                          || test ! -s conftest.err'
40552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553   (eval $ac_try) 2>&5
40554   ac_status=$?
40555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556   (exit $ac_status); }; } &&
40557          { ac_try='test -s conftest$ac_exeext'
40558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559   (eval $ac_try) 2>&5
40560   ac_status=$?
40561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562   (exit $ac_status); }; }; then
40563   eval "$as_ac_var=yes"
40564 else
40565   echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40567
40568 eval "$as_ac_var=no"
40569 fi
40570 rm -f conftest.err conftest.$ac_objext \
40571       conftest$ac_exeext conftest.$ac_ext
40572 fi
40573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40575 if test `eval echo '${'$as_ac_var'}'` = yes; then
40576   cat >>confdefs.h <<_ACEOF
40577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40578 _ACEOF
40579
40580 fi
40581 done
40582
40583   else
40584
40585   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40586 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40587   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40588     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40589   echo $ECHO_N "(cached) $ECHO_C" >&6
40590 else
40591
40592
40593
40594       ac_ext=cc
40595 ac_cpp='$CXXCPP $CPPFLAGS'
40596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40599
40600       cat >conftest.$ac_ext <<_ACEOF
40601 /* confdefs.h.  */
40602 _ACEOF
40603 cat confdefs.h >>conftest.$ac_ext
40604 cat >>conftest.$ac_ext <<_ACEOF
40605 /* end confdefs.h.  */
40606 #include <math.h>
40607                       #ifdef HAVE_IEEEFP_H
40608                       #include <ieeefp.h>
40609                       #endif
40610
40611 int
40612 main ()
40613 {
40614  _finitef(0);
40615   ;
40616   return 0;
40617 }
40618 _ACEOF
40619 rm -f conftest.$ac_objext
40620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40621   (eval $ac_compile) 2>conftest.er1
40622   ac_status=$?
40623   grep -v '^ *+' conftest.er1 >conftest.err
40624   rm -f conftest.er1
40625   cat conftest.err >&5
40626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627   (exit $ac_status); } &&
40628          { ac_try='test -z "$ac_cxx_werror_flag"
40629                          || test ! -s conftest.err'
40630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40631   (eval $ac_try) 2>&5
40632   ac_status=$?
40633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40634   (exit $ac_status); }; } &&
40635          { ac_try='test -s conftest.$ac_objext'
40636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40637   (eval $ac_try) 2>&5
40638   ac_status=$?
40639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640   (exit $ac_status); }; }; then
40641   glibcxx_cv_func__finitef_use=yes
40642 else
40643   echo "$as_me: failed program was:" >&5
40644 sed 's/^/| /' conftest.$ac_ext >&5
40645
40646 glibcxx_cv_func__finitef_use=no
40647 fi
40648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40649       ac_ext=c
40650 ac_cpp='$CPP $CPPFLAGS'
40651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40654
40655
40656 fi
40657
40658   fi
40659   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40660 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40661
40662     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40663
40664 for ac_func in _finitef
40665 do
40666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40667 echo "$as_me:$LINENO: checking for $ac_func" >&5
40668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40669 if eval "test \"\${$as_ac_var+set}\" = set"; then
40670   echo $ECHO_N "(cached) $ECHO_C" >&6
40671 else
40672   if test x$gcc_no_link = xyes; then
40673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40675    { (exit 1); exit 1; }; }
40676 fi
40677 cat >conftest.$ac_ext <<_ACEOF
40678 /* confdefs.h.  */
40679 _ACEOF
40680 cat confdefs.h >>conftest.$ac_ext
40681 cat >>conftest.$ac_ext <<_ACEOF
40682 /* end confdefs.h.  */
40683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40685 #define $ac_func innocuous_$ac_func
40686
40687 /* System header to define __stub macros and hopefully few prototypes,
40688     which can conflict with char $ac_func (); below.
40689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40690     <limits.h> exists even on freestanding compilers.  */
40691
40692 #ifdef __STDC__
40693 # include <limits.h>
40694 #else
40695 # include <assert.h>
40696 #endif
40697
40698 #undef $ac_func
40699
40700 /* Override any gcc2 internal prototype to avoid an error.  */
40701 #ifdef __cplusplus
40702 extern "C"
40703 {
40704 #endif
40705 /* We use char because int might match the return type of a gcc2
40706    builtin and then its argument prototype would still apply.  */
40707 char $ac_func ();
40708 /* The GNU C library defines this for functions which it implements
40709     to always fail with ENOSYS.  Some functions are actually named
40710     something starting with __ and the normal name is an alias.  */
40711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40712 choke me
40713 #else
40714 char (*f) () = $ac_func;
40715 #endif
40716 #ifdef __cplusplus
40717 }
40718 #endif
40719
40720 int
40721 main ()
40722 {
40723 return f != $ac_func;
40724   ;
40725   return 0;
40726 }
40727 _ACEOF
40728 rm -f conftest.$ac_objext conftest$ac_exeext
40729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40730   (eval $ac_link) 2>conftest.er1
40731   ac_status=$?
40732   grep -v '^ *+' conftest.er1 >conftest.err
40733   rm -f conftest.er1
40734   cat conftest.err >&5
40735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736   (exit $ac_status); } &&
40737          { ac_try='test -z "$ac_c_werror_flag"
40738                          || test ! -s conftest.err'
40739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40740   (eval $ac_try) 2>&5
40741   ac_status=$?
40742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743   (exit $ac_status); }; } &&
40744          { ac_try='test -s conftest$ac_exeext'
40745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40746   (eval $ac_try) 2>&5
40747   ac_status=$?
40748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40749   (exit $ac_status); }; }; then
40750   eval "$as_ac_var=yes"
40751 else
40752   echo "$as_me: failed program was:" >&5
40753 sed 's/^/| /' conftest.$ac_ext >&5
40754
40755 eval "$as_ac_var=no"
40756 fi
40757 rm -f conftest.err conftest.$ac_objext \
40758       conftest$ac_exeext conftest.$ac_ext
40759 fi
40760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40762 if test `eval echo '${'$as_ac_var'}'` = yes; then
40763   cat >>confdefs.h <<_ACEOF
40764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40765 _ACEOF
40766
40767 fi
40768 done
40769
40770     fi
40771   fi
40772
40773
40774
40775   echo "$as_me:$LINENO: checking for long double trig functions" >&5
40776 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40777   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40778   echo $ECHO_N "(cached) $ECHO_C" >&6
40779 else
40780
40781
40782
40783     ac_ext=cc
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40788
40789     cat >conftest.$ac_ext <<_ACEOF
40790 /* confdefs.h.  */
40791 _ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h.  */
40795 #include <math.h>
40796 int
40797 main ()
40798 {
40799  `for x in acosl asinl atanl \
40800                                           cosl sinl tanl \
40801                                           coshl sinhl tanhl; do echo "$x (0);"; done`
40802   ;
40803   return 0;
40804 }
40805 _ACEOF
40806 rm -f conftest.$ac_objext
40807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40808   (eval $ac_compile) 2>conftest.er1
40809   ac_status=$?
40810   grep -v '^ *+' conftest.er1 >conftest.err
40811   rm -f conftest.er1
40812   cat conftest.err >&5
40813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814   (exit $ac_status); } &&
40815          { ac_try='test -z "$ac_cxx_werror_flag"
40816                          || test ! -s conftest.err'
40817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40818   (eval $ac_try) 2>&5
40819   ac_status=$?
40820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40821   (exit $ac_status); }; } &&
40822          { ac_try='test -s conftest.$ac_objext'
40823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40824   (eval $ac_try) 2>&5
40825   ac_status=$?
40826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827   (exit $ac_status); }; }; then
40828   glibcxx_cv_func_long_double_trig_use=yes
40829 else
40830   echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.$ac_ext >&5
40832
40833 glibcxx_cv_func_long_double_trig_use=no
40834 fi
40835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40836     ac_ext=c
40837 ac_cpp='$CPP $CPPFLAGS'
40838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40841
40842 fi
40843
40844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40845 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40846   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856 for ac_func in acosl asinl atanl \
40857                                           cosl sinl tanl \
40858                                           coshl sinhl tanhl
40859 do
40860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40861 echo "$as_me:$LINENO: checking for $ac_func" >&5
40862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40863 if eval "test \"\${$as_ac_var+set}\" = set"; then
40864   echo $ECHO_N "(cached) $ECHO_C" >&6
40865 else
40866   if test x$gcc_no_link = xyes; then
40867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40869    { (exit 1); exit 1; }; }
40870 fi
40871 cat >conftest.$ac_ext <<_ACEOF
40872 /* confdefs.h.  */
40873 _ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h.  */
40877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40879 #define $ac_func innocuous_$ac_func
40880
40881 /* System header to define __stub macros and hopefully few prototypes,
40882     which can conflict with char $ac_func (); below.
40883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40884     <limits.h> exists even on freestanding compilers.  */
40885
40886 #ifdef __STDC__
40887 # include <limits.h>
40888 #else
40889 # include <assert.h>
40890 #endif
40891
40892 #undef $ac_func
40893
40894 /* Override any gcc2 internal prototype to avoid an error.  */
40895 #ifdef __cplusplus
40896 extern "C"
40897 {
40898 #endif
40899 /* We use char because int might match the return type of a gcc2
40900    builtin and then its argument prototype would still apply.  */
40901 char $ac_func ();
40902 /* The GNU C library defines this for functions which it implements
40903     to always fail with ENOSYS.  Some functions are actually named
40904     something starting with __ and the normal name is an alias.  */
40905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40906 choke me
40907 #else
40908 char (*f) () = $ac_func;
40909 #endif
40910 #ifdef __cplusplus
40911 }
40912 #endif
40913
40914 int
40915 main ()
40916 {
40917 return f != $ac_func;
40918   ;
40919   return 0;
40920 }
40921 _ACEOF
40922 rm -f conftest.$ac_objext conftest$ac_exeext
40923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40924   (eval $ac_link) 2>conftest.er1
40925   ac_status=$?
40926   grep -v '^ *+' conftest.er1 >conftest.err
40927   rm -f conftest.er1
40928   cat conftest.err >&5
40929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930   (exit $ac_status); } &&
40931          { ac_try='test -z "$ac_c_werror_flag"
40932                          || test ! -s conftest.err'
40933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40934   (eval $ac_try) 2>&5
40935   ac_status=$?
40936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40937   (exit $ac_status); }; } &&
40938          { ac_try='test -s conftest$ac_exeext'
40939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40940   (eval $ac_try) 2>&5
40941   ac_status=$?
40942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943   (exit $ac_status); }; }; then
40944   eval "$as_ac_var=yes"
40945 else
40946   echo "$as_me: failed program was:" >&5
40947 sed 's/^/| /' conftest.$ac_ext >&5
40948
40949 eval "$as_ac_var=no"
40950 fi
40951 rm -f conftest.err conftest.$ac_objext \
40952       conftest$ac_exeext conftest.$ac_ext
40953 fi
40954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40956 if test `eval echo '${'$as_ac_var'}'` = yes; then
40957   cat >>confdefs.h <<_ACEOF
40958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40959 _ACEOF
40960
40961 fi
40962 done
40963
40964   fi
40965
40966
40967   echo "$as_me:$LINENO: checking for long double round functions" >&5
40968 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40969   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40970   echo $ECHO_N "(cached) $ECHO_C" >&6
40971 else
40972
40973
40974
40975     ac_ext=cc
40976 ac_cpp='$CXXCPP $CPPFLAGS'
40977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980
40981     cat >conftest.$ac_ext <<_ACEOF
40982 /* confdefs.h.  */
40983 _ACEOF
40984 cat confdefs.h >>conftest.$ac_ext
40985 cat >>conftest.$ac_ext <<_ACEOF
40986 /* end confdefs.h.  */
40987 #include <math.h>
40988 int
40989 main ()
40990 {
40991  `for x in ceill floorl; do echo "$x (0);"; done`
40992   ;
40993   return 0;
40994 }
40995 _ACEOF
40996 rm -f conftest.$ac_objext
40997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40998   (eval $ac_compile) 2>conftest.er1
40999   ac_status=$?
41000   grep -v '^ *+' conftest.er1 >conftest.err
41001   rm -f conftest.er1
41002   cat conftest.err >&5
41003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004   (exit $ac_status); } &&
41005          { ac_try='test -z "$ac_cxx_werror_flag"
41006                          || test ! -s conftest.err'
41007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008   (eval $ac_try) 2>&5
41009   ac_status=$?
41010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011   (exit $ac_status); }; } &&
41012          { ac_try='test -s conftest.$ac_objext'
41013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41014   (eval $ac_try) 2>&5
41015   ac_status=$?
41016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41017   (exit $ac_status); }; }; then
41018   glibcxx_cv_func_long_double_round_use=yes
41019 else
41020   echo "$as_me: failed program was:" >&5
41021 sed 's/^/| /' conftest.$ac_ext >&5
41022
41023 glibcxx_cv_func_long_double_round_use=no
41024 fi
41025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41026     ac_ext=c
41027 ac_cpp='$CPP $CPPFLAGS'
41028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41031
41032 fi
41033
41034   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41035 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41036   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41037
41038
41039 for ac_func in ceill floorl
41040 do
41041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41042 echo "$as_me:$LINENO: checking for $ac_func" >&5
41043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41044 if eval "test \"\${$as_ac_var+set}\" = set"; then
41045   echo $ECHO_N "(cached) $ECHO_C" >&6
41046 else
41047   if test x$gcc_no_link = xyes; then
41048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41050    { (exit 1); exit 1; }; }
41051 fi
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h.  */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h.  */
41058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41060 #define $ac_func innocuous_$ac_func
41061
41062 /* System header to define __stub macros and hopefully few prototypes,
41063     which can conflict with char $ac_func (); below.
41064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41065     <limits.h> exists even on freestanding compilers.  */
41066
41067 #ifdef __STDC__
41068 # include <limits.h>
41069 #else
41070 # include <assert.h>
41071 #endif
41072
41073 #undef $ac_func
41074
41075 /* Override any gcc2 internal prototype to avoid an error.  */
41076 #ifdef __cplusplus
41077 extern "C"
41078 {
41079 #endif
41080 /* We use char because int might match the return type of a gcc2
41081    builtin and then its argument prototype would still apply.  */
41082 char $ac_func ();
41083 /* The GNU C library defines this for functions which it implements
41084     to always fail with ENOSYS.  Some functions are actually named
41085     something starting with __ and the normal name is an alias.  */
41086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41087 choke me
41088 #else
41089 char (*f) () = $ac_func;
41090 #endif
41091 #ifdef __cplusplus
41092 }
41093 #endif
41094
41095 int
41096 main ()
41097 {
41098 return f != $ac_func;
41099   ;
41100   return 0;
41101 }
41102 _ACEOF
41103 rm -f conftest.$ac_objext conftest$ac_exeext
41104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41105   (eval $ac_link) 2>conftest.er1
41106   ac_status=$?
41107   grep -v '^ *+' conftest.er1 >conftest.err
41108   rm -f conftest.er1
41109   cat conftest.err >&5
41110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111   (exit $ac_status); } &&
41112          { ac_try='test -z "$ac_c_werror_flag"
41113                          || test ! -s conftest.err'
41114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41115   (eval $ac_try) 2>&5
41116   ac_status=$?
41117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118   (exit $ac_status); }; } &&
41119          { ac_try='test -s conftest$ac_exeext'
41120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41121   (eval $ac_try) 2>&5
41122   ac_status=$?
41123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124   (exit $ac_status); }; }; then
41125   eval "$as_ac_var=yes"
41126 else
41127   echo "$as_me: failed program was:" >&5
41128 sed 's/^/| /' conftest.$ac_ext >&5
41129
41130 eval "$as_ac_var=no"
41131 fi
41132 rm -f conftest.err conftest.$ac_objext \
41133       conftest$ac_exeext conftest.$ac_ext
41134 fi
41135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41137 if test `eval echo '${'$as_ac_var'}'` = yes; then
41138   cat >>confdefs.h <<_ACEOF
41139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41140 _ACEOF
41141
41142 fi
41143 done
41144
41145   fi
41146
41147
41148
41149   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41150 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41151   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41152     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41153   echo $ECHO_N "(cached) $ECHO_C" >&6
41154 else
41155
41156
41157
41158       ac_ext=cc
41159 ac_cpp='$CXXCPP $CPPFLAGS'
41160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41163
41164       cat >conftest.$ac_ext <<_ACEOF
41165 /* confdefs.h.  */
41166 _ACEOF
41167 cat confdefs.h >>conftest.$ac_ext
41168 cat >>conftest.$ac_ext <<_ACEOF
41169 /* end confdefs.h.  */
41170 #include <math.h>
41171                       #ifdef HAVE_IEEEFP_H
41172                       #include <ieeefp.h>
41173                       #endif
41174
41175 int
41176 main ()
41177 {
41178  isnanl(0);
41179   ;
41180   return 0;
41181 }
41182 _ACEOF
41183 rm -f conftest.$ac_objext
41184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41185   (eval $ac_compile) 2>conftest.er1
41186   ac_status=$?
41187   grep -v '^ *+' conftest.er1 >conftest.err
41188   rm -f conftest.er1
41189   cat conftest.err >&5
41190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191   (exit $ac_status); } &&
41192          { ac_try='test -z "$ac_cxx_werror_flag"
41193                          || test ! -s conftest.err'
41194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195   (eval $ac_try) 2>&5
41196   ac_status=$?
41197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198   (exit $ac_status); }; } &&
41199          { ac_try='test -s conftest.$ac_objext'
41200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41201   (eval $ac_try) 2>&5
41202   ac_status=$?
41203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204   (exit $ac_status); }; }; then
41205   glibcxx_cv_func_isnanl_use=yes
41206 else
41207   echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.$ac_ext >&5
41209
41210 glibcxx_cv_func_isnanl_use=no
41211 fi
41212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41213       ac_ext=c
41214 ac_cpp='$CPP $CPPFLAGS'
41215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41218
41219
41220 fi
41221
41222   fi
41223   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41224 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41225
41226   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41227
41228 for ac_func in isnanl
41229 do
41230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41231 echo "$as_me:$LINENO: checking for $ac_func" >&5
41232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41233 if eval "test \"\${$as_ac_var+set}\" = set"; then
41234   echo $ECHO_N "(cached) $ECHO_C" >&6
41235 else
41236   if test x$gcc_no_link = xyes; then
41237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41239    { (exit 1); exit 1; }; }
41240 fi
41241 cat >conftest.$ac_ext <<_ACEOF
41242 /* confdefs.h.  */
41243 _ACEOF
41244 cat confdefs.h >>conftest.$ac_ext
41245 cat >>conftest.$ac_ext <<_ACEOF
41246 /* end confdefs.h.  */
41247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41249 #define $ac_func innocuous_$ac_func
41250
41251 /* System header to define __stub macros and hopefully few prototypes,
41252     which can conflict with char $ac_func (); below.
41253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41254     <limits.h> exists even on freestanding compilers.  */
41255
41256 #ifdef __STDC__
41257 # include <limits.h>
41258 #else
41259 # include <assert.h>
41260 #endif
41261
41262 #undef $ac_func
41263
41264 /* Override any gcc2 internal prototype to avoid an error.  */
41265 #ifdef __cplusplus
41266 extern "C"
41267 {
41268 #endif
41269 /* We use char because int might match the return type of a gcc2
41270    builtin and then its argument prototype would still apply.  */
41271 char $ac_func ();
41272 /* The GNU C library defines this for functions which it implements
41273     to always fail with ENOSYS.  Some functions are actually named
41274     something starting with __ and the normal name is an alias.  */
41275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41276 choke me
41277 #else
41278 char (*f) () = $ac_func;
41279 #endif
41280 #ifdef __cplusplus
41281 }
41282 #endif
41283
41284 int
41285 main ()
41286 {
41287 return f != $ac_func;
41288   ;
41289   return 0;
41290 }
41291 _ACEOF
41292 rm -f conftest.$ac_objext conftest$ac_exeext
41293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41294   (eval $ac_link) 2>conftest.er1
41295   ac_status=$?
41296   grep -v '^ *+' conftest.er1 >conftest.err
41297   rm -f conftest.er1
41298   cat conftest.err >&5
41299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41300   (exit $ac_status); } &&
41301          { ac_try='test -z "$ac_c_werror_flag"
41302                          || test ! -s conftest.err'
41303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304   (eval $ac_try) 2>&5
41305   ac_status=$?
41306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307   (exit $ac_status); }; } &&
41308          { ac_try='test -s conftest$ac_exeext'
41309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310   (eval $ac_try) 2>&5
41311   ac_status=$?
41312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313   (exit $ac_status); }; }; then
41314   eval "$as_ac_var=yes"
41315 else
41316   echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.$ac_ext >&5
41318
41319 eval "$as_ac_var=no"
41320 fi
41321 rm -f conftest.err conftest.$ac_objext \
41322       conftest$ac_exeext conftest.$ac_ext
41323 fi
41324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41326 if test `eval echo '${'$as_ac_var'}'` = yes; then
41327   cat >>confdefs.h <<_ACEOF
41328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41329 _ACEOF
41330
41331 fi
41332 done
41333
41334   else
41335
41336   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41337 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41338   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41339     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41340   echo $ECHO_N "(cached) $ECHO_C" >&6
41341 else
41342
41343
41344
41345       ac_ext=cc
41346 ac_cpp='$CXXCPP $CPPFLAGS'
41347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41350
41351       cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h.  */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h.  */
41357 #include <math.h>
41358                       #ifdef HAVE_IEEEFP_H
41359                       #include <ieeefp.h>
41360                       #endif
41361
41362 int
41363 main ()
41364 {
41365  _isnanl(0);
41366   ;
41367   return 0;
41368 }
41369 _ACEOF
41370 rm -f conftest.$ac_objext
41371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41372   (eval $ac_compile) 2>conftest.er1
41373   ac_status=$?
41374   grep -v '^ *+' conftest.er1 >conftest.err
41375   rm -f conftest.er1
41376   cat conftest.err >&5
41377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41378   (exit $ac_status); } &&
41379          { ac_try='test -z "$ac_cxx_werror_flag"
41380                          || test ! -s conftest.err'
41381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41382   (eval $ac_try) 2>&5
41383   ac_status=$?
41384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41385   (exit $ac_status); }; } &&
41386          { ac_try='test -s conftest.$ac_objext'
41387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41388   (eval $ac_try) 2>&5
41389   ac_status=$?
41390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391   (exit $ac_status); }; }; then
41392   glibcxx_cv_func__isnanl_use=yes
41393 else
41394   echo "$as_me: failed program was:" >&5
41395 sed 's/^/| /' conftest.$ac_ext >&5
41396
41397 glibcxx_cv_func__isnanl_use=no
41398 fi
41399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41400       ac_ext=c
41401 ac_cpp='$CPP $CPPFLAGS'
41402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41405
41406
41407 fi
41408
41409   fi
41410   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41411 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41412
41413     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41414
41415 for ac_func in _isnanl
41416 do
41417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41418 echo "$as_me:$LINENO: checking for $ac_func" >&5
41419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41420 if eval "test \"\${$as_ac_var+set}\" = set"; then
41421   echo $ECHO_N "(cached) $ECHO_C" >&6
41422 else
41423   if test x$gcc_no_link = xyes; then
41424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41426    { (exit 1); exit 1; }; }
41427 fi
41428 cat >conftest.$ac_ext <<_ACEOF
41429 /* confdefs.h.  */
41430 _ACEOF
41431 cat confdefs.h >>conftest.$ac_ext
41432 cat >>conftest.$ac_ext <<_ACEOF
41433 /* end confdefs.h.  */
41434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41436 #define $ac_func innocuous_$ac_func
41437
41438 /* System header to define __stub macros and hopefully few prototypes,
41439     which can conflict with char $ac_func (); below.
41440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41441     <limits.h> exists even on freestanding compilers.  */
41442
41443 #ifdef __STDC__
41444 # include <limits.h>
41445 #else
41446 # include <assert.h>
41447 #endif
41448
41449 #undef $ac_func
41450
41451 /* Override any gcc2 internal prototype to avoid an error.  */
41452 #ifdef __cplusplus
41453 extern "C"
41454 {
41455 #endif
41456 /* We use char because int might match the return type of a gcc2
41457    builtin and then its argument prototype would still apply.  */
41458 char $ac_func ();
41459 /* The GNU C library defines this for functions which it implements
41460     to always fail with ENOSYS.  Some functions are actually named
41461     something starting with __ and the normal name is an alias.  */
41462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41463 choke me
41464 #else
41465 char (*f) () = $ac_func;
41466 #endif
41467 #ifdef __cplusplus
41468 }
41469 #endif
41470
41471 int
41472 main ()
41473 {
41474 return f != $ac_func;
41475   ;
41476   return 0;
41477 }
41478 _ACEOF
41479 rm -f conftest.$ac_objext conftest$ac_exeext
41480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41481   (eval $ac_link) 2>conftest.er1
41482   ac_status=$?
41483   grep -v '^ *+' conftest.er1 >conftest.err
41484   rm -f conftest.er1
41485   cat conftest.err >&5
41486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41487   (exit $ac_status); } &&
41488          { ac_try='test -z "$ac_c_werror_flag"
41489                          || test ! -s conftest.err'
41490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41491   (eval $ac_try) 2>&5
41492   ac_status=$?
41493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41494   (exit $ac_status); }; } &&
41495          { ac_try='test -s conftest$ac_exeext'
41496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41497   (eval $ac_try) 2>&5
41498   ac_status=$?
41499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500   (exit $ac_status); }; }; then
41501   eval "$as_ac_var=yes"
41502 else
41503   echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.$ac_ext >&5
41505
41506 eval "$as_ac_var=no"
41507 fi
41508 rm -f conftest.err conftest.$ac_objext \
41509       conftest$ac_exeext conftest.$ac_ext
41510 fi
41511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41513 if test `eval echo '${'$as_ac_var'}'` = yes; then
41514   cat >>confdefs.h <<_ACEOF
41515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41516 _ACEOF
41517
41518 fi
41519 done
41520
41521     fi
41522   fi
41523
41524
41525
41526   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41527 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41528   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41529     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41530   echo $ECHO_N "(cached) $ECHO_C" >&6
41531 else
41532
41533
41534
41535       ac_ext=cc
41536 ac_cpp='$CXXCPP $CPPFLAGS'
41537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41540
41541       cat >conftest.$ac_ext <<_ACEOF
41542 /* confdefs.h.  */
41543 _ACEOF
41544 cat confdefs.h >>conftest.$ac_ext
41545 cat >>conftest.$ac_ext <<_ACEOF
41546 /* end confdefs.h.  */
41547 #include <math.h>
41548                       #ifdef HAVE_IEEEFP_H
41549                       #include <ieeefp.h>
41550                       #endif
41551
41552 int
41553 main ()
41554 {
41555  isinfl(0);
41556   ;
41557   return 0;
41558 }
41559 _ACEOF
41560 rm -f conftest.$ac_objext
41561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41562   (eval $ac_compile) 2>conftest.er1
41563   ac_status=$?
41564   grep -v '^ *+' conftest.er1 >conftest.err
41565   rm -f conftest.er1
41566   cat conftest.err >&5
41567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568   (exit $ac_status); } &&
41569          { ac_try='test -z "$ac_cxx_werror_flag"
41570                          || test ! -s conftest.err'
41571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41572   (eval $ac_try) 2>&5
41573   ac_status=$?
41574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41575   (exit $ac_status); }; } &&
41576          { ac_try='test -s conftest.$ac_objext'
41577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41578   (eval $ac_try) 2>&5
41579   ac_status=$?
41580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581   (exit $ac_status); }; }; then
41582   glibcxx_cv_func_isinfl_use=yes
41583 else
41584   echo "$as_me: failed program was:" >&5
41585 sed 's/^/| /' conftest.$ac_ext >&5
41586
41587 glibcxx_cv_func_isinfl_use=no
41588 fi
41589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41590       ac_ext=c
41591 ac_cpp='$CPP $CPPFLAGS'
41592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41595
41596
41597 fi
41598
41599   fi
41600   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41601 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41602
41603   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41604
41605 for ac_func in isinfl
41606 do
41607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41608 echo "$as_me:$LINENO: checking for $ac_func" >&5
41609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41610 if eval "test \"\${$as_ac_var+set}\" = set"; then
41611   echo $ECHO_N "(cached) $ECHO_C" >&6
41612 else
41613   if test x$gcc_no_link = xyes; then
41614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41616    { (exit 1); exit 1; }; }
41617 fi
41618 cat >conftest.$ac_ext <<_ACEOF
41619 /* confdefs.h.  */
41620 _ACEOF
41621 cat confdefs.h >>conftest.$ac_ext
41622 cat >>conftest.$ac_ext <<_ACEOF
41623 /* end confdefs.h.  */
41624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41626 #define $ac_func innocuous_$ac_func
41627
41628 /* System header to define __stub macros and hopefully few prototypes,
41629     which can conflict with char $ac_func (); below.
41630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41631     <limits.h> exists even on freestanding compilers.  */
41632
41633 #ifdef __STDC__
41634 # include <limits.h>
41635 #else
41636 # include <assert.h>
41637 #endif
41638
41639 #undef $ac_func
41640
41641 /* Override any gcc2 internal prototype to avoid an error.  */
41642 #ifdef __cplusplus
41643 extern "C"
41644 {
41645 #endif
41646 /* We use char because int might match the return type of a gcc2
41647    builtin and then its argument prototype would still apply.  */
41648 char $ac_func ();
41649 /* The GNU C library defines this for functions which it implements
41650     to always fail with ENOSYS.  Some functions are actually named
41651     something starting with __ and the normal name is an alias.  */
41652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41653 choke me
41654 #else
41655 char (*f) () = $ac_func;
41656 #endif
41657 #ifdef __cplusplus
41658 }
41659 #endif
41660
41661 int
41662 main ()
41663 {
41664 return f != $ac_func;
41665   ;
41666   return 0;
41667 }
41668 _ACEOF
41669 rm -f conftest.$ac_objext conftest$ac_exeext
41670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41671   (eval $ac_link) 2>conftest.er1
41672   ac_status=$?
41673   grep -v '^ *+' conftest.er1 >conftest.err
41674   rm -f conftest.er1
41675   cat conftest.err >&5
41676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677   (exit $ac_status); } &&
41678          { ac_try='test -z "$ac_c_werror_flag"
41679                          || test ! -s conftest.err'
41680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41681   (eval $ac_try) 2>&5
41682   ac_status=$?
41683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684   (exit $ac_status); }; } &&
41685          { ac_try='test -s conftest$ac_exeext'
41686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41687   (eval $ac_try) 2>&5
41688   ac_status=$?
41689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41690   (exit $ac_status); }; }; then
41691   eval "$as_ac_var=yes"
41692 else
41693   echo "$as_me: failed program was:" >&5
41694 sed 's/^/| /' conftest.$ac_ext >&5
41695
41696 eval "$as_ac_var=no"
41697 fi
41698 rm -f conftest.err conftest.$ac_objext \
41699       conftest$ac_exeext conftest.$ac_ext
41700 fi
41701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41703 if test `eval echo '${'$as_ac_var'}'` = yes; then
41704   cat >>confdefs.h <<_ACEOF
41705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41706 _ACEOF
41707
41708 fi
41709 done
41710
41711   else
41712
41713   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41714 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41715   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41716     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41717   echo $ECHO_N "(cached) $ECHO_C" >&6
41718 else
41719
41720
41721
41722       ac_ext=cc
41723 ac_cpp='$CXXCPP $CPPFLAGS'
41724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41727
41728       cat >conftest.$ac_ext <<_ACEOF
41729 /* confdefs.h.  */
41730 _ACEOF
41731 cat confdefs.h >>conftest.$ac_ext
41732 cat >>conftest.$ac_ext <<_ACEOF
41733 /* end confdefs.h.  */
41734 #include <math.h>
41735                       #ifdef HAVE_IEEEFP_H
41736                       #include <ieeefp.h>
41737                       #endif
41738
41739 int
41740 main ()
41741 {
41742  _isinfl(0);
41743   ;
41744   return 0;
41745 }
41746 _ACEOF
41747 rm -f conftest.$ac_objext
41748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41749   (eval $ac_compile) 2>conftest.er1
41750   ac_status=$?
41751   grep -v '^ *+' conftest.er1 >conftest.err
41752   rm -f conftest.er1
41753   cat conftest.err >&5
41754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755   (exit $ac_status); } &&
41756          { ac_try='test -z "$ac_cxx_werror_flag"
41757                          || test ! -s conftest.err'
41758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41759   (eval $ac_try) 2>&5
41760   ac_status=$?
41761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41762   (exit $ac_status); }; } &&
41763          { ac_try='test -s conftest.$ac_objext'
41764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41765   (eval $ac_try) 2>&5
41766   ac_status=$?
41767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768   (exit $ac_status); }; }; then
41769   glibcxx_cv_func__isinfl_use=yes
41770 else
41771   echo "$as_me: failed program was:" >&5
41772 sed 's/^/| /' conftest.$ac_ext >&5
41773
41774 glibcxx_cv_func__isinfl_use=no
41775 fi
41776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41777       ac_ext=c
41778 ac_cpp='$CPP $CPPFLAGS'
41779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782
41783
41784 fi
41785
41786   fi
41787   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41788 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41789
41790     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41791
41792 for ac_func in _isinfl
41793 do
41794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41795 echo "$as_me:$LINENO: checking for $ac_func" >&5
41796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41797 if eval "test \"\${$as_ac_var+set}\" = set"; then
41798   echo $ECHO_N "(cached) $ECHO_C" >&6
41799 else
41800   if test x$gcc_no_link = xyes; then
41801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41803    { (exit 1); exit 1; }; }
41804 fi
41805 cat >conftest.$ac_ext <<_ACEOF
41806 /* confdefs.h.  */
41807 _ACEOF
41808 cat confdefs.h >>conftest.$ac_ext
41809 cat >>conftest.$ac_ext <<_ACEOF
41810 /* end confdefs.h.  */
41811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41813 #define $ac_func innocuous_$ac_func
41814
41815 /* System header to define __stub macros and hopefully few prototypes,
41816     which can conflict with char $ac_func (); below.
41817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41818     <limits.h> exists even on freestanding compilers.  */
41819
41820 #ifdef __STDC__
41821 # include <limits.h>
41822 #else
41823 # include <assert.h>
41824 #endif
41825
41826 #undef $ac_func
41827
41828 /* Override any gcc2 internal prototype to avoid an error.  */
41829 #ifdef __cplusplus
41830 extern "C"
41831 {
41832 #endif
41833 /* We use char because int might match the return type of a gcc2
41834    builtin and then its argument prototype would still apply.  */
41835 char $ac_func ();
41836 /* The GNU C library defines this for functions which it implements
41837     to always fail with ENOSYS.  Some functions are actually named
41838     something starting with __ and the normal name is an alias.  */
41839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41840 choke me
41841 #else
41842 char (*f) () = $ac_func;
41843 #endif
41844 #ifdef __cplusplus
41845 }
41846 #endif
41847
41848 int
41849 main ()
41850 {
41851 return f != $ac_func;
41852   ;
41853   return 0;
41854 }
41855 _ACEOF
41856 rm -f conftest.$ac_objext conftest$ac_exeext
41857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41858   (eval $ac_link) 2>conftest.er1
41859   ac_status=$?
41860   grep -v '^ *+' conftest.er1 >conftest.err
41861   rm -f conftest.er1
41862   cat conftest.err >&5
41863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41864   (exit $ac_status); } &&
41865          { ac_try='test -z "$ac_c_werror_flag"
41866                          || test ! -s conftest.err'
41867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868   (eval $ac_try) 2>&5
41869   ac_status=$?
41870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871   (exit $ac_status); }; } &&
41872          { ac_try='test -s conftest$ac_exeext'
41873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874   (eval $ac_try) 2>&5
41875   ac_status=$?
41876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877   (exit $ac_status); }; }; then
41878   eval "$as_ac_var=yes"
41879 else
41880   echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41882
41883 eval "$as_ac_var=no"
41884 fi
41885 rm -f conftest.err conftest.$ac_objext \
41886       conftest$ac_exeext conftest.$ac_ext
41887 fi
41888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41890 if test `eval echo '${'$as_ac_var'}'` = yes; then
41891   cat >>confdefs.h <<_ACEOF
41892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41893 _ACEOF
41894
41895 fi
41896 done
41897
41898     fi
41899   fi
41900
41901
41902
41903   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41904 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41905   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41906     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41907   echo $ECHO_N "(cached) $ECHO_C" >&6
41908 else
41909
41910
41911
41912       ac_ext=cc
41913 ac_cpp='$CXXCPP $CPPFLAGS'
41914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41917
41918       cat >conftest.$ac_ext <<_ACEOF
41919 /* confdefs.h.  */
41920 _ACEOF
41921 cat confdefs.h >>conftest.$ac_ext
41922 cat >>conftest.$ac_ext <<_ACEOF
41923 /* end confdefs.h.  */
41924 #include <math.h>
41925 int
41926 main ()
41927 {
41928  copysignl(0, 0);
41929   ;
41930   return 0;
41931 }
41932 _ACEOF
41933 rm -f conftest.$ac_objext
41934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41935   (eval $ac_compile) 2>conftest.er1
41936   ac_status=$?
41937   grep -v '^ *+' conftest.er1 >conftest.err
41938   rm -f conftest.er1
41939   cat conftest.err >&5
41940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941   (exit $ac_status); } &&
41942          { ac_try='test -z "$ac_cxx_werror_flag"
41943                          || test ! -s conftest.err'
41944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41945   (eval $ac_try) 2>&5
41946   ac_status=$?
41947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948   (exit $ac_status); }; } &&
41949          { ac_try='test -s conftest.$ac_objext'
41950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41951   (eval $ac_try) 2>&5
41952   ac_status=$?
41953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41954   (exit $ac_status); }; }; then
41955   glibcxx_cv_func_copysignl_use=yes
41956 else
41957   echo "$as_me: failed program was:" >&5
41958 sed 's/^/| /' conftest.$ac_ext >&5
41959
41960 glibcxx_cv_func_copysignl_use=no
41961 fi
41962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41963       ac_ext=c
41964 ac_cpp='$CPP $CPPFLAGS'
41965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41968
41969
41970 fi
41971
41972   fi
41973   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41974 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41975
41976   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41977
41978 for ac_func in copysignl
41979 do
41980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41981 echo "$as_me:$LINENO: checking for $ac_func" >&5
41982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41983 if eval "test \"\${$as_ac_var+set}\" = set"; then
41984   echo $ECHO_N "(cached) $ECHO_C" >&6
41985 else
41986   if test x$gcc_no_link = xyes; then
41987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41989    { (exit 1); exit 1; }; }
41990 fi
41991 cat >conftest.$ac_ext <<_ACEOF
41992 /* confdefs.h.  */
41993 _ACEOF
41994 cat confdefs.h >>conftest.$ac_ext
41995 cat >>conftest.$ac_ext <<_ACEOF
41996 /* end confdefs.h.  */
41997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41999 #define $ac_func innocuous_$ac_func
42000
42001 /* System header to define __stub macros and hopefully few prototypes,
42002     which can conflict with char $ac_func (); below.
42003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42004     <limits.h> exists even on freestanding compilers.  */
42005
42006 #ifdef __STDC__
42007 # include <limits.h>
42008 #else
42009 # include <assert.h>
42010 #endif
42011
42012 #undef $ac_func
42013
42014 /* Override any gcc2 internal prototype to avoid an error.  */
42015 #ifdef __cplusplus
42016 extern "C"
42017 {
42018 #endif
42019 /* We use char because int might match the return type of a gcc2
42020    builtin and then its argument prototype would still apply.  */
42021 char $ac_func ();
42022 /* The GNU C library defines this for functions which it implements
42023     to always fail with ENOSYS.  Some functions are actually named
42024     something starting with __ and the normal name is an alias.  */
42025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42026 choke me
42027 #else
42028 char (*f) () = $ac_func;
42029 #endif
42030 #ifdef __cplusplus
42031 }
42032 #endif
42033
42034 int
42035 main ()
42036 {
42037 return f != $ac_func;
42038   ;
42039   return 0;
42040 }
42041 _ACEOF
42042 rm -f conftest.$ac_objext conftest$ac_exeext
42043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42044   (eval $ac_link) 2>conftest.er1
42045   ac_status=$?
42046   grep -v '^ *+' conftest.er1 >conftest.err
42047   rm -f conftest.er1
42048   cat conftest.err >&5
42049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42050   (exit $ac_status); } &&
42051          { ac_try='test -z "$ac_c_werror_flag"
42052                          || test ! -s conftest.err'
42053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42054   (eval $ac_try) 2>&5
42055   ac_status=$?
42056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057   (exit $ac_status); }; } &&
42058          { ac_try='test -s conftest$ac_exeext'
42059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42060   (eval $ac_try) 2>&5
42061   ac_status=$?
42062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42063   (exit $ac_status); }; }; then
42064   eval "$as_ac_var=yes"
42065 else
42066   echo "$as_me: failed program was:" >&5
42067 sed 's/^/| /' conftest.$ac_ext >&5
42068
42069 eval "$as_ac_var=no"
42070 fi
42071 rm -f conftest.err conftest.$ac_objext \
42072       conftest$ac_exeext conftest.$ac_ext
42073 fi
42074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42076 if test `eval echo '${'$as_ac_var'}'` = yes; then
42077   cat >>confdefs.h <<_ACEOF
42078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42079 _ACEOF
42080
42081 fi
42082 done
42083
42084   else
42085
42086   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42087 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42088   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42089     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42090   echo $ECHO_N "(cached) $ECHO_C" >&6
42091 else
42092
42093
42094
42095       ac_ext=cc
42096 ac_cpp='$CXXCPP $CPPFLAGS'
42097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42100
42101       cat >conftest.$ac_ext <<_ACEOF
42102 /* confdefs.h.  */
42103 _ACEOF
42104 cat confdefs.h >>conftest.$ac_ext
42105 cat >>conftest.$ac_ext <<_ACEOF
42106 /* end confdefs.h.  */
42107 #include <math.h>
42108 int
42109 main ()
42110 {
42111  _copysignl(0, 0);
42112   ;
42113   return 0;
42114 }
42115 _ACEOF
42116 rm -f conftest.$ac_objext
42117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42118   (eval $ac_compile) 2>conftest.er1
42119   ac_status=$?
42120   grep -v '^ *+' conftest.er1 >conftest.err
42121   rm -f conftest.er1
42122   cat conftest.err >&5
42123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42124   (exit $ac_status); } &&
42125          { ac_try='test -z "$ac_cxx_werror_flag"
42126                          || test ! -s conftest.err'
42127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42128   (eval $ac_try) 2>&5
42129   ac_status=$?
42130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42131   (exit $ac_status); }; } &&
42132          { ac_try='test -s conftest.$ac_objext'
42133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42134   (eval $ac_try) 2>&5
42135   ac_status=$?
42136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137   (exit $ac_status); }; }; then
42138   glibcxx_cv_func__copysignl_use=yes
42139 else
42140   echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.$ac_ext >&5
42142
42143 glibcxx_cv_func__copysignl_use=no
42144 fi
42145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42146       ac_ext=c
42147 ac_cpp='$CPP $CPPFLAGS'
42148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42151
42152
42153 fi
42154
42155   fi
42156   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42157 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42158
42159     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42160
42161 for ac_func in _copysignl
42162 do
42163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42164 echo "$as_me:$LINENO: checking for $ac_func" >&5
42165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42166 if eval "test \"\${$as_ac_var+set}\" = set"; then
42167   echo $ECHO_N "(cached) $ECHO_C" >&6
42168 else
42169   if test x$gcc_no_link = xyes; then
42170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42172    { (exit 1); exit 1; }; }
42173 fi
42174 cat >conftest.$ac_ext <<_ACEOF
42175 /* confdefs.h.  */
42176 _ACEOF
42177 cat confdefs.h >>conftest.$ac_ext
42178 cat >>conftest.$ac_ext <<_ACEOF
42179 /* end confdefs.h.  */
42180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42182 #define $ac_func innocuous_$ac_func
42183
42184 /* System header to define __stub macros and hopefully few prototypes,
42185     which can conflict with char $ac_func (); below.
42186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42187     <limits.h> exists even on freestanding compilers.  */
42188
42189 #ifdef __STDC__
42190 # include <limits.h>
42191 #else
42192 # include <assert.h>
42193 #endif
42194
42195 #undef $ac_func
42196
42197 /* Override any gcc2 internal prototype to avoid an error.  */
42198 #ifdef __cplusplus
42199 extern "C"
42200 {
42201 #endif
42202 /* We use char because int might match the return type of a gcc2
42203    builtin and then its argument prototype would still apply.  */
42204 char $ac_func ();
42205 /* The GNU C library defines this for functions which it implements
42206     to always fail with ENOSYS.  Some functions are actually named
42207     something starting with __ and the normal name is an alias.  */
42208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42209 choke me
42210 #else
42211 char (*f) () = $ac_func;
42212 #endif
42213 #ifdef __cplusplus
42214 }
42215 #endif
42216
42217 int
42218 main ()
42219 {
42220 return f != $ac_func;
42221   ;
42222   return 0;
42223 }
42224 _ACEOF
42225 rm -f conftest.$ac_objext conftest$ac_exeext
42226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42227   (eval $ac_link) 2>conftest.er1
42228   ac_status=$?
42229   grep -v '^ *+' conftest.er1 >conftest.err
42230   rm -f conftest.er1
42231   cat conftest.err >&5
42232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233   (exit $ac_status); } &&
42234          { ac_try='test -z "$ac_c_werror_flag"
42235                          || test ! -s conftest.err'
42236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42237   (eval $ac_try) 2>&5
42238   ac_status=$?
42239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240   (exit $ac_status); }; } &&
42241          { ac_try='test -s conftest$ac_exeext'
42242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42243   (eval $ac_try) 2>&5
42244   ac_status=$?
42245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42246   (exit $ac_status); }; }; then
42247   eval "$as_ac_var=yes"
42248 else
42249   echo "$as_me: failed program was:" >&5
42250 sed 's/^/| /' conftest.$ac_ext >&5
42251
42252 eval "$as_ac_var=no"
42253 fi
42254 rm -f conftest.err conftest.$ac_objext \
42255       conftest$ac_exeext conftest.$ac_ext
42256 fi
42257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42259 if test `eval echo '${'$as_ac_var'}'` = yes; then
42260   cat >>confdefs.h <<_ACEOF
42261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42262 _ACEOF
42263
42264 fi
42265 done
42266
42267     fi
42268   fi
42269
42270
42271
42272   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42273 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42274   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42275     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42276   echo $ECHO_N "(cached) $ECHO_C" >&6
42277 else
42278
42279
42280
42281       ac_ext=cc
42282 ac_cpp='$CXXCPP $CPPFLAGS'
42283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42286
42287       cat >conftest.$ac_ext <<_ACEOF
42288 /* confdefs.h.  */
42289 _ACEOF
42290 cat confdefs.h >>conftest.$ac_ext
42291 cat >>conftest.$ac_ext <<_ACEOF
42292 /* end confdefs.h.  */
42293 #include <math.h>
42294 int
42295 main ()
42296 {
42297  atan2l(0, 0);
42298   ;
42299   return 0;
42300 }
42301 _ACEOF
42302 rm -f conftest.$ac_objext
42303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42304   (eval $ac_compile) 2>conftest.er1
42305   ac_status=$?
42306   grep -v '^ *+' conftest.er1 >conftest.err
42307   rm -f conftest.er1
42308   cat conftest.err >&5
42309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310   (exit $ac_status); } &&
42311          { ac_try='test -z "$ac_cxx_werror_flag"
42312                          || test ! -s conftest.err'
42313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42314   (eval $ac_try) 2>&5
42315   ac_status=$?
42316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317   (exit $ac_status); }; } &&
42318          { ac_try='test -s conftest.$ac_objext'
42319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42320   (eval $ac_try) 2>&5
42321   ac_status=$?
42322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323   (exit $ac_status); }; }; then
42324   glibcxx_cv_func_atan2l_use=yes
42325 else
42326   echo "$as_me: failed program was:" >&5
42327 sed 's/^/| /' conftest.$ac_ext >&5
42328
42329 glibcxx_cv_func_atan2l_use=no
42330 fi
42331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42332       ac_ext=c
42333 ac_cpp='$CPP $CPPFLAGS'
42334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42337
42338
42339 fi
42340
42341   fi
42342   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42343 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42344
42345   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42346
42347 for ac_func in atan2l
42348 do
42349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42350 echo "$as_me:$LINENO: checking for $ac_func" >&5
42351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42352 if eval "test \"\${$as_ac_var+set}\" = set"; then
42353   echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355   if test x$gcc_no_link = xyes; then
42356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42358    { (exit 1); exit 1; }; }
42359 fi
42360 cat >conftest.$ac_ext <<_ACEOF
42361 /* confdefs.h.  */
42362 _ACEOF
42363 cat confdefs.h >>conftest.$ac_ext
42364 cat >>conftest.$ac_ext <<_ACEOF
42365 /* end confdefs.h.  */
42366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42368 #define $ac_func innocuous_$ac_func
42369
42370 /* System header to define __stub macros and hopefully few prototypes,
42371     which can conflict with char $ac_func (); below.
42372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42373     <limits.h> exists even on freestanding compilers.  */
42374
42375 #ifdef __STDC__
42376 # include <limits.h>
42377 #else
42378 # include <assert.h>
42379 #endif
42380
42381 #undef $ac_func
42382
42383 /* Override any gcc2 internal prototype to avoid an error.  */
42384 #ifdef __cplusplus
42385 extern "C"
42386 {
42387 #endif
42388 /* We use char because int might match the return type of a gcc2
42389    builtin and then its argument prototype would still apply.  */
42390 char $ac_func ();
42391 /* The GNU C library defines this for functions which it implements
42392     to always fail with ENOSYS.  Some functions are actually named
42393     something starting with __ and the normal name is an alias.  */
42394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42395 choke me
42396 #else
42397 char (*f) () = $ac_func;
42398 #endif
42399 #ifdef __cplusplus
42400 }
42401 #endif
42402
42403 int
42404 main ()
42405 {
42406 return f != $ac_func;
42407   ;
42408   return 0;
42409 }
42410 _ACEOF
42411 rm -f conftest.$ac_objext conftest$ac_exeext
42412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42413   (eval $ac_link) 2>conftest.er1
42414   ac_status=$?
42415   grep -v '^ *+' conftest.er1 >conftest.err
42416   rm -f conftest.er1
42417   cat conftest.err >&5
42418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419   (exit $ac_status); } &&
42420          { ac_try='test -z "$ac_c_werror_flag"
42421                          || test ! -s conftest.err'
42422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42423   (eval $ac_try) 2>&5
42424   ac_status=$?
42425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42426   (exit $ac_status); }; } &&
42427          { ac_try='test -s conftest$ac_exeext'
42428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429   (eval $ac_try) 2>&5
42430   ac_status=$?
42431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432   (exit $ac_status); }; }; then
42433   eval "$as_ac_var=yes"
42434 else
42435   echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42437
42438 eval "$as_ac_var=no"
42439 fi
42440 rm -f conftest.err conftest.$ac_objext \
42441       conftest$ac_exeext conftest.$ac_ext
42442 fi
42443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42445 if test `eval echo '${'$as_ac_var'}'` = yes; then
42446   cat >>confdefs.h <<_ACEOF
42447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42448 _ACEOF
42449
42450 fi
42451 done
42452
42453   else
42454
42455   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42456 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42457   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42458     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42459   echo $ECHO_N "(cached) $ECHO_C" >&6
42460 else
42461
42462
42463
42464       ac_ext=cc
42465 ac_cpp='$CXXCPP $CPPFLAGS'
42466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42469
42470       cat >conftest.$ac_ext <<_ACEOF
42471 /* confdefs.h.  */
42472 _ACEOF
42473 cat confdefs.h >>conftest.$ac_ext
42474 cat >>conftest.$ac_ext <<_ACEOF
42475 /* end confdefs.h.  */
42476 #include <math.h>
42477 int
42478 main ()
42479 {
42480  _atan2l(0, 0);
42481   ;
42482   return 0;
42483 }
42484 _ACEOF
42485 rm -f conftest.$ac_objext
42486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42487   (eval $ac_compile) 2>conftest.er1
42488   ac_status=$?
42489   grep -v '^ *+' conftest.er1 >conftest.err
42490   rm -f conftest.er1
42491   cat conftest.err >&5
42492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493   (exit $ac_status); } &&
42494          { ac_try='test -z "$ac_cxx_werror_flag"
42495                          || test ! -s conftest.err'
42496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42497   (eval $ac_try) 2>&5
42498   ac_status=$?
42499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500   (exit $ac_status); }; } &&
42501          { ac_try='test -s conftest.$ac_objext'
42502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42503   (eval $ac_try) 2>&5
42504   ac_status=$?
42505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506   (exit $ac_status); }; }; then
42507   glibcxx_cv_func__atan2l_use=yes
42508 else
42509   echo "$as_me: failed program was:" >&5
42510 sed 's/^/| /' conftest.$ac_ext >&5
42511
42512 glibcxx_cv_func__atan2l_use=no
42513 fi
42514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42515       ac_ext=c
42516 ac_cpp='$CPP $CPPFLAGS'
42517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42520
42521
42522 fi
42523
42524   fi
42525   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42526 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42527
42528     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42529
42530 for ac_func in _atan2l
42531 do
42532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42533 echo "$as_me:$LINENO: checking for $ac_func" >&5
42534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42535 if eval "test \"\${$as_ac_var+set}\" = set"; then
42536   echo $ECHO_N "(cached) $ECHO_C" >&6
42537 else
42538   if test x$gcc_no_link = xyes; then
42539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42541    { (exit 1); exit 1; }; }
42542 fi
42543 cat >conftest.$ac_ext <<_ACEOF
42544 /* confdefs.h.  */
42545 _ACEOF
42546 cat confdefs.h >>conftest.$ac_ext
42547 cat >>conftest.$ac_ext <<_ACEOF
42548 /* end confdefs.h.  */
42549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42551 #define $ac_func innocuous_$ac_func
42552
42553 /* System header to define __stub macros and hopefully few prototypes,
42554     which can conflict with char $ac_func (); below.
42555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42556     <limits.h> exists even on freestanding compilers.  */
42557
42558 #ifdef __STDC__
42559 # include <limits.h>
42560 #else
42561 # include <assert.h>
42562 #endif
42563
42564 #undef $ac_func
42565
42566 /* Override any gcc2 internal prototype to avoid an error.  */
42567 #ifdef __cplusplus
42568 extern "C"
42569 {
42570 #endif
42571 /* We use char because int might match the return type of a gcc2
42572    builtin and then its argument prototype would still apply.  */
42573 char $ac_func ();
42574 /* The GNU C library defines this for functions which it implements
42575     to always fail with ENOSYS.  Some functions are actually named
42576     something starting with __ and the normal name is an alias.  */
42577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42578 choke me
42579 #else
42580 char (*f) () = $ac_func;
42581 #endif
42582 #ifdef __cplusplus
42583 }
42584 #endif
42585
42586 int
42587 main ()
42588 {
42589 return f != $ac_func;
42590   ;
42591   return 0;
42592 }
42593 _ACEOF
42594 rm -f conftest.$ac_objext conftest$ac_exeext
42595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42596   (eval $ac_link) 2>conftest.er1
42597   ac_status=$?
42598   grep -v '^ *+' conftest.er1 >conftest.err
42599   rm -f conftest.er1
42600   cat conftest.err >&5
42601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602   (exit $ac_status); } &&
42603          { ac_try='test -z "$ac_c_werror_flag"
42604                          || test ! -s conftest.err'
42605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42606   (eval $ac_try) 2>&5
42607   ac_status=$?
42608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42609   (exit $ac_status); }; } &&
42610          { ac_try='test -s conftest$ac_exeext'
42611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42612   (eval $ac_try) 2>&5
42613   ac_status=$?
42614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615   (exit $ac_status); }; }; then
42616   eval "$as_ac_var=yes"
42617 else
42618   echo "$as_me: failed program was:" >&5
42619 sed 's/^/| /' conftest.$ac_ext >&5
42620
42621 eval "$as_ac_var=no"
42622 fi
42623 rm -f conftest.err conftest.$ac_objext \
42624       conftest$ac_exeext conftest.$ac_ext
42625 fi
42626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42628 if test `eval echo '${'$as_ac_var'}'` = yes; then
42629   cat >>confdefs.h <<_ACEOF
42630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42631 _ACEOF
42632
42633 fi
42634 done
42635
42636     fi
42637   fi
42638
42639
42640
42641   echo "$as_me:$LINENO: checking for expl declaration" >&5
42642 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42643   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42644     if test "${glibcxx_cv_func_expl_use+set}" = set; then
42645   echo $ECHO_N "(cached) $ECHO_C" >&6
42646 else
42647
42648
42649
42650       ac_ext=cc
42651 ac_cpp='$CXXCPP $CPPFLAGS'
42652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42655
42656       cat >conftest.$ac_ext <<_ACEOF
42657 /* confdefs.h.  */
42658 _ACEOF
42659 cat confdefs.h >>conftest.$ac_ext
42660 cat >>conftest.$ac_ext <<_ACEOF
42661 /* end confdefs.h.  */
42662 #include <math.h>
42663                       #ifdef HAVE_IEEEFP_H
42664                       #include <ieeefp.h>
42665                       #endif
42666
42667 int
42668 main ()
42669 {
42670  expl(0);
42671   ;
42672   return 0;
42673 }
42674 _ACEOF
42675 rm -f conftest.$ac_objext
42676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42677   (eval $ac_compile) 2>conftest.er1
42678   ac_status=$?
42679   grep -v '^ *+' conftest.er1 >conftest.err
42680   rm -f conftest.er1
42681   cat conftest.err >&5
42682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683   (exit $ac_status); } &&
42684          { ac_try='test -z "$ac_cxx_werror_flag"
42685                          || test ! -s conftest.err'
42686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42687   (eval $ac_try) 2>&5
42688   ac_status=$?
42689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690   (exit $ac_status); }; } &&
42691          { ac_try='test -s conftest.$ac_objext'
42692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42693   (eval $ac_try) 2>&5
42694   ac_status=$?
42695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696   (exit $ac_status); }; }; then
42697   glibcxx_cv_func_expl_use=yes
42698 else
42699   echo "$as_me: failed program was:" >&5
42700 sed 's/^/| /' conftest.$ac_ext >&5
42701
42702 glibcxx_cv_func_expl_use=no
42703 fi
42704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42705       ac_ext=c
42706 ac_cpp='$CPP $CPPFLAGS'
42707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42710
42711
42712 fi
42713
42714   fi
42715   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42716 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42717
42718   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42719
42720 for ac_func in expl
42721 do
42722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42723 echo "$as_me:$LINENO: checking for $ac_func" >&5
42724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42725 if eval "test \"\${$as_ac_var+set}\" = set"; then
42726   echo $ECHO_N "(cached) $ECHO_C" >&6
42727 else
42728   if test x$gcc_no_link = xyes; then
42729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42731    { (exit 1); exit 1; }; }
42732 fi
42733 cat >conftest.$ac_ext <<_ACEOF
42734 /* confdefs.h.  */
42735 _ACEOF
42736 cat confdefs.h >>conftest.$ac_ext
42737 cat >>conftest.$ac_ext <<_ACEOF
42738 /* end confdefs.h.  */
42739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42741 #define $ac_func innocuous_$ac_func
42742
42743 /* System header to define __stub macros and hopefully few prototypes,
42744     which can conflict with char $ac_func (); below.
42745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42746     <limits.h> exists even on freestanding compilers.  */
42747
42748 #ifdef __STDC__
42749 # include <limits.h>
42750 #else
42751 # include <assert.h>
42752 #endif
42753
42754 #undef $ac_func
42755
42756 /* Override any gcc2 internal prototype to avoid an error.  */
42757 #ifdef __cplusplus
42758 extern "C"
42759 {
42760 #endif
42761 /* We use char because int might match the return type of a gcc2
42762    builtin and then its argument prototype would still apply.  */
42763 char $ac_func ();
42764 /* The GNU C library defines this for functions which it implements
42765     to always fail with ENOSYS.  Some functions are actually named
42766     something starting with __ and the normal name is an alias.  */
42767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42768 choke me
42769 #else
42770 char (*f) () = $ac_func;
42771 #endif
42772 #ifdef __cplusplus
42773 }
42774 #endif
42775
42776 int
42777 main ()
42778 {
42779 return f != $ac_func;
42780   ;
42781   return 0;
42782 }
42783 _ACEOF
42784 rm -f conftest.$ac_objext conftest$ac_exeext
42785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42786   (eval $ac_link) 2>conftest.er1
42787   ac_status=$?
42788   grep -v '^ *+' conftest.er1 >conftest.err
42789   rm -f conftest.er1
42790   cat conftest.err >&5
42791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792   (exit $ac_status); } &&
42793          { ac_try='test -z "$ac_c_werror_flag"
42794                          || test ! -s conftest.err'
42795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42796   (eval $ac_try) 2>&5
42797   ac_status=$?
42798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799   (exit $ac_status); }; } &&
42800          { ac_try='test -s conftest$ac_exeext'
42801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42802   (eval $ac_try) 2>&5
42803   ac_status=$?
42804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805   (exit $ac_status); }; }; then
42806   eval "$as_ac_var=yes"
42807 else
42808   echo "$as_me: failed program was:" >&5
42809 sed 's/^/| /' conftest.$ac_ext >&5
42810
42811 eval "$as_ac_var=no"
42812 fi
42813 rm -f conftest.err conftest.$ac_objext \
42814       conftest$ac_exeext conftest.$ac_ext
42815 fi
42816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42818 if test `eval echo '${'$as_ac_var'}'` = yes; then
42819   cat >>confdefs.h <<_ACEOF
42820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42821 _ACEOF
42822
42823 fi
42824 done
42825
42826   else
42827
42828   echo "$as_me:$LINENO: checking for _expl declaration" >&5
42829 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42830   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42831     if test "${glibcxx_cv_func__expl_use+set}" = set; then
42832   echo $ECHO_N "(cached) $ECHO_C" >&6
42833 else
42834
42835
42836
42837       ac_ext=cc
42838 ac_cpp='$CXXCPP $CPPFLAGS'
42839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42842
42843       cat >conftest.$ac_ext <<_ACEOF
42844 /* confdefs.h.  */
42845 _ACEOF
42846 cat confdefs.h >>conftest.$ac_ext
42847 cat >>conftest.$ac_ext <<_ACEOF
42848 /* end confdefs.h.  */
42849 #include <math.h>
42850                       #ifdef HAVE_IEEEFP_H
42851                       #include <ieeefp.h>
42852                       #endif
42853
42854 int
42855 main ()
42856 {
42857  _expl(0);
42858   ;
42859   return 0;
42860 }
42861 _ACEOF
42862 rm -f conftest.$ac_objext
42863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42864   (eval $ac_compile) 2>conftest.er1
42865   ac_status=$?
42866   grep -v '^ *+' conftest.er1 >conftest.err
42867   rm -f conftest.er1
42868   cat conftest.err >&5
42869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42870   (exit $ac_status); } &&
42871          { ac_try='test -z "$ac_cxx_werror_flag"
42872                          || test ! -s conftest.err'
42873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42874   (eval $ac_try) 2>&5
42875   ac_status=$?
42876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42877   (exit $ac_status); }; } &&
42878          { ac_try='test -s conftest.$ac_objext'
42879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42880   (eval $ac_try) 2>&5
42881   ac_status=$?
42882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42883   (exit $ac_status); }; }; then
42884   glibcxx_cv_func__expl_use=yes
42885 else
42886   echo "$as_me: failed program was:" >&5
42887 sed 's/^/| /' conftest.$ac_ext >&5
42888
42889 glibcxx_cv_func__expl_use=no
42890 fi
42891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42892       ac_ext=c
42893 ac_cpp='$CPP $CPPFLAGS'
42894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42897
42898
42899 fi
42900
42901   fi
42902   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42903 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42904
42905     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42906
42907 for ac_func in _expl
42908 do
42909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42910 echo "$as_me:$LINENO: checking for $ac_func" >&5
42911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42912 if eval "test \"\${$as_ac_var+set}\" = set"; then
42913   echo $ECHO_N "(cached) $ECHO_C" >&6
42914 else
42915   if test x$gcc_no_link = xyes; then
42916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42918    { (exit 1); exit 1; }; }
42919 fi
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h.  */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h.  */
42926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42927    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42928 #define $ac_func innocuous_$ac_func
42929
42930 /* System header to define __stub macros and hopefully few prototypes,
42931     which can conflict with char $ac_func (); below.
42932     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42933     <limits.h> exists even on freestanding compilers.  */
42934
42935 #ifdef __STDC__
42936 # include <limits.h>
42937 #else
42938 # include <assert.h>
42939 #endif
42940
42941 #undef $ac_func
42942
42943 /* Override any gcc2 internal prototype to avoid an error.  */
42944 #ifdef __cplusplus
42945 extern "C"
42946 {
42947 #endif
42948 /* We use char because int might match the return type of a gcc2
42949    builtin and then its argument prototype would still apply.  */
42950 char $ac_func ();
42951 /* The GNU C library defines this for functions which it implements
42952     to always fail with ENOSYS.  Some functions are actually named
42953     something starting with __ and the normal name is an alias.  */
42954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42955 choke me
42956 #else
42957 char (*f) () = $ac_func;
42958 #endif
42959 #ifdef __cplusplus
42960 }
42961 #endif
42962
42963 int
42964 main ()
42965 {
42966 return f != $ac_func;
42967   ;
42968   return 0;
42969 }
42970 _ACEOF
42971 rm -f conftest.$ac_objext conftest$ac_exeext
42972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42973   (eval $ac_link) 2>conftest.er1
42974   ac_status=$?
42975   grep -v '^ *+' conftest.er1 >conftest.err
42976   rm -f conftest.er1
42977   cat conftest.err >&5
42978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979   (exit $ac_status); } &&
42980          { ac_try='test -z "$ac_c_werror_flag"
42981                          || test ! -s conftest.err'
42982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42983   (eval $ac_try) 2>&5
42984   ac_status=$?
42985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986   (exit $ac_status); }; } &&
42987          { ac_try='test -s conftest$ac_exeext'
42988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42989   (eval $ac_try) 2>&5
42990   ac_status=$?
42991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42992   (exit $ac_status); }; }; then
42993   eval "$as_ac_var=yes"
42994 else
42995   echo "$as_me: failed program was:" >&5
42996 sed 's/^/| /' conftest.$ac_ext >&5
42997
42998 eval "$as_ac_var=no"
42999 fi
43000 rm -f conftest.err conftest.$ac_objext \
43001       conftest$ac_exeext conftest.$ac_ext
43002 fi
43003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43005 if test `eval echo '${'$as_ac_var'}'` = yes; then
43006   cat >>confdefs.h <<_ACEOF
43007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43008 _ACEOF
43009
43010 fi
43011 done
43012
43013     fi
43014   fi
43015
43016
43017
43018   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43019 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43020   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43021     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43022   echo $ECHO_N "(cached) $ECHO_C" >&6
43023 else
43024
43025
43026
43027       ac_ext=cc
43028 ac_cpp='$CXXCPP $CPPFLAGS'
43029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43032
43033       cat >conftest.$ac_ext <<_ACEOF
43034 /* confdefs.h.  */
43035 _ACEOF
43036 cat confdefs.h >>conftest.$ac_ext
43037 cat >>conftest.$ac_ext <<_ACEOF
43038 /* end confdefs.h.  */
43039 #include <math.h>
43040                       #ifdef HAVE_IEEEFP_H
43041                       #include <ieeefp.h>
43042                       #endif
43043
43044 int
43045 main ()
43046 {
43047  fabsl(0);
43048   ;
43049   return 0;
43050 }
43051 _ACEOF
43052 rm -f conftest.$ac_objext
43053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43054   (eval $ac_compile) 2>conftest.er1
43055   ac_status=$?
43056   grep -v '^ *+' conftest.er1 >conftest.err
43057   rm -f conftest.er1
43058   cat conftest.err >&5
43059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43060   (exit $ac_status); } &&
43061          { ac_try='test -z "$ac_cxx_werror_flag"
43062                          || test ! -s conftest.err'
43063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43064   (eval $ac_try) 2>&5
43065   ac_status=$?
43066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067   (exit $ac_status); }; } &&
43068          { ac_try='test -s conftest.$ac_objext'
43069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43070   (eval $ac_try) 2>&5
43071   ac_status=$?
43072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073   (exit $ac_status); }; }; then
43074   glibcxx_cv_func_fabsl_use=yes
43075 else
43076   echo "$as_me: failed program was:" >&5
43077 sed 's/^/| /' conftest.$ac_ext >&5
43078
43079 glibcxx_cv_func_fabsl_use=no
43080 fi
43081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43082       ac_ext=c
43083 ac_cpp='$CPP $CPPFLAGS'
43084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43087
43088
43089 fi
43090
43091   fi
43092   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43093 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43094
43095   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43096
43097 for ac_func in fabsl
43098 do
43099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43100 echo "$as_me:$LINENO: checking for $ac_func" >&5
43101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43102 if eval "test \"\${$as_ac_var+set}\" = set"; then
43103   echo $ECHO_N "(cached) $ECHO_C" >&6
43104 else
43105   if test x$gcc_no_link = xyes; then
43106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43108    { (exit 1); exit 1; }; }
43109 fi
43110 cat >conftest.$ac_ext <<_ACEOF
43111 /* confdefs.h.  */
43112 _ACEOF
43113 cat confdefs.h >>conftest.$ac_ext
43114 cat >>conftest.$ac_ext <<_ACEOF
43115 /* end confdefs.h.  */
43116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43118 #define $ac_func innocuous_$ac_func
43119
43120 /* System header to define __stub macros and hopefully few prototypes,
43121     which can conflict with char $ac_func (); below.
43122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43123     <limits.h> exists even on freestanding compilers.  */
43124
43125 #ifdef __STDC__
43126 # include <limits.h>
43127 #else
43128 # include <assert.h>
43129 #endif
43130
43131 #undef $ac_func
43132
43133 /* Override any gcc2 internal prototype to avoid an error.  */
43134 #ifdef __cplusplus
43135 extern "C"
43136 {
43137 #endif
43138 /* We use char because int might match the return type of a gcc2
43139    builtin and then its argument prototype would still apply.  */
43140 char $ac_func ();
43141 /* The GNU C library defines this for functions which it implements
43142     to always fail with ENOSYS.  Some functions are actually named
43143     something starting with __ and the normal name is an alias.  */
43144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43145 choke me
43146 #else
43147 char (*f) () = $ac_func;
43148 #endif
43149 #ifdef __cplusplus
43150 }
43151 #endif
43152
43153 int
43154 main ()
43155 {
43156 return f != $ac_func;
43157   ;
43158   return 0;
43159 }
43160 _ACEOF
43161 rm -f conftest.$ac_objext conftest$ac_exeext
43162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43163   (eval $ac_link) 2>conftest.er1
43164   ac_status=$?
43165   grep -v '^ *+' conftest.er1 >conftest.err
43166   rm -f conftest.er1
43167   cat conftest.err >&5
43168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169   (exit $ac_status); } &&
43170          { ac_try='test -z "$ac_c_werror_flag"
43171                          || test ! -s conftest.err'
43172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43173   (eval $ac_try) 2>&5
43174   ac_status=$?
43175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176   (exit $ac_status); }; } &&
43177          { ac_try='test -s conftest$ac_exeext'
43178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43179   (eval $ac_try) 2>&5
43180   ac_status=$?
43181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43182   (exit $ac_status); }; }; then
43183   eval "$as_ac_var=yes"
43184 else
43185   echo "$as_me: failed program was:" >&5
43186 sed 's/^/| /' conftest.$ac_ext >&5
43187
43188 eval "$as_ac_var=no"
43189 fi
43190 rm -f conftest.err conftest.$ac_objext \
43191       conftest$ac_exeext conftest.$ac_ext
43192 fi
43193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43195 if test `eval echo '${'$as_ac_var'}'` = yes; then
43196   cat >>confdefs.h <<_ACEOF
43197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43198 _ACEOF
43199
43200 fi
43201 done
43202
43203   else
43204
43205   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43206 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43207   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43208     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43209   echo $ECHO_N "(cached) $ECHO_C" >&6
43210 else
43211
43212
43213
43214       ac_ext=cc
43215 ac_cpp='$CXXCPP $CPPFLAGS'
43216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43219
43220       cat >conftest.$ac_ext <<_ACEOF
43221 /* confdefs.h.  */
43222 _ACEOF
43223 cat confdefs.h >>conftest.$ac_ext
43224 cat >>conftest.$ac_ext <<_ACEOF
43225 /* end confdefs.h.  */
43226 #include <math.h>
43227                       #ifdef HAVE_IEEEFP_H
43228                       #include <ieeefp.h>
43229                       #endif
43230
43231 int
43232 main ()
43233 {
43234  _fabsl(0);
43235   ;
43236   return 0;
43237 }
43238 _ACEOF
43239 rm -f conftest.$ac_objext
43240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43241   (eval $ac_compile) 2>conftest.er1
43242   ac_status=$?
43243   grep -v '^ *+' conftest.er1 >conftest.err
43244   rm -f conftest.er1
43245   cat conftest.err >&5
43246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247   (exit $ac_status); } &&
43248          { ac_try='test -z "$ac_cxx_werror_flag"
43249                          || test ! -s conftest.err'
43250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251   (eval $ac_try) 2>&5
43252   ac_status=$?
43253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254   (exit $ac_status); }; } &&
43255          { ac_try='test -s conftest.$ac_objext'
43256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43257   (eval $ac_try) 2>&5
43258   ac_status=$?
43259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43260   (exit $ac_status); }; }; then
43261   glibcxx_cv_func__fabsl_use=yes
43262 else
43263   echo "$as_me: failed program was:" >&5
43264 sed 's/^/| /' conftest.$ac_ext >&5
43265
43266 glibcxx_cv_func__fabsl_use=no
43267 fi
43268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43269       ac_ext=c
43270 ac_cpp='$CPP $CPPFLAGS'
43271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43274
43275
43276 fi
43277
43278   fi
43279   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43280 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43281
43282     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43283
43284 for ac_func in _fabsl
43285 do
43286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43287 echo "$as_me:$LINENO: checking for $ac_func" >&5
43288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43289 if eval "test \"\${$as_ac_var+set}\" = set"; then
43290   echo $ECHO_N "(cached) $ECHO_C" >&6
43291 else
43292   if test x$gcc_no_link = xyes; then
43293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43295    { (exit 1); exit 1; }; }
43296 fi
43297 cat >conftest.$ac_ext <<_ACEOF
43298 /* confdefs.h.  */
43299 _ACEOF
43300 cat confdefs.h >>conftest.$ac_ext
43301 cat >>conftest.$ac_ext <<_ACEOF
43302 /* end confdefs.h.  */
43303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43305 #define $ac_func innocuous_$ac_func
43306
43307 /* System header to define __stub macros and hopefully few prototypes,
43308     which can conflict with char $ac_func (); below.
43309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43310     <limits.h> exists even on freestanding compilers.  */
43311
43312 #ifdef __STDC__
43313 # include <limits.h>
43314 #else
43315 # include <assert.h>
43316 #endif
43317
43318 #undef $ac_func
43319
43320 /* Override any gcc2 internal prototype to avoid an error.  */
43321 #ifdef __cplusplus
43322 extern "C"
43323 {
43324 #endif
43325 /* We use char because int might match the return type of a gcc2
43326    builtin and then its argument prototype would still apply.  */
43327 char $ac_func ();
43328 /* The GNU C library defines this for functions which it implements
43329     to always fail with ENOSYS.  Some functions are actually named
43330     something starting with __ and the normal name is an alias.  */
43331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43332 choke me
43333 #else
43334 char (*f) () = $ac_func;
43335 #endif
43336 #ifdef __cplusplus
43337 }
43338 #endif
43339
43340 int
43341 main ()
43342 {
43343 return f != $ac_func;
43344   ;
43345   return 0;
43346 }
43347 _ACEOF
43348 rm -f conftest.$ac_objext conftest$ac_exeext
43349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43350   (eval $ac_link) 2>conftest.er1
43351   ac_status=$?
43352   grep -v '^ *+' conftest.er1 >conftest.err
43353   rm -f conftest.er1
43354   cat conftest.err >&5
43355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43356   (exit $ac_status); } &&
43357          { ac_try='test -z "$ac_c_werror_flag"
43358                          || test ! -s conftest.err'
43359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43360   (eval $ac_try) 2>&5
43361   ac_status=$?
43362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363   (exit $ac_status); }; } &&
43364          { ac_try='test -s conftest$ac_exeext'
43365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43366   (eval $ac_try) 2>&5
43367   ac_status=$?
43368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43369   (exit $ac_status); }; }; then
43370   eval "$as_ac_var=yes"
43371 else
43372   echo "$as_me: failed program was:" >&5
43373 sed 's/^/| /' conftest.$ac_ext >&5
43374
43375 eval "$as_ac_var=no"
43376 fi
43377 rm -f conftest.err conftest.$ac_objext \
43378       conftest$ac_exeext conftest.$ac_ext
43379 fi
43380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43382 if test `eval echo '${'$as_ac_var'}'` = yes; then
43383   cat >>confdefs.h <<_ACEOF
43384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43385 _ACEOF
43386
43387 fi
43388 done
43389
43390     fi
43391   fi
43392
43393
43394
43395   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43396 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43397   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43398     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43399   echo $ECHO_N "(cached) $ECHO_C" >&6
43400 else
43401
43402
43403
43404       ac_ext=cc
43405 ac_cpp='$CXXCPP $CPPFLAGS'
43406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43409
43410       cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h.  */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h.  */
43416 #include <math.h>
43417 int
43418 main ()
43419 {
43420  fmodl(0, 0);
43421   ;
43422   return 0;
43423 }
43424 _ACEOF
43425 rm -f conftest.$ac_objext
43426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43427   (eval $ac_compile) 2>conftest.er1
43428   ac_status=$?
43429   grep -v '^ *+' conftest.er1 >conftest.err
43430   rm -f conftest.er1
43431   cat conftest.err >&5
43432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433   (exit $ac_status); } &&
43434          { ac_try='test -z "$ac_cxx_werror_flag"
43435                          || test ! -s conftest.err'
43436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43437   (eval $ac_try) 2>&5
43438   ac_status=$?
43439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440   (exit $ac_status); }; } &&
43441          { ac_try='test -s conftest.$ac_objext'
43442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43443   (eval $ac_try) 2>&5
43444   ac_status=$?
43445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446   (exit $ac_status); }; }; then
43447   glibcxx_cv_func_fmodl_use=yes
43448 else
43449   echo "$as_me: failed program was:" >&5
43450 sed 's/^/| /' conftest.$ac_ext >&5
43451
43452 glibcxx_cv_func_fmodl_use=no
43453 fi
43454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43455       ac_ext=c
43456 ac_cpp='$CPP $CPPFLAGS'
43457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43460
43461
43462 fi
43463
43464   fi
43465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43466 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43467
43468   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43469
43470 for ac_func in fmodl
43471 do
43472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43473 echo "$as_me:$LINENO: checking for $ac_func" >&5
43474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43475 if eval "test \"\${$as_ac_var+set}\" = set"; then
43476   echo $ECHO_N "(cached) $ECHO_C" >&6
43477 else
43478   if test x$gcc_no_link = xyes; then
43479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43481    { (exit 1); exit 1; }; }
43482 fi
43483 cat >conftest.$ac_ext <<_ACEOF
43484 /* confdefs.h.  */
43485 _ACEOF
43486 cat confdefs.h >>conftest.$ac_ext
43487 cat >>conftest.$ac_ext <<_ACEOF
43488 /* end confdefs.h.  */
43489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43491 #define $ac_func innocuous_$ac_func
43492
43493 /* System header to define __stub macros and hopefully few prototypes,
43494     which can conflict with char $ac_func (); below.
43495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43496     <limits.h> exists even on freestanding compilers.  */
43497
43498 #ifdef __STDC__
43499 # include <limits.h>
43500 #else
43501 # include <assert.h>
43502 #endif
43503
43504 #undef $ac_func
43505
43506 /* Override any gcc2 internal prototype to avoid an error.  */
43507 #ifdef __cplusplus
43508 extern "C"
43509 {
43510 #endif
43511 /* We use char because int might match the return type of a gcc2
43512    builtin and then its argument prototype would still apply.  */
43513 char $ac_func ();
43514 /* The GNU C library defines this for functions which it implements
43515     to always fail with ENOSYS.  Some functions are actually named
43516     something starting with __ and the normal name is an alias.  */
43517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43518 choke me
43519 #else
43520 char (*f) () = $ac_func;
43521 #endif
43522 #ifdef __cplusplus
43523 }
43524 #endif
43525
43526 int
43527 main ()
43528 {
43529 return f != $ac_func;
43530   ;
43531   return 0;
43532 }
43533 _ACEOF
43534 rm -f conftest.$ac_objext conftest$ac_exeext
43535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43536   (eval $ac_link) 2>conftest.er1
43537   ac_status=$?
43538   grep -v '^ *+' conftest.er1 >conftest.err
43539   rm -f conftest.er1
43540   cat conftest.err >&5
43541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542   (exit $ac_status); } &&
43543          { ac_try='test -z "$ac_c_werror_flag"
43544                          || test ! -s conftest.err'
43545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43546   (eval $ac_try) 2>&5
43547   ac_status=$?
43548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549   (exit $ac_status); }; } &&
43550          { ac_try='test -s conftest$ac_exeext'
43551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43552   (eval $ac_try) 2>&5
43553   ac_status=$?
43554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555   (exit $ac_status); }; }; then
43556   eval "$as_ac_var=yes"
43557 else
43558   echo "$as_me: failed program was:" >&5
43559 sed 's/^/| /' conftest.$ac_ext >&5
43560
43561 eval "$as_ac_var=no"
43562 fi
43563 rm -f conftest.err conftest.$ac_objext \
43564       conftest$ac_exeext conftest.$ac_ext
43565 fi
43566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43568 if test `eval echo '${'$as_ac_var'}'` = yes; then
43569   cat >>confdefs.h <<_ACEOF
43570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43571 _ACEOF
43572
43573 fi
43574 done
43575
43576   else
43577
43578   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43579 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43580   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43581     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43582   echo $ECHO_N "(cached) $ECHO_C" >&6
43583 else
43584
43585
43586
43587       ac_ext=cc
43588 ac_cpp='$CXXCPP $CPPFLAGS'
43589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43592
43593       cat >conftest.$ac_ext <<_ACEOF
43594 /* confdefs.h.  */
43595 _ACEOF
43596 cat confdefs.h >>conftest.$ac_ext
43597 cat >>conftest.$ac_ext <<_ACEOF
43598 /* end confdefs.h.  */
43599 #include <math.h>
43600 int
43601 main ()
43602 {
43603  _fmodl(0, 0);
43604   ;
43605   return 0;
43606 }
43607 _ACEOF
43608 rm -f conftest.$ac_objext
43609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43610   (eval $ac_compile) 2>conftest.er1
43611   ac_status=$?
43612   grep -v '^ *+' conftest.er1 >conftest.err
43613   rm -f conftest.er1
43614   cat conftest.err >&5
43615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43616   (exit $ac_status); } &&
43617          { ac_try='test -z "$ac_cxx_werror_flag"
43618                          || test ! -s conftest.err'
43619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43620   (eval $ac_try) 2>&5
43621   ac_status=$?
43622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623   (exit $ac_status); }; } &&
43624          { ac_try='test -s conftest.$ac_objext'
43625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43626   (eval $ac_try) 2>&5
43627   ac_status=$?
43628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629   (exit $ac_status); }; }; then
43630   glibcxx_cv_func__fmodl_use=yes
43631 else
43632   echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43634
43635 glibcxx_cv_func__fmodl_use=no
43636 fi
43637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43638       ac_ext=c
43639 ac_cpp='$CPP $CPPFLAGS'
43640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43643
43644
43645 fi
43646
43647   fi
43648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43649 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43650
43651     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43652
43653 for ac_func in _fmodl
43654 do
43655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43656 echo "$as_me:$LINENO: checking for $ac_func" >&5
43657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43658 if eval "test \"\${$as_ac_var+set}\" = set"; then
43659   echo $ECHO_N "(cached) $ECHO_C" >&6
43660 else
43661   if test x$gcc_no_link = xyes; then
43662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43664    { (exit 1); exit 1; }; }
43665 fi
43666 cat >conftest.$ac_ext <<_ACEOF
43667 /* confdefs.h.  */
43668 _ACEOF
43669 cat confdefs.h >>conftest.$ac_ext
43670 cat >>conftest.$ac_ext <<_ACEOF
43671 /* end confdefs.h.  */
43672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43674 #define $ac_func innocuous_$ac_func
43675
43676 /* System header to define __stub macros and hopefully few prototypes,
43677     which can conflict with char $ac_func (); below.
43678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43679     <limits.h> exists even on freestanding compilers.  */
43680
43681 #ifdef __STDC__
43682 # include <limits.h>
43683 #else
43684 # include <assert.h>
43685 #endif
43686
43687 #undef $ac_func
43688
43689 /* Override any gcc2 internal prototype to avoid an error.  */
43690 #ifdef __cplusplus
43691 extern "C"
43692 {
43693 #endif
43694 /* We use char because int might match the return type of a gcc2
43695    builtin and then its argument prototype would still apply.  */
43696 char $ac_func ();
43697 /* The GNU C library defines this for functions which it implements
43698     to always fail with ENOSYS.  Some functions are actually named
43699     something starting with __ and the normal name is an alias.  */
43700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43701 choke me
43702 #else
43703 char (*f) () = $ac_func;
43704 #endif
43705 #ifdef __cplusplus
43706 }
43707 #endif
43708
43709 int
43710 main ()
43711 {
43712 return f != $ac_func;
43713   ;
43714   return 0;
43715 }
43716 _ACEOF
43717 rm -f conftest.$ac_objext conftest$ac_exeext
43718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43719   (eval $ac_link) 2>conftest.er1
43720   ac_status=$?
43721   grep -v '^ *+' conftest.er1 >conftest.err
43722   rm -f conftest.er1
43723   cat conftest.err >&5
43724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725   (exit $ac_status); } &&
43726          { ac_try='test -z "$ac_c_werror_flag"
43727                          || test ! -s conftest.err'
43728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43729   (eval $ac_try) 2>&5
43730   ac_status=$?
43731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732   (exit $ac_status); }; } &&
43733          { ac_try='test -s conftest$ac_exeext'
43734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735   (eval $ac_try) 2>&5
43736   ac_status=$?
43737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738   (exit $ac_status); }; }; then
43739   eval "$as_ac_var=yes"
43740 else
43741   echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744 eval "$as_ac_var=no"
43745 fi
43746 rm -f conftest.err conftest.$ac_objext \
43747       conftest$ac_exeext conftest.$ac_ext
43748 fi
43749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43751 if test `eval echo '${'$as_ac_var'}'` = yes; then
43752   cat >>confdefs.h <<_ACEOF
43753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43754 _ACEOF
43755
43756 fi
43757 done
43758
43759     fi
43760   fi
43761
43762
43763
43764   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43765 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43766   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43767     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43768   echo $ECHO_N "(cached) $ECHO_C" >&6
43769 else
43770
43771
43772
43773       ac_ext=cc
43774 ac_cpp='$CXXCPP $CPPFLAGS'
43775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43778
43779       cat >conftest.$ac_ext <<_ACEOF
43780 /* confdefs.h.  */
43781 _ACEOF
43782 cat confdefs.h >>conftest.$ac_ext
43783 cat >>conftest.$ac_ext <<_ACEOF
43784 /* end confdefs.h.  */
43785 #include <math.h>
43786 int
43787 main ()
43788 {
43789  frexpl(0, 0);
43790   ;
43791   return 0;
43792 }
43793 _ACEOF
43794 rm -f conftest.$ac_objext
43795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43796   (eval $ac_compile) 2>conftest.er1
43797   ac_status=$?
43798   grep -v '^ *+' conftest.er1 >conftest.err
43799   rm -f conftest.er1
43800   cat conftest.err >&5
43801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802   (exit $ac_status); } &&
43803          { ac_try='test -z "$ac_cxx_werror_flag"
43804                          || test ! -s conftest.err'
43805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806   (eval $ac_try) 2>&5
43807   ac_status=$?
43808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809   (exit $ac_status); }; } &&
43810          { ac_try='test -s conftest.$ac_objext'
43811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43812   (eval $ac_try) 2>&5
43813   ac_status=$?
43814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815   (exit $ac_status); }; }; then
43816   glibcxx_cv_func_frexpl_use=yes
43817 else
43818   echo "$as_me: failed program was:" >&5
43819 sed 's/^/| /' conftest.$ac_ext >&5
43820
43821 glibcxx_cv_func_frexpl_use=no
43822 fi
43823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43824       ac_ext=c
43825 ac_cpp='$CPP $CPPFLAGS'
43826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43829
43830
43831 fi
43832
43833   fi
43834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43835 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43836
43837   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43838
43839 for ac_func in frexpl
43840 do
43841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43842 echo "$as_me:$LINENO: checking for $ac_func" >&5
43843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43844 if eval "test \"\${$as_ac_var+set}\" = set"; then
43845   echo $ECHO_N "(cached) $ECHO_C" >&6
43846 else
43847   if test x$gcc_no_link = xyes; then
43848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43850    { (exit 1); exit 1; }; }
43851 fi
43852 cat >conftest.$ac_ext <<_ACEOF
43853 /* confdefs.h.  */
43854 _ACEOF
43855 cat confdefs.h >>conftest.$ac_ext
43856 cat >>conftest.$ac_ext <<_ACEOF
43857 /* end confdefs.h.  */
43858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43860 #define $ac_func innocuous_$ac_func
43861
43862 /* System header to define __stub macros and hopefully few prototypes,
43863     which can conflict with char $ac_func (); below.
43864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43865     <limits.h> exists even on freestanding compilers.  */
43866
43867 #ifdef __STDC__
43868 # include <limits.h>
43869 #else
43870 # include <assert.h>
43871 #endif
43872
43873 #undef $ac_func
43874
43875 /* Override any gcc2 internal prototype to avoid an error.  */
43876 #ifdef __cplusplus
43877 extern "C"
43878 {
43879 #endif
43880 /* We use char because int might match the return type of a gcc2
43881    builtin and then its argument prototype would still apply.  */
43882 char $ac_func ();
43883 /* The GNU C library defines this for functions which it implements
43884     to always fail with ENOSYS.  Some functions are actually named
43885     something starting with __ and the normal name is an alias.  */
43886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43887 choke me
43888 #else
43889 char (*f) () = $ac_func;
43890 #endif
43891 #ifdef __cplusplus
43892 }
43893 #endif
43894
43895 int
43896 main ()
43897 {
43898 return f != $ac_func;
43899   ;
43900   return 0;
43901 }
43902 _ACEOF
43903 rm -f conftest.$ac_objext conftest$ac_exeext
43904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43905   (eval $ac_link) 2>conftest.er1
43906   ac_status=$?
43907   grep -v '^ *+' conftest.er1 >conftest.err
43908   rm -f conftest.er1
43909   cat conftest.err >&5
43910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911   (exit $ac_status); } &&
43912          { ac_try='test -z "$ac_c_werror_flag"
43913                          || test ! -s conftest.err'
43914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43915   (eval $ac_try) 2>&5
43916   ac_status=$?
43917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918   (exit $ac_status); }; } &&
43919          { ac_try='test -s conftest$ac_exeext'
43920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43921   (eval $ac_try) 2>&5
43922   ac_status=$?
43923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924   (exit $ac_status); }; }; then
43925   eval "$as_ac_var=yes"
43926 else
43927   echo "$as_me: failed program was:" >&5
43928 sed 's/^/| /' conftest.$ac_ext >&5
43929
43930 eval "$as_ac_var=no"
43931 fi
43932 rm -f conftest.err conftest.$ac_objext \
43933       conftest$ac_exeext conftest.$ac_ext
43934 fi
43935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43937 if test `eval echo '${'$as_ac_var'}'` = yes; then
43938   cat >>confdefs.h <<_ACEOF
43939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43940 _ACEOF
43941
43942 fi
43943 done
43944
43945   else
43946
43947   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43948 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43949   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43950     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43951   echo $ECHO_N "(cached) $ECHO_C" >&6
43952 else
43953
43954
43955
43956       ac_ext=cc
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961
43962       cat >conftest.$ac_ext <<_ACEOF
43963 /* confdefs.h.  */
43964 _ACEOF
43965 cat confdefs.h >>conftest.$ac_ext
43966 cat >>conftest.$ac_ext <<_ACEOF
43967 /* end confdefs.h.  */
43968 #include <math.h>
43969 int
43970 main ()
43971 {
43972  _frexpl(0, 0);
43973   ;
43974   return 0;
43975 }
43976 _ACEOF
43977 rm -f conftest.$ac_objext
43978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43979   (eval $ac_compile) 2>conftest.er1
43980   ac_status=$?
43981   grep -v '^ *+' conftest.er1 >conftest.err
43982   rm -f conftest.er1
43983   cat conftest.err >&5
43984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985   (exit $ac_status); } &&
43986          { ac_try='test -z "$ac_cxx_werror_flag"
43987                          || test ! -s conftest.err'
43988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989   (eval $ac_try) 2>&5
43990   ac_status=$?
43991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992   (exit $ac_status); }; } &&
43993          { ac_try='test -s conftest.$ac_objext'
43994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43995   (eval $ac_try) 2>&5
43996   ac_status=$?
43997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998   (exit $ac_status); }; }; then
43999   glibcxx_cv_func__frexpl_use=yes
44000 else
44001   echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.$ac_ext >&5
44003
44004 glibcxx_cv_func__frexpl_use=no
44005 fi
44006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44007       ac_ext=c
44008 ac_cpp='$CPP $CPPFLAGS'
44009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44012
44013
44014 fi
44015
44016   fi
44017   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44018 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44019
44020     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44021
44022 for ac_func in _frexpl
44023 do
44024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44025 echo "$as_me:$LINENO: checking for $ac_func" >&5
44026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44027 if eval "test \"\${$as_ac_var+set}\" = set"; then
44028   echo $ECHO_N "(cached) $ECHO_C" >&6
44029 else
44030   if test x$gcc_no_link = xyes; then
44031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44033    { (exit 1); exit 1; }; }
44034 fi
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h.  */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h.  */
44041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44043 #define $ac_func innocuous_$ac_func
44044
44045 /* System header to define __stub macros and hopefully few prototypes,
44046     which can conflict with char $ac_func (); below.
44047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44048     <limits.h> exists even on freestanding compilers.  */
44049
44050 #ifdef __STDC__
44051 # include <limits.h>
44052 #else
44053 # include <assert.h>
44054 #endif
44055
44056 #undef $ac_func
44057
44058 /* Override any gcc2 internal prototype to avoid an error.  */
44059 #ifdef __cplusplus
44060 extern "C"
44061 {
44062 #endif
44063 /* We use char because int might match the return type of a gcc2
44064    builtin and then its argument prototype would still apply.  */
44065 char $ac_func ();
44066 /* The GNU C library defines this for functions which it implements
44067     to always fail with ENOSYS.  Some functions are actually named
44068     something starting with __ and the normal name is an alias.  */
44069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44070 choke me
44071 #else
44072 char (*f) () = $ac_func;
44073 #endif
44074 #ifdef __cplusplus
44075 }
44076 #endif
44077
44078 int
44079 main ()
44080 {
44081 return f != $ac_func;
44082   ;
44083   return 0;
44084 }
44085 _ACEOF
44086 rm -f conftest.$ac_objext conftest$ac_exeext
44087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44088   (eval $ac_link) 2>conftest.er1
44089   ac_status=$?
44090   grep -v '^ *+' conftest.er1 >conftest.err
44091   rm -f conftest.er1
44092   cat conftest.err >&5
44093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094   (exit $ac_status); } &&
44095          { ac_try='test -z "$ac_c_werror_flag"
44096                          || test ! -s conftest.err'
44097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44098   (eval $ac_try) 2>&5
44099   ac_status=$?
44100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44101   (exit $ac_status); }; } &&
44102          { ac_try='test -s conftest$ac_exeext'
44103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44104   (eval $ac_try) 2>&5
44105   ac_status=$?
44106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107   (exit $ac_status); }; }; then
44108   eval "$as_ac_var=yes"
44109 else
44110   echo "$as_me: failed program was:" >&5
44111 sed 's/^/| /' conftest.$ac_ext >&5
44112
44113 eval "$as_ac_var=no"
44114 fi
44115 rm -f conftest.err conftest.$ac_objext \
44116       conftest$ac_exeext conftest.$ac_ext
44117 fi
44118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44120 if test `eval echo '${'$as_ac_var'}'` = yes; then
44121   cat >>confdefs.h <<_ACEOF
44122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44123 _ACEOF
44124
44125 fi
44126 done
44127
44128     fi
44129   fi
44130
44131
44132
44133   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44134 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44135   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44136     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44137   echo $ECHO_N "(cached) $ECHO_C" >&6
44138 else
44139
44140
44141
44142       ac_ext=cc
44143 ac_cpp='$CXXCPP $CPPFLAGS'
44144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44147
44148       cat >conftest.$ac_ext <<_ACEOF
44149 /* confdefs.h.  */
44150 _ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h.  */
44154 #include <math.h>
44155 int
44156 main ()
44157 {
44158  hypotl(0, 0);
44159   ;
44160   return 0;
44161 }
44162 _ACEOF
44163 rm -f conftest.$ac_objext
44164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44165   (eval $ac_compile) 2>conftest.er1
44166   ac_status=$?
44167   grep -v '^ *+' conftest.er1 >conftest.err
44168   rm -f conftest.er1
44169   cat conftest.err >&5
44170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171   (exit $ac_status); } &&
44172          { ac_try='test -z "$ac_cxx_werror_flag"
44173                          || test ! -s conftest.err'
44174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44175   (eval $ac_try) 2>&5
44176   ac_status=$?
44177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44178   (exit $ac_status); }; } &&
44179          { ac_try='test -s conftest.$ac_objext'
44180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44181   (eval $ac_try) 2>&5
44182   ac_status=$?
44183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184   (exit $ac_status); }; }; then
44185   glibcxx_cv_func_hypotl_use=yes
44186 else
44187   echo "$as_me: failed program was:" >&5
44188 sed 's/^/| /' conftest.$ac_ext >&5
44189
44190 glibcxx_cv_func_hypotl_use=no
44191 fi
44192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44193       ac_ext=c
44194 ac_cpp='$CPP $CPPFLAGS'
44195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44198
44199
44200 fi
44201
44202   fi
44203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44204 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44205
44206   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44207
44208 for ac_func in hypotl
44209 do
44210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44211 echo "$as_me:$LINENO: checking for $ac_func" >&5
44212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44213 if eval "test \"\${$as_ac_var+set}\" = set"; then
44214   echo $ECHO_N "(cached) $ECHO_C" >&6
44215 else
44216   if test x$gcc_no_link = xyes; then
44217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44219    { (exit 1); exit 1; }; }
44220 fi
44221 cat >conftest.$ac_ext <<_ACEOF
44222 /* confdefs.h.  */
44223 _ACEOF
44224 cat confdefs.h >>conftest.$ac_ext
44225 cat >>conftest.$ac_ext <<_ACEOF
44226 /* end confdefs.h.  */
44227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44229 #define $ac_func innocuous_$ac_func
44230
44231 /* System header to define __stub macros and hopefully few prototypes,
44232     which can conflict with char $ac_func (); below.
44233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44234     <limits.h> exists even on freestanding compilers.  */
44235
44236 #ifdef __STDC__
44237 # include <limits.h>
44238 #else
44239 # include <assert.h>
44240 #endif
44241
44242 #undef $ac_func
44243
44244 /* Override any gcc2 internal prototype to avoid an error.  */
44245 #ifdef __cplusplus
44246 extern "C"
44247 {
44248 #endif
44249 /* We use char because int might match the return type of a gcc2
44250    builtin and then its argument prototype would still apply.  */
44251 char $ac_func ();
44252 /* The GNU C library defines this for functions which it implements
44253     to always fail with ENOSYS.  Some functions are actually named
44254     something starting with __ and the normal name is an alias.  */
44255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44256 choke me
44257 #else
44258 char (*f) () = $ac_func;
44259 #endif
44260 #ifdef __cplusplus
44261 }
44262 #endif
44263
44264 int
44265 main ()
44266 {
44267 return f != $ac_func;
44268   ;
44269   return 0;
44270 }
44271 _ACEOF
44272 rm -f conftest.$ac_objext conftest$ac_exeext
44273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44274   (eval $ac_link) 2>conftest.er1
44275   ac_status=$?
44276   grep -v '^ *+' conftest.er1 >conftest.err
44277   rm -f conftest.er1
44278   cat conftest.err >&5
44279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44280   (exit $ac_status); } &&
44281          { ac_try='test -z "$ac_c_werror_flag"
44282                          || test ! -s conftest.err'
44283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44284   (eval $ac_try) 2>&5
44285   ac_status=$?
44286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44287   (exit $ac_status); }; } &&
44288          { ac_try='test -s conftest$ac_exeext'
44289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44290   (eval $ac_try) 2>&5
44291   ac_status=$?
44292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293   (exit $ac_status); }; }; then
44294   eval "$as_ac_var=yes"
44295 else
44296   echo "$as_me: failed program was:" >&5
44297 sed 's/^/| /' conftest.$ac_ext >&5
44298
44299 eval "$as_ac_var=no"
44300 fi
44301 rm -f conftest.err conftest.$ac_objext \
44302       conftest$ac_exeext conftest.$ac_ext
44303 fi
44304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44306 if test `eval echo '${'$as_ac_var'}'` = yes; then
44307   cat >>confdefs.h <<_ACEOF
44308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44309 _ACEOF
44310
44311 fi
44312 done
44313
44314   else
44315
44316   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44317 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44318   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44319     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44320   echo $ECHO_N "(cached) $ECHO_C" >&6
44321 else
44322
44323
44324
44325       ac_ext=cc
44326 ac_cpp='$CXXCPP $CPPFLAGS'
44327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44330
44331       cat >conftest.$ac_ext <<_ACEOF
44332 /* confdefs.h.  */
44333 _ACEOF
44334 cat confdefs.h >>conftest.$ac_ext
44335 cat >>conftest.$ac_ext <<_ACEOF
44336 /* end confdefs.h.  */
44337 #include <math.h>
44338 int
44339 main ()
44340 {
44341  _hypotl(0, 0);
44342   ;
44343   return 0;
44344 }
44345 _ACEOF
44346 rm -f conftest.$ac_objext
44347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44348   (eval $ac_compile) 2>conftest.er1
44349   ac_status=$?
44350   grep -v '^ *+' conftest.er1 >conftest.err
44351   rm -f conftest.er1
44352   cat conftest.err >&5
44353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354   (exit $ac_status); } &&
44355          { ac_try='test -z "$ac_cxx_werror_flag"
44356                          || test ! -s conftest.err'
44357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44358   (eval $ac_try) 2>&5
44359   ac_status=$?
44360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361   (exit $ac_status); }; } &&
44362          { ac_try='test -s conftest.$ac_objext'
44363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364   (eval $ac_try) 2>&5
44365   ac_status=$?
44366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367   (exit $ac_status); }; }; then
44368   glibcxx_cv_func__hypotl_use=yes
44369 else
44370   echo "$as_me: failed program was:" >&5
44371 sed 's/^/| /' conftest.$ac_ext >&5
44372
44373 glibcxx_cv_func__hypotl_use=no
44374 fi
44375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44376       ac_ext=c
44377 ac_cpp='$CPP $CPPFLAGS'
44378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44381
44382
44383 fi
44384
44385   fi
44386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44387 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44388
44389     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44390
44391 for ac_func in _hypotl
44392 do
44393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44394 echo "$as_me:$LINENO: checking for $ac_func" >&5
44395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44396 if eval "test \"\${$as_ac_var+set}\" = set"; then
44397   echo $ECHO_N "(cached) $ECHO_C" >&6
44398 else
44399   if test x$gcc_no_link = xyes; then
44400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44402    { (exit 1); exit 1; }; }
44403 fi
44404 cat >conftest.$ac_ext <<_ACEOF
44405 /* confdefs.h.  */
44406 _ACEOF
44407 cat confdefs.h >>conftest.$ac_ext
44408 cat >>conftest.$ac_ext <<_ACEOF
44409 /* end confdefs.h.  */
44410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44412 #define $ac_func innocuous_$ac_func
44413
44414 /* System header to define __stub macros and hopefully few prototypes,
44415     which can conflict with char $ac_func (); below.
44416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44417     <limits.h> exists even on freestanding compilers.  */
44418
44419 #ifdef __STDC__
44420 # include <limits.h>
44421 #else
44422 # include <assert.h>
44423 #endif
44424
44425 #undef $ac_func
44426
44427 /* Override any gcc2 internal prototype to avoid an error.  */
44428 #ifdef __cplusplus
44429 extern "C"
44430 {
44431 #endif
44432 /* We use char because int might match the return type of a gcc2
44433    builtin and then its argument prototype would still apply.  */
44434 char $ac_func ();
44435 /* The GNU C library defines this for functions which it implements
44436     to always fail with ENOSYS.  Some functions are actually named
44437     something starting with __ and the normal name is an alias.  */
44438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44439 choke me
44440 #else
44441 char (*f) () = $ac_func;
44442 #endif
44443 #ifdef __cplusplus
44444 }
44445 #endif
44446
44447 int
44448 main ()
44449 {
44450 return f != $ac_func;
44451   ;
44452   return 0;
44453 }
44454 _ACEOF
44455 rm -f conftest.$ac_objext conftest$ac_exeext
44456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44457   (eval $ac_link) 2>conftest.er1
44458   ac_status=$?
44459   grep -v '^ *+' conftest.er1 >conftest.err
44460   rm -f conftest.er1
44461   cat conftest.err >&5
44462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44463   (exit $ac_status); } &&
44464          { ac_try='test -z "$ac_c_werror_flag"
44465                          || test ! -s conftest.err'
44466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44467   (eval $ac_try) 2>&5
44468   ac_status=$?
44469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470   (exit $ac_status); }; } &&
44471          { ac_try='test -s conftest$ac_exeext'
44472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44473   (eval $ac_try) 2>&5
44474   ac_status=$?
44475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476   (exit $ac_status); }; }; then
44477   eval "$as_ac_var=yes"
44478 else
44479   echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.$ac_ext >&5
44481
44482 eval "$as_ac_var=no"
44483 fi
44484 rm -f conftest.err conftest.$ac_objext \
44485       conftest$ac_exeext conftest.$ac_ext
44486 fi
44487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44489 if test `eval echo '${'$as_ac_var'}'` = yes; then
44490   cat >>confdefs.h <<_ACEOF
44491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44492 _ACEOF
44493
44494 fi
44495 done
44496
44497     fi
44498   fi
44499
44500
44501
44502   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44503 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44504   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44505     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44506   echo $ECHO_N "(cached) $ECHO_C" >&6
44507 else
44508
44509
44510
44511       ac_ext=cc
44512 ac_cpp='$CXXCPP $CPPFLAGS'
44513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44516
44517       cat >conftest.$ac_ext <<_ACEOF
44518 /* confdefs.h.  */
44519 _ACEOF
44520 cat confdefs.h >>conftest.$ac_ext
44521 cat >>conftest.$ac_ext <<_ACEOF
44522 /* end confdefs.h.  */
44523 #include <math.h>
44524 int
44525 main ()
44526 {
44527  ldexpl(0, 0);
44528   ;
44529   return 0;
44530 }
44531 _ACEOF
44532 rm -f conftest.$ac_objext
44533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44534   (eval $ac_compile) 2>conftest.er1
44535   ac_status=$?
44536   grep -v '^ *+' conftest.er1 >conftest.err
44537   rm -f conftest.er1
44538   cat conftest.err >&5
44539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540   (exit $ac_status); } &&
44541          { ac_try='test -z "$ac_cxx_werror_flag"
44542                          || test ! -s conftest.err'
44543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544   (eval $ac_try) 2>&5
44545   ac_status=$?
44546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547   (exit $ac_status); }; } &&
44548          { ac_try='test -s conftest.$ac_objext'
44549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44550   (eval $ac_try) 2>&5
44551   ac_status=$?
44552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44553   (exit $ac_status); }; }; then
44554   glibcxx_cv_func_ldexpl_use=yes
44555 else
44556   echo "$as_me: failed program was:" >&5
44557 sed 's/^/| /' conftest.$ac_ext >&5
44558
44559 glibcxx_cv_func_ldexpl_use=no
44560 fi
44561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44562       ac_ext=c
44563 ac_cpp='$CPP $CPPFLAGS'
44564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44567
44568
44569 fi
44570
44571   fi
44572   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44573 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44574
44575   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44576
44577 for ac_func in ldexpl
44578 do
44579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44580 echo "$as_me:$LINENO: checking for $ac_func" >&5
44581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44582 if eval "test \"\${$as_ac_var+set}\" = set"; then
44583   echo $ECHO_N "(cached) $ECHO_C" >&6
44584 else
44585   if test x$gcc_no_link = xyes; then
44586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44588    { (exit 1); exit 1; }; }
44589 fi
44590 cat >conftest.$ac_ext <<_ACEOF
44591 /* confdefs.h.  */
44592 _ACEOF
44593 cat confdefs.h >>conftest.$ac_ext
44594 cat >>conftest.$ac_ext <<_ACEOF
44595 /* end confdefs.h.  */
44596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44598 #define $ac_func innocuous_$ac_func
44599
44600 /* System header to define __stub macros and hopefully few prototypes,
44601     which can conflict with char $ac_func (); below.
44602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44603     <limits.h> exists even on freestanding compilers.  */
44604
44605 #ifdef __STDC__
44606 # include <limits.h>
44607 #else
44608 # include <assert.h>
44609 #endif
44610
44611 #undef $ac_func
44612
44613 /* Override any gcc2 internal prototype to avoid an error.  */
44614 #ifdef __cplusplus
44615 extern "C"
44616 {
44617 #endif
44618 /* We use char because int might match the return type of a gcc2
44619    builtin and then its argument prototype would still apply.  */
44620 char $ac_func ();
44621 /* The GNU C library defines this for functions which it implements
44622     to always fail with ENOSYS.  Some functions are actually named
44623     something starting with __ and the normal name is an alias.  */
44624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44625 choke me
44626 #else
44627 char (*f) () = $ac_func;
44628 #endif
44629 #ifdef __cplusplus
44630 }
44631 #endif
44632
44633 int
44634 main ()
44635 {
44636 return f != $ac_func;
44637   ;
44638   return 0;
44639 }
44640 _ACEOF
44641 rm -f conftest.$ac_objext conftest$ac_exeext
44642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44643   (eval $ac_link) 2>conftest.er1
44644   ac_status=$?
44645   grep -v '^ *+' conftest.er1 >conftest.err
44646   rm -f conftest.er1
44647   cat conftest.err >&5
44648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649   (exit $ac_status); } &&
44650          { ac_try='test -z "$ac_c_werror_flag"
44651                          || test ! -s conftest.err'
44652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44653   (eval $ac_try) 2>&5
44654   ac_status=$?
44655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656   (exit $ac_status); }; } &&
44657          { ac_try='test -s conftest$ac_exeext'
44658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44659   (eval $ac_try) 2>&5
44660   ac_status=$?
44661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44662   (exit $ac_status); }; }; then
44663   eval "$as_ac_var=yes"
44664 else
44665   echo "$as_me: failed program was:" >&5
44666 sed 's/^/| /' conftest.$ac_ext >&5
44667
44668 eval "$as_ac_var=no"
44669 fi
44670 rm -f conftest.err conftest.$ac_objext \
44671       conftest$ac_exeext conftest.$ac_ext
44672 fi
44673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44675 if test `eval echo '${'$as_ac_var'}'` = yes; then
44676   cat >>confdefs.h <<_ACEOF
44677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44678 _ACEOF
44679
44680 fi
44681 done
44682
44683   else
44684
44685   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44686 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44687   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44688     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44689   echo $ECHO_N "(cached) $ECHO_C" >&6
44690 else
44691
44692
44693
44694       ac_ext=cc
44695 ac_cpp='$CXXCPP $CPPFLAGS'
44696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44699
44700       cat >conftest.$ac_ext <<_ACEOF
44701 /* confdefs.h.  */
44702 _ACEOF
44703 cat confdefs.h >>conftest.$ac_ext
44704 cat >>conftest.$ac_ext <<_ACEOF
44705 /* end confdefs.h.  */
44706 #include <math.h>
44707 int
44708 main ()
44709 {
44710  _ldexpl(0, 0);
44711   ;
44712   return 0;
44713 }
44714 _ACEOF
44715 rm -f conftest.$ac_objext
44716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44717   (eval $ac_compile) 2>conftest.er1
44718   ac_status=$?
44719   grep -v '^ *+' conftest.er1 >conftest.err
44720   rm -f conftest.er1
44721   cat conftest.err >&5
44722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44723   (exit $ac_status); } &&
44724          { ac_try='test -z "$ac_cxx_werror_flag"
44725                          || test ! -s conftest.err'
44726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44727   (eval $ac_try) 2>&5
44728   ac_status=$?
44729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44730   (exit $ac_status); }; } &&
44731          { ac_try='test -s conftest.$ac_objext'
44732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44733   (eval $ac_try) 2>&5
44734   ac_status=$?
44735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44736   (exit $ac_status); }; }; then
44737   glibcxx_cv_func__ldexpl_use=yes
44738 else
44739   echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.$ac_ext >&5
44741
44742 glibcxx_cv_func__ldexpl_use=no
44743 fi
44744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44745       ac_ext=c
44746 ac_cpp='$CPP $CPPFLAGS'
44747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44750
44751
44752 fi
44753
44754   fi
44755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44756 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44757
44758     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44759
44760 for ac_func in _ldexpl
44761 do
44762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44763 echo "$as_me:$LINENO: checking for $ac_func" >&5
44764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44765 if eval "test \"\${$as_ac_var+set}\" = set"; then
44766   echo $ECHO_N "(cached) $ECHO_C" >&6
44767 else
44768   if test x$gcc_no_link = xyes; then
44769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44771    { (exit 1); exit 1; }; }
44772 fi
44773 cat >conftest.$ac_ext <<_ACEOF
44774 /* confdefs.h.  */
44775 _ACEOF
44776 cat confdefs.h >>conftest.$ac_ext
44777 cat >>conftest.$ac_ext <<_ACEOF
44778 /* end confdefs.h.  */
44779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44781 #define $ac_func innocuous_$ac_func
44782
44783 /* System header to define __stub macros and hopefully few prototypes,
44784     which can conflict with char $ac_func (); below.
44785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44786     <limits.h> exists even on freestanding compilers.  */
44787
44788 #ifdef __STDC__
44789 # include <limits.h>
44790 #else
44791 # include <assert.h>
44792 #endif
44793
44794 #undef $ac_func
44795
44796 /* Override any gcc2 internal prototype to avoid an error.  */
44797 #ifdef __cplusplus
44798 extern "C"
44799 {
44800 #endif
44801 /* We use char because int might match the return type of a gcc2
44802    builtin and then its argument prototype would still apply.  */
44803 char $ac_func ();
44804 /* The GNU C library defines this for functions which it implements
44805     to always fail with ENOSYS.  Some functions are actually named
44806     something starting with __ and the normal name is an alias.  */
44807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44808 choke me
44809 #else
44810 char (*f) () = $ac_func;
44811 #endif
44812 #ifdef __cplusplus
44813 }
44814 #endif
44815
44816 int
44817 main ()
44818 {
44819 return f != $ac_func;
44820   ;
44821   return 0;
44822 }
44823 _ACEOF
44824 rm -f conftest.$ac_objext conftest$ac_exeext
44825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44826   (eval $ac_link) 2>conftest.er1
44827   ac_status=$?
44828   grep -v '^ *+' conftest.er1 >conftest.err
44829   rm -f conftest.er1
44830   cat conftest.err >&5
44831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832   (exit $ac_status); } &&
44833          { ac_try='test -z "$ac_c_werror_flag"
44834                          || test ! -s conftest.err'
44835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44836   (eval $ac_try) 2>&5
44837   ac_status=$?
44838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44839   (exit $ac_status); }; } &&
44840          { ac_try='test -s conftest$ac_exeext'
44841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44842   (eval $ac_try) 2>&5
44843   ac_status=$?
44844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44845   (exit $ac_status); }; }; then
44846   eval "$as_ac_var=yes"
44847 else
44848   echo "$as_me: failed program was:" >&5
44849 sed 's/^/| /' conftest.$ac_ext >&5
44850
44851 eval "$as_ac_var=no"
44852 fi
44853 rm -f conftest.err conftest.$ac_objext \
44854       conftest$ac_exeext conftest.$ac_ext
44855 fi
44856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44858 if test `eval echo '${'$as_ac_var'}'` = yes; then
44859   cat >>confdefs.h <<_ACEOF
44860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44861 _ACEOF
44862
44863 fi
44864 done
44865
44866     fi
44867   fi
44868
44869
44870
44871   echo "$as_me:$LINENO: checking for logl declaration" >&5
44872 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44873   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44874     if test "${glibcxx_cv_func_logl_use+set}" = set; then
44875   echo $ECHO_N "(cached) $ECHO_C" >&6
44876 else
44877
44878
44879
44880       ac_ext=cc
44881 ac_cpp='$CXXCPP $CPPFLAGS'
44882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44885
44886       cat >conftest.$ac_ext <<_ACEOF
44887 /* confdefs.h.  */
44888 _ACEOF
44889 cat confdefs.h >>conftest.$ac_ext
44890 cat >>conftest.$ac_ext <<_ACEOF
44891 /* end confdefs.h.  */
44892 #include <math.h>
44893                       #ifdef HAVE_IEEEFP_H
44894                       #include <ieeefp.h>
44895                       #endif
44896
44897 int
44898 main ()
44899 {
44900  logl(0);
44901   ;
44902   return 0;
44903 }
44904 _ACEOF
44905 rm -f conftest.$ac_objext
44906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44907   (eval $ac_compile) 2>conftest.er1
44908   ac_status=$?
44909   grep -v '^ *+' conftest.er1 >conftest.err
44910   rm -f conftest.er1
44911   cat conftest.err >&5
44912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913   (exit $ac_status); } &&
44914          { ac_try='test -z "$ac_cxx_werror_flag"
44915                          || test ! -s conftest.err'
44916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917   (eval $ac_try) 2>&5
44918   ac_status=$?
44919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920   (exit $ac_status); }; } &&
44921          { ac_try='test -s conftest.$ac_objext'
44922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44923   (eval $ac_try) 2>&5
44924   ac_status=$?
44925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926   (exit $ac_status); }; }; then
44927   glibcxx_cv_func_logl_use=yes
44928 else
44929   echo "$as_me: failed program was:" >&5
44930 sed 's/^/| /' conftest.$ac_ext >&5
44931
44932 glibcxx_cv_func_logl_use=no
44933 fi
44934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44935       ac_ext=c
44936 ac_cpp='$CPP $CPPFLAGS'
44937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44940
44941
44942 fi
44943
44944   fi
44945   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44946 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44947
44948   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44949
44950 for ac_func in logl
44951 do
44952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44953 echo "$as_me:$LINENO: checking for $ac_func" >&5
44954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44955 if eval "test \"\${$as_ac_var+set}\" = set"; then
44956   echo $ECHO_N "(cached) $ECHO_C" >&6
44957 else
44958   if test x$gcc_no_link = xyes; then
44959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44961    { (exit 1); exit 1; }; }
44962 fi
44963 cat >conftest.$ac_ext <<_ACEOF
44964 /* confdefs.h.  */
44965 _ACEOF
44966 cat confdefs.h >>conftest.$ac_ext
44967 cat >>conftest.$ac_ext <<_ACEOF
44968 /* end confdefs.h.  */
44969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44971 #define $ac_func innocuous_$ac_func
44972
44973 /* System header to define __stub macros and hopefully few prototypes,
44974     which can conflict with char $ac_func (); below.
44975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44976     <limits.h> exists even on freestanding compilers.  */
44977
44978 #ifdef __STDC__
44979 # include <limits.h>
44980 #else
44981 # include <assert.h>
44982 #endif
44983
44984 #undef $ac_func
44985
44986 /* Override any gcc2 internal prototype to avoid an error.  */
44987 #ifdef __cplusplus
44988 extern "C"
44989 {
44990 #endif
44991 /* We use char because int might match the return type of a gcc2
44992    builtin and then its argument prototype would still apply.  */
44993 char $ac_func ();
44994 /* The GNU C library defines this for functions which it implements
44995     to always fail with ENOSYS.  Some functions are actually named
44996     something starting with __ and the normal name is an alias.  */
44997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44998 choke me
44999 #else
45000 char (*f) () = $ac_func;
45001 #endif
45002 #ifdef __cplusplus
45003 }
45004 #endif
45005
45006 int
45007 main ()
45008 {
45009 return f != $ac_func;
45010   ;
45011   return 0;
45012 }
45013 _ACEOF
45014 rm -f conftest.$ac_objext conftest$ac_exeext
45015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45016   (eval $ac_link) 2>conftest.er1
45017   ac_status=$?
45018   grep -v '^ *+' conftest.er1 >conftest.err
45019   rm -f conftest.er1
45020   cat conftest.err >&5
45021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45022   (exit $ac_status); } &&
45023          { ac_try='test -z "$ac_c_werror_flag"
45024                          || test ! -s conftest.err'
45025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45026   (eval $ac_try) 2>&5
45027   ac_status=$?
45028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029   (exit $ac_status); }; } &&
45030          { ac_try='test -s conftest$ac_exeext'
45031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45032   (eval $ac_try) 2>&5
45033   ac_status=$?
45034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45035   (exit $ac_status); }; }; then
45036   eval "$as_ac_var=yes"
45037 else
45038   echo "$as_me: failed program was:" >&5
45039 sed 's/^/| /' conftest.$ac_ext >&5
45040
45041 eval "$as_ac_var=no"
45042 fi
45043 rm -f conftest.err conftest.$ac_objext \
45044       conftest$ac_exeext conftest.$ac_ext
45045 fi
45046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45048 if test `eval echo '${'$as_ac_var'}'` = yes; then
45049   cat >>confdefs.h <<_ACEOF
45050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45051 _ACEOF
45052
45053 fi
45054 done
45055
45056   else
45057
45058   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45059 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45060   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45061     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45062   echo $ECHO_N "(cached) $ECHO_C" >&6
45063 else
45064
45065
45066
45067       ac_ext=cc
45068 ac_cpp='$CXXCPP $CPPFLAGS'
45069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45072
45073       cat >conftest.$ac_ext <<_ACEOF
45074 /* confdefs.h.  */
45075 _ACEOF
45076 cat confdefs.h >>conftest.$ac_ext
45077 cat >>conftest.$ac_ext <<_ACEOF
45078 /* end confdefs.h.  */
45079 #include <math.h>
45080                       #ifdef HAVE_IEEEFP_H
45081                       #include <ieeefp.h>
45082                       #endif
45083
45084 int
45085 main ()
45086 {
45087  _logl(0);
45088   ;
45089   return 0;
45090 }
45091 _ACEOF
45092 rm -f conftest.$ac_objext
45093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45094   (eval $ac_compile) 2>conftest.er1
45095   ac_status=$?
45096   grep -v '^ *+' conftest.er1 >conftest.err
45097   rm -f conftest.er1
45098   cat conftest.err >&5
45099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45100   (exit $ac_status); } &&
45101          { ac_try='test -z "$ac_cxx_werror_flag"
45102                          || test ! -s conftest.err'
45103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45104   (eval $ac_try) 2>&5
45105   ac_status=$?
45106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107   (exit $ac_status); }; } &&
45108          { ac_try='test -s conftest.$ac_objext'
45109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45110   (eval $ac_try) 2>&5
45111   ac_status=$?
45112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45113   (exit $ac_status); }; }; then
45114   glibcxx_cv_func__logl_use=yes
45115 else
45116   echo "$as_me: failed program was:" >&5
45117 sed 's/^/| /' conftest.$ac_ext >&5
45118
45119 glibcxx_cv_func__logl_use=no
45120 fi
45121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45122       ac_ext=c
45123 ac_cpp='$CPP $CPPFLAGS'
45124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45127
45128
45129 fi
45130
45131   fi
45132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45133 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45134
45135     if test x$glibcxx_cv_func__logl_use = x"yes"; then
45136
45137 for ac_func in _logl
45138 do
45139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45140 echo "$as_me:$LINENO: checking for $ac_func" >&5
45141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45142 if eval "test \"\${$as_ac_var+set}\" = set"; then
45143   echo $ECHO_N "(cached) $ECHO_C" >&6
45144 else
45145   if test x$gcc_no_link = xyes; then
45146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45148    { (exit 1); exit 1; }; }
45149 fi
45150 cat >conftest.$ac_ext <<_ACEOF
45151 /* confdefs.h.  */
45152 _ACEOF
45153 cat confdefs.h >>conftest.$ac_ext
45154 cat >>conftest.$ac_ext <<_ACEOF
45155 /* end confdefs.h.  */
45156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45158 #define $ac_func innocuous_$ac_func
45159
45160 /* System header to define __stub macros and hopefully few prototypes,
45161     which can conflict with char $ac_func (); below.
45162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45163     <limits.h> exists even on freestanding compilers.  */
45164
45165 #ifdef __STDC__
45166 # include <limits.h>
45167 #else
45168 # include <assert.h>
45169 #endif
45170
45171 #undef $ac_func
45172
45173 /* Override any gcc2 internal prototype to avoid an error.  */
45174 #ifdef __cplusplus
45175 extern "C"
45176 {
45177 #endif
45178 /* We use char because int might match the return type of a gcc2
45179    builtin and then its argument prototype would still apply.  */
45180 char $ac_func ();
45181 /* The GNU C library defines this for functions which it implements
45182     to always fail with ENOSYS.  Some functions are actually named
45183     something starting with __ and the normal name is an alias.  */
45184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45185 choke me
45186 #else
45187 char (*f) () = $ac_func;
45188 #endif
45189 #ifdef __cplusplus
45190 }
45191 #endif
45192
45193 int
45194 main ()
45195 {
45196 return f != $ac_func;
45197   ;
45198   return 0;
45199 }
45200 _ACEOF
45201 rm -f conftest.$ac_objext conftest$ac_exeext
45202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45203   (eval $ac_link) 2>conftest.er1
45204   ac_status=$?
45205   grep -v '^ *+' conftest.er1 >conftest.err
45206   rm -f conftest.er1
45207   cat conftest.err >&5
45208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209   (exit $ac_status); } &&
45210          { ac_try='test -z "$ac_c_werror_flag"
45211                          || test ! -s conftest.err'
45212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45213   (eval $ac_try) 2>&5
45214   ac_status=$?
45215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45216   (exit $ac_status); }; } &&
45217          { ac_try='test -s conftest$ac_exeext'
45218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45219   (eval $ac_try) 2>&5
45220   ac_status=$?
45221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222   (exit $ac_status); }; }; then
45223   eval "$as_ac_var=yes"
45224 else
45225   echo "$as_me: failed program was:" >&5
45226 sed 's/^/| /' conftest.$ac_ext >&5
45227
45228 eval "$as_ac_var=no"
45229 fi
45230 rm -f conftest.err conftest.$ac_objext \
45231       conftest$ac_exeext conftest.$ac_ext
45232 fi
45233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45235 if test `eval echo '${'$as_ac_var'}'` = yes; then
45236   cat >>confdefs.h <<_ACEOF
45237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45238 _ACEOF
45239
45240 fi
45241 done
45242
45243     fi
45244   fi
45245
45246
45247
45248   echo "$as_me:$LINENO: checking for log10l declaration" >&5
45249 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45250   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45251     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45252   echo $ECHO_N "(cached) $ECHO_C" >&6
45253 else
45254
45255
45256
45257       ac_ext=cc
45258 ac_cpp='$CXXCPP $CPPFLAGS'
45259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45262
45263       cat >conftest.$ac_ext <<_ACEOF
45264 /* confdefs.h.  */
45265 _ACEOF
45266 cat confdefs.h >>conftest.$ac_ext
45267 cat >>conftest.$ac_ext <<_ACEOF
45268 /* end confdefs.h.  */
45269 #include <math.h>
45270                       #ifdef HAVE_IEEEFP_H
45271                       #include <ieeefp.h>
45272                       #endif
45273
45274 int
45275 main ()
45276 {
45277  log10l(0);
45278   ;
45279   return 0;
45280 }
45281 _ACEOF
45282 rm -f conftest.$ac_objext
45283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45284   (eval $ac_compile) 2>conftest.er1
45285   ac_status=$?
45286   grep -v '^ *+' conftest.er1 >conftest.err
45287   rm -f conftest.er1
45288   cat conftest.err >&5
45289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290   (exit $ac_status); } &&
45291          { ac_try='test -z "$ac_cxx_werror_flag"
45292                          || test ! -s conftest.err'
45293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45294   (eval $ac_try) 2>&5
45295   ac_status=$?
45296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297   (exit $ac_status); }; } &&
45298          { ac_try='test -s conftest.$ac_objext'
45299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45300   (eval $ac_try) 2>&5
45301   ac_status=$?
45302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303   (exit $ac_status); }; }; then
45304   glibcxx_cv_func_log10l_use=yes
45305 else
45306   echo "$as_me: failed program was:" >&5
45307 sed 's/^/| /' conftest.$ac_ext >&5
45308
45309 glibcxx_cv_func_log10l_use=no
45310 fi
45311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45312       ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45317
45318
45319 fi
45320
45321   fi
45322   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45323 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45324
45325   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45326
45327 for ac_func in log10l
45328 do
45329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45330 echo "$as_me:$LINENO: checking for $ac_func" >&5
45331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45332 if eval "test \"\${$as_ac_var+set}\" = set"; then
45333   echo $ECHO_N "(cached) $ECHO_C" >&6
45334 else
45335   if test x$gcc_no_link = xyes; then
45336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45338    { (exit 1); exit 1; }; }
45339 fi
45340 cat >conftest.$ac_ext <<_ACEOF
45341 /* confdefs.h.  */
45342 _ACEOF
45343 cat confdefs.h >>conftest.$ac_ext
45344 cat >>conftest.$ac_ext <<_ACEOF
45345 /* end confdefs.h.  */
45346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45348 #define $ac_func innocuous_$ac_func
45349
45350 /* System header to define __stub macros and hopefully few prototypes,
45351     which can conflict with char $ac_func (); below.
45352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45353     <limits.h> exists even on freestanding compilers.  */
45354
45355 #ifdef __STDC__
45356 # include <limits.h>
45357 #else
45358 # include <assert.h>
45359 #endif
45360
45361 #undef $ac_func
45362
45363 /* Override any gcc2 internal prototype to avoid an error.  */
45364 #ifdef __cplusplus
45365 extern "C"
45366 {
45367 #endif
45368 /* We use char because int might match the return type of a gcc2
45369    builtin and then its argument prototype would still apply.  */
45370 char $ac_func ();
45371 /* The GNU C library defines this for functions which it implements
45372     to always fail with ENOSYS.  Some functions are actually named
45373     something starting with __ and the normal name is an alias.  */
45374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45375 choke me
45376 #else
45377 char (*f) () = $ac_func;
45378 #endif
45379 #ifdef __cplusplus
45380 }
45381 #endif
45382
45383 int
45384 main ()
45385 {
45386 return f != $ac_func;
45387   ;
45388   return 0;
45389 }
45390 _ACEOF
45391 rm -f conftest.$ac_objext conftest$ac_exeext
45392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45393   (eval $ac_link) 2>conftest.er1
45394   ac_status=$?
45395   grep -v '^ *+' conftest.er1 >conftest.err
45396   rm -f conftest.er1
45397   cat conftest.err >&5
45398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399   (exit $ac_status); } &&
45400          { ac_try='test -z "$ac_c_werror_flag"
45401                          || test ! -s conftest.err'
45402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45403   (eval $ac_try) 2>&5
45404   ac_status=$?
45405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406   (exit $ac_status); }; } &&
45407          { ac_try='test -s conftest$ac_exeext'
45408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45409   (eval $ac_try) 2>&5
45410   ac_status=$?
45411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412   (exit $ac_status); }; }; then
45413   eval "$as_ac_var=yes"
45414 else
45415   echo "$as_me: failed program was:" >&5
45416 sed 's/^/| /' conftest.$ac_ext >&5
45417
45418 eval "$as_ac_var=no"
45419 fi
45420 rm -f conftest.err conftest.$ac_objext \
45421       conftest$ac_exeext conftest.$ac_ext
45422 fi
45423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45425 if test `eval echo '${'$as_ac_var'}'` = yes; then
45426   cat >>confdefs.h <<_ACEOF
45427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45428 _ACEOF
45429
45430 fi
45431 done
45432
45433   else
45434
45435   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45436 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45437   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45438     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45439   echo $ECHO_N "(cached) $ECHO_C" >&6
45440 else
45441
45442
45443
45444       ac_ext=cc
45445 ac_cpp='$CXXCPP $CPPFLAGS'
45446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45449
45450       cat >conftest.$ac_ext <<_ACEOF
45451 /* confdefs.h.  */
45452 _ACEOF
45453 cat confdefs.h >>conftest.$ac_ext
45454 cat >>conftest.$ac_ext <<_ACEOF
45455 /* end confdefs.h.  */
45456 #include <math.h>
45457                       #ifdef HAVE_IEEEFP_H
45458                       #include <ieeefp.h>
45459                       #endif
45460
45461 int
45462 main ()
45463 {
45464  _log10l(0);
45465   ;
45466   return 0;
45467 }
45468 _ACEOF
45469 rm -f conftest.$ac_objext
45470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45471   (eval $ac_compile) 2>conftest.er1
45472   ac_status=$?
45473   grep -v '^ *+' conftest.er1 >conftest.err
45474   rm -f conftest.er1
45475   cat conftest.err >&5
45476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45477   (exit $ac_status); } &&
45478          { ac_try='test -z "$ac_cxx_werror_flag"
45479                          || test ! -s conftest.err'
45480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45481   (eval $ac_try) 2>&5
45482   ac_status=$?
45483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45484   (exit $ac_status); }; } &&
45485          { ac_try='test -s conftest.$ac_objext'
45486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45487   (eval $ac_try) 2>&5
45488   ac_status=$?
45489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490   (exit $ac_status); }; }; then
45491   glibcxx_cv_func__log10l_use=yes
45492 else
45493   echo "$as_me: failed program was:" >&5
45494 sed 's/^/| /' conftest.$ac_ext >&5
45495
45496 glibcxx_cv_func__log10l_use=no
45497 fi
45498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45499       ac_ext=c
45500 ac_cpp='$CPP $CPPFLAGS'
45501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45504
45505
45506 fi
45507
45508   fi
45509   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45510 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45511
45512     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45513
45514 for ac_func in _log10l
45515 do
45516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45517 echo "$as_me:$LINENO: checking for $ac_func" >&5
45518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45519 if eval "test \"\${$as_ac_var+set}\" = set"; then
45520   echo $ECHO_N "(cached) $ECHO_C" >&6
45521 else
45522   if test x$gcc_no_link = xyes; then
45523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45525    { (exit 1); exit 1; }; }
45526 fi
45527 cat >conftest.$ac_ext <<_ACEOF
45528 /* confdefs.h.  */
45529 _ACEOF
45530 cat confdefs.h >>conftest.$ac_ext
45531 cat >>conftest.$ac_ext <<_ACEOF
45532 /* end confdefs.h.  */
45533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45535 #define $ac_func innocuous_$ac_func
45536
45537 /* System header to define __stub macros and hopefully few prototypes,
45538     which can conflict with char $ac_func (); below.
45539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45540     <limits.h> exists even on freestanding compilers.  */
45541
45542 #ifdef __STDC__
45543 # include <limits.h>
45544 #else
45545 # include <assert.h>
45546 #endif
45547
45548 #undef $ac_func
45549
45550 /* Override any gcc2 internal prototype to avoid an error.  */
45551 #ifdef __cplusplus
45552 extern "C"
45553 {
45554 #endif
45555 /* We use char because int might match the return type of a gcc2
45556    builtin and then its argument prototype would still apply.  */
45557 char $ac_func ();
45558 /* The GNU C library defines this for functions which it implements
45559     to always fail with ENOSYS.  Some functions are actually named
45560     something starting with __ and the normal name is an alias.  */
45561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45562 choke me
45563 #else
45564 char (*f) () = $ac_func;
45565 #endif
45566 #ifdef __cplusplus
45567 }
45568 #endif
45569
45570 int
45571 main ()
45572 {
45573 return f != $ac_func;
45574   ;
45575   return 0;
45576 }
45577 _ACEOF
45578 rm -f conftest.$ac_objext conftest$ac_exeext
45579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45580   (eval $ac_link) 2>conftest.er1
45581   ac_status=$?
45582   grep -v '^ *+' conftest.er1 >conftest.err
45583   rm -f conftest.er1
45584   cat conftest.err >&5
45585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45586   (exit $ac_status); } &&
45587          { ac_try='test -z "$ac_c_werror_flag"
45588                          || test ! -s conftest.err'
45589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590   (eval $ac_try) 2>&5
45591   ac_status=$?
45592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593   (exit $ac_status); }; } &&
45594          { ac_try='test -s conftest$ac_exeext'
45595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45596   (eval $ac_try) 2>&5
45597   ac_status=$?
45598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599   (exit $ac_status); }; }; then
45600   eval "$as_ac_var=yes"
45601 else
45602   echo "$as_me: failed program was:" >&5
45603 sed 's/^/| /' conftest.$ac_ext >&5
45604
45605 eval "$as_ac_var=no"
45606 fi
45607 rm -f conftest.err conftest.$ac_objext \
45608       conftest$ac_exeext conftest.$ac_ext
45609 fi
45610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45612 if test `eval echo '${'$as_ac_var'}'` = yes; then
45613   cat >>confdefs.h <<_ACEOF
45614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45615 _ACEOF
45616
45617 fi
45618 done
45619
45620     fi
45621   fi
45622
45623
45624
45625   echo "$as_me:$LINENO: checking for modfl declaration" >&5
45626 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45627   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45628     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45629   echo $ECHO_N "(cached) $ECHO_C" >&6
45630 else
45631
45632
45633
45634       ac_ext=cc
45635 ac_cpp='$CXXCPP $CPPFLAGS'
45636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45639
45640       cat >conftest.$ac_ext <<_ACEOF
45641 /* confdefs.h.  */
45642 _ACEOF
45643 cat confdefs.h >>conftest.$ac_ext
45644 cat >>conftest.$ac_ext <<_ACEOF
45645 /* end confdefs.h.  */
45646 #include <math.h>
45647 int
45648 main ()
45649 {
45650  modfl(0, 0);
45651   ;
45652   return 0;
45653 }
45654 _ACEOF
45655 rm -f conftest.$ac_objext
45656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45657   (eval $ac_compile) 2>conftest.er1
45658   ac_status=$?
45659   grep -v '^ *+' conftest.er1 >conftest.err
45660   rm -f conftest.er1
45661   cat conftest.err >&5
45662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45663   (exit $ac_status); } &&
45664          { ac_try='test -z "$ac_cxx_werror_flag"
45665                          || test ! -s conftest.err'
45666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45667   (eval $ac_try) 2>&5
45668   ac_status=$?
45669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45670   (exit $ac_status); }; } &&
45671          { ac_try='test -s conftest.$ac_objext'
45672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45673   (eval $ac_try) 2>&5
45674   ac_status=$?
45675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45676   (exit $ac_status); }; }; then
45677   glibcxx_cv_func_modfl_use=yes
45678 else
45679   echo "$as_me: failed program was:" >&5
45680 sed 's/^/| /' conftest.$ac_ext >&5
45681
45682 glibcxx_cv_func_modfl_use=no
45683 fi
45684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45685       ac_ext=c
45686 ac_cpp='$CPP $CPPFLAGS'
45687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45690
45691
45692 fi
45693
45694   fi
45695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45696 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45697
45698   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45699
45700 for ac_func in modfl
45701 do
45702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45703 echo "$as_me:$LINENO: checking for $ac_func" >&5
45704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45705 if eval "test \"\${$as_ac_var+set}\" = set"; then
45706   echo $ECHO_N "(cached) $ECHO_C" >&6
45707 else
45708   if test x$gcc_no_link = xyes; then
45709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45711    { (exit 1); exit 1; }; }
45712 fi
45713 cat >conftest.$ac_ext <<_ACEOF
45714 /* confdefs.h.  */
45715 _ACEOF
45716 cat confdefs.h >>conftest.$ac_ext
45717 cat >>conftest.$ac_ext <<_ACEOF
45718 /* end confdefs.h.  */
45719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45721 #define $ac_func innocuous_$ac_func
45722
45723 /* System header to define __stub macros and hopefully few prototypes,
45724     which can conflict with char $ac_func (); below.
45725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45726     <limits.h> exists even on freestanding compilers.  */
45727
45728 #ifdef __STDC__
45729 # include <limits.h>
45730 #else
45731 # include <assert.h>
45732 #endif
45733
45734 #undef $ac_func
45735
45736 /* Override any gcc2 internal prototype to avoid an error.  */
45737 #ifdef __cplusplus
45738 extern "C"
45739 {
45740 #endif
45741 /* We use char because int might match the return type of a gcc2
45742    builtin and then its argument prototype would still apply.  */
45743 char $ac_func ();
45744 /* The GNU C library defines this for functions which it implements
45745     to always fail with ENOSYS.  Some functions are actually named
45746     something starting with __ and the normal name is an alias.  */
45747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45748 choke me
45749 #else
45750 char (*f) () = $ac_func;
45751 #endif
45752 #ifdef __cplusplus
45753 }
45754 #endif
45755
45756 int
45757 main ()
45758 {
45759 return f != $ac_func;
45760   ;
45761   return 0;
45762 }
45763 _ACEOF
45764 rm -f conftest.$ac_objext conftest$ac_exeext
45765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45766   (eval $ac_link) 2>conftest.er1
45767   ac_status=$?
45768   grep -v '^ *+' conftest.er1 >conftest.err
45769   rm -f conftest.er1
45770   cat conftest.err >&5
45771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772   (exit $ac_status); } &&
45773          { ac_try='test -z "$ac_c_werror_flag"
45774                          || test ! -s conftest.err'
45775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45776   (eval $ac_try) 2>&5
45777   ac_status=$?
45778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45779   (exit $ac_status); }; } &&
45780          { ac_try='test -s conftest$ac_exeext'
45781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45782   (eval $ac_try) 2>&5
45783   ac_status=$?
45784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45785   (exit $ac_status); }; }; then
45786   eval "$as_ac_var=yes"
45787 else
45788   echo "$as_me: failed program was:" >&5
45789 sed 's/^/| /' conftest.$ac_ext >&5
45790
45791 eval "$as_ac_var=no"
45792 fi
45793 rm -f conftest.err conftest.$ac_objext \
45794       conftest$ac_exeext conftest.$ac_ext
45795 fi
45796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45798 if test `eval echo '${'$as_ac_var'}'` = yes; then
45799   cat >>confdefs.h <<_ACEOF
45800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45801 _ACEOF
45802
45803 fi
45804 done
45805
45806   else
45807
45808   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45809 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45810   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45811     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45812   echo $ECHO_N "(cached) $ECHO_C" >&6
45813 else
45814
45815
45816
45817       ac_ext=cc
45818 ac_cpp='$CXXCPP $CPPFLAGS'
45819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45822
45823       cat >conftest.$ac_ext <<_ACEOF
45824 /* confdefs.h.  */
45825 _ACEOF
45826 cat confdefs.h >>conftest.$ac_ext
45827 cat >>conftest.$ac_ext <<_ACEOF
45828 /* end confdefs.h.  */
45829 #include <math.h>
45830 int
45831 main ()
45832 {
45833  _modfl(0, 0);
45834   ;
45835   return 0;
45836 }
45837 _ACEOF
45838 rm -f conftest.$ac_objext
45839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45840   (eval $ac_compile) 2>conftest.er1
45841   ac_status=$?
45842   grep -v '^ *+' conftest.er1 >conftest.err
45843   rm -f conftest.er1
45844   cat conftest.err >&5
45845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846   (exit $ac_status); } &&
45847          { ac_try='test -z "$ac_cxx_werror_flag"
45848                          || test ! -s conftest.err'
45849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850   (eval $ac_try) 2>&5
45851   ac_status=$?
45852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853   (exit $ac_status); }; } &&
45854          { ac_try='test -s conftest.$ac_objext'
45855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45856   (eval $ac_try) 2>&5
45857   ac_status=$?
45858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859   (exit $ac_status); }; }; then
45860   glibcxx_cv_func__modfl_use=yes
45861 else
45862   echo "$as_me: failed program was:" >&5
45863 sed 's/^/| /' conftest.$ac_ext >&5
45864
45865 glibcxx_cv_func__modfl_use=no
45866 fi
45867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45868       ac_ext=c
45869 ac_cpp='$CPP $CPPFLAGS'
45870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45873
45874
45875 fi
45876
45877   fi
45878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45879 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45880
45881     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45882
45883 for ac_func in _modfl
45884 do
45885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45886 echo "$as_me:$LINENO: checking for $ac_func" >&5
45887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45888 if eval "test \"\${$as_ac_var+set}\" = set"; then
45889   echo $ECHO_N "(cached) $ECHO_C" >&6
45890 else
45891   if test x$gcc_no_link = xyes; then
45892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45894    { (exit 1); exit 1; }; }
45895 fi
45896 cat >conftest.$ac_ext <<_ACEOF
45897 /* confdefs.h.  */
45898 _ACEOF
45899 cat confdefs.h >>conftest.$ac_ext
45900 cat >>conftest.$ac_ext <<_ACEOF
45901 /* end confdefs.h.  */
45902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45904 #define $ac_func innocuous_$ac_func
45905
45906 /* System header to define __stub macros and hopefully few prototypes,
45907     which can conflict with char $ac_func (); below.
45908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45909     <limits.h> exists even on freestanding compilers.  */
45910
45911 #ifdef __STDC__
45912 # include <limits.h>
45913 #else
45914 # include <assert.h>
45915 #endif
45916
45917 #undef $ac_func
45918
45919 /* Override any gcc2 internal prototype to avoid an error.  */
45920 #ifdef __cplusplus
45921 extern "C"
45922 {
45923 #endif
45924 /* We use char because int might match the return type of a gcc2
45925    builtin and then its argument prototype would still apply.  */
45926 char $ac_func ();
45927 /* The GNU C library defines this for functions which it implements
45928     to always fail with ENOSYS.  Some functions are actually named
45929     something starting with __ and the normal name is an alias.  */
45930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45931 choke me
45932 #else
45933 char (*f) () = $ac_func;
45934 #endif
45935 #ifdef __cplusplus
45936 }
45937 #endif
45938
45939 int
45940 main ()
45941 {
45942 return f != $ac_func;
45943   ;
45944   return 0;
45945 }
45946 _ACEOF
45947 rm -f conftest.$ac_objext conftest$ac_exeext
45948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45949   (eval $ac_link) 2>conftest.er1
45950   ac_status=$?
45951   grep -v '^ *+' conftest.er1 >conftest.err
45952   rm -f conftest.er1
45953   cat conftest.err >&5
45954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45955   (exit $ac_status); } &&
45956          { ac_try='test -z "$ac_c_werror_flag"
45957                          || test ! -s conftest.err'
45958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45959   (eval $ac_try) 2>&5
45960   ac_status=$?
45961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962   (exit $ac_status); }; } &&
45963          { ac_try='test -s conftest$ac_exeext'
45964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45965   (eval $ac_try) 2>&5
45966   ac_status=$?
45967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968   (exit $ac_status); }; }; then
45969   eval "$as_ac_var=yes"
45970 else
45971   echo "$as_me: failed program was:" >&5
45972 sed 's/^/| /' conftest.$ac_ext >&5
45973
45974 eval "$as_ac_var=no"
45975 fi
45976 rm -f conftest.err conftest.$ac_objext \
45977       conftest$ac_exeext conftest.$ac_ext
45978 fi
45979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45981 if test `eval echo '${'$as_ac_var'}'` = yes; then
45982   cat >>confdefs.h <<_ACEOF
45983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45984 _ACEOF
45985
45986 fi
45987 done
45988
45989     fi
45990   fi
45991
45992
45993
45994   echo "$as_me:$LINENO: checking for powl declaration" >&5
45995 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45996   if test x${glibcxx_cv_func_powl_use+set} != xset; then
45997     if test "${glibcxx_cv_func_powl_use+set}" = set; then
45998   echo $ECHO_N "(cached) $ECHO_C" >&6
45999 else
46000
46001
46002
46003       ac_ext=cc
46004 ac_cpp='$CXXCPP $CPPFLAGS'
46005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008
46009       cat >conftest.$ac_ext <<_ACEOF
46010 /* confdefs.h.  */
46011 _ACEOF
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h.  */
46015 #include <math.h>
46016 int
46017 main ()
46018 {
46019  powl(0, 0);
46020   ;
46021   return 0;
46022 }
46023 _ACEOF
46024 rm -f conftest.$ac_objext
46025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46026   (eval $ac_compile) 2>conftest.er1
46027   ac_status=$?
46028   grep -v '^ *+' conftest.er1 >conftest.err
46029   rm -f conftest.er1
46030   cat conftest.err >&5
46031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032   (exit $ac_status); } &&
46033          { ac_try='test -z "$ac_cxx_werror_flag"
46034                          || test ! -s conftest.err'
46035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46036   (eval $ac_try) 2>&5
46037   ac_status=$?
46038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039   (exit $ac_status); }; } &&
46040          { ac_try='test -s conftest.$ac_objext'
46041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46042   (eval $ac_try) 2>&5
46043   ac_status=$?
46044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045   (exit $ac_status); }; }; then
46046   glibcxx_cv_func_powl_use=yes
46047 else
46048   echo "$as_me: failed program was:" >&5
46049 sed 's/^/| /' conftest.$ac_ext >&5
46050
46051 glibcxx_cv_func_powl_use=no
46052 fi
46053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46054       ac_ext=c
46055 ac_cpp='$CPP $CPPFLAGS'
46056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46059
46060
46061 fi
46062
46063   fi
46064   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46065 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46066
46067   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46068
46069 for ac_func in powl
46070 do
46071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46072 echo "$as_me:$LINENO: checking for $ac_func" >&5
46073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46074 if eval "test \"\${$as_ac_var+set}\" = set"; then
46075   echo $ECHO_N "(cached) $ECHO_C" >&6
46076 else
46077   if test x$gcc_no_link = xyes; then
46078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46080    { (exit 1); exit 1; }; }
46081 fi
46082 cat >conftest.$ac_ext <<_ACEOF
46083 /* confdefs.h.  */
46084 _ACEOF
46085 cat confdefs.h >>conftest.$ac_ext
46086 cat >>conftest.$ac_ext <<_ACEOF
46087 /* end confdefs.h.  */
46088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46090 #define $ac_func innocuous_$ac_func
46091
46092 /* System header to define __stub macros and hopefully few prototypes,
46093     which can conflict with char $ac_func (); below.
46094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46095     <limits.h> exists even on freestanding compilers.  */
46096
46097 #ifdef __STDC__
46098 # include <limits.h>
46099 #else
46100 # include <assert.h>
46101 #endif
46102
46103 #undef $ac_func
46104
46105 /* Override any gcc2 internal prototype to avoid an error.  */
46106 #ifdef __cplusplus
46107 extern "C"
46108 {
46109 #endif
46110 /* We use char because int might match the return type of a gcc2
46111    builtin and then its argument prototype would still apply.  */
46112 char $ac_func ();
46113 /* The GNU C library defines this for functions which it implements
46114     to always fail with ENOSYS.  Some functions are actually named
46115     something starting with __ and the normal name is an alias.  */
46116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46117 choke me
46118 #else
46119 char (*f) () = $ac_func;
46120 #endif
46121 #ifdef __cplusplus
46122 }
46123 #endif
46124
46125 int
46126 main ()
46127 {
46128 return f != $ac_func;
46129   ;
46130   return 0;
46131 }
46132 _ACEOF
46133 rm -f conftest.$ac_objext conftest$ac_exeext
46134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46135   (eval $ac_link) 2>conftest.er1
46136   ac_status=$?
46137   grep -v '^ *+' conftest.er1 >conftest.err
46138   rm -f conftest.er1
46139   cat conftest.err >&5
46140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46141   (exit $ac_status); } &&
46142          { ac_try='test -z "$ac_c_werror_flag"
46143                          || test ! -s conftest.err'
46144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46145   (eval $ac_try) 2>&5
46146   ac_status=$?
46147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148   (exit $ac_status); }; } &&
46149          { ac_try='test -s conftest$ac_exeext'
46150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46151   (eval $ac_try) 2>&5
46152   ac_status=$?
46153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46154   (exit $ac_status); }; }; then
46155   eval "$as_ac_var=yes"
46156 else
46157   echo "$as_me: failed program was:" >&5
46158 sed 's/^/| /' conftest.$ac_ext >&5
46159
46160 eval "$as_ac_var=no"
46161 fi
46162 rm -f conftest.err conftest.$ac_objext \
46163       conftest$ac_exeext conftest.$ac_ext
46164 fi
46165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46167 if test `eval echo '${'$as_ac_var'}'` = yes; then
46168   cat >>confdefs.h <<_ACEOF
46169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46170 _ACEOF
46171
46172 fi
46173 done
46174
46175   else
46176
46177   echo "$as_me:$LINENO: checking for _powl declaration" >&5
46178 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46179   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46180     if test "${glibcxx_cv_func__powl_use+set}" = set; then
46181   echo $ECHO_N "(cached) $ECHO_C" >&6
46182 else
46183
46184
46185
46186       ac_ext=cc
46187 ac_cpp='$CXXCPP $CPPFLAGS'
46188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46191
46192       cat >conftest.$ac_ext <<_ACEOF
46193 /* confdefs.h.  */
46194 _ACEOF
46195 cat confdefs.h >>conftest.$ac_ext
46196 cat >>conftest.$ac_ext <<_ACEOF
46197 /* end confdefs.h.  */
46198 #include <math.h>
46199 int
46200 main ()
46201 {
46202  _powl(0, 0);
46203   ;
46204   return 0;
46205 }
46206 _ACEOF
46207 rm -f conftest.$ac_objext
46208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46209   (eval $ac_compile) 2>conftest.er1
46210   ac_status=$?
46211   grep -v '^ *+' conftest.er1 >conftest.err
46212   rm -f conftest.er1
46213   cat conftest.err >&5
46214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215   (exit $ac_status); } &&
46216          { ac_try='test -z "$ac_cxx_werror_flag"
46217                          || test ! -s conftest.err'
46218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219   (eval $ac_try) 2>&5
46220   ac_status=$?
46221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222   (exit $ac_status); }; } &&
46223          { ac_try='test -s conftest.$ac_objext'
46224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46225   (eval $ac_try) 2>&5
46226   ac_status=$?
46227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46228   (exit $ac_status); }; }; then
46229   glibcxx_cv_func__powl_use=yes
46230 else
46231   echo "$as_me: failed program was:" >&5
46232 sed 's/^/| /' conftest.$ac_ext >&5
46233
46234 glibcxx_cv_func__powl_use=no
46235 fi
46236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46237       ac_ext=c
46238 ac_cpp='$CPP $CPPFLAGS'
46239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242
46243
46244 fi
46245
46246   fi
46247   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46248 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46249
46250     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46251
46252 for ac_func in _powl
46253 do
46254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46255 echo "$as_me:$LINENO: checking for $ac_func" >&5
46256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46257 if eval "test \"\${$as_ac_var+set}\" = set"; then
46258   echo $ECHO_N "(cached) $ECHO_C" >&6
46259 else
46260   if test x$gcc_no_link = xyes; then
46261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46263    { (exit 1); exit 1; }; }
46264 fi
46265 cat >conftest.$ac_ext <<_ACEOF
46266 /* confdefs.h.  */
46267 _ACEOF
46268 cat confdefs.h >>conftest.$ac_ext
46269 cat >>conftest.$ac_ext <<_ACEOF
46270 /* end confdefs.h.  */
46271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46273 #define $ac_func innocuous_$ac_func
46274
46275 /* System header to define __stub macros and hopefully few prototypes,
46276     which can conflict with char $ac_func (); below.
46277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46278     <limits.h> exists even on freestanding compilers.  */
46279
46280 #ifdef __STDC__
46281 # include <limits.h>
46282 #else
46283 # include <assert.h>
46284 #endif
46285
46286 #undef $ac_func
46287
46288 /* Override any gcc2 internal prototype to avoid an error.  */
46289 #ifdef __cplusplus
46290 extern "C"
46291 {
46292 #endif
46293 /* We use char because int might match the return type of a gcc2
46294    builtin and then its argument prototype would still apply.  */
46295 char $ac_func ();
46296 /* The GNU C library defines this for functions which it implements
46297     to always fail with ENOSYS.  Some functions are actually named
46298     something starting with __ and the normal name is an alias.  */
46299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46300 choke me
46301 #else
46302 char (*f) () = $ac_func;
46303 #endif
46304 #ifdef __cplusplus
46305 }
46306 #endif
46307
46308 int
46309 main ()
46310 {
46311 return f != $ac_func;
46312   ;
46313   return 0;
46314 }
46315 _ACEOF
46316 rm -f conftest.$ac_objext conftest$ac_exeext
46317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46318   (eval $ac_link) 2>conftest.er1
46319   ac_status=$?
46320   grep -v '^ *+' conftest.er1 >conftest.err
46321   rm -f conftest.er1
46322   cat conftest.err >&5
46323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46324   (exit $ac_status); } &&
46325          { ac_try='test -z "$ac_c_werror_flag"
46326                          || test ! -s conftest.err'
46327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46328   (eval $ac_try) 2>&5
46329   ac_status=$?
46330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46331   (exit $ac_status); }; } &&
46332          { ac_try='test -s conftest$ac_exeext'
46333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46334   (eval $ac_try) 2>&5
46335   ac_status=$?
46336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46337   (exit $ac_status); }; }; then
46338   eval "$as_ac_var=yes"
46339 else
46340   echo "$as_me: failed program was:" >&5
46341 sed 's/^/| /' conftest.$ac_ext >&5
46342
46343 eval "$as_ac_var=no"
46344 fi
46345 rm -f conftest.err conftest.$ac_objext \
46346       conftest$ac_exeext conftest.$ac_ext
46347 fi
46348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46350 if test `eval echo '${'$as_ac_var'}'` = yes; then
46351   cat >>confdefs.h <<_ACEOF
46352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46353 _ACEOF
46354
46355 fi
46356 done
46357
46358     fi
46359   fi
46360
46361
46362
46363   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46364 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46365   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46366     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46367   echo $ECHO_N "(cached) $ECHO_C" >&6
46368 else
46369
46370
46371
46372       ac_ext=cc
46373 ac_cpp='$CXXCPP $CPPFLAGS'
46374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46377
46378       cat >conftest.$ac_ext <<_ACEOF
46379 /* confdefs.h.  */
46380 _ACEOF
46381 cat confdefs.h >>conftest.$ac_ext
46382 cat >>conftest.$ac_ext <<_ACEOF
46383 /* end confdefs.h.  */
46384 #include <math.h>
46385                       #ifdef HAVE_IEEEFP_H
46386                       #include <ieeefp.h>
46387                       #endif
46388
46389 int
46390 main ()
46391 {
46392  sqrtl(0);
46393   ;
46394   return 0;
46395 }
46396 _ACEOF
46397 rm -f conftest.$ac_objext
46398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46399   (eval $ac_compile) 2>conftest.er1
46400   ac_status=$?
46401   grep -v '^ *+' conftest.er1 >conftest.err
46402   rm -f conftest.er1
46403   cat conftest.err >&5
46404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46405   (exit $ac_status); } &&
46406          { ac_try='test -z "$ac_cxx_werror_flag"
46407                          || test ! -s conftest.err'
46408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46409   (eval $ac_try) 2>&5
46410   ac_status=$?
46411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46412   (exit $ac_status); }; } &&
46413          { ac_try='test -s conftest.$ac_objext'
46414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46415   (eval $ac_try) 2>&5
46416   ac_status=$?
46417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46418   (exit $ac_status); }; }; then
46419   glibcxx_cv_func_sqrtl_use=yes
46420 else
46421   echo "$as_me: failed program was:" >&5
46422 sed 's/^/| /' conftest.$ac_ext >&5
46423
46424 glibcxx_cv_func_sqrtl_use=no
46425 fi
46426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46427       ac_ext=c
46428 ac_cpp='$CPP $CPPFLAGS'
46429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46432
46433
46434 fi
46435
46436   fi
46437   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46438 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46439
46440   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46441
46442 for ac_func in sqrtl
46443 do
46444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46445 echo "$as_me:$LINENO: checking for $ac_func" >&5
46446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46447 if eval "test \"\${$as_ac_var+set}\" = set"; then
46448   echo $ECHO_N "(cached) $ECHO_C" >&6
46449 else
46450   if test x$gcc_no_link = xyes; then
46451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46453    { (exit 1); exit 1; }; }
46454 fi
46455 cat >conftest.$ac_ext <<_ACEOF
46456 /* confdefs.h.  */
46457 _ACEOF
46458 cat confdefs.h >>conftest.$ac_ext
46459 cat >>conftest.$ac_ext <<_ACEOF
46460 /* end confdefs.h.  */
46461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46463 #define $ac_func innocuous_$ac_func
46464
46465 /* System header to define __stub macros and hopefully few prototypes,
46466     which can conflict with char $ac_func (); below.
46467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46468     <limits.h> exists even on freestanding compilers.  */
46469
46470 #ifdef __STDC__
46471 # include <limits.h>
46472 #else
46473 # include <assert.h>
46474 #endif
46475
46476 #undef $ac_func
46477
46478 /* Override any gcc2 internal prototype to avoid an error.  */
46479 #ifdef __cplusplus
46480 extern "C"
46481 {
46482 #endif
46483 /* We use char because int might match the return type of a gcc2
46484    builtin and then its argument prototype would still apply.  */
46485 char $ac_func ();
46486 /* The GNU C library defines this for functions which it implements
46487     to always fail with ENOSYS.  Some functions are actually named
46488     something starting with __ and the normal name is an alias.  */
46489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46490 choke me
46491 #else
46492 char (*f) () = $ac_func;
46493 #endif
46494 #ifdef __cplusplus
46495 }
46496 #endif
46497
46498 int
46499 main ()
46500 {
46501 return f != $ac_func;
46502   ;
46503   return 0;
46504 }
46505 _ACEOF
46506 rm -f conftest.$ac_objext conftest$ac_exeext
46507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46508   (eval $ac_link) 2>conftest.er1
46509   ac_status=$?
46510   grep -v '^ *+' conftest.er1 >conftest.err
46511   rm -f conftest.er1
46512   cat conftest.err >&5
46513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46514   (exit $ac_status); } &&
46515          { ac_try='test -z "$ac_c_werror_flag"
46516                          || test ! -s conftest.err'
46517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46518   (eval $ac_try) 2>&5
46519   ac_status=$?
46520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46521   (exit $ac_status); }; } &&
46522          { ac_try='test -s conftest$ac_exeext'
46523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46524   (eval $ac_try) 2>&5
46525   ac_status=$?
46526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527   (exit $ac_status); }; }; then
46528   eval "$as_ac_var=yes"
46529 else
46530   echo "$as_me: failed program was:" >&5
46531 sed 's/^/| /' conftest.$ac_ext >&5
46532
46533 eval "$as_ac_var=no"
46534 fi
46535 rm -f conftest.err conftest.$ac_objext \
46536       conftest$ac_exeext conftest.$ac_ext
46537 fi
46538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46540 if test `eval echo '${'$as_ac_var'}'` = yes; then
46541   cat >>confdefs.h <<_ACEOF
46542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46543 _ACEOF
46544
46545 fi
46546 done
46547
46548   else
46549
46550   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46551 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46552   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46553     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46554   echo $ECHO_N "(cached) $ECHO_C" >&6
46555 else
46556
46557
46558
46559       ac_ext=cc
46560 ac_cpp='$CXXCPP $CPPFLAGS'
46561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46564
46565       cat >conftest.$ac_ext <<_ACEOF
46566 /* confdefs.h.  */
46567 _ACEOF
46568 cat confdefs.h >>conftest.$ac_ext
46569 cat >>conftest.$ac_ext <<_ACEOF
46570 /* end confdefs.h.  */
46571 #include <math.h>
46572                       #ifdef HAVE_IEEEFP_H
46573                       #include <ieeefp.h>
46574                       #endif
46575
46576 int
46577 main ()
46578 {
46579  _sqrtl(0);
46580   ;
46581   return 0;
46582 }
46583 _ACEOF
46584 rm -f conftest.$ac_objext
46585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46586   (eval $ac_compile) 2>conftest.er1
46587   ac_status=$?
46588   grep -v '^ *+' conftest.er1 >conftest.err
46589   rm -f conftest.er1
46590   cat conftest.err >&5
46591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592   (exit $ac_status); } &&
46593          { ac_try='test -z "$ac_cxx_werror_flag"
46594                          || test ! -s conftest.err'
46595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46596   (eval $ac_try) 2>&5
46597   ac_status=$?
46598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599   (exit $ac_status); }; } &&
46600          { ac_try='test -s conftest.$ac_objext'
46601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46602   (eval $ac_try) 2>&5
46603   ac_status=$?
46604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46605   (exit $ac_status); }; }; then
46606   glibcxx_cv_func__sqrtl_use=yes
46607 else
46608   echo "$as_me: failed program was:" >&5
46609 sed 's/^/| /' conftest.$ac_ext >&5
46610
46611 glibcxx_cv_func__sqrtl_use=no
46612 fi
46613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46614       ac_ext=c
46615 ac_cpp='$CPP $CPPFLAGS'
46616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46619
46620
46621 fi
46622
46623   fi
46624   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46625 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46626
46627     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46628
46629 for ac_func in _sqrtl
46630 do
46631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46632 echo "$as_me:$LINENO: checking for $ac_func" >&5
46633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46634 if eval "test \"\${$as_ac_var+set}\" = set"; then
46635   echo $ECHO_N "(cached) $ECHO_C" >&6
46636 else
46637   if test x$gcc_no_link = xyes; then
46638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46640    { (exit 1); exit 1; }; }
46641 fi
46642 cat >conftest.$ac_ext <<_ACEOF
46643 /* confdefs.h.  */
46644 _ACEOF
46645 cat confdefs.h >>conftest.$ac_ext
46646 cat >>conftest.$ac_ext <<_ACEOF
46647 /* end confdefs.h.  */
46648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46650 #define $ac_func innocuous_$ac_func
46651
46652 /* System header to define __stub macros and hopefully few prototypes,
46653     which can conflict with char $ac_func (); below.
46654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46655     <limits.h> exists even on freestanding compilers.  */
46656
46657 #ifdef __STDC__
46658 # include <limits.h>
46659 #else
46660 # include <assert.h>
46661 #endif
46662
46663 #undef $ac_func
46664
46665 /* Override any gcc2 internal prototype to avoid an error.  */
46666 #ifdef __cplusplus
46667 extern "C"
46668 {
46669 #endif
46670 /* We use char because int might match the return type of a gcc2
46671    builtin and then its argument prototype would still apply.  */
46672 char $ac_func ();
46673 /* The GNU C library defines this for functions which it implements
46674     to always fail with ENOSYS.  Some functions are actually named
46675     something starting with __ and the normal name is an alias.  */
46676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46677 choke me
46678 #else
46679 char (*f) () = $ac_func;
46680 #endif
46681 #ifdef __cplusplus
46682 }
46683 #endif
46684
46685 int
46686 main ()
46687 {
46688 return f != $ac_func;
46689   ;
46690   return 0;
46691 }
46692 _ACEOF
46693 rm -f conftest.$ac_objext conftest$ac_exeext
46694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46695   (eval $ac_link) 2>conftest.er1
46696   ac_status=$?
46697   grep -v '^ *+' conftest.er1 >conftest.err
46698   rm -f conftest.er1
46699   cat conftest.err >&5
46700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701   (exit $ac_status); } &&
46702          { ac_try='test -z "$ac_c_werror_flag"
46703                          || test ! -s conftest.err'
46704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46705   (eval $ac_try) 2>&5
46706   ac_status=$?
46707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46708   (exit $ac_status); }; } &&
46709          { ac_try='test -s conftest$ac_exeext'
46710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46711   (eval $ac_try) 2>&5
46712   ac_status=$?
46713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46714   (exit $ac_status); }; }; then
46715   eval "$as_ac_var=yes"
46716 else
46717   echo "$as_me: failed program was:" >&5
46718 sed 's/^/| /' conftest.$ac_ext >&5
46719
46720 eval "$as_ac_var=no"
46721 fi
46722 rm -f conftest.err conftest.$ac_objext \
46723       conftest$ac_exeext conftest.$ac_ext
46724 fi
46725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46727 if test `eval echo '${'$as_ac_var'}'` = yes; then
46728   cat >>confdefs.h <<_ACEOF
46729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46730 _ACEOF
46731
46732 fi
46733 done
46734
46735     fi
46736   fi
46737
46738
46739
46740   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46741 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46742   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46743     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46744   echo $ECHO_N "(cached) $ECHO_C" >&6
46745 else
46746
46747
46748
46749       ac_ext=cc
46750 ac_cpp='$CXXCPP $CPPFLAGS'
46751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46754
46755       cat >conftest.$ac_ext <<_ACEOF
46756 /* confdefs.h.  */
46757 _ACEOF
46758 cat confdefs.h >>conftest.$ac_ext
46759 cat >>conftest.$ac_ext <<_ACEOF
46760 /* end confdefs.h.  */
46761 #include <math.h>
46762 int
46763 main ()
46764 {
46765  sincosl(0, 0, 0);
46766   ;
46767   return 0;
46768 }
46769 _ACEOF
46770 rm -f conftest.$ac_objext
46771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46772   (eval $ac_compile) 2>conftest.er1
46773   ac_status=$?
46774   grep -v '^ *+' conftest.er1 >conftest.err
46775   rm -f conftest.er1
46776   cat conftest.err >&5
46777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46778   (exit $ac_status); } &&
46779          { ac_try='test -z "$ac_cxx_werror_flag"
46780                          || test ! -s conftest.err'
46781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782   (eval $ac_try) 2>&5
46783   ac_status=$?
46784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785   (exit $ac_status); }; } &&
46786          { ac_try='test -s conftest.$ac_objext'
46787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46788   (eval $ac_try) 2>&5
46789   ac_status=$?
46790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791   (exit $ac_status); }; }; then
46792   glibcxx_cv_func_sincosl_use=yes
46793 else
46794   echo "$as_me: failed program was:" >&5
46795 sed 's/^/| /' conftest.$ac_ext >&5
46796
46797 glibcxx_cv_func_sincosl_use=no
46798 fi
46799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46800       ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46805
46806
46807 fi
46808
46809   fi
46810   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46811 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46812
46813   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46814
46815 for ac_func in sincosl
46816 do
46817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46818 echo "$as_me:$LINENO: checking for $ac_func" >&5
46819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46820 if eval "test \"\${$as_ac_var+set}\" = set"; then
46821   echo $ECHO_N "(cached) $ECHO_C" >&6
46822 else
46823   if test x$gcc_no_link = xyes; then
46824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46826    { (exit 1); exit 1; }; }
46827 fi
46828 cat >conftest.$ac_ext <<_ACEOF
46829 /* confdefs.h.  */
46830 _ACEOF
46831 cat confdefs.h >>conftest.$ac_ext
46832 cat >>conftest.$ac_ext <<_ACEOF
46833 /* end confdefs.h.  */
46834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46836 #define $ac_func innocuous_$ac_func
46837
46838 /* System header to define __stub macros and hopefully few prototypes,
46839     which can conflict with char $ac_func (); below.
46840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46841     <limits.h> exists even on freestanding compilers.  */
46842
46843 #ifdef __STDC__
46844 # include <limits.h>
46845 #else
46846 # include <assert.h>
46847 #endif
46848
46849 #undef $ac_func
46850
46851 /* Override any gcc2 internal prototype to avoid an error.  */
46852 #ifdef __cplusplus
46853 extern "C"
46854 {
46855 #endif
46856 /* We use char because int might match the return type of a gcc2
46857    builtin and then its argument prototype would still apply.  */
46858 char $ac_func ();
46859 /* The GNU C library defines this for functions which it implements
46860     to always fail with ENOSYS.  Some functions are actually named
46861     something starting with __ and the normal name is an alias.  */
46862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46863 choke me
46864 #else
46865 char (*f) () = $ac_func;
46866 #endif
46867 #ifdef __cplusplus
46868 }
46869 #endif
46870
46871 int
46872 main ()
46873 {
46874 return f != $ac_func;
46875   ;
46876   return 0;
46877 }
46878 _ACEOF
46879 rm -f conftest.$ac_objext conftest$ac_exeext
46880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46881   (eval $ac_link) 2>conftest.er1
46882   ac_status=$?
46883   grep -v '^ *+' conftest.er1 >conftest.err
46884   rm -f conftest.er1
46885   cat conftest.err >&5
46886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46887   (exit $ac_status); } &&
46888          { ac_try='test -z "$ac_c_werror_flag"
46889                          || test ! -s conftest.err'
46890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46891   (eval $ac_try) 2>&5
46892   ac_status=$?
46893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46894   (exit $ac_status); }; } &&
46895          { ac_try='test -s conftest$ac_exeext'
46896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46897   (eval $ac_try) 2>&5
46898   ac_status=$?
46899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46900   (exit $ac_status); }; }; then
46901   eval "$as_ac_var=yes"
46902 else
46903   echo "$as_me: failed program was:" >&5
46904 sed 's/^/| /' conftest.$ac_ext >&5
46905
46906 eval "$as_ac_var=no"
46907 fi
46908 rm -f conftest.err conftest.$ac_objext \
46909       conftest$ac_exeext conftest.$ac_ext
46910 fi
46911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46913 if test `eval echo '${'$as_ac_var'}'` = yes; then
46914   cat >>confdefs.h <<_ACEOF
46915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46916 _ACEOF
46917
46918 fi
46919 done
46920
46921   else
46922
46923   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46924 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46925   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46926     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46927   echo $ECHO_N "(cached) $ECHO_C" >&6
46928 else
46929
46930
46931
46932       ac_ext=cc
46933 ac_cpp='$CXXCPP $CPPFLAGS'
46934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46937
46938       cat >conftest.$ac_ext <<_ACEOF
46939 /* confdefs.h.  */
46940 _ACEOF
46941 cat confdefs.h >>conftest.$ac_ext
46942 cat >>conftest.$ac_ext <<_ACEOF
46943 /* end confdefs.h.  */
46944 #include <math.h>
46945 int
46946 main ()
46947 {
46948  _sincosl(0, 0, 0);
46949   ;
46950   return 0;
46951 }
46952 _ACEOF
46953 rm -f conftest.$ac_objext
46954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46955   (eval $ac_compile) 2>conftest.er1
46956   ac_status=$?
46957   grep -v '^ *+' conftest.er1 >conftest.err
46958   rm -f conftest.er1
46959   cat conftest.err >&5
46960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46961   (exit $ac_status); } &&
46962          { ac_try='test -z "$ac_cxx_werror_flag"
46963                          || test ! -s conftest.err'
46964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46965   (eval $ac_try) 2>&5
46966   ac_status=$?
46967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46968   (exit $ac_status); }; } &&
46969          { ac_try='test -s conftest.$ac_objext'
46970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971   (eval $ac_try) 2>&5
46972   ac_status=$?
46973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974   (exit $ac_status); }; }; then
46975   glibcxx_cv_func__sincosl_use=yes
46976 else
46977   echo "$as_me: failed program was:" >&5
46978 sed 's/^/| /' conftest.$ac_ext >&5
46979
46980 glibcxx_cv_func__sincosl_use=no
46981 fi
46982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46983       ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991
46992   fi
46993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46994 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46995
46996     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46997
46998 for ac_func in _sincosl
46999 do
47000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47001 echo "$as_me:$LINENO: checking for $ac_func" >&5
47002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47003 if eval "test \"\${$as_ac_var+set}\" = set"; then
47004   echo $ECHO_N "(cached) $ECHO_C" >&6
47005 else
47006   if test x$gcc_no_link = xyes; then
47007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47009    { (exit 1); exit 1; }; }
47010 fi
47011 cat >conftest.$ac_ext <<_ACEOF
47012 /* confdefs.h.  */
47013 _ACEOF
47014 cat confdefs.h >>conftest.$ac_ext
47015 cat >>conftest.$ac_ext <<_ACEOF
47016 /* end confdefs.h.  */
47017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47019 #define $ac_func innocuous_$ac_func
47020
47021 /* System header to define __stub macros and hopefully few prototypes,
47022     which can conflict with char $ac_func (); below.
47023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47024     <limits.h> exists even on freestanding compilers.  */
47025
47026 #ifdef __STDC__
47027 # include <limits.h>
47028 #else
47029 # include <assert.h>
47030 #endif
47031
47032 #undef $ac_func
47033
47034 /* Override any gcc2 internal prototype to avoid an error.  */
47035 #ifdef __cplusplus
47036 extern "C"
47037 {
47038 #endif
47039 /* We use char because int might match the return type of a gcc2
47040    builtin and then its argument prototype would still apply.  */
47041 char $ac_func ();
47042 /* The GNU C library defines this for functions which it implements
47043     to always fail with ENOSYS.  Some functions are actually named
47044     something starting with __ and the normal name is an alias.  */
47045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47046 choke me
47047 #else
47048 char (*f) () = $ac_func;
47049 #endif
47050 #ifdef __cplusplus
47051 }
47052 #endif
47053
47054 int
47055 main ()
47056 {
47057 return f != $ac_func;
47058   ;
47059   return 0;
47060 }
47061 _ACEOF
47062 rm -f conftest.$ac_objext conftest$ac_exeext
47063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47064   (eval $ac_link) 2>conftest.er1
47065   ac_status=$?
47066   grep -v '^ *+' conftest.er1 >conftest.err
47067   rm -f conftest.er1
47068   cat conftest.err >&5
47069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47070   (exit $ac_status); } &&
47071          { ac_try='test -z "$ac_c_werror_flag"
47072                          || test ! -s conftest.err'
47073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47074   (eval $ac_try) 2>&5
47075   ac_status=$?
47076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47077   (exit $ac_status); }; } &&
47078          { ac_try='test -s conftest$ac_exeext'
47079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47080   (eval $ac_try) 2>&5
47081   ac_status=$?
47082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47083   (exit $ac_status); }; }; then
47084   eval "$as_ac_var=yes"
47085 else
47086   echo "$as_me: failed program was:" >&5
47087 sed 's/^/| /' conftest.$ac_ext >&5
47088
47089 eval "$as_ac_var=no"
47090 fi
47091 rm -f conftest.err conftest.$ac_objext \
47092       conftest$ac_exeext conftest.$ac_ext
47093 fi
47094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47096 if test `eval echo '${'$as_ac_var'}'` = yes; then
47097   cat >>confdefs.h <<_ACEOF
47098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47099 _ACEOF
47100
47101 fi
47102 done
47103
47104     fi
47105   fi
47106
47107
47108
47109   echo "$as_me:$LINENO: checking for finitel declaration" >&5
47110 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47111   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47112     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47113   echo $ECHO_N "(cached) $ECHO_C" >&6
47114 else
47115
47116
47117
47118       ac_ext=cc
47119 ac_cpp='$CXXCPP $CPPFLAGS'
47120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47123
47124       cat >conftest.$ac_ext <<_ACEOF
47125 /* confdefs.h.  */
47126 _ACEOF
47127 cat confdefs.h >>conftest.$ac_ext
47128 cat >>conftest.$ac_ext <<_ACEOF
47129 /* end confdefs.h.  */
47130 #include <math.h>
47131                       #ifdef HAVE_IEEEFP_H
47132                       #include <ieeefp.h>
47133                       #endif
47134
47135 int
47136 main ()
47137 {
47138  finitel(0);
47139   ;
47140   return 0;
47141 }
47142 _ACEOF
47143 rm -f conftest.$ac_objext
47144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47145   (eval $ac_compile) 2>conftest.er1
47146   ac_status=$?
47147   grep -v '^ *+' conftest.er1 >conftest.err
47148   rm -f conftest.er1
47149   cat conftest.err >&5
47150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151   (exit $ac_status); } &&
47152          { ac_try='test -z "$ac_cxx_werror_flag"
47153                          || test ! -s conftest.err'
47154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47155   (eval $ac_try) 2>&5
47156   ac_status=$?
47157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158   (exit $ac_status); }; } &&
47159          { ac_try='test -s conftest.$ac_objext'
47160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47161   (eval $ac_try) 2>&5
47162   ac_status=$?
47163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47164   (exit $ac_status); }; }; then
47165   glibcxx_cv_func_finitel_use=yes
47166 else
47167   echo "$as_me: failed program was:" >&5
47168 sed 's/^/| /' conftest.$ac_ext >&5
47169
47170 glibcxx_cv_func_finitel_use=no
47171 fi
47172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47173       ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178
47179
47180 fi
47181
47182   fi
47183   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47184 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47185
47186   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47187
47188 for ac_func in finitel
47189 do
47190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47191 echo "$as_me:$LINENO: checking for $ac_func" >&5
47192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47193 if eval "test \"\${$as_ac_var+set}\" = set"; then
47194   echo $ECHO_N "(cached) $ECHO_C" >&6
47195 else
47196   if test x$gcc_no_link = xyes; then
47197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47199    { (exit 1); exit 1; }; }
47200 fi
47201 cat >conftest.$ac_ext <<_ACEOF
47202 /* confdefs.h.  */
47203 _ACEOF
47204 cat confdefs.h >>conftest.$ac_ext
47205 cat >>conftest.$ac_ext <<_ACEOF
47206 /* end confdefs.h.  */
47207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47209 #define $ac_func innocuous_$ac_func
47210
47211 /* System header to define __stub macros and hopefully few prototypes,
47212     which can conflict with char $ac_func (); below.
47213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47214     <limits.h> exists even on freestanding compilers.  */
47215
47216 #ifdef __STDC__
47217 # include <limits.h>
47218 #else
47219 # include <assert.h>
47220 #endif
47221
47222 #undef $ac_func
47223
47224 /* Override any gcc2 internal prototype to avoid an error.  */
47225 #ifdef __cplusplus
47226 extern "C"
47227 {
47228 #endif
47229 /* We use char because int might match the return type of a gcc2
47230    builtin and then its argument prototype would still apply.  */
47231 char $ac_func ();
47232 /* The GNU C library defines this for functions which it implements
47233     to always fail with ENOSYS.  Some functions are actually named
47234     something starting with __ and the normal name is an alias.  */
47235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47236 choke me
47237 #else
47238 char (*f) () = $ac_func;
47239 #endif
47240 #ifdef __cplusplus
47241 }
47242 #endif
47243
47244 int
47245 main ()
47246 {
47247 return f != $ac_func;
47248   ;
47249   return 0;
47250 }
47251 _ACEOF
47252 rm -f conftest.$ac_objext conftest$ac_exeext
47253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47254   (eval $ac_link) 2>conftest.er1
47255   ac_status=$?
47256   grep -v '^ *+' conftest.er1 >conftest.err
47257   rm -f conftest.er1
47258   cat conftest.err >&5
47259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260   (exit $ac_status); } &&
47261          { ac_try='test -z "$ac_c_werror_flag"
47262                          || test ! -s conftest.err'
47263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47264   (eval $ac_try) 2>&5
47265   ac_status=$?
47266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267   (exit $ac_status); }; } &&
47268          { ac_try='test -s conftest$ac_exeext'
47269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47270   (eval $ac_try) 2>&5
47271   ac_status=$?
47272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273   (exit $ac_status); }; }; then
47274   eval "$as_ac_var=yes"
47275 else
47276   echo "$as_me: failed program was:" >&5
47277 sed 's/^/| /' conftest.$ac_ext >&5
47278
47279 eval "$as_ac_var=no"
47280 fi
47281 rm -f conftest.err conftest.$ac_objext \
47282       conftest$ac_exeext conftest.$ac_ext
47283 fi
47284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47286 if test `eval echo '${'$as_ac_var'}'` = yes; then
47287   cat >>confdefs.h <<_ACEOF
47288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47289 _ACEOF
47290
47291 fi
47292 done
47293
47294   else
47295
47296   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47297 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47298   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47299     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47300   echo $ECHO_N "(cached) $ECHO_C" >&6
47301 else
47302
47303
47304
47305       ac_ext=cc
47306 ac_cpp='$CXXCPP $CPPFLAGS'
47307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47310
47311       cat >conftest.$ac_ext <<_ACEOF
47312 /* confdefs.h.  */
47313 _ACEOF
47314 cat confdefs.h >>conftest.$ac_ext
47315 cat >>conftest.$ac_ext <<_ACEOF
47316 /* end confdefs.h.  */
47317 #include <math.h>
47318                       #ifdef HAVE_IEEEFP_H
47319                       #include <ieeefp.h>
47320                       #endif
47321
47322 int
47323 main ()
47324 {
47325  _finitel(0);
47326   ;
47327   return 0;
47328 }
47329 _ACEOF
47330 rm -f conftest.$ac_objext
47331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47332   (eval $ac_compile) 2>conftest.er1
47333   ac_status=$?
47334   grep -v '^ *+' conftest.er1 >conftest.err
47335   rm -f conftest.er1
47336   cat conftest.err >&5
47337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47338   (exit $ac_status); } &&
47339          { ac_try='test -z "$ac_cxx_werror_flag"
47340                          || test ! -s conftest.err'
47341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47342   (eval $ac_try) 2>&5
47343   ac_status=$?
47344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47345   (exit $ac_status); }; } &&
47346          { ac_try='test -s conftest.$ac_objext'
47347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47348   (eval $ac_try) 2>&5
47349   ac_status=$?
47350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47351   (exit $ac_status); }; }; then
47352   glibcxx_cv_func__finitel_use=yes
47353 else
47354   echo "$as_me: failed program was:" >&5
47355 sed 's/^/| /' conftest.$ac_ext >&5
47356
47357 glibcxx_cv_func__finitel_use=no
47358 fi
47359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47360       ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365
47366
47367 fi
47368
47369   fi
47370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47371 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47372
47373     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47374
47375 for ac_func in _finitel
47376 do
47377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47378 echo "$as_me:$LINENO: checking for $ac_func" >&5
47379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47380 if eval "test \"\${$as_ac_var+set}\" = set"; then
47381   echo $ECHO_N "(cached) $ECHO_C" >&6
47382 else
47383   if test x$gcc_no_link = xyes; then
47384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47386    { (exit 1); exit 1; }; }
47387 fi
47388 cat >conftest.$ac_ext <<_ACEOF
47389 /* confdefs.h.  */
47390 _ACEOF
47391 cat confdefs.h >>conftest.$ac_ext
47392 cat >>conftest.$ac_ext <<_ACEOF
47393 /* end confdefs.h.  */
47394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47396 #define $ac_func innocuous_$ac_func
47397
47398 /* System header to define __stub macros and hopefully few prototypes,
47399     which can conflict with char $ac_func (); below.
47400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47401     <limits.h> exists even on freestanding compilers.  */
47402
47403 #ifdef __STDC__
47404 # include <limits.h>
47405 #else
47406 # include <assert.h>
47407 #endif
47408
47409 #undef $ac_func
47410
47411 /* Override any gcc2 internal prototype to avoid an error.  */
47412 #ifdef __cplusplus
47413 extern "C"
47414 {
47415 #endif
47416 /* We use char because int might match the return type of a gcc2
47417    builtin and then its argument prototype would still apply.  */
47418 char $ac_func ();
47419 /* The GNU C library defines this for functions which it implements
47420     to always fail with ENOSYS.  Some functions are actually named
47421     something starting with __ and the normal name is an alias.  */
47422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47423 choke me
47424 #else
47425 char (*f) () = $ac_func;
47426 #endif
47427 #ifdef __cplusplus
47428 }
47429 #endif
47430
47431 int
47432 main ()
47433 {
47434 return f != $ac_func;
47435   ;
47436   return 0;
47437 }
47438 _ACEOF
47439 rm -f conftest.$ac_objext conftest$ac_exeext
47440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47441   (eval $ac_link) 2>conftest.er1
47442   ac_status=$?
47443   grep -v '^ *+' conftest.er1 >conftest.err
47444   rm -f conftest.er1
47445   cat conftest.err >&5
47446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47447   (exit $ac_status); } &&
47448          { ac_try='test -z "$ac_c_werror_flag"
47449                          || test ! -s conftest.err'
47450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47451   (eval $ac_try) 2>&5
47452   ac_status=$?
47453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47454   (exit $ac_status); }; } &&
47455          { ac_try='test -s conftest$ac_exeext'
47456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47457   (eval $ac_try) 2>&5
47458   ac_status=$?
47459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47460   (exit $ac_status); }; }; then
47461   eval "$as_ac_var=yes"
47462 else
47463   echo "$as_me: failed program was:" >&5
47464 sed 's/^/| /' conftest.$ac_ext >&5
47465
47466 eval "$as_ac_var=no"
47467 fi
47468 rm -f conftest.err conftest.$ac_objext \
47469       conftest$ac_exeext conftest.$ac_ext
47470 fi
47471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47473 if test `eval echo '${'$as_ac_var'}'` = yes; then
47474   cat >>confdefs.h <<_ACEOF
47475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47476 _ACEOF
47477
47478 fi
47479 done
47480
47481     fi
47482   fi
47483
47484
47485
47486
47487   echo "$as_me:$LINENO: checking for _float trig functions" >&5
47488 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47489   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47490   echo $ECHO_N "(cached) $ECHO_C" >&6
47491 else
47492
47493
47494
47495     ac_ext=cc
47496 ac_cpp='$CXXCPP $CPPFLAGS'
47497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47500
47501     cat >conftest.$ac_ext <<_ACEOF
47502 /* confdefs.h.  */
47503 _ACEOF
47504 cat confdefs.h >>conftest.$ac_ext
47505 cat >>conftest.$ac_ext <<_ACEOF
47506 /* end confdefs.h.  */
47507 #include <math.h>
47508 int
47509 main ()
47510 {
47511  `for x in _acosf _asinf _atanf \
47512                                           _cosf _sinf _tanf \
47513                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47514   ;
47515   return 0;
47516 }
47517 _ACEOF
47518 rm -f conftest.$ac_objext
47519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47520   (eval $ac_compile) 2>conftest.er1
47521   ac_status=$?
47522   grep -v '^ *+' conftest.er1 >conftest.err
47523   rm -f conftest.er1
47524   cat conftest.err >&5
47525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47526   (exit $ac_status); } &&
47527          { ac_try='test -z "$ac_cxx_werror_flag"
47528                          || test ! -s conftest.err'
47529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47530   (eval $ac_try) 2>&5
47531   ac_status=$?
47532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47533   (exit $ac_status); }; } &&
47534          { ac_try='test -s conftest.$ac_objext'
47535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47536   (eval $ac_try) 2>&5
47537   ac_status=$?
47538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47539   (exit $ac_status); }; }; then
47540   glibcxx_cv_func__float_trig_use=yes
47541 else
47542   echo "$as_me: failed program was:" >&5
47543 sed 's/^/| /' conftest.$ac_ext >&5
47544
47545 glibcxx_cv_func__float_trig_use=no
47546 fi
47547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47548     ac_ext=c
47549 ac_cpp='$CPP $CPPFLAGS'
47550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47553
47554 fi
47555
47556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47557 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47558   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568 for ac_func in _acosf _asinf _atanf \
47569                                           _cosf _sinf _tanf \
47570                                           _coshf _sinhf _tanhf
47571 do
47572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47573 echo "$as_me:$LINENO: checking for $ac_func" >&5
47574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47575 if eval "test \"\${$as_ac_var+set}\" = set"; then
47576   echo $ECHO_N "(cached) $ECHO_C" >&6
47577 else
47578   if test x$gcc_no_link = xyes; then
47579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47581    { (exit 1); exit 1; }; }
47582 fi
47583 cat >conftest.$ac_ext <<_ACEOF
47584 /* confdefs.h.  */
47585 _ACEOF
47586 cat confdefs.h >>conftest.$ac_ext
47587 cat >>conftest.$ac_ext <<_ACEOF
47588 /* end confdefs.h.  */
47589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47590    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47591 #define $ac_func innocuous_$ac_func
47592
47593 /* System header to define __stub macros and hopefully few prototypes,
47594     which can conflict with char $ac_func (); below.
47595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47596     <limits.h> exists even on freestanding compilers.  */
47597
47598 #ifdef __STDC__
47599 # include <limits.h>
47600 #else
47601 # include <assert.h>
47602 #endif
47603
47604 #undef $ac_func
47605
47606 /* Override any gcc2 internal prototype to avoid an error.  */
47607 #ifdef __cplusplus
47608 extern "C"
47609 {
47610 #endif
47611 /* We use char because int might match the return type of a gcc2
47612    builtin and then its argument prototype would still apply.  */
47613 char $ac_func ();
47614 /* The GNU C library defines this for functions which it implements
47615     to always fail with ENOSYS.  Some functions are actually named
47616     something starting with __ and the normal name is an alias.  */
47617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47618 choke me
47619 #else
47620 char (*f) () = $ac_func;
47621 #endif
47622 #ifdef __cplusplus
47623 }
47624 #endif
47625
47626 int
47627 main ()
47628 {
47629 return f != $ac_func;
47630   ;
47631   return 0;
47632 }
47633 _ACEOF
47634 rm -f conftest.$ac_objext conftest$ac_exeext
47635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47636   (eval $ac_link) 2>conftest.er1
47637   ac_status=$?
47638   grep -v '^ *+' conftest.er1 >conftest.err
47639   rm -f conftest.er1
47640   cat conftest.err >&5
47641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642   (exit $ac_status); } &&
47643          { ac_try='test -z "$ac_c_werror_flag"
47644                          || test ! -s conftest.err'
47645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47646   (eval $ac_try) 2>&5
47647   ac_status=$?
47648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47649   (exit $ac_status); }; } &&
47650          { ac_try='test -s conftest$ac_exeext'
47651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47652   (eval $ac_try) 2>&5
47653   ac_status=$?
47654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47655   (exit $ac_status); }; }; then
47656   eval "$as_ac_var=yes"
47657 else
47658   echo "$as_me: failed program was:" >&5
47659 sed 's/^/| /' conftest.$ac_ext >&5
47660
47661 eval "$as_ac_var=no"
47662 fi
47663 rm -f conftest.err conftest.$ac_objext \
47664       conftest$ac_exeext conftest.$ac_ext
47665 fi
47666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47668 if test `eval echo '${'$as_ac_var'}'` = yes; then
47669   cat >>confdefs.h <<_ACEOF
47670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47671 _ACEOF
47672
47673 fi
47674 done
47675
47676   fi
47677
47678
47679   echo "$as_me:$LINENO: checking for _float round functions" >&5
47680 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47681   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47682   echo $ECHO_N "(cached) $ECHO_C" >&6
47683 else
47684
47685
47686
47687     ac_ext=cc
47688 ac_cpp='$CXXCPP $CPPFLAGS'
47689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47692
47693     cat >conftest.$ac_ext <<_ACEOF
47694 /* confdefs.h.  */
47695 _ACEOF
47696 cat confdefs.h >>conftest.$ac_ext
47697 cat >>conftest.$ac_ext <<_ACEOF
47698 /* end confdefs.h.  */
47699 #include <math.h>
47700 int
47701 main ()
47702 {
47703  `for x in _ceilf _floorf; do echo "$x (0);"; done`
47704   ;
47705   return 0;
47706 }
47707 _ACEOF
47708 rm -f conftest.$ac_objext
47709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47710   (eval $ac_compile) 2>conftest.er1
47711   ac_status=$?
47712   grep -v '^ *+' conftest.er1 >conftest.err
47713   rm -f conftest.er1
47714   cat conftest.err >&5
47715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47716   (exit $ac_status); } &&
47717          { ac_try='test -z "$ac_cxx_werror_flag"
47718                          || test ! -s conftest.err'
47719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47720   (eval $ac_try) 2>&5
47721   ac_status=$?
47722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47723   (exit $ac_status); }; } &&
47724          { ac_try='test -s conftest.$ac_objext'
47725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47726   (eval $ac_try) 2>&5
47727   ac_status=$?
47728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729   (exit $ac_status); }; }; then
47730   glibcxx_cv_func__float_round_use=yes
47731 else
47732   echo "$as_me: failed program was:" >&5
47733 sed 's/^/| /' conftest.$ac_ext >&5
47734
47735 glibcxx_cv_func__float_round_use=no
47736 fi
47737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47738     ac_ext=c
47739 ac_cpp='$CPP $CPPFLAGS'
47740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743
47744 fi
47745
47746   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47747 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47748   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47749
47750
47751 for ac_func in _ceilf _floorf
47752 do
47753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47754 echo "$as_me:$LINENO: checking for $ac_func" >&5
47755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47756 if eval "test \"\${$as_ac_var+set}\" = set"; then
47757   echo $ECHO_N "(cached) $ECHO_C" >&6
47758 else
47759   if test x$gcc_no_link = xyes; then
47760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47762    { (exit 1); exit 1; }; }
47763 fi
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h.  */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h.  */
47770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47772 #define $ac_func innocuous_$ac_func
47773
47774 /* System header to define __stub macros and hopefully few prototypes,
47775     which can conflict with char $ac_func (); below.
47776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47777     <limits.h> exists even on freestanding compilers.  */
47778
47779 #ifdef __STDC__
47780 # include <limits.h>
47781 #else
47782 # include <assert.h>
47783 #endif
47784
47785 #undef $ac_func
47786
47787 /* Override any gcc2 internal prototype to avoid an error.  */
47788 #ifdef __cplusplus
47789 extern "C"
47790 {
47791 #endif
47792 /* We use char because int might match the return type of a gcc2
47793    builtin and then its argument prototype would still apply.  */
47794 char $ac_func ();
47795 /* The GNU C library defines this for functions which it implements
47796     to always fail with ENOSYS.  Some functions are actually named
47797     something starting with __ and the normal name is an alias.  */
47798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47799 choke me
47800 #else
47801 char (*f) () = $ac_func;
47802 #endif
47803 #ifdef __cplusplus
47804 }
47805 #endif
47806
47807 int
47808 main ()
47809 {
47810 return f != $ac_func;
47811   ;
47812   return 0;
47813 }
47814 _ACEOF
47815 rm -f conftest.$ac_objext conftest$ac_exeext
47816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47817   (eval $ac_link) 2>conftest.er1
47818   ac_status=$?
47819   grep -v '^ *+' conftest.er1 >conftest.err
47820   rm -f conftest.er1
47821   cat conftest.err >&5
47822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823   (exit $ac_status); } &&
47824          { ac_try='test -z "$ac_c_werror_flag"
47825                          || test ! -s conftest.err'
47826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47827   (eval $ac_try) 2>&5
47828   ac_status=$?
47829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47830   (exit $ac_status); }; } &&
47831          { ac_try='test -s conftest$ac_exeext'
47832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47833   (eval $ac_try) 2>&5
47834   ac_status=$?
47835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47836   (exit $ac_status); }; }; then
47837   eval "$as_ac_var=yes"
47838 else
47839   echo "$as_me: failed program was:" >&5
47840 sed 's/^/| /' conftest.$ac_ext >&5
47841
47842 eval "$as_ac_var=no"
47843 fi
47844 rm -f conftest.err conftest.$ac_objext \
47845       conftest$ac_exeext conftest.$ac_ext
47846 fi
47847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47849 if test `eval echo '${'$as_ac_var'}'` = yes; then
47850   cat >>confdefs.h <<_ACEOF
47851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47852 _ACEOF
47853
47854 fi
47855 done
47856
47857   fi
47858
47859
47860
47861   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47862 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47863   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47864   echo $ECHO_N "(cached) $ECHO_C" >&6
47865 else
47866
47867
47868
47869     ac_ext=cc
47870 ac_cpp='$CXXCPP $CPPFLAGS'
47871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47874
47875     cat >conftest.$ac_ext <<_ACEOF
47876 /* confdefs.h.  */
47877 _ACEOF
47878 cat confdefs.h >>conftest.$ac_ext
47879 cat >>conftest.$ac_ext <<_ACEOF
47880 /* end confdefs.h.  */
47881 #include <math.h>
47882 int
47883 main ()
47884 {
47885  `for x in _acosl _asinl _atanl \
47886                                           _cosl _sinl _tanl \
47887                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47888   ;
47889   return 0;
47890 }
47891 _ACEOF
47892 rm -f conftest.$ac_objext
47893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47894   (eval $ac_compile) 2>conftest.er1
47895   ac_status=$?
47896   grep -v '^ *+' conftest.er1 >conftest.err
47897   rm -f conftest.er1
47898   cat conftest.err >&5
47899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47900   (exit $ac_status); } &&
47901          { ac_try='test -z "$ac_cxx_werror_flag"
47902                          || test ! -s conftest.err'
47903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47904   (eval $ac_try) 2>&5
47905   ac_status=$?
47906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47907   (exit $ac_status); }; } &&
47908          { ac_try='test -s conftest.$ac_objext'
47909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47910   (eval $ac_try) 2>&5
47911   ac_status=$?
47912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47913   (exit $ac_status); }; }; then
47914   glibcxx_cv_func__long_double_trig_use=yes
47915 else
47916   echo "$as_me: failed program was:" >&5
47917 sed 's/^/| /' conftest.$ac_ext >&5
47918
47919 glibcxx_cv_func__long_double_trig_use=no
47920 fi
47921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47922     ac_ext=c
47923 ac_cpp='$CPP $CPPFLAGS'
47924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47927
47928 fi
47929
47930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47931 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47932   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942 for ac_func in _acosl _asinl _atanl \
47943                                           _cosl _sinl _tanl \
47944                                           _coshl _sinhl _tanhl
47945 do
47946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47947 echo "$as_me:$LINENO: checking for $ac_func" >&5
47948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47949 if eval "test \"\${$as_ac_var+set}\" = set"; then
47950   echo $ECHO_N "(cached) $ECHO_C" >&6
47951 else
47952   if test x$gcc_no_link = xyes; then
47953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47955    { (exit 1); exit 1; }; }
47956 fi
47957 cat >conftest.$ac_ext <<_ACEOF
47958 /* confdefs.h.  */
47959 _ACEOF
47960 cat confdefs.h >>conftest.$ac_ext
47961 cat >>conftest.$ac_ext <<_ACEOF
47962 /* end confdefs.h.  */
47963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47965 #define $ac_func innocuous_$ac_func
47966
47967 /* System header to define __stub macros and hopefully few prototypes,
47968     which can conflict with char $ac_func (); below.
47969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47970     <limits.h> exists even on freestanding compilers.  */
47971
47972 #ifdef __STDC__
47973 # include <limits.h>
47974 #else
47975 # include <assert.h>
47976 #endif
47977
47978 #undef $ac_func
47979
47980 /* Override any gcc2 internal prototype to avoid an error.  */
47981 #ifdef __cplusplus
47982 extern "C"
47983 {
47984 #endif
47985 /* We use char because int might match the return type of a gcc2
47986    builtin and then its argument prototype would still apply.  */
47987 char $ac_func ();
47988 /* The GNU C library defines this for functions which it implements
47989     to always fail with ENOSYS.  Some functions are actually named
47990     something starting with __ and the normal name is an alias.  */
47991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47992 choke me
47993 #else
47994 char (*f) () = $ac_func;
47995 #endif
47996 #ifdef __cplusplus
47997 }
47998 #endif
47999
48000 int
48001 main ()
48002 {
48003 return f != $ac_func;
48004   ;
48005   return 0;
48006 }
48007 _ACEOF
48008 rm -f conftest.$ac_objext conftest$ac_exeext
48009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48010   (eval $ac_link) 2>conftest.er1
48011   ac_status=$?
48012   grep -v '^ *+' conftest.er1 >conftest.err
48013   rm -f conftest.er1
48014   cat conftest.err >&5
48015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48016   (exit $ac_status); } &&
48017          { ac_try='test -z "$ac_c_werror_flag"
48018                          || test ! -s conftest.err'
48019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48020   (eval $ac_try) 2>&5
48021   ac_status=$?
48022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48023   (exit $ac_status); }; } &&
48024          { ac_try='test -s conftest$ac_exeext'
48025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48026   (eval $ac_try) 2>&5
48027   ac_status=$?
48028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48029   (exit $ac_status); }; }; then
48030   eval "$as_ac_var=yes"
48031 else
48032   echo "$as_me: failed program was:" >&5
48033 sed 's/^/| /' conftest.$ac_ext >&5
48034
48035 eval "$as_ac_var=no"
48036 fi
48037 rm -f conftest.err conftest.$ac_objext \
48038       conftest$ac_exeext conftest.$ac_ext
48039 fi
48040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48042 if test `eval echo '${'$as_ac_var'}'` = yes; then
48043   cat >>confdefs.h <<_ACEOF
48044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48045 _ACEOF
48046
48047 fi
48048 done
48049
48050   fi
48051
48052
48053   echo "$as_me:$LINENO: checking for _long double round functions" >&5
48054 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48055   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48056   echo $ECHO_N "(cached) $ECHO_C" >&6
48057 else
48058
48059
48060
48061     ac_ext=cc
48062 ac_cpp='$CXXCPP $CPPFLAGS'
48063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48066
48067     cat >conftest.$ac_ext <<_ACEOF
48068 /* confdefs.h.  */
48069 _ACEOF
48070 cat confdefs.h >>conftest.$ac_ext
48071 cat >>conftest.$ac_ext <<_ACEOF
48072 /* end confdefs.h.  */
48073 #include <math.h>
48074 int
48075 main ()
48076 {
48077  `for x in _ceill _floorl; do echo "$x (0);"; done`
48078   ;
48079   return 0;
48080 }
48081 _ACEOF
48082 rm -f conftest.$ac_objext
48083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48084   (eval $ac_compile) 2>conftest.er1
48085   ac_status=$?
48086   grep -v '^ *+' conftest.er1 >conftest.err
48087   rm -f conftest.er1
48088   cat conftest.err >&5
48089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48090   (exit $ac_status); } &&
48091          { ac_try='test -z "$ac_cxx_werror_flag"
48092                          || test ! -s conftest.err'
48093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48094   (eval $ac_try) 2>&5
48095   ac_status=$?
48096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48097   (exit $ac_status); }; } &&
48098          { ac_try='test -s conftest.$ac_objext'
48099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48100   (eval $ac_try) 2>&5
48101   ac_status=$?
48102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48103   (exit $ac_status); }; }; then
48104   glibcxx_cv_func__long_double_round_use=yes
48105 else
48106   echo "$as_me: failed program was:" >&5
48107 sed 's/^/| /' conftest.$ac_ext >&5
48108
48109 glibcxx_cv_func__long_double_round_use=no
48110 fi
48111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48112     ac_ext=c
48113 ac_cpp='$CPP $CPPFLAGS'
48114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48117
48118 fi
48119
48120   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48121 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48122   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48123
48124
48125 for ac_func in _ceill _floorl
48126 do
48127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48128 echo "$as_me:$LINENO: checking for $ac_func" >&5
48129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48130 if eval "test \"\${$as_ac_var+set}\" = set"; then
48131   echo $ECHO_N "(cached) $ECHO_C" >&6
48132 else
48133   if test x$gcc_no_link = xyes; then
48134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48136    { (exit 1); exit 1; }; }
48137 fi
48138 cat >conftest.$ac_ext <<_ACEOF
48139 /* confdefs.h.  */
48140 _ACEOF
48141 cat confdefs.h >>conftest.$ac_ext
48142 cat >>conftest.$ac_ext <<_ACEOF
48143 /* end confdefs.h.  */
48144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48146 #define $ac_func innocuous_$ac_func
48147
48148 /* System header to define __stub macros and hopefully few prototypes,
48149     which can conflict with char $ac_func (); below.
48150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48151     <limits.h> exists even on freestanding compilers.  */
48152
48153 #ifdef __STDC__
48154 # include <limits.h>
48155 #else
48156 # include <assert.h>
48157 #endif
48158
48159 #undef $ac_func
48160
48161 /* Override any gcc2 internal prototype to avoid an error.  */
48162 #ifdef __cplusplus
48163 extern "C"
48164 {
48165 #endif
48166 /* We use char because int might match the return type of a gcc2
48167    builtin and then its argument prototype would still apply.  */
48168 char $ac_func ();
48169 /* The GNU C library defines this for functions which it implements
48170     to always fail with ENOSYS.  Some functions are actually named
48171     something starting with __ and the normal name is an alias.  */
48172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48173 choke me
48174 #else
48175 char (*f) () = $ac_func;
48176 #endif
48177 #ifdef __cplusplus
48178 }
48179 #endif
48180
48181 int
48182 main ()
48183 {
48184 return f != $ac_func;
48185   ;
48186   return 0;
48187 }
48188 _ACEOF
48189 rm -f conftest.$ac_objext conftest$ac_exeext
48190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48191   (eval $ac_link) 2>conftest.er1
48192   ac_status=$?
48193   grep -v '^ *+' conftest.er1 >conftest.err
48194   rm -f conftest.er1
48195   cat conftest.err >&5
48196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48197   (exit $ac_status); } &&
48198          { ac_try='test -z "$ac_c_werror_flag"
48199                          || test ! -s conftest.err'
48200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48201   (eval $ac_try) 2>&5
48202   ac_status=$?
48203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48204   (exit $ac_status); }; } &&
48205          { ac_try='test -s conftest$ac_exeext'
48206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48207   (eval $ac_try) 2>&5
48208   ac_status=$?
48209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48210   (exit $ac_status); }; }; then
48211   eval "$as_ac_var=yes"
48212 else
48213   echo "$as_me: failed program was:" >&5
48214 sed 's/^/| /' conftest.$ac_ext >&5
48215
48216 eval "$as_ac_var=no"
48217 fi
48218 rm -f conftest.err conftest.$ac_objext \
48219       conftest$ac_exeext conftest.$ac_ext
48220 fi
48221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48223 if test `eval echo '${'$as_ac_var'}'` = yes; then
48224   cat >>confdefs.h <<_ACEOF
48225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48226 _ACEOF
48227
48228 fi
48229 done
48230
48231   fi
48232
48233
48234   LIBS="$ac_save_LIBS"
48235   CXXFLAGS="$ac_save_CXXFLAGS"
48236
48237
48238
48239   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48240 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48241   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48242     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48243   echo $ECHO_N "(cached) $ECHO_C" >&6
48244 else
48245
48246
48247
48248       ac_ext=cc
48249 ac_cpp='$CXXCPP $CPPFLAGS'
48250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48253
48254       cat >conftest.$ac_ext <<_ACEOF
48255 /* confdefs.h.  */
48256 _ACEOF
48257 cat confdefs.h >>conftest.$ac_ext
48258 cat >>conftest.$ac_ext <<_ACEOF
48259 /* end confdefs.h.  */
48260 #include <math.h>
48261 int
48262 main ()
48263 {
48264  __builtin_abs(0);
48265   ;
48266   return 0;
48267 }
48268 _ACEOF
48269 rm -f conftest.$ac_objext
48270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48271   (eval $ac_compile) 2>conftest.er1
48272   ac_status=$?
48273   grep -v '^ *+' conftest.er1 >conftest.err
48274   rm -f conftest.er1
48275   cat conftest.err >&5
48276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48277   (exit $ac_status); } &&
48278          { ac_try='test -z "$ac_cxx_werror_flag"
48279                          || test ! -s conftest.err'
48280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48281   (eval $ac_try) 2>&5
48282   ac_status=$?
48283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48284   (exit $ac_status); }; } &&
48285          { ac_try='test -s conftest.$ac_objext'
48286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48287   (eval $ac_try) 2>&5
48288   ac_status=$?
48289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48290   (exit $ac_status); }; }; then
48291   glibcxx_cv_func___builtin_abs_use=yes
48292 else
48293   echo "$as_me: failed program was:" >&5
48294 sed 's/^/| /' conftest.$ac_ext >&5
48295
48296 glibcxx_cv_func___builtin_abs_use=no
48297 fi
48298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48299       ac_ext=c
48300 ac_cpp='$CPP $CPPFLAGS'
48301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48304
48305
48306 fi
48307
48308   fi
48309   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48310 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48311   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48312     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48313 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48314     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48315       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48316   echo $ECHO_N "(cached) $ECHO_C" >&6
48317 else
48318
48319         if test x$gcc_no_link = xyes; then
48320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48322    { (exit 1); exit 1; }; }
48323 fi
48324 cat >conftest.$ac_ext <<_ACEOF
48325 /* confdefs.h.  */
48326 _ACEOF
48327 cat confdefs.h >>conftest.$ac_ext
48328 cat >>conftest.$ac_ext <<_ACEOF
48329 /* end confdefs.h.  */
48330 #include <math.h>
48331 int
48332 main ()
48333 {
48334  __builtin_abs(0);
48335   ;
48336   return 0;
48337 }
48338 _ACEOF
48339 rm -f conftest.$ac_objext conftest$ac_exeext
48340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48341   (eval $ac_link) 2>conftest.er1
48342   ac_status=$?
48343   grep -v '^ *+' conftest.er1 >conftest.err
48344   rm -f conftest.er1
48345   cat conftest.err >&5
48346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48347   (exit $ac_status); } &&
48348          { ac_try='test -z "$ac_c_werror_flag"
48349                          || test ! -s conftest.err'
48350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48351   (eval $ac_try) 2>&5
48352   ac_status=$?
48353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48354   (exit $ac_status); }; } &&
48355          { ac_try='test -s conftest$ac_exeext'
48356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48357   (eval $ac_try) 2>&5
48358   ac_status=$?
48359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48360   (exit $ac_status); }; }; then
48361   glibcxx_cv_func___builtin_abs_link=yes
48362 else
48363   echo "$as_me: failed program was:" >&5
48364 sed 's/^/| /' conftest.$ac_ext >&5
48365
48366 glibcxx_cv_func___builtin_abs_link=no
48367 fi
48368 rm -f conftest.err conftest.$ac_objext \
48369       conftest$ac_exeext conftest.$ac_ext
48370
48371 fi
48372
48373     fi
48374     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48375 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48376     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48377       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48378
48379 cat >>confdefs.h <<_ACEOF
48380 #define ${ac_tr_func} 1
48381 _ACEOF
48382
48383     fi
48384   fi
48385
48386
48387   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48388 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48389   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48390     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48391   echo $ECHO_N "(cached) $ECHO_C" >&6
48392 else
48393
48394
48395
48396       ac_ext=cc
48397 ac_cpp='$CXXCPP $CPPFLAGS'
48398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48401
48402       cat >conftest.$ac_ext <<_ACEOF
48403 /* confdefs.h.  */
48404 _ACEOF
48405 cat confdefs.h >>conftest.$ac_ext
48406 cat >>conftest.$ac_ext <<_ACEOF
48407 /* end confdefs.h.  */
48408 #include <math.h>
48409 int
48410 main ()
48411 {
48412  __builtin_fabsf(0);
48413   ;
48414   return 0;
48415 }
48416 _ACEOF
48417 rm -f conftest.$ac_objext
48418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48419   (eval $ac_compile) 2>conftest.er1
48420   ac_status=$?
48421   grep -v '^ *+' conftest.er1 >conftest.err
48422   rm -f conftest.er1
48423   cat conftest.err >&5
48424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425   (exit $ac_status); } &&
48426          { ac_try='test -z "$ac_cxx_werror_flag"
48427                          || test ! -s conftest.err'
48428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48429   (eval $ac_try) 2>&5
48430   ac_status=$?
48431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48432   (exit $ac_status); }; } &&
48433          { ac_try='test -s conftest.$ac_objext'
48434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48435   (eval $ac_try) 2>&5
48436   ac_status=$?
48437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48438   (exit $ac_status); }; }; then
48439   glibcxx_cv_func___builtin_fabsf_use=yes
48440 else
48441   echo "$as_me: failed program was:" >&5
48442 sed 's/^/| /' conftest.$ac_ext >&5
48443
48444 glibcxx_cv_func___builtin_fabsf_use=no
48445 fi
48446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48447       ac_ext=c
48448 ac_cpp='$CPP $CPPFLAGS'
48449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48452
48453
48454 fi
48455
48456   fi
48457   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48458 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48459   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48460     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48461 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48462     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48463       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48464   echo $ECHO_N "(cached) $ECHO_C" >&6
48465 else
48466
48467         if test x$gcc_no_link = xyes; then
48468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48470    { (exit 1); exit 1; }; }
48471 fi
48472 cat >conftest.$ac_ext <<_ACEOF
48473 /* confdefs.h.  */
48474 _ACEOF
48475 cat confdefs.h >>conftest.$ac_ext
48476 cat >>conftest.$ac_ext <<_ACEOF
48477 /* end confdefs.h.  */
48478 #include <math.h>
48479 int
48480 main ()
48481 {
48482  __builtin_fabsf(0);
48483   ;
48484   return 0;
48485 }
48486 _ACEOF
48487 rm -f conftest.$ac_objext conftest$ac_exeext
48488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48489   (eval $ac_link) 2>conftest.er1
48490   ac_status=$?
48491   grep -v '^ *+' conftest.er1 >conftest.err
48492   rm -f conftest.er1
48493   cat conftest.err >&5
48494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495   (exit $ac_status); } &&
48496          { ac_try='test -z "$ac_c_werror_flag"
48497                          || test ! -s conftest.err'
48498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48499   (eval $ac_try) 2>&5
48500   ac_status=$?
48501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48502   (exit $ac_status); }; } &&
48503          { ac_try='test -s conftest$ac_exeext'
48504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48505   (eval $ac_try) 2>&5
48506   ac_status=$?
48507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48508   (exit $ac_status); }; }; then
48509   glibcxx_cv_func___builtin_fabsf_link=yes
48510 else
48511   echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.$ac_ext >&5
48513
48514 glibcxx_cv_func___builtin_fabsf_link=no
48515 fi
48516 rm -f conftest.err conftest.$ac_objext \
48517       conftest$ac_exeext conftest.$ac_ext
48518
48519 fi
48520
48521     fi
48522     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48523 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48524     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48525       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48526
48527 cat >>confdefs.h <<_ACEOF
48528 #define ${ac_tr_func} 1
48529 _ACEOF
48530
48531     fi
48532   fi
48533
48534
48535   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48536 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48537   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48538     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48539   echo $ECHO_N "(cached) $ECHO_C" >&6
48540 else
48541
48542
48543
48544       ac_ext=cc
48545 ac_cpp='$CXXCPP $CPPFLAGS'
48546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48549
48550       cat >conftest.$ac_ext <<_ACEOF
48551 /* confdefs.h.  */
48552 _ACEOF
48553 cat confdefs.h >>conftest.$ac_ext
48554 cat >>conftest.$ac_ext <<_ACEOF
48555 /* end confdefs.h.  */
48556 #include <math.h>
48557 int
48558 main ()
48559 {
48560  __builtin_fabs(0);
48561   ;
48562   return 0;
48563 }
48564 _ACEOF
48565 rm -f conftest.$ac_objext
48566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48567   (eval $ac_compile) 2>conftest.er1
48568   ac_status=$?
48569   grep -v '^ *+' conftest.er1 >conftest.err
48570   rm -f conftest.er1
48571   cat conftest.err >&5
48572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48573   (exit $ac_status); } &&
48574          { ac_try='test -z "$ac_cxx_werror_flag"
48575                          || test ! -s conftest.err'
48576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48577   (eval $ac_try) 2>&5
48578   ac_status=$?
48579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48580   (exit $ac_status); }; } &&
48581          { ac_try='test -s conftest.$ac_objext'
48582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48583   (eval $ac_try) 2>&5
48584   ac_status=$?
48585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48586   (exit $ac_status); }; }; then
48587   glibcxx_cv_func___builtin_fabs_use=yes
48588 else
48589   echo "$as_me: failed program was:" >&5
48590 sed 's/^/| /' conftest.$ac_ext >&5
48591
48592 glibcxx_cv_func___builtin_fabs_use=no
48593 fi
48594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48595       ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48600
48601
48602 fi
48603
48604   fi
48605   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48606 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48607   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48608     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48609 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48610     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48611       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48612   echo $ECHO_N "(cached) $ECHO_C" >&6
48613 else
48614
48615         if test x$gcc_no_link = xyes; then
48616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48618    { (exit 1); exit 1; }; }
48619 fi
48620 cat >conftest.$ac_ext <<_ACEOF
48621 /* confdefs.h.  */
48622 _ACEOF
48623 cat confdefs.h >>conftest.$ac_ext
48624 cat >>conftest.$ac_ext <<_ACEOF
48625 /* end confdefs.h.  */
48626 #include <math.h>
48627 int
48628 main ()
48629 {
48630  __builtin_fabs(0);
48631   ;
48632   return 0;
48633 }
48634 _ACEOF
48635 rm -f conftest.$ac_objext conftest$ac_exeext
48636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48637   (eval $ac_link) 2>conftest.er1
48638   ac_status=$?
48639   grep -v '^ *+' conftest.er1 >conftest.err
48640   rm -f conftest.er1
48641   cat conftest.err >&5
48642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48643   (exit $ac_status); } &&
48644          { ac_try='test -z "$ac_c_werror_flag"
48645                          || test ! -s conftest.err'
48646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48647   (eval $ac_try) 2>&5
48648   ac_status=$?
48649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48650   (exit $ac_status); }; } &&
48651          { ac_try='test -s conftest$ac_exeext'
48652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48653   (eval $ac_try) 2>&5
48654   ac_status=$?
48655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656   (exit $ac_status); }; }; then
48657   glibcxx_cv_func___builtin_fabs_link=yes
48658 else
48659   echo "$as_me: failed program was:" >&5
48660 sed 's/^/| /' conftest.$ac_ext >&5
48661
48662 glibcxx_cv_func___builtin_fabs_link=no
48663 fi
48664 rm -f conftest.err conftest.$ac_objext \
48665       conftest$ac_exeext conftest.$ac_ext
48666
48667 fi
48668
48669     fi
48670     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48671 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48672     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48673       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48674
48675 cat >>confdefs.h <<_ACEOF
48676 #define ${ac_tr_func} 1
48677 _ACEOF
48678
48679     fi
48680   fi
48681
48682
48683   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48684 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48685   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48686     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48687   echo $ECHO_N "(cached) $ECHO_C" >&6
48688 else
48689
48690
48691
48692       ac_ext=cc
48693 ac_cpp='$CXXCPP $CPPFLAGS'
48694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48697
48698       cat >conftest.$ac_ext <<_ACEOF
48699 /* confdefs.h.  */
48700 _ACEOF
48701 cat confdefs.h >>conftest.$ac_ext
48702 cat >>conftest.$ac_ext <<_ACEOF
48703 /* end confdefs.h.  */
48704 #include <math.h>
48705 int
48706 main ()
48707 {
48708  __builtin_fabsl(0);
48709   ;
48710   return 0;
48711 }
48712 _ACEOF
48713 rm -f conftest.$ac_objext
48714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48715   (eval $ac_compile) 2>conftest.er1
48716   ac_status=$?
48717   grep -v '^ *+' conftest.er1 >conftest.err
48718   rm -f conftest.er1
48719   cat conftest.err >&5
48720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48721   (exit $ac_status); } &&
48722          { ac_try='test -z "$ac_cxx_werror_flag"
48723                          || test ! -s conftest.err'
48724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48725   (eval $ac_try) 2>&5
48726   ac_status=$?
48727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48728   (exit $ac_status); }; } &&
48729          { ac_try='test -s conftest.$ac_objext'
48730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48731   (eval $ac_try) 2>&5
48732   ac_status=$?
48733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48734   (exit $ac_status); }; }; then
48735   glibcxx_cv_func___builtin_fabsl_use=yes
48736 else
48737   echo "$as_me: failed program was:" >&5
48738 sed 's/^/| /' conftest.$ac_ext >&5
48739
48740 glibcxx_cv_func___builtin_fabsl_use=no
48741 fi
48742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48743       ac_ext=c
48744 ac_cpp='$CPP $CPPFLAGS'
48745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748
48749
48750 fi
48751
48752   fi
48753   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48754 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48755   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48756     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48757 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48758     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48759       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48760   echo $ECHO_N "(cached) $ECHO_C" >&6
48761 else
48762
48763         if test x$gcc_no_link = xyes; then
48764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48766    { (exit 1); exit 1; }; }
48767 fi
48768 cat >conftest.$ac_ext <<_ACEOF
48769 /* confdefs.h.  */
48770 _ACEOF
48771 cat confdefs.h >>conftest.$ac_ext
48772 cat >>conftest.$ac_ext <<_ACEOF
48773 /* end confdefs.h.  */
48774 #include <math.h>
48775 int
48776 main ()
48777 {
48778  __builtin_fabsl(0);
48779   ;
48780   return 0;
48781 }
48782 _ACEOF
48783 rm -f conftest.$ac_objext conftest$ac_exeext
48784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48785   (eval $ac_link) 2>conftest.er1
48786   ac_status=$?
48787   grep -v '^ *+' conftest.er1 >conftest.err
48788   rm -f conftest.er1
48789   cat conftest.err >&5
48790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791   (exit $ac_status); } &&
48792          { ac_try='test -z "$ac_c_werror_flag"
48793                          || test ! -s conftest.err'
48794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48795   (eval $ac_try) 2>&5
48796   ac_status=$?
48797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48798   (exit $ac_status); }; } &&
48799          { ac_try='test -s conftest$ac_exeext'
48800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48801   (eval $ac_try) 2>&5
48802   ac_status=$?
48803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48804   (exit $ac_status); }; }; then
48805   glibcxx_cv_func___builtin_fabsl_link=yes
48806 else
48807   echo "$as_me: failed program was:" >&5
48808 sed 's/^/| /' conftest.$ac_ext >&5
48809
48810 glibcxx_cv_func___builtin_fabsl_link=no
48811 fi
48812 rm -f conftest.err conftest.$ac_objext \
48813       conftest$ac_exeext conftest.$ac_ext
48814
48815 fi
48816
48817     fi
48818     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48819 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48820     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48821       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48822
48823 cat >>confdefs.h <<_ACEOF
48824 #define ${ac_tr_func} 1
48825 _ACEOF
48826
48827     fi
48828   fi
48829
48830
48831   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48832 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48833   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48834     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48835   echo $ECHO_N "(cached) $ECHO_C" >&6
48836 else
48837
48838
48839
48840       ac_ext=cc
48841 ac_cpp='$CXXCPP $CPPFLAGS'
48842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48845
48846       cat >conftest.$ac_ext <<_ACEOF
48847 /* confdefs.h.  */
48848 _ACEOF
48849 cat confdefs.h >>conftest.$ac_ext
48850 cat >>conftest.$ac_ext <<_ACEOF
48851 /* end confdefs.h.  */
48852 #include <math.h>
48853 int
48854 main ()
48855 {
48856  __builtin_labs(0);
48857   ;
48858   return 0;
48859 }
48860 _ACEOF
48861 rm -f conftest.$ac_objext
48862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48863   (eval $ac_compile) 2>conftest.er1
48864   ac_status=$?
48865   grep -v '^ *+' conftest.er1 >conftest.err
48866   rm -f conftest.er1
48867   cat conftest.err >&5
48868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48869   (exit $ac_status); } &&
48870          { ac_try='test -z "$ac_cxx_werror_flag"
48871                          || test ! -s conftest.err'
48872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48873   (eval $ac_try) 2>&5
48874   ac_status=$?
48875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48876   (exit $ac_status); }; } &&
48877          { ac_try='test -s conftest.$ac_objext'
48878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48879   (eval $ac_try) 2>&5
48880   ac_status=$?
48881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48882   (exit $ac_status); }; }; then
48883   glibcxx_cv_func___builtin_labs_use=yes
48884 else
48885   echo "$as_me: failed program was:" >&5
48886 sed 's/^/| /' conftest.$ac_ext >&5
48887
48888 glibcxx_cv_func___builtin_labs_use=no
48889 fi
48890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48891       ac_ext=c
48892 ac_cpp='$CPP $CPPFLAGS'
48893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48896
48897
48898 fi
48899
48900   fi
48901   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48902 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48903   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48904     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48905 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48906     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48907       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48908   echo $ECHO_N "(cached) $ECHO_C" >&6
48909 else
48910
48911         if test x$gcc_no_link = xyes; then
48912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48914    { (exit 1); exit 1; }; }
48915 fi
48916 cat >conftest.$ac_ext <<_ACEOF
48917 /* confdefs.h.  */
48918 _ACEOF
48919 cat confdefs.h >>conftest.$ac_ext
48920 cat >>conftest.$ac_ext <<_ACEOF
48921 /* end confdefs.h.  */
48922 #include <math.h>
48923 int
48924 main ()
48925 {
48926  __builtin_labs(0);
48927   ;
48928   return 0;
48929 }
48930 _ACEOF
48931 rm -f conftest.$ac_objext conftest$ac_exeext
48932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48933   (eval $ac_link) 2>conftest.er1
48934   ac_status=$?
48935   grep -v '^ *+' conftest.er1 >conftest.err
48936   rm -f conftest.er1
48937   cat conftest.err >&5
48938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48939   (exit $ac_status); } &&
48940          { ac_try='test -z "$ac_c_werror_flag"
48941                          || test ! -s conftest.err'
48942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48943   (eval $ac_try) 2>&5
48944   ac_status=$?
48945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48946   (exit $ac_status); }; } &&
48947          { ac_try='test -s conftest$ac_exeext'
48948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48949   (eval $ac_try) 2>&5
48950   ac_status=$?
48951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48952   (exit $ac_status); }; }; then
48953   glibcxx_cv_func___builtin_labs_link=yes
48954 else
48955   echo "$as_me: failed program was:" >&5
48956 sed 's/^/| /' conftest.$ac_ext >&5
48957
48958 glibcxx_cv_func___builtin_labs_link=no
48959 fi
48960 rm -f conftest.err conftest.$ac_objext \
48961       conftest$ac_exeext conftest.$ac_ext
48962
48963 fi
48964
48965     fi
48966     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48967 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48968     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48969       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48970
48971 cat >>confdefs.h <<_ACEOF
48972 #define ${ac_tr_func} 1
48973 _ACEOF
48974
48975     fi
48976   fi
48977
48978
48979
48980   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48981 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48982   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48983     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48984   echo $ECHO_N "(cached) $ECHO_C" >&6
48985 else
48986
48987
48988
48989       ac_ext=cc
48990 ac_cpp='$CXXCPP $CPPFLAGS'
48991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48994
48995       cat >conftest.$ac_ext <<_ACEOF
48996 /* confdefs.h.  */
48997 _ACEOF
48998 cat confdefs.h >>conftest.$ac_ext
48999 cat >>conftest.$ac_ext <<_ACEOF
49000 /* end confdefs.h.  */
49001 #include <math.h>
49002 int
49003 main ()
49004 {
49005  __builtin_sqrtf(0);
49006   ;
49007   return 0;
49008 }
49009 _ACEOF
49010 rm -f conftest.$ac_objext
49011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49012   (eval $ac_compile) 2>conftest.er1
49013   ac_status=$?
49014   grep -v '^ *+' conftest.er1 >conftest.err
49015   rm -f conftest.er1
49016   cat conftest.err >&5
49017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49018   (exit $ac_status); } &&
49019          { ac_try='test -z "$ac_cxx_werror_flag"
49020                          || test ! -s conftest.err'
49021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49022   (eval $ac_try) 2>&5
49023   ac_status=$?
49024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49025   (exit $ac_status); }; } &&
49026          { ac_try='test -s conftest.$ac_objext'
49027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49028   (eval $ac_try) 2>&5
49029   ac_status=$?
49030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49031   (exit $ac_status); }; }; then
49032   glibcxx_cv_func___builtin_sqrtf_use=yes
49033 else
49034   echo "$as_me: failed program was:" >&5
49035 sed 's/^/| /' conftest.$ac_ext >&5
49036
49037 glibcxx_cv_func___builtin_sqrtf_use=no
49038 fi
49039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49040       ac_ext=c
49041 ac_cpp='$CPP $CPPFLAGS'
49042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49045
49046
49047 fi
49048
49049   fi
49050   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49051 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49052   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49053     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49054 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49055     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49056       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49057   echo $ECHO_N "(cached) $ECHO_C" >&6
49058 else
49059
49060         if test x$gcc_no_link = xyes; then
49061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49063    { (exit 1); exit 1; }; }
49064 fi
49065 cat >conftest.$ac_ext <<_ACEOF
49066 /* confdefs.h.  */
49067 _ACEOF
49068 cat confdefs.h >>conftest.$ac_ext
49069 cat >>conftest.$ac_ext <<_ACEOF
49070 /* end confdefs.h.  */
49071 #include <math.h>
49072 int
49073 main ()
49074 {
49075  __builtin_sqrtf(0);
49076   ;
49077   return 0;
49078 }
49079 _ACEOF
49080 rm -f conftest.$ac_objext conftest$ac_exeext
49081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49082   (eval $ac_link) 2>conftest.er1
49083   ac_status=$?
49084   grep -v '^ *+' conftest.er1 >conftest.err
49085   rm -f conftest.er1
49086   cat conftest.err >&5
49087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088   (exit $ac_status); } &&
49089          { ac_try='test -z "$ac_c_werror_flag"
49090                          || test ! -s conftest.err'
49091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49092   (eval $ac_try) 2>&5
49093   ac_status=$?
49094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095   (exit $ac_status); }; } &&
49096          { ac_try='test -s conftest$ac_exeext'
49097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49098   (eval $ac_try) 2>&5
49099   ac_status=$?
49100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49101   (exit $ac_status); }; }; then
49102   glibcxx_cv_func___builtin_sqrtf_link=yes
49103 else
49104   echo "$as_me: failed program was:" >&5
49105 sed 's/^/| /' conftest.$ac_ext >&5
49106
49107 glibcxx_cv_func___builtin_sqrtf_link=no
49108 fi
49109 rm -f conftest.err conftest.$ac_objext \
49110       conftest$ac_exeext conftest.$ac_ext
49111
49112 fi
49113
49114     fi
49115     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49116 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49117     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49118       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49119
49120 cat >>confdefs.h <<_ACEOF
49121 #define ${ac_tr_func} 1
49122 _ACEOF
49123
49124     fi
49125   fi
49126
49127
49128   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49129 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49130   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49131     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49132   echo $ECHO_N "(cached) $ECHO_C" >&6
49133 else
49134
49135
49136
49137       ac_ext=cc
49138 ac_cpp='$CXXCPP $CPPFLAGS'
49139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49142
49143       cat >conftest.$ac_ext <<_ACEOF
49144 /* confdefs.h.  */
49145 _ACEOF
49146 cat confdefs.h >>conftest.$ac_ext
49147 cat >>conftest.$ac_ext <<_ACEOF
49148 /* end confdefs.h.  */
49149 #include <math.h>
49150 int
49151 main ()
49152 {
49153  __builtin_sqrt(0);
49154   ;
49155   return 0;
49156 }
49157 _ACEOF
49158 rm -f conftest.$ac_objext
49159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49160   (eval $ac_compile) 2>conftest.er1
49161   ac_status=$?
49162   grep -v '^ *+' conftest.er1 >conftest.err
49163   rm -f conftest.er1
49164   cat conftest.err >&5
49165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49166   (exit $ac_status); } &&
49167          { ac_try='test -z "$ac_cxx_werror_flag"
49168                          || test ! -s conftest.err'
49169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49170   (eval $ac_try) 2>&5
49171   ac_status=$?
49172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49173   (exit $ac_status); }; } &&
49174          { ac_try='test -s conftest.$ac_objext'
49175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49176   (eval $ac_try) 2>&5
49177   ac_status=$?
49178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49179   (exit $ac_status); }; }; then
49180   glibcxx_cv_func___builtin_sqrt_use=yes
49181 else
49182   echo "$as_me: failed program was:" >&5
49183 sed 's/^/| /' conftest.$ac_ext >&5
49184
49185 glibcxx_cv_func___builtin_sqrt_use=no
49186 fi
49187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49188       ac_ext=c
49189 ac_cpp='$CPP $CPPFLAGS'
49190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49193
49194
49195 fi
49196
49197   fi
49198   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49199 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49200   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49201     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49202 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49203     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49204       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49205   echo $ECHO_N "(cached) $ECHO_C" >&6
49206 else
49207
49208         if test x$gcc_no_link = xyes; then
49209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49211    { (exit 1); exit 1; }; }
49212 fi
49213 cat >conftest.$ac_ext <<_ACEOF
49214 /* confdefs.h.  */
49215 _ACEOF
49216 cat confdefs.h >>conftest.$ac_ext
49217 cat >>conftest.$ac_ext <<_ACEOF
49218 /* end confdefs.h.  */
49219 #include <math.h>
49220 int
49221 main ()
49222 {
49223  __builtin_sqrt(0);
49224   ;
49225   return 0;
49226 }
49227 _ACEOF
49228 rm -f conftest.$ac_objext conftest$ac_exeext
49229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49230   (eval $ac_link) 2>conftest.er1
49231   ac_status=$?
49232   grep -v '^ *+' conftest.er1 >conftest.err
49233   rm -f conftest.er1
49234   cat conftest.err >&5
49235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49236   (exit $ac_status); } &&
49237          { ac_try='test -z "$ac_c_werror_flag"
49238                          || test ! -s conftest.err'
49239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49240   (eval $ac_try) 2>&5
49241   ac_status=$?
49242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49243   (exit $ac_status); }; } &&
49244          { ac_try='test -s conftest$ac_exeext'
49245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49246   (eval $ac_try) 2>&5
49247   ac_status=$?
49248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49249   (exit $ac_status); }; }; then
49250   glibcxx_cv_func___builtin_sqrt_link=yes
49251 else
49252   echo "$as_me: failed program was:" >&5
49253 sed 's/^/| /' conftest.$ac_ext >&5
49254
49255 glibcxx_cv_func___builtin_sqrt_link=no
49256 fi
49257 rm -f conftest.err conftest.$ac_objext \
49258       conftest$ac_exeext conftest.$ac_ext
49259
49260 fi
49261
49262     fi
49263     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49264 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49265     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49266       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49267
49268 cat >>confdefs.h <<_ACEOF
49269 #define ${ac_tr_func} 1
49270 _ACEOF
49271
49272     fi
49273   fi
49274
49275
49276   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49277 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49278   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49279     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49280   echo $ECHO_N "(cached) $ECHO_C" >&6
49281 else
49282
49283
49284
49285       ac_ext=cc
49286 ac_cpp='$CXXCPP $CPPFLAGS'
49287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49290
49291       cat >conftest.$ac_ext <<_ACEOF
49292 /* confdefs.h.  */
49293 _ACEOF
49294 cat confdefs.h >>conftest.$ac_ext
49295 cat >>conftest.$ac_ext <<_ACEOF
49296 /* end confdefs.h.  */
49297 #include <math.h>
49298 int
49299 main ()
49300 {
49301  __builtin_sqrtl(0);
49302   ;
49303   return 0;
49304 }
49305 _ACEOF
49306 rm -f conftest.$ac_objext
49307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49308   (eval $ac_compile) 2>conftest.er1
49309   ac_status=$?
49310   grep -v '^ *+' conftest.er1 >conftest.err
49311   rm -f conftest.er1
49312   cat conftest.err >&5
49313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49314   (exit $ac_status); } &&
49315          { ac_try='test -z "$ac_cxx_werror_flag"
49316                          || test ! -s conftest.err'
49317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49318   (eval $ac_try) 2>&5
49319   ac_status=$?
49320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49321   (exit $ac_status); }; } &&
49322          { ac_try='test -s conftest.$ac_objext'
49323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49324   (eval $ac_try) 2>&5
49325   ac_status=$?
49326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49327   (exit $ac_status); }; }; then
49328   glibcxx_cv_func___builtin_sqrtl_use=yes
49329 else
49330   echo "$as_me: failed program was:" >&5
49331 sed 's/^/| /' conftest.$ac_ext >&5
49332
49333 glibcxx_cv_func___builtin_sqrtl_use=no
49334 fi
49335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49336       ac_ext=c
49337 ac_cpp='$CPP $CPPFLAGS'
49338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49341
49342
49343 fi
49344
49345   fi
49346   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49347 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49348   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49349     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49350 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49351     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49352       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49353   echo $ECHO_N "(cached) $ECHO_C" >&6
49354 else
49355
49356         if test x$gcc_no_link = xyes; then
49357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49359    { (exit 1); exit 1; }; }
49360 fi
49361 cat >conftest.$ac_ext <<_ACEOF
49362 /* confdefs.h.  */
49363 _ACEOF
49364 cat confdefs.h >>conftest.$ac_ext
49365 cat >>conftest.$ac_ext <<_ACEOF
49366 /* end confdefs.h.  */
49367 #include <math.h>
49368 int
49369 main ()
49370 {
49371  __builtin_sqrtl(0);
49372   ;
49373   return 0;
49374 }
49375 _ACEOF
49376 rm -f conftest.$ac_objext conftest$ac_exeext
49377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49378   (eval $ac_link) 2>conftest.er1
49379   ac_status=$?
49380   grep -v '^ *+' conftest.er1 >conftest.err
49381   rm -f conftest.er1
49382   cat conftest.err >&5
49383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49384   (exit $ac_status); } &&
49385          { ac_try='test -z "$ac_c_werror_flag"
49386                          || test ! -s conftest.err'
49387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49388   (eval $ac_try) 2>&5
49389   ac_status=$?
49390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49391   (exit $ac_status); }; } &&
49392          { ac_try='test -s conftest$ac_exeext'
49393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49394   (eval $ac_try) 2>&5
49395   ac_status=$?
49396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397   (exit $ac_status); }; }; then
49398   glibcxx_cv_func___builtin_sqrtl_link=yes
49399 else
49400   echo "$as_me: failed program was:" >&5
49401 sed 's/^/| /' conftest.$ac_ext >&5
49402
49403 glibcxx_cv_func___builtin_sqrtl_link=no
49404 fi
49405 rm -f conftest.err conftest.$ac_objext \
49406       conftest$ac_exeext conftest.$ac_ext
49407
49408 fi
49409
49410     fi
49411     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49412 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49413     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49414       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49415
49416 cat >>confdefs.h <<_ACEOF
49417 #define ${ac_tr_func} 1
49418 _ACEOF
49419
49420     fi
49421   fi
49422
49423
49424
49425   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49426 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49427   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49428     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49429   echo $ECHO_N "(cached) $ECHO_C" >&6
49430 else
49431
49432
49433
49434       ac_ext=cc
49435 ac_cpp='$CXXCPP $CPPFLAGS'
49436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49439
49440       cat >conftest.$ac_ext <<_ACEOF
49441 /* confdefs.h.  */
49442 _ACEOF
49443 cat confdefs.h >>conftest.$ac_ext
49444 cat >>conftest.$ac_ext <<_ACEOF
49445 /* end confdefs.h.  */
49446 #include <math.h>
49447 int
49448 main ()
49449 {
49450  __builtin_sinf(0);
49451   ;
49452   return 0;
49453 }
49454 _ACEOF
49455 rm -f conftest.$ac_objext
49456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49457   (eval $ac_compile) 2>conftest.er1
49458   ac_status=$?
49459   grep -v '^ *+' conftest.er1 >conftest.err
49460   rm -f conftest.er1
49461   cat conftest.err >&5
49462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49463   (exit $ac_status); } &&
49464          { ac_try='test -z "$ac_cxx_werror_flag"
49465                          || test ! -s conftest.err'
49466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49467   (eval $ac_try) 2>&5
49468   ac_status=$?
49469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49470   (exit $ac_status); }; } &&
49471          { ac_try='test -s conftest.$ac_objext'
49472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49473   (eval $ac_try) 2>&5
49474   ac_status=$?
49475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476   (exit $ac_status); }; }; then
49477   glibcxx_cv_func___builtin_sinf_use=yes
49478 else
49479   echo "$as_me: failed program was:" >&5
49480 sed 's/^/| /' conftest.$ac_ext >&5
49481
49482 glibcxx_cv_func___builtin_sinf_use=no
49483 fi
49484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49485       ac_ext=c
49486 ac_cpp='$CPP $CPPFLAGS'
49487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49490
49491
49492 fi
49493
49494   fi
49495   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49496 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49497   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49498     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49499 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49500     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49501       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49502   echo $ECHO_N "(cached) $ECHO_C" >&6
49503 else
49504
49505         if test x$gcc_no_link = xyes; then
49506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49508    { (exit 1); exit 1; }; }
49509 fi
49510 cat >conftest.$ac_ext <<_ACEOF
49511 /* confdefs.h.  */
49512 _ACEOF
49513 cat confdefs.h >>conftest.$ac_ext
49514 cat >>conftest.$ac_ext <<_ACEOF
49515 /* end confdefs.h.  */
49516 #include <math.h>
49517 int
49518 main ()
49519 {
49520  __builtin_sinf(0);
49521   ;
49522   return 0;
49523 }
49524 _ACEOF
49525 rm -f conftest.$ac_objext conftest$ac_exeext
49526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49527   (eval $ac_link) 2>conftest.er1
49528   ac_status=$?
49529   grep -v '^ *+' conftest.er1 >conftest.err
49530   rm -f conftest.er1
49531   cat conftest.err >&5
49532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49533   (exit $ac_status); } &&
49534          { ac_try='test -z "$ac_c_werror_flag"
49535                          || test ! -s conftest.err'
49536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49537   (eval $ac_try) 2>&5
49538   ac_status=$?
49539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49540   (exit $ac_status); }; } &&
49541          { ac_try='test -s conftest$ac_exeext'
49542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49543   (eval $ac_try) 2>&5
49544   ac_status=$?
49545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49546   (exit $ac_status); }; }; then
49547   glibcxx_cv_func___builtin_sinf_link=yes
49548 else
49549   echo "$as_me: failed program was:" >&5
49550 sed 's/^/| /' conftest.$ac_ext >&5
49551
49552 glibcxx_cv_func___builtin_sinf_link=no
49553 fi
49554 rm -f conftest.err conftest.$ac_objext \
49555       conftest$ac_exeext conftest.$ac_ext
49556
49557 fi
49558
49559     fi
49560     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49561 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49562     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49563       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49564
49565 cat >>confdefs.h <<_ACEOF
49566 #define ${ac_tr_func} 1
49567 _ACEOF
49568
49569     fi
49570   fi
49571
49572
49573   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49574 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49575   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49576     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49577   echo $ECHO_N "(cached) $ECHO_C" >&6
49578 else
49579
49580
49581
49582       ac_ext=cc
49583 ac_cpp='$CXXCPP $CPPFLAGS'
49584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49587
49588       cat >conftest.$ac_ext <<_ACEOF
49589 /* confdefs.h.  */
49590 _ACEOF
49591 cat confdefs.h >>conftest.$ac_ext
49592 cat >>conftest.$ac_ext <<_ACEOF
49593 /* end confdefs.h.  */
49594 #include <math.h>
49595 int
49596 main ()
49597 {
49598  __builtin_sin(0);
49599   ;
49600   return 0;
49601 }
49602 _ACEOF
49603 rm -f conftest.$ac_objext
49604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49605   (eval $ac_compile) 2>conftest.er1
49606   ac_status=$?
49607   grep -v '^ *+' conftest.er1 >conftest.err
49608   rm -f conftest.er1
49609   cat conftest.err >&5
49610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49611   (exit $ac_status); } &&
49612          { ac_try='test -z "$ac_cxx_werror_flag"
49613                          || test ! -s conftest.err'
49614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49615   (eval $ac_try) 2>&5
49616   ac_status=$?
49617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49618   (exit $ac_status); }; } &&
49619          { ac_try='test -s conftest.$ac_objext'
49620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49621   (eval $ac_try) 2>&5
49622   ac_status=$?
49623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49624   (exit $ac_status); }; }; then
49625   glibcxx_cv_func___builtin_sin_use=yes
49626 else
49627   echo "$as_me: failed program was:" >&5
49628 sed 's/^/| /' conftest.$ac_ext >&5
49629
49630 glibcxx_cv_func___builtin_sin_use=no
49631 fi
49632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49633       ac_ext=c
49634 ac_cpp='$CPP $CPPFLAGS'
49635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49638
49639
49640 fi
49641
49642   fi
49643   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49644 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49645   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49646     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49647 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49648     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49649       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49650   echo $ECHO_N "(cached) $ECHO_C" >&6
49651 else
49652
49653         if test x$gcc_no_link = xyes; then
49654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49656    { (exit 1); exit 1; }; }
49657 fi
49658 cat >conftest.$ac_ext <<_ACEOF
49659 /* confdefs.h.  */
49660 _ACEOF
49661 cat confdefs.h >>conftest.$ac_ext
49662 cat >>conftest.$ac_ext <<_ACEOF
49663 /* end confdefs.h.  */
49664 #include <math.h>
49665 int
49666 main ()
49667 {
49668  __builtin_sin(0);
49669   ;
49670   return 0;
49671 }
49672 _ACEOF
49673 rm -f conftest.$ac_objext conftest$ac_exeext
49674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49675   (eval $ac_link) 2>conftest.er1
49676   ac_status=$?
49677   grep -v '^ *+' conftest.er1 >conftest.err
49678   rm -f conftest.er1
49679   cat conftest.err >&5
49680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49681   (exit $ac_status); } &&
49682          { ac_try='test -z "$ac_c_werror_flag"
49683                          || test ! -s conftest.err'
49684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49685   (eval $ac_try) 2>&5
49686   ac_status=$?
49687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49688   (exit $ac_status); }; } &&
49689          { ac_try='test -s conftest$ac_exeext'
49690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49691   (eval $ac_try) 2>&5
49692   ac_status=$?
49693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49694   (exit $ac_status); }; }; then
49695   glibcxx_cv_func___builtin_sin_link=yes
49696 else
49697   echo "$as_me: failed program was:" >&5
49698 sed 's/^/| /' conftest.$ac_ext >&5
49699
49700 glibcxx_cv_func___builtin_sin_link=no
49701 fi
49702 rm -f conftest.err conftest.$ac_objext \
49703       conftest$ac_exeext conftest.$ac_ext
49704
49705 fi
49706
49707     fi
49708     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49710     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49711       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49712
49713 cat >>confdefs.h <<_ACEOF
49714 #define ${ac_tr_func} 1
49715 _ACEOF
49716
49717     fi
49718   fi
49719
49720
49721   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49722 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49723   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49724     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49725   echo $ECHO_N "(cached) $ECHO_C" >&6
49726 else
49727
49728
49729
49730       ac_ext=cc
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49735
49736       cat >conftest.$ac_ext <<_ACEOF
49737 /* confdefs.h.  */
49738 _ACEOF
49739 cat confdefs.h >>conftest.$ac_ext
49740 cat >>conftest.$ac_ext <<_ACEOF
49741 /* end confdefs.h.  */
49742 #include <math.h>
49743 int
49744 main ()
49745 {
49746  __builtin_sinl(0);
49747   ;
49748   return 0;
49749 }
49750 _ACEOF
49751 rm -f conftest.$ac_objext
49752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49753   (eval $ac_compile) 2>conftest.er1
49754   ac_status=$?
49755   grep -v '^ *+' conftest.er1 >conftest.err
49756   rm -f conftest.er1
49757   cat conftest.err >&5
49758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759   (exit $ac_status); } &&
49760          { ac_try='test -z "$ac_cxx_werror_flag"
49761                          || test ! -s conftest.err'
49762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49763   (eval $ac_try) 2>&5
49764   ac_status=$?
49765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766   (exit $ac_status); }; } &&
49767          { ac_try='test -s conftest.$ac_objext'
49768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49769   (eval $ac_try) 2>&5
49770   ac_status=$?
49771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772   (exit $ac_status); }; }; then
49773   glibcxx_cv_func___builtin_sinl_use=yes
49774 else
49775   echo "$as_me: failed program was:" >&5
49776 sed 's/^/| /' conftest.$ac_ext >&5
49777
49778 glibcxx_cv_func___builtin_sinl_use=no
49779 fi
49780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49781       ac_ext=c
49782 ac_cpp='$CPP $CPPFLAGS'
49783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49786
49787
49788 fi
49789
49790   fi
49791   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49792 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49793   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49794     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49795 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49796     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49797       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49798   echo $ECHO_N "(cached) $ECHO_C" >&6
49799 else
49800
49801         if test x$gcc_no_link = xyes; then
49802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49804    { (exit 1); exit 1; }; }
49805 fi
49806 cat >conftest.$ac_ext <<_ACEOF
49807 /* confdefs.h.  */
49808 _ACEOF
49809 cat confdefs.h >>conftest.$ac_ext
49810 cat >>conftest.$ac_ext <<_ACEOF
49811 /* end confdefs.h.  */
49812 #include <math.h>
49813 int
49814 main ()
49815 {
49816  __builtin_sinl(0);
49817   ;
49818   return 0;
49819 }
49820 _ACEOF
49821 rm -f conftest.$ac_objext conftest$ac_exeext
49822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49823   (eval $ac_link) 2>conftest.er1
49824   ac_status=$?
49825   grep -v '^ *+' conftest.er1 >conftest.err
49826   rm -f conftest.er1
49827   cat conftest.err >&5
49828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49829   (exit $ac_status); } &&
49830          { ac_try='test -z "$ac_c_werror_flag"
49831                          || test ! -s conftest.err'
49832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49833   (eval $ac_try) 2>&5
49834   ac_status=$?
49835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49836   (exit $ac_status); }; } &&
49837          { ac_try='test -s conftest$ac_exeext'
49838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49839   (eval $ac_try) 2>&5
49840   ac_status=$?
49841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49842   (exit $ac_status); }; }; then
49843   glibcxx_cv_func___builtin_sinl_link=yes
49844 else
49845   echo "$as_me: failed program was:" >&5
49846 sed 's/^/| /' conftest.$ac_ext >&5
49847
49848 glibcxx_cv_func___builtin_sinl_link=no
49849 fi
49850 rm -f conftest.err conftest.$ac_objext \
49851       conftest$ac_exeext conftest.$ac_ext
49852
49853 fi
49854
49855     fi
49856     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49857 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49858     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49859       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49860
49861 cat >>confdefs.h <<_ACEOF
49862 #define ${ac_tr_func} 1
49863 _ACEOF
49864
49865     fi
49866   fi
49867
49868
49869
49870   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49871 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49872   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49873     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49874   echo $ECHO_N "(cached) $ECHO_C" >&6
49875 else
49876
49877
49878
49879       ac_ext=cc
49880 ac_cpp='$CXXCPP $CPPFLAGS'
49881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49884
49885       cat >conftest.$ac_ext <<_ACEOF
49886 /* confdefs.h.  */
49887 _ACEOF
49888 cat confdefs.h >>conftest.$ac_ext
49889 cat >>conftest.$ac_ext <<_ACEOF
49890 /* end confdefs.h.  */
49891 #include <math.h>
49892 int
49893 main ()
49894 {
49895  __builtin_cosf(0);
49896   ;
49897   return 0;
49898 }
49899 _ACEOF
49900 rm -f conftest.$ac_objext
49901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49902   (eval $ac_compile) 2>conftest.er1
49903   ac_status=$?
49904   grep -v '^ *+' conftest.er1 >conftest.err
49905   rm -f conftest.er1
49906   cat conftest.err >&5
49907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49908   (exit $ac_status); } &&
49909          { ac_try='test -z "$ac_cxx_werror_flag"
49910                          || test ! -s conftest.err'
49911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49912   (eval $ac_try) 2>&5
49913   ac_status=$?
49914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915   (exit $ac_status); }; } &&
49916          { ac_try='test -s conftest.$ac_objext'
49917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49918   (eval $ac_try) 2>&5
49919   ac_status=$?
49920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49921   (exit $ac_status); }; }; then
49922   glibcxx_cv_func___builtin_cosf_use=yes
49923 else
49924   echo "$as_me: failed program was:" >&5
49925 sed 's/^/| /' conftest.$ac_ext >&5
49926
49927 glibcxx_cv_func___builtin_cosf_use=no
49928 fi
49929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49930       ac_ext=c
49931 ac_cpp='$CPP $CPPFLAGS'
49932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49935
49936
49937 fi
49938
49939   fi
49940   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49941 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49942   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49943     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49944 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49945     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49946       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49947   echo $ECHO_N "(cached) $ECHO_C" >&6
49948 else
49949
49950         if test x$gcc_no_link = xyes; then
49951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49953    { (exit 1); exit 1; }; }
49954 fi
49955 cat >conftest.$ac_ext <<_ACEOF
49956 /* confdefs.h.  */
49957 _ACEOF
49958 cat confdefs.h >>conftest.$ac_ext
49959 cat >>conftest.$ac_ext <<_ACEOF
49960 /* end confdefs.h.  */
49961 #include <math.h>
49962 int
49963 main ()
49964 {
49965  __builtin_cosf(0);
49966   ;
49967   return 0;
49968 }
49969 _ACEOF
49970 rm -f conftest.$ac_objext conftest$ac_exeext
49971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49972   (eval $ac_link) 2>conftest.er1
49973   ac_status=$?
49974   grep -v '^ *+' conftest.er1 >conftest.err
49975   rm -f conftest.er1
49976   cat conftest.err >&5
49977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49978   (exit $ac_status); } &&
49979          { ac_try='test -z "$ac_c_werror_flag"
49980                          || test ! -s conftest.err'
49981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49982   (eval $ac_try) 2>&5
49983   ac_status=$?
49984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49985   (exit $ac_status); }; } &&
49986          { ac_try='test -s conftest$ac_exeext'
49987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49988   (eval $ac_try) 2>&5
49989   ac_status=$?
49990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49991   (exit $ac_status); }; }; then
49992   glibcxx_cv_func___builtin_cosf_link=yes
49993 else
49994   echo "$as_me: failed program was:" >&5
49995 sed 's/^/| /' conftest.$ac_ext >&5
49996
49997 glibcxx_cv_func___builtin_cosf_link=no
49998 fi
49999 rm -f conftest.err conftest.$ac_objext \
50000       conftest$ac_exeext conftest.$ac_ext
50001
50002 fi
50003
50004     fi
50005     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50006 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50007     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50008       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50009
50010 cat >>confdefs.h <<_ACEOF
50011 #define ${ac_tr_func} 1
50012 _ACEOF
50013
50014     fi
50015   fi
50016
50017
50018   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50019 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50020   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50021     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50022   echo $ECHO_N "(cached) $ECHO_C" >&6
50023 else
50024
50025
50026
50027       ac_ext=cc
50028 ac_cpp='$CXXCPP $CPPFLAGS'
50029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50032
50033       cat >conftest.$ac_ext <<_ACEOF
50034 /* confdefs.h.  */
50035 _ACEOF
50036 cat confdefs.h >>conftest.$ac_ext
50037 cat >>conftest.$ac_ext <<_ACEOF
50038 /* end confdefs.h.  */
50039 #include <math.h>
50040 int
50041 main ()
50042 {
50043  __builtin_cos(0);
50044   ;
50045   return 0;
50046 }
50047 _ACEOF
50048 rm -f conftest.$ac_objext
50049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50050   (eval $ac_compile) 2>conftest.er1
50051   ac_status=$?
50052   grep -v '^ *+' conftest.er1 >conftest.err
50053   rm -f conftest.er1
50054   cat conftest.err >&5
50055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50056   (exit $ac_status); } &&
50057          { ac_try='test -z "$ac_cxx_werror_flag"
50058                          || test ! -s conftest.err'
50059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50060   (eval $ac_try) 2>&5
50061   ac_status=$?
50062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50063   (exit $ac_status); }; } &&
50064          { ac_try='test -s conftest.$ac_objext'
50065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50066   (eval $ac_try) 2>&5
50067   ac_status=$?
50068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50069   (exit $ac_status); }; }; then
50070   glibcxx_cv_func___builtin_cos_use=yes
50071 else
50072   echo "$as_me: failed program was:" >&5
50073 sed 's/^/| /' conftest.$ac_ext >&5
50074
50075 glibcxx_cv_func___builtin_cos_use=no
50076 fi
50077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50078       ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50083
50084
50085 fi
50086
50087   fi
50088   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50089 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50090   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50091     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50092 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50093     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50094       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50095   echo $ECHO_N "(cached) $ECHO_C" >&6
50096 else
50097
50098         if test x$gcc_no_link = xyes; then
50099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50101    { (exit 1); exit 1; }; }
50102 fi
50103 cat >conftest.$ac_ext <<_ACEOF
50104 /* confdefs.h.  */
50105 _ACEOF
50106 cat confdefs.h >>conftest.$ac_ext
50107 cat >>conftest.$ac_ext <<_ACEOF
50108 /* end confdefs.h.  */
50109 #include <math.h>
50110 int
50111 main ()
50112 {
50113  __builtin_cos(0);
50114   ;
50115   return 0;
50116 }
50117 _ACEOF
50118 rm -f conftest.$ac_objext conftest$ac_exeext
50119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50120   (eval $ac_link) 2>conftest.er1
50121   ac_status=$?
50122   grep -v '^ *+' conftest.er1 >conftest.err
50123   rm -f conftest.er1
50124   cat conftest.err >&5
50125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50126   (exit $ac_status); } &&
50127          { ac_try='test -z "$ac_c_werror_flag"
50128                          || test ! -s conftest.err'
50129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50130   (eval $ac_try) 2>&5
50131   ac_status=$?
50132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50133   (exit $ac_status); }; } &&
50134          { ac_try='test -s conftest$ac_exeext'
50135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50136   (eval $ac_try) 2>&5
50137   ac_status=$?
50138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50139   (exit $ac_status); }; }; then
50140   glibcxx_cv_func___builtin_cos_link=yes
50141 else
50142   echo "$as_me: failed program was:" >&5
50143 sed 's/^/| /' conftest.$ac_ext >&5
50144
50145 glibcxx_cv_func___builtin_cos_link=no
50146 fi
50147 rm -f conftest.err conftest.$ac_objext \
50148       conftest$ac_exeext conftest.$ac_ext
50149
50150 fi
50151
50152     fi
50153     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50154 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50155     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50156       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50157
50158 cat >>confdefs.h <<_ACEOF
50159 #define ${ac_tr_func} 1
50160 _ACEOF
50161
50162     fi
50163   fi
50164
50165
50166   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50167 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50168   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50169     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50170   echo $ECHO_N "(cached) $ECHO_C" >&6
50171 else
50172
50173
50174
50175       ac_ext=cc
50176 ac_cpp='$CXXCPP $CPPFLAGS'
50177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50180
50181       cat >conftest.$ac_ext <<_ACEOF
50182 /* confdefs.h.  */
50183 _ACEOF
50184 cat confdefs.h >>conftest.$ac_ext
50185 cat >>conftest.$ac_ext <<_ACEOF
50186 /* end confdefs.h.  */
50187 #include <math.h>
50188 int
50189 main ()
50190 {
50191  __builtin_cosl(0);
50192   ;
50193   return 0;
50194 }
50195 _ACEOF
50196 rm -f conftest.$ac_objext
50197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50198   (eval $ac_compile) 2>conftest.er1
50199   ac_status=$?
50200   grep -v '^ *+' conftest.er1 >conftest.err
50201   rm -f conftest.er1
50202   cat conftest.err >&5
50203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50204   (exit $ac_status); } &&
50205          { ac_try='test -z "$ac_cxx_werror_flag"
50206                          || test ! -s conftest.err'
50207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50208   (eval $ac_try) 2>&5
50209   ac_status=$?
50210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211   (exit $ac_status); }; } &&
50212          { ac_try='test -s conftest.$ac_objext'
50213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50214   (eval $ac_try) 2>&5
50215   ac_status=$?
50216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50217   (exit $ac_status); }; }; then
50218   glibcxx_cv_func___builtin_cosl_use=yes
50219 else
50220   echo "$as_me: failed program was:" >&5
50221 sed 's/^/| /' conftest.$ac_ext >&5
50222
50223 glibcxx_cv_func___builtin_cosl_use=no
50224 fi
50225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50226       ac_ext=c
50227 ac_cpp='$CPP $CPPFLAGS'
50228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50231
50232
50233 fi
50234
50235   fi
50236   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50237 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50238   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50239     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50240 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50241     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50242       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50243   echo $ECHO_N "(cached) $ECHO_C" >&6
50244 else
50245
50246         if test x$gcc_no_link = xyes; then
50247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50249    { (exit 1); exit 1; }; }
50250 fi
50251 cat >conftest.$ac_ext <<_ACEOF
50252 /* confdefs.h.  */
50253 _ACEOF
50254 cat confdefs.h >>conftest.$ac_ext
50255 cat >>conftest.$ac_ext <<_ACEOF
50256 /* end confdefs.h.  */
50257 #include <math.h>
50258 int
50259 main ()
50260 {
50261  __builtin_cosl(0);
50262   ;
50263   return 0;
50264 }
50265 _ACEOF
50266 rm -f conftest.$ac_objext conftest$ac_exeext
50267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50268   (eval $ac_link) 2>conftest.er1
50269   ac_status=$?
50270   grep -v '^ *+' conftest.er1 >conftest.err
50271   rm -f conftest.er1
50272   cat conftest.err >&5
50273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50274   (exit $ac_status); } &&
50275          { ac_try='test -z "$ac_c_werror_flag"
50276                          || test ! -s conftest.err'
50277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50278   (eval $ac_try) 2>&5
50279   ac_status=$?
50280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50281   (exit $ac_status); }; } &&
50282          { ac_try='test -s conftest$ac_exeext'
50283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50284   (eval $ac_try) 2>&5
50285   ac_status=$?
50286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50287   (exit $ac_status); }; }; then
50288   glibcxx_cv_func___builtin_cosl_link=yes
50289 else
50290   echo "$as_me: failed program was:" >&5
50291 sed 's/^/| /' conftest.$ac_ext >&5
50292
50293 glibcxx_cv_func___builtin_cosl_link=no
50294 fi
50295 rm -f conftest.err conftest.$ac_objext \
50296       conftest$ac_exeext conftest.$ac_ext
50297
50298 fi
50299
50300     fi
50301     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50302 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50303     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50304       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50305
50306 cat >>confdefs.h <<_ACEOF
50307 #define ${ac_tr_func} 1
50308 _ACEOF
50309
50310     fi
50311   fi
50312
50313
50314
50315
50316 echo "$as_me:$LINENO: checking for main in -lm" >&5
50317 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50318 if test "${ac_cv_lib_m_main+set}" = set; then
50319   echo $ECHO_N "(cached) $ECHO_C" >&6
50320 else
50321   ac_check_lib_save_LIBS=$LIBS
50322 LIBS="-lm  $LIBS"
50323 if test x$gcc_no_link = xyes; then
50324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50326    { (exit 1); exit 1; }; }
50327 fi
50328 cat >conftest.$ac_ext <<_ACEOF
50329 /* confdefs.h.  */
50330 _ACEOF
50331 cat confdefs.h >>conftest.$ac_ext
50332 cat >>conftest.$ac_ext <<_ACEOF
50333 /* end confdefs.h.  */
50334
50335
50336 int
50337 main ()
50338 {
50339 main ();
50340   ;
50341   return 0;
50342 }
50343 _ACEOF
50344 rm -f conftest.$ac_objext conftest$ac_exeext
50345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50346   (eval $ac_link) 2>conftest.er1
50347   ac_status=$?
50348   grep -v '^ *+' conftest.er1 >conftest.err
50349   rm -f conftest.er1
50350   cat conftest.err >&5
50351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50352   (exit $ac_status); } &&
50353          { ac_try='test -z "$ac_c_werror_flag"
50354                          || test ! -s conftest.err'
50355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50356   (eval $ac_try) 2>&5
50357   ac_status=$?
50358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50359   (exit $ac_status); }; } &&
50360          { ac_try='test -s conftest$ac_exeext'
50361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50362   (eval $ac_try) 2>&5
50363   ac_status=$?
50364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50365   (exit $ac_status); }; }; then
50366   ac_cv_lib_m_main=yes
50367 else
50368   echo "$as_me: failed program was:" >&5
50369 sed 's/^/| /' conftest.$ac_ext >&5
50370
50371 ac_cv_lib_m_main=no
50372 fi
50373 rm -f conftest.err conftest.$ac_objext \
50374       conftest$ac_exeext conftest.$ac_ext
50375 LIBS=$ac_check_lib_save_LIBS
50376 fi
50377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50378 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50379 if test $ac_cv_lib_m_main = yes; then
50380   cat >>confdefs.h <<_ACEOF
50381 #define HAVE_LIBM 1
50382 _ACEOF
50383
50384   LIBS="-lm $LIBS"
50385
50386 fi
50387
50388
50389 for ac_func in copysignf
50390 do
50391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50392 echo "$as_me:$LINENO: checking for $ac_func" >&5
50393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50394 if eval "test \"\${$as_ac_var+set}\" = set"; then
50395   echo $ECHO_N "(cached) $ECHO_C" >&6
50396 else
50397   if test x$gcc_no_link = xyes; then
50398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50400    { (exit 1); exit 1; }; }
50401 fi
50402 cat >conftest.$ac_ext <<_ACEOF
50403 /* confdefs.h.  */
50404 _ACEOF
50405 cat confdefs.h >>conftest.$ac_ext
50406 cat >>conftest.$ac_ext <<_ACEOF
50407 /* end confdefs.h.  */
50408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50410 #define $ac_func innocuous_$ac_func
50411
50412 /* System header to define __stub macros and hopefully few prototypes,
50413     which can conflict with char $ac_func (); below.
50414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50415     <limits.h> exists even on freestanding compilers.  */
50416
50417 #ifdef __STDC__
50418 # include <limits.h>
50419 #else
50420 # include <assert.h>
50421 #endif
50422
50423 #undef $ac_func
50424
50425 /* Override any gcc2 internal prototype to avoid an error.  */
50426 #ifdef __cplusplus
50427 extern "C"
50428 {
50429 #endif
50430 /* We use char because int might match the return type of a gcc2
50431    builtin and then its argument prototype would still apply.  */
50432 char $ac_func ();
50433 /* The GNU C library defines this for functions which it implements
50434     to always fail with ENOSYS.  Some functions are actually named
50435     something starting with __ and the normal name is an alias.  */
50436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50437 choke me
50438 #else
50439 char (*f) () = $ac_func;
50440 #endif
50441 #ifdef __cplusplus
50442 }
50443 #endif
50444
50445 int
50446 main ()
50447 {
50448 return f != $ac_func;
50449   ;
50450   return 0;
50451 }
50452 _ACEOF
50453 rm -f conftest.$ac_objext conftest$ac_exeext
50454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50455   (eval $ac_link) 2>conftest.er1
50456   ac_status=$?
50457   grep -v '^ *+' conftest.er1 >conftest.err
50458   rm -f conftest.er1
50459   cat conftest.err >&5
50460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50461   (exit $ac_status); } &&
50462          { ac_try='test -z "$ac_c_werror_flag"
50463                          || test ! -s conftest.err'
50464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50465   (eval $ac_try) 2>&5
50466   ac_status=$?
50467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50468   (exit $ac_status); }; } &&
50469          { ac_try='test -s conftest$ac_exeext'
50470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471   (eval $ac_try) 2>&5
50472   ac_status=$?
50473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474   (exit $ac_status); }; }; then
50475   eval "$as_ac_var=yes"
50476 else
50477   echo "$as_me: failed program was:" >&5
50478 sed 's/^/| /' conftest.$ac_ext >&5
50479
50480 eval "$as_ac_var=no"
50481 fi
50482 rm -f conftest.err conftest.$ac_objext \
50483       conftest$ac_exeext conftest.$ac_ext
50484 fi
50485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50487 if test `eval echo '${'$as_ac_var'}'` = yes; then
50488   cat >>confdefs.h <<_ACEOF
50489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50490 _ACEOF
50491
50492 else
50493   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50494 fi
50495 done
50496
50497
50498
50499 for ac_func in __signbit
50500 do
50501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50502 echo "$as_me:$LINENO: checking for $ac_func" >&5
50503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50504 if eval "test \"\${$as_ac_var+set}\" = set"; then
50505   echo $ECHO_N "(cached) $ECHO_C" >&6
50506 else
50507   if test x$gcc_no_link = xyes; then
50508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50510    { (exit 1); exit 1; }; }
50511 fi
50512 cat >conftest.$ac_ext <<_ACEOF
50513 /* confdefs.h.  */
50514 _ACEOF
50515 cat confdefs.h >>conftest.$ac_ext
50516 cat >>conftest.$ac_ext <<_ACEOF
50517 /* end confdefs.h.  */
50518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50520 #define $ac_func innocuous_$ac_func
50521
50522 /* System header to define __stub macros and hopefully few prototypes,
50523     which can conflict with char $ac_func (); below.
50524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50525     <limits.h> exists even on freestanding compilers.  */
50526
50527 #ifdef __STDC__
50528 # include <limits.h>
50529 #else
50530 # include <assert.h>
50531 #endif
50532
50533 #undef $ac_func
50534
50535 /* Override any gcc2 internal prototype to avoid an error.  */
50536 #ifdef __cplusplus
50537 extern "C"
50538 {
50539 #endif
50540 /* We use char because int might match the return type of a gcc2
50541    builtin and then its argument prototype would still apply.  */
50542 char $ac_func ();
50543 /* The GNU C library defines this for functions which it implements
50544     to always fail with ENOSYS.  Some functions are actually named
50545     something starting with __ and the normal name is an alias.  */
50546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50547 choke me
50548 #else
50549 char (*f) () = $ac_func;
50550 #endif
50551 #ifdef __cplusplus
50552 }
50553 #endif
50554
50555 int
50556 main ()
50557 {
50558 return f != $ac_func;
50559   ;
50560   return 0;
50561 }
50562 _ACEOF
50563 rm -f conftest.$ac_objext conftest$ac_exeext
50564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50565   (eval $ac_link) 2>conftest.er1
50566   ac_status=$?
50567   grep -v '^ *+' conftest.er1 >conftest.err
50568   rm -f conftest.er1
50569   cat conftest.err >&5
50570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50571   (exit $ac_status); } &&
50572          { ac_try='test -z "$ac_c_werror_flag"
50573                          || test ! -s conftest.err'
50574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50575   (eval $ac_try) 2>&5
50576   ac_status=$?
50577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50578   (exit $ac_status); }; } &&
50579          { ac_try='test -s conftest$ac_exeext'
50580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50581   (eval $ac_try) 2>&5
50582   ac_status=$?
50583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50584   (exit $ac_status); }; }; then
50585   eval "$as_ac_var=yes"
50586 else
50587   echo "$as_me: failed program was:" >&5
50588 sed 's/^/| /' conftest.$ac_ext >&5
50589
50590 eval "$as_ac_var=no"
50591 fi
50592 rm -f conftest.err conftest.$ac_objext \
50593       conftest$ac_exeext conftest.$ac_ext
50594 fi
50595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50597 if test `eval echo '${'$as_ac_var'}'` = yes; then
50598   cat >>confdefs.h <<_ACEOF
50599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50600 _ACEOF
50601
50602 else
50603   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50604 fi
50605 done
50606
50607
50608
50609 for ac_func in __signbitf
50610 do
50611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50612 echo "$as_me:$LINENO: checking for $ac_func" >&5
50613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50614 if eval "test \"\${$as_ac_var+set}\" = set"; then
50615   echo $ECHO_N "(cached) $ECHO_C" >&6
50616 else
50617   if test x$gcc_no_link = xyes; then
50618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50620    { (exit 1); exit 1; }; }
50621 fi
50622 cat >conftest.$ac_ext <<_ACEOF
50623 /* confdefs.h.  */
50624 _ACEOF
50625 cat confdefs.h >>conftest.$ac_ext
50626 cat >>conftest.$ac_ext <<_ACEOF
50627 /* end confdefs.h.  */
50628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50630 #define $ac_func innocuous_$ac_func
50631
50632 /* System header to define __stub macros and hopefully few prototypes,
50633     which can conflict with char $ac_func (); below.
50634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50635     <limits.h> exists even on freestanding compilers.  */
50636
50637 #ifdef __STDC__
50638 # include <limits.h>
50639 #else
50640 # include <assert.h>
50641 #endif
50642
50643 #undef $ac_func
50644
50645 /* Override any gcc2 internal prototype to avoid an error.  */
50646 #ifdef __cplusplus
50647 extern "C"
50648 {
50649 #endif
50650 /* We use char because int might match the return type of a gcc2
50651    builtin and then its argument prototype would still apply.  */
50652 char $ac_func ();
50653 /* The GNU C library defines this for functions which it implements
50654     to always fail with ENOSYS.  Some functions are actually named
50655     something starting with __ and the normal name is an alias.  */
50656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50657 choke me
50658 #else
50659 char (*f) () = $ac_func;
50660 #endif
50661 #ifdef __cplusplus
50662 }
50663 #endif
50664
50665 int
50666 main ()
50667 {
50668 return f != $ac_func;
50669   ;
50670   return 0;
50671 }
50672 _ACEOF
50673 rm -f conftest.$ac_objext conftest$ac_exeext
50674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50675   (eval $ac_link) 2>conftest.er1
50676   ac_status=$?
50677   grep -v '^ *+' conftest.er1 >conftest.err
50678   rm -f conftest.er1
50679   cat conftest.err >&5
50680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681   (exit $ac_status); } &&
50682          { ac_try='test -z "$ac_c_werror_flag"
50683                          || test ! -s conftest.err'
50684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50685   (eval $ac_try) 2>&5
50686   ac_status=$?
50687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50688   (exit $ac_status); }; } &&
50689          { ac_try='test -s conftest$ac_exeext'
50690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50691   (eval $ac_try) 2>&5
50692   ac_status=$?
50693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50694   (exit $ac_status); }; }; then
50695   eval "$as_ac_var=yes"
50696 else
50697   echo "$as_me: failed program was:" >&5
50698 sed 's/^/| /' conftest.$ac_ext >&5
50699
50700 eval "$as_ac_var=no"
50701 fi
50702 rm -f conftest.err conftest.$ac_objext \
50703       conftest$ac_exeext conftest.$ac_ext
50704 fi
50705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50707 if test `eval echo '${'$as_ac_var'}'` = yes; then
50708   cat >>confdefs.h <<_ACEOF
50709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50710 _ACEOF
50711
50712 else
50713   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50714 fi
50715 done
50716
50717
50718           if test x$ac_cv_func_copysignl = x"yes"; then
50719
50720 for ac_func in __signbitl
50721 do
50722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50723 echo "$as_me:$LINENO: checking for $ac_func" >&5
50724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50725 if eval "test \"\${$as_ac_var+set}\" = set"; then
50726   echo $ECHO_N "(cached) $ECHO_C" >&6
50727 else
50728   if test x$gcc_no_link = xyes; then
50729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50731    { (exit 1); exit 1; }; }
50732 fi
50733 cat >conftest.$ac_ext <<_ACEOF
50734 /* confdefs.h.  */
50735 _ACEOF
50736 cat confdefs.h >>conftest.$ac_ext
50737 cat >>conftest.$ac_ext <<_ACEOF
50738 /* end confdefs.h.  */
50739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50741 #define $ac_func innocuous_$ac_func
50742
50743 /* System header to define __stub macros and hopefully few prototypes,
50744     which can conflict with char $ac_func (); below.
50745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50746     <limits.h> exists even on freestanding compilers.  */
50747
50748 #ifdef __STDC__
50749 # include <limits.h>
50750 #else
50751 # include <assert.h>
50752 #endif
50753
50754 #undef $ac_func
50755
50756 /* Override any gcc2 internal prototype to avoid an error.  */
50757 #ifdef __cplusplus
50758 extern "C"
50759 {
50760 #endif
50761 /* We use char because int might match the return type of a gcc2
50762    builtin and then its argument prototype would still apply.  */
50763 char $ac_func ();
50764 /* The GNU C library defines this for functions which it implements
50765     to always fail with ENOSYS.  Some functions are actually named
50766     something starting with __ and the normal name is an alias.  */
50767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50768 choke me
50769 #else
50770 char (*f) () = $ac_func;
50771 #endif
50772 #ifdef __cplusplus
50773 }
50774 #endif
50775
50776 int
50777 main ()
50778 {
50779 return f != $ac_func;
50780   ;
50781   return 0;
50782 }
50783 _ACEOF
50784 rm -f conftest.$ac_objext conftest$ac_exeext
50785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50786   (eval $ac_link) 2>conftest.er1
50787   ac_status=$?
50788   grep -v '^ *+' conftest.er1 >conftest.err
50789   rm -f conftest.er1
50790   cat conftest.err >&5
50791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792   (exit $ac_status); } &&
50793          { ac_try='test -z "$ac_c_werror_flag"
50794                          || test ! -s conftest.err'
50795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50796   (eval $ac_try) 2>&5
50797   ac_status=$?
50798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50799   (exit $ac_status); }; } &&
50800          { ac_try='test -s conftest$ac_exeext'
50801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50802   (eval $ac_try) 2>&5
50803   ac_status=$?
50804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50805   (exit $ac_status); }; }; then
50806   eval "$as_ac_var=yes"
50807 else
50808   echo "$as_me: failed program was:" >&5
50809 sed 's/^/| /' conftest.$ac_ext >&5
50810
50811 eval "$as_ac_var=no"
50812 fi
50813 rm -f conftest.err conftest.$ac_objext \
50814       conftest$ac_exeext conftest.$ac_ext
50815 fi
50816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50818 if test `eval echo '${'$as_ac_var'}'` = yes; then
50819   cat >>confdefs.h <<_ACEOF
50820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50821 _ACEOF
50822
50823 else
50824   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50825 fi
50826 done
50827
50828   fi
50829
50830   # Used in libmath/Makefile.am.
50831   if test -n "$LIBMATHOBJS"; then
50832     need_libmath=yes
50833   fi
50834
50835
50836
50837   # Test wchar.h for mbstate_t, which is needed for char_traits and
50838   # others even if wchar_t support is not on.
50839   echo "$as_me:$LINENO: checking for mbstate_t" >&5
50840 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50841   cat >conftest.$ac_ext <<_ACEOF
50842 /* confdefs.h.  */
50843 _ACEOF
50844 cat confdefs.h >>conftest.$ac_ext
50845 cat >>conftest.$ac_ext <<_ACEOF
50846 /* end confdefs.h.  */
50847 #include <wchar.h>
50848 int
50849 main ()
50850 {
50851 mbstate_t teststate;
50852   ;
50853   return 0;
50854 }
50855 _ACEOF
50856 rm -f conftest.$ac_objext
50857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50858   (eval $ac_compile) 2>conftest.er1
50859   ac_status=$?
50860   grep -v '^ *+' conftest.er1 >conftest.err
50861   rm -f conftest.er1
50862   cat conftest.err >&5
50863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864   (exit $ac_status); } &&
50865          { ac_try='test -z "$ac_c_werror_flag"
50866                          || test ! -s conftest.err'
50867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50868   (eval $ac_try) 2>&5
50869   ac_status=$?
50870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50871   (exit $ac_status); }; } &&
50872          { ac_try='test -s conftest.$ac_objext'
50873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50874   (eval $ac_try) 2>&5
50875   ac_status=$?
50876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50877   (exit $ac_status); }; }; then
50878   have_mbstate_t=yes
50879 else
50880   echo "$as_me: failed program was:" >&5
50881 sed 's/^/| /' conftest.$ac_ext >&5
50882
50883 have_mbstate_t=no
50884 fi
50885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50886   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50887 echo "${ECHO_T}$have_mbstate_t" >&6
50888   if test x"$have_mbstate_t" = xyes; then
50889     cat >>confdefs.h <<\_ACEOF
50890 #define HAVE_MBSTATE_T 1
50891 _ACEOF
50892
50893   fi
50894
50895   # Sanity check for existence of ISO C99 headers for extended encoding.
50896
50897 for ac_header in wchar.h
50898 do
50899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50901   echo "$as_me:$LINENO: checking for $ac_header" >&5
50902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50904   echo $ECHO_N "(cached) $ECHO_C" >&6
50905 fi
50906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50908 else
50909   # Is the header compilable?
50910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50912 cat >conftest.$ac_ext <<_ACEOF
50913 /* confdefs.h.  */
50914 _ACEOF
50915 cat confdefs.h >>conftest.$ac_ext
50916 cat >>conftest.$ac_ext <<_ACEOF
50917 /* end confdefs.h.  */
50918 $ac_includes_default
50919 #include <$ac_header>
50920 _ACEOF
50921 rm -f conftest.$ac_objext
50922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50923   (eval $ac_compile) 2>conftest.er1
50924   ac_status=$?
50925   grep -v '^ *+' conftest.er1 >conftest.err
50926   rm -f conftest.er1
50927   cat conftest.err >&5
50928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50929   (exit $ac_status); } &&
50930          { ac_try='test -z "$ac_c_werror_flag"
50931                          || test ! -s conftest.err'
50932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50933   (eval $ac_try) 2>&5
50934   ac_status=$?
50935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50936   (exit $ac_status); }; } &&
50937          { ac_try='test -s conftest.$ac_objext'
50938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50939   (eval $ac_try) 2>&5
50940   ac_status=$?
50941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50942   (exit $ac_status); }; }; then
50943   ac_header_compiler=yes
50944 else
50945   echo "$as_me: failed program was:" >&5
50946 sed 's/^/| /' conftest.$ac_ext >&5
50947
50948 ac_header_compiler=no
50949 fi
50950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50952 echo "${ECHO_T}$ac_header_compiler" >&6
50953
50954 # Is the header present?
50955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50957 cat >conftest.$ac_ext <<_ACEOF
50958 /* confdefs.h.  */
50959 _ACEOF
50960 cat confdefs.h >>conftest.$ac_ext
50961 cat >>conftest.$ac_ext <<_ACEOF
50962 /* end confdefs.h.  */
50963 #include <$ac_header>
50964 _ACEOF
50965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50966   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50967   ac_status=$?
50968   grep -v '^ *+' conftest.er1 >conftest.err
50969   rm -f conftest.er1
50970   cat conftest.err >&5
50971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972   (exit $ac_status); } >/dev/null; then
50973   if test -s conftest.err; then
50974     ac_cpp_err=$ac_c_preproc_warn_flag
50975     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50976   else
50977     ac_cpp_err=
50978   fi
50979 else
50980   ac_cpp_err=yes
50981 fi
50982 if test -z "$ac_cpp_err"; then
50983   ac_header_preproc=yes
50984 else
50985   echo "$as_me: failed program was:" >&5
50986 sed 's/^/| /' conftest.$ac_ext >&5
50987
50988   ac_header_preproc=no
50989 fi
50990 rm -f conftest.err conftest.$ac_ext
50991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50992 echo "${ECHO_T}$ac_header_preproc" >&6
50993
50994 # So?  What about this header?
50995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50996   yes:no: )
50997     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50999     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51001     ac_header_preproc=yes
51002     ;;
51003   no:yes:* )
51004     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51006     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51007 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51008     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51010     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51011 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51012     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51014     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51016     (
51017       cat <<\_ASBOX
51018 ## ----------------------------------------- ##
51019 ## Report this to the package-unused lists.  ##
51020 ## ----------------------------------------- ##
51021 _ASBOX
51022     ) |
51023       sed "s/^/$as_me: WARNING:     /" >&2
51024     ;;
51025 esac
51026 echo "$as_me:$LINENO: checking for $ac_header" >&5
51027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51029   echo $ECHO_N "(cached) $ECHO_C" >&6
51030 else
51031   eval "$as_ac_Header=\$ac_header_preproc"
51032 fi
51033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51035
51036 fi
51037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51038   cat >>confdefs.h <<_ACEOF
51039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51040 _ACEOF
51041  ac_has_wchar_h=yes
51042 else
51043   ac_has_wchar_h=no
51044 fi
51045
51046 done
51047
51048
51049 for ac_header in wctype.h
51050 do
51051 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51053   echo "$as_me:$LINENO: checking for $ac_header" >&5
51054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51056   echo $ECHO_N "(cached) $ECHO_C" >&6
51057 fi
51058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51060 else
51061   # Is the header compilable?
51062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51064 cat >conftest.$ac_ext <<_ACEOF
51065 /* confdefs.h.  */
51066 _ACEOF
51067 cat confdefs.h >>conftest.$ac_ext
51068 cat >>conftest.$ac_ext <<_ACEOF
51069 /* end confdefs.h.  */
51070 $ac_includes_default
51071 #include <$ac_header>
51072 _ACEOF
51073 rm -f conftest.$ac_objext
51074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51075   (eval $ac_compile) 2>conftest.er1
51076   ac_status=$?
51077   grep -v '^ *+' conftest.er1 >conftest.err
51078   rm -f conftest.er1
51079   cat conftest.err >&5
51080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081   (exit $ac_status); } &&
51082          { ac_try='test -z "$ac_c_werror_flag"
51083                          || test ! -s conftest.err'
51084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51085   (eval $ac_try) 2>&5
51086   ac_status=$?
51087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51088   (exit $ac_status); }; } &&
51089          { ac_try='test -s conftest.$ac_objext'
51090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51091   (eval $ac_try) 2>&5
51092   ac_status=$?
51093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51094   (exit $ac_status); }; }; then
51095   ac_header_compiler=yes
51096 else
51097   echo "$as_me: failed program was:" >&5
51098 sed 's/^/| /' conftest.$ac_ext >&5
51099
51100 ac_header_compiler=no
51101 fi
51102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51104 echo "${ECHO_T}$ac_header_compiler" >&6
51105
51106 # Is the header present?
51107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51109 cat >conftest.$ac_ext <<_ACEOF
51110 /* confdefs.h.  */
51111 _ACEOF
51112 cat confdefs.h >>conftest.$ac_ext
51113 cat >>conftest.$ac_ext <<_ACEOF
51114 /* end confdefs.h.  */
51115 #include <$ac_header>
51116 _ACEOF
51117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51118   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51119   ac_status=$?
51120   grep -v '^ *+' conftest.er1 >conftest.err
51121   rm -f conftest.er1
51122   cat conftest.err >&5
51123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51124   (exit $ac_status); } >/dev/null; then
51125   if test -s conftest.err; then
51126     ac_cpp_err=$ac_c_preproc_warn_flag
51127     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51128   else
51129     ac_cpp_err=
51130   fi
51131 else
51132   ac_cpp_err=yes
51133 fi
51134 if test -z "$ac_cpp_err"; then
51135   ac_header_preproc=yes
51136 else
51137   echo "$as_me: failed program was:" >&5
51138 sed 's/^/| /' conftest.$ac_ext >&5
51139
51140   ac_header_preproc=no
51141 fi
51142 rm -f conftest.err conftest.$ac_ext
51143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51144 echo "${ECHO_T}$ac_header_preproc" >&6
51145
51146 # So?  What about this header?
51147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51148   yes:no: )
51149     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51151     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51152 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51153     ac_header_preproc=yes
51154     ;;
51155   no:yes:* )
51156     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51157 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51158     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51159 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51160     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51161 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51162     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51163 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51164     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51166     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51167 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51168     (
51169       cat <<\_ASBOX
51170 ## ----------------------------------------- ##
51171 ## Report this to the package-unused lists.  ##
51172 ## ----------------------------------------- ##
51173 _ASBOX
51174     ) |
51175       sed "s/^/$as_me: WARNING:     /" >&2
51176     ;;
51177 esac
51178 echo "$as_me:$LINENO: checking for $ac_header" >&5
51179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51181   echo $ECHO_N "(cached) $ECHO_C" >&6
51182 else
51183   eval "$as_ac_Header=\$ac_header_preproc"
51184 fi
51185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51187
51188 fi
51189 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51190   cat >>confdefs.h <<_ACEOF
51191 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51192 _ACEOF
51193  ac_has_wctype_h=yes
51194 else
51195   ac_has_wctype_h=no
51196 fi
51197
51198 done
51199
51200
51201   # Only continue checking if the ISO C99 headers exist and support is on.
51202   if test x"$ac_has_wchar_h" = xyes &&
51203      test x"$ac_has_wctype_h" = xyes &&
51204      test x"$enable_c_mbchar" != xno; then
51205
51206     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51207     # numeric_limits can instantiate type_traits<wchar_t>
51208     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51209 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51210     cat >conftest.$ac_ext <<_ACEOF
51211 /* confdefs.h.  */
51212 _ACEOF
51213 cat confdefs.h >>conftest.$ac_ext
51214 cat >>conftest.$ac_ext <<_ACEOF
51215 /* end confdefs.h.  */
51216 #include <wchar.h>
51217 int
51218 main ()
51219 {
51220 int i = WCHAR_MIN; int j = WCHAR_MAX;
51221   ;
51222   return 0;
51223 }
51224 _ACEOF
51225 rm -f conftest.$ac_objext
51226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51227   (eval $ac_compile) 2>conftest.er1
51228   ac_status=$?
51229   grep -v '^ *+' conftest.er1 >conftest.err
51230   rm -f conftest.er1
51231   cat conftest.err >&5
51232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51233   (exit $ac_status); } &&
51234          { ac_try='test -z "$ac_c_werror_flag"
51235                          || test ! -s conftest.err'
51236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51237   (eval $ac_try) 2>&5
51238   ac_status=$?
51239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51240   (exit $ac_status); }; } &&
51241          { ac_try='test -s conftest.$ac_objext'
51242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51243   (eval $ac_try) 2>&5
51244   ac_status=$?
51245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51246   (exit $ac_status); }; }; then
51247   has_wchar_minmax=yes
51248 else
51249   echo "$as_me: failed program was:" >&5
51250 sed 's/^/| /' conftest.$ac_ext >&5
51251
51252 has_wchar_minmax=no
51253 fi
51254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51255     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51256 echo "${ECHO_T}$has_wchar_minmax" >&6
51257
51258     # Test wchar.h for WEOF, which is what we use to determine whether
51259     # to specialize for char_traits<wchar_t> or not.
51260     echo "$as_me:$LINENO: checking for WEOF" >&5
51261 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51262     cat >conftest.$ac_ext <<_ACEOF
51263 /* confdefs.h.  */
51264 _ACEOF
51265 cat confdefs.h >>conftest.$ac_ext
51266 cat >>conftest.$ac_ext <<_ACEOF
51267 /* end confdefs.h.  */
51268
51269       #include <wchar.h>
51270       #include <stddef.h>
51271 int
51272 main ()
51273 {
51274 wint_t i = WEOF;
51275   ;
51276   return 0;
51277 }
51278 _ACEOF
51279 rm -f conftest.$ac_objext
51280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51281   (eval $ac_compile) 2>conftest.er1
51282   ac_status=$?
51283   grep -v '^ *+' conftest.er1 >conftest.err
51284   rm -f conftest.er1
51285   cat conftest.err >&5
51286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51287   (exit $ac_status); } &&
51288          { ac_try='test -z "$ac_c_werror_flag"
51289                          || test ! -s conftest.err'
51290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51291   (eval $ac_try) 2>&5
51292   ac_status=$?
51293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51294   (exit $ac_status); }; } &&
51295          { ac_try='test -s conftest.$ac_objext'
51296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51297   (eval $ac_try) 2>&5
51298   ac_status=$?
51299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51300   (exit $ac_status); }; }; then
51301   has_weof=yes
51302 else
51303   echo "$as_me: failed program was:" >&5
51304 sed 's/^/| /' conftest.$ac_ext >&5
51305
51306 has_weof=no
51307 fi
51308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51309     echo "$as_me:$LINENO: result: $has_weof" >&5
51310 echo "${ECHO_T}$has_weof" >&6
51311
51312     # Tests for wide character functions used in char_traits<wchar_t>.
51313     ac_wfuncs=yes
51314
51315
51316
51317
51318
51319
51320 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51321 do
51322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51323 echo "$as_me:$LINENO: checking for $ac_func" >&5
51324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51325 if eval "test \"\${$as_ac_var+set}\" = set"; then
51326   echo $ECHO_N "(cached) $ECHO_C" >&6
51327 else
51328   if test x$gcc_no_link = xyes; then
51329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51331    { (exit 1); exit 1; }; }
51332 fi
51333 cat >conftest.$ac_ext <<_ACEOF
51334 /* confdefs.h.  */
51335 _ACEOF
51336 cat confdefs.h >>conftest.$ac_ext
51337 cat >>conftest.$ac_ext <<_ACEOF
51338 /* end confdefs.h.  */
51339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51341 #define $ac_func innocuous_$ac_func
51342
51343 /* System header to define __stub macros and hopefully few prototypes,
51344     which can conflict with char $ac_func (); below.
51345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51346     <limits.h> exists even on freestanding compilers.  */
51347
51348 #ifdef __STDC__
51349 # include <limits.h>
51350 #else
51351 # include <assert.h>
51352 #endif
51353
51354 #undef $ac_func
51355
51356 /* Override any gcc2 internal prototype to avoid an error.  */
51357 #ifdef __cplusplus
51358 extern "C"
51359 {
51360 #endif
51361 /* We use char because int might match the return type of a gcc2
51362    builtin and then its argument prototype would still apply.  */
51363 char $ac_func ();
51364 /* The GNU C library defines this for functions which it implements
51365     to always fail with ENOSYS.  Some functions are actually named
51366     something starting with __ and the normal name is an alias.  */
51367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51368 choke me
51369 #else
51370 char (*f) () = $ac_func;
51371 #endif
51372 #ifdef __cplusplus
51373 }
51374 #endif
51375
51376 int
51377 main ()
51378 {
51379 return f != $ac_func;
51380   ;
51381   return 0;
51382 }
51383 _ACEOF
51384 rm -f conftest.$ac_objext conftest$ac_exeext
51385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51386   (eval $ac_link) 2>conftest.er1
51387   ac_status=$?
51388   grep -v '^ *+' conftest.er1 >conftest.err
51389   rm -f conftest.er1
51390   cat conftest.err >&5
51391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51392   (exit $ac_status); } &&
51393          { ac_try='test -z "$ac_c_werror_flag"
51394                          || test ! -s conftest.err'
51395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51396   (eval $ac_try) 2>&5
51397   ac_status=$?
51398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51399   (exit $ac_status); }; } &&
51400          { ac_try='test -s conftest$ac_exeext'
51401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51402   (eval $ac_try) 2>&5
51403   ac_status=$?
51404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51405   (exit $ac_status); }; }; then
51406   eval "$as_ac_var=yes"
51407 else
51408   echo "$as_me: failed program was:" >&5
51409 sed 's/^/| /' conftest.$ac_ext >&5
51410
51411 eval "$as_ac_var=no"
51412 fi
51413 rm -f conftest.err conftest.$ac_objext \
51414       conftest$ac_exeext conftest.$ac_ext
51415 fi
51416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51418 if test `eval echo '${'$as_ac_var'}'` = yes; then
51419   cat >>confdefs.h <<_ACEOF
51420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51421 _ACEOF
51422
51423 else
51424   ac_wfuncs=no
51425 fi
51426 done
51427
51428
51429     # Checks for names injected into std:: by the c_std headers.
51430
51431
51432
51433
51434
51435
51436
51437
51438
51439
51440
51441
51442
51443
51444
51445
51446
51447
51448
51449
51450
51451
51452
51453
51454
51455
51456
51457
51458
51459
51460
51461
51462
51463
51464
51465
51466
51467
51468
51469
51470
51471
51472
51473
51474
51475
51476 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51477     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51478     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51479     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51480     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51481     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51482 do
51483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51484 echo "$as_me:$LINENO: checking for $ac_func" >&5
51485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51486 if eval "test \"\${$as_ac_var+set}\" = set"; then
51487   echo $ECHO_N "(cached) $ECHO_C" >&6
51488 else
51489   if test x$gcc_no_link = xyes; then
51490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51492    { (exit 1); exit 1; }; }
51493 fi
51494 cat >conftest.$ac_ext <<_ACEOF
51495 /* confdefs.h.  */
51496 _ACEOF
51497 cat confdefs.h >>conftest.$ac_ext
51498 cat >>conftest.$ac_ext <<_ACEOF
51499 /* end confdefs.h.  */
51500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51502 #define $ac_func innocuous_$ac_func
51503
51504 /* System header to define __stub macros and hopefully few prototypes,
51505     which can conflict with char $ac_func (); below.
51506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51507     <limits.h> exists even on freestanding compilers.  */
51508
51509 #ifdef __STDC__
51510 # include <limits.h>
51511 #else
51512 # include <assert.h>
51513 #endif
51514
51515 #undef $ac_func
51516
51517 /* Override any gcc2 internal prototype to avoid an error.  */
51518 #ifdef __cplusplus
51519 extern "C"
51520 {
51521 #endif
51522 /* We use char because int might match the return type of a gcc2
51523    builtin and then its argument prototype would still apply.  */
51524 char $ac_func ();
51525 /* The GNU C library defines this for functions which it implements
51526     to always fail with ENOSYS.  Some functions are actually named
51527     something starting with __ and the normal name is an alias.  */
51528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51529 choke me
51530 #else
51531 char (*f) () = $ac_func;
51532 #endif
51533 #ifdef __cplusplus
51534 }
51535 #endif
51536
51537 int
51538 main ()
51539 {
51540 return f != $ac_func;
51541   ;
51542   return 0;
51543 }
51544 _ACEOF
51545 rm -f conftest.$ac_objext conftest$ac_exeext
51546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51547   (eval $ac_link) 2>conftest.er1
51548   ac_status=$?
51549   grep -v '^ *+' conftest.er1 >conftest.err
51550   rm -f conftest.er1
51551   cat conftest.err >&5
51552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51553   (exit $ac_status); } &&
51554          { ac_try='test -z "$ac_c_werror_flag"
51555                          || test ! -s conftest.err'
51556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51557   (eval $ac_try) 2>&5
51558   ac_status=$?
51559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51560   (exit $ac_status); }; } &&
51561          { ac_try='test -s conftest$ac_exeext'
51562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51563   (eval $ac_try) 2>&5
51564   ac_status=$?
51565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51566   (exit $ac_status); }; }; then
51567   eval "$as_ac_var=yes"
51568 else
51569   echo "$as_me: failed program was:" >&5
51570 sed 's/^/| /' conftest.$ac_ext >&5
51571
51572 eval "$as_ac_var=no"
51573 fi
51574 rm -f conftest.err conftest.$ac_objext \
51575       conftest$ac_exeext conftest.$ac_ext
51576 fi
51577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51579 if test `eval echo '${'$as_ac_var'}'` = yes; then
51580   cat >>confdefs.h <<_ACEOF
51581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51582 _ACEOF
51583
51584 else
51585   ac_wfuncs=no
51586 fi
51587 done
51588
51589
51590     # Checks for wide character functions that are not required
51591     # for basic wchar_t support.  Don't disable support if they are missing.
51592     # Injection of these is wrapped with guard macros.
51593
51594
51595
51596
51597
51598 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51599 do
51600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51601 echo "$as_me:$LINENO: checking for $ac_func" >&5
51602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51603 if eval "test \"\${$as_ac_var+set}\" = set"; then
51604   echo $ECHO_N "(cached) $ECHO_C" >&6
51605 else
51606   if test x$gcc_no_link = xyes; then
51607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51609    { (exit 1); exit 1; }; }
51610 fi
51611 cat >conftest.$ac_ext <<_ACEOF
51612 /* confdefs.h.  */
51613 _ACEOF
51614 cat confdefs.h >>conftest.$ac_ext
51615 cat >>conftest.$ac_ext <<_ACEOF
51616 /* end confdefs.h.  */
51617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51618    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51619 #define $ac_func innocuous_$ac_func
51620
51621 /* System header to define __stub macros and hopefully few prototypes,
51622     which can conflict with char $ac_func (); below.
51623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51624     <limits.h> exists even on freestanding compilers.  */
51625
51626 #ifdef __STDC__
51627 # include <limits.h>
51628 #else
51629 # include <assert.h>
51630 #endif
51631
51632 #undef $ac_func
51633
51634 /* Override any gcc2 internal prototype to avoid an error.  */
51635 #ifdef __cplusplus
51636 extern "C"
51637 {
51638 #endif
51639 /* We use char because int might match the return type of a gcc2
51640    builtin and then its argument prototype would still apply.  */
51641 char $ac_func ();
51642 /* The GNU C library defines this for functions which it implements
51643     to always fail with ENOSYS.  Some functions are actually named
51644     something starting with __ and the normal name is an alias.  */
51645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51646 choke me
51647 #else
51648 char (*f) () = $ac_func;
51649 #endif
51650 #ifdef __cplusplus
51651 }
51652 #endif
51653
51654 int
51655 main ()
51656 {
51657 return f != $ac_func;
51658   ;
51659   return 0;
51660 }
51661 _ACEOF
51662 rm -f conftest.$ac_objext conftest$ac_exeext
51663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51664   (eval $ac_link) 2>conftest.er1
51665   ac_status=$?
51666   grep -v '^ *+' conftest.er1 >conftest.err
51667   rm -f conftest.er1
51668   cat conftest.err >&5
51669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670   (exit $ac_status); } &&
51671          { ac_try='test -z "$ac_c_werror_flag"
51672                          || test ! -s conftest.err'
51673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51674   (eval $ac_try) 2>&5
51675   ac_status=$?
51676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51677   (exit $ac_status); }; } &&
51678          { ac_try='test -s conftest$ac_exeext'
51679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51680   (eval $ac_try) 2>&5
51681   ac_status=$?
51682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51683   (exit $ac_status); }; }; then
51684   eval "$as_ac_var=yes"
51685 else
51686   echo "$as_me: failed program was:" >&5
51687 sed 's/^/| /' conftest.$ac_ext >&5
51688
51689 eval "$as_ac_var=no"
51690 fi
51691 rm -f conftest.err conftest.$ac_objext \
51692       conftest$ac_exeext conftest.$ac_ext
51693 fi
51694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51696 if test `eval echo '${'$as_ac_var'}'` = yes; then
51697   cat >>confdefs.h <<_ACEOF
51698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51699 _ACEOF
51700
51701 fi
51702 done
51703
51704
51705     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51706 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51707     if test x"$has_weof" = xyes &&
51708        test x"$has_wchar_minmax" = xyes &&
51709        test x"$ac_wfuncs" = xyes;
51710     then
51711       ac_isoC99_wchar_t=yes
51712     else
51713       ac_isoC99_wchar_t=no
51714     fi
51715     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51716 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51717
51718     # Use iconv for wchar_t to char conversions. As such, check for
51719     # X/Open Portability Guide, version 2 features (XPG2).
51720     if test "${ac_cv_header_iconv_h+set}" = set; then
51721   echo "$as_me:$LINENO: checking for iconv.h" >&5
51722 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51723 if test "${ac_cv_header_iconv_h+set}" = set; then
51724   echo $ECHO_N "(cached) $ECHO_C" >&6
51725 fi
51726 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51727 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51728 else
51729   # Is the header compilable?
51730 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51731 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51732 cat >conftest.$ac_ext <<_ACEOF
51733 /* confdefs.h.  */
51734 _ACEOF
51735 cat confdefs.h >>conftest.$ac_ext
51736 cat >>conftest.$ac_ext <<_ACEOF
51737 /* end confdefs.h.  */
51738 $ac_includes_default
51739 #include <iconv.h>
51740 _ACEOF
51741 rm -f conftest.$ac_objext
51742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51743   (eval $ac_compile) 2>conftest.er1
51744   ac_status=$?
51745   grep -v '^ *+' conftest.er1 >conftest.err
51746   rm -f conftest.er1
51747   cat conftest.err >&5
51748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749   (exit $ac_status); } &&
51750          { ac_try='test -z "$ac_c_werror_flag"
51751                          || test ! -s conftest.err'
51752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51753   (eval $ac_try) 2>&5
51754   ac_status=$?
51755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51756   (exit $ac_status); }; } &&
51757          { ac_try='test -s conftest.$ac_objext'
51758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51759   (eval $ac_try) 2>&5
51760   ac_status=$?
51761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51762   (exit $ac_status); }; }; then
51763   ac_header_compiler=yes
51764 else
51765   echo "$as_me: failed program was:" >&5
51766 sed 's/^/| /' conftest.$ac_ext >&5
51767
51768 ac_header_compiler=no
51769 fi
51770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51772 echo "${ECHO_T}$ac_header_compiler" >&6
51773
51774 # Is the header present?
51775 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51776 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51777 cat >conftest.$ac_ext <<_ACEOF
51778 /* confdefs.h.  */
51779 _ACEOF
51780 cat confdefs.h >>conftest.$ac_ext
51781 cat >>conftest.$ac_ext <<_ACEOF
51782 /* end confdefs.h.  */
51783 #include <iconv.h>
51784 _ACEOF
51785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51786   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51787   ac_status=$?
51788   grep -v '^ *+' conftest.er1 >conftest.err
51789   rm -f conftest.er1
51790   cat conftest.err >&5
51791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51792   (exit $ac_status); } >/dev/null; then
51793   if test -s conftest.err; then
51794     ac_cpp_err=$ac_c_preproc_warn_flag
51795     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51796   else
51797     ac_cpp_err=
51798   fi
51799 else
51800   ac_cpp_err=yes
51801 fi
51802 if test -z "$ac_cpp_err"; then
51803   ac_header_preproc=yes
51804 else
51805   echo "$as_me: failed program was:" >&5
51806 sed 's/^/| /' conftest.$ac_ext >&5
51807
51808   ac_header_preproc=no
51809 fi
51810 rm -f conftest.err conftest.$ac_ext
51811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51812 echo "${ECHO_T}$ac_header_preproc" >&6
51813
51814 # So?  What about this header?
51815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51816   yes:no: )
51817     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51818 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51819     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51820 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51821     ac_header_preproc=yes
51822     ;;
51823   no:yes:* )
51824     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51825 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51826     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51827 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51828     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51829 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51830     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51831 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51832     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51833 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51834     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51835 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51836     (
51837       cat <<\_ASBOX
51838 ## ----------------------------------------- ##
51839 ## Report this to the package-unused lists.  ##
51840 ## ----------------------------------------- ##
51841 _ASBOX
51842     ) |
51843       sed "s/^/$as_me: WARNING:     /" >&2
51844     ;;
51845 esac
51846 echo "$as_me:$LINENO: checking for iconv.h" >&5
51847 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51848 if test "${ac_cv_header_iconv_h+set}" = set; then
51849   echo $ECHO_N "(cached) $ECHO_C" >&6
51850 else
51851   ac_cv_header_iconv_h=$ac_header_preproc
51852 fi
51853 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51854 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51855
51856 fi
51857 if test $ac_cv_header_iconv_h = yes; then
51858   ac_has_iconv_h=yes
51859 else
51860   ac_has_iconv_h=no
51861 fi
51862
51863
51864     if test "${ac_cv_header_langinfo_h+set}" = set; then
51865   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51866 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51867 if test "${ac_cv_header_langinfo_h+set}" = set; then
51868   echo $ECHO_N "(cached) $ECHO_C" >&6
51869 fi
51870 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51871 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51872 else
51873   # Is the header compilable?
51874 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51875 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51876 cat >conftest.$ac_ext <<_ACEOF
51877 /* confdefs.h.  */
51878 _ACEOF
51879 cat confdefs.h >>conftest.$ac_ext
51880 cat >>conftest.$ac_ext <<_ACEOF
51881 /* end confdefs.h.  */
51882 $ac_includes_default
51883 #include <langinfo.h>
51884 _ACEOF
51885 rm -f conftest.$ac_objext
51886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51887   (eval $ac_compile) 2>conftest.er1
51888   ac_status=$?
51889   grep -v '^ *+' conftest.er1 >conftest.err
51890   rm -f conftest.er1
51891   cat conftest.err >&5
51892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51893   (exit $ac_status); } &&
51894          { ac_try='test -z "$ac_c_werror_flag"
51895                          || test ! -s conftest.err'
51896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51897   (eval $ac_try) 2>&5
51898   ac_status=$?
51899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51900   (exit $ac_status); }; } &&
51901          { ac_try='test -s conftest.$ac_objext'
51902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51903   (eval $ac_try) 2>&5
51904   ac_status=$?
51905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51906   (exit $ac_status); }; }; then
51907   ac_header_compiler=yes
51908 else
51909   echo "$as_me: failed program was:" >&5
51910 sed 's/^/| /' conftest.$ac_ext >&5
51911
51912 ac_header_compiler=no
51913 fi
51914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51916 echo "${ECHO_T}$ac_header_compiler" >&6
51917
51918 # Is the header present?
51919 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51920 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51921 cat >conftest.$ac_ext <<_ACEOF
51922 /* confdefs.h.  */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h.  */
51927 #include <langinfo.h>
51928 _ACEOF
51929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51930   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51931   ac_status=$?
51932   grep -v '^ *+' conftest.er1 >conftest.err
51933   rm -f conftest.er1
51934   cat conftest.err >&5
51935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51936   (exit $ac_status); } >/dev/null; then
51937   if test -s conftest.err; then
51938     ac_cpp_err=$ac_c_preproc_warn_flag
51939     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51940   else
51941     ac_cpp_err=
51942   fi
51943 else
51944   ac_cpp_err=yes
51945 fi
51946 if test -z "$ac_cpp_err"; then
51947   ac_header_preproc=yes
51948 else
51949   echo "$as_me: failed program was:" >&5
51950 sed 's/^/| /' conftest.$ac_ext >&5
51951
51952   ac_header_preproc=no
51953 fi
51954 rm -f conftest.err conftest.$ac_ext
51955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51956 echo "${ECHO_T}$ac_header_preproc" >&6
51957
51958 # So?  What about this header?
51959 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51960   yes:no: )
51961     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51962 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51963     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51964 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51965     ac_header_preproc=yes
51966     ;;
51967   no:yes:* )
51968     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51969 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51970     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
51971 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
51972     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51973 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51974     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
51975 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51976     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51977 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51978     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51979 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51980     (
51981       cat <<\_ASBOX
51982 ## ----------------------------------------- ##
51983 ## Report this to the package-unused lists.  ##
51984 ## ----------------------------------------- ##
51985 _ASBOX
51986     ) |
51987       sed "s/^/$as_me: WARNING:     /" >&2
51988     ;;
51989 esac
51990 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51991 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51992 if test "${ac_cv_header_langinfo_h+set}" = set; then
51993   echo $ECHO_N "(cached) $ECHO_C" >&6
51994 else
51995   ac_cv_header_langinfo_h=$ac_header_preproc
51996 fi
51997 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51998 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51999
52000 fi
52001 if test $ac_cv_header_langinfo_h = yes; then
52002   ac_has_langinfo_h=yes
52003 else
52004   ac_has_langinfo_h=no
52005 fi
52006
52007
52008
52009     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52010     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52011 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52012 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52013   echo $ECHO_N "(cached) $ECHO_C" >&6
52014 else
52015   ac_check_lib_save_LIBS=$LIBS
52016 LIBS="-liconv  $LIBS"
52017 if test x$gcc_no_link = xyes; then
52018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52020    { (exit 1); exit 1; }; }
52021 fi
52022 cat >conftest.$ac_ext <<_ACEOF
52023 /* confdefs.h.  */
52024 _ACEOF
52025 cat confdefs.h >>conftest.$ac_ext
52026 cat >>conftest.$ac_ext <<_ACEOF
52027 /* end confdefs.h.  */
52028
52029 /* Override any gcc2 internal prototype to avoid an error.  */
52030 #ifdef __cplusplus
52031 extern "C"
52032 #endif
52033 /* We use char because int might match the return type of a gcc2
52034    builtin and then its argument prototype would still apply.  */
52035 char iconv ();
52036 int
52037 main ()
52038 {
52039 iconv ();
52040   ;
52041   return 0;
52042 }
52043 _ACEOF
52044 rm -f conftest.$ac_objext conftest$ac_exeext
52045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52046   (eval $ac_link) 2>conftest.er1
52047   ac_status=$?
52048   grep -v '^ *+' conftest.er1 >conftest.err
52049   rm -f conftest.er1
52050   cat conftest.err >&5
52051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52052   (exit $ac_status); } &&
52053          { ac_try='test -z "$ac_c_werror_flag"
52054                          || test ! -s conftest.err'
52055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52056   (eval $ac_try) 2>&5
52057   ac_status=$?
52058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52059   (exit $ac_status); }; } &&
52060          { ac_try='test -s conftest$ac_exeext'
52061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52062   (eval $ac_try) 2>&5
52063   ac_status=$?
52064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52065   (exit $ac_status); }; }; then
52066   ac_cv_lib_iconv_iconv=yes
52067 else
52068   echo "$as_me: failed program was:" >&5
52069 sed 's/^/| /' conftest.$ac_ext >&5
52070
52071 ac_cv_lib_iconv_iconv=no
52072 fi
52073 rm -f conftest.err conftest.$ac_objext \
52074       conftest$ac_exeext conftest.$ac_ext
52075 LIBS=$ac_check_lib_save_LIBS
52076 fi
52077 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52078 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52079 if test $ac_cv_lib_iconv_iconv = yes; then
52080   libiconv="-liconv"
52081 fi
52082
52083     ac_save_LIBS="$LIBS"
52084     LIBS="$LIBS $libiconv"
52085
52086
52087
52088
52089
52090 for ac_func in iconv_open iconv_close iconv nl_langinfo
52091 do
52092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52093 echo "$as_me:$LINENO: checking for $ac_func" >&5
52094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52095 if eval "test \"\${$as_ac_var+set}\" = set"; then
52096   echo $ECHO_N "(cached) $ECHO_C" >&6
52097 else
52098   if test x$gcc_no_link = xyes; then
52099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52101    { (exit 1); exit 1; }; }
52102 fi
52103 cat >conftest.$ac_ext <<_ACEOF
52104 /* confdefs.h.  */
52105 _ACEOF
52106 cat confdefs.h >>conftest.$ac_ext
52107 cat >>conftest.$ac_ext <<_ACEOF
52108 /* end confdefs.h.  */
52109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52111 #define $ac_func innocuous_$ac_func
52112
52113 /* System header to define __stub macros and hopefully few prototypes,
52114     which can conflict with char $ac_func (); below.
52115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52116     <limits.h> exists even on freestanding compilers.  */
52117
52118 #ifdef __STDC__
52119 # include <limits.h>
52120 #else
52121 # include <assert.h>
52122 #endif
52123
52124 #undef $ac_func
52125
52126 /* Override any gcc2 internal prototype to avoid an error.  */
52127 #ifdef __cplusplus
52128 extern "C"
52129 {
52130 #endif
52131 /* We use char because int might match the return type of a gcc2
52132    builtin and then its argument prototype would still apply.  */
52133 char $ac_func ();
52134 /* The GNU C library defines this for functions which it implements
52135     to always fail with ENOSYS.  Some functions are actually named
52136     something starting with __ and the normal name is an alias.  */
52137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52138 choke me
52139 #else
52140 char (*f) () = $ac_func;
52141 #endif
52142 #ifdef __cplusplus
52143 }
52144 #endif
52145
52146 int
52147 main ()
52148 {
52149 return f != $ac_func;
52150   ;
52151   return 0;
52152 }
52153 _ACEOF
52154 rm -f conftest.$ac_objext conftest$ac_exeext
52155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52156   (eval $ac_link) 2>conftest.er1
52157   ac_status=$?
52158   grep -v '^ *+' conftest.er1 >conftest.err
52159   rm -f conftest.er1
52160   cat conftest.err >&5
52161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52162   (exit $ac_status); } &&
52163          { ac_try='test -z "$ac_c_werror_flag"
52164                          || test ! -s conftest.err'
52165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52166   (eval $ac_try) 2>&5
52167   ac_status=$?
52168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52169   (exit $ac_status); }; } &&
52170          { ac_try='test -s conftest$ac_exeext'
52171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52172   (eval $ac_try) 2>&5
52173   ac_status=$?
52174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52175   (exit $ac_status); }; }; then
52176   eval "$as_ac_var=yes"
52177 else
52178   echo "$as_me: failed program was:" >&5
52179 sed 's/^/| /' conftest.$ac_ext >&5
52180
52181 eval "$as_ac_var=no"
52182 fi
52183 rm -f conftest.err conftest.$ac_objext \
52184       conftest$ac_exeext conftest.$ac_ext
52185 fi
52186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52188 if test `eval echo '${'$as_ac_var'}'` = yes; then
52189   cat >>confdefs.h <<_ACEOF
52190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52191 _ACEOF
52192  ac_XPG2funcs=yes
52193 else
52194   ac_XPG2funcs=no
52195 fi
52196 done
52197
52198
52199     LIBS="$ac_save_LIBS"
52200
52201     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52202 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52203     if test x"$ac_has_iconv_h" = xyes &&
52204        test x"$ac_has_langinfo_h" = xyes &&
52205        test x"$ac_XPG2funcs" = xyes;
52206     then
52207       ac_XPG2_wchar_t=yes
52208     else
52209       ac_XPG2_wchar_t=no
52210     fi
52211     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52212 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52213
52214     # At the moment, only enable wchar_t specializations if all the
52215     # above support is present.
52216     if test x"$ac_isoC99_wchar_t" = xyes &&
52217        test x"$ac_XPG2_wchar_t" = xyes;
52218     then
52219       cat >>confdefs.h <<\_ACEOF
52220 #define _GLIBCXX_USE_WCHAR_T 1
52221 _ACEOF
52222
52223       enable_wchar_t=yes
52224     fi
52225   fi
52226   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52227 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52228   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52229 echo "${ECHO_T}$enable_wchar_t" >&6
52230
52231
52232   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52233   ac_save_CXXFLAGS="$CXXFLAGS"
52234   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52235
52236
52237   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52238 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52239   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52240     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52241   echo $ECHO_N "(cached) $ECHO_C" >&6
52242 else
52243
52244
52245
52246       ac_ext=cc
52247 ac_cpp='$CXXCPP $CPPFLAGS'
52248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52251
52252       cat >conftest.$ac_ext <<_ACEOF
52253 /* confdefs.h.  */
52254 _ACEOF
52255 cat confdefs.h >>conftest.$ac_ext
52256 cat >>conftest.$ac_ext <<_ACEOF
52257 /* end confdefs.h.  */
52258 #include <stdlib.h>
52259 int
52260 main ()
52261 {
52262  strtold(0, 0);
52263   ;
52264   return 0;
52265 }
52266 _ACEOF
52267 rm -f conftest.$ac_objext
52268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52269   (eval $ac_compile) 2>conftest.er1
52270   ac_status=$?
52271   grep -v '^ *+' conftest.er1 >conftest.err
52272   rm -f conftest.er1
52273   cat conftest.err >&5
52274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52275   (exit $ac_status); } &&
52276          { ac_try='test -z "$ac_cxx_werror_flag"
52277                          || test ! -s conftest.err'
52278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52279   (eval $ac_try) 2>&5
52280   ac_status=$?
52281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52282   (exit $ac_status); }; } &&
52283          { ac_try='test -s conftest.$ac_objext'
52284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52285   (eval $ac_try) 2>&5
52286   ac_status=$?
52287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52288   (exit $ac_status); }; }; then
52289   glibcxx_cv_func_strtold_use=yes
52290 else
52291   echo "$as_me: failed program was:" >&5
52292 sed 's/^/| /' conftest.$ac_ext >&5
52293
52294 glibcxx_cv_func_strtold_use=no
52295 fi
52296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52297       ac_ext=c
52298 ac_cpp='$CPP $CPPFLAGS'
52299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52302
52303
52304 fi
52305
52306   fi
52307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52308 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52309   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52310
52311 for ac_func in strtold
52312 do
52313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52314 echo "$as_me:$LINENO: checking for $ac_func" >&5
52315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52316 if eval "test \"\${$as_ac_var+set}\" = set"; then
52317   echo $ECHO_N "(cached) $ECHO_C" >&6
52318 else
52319   if test x$gcc_no_link = xyes; then
52320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52322    { (exit 1); exit 1; }; }
52323 fi
52324 cat >conftest.$ac_ext <<_ACEOF
52325 /* confdefs.h.  */
52326 _ACEOF
52327 cat confdefs.h >>conftest.$ac_ext
52328 cat >>conftest.$ac_ext <<_ACEOF
52329 /* end confdefs.h.  */
52330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52332 #define $ac_func innocuous_$ac_func
52333
52334 /* System header to define __stub macros and hopefully few prototypes,
52335     which can conflict with char $ac_func (); below.
52336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52337     <limits.h> exists even on freestanding compilers.  */
52338
52339 #ifdef __STDC__
52340 # include <limits.h>
52341 #else
52342 # include <assert.h>
52343 #endif
52344
52345 #undef $ac_func
52346
52347 /* Override any gcc2 internal prototype to avoid an error.  */
52348 #ifdef __cplusplus
52349 extern "C"
52350 {
52351 #endif
52352 /* We use char because int might match the return type of a gcc2
52353    builtin and then its argument prototype would still apply.  */
52354 char $ac_func ();
52355 /* The GNU C library defines this for functions which it implements
52356     to always fail with ENOSYS.  Some functions are actually named
52357     something starting with __ and the normal name is an alias.  */
52358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52359 choke me
52360 #else
52361 char (*f) () = $ac_func;
52362 #endif
52363 #ifdef __cplusplus
52364 }
52365 #endif
52366
52367 int
52368 main ()
52369 {
52370 return f != $ac_func;
52371   ;
52372   return 0;
52373 }
52374 _ACEOF
52375 rm -f conftest.$ac_objext conftest$ac_exeext
52376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52377   (eval $ac_link) 2>conftest.er1
52378   ac_status=$?
52379   grep -v '^ *+' conftest.er1 >conftest.err
52380   rm -f conftest.er1
52381   cat conftest.err >&5
52382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52383   (exit $ac_status); } &&
52384          { ac_try='test -z "$ac_c_werror_flag"
52385                          || test ! -s conftest.err'
52386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52387   (eval $ac_try) 2>&5
52388   ac_status=$?
52389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52390   (exit $ac_status); }; } &&
52391          { ac_try='test -s conftest$ac_exeext'
52392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52393   (eval $ac_try) 2>&5
52394   ac_status=$?
52395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52396   (exit $ac_status); }; }; then
52397   eval "$as_ac_var=yes"
52398 else
52399   echo "$as_me: failed program was:" >&5
52400 sed 's/^/| /' conftest.$ac_ext >&5
52401
52402 eval "$as_ac_var=no"
52403 fi
52404 rm -f conftest.err conftest.$ac_objext \
52405       conftest$ac_exeext conftest.$ac_ext
52406 fi
52407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52409 if test `eval echo '${'$as_ac_var'}'` = yes; then
52410   cat >>confdefs.h <<_ACEOF
52411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52412 _ACEOF
52413
52414 fi
52415 done
52416
52417   fi
52418
52419
52420   echo "$as_me:$LINENO: checking for strtof declaration" >&5
52421 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52422   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52423     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52424   echo $ECHO_N "(cached) $ECHO_C" >&6
52425 else
52426
52427
52428
52429       ac_ext=cc
52430 ac_cpp='$CXXCPP $CPPFLAGS'
52431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52434
52435       cat >conftest.$ac_ext <<_ACEOF
52436 /* confdefs.h.  */
52437 _ACEOF
52438 cat confdefs.h >>conftest.$ac_ext
52439 cat >>conftest.$ac_ext <<_ACEOF
52440 /* end confdefs.h.  */
52441 #include <stdlib.h>
52442 int
52443 main ()
52444 {
52445  strtof(0, 0);
52446   ;
52447   return 0;
52448 }
52449 _ACEOF
52450 rm -f conftest.$ac_objext
52451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52452   (eval $ac_compile) 2>conftest.er1
52453   ac_status=$?
52454   grep -v '^ *+' conftest.er1 >conftest.err
52455   rm -f conftest.er1
52456   cat conftest.err >&5
52457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52458   (exit $ac_status); } &&
52459          { ac_try='test -z "$ac_cxx_werror_flag"
52460                          || test ! -s conftest.err'
52461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52462   (eval $ac_try) 2>&5
52463   ac_status=$?
52464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52465   (exit $ac_status); }; } &&
52466          { ac_try='test -s conftest.$ac_objext'
52467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52468   (eval $ac_try) 2>&5
52469   ac_status=$?
52470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52471   (exit $ac_status); }; }; then
52472   glibcxx_cv_func_strtof_use=yes
52473 else
52474   echo "$as_me: failed program was:" >&5
52475 sed 's/^/| /' conftest.$ac_ext >&5
52476
52477 glibcxx_cv_func_strtof_use=no
52478 fi
52479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52480       ac_ext=c
52481 ac_cpp='$CPP $CPPFLAGS'
52482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52485
52486
52487 fi
52488
52489   fi
52490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52491 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52492   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52493
52494 for ac_func in strtof
52495 do
52496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52497 echo "$as_me:$LINENO: checking for $ac_func" >&5
52498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52499 if eval "test \"\${$as_ac_var+set}\" = set"; then
52500   echo $ECHO_N "(cached) $ECHO_C" >&6
52501 else
52502   if test x$gcc_no_link = xyes; then
52503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52505    { (exit 1); exit 1; }; }
52506 fi
52507 cat >conftest.$ac_ext <<_ACEOF
52508 /* confdefs.h.  */
52509 _ACEOF
52510 cat confdefs.h >>conftest.$ac_ext
52511 cat >>conftest.$ac_ext <<_ACEOF
52512 /* end confdefs.h.  */
52513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52515 #define $ac_func innocuous_$ac_func
52516
52517 /* System header to define __stub macros and hopefully few prototypes,
52518     which can conflict with char $ac_func (); below.
52519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52520     <limits.h> exists even on freestanding compilers.  */
52521
52522 #ifdef __STDC__
52523 # include <limits.h>
52524 #else
52525 # include <assert.h>
52526 #endif
52527
52528 #undef $ac_func
52529
52530 /* Override any gcc2 internal prototype to avoid an error.  */
52531 #ifdef __cplusplus
52532 extern "C"
52533 {
52534 #endif
52535 /* We use char because int might match the return type of a gcc2
52536    builtin and then its argument prototype would still apply.  */
52537 char $ac_func ();
52538 /* The GNU C library defines this for functions which it implements
52539     to always fail with ENOSYS.  Some functions are actually named
52540     something starting with __ and the normal name is an alias.  */
52541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52542 choke me
52543 #else
52544 char (*f) () = $ac_func;
52545 #endif
52546 #ifdef __cplusplus
52547 }
52548 #endif
52549
52550 int
52551 main ()
52552 {
52553 return f != $ac_func;
52554   ;
52555   return 0;
52556 }
52557 _ACEOF
52558 rm -f conftest.$ac_objext conftest$ac_exeext
52559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52560   (eval $ac_link) 2>conftest.er1
52561   ac_status=$?
52562   grep -v '^ *+' conftest.er1 >conftest.err
52563   rm -f conftest.er1
52564   cat conftest.err >&5
52565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52566   (exit $ac_status); } &&
52567          { ac_try='test -z "$ac_c_werror_flag"
52568                          || test ! -s conftest.err'
52569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52570   (eval $ac_try) 2>&5
52571   ac_status=$?
52572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573   (exit $ac_status); }; } &&
52574          { ac_try='test -s conftest$ac_exeext'
52575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52576   (eval $ac_try) 2>&5
52577   ac_status=$?
52578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52579   (exit $ac_status); }; }; then
52580   eval "$as_ac_var=yes"
52581 else
52582   echo "$as_me: failed program was:" >&5
52583 sed 's/^/| /' conftest.$ac_ext >&5
52584
52585 eval "$as_ac_var=no"
52586 fi
52587 rm -f conftest.err conftest.$ac_objext \
52588       conftest$ac_exeext conftest.$ac_ext
52589 fi
52590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52592 if test `eval echo '${'$as_ac_var'}'` = yes; then
52593   cat >>confdefs.h <<_ACEOF
52594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52595 _ACEOF
52596
52597 fi
52598 done
52599
52600   fi
52601
52602
52603   CXXFLAGS="$ac_save_CXXFLAGS"
52604
52605
52606     # For showmanyc_helper().
52607
52608
52609 for ac_header in sys/ioctl.h sys/filio.h
52610 do
52611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52613   echo "$as_me:$LINENO: checking for $ac_header" >&5
52614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52616   echo $ECHO_N "(cached) $ECHO_C" >&6
52617 fi
52618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52620 else
52621   # Is the header compilable?
52622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52624 cat >conftest.$ac_ext <<_ACEOF
52625 /* confdefs.h.  */
52626 _ACEOF
52627 cat confdefs.h >>conftest.$ac_ext
52628 cat >>conftest.$ac_ext <<_ACEOF
52629 /* end confdefs.h.  */
52630 $ac_includes_default
52631 #include <$ac_header>
52632 _ACEOF
52633 rm -f conftest.$ac_objext
52634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52635   (eval $ac_compile) 2>conftest.er1
52636   ac_status=$?
52637   grep -v '^ *+' conftest.er1 >conftest.err
52638   rm -f conftest.er1
52639   cat conftest.err >&5
52640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52641   (exit $ac_status); } &&
52642          { ac_try='test -z "$ac_c_werror_flag"
52643                          || test ! -s conftest.err'
52644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52645   (eval $ac_try) 2>&5
52646   ac_status=$?
52647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52648   (exit $ac_status); }; } &&
52649          { ac_try='test -s conftest.$ac_objext'
52650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52651   (eval $ac_try) 2>&5
52652   ac_status=$?
52653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52654   (exit $ac_status); }; }; then
52655   ac_header_compiler=yes
52656 else
52657   echo "$as_me: failed program was:" >&5
52658 sed 's/^/| /' conftest.$ac_ext >&5
52659
52660 ac_header_compiler=no
52661 fi
52662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52664 echo "${ECHO_T}$ac_header_compiler" >&6
52665
52666 # Is the header present?
52667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52669 cat >conftest.$ac_ext <<_ACEOF
52670 /* confdefs.h.  */
52671 _ACEOF
52672 cat confdefs.h >>conftest.$ac_ext
52673 cat >>conftest.$ac_ext <<_ACEOF
52674 /* end confdefs.h.  */
52675 #include <$ac_header>
52676 _ACEOF
52677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52678   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
52685   if test -s conftest.err; then
52686     ac_cpp_err=$ac_c_preproc_warn_flag
52687     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52688   else
52689     ac_cpp_err=
52690   fi
52691 else
52692   ac_cpp_err=yes
52693 fi
52694 if test -z "$ac_cpp_err"; then
52695   ac_header_preproc=yes
52696 else
52697   echo "$as_me: failed program was:" >&5
52698 sed 's/^/| /' conftest.$ac_ext >&5
52699
52700   ac_header_preproc=no
52701 fi
52702 rm -f conftest.err conftest.$ac_ext
52703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52704 echo "${ECHO_T}$ac_header_preproc" >&6
52705
52706 # So?  What about this header?
52707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52708   yes:no: )
52709     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52711     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52713     ac_header_preproc=yes
52714     ;;
52715   no:yes:* )
52716     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52718     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52719 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52720     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52722     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52723 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52724     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52726     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52728     (
52729       cat <<\_ASBOX
52730 ## ----------------------------------------- ##
52731 ## Report this to the package-unused lists.  ##
52732 ## ----------------------------------------- ##
52733 _ASBOX
52734     ) |
52735       sed "s/^/$as_me: WARNING:     /" >&2
52736     ;;
52737 esac
52738 echo "$as_me:$LINENO: checking for $ac_header" >&5
52739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52741   echo $ECHO_N "(cached) $ECHO_C" >&6
52742 else
52743   eval "$as_ac_Header=\$ac_header_preproc"
52744 fi
52745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52747
52748 fi
52749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52750   cat >>confdefs.h <<_ACEOF
52751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52752 _ACEOF
52753
52754 fi
52755
52756 done
52757
52758
52759   if test "${glibcxx_cv_POLL+set}" = set; then
52760   echo $ECHO_N "(cached) $ECHO_C" >&6
52761 else
52762
52763     if test x$gcc_no_link = xyes; then
52764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52766    { (exit 1); exit 1; }; }
52767 fi
52768 cat >conftest.$ac_ext <<_ACEOF
52769 /* confdefs.h.  */
52770 _ACEOF
52771 cat confdefs.h >>conftest.$ac_ext
52772 cat >>conftest.$ac_ext <<_ACEOF
52773 /* end confdefs.h.  */
52774 #include <poll.h>
52775 int
52776 main ()
52777 {
52778 struct pollfd pfd[1];
52779        pfd[0].events = POLLIN;
52780        poll(pfd, 1, 0);
52781   ;
52782   return 0;
52783 }
52784 _ACEOF
52785 rm -f conftest.$ac_objext conftest$ac_exeext
52786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52787   (eval $ac_link) 2>conftest.er1
52788   ac_status=$?
52789   grep -v '^ *+' conftest.er1 >conftest.err
52790   rm -f conftest.er1
52791   cat conftest.err >&5
52792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52793   (exit $ac_status); } &&
52794          { ac_try='test -z "$ac_c_werror_flag"
52795                          || test ! -s conftest.err'
52796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52797   (eval $ac_try) 2>&5
52798   ac_status=$?
52799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52800   (exit $ac_status); }; } &&
52801          { ac_try='test -s conftest$ac_exeext'
52802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52803   (eval $ac_try) 2>&5
52804   ac_status=$?
52805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52806   (exit $ac_status); }; }; then
52807   glibcxx_cv_POLL=yes
52808 else
52809   echo "$as_me: failed program was:" >&5
52810 sed 's/^/| /' conftest.$ac_ext >&5
52811
52812 glibcxx_cv_POLL=no
52813 fi
52814 rm -f conftest.err conftest.$ac_objext \
52815       conftest$ac_exeext conftest.$ac_ext
52816
52817 fi
52818
52819   if test $glibcxx_cv_POLL = yes; then
52820     cat >>confdefs.h <<\_ACEOF
52821 #define HAVE_POLL 1
52822 _ACEOF
52823
52824   fi
52825
52826
52827   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52828   echo $ECHO_N "(cached) $ECHO_C" >&6
52829 else
52830
52831     if test x$gcc_no_link = xyes; then
52832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52834    { (exit 1); exit 1; }; }
52835 fi
52836 cat >conftest.$ac_ext <<_ACEOF
52837 /* confdefs.h.  */
52838 _ACEOF
52839 cat confdefs.h >>conftest.$ac_ext
52840 cat >>conftest.$ac_ext <<_ACEOF
52841 /* end confdefs.h.  */
52842 #include <sys/stat.h>
52843 int
52844 main ()
52845 {
52846 struct stat buffer;
52847        fstat(0, &buffer);
52848        S_ISREG(buffer.st_mode);
52849   ;
52850   return 0;
52851 }
52852 _ACEOF
52853 rm -f conftest.$ac_objext conftest$ac_exeext
52854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52855   (eval $ac_link) 2>conftest.er1
52856   ac_status=$?
52857   grep -v '^ *+' conftest.er1 >conftest.err
52858   rm -f conftest.er1
52859   cat conftest.err >&5
52860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52861   (exit $ac_status); } &&
52862          { ac_try='test -z "$ac_c_werror_flag"
52863                          || test ! -s conftest.err'
52864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52865   (eval $ac_try) 2>&5
52866   ac_status=$?
52867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52868   (exit $ac_status); }; } &&
52869          { ac_try='test -s conftest$ac_exeext'
52870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52871   (eval $ac_try) 2>&5
52872   ac_status=$?
52873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52874   (exit $ac_status); }; }; then
52875   glibcxx_cv_S_ISREG=yes
52876 else
52877   echo "$as_me: failed program was:" >&5
52878 sed 's/^/| /' conftest.$ac_ext >&5
52879
52880 glibcxx_cv_S_ISREG=no
52881 fi
52882 rm -f conftest.err conftest.$ac_objext \
52883       conftest$ac_exeext conftest.$ac_ext
52884
52885 fi
52886
52887   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52888   echo $ECHO_N "(cached) $ECHO_C" >&6
52889 else
52890
52891     if test x$gcc_no_link = xyes; then
52892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52894    { (exit 1); exit 1; }; }
52895 fi
52896 cat >conftest.$ac_ext <<_ACEOF
52897 /* confdefs.h.  */
52898 _ACEOF
52899 cat confdefs.h >>conftest.$ac_ext
52900 cat >>conftest.$ac_ext <<_ACEOF
52901 /* end confdefs.h.  */
52902 #include <sys/stat.h>
52903 int
52904 main ()
52905 {
52906 struct stat buffer;
52907        fstat(0, &buffer);
52908        S_IFREG & buffer.st_mode;
52909   ;
52910   return 0;
52911 }
52912 _ACEOF
52913 rm -f conftest.$ac_objext conftest$ac_exeext
52914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52915   (eval $ac_link) 2>conftest.er1
52916   ac_status=$?
52917   grep -v '^ *+' conftest.er1 >conftest.err
52918   rm -f conftest.er1
52919   cat conftest.err >&5
52920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52921   (exit $ac_status); } &&
52922          { ac_try='test -z "$ac_c_werror_flag"
52923                          || test ! -s conftest.err'
52924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52925   (eval $ac_try) 2>&5
52926   ac_status=$?
52927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52928   (exit $ac_status); }; } &&
52929          { ac_try='test -s conftest$ac_exeext'
52930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52931   (eval $ac_try) 2>&5
52932   ac_status=$?
52933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52934   (exit $ac_status); }; }; then
52935   glibcxx_cv_S_IFREG=yes
52936 else
52937   echo "$as_me: failed program was:" >&5
52938 sed 's/^/| /' conftest.$ac_ext >&5
52939
52940 glibcxx_cv_S_IFREG=no
52941 fi
52942 rm -f conftest.err conftest.$ac_objext \
52943       conftest$ac_exeext conftest.$ac_ext
52944
52945 fi
52946
52947   if test $glibcxx_cv_S_ISREG = yes; then
52948     cat >>confdefs.h <<\_ACEOF
52949 #define HAVE_S_ISREG 1
52950 _ACEOF
52951
52952   elif test $glibcxx_cv_S_IFREG = yes; then
52953     cat >>confdefs.h <<\_ACEOF
52954 #define HAVE_S_IFREG 1
52955 _ACEOF
52956
52957   fi
52958
52959
52960     # For xsputn_2().
52961
52962 for ac_header in sys/uio.h
52963 do
52964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52966   echo "$as_me:$LINENO: checking for $ac_header" >&5
52967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52969   echo $ECHO_N "(cached) $ECHO_C" >&6
52970 fi
52971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52973 else
52974   # Is the header compilable?
52975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52977 cat >conftest.$ac_ext <<_ACEOF
52978 /* confdefs.h.  */
52979 _ACEOF
52980 cat confdefs.h >>conftest.$ac_ext
52981 cat >>conftest.$ac_ext <<_ACEOF
52982 /* end confdefs.h.  */
52983 $ac_includes_default
52984 #include <$ac_header>
52985 _ACEOF
52986 rm -f conftest.$ac_objext
52987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52988   (eval $ac_compile) 2>conftest.er1
52989   ac_status=$?
52990   grep -v '^ *+' conftest.er1 >conftest.err
52991   rm -f conftest.er1
52992   cat conftest.err >&5
52993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52994   (exit $ac_status); } &&
52995          { ac_try='test -z "$ac_c_werror_flag"
52996                          || test ! -s conftest.err'
52997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52998   (eval $ac_try) 2>&5
52999   ac_status=$?
53000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53001   (exit $ac_status); }; } &&
53002          { ac_try='test -s conftest.$ac_objext'
53003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53004   (eval $ac_try) 2>&5
53005   ac_status=$?
53006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53007   (exit $ac_status); }; }; then
53008   ac_header_compiler=yes
53009 else
53010   echo "$as_me: failed program was:" >&5
53011 sed 's/^/| /' conftest.$ac_ext >&5
53012
53013 ac_header_compiler=no
53014 fi
53015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53017 echo "${ECHO_T}$ac_header_compiler" >&6
53018
53019 # Is the header present?
53020 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53022 cat >conftest.$ac_ext <<_ACEOF
53023 /* confdefs.h.  */
53024 _ACEOF
53025 cat confdefs.h >>conftest.$ac_ext
53026 cat >>conftest.$ac_ext <<_ACEOF
53027 /* end confdefs.h.  */
53028 #include <$ac_header>
53029 _ACEOF
53030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53031   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
53038   if test -s conftest.err; then
53039     ac_cpp_err=$ac_c_preproc_warn_flag
53040     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53041   else
53042     ac_cpp_err=
53043   fi
53044 else
53045   ac_cpp_err=yes
53046 fi
53047 if test -z "$ac_cpp_err"; then
53048   ac_header_preproc=yes
53049 else
53050   echo "$as_me: failed program was:" >&5
53051 sed 's/^/| /' conftest.$ac_ext >&5
53052
53053   ac_header_preproc=no
53054 fi
53055 rm -f conftest.err conftest.$ac_ext
53056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53057 echo "${ECHO_T}$ac_header_preproc" >&6
53058
53059 # So?  What about this header?
53060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53061   yes:no: )
53062     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53064     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53066     ac_header_preproc=yes
53067     ;;
53068   no:yes:* )
53069     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53071     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53072 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53073     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53075     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53076 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53077     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53079     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53081     (
53082       cat <<\_ASBOX
53083 ## ----------------------------------------- ##
53084 ## Report this to the package-unused lists.  ##
53085 ## ----------------------------------------- ##
53086 _ASBOX
53087     ) |
53088       sed "s/^/$as_me: WARNING:     /" >&2
53089     ;;
53090 esac
53091 echo "$as_me:$LINENO: checking for $ac_header" >&5
53092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53094   echo $ECHO_N "(cached) $ECHO_C" >&6
53095 else
53096   eval "$as_ac_Header=\$ac_header_preproc"
53097 fi
53098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53100
53101 fi
53102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53103   cat >>confdefs.h <<_ACEOF
53104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53105 _ACEOF
53106
53107 fi
53108
53109 done
53110
53111
53112   if test "${glibcxx_cv_WRITEV+set}" = set; then
53113   echo $ECHO_N "(cached) $ECHO_C" >&6
53114 else
53115
53116     if test x$gcc_no_link = xyes; then
53117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53119    { (exit 1); exit 1; }; }
53120 fi
53121 cat >conftest.$ac_ext <<_ACEOF
53122 /* confdefs.h.  */
53123 _ACEOF
53124 cat confdefs.h >>conftest.$ac_ext
53125 cat >>conftest.$ac_ext <<_ACEOF
53126 /* end confdefs.h.  */
53127 #include <sys/uio.h>
53128 int
53129 main ()
53130 {
53131 struct iovec iov[2];
53132        writev(0, iov, 0);
53133   ;
53134   return 0;
53135 }
53136 _ACEOF
53137 rm -f conftest.$ac_objext conftest$ac_exeext
53138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53139   (eval $ac_link) 2>conftest.er1
53140   ac_status=$?
53141   grep -v '^ *+' conftest.er1 >conftest.err
53142   rm -f conftest.er1
53143   cat conftest.err >&5
53144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53145   (exit $ac_status); } &&
53146          { ac_try='test -z "$ac_c_werror_flag"
53147                          || test ! -s conftest.err'
53148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53149   (eval $ac_try) 2>&5
53150   ac_status=$?
53151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53152   (exit $ac_status); }; } &&
53153          { ac_try='test -s conftest$ac_exeext'
53154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53155   (eval $ac_try) 2>&5
53156   ac_status=$?
53157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53158   (exit $ac_status); }; }; then
53159   glibcxx_cv_WRITEV=yes
53160 else
53161   echo "$as_me: failed program was:" >&5
53162 sed 's/^/| /' conftest.$ac_ext >&5
53163
53164 glibcxx_cv_WRITEV=no
53165 fi
53166 rm -f conftest.err conftest.$ac_objext \
53167       conftest$ac_exeext conftest.$ac_ext
53168
53169 fi
53170
53171   if test $glibcxx_cv_WRITEV = yes; then
53172     cat >>confdefs.h <<\_ACEOF
53173 #define HAVE_WRITEV 1
53174 _ACEOF
53175
53176   fi
53177
53178
53179     cat >>confdefs.h <<\_ACEOF
53180 #define HAVE_LC_MESSAGES 1
53181 _ACEOF
53182
53183
53184     cat >conftest.$ac_ext <<_ACEOF
53185 /* confdefs.h.  */
53186 _ACEOF
53187 cat confdefs.h >>conftest.$ac_ext
53188 cat >>conftest.$ac_ext <<_ACEOF
53189 /* end confdefs.h.  */
53190 #include <setjmp.h>
53191 int
53192 main ()
53193 {
53194 sigjmp_buf env;
53195        while (! sigsetjmp (env, 1))
53196          siglongjmp (env, 1);
53197
53198   ;
53199   return 0;
53200 }
53201 _ACEOF
53202 rm -f conftest.$ac_objext
53203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53204   (eval $ac_compile) 2>conftest.er1
53205   ac_status=$?
53206   grep -v '^ *+' conftest.er1 >conftest.err
53207   rm -f conftest.er1
53208   cat conftest.err >&5
53209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53210   (exit $ac_status); } &&
53211          { ac_try='test -z "$ac_c_werror_flag"
53212                          || test ! -s conftest.err'
53213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53214   (eval $ac_try) 2>&5
53215   ac_status=$?
53216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53217   (exit $ac_status); }; } &&
53218          { ac_try='test -s conftest.$ac_objext'
53219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53220   (eval $ac_try) 2>&5
53221   ac_status=$?
53222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53223   (exit $ac_status); }; }; then
53224
53225 cat >>confdefs.h <<\_ACEOF
53226 #define HAVE_SIGSETJMP 1
53227 _ACEOF
53228
53229 else
53230   echo "$as_me: failed program was:" >&5
53231 sed 's/^/| /' conftest.$ac_ext >&5
53232
53233 fi
53234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53235
53236     cat >>confdefs.h <<\_ACEOF
53237 #define HAVE_MMAP 1
53238 _ACEOF
53239
53240     ;;
53241
53242   *djgpp)
53243
53244
53245
53246
53247
53248
53249
53250
53251
53252
53253
53254
53255
53256
53257
53258
53259
53260
53261
53262
53263 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53264       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53265       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53266       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53267 do
53268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53270   echo "$as_me:$LINENO: checking for $ac_header" >&5
53271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53273   echo $ECHO_N "(cached) $ECHO_C" >&6
53274 fi
53275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53277 else
53278   # Is the header compilable?
53279 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53280 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53281 cat >conftest.$ac_ext <<_ACEOF
53282 /* confdefs.h.  */
53283 _ACEOF
53284 cat confdefs.h >>conftest.$ac_ext
53285 cat >>conftest.$ac_ext <<_ACEOF
53286 /* end confdefs.h.  */
53287 $ac_includes_default
53288 #include <$ac_header>
53289 _ACEOF
53290 rm -f conftest.$ac_objext
53291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53292   (eval $ac_compile) 2>conftest.er1
53293   ac_status=$?
53294   grep -v '^ *+' conftest.er1 >conftest.err
53295   rm -f conftest.er1
53296   cat conftest.err >&5
53297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53298   (exit $ac_status); } &&
53299          { ac_try='test -z "$ac_c_werror_flag"
53300                          || test ! -s conftest.err'
53301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53302   (eval $ac_try) 2>&5
53303   ac_status=$?
53304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53305   (exit $ac_status); }; } &&
53306          { ac_try='test -s conftest.$ac_objext'
53307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53308   (eval $ac_try) 2>&5
53309   ac_status=$?
53310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53311   (exit $ac_status); }; }; then
53312   ac_header_compiler=yes
53313 else
53314   echo "$as_me: failed program was:" >&5
53315 sed 's/^/| /' conftest.$ac_ext >&5
53316
53317 ac_header_compiler=no
53318 fi
53319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53321 echo "${ECHO_T}$ac_header_compiler" >&6
53322
53323 # Is the header present?
53324 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53326 cat >conftest.$ac_ext <<_ACEOF
53327 /* confdefs.h.  */
53328 _ACEOF
53329 cat confdefs.h >>conftest.$ac_ext
53330 cat >>conftest.$ac_ext <<_ACEOF
53331 /* end confdefs.h.  */
53332 #include <$ac_header>
53333 _ACEOF
53334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53335   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
53342   if test -s conftest.err; then
53343     ac_cpp_err=$ac_c_preproc_warn_flag
53344     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53345   else
53346     ac_cpp_err=
53347   fi
53348 else
53349   ac_cpp_err=yes
53350 fi
53351 if test -z "$ac_cpp_err"; then
53352   ac_header_preproc=yes
53353 else
53354   echo "$as_me: failed program was:" >&5
53355 sed 's/^/| /' conftest.$ac_ext >&5
53356
53357   ac_header_preproc=no
53358 fi
53359 rm -f conftest.err conftest.$ac_ext
53360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53361 echo "${ECHO_T}$ac_header_preproc" >&6
53362
53363 # So?  What about this header?
53364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53365   yes:no: )
53366     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53367 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53368     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53369 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53370     ac_header_preproc=yes
53371     ;;
53372   no:yes:* )
53373     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53374 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53375     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53376 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53377     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53378 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53379     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53380 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53381     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53382 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53383     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53384 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53385     (
53386       cat <<\_ASBOX
53387 ## ----------------------------------------- ##
53388 ## Report this to the package-unused lists.  ##
53389 ## ----------------------------------------- ##
53390 _ASBOX
53391     ) |
53392       sed "s/^/$as_me: WARNING:     /" >&2
53393     ;;
53394 esac
53395 echo "$as_me:$LINENO: checking for $ac_header" >&5
53396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53398   echo $ECHO_N "(cached) $ECHO_C" >&6
53399 else
53400   eval "$as_ac_Header=\$ac_header_preproc"
53401 fi
53402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53404
53405 fi
53406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53407   cat >>confdefs.h <<_ACEOF
53408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53409 _ACEOF
53410
53411 fi
53412
53413 done
53414
53415
53416   # All these tests are for C++; save the language and the compiler flags.
53417   # The CXXFLAGS thing is suspicious, but based on similar bits previously
53418   # found in GLIBCXX_CONFIGURE.
53419
53420
53421   ac_ext=cc
53422 ac_cpp='$CXXCPP $CPPFLAGS'
53423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53426
53427   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53428   ac_save_CXXFLAGS="$CXXFLAGS"
53429
53430   # Check for maintainer-mode bits.
53431   if test x"$USE_MAINTAINER_MODE" = xno; then
53432     WERROR=''
53433   else
53434     WERROR='-Werror'
53435   fi
53436
53437   # Check for -ffunction-sections -fdata-sections
53438   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53439 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53440   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53441   cat >conftest.$ac_ext <<_ACEOF
53442 /* confdefs.h.  */
53443 _ACEOF
53444 cat confdefs.h >>conftest.$ac_ext
53445 cat >>conftest.$ac_ext <<_ACEOF
53446 /* end confdefs.h.  */
53447
53448 int
53449 main ()
53450 {
53451 int foo;
53452   ;
53453   return 0;
53454 }
53455 _ACEOF
53456 rm -f conftest.$ac_objext
53457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53458   (eval $ac_compile) 2>conftest.er1
53459   ac_status=$?
53460   grep -v '^ *+' conftest.er1 >conftest.err
53461   rm -f conftest.er1
53462   cat conftest.err >&5
53463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53464   (exit $ac_status); } &&
53465          { ac_try='test -z "$ac_cxx_werror_flag"
53466                          || test ! -s conftest.err'
53467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53468   (eval $ac_try) 2>&5
53469   ac_status=$?
53470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471   (exit $ac_status); }; } &&
53472          { ac_try='test -s conftest.$ac_objext'
53473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53474   (eval $ac_try) 2>&5
53475   ac_status=$?
53476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53477   (exit $ac_status); }; }; then
53478   ac_fdsections=yes
53479 else
53480   echo "$as_me: failed program was:" >&5
53481 sed 's/^/| /' conftest.$ac_ext >&5
53482
53483 ac_fdsections=no
53484 fi
53485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53486   if test "$ac_test_CXXFLAGS" = set; then
53487     CXXFLAGS="$ac_save_CXXFLAGS"
53488   else
53489     # this is the suspicious part
53490     CXXFLAGS=''
53491   fi
53492   if test x"$ac_fdsections" = x"yes"; then
53493     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53494   fi
53495   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53496 echo "${ECHO_T}$ac_fdsections" >&6
53497
53498   ac_ext=c
53499 ac_cpp='$CPP $CPPFLAGS'
53500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53503
53504
53505
53506
53507
53508   # If we're not using GNU ld, then there's no point in even trying these
53509   # tests.  Check for that first.  We should have already tested for gld
53510   # by now (in libtool), but require it now just to be safe...
53511   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53512   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53513
53514
53515
53516   # The name set by libtool depends on the version of libtool.  Shame on us
53517   # for depending on an impl detail, but c'est la vie.  Older versions used
53518   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53519   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53520   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53521   # set (hence we're using an older libtool), then set it.
53522   if test x${with_gnu_ld+set} != xset; then
53523     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53524       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53525       with_gnu_ld=no
53526     else
53527       with_gnu_ld=$ac_cv_prog_gnu_ld
53528     fi
53529   fi
53530
53531   # Start by getting the version number.  I think the libtool test already
53532   # does some of this, but throws away the result.
53533
53534   ldver=`$LD --version 2>/dev/null | head -1 | \
53535          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53536
53537   glibcxx_gnu_ld_version=`echo $ldver | \
53538          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53539
53540   # Set --gc-sections.
53541   if test "$with_gnu_ld" = "notbroken"; then
53542     # GNU ld it is!  Joy and bunny rabbits!
53543
53544     # All these tests are for C++; save the language and the compiler flags.
53545     # Need to do this so that g++ won't try to link in libstdc++
53546     ac_test_CFLAGS="${CFLAGS+set}"
53547     ac_save_CFLAGS="$CFLAGS"
53548     CFLAGS='-x c++  -Wl,--gc-sections'
53549
53550     # Check for -Wl,--gc-sections
53551     # XXX This test is broken at the moment, as symbols required for linking
53552     # are now in libsupc++ (not built yet).  In addition, this test has
53553     # cored on solaris in the past.  In addition, --gc-sections doesn't
53554     # really work at the moment (keeps on discarding used sections, first
53555     # .eh_frame and now some of the glibc sections for iconv).
53556     # Bzzzzt.  Thanks for playing, maybe next time.
53557     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53558 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53559     if test "$cross_compiling" = yes; then
53560   ac_sectionLDflags=yes
53561 else
53562   cat >conftest.$ac_ext <<_ACEOF
53563 /* confdefs.h.  */
53564 _ACEOF
53565 cat confdefs.h >>conftest.$ac_ext
53566 cat >>conftest.$ac_ext <<_ACEOF
53567 /* end confdefs.h.  */
53568
53569      int main(void)
53570      {
53571        try { throw 1; }
53572        catch (...) { };
53573        return 0;
53574      }
53575
53576 _ACEOF
53577 rm -f conftest$ac_exeext
53578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53579   (eval $ac_link) 2>&5
53580   ac_status=$?
53581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53582   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53584   (eval $ac_try) 2>&5
53585   ac_status=$?
53586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53587   (exit $ac_status); }; }; then
53588   ac_sectionLDflags=yes
53589 else
53590   echo "$as_me: program exited with status $ac_status" >&5
53591 echo "$as_me: failed program was:" >&5
53592 sed 's/^/| /' conftest.$ac_ext >&5
53593
53594 ( exit $ac_status )
53595 ac_sectionLDflags=no
53596 fi
53597 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53598 fi
53599     if test "$ac_test_CFLAGS" = set; then
53600       CFLAGS="$ac_save_CFLAGS"
53601     else
53602       # this is the suspicious part
53603       CFLAGS=''
53604     fi
53605     if test "$ac_sectionLDflags" = "yes"; then
53606       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53607     fi
53608     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53609 echo "${ECHO_T}$ac_sectionLDflags" >&6
53610   fi
53611
53612   # Set linker optimization flags.
53613   if test x"$with_gnu_ld" = x"yes"; then
53614     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53615   fi
53616
53617
53618
53619
53620
53621   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53622   ac_save_CXXFLAGS="$CXXFLAGS"
53623   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53624
53625     echo "$as_me:$LINENO: checking for sin in -lm" >&5
53626 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53627 if test "${ac_cv_lib_m_sin+set}" = set; then
53628   echo $ECHO_N "(cached) $ECHO_C" >&6
53629 else
53630   ac_check_lib_save_LIBS=$LIBS
53631 LIBS="-lm  $LIBS"
53632 if test x$gcc_no_link = xyes; then
53633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53635    { (exit 1); exit 1; }; }
53636 fi
53637 cat >conftest.$ac_ext <<_ACEOF
53638 /* confdefs.h.  */
53639 _ACEOF
53640 cat confdefs.h >>conftest.$ac_ext
53641 cat >>conftest.$ac_ext <<_ACEOF
53642 /* end confdefs.h.  */
53643
53644 /* Override any gcc2 internal prototype to avoid an error.  */
53645 #ifdef __cplusplus
53646 extern "C"
53647 #endif
53648 /* We use char because int might match the return type of a gcc2
53649    builtin and then its argument prototype would still apply.  */
53650 char sin ();
53651 int
53652 main ()
53653 {
53654 sin ();
53655   ;
53656   return 0;
53657 }
53658 _ACEOF
53659 rm -f conftest.$ac_objext conftest$ac_exeext
53660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53661   (eval $ac_link) 2>conftest.er1
53662   ac_status=$?
53663   grep -v '^ *+' conftest.er1 >conftest.err
53664   rm -f conftest.er1
53665   cat conftest.err >&5
53666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53667   (exit $ac_status); } &&
53668          { ac_try='test -z "$ac_c_werror_flag"
53669                          || test ! -s conftest.err'
53670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53671   (eval $ac_try) 2>&5
53672   ac_status=$?
53673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53674   (exit $ac_status); }; } &&
53675          { ac_try='test -s conftest$ac_exeext'
53676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53677   (eval $ac_try) 2>&5
53678   ac_status=$?
53679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53680   (exit $ac_status); }; }; then
53681   ac_cv_lib_m_sin=yes
53682 else
53683   echo "$as_me: failed program was:" >&5
53684 sed 's/^/| /' conftest.$ac_ext >&5
53685
53686 ac_cv_lib_m_sin=no
53687 fi
53688 rm -f conftest.err conftest.$ac_objext \
53689       conftest$ac_exeext conftest.$ac_ext
53690 LIBS=$ac_check_lib_save_LIBS
53691 fi
53692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53693 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53694 if test $ac_cv_lib_m_sin = yes; then
53695   libm="-lm"
53696 fi
53697
53698   ac_save_LIBS="$LIBS"
53699   LIBS="$LIBS $libm"
53700
53701
53702
53703   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53704 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53705   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53706     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53707   echo $ECHO_N "(cached) $ECHO_C" >&6
53708 else
53709
53710
53711
53712       ac_ext=cc
53713 ac_cpp='$CXXCPP $CPPFLAGS'
53714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53717
53718       cat >conftest.$ac_ext <<_ACEOF
53719 /* confdefs.h.  */
53720 _ACEOF
53721 cat confdefs.h >>conftest.$ac_ext
53722 cat >>conftest.$ac_ext <<_ACEOF
53723 /* end confdefs.h.  */
53724 #include <math.h>
53725                       #ifdef HAVE_IEEEFP_H
53726                       #include <ieeefp.h>
53727                       #endif
53728
53729 int
53730 main ()
53731 {
53732  isinf(0);
53733   ;
53734   return 0;
53735 }
53736 _ACEOF
53737 rm -f conftest.$ac_objext
53738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53739   (eval $ac_compile) 2>conftest.er1
53740   ac_status=$?
53741   grep -v '^ *+' conftest.er1 >conftest.err
53742   rm -f conftest.er1
53743   cat conftest.err >&5
53744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53745   (exit $ac_status); } &&
53746          { ac_try='test -z "$ac_cxx_werror_flag"
53747                          || test ! -s conftest.err'
53748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53749   (eval $ac_try) 2>&5
53750   ac_status=$?
53751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53752   (exit $ac_status); }; } &&
53753          { ac_try='test -s conftest.$ac_objext'
53754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53755   (eval $ac_try) 2>&5
53756   ac_status=$?
53757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53758   (exit $ac_status); }; }; then
53759   glibcxx_cv_func_isinf_use=yes
53760 else
53761   echo "$as_me: failed program was:" >&5
53762 sed 's/^/| /' conftest.$ac_ext >&5
53763
53764 glibcxx_cv_func_isinf_use=no
53765 fi
53766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53767       ac_ext=c
53768 ac_cpp='$CPP $CPPFLAGS'
53769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53772
53773
53774 fi
53775
53776   fi
53777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53778 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53779
53780   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53781
53782 for ac_func in isinf
53783 do
53784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53785 echo "$as_me:$LINENO: checking for $ac_func" >&5
53786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53787 if eval "test \"\${$as_ac_var+set}\" = set"; then
53788   echo $ECHO_N "(cached) $ECHO_C" >&6
53789 else
53790   if test x$gcc_no_link = xyes; then
53791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53793    { (exit 1); exit 1; }; }
53794 fi
53795 cat >conftest.$ac_ext <<_ACEOF
53796 /* confdefs.h.  */
53797 _ACEOF
53798 cat confdefs.h >>conftest.$ac_ext
53799 cat >>conftest.$ac_ext <<_ACEOF
53800 /* end confdefs.h.  */
53801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53803 #define $ac_func innocuous_$ac_func
53804
53805 /* System header to define __stub macros and hopefully few prototypes,
53806     which can conflict with char $ac_func (); below.
53807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53808     <limits.h> exists even on freestanding compilers.  */
53809
53810 #ifdef __STDC__
53811 # include <limits.h>
53812 #else
53813 # include <assert.h>
53814 #endif
53815
53816 #undef $ac_func
53817
53818 /* Override any gcc2 internal prototype to avoid an error.  */
53819 #ifdef __cplusplus
53820 extern "C"
53821 {
53822 #endif
53823 /* We use char because int might match the return type of a gcc2
53824    builtin and then its argument prototype would still apply.  */
53825 char $ac_func ();
53826 /* The GNU C library defines this for functions which it implements
53827     to always fail with ENOSYS.  Some functions are actually named
53828     something starting with __ and the normal name is an alias.  */
53829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53830 choke me
53831 #else
53832 char (*f) () = $ac_func;
53833 #endif
53834 #ifdef __cplusplus
53835 }
53836 #endif
53837
53838 int
53839 main ()
53840 {
53841 return f != $ac_func;
53842   ;
53843   return 0;
53844 }
53845 _ACEOF
53846 rm -f conftest.$ac_objext conftest$ac_exeext
53847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53848   (eval $ac_link) 2>conftest.er1
53849   ac_status=$?
53850   grep -v '^ *+' conftest.er1 >conftest.err
53851   rm -f conftest.er1
53852   cat conftest.err >&5
53853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53854   (exit $ac_status); } &&
53855          { ac_try='test -z "$ac_c_werror_flag"
53856                          || test ! -s conftest.err'
53857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53858   (eval $ac_try) 2>&5
53859   ac_status=$?
53860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53861   (exit $ac_status); }; } &&
53862          { ac_try='test -s conftest$ac_exeext'
53863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53864   (eval $ac_try) 2>&5
53865   ac_status=$?
53866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53867   (exit $ac_status); }; }; then
53868   eval "$as_ac_var=yes"
53869 else
53870   echo "$as_me: failed program was:" >&5
53871 sed 's/^/| /' conftest.$ac_ext >&5
53872
53873 eval "$as_ac_var=no"
53874 fi
53875 rm -f conftest.err conftest.$ac_objext \
53876       conftest$ac_exeext conftest.$ac_ext
53877 fi
53878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53880 if test `eval echo '${'$as_ac_var'}'` = yes; then
53881   cat >>confdefs.h <<_ACEOF
53882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53883 _ACEOF
53884
53885 fi
53886 done
53887
53888   else
53889
53890   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53891 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53892   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53893     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53894   echo $ECHO_N "(cached) $ECHO_C" >&6
53895 else
53896
53897
53898
53899       ac_ext=cc
53900 ac_cpp='$CXXCPP $CPPFLAGS'
53901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53904
53905       cat >conftest.$ac_ext <<_ACEOF
53906 /* confdefs.h.  */
53907 _ACEOF
53908 cat confdefs.h >>conftest.$ac_ext
53909 cat >>conftest.$ac_ext <<_ACEOF
53910 /* end confdefs.h.  */
53911 #include <math.h>
53912                       #ifdef HAVE_IEEEFP_H
53913                       #include <ieeefp.h>
53914                       #endif
53915
53916 int
53917 main ()
53918 {
53919  _isinf(0);
53920   ;
53921   return 0;
53922 }
53923 _ACEOF
53924 rm -f conftest.$ac_objext
53925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53926   (eval $ac_compile) 2>conftest.er1
53927   ac_status=$?
53928   grep -v '^ *+' conftest.er1 >conftest.err
53929   rm -f conftest.er1
53930   cat conftest.err >&5
53931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53932   (exit $ac_status); } &&
53933          { ac_try='test -z "$ac_cxx_werror_flag"
53934                          || test ! -s conftest.err'
53935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53936   (eval $ac_try) 2>&5
53937   ac_status=$?
53938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53939   (exit $ac_status); }; } &&
53940          { ac_try='test -s conftest.$ac_objext'
53941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53942   (eval $ac_try) 2>&5
53943   ac_status=$?
53944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53945   (exit $ac_status); }; }; then
53946   glibcxx_cv_func__isinf_use=yes
53947 else
53948   echo "$as_me: failed program was:" >&5
53949 sed 's/^/| /' conftest.$ac_ext >&5
53950
53951 glibcxx_cv_func__isinf_use=no
53952 fi
53953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53954       ac_ext=c
53955 ac_cpp='$CPP $CPPFLAGS'
53956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53959
53960
53961 fi
53962
53963   fi
53964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53965 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53966
53967     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53968
53969 for ac_func in _isinf
53970 do
53971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53972 echo "$as_me:$LINENO: checking for $ac_func" >&5
53973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53974 if eval "test \"\${$as_ac_var+set}\" = set"; then
53975   echo $ECHO_N "(cached) $ECHO_C" >&6
53976 else
53977   if test x$gcc_no_link = xyes; then
53978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53980    { (exit 1); exit 1; }; }
53981 fi
53982 cat >conftest.$ac_ext <<_ACEOF
53983 /* confdefs.h.  */
53984 _ACEOF
53985 cat confdefs.h >>conftest.$ac_ext
53986 cat >>conftest.$ac_ext <<_ACEOF
53987 /* end confdefs.h.  */
53988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53990 #define $ac_func innocuous_$ac_func
53991
53992 /* System header to define __stub macros and hopefully few prototypes,
53993     which can conflict with char $ac_func (); below.
53994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53995     <limits.h> exists even on freestanding compilers.  */
53996
53997 #ifdef __STDC__
53998 # include <limits.h>
53999 #else
54000 # include <assert.h>
54001 #endif
54002
54003 #undef $ac_func
54004
54005 /* Override any gcc2 internal prototype to avoid an error.  */
54006 #ifdef __cplusplus
54007 extern "C"
54008 {
54009 #endif
54010 /* We use char because int might match the return type of a gcc2
54011    builtin and then its argument prototype would still apply.  */
54012 char $ac_func ();
54013 /* The GNU C library defines this for functions which it implements
54014     to always fail with ENOSYS.  Some functions are actually named
54015     something starting with __ and the normal name is an alias.  */
54016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54017 choke me
54018 #else
54019 char (*f) () = $ac_func;
54020 #endif
54021 #ifdef __cplusplus
54022 }
54023 #endif
54024
54025 int
54026 main ()
54027 {
54028 return f != $ac_func;
54029   ;
54030   return 0;
54031 }
54032 _ACEOF
54033 rm -f conftest.$ac_objext conftest$ac_exeext
54034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54035   (eval $ac_link) 2>conftest.er1
54036   ac_status=$?
54037   grep -v '^ *+' conftest.er1 >conftest.err
54038   rm -f conftest.er1
54039   cat conftest.err >&5
54040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54041   (exit $ac_status); } &&
54042          { ac_try='test -z "$ac_c_werror_flag"
54043                          || test ! -s conftest.err'
54044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54045   (eval $ac_try) 2>&5
54046   ac_status=$?
54047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54048   (exit $ac_status); }; } &&
54049          { ac_try='test -s conftest$ac_exeext'
54050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54051   (eval $ac_try) 2>&5
54052   ac_status=$?
54053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54054   (exit $ac_status); }; }; then
54055   eval "$as_ac_var=yes"
54056 else
54057   echo "$as_me: failed program was:" >&5
54058 sed 's/^/| /' conftest.$ac_ext >&5
54059
54060 eval "$as_ac_var=no"
54061 fi
54062 rm -f conftest.err conftest.$ac_objext \
54063       conftest$ac_exeext conftest.$ac_ext
54064 fi
54065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54067 if test `eval echo '${'$as_ac_var'}'` = yes; then
54068   cat >>confdefs.h <<_ACEOF
54069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54070 _ACEOF
54071
54072 fi
54073 done
54074
54075     fi
54076   fi
54077
54078
54079
54080   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54081 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54082   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54083     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54084   echo $ECHO_N "(cached) $ECHO_C" >&6
54085 else
54086
54087
54088
54089       ac_ext=cc
54090 ac_cpp='$CXXCPP $CPPFLAGS'
54091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54094
54095       cat >conftest.$ac_ext <<_ACEOF
54096 /* confdefs.h.  */
54097 _ACEOF
54098 cat confdefs.h >>conftest.$ac_ext
54099 cat >>conftest.$ac_ext <<_ACEOF
54100 /* end confdefs.h.  */
54101 #include <math.h>
54102                       #ifdef HAVE_IEEEFP_H
54103                       #include <ieeefp.h>
54104                       #endif
54105
54106 int
54107 main ()
54108 {
54109  isnan(0);
54110   ;
54111   return 0;
54112 }
54113 _ACEOF
54114 rm -f conftest.$ac_objext
54115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54116   (eval $ac_compile) 2>conftest.er1
54117   ac_status=$?
54118   grep -v '^ *+' conftest.er1 >conftest.err
54119   rm -f conftest.er1
54120   cat conftest.err >&5
54121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54122   (exit $ac_status); } &&
54123          { ac_try='test -z "$ac_cxx_werror_flag"
54124                          || test ! -s conftest.err'
54125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54126   (eval $ac_try) 2>&5
54127   ac_status=$?
54128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54129   (exit $ac_status); }; } &&
54130          { ac_try='test -s conftest.$ac_objext'
54131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54132   (eval $ac_try) 2>&5
54133   ac_status=$?
54134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54135   (exit $ac_status); }; }; then
54136   glibcxx_cv_func_isnan_use=yes
54137 else
54138   echo "$as_me: failed program was:" >&5
54139 sed 's/^/| /' conftest.$ac_ext >&5
54140
54141 glibcxx_cv_func_isnan_use=no
54142 fi
54143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54144       ac_ext=c
54145 ac_cpp='$CPP $CPPFLAGS'
54146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54149
54150
54151 fi
54152
54153   fi
54154   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54155 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54156
54157   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54158
54159 for ac_func in isnan
54160 do
54161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54162 echo "$as_me:$LINENO: checking for $ac_func" >&5
54163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54164 if eval "test \"\${$as_ac_var+set}\" = set"; then
54165   echo $ECHO_N "(cached) $ECHO_C" >&6
54166 else
54167   if test x$gcc_no_link = xyes; then
54168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54170    { (exit 1); exit 1; }; }
54171 fi
54172 cat >conftest.$ac_ext <<_ACEOF
54173 /* confdefs.h.  */
54174 _ACEOF
54175 cat confdefs.h >>conftest.$ac_ext
54176 cat >>conftest.$ac_ext <<_ACEOF
54177 /* end confdefs.h.  */
54178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54180 #define $ac_func innocuous_$ac_func
54181
54182 /* System header to define __stub macros and hopefully few prototypes,
54183     which can conflict with char $ac_func (); below.
54184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54185     <limits.h> exists even on freestanding compilers.  */
54186
54187 #ifdef __STDC__
54188 # include <limits.h>
54189 #else
54190 # include <assert.h>
54191 #endif
54192
54193 #undef $ac_func
54194
54195 /* Override any gcc2 internal prototype to avoid an error.  */
54196 #ifdef __cplusplus
54197 extern "C"
54198 {
54199 #endif
54200 /* We use char because int might match the return type of a gcc2
54201    builtin and then its argument prototype would still apply.  */
54202 char $ac_func ();
54203 /* The GNU C library defines this for functions which it implements
54204     to always fail with ENOSYS.  Some functions are actually named
54205     something starting with __ and the normal name is an alias.  */
54206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54207 choke me
54208 #else
54209 char (*f) () = $ac_func;
54210 #endif
54211 #ifdef __cplusplus
54212 }
54213 #endif
54214
54215 int
54216 main ()
54217 {
54218 return f != $ac_func;
54219   ;
54220   return 0;
54221 }
54222 _ACEOF
54223 rm -f conftest.$ac_objext conftest$ac_exeext
54224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54225   (eval $ac_link) 2>conftest.er1
54226   ac_status=$?
54227   grep -v '^ *+' conftest.er1 >conftest.err
54228   rm -f conftest.er1
54229   cat conftest.err >&5
54230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54231   (exit $ac_status); } &&
54232          { ac_try='test -z "$ac_c_werror_flag"
54233                          || test ! -s conftest.err'
54234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54235   (eval $ac_try) 2>&5
54236   ac_status=$?
54237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54238   (exit $ac_status); }; } &&
54239          { ac_try='test -s conftest$ac_exeext'
54240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54241   (eval $ac_try) 2>&5
54242   ac_status=$?
54243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54244   (exit $ac_status); }; }; then
54245   eval "$as_ac_var=yes"
54246 else
54247   echo "$as_me: failed program was:" >&5
54248 sed 's/^/| /' conftest.$ac_ext >&5
54249
54250 eval "$as_ac_var=no"
54251 fi
54252 rm -f conftest.err conftest.$ac_objext \
54253       conftest$ac_exeext conftest.$ac_ext
54254 fi
54255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54257 if test `eval echo '${'$as_ac_var'}'` = yes; then
54258   cat >>confdefs.h <<_ACEOF
54259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54260 _ACEOF
54261
54262 fi
54263 done
54264
54265   else
54266
54267   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54268 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54269   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54270     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54271   echo $ECHO_N "(cached) $ECHO_C" >&6
54272 else
54273
54274
54275
54276       ac_ext=cc
54277 ac_cpp='$CXXCPP $CPPFLAGS'
54278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54281
54282       cat >conftest.$ac_ext <<_ACEOF
54283 /* confdefs.h.  */
54284 _ACEOF
54285 cat confdefs.h >>conftest.$ac_ext
54286 cat >>conftest.$ac_ext <<_ACEOF
54287 /* end confdefs.h.  */
54288 #include <math.h>
54289                       #ifdef HAVE_IEEEFP_H
54290                       #include <ieeefp.h>
54291                       #endif
54292
54293 int
54294 main ()
54295 {
54296  _isnan(0);
54297   ;
54298   return 0;
54299 }
54300 _ACEOF
54301 rm -f conftest.$ac_objext
54302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54303   (eval $ac_compile) 2>conftest.er1
54304   ac_status=$?
54305   grep -v '^ *+' conftest.er1 >conftest.err
54306   rm -f conftest.er1
54307   cat conftest.err >&5
54308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54309   (exit $ac_status); } &&
54310          { ac_try='test -z "$ac_cxx_werror_flag"
54311                          || test ! -s conftest.err'
54312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54313   (eval $ac_try) 2>&5
54314   ac_status=$?
54315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54316   (exit $ac_status); }; } &&
54317          { ac_try='test -s conftest.$ac_objext'
54318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54319   (eval $ac_try) 2>&5
54320   ac_status=$?
54321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54322   (exit $ac_status); }; }; then
54323   glibcxx_cv_func__isnan_use=yes
54324 else
54325   echo "$as_me: failed program was:" >&5
54326 sed 's/^/| /' conftest.$ac_ext >&5
54327
54328 glibcxx_cv_func__isnan_use=no
54329 fi
54330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54331       ac_ext=c
54332 ac_cpp='$CPP $CPPFLAGS'
54333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54336
54337
54338 fi
54339
54340   fi
54341   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54342 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54343
54344     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54345
54346 for ac_func in _isnan
54347 do
54348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54349 echo "$as_me:$LINENO: checking for $ac_func" >&5
54350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54351 if eval "test \"\${$as_ac_var+set}\" = set"; then
54352   echo $ECHO_N "(cached) $ECHO_C" >&6
54353 else
54354   if test x$gcc_no_link = xyes; then
54355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54357    { (exit 1); exit 1; }; }
54358 fi
54359 cat >conftest.$ac_ext <<_ACEOF
54360 /* confdefs.h.  */
54361 _ACEOF
54362 cat confdefs.h >>conftest.$ac_ext
54363 cat >>conftest.$ac_ext <<_ACEOF
54364 /* end confdefs.h.  */
54365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54366    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54367 #define $ac_func innocuous_$ac_func
54368
54369 /* System header to define __stub macros and hopefully few prototypes,
54370     which can conflict with char $ac_func (); below.
54371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54372     <limits.h> exists even on freestanding compilers.  */
54373
54374 #ifdef __STDC__
54375 # include <limits.h>
54376 #else
54377 # include <assert.h>
54378 #endif
54379
54380 #undef $ac_func
54381
54382 /* Override any gcc2 internal prototype to avoid an error.  */
54383 #ifdef __cplusplus
54384 extern "C"
54385 {
54386 #endif
54387 /* We use char because int might match the return type of a gcc2
54388    builtin and then its argument prototype would still apply.  */
54389 char $ac_func ();
54390 /* The GNU C library defines this for functions which it implements
54391     to always fail with ENOSYS.  Some functions are actually named
54392     something starting with __ and the normal name is an alias.  */
54393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54394 choke me
54395 #else
54396 char (*f) () = $ac_func;
54397 #endif
54398 #ifdef __cplusplus
54399 }
54400 #endif
54401
54402 int
54403 main ()
54404 {
54405 return f != $ac_func;
54406   ;
54407   return 0;
54408 }
54409 _ACEOF
54410 rm -f conftest.$ac_objext conftest$ac_exeext
54411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54412   (eval $ac_link) 2>conftest.er1
54413   ac_status=$?
54414   grep -v '^ *+' conftest.er1 >conftest.err
54415   rm -f conftest.er1
54416   cat conftest.err >&5
54417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54418   (exit $ac_status); } &&
54419          { ac_try='test -z "$ac_c_werror_flag"
54420                          || test ! -s conftest.err'
54421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54422   (eval $ac_try) 2>&5
54423   ac_status=$?
54424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54425   (exit $ac_status); }; } &&
54426          { ac_try='test -s conftest$ac_exeext'
54427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54428   (eval $ac_try) 2>&5
54429   ac_status=$?
54430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54431   (exit $ac_status); }; }; then
54432   eval "$as_ac_var=yes"
54433 else
54434   echo "$as_me: failed program was:" >&5
54435 sed 's/^/| /' conftest.$ac_ext >&5
54436
54437 eval "$as_ac_var=no"
54438 fi
54439 rm -f conftest.err conftest.$ac_objext \
54440       conftest$ac_exeext conftest.$ac_ext
54441 fi
54442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54444 if test `eval echo '${'$as_ac_var'}'` = yes; then
54445   cat >>confdefs.h <<_ACEOF
54446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54447 _ACEOF
54448
54449 fi
54450 done
54451
54452     fi
54453   fi
54454
54455
54456
54457   echo "$as_me:$LINENO: checking for finite declaration" >&5
54458 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54459   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54460     if test "${glibcxx_cv_func_finite_use+set}" = set; then
54461   echo $ECHO_N "(cached) $ECHO_C" >&6
54462 else
54463
54464
54465
54466       ac_ext=cc
54467 ac_cpp='$CXXCPP $CPPFLAGS'
54468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54471
54472       cat >conftest.$ac_ext <<_ACEOF
54473 /* confdefs.h.  */
54474 _ACEOF
54475 cat confdefs.h >>conftest.$ac_ext
54476 cat >>conftest.$ac_ext <<_ACEOF
54477 /* end confdefs.h.  */
54478 #include <math.h>
54479                       #ifdef HAVE_IEEEFP_H
54480                       #include <ieeefp.h>
54481                       #endif
54482
54483 int
54484 main ()
54485 {
54486  finite(0);
54487   ;
54488   return 0;
54489 }
54490 _ACEOF
54491 rm -f conftest.$ac_objext
54492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54493   (eval $ac_compile) 2>conftest.er1
54494   ac_status=$?
54495   grep -v '^ *+' conftest.er1 >conftest.err
54496   rm -f conftest.er1
54497   cat conftest.err >&5
54498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54499   (exit $ac_status); } &&
54500          { ac_try='test -z "$ac_cxx_werror_flag"
54501                          || test ! -s conftest.err'
54502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54503   (eval $ac_try) 2>&5
54504   ac_status=$?
54505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54506   (exit $ac_status); }; } &&
54507          { ac_try='test -s conftest.$ac_objext'
54508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54509   (eval $ac_try) 2>&5
54510   ac_status=$?
54511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54512   (exit $ac_status); }; }; then
54513   glibcxx_cv_func_finite_use=yes
54514 else
54515   echo "$as_me: failed program was:" >&5
54516 sed 's/^/| /' conftest.$ac_ext >&5
54517
54518 glibcxx_cv_func_finite_use=no
54519 fi
54520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54521       ac_ext=c
54522 ac_cpp='$CPP $CPPFLAGS'
54523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54526
54527
54528 fi
54529
54530   fi
54531   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54532 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54533
54534   if test x$glibcxx_cv_func_finite_use = x"yes"; then
54535
54536 for ac_func in finite
54537 do
54538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54539 echo "$as_me:$LINENO: checking for $ac_func" >&5
54540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54541 if eval "test \"\${$as_ac_var+set}\" = set"; then
54542   echo $ECHO_N "(cached) $ECHO_C" >&6
54543 else
54544   if test x$gcc_no_link = xyes; then
54545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54547    { (exit 1); exit 1; }; }
54548 fi
54549 cat >conftest.$ac_ext <<_ACEOF
54550 /* confdefs.h.  */
54551 _ACEOF
54552 cat confdefs.h >>conftest.$ac_ext
54553 cat >>conftest.$ac_ext <<_ACEOF
54554 /* end confdefs.h.  */
54555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54557 #define $ac_func innocuous_$ac_func
54558
54559 /* System header to define __stub macros and hopefully few prototypes,
54560     which can conflict with char $ac_func (); below.
54561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54562     <limits.h> exists even on freestanding compilers.  */
54563
54564 #ifdef __STDC__
54565 # include <limits.h>
54566 #else
54567 # include <assert.h>
54568 #endif
54569
54570 #undef $ac_func
54571
54572 /* Override any gcc2 internal prototype to avoid an error.  */
54573 #ifdef __cplusplus
54574 extern "C"
54575 {
54576 #endif
54577 /* We use char because int might match the return type of a gcc2
54578    builtin and then its argument prototype would still apply.  */
54579 char $ac_func ();
54580 /* The GNU C library defines this for functions which it implements
54581     to always fail with ENOSYS.  Some functions are actually named
54582     something starting with __ and the normal name is an alias.  */
54583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54584 choke me
54585 #else
54586 char (*f) () = $ac_func;
54587 #endif
54588 #ifdef __cplusplus
54589 }
54590 #endif
54591
54592 int
54593 main ()
54594 {
54595 return f != $ac_func;
54596   ;
54597   return 0;
54598 }
54599 _ACEOF
54600 rm -f conftest.$ac_objext conftest$ac_exeext
54601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54602   (eval $ac_link) 2>conftest.er1
54603   ac_status=$?
54604   grep -v '^ *+' conftest.er1 >conftest.err
54605   rm -f conftest.er1
54606   cat conftest.err >&5
54607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54608   (exit $ac_status); } &&
54609          { ac_try='test -z "$ac_c_werror_flag"
54610                          || test ! -s conftest.err'
54611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54612   (eval $ac_try) 2>&5
54613   ac_status=$?
54614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54615   (exit $ac_status); }; } &&
54616          { ac_try='test -s conftest$ac_exeext'
54617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54618   (eval $ac_try) 2>&5
54619   ac_status=$?
54620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54621   (exit $ac_status); }; }; then
54622   eval "$as_ac_var=yes"
54623 else
54624   echo "$as_me: failed program was:" >&5
54625 sed 's/^/| /' conftest.$ac_ext >&5
54626
54627 eval "$as_ac_var=no"
54628 fi
54629 rm -f conftest.err conftest.$ac_objext \
54630       conftest$ac_exeext conftest.$ac_ext
54631 fi
54632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54634 if test `eval echo '${'$as_ac_var'}'` = yes; then
54635   cat >>confdefs.h <<_ACEOF
54636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54637 _ACEOF
54638
54639 fi
54640 done
54641
54642   else
54643
54644   echo "$as_me:$LINENO: checking for _finite declaration" >&5
54645 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54646   if test x${glibcxx_cv_func__finite_use+set} != xset; then
54647     if test "${glibcxx_cv_func__finite_use+set}" = set; then
54648   echo $ECHO_N "(cached) $ECHO_C" >&6
54649 else
54650
54651
54652
54653       ac_ext=cc
54654 ac_cpp='$CXXCPP $CPPFLAGS'
54655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658
54659       cat >conftest.$ac_ext <<_ACEOF
54660 /* confdefs.h.  */
54661 _ACEOF
54662 cat confdefs.h >>conftest.$ac_ext
54663 cat >>conftest.$ac_ext <<_ACEOF
54664 /* end confdefs.h.  */
54665 #include <math.h>
54666                       #ifdef HAVE_IEEEFP_H
54667                       #include <ieeefp.h>
54668                       #endif
54669
54670 int
54671 main ()
54672 {
54673  _finite(0);
54674   ;
54675   return 0;
54676 }
54677 _ACEOF
54678 rm -f conftest.$ac_objext
54679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54680   (eval $ac_compile) 2>conftest.er1
54681   ac_status=$?
54682   grep -v '^ *+' conftest.er1 >conftest.err
54683   rm -f conftest.er1
54684   cat conftest.err >&5
54685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54686   (exit $ac_status); } &&
54687          { ac_try='test -z "$ac_cxx_werror_flag"
54688                          || test ! -s conftest.err'
54689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54690   (eval $ac_try) 2>&5
54691   ac_status=$?
54692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54693   (exit $ac_status); }; } &&
54694          { ac_try='test -s conftest.$ac_objext'
54695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54696   (eval $ac_try) 2>&5
54697   ac_status=$?
54698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54699   (exit $ac_status); }; }; then
54700   glibcxx_cv_func__finite_use=yes
54701 else
54702   echo "$as_me: failed program was:" >&5
54703 sed 's/^/| /' conftest.$ac_ext >&5
54704
54705 glibcxx_cv_func__finite_use=no
54706 fi
54707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54708       ac_ext=c
54709 ac_cpp='$CPP $CPPFLAGS'
54710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54713
54714
54715 fi
54716
54717   fi
54718   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54719 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54720
54721     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54722
54723 for ac_func in _finite
54724 do
54725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54726 echo "$as_me:$LINENO: checking for $ac_func" >&5
54727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54728 if eval "test \"\${$as_ac_var+set}\" = set"; then
54729   echo $ECHO_N "(cached) $ECHO_C" >&6
54730 else
54731   if test x$gcc_no_link = xyes; then
54732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54734    { (exit 1); exit 1; }; }
54735 fi
54736 cat >conftest.$ac_ext <<_ACEOF
54737 /* confdefs.h.  */
54738 _ACEOF
54739 cat confdefs.h >>conftest.$ac_ext
54740 cat >>conftest.$ac_ext <<_ACEOF
54741 /* end confdefs.h.  */
54742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54743    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54744 #define $ac_func innocuous_$ac_func
54745
54746 /* System header to define __stub macros and hopefully few prototypes,
54747     which can conflict with char $ac_func (); below.
54748     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54749     <limits.h> exists even on freestanding compilers.  */
54750
54751 #ifdef __STDC__
54752 # include <limits.h>
54753 #else
54754 # include <assert.h>
54755 #endif
54756
54757 #undef $ac_func
54758
54759 /* Override any gcc2 internal prototype to avoid an error.  */
54760 #ifdef __cplusplus
54761 extern "C"
54762 {
54763 #endif
54764 /* We use char because int might match the return type of a gcc2
54765    builtin and then its argument prototype would still apply.  */
54766 char $ac_func ();
54767 /* The GNU C library defines this for functions which it implements
54768     to always fail with ENOSYS.  Some functions are actually named
54769     something starting with __ and the normal name is an alias.  */
54770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54771 choke me
54772 #else
54773 char (*f) () = $ac_func;
54774 #endif
54775 #ifdef __cplusplus
54776 }
54777 #endif
54778
54779 int
54780 main ()
54781 {
54782 return f != $ac_func;
54783   ;
54784   return 0;
54785 }
54786 _ACEOF
54787 rm -f conftest.$ac_objext conftest$ac_exeext
54788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54789   (eval $ac_link) 2>conftest.er1
54790   ac_status=$?
54791   grep -v '^ *+' conftest.er1 >conftest.err
54792   rm -f conftest.er1
54793   cat conftest.err >&5
54794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54795   (exit $ac_status); } &&
54796          { ac_try='test -z "$ac_c_werror_flag"
54797                          || test ! -s conftest.err'
54798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54799   (eval $ac_try) 2>&5
54800   ac_status=$?
54801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54802   (exit $ac_status); }; } &&
54803          { ac_try='test -s conftest$ac_exeext'
54804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54805   (eval $ac_try) 2>&5
54806   ac_status=$?
54807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54808   (exit $ac_status); }; }; then
54809   eval "$as_ac_var=yes"
54810 else
54811   echo "$as_me: failed program was:" >&5
54812 sed 's/^/| /' conftest.$ac_ext >&5
54813
54814 eval "$as_ac_var=no"
54815 fi
54816 rm -f conftest.err conftest.$ac_objext \
54817       conftest$ac_exeext conftest.$ac_ext
54818 fi
54819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54821 if test `eval echo '${'$as_ac_var'}'` = yes; then
54822   cat >>confdefs.h <<_ACEOF
54823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54824 _ACEOF
54825
54826 fi
54827 done
54828
54829     fi
54830   fi
54831
54832
54833
54834   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54835 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54836   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54837     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54838   echo $ECHO_N "(cached) $ECHO_C" >&6
54839 else
54840
54841
54842
54843       ac_ext=cc
54844 ac_cpp='$CXXCPP $CPPFLAGS'
54845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54848
54849       cat >conftest.$ac_ext <<_ACEOF
54850 /* confdefs.h.  */
54851 _ACEOF
54852 cat confdefs.h >>conftest.$ac_ext
54853 cat >>conftest.$ac_ext <<_ACEOF
54854 /* end confdefs.h.  */
54855 #include <math.h>
54856 int
54857 main ()
54858 {
54859  copysign(0, 0);
54860   ;
54861   return 0;
54862 }
54863 _ACEOF
54864 rm -f conftest.$ac_objext
54865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54866   (eval $ac_compile) 2>conftest.er1
54867   ac_status=$?
54868   grep -v '^ *+' conftest.er1 >conftest.err
54869   rm -f conftest.er1
54870   cat conftest.err >&5
54871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54872   (exit $ac_status); } &&
54873          { ac_try='test -z "$ac_cxx_werror_flag"
54874                          || test ! -s conftest.err'
54875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54876   (eval $ac_try) 2>&5
54877   ac_status=$?
54878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54879   (exit $ac_status); }; } &&
54880          { ac_try='test -s conftest.$ac_objext'
54881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54882   (eval $ac_try) 2>&5
54883   ac_status=$?
54884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54885   (exit $ac_status); }; }; then
54886   glibcxx_cv_func_copysign_use=yes
54887 else
54888   echo "$as_me: failed program was:" >&5
54889 sed 's/^/| /' conftest.$ac_ext >&5
54890
54891 glibcxx_cv_func_copysign_use=no
54892 fi
54893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54894       ac_ext=c
54895 ac_cpp='$CPP $CPPFLAGS'
54896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54899
54900
54901 fi
54902
54903   fi
54904   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54905 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54906
54907   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54908
54909 for ac_func in copysign
54910 do
54911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54912 echo "$as_me:$LINENO: checking for $ac_func" >&5
54913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54914 if eval "test \"\${$as_ac_var+set}\" = set"; then
54915   echo $ECHO_N "(cached) $ECHO_C" >&6
54916 else
54917   if test x$gcc_no_link = xyes; then
54918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54920    { (exit 1); exit 1; }; }
54921 fi
54922 cat >conftest.$ac_ext <<_ACEOF
54923 /* confdefs.h.  */
54924 _ACEOF
54925 cat confdefs.h >>conftest.$ac_ext
54926 cat >>conftest.$ac_ext <<_ACEOF
54927 /* end confdefs.h.  */
54928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54930 #define $ac_func innocuous_$ac_func
54931
54932 /* System header to define __stub macros and hopefully few prototypes,
54933     which can conflict with char $ac_func (); below.
54934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54935     <limits.h> exists even on freestanding compilers.  */
54936
54937 #ifdef __STDC__
54938 # include <limits.h>
54939 #else
54940 # include <assert.h>
54941 #endif
54942
54943 #undef $ac_func
54944
54945 /* Override any gcc2 internal prototype to avoid an error.  */
54946 #ifdef __cplusplus
54947 extern "C"
54948 {
54949 #endif
54950 /* We use char because int might match the return type of a gcc2
54951    builtin and then its argument prototype would still apply.  */
54952 char $ac_func ();
54953 /* The GNU C library defines this for functions which it implements
54954     to always fail with ENOSYS.  Some functions are actually named
54955     something starting with __ and the normal name is an alias.  */
54956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54957 choke me
54958 #else
54959 char (*f) () = $ac_func;
54960 #endif
54961 #ifdef __cplusplus
54962 }
54963 #endif
54964
54965 int
54966 main ()
54967 {
54968 return f != $ac_func;
54969   ;
54970   return 0;
54971 }
54972 _ACEOF
54973 rm -f conftest.$ac_objext conftest$ac_exeext
54974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54975   (eval $ac_link) 2>conftest.er1
54976   ac_status=$?
54977   grep -v '^ *+' conftest.er1 >conftest.err
54978   rm -f conftest.er1
54979   cat conftest.err >&5
54980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54981   (exit $ac_status); } &&
54982          { ac_try='test -z "$ac_c_werror_flag"
54983                          || test ! -s conftest.err'
54984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54985   (eval $ac_try) 2>&5
54986   ac_status=$?
54987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54988   (exit $ac_status); }; } &&
54989          { ac_try='test -s conftest$ac_exeext'
54990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54991   (eval $ac_try) 2>&5
54992   ac_status=$?
54993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54994   (exit $ac_status); }; }; then
54995   eval "$as_ac_var=yes"
54996 else
54997   echo "$as_me: failed program was:" >&5
54998 sed 's/^/| /' conftest.$ac_ext >&5
54999
55000 eval "$as_ac_var=no"
55001 fi
55002 rm -f conftest.err conftest.$ac_objext \
55003       conftest$ac_exeext conftest.$ac_ext
55004 fi
55005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55007 if test `eval echo '${'$as_ac_var'}'` = yes; then
55008   cat >>confdefs.h <<_ACEOF
55009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55010 _ACEOF
55011
55012 fi
55013 done
55014
55015   else
55016
55017   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55018 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55019   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55020     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55021   echo $ECHO_N "(cached) $ECHO_C" >&6
55022 else
55023
55024
55025
55026       ac_ext=cc
55027 ac_cpp='$CXXCPP $CPPFLAGS'
55028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55031
55032       cat >conftest.$ac_ext <<_ACEOF
55033 /* confdefs.h.  */
55034 _ACEOF
55035 cat confdefs.h >>conftest.$ac_ext
55036 cat >>conftest.$ac_ext <<_ACEOF
55037 /* end confdefs.h.  */
55038 #include <math.h>
55039 int
55040 main ()
55041 {
55042  _copysign(0, 0);
55043   ;
55044   return 0;
55045 }
55046 _ACEOF
55047 rm -f conftest.$ac_objext
55048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55049   (eval $ac_compile) 2>conftest.er1
55050   ac_status=$?
55051   grep -v '^ *+' conftest.er1 >conftest.err
55052   rm -f conftest.er1
55053   cat conftest.err >&5
55054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55055   (exit $ac_status); } &&
55056          { ac_try='test -z "$ac_cxx_werror_flag"
55057                          || test ! -s conftest.err'
55058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55059   (eval $ac_try) 2>&5
55060   ac_status=$?
55061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55062   (exit $ac_status); }; } &&
55063          { ac_try='test -s conftest.$ac_objext'
55064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55065   (eval $ac_try) 2>&5
55066   ac_status=$?
55067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55068   (exit $ac_status); }; }; then
55069   glibcxx_cv_func__copysign_use=yes
55070 else
55071   echo "$as_me: failed program was:" >&5
55072 sed 's/^/| /' conftest.$ac_ext >&5
55073
55074 glibcxx_cv_func__copysign_use=no
55075 fi
55076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55077       ac_ext=c
55078 ac_cpp='$CPP $CPPFLAGS'
55079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55082
55083
55084 fi
55085
55086   fi
55087   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55088 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55089
55090     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55091
55092 for ac_func in _copysign
55093 do
55094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55095 echo "$as_me:$LINENO: checking for $ac_func" >&5
55096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55097 if eval "test \"\${$as_ac_var+set}\" = set"; then
55098   echo $ECHO_N "(cached) $ECHO_C" >&6
55099 else
55100   if test x$gcc_no_link = xyes; then
55101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55103    { (exit 1); exit 1; }; }
55104 fi
55105 cat >conftest.$ac_ext <<_ACEOF
55106 /* confdefs.h.  */
55107 _ACEOF
55108 cat confdefs.h >>conftest.$ac_ext
55109 cat >>conftest.$ac_ext <<_ACEOF
55110 /* end confdefs.h.  */
55111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55113 #define $ac_func innocuous_$ac_func
55114
55115 /* System header to define __stub macros and hopefully few prototypes,
55116     which can conflict with char $ac_func (); below.
55117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55118     <limits.h> exists even on freestanding compilers.  */
55119
55120 #ifdef __STDC__
55121 # include <limits.h>
55122 #else
55123 # include <assert.h>
55124 #endif
55125
55126 #undef $ac_func
55127
55128 /* Override any gcc2 internal prototype to avoid an error.  */
55129 #ifdef __cplusplus
55130 extern "C"
55131 {
55132 #endif
55133 /* We use char because int might match the return type of a gcc2
55134    builtin and then its argument prototype would still apply.  */
55135 char $ac_func ();
55136 /* The GNU C library defines this for functions which it implements
55137     to always fail with ENOSYS.  Some functions are actually named
55138     something starting with __ and the normal name is an alias.  */
55139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55140 choke me
55141 #else
55142 char (*f) () = $ac_func;
55143 #endif
55144 #ifdef __cplusplus
55145 }
55146 #endif
55147
55148 int
55149 main ()
55150 {
55151 return f != $ac_func;
55152   ;
55153   return 0;
55154 }
55155 _ACEOF
55156 rm -f conftest.$ac_objext conftest$ac_exeext
55157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55158   (eval $ac_link) 2>conftest.er1
55159   ac_status=$?
55160   grep -v '^ *+' conftest.er1 >conftest.err
55161   rm -f conftest.er1
55162   cat conftest.err >&5
55163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55164   (exit $ac_status); } &&
55165          { ac_try='test -z "$ac_c_werror_flag"
55166                          || test ! -s conftest.err'
55167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55168   (eval $ac_try) 2>&5
55169   ac_status=$?
55170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55171   (exit $ac_status); }; } &&
55172          { ac_try='test -s conftest$ac_exeext'
55173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55174   (eval $ac_try) 2>&5
55175   ac_status=$?
55176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55177   (exit $ac_status); }; }; then
55178   eval "$as_ac_var=yes"
55179 else
55180   echo "$as_me: failed program was:" >&5
55181 sed 's/^/| /' conftest.$ac_ext >&5
55182
55183 eval "$as_ac_var=no"
55184 fi
55185 rm -f conftest.err conftest.$ac_objext \
55186       conftest$ac_exeext conftest.$ac_ext
55187 fi
55188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55190 if test `eval echo '${'$as_ac_var'}'` = yes; then
55191   cat >>confdefs.h <<_ACEOF
55192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55193 _ACEOF
55194
55195 fi
55196 done
55197
55198     fi
55199   fi
55200
55201
55202
55203   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55204 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55205   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55206     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55207   echo $ECHO_N "(cached) $ECHO_C" >&6
55208 else
55209
55210
55211
55212       ac_ext=cc
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217
55218       cat >conftest.$ac_ext <<_ACEOF
55219 /* confdefs.h.  */
55220 _ACEOF
55221 cat confdefs.h >>conftest.$ac_ext
55222 cat >>conftest.$ac_ext <<_ACEOF
55223 /* end confdefs.h.  */
55224 #include <math.h>
55225 int
55226 main ()
55227 {
55228  sincos(0, 0, 0);
55229   ;
55230   return 0;
55231 }
55232 _ACEOF
55233 rm -f conftest.$ac_objext
55234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55235   (eval $ac_compile) 2>conftest.er1
55236   ac_status=$?
55237   grep -v '^ *+' conftest.er1 >conftest.err
55238   rm -f conftest.er1
55239   cat conftest.err >&5
55240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55241   (exit $ac_status); } &&
55242          { ac_try='test -z "$ac_cxx_werror_flag"
55243                          || test ! -s conftest.err'
55244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55245   (eval $ac_try) 2>&5
55246   ac_status=$?
55247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55248   (exit $ac_status); }; } &&
55249          { ac_try='test -s conftest.$ac_objext'
55250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55251   (eval $ac_try) 2>&5
55252   ac_status=$?
55253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55254   (exit $ac_status); }; }; then
55255   glibcxx_cv_func_sincos_use=yes
55256 else
55257   echo "$as_me: failed program was:" >&5
55258 sed 's/^/| /' conftest.$ac_ext >&5
55259
55260 glibcxx_cv_func_sincos_use=no
55261 fi
55262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55263       ac_ext=c
55264 ac_cpp='$CPP $CPPFLAGS'
55265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55268
55269
55270 fi
55271
55272   fi
55273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55274 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55275
55276   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55277
55278 for ac_func in sincos
55279 do
55280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55281 echo "$as_me:$LINENO: checking for $ac_func" >&5
55282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55283 if eval "test \"\${$as_ac_var+set}\" = set"; then
55284   echo $ECHO_N "(cached) $ECHO_C" >&6
55285 else
55286   if test x$gcc_no_link = xyes; then
55287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55289    { (exit 1); exit 1; }; }
55290 fi
55291 cat >conftest.$ac_ext <<_ACEOF
55292 /* confdefs.h.  */
55293 _ACEOF
55294 cat confdefs.h >>conftest.$ac_ext
55295 cat >>conftest.$ac_ext <<_ACEOF
55296 /* end confdefs.h.  */
55297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55299 #define $ac_func innocuous_$ac_func
55300
55301 /* System header to define __stub macros and hopefully few prototypes,
55302     which can conflict with char $ac_func (); below.
55303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55304     <limits.h> exists even on freestanding compilers.  */
55305
55306 #ifdef __STDC__
55307 # include <limits.h>
55308 #else
55309 # include <assert.h>
55310 #endif
55311
55312 #undef $ac_func
55313
55314 /* Override any gcc2 internal prototype to avoid an error.  */
55315 #ifdef __cplusplus
55316 extern "C"
55317 {
55318 #endif
55319 /* We use char because int might match the return type of a gcc2
55320    builtin and then its argument prototype would still apply.  */
55321 char $ac_func ();
55322 /* The GNU C library defines this for functions which it implements
55323     to always fail with ENOSYS.  Some functions are actually named
55324     something starting with __ and the normal name is an alias.  */
55325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55326 choke me
55327 #else
55328 char (*f) () = $ac_func;
55329 #endif
55330 #ifdef __cplusplus
55331 }
55332 #endif
55333
55334 int
55335 main ()
55336 {
55337 return f != $ac_func;
55338   ;
55339   return 0;
55340 }
55341 _ACEOF
55342 rm -f conftest.$ac_objext conftest$ac_exeext
55343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55344   (eval $ac_link) 2>conftest.er1
55345   ac_status=$?
55346   grep -v '^ *+' conftest.er1 >conftest.err
55347   rm -f conftest.er1
55348   cat conftest.err >&5
55349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55350   (exit $ac_status); } &&
55351          { ac_try='test -z "$ac_c_werror_flag"
55352                          || test ! -s conftest.err'
55353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55354   (eval $ac_try) 2>&5
55355   ac_status=$?
55356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357   (exit $ac_status); }; } &&
55358          { ac_try='test -s conftest$ac_exeext'
55359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55360   (eval $ac_try) 2>&5
55361   ac_status=$?
55362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55363   (exit $ac_status); }; }; then
55364   eval "$as_ac_var=yes"
55365 else
55366   echo "$as_me: failed program was:" >&5
55367 sed 's/^/| /' conftest.$ac_ext >&5
55368
55369 eval "$as_ac_var=no"
55370 fi
55371 rm -f conftest.err conftest.$ac_objext \
55372       conftest$ac_exeext conftest.$ac_ext
55373 fi
55374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55376 if test `eval echo '${'$as_ac_var'}'` = yes; then
55377   cat >>confdefs.h <<_ACEOF
55378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55379 _ACEOF
55380
55381 fi
55382 done
55383
55384   else
55385
55386   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55387 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55388   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55389     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55390   echo $ECHO_N "(cached) $ECHO_C" >&6
55391 else
55392
55393
55394
55395       ac_ext=cc
55396 ac_cpp='$CXXCPP $CPPFLAGS'
55397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55400
55401       cat >conftest.$ac_ext <<_ACEOF
55402 /* confdefs.h.  */
55403 _ACEOF
55404 cat confdefs.h >>conftest.$ac_ext
55405 cat >>conftest.$ac_ext <<_ACEOF
55406 /* end confdefs.h.  */
55407 #include <math.h>
55408 int
55409 main ()
55410 {
55411  _sincos(0, 0, 0);
55412   ;
55413   return 0;
55414 }
55415 _ACEOF
55416 rm -f conftest.$ac_objext
55417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55418   (eval $ac_compile) 2>conftest.er1
55419   ac_status=$?
55420   grep -v '^ *+' conftest.er1 >conftest.err
55421   rm -f conftest.er1
55422   cat conftest.err >&5
55423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55424   (exit $ac_status); } &&
55425          { ac_try='test -z "$ac_cxx_werror_flag"
55426                          || test ! -s conftest.err'
55427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428   (eval $ac_try) 2>&5
55429   ac_status=$?
55430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431   (exit $ac_status); }; } &&
55432          { ac_try='test -s conftest.$ac_objext'
55433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55434   (eval $ac_try) 2>&5
55435   ac_status=$?
55436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55437   (exit $ac_status); }; }; then
55438   glibcxx_cv_func__sincos_use=yes
55439 else
55440   echo "$as_me: failed program was:" >&5
55441 sed 's/^/| /' conftest.$ac_ext >&5
55442
55443 glibcxx_cv_func__sincos_use=no
55444 fi
55445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55446       ac_ext=c
55447 ac_cpp='$CPP $CPPFLAGS'
55448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55451
55452
55453 fi
55454
55455   fi
55456   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55457 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55458
55459     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55460
55461 for ac_func in _sincos
55462 do
55463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55464 echo "$as_me:$LINENO: checking for $ac_func" >&5
55465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55466 if eval "test \"\${$as_ac_var+set}\" = set"; then
55467   echo $ECHO_N "(cached) $ECHO_C" >&6
55468 else
55469   if test x$gcc_no_link = xyes; then
55470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55472    { (exit 1); exit 1; }; }
55473 fi
55474 cat >conftest.$ac_ext <<_ACEOF
55475 /* confdefs.h.  */
55476 _ACEOF
55477 cat confdefs.h >>conftest.$ac_ext
55478 cat >>conftest.$ac_ext <<_ACEOF
55479 /* end confdefs.h.  */
55480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55482 #define $ac_func innocuous_$ac_func
55483
55484 /* System header to define __stub macros and hopefully few prototypes,
55485     which can conflict with char $ac_func (); below.
55486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55487     <limits.h> exists even on freestanding compilers.  */
55488
55489 #ifdef __STDC__
55490 # include <limits.h>
55491 #else
55492 # include <assert.h>
55493 #endif
55494
55495 #undef $ac_func
55496
55497 /* Override any gcc2 internal prototype to avoid an error.  */
55498 #ifdef __cplusplus
55499 extern "C"
55500 {
55501 #endif
55502 /* We use char because int might match the return type of a gcc2
55503    builtin and then its argument prototype would still apply.  */
55504 char $ac_func ();
55505 /* The GNU C library defines this for functions which it implements
55506     to always fail with ENOSYS.  Some functions are actually named
55507     something starting with __ and the normal name is an alias.  */
55508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55509 choke me
55510 #else
55511 char (*f) () = $ac_func;
55512 #endif
55513 #ifdef __cplusplus
55514 }
55515 #endif
55516
55517 int
55518 main ()
55519 {
55520 return f != $ac_func;
55521   ;
55522   return 0;
55523 }
55524 _ACEOF
55525 rm -f conftest.$ac_objext conftest$ac_exeext
55526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55527   (eval $ac_link) 2>conftest.er1
55528   ac_status=$?
55529   grep -v '^ *+' conftest.er1 >conftest.err
55530   rm -f conftest.er1
55531   cat conftest.err >&5
55532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55533   (exit $ac_status); } &&
55534          { ac_try='test -z "$ac_c_werror_flag"
55535                          || test ! -s conftest.err'
55536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537   (eval $ac_try) 2>&5
55538   ac_status=$?
55539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540   (exit $ac_status); }; } &&
55541          { ac_try='test -s conftest$ac_exeext'
55542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55543   (eval $ac_try) 2>&5
55544   ac_status=$?
55545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55546   (exit $ac_status); }; }; then
55547   eval "$as_ac_var=yes"
55548 else
55549   echo "$as_me: failed program was:" >&5
55550 sed 's/^/| /' conftest.$ac_ext >&5
55551
55552 eval "$as_ac_var=no"
55553 fi
55554 rm -f conftest.err conftest.$ac_objext \
55555       conftest$ac_exeext conftest.$ac_ext
55556 fi
55557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55559 if test `eval echo '${'$as_ac_var'}'` = yes; then
55560   cat >>confdefs.h <<_ACEOF
55561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55562 _ACEOF
55563
55564 fi
55565 done
55566
55567     fi
55568   fi
55569
55570
55571
55572   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55573 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55574   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55575     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55576   echo $ECHO_N "(cached) $ECHO_C" >&6
55577 else
55578
55579
55580
55581       ac_ext=cc
55582 ac_cpp='$CXXCPP $CPPFLAGS'
55583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55586
55587       cat >conftest.$ac_ext <<_ACEOF
55588 /* confdefs.h.  */
55589 _ACEOF
55590 cat confdefs.h >>conftest.$ac_ext
55591 cat >>conftest.$ac_ext <<_ACEOF
55592 /* end confdefs.h.  */
55593 #include <math.h>
55594                       #ifdef HAVE_IEEEFP_H
55595                       #include <ieeefp.h>
55596                       #endif
55597
55598 int
55599 main ()
55600 {
55601  fpclass(0);
55602   ;
55603   return 0;
55604 }
55605 _ACEOF
55606 rm -f conftest.$ac_objext
55607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55608   (eval $ac_compile) 2>conftest.er1
55609   ac_status=$?
55610   grep -v '^ *+' conftest.er1 >conftest.err
55611   rm -f conftest.er1
55612   cat conftest.err >&5
55613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55614   (exit $ac_status); } &&
55615          { ac_try='test -z "$ac_cxx_werror_flag"
55616                          || test ! -s conftest.err'
55617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55618   (eval $ac_try) 2>&5
55619   ac_status=$?
55620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55621   (exit $ac_status); }; } &&
55622          { ac_try='test -s conftest.$ac_objext'
55623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55624   (eval $ac_try) 2>&5
55625   ac_status=$?
55626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55627   (exit $ac_status); }; }; then
55628   glibcxx_cv_func_fpclass_use=yes
55629 else
55630   echo "$as_me: failed program was:" >&5
55631 sed 's/^/| /' conftest.$ac_ext >&5
55632
55633 glibcxx_cv_func_fpclass_use=no
55634 fi
55635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55636       ac_ext=c
55637 ac_cpp='$CPP $CPPFLAGS'
55638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55641
55642
55643 fi
55644
55645   fi
55646   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55647 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55648
55649   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55650
55651 for ac_func in fpclass
55652 do
55653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55654 echo "$as_me:$LINENO: checking for $ac_func" >&5
55655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55656 if eval "test \"\${$as_ac_var+set}\" = set"; then
55657   echo $ECHO_N "(cached) $ECHO_C" >&6
55658 else
55659   if test x$gcc_no_link = xyes; then
55660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55662    { (exit 1); exit 1; }; }
55663 fi
55664 cat >conftest.$ac_ext <<_ACEOF
55665 /* confdefs.h.  */
55666 _ACEOF
55667 cat confdefs.h >>conftest.$ac_ext
55668 cat >>conftest.$ac_ext <<_ACEOF
55669 /* end confdefs.h.  */
55670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55672 #define $ac_func innocuous_$ac_func
55673
55674 /* System header to define __stub macros and hopefully few prototypes,
55675     which can conflict with char $ac_func (); below.
55676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55677     <limits.h> exists even on freestanding compilers.  */
55678
55679 #ifdef __STDC__
55680 # include <limits.h>
55681 #else
55682 # include <assert.h>
55683 #endif
55684
55685 #undef $ac_func
55686
55687 /* Override any gcc2 internal prototype to avoid an error.  */
55688 #ifdef __cplusplus
55689 extern "C"
55690 {
55691 #endif
55692 /* We use char because int might match the return type of a gcc2
55693    builtin and then its argument prototype would still apply.  */
55694 char $ac_func ();
55695 /* The GNU C library defines this for functions which it implements
55696     to always fail with ENOSYS.  Some functions are actually named
55697     something starting with __ and the normal name is an alias.  */
55698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55699 choke me
55700 #else
55701 char (*f) () = $ac_func;
55702 #endif
55703 #ifdef __cplusplus
55704 }
55705 #endif
55706
55707 int
55708 main ()
55709 {
55710 return f != $ac_func;
55711   ;
55712   return 0;
55713 }
55714 _ACEOF
55715 rm -f conftest.$ac_objext conftest$ac_exeext
55716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55717   (eval $ac_link) 2>conftest.er1
55718   ac_status=$?
55719   grep -v '^ *+' conftest.er1 >conftest.err
55720   rm -f conftest.er1
55721   cat conftest.err >&5
55722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55723   (exit $ac_status); } &&
55724          { ac_try='test -z "$ac_c_werror_flag"
55725                          || test ! -s conftest.err'
55726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55727   (eval $ac_try) 2>&5
55728   ac_status=$?
55729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55730   (exit $ac_status); }; } &&
55731          { ac_try='test -s conftest$ac_exeext'
55732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55733   (eval $ac_try) 2>&5
55734   ac_status=$?
55735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55736   (exit $ac_status); }; }; then
55737   eval "$as_ac_var=yes"
55738 else
55739   echo "$as_me: failed program was:" >&5
55740 sed 's/^/| /' conftest.$ac_ext >&5
55741
55742 eval "$as_ac_var=no"
55743 fi
55744 rm -f conftest.err conftest.$ac_objext \
55745       conftest$ac_exeext conftest.$ac_ext
55746 fi
55747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55749 if test `eval echo '${'$as_ac_var'}'` = yes; then
55750   cat >>confdefs.h <<_ACEOF
55751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55752 _ACEOF
55753
55754 fi
55755 done
55756
55757   else
55758
55759   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55760 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55761   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55762     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55763   echo $ECHO_N "(cached) $ECHO_C" >&6
55764 else
55765
55766
55767
55768       ac_ext=cc
55769 ac_cpp='$CXXCPP $CPPFLAGS'
55770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55773
55774       cat >conftest.$ac_ext <<_ACEOF
55775 /* confdefs.h.  */
55776 _ACEOF
55777 cat confdefs.h >>conftest.$ac_ext
55778 cat >>conftest.$ac_ext <<_ACEOF
55779 /* end confdefs.h.  */
55780 #include <math.h>
55781                       #ifdef HAVE_IEEEFP_H
55782                       #include <ieeefp.h>
55783                       #endif
55784
55785 int
55786 main ()
55787 {
55788  _fpclass(0);
55789   ;
55790   return 0;
55791 }
55792 _ACEOF
55793 rm -f conftest.$ac_objext
55794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55795   (eval $ac_compile) 2>conftest.er1
55796   ac_status=$?
55797   grep -v '^ *+' conftest.er1 >conftest.err
55798   rm -f conftest.er1
55799   cat conftest.err >&5
55800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55801   (exit $ac_status); } &&
55802          { ac_try='test -z "$ac_cxx_werror_flag"
55803                          || test ! -s conftest.err'
55804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55805   (eval $ac_try) 2>&5
55806   ac_status=$?
55807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55808   (exit $ac_status); }; } &&
55809          { ac_try='test -s conftest.$ac_objext'
55810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55811   (eval $ac_try) 2>&5
55812   ac_status=$?
55813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55814   (exit $ac_status); }; }; then
55815   glibcxx_cv_func__fpclass_use=yes
55816 else
55817   echo "$as_me: failed program was:" >&5
55818 sed 's/^/| /' conftest.$ac_ext >&5
55819
55820 glibcxx_cv_func__fpclass_use=no
55821 fi
55822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55823       ac_ext=c
55824 ac_cpp='$CPP $CPPFLAGS'
55825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55828
55829
55830 fi
55831
55832   fi
55833   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55834 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55835
55836     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55837
55838 for ac_func in _fpclass
55839 do
55840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55841 echo "$as_me:$LINENO: checking for $ac_func" >&5
55842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55843 if eval "test \"\${$as_ac_var+set}\" = set"; then
55844   echo $ECHO_N "(cached) $ECHO_C" >&6
55845 else
55846   if test x$gcc_no_link = xyes; then
55847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55849    { (exit 1); exit 1; }; }
55850 fi
55851 cat >conftest.$ac_ext <<_ACEOF
55852 /* confdefs.h.  */
55853 _ACEOF
55854 cat confdefs.h >>conftest.$ac_ext
55855 cat >>conftest.$ac_ext <<_ACEOF
55856 /* end confdefs.h.  */
55857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55859 #define $ac_func innocuous_$ac_func
55860
55861 /* System header to define __stub macros and hopefully few prototypes,
55862     which can conflict with char $ac_func (); below.
55863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55864     <limits.h> exists even on freestanding compilers.  */
55865
55866 #ifdef __STDC__
55867 # include <limits.h>
55868 #else
55869 # include <assert.h>
55870 #endif
55871
55872 #undef $ac_func
55873
55874 /* Override any gcc2 internal prototype to avoid an error.  */
55875 #ifdef __cplusplus
55876 extern "C"
55877 {
55878 #endif
55879 /* We use char because int might match the return type of a gcc2
55880    builtin and then its argument prototype would still apply.  */
55881 char $ac_func ();
55882 /* The GNU C library defines this for functions which it implements
55883     to always fail with ENOSYS.  Some functions are actually named
55884     something starting with __ and the normal name is an alias.  */
55885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55886 choke me
55887 #else
55888 char (*f) () = $ac_func;
55889 #endif
55890 #ifdef __cplusplus
55891 }
55892 #endif
55893
55894 int
55895 main ()
55896 {
55897 return f != $ac_func;
55898   ;
55899   return 0;
55900 }
55901 _ACEOF
55902 rm -f conftest.$ac_objext conftest$ac_exeext
55903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55904   (eval $ac_link) 2>conftest.er1
55905   ac_status=$?
55906   grep -v '^ *+' conftest.er1 >conftest.err
55907   rm -f conftest.er1
55908   cat conftest.err >&5
55909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55910   (exit $ac_status); } &&
55911          { ac_try='test -z "$ac_c_werror_flag"
55912                          || test ! -s conftest.err'
55913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55914   (eval $ac_try) 2>&5
55915   ac_status=$?
55916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55917   (exit $ac_status); }; } &&
55918          { ac_try='test -s conftest$ac_exeext'
55919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55920   (eval $ac_try) 2>&5
55921   ac_status=$?
55922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55923   (exit $ac_status); }; }; then
55924   eval "$as_ac_var=yes"
55925 else
55926   echo "$as_me: failed program was:" >&5
55927 sed 's/^/| /' conftest.$ac_ext >&5
55928
55929 eval "$as_ac_var=no"
55930 fi
55931 rm -f conftest.err conftest.$ac_objext \
55932       conftest$ac_exeext conftest.$ac_ext
55933 fi
55934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55936 if test `eval echo '${'$as_ac_var'}'` = yes; then
55937   cat >>confdefs.h <<_ACEOF
55938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55939 _ACEOF
55940
55941 fi
55942 done
55943
55944     fi
55945   fi
55946
55947
55948
55949   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55950 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55951   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55952     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55953   echo $ECHO_N "(cached) $ECHO_C" >&6
55954 else
55955
55956
55957
55958       ac_ext=cc
55959 ac_cpp='$CXXCPP $CPPFLAGS'
55960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55963
55964       cat >conftest.$ac_ext <<_ACEOF
55965 /* confdefs.h.  */
55966 _ACEOF
55967 cat confdefs.h >>conftest.$ac_ext
55968 cat >>conftest.$ac_ext <<_ACEOF
55969 /* end confdefs.h.  */
55970 #include <math.h>
55971                       #ifdef HAVE_IEEEFP_H
55972                       #include <ieeefp.h>
55973                       #endif
55974
55975 int
55976 main ()
55977 {
55978  qfpclass(0);
55979   ;
55980   return 0;
55981 }
55982 _ACEOF
55983 rm -f conftest.$ac_objext
55984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55985   (eval $ac_compile) 2>conftest.er1
55986   ac_status=$?
55987   grep -v '^ *+' conftest.er1 >conftest.err
55988   rm -f conftest.er1
55989   cat conftest.err >&5
55990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55991   (exit $ac_status); } &&
55992          { ac_try='test -z "$ac_cxx_werror_flag"
55993                          || test ! -s conftest.err'
55994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55995   (eval $ac_try) 2>&5
55996   ac_status=$?
55997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55998   (exit $ac_status); }; } &&
55999          { ac_try='test -s conftest.$ac_objext'
56000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56001   (eval $ac_try) 2>&5
56002   ac_status=$?
56003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56004   (exit $ac_status); }; }; then
56005   glibcxx_cv_func_qfpclass_use=yes
56006 else
56007   echo "$as_me: failed program was:" >&5
56008 sed 's/^/| /' conftest.$ac_ext >&5
56009
56010 glibcxx_cv_func_qfpclass_use=no
56011 fi
56012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56013       ac_ext=c
56014 ac_cpp='$CPP $CPPFLAGS'
56015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56018
56019
56020 fi
56021
56022   fi
56023   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56024 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56025
56026   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56027
56028 for ac_func in qfpclass
56029 do
56030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56031 echo "$as_me:$LINENO: checking for $ac_func" >&5
56032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56033 if eval "test \"\${$as_ac_var+set}\" = set"; then
56034   echo $ECHO_N "(cached) $ECHO_C" >&6
56035 else
56036   if test x$gcc_no_link = xyes; then
56037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56039    { (exit 1); exit 1; }; }
56040 fi
56041 cat >conftest.$ac_ext <<_ACEOF
56042 /* confdefs.h.  */
56043 _ACEOF
56044 cat confdefs.h >>conftest.$ac_ext
56045 cat >>conftest.$ac_ext <<_ACEOF
56046 /* end confdefs.h.  */
56047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56049 #define $ac_func innocuous_$ac_func
56050
56051 /* System header to define __stub macros and hopefully few prototypes,
56052     which can conflict with char $ac_func (); below.
56053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56054     <limits.h> exists even on freestanding compilers.  */
56055
56056 #ifdef __STDC__
56057 # include <limits.h>
56058 #else
56059 # include <assert.h>
56060 #endif
56061
56062 #undef $ac_func
56063
56064 /* Override any gcc2 internal prototype to avoid an error.  */
56065 #ifdef __cplusplus
56066 extern "C"
56067 {
56068 #endif
56069 /* We use char because int might match the return type of a gcc2
56070    builtin and then its argument prototype would still apply.  */
56071 char $ac_func ();
56072 /* The GNU C library defines this for functions which it implements
56073     to always fail with ENOSYS.  Some functions are actually named
56074     something starting with __ and the normal name is an alias.  */
56075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56076 choke me
56077 #else
56078 char (*f) () = $ac_func;
56079 #endif
56080 #ifdef __cplusplus
56081 }
56082 #endif
56083
56084 int
56085 main ()
56086 {
56087 return f != $ac_func;
56088   ;
56089   return 0;
56090 }
56091 _ACEOF
56092 rm -f conftest.$ac_objext conftest$ac_exeext
56093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56094   (eval $ac_link) 2>conftest.er1
56095   ac_status=$?
56096   grep -v '^ *+' conftest.er1 >conftest.err
56097   rm -f conftest.er1
56098   cat conftest.err >&5
56099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56100   (exit $ac_status); } &&
56101          { ac_try='test -z "$ac_c_werror_flag"
56102                          || test ! -s conftest.err'
56103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56104   (eval $ac_try) 2>&5
56105   ac_status=$?
56106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56107   (exit $ac_status); }; } &&
56108          { ac_try='test -s conftest$ac_exeext'
56109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56110   (eval $ac_try) 2>&5
56111   ac_status=$?
56112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56113   (exit $ac_status); }; }; then
56114   eval "$as_ac_var=yes"
56115 else
56116   echo "$as_me: failed program was:" >&5
56117 sed 's/^/| /' conftest.$ac_ext >&5
56118
56119 eval "$as_ac_var=no"
56120 fi
56121 rm -f conftest.err conftest.$ac_objext \
56122       conftest$ac_exeext conftest.$ac_ext
56123 fi
56124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56126 if test `eval echo '${'$as_ac_var'}'` = yes; then
56127   cat >>confdefs.h <<_ACEOF
56128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56129 _ACEOF
56130
56131 fi
56132 done
56133
56134   else
56135
56136   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56137 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56138   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56139     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56140   echo $ECHO_N "(cached) $ECHO_C" >&6
56141 else
56142
56143
56144
56145       ac_ext=cc
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150
56151       cat >conftest.$ac_ext <<_ACEOF
56152 /* confdefs.h.  */
56153 _ACEOF
56154 cat confdefs.h >>conftest.$ac_ext
56155 cat >>conftest.$ac_ext <<_ACEOF
56156 /* end confdefs.h.  */
56157 #include <math.h>
56158                       #ifdef HAVE_IEEEFP_H
56159                       #include <ieeefp.h>
56160                       #endif
56161
56162 int
56163 main ()
56164 {
56165  _qfpclass(0);
56166   ;
56167   return 0;
56168 }
56169 _ACEOF
56170 rm -f conftest.$ac_objext
56171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56172   (eval $ac_compile) 2>conftest.er1
56173   ac_status=$?
56174   grep -v '^ *+' conftest.er1 >conftest.err
56175   rm -f conftest.er1
56176   cat conftest.err >&5
56177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56178   (exit $ac_status); } &&
56179          { ac_try='test -z "$ac_cxx_werror_flag"
56180                          || test ! -s conftest.err'
56181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56182   (eval $ac_try) 2>&5
56183   ac_status=$?
56184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56185   (exit $ac_status); }; } &&
56186          { ac_try='test -s conftest.$ac_objext'
56187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56188   (eval $ac_try) 2>&5
56189   ac_status=$?
56190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56191   (exit $ac_status); }; }; then
56192   glibcxx_cv_func__qfpclass_use=yes
56193 else
56194   echo "$as_me: failed program was:" >&5
56195 sed 's/^/| /' conftest.$ac_ext >&5
56196
56197 glibcxx_cv_func__qfpclass_use=no
56198 fi
56199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56200       ac_ext=c
56201 ac_cpp='$CPP $CPPFLAGS'
56202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56205
56206
56207 fi
56208
56209   fi
56210   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56211 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56212
56213     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56214
56215 for ac_func in _qfpclass
56216 do
56217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56218 echo "$as_me:$LINENO: checking for $ac_func" >&5
56219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56220 if eval "test \"\${$as_ac_var+set}\" = set"; then
56221   echo $ECHO_N "(cached) $ECHO_C" >&6
56222 else
56223   if test x$gcc_no_link = xyes; then
56224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56226    { (exit 1); exit 1; }; }
56227 fi
56228 cat >conftest.$ac_ext <<_ACEOF
56229 /* confdefs.h.  */
56230 _ACEOF
56231 cat confdefs.h >>conftest.$ac_ext
56232 cat >>conftest.$ac_ext <<_ACEOF
56233 /* end confdefs.h.  */
56234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56236 #define $ac_func innocuous_$ac_func
56237
56238 /* System header to define __stub macros and hopefully few prototypes,
56239     which can conflict with char $ac_func (); below.
56240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56241     <limits.h> exists even on freestanding compilers.  */
56242
56243 #ifdef __STDC__
56244 # include <limits.h>
56245 #else
56246 # include <assert.h>
56247 #endif
56248
56249 #undef $ac_func
56250
56251 /* Override any gcc2 internal prototype to avoid an error.  */
56252 #ifdef __cplusplus
56253 extern "C"
56254 {
56255 #endif
56256 /* We use char because int might match the return type of a gcc2
56257    builtin and then its argument prototype would still apply.  */
56258 char $ac_func ();
56259 /* The GNU C library defines this for functions which it implements
56260     to always fail with ENOSYS.  Some functions are actually named
56261     something starting with __ and the normal name is an alias.  */
56262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56263 choke me
56264 #else
56265 char (*f) () = $ac_func;
56266 #endif
56267 #ifdef __cplusplus
56268 }
56269 #endif
56270
56271 int
56272 main ()
56273 {
56274 return f != $ac_func;
56275   ;
56276   return 0;
56277 }
56278 _ACEOF
56279 rm -f conftest.$ac_objext conftest$ac_exeext
56280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56281   (eval $ac_link) 2>conftest.er1
56282   ac_status=$?
56283   grep -v '^ *+' conftest.er1 >conftest.err
56284   rm -f conftest.er1
56285   cat conftest.err >&5
56286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56287   (exit $ac_status); } &&
56288          { ac_try='test -z "$ac_c_werror_flag"
56289                          || test ! -s conftest.err'
56290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56291   (eval $ac_try) 2>&5
56292   ac_status=$?
56293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56294   (exit $ac_status); }; } &&
56295          { ac_try='test -s conftest$ac_exeext'
56296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56297   (eval $ac_try) 2>&5
56298   ac_status=$?
56299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56300   (exit $ac_status); }; }; then
56301   eval "$as_ac_var=yes"
56302 else
56303   echo "$as_me: failed program was:" >&5
56304 sed 's/^/| /' conftest.$ac_ext >&5
56305
56306 eval "$as_ac_var=no"
56307 fi
56308 rm -f conftest.err conftest.$ac_objext \
56309       conftest$ac_exeext conftest.$ac_ext
56310 fi
56311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56313 if test `eval echo '${'$as_ac_var'}'` = yes; then
56314   cat >>confdefs.h <<_ACEOF
56315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56316 _ACEOF
56317
56318 fi
56319 done
56320
56321     fi
56322   fi
56323
56324
56325
56326   echo "$as_me:$LINENO: checking for hypot declaration" >&5
56327 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56328   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56329     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56330   echo $ECHO_N "(cached) $ECHO_C" >&6
56331 else
56332
56333
56334
56335       ac_ext=cc
56336 ac_cpp='$CXXCPP $CPPFLAGS'
56337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56340
56341       cat >conftest.$ac_ext <<_ACEOF
56342 /* confdefs.h.  */
56343 _ACEOF
56344 cat confdefs.h >>conftest.$ac_ext
56345 cat >>conftest.$ac_ext <<_ACEOF
56346 /* end confdefs.h.  */
56347 #include <math.h>
56348 int
56349 main ()
56350 {
56351  hypot(0, 0);
56352   ;
56353   return 0;
56354 }
56355 _ACEOF
56356 rm -f conftest.$ac_objext
56357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56358   (eval $ac_compile) 2>conftest.er1
56359   ac_status=$?
56360   grep -v '^ *+' conftest.er1 >conftest.err
56361   rm -f conftest.er1
56362   cat conftest.err >&5
56363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56364   (exit $ac_status); } &&
56365          { ac_try='test -z "$ac_cxx_werror_flag"
56366                          || test ! -s conftest.err'
56367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56368   (eval $ac_try) 2>&5
56369   ac_status=$?
56370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56371   (exit $ac_status); }; } &&
56372          { ac_try='test -s conftest.$ac_objext'
56373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56374   (eval $ac_try) 2>&5
56375   ac_status=$?
56376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56377   (exit $ac_status); }; }; then
56378   glibcxx_cv_func_hypot_use=yes
56379 else
56380   echo "$as_me: failed program was:" >&5
56381 sed 's/^/| /' conftest.$ac_ext >&5
56382
56383 glibcxx_cv_func_hypot_use=no
56384 fi
56385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56386       ac_ext=c
56387 ac_cpp='$CPP $CPPFLAGS'
56388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56391
56392
56393 fi
56394
56395   fi
56396   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56397 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56398
56399   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56400
56401 for ac_func in hypot
56402 do
56403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56404 echo "$as_me:$LINENO: checking for $ac_func" >&5
56405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56406 if eval "test \"\${$as_ac_var+set}\" = set"; then
56407   echo $ECHO_N "(cached) $ECHO_C" >&6
56408 else
56409   if test x$gcc_no_link = xyes; then
56410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56412    { (exit 1); exit 1; }; }
56413 fi
56414 cat >conftest.$ac_ext <<_ACEOF
56415 /* confdefs.h.  */
56416 _ACEOF
56417 cat confdefs.h >>conftest.$ac_ext
56418 cat >>conftest.$ac_ext <<_ACEOF
56419 /* end confdefs.h.  */
56420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56422 #define $ac_func innocuous_$ac_func
56423
56424 /* System header to define __stub macros and hopefully few prototypes,
56425     which can conflict with char $ac_func (); below.
56426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56427     <limits.h> exists even on freestanding compilers.  */
56428
56429 #ifdef __STDC__
56430 # include <limits.h>
56431 #else
56432 # include <assert.h>
56433 #endif
56434
56435 #undef $ac_func
56436
56437 /* Override any gcc2 internal prototype to avoid an error.  */
56438 #ifdef __cplusplus
56439 extern "C"
56440 {
56441 #endif
56442 /* We use char because int might match the return type of a gcc2
56443    builtin and then its argument prototype would still apply.  */
56444 char $ac_func ();
56445 /* The GNU C library defines this for functions which it implements
56446     to always fail with ENOSYS.  Some functions are actually named
56447     something starting with __ and the normal name is an alias.  */
56448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56449 choke me
56450 #else
56451 char (*f) () = $ac_func;
56452 #endif
56453 #ifdef __cplusplus
56454 }
56455 #endif
56456
56457 int
56458 main ()
56459 {
56460 return f != $ac_func;
56461   ;
56462   return 0;
56463 }
56464 _ACEOF
56465 rm -f conftest.$ac_objext conftest$ac_exeext
56466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56467   (eval $ac_link) 2>conftest.er1
56468   ac_status=$?
56469   grep -v '^ *+' conftest.er1 >conftest.err
56470   rm -f conftest.er1
56471   cat conftest.err >&5
56472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56473   (exit $ac_status); } &&
56474          { ac_try='test -z "$ac_c_werror_flag"
56475                          || test ! -s conftest.err'
56476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56477   (eval $ac_try) 2>&5
56478   ac_status=$?
56479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56480   (exit $ac_status); }; } &&
56481          { ac_try='test -s conftest$ac_exeext'
56482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56483   (eval $ac_try) 2>&5
56484   ac_status=$?
56485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56486   (exit $ac_status); }; }; then
56487   eval "$as_ac_var=yes"
56488 else
56489   echo "$as_me: failed program was:" >&5
56490 sed 's/^/| /' conftest.$ac_ext >&5
56491
56492 eval "$as_ac_var=no"
56493 fi
56494 rm -f conftest.err conftest.$ac_objext \
56495       conftest$ac_exeext conftest.$ac_ext
56496 fi
56497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56499 if test `eval echo '${'$as_ac_var'}'` = yes; then
56500   cat >>confdefs.h <<_ACEOF
56501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56502 _ACEOF
56503
56504 fi
56505 done
56506
56507   else
56508
56509   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56510 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56511   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56512     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56513   echo $ECHO_N "(cached) $ECHO_C" >&6
56514 else
56515
56516
56517
56518       ac_ext=cc
56519 ac_cpp='$CXXCPP $CPPFLAGS'
56520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56523
56524       cat >conftest.$ac_ext <<_ACEOF
56525 /* confdefs.h.  */
56526 _ACEOF
56527 cat confdefs.h >>conftest.$ac_ext
56528 cat >>conftest.$ac_ext <<_ACEOF
56529 /* end confdefs.h.  */
56530 #include <math.h>
56531 int
56532 main ()
56533 {
56534  _hypot(0, 0);
56535   ;
56536   return 0;
56537 }
56538 _ACEOF
56539 rm -f conftest.$ac_objext
56540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56541   (eval $ac_compile) 2>conftest.er1
56542   ac_status=$?
56543   grep -v '^ *+' conftest.er1 >conftest.err
56544   rm -f conftest.er1
56545   cat conftest.err >&5
56546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56547   (exit $ac_status); } &&
56548          { ac_try='test -z "$ac_cxx_werror_flag"
56549                          || test ! -s conftest.err'
56550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56551   (eval $ac_try) 2>&5
56552   ac_status=$?
56553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56554   (exit $ac_status); }; } &&
56555          { ac_try='test -s conftest.$ac_objext'
56556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56557   (eval $ac_try) 2>&5
56558   ac_status=$?
56559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56560   (exit $ac_status); }; }; then
56561   glibcxx_cv_func__hypot_use=yes
56562 else
56563   echo "$as_me: failed program was:" >&5
56564 sed 's/^/| /' conftest.$ac_ext >&5
56565
56566 glibcxx_cv_func__hypot_use=no
56567 fi
56568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56569       ac_ext=c
56570 ac_cpp='$CPP $CPPFLAGS'
56571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56574
56575
56576 fi
56577
56578   fi
56579   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56580 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56581
56582     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56583
56584 for ac_func in _hypot
56585 do
56586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56587 echo "$as_me:$LINENO: checking for $ac_func" >&5
56588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56589 if eval "test \"\${$as_ac_var+set}\" = set"; then
56590   echo $ECHO_N "(cached) $ECHO_C" >&6
56591 else
56592   if test x$gcc_no_link = xyes; then
56593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56595    { (exit 1); exit 1; }; }
56596 fi
56597 cat >conftest.$ac_ext <<_ACEOF
56598 /* confdefs.h.  */
56599 _ACEOF
56600 cat confdefs.h >>conftest.$ac_ext
56601 cat >>conftest.$ac_ext <<_ACEOF
56602 /* end confdefs.h.  */
56603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56605 #define $ac_func innocuous_$ac_func
56606
56607 /* System header to define __stub macros and hopefully few prototypes,
56608     which can conflict with char $ac_func (); below.
56609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56610     <limits.h> exists even on freestanding compilers.  */
56611
56612 #ifdef __STDC__
56613 # include <limits.h>
56614 #else
56615 # include <assert.h>
56616 #endif
56617
56618 #undef $ac_func
56619
56620 /* Override any gcc2 internal prototype to avoid an error.  */
56621 #ifdef __cplusplus
56622 extern "C"
56623 {
56624 #endif
56625 /* We use char because int might match the return type of a gcc2
56626    builtin and then its argument prototype would still apply.  */
56627 char $ac_func ();
56628 /* The GNU C library defines this for functions which it implements
56629     to always fail with ENOSYS.  Some functions are actually named
56630     something starting with __ and the normal name is an alias.  */
56631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56632 choke me
56633 #else
56634 char (*f) () = $ac_func;
56635 #endif
56636 #ifdef __cplusplus
56637 }
56638 #endif
56639
56640 int
56641 main ()
56642 {
56643 return f != $ac_func;
56644   ;
56645   return 0;
56646 }
56647 _ACEOF
56648 rm -f conftest.$ac_objext conftest$ac_exeext
56649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56650   (eval $ac_link) 2>conftest.er1
56651   ac_status=$?
56652   grep -v '^ *+' conftest.er1 >conftest.err
56653   rm -f conftest.er1
56654   cat conftest.err >&5
56655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56656   (exit $ac_status); } &&
56657          { ac_try='test -z "$ac_c_werror_flag"
56658                          || test ! -s conftest.err'
56659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56660   (eval $ac_try) 2>&5
56661   ac_status=$?
56662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56663   (exit $ac_status); }; } &&
56664          { ac_try='test -s conftest$ac_exeext'
56665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56666   (eval $ac_try) 2>&5
56667   ac_status=$?
56668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56669   (exit $ac_status); }; }; then
56670   eval "$as_ac_var=yes"
56671 else
56672   echo "$as_me: failed program was:" >&5
56673 sed 's/^/| /' conftest.$ac_ext >&5
56674
56675 eval "$as_ac_var=no"
56676 fi
56677 rm -f conftest.err conftest.$ac_objext \
56678       conftest$ac_exeext conftest.$ac_ext
56679 fi
56680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56682 if test `eval echo '${'$as_ac_var'}'` = yes; then
56683   cat >>confdefs.h <<_ACEOF
56684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56685 _ACEOF
56686
56687 fi
56688 done
56689
56690     fi
56691   fi
56692
56693
56694
56695   echo "$as_me:$LINENO: checking for float trig functions" >&5
56696 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56697   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56698   echo $ECHO_N "(cached) $ECHO_C" >&6
56699 else
56700
56701
56702
56703     ac_ext=cc
56704 ac_cpp='$CXXCPP $CPPFLAGS'
56705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56708
56709     cat >conftest.$ac_ext <<_ACEOF
56710 /* confdefs.h.  */
56711 _ACEOF
56712 cat confdefs.h >>conftest.$ac_ext
56713 cat >>conftest.$ac_ext <<_ACEOF
56714 /* end confdefs.h.  */
56715 #include <math.h>
56716 int
56717 main ()
56718 {
56719  `for x in acosf asinf atanf \
56720                                           cosf sinf tanf \
56721                                           coshf sinhf tanhf; do echo "$x (0);"; done`
56722   ;
56723   return 0;
56724 }
56725 _ACEOF
56726 rm -f conftest.$ac_objext
56727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56728   (eval $ac_compile) 2>conftest.er1
56729   ac_status=$?
56730   grep -v '^ *+' conftest.er1 >conftest.err
56731   rm -f conftest.er1
56732   cat conftest.err >&5
56733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56734   (exit $ac_status); } &&
56735          { ac_try='test -z "$ac_cxx_werror_flag"
56736                          || test ! -s conftest.err'
56737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56738   (eval $ac_try) 2>&5
56739   ac_status=$?
56740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56741   (exit $ac_status); }; } &&
56742          { ac_try='test -s conftest.$ac_objext'
56743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56744   (eval $ac_try) 2>&5
56745   ac_status=$?
56746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56747   (exit $ac_status); }; }; then
56748   glibcxx_cv_func_float_trig_use=yes
56749 else
56750   echo "$as_me: failed program was:" >&5
56751 sed 's/^/| /' conftest.$ac_ext >&5
56752
56753 glibcxx_cv_func_float_trig_use=no
56754 fi
56755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56756     ac_ext=c
56757 ac_cpp='$CPP $CPPFLAGS'
56758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56761
56762 fi
56763
56764   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56765 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56766   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776 for ac_func in acosf asinf atanf \
56777                                           cosf sinf tanf \
56778                                           coshf sinhf tanhf
56779 do
56780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56781 echo "$as_me:$LINENO: checking for $ac_func" >&5
56782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56783 if eval "test \"\${$as_ac_var+set}\" = set"; then
56784   echo $ECHO_N "(cached) $ECHO_C" >&6
56785 else
56786   if test x$gcc_no_link = xyes; then
56787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56789    { (exit 1); exit 1; }; }
56790 fi
56791 cat >conftest.$ac_ext <<_ACEOF
56792 /* confdefs.h.  */
56793 _ACEOF
56794 cat confdefs.h >>conftest.$ac_ext
56795 cat >>conftest.$ac_ext <<_ACEOF
56796 /* end confdefs.h.  */
56797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56799 #define $ac_func innocuous_$ac_func
56800
56801 /* System header to define __stub macros and hopefully few prototypes,
56802     which can conflict with char $ac_func (); below.
56803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56804     <limits.h> exists even on freestanding compilers.  */
56805
56806 #ifdef __STDC__
56807 # include <limits.h>
56808 #else
56809 # include <assert.h>
56810 #endif
56811
56812 #undef $ac_func
56813
56814 /* Override any gcc2 internal prototype to avoid an error.  */
56815 #ifdef __cplusplus
56816 extern "C"
56817 {
56818 #endif
56819 /* We use char because int might match the return type of a gcc2
56820    builtin and then its argument prototype would still apply.  */
56821 char $ac_func ();
56822 /* The GNU C library defines this for functions which it implements
56823     to always fail with ENOSYS.  Some functions are actually named
56824     something starting with __ and the normal name is an alias.  */
56825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56826 choke me
56827 #else
56828 char (*f) () = $ac_func;
56829 #endif
56830 #ifdef __cplusplus
56831 }
56832 #endif
56833
56834 int
56835 main ()
56836 {
56837 return f != $ac_func;
56838   ;
56839   return 0;
56840 }
56841 _ACEOF
56842 rm -f conftest.$ac_objext conftest$ac_exeext
56843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56844   (eval $ac_link) 2>conftest.er1
56845   ac_status=$?
56846   grep -v '^ *+' conftest.er1 >conftest.err
56847   rm -f conftest.er1
56848   cat conftest.err >&5
56849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56850   (exit $ac_status); } &&
56851          { ac_try='test -z "$ac_c_werror_flag"
56852                          || test ! -s conftest.err'
56853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56854   (eval $ac_try) 2>&5
56855   ac_status=$?
56856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56857   (exit $ac_status); }; } &&
56858          { ac_try='test -s conftest$ac_exeext'
56859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56860   (eval $ac_try) 2>&5
56861   ac_status=$?
56862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56863   (exit $ac_status); }; }; then
56864   eval "$as_ac_var=yes"
56865 else
56866   echo "$as_me: failed program was:" >&5
56867 sed 's/^/| /' conftest.$ac_ext >&5
56868
56869 eval "$as_ac_var=no"
56870 fi
56871 rm -f conftest.err conftest.$ac_objext \
56872       conftest$ac_exeext conftest.$ac_ext
56873 fi
56874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56876 if test `eval echo '${'$as_ac_var'}'` = yes; then
56877   cat >>confdefs.h <<_ACEOF
56878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56879 _ACEOF
56880
56881 fi
56882 done
56883
56884   fi
56885
56886
56887   echo "$as_me:$LINENO: checking for float round functions" >&5
56888 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56889   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56890   echo $ECHO_N "(cached) $ECHO_C" >&6
56891 else
56892
56893
56894
56895     ac_ext=cc
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900
56901     cat >conftest.$ac_ext <<_ACEOF
56902 /* confdefs.h.  */
56903 _ACEOF
56904 cat confdefs.h >>conftest.$ac_ext
56905 cat >>conftest.$ac_ext <<_ACEOF
56906 /* end confdefs.h.  */
56907 #include <math.h>
56908 int
56909 main ()
56910 {
56911  `for x in ceilf floorf; do echo "$x (0);"; done`
56912   ;
56913   return 0;
56914 }
56915 _ACEOF
56916 rm -f conftest.$ac_objext
56917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56918   (eval $ac_compile) 2>conftest.er1
56919   ac_status=$?
56920   grep -v '^ *+' conftest.er1 >conftest.err
56921   rm -f conftest.er1
56922   cat conftest.err >&5
56923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56924   (exit $ac_status); } &&
56925          { ac_try='test -z "$ac_cxx_werror_flag"
56926                          || test ! -s conftest.err'
56927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56928   (eval $ac_try) 2>&5
56929   ac_status=$?
56930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56931   (exit $ac_status); }; } &&
56932          { ac_try='test -s conftest.$ac_objext'
56933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56934   (eval $ac_try) 2>&5
56935   ac_status=$?
56936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56937   (exit $ac_status); }; }; then
56938   glibcxx_cv_func_float_round_use=yes
56939 else
56940   echo "$as_me: failed program was:" >&5
56941 sed 's/^/| /' conftest.$ac_ext >&5
56942
56943 glibcxx_cv_func_float_round_use=no
56944 fi
56945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56946     ac_ext=c
56947 ac_cpp='$CPP $CPPFLAGS'
56948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56951
56952 fi
56953
56954   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56955 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56956   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56957
56958
56959 for ac_func in ceilf floorf
56960 do
56961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56962 echo "$as_me:$LINENO: checking for $ac_func" >&5
56963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56964 if eval "test \"\${$as_ac_var+set}\" = set"; then
56965   echo $ECHO_N "(cached) $ECHO_C" >&6
56966 else
56967   if test x$gcc_no_link = xyes; then
56968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56970    { (exit 1); exit 1; }; }
56971 fi
56972 cat >conftest.$ac_ext <<_ACEOF
56973 /* confdefs.h.  */
56974 _ACEOF
56975 cat confdefs.h >>conftest.$ac_ext
56976 cat >>conftest.$ac_ext <<_ACEOF
56977 /* end confdefs.h.  */
56978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56980 #define $ac_func innocuous_$ac_func
56981
56982 /* System header to define __stub macros and hopefully few prototypes,
56983     which can conflict with char $ac_func (); below.
56984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56985     <limits.h> exists even on freestanding compilers.  */
56986
56987 #ifdef __STDC__
56988 # include <limits.h>
56989 #else
56990 # include <assert.h>
56991 #endif
56992
56993 #undef $ac_func
56994
56995 /* Override any gcc2 internal prototype to avoid an error.  */
56996 #ifdef __cplusplus
56997 extern "C"
56998 {
56999 #endif
57000 /* We use char because int might match the return type of a gcc2
57001    builtin and then its argument prototype would still apply.  */
57002 char $ac_func ();
57003 /* The GNU C library defines this for functions which it implements
57004     to always fail with ENOSYS.  Some functions are actually named
57005     something starting with __ and the normal name is an alias.  */
57006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57007 choke me
57008 #else
57009 char (*f) () = $ac_func;
57010 #endif
57011 #ifdef __cplusplus
57012 }
57013 #endif
57014
57015 int
57016 main ()
57017 {
57018 return f != $ac_func;
57019   ;
57020   return 0;
57021 }
57022 _ACEOF
57023 rm -f conftest.$ac_objext conftest$ac_exeext
57024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57025   (eval $ac_link) 2>conftest.er1
57026   ac_status=$?
57027   grep -v '^ *+' conftest.er1 >conftest.err
57028   rm -f conftest.er1
57029   cat conftest.err >&5
57030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031   (exit $ac_status); } &&
57032          { ac_try='test -z "$ac_c_werror_flag"
57033                          || test ! -s conftest.err'
57034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57035   (eval $ac_try) 2>&5
57036   ac_status=$?
57037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038   (exit $ac_status); }; } &&
57039          { ac_try='test -s conftest$ac_exeext'
57040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57041   (eval $ac_try) 2>&5
57042   ac_status=$?
57043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044   (exit $ac_status); }; }; then
57045   eval "$as_ac_var=yes"
57046 else
57047   echo "$as_me: failed program was:" >&5
57048 sed 's/^/| /' conftest.$ac_ext >&5
57049
57050 eval "$as_ac_var=no"
57051 fi
57052 rm -f conftest.err conftest.$ac_objext \
57053       conftest$ac_exeext conftest.$ac_ext
57054 fi
57055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57057 if test `eval echo '${'$as_ac_var'}'` = yes; then
57058   cat >>confdefs.h <<_ACEOF
57059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57060 _ACEOF
57061
57062 fi
57063 done
57064
57065   fi
57066
57067
57068
57069   echo "$as_me:$LINENO: checking for expf declaration" >&5
57070 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57071   if test x${glibcxx_cv_func_expf_use+set} != xset; then
57072     if test "${glibcxx_cv_func_expf_use+set}" = set; then
57073   echo $ECHO_N "(cached) $ECHO_C" >&6
57074 else
57075
57076
57077
57078       ac_ext=cc
57079 ac_cpp='$CXXCPP $CPPFLAGS'
57080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57083
57084       cat >conftest.$ac_ext <<_ACEOF
57085 /* confdefs.h.  */
57086 _ACEOF
57087 cat confdefs.h >>conftest.$ac_ext
57088 cat >>conftest.$ac_ext <<_ACEOF
57089 /* end confdefs.h.  */
57090 #include <math.h>
57091                       #ifdef HAVE_IEEEFP_H
57092                       #include <ieeefp.h>
57093                       #endif
57094
57095 int
57096 main ()
57097 {
57098  expf(0);
57099   ;
57100   return 0;
57101 }
57102 _ACEOF
57103 rm -f conftest.$ac_objext
57104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57105   (eval $ac_compile) 2>conftest.er1
57106   ac_status=$?
57107   grep -v '^ *+' conftest.er1 >conftest.err
57108   rm -f conftest.er1
57109   cat conftest.err >&5
57110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57111   (exit $ac_status); } &&
57112          { ac_try='test -z "$ac_cxx_werror_flag"
57113                          || test ! -s conftest.err'
57114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57115   (eval $ac_try) 2>&5
57116   ac_status=$?
57117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118   (exit $ac_status); }; } &&
57119          { ac_try='test -s conftest.$ac_objext'
57120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57121   (eval $ac_try) 2>&5
57122   ac_status=$?
57123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57124   (exit $ac_status); }; }; then
57125   glibcxx_cv_func_expf_use=yes
57126 else
57127   echo "$as_me: failed program was:" >&5
57128 sed 's/^/| /' conftest.$ac_ext >&5
57129
57130 glibcxx_cv_func_expf_use=no
57131 fi
57132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57133       ac_ext=c
57134 ac_cpp='$CPP $CPPFLAGS'
57135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57138
57139
57140 fi
57141
57142   fi
57143   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57144 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57145
57146   if test x$glibcxx_cv_func_expf_use = x"yes"; then
57147
57148 for ac_func in expf
57149 do
57150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57151 echo "$as_me:$LINENO: checking for $ac_func" >&5
57152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57153 if eval "test \"\${$as_ac_var+set}\" = set"; then
57154   echo $ECHO_N "(cached) $ECHO_C" >&6
57155 else
57156   if test x$gcc_no_link = xyes; then
57157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57159    { (exit 1); exit 1; }; }
57160 fi
57161 cat >conftest.$ac_ext <<_ACEOF
57162 /* confdefs.h.  */
57163 _ACEOF
57164 cat confdefs.h >>conftest.$ac_ext
57165 cat >>conftest.$ac_ext <<_ACEOF
57166 /* end confdefs.h.  */
57167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57169 #define $ac_func innocuous_$ac_func
57170
57171 /* System header to define __stub macros and hopefully few prototypes,
57172     which can conflict with char $ac_func (); below.
57173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57174     <limits.h> exists even on freestanding compilers.  */
57175
57176 #ifdef __STDC__
57177 # include <limits.h>
57178 #else
57179 # include <assert.h>
57180 #endif
57181
57182 #undef $ac_func
57183
57184 /* Override any gcc2 internal prototype to avoid an error.  */
57185 #ifdef __cplusplus
57186 extern "C"
57187 {
57188 #endif
57189 /* We use char because int might match the return type of a gcc2
57190    builtin and then its argument prototype would still apply.  */
57191 char $ac_func ();
57192 /* The GNU C library defines this for functions which it implements
57193     to always fail with ENOSYS.  Some functions are actually named
57194     something starting with __ and the normal name is an alias.  */
57195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57196 choke me
57197 #else
57198 char (*f) () = $ac_func;
57199 #endif
57200 #ifdef __cplusplus
57201 }
57202 #endif
57203
57204 int
57205 main ()
57206 {
57207 return f != $ac_func;
57208   ;
57209   return 0;
57210 }
57211 _ACEOF
57212 rm -f conftest.$ac_objext conftest$ac_exeext
57213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57214   (eval $ac_link) 2>conftest.er1
57215   ac_status=$?
57216   grep -v '^ *+' conftest.er1 >conftest.err
57217   rm -f conftest.er1
57218   cat conftest.err >&5
57219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57220   (exit $ac_status); } &&
57221          { ac_try='test -z "$ac_c_werror_flag"
57222                          || test ! -s conftest.err'
57223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57224   (eval $ac_try) 2>&5
57225   ac_status=$?
57226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57227   (exit $ac_status); }; } &&
57228          { ac_try='test -s conftest$ac_exeext'
57229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57230   (eval $ac_try) 2>&5
57231   ac_status=$?
57232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57233   (exit $ac_status); }; }; then
57234   eval "$as_ac_var=yes"
57235 else
57236   echo "$as_me: failed program was:" >&5
57237 sed 's/^/| /' conftest.$ac_ext >&5
57238
57239 eval "$as_ac_var=no"
57240 fi
57241 rm -f conftest.err conftest.$ac_objext \
57242       conftest$ac_exeext conftest.$ac_ext
57243 fi
57244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57246 if test `eval echo '${'$as_ac_var'}'` = yes; then
57247   cat >>confdefs.h <<_ACEOF
57248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57249 _ACEOF
57250
57251 fi
57252 done
57253
57254   else
57255
57256   echo "$as_me:$LINENO: checking for _expf declaration" >&5
57257 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57258   if test x${glibcxx_cv_func__expf_use+set} != xset; then
57259     if test "${glibcxx_cv_func__expf_use+set}" = set; then
57260   echo $ECHO_N "(cached) $ECHO_C" >&6
57261 else
57262
57263
57264
57265       ac_ext=cc
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270
57271       cat >conftest.$ac_ext <<_ACEOF
57272 /* confdefs.h.  */
57273 _ACEOF
57274 cat confdefs.h >>conftest.$ac_ext
57275 cat >>conftest.$ac_ext <<_ACEOF
57276 /* end confdefs.h.  */
57277 #include <math.h>
57278                       #ifdef HAVE_IEEEFP_H
57279                       #include <ieeefp.h>
57280                       #endif
57281
57282 int
57283 main ()
57284 {
57285  _expf(0);
57286   ;
57287   return 0;
57288 }
57289 _ACEOF
57290 rm -f conftest.$ac_objext
57291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57292   (eval $ac_compile) 2>conftest.er1
57293   ac_status=$?
57294   grep -v '^ *+' conftest.er1 >conftest.err
57295   rm -f conftest.er1
57296   cat conftest.err >&5
57297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57298   (exit $ac_status); } &&
57299          { ac_try='test -z "$ac_cxx_werror_flag"
57300                          || test ! -s conftest.err'
57301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57302   (eval $ac_try) 2>&5
57303   ac_status=$?
57304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57305   (exit $ac_status); }; } &&
57306          { ac_try='test -s conftest.$ac_objext'
57307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57308   (eval $ac_try) 2>&5
57309   ac_status=$?
57310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57311   (exit $ac_status); }; }; then
57312   glibcxx_cv_func__expf_use=yes
57313 else
57314   echo "$as_me: failed program was:" >&5
57315 sed 's/^/| /' conftest.$ac_ext >&5
57316
57317 glibcxx_cv_func__expf_use=no
57318 fi
57319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57320       ac_ext=c
57321 ac_cpp='$CPP $CPPFLAGS'
57322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57325
57326
57327 fi
57328
57329   fi
57330   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57331 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57332
57333     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57334
57335 for ac_func in _expf
57336 do
57337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57338 echo "$as_me:$LINENO: checking for $ac_func" >&5
57339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57340 if eval "test \"\${$as_ac_var+set}\" = set"; then
57341   echo $ECHO_N "(cached) $ECHO_C" >&6
57342 else
57343   if test x$gcc_no_link = xyes; then
57344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57346    { (exit 1); exit 1; }; }
57347 fi
57348 cat >conftest.$ac_ext <<_ACEOF
57349 /* confdefs.h.  */
57350 _ACEOF
57351 cat confdefs.h >>conftest.$ac_ext
57352 cat >>conftest.$ac_ext <<_ACEOF
57353 /* end confdefs.h.  */
57354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57356 #define $ac_func innocuous_$ac_func
57357
57358 /* System header to define __stub macros and hopefully few prototypes,
57359     which can conflict with char $ac_func (); below.
57360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57361     <limits.h> exists even on freestanding compilers.  */
57362
57363 #ifdef __STDC__
57364 # include <limits.h>
57365 #else
57366 # include <assert.h>
57367 #endif
57368
57369 #undef $ac_func
57370
57371 /* Override any gcc2 internal prototype to avoid an error.  */
57372 #ifdef __cplusplus
57373 extern "C"
57374 {
57375 #endif
57376 /* We use char because int might match the return type of a gcc2
57377    builtin and then its argument prototype would still apply.  */
57378 char $ac_func ();
57379 /* The GNU C library defines this for functions which it implements
57380     to always fail with ENOSYS.  Some functions are actually named
57381     something starting with __ and the normal name is an alias.  */
57382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57383 choke me
57384 #else
57385 char (*f) () = $ac_func;
57386 #endif
57387 #ifdef __cplusplus
57388 }
57389 #endif
57390
57391 int
57392 main ()
57393 {
57394 return f != $ac_func;
57395   ;
57396   return 0;
57397 }
57398 _ACEOF
57399 rm -f conftest.$ac_objext conftest$ac_exeext
57400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57401   (eval $ac_link) 2>conftest.er1
57402   ac_status=$?
57403   grep -v '^ *+' conftest.er1 >conftest.err
57404   rm -f conftest.er1
57405   cat conftest.err >&5
57406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57407   (exit $ac_status); } &&
57408          { ac_try='test -z "$ac_c_werror_flag"
57409                          || test ! -s conftest.err'
57410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57411   (eval $ac_try) 2>&5
57412   ac_status=$?
57413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57414   (exit $ac_status); }; } &&
57415          { ac_try='test -s conftest$ac_exeext'
57416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57417   (eval $ac_try) 2>&5
57418   ac_status=$?
57419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57420   (exit $ac_status); }; }; then
57421   eval "$as_ac_var=yes"
57422 else
57423   echo "$as_me: failed program was:" >&5
57424 sed 's/^/| /' conftest.$ac_ext >&5
57425
57426 eval "$as_ac_var=no"
57427 fi
57428 rm -f conftest.err conftest.$ac_objext \
57429       conftest$ac_exeext conftest.$ac_ext
57430 fi
57431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57433 if test `eval echo '${'$as_ac_var'}'` = yes; then
57434   cat >>confdefs.h <<_ACEOF
57435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57436 _ACEOF
57437
57438 fi
57439 done
57440
57441     fi
57442   fi
57443
57444
57445
57446   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57447 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57448   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57449     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57450   echo $ECHO_N "(cached) $ECHO_C" >&6
57451 else
57452
57453
57454
57455       ac_ext=cc
57456 ac_cpp='$CXXCPP $CPPFLAGS'
57457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57460
57461       cat >conftest.$ac_ext <<_ACEOF
57462 /* confdefs.h.  */
57463 _ACEOF
57464 cat confdefs.h >>conftest.$ac_ext
57465 cat >>conftest.$ac_ext <<_ACEOF
57466 /* end confdefs.h.  */
57467 #include <math.h>
57468                       #ifdef HAVE_IEEEFP_H
57469                       #include <ieeefp.h>
57470                       #endif
57471
57472 int
57473 main ()
57474 {
57475  isnanf(0);
57476   ;
57477   return 0;
57478 }
57479 _ACEOF
57480 rm -f conftest.$ac_objext
57481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57482   (eval $ac_compile) 2>conftest.er1
57483   ac_status=$?
57484   grep -v '^ *+' conftest.er1 >conftest.err
57485   rm -f conftest.er1
57486   cat conftest.err >&5
57487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57488   (exit $ac_status); } &&
57489          { ac_try='test -z "$ac_cxx_werror_flag"
57490                          || test ! -s conftest.err'
57491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57492   (eval $ac_try) 2>&5
57493   ac_status=$?
57494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57495   (exit $ac_status); }; } &&
57496          { ac_try='test -s conftest.$ac_objext'
57497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57498   (eval $ac_try) 2>&5
57499   ac_status=$?
57500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57501   (exit $ac_status); }; }; then
57502   glibcxx_cv_func_isnanf_use=yes
57503 else
57504   echo "$as_me: failed program was:" >&5
57505 sed 's/^/| /' conftest.$ac_ext >&5
57506
57507 glibcxx_cv_func_isnanf_use=no
57508 fi
57509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57510       ac_ext=c
57511 ac_cpp='$CPP $CPPFLAGS'
57512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57515
57516
57517 fi
57518
57519   fi
57520   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57521 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57522
57523   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57524
57525 for ac_func in isnanf
57526 do
57527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57528 echo "$as_me:$LINENO: checking for $ac_func" >&5
57529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57530 if eval "test \"\${$as_ac_var+set}\" = set"; then
57531   echo $ECHO_N "(cached) $ECHO_C" >&6
57532 else
57533   if test x$gcc_no_link = xyes; then
57534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57536    { (exit 1); exit 1; }; }
57537 fi
57538 cat >conftest.$ac_ext <<_ACEOF
57539 /* confdefs.h.  */
57540 _ACEOF
57541 cat confdefs.h >>conftest.$ac_ext
57542 cat >>conftest.$ac_ext <<_ACEOF
57543 /* end confdefs.h.  */
57544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57546 #define $ac_func innocuous_$ac_func
57547
57548 /* System header to define __stub macros and hopefully few prototypes,
57549     which can conflict with char $ac_func (); below.
57550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57551     <limits.h> exists even on freestanding compilers.  */
57552
57553 #ifdef __STDC__
57554 # include <limits.h>
57555 #else
57556 # include <assert.h>
57557 #endif
57558
57559 #undef $ac_func
57560
57561 /* Override any gcc2 internal prototype to avoid an error.  */
57562 #ifdef __cplusplus
57563 extern "C"
57564 {
57565 #endif
57566 /* We use char because int might match the return type of a gcc2
57567    builtin and then its argument prototype would still apply.  */
57568 char $ac_func ();
57569 /* The GNU C library defines this for functions which it implements
57570     to always fail with ENOSYS.  Some functions are actually named
57571     something starting with __ and the normal name is an alias.  */
57572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57573 choke me
57574 #else
57575 char (*f) () = $ac_func;
57576 #endif
57577 #ifdef __cplusplus
57578 }
57579 #endif
57580
57581 int
57582 main ()
57583 {
57584 return f != $ac_func;
57585   ;
57586   return 0;
57587 }
57588 _ACEOF
57589 rm -f conftest.$ac_objext conftest$ac_exeext
57590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57591   (eval $ac_link) 2>conftest.er1
57592   ac_status=$?
57593   grep -v '^ *+' conftest.er1 >conftest.err
57594   rm -f conftest.er1
57595   cat conftest.err >&5
57596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57597   (exit $ac_status); } &&
57598          { ac_try='test -z "$ac_c_werror_flag"
57599                          || test ! -s conftest.err'
57600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57601   (eval $ac_try) 2>&5
57602   ac_status=$?
57603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57604   (exit $ac_status); }; } &&
57605          { ac_try='test -s conftest$ac_exeext'
57606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57607   (eval $ac_try) 2>&5
57608   ac_status=$?
57609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610   (exit $ac_status); }; }; then
57611   eval "$as_ac_var=yes"
57612 else
57613   echo "$as_me: failed program was:" >&5
57614 sed 's/^/| /' conftest.$ac_ext >&5
57615
57616 eval "$as_ac_var=no"
57617 fi
57618 rm -f conftest.err conftest.$ac_objext \
57619       conftest$ac_exeext conftest.$ac_ext
57620 fi
57621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57623 if test `eval echo '${'$as_ac_var'}'` = yes; then
57624   cat >>confdefs.h <<_ACEOF
57625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57626 _ACEOF
57627
57628 fi
57629 done
57630
57631   else
57632
57633   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57634 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57635   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57636     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57637   echo $ECHO_N "(cached) $ECHO_C" >&6
57638 else
57639
57640
57641
57642       ac_ext=cc
57643 ac_cpp='$CXXCPP $CPPFLAGS'
57644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57647
57648       cat >conftest.$ac_ext <<_ACEOF
57649 /* confdefs.h.  */
57650 _ACEOF
57651 cat confdefs.h >>conftest.$ac_ext
57652 cat >>conftest.$ac_ext <<_ACEOF
57653 /* end confdefs.h.  */
57654 #include <math.h>
57655                       #ifdef HAVE_IEEEFP_H
57656                       #include <ieeefp.h>
57657                       #endif
57658
57659 int
57660 main ()
57661 {
57662  _isnanf(0);
57663   ;
57664   return 0;
57665 }
57666 _ACEOF
57667 rm -f conftest.$ac_objext
57668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57669   (eval $ac_compile) 2>conftest.er1
57670   ac_status=$?
57671   grep -v '^ *+' conftest.er1 >conftest.err
57672   rm -f conftest.er1
57673   cat conftest.err >&5
57674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57675   (exit $ac_status); } &&
57676          { ac_try='test -z "$ac_cxx_werror_flag"
57677                          || test ! -s conftest.err'
57678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57679   (eval $ac_try) 2>&5
57680   ac_status=$?
57681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57682   (exit $ac_status); }; } &&
57683          { ac_try='test -s conftest.$ac_objext'
57684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57685   (eval $ac_try) 2>&5
57686   ac_status=$?
57687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57688   (exit $ac_status); }; }; then
57689   glibcxx_cv_func__isnanf_use=yes
57690 else
57691   echo "$as_me: failed program was:" >&5
57692 sed 's/^/| /' conftest.$ac_ext >&5
57693
57694 glibcxx_cv_func__isnanf_use=no
57695 fi
57696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57697       ac_ext=c
57698 ac_cpp='$CPP $CPPFLAGS'
57699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57702
57703
57704 fi
57705
57706   fi
57707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57708 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57709
57710     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57711
57712 for ac_func in _isnanf
57713 do
57714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57715 echo "$as_me:$LINENO: checking for $ac_func" >&5
57716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57717 if eval "test \"\${$as_ac_var+set}\" = set"; then
57718   echo $ECHO_N "(cached) $ECHO_C" >&6
57719 else
57720   if test x$gcc_no_link = xyes; then
57721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57723    { (exit 1); exit 1; }; }
57724 fi
57725 cat >conftest.$ac_ext <<_ACEOF
57726 /* confdefs.h.  */
57727 _ACEOF
57728 cat confdefs.h >>conftest.$ac_ext
57729 cat >>conftest.$ac_ext <<_ACEOF
57730 /* end confdefs.h.  */
57731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57733 #define $ac_func innocuous_$ac_func
57734
57735 /* System header to define __stub macros and hopefully few prototypes,
57736     which can conflict with char $ac_func (); below.
57737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57738     <limits.h> exists even on freestanding compilers.  */
57739
57740 #ifdef __STDC__
57741 # include <limits.h>
57742 #else
57743 # include <assert.h>
57744 #endif
57745
57746 #undef $ac_func
57747
57748 /* Override any gcc2 internal prototype to avoid an error.  */
57749 #ifdef __cplusplus
57750 extern "C"
57751 {
57752 #endif
57753 /* We use char because int might match the return type of a gcc2
57754    builtin and then its argument prototype would still apply.  */
57755 char $ac_func ();
57756 /* The GNU C library defines this for functions which it implements
57757     to always fail with ENOSYS.  Some functions are actually named
57758     something starting with __ and the normal name is an alias.  */
57759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57760 choke me
57761 #else
57762 char (*f) () = $ac_func;
57763 #endif
57764 #ifdef __cplusplus
57765 }
57766 #endif
57767
57768 int
57769 main ()
57770 {
57771 return f != $ac_func;
57772   ;
57773   return 0;
57774 }
57775 _ACEOF
57776 rm -f conftest.$ac_objext conftest$ac_exeext
57777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57778   (eval $ac_link) 2>conftest.er1
57779   ac_status=$?
57780   grep -v '^ *+' conftest.er1 >conftest.err
57781   rm -f conftest.er1
57782   cat conftest.err >&5
57783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57784   (exit $ac_status); } &&
57785          { ac_try='test -z "$ac_c_werror_flag"
57786                          || test ! -s conftest.err'
57787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57788   (eval $ac_try) 2>&5
57789   ac_status=$?
57790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57791   (exit $ac_status); }; } &&
57792          { ac_try='test -s conftest$ac_exeext'
57793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57794   (eval $ac_try) 2>&5
57795   ac_status=$?
57796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57797   (exit $ac_status); }; }; then
57798   eval "$as_ac_var=yes"
57799 else
57800   echo "$as_me: failed program was:" >&5
57801 sed 's/^/| /' conftest.$ac_ext >&5
57802
57803 eval "$as_ac_var=no"
57804 fi
57805 rm -f conftest.err conftest.$ac_objext \
57806       conftest$ac_exeext conftest.$ac_ext
57807 fi
57808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57810 if test `eval echo '${'$as_ac_var'}'` = yes; then
57811   cat >>confdefs.h <<_ACEOF
57812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57813 _ACEOF
57814
57815 fi
57816 done
57817
57818     fi
57819   fi
57820
57821
57822
57823   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57824 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57825   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57826     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57827   echo $ECHO_N "(cached) $ECHO_C" >&6
57828 else
57829
57830
57831
57832       ac_ext=cc
57833 ac_cpp='$CXXCPP $CPPFLAGS'
57834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57837
57838       cat >conftest.$ac_ext <<_ACEOF
57839 /* confdefs.h.  */
57840 _ACEOF
57841 cat confdefs.h >>conftest.$ac_ext
57842 cat >>conftest.$ac_ext <<_ACEOF
57843 /* end confdefs.h.  */
57844 #include <math.h>
57845                       #ifdef HAVE_IEEEFP_H
57846                       #include <ieeefp.h>
57847                       #endif
57848
57849 int
57850 main ()
57851 {
57852  isinff(0);
57853   ;
57854   return 0;
57855 }
57856 _ACEOF
57857 rm -f conftest.$ac_objext
57858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57859   (eval $ac_compile) 2>conftest.er1
57860   ac_status=$?
57861   grep -v '^ *+' conftest.er1 >conftest.err
57862   rm -f conftest.er1
57863   cat conftest.err >&5
57864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57865   (exit $ac_status); } &&
57866          { ac_try='test -z "$ac_cxx_werror_flag"
57867                          || test ! -s conftest.err'
57868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57869   (eval $ac_try) 2>&5
57870   ac_status=$?
57871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57872   (exit $ac_status); }; } &&
57873          { ac_try='test -s conftest.$ac_objext'
57874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57875   (eval $ac_try) 2>&5
57876   ac_status=$?
57877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57878   (exit $ac_status); }; }; then
57879   glibcxx_cv_func_isinff_use=yes
57880 else
57881   echo "$as_me: failed program was:" >&5
57882 sed 's/^/| /' conftest.$ac_ext >&5
57883
57884 glibcxx_cv_func_isinff_use=no
57885 fi
57886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57887       ac_ext=c
57888 ac_cpp='$CPP $CPPFLAGS'
57889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57892
57893
57894 fi
57895
57896   fi
57897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57898 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57899
57900   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57901
57902 for ac_func in isinff
57903 do
57904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57905 echo "$as_me:$LINENO: checking for $ac_func" >&5
57906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57907 if eval "test \"\${$as_ac_var+set}\" = set"; then
57908   echo $ECHO_N "(cached) $ECHO_C" >&6
57909 else
57910   if test x$gcc_no_link = xyes; then
57911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57913    { (exit 1); exit 1; }; }
57914 fi
57915 cat >conftest.$ac_ext <<_ACEOF
57916 /* confdefs.h.  */
57917 _ACEOF
57918 cat confdefs.h >>conftest.$ac_ext
57919 cat >>conftest.$ac_ext <<_ACEOF
57920 /* end confdefs.h.  */
57921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57923 #define $ac_func innocuous_$ac_func
57924
57925 /* System header to define __stub macros and hopefully few prototypes,
57926     which can conflict with char $ac_func (); below.
57927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57928     <limits.h> exists even on freestanding compilers.  */
57929
57930 #ifdef __STDC__
57931 # include <limits.h>
57932 #else
57933 # include <assert.h>
57934 #endif
57935
57936 #undef $ac_func
57937
57938 /* Override any gcc2 internal prototype to avoid an error.  */
57939 #ifdef __cplusplus
57940 extern "C"
57941 {
57942 #endif
57943 /* We use char because int might match the return type of a gcc2
57944    builtin and then its argument prototype would still apply.  */
57945 char $ac_func ();
57946 /* The GNU C library defines this for functions which it implements
57947     to always fail with ENOSYS.  Some functions are actually named
57948     something starting with __ and the normal name is an alias.  */
57949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57950 choke me
57951 #else
57952 char (*f) () = $ac_func;
57953 #endif
57954 #ifdef __cplusplus
57955 }
57956 #endif
57957
57958 int
57959 main ()
57960 {
57961 return f != $ac_func;
57962   ;
57963   return 0;
57964 }
57965 _ACEOF
57966 rm -f conftest.$ac_objext conftest$ac_exeext
57967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57968   (eval $ac_link) 2>conftest.er1
57969   ac_status=$?
57970   grep -v '^ *+' conftest.er1 >conftest.err
57971   rm -f conftest.er1
57972   cat conftest.err >&5
57973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57974   (exit $ac_status); } &&
57975          { ac_try='test -z "$ac_c_werror_flag"
57976                          || test ! -s conftest.err'
57977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57978   (eval $ac_try) 2>&5
57979   ac_status=$?
57980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57981   (exit $ac_status); }; } &&
57982          { ac_try='test -s conftest$ac_exeext'
57983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57984   (eval $ac_try) 2>&5
57985   ac_status=$?
57986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57987   (exit $ac_status); }; }; then
57988   eval "$as_ac_var=yes"
57989 else
57990   echo "$as_me: failed program was:" >&5
57991 sed 's/^/| /' conftest.$ac_ext >&5
57992
57993 eval "$as_ac_var=no"
57994 fi
57995 rm -f conftest.err conftest.$ac_objext \
57996       conftest$ac_exeext conftest.$ac_ext
57997 fi
57998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58000 if test `eval echo '${'$as_ac_var'}'` = yes; then
58001   cat >>confdefs.h <<_ACEOF
58002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58003 _ACEOF
58004
58005 fi
58006 done
58007
58008   else
58009
58010   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58011 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58012   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58013     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58014   echo $ECHO_N "(cached) $ECHO_C" >&6
58015 else
58016
58017
58018
58019       ac_ext=cc
58020 ac_cpp='$CXXCPP $CPPFLAGS'
58021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58024
58025       cat >conftest.$ac_ext <<_ACEOF
58026 /* confdefs.h.  */
58027 _ACEOF
58028 cat confdefs.h >>conftest.$ac_ext
58029 cat >>conftest.$ac_ext <<_ACEOF
58030 /* end confdefs.h.  */
58031 #include <math.h>
58032                       #ifdef HAVE_IEEEFP_H
58033                       #include <ieeefp.h>
58034                       #endif
58035
58036 int
58037 main ()
58038 {
58039  _isinff(0);
58040   ;
58041   return 0;
58042 }
58043 _ACEOF
58044 rm -f conftest.$ac_objext
58045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58046   (eval $ac_compile) 2>conftest.er1
58047   ac_status=$?
58048   grep -v '^ *+' conftest.er1 >conftest.err
58049   rm -f conftest.er1
58050   cat conftest.err >&5
58051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58052   (exit $ac_status); } &&
58053          { ac_try='test -z "$ac_cxx_werror_flag"
58054                          || test ! -s conftest.err'
58055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58056   (eval $ac_try) 2>&5
58057   ac_status=$?
58058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58059   (exit $ac_status); }; } &&
58060          { ac_try='test -s conftest.$ac_objext'
58061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58062   (eval $ac_try) 2>&5
58063   ac_status=$?
58064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58065   (exit $ac_status); }; }; then
58066   glibcxx_cv_func__isinff_use=yes
58067 else
58068   echo "$as_me: failed program was:" >&5
58069 sed 's/^/| /' conftest.$ac_ext >&5
58070
58071 glibcxx_cv_func__isinff_use=no
58072 fi
58073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58074       ac_ext=c
58075 ac_cpp='$CPP $CPPFLAGS'
58076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58079
58080
58081 fi
58082
58083   fi
58084   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58085 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58086
58087     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58088
58089 for ac_func in _isinff
58090 do
58091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58092 echo "$as_me:$LINENO: checking for $ac_func" >&5
58093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58094 if eval "test \"\${$as_ac_var+set}\" = set"; then
58095   echo $ECHO_N "(cached) $ECHO_C" >&6
58096 else
58097   if test x$gcc_no_link = xyes; then
58098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58100    { (exit 1); exit 1; }; }
58101 fi
58102 cat >conftest.$ac_ext <<_ACEOF
58103 /* confdefs.h.  */
58104 _ACEOF
58105 cat confdefs.h >>conftest.$ac_ext
58106 cat >>conftest.$ac_ext <<_ACEOF
58107 /* end confdefs.h.  */
58108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58110 #define $ac_func innocuous_$ac_func
58111
58112 /* System header to define __stub macros and hopefully few prototypes,
58113     which can conflict with char $ac_func (); below.
58114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58115     <limits.h> exists even on freestanding compilers.  */
58116
58117 #ifdef __STDC__
58118 # include <limits.h>
58119 #else
58120 # include <assert.h>
58121 #endif
58122
58123 #undef $ac_func
58124
58125 /* Override any gcc2 internal prototype to avoid an error.  */
58126 #ifdef __cplusplus
58127 extern "C"
58128 {
58129 #endif
58130 /* We use char because int might match the return type of a gcc2
58131    builtin and then its argument prototype would still apply.  */
58132 char $ac_func ();
58133 /* The GNU C library defines this for functions which it implements
58134     to always fail with ENOSYS.  Some functions are actually named
58135     something starting with __ and the normal name is an alias.  */
58136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58137 choke me
58138 #else
58139 char (*f) () = $ac_func;
58140 #endif
58141 #ifdef __cplusplus
58142 }
58143 #endif
58144
58145 int
58146 main ()
58147 {
58148 return f != $ac_func;
58149   ;
58150   return 0;
58151 }
58152 _ACEOF
58153 rm -f conftest.$ac_objext conftest$ac_exeext
58154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58155   (eval $ac_link) 2>conftest.er1
58156   ac_status=$?
58157   grep -v '^ *+' conftest.er1 >conftest.err
58158   rm -f conftest.er1
58159   cat conftest.err >&5
58160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58161   (exit $ac_status); } &&
58162          { ac_try='test -z "$ac_c_werror_flag"
58163                          || test ! -s conftest.err'
58164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58165   (eval $ac_try) 2>&5
58166   ac_status=$?
58167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58168   (exit $ac_status); }; } &&
58169          { ac_try='test -s conftest$ac_exeext'
58170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58171   (eval $ac_try) 2>&5
58172   ac_status=$?
58173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58174   (exit $ac_status); }; }; then
58175   eval "$as_ac_var=yes"
58176 else
58177   echo "$as_me: failed program was:" >&5
58178 sed 's/^/| /' conftest.$ac_ext >&5
58179
58180 eval "$as_ac_var=no"
58181 fi
58182 rm -f conftest.err conftest.$ac_objext \
58183       conftest$ac_exeext conftest.$ac_ext
58184 fi
58185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58187 if test `eval echo '${'$as_ac_var'}'` = yes; then
58188   cat >>confdefs.h <<_ACEOF
58189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58190 _ACEOF
58191
58192 fi
58193 done
58194
58195     fi
58196   fi
58197
58198
58199
58200   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58201 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58202   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58203     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58204   echo $ECHO_N "(cached) $ECHO_C" >&6
58205 else
58206
58207
58208
58209       ac_ext=cc
58210 ac_cpp='$CXXCPP $CPPFLAGS'
58211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58214
58215       cat >conftest.$ac_ext <<_ACEOF
58216 /* confdefs.h.  */
58217 _ACEOF
58218 cat confdefs.h >>conftest.$ac_ext
58219 cat >>conftest.$ac_ext <<_ACEOF
58220 /* end confdefs.h.  */
58221 #include <math.h>
58222 int
58223 main ()
58224 {
58225  atan2f(0, 0);
58226   ;
58227   return 0;
58228 }
58229 _ACEOF
58230 rm -f conftest.$ac_objext
58231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58232   (eval $ac_compile) 2>conftest.er1
58233   ac_status=$?
58234   grep -v '^ *+' conftest.er1 >conftest.err
58235   rm -f conftest.er1
58236   cat conftest.err >&5
58237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238   (exit $ac_status); } &&
58239          { ac_try='test -z "$ac_cxx_werror_flag"
58240                          || test ! -s conftest.err'
58241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58242   (eval $ac_try) 2>&5
58243   ac_status=$?
58244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58245   (exit $ac_status); }; } &&
58246          { ac_try='test -s conftest.$ac_objext'
58247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58248   (eval $ac_try) 2>&5
58249   ac_status=$?
58250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58251   (exit $ac_status); }; }; then
58252   glibcxx_cv_func_atan2f_use=yes
58253 else
58254   echo "$as_me: failed program was:" >&5
58255 sed 's/^/| /' conftest.$ac_ext >&5
58256
58257 glibcxx_cv_func_atan2f_use=no
58258 fi
58259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58260       ac_ext=c
58261 ac_cpp='$CPP $CPPFLAGS'
58262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58265
58266
58267 fi
58268
58269   fi
58270   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58271 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58272
58273   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58274
58275 for ac_func in atan2f
58276 do
58277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58278 echo "$as_me:$LINENO: checking for $ac_func" >&5
58279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58280 if eval "test \"\${$as_ac_var+set}\" = set"; then
58281   echo $ECHO_N "(cached) $ECHO_C" >&6
58282 else
58283   if test x$gcc_no_link = xyes; then
58284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58286    { (exit 1); exit 1; }; }
58287 fi
58288 cat >conftest.$ac_ext <<_ACEOF
58289 /* confdefs.h.  */
58290 _ACEOF
58291 cat confdefs.h >>conftest.$ac_ext
58292 cat >>conftest.$ac_ext <<_ACEOF
58293 /* end confdefs.h.  */
58294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58296 #define $ac_func innocuous_$ac_func
58297
58298 /* System header to define __stub macros and hopefully few prototypes,
58299     which can conflict with char $ac_func (); below.
58300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58301     <limits.h> exists even on freestanding compilers.  */
58302
58303 #ifdef __STDC__
58304 # include <limits.h>
58305 #else
58306 # include <assert.h>
58307 #endif
58308
58309 #undef $ac_func
58310
58311 /* Override any gcc2 internal prototype to avoid an error.  */
58312 #ifdef __cplusplus
58313 extern "C"
58314 {
58315 #endif
58316 /* We use char because int might match the return type of a gcc2
58317    builtin and then its argument prototype would still apply.  */
58318 char $ac_func ();
58319 /* The GNU C library defines this for functions which it implements
58320     to always fail with ENOSYS.  Some functions are actually named
58321     something starting with __ and the normal name is an alias.  */
58322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58323 choke me
58324 #else
58325 char (*f) () = $ac_func;
58326 #endif
58327 #ifdef __cplusplus
58328 }
58329 #endif
58330
58331 int
58332 main ()
58333 {
58334 return f != $ac_func;
58335   ;
58336   return 0;
58337 }
58338 _ACEOF
58339 rm -f conftest.$ac_objext conftest$ac_exeext
58340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58341   (eval $ac_link) 2>conftest.er1
58342   ac_status=$?
58343   grep -v '^ *+' conftest.er1 >conftest.err
58344   rm -f conftest.er1
58345   cat conftest.err >&5
58346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58347   (exit $ac_status); } &&
58348          { ac_try='test -z "$ac_c_werror_flag"
58349                          || test ! -s conftest.err'
58350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58351   (eval $ac_try) 2>&5
58352   ac_status=$?
58353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58354   (exit $ac_status); }; } &&
58355          { ac_try='test -s conftest$ac_exeext'
58356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58357   (eval $ac_try) 2>&5
58358   ac_status=$?
58359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58360   (exit $ac_status); }; }; then
58361   eval "$as_ac_var=yes"
58362 else
58363   echo "$as_me: failed program was:" >&5
58364 sed 's/^/| /' conftest.$ac_ext >&5
58365
58366 eval "$as_ac_var=no"
58367 fi
58368 rm -f conftest.err conftest.$ac_objext \
58369       conftest$ac_exeext conftest.$ac_ext
58370 fi
58371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58373 if test `eval echo '${'$as_ac_var'}'` = yes; then
58374   cat >>confdefs.h <<_ACEOF
58375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58376 _ACEOF
58377
58378 fi
58379 done
58380
58381   else
58382
58383   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58384 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58385   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58386     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58387   echo $ECHO_N "(cached) $ECHO_C" >&6
58388 else
58389
58390
58391
58392       ac_ext=cc
58393 ac_cpp='$CXXCPP $CPPFLAGS'
58394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58397
58398       cat >conftest.$ac_ext <<_ACEOF
58399 /* confdefs.h.  */
58400 _ACEOF
58401 cat confdefs.h >>conftest.$ac_ext
58402 cat >>conftest.$ac_ext <<_ACEOF
58403 /* end confdefs.h.  */
58404 #include <math.h>
58405 int
58406 main ()
58407 {
58408  _atan2f(0, 0);
58409   ;
58410   return 0;
58411 }
58412 _ACEOF
58413 rm -f conftest.$ac_objext
58414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58415   (eval $ac_compile) 2>conftest.er1
58416   ac_status=$?
58417   grep -v '^ *+' conftest.er1 >conftest.err
58418   rm -f conftest.er1
58419   cat conftest.err >&5
58420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58421   (exit $ac_status); } &&
58422          { ac_try='test -z "$ac_cxx_werror_flag"
58423                          || test ! -s conftest.err'
58424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58425   (eval $ac_try) 2>&5
58426   ac_status=$?
58427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58428   (exit $ac_status); }; } &&
58429          { ac_try='test -s conftest.$ac_objext'
58430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58431   (eval $ac_try) 2>&5
58432   ac_status=$?
58433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58434   (exit $ac_status); }; }; then
58435   glibcxx_cv_func__atan2f_use=yes
58436 else
58437   echo "$as_me: failed program was:" >&5
58438 sed 's/^/| /' conftest.$ac_ext >&5
58439
58440 glibcxx_cv_func__atan2f_use=no
58441 fi
58442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58443       ac_ext=c
58444 ac_cpp='$CPP $CPPFLAGS'
58445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58448
58449
58450 fi
58451
58452   fi
58453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58454 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58455
58456     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58457
58458 for ac_func in _atan2f
58459 do
58460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58461 echo "$as_me:$LINENO: checking for $ac_func" >&5
58462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58463 if eval "test \"\${$as_ac_var+set}\" = set"; then
58464   echo $ECHO_N "(cached) $ECHO_C" >&6
58465 else
58466   if test x$gcc_no_link = xyes; then
58467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58469    { (exit 1); exit 1; }; }
58470 fi
58471 cat >conftest.$ac_ext <<_ACEOF
58472 /* confdefs.h.  */
58473 _ACEOF
58474 cat confdefs.h >>conftest.$ac_ext
58475 cat >>conftest.$ac_ext <<_ACEOF
58476 /* end confdefs.h.  */
58477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58479 #define $ac_func innocuous_$ac_func
58480
58481 /* System header to define __stub macros and hopefully few prototypes,
58482     which can conflict with char $ac_func (); below.
58483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58484     <limits.h> exists even on freestanding compilers.  */
58485
58486 #ifdef __STDC__
58487 # include <limits.h>
58488 #else
58489 # include <assert.h>
58490 #endif
58491
58492 #undef $ac_func
58493
58494 /* Override any gcc2 internal prototype to avoid an error.  */
58495 #ifdef __cplusplus
58496 extern "C"
58497 {
58498 #endif
58499 /* We use char because int might match the return type of a gcc2
58500    builtin and then its argument prototype would still apply.  */
58501 char $ac_func ();
58502 /* The GNU C library defines this for functions which it implements
58503     to always fail with ENOSYS.  Some functions are actually named
58504     something starting with __ and the normal name is an alias.  */
58505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58506 choke me
58507 #else
58508 char (*f) () = $ac_func;
58509 #endif
58510 #ifdef __cplusplus
58511 }
58512 #endif
58513
58514 int
58515 main ()
58516 {
58517 return f != $ac_func;
58518   ;
58519   return 0;
58520 }
58521 _ACEOF
58522 rm -f conftest.$ac_objext conftest$ac_exeext
58523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58524   (eval $ac_link) 2>conftest.er1
58525   ac_status=$?
58526   grep -v '^ *+' conftest.er1 >conftest.err
58527   rm -f conftest.er1
58528   cat conftest.err >&5
58529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58530   (exit $ac_status); } &&
58531          { ac_try='test -z "$ac_c_werror_flag"
58532                          || test ! -s conftest.err'
58533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58534   (eval $ac_try) 2>&5
58535   ac_status=$?
58536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58537   (exit $ac_status); }; } &&
58538          { ac_try='test -s conftest$ac_exeext'
58539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58540   (eval $ac_try) 2>&5
58541   ac_status=$?
58542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58543   (exit $ac_status); }; }; then
58544   eval "$as_ac_var=yes"
58545 else
58546   echo "$as_me: failed program was:" >&5
58547 sed 's/^/| /' conftest.$ac_ext >&5
58548
58549 eval "$as_ac_var=no"
58550 fi
58551 rm -f conftest.err conftest.$ac_objext \
58552       conftest$ac_exeext conftest.$ac_ext
58553 fi
58554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58556 if test `eval echo '${'$as_ac_var'}'` = yes; then
58557   cat >>confdefs.h <<_ACEOF
58558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58559 _ACEOF
58560
58561 fi
58562 done
58563
58564     fi
58565   fi
58566
58567
58568
58569   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58570 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58571   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58572     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58573   echo $ECHO_N "(cached) $ECHO_C" >&6
58574 else
58575
58576
58577
58578       ac_ext=cc
58579 ac_cpp='$CXXCPP $CPPFLAGS'
58580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58583
58584       cat >conftest.$ac_ext <<_ACEOF
58585 /* confdefs.h.  */
58586 _ACEOF
58587 cat confdefs.h >>conftest.$ac_ext
58588 cat >>conftest.$ac_ext <<_ACEOF
58589 /* end confdefs.h.  */
58590 #include <math.h>
58591                       #ifdef HAVE_IEEEFP_H
58592                       #include <ieeefp.h>
58593                       #endif
58594
58595 int
58596 main ()
58597 {
58598  fabsf(0);
58599   ;
58600   return 0;
58601 }
58602 _ACEOF
58603 rm -f conftest.$ac_objext
58604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58605   (eval $ac_compile) 2>conftest.er1
58606   ac_status=$?
58607   grep -v '^ *+' conftest.er1 >conftest.err
58608   rm -f conftest.er1
58609   cat conftest.err >&5
58610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58611   (exit $ac_status); } &&
58612          { ac_try='test -z "$ac_cxx_werror_flag"
58613                          || test ! -s conftest.err'
58614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58615   (eval $ac_try) 2>&5
58616   ac_status=$?
58617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618   (exit $ac_status); }; } &&
58619          { ac_try='test -s conftest.$ac_objext'
58620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58621   (eval $ac_try) 2>&5
58622   ac_status=$?
58623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624   (exit $ac_status); }; }; then
58625   glibcxx_cv_func_fabsf_use=yes
58626 else
58627   echo "$as_me: failed program was:" >&5
58628 sed 's/^/| /' conftest.$ac_ext >&5
58629
58630 glibcxx_cv_func_fabsf_use=no
58631 fi
58632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58633       ac_ext=c
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58638
58639
58640 fi
58641
58642   fi
58643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58644 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58645
58646   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58647
58648 for ac_func in fabsf
58649 do
58650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58651 echo "$as_me:$LINENO: checking for $ac_func" >&5
58652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58653 if eval "test \"\${$as_ac_var+set}\" = set"; then
58654   echo $ECHO_N "(cached) $ECHO_C" >&6
58655 else
58656   if test x$gcc_no_link = xyes; then
58657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58659    { (exit 1); exit 1; }; }
58660 fi
58661 cat >conftest.$ac_ext <<_ACEOF
58662 /* confdefs.h.  */
58663 _ACEOF
58664 cat confdefs.h >>conftest.$ac_ext
58665 cat >>conftest.$ac_ext <<_ACEOF
58666 /* end confdefs.h.  */
58667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58669 #define $ac_func innocuous_$ac_func
58670
58671 /* System header to define __stub macros and hopefully few prototypes,
58672     which can conflict with char $ac_func (); below.
58673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58674     <limits.h> exists even on freestanding compilers.  */
58675
58676 #ifdef __STDC__
58677 # include <limits.h>
58678 #else
58679 # include <assert.h>
58680 #endif
58681
58682 #undef $ac_func
58683
58684 /* Override any gcc2 internal prototype to avoid an error.  */
58685 #ifdef __cplusplus
58686 extern "C"
58687 {
58688 #endif
58689 /* We use char because int might match the return type of a gcc2
58690    builtin and then its argument prototype would still apply.  */
58691 char $ac_func ();
58692 /* The GNU C library defines this for functions which it implements
58693     to always fail with ENOSYS.  Some functions are actually named
58694     something starting with __ and the normal name is an alias.  */
58695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58696 choke me
58697 #else
58698 char (*f) () = $ac_func;
58699 #endif
58700 #ifdef __cplusplus
58701 }
58702 #endif
58703
58704 int
58705 main ()
58706 {
58707 return f != $ac_func;
58708   ;
58709   return 0;
58710 }
58711 _ACEOF
58712 rm -f conftest.$ac_objext conftest$ac_exeext
58713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58714   (eval $ac_link) 2>conftest.er1
58715   ac_status=$?
58716   grep -v '^ *+' conftest.er1 >conftest.err
58717   rm -f conftest.er1
58718   cat conftest.err >&5
58719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58720   (exit $ac_status); } &&
58721          { ac_try='test -z "$ac_c_werror_flag"
58722                          || test ! -s conftest.err'
58723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58724   (eval $ac_try) 2>&5
58725   ac_status=$?
58726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727   (exit $ac_status); }; } &&
58728          { ac_try='test -s conftest$ac_exeext'
58729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58730   (eval $ac_try) 2>&5
58731   ac_status=$?
58732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58733   (exit $ac_status); }; }; then
58734   eval "$as_ac_var=yes"
58735 else
58736   echo "$as_me: failed program was:" >&5
58737 sed 's/^/| /' conftest.$ac_ext >&5
58738
58739 eval "$as_ac_var=no"
58740 fi
58741 rm -f conftest.err conftest.$ac_objext \
58742       conftest$ac_exeext conftest.$ac_ext
58743 fi
58744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58746 if test `eval echo '${'$as_ac_var'}'` = yes; then
58747   cat >>confdefs.h <<_ACEOF
58748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58749 _ACEOF
58750
58751 fi
58752 done
58753
58754   else
58755
58756   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58757 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58758   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58759     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58760   echo $ECHO_N "(cached) $ECHO_C" >&6
58761 else
58762
58763
58764
58765       ac_ext=cc
58766 ac_cpp='$CXXCPP $CPPFLAGS'
58767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58770
58771       cat >conftest.$ac_ext <<_ACEOF
58772 /* confdefs.h.  */
58773 _ACEOF
58774 cat confdefs.h >>conftest.$ac_ext
58775 cat >>conftest.$ac_ext <<_ACEOF
58776 /* end confdefs.h.  */
58777 #include <math.h>
58778                       #ifdef HAVE_IEEEFP_H
58779                       #include <ieeefp.h>
58780                       #endif
58781
58782 int
58783 main ()
58784 {
58785  _fabsf(0);
58786   ;
58787   return 0;
58788 }
58789 _ACEOF
58790 rm -f conftest.$ac_objext
58791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58792   (eval $ac_compile) 2>conftest.er1
58793   ac_status=$?
58794   grep -v '^ *+' conftest.er1 >conftest.err
58795   rm -f conftest.er1
58796   cat conftest.err >&5
58797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58798   (exit $ac_status); } &&
58799          { ac_try='test -z "$ac_cxx_werror_flag"
58800                          || test ! -s conftest.err'
58801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58802   (eval $ac_try) 2>&5
58803   ac_status=$?
58804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58805   (exit $ac_status); }; } &&
58806          { ac_try='test -s conftest.$ac_objext'
58807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58808   (eval $ac_try) 2>&5
58809   ac_status=$?
58810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58811   (exit $ac_status); }; }; then
58812   glibcxx_cv_func__fabsf_use=yes
58813 else
58814   echo "$as_me: failed program was:" >&5
58815 sed 's/^/| /' conftest.$ac_ext >&5
58816
58817 glibcxx_cv_func__fabsf_use=no
58818 fi
58819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58820       ac_ext=c
58821 ac_cpp='$CPP $CPPFLAGS'
58822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58825
58826
58827 fi
58828
58829   fi
58830   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58831 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58832
58833     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58834
58835 for ac_func in _fabsf
58836 do
58837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58838 echo "$as_me:$LINENO: checking for $ac_func" >&5
58839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58840 if eval "test \"\${$as_ac_var+set}\" = set"; then
58841   echo $ECHO_N "(cached) $ECHO_C" >&6
58842 else
58843   if test x$gcc_no_link = xyes; then
58844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58846    { (exit 1); exit 1; }; }
58847 fi
58848 cat >conftest.$ac_ext <<_ACEOF
58849 /* confdefs.h.  */
58850 _ACEOF
58851 cat confdefs.h >>conftest.$ac_ext
58852 cat >>conftest.$ac_ext <<_ACEOF
58853 /* end confdefs.h.  */
58854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58856 #define $ac_func innocuous_$ac_func
58857
58858 /* System header to define __stub macros and hopefully few prototypes,
58859     which can conflict with char $ac_func (); below.
58860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58861     <limits.h> exists even on freestanding compilers.  */
58862
58863 #ifdef __STDC__
58864 # include <limits.h>
58865 #else
58866 # include <assert.h>
58867 #endif
58868
58869 #undef $ac_func
58870
58871 /* Override any gcc2 internal prototype to avoid an error.  */
58872 #ifdef __cplusplus
58873 extern "C"
58874 {
58875 #endif
58876 /* We use char because int might match the return type of a gcc2
58877    builtin and then its argument prototype would still apply.  */
58878 char $ac_func ();
58879 /* The GNU C library defines this for functions which it implements
58880     to always fail with ENOSYS.  Some functions are actually named
58881     something starting with __ and the normal name is an alias.  */
58882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58883 choke me
58884 #else
58885 char (*f) () = $ac_func;
58886 #endif
58887 #ifdef __cplusplus
58888 }
58889 #endif
58890
58891 int
58892 main ()
58893 {
58894 return f != $ac_func;
58895   ;
58896   return 0;
58897 }
58898 _ACEOF
58899 rm -f conftest.$ac_objext conftest$ac_exeext
58900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58901   (eval $ac_link) 2>conftest.er1
58902   ac_status=$?
58903   grep -v '^ *+' conftest.er1 >conftest.err
58904   rm -f conftest.er1
58905   cat conftest.err >&5
58906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58907   (exit $ac_status); } &&
58908          { ac_try='test -z "$ac_c_werror_flag"
58909                          || test ! -s conftest.err'
58910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58911   (eval $ac_try) 2>&5
58912   ac_status=$?
58913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914   (exit $ac_status); }; } &&
58915          { ac_try='test -s conftest$ac_exeext'
58916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917   (eval $ac_try) 2>&5
58918   ac_status=$?
58919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920   (exit $ac_status); }; }; then
58921   eval "$as_ac_var=yes"
58922 else
58923   echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58925
58926 eval "$as_ac_var=no"
58927 fi
58928 rm -f conftest.err conftest.$ac_objext \
58929       conftest$ac_exeext conftest.$ac_ext
58930 fi
58931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58933 if test `eval echo '${'$as_ac_var'}'` = yes; then
58934   cat >>confdefs.h <<_ACEOF
58935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58936 _ACEOF
58937
58938 fi
58939 done
58940
58941     fi
58942   fi
58943
58944
58945
58946   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58947 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58948   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58949     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58950   echo $ECHO_N "(cached) $ECHO_C" >&6
58951 else
58952
58953
58954
58955       ac_ext=cc
58956 ac_cpp='$CXXCPP $CPPFLAGS'
58957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58960
58961       cat >conftest.$ac_ext <<_ACEOF
58962 /* confdefs.h.  */
58963 _ACEOF
58964 cat confdefs.h >>conftest.$ac_ext
58965 cat >>conftest.$ac_ext <<_ACEOF
58966 /* end confdefs.h.  */
58967 #include <math.h>
58968 int
58969 main ()
58970 {
58971  fmodf(0, 0);
58972   ;
58973   return 0;
58974 }
58975 _ACEOF
58976 rm -f conftest.$ac_objext
58977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58978   (eval $ac_compile) 2>conftest.er1
58979   ac_status=$?
58980   grep -v '^ *+' conftest.er1 >conftest.err
58981   rm -f conftest.er1
58982   cat conftest.err >&5
58983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58984   (exit $ac_status); } &&
58985          { ac_try='test -z "$ac_cxx_werror_flag"
58986                          || test ! -s conftest.err'
58987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58988   (eval $ac_try) 2>&5
58989   ac_status=$?
58990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58991   (exit $ac_status); }; } &&
58992          { ac_try='test -s conftest.$ac_objext'
58993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58994   (eval $ac_try) 2>&5
58995   ac_status=$?
58996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58997   (exit $ac_status); }; }; then
58998   glibcxx_cv_func_fmodf_use=yes
58999 else
59000   echo "$as_me: failed program was:" >&5
59001 sed 's/^/| /' conftest.$ac_ext >&5
59002
59003 glibcxx_cv_func_fmodf_use=no
59004 fi
59005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59006       ac_ext=c
59007 ac_cpp='$CPP $CPPFLAGS'
59008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59011
59012
59013 fi
59014
59015   fi
59016   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59017 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59018
59019   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59020
59021 for ac_func in fmodf
59022 do
59023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59024 echo "$as_me:$LINENO: checking for $ac_func" >&5
59025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59026 if eval "test \"\${$as_ac_var+set}\" = set"; then
59027   echo $ECHO_N "(cached) $ECHO_C" >&6
59028 else
59029   if test x$gcc_no_link = xyes; then
59030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59032    { (exit 1); exit 1; }; }
59033 fi
59034 cat >conftest.$ac_ext <<_ACEOF
59035 /* confdefs.h.  */
59036 _ACEOF
59037 cat confdefs.h >>conftest.$ac_ext
59038 cat >>conftest.$ac_ext <<_ACEOF
59039 /* end confdefs.h.  */
59040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59042 #define $ac_func innocuous_$ac_func
59043
59044 /* System header to define __stub macros and hopefully few prototypes,
59045     which can conflict with char $ac_func (); below.
59046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59047     <limits.h> exists even on freestanding compilers.  */
59048
59049 #ifdef __STDC__
59050 # include <limits.h>
59051 #else
59052 # include <assert.h>
59053 #endif
59054
59055 #undef $ac_func
59056
59057 /* Override any gcc2 internal prototype to avoid an error.  */
59058 #ifdef __cplusplus
59059 extern "C"
59060 {
59061 #endif
59062 /* We use char because int might match the return type of a gcc2
59063    builtin and then its argument prototype would still apply.  */
59064 char $ac_func ();
59065 /* The GNU C library defines this for functions which it implements
59066     to always fail with ENOSYS.  Some functions are actually named
59067     something starting with __ and the normal name is an alias.  */
59068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59069 choke me
59070 #else
59071 char (*f) () = $ac_func;
59072 #endif
59073 #ifdef __cplusplus
59074 }
59075 #endif
59076
59077 int
59078 main ()
59079 {
59080 return f != $ac_func;
59081   ;
59082   return 0;
59083 }
59084 _ACEOF
59085 rm -f conftest.$ac_objext conftest$ac_exeext
59086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59087   (eval $ac_link) 2>conftest.er1
59088   ac_status=$?
59089   grep -v '^ *+' conftest.er1 >conftest.err
59090   rm -f conftest.er1
59091   cat conftest.err >&5
59092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59093   (exit $ac_status); } &&
59094          { ac_try='test -z "$ac_c_werror_flag"
59095                          || test ! -s conftest.err'
59096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59097   (eval $ac_try) 2>&5
59098   ac_status=$?
59099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59100   (exit $ac_status); }; } &&
59101          { ac_try='test -s conftest$ac_exeext'
59102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59103   (eval $ac_try) 2>&5
59104   ac_status=$?
59105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59106   (exit $ac_status); }; }; then
59107   eval "$as_ac_var=yes"
59108 else
59109   echo "$as_me: failed program was:" >&5
59110 sed 's/^/| /' conftest.$ac_ext >&5
59111
59112 eval "$as_ac_var=no"
59113 fi
59114 rm -f conftest.err conftest.$ac_objext \
59115       conftest$ac_exeext conftest.$ac_ext
59116 fi
59117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59119 if test `eval echo '${'$as_ac_var'}'` = yes; then
59120   cat >>confdefs.h <<_ACEOF
59121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59122 _ACEOF
59123
59124 fi
59125 done
59126
59127   else
59128
59129   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59130 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59131   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59132     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59133   echo $ECHO_N "(cached) $ECHO_C" >&6
59134 else
59135
59136
59137
59138       ac_ext=cc
59139 ac_cpp='$CXXCPP $CPPFLAGS'
59140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59143
59144       cat >conftest.$ac_ext <<_ACEOF
59145 /* confdefs.h.  */
59146 _ACEOF
59147 cat confdefs.h >>conftest.$ac_ext
59148 cat >>conftest.$ac_ext <<_ACEOF
59149 /* end confdefs.h.  */
59150 #include <math.h>
59151 int
59152 main ()
59153 {
59154  _fmodf(0, 0);
59155   ;
59156   return 0;
59157 }
59158 _ACEOF
59159 rm -f conftest.$ac_objext
59160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59161   (eval $ac_compile) 2>conftest.er1
59162   ac_status=$?
59163   grep -v '^ *+' conftest.er1 >conftest.err
59164   rm -f conftest.er1
59165   cat conftest.err >&5
59166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59167   (exit $ac_status); } &&
59168          { ac_try='test -z "$ac_cxx_werror_flag"
59169                          || test ! -s conftest.err'
59170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59171   (eval $ac_try) 2>&5
59172   ac_status=$?
59173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59174   (exit $ac_status); }; } &&
59175          { ac_try='test -s conftest.$ac_objext'
59176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59177   (eval $ac_try) 2>&5
59178   ac_status=$?
59179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59180   (exit $ac_status); }; }; then
59181   glibcxx_cv_func__fmodf_use=yes
59182 else
59183   echo "$as_me: failed program was:" >&5
59184 sed 's/^/| /' conftest.$ac_ext >&5
59185
59186 glibcxx_cv_func__fmodf_use=no
59187 fi
59188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59189       ac_ext=c
59190 ac_cpp='$CPP $CPPFLAGS'
59191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59194
59195
59196 fi
59197
59198   fi
59199   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59200 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59201
59202     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59203
59204 for ac_func in _fmodf
59205 do
59206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59207 echo "$as_me:$LINENO: checking for $ac_func" >&5
59208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59209 if eval "test \"\${$as_ac_var+set}\" = set"; then
59210   echo $ECHO_N "(cached) $ECHO_C" >&6
59211 else
59212   if test x$gcc_no_link = xyes; then
59213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59215    { (exit 1); exit 1; }; }
59216 fi
59217 cat >conftest.$ac_ext <<_ACEOF
59218 /* confdefs.h.  */
59219 _ACEOF
59220 cat confdefs.h >>conftest.$ac_ext
59221 cat >>conftest.$ac_ext <<_ACEOF
59222 /* end confdefs.h.  */
59223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59225 #define $ac_func innocuous_$ac_func
59226
59227 /* System header to define __stub macros and hopefully few prototypes,
59228     which can conflict with char $ac_func (); below.
59229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59230     <limits.h> exists even on freestanding compilers.  */
59231
59232 #ifdef __STDC__
59233 # include <limits.h>
59234 #else
59235 # include <assert.h>
59236 #endif
59237
59238 #undef $ac_func
59239
59240 /* Override any gcc2 internal prototype to avoid an error.  */
59241 #ifdef __cplusplus
59242 extern "C"
59243 {
59244 #endif
59245 /* We use char because int might match the return type of a gcc2
59246    builtin and then its argument prototype would still apply.  */
59247 char $ac_func ();
59248 /* The GNU C library defines this for functions which it implements
59249     to always fail with ENOSYS.  Some functions are actually named
59250     something starting with __ and the normal name is an alias.  */
59251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59252 choke me
59253 #else
59254 char (*f) () = $ac_func;
59255 #endif
59256 #ifdef __cplusplus
59257 }
59258 #endif
59259
59260 int
59261 main ()
59262 {
59263 return f != $ac_func;
59264   ;
59265   return 0;
59266 }
59267 _ACEOF
59268 rm -f conftest.$ac_objext conftest$ac_exeext
59269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59270   (eval $ac_link) 2>conftest.er1
59271   ac_status=$?
59272   grep -v '^ *+' conftest.er1 >conftest.err
59273   rm -f conftest.er1
59274   cat conftest.err >&5
59275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59276   (exit $ac_status); } &&
59277          { ac_try='test -z "$ac_c_werror_flag"
59278                          || test ! -s conftest.err'
59279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59280   (eval $ac_try) 2>&5
59281   ac_status=$?
59282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59283   (exit $ac_status); }; } &&
59284          { ac_try='test -s conftest$ac_exeext'
59285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59286   (eval $ac_try) 2>&5
59287   ac_status=$?
59288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59289   (exit $ac_status); }; }; then
59290   eval "$as_ac_var=yes"
59291 else
59292   echo "$as_me: failed program was:" >&5
59293 sed 's/^/| /' conftest.$ac_ext >&5
59294
59295 eval "$as_ac_var=no"
59296 fi
59297 rm -f conftest.err conftest.$ac_objext \
59298       conftest$ac_exeext conftest.$ac_ext
59299 fi
59300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59302 if test `eval echo '${'$as_ac_var'}'` = yes; then
59303   cat >>confdefs.h <<_ACEOF
59304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59305 _ACEOF
59306
59307 fi
59308 done
59309
59310     fi
59311   fi
59312
59313
59314
59315   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59316 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59317   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59318     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59319   echo $ECHO_N "(cached) $ECHO_C" >&6
59320 else
59321
59322
59323
59324       ac_ext=cc
59325 ac_cpp='$CXXCPP $CPPFLAGS'
59326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59329
59330       cat >conftest.$ac_ext <<_ACEOF
59331 /* confdefs.h.  */
59332 _ACEOF
59333 cat confdefs.h >>conftest.$ac_ext
59334 cat >>conftest.$ac_ext <<_ACEOF
59335 /* end confdefs.h.  */
59336 #include <math.h>
59337 int
59338 main ()
59339 {
59340  frexpf(0, 0);
59341   ;
59342   return 0;
59343 }
59344 _ACEOF
59345 rm -f conftest.$ac_objext
59346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59347   (eval $ac_compile) 2>conftest.er1
59348   ac_status=$?
59349   grep -v '^ *+' conftest.er1 >conftest.err
59350   rm -f conftest.er1
59351   cat conftest.err >&5
59352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59353   (exit $ac_status); } &&
59354          { ac_try='test -z "$ac_cxx_werror_flag"
59355                          || test ! -s conftest.err'
59356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59357   (eval $ac_try) 2>&5
59358   ac_status=$?
59359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59360   (exit $ac_status); }; } &&
59361          { ac_try='test -s conftest.$ac_objext'
59362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59363   (eval $ac_try) 2>&5
59364   ac_status=$?
59365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59366   (exit $ac_status); }; }; then
59367   glibcxx_cv_func_frexpf_use=yes
59368 else
59369   echo "$as_me: failed program was:" >&5
59370 sed 's/^/| /' conftest.$ac_ext >&5
59371
59372 glibcxx_cv_func_frexpf_use=no
59373 fi
59374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59375       ac_ext=c
59376 ac_cpp='$CPP $CPPFLAGS'
59377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59380
59381
59382 fi
59383
59384   fi
59385   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59386 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59387
59388   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59389
59390 for ac_func in frexpf
59391 do
59392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59393 echo "$as_me:$LINENO: checking for $ac_func" >&5
59394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59395 if eval "test \"\${$as_ac_var+set}\" = set"; then
59396   echo $ECHO_N "(cached) $ECHO_C" >&6
59397 else
59398   if test x$gcc_no_link = xyes; then
59399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59401    { (exit 1); exit 1; }; }
59402 fi
59403 cat >conftest.$ac_ext <<_ACEOF
59404 /* confdefs.h.  */
59405 _ACEOF
59406 cat confdefs.h >>conftest.$ac_ext
59407 cat >>conftest.$ac_ext <<_ACEOF
59408 /* end confdefs.h.  */
59409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59411 #define $ac_func innocuous_$ac_func
59412
59413 /* System header to define __stub macros and hopefully few prototypes,
59414     which can conflict with char $ac_func (); below.
59415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59416     <limits.h> exists even on freestanding compilers.  */
59417
59418 #ifdef __STDC__
59419 # include <limits.h>
59420 #else
59421 # include <assert.h>
59422 #endif
59423
59424 #undef $ac_func
59425
59426 /* Override any gcc2 internal prototype to avoid an error.  */
59427 #ifdef __cplusplus
59428 extern "C"
59429 {
59430 #endif
59431 /* We use char because int might match the return type of a gcc2
59432    builtin and then its argument prototype would still apply.  */
59433 char $ac_func ();
59434 /* The GNU C library defines this for functions which it implements
59435     to always fail with ENOSYS.  Some functions are actually named
59436     something starting with __ and the normal name is an alias.  */
59437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59438 choke me
59439 #else
59440 char (*f) () = $ac_func;
59441 #endif
59442 #ifdef __cplusplus
59443 }
59444 #endif
59445
59446 int
59447 main ()
59448 {
59449 return f != $ac_func;
59450   ;
59451   return 0;
59452 }
59453 _ACEOF
59454 rm -f conftest.$ac_objext conftest$ac_exeext
59455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59456   (eval $ac_link) 2>conftest.er1
59457   ac_status=$?
59458   grep -v '^ *+' conftest.er1 >conftest.err
59459   rm -f conftest.er1
59460   cat conftest.err >&5
59461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59462   (exit $ac_status); } &&
59463          { ac_try='test -z "$ac_c_werror_flag"
59464                          || test ! -s conftest.err'
59465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59466   (eval $ac_try) 2>&5
59467   ac_status=$?
59468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59469   (exit $ac_status); }; } &&
59470          { ac_try='test -s conftest$ac_exeext'
59471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59472   (eval $ac_try) 2>&5
59473   ac_status=$?
59474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59475   (exit $ac_status); }; }; then
59476   eval "$as_ac_var=yes"
59477 else
59478   echo "$as_me: failed program was:" >&5
59479 sed 's/^/| /' conftest.$ac_ext >&5
59480
59481 eval "$as_ac_var=no"
59482 fi
59483 rm -f conftest.err conftest.$ac_objext \
59484       conftest$ac_exeext conftest.$ac_ext
59485 fi
59486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59488 if test `eval echo '${'$as_ac_var'}'` = yes; then
59489   cat >>confdefs.h <<_ACEOF
59490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59491 _ACEOF
59492
59493 fi
59494 done
59495
59496   else
59497
59498   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59499 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59500   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59501     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59502   echo $ECHO_N "(cached) $ECHO_C" >&6
59503 else
59504
59505
59506
59507       ac_ext=cc
59508 ac_cpp='$CXXCPP $CPPFLAGS'
59509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59512
59513       cat >conftest.$ac_ext <<_ACEOF
59514 /* confdefs.h.  */
59515 _ACEOF
59516 cat confdefs.h >>conftest.$ac_ext
59517 cat >>conftest.$ac_ext <<_ACEOF
59518 /* end confdefs.h.  */
59519 #include <math.h>
59520 int
59521 main ()
59522 {
59523  _frexpf(0, 0);
59524   ;
59525   return 0;
59526 }
59527 _ACEOF
59528 rm -f conftest.$ac_objext
59529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59530   (eval $ac_compile) 2>conftest.er1
59531   ac_status=$?
59532   grep -v '^ *+' conftest.er1 >conftest.err
59533   rm -f conftest.er1
59534   cat conftest.err >&5
59535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59536   (exit $ac_status); } &&
59537          { ac_try='test -z "$ac_cxx_werror_flag"
59538                          || test ! -s conftest.err'
59539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59540   (eval $ac_try) 2>&5
59541   ac_status=$?
59542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59543   (exit $ac_status); }; } &&
59544          { ac_try='test -s conftest.$ac_objext'
59545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59546   (eval $ac_try) 2>&5
59547   ac_status=$?
59548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59549   (exit $ac_status); }; }; then
59550   glibcxx_cv_func__frexpf_use=yes
59551 else
59552   echo "$as_me: failed program was:" >&5
59553 sed 's/^/| /' conftest.$ac_ext >&5
59554
59555 glibcxx_cv_func__frexpf_use=no
59556 fi
59557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59558       ac_ext=c
59559 ac_cpp='$CPP $CPPFLAGS'
59560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59563
59564
59565 fi
59566
59567   fi
59568   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59569 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59570
59571     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59572
59573 for ac_func in _frexpf
59574 do
59575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59576 echo "$as_me:$LINENO: checking for $ac_func" >&5
59577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59578 if eval "test \"\${$as_ac_var+set}\" = set"; then
59579   echo $ECHO_N "(cached) $ECHO_C" >&6
59580 else
59581   if test x$gcc_no_link = xyes; then
59582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59584    { (exit 1); exit 1; }; }
59585 fi
59586 cat >conftest.$ac_ext <<_ACEOF
59587 /* confdefs.h.  */
59588 _ACEOF
59589 cat confdefs.h >>conftest.$ac_ext
59590 cat >>conftest.$ac_ext <<_ACEOF
59591 /* end confdefs.h.  */
59592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59594 #define $ac_func innocuous_$ac_func
59595
59596 /* System header to define __stub macros and hopefully few prototypes,
59597     which can conflict with char $ac_func (); below.
59598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59599     <limits.h> exists even on freestanding compilers.  */
59600
59601 #ifdef __STDC__
59602 # include <limits.h>
59603 #else
59604 # include <assert.h>
59605 #endif
59606
59607 #undef $ac_func
59608
59609 /* Override any gcc2 internal prototype to avoid an error.  */
59610 #ifdef __cplusplus
59611 extern "C"
59612 {
59613 #endif
59614 /* We use char because int might match the return type of a gcc2
59615    builtin and then its argument prototype would still apply.  */
59616 char $ac_func ();
59617 /* The GNU C library defines this for functions which it implements
59618     to always fail with ENOSYS.  Some functions are actually named
59619     something starting with __ and the normal name is an alias.  */
59620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59621 choke me
59622 #else
59623 char (*f) () = $ac_func;
59624 #endif
59625 #ifdef __cplusplus
59626 }
59627 #endif
59628
59629 int
59630 main ()
59631 {
59632 return f != $ac_func;
59633   ;
59634   return 0;
59635 }
59636 _ACEOF
59637 rm -f conftest.$ac_objext conftest$ac_exeext
59638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59639   (eval $ac_link) 2>conftest.er1
59640   ac_status=$?
59641   grep -v '^ *+' conftest.er1 >conftest.err
59642   rm -f conftest.er1
59643   cat conftest.err >&5
59644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59645   (exit $ac_status); } &&
59646          { ac_try='test -z "$ac_c_werror_flag"
59647                          || test ! -s conftest.err'
59648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59649   (eval $ac_try) 2>&5
59650   ac_status=$?
59651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59652   (exit $ac_status); }; } &&
59653          { ac_try='test -s conftest$ac_exeext'
59654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59655   (eval $ac_try) 2>&5
59656   ac_status=$?
59657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59658   (exit $ac_status); }; }; then
59659   eval "$as_ac_var=yes"
59660 else
59661   echo "$as_me: failed program was:" >&5
59662 sed 's/^/| /' conftest.$ac_ext >&5
59663
59664 eval "$as_ac_var=no"
59665 fi
59666 rm -f conftest.err conftest.$ac_objext \
59667       conftest$ac_exeext conftest.$ac_ext
59668 fi
59669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59671 if test `eval echo '${'$as_ac_var'}'` = yes; then
59672   cat >>confdefs.h <<_ACEOF
59673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59674 _ACEOF
59675
59676 fi
59677 done
59678
59679     fi
59680   fi
59681
59682
59683
59684   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59685 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59686   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59687     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59688   echo $ECHO_N "(cached) $ECHO_C" >&6
59689 else
59690
59691
59692
59693       ac_ext=cc
59694 ac_cpp='$CXXCPP $CPPFLAGS'
59695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59698
59699       cat >conftest.$ac_ext <<_ACEOF
59700 /* confdefs.h.  */
59701 _ACEOF
59702 cat confdefs.h >>conftest.$ac_ext
59703 cat >>conftest.$ac_ext <<_ACEOF
59704 /* end confdefs.h.  */
59705 #include <math.h>
59706 int
59707 main ()
59708 {
59709  hypotf(0, 0);
59710   ;
59711   return 0;
59712 }
59713 _ACEOF
59714 rm -f conftest.$ac_objext
59715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59716   (eval $ac_compile) 2>conftest.er1
59717   ac_status=$?
59718   grep -v '^ *+' conftest.er1 >conftest.err
59719   rm -f conftest.er1
59720   cat conftest.err >&5
59721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59722   (exit $ac_status); } &&
59723          { ac_try='test -z "$ac_cxx_werror_flag"
59724                          || test ! -s conftest.err'
59725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59726   (eval $ac_try) 2>&5
59727   ac_status=$?
59728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59729   (exit $ac_status); }; } &&
59730          { ac_try='test -s conftest.$ac_objext'
59731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59732   (eval $ac_try) 2>&5
59733   ac_status=$?
59734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59735   (exit $ac_status); }; }; then
59736   glibcxx_cv_func_hypotf_use=yes
59737 else
59738   echo "$as_me: failed program was:" >&5
59739 sed 's/^/| /' conftest.$ac_ext >&5
59740
59741 glibcxx_cv_func_hypotf_use=no
59742 fi
59743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59744       ac_ext=c
59745 ac_cpp='$CPP $CPPFLAGS'
59746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59749
59750
59751 fi
59752
59753   fi
59754   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59755 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59756
59757   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59758
59759 for ac_func in hypotf
59760 do
59761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59762 echo "$as_me:$LINENO: checking for $ac_func" >&5
59763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59764 if eval "test \"\${$as_ac_var+set}\" = set"; then
59765   echo $ECHO_N "(cached) $ECHO_C" >&6
59766 else
59767   if test x$gcc_no_link = xyes; then
59768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59770    { (exit 1); exit 1; }; }
59771 fi
59772 cat >conftest.$ac_ext <<_ACEOF
59773 /* confdefs.h.  */
59774 _ACEOF
59775 cat confdefs.h >>conftest.$ac_ext
59776 cat >>conftest.$ac_ext <<_ACEOF
59777 /* end confdefs.h.  */
59778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59780 #define $ac_func innocuous_$ac_func
59781
59782 /* System header to define __stub macros and hopefully few prototypes,
59783     which can conflict with char $ac_func (); below.
59784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59785     <limits.h> exists even on freestanding compilers.  */
59786
59787 #ifdef __STDC__
59788 # include <limits.h>
59789 #else
59790 # include <assert.h>
59791 #endif
59792
59793 #undef $ac_func
59794
59795 /* Override any gcc2 internal prototype to avoid an error.  */
59796 #ifdef __cplusplus
59797 extern "C"
59798 {
59799 #endif
59800 /* We use char because int might match the return type of a gcc2
59801    builtin and then its argument prototype would still apply.  */
59802 char $ac_func ();
59803 /* The GNU C library defines this for functions which it implements
59804     to always fail with ENOSYS.  Some functions are actually named
59805     something starting with __ and the normal name is an alias.  */
59806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59807 choke me
59808 #else
59809 char (*f) () = $ac_func;
59810 #endif
59811 #ifdef __cplusplus
59812 }
59813 #endif
59814
59815 int
59816 main ()
59817 {
59818 return f != $ac_func;
59819   ;
59820   return 0;
59821 }
59822 _ACEOF
59823 rm -f conftest.$ac_objext conftest$ac_exeext
59824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59825   (eval $ac_link) 2>conftest.er1
59826   ac_status=$?
59827   grep -v '^ *+' conftest.er1 >conftest.err
59828   rm -f conftest.er1
59829   cat conftest.err >&5
59830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59831   (exit $ac_status); } &&
59832          { ac_try='test -z "$ac_c_werror_flag"
59833                          || test ! -s conftest.err'
59834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59835   (eval $ac_try) 2>&5
59836   ac_status=$?
59837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59838   (exit $ac_status); }; } &&
59839          { ac_try='test -s conftest$ac_exeext'
59840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59841   (eval $ac_try) 2>&5
59842   ac_status=$?
59843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844   (exit $ac_status); }; }; then
59845   eval "$as_ac_var=yes"
59846 else
59847   echo "$as_me: failed program was:" >&5
59848 sed 's/^/| /' conftest.$ac_ext >&5
59849
59850 eval "$as_ac_var=no"
59851 fi
59852 rm -f conftest.err conftest.$ac_objext \
59853       conftest$ac_exeext conftest.$ac_ext
59854 fi
59855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59857 if test `eval echo '${'$as_ac_var'}'` = yes; then
59858   cat >>confdefs.h <<_ACEOF
59859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59860 _ACEOF
59861
59862 fi
59863 done
59864
59865   else
59866
59867   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59868 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59869   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59870     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59871   echo $ECHO_N "(cached) $ECHO_C" >&6
59872 else
59873
59874
59875
59876       ac_ext=cc
59877 ac_cpp='$CXXCPP $CPPFLAGS'
59878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59881
59882       cat >conftest.$ac_ext <<_ACEOF
59883 /* confdefs.h.  */
59884 _ACEOF
59885 cat confdefs.h >>conftest.$ac_ext
59886 cat >>conftest.$ac_ext <<_ACEOF
59887 /* end confdefs.h.  */
59888 #include <math.h>
59889 int
59890 main ()
59891 {
59892  _hypotf(0, 0);
59893   ;
59894   return 0;
59895 }
59896 _ACEOF
59897 rm -f conftest.$ac_objext
59898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59899   (eval $ac_compile) 2>conftest.er1
59900   ac_status=$?
59901   grep -v '^ *+' conftest.er1 >conftest.err
59902   rm -f conftest.er1
59903   cat conftest.err >&5
59904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59905   (exit $ac_status); } &&
59906          { ac_try='test -z "$ac_cxx_werror_flag"
59907                          || test ! -s conftest.err'
59908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59909   (eval $ac_try) 2>&5
59910   ac_status=$?
59911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59912   (exit $ac_status); }; } &&
59913          { ac_try='test -s conftest.$ac_objext'
59914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59915   (eval $ac_try) 2>&5
59916   ac_status=$?
59917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59918   (exit $ac_status); }; }; then
59919   glibcxx_cv_func__hypotf_use=yes
59920 else
59921   echo "$as_me: failed program was:" >&5
59922 sed 's/^/| /' conftest.$ac_ext >&5
59923
59924 glibcxx_cv_func__hypotf_use=no
59925 fi
59926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59927       ac_ext=c
59928 ac_cpp='$CPP $CPPFLAGS'
59929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59932
59933
59934 fi
59935
59936   fi
59937   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59938 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59939
59940     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59941
59942 for ac_func in _hypotf
59943 do
59944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59945 echo "$as_me:$LINENO: checking for $ac_func" >&5
59946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59947 if eval "test \"\${$as_ac_var+set}\" = set"; then
59948   echo $ECHO_N "(cached) $ECHO_C" >&6
59949 else
59950   if test x$gcc_no_link = xyes; then
59951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59953    { (exit 1); exit 1; }; }
59954 fi
59955 cat >conftest.$ac_ext <<_ACEOF
59956 /* confdefs.h.  */
59957 _ACEOF
59958 cat confdefs.h >>conftest.$ac_ext
59959 cat >>conftest.$ac_ext <<_ACEOF
59960 /* end confdefs.h.  */
59961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59963 #define $ac_func innocuous_$ac_func
59964
59965 /* System header to define __stub macros and hopefully few prototypes,
59966     which can conflict with char $ac_func (); below.
59967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59968     <limits.h> exists even on freestanding compilers.  */
59969
59970 #ifdef __STDC__
59971 # include <limits.h>
59972 #else
59973 # include <assert.h>
59974 #endif
59975
59976 #undef $ac_func
59977
59978 /* Override any gcc2 internal prototype to avoid an error.  */
59979 #ifdef __cplusplus
59980 extern "C"
59981 {
59982 #endif
59983 /* We use char because int might match the return type of a gcc2
59984    builtin and then its argument prototype would still apply.  */
59985 char $ac_func ();
59986 /* The GNU C library defines this for functions which it implements
59987     to always fail with ENOSYS.  Some functions are actually named
59988     something starting with __ and the normal name is an alias.  */
59989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59990 choke me
59991 #else
59992 char (*f) () = $ac_func;
59993 #endif
59994 #ifdef __cplusplus
59995 }
59996 #endif
59997
59998 int
59999 main ()
60000 {
60001 return f != $ac_func;
60002   ;
60003   return 0;
60004 }
60005 _ACEOF
60006 rm -f conftest.$ac_objext conftest$ac_exeext
60007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60008   (eval $ac_link) 2>conftest.er1
60009   ac_status=$?
60010   grep -v '^ *+' conftest.er1 >conftest.err
60011   rm -f conftest.er1
60012   cat conftest.err >&5
60013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60014   (exit $ac_status); } &&
60015          { ac_try='test -z "$ac_c_werror_flag"
60016                          || test ! -s conftest.err'
60017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018   (eval $ac_try) 2>&5
60019   ac_status=$?
60020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021   (exit $ac_status); }; } &&
60022          { ac_try='test -s conftest$ac_exeext'
60023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60024   (eval $ac_try) 2>&5
60025   ac_status=$?
60026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60027   (exit $ac_status); }; }; then
60028   eval "$as_ac_var=yes"
60029 else
60030   echo "$as_me: failed program was:" >&5
60031 sed 's/^/| /' conftest.$ac_ext >&5
60032
60033 eval "$as_ac_var=no"
60034 fi
60035 rm -f conftest.err conftest.$ac_objext \
60036       conftest$ac_exeext conftest.$ac_ext
60037 fi
60038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60040 if test `eval echo '${'$as_ac_var'}'` = yes; then
60041   cat >>confdefs.h <<_ACEOF
60042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60043 _ACEOF
60044
60045 fi
60046 done
60047
60048     fi
60049   fi
60050
60051
60052
60053   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60054 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60055   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60056     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60057   echo $ECHO_N "(cached) $ECHO_C" >&6
60058 else
60059
60060
60061
60062       ac_ext=cc
60063 ac_cpp='$CXXCPP $CPPFLAGS'
60064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60067
60068       cat >conftest.$ac_ext <<_ACEOF
60069 /* confdefs.h.  */
60070 _ACEOF
60071 cat confdefs.h >>conftest.$ac_ext
60072 cat >>conftest.$ac_ext <<_ACEOF
60073 /* end confdefs.h.  */
60074 #include <math.h>
60075 int
60076 main ()
60077 {
60078  ldexpf(0, 0);
60079   ;
60080   return 0;
60081 }
60082 _ACEOF
60083 rm -f conftest.$ac_objext
60084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60085   (eval $ac_compile) 2>conftest.er1
60086   ac_status=$?
60087   grep -v '^ *+' conftest.er1 >conftest.err
60088   rm -f conftest.er1
60089   cat conftest.err >&5
60090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60091   (exit $ac_status); } &&
60092          { ac_try='test -z "$ac_cxx_werror_flag"
60093                          || test ! -s conftest.err'
60094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60095   (eval $ac_try) 2>&5
60096   ac_status=$?
60097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60098   (exit $ac_status); }; } &&
60099          { ac_try='test -s conftest.$ac_objext'
60100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60101   (eval $ac_try) 2>&5
60102   ac_status=$?
60103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60104   (exit $ac_status); }; }; then
60105   glibcxx_cv_func_ldexpf_use=yes
60106 else
60107   echo "$as_me: failed program was:" >&5
60108 sed 's/^/| /' conftest.$ac_ext >&5
60109
60110 glibcxx_cv_func_ldexpf_use=no
60111 fi
60112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60113       ac_ext=c
60114 ac_cpp='$CPP $CPPFLAGS'
60115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60118
60119
60120 fi
60121
60122   fi
60123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60124 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60125
60126   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60127
60128 for ac_func in ldexpf
60129 do
60130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60131 echo "$as_me:$LINENO: checking for $ac_func" >&5
60132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60133 if eval "test \"\${$as_ac_var+set}\" = set"; then
60134   echo $ECHO_N "(cached) $ECHO_C" >&6
60135 else
60136   if test x$gcc_no_link = xyes; then
60137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60139    { (exit 1); exit 1; }; }
60140 fi
60141 cat >conftest.$ac_ext <<_ACEOF
60142 /* confdefs.h.  */
60143 _ACEOF
60144 cat confdefs.h >>conftest.$ac_ext
60145 cat >>conftest.$ac_ext <<_ACEOF
60146 /* end confdefs.h.  */
60147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60149 #define $ac_func innocuous_$ac_func
60150
60151 /* System header to define __stub macros and hopefully few prototypes,
60152     which can conflict with char $ac_func (); below.
60153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60154     <limits.h> exists even on freestanding compilers.  */
60155
60156 #ifdef __STDC__
60157 # include <limits.h>
60158 #else
60159 # include <assert.h>
60160 #endif
60161
60162 #undef $ac_func
60163
60164 /* Override any gcc2 internal prototype to avoid an error.  */
60165 #ifdef __cplusplus
60166 extern "C"
60167 {
60168 #endif
60169 /* We use char because int might match the return type of a gcc2
60170    builtin and then its argument prototype would still apply.  */
60171 char $ac_func ();
60172 /* The GNU C library defines this for functions which it implements
60173     to always fail with ENOSYS.  Some functions are actually named
60174     something starting with __ and the normal name is an alias.  */
60175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60176 choke me
60177 #else
60178 char (*f) () = $ac_func;
60179 #endif
60180 #ifdef __cplusplus
60181 }
60182 #endif
60183
60184 int
60185 main ()
60186 {
60187 return f != $ac_func;
60188   ;
60189   return 0;
60190 }
60191 _ACEOF
60192 rm -f conftest.$ac_objext conftest$ac_exeext
60193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60194   (eval $ac_link) 2>conftest.er1
60195   ac_status=$?
60196   grep -v '^ *+' conftest.er1 >conftest.err
60197   rm -f conftest.er1
60198   cat conftest.err >&5
60199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60200   (exit $ac_status); } &&
60201          { ac_try='test -z "$ac_c_werror_flag"
60202                          || test ! -s conftest.err'
60203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60204   (eval $ac_try) 2>&5
60205   ac_status=$?
60206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60207   (exit $ac_status); }; } &&
60208          { ac_try='test -s conftest$ac_exeext'
60209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60210   (eval $ac_try) 2>&5
60211   ac_status=$?
60212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60213   (exit $ac_status); }; }; then
60214   eval "$as_ac_var=yes"
60215 else
60216   echo "$as_me: failed program was:" >&5
60217 sed 's/^/| /' conftest.$ac_ext >&5
60218
60219 eval "$as_ac_var=no"
60220 fi
60221 rm -f conftest.err conftest.$ac_objext \
60222       conftest$ac_exeext conftest.$ac_ext
60223 fi
60224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60226 if test `eval echo '${'$as_ac_var'}'` = yes; then
60227   cat >>confdefs.h <<_ACEOF
60228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60229 _ACEOF
60230
60231 fi
60232 done
60233
60234   else
60235
60236   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60237 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60238   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60239     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60240   echo $ECHO_N "(cached) $ECHO_C" >&6
60241 else
60242
60243
60244
60245       ac_ext=cc
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60250
60251       cat >conftest.$ac_ext <<_ACEOF
60252 /* confdefs.h.  */
60253 _ACEOF
60254 cat confdefs.h >>conftest.$ac_ext
60255 cat >>conftest.$ac_ext <<_ACEOF
60256 /* end confdefs.h.  */
60257 #include <math.h>
60258 int
60259 main ()
60260 {
60261  _ldexpf(0, 0);
60262   ;
60263   return 0;
60264 }
60265 _ACEOF
60266 rm -f conftest.$ac_objext
60267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60268   (eval $ac_compile) 2>conftest.er1
60269   ac_status=$?
60270   grep -v '^ *+' conftest.er1 >conftest.err
60271   rm -f conftest.er1
60272   cat conftest.err >&5
60273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60274   (exit $ac_status); } &&
60275          { ac_try='test -z "$ac_cxx_werror_flag"
60276                          || test ! -s conftest.err'
60277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60278   (eval $ac_try) 2>&5
60279   ac_status=$?
60280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60281   (exit $ac_status); }; } &&
60282          { ac_try='test -s conftest.$ac_objext'
60283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60284   (eval $ac_try) 2>&5
60285   ac_status=$?
60286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60287   (exit $ac_status); }; }; then
60288   glibcxx_cv_func__ldexpf_use=yes
60289 else
60290   echo "$as_me: failed program was:" >&5
60291 sed 's/^/| /' conftest.$ac_ext >&5
60292
60293 glibcxx_cv_func__ldexpf_use=no
60294 fi
60295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60296       ac_ext=c
60297 ac_cpp='$CPP $CPPFLAGS'
60298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60301
60302
60303 fi
60304
60305   fi
60306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60307 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60308
60309     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60310
60311 for ac_func in _ldexpf
60312 do
60313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60314 echo "$as_me:$LINENO: checking for $ac_func" >&5
60315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60316 if eval "test \"\${$as_ac_var+set}\" = set"; then
60317   echo $ECHO_N "(cached) $ECHO_C" >&6
60318 else
60319   if test x$gcc_no_link = xyes; then
60320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60322    { (exit 1); exit 1; }; }
60323 fi
60324 cat >conftest.$ac_ext <<_ACEOF
60325 /* confdefs.h.  */
60326 _ACEOF
60327 cat confdefs.h >>conftest.$ac_ext
60328 cat >>conftest.$ac_ext <<_ACEOF
60329 /* end confdefs.h.  */
60330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60332 #define $ac_func innocuous_$ac_func
60333
60334 /* System header to define __stub macros and hopefully few prototypes,
60335     which can conflict with char $ac_func (); below.
60336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60337     <limits.h> exists even on freestanding compilers.  */
60338
60339 #ifdef __STDC__
60340 # include <limits.h>
60341 #else
60342 # include <assert.h>
60343 #endif
60344
60345 #undef $ac_func
60346
60347 /* Override any gcc2 internal prototype to avoid an error.  */
60348 #ifdef __cplusplus
60349 extern "C"
60350 {
60351 #endif
60352 /* We use char because int might match the return type of a gcc2
60353    builtin and then its argument prototype would still apply.  */
60354 char $ac_func ();
60355 /* The GNU C library defines this for functions which it implements
60356     to always fail with ENOSYS.  Some functions are actually named
60357     something starting with __ and the normal name is an alias.  */
60358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60359 choke me
60360 #else
60361 char (*f) () = $ac_func;
60362 #endif
60363 #ifdef __cplusplus
60364 }
60365 #endif
60366
60367 int
60368 main ()
60369 {
60370 return f != $ac_func;
60371   ;
60372   return 0;
60373 }
60374 _ACEOF
60375 rm -f conftest.$ac_objext conftest$ac_exeext
60376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60377   (eval $ac_link) 2>conftest.er1
60378   ac_status=$?
60379   grep -v '^ *+' conftest.er1 >conftest.err
60380   rm -f conftest.er1
60381   cat conftest.err >&5
60382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60383   (exit $ac_status); } &&
60384          { ac_try='test -z "$ac_c_werror_flag"
60385                          || test ! -s conftest.err'
60386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60387   (eval $ac_try) 2>&5
60388   ac_status=$?
60389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60390   (exit $ac_status); }; } &&
60391          { ac_try='test -s conftest$ac_exeext'
60392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60393   (eval $ac_try) 2>&5
60394   ac_status=$?
60395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60396   (exit $ac_status); }; }; then
60397   eval "$as_ac_var=yes"
60398 else
60399   echo "$as_me: failed program was:" >&5
60400 sed 's/^/| /' conftest.$ac_ext >&5
60401
60402 eval "$as_ac_var=no"
60403 fi
60404 rm -f conftest.err conftest.$ac_objext \
60405       conftest$ac_exeext conftest.$ac_ext
60406 fi
60407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60409 if test `eval echo '${'$as_ac_var'}'` = yes; then
60410   cat >>confdefs.h <<_ACEOF
60411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60412 _ACEOF
60413
60414 fi
60415 done
60416
60417     fi
60418   fi
60419
60420
60421
60422   echo "$as_me:$LINENO: checking for logf declaration" >&5
60423 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60424   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60425     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60426   echo $ECHO_N "(cached) $ECHO_C" >&6
60427 else
60428
60429
60430
60431       ac_ext=cc
60432 ac_cpp='$CXXCPP $CPPFLAGS'
60433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60436
60437       cat >conftest.$ac_ext <<_ACEOF
60438 /* confdefs.h.  */
60439 _ACEOF
60440 cat confdefs.h >>conftest.$ac_ext
60441 cat >>conftest.$ac_ext <<_ACEOF
60442 /* end confdefs.h.  */
60443 #include <math.h>
60444                       #ifdef HAVE_IEEEFP_H
60445                       #include <ieeefp.h>
60446                       #endif
60447
60448 int
60449 main ()
60450 {
60451  logf(0);
60452   ;
60453   return 0;
60454 }
60455 _ACEOF
60456 rm -f conftest.$ac_objext
60457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60458   (eval $ac_compile) 2>conftest.er1
60459   ac_status=$?
60460   grep -v '^ *+' conftest.er1 >conftest.err
60461   rm -f conftest.er1
60462   cat conftest.err >&5
60463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60464   (exit $ac_status); } &&
60465          { ac_try='test -z "$ac_cxx_werror_flag"
60466                          || test ! -s conftest.err'
60467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60468   (eval $ac_try) 2>&5
60469   ac_status=$?
60470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60471   (exit $ac_status); }; } &&
60472          { ac_try='test -s conftest.$ac_objext'
60473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60474   (eval $ac_try) 2>&5
60475   ac_status=$?
60476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60477   (exit $ac_status); }; }; then
60478   glibcxx_cv_func_logf_use=yes
60479 else
60480   echo "$as_me: failed program was:" >&5
60481 sed 's/^/| /' conftest.$ac_ext >&5
60482
60483 glibcxx_cv_func_logf_use=no
60484 fi
60485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60486       ac_ext=c
60487 ac_cpp='$CPP $CPPFLAGS'
60488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60491
60492
60493 fi
60494
60495   fi
60496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60497 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60498
60499   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60500
60501 for ac_func in logf
60502 do
60503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60504 echo "$as_me:$LINENO: checking for $ac_func" >&5
60505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60506 if eval "test \"\${$as_ac_var+set}\" = set"; then
60507   echo $ECHO_N "(cached) $ECHO_C" >&6
60508 else
60509   if test x$gcc_no_link = xyes; then
60510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60512    { (exit 1); exit 1; }; }
60513 fi
60514 cat >conftest.$ac_ext <<_ACEOF
60515 /* confdefs.h.  */
60516 _ACEOF
60517 cat confdefs.h >>conftest.$ac_ext
60518 cat >>conftest.$ac_ext <<_ACEOF
60519 /* end confdefs.h.  */
60520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60522 #define $ac_func innocuous_$ac_func
60523
60524 /* System header to define __stub macros and hopefully few prototypes,
60525     which can conflict with char $ac_func (); below.
60526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60527     <limits.h> exists even on freestanding compilers.  */
60528
60529 #ifdef __STDC__
60530 # include <limits.h>
60531 #else
60532 # include <assert.h>
60533 #endif
60534
60535 #undef $ac_func
60536
60537 /* Override any gcc2 internal prototype to avoid an error.  */
60538 #ifdef __cplusplus
60539 extern "C"
60540 {
60541 #endif
60542 /* We use char because int might match the return type of a gcc2
60543    builtin and then its argument prototype would still apply.  */
60544 char $ac_func ();
60545 /* The GNU C library defines this for functions which it implements
60546     to always fail with ENOSYS.  Some functions are actually named
60547     something starting with __ and the normal name is an alias.  */
60548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60549 choke me
60550 #else
60551 char (*f) () = $ac_func;
60552 #endif
60553 #ifdef __cplusplus
60554 }
60555 #endif
60556
60557 int
60558 main ()
60559 {
60560 return f != $ac_func;
60561   ;
60562   return 0;
60563 }
60564 _ACEOF
60565 rm -f conftest.$ac_objext conftest$ac_exeext
60566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60567   (eval $ac_link) 2>conftest.er1
60568   ac_status=$?
60569   grep -v '^ *+' conftest.er1 >conftest.err
60570   rm -f conftest.er1
60571   cat conftest.err >&5
60572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60573   (exit $ac_status); } &&
60574          { ac_try='test -z "$ac_c_werror_flag"
60575                          || test ! -s conftest.err'
60576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60577   (eval $ac_try) 2>&5
60578   ac_status=$?
60579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60580   (exit $ac_status); }; } &&
60581          { ac_try='test -s conftest$ac_exeext'
60582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60583   (eval $ac_try) 2>&5
60584   ac_status=$?
60585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60586   (exit $ac_status); }; }; then
60587   eval "$as_ac_var=yes"
60588 else
60589   echo "$as_me: failed program was:" >&5
60590 sed 's/^/| /' conftest.$ac_ext >&5
60591
60592 eval "$as_ac_var=no"
60593 fi
60594 rm -f conftest.err conftest.$ac_objext \
60595       conftest$ac_exeext conftest.$ac_ext
60596 fi
60597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60599 if test `eval echo '${'$as_ac_var'}'` = yes; then
60600   cat >>confdefs.h <<_ACEOF
60601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60602 _ACEOF
60603
60604 fi
60605 done
60606
60607   else
60608
60609   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60610 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60611   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60612     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60613   echo $ECHO_N "(cached) $ECHO_C" >&6
60614 else
60615
60616
60617
60618       ac_ext=cc
60619 ac_cpp='$CXXCPP $CPPFLAGS'
60620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60623
60624       cat >conftest.$ac_ext <<_ACEOF
60625 /* confdefs.h.  */
60626 _ACEOF
60627 cat confdefs.h >>conftest.$ac_ext
60628 cat >>conftest.$ac_ext <<_ACEOF
60629 /* end confdefs.h.  */
60630 #include <math.h>
60631                       #ifdef HAVE_IEEEFP_H
60632                       #include <ieeefp.h>
60633                       #endif
60634
60635 int
60636 main ()
60637 {
60638  _logf(0);
60639   ;
60640   return 0;
60641 }
60642 _ACEOF
60643 rm -f conftest.$ac_objext
60644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60645   (eval $ac_compile) 2>conftest.er1
60646   ac_status=$?
60647   grep -v '^ *+' conftest.er1 >conftest.err
60648   rm -f conftest.er1
60649   cat conftest.err >&5
60650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60651   (exit $ac_status); } &&
60652          { ac_try='test -z "$ac_cxx_werror_flag"
60653                          || test ! -s conftest.err'
60654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60655   (eval $ac_try) 2>&5
60656   ac_status=$?
60657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60658   (exit $ac_status); }; } &&
60659          { ac_try='test -s conftest.$ac_objext'
60660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60661   (eval $ac_try) 2>&5
60662   ac_status=$?
60663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60664   (exit $ac_status); }; }; then
60665   glibcxx_cv_func__logf_use=yes
60666 else
60667   echo "$as_me: failed program was:" >&5
60668 sed 's/^/| /' conftest.$ac_ext >&5
60669
60670 glibcxx_cv_func__logf_use=no
60671 fi
60672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60673       ac_ext=c
60674 ac_cpp='$CPP $CPPFLAGS'
60675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60678
60679
60680 fi
60681
60682   fi
60683   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60684 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60685
60686     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60687
60688 for ac_func in _logf
60689 do
60690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60691 echo "$as_me:$LINENO: checking for $ac_func" >&5
60692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60693 if eval "test \"\${$as_ac_var+set}\" = set"; then
60694   echo $ECHO_N "(cached) $ECHO_C" >&6
60695 else
60696   if test x$gcc_no_link = xyes; then
60697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60699    { (exit 1); exit 1; }; }
60700 fi
60701 cat >conftest.$ac_ext <<_ACEOF
60702 /* confdefs.h.  */
60703 _ACEOF
60704 cat confdefs.h >>conftest.$ac_ext
60705 cat >>conftest.$ac_ext <<_ACEOF
60706 /* end confdefs.h.  */
60707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60709 #define $ac_func innocuous_$ac_func
60710
60711 /* System header to define __stub macros and hopefully few prototypes,
60712     which can conflict with char $ac_func (); below.
60713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60714     <limits.h> exists even on freestanding compilers.  */
60715
60716 #ifdef __STDC__
60717 # include <limits.h>
60718 #else
60719 # include <assert.h>
60720 #endif
60721
60722 #undef $ac_func
60723
60724 /* Override any gcc2 internal prototype to avoid an error.  */
60725 #ifdef __cplusplus
60726 extern "C"
60727 {
60728 #endif
60729 /* We use char because int might match the return type of a gcc2
60730    builtin and then its argument prototype would still apply.  */
60731 char $ac_func ();
60732 /* The GNU C library defines this for functions which it implements
60733     to always fail with ENOSYS.  Some functions are actually named
60734     something starting with __ and the normal name is an alias.  */
60735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60736 choke me
60737 #else
60738 char (*f) () = $ac_func;
60739 #endif
60740 #ifdef __cplusplus
60741 }
60742 #endif
60743
60744 int
60745 main ()
60746 {
60747 return f != $ac_func;
60748   ;
60749   return 0;
60750 }
60751 _ACEOF
60752 rm -f conftest.$ac_objext conftest$ac_exeext
60753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60754   (eval $ac_link) 2>conftest.er1
60755   ac_status=$?
60756   grep -v '^ *+' conftest.er1 >conftest.err
60757   rm -f conftest.er1
60758   cat conftest.err >&5
60759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60760   (exit $ac_status); } &&
60761          { ac_try='test -z "$ac_c_werror_flag"
60762                          || test ! -s conftest.err'
60763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60764   (eval $ac_try) 2>&5
60765   ac_status=$?
60766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60767   (exit $ac_status); }; } &&
60768          { ac_try='test -s conftest$ac_exeext'
60769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60770   (eval $ac_try) 2>&5
60771   ac_status=$?
60772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60773   (exit $ac_status); }; }; then
60774   eval "$as_ac_var=yes"
60775 else
60776   echo "$as_me: failed program was:" >&5
60777 sed 's/^/| /' conftest.$ac_ext >&5
60778
60779 eval "$as_ac_var=no"
60780 fi
60781 rm -f conftest.err conftest.$ac_objext \
60782       conftest$ac_exeext conftest.$ac_ext
60783 fi
60784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60786 if test `eval echo '${'$as_ac_var'}'` = yes; then
60787   cat >>confdefs.h <<_ACEOF
60788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60789 _ACEOF
60790
60791 fi
60792 done
60793
60794     fi
60795   fi
60796
60797
60798
60799   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60800 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60801   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60802     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60803   echo $ECHO_N "(cached) $ECHO_C" >&6
60804 else
60805
60806
60807
60808       ac_ext=cc
60809 ac_cpp='$CXXCPP $CPPFLAGS'
60810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60813
60814       cat >conftest.$ac_ext <<_ACEOF
60815 /* confdefs.h.  */
60816 _ACEOF
60817 cat confdefs.h >>conftest.$ac_ext
60818 cat >>conftest.$ac_ext <<_ACEOF
60819 /* end confdefs.h.  */
60820 #include <math.h>
60821                       #ifdef HAVE_IEEEFP_H
60822                       #include <ieeefp.h>
60823                       #endif
60824
60825 int
60826 main ()
60827 {
60828  log10f(0);
60829   ;
60830   return 0;
60831 }
60832 _ACEOF
60833 rm -f conftest.$ac_objext
60834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60835   (eval $ac_compile) 2>conftest.er1
60836   ac_status=$?
60837   grep -v '^ *+' conftest.er1 >conftest.err
60838   rm -f conftest.er1
60839   cat conftest.err >&5
60840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60841   (exit $ac_status); } &&
60842          { ac_try='test -z "$ac_cxx_werror_flag"
60843                          || test ! -s conftest.err'
60844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60845   (eval $ac_try) 2>&5
60846   ac_status=$?
60847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60848   (exit $ac_status); }; } &&
60849          { ac_try='test -s conftest.$ac_objext'
60850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60851   (eval $ac_try) 2>&5
60852   ac_status=$?
60853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60854   (exit $ac_status); }; }; then
60855   glibcxx_cv_func_log10f_use=yes
60856 else
60857   echo "$as_me: failed program was:" >&5
60858 sed 's/^/| /' conftest.$ac_ext >&5
60859
60860 glibcxx_cv_func_log10f_use=no
60861 fi
60862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60863       ac_ext=c
60864 ac_cpp='$CPP $CPPFLAGS'
60865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60868
60869
60870 fi
60871
60872   fi
60873   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60874 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60875
60876   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60877
60878 for ac_func in log10f
60879 do
60880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60881 echo "$as_me:$LINENO: checking for $ac_func" >&5
60882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60883 if eval "test \"\${$as_ac_var+set}\" = set"; then
60884   echo $ECHO_N "(cached) $ECHO_C" >&6
60885 else
60886   if test x$gcc_no_link = xyes; then
60887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60889    { (exit 1); exit 1; }; }
60890 fi
60891 cat >conftest.$ac_ext <<_ACEOF
60892 /* confdefs.h.  */
60893 _ACEOF
60894 cat confdefs.h >>conftest.$ac_ext
60895 cat >>conftest.$ac_ext <<_ACEOF
60896 /* end confdefs.h.  */
60897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60899 #define $ac_func innocuous_$ac_func
60900
60901 /* System header to define __stub macros and hopefully few prototypes,
60902     which can conflict with char $ac_func (); below.
60903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60904     <limits.h> exists even on freestanding compilers.  */
60905
60906 #ifdef __STDC__
60907 # include <limits.h>
60908 #else
60909 # include <assert.h>
60910 #endif
60911
60912 #undef $ac_func
60913
60914 /* Override any gcc2 internal prototype to avoid an error.  */
60915 #ifdef __cplusplus
60916 extern "C"
60917 {
60918 #endif
60919 /* We use char because int might match the return type of a gcc2
60920    builtin and then its argument prototype would still apply.  */
60921 char $ac_func ();
60922 /* The GNU C library defines this for functions which it implements
60923     to always fail with ENOSYS.  Some functions are actually named
60924     something starting with __ and the normal name is an alias.  */
60925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60926 choke me
60927 #else
60928 char (*f) () = $ac_func;
60929 #endif
60930 #ifdef __cplusplus
60931 }
60932 #endif
60933
60934 int
60935 main ()
60936 {
60937 return f != $ac_func;
60938   ;
60939   return 0;
60940 }
60941 _ACEOF
60942 rm -f conftest.$ac_objext conftest$ac_exeext
60943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60944   (eval $ac_link) 2>conftest.er1
60945   ac_status=$?
60946   grep -v '^ *+' conftest.er1 >conftest.err
60947   rm -f conftest.er1
60948   cat conftest.err >&5
60949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60950   (exit $ac_status); } &&
60951          { ac_try='test -z "$ac_c_werror_flag"
60952                          || test ! -s conftest.err'
60953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60954   (eval $ac_try) 2>&5
60955   ac_status=$?
60956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60957   (exit $ac_status); }; } &&
60958          { ac_try='test -s conftest$ac_exeext'
60959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60960   (eval $ac_try) 2>&5
60961   ac_status=$?
60962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60963   (exit $ac_status); }; }; then
60964   eval "$as_ac_var=yes"
60965 else
60966   echo "$as_me: failed program was:" >&5
60967 sed 's/^/| /' conftest.$ac_ext >&5
60968
60969 eval "$as_ac_var=no"
60970 fi
60971 rm -f conftest.err conftest.$ac_objext \
60972       conftest$ac_exeext conftest.$ac_ext
60973 fi
60974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60976 if test `eval echo '${'$as_ac_var'}'` = yes; then
60977   cat >>confdefs.h <<_ACEOF
60978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60979 _ACEOF
60980
60981 fi
60982 done
60983
60984   else
60985
60986   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60987 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60988   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60989     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60990   echo $ECHO_N "(cached) $ECHO_C" >&6
60991 else
60992
60993
60994
60995       ac_ext=cc
60996 ac_cpp='$CXXCPP $CPPFLAGS'
60997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61000
61001       cat >conftest.$ac_ext <<_ACEOF
61002 /* confdefs.h.  */
61003 _ACEOF
61004 cat confdefs.h >>conftest.$ac_ext
61005 cat >>conftest.$ac_ext <<_ACEOF
61006 /* end confdefs.h.  */
61007 #include <math.h>
61008                       #ifdef HAVE_IEEEFP_H
61009                       #include <ieeefp.h>
61010                       #endif
61011
61012 int
61013 main ()
61014 {
61015  _log10f(0);
61016   ;
61017   return 0;
61018 }
61019 _ACEOF
61020 rm -f conftest.$ac_objext
61021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61022   (eval $ac_compile) 2>conftest.er1
61023   ac_status=$?
61024   grep -v '^ *+' conftest.er1 >conftest.err
61025   rm -f conftest.er1
61026   cat conftest.err >&5
61027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61028   (exit $ac_status); } &&
61029          { ac_try='test -z "$ac_cxx_werror_flag"
61030                          || test ! -s conftest.err'
61031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61032   (eval $ac_try) 2>&5
61033   ac_status=$?
61034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61035   (exit $ac_status); }; } &&
61036          { ac_try='test -s conftest.$ac_objext'
61037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61038   (eval $ac_try) 2>&5
61039   ac_status=$?
61040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61041   (exit $ac_status); }; }; then
61042   glibcxx_cv_func__log10f_use=yes
61043 else
61044   echo "$as_me: failed program was:" >&5
61045 sed 's/^/| /' conftest.$ac_ext >&5
61046
61047 glibcxx_cv_func__log10f_use=no
61048 fi
61049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61050       ac_ext=c
61051 ac_cpp='$CPP $CPPFLAGS'
61052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61055
61056
61057 fi
61058
61059   fi
61060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61061 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61062
61063     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61064
61065 for ac_func in _log10f
61066 do
61067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61068 echo "$as_me:$LINENO: checking for $ac_func" >&5
61069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61070 if eval "test \"\${$as_ac_var+set}\" = set"; then
61071   echo $ECHO_N "(cached) $ECHO_C" >&6
61072 else
61073   if test x$gcc_no_link = xyes; then
61074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61076    { (exit 1); exit 1; }; }
61077 fi
61078 cat >conftest.$ac_ext <<_ACEOF
61079 /* confdefs.h.  */
61080 _ACEOF
61081 cat confdefs.h >>conftest.$ac_ext
61082 cat >>conftest.$ac_ext <<_ACEOF
61083 /* end confdefs.h.  */
61084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61086 #define $ac_func innocuous_$ac_func
61087
61088 /* System header to define __stub macros and hopefully few prototypes,
61089     which can conflict with char $ac_func (); below.
61090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61091     <limits.h> exists even on freestanding compilers.  */
61092
61093 #ifdef __STDC__
61094 # include <limits.h>
61095 #else
61096 # include <assert.h>
61097 #endif
61098
61099 #undef $ac_func
61100
61101 /* Override any gcc2 internal prototype to avoid an error.  */
61102 #ifdef __cplusplus
61103 extern "C"
61104 {
61105 #endif
61106 /* We use char because int might match the return type of a gcc2
61107    builtin and then its argument prototype would still apply.  */
61108 char $ac_func ();
61109 /* The GNU C library defines this for functions which it implements
61110     to always fail with ENOSYS.  Some functions are actually named
61111     something starting with __ and the normal name is an alias.  */
61112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61113 choke me
61114 #else
61115 char (*f) () = $ac_func;
61116 #endif
61117 #ifdef __cplusplus
61118 }
61119 #endif
61120
61121 int
61122 main ()
61123 {
61124 return f != $ac_func;
61125   ;
61126   return 0;
61127 }
61128 _ACEOF
61129 rm -f conftest.$ac_objext conftest$ac_exeext
61130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61131   (eval $ac_link) 2>conftest.er1
61132   ac_status=$?
61133   grep -v '^ *+' conftest.er1 >conftest.err
61134   rm -f conftest.er1
61135   cat conftest.err >&5
61136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61137   (exit $ac_status); } &&
61138          { ac_try='test -z "$ac_c_werror_flag"
61139                          || test ! -s conftest.err'
61140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61141   (eval $ac_try) 2>&5
61142   ac_status=$?
61143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61144   (exit $ac_status); }; } &&
61145          { ac_try='test -s conftest$ac_exeext'
61146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61147   (eval $ac_try) 2>&5
61148   ac_status=$?
61149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61150   (exit $ac_status); }; }; then
61151   eval "$as_ac_var=yes"
61152 else
61153   echo "$as_me: failed program was:" >&5
61154 sed 's/^/| /' conftest.$ac_ext >&5
61155
61156 eval "$as_ac_var=no"
61157 fi
61158 rm -f conftest.err conftest.$ac_objext \
61159       conftest$ac_exeext conftest.$ac_ext
61160 fi
61161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61163 if test `eval echo '${'$as_ac_var'}'` = yes; then
61164   cat >>confdefs.h <<_ACEOF
61165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61166 _ACEOF
61167
61168 fi
61169 done
61170
61171     fi
61172   fi
61173
61174
61175
61176   echo "$as_me:$LINENO: checking for modff declaration" >&5
61177 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61178   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61179     if test "${glibcxx_cv_func_modff_use+set}" = set; then
61180   echo $ECHO_N "(cached) $ECHO_C" >&6
61181 else
61182
61183
61184
61185       ac_ext=cc
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61190
61191       cat >conftest.$ac_ext <<_ACEOF
61192 /* confdefs.h.  */
61193 _ACEOF
61194 cat confdefs.h >>conftest.$ac_ext
61195 cat >>conftest.$ac_ext <<_ACEOF
61196 /* end confdefs.h.  */
61197 #include <math.h>
61198 int
61199 main ()
61200 {
61201  modff(0, 0);
61202   ;
61203   return 0;
61204 }
61205 _ACEOF
61206 rm -f conftest.$ac_objext
61207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61208   (eval $ac_compile) 2>conftest.er1
61209   ac_status=$?
61210   grep -v '^ *+' conftest.er1 >conftest.err
61211   rm -f conftest.er1
61212   cat conftest.err >&5
61213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214   (exit $ac_status); } &&
61215          { ac_try='test -z "$ac_cxx_werror_flag"
61216                          || test ! -s conftest.err'
61217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61218   (eval $ac_try) 2>&5
61219   ac_status=$?
61220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221   (exit $ac_status); }; } &&
61222          { ac_try='test -s conftest.$ac_objext'
61223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61224   (eval $ac_try) 2>&5
61225   ac_status=$?
61226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61227   (exit $ac_status); }; }; then
61228   glibcxx_cv_func_modff_use=yes
61229 else
61230   echo "$as_me: failed program was:" >&5
61231 sed 's/^/| /' conftest.$ac_ext >&5
61232
61233 glibcxx_cv_func_modff_use=no
61234 fi
61235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61236       ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61241
61242
61243 fi
61244
61245   fi
61246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61247 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61248
61249   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61250
61251 for ac_func in modff
61252 do
61253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61254 echo "$as_me:$LINENO: checking for $ac_func" >&5
61255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61256 if eval "test \"\${$as_ac_var+set}\" = set"; then
61257   echo $ECHO_N "(cached) $ECHO_C" >&6
61258 else
61259   if test x$gcc_no_link = xyes; then
61260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61262    { (exit 1); exit 1; }; }
61263 fi
61264 cat >conftest.$ac_ext <<_ACEOF
61265 /* confdefs.h.  */
61266 _ACEOF
61267 cat confdefs.h >>conftest.$ac_ext
61268 cat >>conftest.$ac_ext <<_ACEOF
61269 /* end confdefs.h.  */
61270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61272 #define $ac_func innocuous_$ac_func
61273
61274 /* System header to define __stub macros and hopefully few prototypes,
61275     which can conflict with char $ac_func (); below.
61276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61277     <limits.h> exists even on freestanding compilers.  */
61278
61279 #ifdef __STDC__
61280 # include <limits.h>
61281 #else
61282 # include <assert.h>
61283 #endif
61284
61285 #undef $ac_func
61286
61287 /* Override any gcc2 internal prototype to avoid an error.  */
61288 #ifdef __cplusplus
61289 extern "C"
61290 {
61291 #endif
61292 /* We use char because int might match the return type of a gcc2
61293    builtin and then its argument prototype would still apply.  */
61294 char $ac_func ();
61295 /* The GNU C library defines this for functions which it implements
61296     to always fail with ENOSYS.  Some functions are actually named
61297     something starting with __ and the normal name is an alias.  */
61298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61299 choke me
61300 #else
61301 char (*f) () = $ac_func;
61302 #endif
61303 #ifdef __cplusplus
61304 }
61305 #endif
61306
61307 int
61308 main ()
61309 {
61310 return f != $ac_func;
61311   ;
61312   return 0;
61313 }
61314 _ACEOF
61315 rm -f conftest.$ac_objext conftest$ac_exeext
61316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61317   (eval $ac_link) 2>conftest.er1
61318   ac_status=$?
61319   grep -v '^ *+' conftest.er1 >conftest.err
61320   rm -f conftest.er1
61321   cat conftest.err >&5
61322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61323   (exit $ac_status); } &&
61324          { ac_try='test -z "$ac_c_werror_flag"
61325                          || test ! -s conftest.err'
61326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61327   (eval $ac_try) 2>&5
61328   ac_status=$?
61329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61330   (exit $ac_status); }; } &&
61331          { ac_try='test -s conftest$ac_exeext'
61332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61333   (eval $ac_try) 2>&5
61334   ac_status=$?
61335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61336   (exit $ac_status); }; }; then
61337   eval "$as_ac_var=yes"
61338 else
61339   echo "$as_me: failed program was:" >&5
61340 sed 's/^/| /' conftest.$ac_ext >&5
61341
61342 eval "$as_ac_var=no"
61343 fi
61344 rm -f conftest.err conftest.$ac_objext \
61345       conftest$ac_exeext conftest.$ac_ext
61346 fi
61347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61349 if test `eval echo '${'$as_ac_var'}'` = yes; then
61350   cat >>confdefs.h <<_ACEOF
61351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61352 _ACEOF
61353
61354 fi
61355 done
61356
61357   else
61358
61359   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61360 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61361   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61362     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61363   echo $ECHO_N "(cached) $ECHO_C" >&6
61364 else
61365
61366
61367
61368       ac_ext=cc
61369 ac_cpp='$CXXCPP $CPPFLAGS'
61370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61373
61374       cat >conftest.$ac_ext <<_ACEOF
61375 /* confdefs.h.  */
61376 _ACEOF
61377 cat confdefs.h >>conftest.$ac_ext
61378 cat >>conftest.$ac_ext <<_ACEOF
61379 /* end confdefs.h.  */
61380 #include <math.h>
61381 int
61382 main ()
61383 {
61384  _modff(0, 0);
61385   ;
61386   return 0;
61387 }
61388 _ACEOF
61389 rm -f conftest.$ac_objext
61390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61391   (eval $ac_compile) 2>conftest.er1
61392   ac_status=$?
61393   grep -v '^ *+' conftest.er1 >conftest.err
61394   rm -f conftest.er1
61395   cat conftest.err >&5
61396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61397   (exit $ac_status); } &&
61398          { ac_try='test -z "$ac_cxx_werror_flag"
61399                          || test ! -s conftest.err'
61400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61401   (eval $ac_try) 2>&5
61402   ac_status=$?
61403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61404   (exit $ac_status); }; } &&
61405          { ac_try='test -s conftest.$ac_objext'
61406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61407   (eval $ac_try) 2>&5
61408   ac_status=$?
61409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61410   (exit $ac_status); }; }; then
61411   glibcxx_cv_func__modff_use=yes
61412 else
61413   echo "$as_me: failed program was:" >&5
61414 sed 's/^/| /' conftest.$ac_ext >&5
61415
61416 glibcxx_cv_func__modff_use=no
61417 fi
61418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61419       ac_ext=c
61420 ac_cpp='$CPP $CPPFLAGS'
61421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61424
61425
61426 fi
61427
61428   fi
61429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61430 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61431
61432     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61433
61434 for ac_func in _modff
61435 do
61436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61437 echo "$as_me:$LINENO: checking for $ac_func" >&5
61438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61439 if eval "test \"\${$as_ac_var+set}\" = set"; then
61440   echo $ECHO_N "(cached) $ECHO_C" >&6
61441 else
61442   if test x$gcc_no_link = xyes; then
61443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61445    { (exit 1); exit 1; }; }
61446 fi
61447 cat >conftest.$ac_ext <<_ACEOF
61448 /* confdefs.h.  */
61449 _ACEOF
61450 cat confdefs.h >>conftest.$ac_ext
61451 cat >>conftest.$ac_ext <<_ACEOF
61452 /* end confdefs.h.  */
61453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61455 #define $ac_func innocuous_$ac_func
61456
61457 /* System header to define __stub macros and hopefully few prototypes,
61458     which can conflict with char $ac_func (); below.
61459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61460     <limits.h> exists even on freestanding compilers.  */
61461
61462 #ifdef __STDC__
61463 # include <limits.h>
61464 #else
61465 # include <assert.h>
61466 #endif
61467
61468 #undef $ac_func
61469
61470 /* Override any gcc2 internal prototype to avoid an error.  */
61471 #ifdef __cplusplus
61472 extern "C"
61473 {
61474 #endif
61475 /* We use char because int might match the return type of a gcc2
61476    builtin and then its argument prototype would still apply.  */
61477 char $ac_func ();
61478 /* The GNU C library defines this for functions which it implements
61479     to always fail with ENOSYS.  Some functions are actually named
61480     something starting with __ and the normal name is an alias.  */
61481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61482 choke me
61483 #else
61484 char (*f) () = $ac_func;
61485 #endif
61486 #ifdef __cplusplus
61487 }
61488 #endif
61489
61490 int
61491 main ()
61492 {
61493 return f != $ac_func;
61494   ;
61495   return 0;
61496 }
61497 _ACEOF
61498 rm -f conftest.$ac_objext conftest$ac_exeext
61499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61500   (eval $ac_link) 2>conftest.er1
61501   ac_status=$?
61502   grep -v '^ *+' conftest.er1 >conftest.err
61503   rm -f conftest.er1
61504   cat conftest.err >&5
61505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61506   (exit $ac_status); } &&
61507          { ac_try='test -z "$ac_c_werror_flag"
61508                          || test ! -s conftest.err'
61509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61510   (eval $ac_try) 2>&5
61511   ac_status=$?
61512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61513   (exit $ac_status); }; } &&
61514          { ac_try='test -s conftest$ac_exeext'
61515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61516   (eval $ac_try) 2>&5
61517   ac_status=$?
61518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61519   (exit $ac_status); }; }; then
61520   eval "$as_ac_var=yes"
61521 else
61522   echo "$as_me: failed program was:" >&5
61523 sed 's/^/| /' conftest.$ac_ext >&5
61524
61525 eval "$as_ac_var=no"
61526 fi
61527 rm -f conftest.err conftest.$ac_objext \
61528       conftest$ac_exeext conftest.$ac_ext
61529 fi
61530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61532 if test `eval echo '${'$as_ac_var'}'` = yes; then
61533   cat >>confdefs.h <<_ACEOF
61534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61535 _ACEOF
61536
61537 fi
61538 done
61539
61540     fi
61541   fi
61542
61543
61544
61545   echo "$as_me:$LINENO: checking for powf declaration" >&5
61546 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61547   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61548     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61549   echo $ECHO_N "(cached) $ECHO_C" >&6
61550 else
61551
61552
61553
61554       ac_ext=cc
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61559
61560       cat >conftest.$ac_ext <<_ACEOF
61561 /* confdefs.h.  */
61562 _ACEOF
61563 cat confdefs.h >>conftest.$ac_ext
61564 cat >>conftest.$ac_ext <<_ACEOF
61565 /* end confdefs.h.  */
61566 #include <math.h>
61567 int
61568 main ()
61569 {
61570  powf(0, 0);
61571   ;
61572   return 0;
61573 }
61574 _ACEOF
61575 rm -f conftest.$ac_objext
61576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61577   (eval $ac_compile) 2>conftest.er1
61578   ac_status=$?
61579   grep -v '^ *+' conftest.er1 >conftest.err
61580   rm -f conftest.er1
61581   cat conftest.err >&5
61582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61583   (exit $ac_status); } &&
61584          { ac_try='test -z "$ac_cxx_werror_flag"
61585                          || test ! -s conftest.err'
61586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61587   (eval $ac_try) 2>&5
61588   ac_status=$?
61589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590   (exit $ac_status); }; } &&
61591          { ac_try='test -s conftest.$ac_objext'
61592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61593   (eval $ac_try) 2>&5
61594   ac_status=$?
61595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61596   (exit $ac_status); }; }; then
61597   glibcxx_cv_func_powf_use=yes
61598 else
61599   echo "$as_me: failed program was:" >&5
61600 sed 's/^/| /' conftest.$ac_ext >&5
61601
61602 glibcxx_cv_func_powf_use=no
61603 fi
61604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61605       ac_ext=c
61606 ac_cpp='$CPP $CPPFLAGS'
61607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61610
61611
61612 fi
61613
61614   fi
61615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61616 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61617
61618   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61619
61620 for ac_func in powf
61621 do
61622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61623 echo "$as_me:$LINENO: checking for $ac_func" >&5
61624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61625 if eval "test \"\${$as_ac_var+set}\" = set"; then
61626   echo $ECHO_N "(cached) $ECHO_C" >&6
61627 else
61628   if test x$gcc_no_link = xyes; then
61629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61631    { (exit 1); exit 1; }; }
61632 fi
61633 cat >conftest.$ac_ext <<_ACEOF
61634 /* confdefs.h.  */
61635 _ACEOF
61636 cat confdefs.h >>conftest.$ac_ext
61637 cat >>conftest.$ac_ext <<_ACEOF
61638 /* end confdefs.h.  */
61639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61641 #define $ac_func innocuous_$ac_func
61642
61643 /* System header to define __stub macros and hopefully few prototypes,
61644     which can conflict with char $ac_func (); below.
61645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61646     <limits.h> exists even on freestanding compilers.  */
61647
61648 #ifdef __STDC__
61649 # include <limits.h>
61650 #else
61651 # include <assert.h>
61652 #endif
61653
61654 #undef $ac_func
61655
61656 /* Override any gcc2 internal prototype to avoid an error.  */
61657 #ifdef __cplusplus
61658 extern "C"
61659 {
61660 #endif
61661 /* We use char because int might match the return type of a gcc2
61662    builtin and then its argument prototype would still apply.  */
61663 char $ac_func ();
61664 /* The GNU C library defines this for functions which it implements
61665     to always fail with ENOSYS.  Some functions are actually named
61666     something starting with __ and the normal name is an alias.  */
61667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61668 choke me
61669 #else
61670 char (*f) () = $ac_func;
61671 #endif
61672 #ifdef __cplusplus
61673 }
61674 #endif
61675
61676 int
61677 main ()
61678 {
61679 return f != $ac_func;
61680   ;
61681   return 0;
61682 }
61683 _ACEOF
61684 rm -f conftest.$ac_objext conftest$ac_exeext
61685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61686   (eval $ac_link) 2>conftest.er1
61687   ac_status=$?
61688   grep -v '^ *+' conftest.er1 >conftest.err
61689   rm -f conftest.er1
61690   cat conftest.err >&5
61691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61692   (exit $ac_status); } &&
61693          { ac_try='test -z "$ac_c_werror_flag"
61694                          || test ! -s conftest.err'
61695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61696   (eval $ac_try) 2>&5
61697   ac_status=$?
61698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61699   (exit $ac_status); }; } &&
61700          { ac_try='test -s conftest$ac_exeext'
61701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61702   (eval $ac_try) 2>&5
61703   ac_status=$?
61704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61705   (exit $ac_status); }; }; then
61706   eval "$as_ac_var=yes"
61707 else
61708   echo "$as_me: failed program was:" >&5
61709 sed 's/^/| /' conftest.$ac_ext >&5
61710
61711 eval "$as_ac_var=no"
61712 fi
61713 rm -f conftest.err conftest.$ac_objext \
61714       conftest$ac_exeext conftest.$ac_ext
61715 fi
61716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61718 if test `eval echo '${'$as_ac_var'}'` = yes; then
61719   cat >>confdefs.h <<_ACEOF
61720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61721 _ACEOF
61722
61723 fi
61724 done
61725
61726   else
61727
61728   echo "$as_me:$LINENO: checking for _powf declaration" >&5
61729 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61730   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61731     if test "${glibcxx_cv_func__powf_use+set}" = set; then
61732   echo $ECHO_N "(cached) $ECHO_C" >&6
61733 else
61734
61735
61736
61737       ac_ext=cc
61738 ac_cpp='$CXXCPP $CPPFLAGS'
61739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61742
61743       cat >conftest.$ac_ext <<_ACEOF
61744 /* confdefs.h.  */
61745 _ACEOF
61746 cat confdefs.h >>conftest.$ac_ext
61747 cat >>conftest.$ac_ext <<_ACEOF
61748 /* end confdefs.h.  */
61749 #include <math.h>
61750 int
61751 main ()
61752 {
61753  _powf(0, 0);
61754   ;
61755   return 0;
61756 }
61757 _ACEOF
61758 rm -f conftest.$ac_objext
61759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61760   (eval $ac_compile) 2>conftest.er1
61761   ac_status=$?
61762   grep -v '^ *+' conftest.er1 >conftest.err
61763   rm -f conftest.er1
61764   cat conftest.err >&5
61765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61766   (exit $ac_status); } &&
61767          { ac_try='test -z "$ac_cxx_werror_flag"
61768                          || test ! -s conftest.err'
61769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61770   (eval $ac_try) 2>&5
61771   ac_status=$?
61772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61773   (exit $ac_status); }; } &&
61774          { ac_try='test -s conftest.$ac_objext'
61775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61776   (eval $ac_try) 2>&5
61777   ac_status=$?
61778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61779   (exit $ac_status); }; }; then
61780   glibcxx_cv_func__powf_use=yes
61781 else
61782   echo "$as_me: failed program was:" >&5
61783 sed 's/^/| /' conftest.$ac_ext >&5
61784
61785 glibcxx_cv_func__powf_use=no
61786 fi
61787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61788       ac_ext=c
61789 ac_cpp='$CPP $CPPFLAGS'
61790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61793
61794
61795 fi
61796
61797   fi
61798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61799 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61800
61801     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61802
61803 for ac_func in _powf
61804 do
61805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61806 echo "$as_me:$LINENO: checking for $ac_func" >&5
61807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61808 if eval "test \"\${$as_ac_var+set}\" = set"; then
61809   echo $ECHO_N "(cached) $ECHO_C" >&6
61810 else
61811   if test x$gcc_no_link = xyes; then
61812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61814    { (exit 1); exit 1; }; }
61815 fi
61816 cat >conftest.$ac_ext <<_ACEOF
61817 /* confdefs.h.  */
61818 _ACEOF
61819 cat confdefs.h >>conftest.$ac_ext
61820 cat >>conftest.$ac_ext <<_ACEOF
61821 /* end confdefs.h.  */
61822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61824 #define $ac_func innocuous_$ac_func
61825
61826 /* System header to define __stub macros and hopefully few prototypes,
61827     which can conflict with char $ac_func (); below.
61828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61829     <limits.h> exists even on freestanding compilers.  */
61830
61831 #ifdef __STDC__
61832 # include <limits.h>
61833 #else
61834 # include <assert.h>
61835 #endif
61836
61837 #undef $ac_func
61838
61839 /* Override any gcc2 internal prototype to avoid an error.  */
61840 #ifdef __cplusplus
61841 extern "C"
61842 {
61843 #endif
61844 /* We use char because int might match the return type of a gcc2
61845    builtin and then its argument prototype would still apply.  */
61846 char $ac_func ();
61847 /* The GNU C library defines this for functions which it implements
61848     to always fail with ENOSYS.  Some functions are actually named
61849     something starting with __ and the normal name is an alias.  */
61850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61851 choke me
61852 #else
61853 char (*f) () = $ac_func;
61854 #endif
61855 #ifdef __cplusplus
61856 }
61857 #endif
61858
61859 int
61860 main ()
61861 {
61862 return f != $ac_func;
61863   ;
61864   return 0;
61865 }
61866 _ACEOF
61867 rm -f conftest.$ac_objext conftest$ac_exeext
61868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61869   (eval $ac_link) 2>conftest.er1
61870   ac_status=$?
61871   grep -v '^ *+' conftest.er1 >conftest.err
61872   rm -f conftest.er1
61873   cat conftest.err >&5
61874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61875   (exit $ac_status); } &&
61876          { ac_try='test -z "$ac_c_werror_flag"
61877                          || test ! -s conftest.err'
61878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61879   (eval $ac_try) 2>&5
61880   ac_status=$?
61881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61882   (exit $ac_status); }; } &&
61883          { ac_try='test -s conftest$ac_exeext'
61884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61885   (eval $ac_try) 2>&5
61886   ac_status=$?
61887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61888   (exit $ac_status); }; }; then
61889   eval "$as_ac_var=yes"
61890 else
61891   echo "$as_me: failed program was:" >&5
61892 sed 's/^/| /' conftest.$ac_ext >&5
61893
61894 eval "$as_ac_var=no"
61895 fi
61896 rm -f conftest.err conftest.$ac_objext \
61897       conftest$ac_exeext conftest.$ac_ext
61898 fi
61899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61901 if test `eval echo '${'$as_ac_var'}'` = yes; then
61902   cat >>confdefs.h <<_ACEOF
61903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61904 _ACEOF
61905
61906 fi
61907 done
61908
61909     fi
61910   fi
61911
61912
61913
61914   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61915 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61916   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61917     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61918   echo $ECHO_N "(cached) $ECHO_C" >&6
61919 else
61920
61921
61922
61923       ac_ext=cc
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61928
61929       cat >conftest.$ac_ext <<_ACEOF
61930 /* confdefs.h.  */
61931 _ACEOF
61932 cat confdefs.h >>conftest.$ac_ext
61933 cat >>conftest.$ac_ext <<_ACEOF
61934 /* end confdefs.h.  */
61935 #include <math.h>
61936                       #ifdef HAVE_IEEEFP_H
61937                       #include <ieeefp.h>
61938                       #endif
61939
61940 int
61941 main ()
61942 {
61943  sqrtf(0);
61944   ;
61945   return 0;
61946 }
61947 _ACEOF
61948 rm -f conftest.$ac_objext
61949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61950   (eval $ac_compile) 2>conftest.er1
61951   ac_status=$?
61952   grep -v '^ *+' conftest.er1 >conftest.err
61953   rm -f conftest.er1
61954   cat conftest.err >&5
61955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61956   (exit $ac_status); } &&
61957          { ac_try='test -z "$ac_cxx_werror_flag"
61958                          || test ! -s conftest.err'
61959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61960   (eval $ac_try) 2>&5
61961   ac_status=$?
61962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61963   (exit $ac_status); }; } &&
61964          { ac_try='test -s conftest.$ac_objext'
61965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61966   (eval $ac_try) 2>&5
61967   ac_status=$?
61968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61969   (exit $ac_status); }; }; then
61970   glibcxx_cv_func_sqrtf_use=yes
61971 else
61972   echo "$as_me: failed program was:" >&5
61973 sed 's/^/| /' conftest.$ac_ext >&5
61974
61975 glibcxx_cv_func_sqrtf_use=no
61976 fi
61977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61978       ac_ext=c
61979 ac_cpp='$CPP $CPPFLAGS'
61980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61983
61984
61985 fi
61986
61987   fi
61988   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61989 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61990
61991   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61992
61993 for ac_func in sqrtf
61994 do
61995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61996 echo "$as_me:$LINENO: checking for $ac_func" >&5
61997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61998 if eval "test \"\${$as_ac_var+set}\" = set"; then
61999   echo $ECHO_N "(cached) $ECHO_C" >&6
62000 else
62001   if test x$gcc_no_link = xyes; then
62002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62004    { (exit 1); exit 1; }; }
62005 fi
62006 cat >conftest.$ac_ext <<_ACEOF
62007 /* confdefs.h.  */
62008 _ACEOF
62009 cat confdefs.h >>conftest.$ac_ext
62010 cat >>conftest.$ac_ext <<_ACEOF
62011 /* end confdefs.h.  */
62012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62014 #define $ac_func innocuous_$ac_func
62015
62016 /* System header to define __stub macros and hopefully few prototypes,
62017     which can conflict with char $ac_func (); below.
62018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62019     <limits.h> exists even on freestanding compilers.  */
62020
62021 #ifdef __STDC__
62022 # include <limits.h>
62023 #else
62024 # include <assert.h>
62025 #endif
62026
62027 #undef $ac_func
62028
62029 /* Override any gcc2 internal prototype to avoid an error.  */
62030 #ifdef __cplusplus
62031 extern "C"
62032 {
62033 #endif
62034 /* We use char because int might match the return type of a gcc2
62035    builtin and then its argument prototype would still apply.  */
62036 char $ac_func ();
62037 /* The GNU C library defines this for functions which it implements
62038     to always fail with ENOSYS.  Some functions are actually named
62039     something starting with __ and the normal name is an alias.  */
62040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62041 choke me
62042 #else
62043 char (*f) () = $ac_func;
62044 #endif
62045 #ifdef __cplusplus
62046 }
62047 #endif
62048
62049 int
62050 main ()
62051 {
62052 return f != $ac_func;
62053   ;
62054   return 0;
62055 }
62056 _ACEOF
62057 rm -f conftest.$ac_objext conftest$ac_exeext
62058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62059   (eval $ac_link) 2>conftest.er1
62060   ac_status=$?
62061   grep -v '^ *+' conftest.er1 >conftest.err
62062   rm -f conftest.er1
62063   cat conftest.err >&5
62064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62065   (exit $ac_status); } &&
62066          { ac_try='test -z "$ac_c_werror_flag"
62067                          || test ! -s conftest.err'
62068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62069   (eval $ac_try) 2>&5
62070   ac_status=$?
62071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62072   (exit $ac_status); }; } &&
62073          { ac_try='test -s conftest$ac_exeext'
62074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62075   (eval $ac_try) 2>&5
62076   ac_status=$?
62077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62078   (exit $ac_status); }; }; then
62079   eval "$as_ac_var=yes"
62080 else
62081   echo "$as_me: failed program was:" >&5
62082 sed 's/^/| /' conftest.$ac_ext >&5
62083
62084 eval "$as_ac_var=no"
62085 fi
62086 rm -f conftest.err conftest.$ac_objext \
62087       conftest$ac_exeext conftest.$ac_ext
62088 fi
62089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62091 if test `eval echo '${'$as_ac_var'}'` = yes; then
62092   cat >>confdefs.h <<_ACEOF
62093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62094 _ACEOF
62095
62096 fi
62097 done
62098
62099   else
62100
62101   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62102 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62103   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62104     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62105   echo $ECHO_N "(cached) $ECHO_C" >&6
62106 else
62107
62108
62109
62110       ac_ext=cc
62111 ac_cpp='$CXXCPP $CPPFLAGS'
62112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62115
62116       cat >conftest.$ac_ext <<_ACEOF
62117 /* confdefs.h.  */
62118 _ACEOF
62119 cat confdefs.h >>conftest.$ac_ext
62120 cat >>conftest.$ac_ext <<_ACEOF
62121 /* end confdefs.h.  */
62122 #include <math.h>
62123                       #ifdef HAVE_IEEEFP_H
62124                       #include <ieeefp.h>
62125                       #endif
62126
62127 int
62128 main ()
62129 {
62130  _sqrtf(0);
62131   ;
62132   return 0;
62133 }
62134 _ACEOF
62135 rm -f conftest.$ac_objext
62136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62137   (eval $ac_compile) 2>conftest.er1
62138   ac_status=$?
62139   grep -v '^ *+' conftest.er1 >conftest.err
62140   rm -f conftest.er1
62141   cat conftest.err >&5
62142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62143   (exit $ac_status); } &&
62144          { ac_try='test -z "$ac_cxx_werror_flag"
62145                          || test ! -s conftest.err'
62146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62147   (eval $ac_try) 2>&5
62148   ac_status=$?
62149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62150   (exit $ac_status); }; } &&
62151          { ac_try='test -s conftest.$ac_objext'
62152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62153   (eval $ac_try) 2>&5
62154   ac_status=$?
62155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62156   (exit $ac_status); }; }; then
62157   glibcxx_cv_func__sqrtf_use=yes
62158 else
62159   echo "$as_me: failed program was:" >&5
62160 sed 's/^/| /' conftest.$ac_ext >&5
62161
62162 glibcxx_cv_func__sqrtf_use=no
62163 fi
62164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62165       ac_ext=c
62166 ac_cpp='$CPP $CPPFLAGS'
62167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62170
62171
62172 fi
62173
62174   fi
62175   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62176 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62177
62178     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62179
62180 for ac_func in _sqrtf
62181 do
62182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62183 echo "$as_me:$LINENO: checking for $ac_func" >&5
62184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62185 if eval "test \"\${$as_ac_var+set}\" = set"; then
62186   echo $ECHO_N "(cached) $ECHO_C" >&6
62187 else
62188   if test x$gcc_no_link = xyes; then
62189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62191    { (exit 1); exit 1; }; }
62192 fi
62193 cat >conftest.$ac_ext <<_ACEOF
62194 /* confdefs.h.  */
62195 _ACEOF
62196 cat confdefs.h >>conftest.$ac_ext
62197 cat >>conftest.$ac_ext <<_ACEOF
62198 /* end confdefs.h.  */
62199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62201 #define $ac_func innocuous_$ac_func
62202
62203 /* System header to define __stub macros and hopefully few prototypes,
62204     which can conflict with char $ac_func (); below.
62205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62206     <limits.h> exists even on freestanding compilers.  */
62207
62208 #ifdef __STDC__
62209 # include <limits.h>
62210 #else
62211 # include <assert.h>
62212 #endif
62213
62214 #undef $ac_func
62215
62216 /* Override any gcc2 internal prototype to avoid an error.  */
62217 #ifdef __cplusplus
62218 extern "C"
62219 {
62220 #endif
62221 /* We use char because int might match the return type of a gcc2
62222    builtin and then its argument prototype would still apply.  */
62223 char $ac_func ();
62224 /* The GNU C library defines this for functions which it implements
62225     to always fail with ENOSYS.  Some functions are actually named
62226     something starting with __ and the normal name is an alias.  */
62227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62228 choke me
62229 #else
62230 char (*f) () = $ac_func;
62231 #endif
62232 #ifdef __cplusplus
62233 }
62234 #endif
62235
62236 int
62237 main ()
62238 {
62239 return f != $ac_func;
62240   ;
62241   return 0;
62242 }
62243 _ACEOF
62244 rm -f conftest.$ac_objext conftest$ac_exeext
62245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62246   (eval $ac_link) 2>conftest.er1
62247   ac_status=$?
62248   grep -v '^ *+' conftest.er1 >conftest.err
62249   rm -f conftest.er1
62250   cat conftest.err >&5
62251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62252   (exit $ac_status); } &&
62253          { ac_try='test -z "$ac_c_werror_flag"
62254                          || test ! -s conftest.err'
62255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62256   (eval $ac_try) 2>&5
62257   ac_status=$?
62258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62259   (exit $ac_status); }; } &&
62260          { ac_try='test -s conftest$ac_exeext'
62261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62262   (eval $ac_try) 2>&5
62263   ac_status=$?
62264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62265   (exit $ac_status); }; }; then
62266   eval "$as_ac_var=yes"
62267 else
62268   echo "$as_me: failed program was:" >&5
62269 sed 's/^/| /' conftest.$ac_ext >&5
62270
62271 eval "$as_ac_var=no"
62272 fi
62273 rm -f conftest.err conftest.$ac_objext \
62274       conftest$ac_exeext conftest.$ac_ext
62275 fi
62276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62278 if test `eval echo '${'$as_ac_var'}'` = yes; then
62279   cat >>confdefs.h <<_ACEOF
62280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62281 _ACEOF
62282
62283 fi
62284 done
62285
62286     fi
62287   fi
62288
62289
62290
62291   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62292 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62293   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62294     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62295   echo $ECHO_N "(cached) $ECHO_C" >&6
62296 else
62297
62298
62299
62300       ac_ext=cc
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305
62306       cat >conftest.$ac_ext <<_ACEOF
62307 /* confdefs.h.  */
62308 _ACEOF
62309 cat confdefs.h >>conftest.$ac_ext
62310 cat >>conftest.$ac_ext <<_ACEOF
62311 /* end confdefs.h.  */
62312 #include <math.h>
62313 int
62314 main ()
62315 {
62316  sincosf(0, 0, 0);
62317   ;
62318   return 0;
62319 }
62320 _ACEOF
62321 rm -f conftest.$ac_objext
62322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62323   (eval $ac_compile) 2>conftest.er1
62324   ac_status=$?
62325   grep -v '^ *+' conftest.er1 >conftest.err
62326   rm -f conftest.er1
62327   cat conftest.err >&5
62328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329   (exit $ac_status); } &&
62330          { ac_try='test -z "$ac_cxx_werror_flag"
62331                          || test ! -s conftest.err'
62332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62333   (eval $ac_try) 2>&5
62334   ac_status=$?
62335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62336   (exit $ac_status); }; } &&
62337          { ac_try='test -s conftest.$ac_objext'
62338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62339   (eval $ac_try) 2>&5
62340   ac_status=$?
62341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342   (exit $ac_status); }; }; then
62343   glibcxx_cv_func_sincosf_use=yes
62344 else
62345   echo "$as_me: failed program was:" >&5
62346 sed 's/^/| /' conftest.$ac_ext >&5
62347
62348 glibcxx_cv_func_sincosf_use=no
62349 fi
62350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62351       ac_ext=c
62352 ac_cpp='$CPP $CPPFLAGS'
62353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62356
62357
62358 fi
62359
62360   fi
62361   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62362 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62363
62364   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62365
62366 for ac_func in sincosf
62367 do
62368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62369 echo "$as_me:$LINENO: checking for $ac_func" >&5
62370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62371 if eval "test \"\${$as_ac_var+set}\" = set"; then
62372   echo $ECHO_N "(cached) $ECHO_C" >&6
62373 else
62374   if test x$gcc_no_link = xyes; then
62375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62377    { (exit 1); exit 1; }; }
62378 fi
62379 cat >conftest.$ac_ext <<_ACEOF
62380 /* confdefs.h.  */
62381 _ACEOF
62382 cat confdefs.h >>conftest.$ac_ext
62383 cat >>conftest.$ac_ext <<_ACEOF
62384 /* end confdefs.h.  */
62385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62387 #define $ac_func innocuous_$ac_func
62388
62389 /* System header to define __stub macros and hopefully few prototypes,
62390     which can conflict with char $ac_func (); below.
62391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62392     <limits.h> exists even on freestanding compilers.  */
62393
62394 #ifdef __STDC__
62395 # include <limits.h>
62396 #else
62397 # include <assert.h>
62398 #endif
62399
62400 #undef $ac_func
62401
62402 /* Override any gcc2 internal prototype to avoid an error.  */
62403 #ifdef __cplusplus
62404 extern "C"
62405 {
62406 #endif
62407 /* We use char because int might match the return type of a gcc2
62408    builtin and then its argument prototype would still apply.  */
62409 char $ac_func ();
62410 /* The GNU C library defines this for functions which it implements
62411     to always fail with ENOSYS.  Some functions are actually named
62412     something starting with __ and the normal name is an alias.  */
62413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62414 choke me
62415 #else
62416 char (*f) () = $ac_func;
62417 #endif
62418 #ifdef __cplusplus
62419 }
62420 #endif
62421
62422 int
62423 main ()
62424 {
62425 return f != $ac_func;
62426   ;
62427   return 0;
62428 }
62429 _ACEOF
62430 rm -f conftest.$ac_objext conftest$ac_exeext
62431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62432   (eval $ac_link) 2>conftest.er1
62433   ac_status=$?
62434   grep -v '^ *+' conftest.er1 >conftest.err
62435   rm -f conftest.er1
62436   cat conftest.err >&5
62437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62438   (exit $ac_status); } &&
62439          { ac_try='test -z "$ac_c_werror_flag"
62440                          || test ! -s conftest.err'
62441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62442   (eval $ac_try) 2>&5
62443   ac_status=$?
62444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62445   (exit $ac_status); }; } &&
62446          { ac_try='test -s conftest$ac_exeext'
62447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62448   (eval $ac_try) 2>&5
62449   ac_status=$?
62450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62451   (exit $ac_status); }; }; then
62452   eval "$as_ac_var=yes"
62453 else
62454   echo "$as_me: failed program was:" >&5
62455 sed 's/^/| /' conftest.$ac_ext >&5
62456
62457 eval "$as_ac_var=no"
62458 fi
62459 rm -f conftest.err conftest.$ac_objext \
62460       conftest$ac_exeext conftest.$ac_ext
62461 fi
62462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62464 if test `eval echo '${'$as_ac_var'}'` = yes; then
62465   cat >>confdefs.h <<_ACEOF
62466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62467 _ACEOF
62468
62469 fi
62470 done
62471
62472   else
62473
62474   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62475 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62476   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62477     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62478   echo $ECHO_N "(cached) $ECHO_C" >&6
62479 else
62480
62481
62482
62483       ac_ext=cc
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62488
62489       cat >conftest.$ac_ext <<_ACEOF
62490 /* confdefs.h.  */
62491 _ACEOF
62492 cat confdefs.h >>conftest.$ac_ext
62493 cat >>conftest.$ac_ext <<_ACEOF
62494 /* end confdefs.h.  */
62495 #include <math.h>
62496 int
62497 main ()
62498 {
62499  _sincosf(0, 0, 0);
62500   ;
62501   return 0;
62502 }
62503 _ACEOF
62504 rm -f conftest.$ac_objext
62505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62506   (eval $ac_compile) 2>conftest.er1
62507   ac_status=$?
62508   grep -v '^ *+' conftest.er1 >conftest.err
62509   rm -f conftest.er1
62510   cat conftest.err >&5
62511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62512   (exit $ac_status); } &&
62513          { ac_try='test -z "$ac_cxx_werror_flag"
62514                          || test ! -s conftest.err'
62515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62516   (eval $ac_try) 2>&5
62517   ac_status=$?
62518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62519   (exit $ac_status); }; } &&
62520          { ac_try='test -s conftest.$ac_objext'
62521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62522   (eval $ac_try) 2>&5
62523   ac_status=$?
62524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62525   (exit $ac_status); }; }; then
62526   glibcxx_cv_func__sincosf_use=yes
62527 else
62528   echo "$as_me: failed program was:" >&5
62529 sed 's/^/| /' conftest.$ac_ext >&5
62530
62531 glibcxx_cv_func__sincosf_use=no
62532 fi
62533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62534       ac_ext=c
62535 ac_cpp='$CPP $CPPFLAGS'
62536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62539
62540
62541 fi
62542
62543   fi
62544   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62545 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62546
62547     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62548
62549 for ac_func in _sincosf
62550 do
62551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62552 echo "$as_me:$LINENO: checking for $ac_func" >&5
62553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62554 if eval "test \"\${$as_ac_var+set}\" = set"; then
62555   echo $ECHO_N "(cached) $ECHO_C" >&6
62556 else
62557   if test x$gcc_no_link = xyes; then
62558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62560    { (exit 1); exit 1; }; }
62561 fi
62562 cat >conftest.$ac_ext <<_ACEOF
62563 /* confdefs.h.  */
62564 _ACEOF
62565 cat confdefs.h >>conftest.$ac_ext
62566 cat >>conftest.$ac_ext <<_ACEOF
62567 /* end confdefs.h.  */
62568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62570 #define $ac_func innocuous_$ac_func
62571
62572 /* System header to define __stub macros and hopefully few prototypes,
62573     which can conflict with char $ac_func (); below.
62574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62575     <limits.h> exists even on freestanding compilers.  */
62576
62577 #ifdef __STDC__
62578 # include <limits.h>
62579 #else
62580 # include <assert.h>
62581 #endif
62582
62583 #undef $ac_func
62584
62585 /* Override any gcc2 internal prototype to avoid an error.  */
62586 #ifdef __cplusplus
62587 extern "C"
62588 {
62589 #endif
62590 /* We use char because int might match the return type of a gcc2
62591    builtin and then its argument prototype would still apply.  */
62592 char $ac_func ();
62593 /* The GNU C library defines this for functions which it implements
62594     to always fail with ENOSYS.  Some functions are actually named
62595     something starting with __ and the normal name is an alias.  */
62596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62597 choke me
62598 #else
62599 char (*f) () = $ac_func;
62600 #endif
62601 #ifdef __cplusplus
62602 }
62603 #endif
62604
62605 int
62606 main ()
62607 {
62608 return f != $ac_func;
62609   ;
62610   return 0;
62611 }
62612 _ACEOF
62613 rm -f conftest.$ac_objext conftest$ac_exeext
62614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62615   (eval $ac_link) 2>conftest.er1
62616   ac_status=$?
62617   grep -v '^ *+' conftest.er1 >conftest.err
62618   rm -f conftest.er1
62619   cat conftest.err >&5
62620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62621   (exit $ac_status); } &&
62622          { ac_try='test -z "$ac_c_werror_flag"
62623                          || test ! -s conftest.err'
62624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62625   (eval $ac_try) 2>&5
62626   ac_status=$?
62627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62628   (exit $ac_status); }; } &&
62629          { ac_try='test -s conftest$ac_exeext'
62630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62631   (eval $ac_try) 2>&5
62632   ac_status=$?
62633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62634   (exit $ac_status); }; }; then
62635   eval "$as_ac_var=yes"
62636 else
62637   echo "$as_me: failed program was:" >&5
62638 sed 's/^/| /' conftest.$ac_ext >&5
62639
62640 eval "$as_ac_var=no"
62641 fi
62642 rm -f conftest.err conftest.$ac_objext \
62643       conftest$ac_exeext conftest.$ac_ext
62644 fi
62645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62647 if test `eval echo '${'$as_ac_var'}'` = yes; then
62648   cat >>confdefs.h <<_ACEOF
62649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62650 _ACEOF
62651
62652 fi
62653 done
62654
62655     fi
62656   fi
62657
62658
62659
62660   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62661 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62662   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62663     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62664   echo $ECHO_N "(cached) $ECHO_C" >&6
62665 else
62666
62667
62668
62669       ac_ext=cc
62670 ac_cpp='$CXXCPP $CPPFLAGS'
62671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62674
62675       cat >conftest.$ac_ext <<_ACEOF
62676 /* confdefs.h.  */
62677 _ACEOF
62678 cat confdefs.h >>conftest.$ac_ext
62679 cat >>conftest.$ac_ext <<_ACEOF
62680 /* end confdefs.h.  */
62681 #include <math.h>
62682                       #ifdef HAVE_IEEEFP_H
62683                       #include <ieeefp.h>
62684                       #endif
62685
62686 int
62687 main ()
62688 {
62689  finitef(0);
62690   ;
62691   return 0;
62692 }
62693 _ACEOF
62694 rm -f conftest.$ac_objext
62695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62696   (eval $ac_compile) 2>conftest.er1
62697   ac_status=$?
62698   grep -v '^ *+' conftest.er1 >conftest.err
62699   rm -f conftest.er1
62700   cat conftest.err >&5
62701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62702   (exit $ac_status); } &&
62703          { ac_try='test -z "$ac_cxx_werror_flag"
62704                          || test ! -s conftest.err'
62705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62706   (eval $ac_try) 2>&5
62707   ac_status=$?
62708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62709   (exit $ac_status); }; } &&
62710          { ac_try='test -s conftest.$ac_objext'
62711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62712   (eval $ac_try) 2>&5
62713   ac_status=$?
62714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62715   (exit $ac_status); }; }; then
62716   glibcxx_cv_func_finitef_use=yes
62717 else
62718   echo "$as_me: failed program was:" >&5
62719 sed 's/^/| /' conftest.$ac_ext >&5
62720
62721 glibcxx_cv_func_finitef_use=no
62722 fi
62723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62724       ac_ext=c
62725 ac_cpp='$CPP $CPPFLAGS'
62726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62729
62730
62731 fi
62732
62733   fi
62734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62735 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62736
62737   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62738
62739 for ac_func in finitef
62740 do
62741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62742 echo "$as_me:$LINENO: checking for $ac_func" >&5
62743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62744 if eval "test \"\${$as_ac_var+set}\" = set"; then
62745   echo $ECHO_N "(cached) $ECHO_C" >&6
62746 else
62747   if test x$gcc_no_link = xyes; then
62748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62750    { (exit 1); exit 1; }; }
62751 fi
62752 cat >conftest.$ac_ext <<_ACEOF
62753 /* confdefs.h.  */
62754 _ACEOF
62755 cat confdefs.h >>conftest.$ac_ext
62756 cat >>conftest.$ac_ext <<_ACEOF
62757 /* end confdefs.h.  */
62758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62760 #define $ac_func innocuous_$ac_func
62761
62762 /* System header to define __stub macros and hopefully few prototypes,
62763     which can conflict with char $ac_func (); below.
62764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62765     <limits.h> exists even on freestanding compilers.  */
62766
62767 #ifdef __STDC__
62768 # include <limits.h>
62769 #else
62770 # include <assert.h>
62771 #endif
62772
62773 #undef $ac_func
62774
62775 /* Override any gcc2 internal prototype to avoid an error.  */
62776 #ifdef __cplusplus
62777 extern "C"
62778 {
62779 #endif
62780 /* We use char because int might match the return type of a gcc2
62781    builtin and then its argument prototype would still apply.  */
62782 char $ac_func ();
62783 /* The GNU C library defines this for functions which it implements
62784     to always fail with ENOSYS.  Some functions are actually named
62785     something starting with __ and the normal name is an alias.  */
62786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62787 choke me
62788 #else
62789 char (*f) () = $ac_func;
62790 #endif
62791 #ifdef __cplusplus
62792 }
62793 #endif
62794
62795 int
62796 main ()
62797 {
62798 return f != $ac_func;
62799   ;
62800   return 0;
62801 }
62802 _ACEOF
62803 rm -f conftest.$ac_objext conftest$ac_exeext
62804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62805   (eval $ac_link) 2>conftest.er1
62806   ac_status=$?
62807   grep -v '^ *+' conftest.er1 >conftest.err
62808   rm -f conftest.er1
62809   cat conftest.err >&5
62810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62811   (exit $ac_status); } &&
62812          { ac_try='test -z "$ac_c_werror_flag"
62813                          || test ! -s conftest.err'
62814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62815   (eval $ac_try) 2>&5
62816   ac_status=$?
62817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62818   (exit $ac_status); }; } &&
62819          { ac_try='test -s conftest$ac_exeext'
62820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62821   (eval $ac_try) 2>&5
62822   ac_status=$?
62823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62824   (exit $ac_status); }; }; then
62825   eval "$as_ac_var=yes"
62826 else
62827   echo "$as_me: failed program was:" >&5
62828 sed 's/^/| /' conftest.$ac_ext >&5
62829
62830 eval "$as_ac_var=no"
62831 fi
62832 rm -f conftest.err conftest.$ac_objext \
62833       conftest$ac_exeext conftest.$ac_ext
62834 fi
62835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62837 if test `eval echo '${'$as_ac_var'}'` = yes; then
62838   cat >>confdefs.h <<_ACEOF
62839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62840 _ACEOF
62841
62842 fi
62843 done
62844
62845   else
62846
62847   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62848 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62849   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62850     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62851   echo $ECHO_N "(cached) $ECHO_C" >&6
62852 else
62853
62854
62855
62856       ac_ext=cc
62857 ac_cpp='$CXXCPP $CPPFLAGS'
62858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62861
62862       cat >conftest.$ac_ext <<_ACEOF
62863 /* confdefs.h.  */
62864 _ACEOF
62865 cat confdefs.h >>conftest.$ac_ext
62866 cat >>conftest.$ac_ext <<_ACEOF
62867 /* end confdefs.h.  */
62868 #include <math.h>
62869                       #ifdef HAVE_IEEEFP_H
62870                       #include <ieeefp.h>
62871                       #endif
62872
62873 int
62874 main ()
62875 {
62876  _finitef(0);
62877   ;
62878   return 0;
62879 }
62880 _ACEOF
62881 rm -f conftest.$ac_objext
62882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62883   (eval $ac_compile) 2>conftest.er1
62884   ac_status=$?
62885   grep -v '^ *+' conftest.er1 >conftest.err
62886   rm -f conftest.er1
62887   cat conftest.err >&5
62888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62889   (exit $ac_status); } &&
62890          { ac_try='test -z "$ac_cxx_werror_flag"
62891                          || test ! -s conftest.err'
62892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62893   (eval $ac_try) 2>&5
62894   ac_status=$?
62895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62896   (exit $ac_status); }; } &&
62897          { ac_try='test -s conftest.$ac_objext'
62898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62899   (eval $ac_try) 2>&5
62900   ac_status=$?
62901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62902   (exit $ac_status); }; }; then
62903   glibcxx_cv_func__finitef_use=yes
62904 else
62905   echo "$as_me: failed program was:" >&5
62906 sed 's/^/| /' conftest.$ac_ext >&5
62907
62908 glibcxx_cv_func__finitef_use=no
62909 fi
62910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62911       ac_ext=c
62912 ac_cpp='$CPP $CPPFLAGS'
62913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62916
62917
62918 fi
62919
62920   fi
62921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62922 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62923
62924     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62925
62926 for ac_func in _finitef
62927 do
62928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62929 echo "$as_me:$LINENO: checking for $ac_func" >&5
62930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62931 if eval "test \"\${$as_ac_var+set}\" = set"; then
62932   echo $ECHO_N "(cached) $ECHO_C" >&6
62933 else
62934   if test x$gcc_no_link = xyes; then
62935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62937    { (exit 1); exit 1; }; }
62938 fi
62939 cat >conftest.$ac_ext <<_ACEOF
62940 /* confdefs.h.  */
62941 _ACEOF
62942 cat confdefs.h >>conftest.$ac_ext
62943 cat >>conftest.$ac_ext <<_ACEOF
62944 /* end confdefs.h.  */
62945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62947 #define $ac_func innocuous_$ac_func
62948
62949 /* System header to define __stub macros and hopefully few prototypes,
62950     which can conflict with char $ac_func (); below.
62951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62952     <limits.h> exists even on freestanding compilers.  */
62953
62954 #ifdef __STDC__
62955 # include <limits.h>
62956 #else
62957 # include <assert.h>
62958 #endif
62959
62960 #undef $ac_func
62961
62962 /* Override any gcc2 internal prototype to avoid an error.  */
62963 #ifdef __cplusplus
62964 extern "C"
62965 {
62966 #endif
62967 /* We use char because int might match the return type of a gcc2
62968    builtin and then its argument prototype would still apply.  */
62969 char $ac_func ();
62970 /* The GNU C library defines this for functions which it implements
62971     to always fail with ENOSYS.  Some functions are actually named
62972     something starting with __ and the normal name is an alias.  */
62973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62974 choke me
62975 #else
62976 char (*f) () = $ac_func;
62977 #endif
62978 #ifdef __cplusplus
62979 }
62980 #endif
62981
62982 int
62983 main ()
62984 {
62985 return f != $ac_func;
62986   ;
62987   return 0;
62988 }
62989 _ACEOF
62990 rm -f conftest.$ac_objext conftest$ac_exeext
62991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62992   (eval $ac_link) 2>conftest.er1
62993   ac_status=$?
62994   grep -v '^ *+' conftest.er1 >conftest.err
62995   rm -f conftest.er1
62996   cat conftest.err >&5
62997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62998   (exit $ac_status); } &&
62999          { ac_try='test -z "$ac_c_werror_flag"
63000                          || test ! -s conftest.err'
63001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63002   (eval $ac_try) 2>&5
63003   ac_status=$?
63004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63005   (exit $ac_status); }; } &&
63006          { ac_try='test -s conftest$ac_exeext'
63007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63008   (eval $ac_try) 2>&5
63009   ac_status=$?
63010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63011   (exit $ac_status); }; }; then
63012   eval "$as_ac_var=yes"
63013 else
63014   echo "$as_me: failed program was:" >&5
63015 sed 's/^/| /' conftest.$ac_ext >&5
63016
63017 eval "$as_ac_var=no"
63018 fi
63019 rm -f conftest.err conftest.$ac_objext \
63020       conftest$ac_exeext conftest.$ac_ext
63021 fi
63022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63024 if test `eval echo '${'$as_ac_var'}'` = yes; then
63025   cat >>confdefs.h <<_ACEOF
63026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63027 _ACEOF
63028
63029 fi
63030 done
63031
63032     fi
63033   fi
63034
63035
63036
63037   echo "$as_me:$LINENO: checking for long double trig functions" >&5
63038 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63039   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63040   echo $ECHO_N "(cached) $ECHO_C" >&6
63041 else
63042
63043
63044
63045     ac_ext=cc
63046 ac_cpp='$CXXCPP $CPPFLAGS'
63047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63050
63051     cat >conftest.$ac_ext <<_ACEOF
63052 /* confdefs.h.  */
63053 _ACEOF
63054 cat confdefs.h >>conftest.$ac_ext
63055 cat >>conftest.$ac_ext <<_ACEOF
63056 /* end confdefs.h.  */
63057 #include <math.h>
63058 int
63059 main ()
63060 {
63061  `for x in acosl asinl atanl \
63062                                           cosl sinl tanl \
63063                                           coshl sinhl tanhl; do echo "$x (0);"; done`
63064   ;
63065   return 0;
63066 }
63067 _ACEOF
63068 rm -f conftest.$ac_objext
63069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63070   (eval $ac_compile) 2>conftest.er1
63071   ac_status=$?
63072   grep -v '^ *+' conftest.er1 >conftest.err
63073   rm -f conftest.er1
63074   cat conftest.err >&5
63075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63076   (exit $ac_status); } &&
63077          { ac_try='test -z "$ac_cxx_werror_flag"
63078                          || test ! -s conftest.err'
63079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63080   (eval $ac_try) 2>&5
63081   ac_status=$?
63082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63083   (exit $ac_status); }; } &&
63084          { ac_try='test -s conftest.$ac_objext'
63085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63086   (eval $ac_try) 2>&5
63087   ac_status=$?
63088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63089   (exit $ac_status); }; }; then
63090   glibcxx_cv_func_long_double_trig_use=yes
63091 else
63092   echo "$as_me: failed program was:" >&5
63093 sed 's/^/| /' conftest.$ac_ext >&5
63094
63095 glibcxx_cv_func_long_double_trig_use=no
63096 fi
63097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63098     ac_ext=c
63099 ac_cpp='$CPP $CPPFLAGS'
63100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63103
63104 fi
63105
63106   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63107 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63108   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63109
63110
63111
63112
63113
63114
63115
63116
63117
63118 for ac_func in acosl asinl atanl \
63119                                           cosl sinl tanl \
63120                                           coshl sinhl tanhl
63121 do
63122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63123 echo "$as_me:$LINENO: checking for $ac_func" >&5
63124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63125 if eval "test \"\${$as_ac_var+set}\" = set"; then
63126   echo $ECHO_N "(cached) $ECHO_C" >&6
63127 else
63128   if test x$gcc_no_link = xyes; then
63129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63131    { (exit 1); exit 1; }; }
63132 fi
63133 cat >conftest.$ac_ext <<_ACEOF
63134 /* confdefs.h.  */
63135 _ACEOF
63136 cat confdefs.h >>conftest.$ac_ext
63137 cat >>conftest.$ac_ext <<_ACEOF
63138 /* end confdefs.h.  */
63139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63141 #define $ac_func innocuous_$ac_func
63142
63143 /* System header to define __stub macros and hopefully few prototypes,
63144     which can conflict with char $ac_func (); below.
63145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63146     <limits.h> exists even on freestanding compilers.  */
63147
63148 #ifdef __STDC__
63149 # include <limits.h>
63150 #else
63151 # include <assert.h>
63152 #endif
63153
63154 #undef $ac_func
63155
63156 /* Override any gcc2 internal prototype to avoid an error.  */
63157 #ifdef __cplusplus
63158 extern "C"
63159 {
63160 #endif
63161 /* We use char because int might match the return type of a gcc2
63162    builtin and then its argument prototype would still apply.  */
63163 char $ac_func ();
63164 /* The GNU C library defines this for functions which it implements
63165     to always fail with ENOSYS.  Some functions are actually named
63166     something starting with __ and the normal name is an alias.  */
63167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63168 choke me
63169 #else
63170 char (*f) () = $ac_func;
63171 #endif
63172 #ifdef __cplusplus
63173 }
63174 #endif
63175
63176 int
63177 main ()
63178 {
63179 return f != $ac_func;
63180   ;
63181   return 0;
63182 }
63183 _ACEOF
63184 rm -f conftest.$ac_objext conftest$ac_exeext
63185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63186   (eval $ac_link) 2>conftest.er1
63187   ac_status=$?
63188   grep -v '^ *+' conftest.er1 >conftest.err
63189   rm -f conftest.er1
63190   cat conftest.err >&5
63191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63192   (exit $ac_status); } &&
63193          { ac_try='test -z "$ac_c_werror_flag"
63194                          || test ! -s conftest.err'
63195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63196   (eval $ac_try) 2>&5
63197   ac_status=$?
63198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63199   (exit $ac_status); }; } &&
63200          { ac_try='test -s conftest$ac_exeext'
63201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63202   (eval $ac_try) 2>&5
63203   ac_status=$?
63204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63205   (exit $ac_status); }; }; then
63206   eval "$as_ac_var=yes"
63207 else
63208   echo "$as_me: failed program was:" >&5
63209 sed 's/^/| /' conftest.$ac_ext >&5
63210
63211 eval "$as_ac_var=no"
63212 fi
63213 rm -f conftest.err conftest.$ac_objext \
63214       conftest$ac_exeext conftest.$ac_ext
63215 fi
63216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63218 if test `eval echo '${'$as_ac_var'}'` = yes; then
63219   cat >>confdefs.h <<_ACEOF
63220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63221 _ACEOF
63222
63223 fi
63224 done
63225
63226   fi
63227
63228
63229   echo "$as_me:$LINENO: checking for long double round functions" >&5
63230 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63231   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63232   echo $ECHO_N "(cached) $ECHO_C" >&6
63233 else
63234
63235
63236
63237     ac_ext=cc
63238 ac_cpp='$CXXCPP $CPPFLAGS'
63239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63242
63243     cat >conftest.$ac_ext <<_ACEOF
63244 /* confdefs.h.  */
63245 _ACEOF
63246 cat confdefs.h >>conftest.$ac_ext
63247 cat >>conftest.$ac_ext <<_ACEOF
63248 /* end confdefs.h.  */
63249 #include <math.h>
63250 int
63251 main ()
63252 {
63253  `for x in ceill floorl; do echo "$x (0);"; done`
63254   ;
63255   return 0;
63256 }
63257 _ACEOF
63258 rm -f conftest.$ac_objext
63259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63260   (eval $ac_compile) 2>conftest.er1
63261   ac_status=$?
63262   grep -v '^ *+' conftest.er1 >conftest.err
63263   rm -f conftest.er1
63264   cat conftest.err >&5
63265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63266   (exit $ac_status); } &&
63267          { ac_try='test -z "$ac_cxx_werror_flag"
63268                          || test ! -s conftest.err'
63269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63270   (eval $ac_try) 2>&5
63271   ac_status=$?
63272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63273   (exit $ac_status); }; } &&
63274          { ac_try='test -s conftest.$ac_objext'
63275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63276   (eval $ac_try) 2>&5
63277   ac_status=$?
63278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63279   (exit $ac_status); }; }; then
63280   glibcxx_cv_func_long_double_round_use=yes
63281 else
63282   echo "$as_me: failed program was:" >&5
63283 sed 's/^/| /' conftest.$ac_ext >&5
63284
63285 glibcxx_cv_func_long_double_round_use=no
63286 fi
63287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63288     ac_ext=c
63289 ac_cpp='$CPP $CPPFLAGS'
63290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63293
63294 fi
63295
63296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63297 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63298   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63299
63300
63301 for ac_func in ceill floorl
63302 do
63303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63304 echo "$as_me:$LINENO: checking for $ac_func" >&5
63305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63306 if eval "test \"\${$as_ac_var+set}\" = set"; then
63307   echo $ECHO_N "(cached) $ECHO_C" >&6
63308 else
63309   if test x$gcc_no_link = xyes; then
63310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63312    { (exit 1); exit 1; }; }
63313 fi
63314 cat >conftest.$ac_ext <<_ACEOF
63315 /* confdefs.h.  */
63316 _ACEOF
63317 cat confdefs.h >>conftest.$ac_ext
63318 cat >>conftest.$ac_ext <<_ACEOF
63319 /* end confdefs.h.  */
63320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63322 #define $ac_func innocuous_$ac_func
63323
63324 /* System header to define __stub macros and hopefully few prototypes,
63325     which can conflict with char $ac_func (); below.
63326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63327     <limits.h> exists even on freestanding compilers.  */
63328
63329 #ifdef __STDC__
63330 # include <limits.h>
63331 #else
63332 # include <assert.h>
63333 #endif
63334
63335 #undef $ac_func
63336
63337 /* Override any gcc2 internal prototype to avoid an error.  */
63338 #ifdef __cplusplus
63339 extern "C"
63340 {
63341 #endif
63342 /* We use char because int might match the return type of a gcc2
63343    builtin and then its argument prototype would still apply.  */
63344 char $ac_func ();
63345 /* The GNU C library defines this for functions which it implements
63346     to always fail with ENOSYS.  Some functions are actually named
63347     something starting with __ and the normal name is an alias.  */
63348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63349 choke me
63350 #else
63351 char (*f) () = $ac_func;
63352 #endif
63353 #ifdef __cplusplus
63354 }
63355 #endif
63356
63357 int
63358 main ()
63359 {
63360 return f != $ac_func;
63361   ;
63362   return 0;
63363 }
63364 _ACEOF
63365 rm -f conftest.$ac_objext conftest$ac_exeext
63366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63367   (eval $ac_link) 2>conftest.er1
63368   ac_status=$?
63369   grep -v '^ *+' conftest.er1 >conftest.err
63370   rm -f conftest.er1
63371   cat conftest.err >&5
63372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63373   (exit $ac_status); } &&
63374          { ac_try='test -z "$ac_c_werror_flag"
63375                          || test ! -s conftest.err'
63376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63377   (eval $ac_try) 2>&5
63378   ac_status=$?
63379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63380   (exit $ac_status); }; } &&
63381          { ac_try='test -s conftest$ac_exeext'
63382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63383   (eval $ac_try) 2>&5
63384   ac_status=$?
63385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63386   (exit $ac_status); }; }; then
63387   eval "$as_ac_var=yes"
63388 else
63389   echo "$as_me: failed program was:" >&5
63390 sed 's/^/| /' conftest.$ac_ext >&5
63391
63392 eval "$as_ac_var=no"
63393 fi
63394 rm -f conftest.err conftest.$ac_objext \
63395       conftest$ac_exeext conftest.$ac_ext
63396 fi
63397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63399 if test `eval echo '${'$as_ac_var'}'` = yes; then
63400   cat >>confdefs.h <<_ACEOF
63401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63402 _ACEOF
63403
63404 fi
63405 done
63406
63407   fi
63408
63409
63410
63411   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63412 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63413   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63414     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63415   echo $ECHO_N "(cached) $ECHO_C" >&6
63416 else
63417
63418
63419
63420       ac_ext=cc
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63425
63426       cat >conftest.$ac_ext <<_ACEOF
63427 /* confdefs.h.  */
63428 _ACEOF
63429 cat confdefs.h >>conftest.$ac_ext
63430 cat >>conftest.$ac_ext <<_ACEOF
63431 /* end confdefs.h.  */
63432 #include <math.h>
63433                       #ifdef HAVE_IEEEFP_H
63434                       #include <ieeefp.h>
63435                       #endif
63436
63437 int
63438 main ()
63439 {
63440  isnanl(0);
63441   ;
63442   return 0;
63443 }
63444 _ACEOF
63445 rm -f conftest.$ac_objext
63446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63447   (eval $ac_compile) 2>conftest.er1
63448   ac_status=$?
63449   grep -v '^ *+' conftest.er1 >conftest.err
63450   rm -f conftest.er1
63451   cat conftest.err >&5
63452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63453   (exit $ac_status); } &&
63454          { ac_try='test -z "$ac_cxx_werror_flag"
63455                          || test ! -s conftest.err'
63456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63457   (eval $ac_try) 2>&5
63458   ac_status=$?
63459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63460   (exit $ac_status); }; } &&
63461          { ac_try='test -s conftest.$ac_objext'
63462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63463   (eval $ac_try) 2>&5
63464   ac_status=$?
63465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63466   (exit $ac_status); }; }; then
63467   glibcxx_cv_func_isnanl_use=yes
63468 else
63469   echo "$as_me: failed program was:" >&5
63470 sed 's/^/| /' conftest.$ac_ext >&5
63471
63472 glibcxx_cv_func_isnanl_use=no
63473 fi
63474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63475       ac_ext=c
63476 ac_cpp='$CPP $CPPFLAGS'
63477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63480
63481
63482 fi
63483
63484   fi
63485   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63486 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63487
63488   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63489
63490 for ac_func in isnanl
63491 do
63492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63493 echo "$as_me:$LINENO: checking for $ac_func" >&5
63494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63495 if eval "test \"\${$as_ac_var+set}\" = set"; then
63496   echo $ECHO_N "(cached) $ECHO_C" >&6
63497 else
63498   if test x$gcc_no_link = xyes; then
63499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63501    { (exit 1); exit 1; }; }
63502 fi
63503 cat >conftest.$ac_ext <<_ACEOF
63504 /* confdefs.h.  */
63505 _ACEOF
63506 cat confdefs.h >>conftest.$ac_ext
63507 cat >>conftest.$ac_ext <<_ACEOF
63508 /* end confdefs.h.  */
63509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63511 #define $ac_func innocuous_$ac_func
63512
63513 /* System header to define __stub macros and hopefully few prototypes,
63514     which can conflict with char $ac_func (); below.
63515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63516     <limits.h> exists even on freestanding compilers.  */
63517
63518 #ifdef __STDC__
63519 # include <limits.h>
63520 #else
63521 # include <assert.h>
63522 #endif
63523
63524 #undef $ac_func
63525
63526 /* Override any gcc2 internal prototype to avoid an error.  */
63527 #ifdef __cplusplus
63528 extern "C"
63529 {
63530 #endif
63531 /* We use char because int might match the return type of a gcc2
63532    builtin and then its argument prototype would still apply.  */
63533 char $ac_func ();
63534 /* The GNU C library defines this for functions which it implements
63535     to always fail with ENOSYS.  Some functions are actually named
63536     something starting with __ and the normal name is an alias.  */
63537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63538 choke me
63539 #else
63540 char (*f) () = $ac_func;
63541 #endif
63542 #ifdef __cplusplus
63543 }
63544 #endif
63545
63546 int
63547 main ()
63548 {
63549 return f != $ac_func;
63550   ;
63551   return 0;
63552 }
63553 _ACEOF
63554 rm -f conftest.$ac_objext conftest$ac_exeext
63555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63556   (eval $ac_link) 2>conftest.er1
63557   ac_status=$?
63558   grep -v '^ *+' conftest.er1 >conftest.err
63559   rm -f conftest.er1
63560   cat conftest.err >&5
63561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63562   (exit $ac_status); } &&
63563          { ac_try='test -z "$ac_c_werror_flag"
63564                          || test ! -s conftest.err'
63565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63566   (eval $ac_try) 2>&5
63567   ac_status=$?
63568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63569   (exit $ac_status); }; } &&
63570          { ac_try='test -s conftest$ac_exeext'
63571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63572   (eval $ac_try) 2>&5
63573   ac_status=$?
63574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63575   (exit $ac_status); }; }; then
63576   eval "$as_ac_var=yes"
63577 else
63578   echo "$as_me: failed program was:" >&5
63579 sed 's/^/| /' conftest.$ac_ext >&5
63580
63581 eval "$as_ac_var=no"
63582 fi
63583 rm -f conftest.err conftest.$ac_objext \
63584       conftest$ac_exeext conftest.$ac_ext
63585 fi
63586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63588 if test `eval echo '${'$as_ac_var'}'` = yes; then
63589   cat >>confdefs.h <<_ACEOF
63590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63591 _ACEOF
63592
63593 fi
63594 done
63595
63596   else
63597
63598   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63599 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63600   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63601     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63602   echo $ECHO_N "(cached) $ECHO_C" >&6
63603 else
63604
63605
63606
63607       ac_ext=cc
63608 ac_cpp='$CXXCPP $CPPFLAGS'
63609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63612
63613       cat >conftest.$ac_ext <<_ACEOF
63614 /* confdefs.h.  */
63615 _ACEOF
63616 cat confdefs.h >>conftest.$ac_ext
63617 cat >>conftest.$ac_ext <<_ACEOF
63618 /* end confdefs.h.  */
63619 #include <math.h>
63620                       #ifdef HAVE_IEEEFP_H
63621                       #include <ieeefp.h>
63622                       #endif
63623
63624 int
63625 main ()
63626 {
63627  _isnanl(0);
63628   ;
63629   return 0;
63630 }
63631 _ACEOF
63632 rm -f conftest.$ac_objext
63633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63634   (eval $ac_compile) 2>conftest.er1
63635   ac_status=$?
63636   grep -v '^ *+' conftest.er1 >conftest.err
63637   rm -f conftest.er1
63638   cat conftest.err >&5
63639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63640   (exit $ac_status); } &&
63641          { ac_try='test -z "$ac_cxx_werror_flag"
63642                          || test ! -s conftest.err'
63643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63644   (eval $ac_try) 2>&5
63645   ac_status=$?
63646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647   (exit $ac_status); }; } &&
63648          { ac_try='test -s conftest.$ac_objext'
63649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63650   (eval $ac_try) 2>&5
63651   ac_status=$?
63652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63653   (exit $ac_status); }; }; then
63654   glibcxx_cv_func__isnanl_use=yes
63655 else
63656   echo "$as_me: failed program was:" >&5
63657 sed 's/^/| /' conftest.$ac_ext >&5
63658
63659 glibcxx_cv_func__isnanl_use=no
63660 fi
63661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63662       ac_ext=c
63663 ac_cpp='$CPP $CPPFLAGS'
63664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63667
63668
63669 fi
63670
63671   fi
63672   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63673 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63674
63675     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63676
63677 for ac_func in _isnanl
63678 do
63679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63680 echo "$as_me:$LINENO: checking for $ac_func" >&5
63681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63682 if eval "test \"\${$as_ac_var+set}\" = set"; then
63683   echo $ECHO_N "(cached) $ECHO_C" >&6
63684 else
63685   if test x$gcc_no_link = xyes; then
63686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63688    { (exit 1); exit 1; }; }
63689 fi
63690 cat >conftest.$ac_ext <<_ACEOF
63691 /* confdefs.h.  */
63692 _ACEOF
63693 cat confdefs.h >>conftest.$ac_ext
63694 cat >>conftest.$ac_ext <<_ACEOF
63695 /* end confdefs.h.  */
63696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63698 #define $ac_func innocuous_$ac_func
63699
63700 /* System header to define __stub macros and hopefully few prototypes,
63701     which can conflict with char $ac_func (); below.
63702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63703     <limits.h> exists even on freestanding compilers.  */
63704
63705 #ifdef __STDC__
63706 # include <limits.h>
63707 #else
63708 # include <assert.h>
63709 #endif
63710
63711 #undef $ac_func
63712
63713 /* Override any gcc2 internal prototype to avoid an error.  */
63714 #ifdef __cplusplus
63715 extern "C"
63716 {
63717 #endif
63718 /* We use char because int might match the return type of a gcc2
63719    builtin and then its argument prototype would still apply.  */
63720 char $ac_func ();
63721 /* The GNU C library defines this for functions which it implements
63722     to always fail with ENOSYS.  Some functions are actually named
63723     something starting with __ and the normal name is an alias.  */
63724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63725 choke me
63726 #else
63727 char (*f) () = $ac_func;
63728 #endif
63729 #ifdef __cplusplus
63730 }
63731 #endif
63732
63733 int
63734 main ()
63735 {
63736 return f != $ac_func;
63737   ;
63738   return 0;
63739 }
63740 _ACEOF
63741 rm -f conftest.$ac_objext conftest$ac_exeext
63742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63743   (eval $ac_link) 2>conftest.er1
63744   ac_status=$?
63745   grep -v '^ *+' conftest.er1 >conftest.err
63746   rm -f conftest.er1
63747   cat conftest.err >&5
63748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63749   (exit $ac_status); } &&
63750          { ac_try='test -z "$ac_c_werror_flag"
63751                          || test ! -s conftest.err'
63752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63753   (eval $ac_try) 2>&5
63754   ac_status=$?
63755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63756   (exit $ac_status); }; } &&
63757          { ac_try='test -s conftest$ac_exeext'
63758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63759   (eval $ac_try) 2>&5
63760   ac_status=$?
63761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63762   (exit $ac_status); }; }; then
63763   eval "$as_ac_var=yes"
63764 else
63765   echo "$as_me: failed program was:" >&5
63766 sed 's/^/| /' conftest.$ac_ext >&5
63767
63768 eval "$as_ac_var=no"
63769 fi
63770 rm -f conftest.err conftest.$ac_objext \
63771       conftest$ac_exeext conftest.$ac_ext
63772 fi
63773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63775 if test `eval echo '${'$as_ac_var'}'` = yes; then
63776   cat >>confdefs.h <<_ACEOF
63777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63778 _ACEOF
63779
63780 fi
63781 done
63782
63783     fi
63784   fi
63785
63786
63787
63788   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63789 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63790   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63791     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63792   echo $ECHO_N "(cached) $ECHO_C" >&6
63793 else
63794
63795
63796
63797       ac_ext=cc
63798 ac_cpp='$CXXCPP $CPPFLAGS'
63799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63802
63803       cat >conftest.$ac_ext <<_ACEOF
63804 /* confdefs.h.  */
63805 _ACEOF
63806 cat confdefs.h >>conftest.$ac_ext
63807 cat >>conftest.$ac_ext <<_ACEOF
63808 /* end confdefs.h.  */
63809 #include <math.h>
63810                       #ifdef HAVE_IEEEFP_H
63811                       #include <ieeefp.h>
63812                       #endif
63813
63814 int
63815 main ()
63816 {
63817  isinfl(0);
63818   ;
63819   return 0;
63820 }
63821 _ACEOF
63822 rm -f conftest.$ac_objext
63823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63824   (eval $ac_compile) 2>conftest.er1
63825   ac_status=$?
63826   grep -v '^ *+' conftest.er1 >conftest.err
63827   rm -f conftest.er1
63828   cat conftest.err >&5
63829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63830   (exit $ac_status); } &&
63831          { ac_try='test -z "$ac_cxx_werror_flag"
63832                          || test ! -s conftest.err'
63833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63834   (eval $ac_try) 2>&5
63835   ac_status=$?
63836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63837   (exit $ac_status); }; } &&
63838          { ac_try='test -s conftest.$ac_objext'
63839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63840   (eval $ac_try) 2>&5
63841   ac_status=$?
63842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63843   (exit $ac_status); }; }; then
63844   glibcxx_cv_func_isinfl_use=yes
63845 else
63846   echo "$as_me: failed program was:" >&5
63847 sed 's/^/| /' conftest.$ac_ext >&5
63848
63849 glibcxx_cv_func_isinfl_use=no
63850 fi
63851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63852       ac_ext=c
63853 ac_cpp='$CPP $CPPFLAGS'
63854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63857
63858
63859 fi
63860
63861   fi
63862   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63863 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63864
63865   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63866
63867 for ac_func in isinfl
63868 do
63869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63870 echo "$as_me:$LINENO: checking for $ac_func" >&5
63871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63872 if eval "test \"\${$as_ac_var+set}\" = set"; then
63873   echo $ECHO_N "(cached) $ECHO_C" >&6
63874 else
63875   if test x$gcc_no_link = xyes; then
63876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63878    { (exit 1); exit 1; }; }
63879 fi
63880 cat >conftest.$ac_ext <<_ACEOF
63881 /* confdefs.h.  */
63882 _ACEOF
63883 cat confdefs.h >>conftest.$ac_ext
63884 cat >>conftest.$ac_ext <<_ACEOF
63885 /* end confdefs.h.  */
63886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63888 #define $ac_func innocuous_$ac_func
63889
63890 /* System header to define __stub macros and hopefully few prototypes,
63891     which can conflict with char $ac_func (); below.
63892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63893     <limits.h> exists even on freestanding compilers.  */
63894
63895 #ifdef __STDC__
63896 # include <limits.h>
63897 #else
63898 # include <assert.h>
63899 #endif
63900
63901 #undef $ac_func
63902
63903 /* Override any gcc2 internal prototype to avoid an error.  */
63904 #ifdef __cplusplus
63905 extern "C"
63906 {
63907 #endif
63908 /* We use char because int might match the return type of a gcc2
63909    builtin and then its argument prototype would still apply.  */
63910 char $ac_func ();
63911 /* The GNU C library defines this for functions which it implements
63912     to always fail with ENOSYS.  Some functions are actually named
63913     something starting with __ and the normal name is an alias.  */
63914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63915 choke me
63916 #else
63917 char (*f) () = $ac_func;
63918 #endif
63919 #ifdef __cplusplus
63920 }
63921 #endif
63922
63923 int
63924 main ()
63925 {
63926 return f != $ac_func;
63927   ;
63928   return 0;
63929 }
63930 _ACEOF
63931 rm -f conftest.$ac_objext conftest$ac_exeext
63932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63933   (eval $ac_link) 2>conftest.er1
63934   ac_status=$?
63935   grep -v '^ *+' conftest.er1 >conftest.err
63936   rm -f conftest.er1
63937   cat conftest.err >&5
63938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63939   (exit $ac_status); } &&
63940          { ac_try='test -z "$ac_c_werror_flag"
63941                          || test ! -s conftest.err'
63942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63943   (eval $ac_try) 2>&5
63944   ac_status=$?
63945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63946   (exit $ac_status); }; } &&
63947          { ac_try='test -s conftest$ac_exeext'
63948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63949   (eval $ac_try) 2>&5
63950   ac_status=$?
63951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63952   (exit $ac_status); }; }; then
63953   eval "$as_ac_var=yes"
63954 else
63955   echo "$as_me: failed program was:" >&5
63956 sed 's/^/| /' conftest.$ac_ext >&5
63957
63958 eval "$as_ac_var=no"
63959 fi
63960 rm -f conftest.err conftest.$ac_objext \
63961       conftest$ac_exeext conftest.$ac_ext
63962 fi
63963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63965 if test `eval echo '${'$as_ac_var'}'` = yes; then
63966   cat >>confdefs.h <<_ACEOF
63967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63968 _ACEOF
63969
63970 fi
63971 done
63972
63973   else
63974
63975   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63976 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63977   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63978     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63979   echo $ECHO_N "(cached) $ECHO_C" >&6
63980 else
63981
63982
63983
63984       ac_ext=cc
63985 ac_cpp='$CXXCPP $CPPFLAGS'
63986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63989
63990       cat >conftest.$ac_ext <<_ACEOF
63991 /* confdefs.h.  */
63992 _ACEOF
63993 cat confdefs.h >>conftest.$ac_ext
63994 cat >>conftest.$ac_ext <<_ACEOF
63995 /* end confdefs.h.  */
63996 #include <math.h>
63997                       #ifdef HAVE_IEEEFP_H
63998                       #include <ieeefp.h>
63999                       #endif
64000
64001 int
64002 main ()
64003 {
64004  _isinfl(0);
64005   ;
64006   return 0;
64007 }
64008 _ACEOF
64009 rm -f conftest.$ac_objext
64010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64011   (eval $ac_compile) 2>conftest.er1
64012   ac_status=$?
64013   grep -v '^ *+' conftest.er1 >conftest.err
64014   rm -f conftest.er1
64015   cat conftest.err >&5
64016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64017   (exit $ac_status); } &&
64018          { ac_try='test -z "$ac_cxx_werror_flag"
64019                          || test ! -s conftest.err'
64020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64021   (eval $ac_try) 2>&5
64022   ac_status=$?
64023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64024   (exit $ac_status); }; } &&
64025          { ac_try='test -s conftest.$ac_objext'
64026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64027   (eval $ac_try) 2>&5
64028   ac_status=$?
64029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64030   (exit $ac_status); }; }; then
64031   glibcxx_cv_func__isinfl_use=yes
64032 else
64033   echo "$as_me: failed program was:" >&5
64034 sed 's/^/| /' conftest.$ac_ext >&5
64035
64036 glibcxx_cv_func__isinfl_use=no
64037 fi
64038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64039       ac_ext=c
64040 ac_cpp='$CPP $CPPFLAGS'
64041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64044
64045
64046 fi
64047
64048   fi
64049   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64050 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64051
64052     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64053
64054 for ac_func in _isinfl
64055 do
64056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64057 echo "$as_me:$LINENO: checking for $ac_func" >&5
64058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64059 if eval "test \"\${$as_ac_var+set}\" = set"; then
64060   echo $ECHO_N "(cached) $ECHO_C" >&6
64061 else
64062   if test x$gcc_no_link = xyes; then
64063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64065    { (exit 1); exit 1; }; }
64066 fi
64067 cat >conftest.$ac_ext <<_ACEOF
64068 /* confdefs.h.  */
64069 _ACEOF
64070 cat confdefs.h >>conftest.$ac_ext
64071 cat >>conftest.$ac_ext <<_ACEOF
64072 /* end confdefs.h.  */
64073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64075 #define $ac_func innocuous_$ac_func
64076
64077 /* System header to define __stub macros and hopefully few prototypes,
64078     which can conflict with char $ac_func (); below.
64079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64080     <limits.h> exists even on freestanding compilers.  */
64081
64082 #ifdef __STDC__
64083 # include <limits.h>
64084 #else
64085 # include <assert.h>
64086 #endif
64087
64088 #undef $ac_func
64089
64090 /* Override any gcc2 internal prototype to avoid an error.  */
64091 #ifdef __cplusplus
64092 extern "C"
64093 {
64094 #endif
64095 /* We use char because int might match the return type of a gcc2
64096    builtin and then its argument prototype would still apply.  */
64097 char $ac_func ();
64098 /* The GNU C library defines this for functions which it implements
64099     to always fail with ENOSYS.  Some functions are actually named
64100     something starting with __ and the normal name is an alias.  */
64101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64102 choke me
64103 #else
64104 char (*f) () = $ac_func;
64105 #endif
64106 #ifdef __cplusplus
64107 }
64108 #endif
64109
64110 int
64111 main ()
64112 {
64113 return f != $ac_func;
64114   ;
64115   return 0;
64116 }
64117 _ACEOF
64118 rm -f conftest.$ac_objext conftest$ac_exeext
64119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64120   (eval $ac_link) 2>conftest.er1
64121   ac_status=$?
64122   grep -v '^ *+' conftest.er1 >conftest.err
64123   rm -f conftest.er1
64124   cat conftest.err >&5
64125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64126   (exit $ac_status); } &&
64127          { ac_try='test -z "$ac_c_werror_flag"
64128                          || test ! -s conftest.err'
64129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64130   (eval $ac_try) 2>&5
64131   ac_status=$?
64132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64133   (exit $ac_status); }; } &&
64134          { ac_try='test -s conftest$ac_exeext'
64135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64136   (eval $ac_try) 2>&5
64137   ac_status=$?
64138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64139   (exit $ac_status); }; }; then
64140   eval "$as_ac_var=yes"
64141 else
64142   echo "$as_me: failed program was:" >&5
64143 sed 's/^/| /' conftest.$ac_ext >&5
64144
64145 eval "$as_ac_var=no"
64146 fi
64147 rm -f conftest.err conftest.$ac_objext \
64148       conftest$ac_exeext conftest.$ac_ext
64149 fi
64150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64152 if test `eval echo '${'$as_ac_var'}'` = yes; then
64153   cat >>confdefs.h <<_ACEOF
64154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64155 _ACEOF
64156
64157 fi
64158 done
64159
64160     fi
64161   fi
64162
64163
64164
64165   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64166 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64167   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64168     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64169   echo $ECHO_N "(cached) $ECHO_C" >&6
64170 else
64171
64172
64173
64174       ac_ext=cc
64175 ac_cpp='$CXXCPP $CPPFLAGS'
64176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64179
64180       cat >conftest.$ac_ext <<_ACEOF
64181 /* confdefs.h.  */
64182 _ACEOF
64183 cat confdefs.h >>conftest.$ac_ext
64184 cat >>conftest.$ac_ext <<_ACEOF
64185 /* end confdefs.h.  */
64186 #include <math.h>
64187 int
64188 main ()
64189 {
64190  copysignl(0, 0);
64191   ;
64192   return 0;
64193 }
64194 _ACEOF
64195 rm -f conftest.$ac_objext
64196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64197   (eval $ac_compile) 2>conftest.er1
64198   ac_status=$?
64199   grep -v '^ *+' conftest.er1 >conftest.err
64200   rm -f conftest.er1
64201   cat conftest.err >&5
64202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64203   (exit $ac_status); } &&
64204          { ac_try='test -z "$ac_cxx_werror_flag"
64205                          || test ! -s conftest.err'
64206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64207   (eval $ac_try) 2>&5
64208   ac_status=$?
64209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64210   (exit $ac_status); }; } &&
64211          { ac_try='test -s conftest.$ac_objext'
64212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64213   (eval $ac_try) 2>&5
64214   ac_status=$?
64215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64216   (exit $ac_status); }; }; then
64217   glibcxx_cv_func_copysignl_use=yes
64218 else
64219   echo "$as_me: failed program was:" >&5
64220 sed 's/^/| /' conftest.$ac_ext >&5
64221
64222 glibcxx_cv_func_copysignl_use=no
64223 fi
64224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64225       ac_ext=c
64226 ac_cpp='$CPP $CPPFLAGS'
64227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64230
64231
64232 fi
64233
64234   fi
64235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64236 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64237
64238   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64239
64240 for ac_func in copysignl
64241 do
64242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64243 echo "$as_me:$LINENO: checking for $ac_func" >&5
64244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64245 if eval "test \"\${$as_ac_var+set}\" = set"; then
64246   echo $ECHO_N "(cached) $ECHO_C" >&6
64247 else
64248   if test x$gcc_no_link = xyes; then
64249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64251    { (exit 1); exit 1; }; }
64252 fi
64253 cat >conftest.$ac_ext <<_ACEOF
64254 /* confdefs.h.  */
64255 _ACEOF
64256 cat confdefs.h >>conftest.$ac_ext
64257 cat >>conftest.$ac_ext <<_ACEOF
64258 /* end confdefs.h.  */
64259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64261 #define $ac_func innocuous_$ac_func
64262
64263 /* System header to define __stub macros and hopefully few prototypes,
64264     which can conflict with char $ac_func (); below.
64265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64266     <limits.h> exists even on freestanding compilers.  */
64267
64268 #ifdef __STDC__
64269 # include <limits.h>
64270 #else
64271 # include <assert.h>
64272 #endif
64273
64274 #undef $ac_func
64275
64276 /* Override any gcc2 internal prototype to avoid an error.  */
64277 #ifdef __cplusplus
64278 extern "C"
64279 {
64280 #endif
64281 /* We use char because int might match the return type of a gcc2
64282    builtin and then its argument prototype would still apply.  */
64283 char $ac_func ();
64284 /* The GNU C library defines this for functions which it implements
64285     to always fail with ENOSYS.  Some functions are actually named
64286     something starting with __ and the normal name is an alias.  */
64287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64288 choke me
64289 #else
64290 char (*f) () = $ac_func;
64291 #endif
64292 #ifdef __cplusplus
64293 }
64294 #endif
64295
64296 int
64297 main ()
64298 {
64299 return f != $ac_func;
64300   ;
64301   return 0;
64302 }
64303 _ACEOF
64304 rm -f conftest.$ac_objext conftest$ac_exeext
64305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64306   (eval $ac_link) 2>conftest.er1
64307   ac_status=$?
64308   grep -v '^ *+' conftest.er1 >conftest.err
64309   rm -f conftest.er1
64310   cat conftest.err >&5
64311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64312   (exit $ac_status); } &&
64313          { ac_try='test -z "$ac_c_werror_flag"
64314                          || test ! -s conftest.err'
64315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64316   (eval $ac_try) 2>&5
64317   ac_status=$?
64318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64319   (exit $ac_status); }; } &&
64320          { ac_try='test -s conftest$ac_exeext'
64321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64322   (eval $ac_try) 2>&5
64323   ac_status=$?
64324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64325   (exit $ac_status); }; }; then
64326   eval "$as_ac_var=yes"
64327 else
64328   echo "$as_me: failed program was:" >&5
64329 sed 's/^/| /' conftest.$ac_ext >&5
64330
64331 eval "$as_ac_var=no"
64332 fi
64333 rm -f conftest.err conftest.$ac_objext \
64334       conftest$ac_exeext conftest.$ac_ext
64335 fi
64336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64338 if test `eval echo '${'$as_ac_var'}'` = yes; then
64339   cat >>confdefs.h <<_ACEOF
64340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64341 _ACEOF
64342
64343 fi
64344 done
64345
64346   else
64347
64348   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64349 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64350   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64351     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64352   echo $ECHO_N "(cached) $ECHO_C" >&6
64353 else
64354
64355
64356
64357       ac_ext=cc
64358 ac_cpp='$CXXCPP $CPPFLAGS'
64359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64362
64363       cat >conftest.$ac_ext <<_ACEOF
64364 /* confdefs.h.  */
64365 _ACEOF
64366 cat confdefs.h >>conftest.$ac_ext
64367 cat >>conftest.$ac_ext <<_ACEOF
64368 /* end confdefs.h.  */
64369 #include <math.h>
64370 int
64371 main ()
64372 {
64373  _copysignl(0, 0);
64374   ;
64375   return 0;
64376 }
64377 _ACEOF
64378 rm -f conftest.$ac_objext
64379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64380   (eval $ac_compile) 2>conftest.er1
64381   ac_status=$?
64382   grep -v '^ *+' conftest.er1 >conftest.err
64383   rm -f conftest.er1
64384   cat conftest.err >&5
64385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64386   (exit $ac_status); } &&
64387          { ac_try='test -z "$ac_cxx_werror_flag"
64388                          || test ! -s conftest.err'
64389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64390   (eval $ac_try) 2>&5
64391   ac_status=$?
64392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64393   (exit $ac_status); }; } &&
64394          { ac_try='test -s conftest.$ac_objext'
64395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64396   (eval $ac_try) 2>&5
64397   ac_status=$?
64398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64399   (exit $ac_status); }; }; then
64400   glibcxx_cv_func__copysignl_use=yes
64401 else
64402   echo "$as_me: failed program was:" >&5
64403 sed 's/^/| /' conftest.$ac_ext >&5
64404
64405 glibcxx_cv_func__copysignl_use=no
64406 fi
64407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64408       ac_ext=c
64409 ac_cpp='$CPP $CPPFLAGS'
64410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64413
64414
64415 fi
64416
64417   fi
64418   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64419 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64420
64421     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64422
64423 for ac_func in _copysignl
64424 do
64425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64426 echo "$as_me:$LINENO: checking for $ac_func" >&5
64427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64428 if eval "test \"\${$as_ac_var+set}\" = set"; then
64429   echo $ECHO_N "(cached) $ECHO_C" >&6
64430 else
64431   if test x$gcc_no_link = xyes; then
64432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64434    { (exit 1); exit 1; }; }
64435 fi
64436 cat >conftest.$ac_ext <<_ACEOF
64437 /* confdefs.h.  */
64438 _ACEOF
64439 cat confdefs.h >>conftest.$ac_ext
64440 cat >>conftest.$ac_ext <<_ACEOF
64441 /* end confdefs.h.  */
64442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64444 #define $ac_func innocuous_$ac_func
64445
64446 /* System header to define __stub macros and hopefully few prototypes,
64447     which can conflict with char $ac_func (); below.
64448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64449     <limits.h> exists even on freestanding compilers.  */
64450
64451 #ifdef __STDC__
64452 # include <limits.h>
64453 #else
64454 # include <assert.h>
64455 #endif
64456
64457 #undef $ac_func
64458
64459 /* Override any gcc2 internal prototype to avoid an error.  */
64460 #ifdef __cplusplus
64461 extern "C"
64462 {
64463 #endif
64464 /* We use char because int might match the return type of a gcc2
64465    builtin and then its argument prototype would still apply.  */
64466 char $ac_func ();
64467 /* The GNU C library defines this for functions which it implements
64468     to always fail with ENOSYS.  Some functions are actually named
64469     something starting with __ and the normal name is an alias.  */
64470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64471 choke me
64472 #else
64473 char (*f) () = $ac_func;
64474 #endif
64475 #ifdef __cplusplus
64476 }
64477 #endif
64478
64479 int
64480 main ()
64481 {
64482 return f != $ac_func;
64483   ;
64484   return 0;
64485 }
64486 _ACEOF
64487 rm -f conftest.$ac_objext conftest$ac_exeext
64488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64489   (eval $ac_link) 2>conftest.er1
64490   ac_status=$?
64491   grep -v '^ *+' conftest.er1 >conftest.err
64492   rm -f conftest.er1
64493   cat conftest.err >&5
64494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64495   (exit $ac_status); } &&
64496          { ac_try='test -z "$ac_c_werror_flag"
64497                          || test ! -s conftest.err'
64498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64499   (eval $ac_try) 2>&5
64500   ac_status=$?
64501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64502   (exit $ac_status); }; } &&
64503          { ac_try='test -s conftest$ac_exeext'
64504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64505   (eval $ac_try) 2>&5
64506   ac_status=$?
64507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64508   (exit $ac_status); }; }; then
64509   eval "$as_ac_var=yes"
64510 else
64511   echo "$as_me: failed program was:" >&5
64512 sed 's/^/| /' conftest.$ac_ext >&5
64513
64514 eval "$as_ac_var=no"
64515 fi
64516 rm -f conftest.err conftest.$ac_objext \
64517       conftest$ac_exeext conftest.$ac_ext
64518 fi
64519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64521 if test `eval echo '${'$as_ac_var'}'` = yes; then
64522   cat >>confdefs.h <<_ACEOF
64523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64524 _ACEOF
64525
64526 fi
64527 done
64528
64529     fi
64530   fi
64531
64532
64533
64534   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64535 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64536   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64537     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64538   echo $ECHO_N "(cached) $ECHO_C" >&6
64539 else
64540
64541
64542
64543       ac_ext=cc
64544 ac_cpp='$CXXCPP $CPPFLAGS'
64545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64548
64549       cat >conftest.$ac_ext <<_ACEOF
64550 /* confdefs.h.  */
64551 _ACEOF
64552 cat confdefs.h >>conftest.$ac_ext
64553 cat >>conftest.$ac_ext <<_ACEOF
64554 /* end confdefs.h.  */
64555 #include <math.h>
64556 int
64557 main ()
64558 {
64559  atan2l(0, 0);
64560   ;
64561   return 0;
64562 }
64563 _ACEOF
64564 rm -f conftest.$ac_objext
64565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64566   (eval $ac_compile) 2>conftest.er1
64567   ac_status=$?
64568   grep -v '^ *+' conftest.er1 >conftest.err
64569   rm -f conftest.er1
64570   cat conftest.err >&5
64571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64572   (exit $ac_status); } &&
64573          { ac_try='test -z "$ac_cxx_werror_flag"
64574                          || test ! -s conftest.err'
64575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64576   (eval $ac_try) 2>&5
64577   ac_status=$?
64578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64579   (exit $ac_status); }; } &&
64580          { ac_try='test -s conftest.$ac_objext'
64581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64582   (eval $ac_try) 2>&5
64583   ac_status=$?
64584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64585   (exit $ac_status); }; }; then
64586   glibcxx_cv_func_atan2l_use=yes
64587 else
64588   echo "$as_me: failed program was:" >&5
64589 sed 's/^/| /' conftest.$ac_ext >&5
64590
64591 glibcxx_cv_func_atan2l_use=no
64592 fi
64593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64594       ac_ext=c
64595 ac_cpp='$CPP $CPPFLAGS'
64596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64599
64600
64601 fi
64602
64603   fi
64604   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64605 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64606
64607   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64608
64609 for ac_func in atan2l
64610 do
64611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64612 echo "$as_me:$LINENO: checking for $ac_func" >&5
64613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64614 if eval "test \"\${$as_ac_var+set}\" = set"; then
64615   echo $ECHO_N "(cached) $ECHO_C" >&6
64616 else
64617   if test x$gcc_no_link = xyes; then
64618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64620    { (exit 1); exit 1; }; }
64621 fi
64622 cat >conftest.$ac_ext <<_ACEOF
64623 /* confdefs.h.  */
64624 _ACEOF
64625 cat confdefs.h >>conftest.$ac_ext
64626 cat >>conftest.$ac_ext <<_ACEOF
64627 /* end confdefs.h.  */
64628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64630 #define $ac_func innocuous_$ac_func
64631
64632 /* System header to define __stub macros and hopefully few prototypes,
64633     which can conflict with char $ac_func (); below.
64634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64635     <limits.h> exists even on freestanding compilers.  */
64636
64637 #ifdef __STDC__
64638 # include <limits.h>
64639 #else
64640 # include <assert.h>
64641 #endif
64642
64643 #undef $ac_func
64644
64645 /* Override any gcc2 internal prototype to avoid an error.  */
64646 #ifdef __cplusplus
64647 extern "C"
64648 {
64649 #endif
64650 /* We use char because int might match the return type of a gcc2
64651    builtin and then its argument prototype would still apply.  */
64652 char $ac_func ();
64653 /* The GNU C library defines this for functions which it implements
64654     to always fail with ENOSYS.  Some functions are actually named
64655     something starting with __ and the normal name is an alias.  */
64656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64657 choke me
64658 #else
64659 char (*f) () = $ac_func;
64660 #endif
64661 #ifdef __cplusplus
64662 }
64663 #endif
64664
64665 int
64666 main ()
64667 {
64668 return f != $ac_func;
64669   ;
64670   return 0;
64671 }
64672 _ACEOF
64673 rm -f conftest.$ac_objext conftest$ac_exeext
64674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64675   (eval $ac_link) 2>conftest.er1
64676   ac_status=$?
64677   grep -v '^ *+' conftest.er1 >conftest.err
64678   rm -f conftest.er1
64679   cat conftest.err >&5
64680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64681   (exit $ac_status); } &&
64682          { ac_try='test -z "$ac_c_werror_flag"
64683                          || test ! -s conftest.err'
64684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64685   (eval $ac_try) 2>&5
64686   ac_status=$?
64687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64688   (exit $ac_status); }; } &&
64689          { ac_try='test -s conftest$ac_exeext'
64690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64691   (eval $ac_try) 2>&5
64692   ac_status=$?
64693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64694   (exit $ac_status); }; }; then
64695   eval "$as_ac_var=yes"
64696 else
64697   echo "$as_me: failed program was:" >&5
64698 sed 's/^/| /' conftest.$ac_ext >&5
64699
64700 eval "$as_ac_var=no"
64701 fi
64702 rm -f conftest.err conftest.$ac_objext \
64703       conftest$ac_exeext conftest.$ac_ext
64704 fi
64705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64707 if test `eval echo '${'$as_ac_var'}'` = yes; then
64708   cat >>confdefs.h <<_ACEOF
64709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64710 _ACEOF
64711
64712 fi
64713 done
64714
64715   else
64716
64717   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64718 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64719   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64720     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64721   echo $ECHO_N "(cached) $ECHO_C" >&6
64722 else
64723
64724
64725
64726       ac_ext=cc
64727 ac_cpp='$CXXCPP $CPPFLAGS'
64728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64731
64732       cat >conftest.$ac_ext <<_ACEOF
64733 /* confdefs.h.  */
64734 _ACEOF
64735 cat confdefs.h >>conftest.$ac_ext
64736 cat >>conftest.$ac_ext <<_ACEOF
64737 /* end confdefs.h.  */
64738 #include <math.h>
64739 int
64740 main ()
64741 {
64742  _atan2l(0, 0);
64743   ;
64744   return 0;
64745 }
64746 _ACEOF
64747 rm -f conftest.$ac_objext
64748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64749   (eval $ac_compile) 2>conftest.er1
64750   ac_status=$?
64751   grep -v '^ *+' conftest.er1 >conftest.err
64752   rm -f conftest.er1
64753   cat conftest.err >&5
64754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64755   (exit $ac_status); } &&
64756          { ac_try='test -z "$ac_cxx_werror_flag"
64757                          || test ! -s conftest.err'
64758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64759   (eval $ac_try) 2>&5
64760   ac_status=$?
64761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64762   (exit $ac_status); }; } &&
64763          { ac_try='test -s conftest.$ac_objext'
64764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64765   (eval $ac_try) 2>&5
64766   ac_status=$?
64767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64768   (exit $ac_status); }; }; then
64769   glibcxx_cv_func__atan2l_use=yes
64770 else
64771   echo "$as_me: failed program was:" >&5
64772 sed 's/^/| /' conftest.$ac_ext >&5
64773
64774 glibcxx_cv_func__atan2l_use=no
64775 fi
64776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64777       ac_ext=c
64778 ac_cpp='$CPP $CPPFLAGS'
64779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64782
64783
64784 fi
64785
64786   fi
64787   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64788 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64789
64790     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64791
64792 for ac_func in _atan2l
64793 do
64794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64795 echo "$as_me:$LINENO: checking for $ac_func" >&5
64796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64797 if eval "test \"\${$as_ac_var+set}\" = set"; then
64798   echo $ECHO_N "(cached) $ECHO_C" >&6
64799 else
64800   if test x$gcc_no_link = xyes; then
64801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64803    { (exit 1); exit 1; }; }
64804 fi
64805 cat >conftest.$ac_ext <<_ACEOF
64806 /* confdefs.h.  */
64807 _ACEOF
64808 cat confdefs.h >>conftest.$ac_ext
64809 cat >>conftest.$ac_ext <<_ACEOF
64810 /* end confdefs.h.  */
64811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64813 #define $ac_func innocuous_$ac_func
64814
64815 /* System header to define __stub macros and hopefully few prototypes,
64816     which can conflict with char $ac_func (); below.
64817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64818     <limits.h> exists even on freestanding compilers.  */
64819
64820 #ifdef __STDC__
64821 # include <limits.h>
64822 #else
64823 # include <assert.h>
64824 #endif
64825
64826 #undef $ac_func
64827
64828 /* Override any gcc2 internal prototype to avoid an error.  */
64829 #ifdef __cplusplus
64830 extern "C"
64831 {
64832 #endif
64833 /* We use char because int might match the return type of a gcc2
64834    builtin and then its argument prototype would still apply.  */
64835 char $ac_func ();
64836 /* The GNU C library defines this for functions which it implements
64837     to always fail with ENOSYS.  Some functions are actually named
64838     something starting with __ and the normal name is an alias.  */
64839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64840 choke me
64841 #else
64842 char (*f) () = $ac_func;
64843 #endif
64844 #ifdef __cplusplus
64845 }
64846 #endif
64847
64848 int
64849 main ()
64850 {
64851 return f != $ac_func;
64852   ;
64853   return 0;
64854 }
64855 _ACEOF
64856 rm -f conftest.$ac_objext conftest$ac_exeext
64857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64858   (eval $ac_link) 2>conftest.er1
64859   ac_status=$?
64860   grep -v '^ *+' conftest.er1 >conftest.err
64861   rm -f conftest.er1
64862   cat conftest.err >&5
64863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864   (exit $ac_status); } &&
64865          { ac_try='test -z "$ac_c_werror_flag"
64866                          || test ! -s conftest.err'
64867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64868   (eval $ac_try) 2>&5
64869   ac_status=$?
64870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871   (exit $ac_status); }; } &&
64872          { ac_try='test -s conftest$ac_exeext'
64873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64874   (eval $ac_try) 2>&5
64875   ac_status=$?
64876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64877   (exit $ac_status); }; }; then
64878   eval "$as_ac_var=yes"
64879 else
64880   echo "$as_me: failed program was:" >&5
64881 sed 's/^/| /' conftest.$ac_ext >&5
64882
64883 eval "$as_ac_var=no"
64884 fi
64885 rm -f conftest.err conftest.$ac_objext \
64886       conftest$ac_exeext conftest.$ac_ext
64887 fi
64888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64890 if test `eval echo '${'$as_ac_var'}'` = yes; then
64891   cat >>confdefs.h <<_ACEOF
64892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64893 _ACEOF
64894
64895 fi
64896 done
64897
64898     fi
64899   fi
64900
64901
64902
64903   echo "$as_me:$LINENO: checking for expl declaration" >&5
64904 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64905   if test x${glibcxx_cv_func_expl_use+set} != xset; then
64906     if test "${glibcxx_cv_func_expl_use+set}" = set; then
64907   echo $ECHO_N "(cached) $ECHO_C" >&6
64908 else
64909
64910
64911
64912       ac_ext=cc
64913 ac_cpp='$CXXCPP $CPPFLAGS'
64914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64917
64918       cat >conftest.$ac_ext <<_ACEOF
64919 /* confdefs.h.  */
64920 _ACEOF
64921 cat confdefs.h >>conftest.$ac_ext
64922 cat >>conftest.$ac_ext <<_ACEOF
64923 /* end confdefs.h.  */
64924 #include <math.h>
64925                       #ifdef HAVE_IEEEFP_H
64926                       #include <ieeefp.h>
64927                       #endif
64928
64929 int
64930 main ()
64931 {
64932  expl(0);
64933   ;
64934   return 0;
64935 }
64936 _ACEOF
64937 rm -f conftest.$ac_objext
64938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64939   (eval $ac_compile) 2>conftest.er1
64940   ac_status=$?
64941   grep -v '^ *+' conftest.er1 >conftest.err
64942   rm -f conftest.er1
64943   cat conftest.err >&5
64944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64945   (exit $ac_status); } &&
64946          { ac_try='test -z "$ac_cxx_werror_flag"
64947                          || test ! -s conftest.err'
64948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64949   (eval $ac_try) 2>&5
64950   ac_status=$?
64951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64952   (exit $ac_status); }; } &&
64953          { ac_try='test -s conftest.$ac_objext'
64954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64955   (eval $ac_try) 2>&5
64956   ac_status=$?
64957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64958   (exit $ac_status); }; }; then
64959   glibcxx_cv_func_expl_use=yes
64960 else
64961   echo "$as_me: failed program was:" >&5
64962 sed 's/^/| /' conftest.$ac_ext >&5
64963
64964 glibcxx_cv_func_expl_use=no
64965 fi
64966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64967       ac_ext=c
64968 ac_cpp='$CPP $CPPFLAGS'
64969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64972
64973
64974 fi
64975
64976   fi
64977   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64978 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64979
64980   if test x$glibcxx_cv_func_expl_use = x"yes"; then
64981
64982 for ac_func in expl
64983 do
64984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64985 echo "$as_me:$LINENO: checking for $ac_func" >&5
64986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64987 if eval "test \"\${$as_ac_var+set}\" = set"; then
64988   echo $ECHO_N "(cached) $ECHO_C" >&6
64989 else
64990   if test x$gcc_no_link = xyes; then
64991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64993    { (exit 1); exit 1; }; }
64994 fi
64995 cat >conftest.$ac_ext <<_ACEOF
64996 /* confdefs.h.  */
64997 _ACEOF
64998 cat confdefs.h >>conftest.$ac_ext
64999 cat >>conftest.$ac_ext <<_ACEOF
65000 /* end confdefs.h.  */
65001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65003 #define $ac_func innocuous_$ac_func
65004
65005 /* System header to define __stub macros and hopefully few prototypes,
65006     which can conflict with char $ac_func (); below.
65007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65008     <limits.h> exists even on freestanding compilers.  */
65009
65010 #ifdef __STDC__
65011 # include <limits.h>
65012 #else
65013 # include <assert.h>
65014 #endif
65015
65016 #undef $ac_func
65017
65018 /* Override any gcc2 internal prototype to avoid an error.  */
65019 #ifdef __cplusplus
65020 extern "C"
65021 {
65022 #endif
65023 /* We use char because int might match the return type of a gcc2
65024    builtin and then its argument prototype would still apply.  */
65025 char $ac_func ();
65026 /* The GNU C library defines this for functions which it implements
65027     to always fail with ENOSYS.  Some functions are actually named
65028     something starting with __ and the normal name is an alias.  */
65029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65030 choke me
65031 #else
65032 char (*f) () = $ac_func;
65033 #endif
65034 #ifdef __cplusplus
65035 }
65036 #endif
65037
65038 int
65039 main ()
65040 {
65041 return f != $ac_func;
65042   ;
65043   return 0;
65044 }
65045 _ACEOF
65046 rm -f conftest.$ac_objext conftest$ac_exeext
65047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65048   (eval $ac_link) 2>conftest.er1
65049   ac_status=$?
65050   grep -v '^ *+' conftest.er1 >conftest.err
65051   rm -f conftest.er1
65052   cat conftest.err >&5
65053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65054   (exit $ac_status); } &&
65055          { ac_try='test -z "$ac_c_werror_flag"
65056                          || test ! -s conftest.err'
65057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65058   (eval $ac_try) 2>&5
65059   ac_status=$?
65060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65061   (exit $ac_status); }; } &&
65062          { ac_try='test -s conftest$ac_exeext'
65063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65064   (eval $ac_try) 2>&5
65065   ac_status=$?
65066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65067   (exit $ac_status); }; }; then
65068   eval "$as_ac_var=yes"
65069 else
65070   echo "$as_me: failed program was:" >&5
65071 sed 's/^/| /' conftest.$ac_ext >&5
65072
65073 eval "$as_ac_var=no"
65074 fi
65075 rm -f conftest.err conftest.$ac_objext \
65076       conftest$ac_exeext conftest.$ac_ext
65077 fi
65078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65080 if test `eval echo '${'$as_ac_var'}'` = yes; then
65081   cat >>confdefs.h <<_ACEOF
65082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65083 _ACEOF
65084
65085 fi
65086 done
65087
65088   else
65089
65090   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65091 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65092   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65093     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65094   echo $ECHO_N "(cached) $ECHO_C" >&6
65095 else
65096
65097
65098
65099       ac_ext=cc
65100 ac_cpp='$CXXCPP $CPPFLAGS'
65101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65104
65105       cat >conftest.$ac_ext <<_ACEOF
65106 /* confdefs.h.  */
65107 _ACEOF
65108 cat confdefs.h >>conftest.$ac_ext
65109 cat >>conftest.$ac_ext <<_ACEOF
65110 /* end confdefs.h.  */
65111 #include <math.h>
65112                       #ifdef HAVE_IEEEFP_H
65113                       #include <ieeefp.h>
65114                       #endif
65115
65116 int
65117 main ()
65118 {
65119  _expl(0);
65120   ;
65121   return 0;
65122 }
65123 _ACEOF
65124 rm -f conftest.$ac_objext
65125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65126   (eval $ac_compile) 2>conftest.er1
65127   ac_status=$?
65128   grep -v '^ *+' conftest.er1 >conftest.err
65129   rm -f conftest.er1
65130   cat conftest.err >&5
65131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65132   (exit $ac_status); } &&
65133          { ac_try='test -z "$ac_cxx_werror_flag"
65134                          || test ! -s conftest.err'
65135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65136   (eval $ac_try) 2>&5
65137   ac_status=$?
65138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65139   (exit $ac_status); }; } &&
65140          { ac_try='test -s conftest.$ac_objext'
65141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65142   (eval $ac_try) 2>&5
65143   ac_status=$?
65144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65145   (exit $ac_status); }; }; then
65146   glibcxx_cv_func__expl_use=yes
65147 else
65148   echo "$as_me: failed program was:" >&5
65149 sed 's/^/| /' conftest.$ac_ext >&5
65150
65151 glibcxx_cv_func__expl_use=no
65152 fi
65153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65154       ac_ext=c
65155 ac_cpp='$CPP $CPPFLAGS'
65156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65159
65160
65161 fi
65162
65163   fi
65164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65165 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65166
65167     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65168
65169 for ac_func in _expl
65170 do
65171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65172 echo "$as_me:$LINENO: checking for $ac_func" >&5
65173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65174 if eval "test \"\${$as_ac_var+set}\" = set"; then
65175   echo $ECHO_N "(cached) $ECHO_C" >&6
65176 else
65177   if test x$gcc_no_link = xyes; then
65178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65180    { (exit 1); exit 1; }; }
65181 fi
65182 cat >conftest.$ac_ext <<_ACEOF
65183 /* confdefs.h.  */
65184 _ACEOF
65185 cat confdefs.h >>conftest.$ac_ext
65186 cat >>conftest.$ac_ext <<_ACEOF
65187 /* end confdefs.h.  */
65188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65190 #define $ac_func innocuous_$ac_func
65191
65192 /* System header to define __stub macros and hopefully few prototypes,
65193     which can conflict with char $ac_func (); below.
65194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65195     <limits.h> exists even on freestanding compilers.  */
65196
65197 #ifdef __STDC__
65198 # include <limits.h>
65199 #else
65200 # include <assert.h>
65201 #endif
65202
65203 #undef $ac_func
65204
65205 /* Override any gcc2 internal prototype to avoid an error.  */
65206 #ifdef __cplusplus
65207 extern "C"
65208 {
65209 #endif
65210 /* We use char because int might match the return type of a gcc2
65211    builtin and then its argument prototype would still apply.  */
65212 char $ac_func ();
65213 /* The GNU C library defines this for functions which it implements
65214     to always fail with ENOSYS.  Some functions are actually named
65215     something starting with __ and the normal name is an alias.  */
65216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65217 choke me
65218 #else
65219 char (*f) () = $ac_func;
65220 #endif
65221 #ifdef __cplusplus
65222 }
65223 #endif
65224
65225 int
65226 main ()
65227 {
65228 return f != $ac_func;
65229   ;
65230   return 0;
65231 }
65232 _ACEOF
65233 rm -f conftest.$ac_objext conftest$ac_exeext
65234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65235   (eval $ac_link) 2>conftest.er1
65236   ac_status=$?
65237   grep -v '^ *+' conftest.er1 >conftest.err
65238   rm -f conftest.er1
65239   cat conftest.err >&5
65240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65241   (exit $ac_status); } &&
65242          { ac_try='test -z "$ac_c_werror_flag"
65243                          || test ! -s conftest.err'
65244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65245   (eval $ac_try) 2>&5
65246   ac_status=$?
65247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65248   (exit $ac_status); }; } &&
65249          { ac_try='test -s conftest$ac_exeext'
65250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65251   (eval $ac_try) 2>&5
65252   ac_status=$?
65253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65254   (exit $ac_status); }; }; then
65255   eval "$as_ac_var=yes"
65256 else
65257   echo "$as_me: failed program was:" >&5
65258 sed 's/^/| /' conftest.$ac_ext >&5
65259
65260 eval "$as_ac_var=no"
65261 fi
65262 rm -f conftest.err conftest.$ac_objext \
65263       conftest$ac_exeext conftest.$ac_ext
65264 fi
65265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65267 if test `eval echo '${'$as_ac_var'}'` = yes; then
65268   cat >>confdefs.h <<_ACEOF
65269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65270 _ACEOF
65271
65272 fi
65273 done
65274
65275     fi
65276   fi
65277
65278
65279
65280   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65281 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65282   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65283     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65284   echo $ECHO_N "(cached) $ECHO_C" >&6
65285 else
65286
65287
65288
65289       ac_ext=cc
65290 ac_cpp='$CXXCPP $CPPFLAGS'
65291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65294
65295       cat >conftest.$ac_ext <<_ACEOF
65296 /* confdefs.h.  */
65297 _ACEOF
65298 cat confdefs.h >>conftest.$ac_ext
65299 cat >>conftest.$ac_ext <<_ACEOF
65300 /* end confdefs.h.  */
65301 #include <math.h>
65302                       #ifdef HAVE_IEEEFP_H
65303                       #include <ieeefp.h>
65304                       #endif
65305
65306 int
65307 main ()
65308 {
65309  fabsl(0);
65310   ;
65311   return 0;
65312 }
65313 _ACEOF
65314 rm -f conftest.$ac_objext
65315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65316   (eval $ac_compile) 2>conftest.er1
65317   ac_status=$?
65318   grep -v '^ *+' conftest.er1 >conftest.err
65319   rm -f conftest.er1
65320   cat conftest.err >&5
65321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65322   (exit $ac_status); } &&
65323          { ac_try='test -z "$ac_cxx_werror_flag"
65324                          || test ! -s conftest.err'
65325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65326   (eval $ac_try) 2>&5
65327   ac_status=$?
65328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65329   (exit $ac_status); }; } &&
65330          { ac_try='test -s conftest.$ac_objext'
65331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65332   (eval $ac_try) 2>&5
65333   ac_status=$?
65334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65335   (exit $ac_status); }; }; then
65336   glibcxx_cv_func_fabsl_use=yes
65337 else
65338   echo "$as_me: failed program was:" >&5
65339 sed 's/^/| /' conftest.$ac_ext >&5
65340
65341 glibcxx_cv_func_fabsl_use=no
65342 fi
65343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65344       ac_ext=c
65345 ac_cpp='$CPP $CPPFLAGS'
65346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65349
65350
65351 fi
65352
65353   fi
65354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65355 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65356
65357   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65358
65359 for ac_func in fabsl
65360 do
65361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65362 echo "$as_me:$LINENO: checking for $ac_func" >&5
65363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65364 if eval "test \"\${$as_ac_var+set}\" = set"; then
65365   echo $ECHO_N "(cached) $ECHO_C" >&6
65366 else
65367   if test x$gcc_no_link = xyes; then
65368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65370    { (exit 1); exit 1; }; }
65371 fi
65372 cat >conftest.$ac_ext <<_ACEOF
65373 /* confdefs.h.  */
65374 _ACEOF
65375 cat confdefs.h >>conftest.$ac_ext
65376 cat >>conftest.$ac_ext <<_ACEOF
65377 /* end confdefs.h.  */
65378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65380 #define $ac_func innocuous_$ac_func
65381
65382 /* System header to define __stub macros and hopefully few prototypes,
65383     which can conflict with char $ac_func (); below.
65384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65385     <limits.h> exists even on freestanding compilers.  */
65386
65387 #ifdef __STDC__
65388 # include <limits.h>
65389 #else
65390 # include <assert.h>
65391 #endif
65392
65393 #undef $ac_func
65394
65395 /* Override any gcc2 internal prototype to avoid an error.  */
65396 #ifdef __cplusplus
65397 extern "C"
65398 {
65399 #endif
65400 /* We use char because int might match the return type of a gcc2
65401    builtin and then its argument prototype would still apply.  */
65402 char $ac_func ();
65403 /* The GNU C library defines this for functions which it implements
65404     to always fail with ENOSYS.  Some functions are actually named
65405     something starting with __ and the normal name is an alias.  */
65406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65407 choke me
65408 #else
65409 char (*f) () = $ac_func;
65410 #endif
65411 #ifdef __cplusplus
65412 }
65413 #endif
65414
65415 int
65416 main ()
65417 {
65418 return f != $ac_func;
65419   ;
65420   return 0;
65421 }
65422 _ACEOF
65423 rm -f conftest.$ac_objext conftest$ac_exeext
65424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65425   (eval $ac_link) 2>conftest.er1
65426   ac_status=$?
65427   grep -v '^ *+' conftest.er1 >conftest.err
65428   rm -f conftest.er1
65429   cat conftest.err >&5
65430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431   (exit $ac_status); } &&
65432          { ac_try='test -z "$ac_c_werror_flag"
65433                          || test ! -s conftest.err'
65434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65435   (eval $ac_try) 2>&5
65436   ac_status=$?
65437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65438   (exit $ac_status); }; } &&
65439          { ac_try='test -s conftest$ac_exeext'
65440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65441   (eval $ac_try) 2>&5
65442   ac_status=$?
65443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65444   (exit $ac_status); }; }; then
65445   eval "$as_ac_var=yes"
65446 else
65447   echo "$as_me: failed program was:" >&5
65448 sed 's/^/| /' conftest.$ac_ext >&5
65449
65450 eval "$as_ac_var=no"
65451 fi
65452 rm -f conftest.err conftest.$ac_objext \
65453       conftest$ac_exeext conftest.$ac_ext
65454 fi
65455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65457 if test `eval echo '${'$as_ac_var'}'` = yes; then
65458   cat >>confdefs.h <<_ACEOF
65459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65460 _ACEOF
65461
65462 fi
65463 done
65464
65465   else
65466
65467   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65468 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65469   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65470     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65471   echo $ECHO_N "(cached) $ECHO_C" >&6
65472 else
65473
65474
65475
65476       ac_ext=cc
65477 ac_cpp='$CXXCPP $CPPFLAGS'
65478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65481
65482       cat >conftest.$ac_ext <<_ACEOF
65483 /* confdefs.h.  */
65484 _ACEOF
65485 cat confdefs.h >>conftest.$ac_ext
65486 cat >>conftest.$ac_ext <<_ACEOF
65487 /* end confdefs.h.  */
65488 #include <math.h>
65489                       #ifdef HAVE_IEEEFP_H
65490                       #include <ieeefp.h>
65491                       #endif
65492
65493 int
65494 main ()
65495 {
65496  _fabsl(0);
65497   ;
65498   return 0;
65499 }
65500 _ACEOF
65501 rm -f conftest.$ac_objext
65502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65503   (eval $ac_compile) 2>conftest.er1
65504   ac_status=$?
65505   grep -v '^ *+' conftest.er1 >conftest.err
65506   rm -f conftest.er1
65507   cat conftest.err >&5
65508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65509   (exit $ac_status); } &&
65510          { ac_try='test -z "$ac_cxx_werror_flag"
65511                          || test ! -s conftest.err'
65512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65513   (eval $ac_try) 2>&5
65514   ac_status=$?
65515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65516   (exit $ac_status); }; } &&
65517          { ac_try='test -s conftest.$ac_objext'
65518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65519   (eval $ac_try) 2>&5
65520   ac_status=$?
65521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65522   (exit $ac_status); }; }; then
65523   glibcxx_cv_func__fabsl_use=yes
65524 else
65525   echo "$as_me: failed program was:" >&5
65526 sed 's/^/| /' conftest.$ac_ext >&5
65527
65528 glibcxx_cv_func__fabsl_use=no
65529 fi
65530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65531       ac_ext=c
65532 ac_cpp='$CPP $CPPFLAGS'
65533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536
65537
65538 fi
65539
65540   fi
65541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65542 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65543
65544     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65545
65546 for ac_func in _fabsl
65547 do
65548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65549 echo "$as_me:$LINENO: checking for $ac_func" >&5
65550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65551 if eval "test \"\${$as_ac_var+set}\" = set"; then
65552   echo $ECHO_N "(cached) $ECHO_C" >&6
65553 else
65554   if test x$gcc_no_link = xyes; then
65555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65557    { (exit 1); exit 1; }; }
65558 fi
65559 cat >conftest.$ac_ext <<_ACEOF
65560 /* confdefs.h.  */
65561 _ACEOF
65562 cat confdefs.h >>conftest.$ac_ext
65563 cat >>conftest.$ac_ext <<_ACEOF
65564 /* end confdefs.h.  */
65565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65567 #define $ac_func innocuous_$ac_func
65568
65569 /* System header to define __stub macros and hopefully few prototypes,
65570     which can conflict with char $ac_func (); below.
65571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65572     <limits.h> exists even on freestanding compilers.  */
65573
65574 #ifdef __STDC__
65575 # include <limits.h>
65576 #else
65577 # include <assert.h>
65578 #endif
65579
65580 #undef $ac_func
65581
65582 /* Override any gcc2 internal prototype to avoid an error.  */
65583 #ifdef __cplusplus
65584 extern "C"
65585 {
65586 #endif
65587 /* We use char because int might match the return type of a gcc2
65588    builtin and then its argument prototype would still apply.  */
65589 char $ac_func ();
65590 /* The GNU C library defines this for functions which it implements
65591     to always fail with ENOSYS.  Some functions are actually named
65592     something starting with __ and the normal name is an alias.  */
65593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65594 choke me
65595 #else
65596 char (*f) () = $ac_func;
65597 #endif
65598 #ifdef __cplusplus
65599 }
65600 #endif
65601
65602 int
65603 main ()
65604 {
65605 return f != $ac_func;
65606   ;
65607   return 0;
65608 }
65609 _ACEOF
65610 rm -f conftest.$ac_objext conftest$ac_exeext
65611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65612   (eval $ac_link) 2>conftest.er1
65613   ac_status=$?
65614   grep -v '^ *+' conftest.er1 >conftest.err
65615   rm -f conftest.er1
65616   cat conftest.err >&5
65617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65618   (exit $ac_status); } &&
65619          { ac_try='test -z "$ac_c_werror_flag"
65620                          || test ! -s conftest.err'
65621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65622   (eval $ac_try) 2>&5
65623   ac_status=$?
65624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65625   (exit $ac_status); }; } &&
65626          { ac_try='test -s conftest$ac_exeext'
65627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65628   (eval $ac_try) 2>&5
65629   ac_status=$?
65630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65631   (exit $ac_status); }; }; then
65632   eval "$as_ac_var=yes"
65633 else
65634   echo "$as_me: failed program was:" >&5
65635 sed 's/^/| /' conftest.$ac_ext >&5
65636
65637 eval "$as_ac_var=no"
65638 fi
65639 rm -f conftest.err conftest.$ac_objext \
65640       conftest$ac_exeext conftest.$ac_ext
65641 fi
65642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65644 if test `eval echo '${'$as_ac_var'}'` = yes; then
65645   cat >>confdefs.h <<_ACEOF
65646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65647 _ACEOF
65648
65649 fi
65650 done
65651
65652     fi
65653   fi
65654
65655
65656
65657   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65658 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65659   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65660     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65661   echo $ECHO_N "(cached) $ECHO_C" >&6
65662 else
65663
65664
65665
65666       ac_ext=cc
65667 ac_cpp='$CXXCPP $CPPFLAGS'
65668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65671
65672       cat >conftest.$ac_ext <<_ACEOF
65673 /* confdefs.h.  */
65674 _ACEOF
65675 cat confdefs.h >>conftest.$ac_ext
65676 cat >>conftest.$ac_ext <<_ACEOF
65677 /* end confdefs.h.  */
65678 #include <math.h>
65679 int
65680 main ()
65681 {
65682  fmodl(0, 0);
65683   ;
65684   return 0;
65685 }
65686 _ACEOF
65687 rm -f conftest.$ac_objext
65688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65689   (eval $ac_compile) 2>conftest.er1
65690   ac_status=$?
65691   grep -v '^ *+' conftest.er1 >conftest.err
65692   rm -f conftest.er1
65693   cat conftest.err >&5
65694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65695   (exit $ac_status); } &&
65696          { ac_try='test -z "$ac_cxx_werror_flag"
65697                          || test ! -s conftest.err'
65698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65699   (eval $ac_try) 2>&5
65700   ac_status=$?
65701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65702   (exit $ac_status); }; } &&
65703          { ac_try='test -s conftest.$ac_objext'
65704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65705   (eval $ac_try) 2>&5
65706   ac_status=$?
65707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65708   (exit $ac_status); }; }; then
65709   glibcxx_cv_func_fmodl_use=yes
65710 else
65711   echo "$as_me: failed program was:" >&5
65712 sed 's/^/| /' conftest.$ac_ext >&5
65713
65714 glibcxx_cv_func_fmodl_use=no
65715 fi
65716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65717       ac_ext=c
65718 ac_cpp='$CPP $CPPFLAGS'
65719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65722
65723
65724 fi
65725
65726   fi
65727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65728 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65729
65730   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65731
65732 for ac_func in fmodl
65733 do
65734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65735 echo "$as_me:$LINENO: checking for $ac_func" >&5
65736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65737 if eval "test \"\${$as_ac_var+set}\" = set"; then
65738   echo $ECHO_N "(cached) $ECHO_C" >&6
65739 else
65740   if test x$gcc_no_link = xyes; then
65741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65743    { (exit 1); exit 1; }; }
65744 fi
65745 cat >conftest.$ac_ext <<_ACEOF
65746 /* confdefs.h.  */
65747 _ACEOF
65748 cat confdefs.h >>conftest.$ac_ext
65749 cat >>conftest.$ac_ext <<_ACEOF
65750 /* end confdefs.h.  */
65751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65753 #define $ac_func innocuous_$ac_func
65754
65755 /* System header to define __stub macros and hopefully few prototypes,
65756     which can conflict with char $ac_func (); below.
65757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65758     <limits.h> exists even on freestanding compilers.  */
65759
65760 #ifdef __STDC__
65761 # include <limits.h>
65762 #else
65763 # include <assert.h>
65764 #endif
65765
65766 #undef $ac_func
65767
65768 /* Override any gcc2 internal prototype to avoid an error.  */
65769 #ifdef __cplusplus
65770 extern "C"
65771 {
65772 #endif
65773 /* We use char because int might match the return type of a gcc2
65774    builtin and then its argument prototype would still apply.  */
65775 char $ac_func ();
65776 /* The GNU C library defines this for functions which it implements
65777     to always fail with ENOSYS.  Some functions are actually named
65778     something starting with __ and the normal name is an alias.  */
65779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65780 choke me
65781 #else
65782 char (*f) () = $ac_func;
65783 #endif
65784 #ifdef __cplusplus
65785 }
65786 #endif
65787
65788 int
65789 main ()
65790 {
65791 return f != $ac_func;
65792   ;
65793   return 0;
65794 }
65795 _ACEOF
65796 rm -f conftest.$ac_objext conftest$ac_exeext
65797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65798   (eval $ac_link) 2>conftest.er1
65799   ac_status=$?
65800   grep -v '^ *+' conftest.er1 >conftest.err
65801   rm -f conftest.er1
65802   cat conftest.err >&5
65803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65804   (exit $ac_status); } &&
65805          { ac_try='test -z "$ac_c_werror_flag"
65806                          || test ! -s conftest.err'
65807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65808   (eval $ac_try) 2>&5
65809   ac_status=$?
65810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65811   (exit $ac_status); }; } &&
65812          { ac_try='test -s conftest$ac_exeext'
65813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65814   (eval $ac_try) 2>&5
65815   ac_status=$?
65816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65817   (exit $ac_status); }; }; then
65818   eval "$as_ac_var=yes"
65819 else
65820   echo "$as_me: failed program was:" >&5
65821 sed 's/^/| /' conftest.$ac_ext >&5
65822
65823 eval "$as_ac_var=no"
65824 fi
65825 rm -f conftest.err conftest.$ac_objext \
65826       conftest$ac_exeext conftest.$ac_ext
65827 fi
65828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65830 if test `eval echo '${'$as_ac_var'}'` = yes; then
65831   cat >>confdefs.h <<_ACEOF
65832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65833 _ACEOF
65834
65835 fi
65836 done
65837
65838   else
65839
65840   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65841 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65842   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65843     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65844   echo $ECHO_N "(cached) $ECHO_C" >&6
65845 else
65846
65847
65848
65849       ac_ext=cc
65850 ac_cpp='$CXXCPP $CPPFLAGS'
65851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65854
65855       cat >conftest.$ac_ext <<_ACEOF
65856 /* confdefs.h.  */
65857 _ACEOF
65858 cat confdefs.h >>conftest.$ac_ext
65859 cat >>conftest.$ac_ext <<_ACEOF
65860 /* end confdefs.h.  */
65861 #include <math.h>
65862 int
65863 main ()
65864 {
65865  _fmodl(0, 0);
65866   ;
65867   return 0;
65868 }
65869 _ACEOF
65870 rm -f conftest.$ac_objext
65871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65872   (eval $ac_compile) 2>conftest.er1
65873   ac_status=$?
65874   grep -v '^ *+' conftest.er1 >conftest.err
65875   rm -f conftest.er1
65876   cat conftest.err >&5
65877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65878   (exit $ac_status); } &&
65879          { ac_try='test -z "$ac_cxx_werror_flag"
65880                          || test ! -s conftest.err'
65881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65882   (eval $ac_try) 2>&5
65883   ac_status=$?
65884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65885   (exit $ac_status); }; } &&
65886          { ac_try='test -s conftest.$ac_objext'
65887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65888   (eval $ac_try) 2>&5
65889   ac_status=$?
65890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65891   (exit $ac_status); }; }; then
65892   glibcxx_cv_func__fmodl_use=yes
65893 else
65894   echo "$as_me: failed program was:" >&5
65895 sed 's/^/| /' conftest.$ac_ext >&5
65896
65897 glibcxx_cv_func__fmodl_use=no
65898 fi
65899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65900       ac_ext=c
65901 ac_cpp='$CPP $CPPFLAGS'
65902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65905
65906
65907 fi
65908
65909   fi
65910   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65911 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65912
65913     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65914
65915 for ac_func in _fmodl
65916 do
65917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65918 echo "$as_me:$LINENO: checking for $ac_func" >&5
65919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65920 if eval "test \"\${$as_ac_var+set}\" = set"; then
65921   echo $ECHO_N "(cached) $ECHO_C" >&6
65922 else
65923   if test x$gcc_no_link = xyes; then
65924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65926    { (exit 1); exit 1; }; }
65927 fi
65928 cat >conftest.$ac_ext <<_ACEOF
65929 /* confdefs.h.  */
65930 _ACEOF
65931 cat confdefs.h >>conftest.$ac_ext
65932 cat >>conftest.$ac_ext <<_ACEOF
65933 /* end confdefs.h.  */
65934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65936 #define $ac_func innocuous_$ac_func
65937
65938 /* System header to define __stub macros and hopefully few prototypes,
65939     which can conflict with char $ac_func (); below.
65940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65941     <limits.h> exists even on freestanding compilers.  */
65942
65943 #ifdef __STDC__
65944 # include <limits.h>
65945 #else
65946 # include <assert.h>
65947 #endif
65948
65949 #undef $ac_func
65950
65951 /* Override any gcc2 internal prototype to avoid an error.  */
65952 #ifdef __cplusplus
65953 extern "C"
65954 {
65955 #endif
65956 /* We use char because int might match the return type of a gcc2
65957    builtin and then its argument prototype would still apply.  */
65958 char $ac_func ();
65959 /* The GNU C library defines this for functions which it implements
65960     to always fail with ENOSYS.  Some functions are actually named
65961     something starting with __ and the normal name is an alias.  */
65962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65963 choke me
65964 #else
65965 char (*f) () = $ac_func;
65966 #endif
65967 #ifdef __cplusplus
65968 }
65969 #endif
65970
65971 int
65972 main ()
65973 {
65974 return f != $ac_func;
65975   ;
65976   return 0;
65977 }
65978 _ACEOF
65979 rm -f conftest.$ac_objext conftest$ac_exeext
65980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65981   (eval $ac_link) 2>conftest.er1
65982   ac_status=$?
65983   grep -v '^ *+' conftest.er1 >conftest.err
65984   rm -f conftest.er1
65985   cat conftest.err >&5
65986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65987   (exit $ac_status); } &&
65988          { ac_try='test -z "$ac_c_werror_flag"
65989                          || test ! -s conftest.err'
65990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65991   (eval $ac_try) 2>&5
65992   ac_status=$?
65993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65994   (exit $ac_status); }; } &&
65995          { ac_try='test -s conftest$ac_exeext'
65996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65997   (eval $ac_try) 2>&5
65998   ac_status=$?
65999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66000   (exit $ac_status); }; }; then
66001   eval "$as_ac_var=yes"
66002 else
66003   echo "$as_me: failed program was:" >&5
66004 sed 's/^/| /' conftest.$ac_ext >&5
66005
66006 eval "$as_ac_var=no"
66007 fi
66008 rm -f conftest.err conftest.$ac_objext \
66009       conftest$ac_exeext conftest.$ac_ext
66010 fi
66011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66013 if test `eval echo '${'$as_ac_var'}'` = yes; then
66014   cat >>confdefs.h <<_ACEOF
66015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66016 _ACEOF
66017
66018 fi
66019 done
66020
66021     fi
66022   fi
66023
66024
66025
66026   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66027 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66028   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66029     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66030   echo $ECHO_N "(cached) $ECHO_C" >&6
66031 else
66032
66033
66034
66035       ac_ext=cc
66036 ac_cpp='$CXXCPP $CPPFLAGS'
66037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66040
66041       cat >conftest.$ac_ext <<_ACEOF
66042 /* confdefs.h.  */
66043 _ACEOF
66044 cat confdefs.h >>conftest.$ac_ext
66045 cat >>conftest.$ac_ext <<_ACEOF
66046 /* end confdefs.h.  */
66047 #include <math.h>
66048 int
66049 main ()
66050 {
66051  frexpl(0, 0);
66052   ;
66053   return 0;
66054 }
66055 _ACEOF
66056 rm -f conftest.$ac_objext
66057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66058   (eval $ac_compile) 2>conftest.er1
66059   ac_status=$?
66060   grep -v '^ *+' conftest.er1 >conftest.err
66061   rm -f conftest.er1
66062   cat conftest.err >&5
66063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66064   (exit $ac_status); } &&
66065          { ac_try='test -z "$ac_cxx_werror_flag"
66066                          || test ! -s conftest.err'
66067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66068   (eval $ac_try) 2>&5
66069   ac_status=$?
66070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66071   (exit $ac_status); }; } &&
66072          { ac_try='test -s conftest.$ac_objext'
66073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66074   (eval $ac_try) 2>&5
66075   ac_status=$?
66076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66077   (exit $ac_status); }; }; then
66078   glibcxx_cv_func_frexpl_use=yes
66079 else
66080   echo "$as_me: failed program was:" >&5
66081 sed 's/^/| /' conftest.$ac_ext >&5
66082
66083 glibcxx_cv_func_frexpl_use=no
66084 fi
66085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66086       ac_ext=c
66087 ac_cpp='$CPP $CPPFLAGS'
66088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66091
66092
66093 fi
66094
66095   fi
66096   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66097 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66098
66099   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66100
66101 for ac_func in frexpl
66102 do
66103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66104 echo "$as_me:$LINENO: checking for $ac_func" >&5
66105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66106 if eval "test \"\${$as_ac_var+set}\" = set"; then
66107   echo $ECHO_N "(cached) $ECHO_C" >&6
66108 else
66109   if test x$gcc_no_link = xyes; then
66110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66112    { (exit 1); exit 1; }; }
66113 fi
66114 cat >conftest.$ac_ext <<_ACEOF
66115 /* confdefs.h.  */
66116 _ACEOF
66117 cat confdefs.h >>conftest.$ac_ext
66118 cat >>conftest.$ac_ext <<_ACEOF
66119 /* end confdefs.h.  */
66120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66122 #define $ac_func innocuous_$ac_func
66123
66124 /* System header to define __stub macros and hopefully few prototypes,
66125     which can conflict with char $ac_func (); below.
66126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66127     <limits.h> exists even on freestanding compilers.  */
66128
66129 #ifdef __STDC__
66130 # include <limits.h>
66131 #else
66132 # include <assert.h>
66133 #endif
66134
66135 #undef $ac_func
66136
66137 /* Override any gcc2 internal prototype to avoid an error.  */
66138 #ifdef __cplusplus
66139 extern "C"
66140 {
66141 #endif
66142 /* We use char because int might match the return type of a gcc2
66143    builtin and then its argument prototype would still apply.  */
66144 char $ac_func ();
66145 /* The GNU C library defines this for functions which it implements
66146     to always fail with ENOSYS.  Some functions are actually named
66147     something starting with __ and the normal name is an alias.  */
66148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66149 choke me
66150 #else
66151 char (*f) () = $ac_func;
66152 #endif
66153 #ifdef __cplusplus
66154 }
66155 #endif
66156
66157 int
66158 main ()
66159 {
66160 return f != $ac_func;
66161   ;
66162   return 0;
66163 }
66164 _ACEOF
66165 rm -f conftest.$ac_objext conftest$ac_exeext
66166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66167   (eval $ac_link) 2>conftest.er1
66168   ac_status=$?
66169   grep -v '^ *+' conftest.er1 >conftest.err
66170   rm -f conftest.er1
66171   cat conftest.err >&5
66172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66173   (exit $ac_status); } &&
66174          { ac_try='test -z "$ac_c_werror_flag"
66175                          || test ! -s conftest.err'
66176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66177   (eval $ac_try) 2>&5
66178   ac_status=$?
66179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66180   (exit $ac_status); }; } &&
66181          { ac_try='test -s conftest$ac_exeext'
66182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66183   (eval $ac_try) 2>&5
66184   ac_status=$?
66185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66186   (exit $ac_status); }; }; then
66187   eval "$as_ac_var=yes"
66188 else
66189   echo "$as_me: failed program was:" >&5
66190 sed 's/^/| /' conftest.$ac_ext >&5
66191
66192 eval "$as_ac_var=no"
66193 fi
66194 rm -f conftest.err conftest.$ac_objext \
66195       conftest$ac_exeext conftest.$ac_ext
66196 fi
66197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66199 if test `eval echo '${'$as_ac_var'}'` = yes; then
66200   cat >>confdefs.h <<_ACEOF
66201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66202 _ACEOF
66203
66204 fi
66205 done
66206
66207   else
66208
66209   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66210 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66211   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66212     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66213   echo $ECHO_N "(cached) $ECHO_C" >&6
66214 else
66215
66216
66217
66218       ac_ext=cc
66219 ac_cpp='$CXXCPP $CPPFLAGS'
66220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66223
66224       cat >conftest.$ac_ext <<_ACEOF
66225 /* confdefs.h.  */
66226 _ACEOF
66227 cat confdefs.h >>conftest.$ac_ext
66228 cat >>conftest.$ac_ext <<_ACEOF
66229 /* end confdefs.h.  */
66230 #include <math.h>
66231 int
66232 main ()
66233 {
66234  _frexpl(0, 0);
66235   ;
66236   return 0;
66237 }
66238 _ACEOF
66239 rm -f conftest.$ac_objext
66240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66241   (eval $ac_compile) 2>conftest.er1
66242   ac_status=$?
66243   grep -v '^ *+' conftest.er1 >conftest.err
66244   rm -f conftest.er1
66245   cat conftest.err >&5
66246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66247   (exit $ac_status); } &&
66248          { ac_try='test -z "$ac_cxx_werror_flag"
66249                          || test ! -s conftest.err'
66250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66251   (eval $ac_try) 2>&5
66252   ac_status=$?
66253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66254   (exit $ac_status); }; } &&
66255          { ac_try='test -s conftest.$ac_objext'
66256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66257   (eval $ac_try) 2>&5
66258   ac_status=$?
66259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66260   (exit $ac_status); }; }; then
66261   glibcxx_cv_func__frexpl_use=yes
66262 else
66263   echo "$as_me: failed program was:" >&5
66264 sed 's/^/| /' conftest.$ac_ext >&5
66265
66266 glibcxx_cv_func__frexpl_use=no
66267 fi
66268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66269       ac_ext=c
66270 ac_cpp='$CPP $CPPFLAGS'
66271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66274
66275
66276 fi
66277
66278   fi
66279   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66280 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66281
66282     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66283
66284 for ac_func in _frexpl
66285 do
66286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66287 echo "$as_me:$LINENO: checking for $ac_func" >&5
66288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66289 if eval "test \"\${$as_ac_var+set}\" = set"; then
66290   echo $ECHO_N "(cached) $ECHO_C" >&6
66291 else
66292   if test x$gcc_no_link = xyes; then
66293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66295    { (exit 1); exit 1; }; }
66296 fi
66297 cat >conftest.$ac_ext <<_ACEOF
66298 /* confdefs.h.  */
66299 _ACEOF
66300 cat confdefs.h >>conftest.$ac_ext
66301 cat >>conftest.$ac_ext <<_ACEOF
66302 /* end confdefs.h.  */
66303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66305 #define $ac_func innocuous_$ac_func
66306
66307 /* System header to define __stub macros and hopefully few prototypes,
66308     which can conflict with char $ac_func (); below.
66309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66310     <limits.h> exists even on freestanding compilers.  */
66311
66312 #ifdef __STDC__
66313 # include <limits.h>
66314 #else
66315 # include <assert.h>
66316 #endif
66317
66318 #undef $ac_func
66319
66320 /* Override any gcc2 internal prototype to avoid an error.  */
66321 #ifdef __cplusplus
66322 extern "C"
66323 {
66324 #endif
66325 /* We use char because int might match the return type of a gcc2
66326    builtin and then its argument prototype would still apply.  */
66327 char $ac_func ();
66328 /* The GNU C library defines this for functions which it implements
66329     to always fail with ENOSYS.  Some functions are actually named
66330     something starting with __ and the normal name is an alias.  */
66331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66332 choke me
66333 #else
66334 char (*f) () = $ac_func;
66335 #endif
66336 #ifdef __cplusplus
66337 }
66338 #endif
66339
66340 int
66341 main ()
66342 {
66343 return f != $ac_func;
66344   ;
66345   return 0;
66346 }
66347 _ACEOF
66348 rm -f conftest.$ac_objext conftest$ac_exeext
66349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66350   (eval $ac_link) 2>conftest.er1
66351   ac_status=$?
66352   grep -v '^ *+' conftest.er1 >conftest.err
66353   rm -f conftest.er1
66354   cat conftest.err >&5
66355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66356   (exit $ac_status); } &&
66357          { ac_try='test -z "$ac_c_werror_flag"
66358                          || test ! -s conftest.err'
66359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66360   (eval $ac_try) 2>&5
66361   ac_status=$?
66362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66363   (exit $ac_status); }; } &&
66364          { ac_try='test -s conftest$ac_exeext'
66365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66366   (eval $ac_try) 2>&5
66367   ac_status=$?
66368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66369   (exit $ac_status); }; }; then
66370   eval "$as_ac_var=yes"
66371 else
66372   echo "$as_me: failed program was:" >&5
66373 sed 's/^/| /' conftest.$ac_ext >&5
66374
66375 eval "$as_ac_var=no"
66376 fi
66377 rm -f conftest.err conftest.$ac_objext \
66378       conftest$ac_exeext conftest.$ac_ext
66379 fi
66380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66382 if test `eval echo '${'$as_ac_var'}'` = yes; then
66383   cat >>confdefs.h <<_ACEOF
66384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66385 _ACEOF
66386
66387 fi
66388 done
66389
66390     fi
66391   fi
66392
66393
66394
66395   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66396 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66397   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66398     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66399   echo $ECHO_N "(cached) $ECHO_C" >&6
66400 else
66401
66402
66403
66404       ac_ext=cc
66405 ac_cpp='$CXXCPP $CPPFLAGS'
66406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66409
66410       cat >conftest.$ac_ext <<_ACEOF
66411 /* confdefs.h.  */
66412 _ACEOF
66413 cat confdefs.h >>conftest.$ac_ext
66414 cat >>conftest.$ac_ext <<_ACEOF
66415 /* end confdefs.h.  */
66416 #include <math.h>
66417 int
66418 main ()
66419 {
66420  hypotl(0, 0);
66421   ;
66422   return 0;
66423 }
66424 _ACEOF
66425 rm -f conftest.$ac_objext
66426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66427   (eval $ac_compile) 2>conftest.er1
66428   ac_status=$?
66429   grep -v '^ *+' conftest.er1 >conftest.err
66430   rm -f conftest.er1
66431   cat conftest.err >&5
66432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66433   (exit $ac_status); } &&
66434          { ac_try='test -z "$ac_cxx_werror_flag"
66435                          || test ! -s conftest.err'
66436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66437   (eval $ac_try) 2>&5
66438   ac_status=$?
66439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66440   (exit $ac_status); }; } &&
66441          { ac_try='test -s conftest.$ac_objext'
66442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66443   (eval $ac_try) 2>&5
66444   ac_status=$?
66445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66446   (exit $ac_status); }; }; then
66447   glibcxx_cv_func_hypotl_use=yes
66448 else
66449   echo "$as_me: failed program was:" >&5
66450 sed 's/^/| /' conftest.$ac_ext >&5
66451
66452 glibcxx_cv_func_hypotl_use=no
66453 fi
66454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66455       ac_ext=c
66456 ac_cpp='$CPP $CPPFLAGS'
66457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66460
66461
66462 fi
66463
66464   fi
66465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66466 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66467
66468   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66469
66470 for ac_func in hypotl
66471 do
66472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66473 echo "$as_me:$LINENO: checking for $ac_func" >&5
66474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66475 if eval "test \"\${$as_ac_var+set}\" = set"; then
66476   echo $ECHO_N "(cached) $ECHO_C" >&6
66477 else
66478   if test x$gcc_no_link = xyes; then
66479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66481    { (exit 1); exit 1; }; }
66482 fi
66483 cat >conftest.$ac_ext <<_ACEOF
66484 /* confdefs.h.  */
66485 _ACEOF
66486 cat confdefs.h >>conftest.$ac_ext
66487 cat >>conftest.$ac_ext <<_ACEOF
66488 /* end confdefs.h.  */
66489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66491 #define $ac_func innocuous_$ac_func
66492
66493 /* System header to define __stub macros and hopefully few prototypes,
66494     which can conflict with char $ac_func (); below.
66495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66496     <limits.h> exists even on freestanding compilers.  */
66497
66498 #ifdef __STDC__
66499 # include <limits.h>
66500 #else
66501 # include <assert.h>
66502 #endif
66503
66504 #undef $ac_func
66505
66506 /* Override any gcc2 internal prototype to avoid an error.  */
66507 #ifdef __cplusplus
66508 extern "C"
66509 {
66510 #endif
66511 /* We use char because int might match the return type of a gcc2
66512    builtin and then its argument prototype would still apply.  */
66513 char $ac_func ();
66514 /* The GNU C library defines this for functions which it implements
66515     to always fail with ENOSYS.  Some functions are actually named
66516     something starting with __ and the normal name is an alias.  */
66517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66518 choke me
66519 #else
66520 char (*f) () = $ac_func;
66521 #endif
66522 #ifdef __cplusplus
66523 }
66524 #endif
66525
66526 int
66527 main ()
66528 {
66529 return f != $ac_func;
66530   ;
66531   return 0;
66532 }
66533 _ACEOF
66534 rm -f conftest.$ac_objext conftest$ac_exeext
66535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66536   (eval $ac_link) 2>conftest.er1
66537   ac_status=$?
66538   grep -v '^ *+' conftest.er1 >conftest.err
66539   rm -f conftest.er1
66540   cat conftest.err >&5
66541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66542   (exit $ac_status); } &&
66543          { ac_try='test -z "$ac_c_werror_flag"
66544                          || test ! -s conftest.err'
66545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66546   (eval $ac_try) 2>&5
66547   ac_status=$?
66548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66549   (exit $ac_status); }; } &&
66550          { ac_try='test -s conftest$ac_exeext'
66551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66552   (eval $ac_try) 2>&5
66553   ac_status=$?
66554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66555   (exit $ac_status); }; }; then
66556   eval "$as_ac_var=yes"
66557 else
66558   echo "$as_me: failed program was:" >&5
66559 sed 's/^/| /' conftest.$ac_ext >&5
66560
66561 eval "$as_ac_var=no"
66562 fi
66563 rm -f conftest.err conftest.$ac_objext \
66564       conftest$ac_exeext conftest.$ac_ext
66565 fi
66566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66568 if test `eval echo '${'$as_ac_var'}'` = yes; then
66569   cat >>confdefs.h <<_ACEOF
66570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66571 _ACEOF
66572
66573 fi
66574 done
66575
66576   else
66577
66578   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66579 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66580   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66581     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66582   echo $ECHO_N "(cached) $ECHO_C" >&6
66583 else
66584
66585
66586
66587       ac_ext=cc
66588 ac_cpp='$CXXCPP $CPPFLAGS'
66589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66592
66593       cat >conftest.$ac_ext <<_ACEOF
66594 /* confdefs.h.  */
66595 _ACEOF
66596 cat confdefs.h >>conftest.$ac_ext
66597 cat >>conftest.$ac_ext <<_ACEOF
66598 /* end confdefs.h.  */
66599 #include <math.h>
66600 int
66601 main ()
66602 {
66603  _hypotl(0, 0);
66604   ;
66605   return 0;
66606 }
66607 _ACEOF
66608 rm -f conftest.$ac_objext
66609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66610   (eval $ac_compile) 2>conftest.er1
66611   ac_status=$?
66612   grep -v '^ *+' conftest.er1 >conftest.err
66613   rm -f conftest.er1
66614   cat conftest.err >&5
66615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66616   (exit $ac_status); } &&
66617          { ac_try='test -z "$ac_cxx_werror_flag"
66618                          || test ! -s conftest.err'
66619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66620   (eval $ac_try) 2>&5
66621   ac_status=$?
66622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66623   (exit $ac_status); }; } &&
66624          { ac_try='test -s conftest.$ac_objext'
66625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66626   (eval $ac_try) 2>&5
66627   ac_status=$?
66628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66629   (exit $ac_status); }; }; then
66630   glibcxx_cv_func__hypotl_use=yes
66631 else
66632   echo "$as_me: failed program was:" >&5
66633 sed 's/^/| /' conftest.$ac_ext >&5
66634
66635 glibcxx_cv_func__hypotl_use=no
66636 fi
66637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66638       ac_ext=c
66639 ac_cpp='$CPP $CPPFLAGS'
66640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66643
66644
66645 fi
66646
66647   fi
66648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66649 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66650
66651     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66652
66653 for ac_func in _hypotl
66654 do
66655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66656 echo "$as_me:$LINENO: checking for $ac_func" >&5
66657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66658 if eval "test \"\${$as_ac_var+set}\" = set"; then
66659   echo $ECHO_N "(cached) $ECHO_C" >&6
66660 else
66661   if test x$gcc_no_link = xyes; then
66662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66664    { (exit 1); exit 1; }; }
66665 fi
66666 cat >conftest.$ac_ext <<_ACEOF
66667 /* confdefs.h.  */
66668 _ACEOF
66669 cat confdefs.h >>conftest.$ac_ext
66670 cat >>conftest.$ac_ext <<_ACEOF
66671 /* end confdefs.h.  */
66672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66674 #define $ac_func innocuous_$ac_func
66675
66676 /* System header to define __stub macros and hopefully few prototypes,
66677     which can conflict with char $ac_func (); below.
66678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66679     <limits.h> exists even on freestanding compilers.  */
66680
66681 #ifdef __STDC__
66682 # include <limits.h>
66683 #else
66684 # include <assert.h>
66685 #endif
66686
66687 #undef $ac_func
66688
66689 /* Override any gcc2 internal prototype to avoid an error.  */
66690 #ifdef __cplusplus
66691 extern "C"
66692 {
66693 #endif
66694 /* We use char because int might match the return type of a gcc2
66695    builtin and then its argument prototype would still apply.  */
66696 char $ac_func ();
66697 /* The GNU C library defines this for functions which it implements
66698     to always fail with ENOSYS.  Some functions are actually named
66699     something starting with __ and the normal name is an alias.  */
66700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66701 choke me
66702 #else
66703 char (*f) () = $ac_func;
66704 #endif
66705 #ifdef __cplusplus
66706 }
66707 #endif
66708
66709 int
66710 main ()
66711 {
66712 return f != $ac_func;
66713   ;
66714   return 0;
66715 }
66716 _ACEOF
66717 rm -f conftest.$ac_objext conftest$ac_exeext
66718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66719   (eval $ac_link) 2>conftest.er1
66720   ac_status=$?
66721   grep -v '^ *+' conftest.er1 >conftest.err
66722   rm -f conftest.er1
66723   cat conftest.err >&5
66724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66725   (exit $ac_status); } &&
66726          { ac_try='test -z "$ac_c_werror_flag"
66727                          || test ! -s conftest.err'
66728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66729   (eval $ac_try) 2>&5
66730   ac_status=$?
66731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66732   (exit $ac_status); }; } &&
66733          { ac_try='test -s conftest$ac_exeext'
66734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66735   (eval $ac_try) 2>&5
66736   ac_status=$?
66737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66738   (exit $ac_status); }; }; then
66739   eval "$as_ac_var=yes"
66740 else
66741   echo "$as_me: failed program was:" >&5
66742 sed 's/^/| /' conftest.$ac_ext >&5
66743
66744 eval "$as_ac_var=no"
66745 fi
66746 rm -f conftest.err conftest.$ac_objext \
66747       conftest$ac_exeext conftest.$ac_ext
66748 fi
66749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66751 if test `eval echo '${'$as_ac_var'}'` = yes; then
66752   cat >>confdefs.h <<_ACEOF
66753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66754 _ACEOF
66755
66756 fi
66757 done
66758
66759     fi
66760   fi
66761
66762
66763
66764   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66765 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66766   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66767     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66768   echo $ECHO_N "(cached) $ECHO_C" >&6
66769 else
66770
66771
66772
66773       ac_ext=cc
66774 ac_cpp='$CXXCPP $CPPFLAGS'
66775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66778
66779       cat >conftest.$ac_ext <<_ACEOF
66780 /* confdefs.h.  */
66781 _ACEOF
66782 cat confdefs.h >>conftest.$ac_ext
66783 cat >>conftest.$ac_ext <<_ACEOF
66784 /* end confdefs.h.  */
66785 #include <math.h>
66786 int
66787 main ()
66788 {
66789  ldexpl(0, 0);
66790   ;
66791   return 0;
66792 }
66793 _ACEOF
66794 rm -f conftest.$ac_objext
66795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66796   (eval $ac_compile) 2>conftest.er1
66797   ac_status=$?
66798   grep -v '^ *+' conftest.er1 >conftest.err
66799   rm -f conftest.er1
66800   cat conftest.err >&5
66801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66802   (exit $ac_status); } &&
66803          { ac_try='test -z "$ac_cxx_werror_flag"
66804                          || test ! -s conftest.err'
66805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66806   (eval $ac_try) 2>&5
66807   ac_status=$?
66808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66809   (exit $ac_status); }; } &&
66810          { ac_try='test -s conftest.$ac_objext'
66811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66812   (eval $ac_try) 2>&5
66813   ac_status=$?
66814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66815   (exit $ac_status); }; }; then
66816   glibcxx_cv_func_ldexpl_use=yes
66817 else
66818   echo "$as_me: failed program was:" >&5
66819 sed 's/^/| /' conftest.$ac_ext >&5
66820
66821 glibcxx_cv_func_ldexpl_use=no
66822 fi
66823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66824       ac_ext=c
66825 ac_cpp='$CPP $CPPFLAGS'
66826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66829
66830
66831 fi
66832
66833   fi
66834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66835 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66836
66837   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66838
66839 for ac_func in ldexpl
66840 do
66841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66842 echo "$as_me:$LINENO: checking for $ac_func" >&5
66843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66844 if eval "test \"\${$as_ac_var+set}\" = set"; then
66845   echo $ECHO_N "(cached) $ECHO_C" >&6
66846 else
66847   if test x$gcc_no_link = xyes; then
66848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66850    { (exit 1); exit 1; }; }
66851 fi
66852 cat >conftest.$ac_ext <<_ACEOF
66853 /* confdefs.h.  */
66854 _ACEOF
66855 cat confdefs.h >>conftest.$ac_ext
66856 cat >>conftest.$ac_ext <<_ACEOF
66857 /* end confdefs.h.  */
66858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66860 #define $ac_func innocuous_$ac_func
66861
66862 /* System header to define __stub macros and hopefully few prototypes,
66863     which can conflict with char $ac_func (); below.
66864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66865     <limits.h> exists even on freestanding compilers.  */
66866
66867 #ifdef __STDC__
66868 # include <limits.h>
66869 #else
66870 # include <assert.h>
66871 #endif
66872
66873 #undef $ac_func
66874
66875 /* Override any gcc2 internal prototype to avoid an error.  */
66876 #ifdef __cplusplus
66877 extern "C"
66878 {
66879 #endif
66880 /* We use char because int might match the return type of a gcc2
66881    builtin and then its argument prototype would still apply.  */
66882 char $ac_func ();
66883 /* The GNU C library defines this for functions which it implements
66884     to always fail with ENOSYS.  Some functions are actually named
66885     something starting with __ and the normal name is an alias.  */
66886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66887 choke me
66888 #else
66889 char (*f) () = $ac_func;
66890 #endif
66891 #ifdef __cplusplus
66892 }
66893 #endif
66894
66895 int
66896 main ()
66897 {
66898 return f != $ac_func;
66899   ;
66900   return 0;
66901 }
66902 _ACEOF
66903 rm -f conftest.$ac_objext conftest$ac_exeext
66904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66905   (eval $ac_link) 2>conftest.er1
66906   ac_status=$?
66907   grep -v '^ *+' conftest.er1 >conftest.err
66908   rm -f conftest.er1
66909   cat conftest.err >&5
66910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66911   (exit $ac_status); } &&
66912          { ac_try='test -z "$ac_c_werror_flag"
66913                          || test ! -s conftest.err'
66914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66915   (eval $ac_try) 2>&5
66916   ac_status=$?
66917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66918   (exit $ac_status); }; } &&
66919          { ac_try='test -s conftest$ac_exeext'
66920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66921   (eval $ac_try) 2>&5
66922   ac_status=$?
66923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66924   (exit $ac_status); }; }; then
66925   eval "$as_ac_var=yes"
66926 else
66927   echo "$as_me: failed program was:" >&5
66928 sed 's/^/| /' conftest.$ac_ext >&5
66929
66930 eval "$as_ac_var=no"
66931 fi
66932 rm -f conftest.err conftest.$ac_objext \
66933       conftest$ac_exeext conftest.$ac_ext
66934 fi
66935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66937 if test `eval echo '${'$as_ac_var'}'` = yes; then
66938   cat >>confdefs.h <<_ACEOF
66939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66940 _ACEOF
66941
66942 fi
66943 done
66944
66945   else
66946
66947   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66948 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66949   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66950     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66951   echo $ECHO_N "(cached) $ECHO_C" >&6
66952 else
66953
66954
66955
66956       ac_ext=cc
66957 ac_cpp='$CXXCPP $CPPFLAGS'
66958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66961
66962       cat >conftest.$ac_ext <<_ACEOF
66963 /* confdefs.h.  */
66964 _ACEOF
66965 cat confdefs.h >>conftest.$ac_ext
66966 cat >>conftest.$ac_ext <<_ACEOF
66967 /* end confdefs.h.  */
66968 #include <math.h>
66969 int
66970 main ()
66971 {
66972  _ldexpl(0, 0);
66973   ;
66974   return 0;
66975 }
66976 _ACEOF
66977 rm -f conftest.$ac_objext
66978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66979   (eval $ac_compile) 2>conftest.er1
66980   ac_status=$?
66981   grep -v '^ *+' conftest.er1 >conftest.err
66982   rm -f conftest.er1
66983   cat conftest.err >&5
66984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66985   (exit $ac_status); } &&
66986          { ac_try='test -z "$ac_cxx_werror_flag"
66987                          || test ! -s conftest.err'
66988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66989   (eval $ac_try) 2>&5
66990   ac_status=$?
66991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66992   (exit $ac_status); }; } &&
66993          { ac_try='test -s conftest.$ac_objext'
66994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66995   (eval $ac_try) 2>&5
66996   ac_status=$?
66997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66998   (exit $ac_status); }; }; then
66999   glibcxx_cv_func__ldexpl_use=yes
67000 else
67001   echo "$as_me: failed program was:" >&5
67002 sed 's/^/| /' conftest.$ac_ext >&5
67003
67004 glibcxx_cv_func__ldexpl_use=no
67005 fi
67006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67007       ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67012
67013
67014 fi
67015
67016   fi
67017   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67018 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67019
67020     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67021
67022 for ac_func in _ldexpl
67023 do
67024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67025 echo "$as_me:$LINENO: checking for $ac_func" >&5
67026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67027 if eval "test \"\${$as_ac_var+set}\" = set"; then
67028   echo $ECHO_N "(cached) $ECHO_C" >&6
67029 else
67030   if test x$gcc_no_link = xyes; then
67031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67033    { (exit 1); exit 1; }; }
67034 fi
67035 cat >conftest.$ac_ext <<_ACEOF
67036 /* confdefs.h.  */
67037 _ACEOF
67038 cat confdefs.h >>conftest.$ac_ext
67039 cat >>conftest.$ac_ext <<_ACEOF
67040 /* end confdefs.h.  */
67041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67043 #define $ac_func innocuous_$ac_func
67044
67045 /* System header to define __stub macros and hopefully few prototypes,
67046     which can conflict with char $ac_func (); below.
67047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67048     <limits.h> exists even on freestanding compilers.  */
67049
67050 #ifdef __STDC__
67051 # include <limits.h>
67052 #else
67053 # include <assert.h>
67054 #endif
67055
67056 #undef $ac_func
67057
67058 /* Override any gcc2 internal prototype to avoid an error.  */
67059 #ifdef __cplusplus
67060 extern "C"
67061 {
67062 #endif
67063 /* We use char because int might match the return type of a gcc2
67064    builtin and then its argument prototype would still apply.  */
67065 char $ac_func ();
67066 /* The GNU C library defines this for functions which it implements
67067     to always fail with ENOSYS.  Some functions are actually named
67068     something starting with __ and the normal name is an alias.  */
67069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67070 choke me
67071 #else
67072 char (*f) () = $ac_func;
67073 #endif
67074 #ifdef __cplusplus
67075 }
67076 #endif
67077
67078 int
67079 main ()
67080 {
67081 return f != $ac_func;
67082   ;
67083   return 0;
67084 }
67085 _ACEOF
67086 rm -f conftest.$ac_objext conftest$ac_exeext
67087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67088   (eval $ac_link) 2>conftest.er1
67089   ac_status=$?
67090   grep -v '^ *+' conftest.er1 >conftest.err
67091   rm -f conftest.er1
67092   cat conftest.err >&5
67093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67094   (exit $ac_status); } &&
67095          { ac_try='test -z "$ac_c_werror_flag"
67096                          || test ! -s conftest.err'
67097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67098   (eval $ac_try) 2>&5
67099   ac_status=$?
67100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67101   (exit $ac_status); }; } &&
67102          { ac_try='test -s conftest$ac_exeext'
67103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67104   (eval $ac_try) 2>&5
67105   ac_status=$?
67106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107   (exit $ac_status); }; }; then
67108   eval "$as_ac_var=yes"
67109 else
67110   echo "$as_me: failed program was:" >&5
67111 sed 's/^/| /' conftest.$ac_ext >&5
67112
67113 eval "$as_ac_var=no"
67114 fi
67115 rm -f conftest.err conftest.$ac_objext \
67116       conftest$ac_exeext conftest.$ac_ext
67117 fi
67118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67120 if test `eval echo '${'$as_ac_var'}'` = yes; then
67121   cat >>confdefs.h <<_ACEOF
67122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67123 _ACEOF
67124
67125 fi
67126 done
67127
67128     fi
67129   fi
67130
67131
67132
67133   echo "$as_me:$LINENO: checking for logl declaration" >&5
67134 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67135   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67136     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67137   echo $ECHO_N "(cached) $ECHO_C" >&6
67138 else
67139
67140
67141
67142       ac_ext=cc
67143 ac_cpp='$CXXCPP $CPPFLAGS'
67144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67147
67148       cat >conftest.$ac_ext <<_ACEOF
67149 /* confdefs.h.  */
67150 _ACEOF
67151 cat confdefs.h >>conftest.$ac_ext
67152 cat >>conftest.$ac_ext <<_ACEOF
67153 /* end confdefs.h.  */
67154 #include <math.h>
67155                       #ifdef HAVE_IEEEFP_H
67156                       #include <ieeefp.h>
67157                       #endif
67158
67159 int
67160 main ()
67161 {
67162  logl(0);
67163   ;
67164   return 0;
67165 }
67166 _ACEOF
67167 rm -f conftest.$ac_objext
67168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67169   (eval $ac_compile) 2>conftest.er1
67170   ac_status=$?
67171   grep -v '^ *+' conftest.er1 >conftest.err
67172   rm -f conftest.er1
67173   cat conftest.err >&5
67174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67175   (exit $ac_status); } &&
67176          { ac_try='test -z "$ac_cxx_werror_flag"
67177                          || test ! -s conftest.err'
67178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67179   (eval $ac_try) 2>&5
67180   ac_status=$?
67181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67182   (exit $ac_status); }; } &&
67183          { ac_try='test -s conftest.$ac_objext'
67184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67185   (eval $ac_try) 2>&5
67186   ac_status=$?
67187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67188   (exit $ac_status); }; }; then
67189   glibcxx_cv_func_logl_use=yes
67190 else
67191   echo "$as_me: failed program was:" >&5
67192 sed 's/^/| /' conftest.$ac_ext >&5
67193
67194 glibcxx_cv_func_logl_use=no
67195 fi
67196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67197       ac_ext=c
67198 ac_cpp='$CPP $CPPFLAGS'
67199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67202
67203
67204 fi
67205
67206   fi
67207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67208 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67209
67210   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67211
67212 for ac_func in logl
67213 do
67214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67215 echo "$as_me:$LINENO: checking for $ac_func" >&5
67216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67217 if eval "test \"\${$as_ac_var+set}\" = set"; then
67218   echo $ECHO_N "(cached) $ECHO_C" >&6
67219 else
67220   if test x$gcc_no_link = xyes; then
67221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67223    { (exit 1); exit 1; }; }
67224 fi
67225 cat >conftest.$ac_ext <<_ACEOF
67226 /* confdefs.h.  */
67227 _ACEOF
67228 cat confdefs.h >>conftest.$ac_ext
67229 cat >>conftest.$ac_ext <<_ACEOF
67230 /* end confdefs.h.  */
67231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67233 #define $ac_func innocuous_$ac_func
67234
67235 /* System header to define __stub macros and hopefully few prototypes,
67236     which can conflict with char $ac_func (); below.
67237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67238     <limits.h> exists even on freestanding compilers.  */
67239
67240 #ifdef __STDC__
67241 # include <limits.h>
67242 #else
67243 # include <assert.h>
67244 #endif
67245
67246 #undef $ac_func
67247
67248 /* Override any gcc2 internal prototype to avoid an error.  */
67249 #ifdef __cplusplus
67250 extern "C"
67251 {
67252 #endif
67253 /* We use char because int might match the return type of a gcc2
67254    builtin and then its argument prototype would still apply.  */
67255 char $ac_func ();
67256 /* The GNU C library defines this for functions which it implements
67257     to always fail with ENOSYS.  Some functions are actually named
67258     something starting with __ and the normal name is an alias.  */
67259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67260 choke me
67261 #else
67262 char (*f) () = $ac_func;
67263 #endif
67264 #ifdef __cplusplus
67265 }
67266 #endif
67267
67268 int
67269 main ()
67270 {
67271 return f != $ac_func;
67272   ;
67273   return 0;
67274 }
67275 _ACEOF
67276 rm -f conftest.$ac_objext conftest$ac_exeext
67277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67278   (eval $ac_link) 2>conftest.er1
67279   ac_status=$?
67280   grep -v '^ *+' conftest.er1 >conftest.err
67281   rm -f conftest.er1
67282   cat conftest.err >&5
67283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67284   (exit $ac_status); } &&
67285          { ac_try='test -z "$ac_c_werror_flag"
67286                          || test ! -s conftest.err'
67287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67288   (eval $ac_try) 2>&5
67289   ac_status=$?
67290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67291   (exit $ac_status); }; } &&
67292          { ac_try='test -s conftest$ac_exeext'
67293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67294   (eval $ac_try) 2>&5
67295   ac_status=$?
67296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67297   (exit $ac_status); }; }; then
67298   eval "$as_ac_var=yes"
67299 else
67300   echo "$as_me: failed program was:" >&5
67301 sed 's/^/| /' conftest.$ac_ext >&5
67302
67303 eval "$as_ac_var=no"
67304 fi
67305 rm -f conftest.err conftest.$ac_objext \
67306       conftest$ac_exeext conftest.$ac_ext
67307 fi
67308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67310 if test `eval echo '${'$as_ac_var'}'` = yes; then
67311   cat >>confdefs.h <<_ACEOF
67312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67313 _ACEOF
67314
67315 fi
67316 done
67317
67318   else
67319
67320   echo "$as_me:$LINENO: checking for _logl declaration" >&5
67321 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67322   if test x${glibcxx_cv_func__logl_use+set} != xset; then
67323     if test "${glibcxx_cv_func__logl_use+set}" = set; then
67324   echo $ECHO_N "(cached) $ECHO_C" >&6
67325 else
67326
67327
67328
67329       ac_ext=cc
67330 ac_cpp='$CXXCPP $CPPFLAGS'
67331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67334
67335       cat >conftest.$ac_ext <<_ACEOF
67336 /* confdefs.h.  */
67337 _ACEOF
67338 cat confdefs.h >>conftest.$ac_ext
67339 cat >>conftest.$ac_ext <<_ACEOF
67340 /* end confdefs.h.  */
67341 #include <math.h>
67342                       #ifdef HAVE_IEEEFP_H
67343                       #include <ieeefp.h>
67344                       #endif
67345
67346 int
67347 main ()
67348 {
67349  _logl(0);
67350   ;
67351   return 0;
67352 }
67353 _ACEOF
67354 rm -f conftest.$ac_objext
67355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67356   (eval $ac_compile) 2>conftest.er1
67357   ac_status=$?
67358   grep -v '^ *+' conftest.er1 >conftest.err
67359   rm -f conftest.er1
67360   cat conftest.err >&5
67361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67362   (exit $ac_status); } &&
67363          { ac_try='test -z "$ac_cxx_werror_flag"
67364                          || test ! -s conftest.err'
67365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67366   (eval $ac_try) 2>&5
67367   ac_status=$?
67368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67369   (exit $ac_status); }; } &&
67370          { ac_try='test -s conftest.$ac_objext'
67371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67372   (eval $ac_try) 2>&5
67373   ac_status=$?
67374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67375   (exit $ac_status); }; }; then
67376   glibcxx_cv_func__logl_use=yes
67377 else
67378   echo "$as_me: failed program was:" >&5
67379 sed 's/^/| /' conftest.$ac_ext >&5
67380
67381 glibcxx_cv_func__logl_use=no
67382 fi
67383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67384       ac_ext=c
67385 ac_cpp='$CPP $CPPFLAGS'
67386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67389
67390
67391 fi
67392
67393   fi
67394   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67395 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67396
67397     if test x$glibcxx_cv_func__logl_use = x"yes"; then
67398
67399 for ac_func in _logl
67400 do
67401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67402 echo "$as_me:$LINENO: checking for $ac_func" >&5
67403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67404 if eval "test \"\${$as_ac_var+set}\" = set"; then
67405   echo $ECHO_N "(cached) $ECHO_C" >&6
67406 else
67407   if test x$gcc_no_link = xyes; then
67408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67410    { (exit 1); exit 1; }; }
67411 fi
67412 cat >conftest.$ac_ext <<_ACEOF
67413 /* confdefs.h.  */
67414 _ACEOF
67415 cat confdefs.h >>conftest.$ac_ext
67416 cat >>conftest.$ac_ext <<_ACEOF
67417 /* end confdefs.h.  */
67418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67420 #define $ac_func innocuous_$ac_func
67421
67422 /* System header to define __stub macros and hopefully few prototypes,
67423     which can conflict with char $ac_func (); below.
67424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67425     <limits.h> exists even on freestanding compilers.  */
67426
67427 #ifdef __STDC__
67428 # include <limits.h>
67429 #else
67430 # include <assert.h>
67431 #endif
67432
67433 #undef $ac_func
67434
67435 /* Override any gcc2 internal prototype to avoid an error.  */
67436 #ifdef __cplusplus
67437 extern "C"
67438 {
67439 #endif
67440 /* We use char because int might match the return type of a gcc2
67441    builtin and then its argument prototype would still apply.  */
67442 char $ac_func ();
67443 /* The GNU C library defines this for functions which it implements
67444     to always fail with ENOSYS.  Some functions are actually named
67445     something starting with __ and the normal name is an alias.  */
67446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67447 choke me
67448 #else
67449 char (*f) () = $ac_func;
67450 #endif
67451 #ifdef __cplusplus
67452 }
67453 #endif
67454
67455 int
67456 main ()
67457 {
67458 return f != $ac_func;
67459   ;
67460   return 0;
67461 }
67462 _ACEOF
67463 rm -f conftest.$ac_objext conftest$ac_exeext
67464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67465   (eval $ac_link) 2>conftest.er1
67466   ac_status=$?
67467   grep -v '^ *+' conftest.er1 >conftest.err
67468   rm -f conftest.er1
67469   cat conftest.err >&5
67470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67471   (exit $ac_status); } &&
67472          { ac_try='test -z "$ac_c_werror_flag"
67473                          || test ! -s conftest.err'
67474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67475   (eval $ac_try) 2>&5
67476   ac_status=$?
67477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67478   (exit $ac_status); }; } &&
67479          { ac_try='test -s conftest$ac_exeext'
67480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67481   (eval $ac_try) 2>&5
67482   ac_status=$?
67483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67484   (exit $ac_status); }; }; then
67485   eval "$as_ac_var=yes"
67486 else
67487   echo "$as_me: failed program was:" >&5
67488 sed 's/^/| /' conftest.$ac_ext >&5
67489
67490 eval "$as_ac_var=no"
67491 fi
67492 rm -f conftest.err conftest.$ac_objext \
67493       conftest$ac_exeext conftest.$ac_ext
67494 fi
67495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67497 if test `eval echo '${'$as_ac_var'}'` = yes; then
67498   cat >>confdefs.h <<_ACEOF
67499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67500 _ACEOF
67501
67502 fi
67503 done
67504
67505     fi
67506   fi
67507
67508
67509
67510   echo "$as_me:$LINENO: checking for log10l declaration" >&5
67511 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67512   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67513     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67514   echo $ECHO_N "(cached) $ECHO_C" >&6
67515 else
67516
67517
67518
67519       ac_ext=cc
67520 ac_cpp='$CXXCPP $CPPFLAGS'
67521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67524
67525       cat >conftest.$ac_ext <<_ACEOF
67526 /* confdefs.h.  */
67527 _ACEOF
67528 cat confdefs.h >>conftest.$ac_ext
67529 cat >>conftest.$ac_ext <<_ACEOF
67530 /* end confdefs.h.  */
67531 #include <math.h>
67532                       #ifdef HAVE_IEEEFP_H
67533                       #include <ieeefp.h>
67534                       #endif
67535
67536 int
67537 main ()
67538 {
67539  log10l(0);
67540   ;
67541   return 0;
67542 }
67543 _ACEOF
67544 rm -f conftest.$ac_objext
67545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67546   (eval $ac_compile) 2>conftest.er1
67547   ac_status=$?
67548   grep -v '^ *+' conftest.er1 >conftest.err
67549   rm -f conftest.er1
67550   cat conftest.err >&5
67551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67552   (exit $ac_status); } &&
67553          { ac_try='test -z "$ac_cxx_werror_flag"
67554                          || test ! -s conftest.err'
67555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67556   (eval $ac_try) 2>&5
67557   ac_status=$?
67558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67559   (exit $ac_status); }; } &&
67560          { ac_try='test -s conftest.$ac_objext'
67561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67562   (eval $ac_try) 2>&5
67563   ac_status=$?
67564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67565   (exit $ac_status); }; }; then
67566   glibcxx_cv_func_log10l_use=yes
67567 else
67568   echo "$as_me: failed program was:" >&5
67569 sed 's/^/| /' conftest.$ac_ext >&5
67570
67571 glibcxx_cv_func_log10l_use=no
67572 fi
67573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67574       ac_ext=c
67575 ac_cpp='$CPP $CPPFLAGS'
67576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67579
67580
67581 fi
67582
67583   fi
67584   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67585 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67586
67587   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67588
67589 for ac_func in log10l
67590 do
67591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67592 echo "$as_me:$LINENO: checking for $ac_func" >&5
67593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67594 if eval "test \"\${$as_ac_var+set}\" = set"; then
67595   echo $ECHO_N "(cached) $ECHO_C" >&6
67596 else
67597   if test x$gcc_no_link = xyes; then
67598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67600    { (exit 1); exit 1; }; }
67601 fi
67602 cat >conftest.$ac_ext <<_ACEOF
67603 /* confdefs.h.  */
67604 _ACEOF
67605 cat confdefs.h >>conftest.$ac_ext
67606 cat >>conftest.$ac_ext <<_ACEOF
67607 /* end confdefs.h.  */
67608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67610 #define $ac_func innocuous_$ac_func
67611
67612 /* System header to define __stub macros and hopefully few prototypes,
67613     which can conflict with char $ac_func (); below.
67614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67615     <limits.h> exists even on freestanding compilers.  */
67616
67617 #ifdef __STDC__
67618 # include <limits.h>
67619 #else
67620 # include <assert.h>
67621 #endif
67622
67623 #undef $ac_func
67624
67625 /* Override any gcc2 internal prototype to avoid an error.  */
67626 #ifdef __cplusplus
67627 extern "C"
67628 {
67629 #endif
67630 /* We use char because int might match the return type of a gcc2
67631    builtin and then its argument prototype would still apply.  */
67632 char $ac_func ();
67633 /* The GNU C library defines this for functions which it implements
67634     to always fail with ENOSYS.  Some functions are actually named
67635     something starting with __ and the normal name is an alias.  */
67636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67637 choke me
67638 #else
67639 char (*f) () = $ac_func;
67640 #endif
67641 #ifdef __cplusplus
67642 }
67643 #endif
67644
67645 int
67646 main ()
67647 {
67648 return f != $ac_func;
67649   ;
67650   return 0;
67651 }
67652 _ACEOF
67653 rm -f conftest.$ac_objext conftest$ac_exeext
67654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67655   (eval $ac_link) 2>conftest.er1
67656   ac_status=$?
67657   grep -v '^ *+' conftest.er1 >conftest.err
67658   rm -f conftest.er1
67659   cat conftest.err >&5
67660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67661   (exit $ac_status); } &&
67662          { ac_try='test -z "$ac_c_werror_flag"
67663                          || test ! -s conftest.err'
67664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67665   (eval $ac_try) 2>&5
67666   ac_status=$?
67667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67668   (exit $ac_status); }; } &&
67669          { ac_try='test -s conftest$ac_exeext'
67670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67671   (eval $ac_try) 2>&5
67672   ac_status=$?
67673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67674   (exit $ac_status); }; }; then
67675   eval "$as_ac_var=yes"
67676 else
67677   echo "$as_me: failed program was:" >&5
67678 sed 's/^/| /' conftest.$ac_ext >&5
67679
67680 eval "$as_ac_var=no"
67681 fi
67682 rm -f conftest.err conftest.$ac_objext \
67683       conftest$ac_exeext conftest.$ac_ext
67684 fi
67685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67687 if test `eval echo '${'$as_ac_var'}'` = yes; then
67688   cat >>confdefs.h <<_ACEOF
67689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67690 _ACEOF
67691
67692 fi
67693 done
67694
67695   else
67696
67697   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67698 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67699   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67700     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67701   echo $ECHO_N "(cached) $ECHO_C" >&6
67702 else
67703
67704
67705
67706       ac_ext=cc
67707 ac_cpp='$CXXCPP $CPPFLAGS'
67708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67711
67712       cat >conftest.$ac_ext <<_ACEOF
67713 /* confdefs.h.  */
67714 _ACEOF
67715 cat confdefs.h >>conftest.$ac_ext
67716 cat >>conftest.$ac_ext <<_ACEOF
67717 /* end confdefs.h.  */
67718 #include <math.h>
67719                       #ifdef HAVE_IEEEFP_H
67720                       #include <ieeefp.h>
67721                       #endif
67722
67723 int
67724 main ()
67725 {
67726  _log10l(0);
67727   ;
67728   return 0;
67729 }
67730 _ACEOF
67731 rm -f conftest.$ac_objext
67732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67733   (eval $ac_compile) 2>conftest.er1
67734   ac_status=$?
67735   grep -v '^ *+' conftest.er1 >conftest.err
67736   rm -f conftest.er1
67737   cat conftest.err >&5
67738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67739   (exit $ac_status); } &&
67740          { ac_try='test -z "$ac_cxx_werror_flag"
67741                          || test ! -s conftest.err'
67742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67743   (eval $ac_try) 2>&5
67744   ac_status=$?
67745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67746   (exit $ac_status); }; } &&
67747          { ac_try='test -s conftest.$ac_objext'
67748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67749   (eval $ac_try) 2>&5
67750   ac_status=$?
67751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752   (exit $ac_status); }; }; then
67753   glibcxx_cv_func__log10l_use=yes
67754 else
67755   echo "$as_me: failed program was:" >&5
67756 sed 's/^/| /' conftest.$ac_ext >&5
67757
67758 glibcxx_cv_func__log10l_use=no
67759 fi
67760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67761       ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766
67767
67768 fi
67769
67770   fi
67771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67772 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67773
67774     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67775
67776 for ac_func in _log10l
67777 do
67778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67779 echo "$as_me:$LINENO: checking for $ac_func" >&5
67780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67781 if eval "test \"\${$as_ac_var+set}\" = set"; then
67782   echo $ECHO_N "(cached) $ECHO_C" >&6
67783 else
67784   if test x$gcc_no_link = xyes; then
67785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67787    { (exit 1); exit 1; }; }
67788 fi
67789 cat >conftest.$ac_ext <<_ACEOF
67790 /* confdefs.h.  */
67791 _ACEOF
67792 cat confdefs.h >>conftest.$ac_ext
67793 cat >>conftest.$ac_ext <<_ACEOF
67794 /* end confdefs.h.  */
67795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67797 #define $ac_func innocuous_$ac_func
67798
67799 /* System header to define __stub macros and hopefully few prototypes,
67800     which can conflict with char $ac_func (); below.
67801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67802     <limits.h> exists even on freestanding compilers.  */
67803
67804 #ifdef __STDC__
67805 # include <limits.h>
67806 #else
67807 # include <assert.h>
67808 #endif
67809
67810 #undef $ac_func
67811
67812 /* Override any gcc2 internal prototype to avoid an error.  */
67813 #ifdef __cplusplus
67814 extern "C"
67815 {
67816 #endif
67817 /* We use char because int might match the return type of a gcc2
67818    builtin and then its argument prototype would still apply.  */
67819 char $ac_func ();
67820 /* The GNU C library defines this for functions which it implements
67821     to always fail with ENOSYS.  Some functions are actually named
67822     something starting with __ and the normal name is an alias.  */
67823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67824 choke me
67825 #else
67826 char (*f) () = $ac_func;
67827 #endif
67828 #ifdef __cplusplus
67829 }
67830 #endif
67831
67832 int
67833 main ()
67834 {
67835 return f != $ac_func;
67836   ;
67837   return 0;
67838 }
67839 _ACEOF
67840 rm -f conftest.$ac_objext conftest$ac_exeext
67841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67842   (eval $ac_link) 2>conftest.er1
67843   ac_status=$?
67844   grep -v '^ *+' conftest.er1 >conftest.err
67845   rm -f conftest.er1
67846   cat conftest.err >&5
67847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67848   (exit $ac_status); } &&
67849          { ac_try='test -z "$ac_c_werror_flag"
67850                          || test ! -s conftest.err'
67851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67852   (eval $ac_try) 2>&5
67853   ac_status=$?
67854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67855   (exit $ac_status); }; } &&
67856          { ac_try='test -s conftest$ac_exeext'
67857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67858   (eval $ac_try) 2>&5
67859   ac_status=$?
67860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67861   (exit $ac_status); }; }; then
67862   eval "$as_ac_var=yes"
67863 else
67864   echo "$as_me: failed program was:" >&5
67865 sed 's/^/| /' conftest.$ac_ext >&5
67866
67867 eval "$as_ac_var=no"
67868 fi
67869 rm -f conftest.err conftest.$ac_objext \
67870       conftest$ac_exeext conftest.$ac_ext
67871 fi
67872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67874 if test `eval echo '${'$as_ac_var'}'` = yes; then
67875   cat >>confdefs.h <<_ACEOF
67876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67877 _ACEOF
67878
67879 fi
67880 done
67881
67882     fi
67883   fi
67884
67885
67886
67887   echo "$as_me:$LINENO: checking for modfl declaration" >&5
67888 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67889   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67890     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67891   echo $ECHO_N "(cached) $ECHO_C" >&6
67892 else
67893
67894
67895
67896       ac_ext=cc
67897 ac_cpp='$CXXCPP $CPPFLAGS'
67898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67901
67902       cat >conftest.$ac_ext <<_ACEOF
67903 /* confdefs.h.  */
67904 _ACEOF
67905 cat confdefs.h >>conftest.$ac_ext
67906 cat >>conftest.$ac_ext <<_ACEOF
67907 /* end confdefs.h.  */
67908 #include <math.h>
67909 int
67910 main ()
67911 {
67912  modfl(0, 0);
67913   ;
67914   return 0;
67915 }
67916 _ACEOF
67917 rm -f conftest.$ac_objext
67918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67919   (eval $ac_compile) 2>conftest.er1
67920   ac_status=$?
67921   grep -v '^ *+' conftest.er1 >conftest.err
67922   rm -f conftest.er1
67923   cat conftest.err >&5
67924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67925   (exit $ac_status); } &&
67926          { ac_try='test -z "$ac_cxx_werror_flag"
67927                          || test ! -s conftest.err'
67928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67929   (eval $ac_try) 2>&5
67930   ac_status=$?
67931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67932   (exit $ac_status); }; } &&
67933          { ac_try='test -s conftest.$ac_objext'
67934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67935   (eval $ac_try) 2>&5
67936   ac_status=$?
67937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67938   (exit $ac_status); }; }; then
67939   glibcxx_cv_func_modfl_use=yes
67940 else
67941   echo "$as_me: failed program was:" >&5
67942 sed 's/^/| /' conftest.$ac_ext >&5
67943
67944 glibcxx_cv_func_modfl_use=no
67945 fi
67946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67947       ac_ext=c
67948 ac_cpp='$CPP $CPPFLAGS'
67949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67952
67953
67954 fi
67955
67956   fi
67957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67958 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67959
67960   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67961
67962 for ac_func in modfl
67963 do
67964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67965 echo "$as_me:$LINENO: checking for $ac_func" >&5
67966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67967 if eval "test \"\${$as_ac_var+set}\" = set"; then
67968   echo $ECHO_N "(cached) $ECHO_C" >&6
67969 else
67970   if test x$gcc_no_link = xyes; then
67971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67973    { (exit 1); exit 1; }; }
67974 fi
67975 cat >conftest.$ac_ext <<_ACEOF
67976 /* confdefs.h.  */
67977 _ACEOF
67978 cat confdefs.h >>conftest.$ac_ext
67979 cat >>conftest.$ac_ext <<_ACEOF
67980 /* end confdefs.h.  */
67981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67983 #define $ac_func innocuous_$ac_func
67984
67985 /* System header to define __stub macros and hopefully few prototypes,
67986     which can conflict with char $ac_func (); below.
67987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67988     <limits.h> exists even on freestanding compilers.  */
67989
67990 #ifdef __STDC__
67991 # include <limits.h>
67992 #else
67993 # include <assert.h>
67994 #endif
67995
67996 #undef $ac_func
67997
67998 /* Override any gcc2 internal prototype to avoid an error.  */
67999 #ifdef __cplusplus
68000 extern "C"
68001 {
68002 #endif
68003 /* We use char because int might match the return type of a gcc2
68004    builtin and then its argument prototype would still apply.  */
68005 char $ac_func ();
68006 /* The GNU C library defines this for functions which it implements
68007     to always fail with ENOSYS.  Some functions are actually named
68008     something starting with __ and the normal name is an alias.  */
68009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68010 choke me
68011 #else
68012 char (*f) () = $ac_func;
68013 #endif
68014 #ifdef __cplusplus
68015 }
68016 #endif
68017
68018 int
68019 main ()
68020 {
68021 return f != $ac_func;
68022   ;
68023   return 0;
68024 }
68025 _ACEOF
68026 rm -f conftest.$ac_objext conftest$ac_exeext
68027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68028   (eval $ac_link) 2>conftest.er1
68029   ac_status=$?
68030   grep -v '^ *+' conftest.er1 >conftest.err
68031   rm -f conftest.er1
68032   cat conftest.err >&5
68033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68034   (exit $ac_status); } &&
68035          { ac_try='test -z "$ac_c_werror_flag"
68036                          || test ! -s conftest.err'
68037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68038   (eval $ac_try) 2>&5
68039   ac_status=$?
68040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68041   (exit $ac_status); }; } &&
68042          { ac_try='test -s conftest$ac_exeext'
68043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68044   (eval $ac_try) 2>&5
68045   ac_status=$?
68046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68047   (exit $ac_status); }; }; then
68048   eval "$as_ac_var=yes"
68049 else
68050   echo "$as_me: failed program was:" >&5
68051 sed 's/^/| /' conftest.$ac_ext >&5
68052
68053 eval "$as_ac_var=no"
68054 fi
68055 rm -f conftest.err conftest.$ac_objext \
68056       conftest$ac_exeext conftest.$ac_ext
68057 fi
68058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68060 if test `eval echo '${'$as_ac_var'}'` = yes; then
68061   cat >>confdefs.h <<_ACEOF
68062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68063 _ACEOF
68064
68065 fi
68066 done
68067
68068   else
68069
68070   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68071 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68072   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68073     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68074   echo $ECHO_N "(cached) $ECHO_C" >&6
68075 else
68076
68077
68078
68079       ac_ext=cc
68080 ac_cpp='$CXXCPP $CPPFLAGS'
68081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68084
68085       cat >conftest.$ac_ext <<_ACEOF
68086 /* confdefs.h.  */
68087 _ACEOF
68088 cat confdefs.h >>conftest.$ac_ext
68089 cat >>conftest.$ac_ext <<_ACEOF
68090 /* end confdefs.h.  */
68091 #include <math.h>
68092 int
68093 main ()
68094 {
68095  _modfl(0, 0);
68096   ;
68097   return 0;
68098 }
68099 _ACEOF
68100 rm -f conftest.$ac_objext
68101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68102   (eval $ac_compile) 2>conftest.er1
68103   ac_status=$?
68104   grep -v '^ *+' conftest.er1 >conftest.err
68105   rm -f conftest.er1
68106   cat conftest.err >&5
68107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68108   (exit $ac_status); } &&
68109          { ac_try='test -z "$ac_cxx_werror_flag"
68110                          || test ! -s conftest.err'
68111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68112   (eval $ac_try) 2>&5
68113   ac_status=$?
68114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68115   (exit $ac_status); }; } &&
68116          { ac_try='test -s conftest.$ac_objext'
68117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68118   (eval $ac_try) 2>&5
68119   ac_status=$?
68120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68121   (exit $ac_status); }; }; then
68122   glibcxx_cv_func__modfl_use=yes
68123 else
68124   echo "$as_me: failed program was:" >&5
68125 sed 's/^/| /' conftest.$ac_ext >&5
68126
68127 glibcxx_cv_func__modfl_use=no
68128 fi
68129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68130       ac_ext=c
68131 ac_cpp='$CPP $CPPFLAGS'
68132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68135
68136
68137 fi
68138
68139   fi
68140   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68141 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68142
68143     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68144
68145 for ac_func in _modfl
68146 do
68147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68148 echo "$as_me:$LINENO: checking for $ac_func" >&5
68149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68150 if eval "test \"\${$as_ac_var+set}\" = set"; then
68151   echo $ECHO_N "(cached) $ECHO_C" >&6
68152 else
68153   if test x$gcc_no_link = xyes; then
68154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68156    { (exit 1); exit 1; }; }
68157 fi
68158 cat >conftest.$ac_ext <<_ACEOF
68159 /* confdefs.h.  */
68160 _ACEOF
68161 cat confdefs.h >>conftest.$ac_ext
68162 cat >>conftest.$ac_ext <<_ACEOF
68163 /* end confdefs.h.  */
68164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68165    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68166 #define $ac_func innocuous_$ac_func
68167
68168 /* System header to define __stub macros and hopefully few prototypes,
68169     which can conflict with char $ac_func (); below.
68170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68171     <limits.h> exists even on freestanding compilers.  */
68172
68173 #ifdef __STDC__
68174 # include <limits.h>
68175 #else
68176 # include <assert.h>
68177 #endif
68178
68179 #undef $ac_func
68180
68181 /* Override any gcc2 internal prototype to avoid an error.  */
68182 #ifdef __cplusplus
68183 extern "C"
68184 {
68185 #endif
68186 /* We use char because int might match the return type of a gcc2
68187    builtin and then its argument prototype would still apply.  */
68188 char $ac_func ();
68189 /* The GNU C library defines this for functions which it implements
68190     to always fail with ENOSYS.  Some functions are actually named
68191     something starting with __ and the normal name is an alias.  */
68192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68193 choke me
68194 #else
68195 char (*f) () = $ac_func;
68196 #endif
68197 #ifdef __cplusplus
68198 }
68199 #endif
68200
68201 int
68202 main ()
68203 {
68204 return f != $ac_func;
68205   ;
68206   return 0;
68207 }
68208 _ACEOF
68209 rm -f conftest.$ac_objext conftest$ac_exeext
68210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68211   (eval $ac_link) 2>conftest.er1
68212   ac_status=$?
68213   grep -v '^ *+' conftest.er1 >conftest.err
68214   rm -f conftest.er1
68215   cat conftest.err >&5
68216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68217   (exit $ac_status); } &&
68218          { ac_try='test -z "$ac_c_werror_flag"
68219                          || test ! -s conftest.err'
68220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68221   (eval $ac_try) 2>&5
68222   ac_status=$?
68223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68224   (exit $ac_status); }; } &&
68225          { ac_try='test -s conftest$ac_exeext'
68226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68227   (eval $ac_try) 2>&5
68228   ac_status=$?
68229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68230   (exit $ac_status); }; }; then
68231   eval "$as_ac_var=yes"
68232 else
68233   echo "$as_me: failed program was:" >&5
68234 sed 's/^/| /' conftest.$ac_ext >&5
68235
68236 eval "$as_ac_var=no"
68237 fi
68238 rm -f conftest.err conftest.$ac_objext \
68239       conftest$ac_exeext conftest.$ac_ext
68240 fi
68241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68243 if test `eval echo '${'$as_ac_var'}'` = yes; then
68244   cat >>confdefs.h <<_ACEOF
68245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68246 _ACEOF
68247
68248 fi
68249 done
68250
68251     fi
68252   fi
68253
68254
68255
68256   echo "$as_me:$LINENO: checking for powl declaration" >&5
68257 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68258   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68259     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68260   echo $ECHO_N "(cached) $ECHO_C" >&6
68261 else
68262
68263
68264
68265       ac_ext=cc
68266 ac_cpp='$CXXCPP $CPPFLAGS'
68267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68270
68271       cat >conftest.$ac_ext <<_ACEOF
68272 /* confdefs.h.  */
68273 _ACEOF
68274 cat confdefs.h >>conftest.$ac_ext
68275 cat >>conftest.$ac_ext <<_ACEOF
68276 /* end confdefs.h.  */
68277 #include <math.h>
68278 int
68279 main ()
68280 {
68281  powl(0, 0);
68282   ;
68283   return 0;
68284 }
68285 _ACEOF
68286 rm -f conftest.$ac_objext
68287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68288   (eval $ac_compile) 2>conftest.er1
68289   ac_status=$?
68290   grep -v '^ *+' conftest.er1 >conftest.err
68291   rm -f conftest.er1
68292   cat conftest.err >&5
68293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68294   (exit $ac_status); } &&
68295          { ac_try='test -z "$ac_cxx_werror_flag"
68296                          || test ! -s conftest.err'
68297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68298   (eval $ac_try) 2>&5
68299   ac_status=$?
68300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68301   (exit $ac_status); }; } &&
68302          { ac_try='test -s conftest.$ac_objext'
68303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68304   (eval $ac_try) 2>&5
68305   ac_status=$?
68306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68307   (exit $ac_status); }; }; then
68308   glibcxx_cv_func_powl_use=yes
68309 else
68310   echo "$as_me: failed program was:" >&5
68311 sed 's/^/| /' conftest.$ac_ext >&5
68312
68313 glibcxx_cv_func_powl_use=no
68314 fi
68315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68316       ac_ext=c
68317 ac_cpp='$CPP $CPPFLAGS'
68318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68321
68322
68323 fi
68324
68325   fi
68326   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68327 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68328
68329   if test x$glibcxx_cv_func_powl_use = x"yes"; then
68330
68331 for ac_func in powl
68332 do
68333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68334 echo "$as_me:$LINENO: checking for $ac_func" >&5
68335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68336 if eval "test \"\${$as_ac_var+set}\" = set"; then
68337   echo $ECHO_N "(cached) $ECHO_C" >&6
68338 else
68339   if test x$gcc_no_link = xyes; then
68340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68342    { (exit 1); exit 1; }; }
68343 fi
68344 cat >conftest.$ac_ext <<_ACEOF
68345 /* confdefs.h.  */
68346 _ACEOF
68347 cat confdefs.h >>conftest.$ac_ext
68348 cat >>conftest.$ac_ext <<_ACEOF
68349 /* end confdefs.h.  */
68350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68352 #define $ac_func innocuous_$ac_func
68353
68354 /* System header to define __stub macros and hopefully few prototypes,
68355     which can conflict with char $ac_func (); below.
68356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68357     <limits.h> exists even on freestanding compilers.  */
68358
68359 #ifdef __STDC__
68360 # include <limits.h>
68361 #else
68362 # include <assert.h>
68363 #endif
68364
68365 #undef $ac_func
68366
68367 /* Override any gcc2 internal prototype to avoid an error.  */
68368 #ifdef __cplusplus
68369 extern "C"
68370 {
68371 #endif
68372 /* We use char because int might match the return type of a gcc2
68373    builtin and then its argument prototype would still apply.  */
68374 char $ac_func ();
68375 /* The GNU C library defines this for functions which it implements
68376     to always fail with ENOSYS.  Some functions are actually named
68377     something starting with __ and the normal name is an alias.  */
68378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68379 choke me
68380 #else
68381 char (*f) () = $ac_func;
68382 #endif
68383 #ifdef __cplusplus
68384 }
68385 #endif
68386
68387 int
68388 main ()
68389 {
68390 return f != $ac_func;
68391   ;
68392   return 0;
68393 }
68394 _ACEOF
68395 rm -f conftest.$ac_objext conftest$ac_exeext
68396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68397   (eval $ac_link) 2>conftest.er1
68398   ac_status=$?
68399   grep -v '^ *+' conftest.er1 >conftest.err
68400   rm -f conftest.er1
68401   cat conftest.err >&5
68402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68403   (exit $ac_status); } &&
68404          { ac_try='test -z "$ac_c_werror_flag"
68405                          || test ! -s conftest.err'
68406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68407   (eval $ac_try) 2>&5
68408   ac_status=$?
68409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68410   (exit $ac_status); }; } &&
68411          { ac_try='test -s conftest$ac_exeext'
68412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68413   (eval $ac_try) 2>&5
68414   ac_status=$?
68415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68416   (exit $ac_status); }; }; then
68417   eval "$as_ac_var=yes"
68418 else
68419   echo "$as_me: failed program was:" >&5
68420 sed 's/^/| /' conftest.$ac_ext >&5
68421
68422 eval "$as_ac_var=no"
68423 fi
68424 rm -f conftest.err conftest.$ac_objext \
68425       conftest$ac_exeext conftest.$ac_ext
68426 fi
68427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68429 if test `eval echo '${'$as_ac_var'}'` = yes; then
68430   cat >>confdefs.h <<_ACEOF
68431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68432 _ACEOF
68433
68434 fi
68435 done
68436
68437   else
68438
68439   echo "$as_me:$LINENO: checking for _powl declaration" >&5
68440 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68441   if test x${glibcxx_cv_func__powl_use+set} != xset; then
68442     if test "${glibcxx_cv_func__powl_use+set}" = set; then
68443   echo $ECHO_N "(cached) $ECHO_C" >&6
68444 else
68445
68446
68447
68448       ac_ext=cc
68449 ac_cpp='$CXXCPP $CPPFLAGS'
68450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68453
68454       cat >conftest.$ac_ext <<_ACEOF
68455 /* confdefs.h.  */
68456 _ACEOF
68457 cat confdefs.h >>conftest.$ac_ext
68458 cat >>conftest.$ac_ext <<_ACEOF
68459 /* end confdefs.h.  */
68460 #include <math.h>
68461 int
68462 main ()
68463 {
68464  _powl(0, 0);
68465   ;
68466   return 0;
68467 }
68468 _ACEOF
68469 rm -f conftest.$ac_objext
68470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68471   (eval $ac_compile) 2>conftest.er1
68472   ac_status=$?
68473   grep -v '^ *+' conftest.er1 >conftest.err
68474   rm -f conftest.er1
68475   cat conftest.err >&5
68476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68477   (exit $ac_status); } &&
68478          { ac_try='test -z "$ac_cxx_werror_flag"
68479                          || test ! -s conftest.err'
68480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68481   (eval $ac_try) 2>&5
68482   ac_status=$?
68483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68484   (exit $ac_status); }; } &&
68485          { ac_try='test -s conftest.$ac_objext'
68486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68487   (eval $ac_try) 2>&5
68488   ac_status=$?
68489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68490   (exit $ac_status); }; }; then
68491   glibcxx_cv_func__powl_use=yes
68492 else
68493   echo "$as_me: failed program was:" >&5
68494 sed 's/^/| /' conftest.$ac_ext >&5
68495
68496 glibcxx_cv_func__powl_use=no
68497 fi
68498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68499       ac_ext=c
68500 ac_cpp='$CPP $CPPFLAGS'
68501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68504
68505
68506 fi
68507
68508   fi
68509   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68510 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68511
68512     if test x$glibcxx_cv_func__powl_use = x"yes"; then
68513
68514 for ac_func in _powl
68515 do
68516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68517 echo "$as_me:$LINENO: checking for $ac_func" >&5
68518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68519 if eval "test \"\${$as_ac_var+set}\" = set"; then
68520   echo $ECHO_N "(cached) $ECHO_C" >&6
68521 else
68522   if test x$gcc_no_link = xyes; then
68523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68525    { (exit 1); exit 1; }; }
68526 fi
68527 cat >conftest.$ac_ext <<_ACEOF
68528 /* confdefs.h.  */
68529 _ACEOF
68530 cat confdefs.h >>conftest.$ac_ext
68531 cat >>conftest.$ac_ext <<_ACEOF
68532 /* end confdefs.h.  */
68533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68535 #define $ac_func innocuous_$ac_func
68536
68537 /* System header to define __stub macros and hopefully few prototypes,
68538     which can conflict with char $ac_func (); below.
68539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68540     <limits.h> exists even on freestanding compilers.  */
68541
68542 #ifdef __STDC__
68543 # include <limits.h>
68544 #else
68545 # include <assert.h>
68546 #endif
68547
68548 #undef $ac_func
68549
68550 /* Override any gcc2 internal prototype to avoid an error.  */
68551 #ifdef __cplusplus
68552 extern "C"
68553 {
68554 #endif
68555 /* We use char because int might match the return type of a gcc2
68556    builtin and then its argument prototype would still apply.  */
68557 char $ac_func ();
68558 /* The GNU C library defines this for functions which it implements
68559     to always fail with ENOSYS.  Some functions are actually named
68560     something starting with __ and the normal name is an alias.  */
68561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68562 choke me
68563 #else
68564 char (*f) () = $ac_func;
68565 #endif
68566 #ifdef __cplusplus
68567 }
68568 #endif
68569
68570 int
68571 main ()
68572 {
68573 return f != $ac_func;
68574   ;
68575   return 0;
68576 }
68577 _ACEOF
68578 rm -f conftest.$ac_objext conftest$ac_exeext
68579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68580   (eval $ac_link) 2>conftest.er1
68581   ac_status=$?
68582   grep -v '^ *+' conftest.er1 >conftest.err
68583   rm -f conftest.er1
68584   cat conftest.err >&5
68585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68586   (exit $ac_status); } &&
68587          { ac_try='test -z "$ac_c_werror_flag"
68588                          || test ! -s conftest.err'
68589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68590   (eval $ac_try) 2>&5
68591   ac_status=$?
68592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68593   (exit $ac_status); }; } &&
68594          { ac_try='test -s conftest$ac_exeext'
68595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68596   (eval $ac_try) 2>&5
68597   ac_status=$?
68598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68599   (exit $ac_status); }; }; then
68600   eval "$as_ac_var=yes"
68601 else
68602   echo "$as_me: failed program was:" >&5
68603 sed 's/^/| /' conftest.$ac_ext >&5
68604
68605 eval "$as_ac_var=no"
68606 fi
68607 rm -f conftest.err conftest.$ac_objext \
68608       conftest$ac_exeext conftest.$ac_ext
68609 fi
68610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68612 if test `eval echo '${'$as_ac_var'}'` = yes; then
68613   cat >>confdefs.h <<_ACEOF
68614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68615 _ACEOF
68616
68617 fi
68618 done
68619
68620     fi
68621   fi
68622
68623
68624
68625   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68626 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68627   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68628     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68629   echo $ECHO_N "(cached) $ECHO_C" >&6
68630 else
68631
68632
68633
68634       ac_ext=cc
68635 ac_cpp='$CXXCPP $CPPFLAGS'
68636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68639
68640       cat >conftest.$ac_ext <<_ACEOF
68641 /* confdefs.h.  */
68642 _ACEOF
68643 cat confdefs.h >>conftest.$ac_ext
68644 cat >>conftest.$ac_ext <<_ACEOF
68645 /* end confdefs.h.  */
68646 #include <math.h>
68647                       #ifdef HAVE_IEEEFP_H
68648                       #include <ieeefp.h>
68649                       #endif
68650
68651 int
68652 main ()
68653 {
68654  sqrtl(0);
68655   ;
68656   return 0;
68657 }
68658 _ACEOF
68659 rm -f conftest.$ac_objext
68660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68661   (eval $ac_compile) 2>conftest.er1
68662   ac_status=$?
68663   grep -v '^ *+' conftest.er1 >conftest.err
68664   rm -f conftest.er1
68665   cat conftest.err >&5
68666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68667   (exit $ac_status); } &&
68668          { ac_try='test -z "$ac_cxx_werror_flag"
68669                          || test ! -s conftest.err'
68670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68671   (eval $ac_try) 2>&5
68672   ac_status=$?
68673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68674   (exit $ac_status); }; } &&
68675          { ac_try='test -s conftest.$ac_objext'
68676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68677   (eval $ac_try) 2>&5
68678   ac_status=$?
68679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68680   (exit $ac_status); }; }; then
68681   glibcxx_cv_func_sqrtl_use=yes
68682 else
68683   echo "$as_me: failed program was:" >&5
68684 sed 's/^/| /' conftest.$ac_ext >&5
68685
68686 glibcxx_cv_func_sqrtl_use=no
68687 fi
68688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68689       ac_ext=c
68690 ac_cpp='$CPP $CPPFLAGS'
68691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68694
68695
68696 fi
68697
68698   fi
68699   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68700 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68701
68702   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68703
68704 for ac_func in sqrtl
68705 do
68706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68707 echo "$as_me:$LINENO: checking for $ac_func" >&5
68708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68709 if eval "test \"\${$as_ac_var+set}\" = set"; then
68710   echo $ECHO_N "(cached) $ECHO_C" >&6
68711 else
68712   if test x$gcc_no_link = xyes; then
68713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68715    { (exit 1); exit 1; }; }
68716 fi
68717 cat >conftest.$ac_ext <<_ACEOF
68718 /* confdefs.h.  */
68719 _ACEOF
68720 cat confdefs.h >>conftest.$ac_ext
68721 cat >>conftest.$ac_ext <<_ACEOF
68722 /* end confdefs.h.  */
68723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68725 #define $ac_func innocuous_$ac_func
68726
68727 /* System header to define __stub macros and hopefully few prototypes,
68728     which can conflict with char $ac_func (); below.
68729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68730     <limits.h> exists even on freestanding compilers.  */
68731
68732 #ifdef __STDC__
68733 # include <limits.h>
68734 #else
68735 # include <assert.h>
68736 #endif
68737
68738 #undef $ac_func
68739
68740 /* Override any gcc2 internal prototype to avoid an error.  */
68741 #ifdef __cplusplus
68742 extern "C"
68743 {
68744 #endif
68745 /* We use char because int might match the return type of a gcc2
68746    builtin and then its argument prototype would still apply.  */
68747 char $ac_func ();
68748 /* The GNU C library defines this for functions which it implements
68749     to always fail with ENOSYS.  Some functions are actually named
68750     something starting with __ and the normal name is an alias.  */
68751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68752 choke me
68753 #else
68754 char (*f) () = $ac_func;
68755 #endif
68756 #ifdef __cplusplus
68757 }
68758 #endif
68759
68760 int
68761 main ()
68762 {
68763 return f != $ac_func;
68764   ;
68765   return 0;
68766 }
68767 _ACEOF
68768 rm -f conftest.$ac_objext conftest$ac_exeext
68769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68770   (eval $ac_link) 2>conftest.er1
68771   ac_status=$?
68772   grep -v '^ *+' conftest.er1 >conftest.err
68773   rm -f conftest.er1
68774   cat conftest.err >&5
68775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68776   (exit $ac_status); } &&
68777          { ac_try='test -z "$ac_c_werror_flag"
68778                          || test ! -s conftest.err'
68779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68780   (eval $ac_try) 2>&5
68781   ac_status=$?
68782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68783   (exit $ac_status); }; } &&
68784          { ac_try='test -s conftest$ac_exeext'
68785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68786   (eval $ac_try) 2>&5
68787   ac_status=$?
68788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68789   (exit $ac_status); }; }; then
68790   eval "$as_ac_var=yes"
68791 else
68792   echo "$as_me: failed program was:" >&5
68793 sed 's/^/| /' conftest.$ac_ext >&5
68794
68795 eval "$as_ac_var=no"
68796 fi
68797 rm -f conftest.err conftest.$ac_objext \
68798       conftest$ac_exeext conftest.$ac_ext
68799 fi
68800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68802 if test `eval echo '${'$as_ac_var'}'` = yes; then
68803   cat >>confdefs.h <<_ACEOF
68804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68805 _ACEOF
68806
68807 fi
68808 done
68809
68810   else
68811
68812   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68813 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68814   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68815     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68816   echo $ECHO_N "(cached) $ECHO_C" >&6
68817 else
68818
68819
68820
68821       ac_ext=cc
68822 ac_cpp='$CXXCPP $CPPFLAGS'
68823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68826
68827       cat >conftest.$ac_ext <<_ACEOF
68828 /* confdefs.h.  */
68829 _ACEOF
68830 cat confdefs.h >>conftest.$ac_ext
68831 cat >>conftest.$ac_ext <<_ACEOF
68832 /* end confdefs.h.  */
68833 #include <math.h>
68834                       #ifdef HAVE_IEEEFP_H
68835                       #include <ieeefp.h>
68836                       #endif
68837
68838 int
68839 main ()
68840 {
68841  _sqrtl(0);
68842   ;
68843   return 0;
68844 }
68845 _ACEOF
68846 rm -f conftest.$ac_objext
68847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68848   (eval $ac_compile) 2>conftest.er1
68849   ac_status=$?
68850   grep -v '^ *+' conftest.er1 >conftest.err
68851   rm -f conftest.er1
68852   cat conftest.err >&5
68853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68854   (exit $ac_status); } &&
68855          { ac_try='test -z "$ac_cxx_werror_flag"
68856                          || test ! -s conftest.err'
68857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68858   (eval $ac_try) 2>&5
68859   ac_status=$?
68860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68861   (exit $ac_status); }; } &&
68862          { ac_try='test -s conftest.$ac_objext'
68863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68864   (eval $ac_try) 2>&5
68865   ac_status=$?
68866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68867   (exit $ac_status); }; }; then
68868   glibcxx_cv_func__sqrtl_use=yes
68869 else
68870   echo "$as_me: failed program was:" >&5
68871 sed 's/^/| /' conftest.$ac_ext >&5
68872
68873 glibcxx_cv_func__sqrtl_use=no
68874 fi
68875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68876       ac_ext=c
68877 ac_cpp='$CPP $CPPFLAGS'
68878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68881
68882
68883 fi
68884
68885   fi
68886   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68887 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68888
68889     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68890
68891 for ac_func in _sqrtl
68892 do
68893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68894 echo "$as_me:$LINENO: checking for $ac_func" >&5
68895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68896 if eval "test \"\${$as_ac_var+set}\" = set"; then
68897   echo $ECHO_N "(cached) $ECHO_C" >&6
68898 else
68899   if test x$gcc_no_link = xyes; then
68900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68902    { (exit 1); exit 1; }; }
68903 fi
68904 cat >conftest.$ac_ext <<_ACEOF
68905 /* confdefs.h.  */
68906 _ACEOF
68907 cat confdefs.h >>conftest.$ac_ext
68908 cat >>conftest.$ac_ext <<_ACEOF
68909 /* end confdefs.h.  */
68910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68912 #define $ac_func innocuous_$ac_func
68913
68914 /* System header to define __stub macros and hopefully few prototypes,
68915     which can conflict with char $ac_func (); below.
68916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68917     <limits.h> exists even on freestanding compilers.  */
68918
68919 #ifdef __STDC__
68920 # include <limits.h>
68921 #else
68922 # include <assert.h>
68923 #endif
68924
68925 #undef $ac_func
68926
68927 /* Override any gcc2 internal prototype to avoid an error.  */
68928 #ifdef __cplusplus
68929 extern "C"
68930 {
68931 #endif
68932 /* We use char because int might match the return type of a gcc2
68933    builtin and then its argument prototype would still apply.  */
68934 char $ac_func ();
68935 /* The GNU C library defines this for functions which it implements
68936     to always fail with ENOSYS.  Some functions are actually named
68937     something starting with __ and the normal name is an alias.  */
68938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68939 choke me
68940 #else
68941 char (*f) () = $ac_func;
68942 #endif
68943 #ifdef __cplusplus
68944 }
68945 #endif
68946
68947 int
68948 main ()
68949 {
68950 return f != $ac_func;
68951   ;
68952   return 0;
68953 }
68954 _ACEOF
68955 rm -f conftest.$ac_objext conftest$ac_exeext
68956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68957   (eval $ac_link) 2>conftest.er1
68958   ac_status=$?
68959   grep -v '^ *+' conftest.er1 >conftest.err
68960   rm -f conftest.er1
68961   cat conftest.err >&5
68962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68963   (exit $ac_status); } &&
68964          { ac_try='test -z "$ac_c_werror_flag"
68965                          || test ! -s conftest.err'
68966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68967   (eval $ac_try) 2>&5
68968   ac_status=$?
68969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68970   (exit $ac_status); }; } &&
68971          { ac_try='test -s conftest$ac_exeext'
68972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68973   (eval $ac_try) 2>&5
68974   ac_status=$?
68975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68976   (exit $ac_status); }; }; then
68977   eval "$as_ac_var=yes"
68978 else
68979   echo "$as_me: failed program was:" >&5
68980 sed 's/^/| /' conftest.$ac_ext >&5
68981
68982 eval "$as_ac_var=no"
68983 fi
68984 rm -f conftest.err conftest.$ac_objext \
68985       conftest$ac_exeext conftest.$ac_ext
68986 fi
68987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68989 if test `eval echo '${'$as_ac_var'}'` = yes; then
68990   cat >>confdefs.h <<_ACEOF
68991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68992 _ACEOF
68993
68994 fi
68995 done
68996
68997     fi
68998   fi
68999
69000
69001
69002   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69003 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69004   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69005     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69006   echo $ECHO_N "(cached) $ECHO_C" >&6
69007 else
69008
69009
69010
69011       ac_ext=cc
69012 ac_cpp='$CXXCPP $CPPFLAGS'
69013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69016
69017       cat >conftest.$ac_ext <<_ACEOF
69018 /* confdefs.h.  */
69019 _ACEOF
69020 cat confdefs.h >>conftest.$ac_ext
69021 cat >>conftest.$ac_ext <<_ACEOF
69022 /* end confdefs.h.  */
69023 #include <math.h>
69024 int
69025 main ()
69026 {
69027  sincosl(0, 0, 0);
69028   ;
69029   return 0;
69030 }
69031 _ACEOF
69032 rm -f conftest.$ac_objext
69033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69034   (eval $ac_compile) 2>conftest.er1
69035   ac_status=$?
69036   grep -v '^ *+' conftest.er1 >conftest.err
69037   rm -f conftest.er1
69038   cat conftest.err >&5
69039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69040   (exit $ac_status); } &&
69041          { ac_try='test -z "$ac_cxx_werror_flag"
69042                          || test ! -s conftest.err'
69043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69044   (eval $ac_try) 2>&5
69045   ac_status=$?
69046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69047   (exit $ac_status); }; } &&
69048          { ac_try='test -s conftest.$ac_objext'
69049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69050   (eval $ac_try) 2>&5
69051   ac_status=$?
69052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69053   (exit $ac_status); }; }; then
69054   glibcxx_cv_func_sincosl_use=yes
69055 else
69056   echo "$as_me: failed program was:" >&5
69057 sed 's/^/| /' conftest.$ac_ext >&5
69058
69059 glibcxx_cv_func_sincosl_use=no
69060 fi
69061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69062       ac_ext=c
69063 ac_cpp='$CPP $CPPFLAGS'
69064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067
69068
69069 fi
69070
69071   fi
69072   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69073 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69074
69075   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69076
69077 for ac_func in sincosl
69078 do
69079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69080 echo "$as_me:$LINENO: checking for $ac_func" >&5
69081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69082 if eval "test \"\${$as_ac_var+set}\" = set"; then
69083   echo $ECHO_N "(cached) $ECHO_C" >&6
69084 else
69085   if test x$gcc_no_link = xyes; then
69086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69088    { (exit 1); exit 1; }; }
69089 fi
69090 cat >conftest.$ac_ext <<_ACEOF
69091 /* confdefs.h.  */
69092 _ACEOF
69093 cat confdefs.h >>conftest.$ac_ext
69094 cat >>conftest.$ac_ext <<_ACEOF
69095 /* end confdefs.h.  */
69096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69098 #define $ac_func innocuous_$ac_func
69099
69100 /* System header to define __stub macros and hopefully few prototypes,
69101     which can conflict with char $ac_func (); below.
69102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69103     <limits.h> exists even on freestanding compilers.  */
69104
69105 #ifdef __STDC__
69106 # include <limits.h>
69107 #else
69108 # include <assert.h>
69109 #endif
69110
69111 #undef $ac_func
69112
69113 /* Override any gcc2 internal prototype to avoid an error.  */
69114 #ifdef __cplusplus
69115 extern "C"
69116 {
69117 #endif
69118 /* We use char because int might match the return type of a gcc2
69119    builtin and then its argument prototype would still apply.  */
69120 char $ac_func ();
69121 /* The GNU C library defines this for functions which it implements
69122     to always fail with ENOSYS.  Some functions are actually named
69123     something starting with __ and the normal name is an alias.  */
69124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69125 choke me
69126 #else
69127 char (*f) () = $ac_func;
69128 #endif
69129 #ifdef __cplusplus
69130 }
69131 #endif
69132
69133 int
69134 main ()
69135 {
69136 return f != $ac_func;
69137   ;
69138   return 0;
69139 }
69140 _ACEOF
69141 rm -f conftest.$ac_objext conftest$ac_exeext
69142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69143   (eval $ac_link) 2>conftest.er1
69144   ac_status=$?
69145   grep -v '^ *+' conftest.er1 >conftest.err
69146   rm -f conftest.er1
69147   cat conftest.err >&5
69148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69149   (exit $ac_status); } &&
69150          { ac_try='test -z "$ac_c_werror_flag"
69151                          || test ! -s conftest.err'
69152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69153   (eval $ac_try) 2>&5
69154   ac_status=$?
69155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156   (exit $ac_status); }; } &&
69157          { ac_try='test -s conftest$ac_exeext'
69158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69159   (eval $ac_try) 2>&5
69160   ac_status=$?
69161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69162   (exit $ac_status); }; }; then
69163   eval "$as_ac_var=yes"
69164 else
69165   echo "$as_me: failed program was:" >&5
69166 sed 's/^/| /' conftest.$ac_ext >&5
69167
69168 eval "$as_ac_var=no"
69169 fi
69170 rm -f conftest.err conftest.$ac_objext \
69171       conftest$ac_exeext conftest.$ac_ext
69172 fi
69173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69175 if test `eval echo '${'$as_ac_var'}'` = yes; then
69176   cat >>confdefs.h <<_ACEOF
69177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69178 _ACEOF
69179
69180 fi
69181 done
69182
69183   else
69184
69185   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69186 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69187   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69188     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69189   echo $ECHO_N "(cached) $ECHO_C" >&6
69190 else
69191
69192
69193
69194       ac_ext=cc
69195 ac_cpp='$CXXCPP $CPPFLAGS'
69196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69199
69200       cat >conftest.$ac_ext <<_ACEOF
69201 /* confdefs.h.  */
69202 _ACEOF
69203 cat confdefs.h >>conftest.$ac_ext
69204 cat >>conftest.$ac_ext <<_ACEOF
69205 /* end confdefs.h.  */
69206 #include <math.h>
69207 int
69208 main ()
69209 {
69210  _sincosl(0, 0, 0);
69211   ;
69212   return 0;
69213 }
69214 _ACEOF
69215 rm -f conftest.$ac_objext
69216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69217   (eval $ac_compile) 2>conftest.er1
69218   ac_status=$?
69219   grep -v '^ *+' conftest.er1 >conftest.err
69220   rm -f conftest.er1
69221   cat conftest.err >&5
69222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69223   (exit $ac_status); } &&
69224          { ac_try='test -z "$ac_cxx_werror_flag"
69225                          || test ! -s conftest.err'
69226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69227   (eval $ac_try) 2>&5
69228   ac_status=$?
69229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69230   (exit $ac_status); }; } &&
69231          { ac_try='test -s conftest.$ac_objext'
69232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69233   (eval $ac_try) 2>&5
69234   ac_status=$?
69235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69236   (exit $ac_status); }; }; then
69237   glibcxx_cv_func__sincosl_use=yes
69238 else
69239   echo "$as_me: failed program was:" >&5
69240 sed 's/^/| /' conftest.$ac_ext >&5
69241
69242 glibcxx_cv_func__sincosl_use=no
69243 fi
69244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69245       ac_ext=c
69246 ac_cpp='$CPP $CPPFLAGS'
69247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69250
69251
69252 fi
69253
69254   fi
69255   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69256 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69257
69258     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69259
69260 for ac_func in _sincosl
69261 do
69262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69263 echo "$as_me:$LINENO: checking for $ac_func" >&5
69264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69265 if eval "test \"\${$as_ac_var+set}\" = set"; then
69266   echo $ECHO_N "(cached) $ECHO_C" >&6
69267 else
69268   if test x$gcc_no_link = xyes; then
69269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69271    { (exit 1); exit 1; }; }
69272 fi
69273 cat >conftest.$ac_ext <<_ACEOF
69274 /* confdefs.h.  */
69275 _ACEOF
69276 cat confdefs.h >>conftest.$ac_ext
69277 cat >>conftest.$ac_ext <<_ACEOF
69278 /* end confdefs.h.  */
69279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69281 #define $ac_func innocuous_$ac_func
69282
69283 /* System header to define __stub macros and hopefully few prototypes,
69284     which can conflict with char $ac_func (); below.
69285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69286     <limits.h> exists even on freestanding compilers.  */
69287
69288 #ifdef __STDC__
69289 # include <limits.h>
69290 #else
69291 # include <assert.h>
69292 #endif
69293
69294 #undef $ac_func
69295
69296 /* Override any gcc2 internal prototype to avoid an error.  */
69297 #ifdef __cplusplus
69298 extern "C"
69299 {
69300 #endif
69301 /* We use char because int might match the return type of a gcc2
69302    builtin and then its argument prototype would still apply.  */
69303 char $ac_func ();
69304 /* The GNU C library defines this for functions which it implements
69305     to always fail with ENOSYS.  Some functions are actually named
69306     something starting with __ and the normal name is an alias.  */
69307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69308 choke me
69309 #else
69310 char (*f) () = $ac_func;
69311 #endif
69312 #ifdef __cplusplus
69313 }
69314 #endif
69315
69316 int
69317 main ()
69318 {
69319 return f != $ac_func;
69320   ;
69321   return 0;
69322 }
69323 _ACEOF
69324 rm -f conftest.$ac_objext conftest$ac_exeext
69325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69326   (eval $ac_link) 2>conftest.er1
69327   ac_status=$?
69328   grep -v '^ *+' conftest.er1 >conftest.err
69329   rm -f conftest.er1
69330   cat conftest.err >&5
69331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69332   (exit $ac_status); } &&
69333          { ac_try='test -z "$ac_c_werror_flag"
69334                          || test ! -s conftest.err'
69335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69336   (eval $ac_try) 2>&5
69337   ac_status=$?
69338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69339   (exit $ac_status); }; } &&
69340          { ac_try='test -s conftest$ac_exeext'
69341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69342   (eval $ac_try) 2>&5
69343   ac_status=$?
69344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69345   (exit $ac_status); }; }; then
69346   eval "$as_ac_var=yes"
69347 else
69348   echo "$as_me: failed program was:" >&5
69349 sed 's/^/| /' conftest.$ac_ext >&5
69350
69351 eval "$as_ac_var=no"
69352 fi
69353 rm -f conftest.err conftest.$ac_objext \
69354       conftest$ac_exeext conftest.$ac_ext
69355 fi
69356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69358 if test `eval echo '${'$as_ac_var'}'` = yes; then
69359   cat >>confdefs.h <<_ACEOF
69360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69361 _ACEOF
69362
69363 fi
69364 done
69365
69366     fi
69367   fi
69368
69369
69370
69371   echo "$as_me:$LINENO: checking for finitel declaration" >&5
69372 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69373   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69374     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69375   echo $ECHO_N "(cached) $ECHO_C" >&6
69376 else
69377
69378
69379
69380       ac_ext=cc
69381 ac_cpp='$CXXCPP $CPPFLAGS'
69382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69385
69386       cat >conftest.$ac_ext <<_ACEOF
69387 /* confdefs.h.  */
69388 _ACEOF
69389 cat confdefs.h >>conftest.$ac_ext
69390 cat >>conftest.$ac_ext <<_ACEOF
69391 /* end confdefs.h.  */
69392 #include <math.h>
69393                       #ifdef HAVE_IEEEFP_H
69394                       #include <ieeefp.h>
69395                       #endif
69396
69397 int
69398 main ()
69399 {
69400  finitel(0);
69401   ;
69402   return 0;
69403 }
69404 _ACEOF
69405 rm -f conftest.$ac_objext
69406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69407   (eval $ac_compile) 2>conftest.er1
69408   ac_status=$?
69409   grep -v '^ *+' conftest.er1 >conftest.err
69410   rm -f conftest.er1
69411   cat conftest.err >&5
69412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69413   (exit $ac_status); } &&
69414          { ac_try='test -z "$ac_cxx_werror_flag"
69415                          || test ! -s conftest.err'
69416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69417   (eval $ac_try) 2>&5
69418   ac_status=$?
69419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69420   (exit $ac_status); }; } &&
69421          { ac_try='test -s conftest.$ac_objext'
69422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69423   (eval $ac_try) 2>&5
69424   ac_status=$?
69425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69426   (exit $ac_status); }; }; then
69427   glibcxx_cv_func_finitel_use=yes
69428 else
69429   echo "$as_me: failed program was:" >&5
69430 sed 's/^/| /' conftest.$ac_ext >&5
69431
69432 glibcxx_cv_func_finitel_use=no
69433 fi
69434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69435       ac_ext=c
69436 ac_cpp='$CPP $CPPFLAGS'
69437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440
69441
69442 fi
69443
69444   fi
69445   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69446 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69447
69448   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69449
69450 for ac_func in finitel
69451 do
69452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69453 echo "$as_me:$LINENO: checking for $ac_func" >&5
69454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69455 if eval "test \"\${$as_ac_var+set}\" = set"; then
69456   echo $ECHO_N "(cached) $ECHO_C" >&6
69457 else
69458   if test x$gcc_no_link = xyes; then
69459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69461    { (exit 1); exit 1; }; }
69462 fi
69463 cat >conftest.$ac_ext <<_ACEOF
69464 /* confdefs.h.  */
69465 _ACEOF
69466 cat confdefs.h >>conftest.$ac_ext
69467 cat >>conftest.$ac_ext <<_ACEOF
69468 /* end confdefs.h.  */
69469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69471 #define $ac_func innocuous_$ac_func
69472
69473 /* System header to define __stub macros and hopefully few prototypes,
69474     which can conflict with char $ac_func (); below.
69475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69476     <limits.h> exists even on freestanding compilers.  */
69477
69478 #ifdef __STDC__
69479 # include <limits.h>
69480 #else
69481 # include <assert.h>
69482 #endif
69483
69484 #undef $ac_func
69485
69486 /* Override any gcc2 internal prototype to avoid an error.  */
69487 #ifdef __cplusplus
69488 extern "C"
69489 {
69490 #endif
69491 /* We use char because int might match the return type of a gcc2
69492    builtin and then its argument prototype would still apply.  */
69493 char $ac_func ();
69494 /* The GNU C library defines this for functions which it implements
69495     to always fail with ENOSYS.  Some functions are actually named
69496     something starting with __ and the normal name is an alias.  */
69497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69498 choke me
69499 #else
69500 char (*f) () = $ac_func;
69501 #endif
69502 #ifdef __cplusplus
69503 }
69504 #endif
69505
69506 int
69507 main ()
69508 {
69509 return f != $ac_func;
69510   ;
69511   return 0;
69512 }
69513 _ACEOF
69514 rm -f conftest.$ac_objext conftest$ac_exeext
69515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69516   (eval $ac_link) 2>conftest.er1
69517   ac_status=$?
69518   grep -v '^ *+' conftest.er1 >conftest.err
69519   rm -f conftest.er1
69520   cat conftest.err >&5
69521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69522   (exit $ac_status); } &&
69523          { ac_try='test -z "$ac_c_werror_flag"
69524                          || test ! -s conftest.err'
69525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69526   (eval $ac_try) 2>&5
69527   ac_status=$?
69528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69529   (exit $ac_status); }; } &&
69530          { ac_try='test -s conftest$ac_exeext'
69531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69532   (eval $ac_try) 2>&5
69533   ac_status=$?
69534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69535   (exit $ac_status); }; }; then
69536   eval "$as_ac_var=yes"
69537 else
69538   echo "$as_me: failed program was:" >&5
69539 sed 's/^/| /' conftest.$ac_ext >&5
69540
69541 eval "$as_ac_var=no"
69542 fi
69543 rm -f conftest.err conftest.$ac_objext \
69544       conftest$ac_exeext conftest.$ac_ext
69545 fi
69546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69548 if test `eval echo '${'$as_ac_var'}'` = yes; then
69549   cat >>confdefs.h <<_ACEOF
69550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69551 _ACEOF
69552
69553 fi
69554 done
69555
69556   else
69557
69558   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69559 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69560   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69561     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69562   echo $ECHO_N "(cached) $ECHO_C" >&6
69563 else
69564
69565
69566
69567       ac_ext=cc
69568 ac_cpp='$CXXCPP $CPPFLAGS'
69569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69572
69573       cat >conftest.$ac_ext <<_ACEOF
69574 /* confdefs.h.  */
69575 _ACEOF
69576 cat confdefs.h >>conftest.$ac_ext
69577 cat >>conftest.$ac_ext <<_ACEOF
69578 /* end confdefs.h.  */
69579 #include <math.h>
69580                       #ifdef HAVE_IEEEFP_H
69581                       #include <ieeefp.h>
69582                       #endif
69583
69584 int
69585 main ()
69586 {
69587  _finitel(0);
69588   ;
69589   return 0;
69590 }
69591 _ACEOF
69592 rm -f conftest.$ac_objext
69593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69594   (eval $ac_compile) 2>conftest.er1
69595   ac_status=$?
69596   grep -v '^ *+' conftest.er1 >conftest.err
69597   rm -f conftest.er1
69598   cat conftest.err >&5
69599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69600   (exit $ac_status); } &&
69601          { ac_try='test -z "$ac_cxx_werror_flag"
69602                          || test ! -s conftest.err'
69603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69604   (eval $ac_try) 2>&5
69605   ac_status=$?
69606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69607   (exit $ac_status); }; } &&
69608          { ac_try='test -s conftest.$ac_objext'
69609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69610   (eval $ac_try) 2>&5
69611   ac_status=$?
69612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69613   (exit $ac_status); }; }; then
69614   glibcxx_cv_func__finitel_use=yes
69615 else
69616   echo "$as_me: failed program was:" >&5
69617 sed 's/^/| /' conftest.$ac_ext >&5
69618
69619 glibcxx_cv_func__finitel_use=no
69620 fi
69621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69622       ac_ext=c
69623 ac_cpp='$CPP $CPPFLAGS'
69624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627
69628
69629 fi
69630
69631   fi
69632   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69633 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69634
69635     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69636
69637 for ac_func in _finitel
69638 do
69639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69640 echo "$as_me:$LINENO: checking for $ac_func" >&5
69641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69642 if eval "test \"\${$as_ac_var+set}\" = set"; then
69643   echo $ECHO_N "(cached) $ECHO_C" >&6
69644 else
69645   if test x$gcc_no_link = xyes; then
69646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69648    { (exit 1); exit 1; }; }
69649 fi
69650 cat >conftest.$ac_ext <<_ACEOF
69651 /* confdefs.h.  */
69652 _ACEOF
69653 cat confdefs.h >>conftest.$ac_ext
69654 cat >>conftest.$ac_ext <<_ACEOF
69655 /* end confdefs.h.  */
69656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69658 #define $ac_func innocuous_$ac_func
69659
69660 /* System header to define __stub macros and hopefully few prototypes,
69661     which can conflict with char $ac_func (); below.
69662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69663     <limits.h> exists even on freestanding compilers.  */
69664
69665 #ifdef __STDC__
69666 # include <limits.h>
69667 #else
69668 # include <assert.h>
69669 #endif
69670
69671 #undef $ac_func
69672
69673 /* Override any gcc2 internal prototype to avoid an error.  */
69674 #ifdef __cplusplus
69675 extern "C"
69676 {
69677 #endif
69678 /* We use char because int might match the return type of a gcc2
69679    builtin and then its argument prototype would still apply.  */
69680 char $ac_func ();
69681 /* The GNU C library defines this for functions which it implements
69682     to always fail with ENOSYS.  Some functions are actually named
69683     something starting with __ and the normal name is an alias.  */
69684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69685 choke me
69686 #else
69687 char (*f) () = $ac_func;
69688 #endif
69689 #ifdef __cplusplus
69690 }
69691 #endif
69692
69693 int
69694 main ()
69695 {
69696 return f != $ac_func;
69697   ;
69698   return 0;
69699 }
69700 _ACEOF
69701 rm -f conftest.$ac_objext conftest$ac_exeext
69702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69703   (eval $ac_link) 2>conftest.er1
69704   ac_status=$?
69705   grep -v '^ *+' conftest.er1 >conftest.err
69706   rm -f conftest.er1
69707   cat conftest.err >&5
69708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69709   (exit $ac_status); } &&
69710          { ac_try='test -z "$ac_c_werror_flag"
69711                          || test ! -s conftest.err'
69712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69713   (eval $ac_try) 2>&5
69714   ac_status=$?
69715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716   (exit $ac_status); }; } &&
69717          { ac_try='test -s conftest$ac_exeext'
69718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69719   (eval $ac_try) 2>&5
69720   ac_status=$?
69721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69722   (exit $ac_status); }; }; then
69723   eval "$as_ac_var=yes"
69724 else
69725   echo "$as_me: failed program was:" >&5
69726 sed 's/^/| /' conftest.$ac_ext >&5
69727
69728 eval "$as_ac_var=no"
69729 fi
69730 rm -f conftest.err conftest.$ac_objext \
69731       conftest$ac_exeext conftest.$ac_ext
69732 fi
69733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69735 if test `eval echo '${'$as_ac_var'}'` = yes; then
69736   cat >>confdefs.h <<_ACEOF
69737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69738 _ACEOF
69739
69740 fi
69741 done
69742
69743     fi
69744   fi
69745
69746
69747
69748
69749   echo "$as_me:$LINENO: checking for _float trig functions" >&5
69750 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69751   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69752   echo $ECHO_N "(cached) $ECHO_C" >&6
69753 else
69754
69755
69756
69757     ac_ext=cc
69758 ac_cpp='$CXXCPP $CPPFLAGS'
69759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69762
69763     cat >conftest.$ac_ext <<_ACEOF
69764 /* confdefs.h.  */
69765 _ACEOF
69766 cat confdefs.h >>conftest.$ac_ext
69767 cat >>conftest.$ac_ext <<_ACEOF
69768 /* end confdefs.h.  */
69769 #include <math.h>
69770 int
69771 main ()
69772 {
69773  `for x in _acosf _asinf _atanf \
69774                                           _cosf _sinf _tanf \
69775                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69776   ;
69777   return 0;
69778 }
69779 _ACEOF
69780 rm -f conftest.$ac_objext
69781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69782   (eval $ac_compile) 2>conftest.er1
69783   ac_status=$?
69784   grep -v '^ *+' conftest.er1 >conftest.err
69785   rm -f conftest.er1
69786   cat conftest.err >&5
69787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69788   (exit $ac_status); } &&
69789          { ac_try='test -z "$ac_cxx_werror_flag"
69790                          || test ! -s conftest.err'
69791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69792   (eval $ac_try) 2>&5
69793   ac_status=$?
69794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69795   (exit $ac_status); }; } &&
69796          { ac_try='test -s conftest.$ac_objext'
69797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69798   (eval $ac_try) 2>&5
69799   ac_status=$?
69800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69801   (exit $ac_status); }; }; then
69802   glibcxx_cv_func__float_trig_use=yes
69803 else
69804   echo "$as_me: failed program was:" >&5
69805 sed 's/^/| /' conftest.$ac_ext >&5
69806
69807 glibcxx_cv_func__float_trig_use=no
69808 fi
69809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69810     ac_ext=c
69811 ac_cpp='$CPP $CPPFLAGS'
69812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69815
69816 fi
69817
69818   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69819 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69820   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69821
69822
69823
69824
69825
69826
69827
69828
69829
69830 for ac_func in _acosf _asinf _atanf \
69831                                           _cosf _sinf _tanf \
69832                                           _coshf _sinhf _tanhf
69833 do
69834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69835 echo "$as_me:$LINENO: checking for $ac_func" >&5
69836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69837 if eval "test \"\${$as_ac_var+set}\" = set"; then
69838   echo $ECHO_N "(cached) $ECHO_C" >&6
69839 else
69840   if test x$gcc_no_link = xyes; then
69841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69843    { (exit 1); exit 1; }; }
69844 fi
69845 cat >conftest.$ac_ext <<_ACEOF
69846 /* confdefs.h.  */
69847 _ACEOF
69848 cat confdefs.h >>conftest.$ac_ext
69849 cat >>conftest.$ac_ext <<_ACEOF
69850 /* end confdefs.h.  */
69851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69853 #define $ac_func innocuous_$ac_func
69854
69855 /* System header to define __stub macros and hopefully few prototypes,
69856     which can conflict with char $ac_func (); below.
69857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69858     <limits.h> exists even on freestanding compilers.  */
69859
69860 #ifdef __STDC__
69861 # include <limits.h>
69862 #else
69863 # include <assert.h>
69864 #endif
69865
69866 #undef $ac_func
69867
69868 /* Override any gcc2 internal prototype to avoid an error.  */
69869 #ifdef __cplusplus
69870 extern "C"
69871 {
69872 #endif
69873 /* We use char because int might match the return type of a gcc2
69874    builtin and then its argument prototype would still apply.  */
69875 char $ac_func ();
69876 /* The GNU C library defines this for functions which it implements
69877     to always fail with ENOSYS.  Some functions are actually named
69878     something starting with __ and the normal name is an alias.  */
69879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69880 choke me
69881 #else
69882 char (*f) () = $ac_func;
69883 #endif
69884 #ifdef __cplusplus
69885 }
69886 #endif
69887
69888 int
69889 main ()
69890 {
69891 return f != $ac_func;
69892   ;
69893   return 0;
69894 }
69895 _ACEOF
69896 rm -f conftest.$ac_objext conftest$ac_exeext
69897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69898   (eval $ac_link) 2>conftest.er1
69899   ac_status=$?
69900   grep -v '^ *+' conftest.er1 >conftest.err
69901   rm -f conftest.er1
69902   cat conftest.err >&5
69903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69904   (exit $ac_status); } &&
69905          { ac_try='test -z "$ac_c_werror_flag"
69906                          || test ! -s conftest.err'
69907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69908   (eval $ac_try) 2>&5
69909   ac_status=$?
69910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69911   (exit $ac_status); }; } &&
69912          { ac_try='test -s conftest$ac_exeext'
69913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69914   (eval $ac_try) 2>&5
69915   ac_status=$?
69916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69917   (exit $ac_status); }; }; then
69918   eval "$as_ac_var=yes"
69919 else
69920   echo "$as_me: failed program was:" >&5
69921 sed 's/^/| /' conftest.$ac_ext >&5
69922
69923 eval "$as_ac_var=no"
69924 fi
69925 rm -f conftest.err conftest.$ac_objext \
69926       conftest$ac_exeext conftest.$ac_ext
69927 fi
69928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69930 if test `eval echo '${'$as_ac_var'}'` = yes; then
69931   cat >>confdefs.h <<_ACEOF
69932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69933 _ACEOF
69934
69935 fi
69936 done
69937
69938   fi
69939
69940
69941   echo "$as_me:$LINENO: checking for _float round functions" >&5
69942 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69943   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69944   echo $ECHO_N "(cached) $ECHO_C" >&6
69945 else
69946
69947
69948
69949     ac_ext=cc
69950 ac_cpp='$CXXCPP $CPPFLAGS'
69951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69954
69955     cat >conftest.$ac_ext <<_ACEOF
69956 /* confdefs.h.  */
69957 _ACEOF
69958 cat confdefs.h >>conftest.$ac_ext
69959 cat >>conftest.$ac_ext <<_ACEOF
69960 /* end confdefs.h.  */
69961 #include <math.h>
69962 int
69963 main ()
69964 {
69965  `for x in _ceilf _floorf; do echo "$x (0);"; done`
69966   ;
69967   return 0;
69968 }
69969 _ACEOF
69970 rm -f conftest.$ac_objext
69971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69972   (eval $ac_compile) 2>conftest.er1
69973   ac_status=$?
69974   grep -v '^ *+' conftest.er1 >conftest.err
69975   rm -f conftest.er1
69976   cat conftest.err >&5
69977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69978   (exit $ac_status); } &&
69979          { ac_try='test -z "$ac_cxx_werror_flag"
69980                          || test ! -s conftest.err'
69981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69982   (eval $ac_try) 2>&5
69983   ac_status=$?
69984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69985   (exit $ac_status); }; } &&
69986          { ac_try='test -s conftest.$ac_objext'
69987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69988   (eval $ac_try) 2>&5
69989   ac_status=$?
69990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69991   (exit $ac_status); }; }; then
69992   glibcxx_cv_func__float_round_use=yes
69993 else
69994   echo "$as_me: failed program was:" >&5
69995 sed 's/^/| /' conftest.$ac_ext >&5
69996
69997 glibcxx_cv_func__float_round_use=no
69998 fi
69999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70000     ac_ext=c
70001 ac_cpp='$CPP $CPPFLAGS'
70002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005
70006 fi
70007
70008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70009 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70010   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70011
70012
70013 for ac_func in _ceilf _floorf
70014 do
70015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70016 echo "$as_me:$LINENO: checking for $ac_func" >&5
70017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70018 if eval "test \"\${$as_ac_var+set}\" = set"; then
70019   echo $ECHO_N "(cached) $ECHO_C" >&6
70020 else
70021   if test x$gcc_no_link = xyes; then
70022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70024    { (exit 1); exit 1; }; }
70025 fi
70026 cat >conftest.$ac_ext <<_ACEOF
70027 /* confdefs.h.  */
70028 _ACEOF
70029 cat confdefs.h >>conftest.$ac_ext
70030 cat >>conftest.$ac_ext <<_ACEOF
70031 /* end confdefs.h.  */
70032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70034 #define $ac_func innocuous_$ac_func
70035
70036 /* System header to define __stub macros and hopefully few prototypes,
70037     which can conflict with char $ac_func (); below.
70038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70039     <limits.h> exists even on freestanding compilers.  */
70040
70041 #ifdef __STDC__
70042 # include <limits.h>
70043 #else
70044 # include <assert.h>
70045 #endif
70046
70047 #undef $ac_func
70048
70049 /* Override any gcc2 internal prototype to avoid an error.  */
70050 #ifdef __cplusplus
70051 extern "C"
70052 {
70053 #endif
70054 /* We use char because int might match the return type of a gcc2
70055    builtin and then its argument prototype would still apply.  */
70056 char $ac_func ();
70057 /* The GNU C library defines this for functions which it implements
70058     to always fail with ENOSYS.  Some functions are actually named
70059     something starting with __ and the normal name is an alias.  */
70060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70061 choke me
70062 #else
70063 char (*f) () = $ac_func;
70064 #endif
70065 #ifdef __cplusplus
70066 }
70067 #endif
70068
70069 int
70070 main ()
70071 {
70072 return f != $ac_func;
70073   ;
70074   return 0;
70075 }
70076 _ACEOF
70077 rm -f conftest.$ac_objext conftest$ac_exeext
70078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70079   (eval $ac_link) 2>conftest.er1
70080   ac_status=$?
70081   grep -v '^ *+' conftest.er1 >conftest.err
70082   rm -f conftest.er1
70083   cat conftest.err >&5
70084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70085   (exit $ac_status); } &&
70086          { ac_try='test -z "$ac_c_werror_flag"
70087                          || test ! -s conftest.err'
70088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70089   (eval $ac_try) 2>&5
70090   ac_status=$?
70091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70092   (exit $ac_status); }; } &&
70093          { ac_try='test -s conftest$ac_exeext'
70094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70095   (eval $ac_try) 2>&5
70096   ac_status=$?
70097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70098   (exit $ac_status); }; }; then
70099   eval "$as_ac_var=yes"
70100 else
70101   echo "$as_me: failed program was:" >&5
70102 sed 's/^/| /' conftest.$ac_ext >&5
70103
70104 eval "$as_ac_var=no"
70105 fi
70106 rm -f conftest.err conftest.$ac_objext \
70107       conftest$ac_exeext conftest.$ac_ext
70108 fi
70109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70111 if test `eval echo '${'$as_ac_var'}'` = yes; then
70112   cat >>confdefs.h <<_ACEOF
70113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70114 _ACEOF
70115
70116 fi
70117 done
70118
70119   fi
70120
70121
70122
70123   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70124 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70125   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70126   echo $ECHO_N "(cached) $ECHO_C" >&6
70127 else
70128
70129
70130
70131     ac_ext=cc
70132 ac_cpp='$CXXCPP $CPPFLAGS'
70133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70136
70137     cat >conftest.$ac_ext <<_ACEOF
70138 /* confdefs.h.  */
70139 _ACEOF
70140 cat confdefs.h >>conftest.$ac_ext
70141 cat >>conftest.$ac_ext <<_ACEOF
70142 /* end confdefs.h.  */
70143 #include <math.h>
70144 int
70145 main ()
70146 {
70147  `for x in _acosl _asinl _atanl \
70148                                           _cosl _sinl _tanl \
70149                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70150   ;
70151   return 0;
70152 }
70153 _ACEOF
70154 rm -f conftest.$ac_objext
70155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70156   (eval $ac_compile) 2>conftest.er1
70157   ac_status=$?
70158   grep -v '^ *+' conftest.er1 >conftest.err
70159   rm -f conftest.er1
70160   cat conftest.err >&5
70161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70162   (exit $ac_status); } &&
70163          { ac_try='test -z "$ac_cxx_werror_flag"
70164                          || test ! -s conftest.err'
70165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70166   (eval $ac_try) 2>&5
70167   ac_status=$?
70168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70169   (exit $ac_status); }; } &&
70170          { ac_try='test -s conftest.$ac_objext'
70171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70172   (eval $ac_try) 2>&5
70173   ac_status=$?
70174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70175   (exit $ac_status); }; }; then
70176   glibcxx_cv_func__long_double_trig_use=yes
70177 else
70178   echo "$as_me: failed program was:" >&5
70179 sed 's/^/| /' conftest.$ac_ext >&5
70180
70181 glibcxx_cv_func__long_double_trig_use=no
70182 fi
70183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70184     ac_ext=c
70185 ac_cpp='$CPP $CPPFLAGS'
70186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70189
70190 fi
70191
70192   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70193 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70194   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70195
70196
70197
70198
70199
70200
70201
70202
70203
70204 for ac_func in _acosl _asinl _atanl \
70205                                           _cosl _sinl _tanl \
70206                                           _coshl _sinhl _tanhl
70207 do
70208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70209 echo "$as_me:$LINENO: checking for $ac_func" >&5
70210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70211 if eval "test \"\${$as_ac_var+set}\" = set"; then
70212   echo $ECHO_N "(cached) $ECHO_C" >&6
70213 else
70214   if test x$gcc_no_link = xyes; then
70215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70217    { (exit 1); exit 1; }; }
70218 fi
70219 cat >conftest.$ac_ext <<_ACEOF
70220 /* confdefs.h.  */
70221 _ACEOF
70222 cat confdefs.h >>conftest.$ac_ext
70223 cat >>conftest.$ac_ext <<_ACEOF
70224 /* end confdefs.h.  */
70225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70227 #define $ac_func innocuous_$ac_func
70228
70229 /* System header to define __stub macros and hopefully few prototypes,
70230     which can conflict with char $ac_func (); below.
70231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70232     <limits.h> exists even on freestanding compilers.  */
70233
70234 #ifdef __STDC__
70235 # include <limits.h>
70236 #else
70237 # include <assert.h>
70238 #endif
70239
70240 #undef $ac_func
70241
70242 /* Override any gcc2 internal prototype to avoid an error.  */
70243 #ifdef __cplusplus
70244 extern "C"
70245 {
70246 #endif
70247 /* We use char because int might match the return type of a gcc2
70248    builtin and then its argument prototype would still apply.  */
70249 char $ac_func ();
70250 /* The GNU C library defines this for functions which it implements
70251     to always fail with ENOSYS.  Some functions are actually named
70252     something starting with __ and the normal name is an alias.  */
70253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70254 choke me
70255 #else
70256 char (*f) () = $ac_func;
70257 #endif
70258 #ifdef __cplusplus
70259 }
70260 #endif
70261
70262 int
70263 main ()
70264 {
70265 return f != $ac_func;
70266   ;
70267   return 0;
70268 }
70269 _ACEOF
70270 rm -f conftest.$ac_objext conftest$ac_exeext
70271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70272   (eval $ac_link) 2>conftest.er1
70273   ac_status=$?
70274   grep -v '^ *+' conftest.er1 >conftest.err
70275   rm -f conftest.er1
70276   cat conftest.err >&5
70277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70278   (exit $ac_status); } &&
70279          { ac_try='test -z "$ac_c_werror_flag"
70280                          || test ! -s conftest.err'
70281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70282   (eval $ac_try) 2>&5
70283   ac_status=$?
70284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70285   (exit $ac_status); }; } &&
70286          { ac_try='test -s conftest$ac_exeext'
70287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70288   (eval $ac_try) 2>&5
70289   ac_status=$?
70290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70291   (exit $ac_status); }; }; then
70292   eval "$as_ac_var=yes"
70293 else
70294   echo "$as_me: failed program was:" >&5
70295 sed 's/^/| /' conftest.$ac_ext >&5
70296
70297 eval "$as_ac_var=no"
70298 fi
70299 rm -f conftest.err conftest.$ac_objext \
70300       conftest$ac_exeext conftest.$ac_ext
70301 fi
70302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70304 if test `eval echo '${'$as_ac_var'}'` = yes; then
70305   cat >>confdefs.h <<_ACEOF
70306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70307 _ACEOF
70308
70309 fi
70310 done
70311
70312   fi
70313
70314
70315   echo "$as_me:$LINENO: checking for _long double round functions" >&5
70316 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70317   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70318   echo $ECHO_N "(cached) $ECHO_C" >&6
70319 else
70320
70321
70322
70323     ac_ext=cc
70324 ac_cpp='$CXXCPP $CPPFLAGS'
70325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70328
70329     cat >conftest.$ac_ext <<_ACEOF
70330 /* confdefs.h.  */
70331 _ACEOF
70332 cat confdefs.h >>conftest.$ac_ext
70333 cat >>conftest.$ac_ext <<_ACEOF
70334 /* end confdefs.h.  */
70335 #include <math.h>
70336 int
70337 main ()
70338 {
70339  `for x in _ceill _floorl; do echo "$x (0);"; done`
70340   ;
70341   return 0;
70342 }
70343 _ACEOF
70344 rm -f conftest.$ac_objext
70345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70346   (eval $ac_compile) 2>conftest.er1
70347   ac_status=$?
70348   grep -v '^ *+' conftest.er1 >conftest.err
70349   rm -f conftest.er1
70350   cat conftest.err >&5
70351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70352   (exit $ac_status); } &&
70353          { ac_try='test -z "$ac_cxx_werror_flag"
70354                          || test ! -s conftest.err'
70355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70356   (eval $ac_try) 2>&5
70357   ac_status=$?
70358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70359   (exit $ac_status); }; } &&
70360          { ac_try='test -s conftest.$ac_objext'
70361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70362   (eval $ac_try) 2>&5
70363   ac_status=$?
70364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70365   (exit $ac_status); }; }; then
70366   glibcxx_cv_func__long_double_round_use=yes
70367 else
70368   echo "$as_me: failed program was:" >&5
70369 sed 's/^/| /' conftest.$ac_ext >&5
70370
70371 glibcxx_cv_func__long_double_round_use=no
70372 fi
70373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70374     ac_ext=c
70375 ac_cpp='$CPP $CPPFLAGS'
70376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70379
70380 fi
70381
70382   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70383 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70384   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70385
70386
70387 for ac_func in _ceill _floorl
70388 do
70389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70390 echo "$as_me:$LINENO: checking for $ac_func" >&5
70391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70392 if eval "test \"\${$as_ac_var+set}\" = set"; then
70393   echo $ECHO_N "(cached) $ECHO_C" >&6
70394 else
70395   if test x$gcc_no_link = xyes; then
70396   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70398    { (exit 1); exit 1; }; }
70399 fi
70400 cat >conftest.$ac_ext <<_ACEOF
70401 /* confdefs.h.  */
70402 _ACEOF
70403 cat confdefs.h >>conftest.$ac_ext
70404 cat >>conftest.$ac_ext <<_ACEOF
70405 /* end confdefs.h.  */
70406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70407    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70408 #define $ac_func innocuous_$ac_func
70409
70410 /* System header to define __stub macros and hopefully few prototypes,
70411     which can conflict with char $ac_func (); below.
70412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70413     <limits.h> exists even on freestanding compilers.  */
70414
70415 #ifdef __STDC__
70416 # include <limits.h>
70417 #else
70418 # include <assert.h>
70419 #endif
70420
70421 #undef $ac_func
70422
70423 /* Override any gcc2 internal prototype to avoid an error.  */
70424 #ifdef __cplusplus
70425 extern "C"
70426 {
70427 #endif
70428 /* We use char because int might match the return type of a gcc2
70429    builtin and then its argument prototype would still apply.  */
70430 char $ac_func ();
70431 /* The GNU C library defines this for functions which it implements
70432     to always fail with ENOSYS.  Some functions are actually named
70433     something starting with __ and the normal name is an alias.  */
70434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70435 choke me
70436 #else
70437 char (*f) () = $ac_func;
70438 #endif
70439 #ifdef __cplusplus
70440 }
70441 #endif
70442
70443 int
70444 main ()
70445 {
70446 return f != $ac_func;
70447   ;
70448   return 0;
70449 }
70450 _ACEOF
70451 rm -f conftest.$ac_objext conftest$ac_exeext
70452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70453   (eval $ac_link) 2>conftest.er1
70454   ac_status=$?
70455   grep -v '^ *+' conftest.er1 >conftest.err
70456   rm -f conftest.er1
70457   cat conftest.err >&5
70458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70459   (exit $ac_status); } &&
70460          { ac_try='test -z "$ac_c_werror_flag"
70461                          || test ! -s conftest.err'
70462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70463   (eval $ac_try) 2>&5
70464   ac_status=$?
70465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70466   (exit $ac_status); }; } &&
70467          { ac_try='test -s conftest$ac_exeext'
70468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70469   (eval $ac_try) 2>&5
70470   ac_status=$?
70471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70472   (exit $ac_status); }; }; then
70473   eval "$as_ac_var=yes"
70474 else
70475   echo "$as_me: failed program was:" >&5
70476 sed 's/^/| /' conftest.$ac_ext >&5
70477
70478 eval "$as_ac_var=no"
70479 fi
70480 rm -f conftest.err conftest.$ac_objext \
70481       conftest$ac_exeext conftest.$ac_ext
70482 fi
70483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70485 if test `eval echo '${'$as_ac_var'}'` = yes; then
70486   cat >>confdefs.h <<_ACEOF
70487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70488 _ACEOF
70489
70490 fi
70491 done
70492
70493   fi
70494
70495
70496   LIBS="$ac_save_LIBS"
70497   CXXFLAGS="$ac_save_CXXFLAGS"
70498
70499
70500
70501   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70502 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70503   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70504     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70505   echo $ECHO_N "(cached) $ECHO_C" >&6
70506 else
70507
70508
70509
70510       ac_ext=cc
70511 ac_cpp='$CXXCPP $CPPFLAGS'
70512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70515
70516       cat >conftest.$ac_ext <<_ACEOF
70517 /* confdefs.h.  */
70518 _ACEOF
70519 cat confdefs.h >>conftest.$ac_ext
70520 cat >>conftest.$ac_ext <<_ACEOF
70521 /* end confdefs.h.  */
70522 #include <math.h>
70523 int
70524 main ()
70525 {
70526  __builtin_abs(0);
70527   ;
70528   return 0;
70529 }
70530 _ACEOF
70531 rm -f conftest.$ac_objext
70532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70533   (eval $ac_compile) 2>conftest.er1
70534   ac_status=$?
70535   grep -v '^ *+' conftest.er1 >conftest.err
70536   rm -f conftest.er1
70537   cat conftest.err >&5
70538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539   (exit $ac_status); } &&
70540          { ac_try='test -z "$ac_cxx_werror_flag"
70541                          || test ! -s conftest.err'
70542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70543   (eval $ac_try) 2>&5
70544   ac_status=$?
70545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70546   (exit $ac_status); }; } &&
70547          { ac_try='test -s conftest.$ac_objext'
70548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70549   (eval $ac_try) 2>&5
70550   ac_status=$?
70551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70552   (exit $ac_status); }; }; then
70553   glibcxx_cv_func___builtin_abs_use=yes
70554 else
70555   echo "$as_me: failed program was:" >&5
70556 sed 's/^/| /' conftest.$ac_ext >&5
70557
70558 glibcxx_cv_func___builtin_abs_use=no
70559 fi
70560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70561       ac_ext=c
70562 ac_cpp='$CPP $CPPFLAGS'
70563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70566
70567
70568 fi
70569
70570   fi
70571   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70572 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70573   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70574     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70575 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70576     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70577       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70578   echo $ECHO_N "(cached) $ECHO_C" >&6
70579 else
70580
70581         if test x$gcc_no_link = xyes; then
70582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70584    { (exit 1); exit 1; }; }
70585 fi
70586 cat >conftest.$ac_ext <<_ACEOF
70587 /* confdefs.h.  */
70588 _ACEOF
70589 cat confdefs.h >>conftest.$ac_ext
70590 cat >>conftest.$ac_ext <<_ACEOF
70591 /* end confdefs.h.  */
70592 #include <math.h>
70593 int
70594 main ()
70595 {
70596  __builtin_abs(0);
70597   ;
70598   return 0;
70599 }
70600 _ACEOF
70601 rm -f conftest.$ac_objext conftest$ac_exeext
70602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70603   (eval $ac_link) 2>conftest.er1
70604   ac_status=$?
70605   grep -v '^ *+' conftest.er1 >conftest.err
70606   rm -f conftest.er1
70607   cat conftest.err >&5
70608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70609   (exit $ac_status); } &&
70610          { ac_try='test -z "$ac_c_werror_flag"
70611                          || test ! -s conftest.err'
70612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70613   (eval $ac_try) 2>&5
70614   ac_status=$?
70615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70616   (exit $ac_status); }; } &&
70617          { ac_try='test -s conftest$ac_exeext'
70618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70619   (eval $ac_try) 2>&5
70620   ac_status=$?
70621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70622   (exit $ac_status); }; }; then
70623   glibcxx_cv_func___builtin_abs_link=yes
70624 else
70625   echo "$as_me: failed program was:" >&5
70626 sed 's/^/| /' conftest.$ac_ext >&5
70627
70628 glibcxx_cv_func___builtin_abs_link=no
70629 fi
70630 rm -f conftest.err conftest.$ac_objext \
70631       conftest$ac_exeext conftest.$ac_ext
70632
70633 fi
70634
70635     fi
70636     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70637 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70638     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70639       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70640
70641 cat >>confdefs.h <<_ACEOF
70642 #define ${ac_tr_func} 1
70643 _ACEOF
70644
70645     fi
70646   fi
70647
70648
70649   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70650 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70651   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70652     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70653   echo $ECHO_N "(cached) $ECHO_C" >&6
70654 else
70655
70656
70657
70658       ac_ext=cc
70659 ac_cpp='$CXXCPP $CPPFLAGS'
70660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70663
70664       cat >conftest.$ac_ext <<_ACEOF
70665 /* confdefs.h.  */
70666 _ACEOF
70667 cat confdefs.h >>conftest.$ac_ext
70668 cat >>conftest.$ac_ext <<_ACEOF
70669 /* end confdefs.h.  */
70670 #include <math.h>
70671 int
70672 main ()
70673 {
70674  __builtin_fabsf(0);
70675   ;
70676   return 0;
70677 }
70678 _ACEOF
70679 rm -f conftest.$ac_objext
70680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70681   (eval $ac_compile) 2>conftest.er1
70682   ac_status=$?
70683   grep -v '^ *+' conftest.er1 >conftest.err
70684   rm -f conftest.er1
70685   cat conftest.err >&5
70686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70687   (exit $ac_status); } &&
70688          { ac_try='test -z "$ac_cxx_werror_flag"
70689                          || test ! -s conftest.err'
70690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70691   (eval $ac_try) 2>&5
70692   ac_status=$?
70693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70694   (exit $ac_status); }; } &&
70695          { ac_try='test -s conftest.$ac_objext'
70696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70697   (eval $ac_try) 2>&5
70698   ac_status=$?
70699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70700   (exit $ac_status); }; }; then
70701   glibcxx_cv_func___builtin_fabsf_use=yes
70702 else
70703   echo "$as_me: failed program was:" >&5
70704 sed 's/^/| /' conftest.$ac_ext >&5
70705
70706 glibcxx_cv_func___builtin_fabsf_use=no
70707 fi
70708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70709       ac_ext=c
70710 ac_cpp='$CPP $CPPFLAGS'
70711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70714
70715
70716 fi
70717
70718   fi
70719   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70720 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70721   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70722     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70723 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70724     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70725       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70726   echo $ECHO_N "(cached) $ECHO_C" >&6
70727 else
70728
70729         if test x$gcc_no_link = xyes; then
70730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70732    { (exit 1); exit 1; }; }
70733 fi
70734 cat >conftest.$ac_ext <<_ACEOF
70735 /* confdefs.h.  */
70736 _ACEOF
70737 cat confdefs.h >>conftest.$ac_ext
70738 cat >>conftest.$ac_ext <<_ACEOF
70739 /* end confdefs.h.  */
70740 #include <math.h>
70741 int
70742 main ()
70743 {
70744  __builtin_fabsf(0);
70745   ;
70746   return 0;
70747 }
70748 _ACEOF
70749 rm -f conftest.$ac_objext conftest$ac_exeext
70750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70751   (eval $ac_link) 2>conftest.er1
70752   ac_status=$?
70753   grep -v '^ *+' conftest.er1 >conftest.err
70754   rm -f conftest.er1
70755   cat conftest.err >&5
70756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70757   (exit $ac_status); } &&
70758          { ac_try='test -z "$ac_c_werror_flag"
70759                          || test ! -s conftest.err'
70760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70761   (eval $ac_try) 2>&5
70762   ac_status=$?
70763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70764   (exit $ac_status); }; } &&
70765          { ac_try='test -s conftest$ac_exeext'
70766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70767   (eval $ac_try) 2>&5
70768   ac_status=$?
70769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70770   (exit $ac_status); }; }; then
70771   glibcxx_cv_func___builtin_fabsf_link=yes
70772 else
70773   echo "$as_me: failed program was:" >&5
70774 sed 's/^/| /' conftest.$ac_ext >&5
70775
70776 glibcxx_cv_func___builtin_fabsf_link=no
70777 fi
70778 rm -f conftest.err conftest.$ac_objext \
70779       conftest$ac_exeext conftest.$ac_ext
70780
70781 fi
70782
70783     fi
70784     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70785 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70786     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70787       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70788
70789 cat >>confdefs.h <<_ACEOF
70790 #define ${ac_tr_func} 1
70791 _ACEOF
70792
70793     fi
70794   fi
70795
70796
70797   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70798 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70799   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70800     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70801   echo $ECHO_N "(cached) $ECHO_C" >&6
70802 else
70803
70804
70805
70806       ac_ext=cc
70807 ac_cpp='$CXXCPP $CPPFLAGS'
70808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70811
70812       cat >conftest.$ac_ext <<_ACEOF
70813 /* confdefs.h.  */
70814 _ACEOF
70815 cat confdefs.h >>conftest.$ac_ext
70816 cat >>conftest.$ac_ext <<_ACEOF
70817 /* end confdefs.h.  */
70818 #include <math.h>
70819 int
70820 main ()
70821 {
70822  __builtin_fabs(0);
70823   ;
70824   return 0;
70825 }
70826 _ACEOF
70827 rm -f conftest.$ac_objext
70828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70829   (eval $ac_compile) 2>conftest.er1
70830   ac_status=$?
70831   grep -v '^ *+' conftest.er1 >conftest.err
70832   rm -f conftest.er1
70833   cat conftest.err >&5
70834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70835   (exit $ac_status); } &&
70836          { ac_try='test -z "$ac_cxx_werror_flag"
70837                          || test ! -s conftest.err'
70838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70839   (eval $ac_try) 2>&5
70840   ac_status=$?
70841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70842   (exit $ac_status); }; } &&
70843          { ac_try='test -s conftest.$ac_objext'
70844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70845   (eval $ac_try) 2>&5
70846   ac_status=$?
70847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70848   (exit $ac_status); }; }; then
70849   glibcxx_cv_func___builtin_fabs_use=yes
70850 else
70851   echo "$as_me: failed program was:" >&5
70852 sed 's/^/| /' conftest.$ac_ext >&5
70853
70854 glibcxx_cv_func___builtin_fabs_use=no
70855 fi
70856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70857       ac_ext=c
70858 ac_cpp='$CPP $CPPFLAGS'
70859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70862
70863
70864 fi
70865
70866   fi
70867   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70868 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70869   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70870     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70871 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70872     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70873       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70874   echo $ECHO_N "(cached) $ECHO_C" >&6
70875 else
70876
70877         if test x$gcc_no_link = xyes; then
70878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70880    { (exit 1); exit 1; }; }
70881 fi
70882 cat >conftest.$ac_ext <<_ACEOF
70883 /* confdefs.h.  */
70884 _ACEOF
70885 cat confdefs.h >>conftest.$ac_ext
70886 cat >>conftest.$ac_ext <<_ACEOF
70887 /* end confdefs.h.  */
70888 #include <math.h>
70889 int
70890 main ()
70891 {
70892  __builtin_fabs(0);
70893   ;
70894   return 0;
70895 }
70896 _ACEOF
70897 rm -f conftest.$ac_objext conftest$ac_exeext
70898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70899   (eval $ac_link) 2>conftest.er1
70900   ac_status=$?
70901   grep -v '^ *+' conftest.er1 >conftest.err
70902   rm -f conftest.er1
70903   cat conftest.err >&5
70904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70905   (exit $ac_status); } &&
70906          { ac_try='test -z "$ac_c_werror_flag"
70907                          || test ! -s conftest.err'
70908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70909   (eval $ac_try) 2>&5
70910   ac_status=$?
70911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70912   (exit $ac_status); }; } &&
70913          { ac_try='test -s conftest$ac_exeext'
70914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70915   (eval $ac_try) 2>&5
70916   ac_status=$?
70917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70918   (exit $ac_status); }; }; then
70919   glibcxx_cv_func___builtin_fabs_link=yes
70920 else
70921   echo "$as_me: failed program was:" >&5
70922 sed 's/^/| /' conftest.$ac_ext >&5
70923
70924 glibcxx_cv_func___builtin_fabs_link=no
70925 fi
70926 rm -f conftest.err conftest.$ac_objext \
70927       conftest$ac_exeext conftest.$ac_ext
70928
70929 fi
70930
70931     fi
70932     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70933 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70934     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70935       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70936
70937 cat >>confdefs.h <<_ACEOF
70938 #define ${ac_tr_func} 1
70939 _ACEOF
70940
70941     fi
70942   fi
70943
70944
70945   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70946 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70947   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70948     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70949   echo $ECHO_N "(cached) $ECHO_C" >&6
70950 else
70951
70952
70953
70954       ac_ext=cc
70955 ac_cpp='$CXXCPP $CPPFLAGS'
70956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70959
70960       cat >conftest.$ac_ext <<_ACEOF
70961 /* confdefs.h.  */
70962 _ACEOF
70963 cat confdefs.h >>conftest.$ac_ext
70964 cat >>conftest.$ac_ext <<_ACEOF
70965 /* end confdefs.h.  */
70966 #include <math.h>
70967 int
70968 main ()
70969 {
70970  __builtin_fabsl(0);
70971   ;
70972   return 0;
70973 }
70974 _ACEOF
70975 rm -f conftest.$ac_objext
70976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70977   (eval $ac_compile) 2>conftest.er1
70978   ac_status=$?
70979   grep -v '^ *+' conftest.er1 >conftest.err
70980   rm -f conftest.er1
70981   cat conftest.err >&5
70982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70983   (exit $ac_status); } &&
70984          { ac_try='test -z "$ac_cxx_werror_flag"
70985                          || test ! -s conftest.err'
70986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70987   (eval $ac_try) 2>&5
70988   ac_status=$?
70989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70990   (exit $ac_status); }; } &&
70991          { ac_try='test -s conftest.$ac_objext'
70992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70993   (eval $ac_try) 2>&5
70994   ac_status=$?
70995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70996   (exit $ac_status); }; }; then
70997   glibcxx_cv_func___builtin_fabsl_use=yes
70998 else
70999   echo "$as_me: failed program was:" >&5
71000 sed 's/^/| /' conftest.$ac_ext >&5
71001
71002 glibcxx_cv_func___builtin_fabsl_use=no
71003 fi
71004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71005       ac_ext=c
71006 ac_cpp='$CPP $CPPFLAGS'
71007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71010
71011
71012 fi
71013
71014   fi
71015   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71016 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71017   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71018     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71019 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71020     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71021       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71022   echo $ECHO_N "(cached) $ECHO_C" >&6
71023 else
71024
71025         if test x$gcc_no_link = xyes; then
71026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71028    { (exit 1); exit 1; }; }
71029 fi
71030 cat >conftest.$ac_ext <<_ACEOF
71031 /* confdefs.h.  */
71032 _ACEOF
71033 cat confdefs.h >>conftest.$ac_ext
71034 cat >>conftest.$ac_ext <<_ACEOF
71035 /* end confdefs.h.  */
71036 #include <math.h>
71037 int
71038 main ()
71039 {
71040  __builtin_fabsl(0);
71041   ;
71042   return 0;
71043 }
71044 _ACEOF
71045 rm -f conftest.$ac_objext conftest$ac_exeext
71046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71047   (eval $ac_link) 2>conftest.er1
71048   ac_status=$?
71049   grep -v '^ *+' conftest.er1 >conftest.err
71050   rm -f conftest.er1
71051   cat conftest.err >&5
71052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71053   (exit $ac_status); } &&
71054          { ac_try='test -z "$ac_c_werror_flag"
71055                          || test ! -s conftest.err'
71056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71057   (eval $ac_try) 2>&5
71058   ac_status=$?
71059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71060   (exit $ac_status); }; } &&
71061          { ac_try='test -s conftest$ac_exeext'
71062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71063   (eval $ac_try) 2>&5
71064   ac_status=$?
71065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71066   (exit $ac_status); }; }; then
71067   glibcxx_cv_func___builtin_fabsl_link=yes
71068 else
71069   echo "$as_me: failed program was:" >&5
71070 sed 's/^/| /' conftest.$ac_ext >&5
71071
71072 glibcxx_cv_func___builtin_fabsl_link=no
71073 fi
71074 rm -f conftest.err conftest.$ac_objext \
71075       conftest$ac_exeext conftest.$ac_ext
71076
71077 fi
71078
71079     fi
71080     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71081 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71082     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71083       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71084
71085 cat >>confdefs.h <<_ACEOF
71086 #define ${ac_tr_func} 1
71087 _ACEOF
71088
71089     fi
71090   fi
71091
71092
71093   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71094 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71095   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71096     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71097   echo $ECHO_N "(cached) $ECHO_C" >&6
71098 else
71099
71100
71101
71102       ac_ext=cc
71103 ac_cpp='$CXXCPP $CPPFLAGS'
71104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71107
71108       cat >conftest.$ac_ext <<_ACEOF
71109 /* confdefs.h.  */
71110 _ACEOF
71111 cat confdefs.h >>conftest.$ac_ext
71112 cat >>conftest.$ac_ext <<_ACEOF
71113 /* end confdefs.h.  */
71114 #include <math.h>
71115 int
71116 main ()
71117 {
71118  __builtin_labs(0);
71119   ;
71120   return 0;
71121 }
71122 _ACEOF
71123 rm -f conftest.$ac_objext
71124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71125   (eval $ac_compile) 2>conftest.er1
71126   ac_status=$?
71127   grep -v '^ *+' conftest.er1 >conftest.err
71128   rm -f conftest.er1
71129   cat conftest.err >&5
71130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71131   (exit $ac_status); } &&
71132          { ac_try='test -z "$ac_cxx_werror_flag"
71133                          || test ! -s conftest.err'
71134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71135   (eval $ac_try) 2>&5
71136   ac_status=$?
71137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71138   (exit $ac_status); }; } &&
71139          { ac_try='test -s conftest.$ac_objext'
71140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71141   (eval $ac_try) 2>&5
71142   ac_status=$?
71143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71144   (exit $ac_status); }; }; then
71145   glibcxx_cv_func___builtin_labs_use=yes
71146 else
71147   echo "$as_me: failed program was:" >&5
71148 sed 's/^/| /' conftest.$ac_ext >&5
71149
71150 glibcxx_cv_func___builtin_labs_use=no
71151 fi
71152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71153       ac_ext=c
71154 ac_cpp='$CPP $CPPFLAGS'
71155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71158
71159
71160 fi
71161
71162   fi
71163   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71164 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71165   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71166     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71167 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71168     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71169       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71170   echo $ECHO_N "(cached) $ECHO_C" >&6
71171 else
71172
71173         if test x$gcc_no_link = xyes; then
71174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71176    { (exit 1); exit 1; }; }
71177 fi
71178 cat >conftest.$ac_ext <<_ACEOF
71179 /* confdefs.h.  */
71180 _ACEOF
71181 cat confdefs.h >>conftest.$ac_ext
71182 cat >>conftest.$ac_ext <<_ACEOF
71183 /* end confdefs.h.  */
71184 #include <math.h>
71185 int
71186 main ()
71187 {
71188  __builtin_labs(0);
71189   ;
71190   return 0;
71191 }
71192 _ACEOF
71193 rm -f conftest.$ac_objext conftest$ac_exeext
71194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71195   (eval $ac_link) 2>conftest.er1
71196   ac_status=$?
71197   grep -v '^ *+' conftest.er1 >conftest.err
71198   rm -f conftest.er1
71199   cat conftest.err >&5
71200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71201   (exit $ac_status); } &&
71202          { ac_try='test -z "$ac_c_werror_flag"
71203                          || test ! -s conftest.err'
71204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71205   (eval $ac_try) 2>&5
71206   ac_status=$?
71207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71208   (exit $ac_status); }; } &&
71209          { ac_try='test -s conftest$ac_exeext'
71210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71211   (eval $ac_try) 2>&5
71212   ac_status=$?
71213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71214   (exit $ac_status); }; }; then
71215   glibcxx_cv_func___builtin_labs_link=yes
71216 else
71217   echo "$as_me: failed program was:" >&5
71218 sed 's/^/| /' conftest.$ac_ext >&5
71219
71220 glibcxx_cv_func___builtin_labs_link=no
71221 fi
71222 rm -f conftest.err conftest.$ac_objext \
71223       conftest$ac_exeext conftest.$ac_ext
71224
71225 fi
71226
71227     fi
71228     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71229 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71230     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71231       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71232
71233 cat >>confdefs.h <<_ACEOF
71234 #define ${ac_tr_func} 1
71235 _ACEOF
71236
71237     fi
71238   fi
71239
71240
71241
71242   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71243 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71244   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71245     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71246   echo $ECHO_N "(cached) $ECHO_C" >&6
71247 else
71248
71249
71250
71251       ac_ext=cc
71252 ac_cpp='$CXXCPP $CPPFLAGS'
71253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71256
71257       cat >conftest.$ac_ext <<_ACEOF
71258 /* confdefs.h.  */
71259 _ACEOF
71260 cat confdefs.h >>conftest.$ac_ext
71261 cat >>conftest.$ac_ext <<_ACEOF
71262 /* end confdefs.h.  */
71263 #include <math.h>
71264 int
71265 main ()
71266 {
71267  __builtin_sqrtf(0);
71268   ;
71269   return 0;
71270 }
71271 _ACEOF
71272 rm -f conftest.$ac_objext
71273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71274   (eval $ac_compile) 2>conftest.er1
71275   ac_status=$?
71276   grep -v '^ *+' conftest.er1 >conftest.err
71277   rm -f conftest.er1
71278   cat conftest.err >&5
71279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71280   (exit $ac_status); } &&
71281          { ac_try='test -z "$ac_cxx_werror_flag"
71282                          || test ! -s conftest.err'
71283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71284   (eval $ac_try) 2>&5
71285   ac_status=$?
71286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71287   (exit $ac_status); }; } &&
71288          { ac_try='test -s conftest.$ac_objext'
71289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71290   (eval $ac_try) 2>&5
71291   ac_status=$?
71292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71293   (exit $ac_status); }; }; then
71294   glibcxx_cv_func___builtin_sqrtf_use=yes
71295 else
71296   echo "$as_me: failed program was:" >&5
71297 sed 's/^/| /' conftest.$ac_ext >&5
71298
71299 glibcxx_cv_func___builtin_sqrtf_use=no
71300 fi
71301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71302       ac_ext=c
71303 ac_cpp='$CPP $CPPFLAGS'
71304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71307
71308
71309 fi
71310
71311   fi
71312   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71313 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71314   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71315     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71316 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71317     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71318       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71319   echo $ECHO_N "(cached) $ECHO_C" >&6
71320 else
71321
71322         if test x$gcc_no_link = xyes; then
71323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71325    { (exit 1); exit 1; }; }
71326 fi
71327 cat >conftest.$ac_ext <<_ACEOF
71328 /* confdefs.h.  */
71329 _ACEOF
71330 cat confdefs.h >>conftest.$ac_ext
71331 cat >>conftest.$ac_ext <<_ACEOF
71332 /* end confdefs.h.  */
71333 #include <math.h>
71334 int
71335 main ()
71336 {
71337  __builtin_sqrtf(0);
71338   ;
71339   return 0;
71340 }
71341 _ACEOF
71342 rm -f conftest.$ac_objext conftest$ac_exeext
71343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71344   (eval $ac_link) 2>conftest.er1
71345   ac_status=$?
71346   grep -v '^ *+' conftest.er1 >conftest.err
71347   rm -f conftest.er1
71348   cat conftest.err >&5
71349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71350   (exit $ac_status); } &&
71351          { ac_try='test -z "$ac_c_werror_flag"
71352                          || test ! -s conftest.err'
71353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71354   (eval $ac_try) 2>&5
71355   ac_status=$?
71356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71357   (exit $ac_status); }; } &&
71358          { ac_try='test -s conftest$ac_exeext'
71359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71360   (eval $ac_try) 2>&5
71361   ac_status=$?
71362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71363   (exit $ac_status); }; }; then
71364   glibcxx_cv_func___builtin_sqrtf_link=yes
71365 else
71366   echo "$as_me: failed program was:" >&5
71367 sed 's/^/| /' conftest.$ac_ext >&5
71368
71369 glibcxx_cv_func___builtin_sqrtf_link=no
71370 fi
71371 rm -f conftest.err conftest.$ac_objext \
71372       conftest$ac_exeext conftest.$ac_ext
71373
71374 fi
71375
71376     fi
71377     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71378 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71379     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71380       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71381
71382 cat >>confdefs.h <<_ACEOF
71383 #define ${ac_tr_func} 1
71384 _ACEOF
71385
71386     fi
71387   fi
71388
71389
71390   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71391 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71392   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71393     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71394   echo $ECHO_N "(cached) $ECHO_C" >&6
71395 else
71396
71397
71398
71399       ac_ext=cc
71400 ac_cpp='$CXXCPP $CPPFLAGS'
71401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71404
71405       cat >conftest.$ac_ext <<_ACEOF
71406 /* confdefs.h.  */
71407 _ACEOF
71408 cat confdefs.h >>conftest.$ac_ext
71409 cat >>conftest.$ac_ext <<_ACEOF
71410 /* end confdefs.h.  */
71411 #include <math.h>
71412 int
71413 main ()
71414 {
71415  __builtin_sqrt(0);
71416   ;
71417   return 0;
71418 }
71419 _ACEOF
71420 rm -f conftest.$ac_objext
71421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71422   (eval $ac_compile) 2>conftest.er1
71423   ac_status=$?
71424   grep -v '^ *+' conftest.er1 >conftest.err
71425   rm -f conftest.er1
71426   cat conftest.err >&5
71427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71428   (exit $ac_status); } &&
71429          { ac_try='test -z "$ac_cxx_werror_flag"
71430                          || test ! -s conftest.err'
71431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71432   (eval $ac_try) 2>&5
71433   ac_status=$?
71434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71435   (exit $ac_status); }; } &&
71436          { ac_try='test -s conftest.$ac_objext'
71437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71438   (eval $ac_try) 2>&5
71439   ac_status=$?
71440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71441   (exit $ac_status); }; }; then
71442   glibcxx_cv_func___builtin_sqrt_use=yes
71443 else
71444   echo "$as_me: failed program was:" >&5
71445 sed 's/^/| /' conftest.$ac_ext >&5
71446
71447 glibcxx_cv_func___builtin_sqrt_use=no
71448 fi
71449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71450       ac_ext=c
71451 ac_cpp='$CPP $CPPFLAGS'
71452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71455
71456
71457 fi
71458
71459   fi
71460   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71462   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71463     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71464 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71465     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71466       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71467   echo $ECHO_N "(cached) $ECHO_C" >&6
71468 else
71469
71470         if test x$gcc_no_link = xyes; then
71471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71473    { (exit 1); exit 1; }; }
71474 fi
71475 cat >conftest.$ac_ext <<_ACEOF
71476 /* confdefs.h.  */
71477 _ACEOF
71478 cat confdefs.h >>conftest.$ac_ext
71479 cat >>conftest.$ac_ext <<_ACEOF
71480 /* end confdefs.h.  */
71481 #include <math.h>
71482 int
71483 main ()
71484 {
71485  __builtin_sqrt(0);
71486   ;
71487   return 0;
71488 }
71489 _ACEOF
71490 rm -f conftest.$ac_objext conftest$ac_exeext
71491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71492   (eval $ac_link) 2>conftest.er1
71493   ac_status=$?
71494   grep -v '^ *+' conftest.er1 >conftest.err
71495   rm -f conftest.er1
71496   cat conftest.err >&5
71497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71498   (exit $ac_status); } &&
71499          { ac_try='test -z "$ac_c_werror_flag"
71500                          || test ! -s conftest.err'
71501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71502   (eval $ac_try) 2>&5
71503   ac_status=$?
71504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71505   (exit $ac_status); }; } &&
71506          { ac_try='test -s conftest$ac_exeext'
71507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71508   (eval $ac_try) 2>&5
71509   ac_status=$?
71510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71511   (exit $ac_status); }; }; then
71512   glibcxx_cv_func___builtin_sqrt_link=yes
71513 else
71514   echo "$as_me: failed program was:" >&5
71515 sed 's/^/| /' conftest.$ac_ext >&5
71516
71517 glibcxx_cv_func___builtin_sqrt_link=no
71518 fi
71519 rm -f conftest.err conftest.$ac_objext \
71520       conftest$ac_exeext conftest.$ac_ext
71521
71522 fi
71523
71524     fi
71525     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71526 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71527     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71528       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71529
71530 cat >>confdefs.h <<_ACEOF
71531 #define ${ac_tr_func} 1
71532 _ACEOF
71533
71534     fi
71535   fi
71536
71537
71538   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71539 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71540   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71541     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71542   echo $ECHO_N "(cached) $ECHO_C" >&6
71543 else
71544
71545
71546
71547       ac_ext=cc
71548 ac_cpp='$CXXCPP $CPPFLAGS'
71549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71552
71553       cat >conftest.$ac_ext <<_ACEOF
71554 /* confdefs.h.  */
71555 _ACEOF
71556 cat confdefs.h >>conftest.$ac_ext
71557 cat >>conftest.$ac_ext <<_ACEOF
71558 /* end confdefs.h.  */
71559 #include <math.h>
71560 int
71561 main ()
71562 {
71563  __builtin_sqrtl(0);
71564   ;
71565   return 0;
71566 }
71567 _ACEOF
71568 rm -f conftest.$ac_objext
71569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71570   (eval $ac_compile) 2>conftest.er1
71571   ac_status=$?
71572   grep -v '^ *+' conftest.er1 >conftest.err
71573   rm -f conftest.er1
71574   cat conftest.err >&5
71575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71576   (exit $ac_status); } &&
71577          { ac_try='test -z "$ac_cxx_werror_flag"
71578                          || test ! -s conftest.err'
71579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71580   (eval $ac_try) 2>&5
71581   ac_status=$?
71582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71583   (exit $ac_status); }; } &&
71584          { ac_try='test -s conftest.$ac_objext'
71585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71586   (eval $ac_try) 2>&5
71587   ac_status=$?
71588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71589   (exit $ac_status); }; }; then
71590   glibcxx_cv_func___builtin_sqrtl_use=yes
71591 else
71592   echo "$as_me: failed program was:" >&5
71593 sed 's/^/| /' conftest.$ac_ext >&5
71594
71595 glibcxx_cv_func___builtin_sqrtl_use=no
71596 fi
71597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71598       ac_ext=c
71599 ac_cpp='$CPP $CPPFLAGS'
71600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71603
71604
71605 fi
71606
71607   fi
71608   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71609 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71610   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71611     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71612 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71613     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71614       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71615   echo $ECHO_N "(cached) $ECHO_C" >&6
71616 else
71617
71618         if test x$gcc_no_link = xyes; then
71619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71621    { (exit 1); exit 1; }; }
71622 fi
71623 cat >conftest.$ac_ext <<_ACEOF
71624 /* confdefs.h.  */
71625 _ACEOF
71626 cat confdefs.h >>conftest.$ac_ext
71627 cat >>conftest.$ac_ext <<_ACEOF
71628 /* end confdefs.h.  */
71629 #include <math.h>
71630 int
71631 main ()
71632 {
71633  __builtin_sqrtl(0);
71634   ;
71635   return 0;
71636 }
71637 _ACEOF
71638 rm -f conftest.$ac_objext conftest$ac_exeext
71639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71640   (eval $ac_link) 2>conftest.er1
71641   ac_status=$?
71642   grep -v '^ *+' conftest.er1 >conftest.err
71643   rm -f conftest.er1
71644   cat conftest.err >&5
71645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71646   (exit $ac_status); } &&
71647          { ac_try='test -z "$ac_c_werror_flag"
71648                          || test ! -s conftest.err'
71649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71650   (eval $ac_try) 2>&5
71651   ac_status=$?
71652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71653   (exit $ac_status); }; } &&
71654          { ac_try='test -s conftest$ac_exeext'
71655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71656   (eval $ac_try) 2>&5
71657   ac_status=$?
71658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71659   (exit $ac_status); }; }; then
71660   glibcxx_cv_func___builtin_sqrtl_link=yes
71661 else
71662   echo "$as_me: failed program was:" >&5
71663 sed 's/^/| /' conftest.$ac_ext >&5
71664
71665 glibcxx_cv_func___builtin_sqrtl_link=no
71666 fi
71667 rm -f conftest.err conftest.$ac_objext \
71668       conftest$ac_exeext conftest.$ac_ext
71669
71670 fi
71671
71672     fi
71673     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71675     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71676       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71677
71678 cat >>confdefs.h <<_ACEOF
71679 #define ${ac_tr_func} 1
71680 _ACEOF
71681
71682     fi
71683   fi
71684
71685
71686
71687   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71688 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71689   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71690     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71691   echo $ECHO_N "(cached) $ECHO_C" >&6
71692 else
71693
71694
71695
71696       ac_ext=cc
71697 ac_cpp='$CXXCPP $CPPFLAGS'
71698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71701
71702       cat >conftest.$ac_ext <<_ACEOF
71703 /* confdefs.h.  */
71704 _ACEOF
71705 cat confdefs.h >>conftest.$ac_ext
71706 cat >>conftest.$ac_ext <<_ACEOF
71707 /* end confdefs.h.  */
71708 #include <math.h>
71709 int
71710 main ()
71711 {
71712  __builtin_sinf(0);
71713   ;
71714   return 0;
71715 }
71716 _ACEOF
71717 rm -f conftest.$ac_objext
71718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71719   (eval $ac_compile) 2>conftest.er1
71720   ac_status=$?
71721   grep -v '^ *+' conftest.er1 >conftest.err
71722   rm -f conftest.er1
71723   cat conftest.err >&5
71724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71725   (exit $ac_status); } &&
71726          { ac_try='test -z "$ac_cxx_werror_flag"
71727                          || test ! -s conftest.err'
71728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71729   (eval $ac_try) 2>&5
71730   ac_status=$?
71731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71732   (exit $ac_status); }; } &&
71733          { ac_try='test -s conftest.$ac_objext'
71734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71735   (eval $ac_try) 2>&5
71736   ac_status=$?
71737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71738   (exit $ac_status); }; }; then
71739   glibcxx_cv_func___builtin_sinf_use=yes
71740 else
71741   echo "$as_me: failed program was:" >&5
71742 sed 's/^/| /' conftest.$ac_ext >&5
71743
71744 glibcxx_cv_func___builtin_sinf_use=no
71745 fi
71746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71747       ac_ext=c
71748 ac_cpp='$CPP $CPPFLAGS'
71749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71752
71753
71754 fi
71755
71756   fi
71757   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71758 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71759   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71760     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71761 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71762     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71763       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71764   echo $ECHO_N "(cached) $ECHO_C" >&6
71765 else
71766
71767         if test x$gcc_no_link = xyes; then
71768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71770    { (exit 1); exit 1; }; }
71771 fi
71772 cat >conftest.$ac_ext <<_ACEOF
71773 /* confdefs.h.  */
71774 _ACEOF
71775 cat confdefs.h >>conftest.$ac_ext
71776 cat >>conftest.$ac_ext <<_ACEOF
71777 /* end confdefs.h.  */
71778 #include <math.h>
71779 int
71780 main ()
71781 {
71782  __builtin_sinf(0);
71783   ;
71784   return 0;
71785 }
71786 _ACEOF
71787 rm -f conftest.$ac_objext conftest$ac_exeext
71788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71789   (eval $ac_link) 2>conftest.er1
71790   ac_status=$?
71791   grep -v '^ *+' conftest.er1 >conftest.err
71792   rm -f conftest.er1
71793   cat conftest.err >&5
71794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71795   (exit $ac_status); } &&
71796          { ac_try='test -z "$ac_c_werror_flag"
71797                          || test ! -s conftest.err'
71798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71799   (eval $ac_try) 2>&5
71800   ac_status=$?
71801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71802   (exit $ac_status); }; } &&
71803          { ac_try='test -s conftest$ac_exeext'
71804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71805   (eval $ac_try) 2>&5
71806   ac_status=$?
71807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71808   (exit $ac_status); }; }; then
71809   glibcxx_cv_func___builtin_sinf_link=yes
71810 else
71811   echo "$as_me: failed program was:" >&5
71812 sed 's/^/| /' conftest.$ac_ext >&5
71813
71814 glibcxx_cv_func___builtin_sinf_link=no
71815 fi
71816 rm -f conftest.err conftest.$ac_objext \
71817       conftest$ac_exeext conftest.$ac_ext
71818
71819 fi
71820
71821     fi
71822     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71823 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71824     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71825       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71826
71827 cat >>confdefs.h <<_ACEOF
71828 #define ${ac_tr_func} 1
71829 _ACEOF
71830
71831     fi
71832   fi
71833
71834
71835   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71836 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71837   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71838     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71839   echo $ECHO_N "(cached) $ECHO_C" >&6
71840 else
71841
71842
71843
71844       ac_ext=cc
71845 ac_cpp='$CXXCPP $CPPFLAGS'
71846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71849
71850       cat >conftest.$ac_ext <<_ACEOF
71851 /* confdefs.h.  */
71852 _ACEOF
71853 cat confdefs.h >>conftest.$ac_ext
71854 cat >>conftest.$ac_ext <<_ACEOF
71855 /* end confdefs.h.  */
71856 #include <math.h>
71857 int
71858 main ()
71859 {
71860  __builtin_sin(0);
71861   ;
71862   return 0;
71863 }
71864 _ACEOF
71865 rm -f conftest.$ac_objext
71866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71867   (eval $ac_compile) 2>conftest.er1
71868   ac_status=$?
71869   grep -v '^ *+' conftest.er1 >conftest.err
71870   rm -f conftest.er1
71871   cat conftest.err >&5
71872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71873   (exit $ac_status); } &&
71874          { ac_try='test -z "$ac_cxx_werror_flag"
71875                          || test ! -s conftest.err'
71876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71877   (eval $ac_try) 2>&5
71878   ac_status=$?
71879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71880   (exit $ac_status); }; } &&
71881          { ac_try='test -s conftest.$ac_objext'
71882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71883   (eval $ac_try) 2>&5
71884   ac_status=$?
71885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71886   (exit $ac_status); }; }; then
71887   glibcxx_cv_func___builtin_sin_use=yes
71888 else
71889   echo "$as_me: failed program was:" >&5
71890 sed 's/^/| /' conftest.$ac_ext >&5
71891
71892 glibcxx_cv_func___builtin_sin_use=no
71893 fi
71894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71895       ac_ext=c
71896 ac_cpp='$CPP $CPPFLAGS'
71897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71900
71901
71902 fi
71903
71904   fi
71905   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71906 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71907   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71908     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71909 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71910     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71911       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71912   echo $ECHO_N "(cached) $ECHO_C" >&6
71913 else
71914
71915         if test x$gcc_no_link = xyes; then
71916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71918    { (exit 1); exit 1; }; }
71919 fi
71920 cat >conftest.$ac_ext <<_ACEOF
71921 /* confdefs.h.  */
71922 _ACEOF
71923 cat confdefs.h >>conftest.$ac_ext
71924 cat >>conftest.$ac_ext <<_ACEOF
71925 /* end confdefs.h.  */
71926 #include <math.h>
71927 int
71928 main ()
71929 {
71930  __builtin_sin(0);
71931   ;
71932   return 0;
71933 }
71934 _ACEOF
71935 rm -f conftest.$ac_objext conftest$ac_exeext
71936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71937   (eval $ac_link) 2>conftest.er1
71938   ac_status=$?
71939   grep -v '^ *+' conftest.er1 >conftest.err
71940   rm -f conftest.er1
71941   cat conftest.err >&5
71942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71943   (exit $ac_status); } &&
71944          { ac_try='test -z "$ac_c_werror_flag"
71945                          || test ! -s conftest.err'
71946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71947   (eval $ac_try) 2>&5
71948   ac_status=$?
71949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71950   (exit $ac_status); }; } &&
71951          { ac_try='test -s conftest$ac_exeext'
71952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71953   (eval $ac_try) 2>&5
71954   ac_status=$?
71955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71956   (exit $ac_status); }; }; then
71957   glibcxx_cv_func___builtin_sin_link=yes
71958 else
71959   echo "$as_me: failed program was:" >&5
71960 sed 's/^/| /' conftest.$ac_ext >&5
71961
71962 glibcxx_cv_func___builtin_sin_link=no
71963 fi
71964 rm -f conftest.err conftest.$ac_objext \
71965       conftest$ac_exeext conftest.$ac_ext
71966
71967 fi
71968
71969     fi
71970     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71971 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71972     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71973       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71974
71975 cat >>confdefs.h <<_ACEOF
71976 #define ${ac_tr_func} 1
71977 _ACEOF
71978
71979     fi
71980   fi
71981
71982
71983   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71984 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71985   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71986     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71987   echo $ECHO_N "(cached) $ECHO_C" >&6
71988 else
71989
71990
71991
71992       ac_ext=cc
71993 ac_cpp='$CXXCPP $CPPFLAGS'
71994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71997
71998       cat >conftest.$ac_ext <<_ACEOF
71999 /* confdefs.h.  */
72000 _ACEOF
72001 cat confdefs.h >>conftest.$ac_ext
72002 cat >>conftest.$ac_ext <<_ACEOF
72003 /* end confdefs.h.  */
72004 #include <math.h>
72005 int
72006 main ()
72007 {
72008  __builtin_sinl(0);
72009   ;
72010   return 0;
72011 }
72012 _ACEOF
72013 rm -f conftest.$ac_objext
72014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72015   (eval $ac_compile) 2>conftest.er1
72016   ac_status=$?
72017   grep -v '^ *+' conftest.er1 >conftest.err
72018   rm -f conftest.er1
72019   cat conftest.err >&5
72020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72021   (exit $ac_status); } &&
72022          { ac_try='test -z "$ac_cxx_werror_flag"
72023                          || test ! -s conftest.err'
72024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72025   (eval $ac_try) 2>&5
72026   ac_status=$?
72027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72028   (exit $ac_status); }; } &&
72029          { ac_try='test -s conftest.$ac_objext'
72030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72031   (eval $ac_try) 2>&5
72032   ac_status=$?
72033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72034   (exit $ac_status); }; }; then
72035   glibcxx_cv_func___builtin_sinl_use=yes
72036 else
72037   echo "$as_me: failed program was:" >&5
72038 sed 's/^/| /' conftest.$ac_ext >&5
72039
72040 glibcxx_cv_func___builtin_sinl_use=no
72041 fi
72042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72043       ac_ext=c
72044 ac_cpp='$CPP $CPPFLAGS'
72045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72048
72049
72050 fi
72051
72052   fi
72053   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72054 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72055   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72056     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72057 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72058     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72059       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72060   echo $ECHO_N "(cached) $ECHO_C" >&6
72061 else
72062
72063         if test x$gcc_no_link = xyes; then
72064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72066    { (exit 1); exit 1; }; }
72067 fi
72068 cat >conftest.$ac_ext <<_ACEOF
72069 /* confdefs.h.  */
72070 _ACEOF
72071 cat confdefs.h >>conftest.$ac_ext
72072 cat >>conftest.$ac_ext <<_ACEOF
72073 /* end confdefs.h.  */
72074 #include <math.h>
72075 int
72076 main ()
72077 {
72078  __builtin_sinl(0);
72079   ;
72080   return 0;
72081 }
72082 _ACEOF
72083 rm -f conftest.$ac_objext conftest$ac_exeext
72084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72085   (eval $ac_link) 2>conftest.er1
72086   ac_status=$?
72087   grep -v '^ *+' conftest.er1 >conftest.err
72088   rm -f conftest.er1
72089   cat conftest.err >&5
72090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72091   (exit $ac_status); } &&
72092          { ac_try='test -z "$ac_c_werror_flag"
72093                          || test ! -s conftest.err'
72094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72095   (eval $ac_try) 2>&5
72096   ac_status=$?
72097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72098   (exit $ac_status); }; } &&
72099          { ac_try='test -s conftest$ac_exeext'
72100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72101   (eval $ac_try) 2>&5
72102   ac_status=$?
72103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72104   (exit $ac_status); }; }; then
72105   glibcxx_cv_func___builtin_sinl_link=yes
72106 else
72107   echo "$as_me: failed program was:" >&5
72108 sed 's/^/| /' conftest.$ac_ext >&5
72109
72110 glibcxx_cv_func___builtin_sinl_link=no
72111 fi
72112 rm -f conftest.err conftest.$ac_objext \
72113       conftest$ac_exeext conftest.$ac_ext
72114
72115 fi
72116
72117     fi
72118     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72119 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72120     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72121       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72122
72123 cat >>confdefs.h <<_ACEOF
72124 #define ${ac_tr_func} 1
72125 _ACEOF
72126
72127     fi
72128   fi
72129
72130
72131
72132   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72133 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72134   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72135     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72136   echo $ECHO_N "(cached) $ECHO_C" >&6
72137 else
72138
72139
72140
72141       ac_ext=cc
72142 ac_cpp='$CXXCPP $CPPFLAGS'
72143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72146
72147       cat >conftest.$ac_ext <<_ACEOF
72148 /* confdefs.h.  */
72149 _ACEOF
72150 cat confdefs.h >>conftest.$ac_ext
72151 cat >>conftest.$ac_ext <<_ACEOF
72152 /* end confdefs.h.  */
72153 #include <math.h>
72154 int
72155 main ()
72156 {
72157  __builtin_cosf(0);
72158   ;
72159   return 0;
72160 }
72161 _ACEOF
72162 rm -f conftest.$ac_objext
72163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72164   (eval $ac_compile) 2>conftest.er1
72165   ac_status=$?
72166   grep -v '^ *+' conftest.er1 >conftest.err
72167   rm -f conftest.er1
72168   cat conftest.err >&5
72169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72170   (exit $ac_status); } &&
72171          { ac_try='test -z "$ac_cxx_werror_flag"
72172                          || test ! -s conftest.err'
72173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72174   (eval $ac_try) 2>&5
72175   ac_status=$?
72176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72177   (exit $ac_status); }; } &&
72178          { ac_try='test -s conftest.$ac_objext'
72179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72180   (eval $ac_try) 2>&5
72181   ac_status=$?
72182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72183   (exit $ac_status); }; }; then
72184   glibcxx_cv_func___builtin_cosf_use=yes
72185 else
72186   echo "$as_me: failed program was:" >&5
72187 sed 's/^/| /' conftest.$ac_ext >&5
72188
72189 glibcxx_cv_func___builtin_cosf_use=no
72190 fi
72191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72192       ac_ext=c
72193 ac_cpp='$CPP $CPPFLAGS'
72194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72197
72198
72199 fi
72200
72201   fi
72202   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72203 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72204   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72205     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72206 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72207     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72208       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72209   echo $ECHO_N "(cached) $ECHO_C" >&6
72210 else
72211
72212         if test x$gcc_no_link = xyes; then
72213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72215    { (exit 1); exit 1; }; }
72216 fi
72217 cat >conftest.$ac_ext <<_ACEOF
72218 /* confdefs.h.  */
72219 _ACEOF
72220 cat confdefs.h >>conftest.$ac_ext
72221 cat >>conftest.$ac_ext <<_ACEOF
72222 /* end confdefs.h.  */
72223 #include <math.h>
72224 int
72225 main ()
72226 {
72227  __builtin_cosf(0);
72228   ;
72229   return 0;
72230 }
72231 _ACEOF
72232 rm -f conftest.$ac_objext conftest$ac_exeext
72233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72234   (eval $ac_link) 2>conftest.er1
72235   ac_status=$?
72236   grep -v '^ *+' conftest.er1 >conftest.err
72237   rm -f conftest.er1
72238   cat conftest.err >&5
72239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72240   (exit $ac_status); } &&
72241          { ac_try='test -z "$ac_c_werror_flag"
72242                          || test ! -s conftest.err'
72243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72244   (eval $ac_try) 2>&5
72245   ac_status=$?
72246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72247   (exit $ac_status); }; } &&
72248          { ac_try='test -s conftest$ac_exeext'
72249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72250   (eval $ac_try) 2>&5
72251   ac_status=$?
72252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72253   (exit $ac_status); }; }; then
72254   glibcxx_cv_func___builtin_cosf_link=yes
72255 else
72256   echo "$as_me: failed program was:" >&5
72257 sed 's/^/| /' conftest.$ac_ext >&5
72258
72259 glibcxx_cv_func___builtin_cosf_link=no
72260 fi
72261 rm -f conftest.err conftest.$ac_objext \
72262       conftest$ac_exeext conftest.$ac_ext
72263
72264 fi
72265
72266     fi
72267     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72268 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72269     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72270       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72271
72272 cat >>confdefs.h <<_ACEOF
72273 #define ${ac_tr_func} 1
72274 _ACEOF
72275
72276     fi
72277   fi
72278
72279
72280   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72281 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72282   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72283     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72284   echo $ECHO_N "(cached) $ECHO_C" >&6
72285 else
72286
72287
72288
72289       ac_ext=cc
72290 ac_cpp='$CXXCPP $CPPFLAGS'
72291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72294
72295       cat >conftest.$ac_ext <<_ACEOF
72296 /* confdefs.h.  */
72297 _ACEOF
72298 cat confdefs.h >>conftest.$ac_ext
72299 cat >>conftest.$ac_ext <<_ACEOF
72300 /* end confdefs.h.  */
72301 #include <math.h>
72302 int
72303 main ()
72304 {
72305  __builtin_cos(0);
72306   ;
72307   return 0;
72308 }
72309 _ACEOF
72310 rm -f conftest.$ac_objext
72311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72312   (eval $ac_compile) 2>conftest.er1
72313   ac_status=$?
72314   grep -v '^ *+' conftest.er1 >conftest.err
72315   rm -f conftest.er1
72316   cat conftest.err >&5
72317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72318   (exit $ac_status); } &&
72319          { ac_try='test -z "$ac_cxx_werror_flag"
72320                          || test ! -s conftest.err'
72321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72322   (eval $ac_try) 2>&5
72323   ac_status=$?
72324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72325   (exit $ac_status); }; } &&
72326          { ac_try='test -s conftest.$ac_objext'
72327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72328   (eval $ac_try) 2>&5
72329   ac_status=$?
72330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72331   (exit $ac_status); }; }; then
72332   glibcxx_cv_func___builtin_cos_use=yes
72333 else
72334   echo "$as_me: failed program was:" >&5
72335 sed 's/^/| /' conftest.$ac_ext >&5
72336
72337 glibcxx_cv_func___builtin_cos_use=no
72338 fi
72339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72340       ac_ext=c
72341 ac_cpp='$CPP $CPPFLAGS'
72342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72345
72346
72347 fi
72348
72349   fi
72350   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72351 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72352   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72353     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72354 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72355     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72356       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72357   echo $ECHO_N "(cached) $ECHO_C" >&6
72358 else
72359
72360         if test x$gcc_no_link = xyes; then
72361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72363    { (exit 1); exit 1; }; }
72364 fi
72365 cat >conftest.$ac_ext <<_ACEOF
72366 /* confdefs.h.  */
72367 _ACEOF
72368 cat confdefs.h >>conftest.$ac_ext
72369 cat >>conftest.$ac_ext <<_ACEOF
72370 /* end confdefs.h.  */
72371 #include <math.h>
72372 int
72373 main ()
72374 {
72375  __builtin_cos(0);
72376   ;
72377   return 0;
72378 }
72379 _ACEOF
72380 rm -f conftest.$ac_objext conftest$ac_exeext
72381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72382   (eval $ac_link) 2>conftest.er1
72383   ac_status=$?
72384   grep -v '^ *+' conftest.er1 >conftest.err
72385   rm -f conftest.er1
72386   cat conftest.err >&5
72387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72388   (exit $ac_status); } &&
72389          { ac_try='test -z "$ac_c_werror_flag"
72390                          || test ! -s conftest.err'
72391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72392   (eval $ac_try) 2>&5
72393   ac_status=$?
72394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72395   (exit $ac_status); }; } &&
72396          { ac_try='test -s conftest$ac_exeext'
72397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72398   (eval $ac_try) 2>&5
72399   ac_status=$?
72400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72401   (exit $ac_status); }; }; then
72402   glibcxx_cv_func___builtin_cos_link=yes
72403 else
72404   echo "$as_me: failed program was:" >&5
72405 sed 's/^/| /' conftest.$ac_ext >&5
72406
72407 glibcxx_cv_func___builtin_cos_link=no
72408 fi
72409 rm -f conftest.err conftest.$ac_objext \
72410       conftest$ac_exeext conftest.$ac_ext
72411
72412 fi
72413
72414     fi
72415     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72416 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72417     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72418       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72419
72420 cat >>confdefs.h <<_ACEOF
72421 #define ${ac_tr_func} 1
72422 _ACEOF
72423
72424     fi
72425   fi
72426
72427
72428   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72429 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72430   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72431     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72432   echo $ECHO_N "(cached) $ECHO_C" >&6
72433 else
72434
72435
72436
72437       ac_ext=cc
72438 ac_cpp='$CXXCPP $CPPFLAGS'
72439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72442
72443       cat >conftest.$ac_ext <<_ACEOF
72444 /* confdefs.h.  */
72445 _ACEOF
72446 cat confdefs.h >>conftest.$ac_ext
72447 cat >>conftest.$ac_ext <<_ACEOF
72448 /* end confdefs.h.  */
72449 #include <math.h>
72450 int
72451 main ()
72452 {
72453  __builtin_cosl(0);
72454   ;
72455   return 0;
72456 }
72457 _ACEOF
72458 rm -f conftest.$ac_objext
72459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72460   (eval $ac_compile) 2>conftest.er1
72461   ac_status=$?
72462   grep -v '^ *+' conftest.er1 >conftest.err
72463   rm -f conftest.er1
72464   cat conftest.err >&5
72465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72466   (exit $ac_status); } &&
72467          { ac_try='test -z "$ac_cxx_werror_flag"
72468                          || test ! -s conftest.err'
72469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72470   (eval $ac_try) 2>&5
72471   ac_status=$?
72472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72473   (exit $ac_status); }; } &&
72474          { ac_try='test -s conftest.$ac_objext'
72475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72476   (eval $ac_try) 2>&5
72477   ac_status=$?
72478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72479   (exit $ac_status); }; }; then
72480   glibcxx_cv_func___builtin_cosl_use=yes
72481 else
72482   echo "$as_me: failed program was:" >&5
72483 sed 's/^/| /' conftest.$ac_ext >&5
72484
72485 glibcxx_cv_func___builtin_cosl_use=no
72486 fi
72487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72488       ac_ext=c
72489 ac_cpp='$CPP $CPPFLAGS'
72490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72493
72494
72495 fi
72496
72497   fi
72498   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72499 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72500   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72501     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72502 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72503     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72504       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72505   echo $ECHO_N "(cached) $ECHO_C" >&6
72506 else
72507
72508         if test x$gcc_no_link = xyes; then
72509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72511    { (exit 1); exit 1; }; }
72512 fi
72513 cat >conftest.$ac_ext <<_ACEOF
72514 /* confdefs.h.  */
72515 _ACEOF
72516 cat confdefs.h >>conftest.$ac_ext
72517 cat >>conftest.$ac_ext <<_ACEOF
72518 /* end confdefs.h.  */
72519 #include <math.h>
72520 int
72521 main ()
72522 {
72523  __builtin_cosl(0);
72524   ;
72525   return 0;
72526 }
72527 _ACEOF
72528 rm -f conftest.$ac_objext conftest$ac_exeext
72529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72530   (eval $ac_link) 2>conftest.er1
72531   ac_status=$?
72532   grep -v '^ *+' conftest.er1 >conftest.err
72533   rm -f conftest.er1
72534   cat conftest.err >&5
72535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72536   (exit $ac_status); } &&
72537          { ac_try='test -z "$ac_c_werror_flag"
72538                          || test ! -s conftest.err'
72539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72540   (eval $ac_try) 2>&5
72541   ac_status=$?
72542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72543   (exit $ac_status); }; } &&
72544          { ac_try='test -s conftest$ac_exeext'
72545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72546   (eval $ac_try) 2>&5
72547   ac_status=$?
72548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549   (exit $ac_status); }; }; then
72550   glibcxx_cv_func___builtin_cosl_link=yes
72551 else
72552   echo "$as_me: failed program was:" >&5
72553 sed 's/^/| /' conftest.$ac_ext >&5
72554
72555 glibcxx_cv_func___builtin_cosl_link=no
72556 fi
72557 rm -f conftest.err conftest.$ac_objext \
72558       conftest$ac_exeext conftest.$ac_ext
72559
72560 fi
72561
72562     fi
72563     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72564 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72565     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72566       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72567
72568 cat >>confdefs.h <<_ACEOF
72569 #define ${ac_tr_func} 1
72570 _ACEOF
72571
72572     fi
72573   fi
72574
72575
72576
72577
72578 echo "$as_me:$LINENO: checking for main in -lm" >&5
72579 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72580 if test "${ac_cv_lib_m_main+set}" = set; then
72581   echo $ECHO_N "(cached) $ECHO_C" >&6
72582 else
72583   ac_check_lib_save_LIBS=$LIBS
72584 LIBS="-lm  $LIBS"
72585 if test x$gcc_no_link = xyes; then
72586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72588    { (exit 1); exit 1; }; }
72589 fi
72590 cat >conftest.$ac_ext <<_ACEOF
72591 /* confdefs.h.  */
72592 _ACEOF
72593 cat confdefs.h >>conftest.$ac_ext
72594 cat >>conftest.$ac_ext <<_ACEOF
72595 /* end confdefs.h.  */
72596
72597
72598 int
72599 main ()
72600 {
72601 main ();
72602   ;
72603   return 0;
72604 }
72605 _ACEOF
72606 rm -f conftest.$ac_objext conftest$ac_exeext
72607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72608   (eval $ac_link) 2>conftest.er1
72609   ac_status=$?
72610   grep -v '^ *+' conftest.er1 >conftest.err
72611   rm -f conftest.er1
72612   cat conftest.err >&5
72613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72614   (exit $ac_status); } &&
72615          { ac_try='test -z "$ac_c_werror_flag"
72616                          || test ! -s conftest.err'
72617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72618   (eval $ac_try) 2>&5
72619   ac_status=$?
72620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72621   (exit $ac_status); }; } &&
72622          { ac_try='test -s conftest$ac_exeext'
72623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72624   (eval $ac_try) 2>&5
72625   ac_status=$?
72626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72627   (exit $ac_status); }; }; then
72628   ac_cv_lib_m_main=yes
72629 else
72630   echo "$as_me: failed program was:" >&5
72631 sed 's/^/| /' conftest.$ac_ext >&5
72632
72633 ac_cv_lib_m_main=no
72634 fi
72635 rm -f conftest.err conftest.$ac_objext \
72636       conftest$ac_exeext conftest.$ac_ext
72637 LIBS=$ac_check_lib_save_LIBS
72638 fi
72639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72640 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72641 if test $ac_cv_lib_m_main = yes; then
72642   cat >>confdefs.h <<_ACEOF
72643 #define HAVE_LIBM 1
72644 _ACEOF
72645
72646   LIBS="-lm $LIBS"
72647
72648 fi
72649
72650
72651 for ac_func in copysignf
72652 do
72653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72654 echo "$as_me:$LINENO: checking for $ac_func" >&5
72655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72656 if eval "test \"\${$as_ac_var+set}\" = set"; then
72657   echo $ECHO_N "(cached) $ECHO_C" >&6
72658 else
72659   if test x$gcc_no_link = xyes; then
72660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72662    { (exit 1); exit 1; }; }
72663 fi
72664 cat >conftest.$ac_ext <<_ACEOF
72665 /* confdefs.h.  */
72666 _ACEOF
72667 cat confdefs.h >>conftest.$ac_ext
72668 cat >>conftest.$ac_ext <<_ACEOF
72669 /* end confdefs.h.  */
72670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72672 #define $ac_func innocuous_$ac_func
72673
72674 /* System header to define __stub macros and hopefully few prototypes,
72675     which can conflict with char $ac_func (); below.
72676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72677     <limits.h> exists even on freestanding compilers.  */
72678
72679 #ifdef __STDC__
72680 # include <limits.h>
72681 #else
72682 # include <assert.h>
72683 #endif
72684
72685 #undef $ac_func
72686
72687 /* Override any gcc2 internal prototype to avoid an error.  */
72688 #ifdef __cplusplus
72689 extern "C"
72690 {
72691 #endif
72692 /* We use char because int might match the return type of a gcc2
72693    builtin and then its argument prototype would still apply.  */
72694 char $ac_func ();
72695 /* The GNU C library defines this for functions which it implements
72696     to always fail with ENOSYS.  Some functions are actually named
72697     something starting with __ and the normal name is an alias.  */
72698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72699 choke me
72700 #else
72701 char (*f) () = $ac_func;
72702 #endif
72703 #ifdef __cplusplus
72704 }
72705 #endif
72706
72707 int
72708 main ()
72709 {
72710 return f != $ac_func;
72711   ;
72712   return 0;
72713 }
72714 _ACEOF
72715 rm -f conftest.$ac_objext conftest$ac_exeext
72716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72717   (eval $ac_link) 2>conftest.er1
72718   ac_status=$?
72719   grep -v '^ *+' conftest.er1 >conftest.err
72720   rm -f conftest.er1
72721   cat conftest.err >&5
72722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723   (exit $ac_status); } &&
72724          { ac_try='test -z "$ac_c_werror_flag"
72725                          || test ! -s conftest.err'
72726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72727   (eval $ac_try) 2>&5
72728   ac_status=$?
72729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72730   (exit $ac_status); }; } &&
72731          { ac_try='test -s conftest$ac_exeext'
72732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72733   (eval $ac_try) 2>&5
72734   ac_status=$?
72735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72736   (exit $ac_status); }; }; then
72737   eval "$as_ac_var=yes"
72738 else
72739   echo "$as_me: failed program was:" >&5
72740 sed 's/^/| /' conftest.$ac_ext >&5
72741
72742 eval "$as_ac_var=no"
72743 fi
72744 rm -f conftest.err conftest.$ac_objext \
72745       conftest$ac_exeext conftest.$ac_ext
72746 fi
72747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72749 if test `eval echo '${'$as_ac_var'}'` = yes; then
72750   cat >>confdefs.h <<_ACEOF
72751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72752 _ACEOF
72753
72754 else
72755   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72756 fi
72757 done
72758
72759
72760
72761 for ac_func in __signbit
72762 do
72763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72764 echo "$as_me:$LINENO: checking for $ac_func" >&5
72765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72766 if eval "test \"\${$as_ac_var+set}\" = set"; then
72767   echo $ECHO_N "(cached) $ECHO_C" >&6
72768 else
72769   if test x$gcc_no_link = xyes; then
72770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72772    { (exit 1); exit 1; }; }
72773 fi
72774 cat >conftest.$ac_ext <<_ACEOF
72775 /* confdefs.h.  */
72776 _ACEOF
72777 cat confdefs.h >>conftest.$ac_ext
72778 cat >>conftest.$ac_ext <<_ACEOF
72779 /* end confdefs.h.  */
72780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72782 #define $ac_func innocuous_$ac_func
72783
72784 /* System header to define __stub macros and hopefully few prototypes,
72785     which can conflict with char $ac_func (); below.
72786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72787     <limits.h> exists even on freestanding compilers.  */
72788
72789 #ifdef __STDC__
72790 # include <limits.h>
72791 #else
72792 # include <assert.h>
72793 #endif
72794
72795 #undef $ac_func
72796
72797 /* Override any gcc2 internal prototype to avoid an error.  */
72798 #ifdef __cplusplus
72799 extern "C"
72800 {
72801 #endif
72802 /* We use char because int might match the return type of a gcc2
72803    builtin and then its argument prototype would still apply.  */
72804 char $ac_func ();
72805 /* The GNU C library defines this for functions which it implements
72806     to always fail with ENOSYS.  Some functions are actually named
72807     something starting with __ and the normal name is an alias.  */
72808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72809 choke me
72810 #else
72811 char (*f) () = $ac_func;
72812 #endif
72813 #ifdef __cplusplus
72814 }
72815 #endif
72816
72817 int
72818 main ()
72819 {
72820 return f != $ac_func;
72821   ;
72822   return 0;
72823 }
72824 _ACEOF
72825 rm -f conftest.$ac_objext conftest$ac_exeext
72826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72827   (eval $ac_link) 2>conftest.er1
72828   ac_status=$?
72829   grep -v '^ *+' conftest.er1 >conftest.err
72830   rm -f conftest.er1
72831   cat conftest.err >&5
72832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72833   (exit $ac_status); } &&
72834          { ac_try='test -z "$ac_c_werror_flag"
72835                          || test ! -s conftest.err'
72836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72837   (eval $ac_try) 2>&5
72838   ac_status=$?
72839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72840   (exit $ac_status); }; } &&
72841          { ac_try='test -s conftest$ac_exeext'
72842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72843   (eval $ac_try) 2>&5
72844   ac_status=$?
72845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72846   (exit $ac_status); }; }; then
72847   eval "$as_ac_var=yes"
72848 else
72849   echo "$as_me: failed program was:" >&5
72850 sed 's/^/| /' conftest.$ac_ext >&5
72851
72852 eval "$as_ac_var=no"
72853 fi
72854 rm -f conftest.err conftest.$ac_objext \
72855       conftest$ac_exeext conftest.$ac_ext
72856 fi
72857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72859 if test `eval echo '${'$as_ac_var'}'` = yes; then
72860   cat >>confdefs.h <<_ACEOF
72861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72862 _ACEOF
72863
72864 else
72865   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72866 fi
72867 done
72868
72869
72870
72871 for ac_func in __signbitf
72872 do
72873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72874 echo "$as_me:$LINENO: checking for $ac_func" >&5
72875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72876 if eval "test \"\${$as_ac_var+set}\" = set"; then
72877   echo $ECHO_N "(cached) $ECHO_C" >&6
72878 else
72879   if test x$gcc_no_link = xyes; then
72880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72882    { (exit 1); exit 1; }; }
72883 fi
72884 cat >conftest.$ac_ext <<_ACEOF
72885 /* confdefs.h.  */
72886 _ACEOF
72887 cat confdefs.h >>conftest.$ac_ext
72888 cat >>conftest.$ac_ext <<_ACEOF
72889 /* end confdefs.h.  */
72890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72892 #define $ac_func innocuous_$ac_func
72893
72894 /* System header to define __stub macros and hopefully few prototypes,
72895     which can conflict with char $ac_func (); below.
72896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72897     <limits.h> exists even on freestanding compilers.  */
72898
72899 #ifdef __STDC__
72900 # include <limits.h>
72901 #else
72902 # include <assert.h>
72903 #endif
72904
72905 #undef $ac_func
72906
72907 /* Override any gcc2 internal prototype to avoid an error.  */
72908 #ifdef __cplusplus
72909 extern "C"
72910 {
72911 #endif
72912 /* We use char because int might match the return type of a gcc2
72913    builtin and then its argument prototype would still apply.  */
72914 char $ac_func ();
72915 /* The GNU C library defines this for functions which it implements
72916     to always fail with ENOSYS.  Some functions are actually named
72917     something starting with __ and the normal name is an alias.  */
72918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72919 choke me
72920 #else
72921 char (*f) () = $ac_func;
72922 #endif
72923 #ifdef __cplusplus
72924 }
72925 #endif
72926
72927 int
72928 main ()
72929 {
72930 return f != $ac_func;
72931   ;
72932   return 0;
72933 }
72934 _ACEOF
72935 rm -f conftest.$ac_objext conftest$ac_exeext
72936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72937   (eval $ac_link) 2>conftest.er1
72938   ac_status=$?
72939   grep -v '^ *+' conftest.er1 >conftest.err
72940   rm -f conftest.er1
72941   cat conftest.err >&5
72942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72943   (exit $ac_status); } &&
72944          { ac_try='test -z "$ac_c_werror_flag"
72945                          || test ! -s conftest.err'
72946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72947   (eval $ac_try) 2>&5
72948   ac_status=$?
72949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72950   (exit $ac_status); }; } &&
72951          { ac_try='test -s conftest$ac_exeext'
72952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72953   (eval $ac_try) 2>&5
72954   ac_status=$?
72955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72956   (exit $ac_status); }; }; then
72957   eval "$as_ac_var=yes"
72958 else
72959   echo "$as_me: failed program was:" >&5
72960 sed 's/^/| /' conftest.$ac_ext >&5
72961
72962 eval "$as_ac_var=no"
72963 fi
72964 rm -f conftest.err conftest.$ac_objext \
72965       conftest$ac_exeext conftest.$ac_ext
72966 fi
72967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72969 if test `eval echo '${'$as_ac_var'}'` = yes; then
72970   cat >>confdefs.h <<_ACEOF
72971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72972 _ACEOF
72973
72974 else
72975   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72976 fi
72977 done
72978
72979
72980           if test x$ac_cv_func_copysignl = x"yes"; then
72981
72982 for ac_func in __signbitl
72983 do
72984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72985 echo "$as_me:$LINENO: checking for $ac_func" >&5
72986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72987 if eval "test \"\${$as_ac_var+set}\" = set"; then
72988   echo $ECHO_N "(cached) $ECHO_C" >&6
72989 else
72990   if test x$gcc_no_link = xyes; then
72991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72993    { (exit 1); exit 1; }; }
72994 fi
72995 cat >conftest.$ac_ext <<_ACEOF
72996 /* confdefs.h.  */
72997 _ACEOF
72998 cat confdefs.h >>conftest.$ac_ext
72999 cat >>conftest.$ac_ext <<_ACEOF
73000 /* end confdefs.h.  */
73001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73003 #define $ac_func innocuous_$ac_func
73004
73005 /* System header to define __stub macros and hopefully few prototypes,
73006     which can conflict with char $ac_func (); below.
73007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73008     <limits.h> exists even on freestanding compilers.  */
73009
73010 #ifdef __STDC__
73011 # include <limits.h>
73012 #else
73013 # include <assert.h>
73014 #endif
73015
73016 #undef $ac_func
73017
73018 /* Override any gcc2 internal prototype to avoid an error.  */
73019 #ifdef __cplusplus
73020 extern "C"
73021 {
73022 #endif
73023 /* We use char because int might match the return type of a gcc2
73024    builtin and then its argument prototype would still apply.  */
73025 char $ac_func ();
73026 /* The GNU C library defines this for functions which it implements
73027     to always fail with ENOSYS.  Some functions are actually named
73028     something starting with __ and the normal name is an alias.  */
73029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73030 choke me
73031 #else
73032 char (*f) () = $ac_func;
73033 #endif
73034 #ifdef __cplusplus
73035 }
73036 #endif
73037
73038 int
73039 main ()
73040 {
73041 return f != $ac_func;
73042   ;
73043   return 0;
73044 }
73045 _ACEOF
73046 rm -f conftest.$ac_objext conftest$ac_exeext
73047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73048   (eval $ac_link) 2>conftest.er1
73049   ac_status=$?
73050   grep -v '^ *+' conftest.er1 >conftest.err
73051   rm -f conftest.er1
73052   cat conftest.err >&5
73053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73054   (exit $ac_status); } &&
73055          { ac_try='test -z "$ac_c_werror_flag"
73056                          || test ! -s conftest.err'
73057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73058   (eval $ac_try) 2>&5
73059   ac_status=$?
73060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061   (exit $ac_status); }; } &&
73062          { ac_try='test -s conftest$ac_exeext'
73063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73064   (eval $ac_try) 2>&5
73065   ac_status=$?
73066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73067   (exit $ac_status); }; }; then
73068   eval "$as_ac_var=yes"
73069 else
73070   echo "$as_me: failed program was:" >&5
73071 sed 's/^/| /' conftest.$ac_ext >&5
73072
73073 eval "$as_ac_var=no"
73074 fi
73075 rm -f conftest.err conftest.$ac_objext \
73076       conftest$ac_exeext conftest.$ac_ext
73077 fi
73078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73080 if test `eval echo '${'$as_ac_var'}'` = yes; then
73081   cat >>confdefs.h <<_ACEOF
73082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73083 _ACEOF
73084
73085 else
73086   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73087 fi
73088 done
73089
73090   fi
73091
73092   # Used in libmath/Makefile.am.
73093   if test -n "$LIBMATHOBJS"; then
73094     need_libmath=yes
73095   fi
73096
73097
73098
73099   # Test wchar.h for mbstate_t, which is needed for char_traits and
73100   # others even if wchar_t support is not on.
73101   echo "$as_me:$LINENO: checking for mbstate_t" >&5
73102 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73103   cat >conftest.$ac_ext <<_ACEOF
73104 /* confdefs.h.  */
73105 _ACEOF
73106 cat confdefs.h >>conftest.$ac_ext
73107 cat >>conftest.$ac_ext <<_ACEOF
73108 /* end confdefs.h.  */
73109 #include <wchar.h>
73110 int
73111 main ()
73112 {
73113 mbstate_t teststate;
73114   ;
73115   return 0;
73116 }
73117 _ACEOF
73118 rm -f conftest.$ac_objext
73119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73120   (eval $ac_compile) 2>conftest.er1
73121   ac_status=$?
73122   grep -v '^ *+' conftest.er1 >conftest.err
73123   rm -f conftest.er1
73124   cat conftest.err >&5
73125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73126   (exit $ac_status); } &&
73127          { ac_try='test -z "$ac_c_werror_flag"
73128                          || test ! -s conftest.err'
73129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73130   (eval $ac_try) 2>&5
73131   ac_status=$?
73132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73133   (exit $ac_status); }; } &&
73134          { ac_try='test -s conftest.$ac_objext'
73135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73136   (eval $ac_try) 2>&5
73137   ac_status=$?
73138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73139   (exit $ac_status); }; }; then
73140   have_mbstate_t=yes
73141 else
73142   echo "$as_me: failed program was:" >&5
73143 sed 's/^/| /' conftest.$ac_ext >&5
73144
73145 have_mbstate_t=no
73146 fi
73147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73148   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73149 echo "${ECHO_T}$have_mbstate_t" >&6
73150   if test x"$have_mbstate_t" = xyes; then
73151     cat >>confdefs.h <<\_ACEOF
73152 #define HAVE_MBSTATE_T 1
73153 _ACEOF
73154
73155   fi
73156
73157   # Sanity check for existence of ISO C99 headers for extended encoding.
73158
73159 for ac_header in wchar.h
73160 do
73161 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73163   echo "$as_me:$LINENO: checking for $ac_header" >&5
73164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73166   echo $ECHO_N "(cached) $ECHO_C" >&6
73167 fi
73168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73170 else
73171   # Is the header compilable?
73172 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73174 cat >conftest.$ac_ext <<_ACEOF
73175 /* confdefs.h.  */
73176 _ACEOF
73177 cat confdefs.h >>conftest.$ac_ext
73178 cat >>conftest.$ac_ext <<_ACEOF
73179 /* end confdefs.h.  */
73180 $ac_includes_default
73181 #include <$ac_header>
73182 _ACEOF
73183 rm -f conftest.$ac_objext
73184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73185   (eval $ac_compile) 2>conftest.er1
73186   ac_status=$?
73187   grep -v '^ *+' conftest.er1 >conftest.err
73188   rm -f conftest.er1
73189   cat conftest.err >&5
73190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73191   (exit $ac_status); } &&
73192          { ac_try='test -z "$ac_c_werror_flag"
73193                          || test ! -s conftest.err'
73194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73195   (eval $ac_try) 2>&5
73196   ac_status=$?
73197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73198   (exit $ac_status); }; } &&
73199          { ac_try='test -s conftest.$ac_objext'
73200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73201   (eval $ac_try) 2>&5
73202   ac_status=$?
73203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73204   (exit $ac_status); }; }; then
73205   ac_header_compiler=yes
73206 else
73207   echo "$as_me: failed program was:" >&5
73208 sed 's/^/| /' conftest.$ac_ext >&5
73209
73210 ac_header_compiler=no
73211 fi
73212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73214 echo "${ECHO_T}$ac_header_compiler" >&6
73215
73216 # Is the header present?
73217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73219 cat >conftest.$ac_ext <<_ACEOF
73220 /* confdefs.h.  */
73221 _ACEOF
73222 cat confdefs.h >>conftest.$ac_ext
73223 cat >>conftest.$ac_ext <<_ACEOF
73224 /* end confdefs.h.  */
73225 #include <$ac_header>
73226 _ACEOF
73227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73228   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
73235   if test -s conftest.err; then
73236     ac_cpp_err=$ac_c_preproc_warn_flag
73237     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73238   else
73239     ac_cpp_err=
73240   fi
73241 else
73242   ac_cpp_err=yes
73243 fi
73244 if test -z "$ac_cpp_err"; then
73245   ac_header_preproc=yes
73246 else
73247   echo "$as_me: failed program was:" >&5
73248 sed 's/^/| /' conftest.$ac_ext >&5
73249
73250   ac_header_preproc=no
73251 fi
73252 rm -f conftest.err conftest.$ac_ext
73253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73254 echo "${ECHO_T}$ac_header_preproc" >&6
73255
73256 # So?  What about this header?
73257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73258   yes:no: )
73259     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73263     ac_header_preproc=yes
73264     ;;
73265   no:yes:* )
73266     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73268     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73269 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73270     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73272     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73273 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73274     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73276     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73278     (
73279       cat <<\_ASBOX
73280 ## ----------------------------------------- ##
73281 ## Report this to the package-unused lists.  ##
73282 ## ----------------------------------------- ##
73283 _ASBOX
73284     ) |
73285       sed "s/^/$as_me: WARNING:     /" >&2
73286     ;;
73287 esac
73288 echo "$as_me:$LINENO: checking for $ac_header" >&5
73289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73291   echo $ECHO_N "(cached) $ECHO_C" >&6
73292 else
73293   eval "$as_ac_Header=\$ac_header_preproc"
73294 fi
73295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73297
73298 fi
73299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73300   cat >>confdefs.h <<_ACEOF
73301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73302 _ACEOF
73303  ac_has_wchar_h=yes
73304 else
73305   ac_has_wchar_h=no
73306 fi
73307
73308 done
73309
73310
73311 for ac_header in wctype.h
73312 do
73313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73315   echo "$as_me:$LINENO: checking for $ac_header" >&5
73316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73318   echo $ECHO_N "(cached) $ECHO_C" >&6
73319 fi
73320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73322 else
73323   # Is the header compilable?
73324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73326 cat >conftest.$ac_ext <<_ACEOF
73327 /* confdefs.h.  */
73328 _ACEOF
73329 cat confdefs.h >>conftest.$ac_ext
73330 cat >>conftest.$ac_ext <<_ACEOF
73331 /* end confdefs.h.  */
73332 $ac_includes_default
73333 #include <$ac_header>
73334 _ACEOF
73335 rm -f conftest.$ac_objext
73336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73337   (eval $ac_compile) 2>conftest.er1
73338   ac_status=$?
73339   grep -v '^ *+' conftest.er1 >conftest.err
73340   rm -f conftest.er1
73341   cat conftest.err >&5
73342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73343   (exit $ac_status); } &&
73344          { ac_try='test -z "$ac_c_werror_flag"
73345                          || test ! -s conftest.err'
73346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73347   (eval $ac_try) 2>&5
73348   ac_status=$?
73349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73350   (exit $ac_status); }; } &&
73351          { ac_try='test -s conftest.$ac_objext'
73352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73353   (eval $ac_try) 2>&5
73354   ac_status=$?
73355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73356   (exit $ac_status); }; }; then
73357   ac_header_compiler=yes
73358 else
73359   echo "$as_me: failed program was:" >&5
73360 sed 's/^/| /' conftest.$ac_ext >&5
73361
73362 ac_header_compiler=no
73363 fi
73364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73366 echo "${ECHO_T}$ac_header_compiler" >&6
73367
73368 # Is the header present?
73369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73371 cat >conftest.$ac_ext <<_ACEOF
73372 /* confdefs.h.  */
73373 _ACEOF
73374 cat confdefs.h >>conftest.$ac_ext
73375 cat >>conftest.$ac_ext <<_ACEOF
73376 /* end confdefs.h.  */
73377 #include <$ac_header>
73378 _ACEOF
73379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73380   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
73387   if test -s conftest.err; then
73388     ac_cpp_err=$ac_c_preproc_warn_flag
73389     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73390   else
73391     ac_cpp_err=
73392   fi
73393 else
73394   ac_cpp_err=yes
73395 fi
73396 if test -z "$ac_cpp_err"; then
73397   ac_header_preproc=yes
73398 else
73399   echo "$as_me: failed program was:" >&5
73400 sed 's/^/| /' conftest.$ac_ext >&5
73401
73402   ac_header_preproc=no
73403 fi
73404 rm -f conftest.err conftest.$ac_ext
73405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73406 echo "${ECHO_T}$ac_header_preproc" >&6
73407
73408 # So?  What about this header?
73409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73410   yes:no: )
73411     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73413     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73414 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73415     ac_header_preproc=yes
73416     ;;
73417   no:yes:* )
73418     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73419 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73420     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73421 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73422     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73423 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73424     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73425 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73426     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73428     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73429 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73430     (
73431       cat <<\_ASBOX
73432 ## ----------------------------------------- ##
73433 ## Report this to the package-unused lists.  ##
73434 ## ----------------------------------------- ##
73435 _ASBOX
73436     ) |
73437       sed "s/^/$as_me: WARNING:     /" >&2
73438     ;;
73439 esac
73440 echo "$as_me:$LINENO: checking for $ac_header" >&5
73441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73443   echo $ECHO_N "(cached) $ECHO_C" >&6
73444 else
73445   eval "$as_ac_Header=\$ac_header_preproc"
73446 fi
73447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73449
73450 fi
73451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73452   cat >>confdefs.h <<_ACEOF
73453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73454 _ACEOF
73455  ac_has_wctype_h=yes
73456 else
73457   ac_has_wctype_h=no
73458 fi
73459
73460 done
73461
73462
73463   # Only continue checking if the ISO C99 headers exist and support is on.
73464   if test x"$ac_has_wchar_h" = xyes &&
73465      test x"$ac_has_wctype_h" = xyes &&
73466      test x"$enable_c_mbchar" != xno; then
73467
73468     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73469     # numeric_limits can instantiate type_traits<wchar_t>
73470     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73471 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73472     cat >conftest.$ac_ext <<_ACEOF
73473 /* confdefs.h.  */
73474 _ACEOF
73475 cat confdefs.h >>conftest.$ac_ext
73476 cat >>conftest.$ac_ext <<_ACEOF
73477 /* end confdefs.h.  */
73478 #include <wchar.h>
73479 int
73480 main ()
73481 {
73482 int i = WCHAR_MIN; int j = WCHAR_MAX;
73483   ;
73484   return 0;
73485 }
73486 _ACEOF
73487 rm -f conftest.$ac_objext
73488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73489   (eval $ac_compile) 2>conftest.er1
73490   ac_status=$?
73491   grep -v '^ *+' conftest.er1 >conftest.err
73492   rm -f conftest.er1
73493   cat conftest.err >&5
73494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495   (exit $ac_status); } &&
73496          { ac_try='test -z "$ac_c_werror_flag"
73497                          || test ! -s conftest.err'
73498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73499   (eval $ac_try) 2>&5
73500   ac_status=$?
73501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73502   (exit $ac_status); }; } &&
73503          { ac_try='test -s conftest.$ac_objext'
73504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73505   (eval $ac_try) 2>&5
73506   ac_status=$?
73507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73508   (exit $ac_status); }; }; then
73509   has_wchar_minmax=yes
73510 else
73511   echo "$as_me: failed program was:" >&5
73512 sed 's/^/| /' conftest.$ac_ext >&5
73513
73514 has_wchar_minmax=no
73515 fi
73516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73517     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73518 echo "${ECHO_T}$has_wchar_minmax" >&6
73519
73520     # Test wchar.h for WEOF, which is what we use to determine whether
73521     # to specialize for char_traits<wchar_t> or not.
73522     echo "$as_me:$LINENO: checking for WEOF" >&5
73523 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73524     cat >conftest.$ac_ext <<_ACEOF
73525 /* confdefs.h.  */
73526 _ACEOF
73527 cat confdefs.h >>conftest.$ac_ext
73528 cat >>conftest.$ac_ext <<_ACEOF
73529 /* end confdefs.h.  */
73530
73531       #include <wchar.h>
73532       #include <stddef.h>
73533 int
73534 main ()
73535 {
73536 wint_t i = WEOF;
73537   ;
73538   return 0;
73539 }
73540 _ACEOF
73541 rm -f conftest.$ac_objext
73542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73543   (eval $ac_compile) 2>conftest.er1
73544   ac_status=$?
73545   grep -v '^ *+' conftest.er1 >conftest.err
73546   rm -f conftest.er1
73547   cat conftest.err >&5
73548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73549   (exit $ac_status); } &&
73550          { ac_try='test -z "$ac_c_werror_flag"
73551                          || test ! -s conftest.err'
73552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73553   (eval $ac_try) 2>&5
73554   ac_status=$?
73555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73556   (exit $ac_status); }; } &&
73557          { ac_try='test -s conftest.$ac_objext'
73558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73559   (eval $ac_try) 2>&5
73560   ac_status=$?
73561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73562   (exit $ac_status); }; }; then
73563   has_weof=yes
73564 else
73565   echo "$as_me: failed program was:" >&5
73566 sed 's/^/| /' conftest.$ac_ext >&5
73567
73568 has_weof=no
73569 fi
73570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73571     echo "$as_me:$LINENO: result: $has_weof" >&5
73572 echo "${ECHO_T}$has_weof" >&6
73573
73574     # Tests for wide character functions used in char_traits<wchar_t>.
73575     ac_wfuncs=yes
73576
73577
73578
73579
73580
73581
73582 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73583 do
73584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73585 echo "$as_me:$LINENO: checking for $ac_func" >&5
73586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73587 if eval "test \"\${$as_ac_var+set}\" = set"; then
73588   echo $ECHO_N "(cached) $ECHO_C" >&6
73589 else
73590   if test x$gcc_no_link = xyes; then
73591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73593    { (exit 1); exit 1; }; }
73594 fi
73595 cat >conftest.$ac_ext <<_ACEOF
73596 /* confdefs.h.  */
73597 _ACEOF
73598 cat confdefs.h >>conftest.$ac_ext
73599 cat >>conftest.$ac_ext <<_ACEOF
73600 /* end confdefs.h.  */
73601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73603 #define $ac_func innocuous_$ac_func
73604
73605 /* System header to define __stub macros and hopefully few prototypes,
73606     which can conflict with char $ac_func (); below.
73607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73608     <limits.h> exists even on freestanding compilers.  */
73609
73610 #ifdef __STDC__
73611 # include <limits.h>
73612 #else
73613 # include <assert.h>
73614 #endif
73615
73616 #undef $ac_func
73617
73618 /* Override any gcc2 internal prototype to avoid an error.  */
73619 #ifdef __cplusplus
73620 extern "C"
73621 {
73622 #endif
73623 /* We use char because int might match the return type of a gcc2
73624    builtin and then its argument prototype would still apply.  */
73625 char $ac_func ();
73626 /* The GNU C library defines this for functions which it implements
73627     to always fail with ENOSYS.  Some functions are actually named
73628     something starting with __ and the normal name is an alias.  */
73629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73630 choke me
73631 #else
73632 char (*f) () = $ac_func;
73633 #endif
73634 #ifdef __cplusplus
73635 }
73636 #endif
73637
73638 int
73639 main ()
73640 {
73641 return f != $ac_func;
73642   ;
73643   return 0;
73644 }
73645 _ACEOF
73646 rm -f conftest.$ac_objext conftest$ac_exeext
73647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73648   (eval $ac_link) 2>conftest.er1
73649   ac_status=$?
73650   grep -v '^ *+' conftest.er1 >conftest.err
73651   rm -f conftest.er1
73652   cat conftest.err >&5
73653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73654   (exit $ac_status); } &&
73655          { ac_try='test -z "$ac_c_werror_flag"
73656                          || test ! -s conftest.err'
73657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73658   (eval $ac_try) 2>&5
73659   ac_status=$?
73660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73661   (exit $ac_status); }; } &&
73662          { ac_try='test -s conftest$ac_exeext'
73663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73664   (eval $ac_try) 2>&5
73665   ac_status=$?
73666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73667   (exit $ac_status); }; }; then
73668   eval "$as_ac_var=yes"
73669 else
73670   echo "$as_me: failed program was:" >&5
73671 sed 's/^/| /' conftest.$ac_ext >&5
73672
73673 eval "$as_ac_var=no"
73674 fi
73675 rm -f conftest.err conftest.$ac_objext \
73676       conftest$ac_exeext conftest.$ac_ext
73677 fi
73678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73680 if test `eval echo '${'$as_ac_var'}'` = yes; then
73681   cat >>confdefs.h <<_ACEOF
73682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73683 _ACEOF
73684
73685 else
73686   ac_wfuncs=no
73687 fi
73688 done
73689
73690
73691     # Checks for names injected into std:: by the c_std headers.
73692
73693
73694
73695
73696
73697
73698
73699
73700
73701
73702
73703
73704
73705
73706
73707
73708
73709
73710
73711
73712
73713
73714
73715
73716
73717
73718
73719
73720
73721
73722
73723
73724
73725
73726
73727
73728
73729
73730
73731
73732
73733
73734
73735
73736
73737
73738 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73739     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73740     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73741     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73742     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73743     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73744 do
73745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73746 echo "$as_me:$LINENO: checking for $ac_func" >&5
73747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73748 if eval "test \"\${$as_ac_var+set}\" = set"; then
73749   echo $ECHO_N "(cached) $ECHO_C" >&6
73750 else
73751   if test x$gcc_no_link = xyes; then
73752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73754    { (exit 1); exit 1; }; }
73755 fi
73756 cat >conftest.$ac_ext <<_ACEOF
73757 /* confdefs.h.  */
73758 _ACEOF
73759 cat confdefs.h >>conftest.$ac_ext
73760 cat >>conftest.$ac_ext <<_ACEOF
73761 /* end confdefs.h.  */
73762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73764 #define $ac_func innocuous_$ac_func
73765
73766 /* System header to define __stub macros and hopefully few prototypes,
73767     which can conflict with char $ac_func (); below.
73768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73769     <limits.h> exists even on freestanding compilers.  */
73770
73771 #ifdef __STDC__
73772 # include <limits.h>
73773 #else
73774 # include <assert.h>
73775 #endif
73776
73777 #undef $ac_func
73778
73779 /* Override any gcc2 internal prototype to avoid an error.  */
73780 #ifdef __cplusplus
73781 extern "C"
73782 {
73783 #endif
73784 /* We use char because int might match the return type of a gcc2
73785    builtin and then its argument prototype would still apply.  */
73786 char $ac_func ();
73787 /* The GNU C library defines this for functions which it implements
73788     to always fail with ENOSYS.  Some functions are actually named
73789     something starting with __ and the normal name is an alias.  */
73790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73791 choke me
73792 #else
73793 char (*f) () = $ac_func;
73794 #endif
73795 #ifdef __cplusplus
73796 }
73797 #endif
73798
73799 int
73800 main ()
73801 {
73802 return f != $ac_func;
73803   ;
73804   return 0;
73805 }
73806 _ACEOF
73807 rm -f conftest.$ac_objext conftest$ac_exeext
73808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73809   (eval $ac_link) 2>conftest.er1
73810   ac_status=$?
73811   grep -v '^ *+' conftest.er1 >conftest.err
73812   rm -f conftest.er1
73813   cat conftest.err >&5
73814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73815   (exit $ac_status); } &&
73816          { ac_try='test -z "$ac_c_werror_flag"
73817                          || test ! -s conftest.err'
73818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73819   (eval $ac_try) 2>&5
73820   ac_status=$?
73821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73822   (exit $ac_status); }; } &&
73823          { ac_try='test -s conftest$ac_exeext'
73824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73825   (eval $ac_try) 2>&5
73826   ac_status=$?
73827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73828   (exit $ac_status); }; }; then
73829   eval "$as_ac_var=yes"
73830 else
73831   echo "$as_me: failed program was:" >&5
73832 sed 's/^/| /' conftest.$ac_ext >&5
73833
73834 eval "$as_ac_var=no"
73835 fi
73836 rm -f conftest.err conftest.$ac_objext \
73837       conftest$ac_exeext conftest.$ac_ext
73838 fi
73839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73841 if test `eval echo '${'$as_ac_var'}'` = yes; then
73842   cat >>confdefs.h <<_ACEOF
73843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73844 _ACEOF
73845
73846 else
73847   ac_wfuncs=no
73848 fi
73849 done
73850
73851
73852     # Checks for wide character functions that are not required
73853     # for basic wchar_t support.  Don't disable support if they are missing.
73854     # Injection of these is wrapped with guard macros.
73855
73856
73857
73858
73859
73860 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73861 do
73862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73863 echo "$as_me:$LINENO: checking for $ac_func" >&5
73864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73865 if eval "test \"\${$as_ac_var+set}\" = set"; then
73866   echo $ECHO_N "(cached) $ECHO_C" >&6
73867 else
73868   if test x$gcc_no_link = xyes; then
73869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73871    { (exit 1); exit 1; }; }
73872 fi
73873 cat >conftest.$ac_ext <<_ACEOF
73874 /* confdefs.h.  */
73875 _ACEOF
73876 cat confdefs.h >>conftest.$ac_ext
73877 cat >>conftest.$ac_ext <<_ACEOF
73878 /* end confdefs.h.  */
73879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73881 #define $ac_func innocuous_$ac_func
73882
73883 /* System header to define __stub macros and hopefully few prototypes,
73884     which can conflict with char $ac_func (); below.
73885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73886     <limits.h> exists even on freestanding compilers.  */
73887
73888 #ifdef __STDC__
73889 # include <limits.h>
73890 #else
73891 # include <assert.h>
73892 #endif
73893
73894 #undef $ac_func
73895
73896 /* Override any gcc2 internal prototype to avoid an error.  */
73897 #ifdef __cplusplus
73898 extern "C"
73899 {
73900 #endif
73901 /* We use char because int might match the return type of a gcc2
73902    builtin and then its argument prototype would still apply.  */
73903 char $ac_func ();
73904 /* The GNU C library defines this for functions which it implements
73905     to always fail with ENOSYS.  Some functions are actually named
73906     something starting with __ and the normal name is an alias.  */
73907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73908 choke me
73909 #else
73910 char (*f) () = $ac_func;
73911 #endif
73912 #ifdef __cplusplus
73913 }
73914 #endif
73915
73916 int
73917 main ()
73918 {
73919 return f != $ac_func;
73920   ;
73921   return 0;
73922 }
73923 _ACEOF
73924 rm -f conftest.$ac_objext conftest$ac_exeext
73925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73926   (eval $ac_link) 2>conftest.er1
73927   ac_status=$?
73928   grep -v '^ *+' conftest.er1 >conftest.err
73929   rm -f conftest.er1
73930   cat conftest.err >&5
73931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73932   (exit $ac_status); } &&
73933          { ac_try='test -z "$ac_c_werror_flag"
73934                          || test ! -s conftest.err'
73935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73936   (eval $ac_try) 2>&5
73937   ac_status=$?
73938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73939   (exit $ac_status); }; } &&
73940          { ac_try='test -s conftest$ac_exeext'
73941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73942   (eval $ac_try) 2>&5
73943   ac_status=$?
73944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73945   (exit $ac_status); }; }; then
73946   eval "$as_ac_var=yes"
73947 else
73948   echo "$as_me: failed program was:" >&5
73949 sed 's/^/| /' conftest.$ac_ext >&5
73950
73951 eval "$as_ac_var=no"
73952 fi
73953 rm -f conftest.err conftest.$ac_objext \
73954       conftest$ac_exeext conftest.$ac_ext
73955 fi
73956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73958 if test `eval echo '${'$as_ac_var'}'` = yes; then
73959   cat >>confdefs.h <<_ACEOF
73960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73961 _ACEOF
73962
73963 fi
73964 done
73965
73966
73967     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73968 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73969     if test x"$has_weof" = xyes &&
73970        test x"$has_wchar_minmax" = xyes &&
73971        test x"$ac_wfuncs" = xyes;
73972     then
73973       ac_isoC99_wchar_t=yes
73974     else
73975       ac_isoC99_wchar_t=no
73976     fi
73977     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73978 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73979
73980     # Use iconv for wchar_t to char conversions. As such, check for
73981     # X/Open Portability Guide, version 2 features (XPG2).
73982     if test "${ac_cv_header_iconv_h+set}" = set; then
73983   echo "$as_me:$LINENO: checking for iconv.h" >&5
73984 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73985 if test "${ac_cv_header_iconv_h+set}" = set; then
73986   echo $ECHO_N "(cached) $ECHO_C" >&6
73987 fi
73988 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73989 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73990 else
73991   # Is the header compilable?
73992 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73993 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73994 cat >conftest.$ac_ext <<_ACEOF
73995 /* confdefs.h.  */
73996 _ACEOF
73997 cat confdefs.h >>conftest.$ac_ext
73998 cat >>conftest.$ac_ext <<_ACEOF
73999 /* end confdefs.h.  */
74000 $ac_includes_default
74001 #include <iconv.h>
74002 _ACEOF
74003 rm -f conftest.$ac_objext
74004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74005   (eval $ac_compile) 2>conftest.er1
74006   ac_status=$?
74007   grep -v '^ *+' conftest.er1 >conftest.err
74008   rm -f conftest.er1
74009   cat conftest.err >&5
74010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74011   (exit $ac_status); } &&
74012          { ac_try='test -z "$ac_c_werror_flag"
74013                          || test ! -s conftest.err'
74014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74015   (eval $ac_try) 2>&5
74016   ac_status=$?
74017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74018   (exit $ac_status); }; } &&
74019          { ac_try='test -s conftest.$ac_objext'
74020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74021   (eval $ac_try) 2>&5
74022   ac_status=$?
74023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74024   (exit $ac_status); }; }; then
74025   ac_header_compiler=yes
74026 else
74027   echo "$as_me: failed program was:" >&5
74028 sed 's/^/| /' conftest.$ac_ext >&5
74029
74030 ac_header_compiler=no
74031 fi
74032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74034 echo "${ECHO_T}$ac_header_compiler" >&6
74035
74036 # Is the header present?
74037 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74038 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74039 cat >conftest.$ac_ext <<_ACEOF
74040 /* confdefs.h.  */
74041 _ACEOF
74042 cat confdefs.h >>conftest.$ac_ext
74043 cat >>conftest.$ac_ext <<_ACEOF
74044 /* end confdefs.h.  */
74045 #include <iconv.h>
74046 _ACEOF
74047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74048   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
74055   if test -s conftest.err; then
74056     ac_cpp_err=$ac_c_preproc_warn_flag
74057     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74058   else
74059     ac_cpp_err=
74060   fi
74061 else
74062   ac_cpp_err=yes
74063 fi
74064 if test -z "$ac_cpp_err"; then
74065   ac_header_preproc=yes
74066 else
74067   echo "$as_me: failed program was:" >&5
74068 sed 's/^/| /' conftest.$ac_ext >&5
74069
74070   ac_header_preproc=no
74071 fi
74072 rm -f conftest.err conftest.$ac_ext
74073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74074 echo "${ECHO_T}$ac_header_preproc" >&6
74075
74076 # So?  What about this header?
74077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74078   yes:no: )
74079     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74080 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74081     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74082 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74083     ac_header_preproc=yes
74084     ;;
74085   no:yes:* )
74086     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74087 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74088     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74089 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74090     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74091 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74092     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74093 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74094     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74095 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74096     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74097 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74098     (
74099       cat <<\_ASBOX
74100 ## ----------------------------------------- ##
74101 ## Report this to the package-unused lists.  ##
74102 ## ----------------------------------------- ##
74103 _ASBOX
74104     ) |
74105       sed "s/^/$as_me: WARNING:     /" >&2
74106     ;;
74107 esac
74108 echo "$as_me:$LINENO: checking for iconv.h" >&5
74109 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74110 if test "${ac_cv_header_iconv_h+set}" = set; then
74111   echo $ECHO_N "(cached) $ECHO_C" >&6
74112 else
74113   ac_cv_header_iconv_h=$ac_header_preproc
74114 fi
74115 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74116 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74117
74118 fi
74119 if test $ac_cv_header_iconv_h = yes; then
74120   ac_has_iconv_h=yes
74121 else
74122   ac_has_iconv_h=no
74123 fi
74124
74125
74126     if test "${ac_cv_header_langinfo_h+set}" = set; then
74127   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74128 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74129 if test "${ac_cv_header_langinfo_h+set}" = set; then
74130   echo $ECHO_N "(cached) $ECHO_C" >&6
74131 fi
74132 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74133 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74134 else
74135   # Is the header compilable?
74136 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74137 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74138 cat >conftest.$ac_ext <<_ACEOF
74139 /* confdefs.h.  */
74140 _ACEOF
74141 cat confdefs.h >>conftest.$ac_ext
74142 cat >>conftest.$ac_ext <<_ACEOF
74143 /* end confdefs.h.  */
74144 $ac_includes_default
74145 #include <langinfo.h>
74146 _ACEOF
74147 rm -f conftest.$ac_objext
74148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74149   (eval $ac_compile) 2>conftest.er1
74150   ac_status=$?
74151   grep -v '^ *+' conftest.er1 >conftest.err
74152   rm -f conftest.er1
74153   cat conftest.err >&5
74154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74155   (exit $ac_status); } &&
74156          { ac_try='test -z "$ac_c_werror_flag"
74157                          || test ! -s conftest.err'
74158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74159   (eval $ac_try) 2>&5
74160   ac_status=$?
74161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74162   (exit $ac_status); }; } &&
74163          { ac_try='test -s conftest.$ac_objext'
74164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74165   (eval $ac_try) 2>&5
74166   ac_status=$?
74167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74168   (exit $ac_status); }; }; then
74169   ac_header_compiler=yes
74170 else
74171   echo "$as_me: failed program was:" >&5
74172 sed 's/^/| /' conftest.$ac_ext >&5
74173
74174 ac_header_compiler=no
74175 fi
74176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74178 echo "${ECHO_T}$ac_header_compiler" >&6
74179
74180 # Is the header present?
74181 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74182 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74183 cat >conftest.$ac_ext <<_ACEOF
74184 /* confdefs.h.  */
74185 _ACEOF
74186 cat confdefs.h >>conftest.$ac_ext
74187 cat >>conftest.$ac_ext <<_ACEOF
74188 /* end confdefs.h.  */
74189 #include <langinfo.h>
74190 _ACEOF
74191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74192   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
74199   if test -s conftest.err; then
74200     ac_cpp_err=$ac_c_preproc_warn_flag
74201     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74202   else
74203     ac_cpp_err=
74204   fi
74205 else
74206   ac_cpp_err=yes
74207 fi
74208 if test -z "$ac_cpp_err"; then
74209   ac_header_preproc=yes
74210 else
74211   echo "$as_me: failed program was:" >&5
74212 sed 's/^/| /' conftest.$ac_ext >&5
74213
74214   ac_header_preproc=no
74215 fi
74216 rm -f conftest.err conftest.$ac_ext
74217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74218 echo "${ECHO_T}$ac_header_preproc" >&6
74219
74220 # So?  What about this header?
74221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74222   yes:no: )
74223     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74224 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74225     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74226 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74227     ac_header_preproc=yes
74228     ;;
74229   no:yes:* )
74230     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74231 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74232     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74233 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74234     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74235 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74236     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74237 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74238     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74239 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74240     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74241 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74242     (
74243       cat <<\_ASBOX
74244 ## ----------------------------------------- ##
74245 ## Report this to the package-unused lists.  ##
74246 ## ----------------------------------------- ##
74247 _ASBOX
74248     ) |
74249       sed "s/^/$as_me: WARNING:     /" >&2
74250     ;;
74251 esac
74252 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74253 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74254 if test "${ac_cv_header_langinfo_h+set}" = set; then
74255   echo $ECHO_N "(cached) $ECHO_C" >&6
74256 else
74257   ac_cv_header_langinfo_h=$ac_header_preproc
74258 fi
74259 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74260 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74261
74262 fi
74263 if test $ac_cv_header_langinfo_h = yes; then
74264   ac_has_langinfo_h=yes
74265 else
74266   ac_has_langinfo_h=no
74267 fi
74268
74269
74270
74271     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74272     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74273 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74274 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74275   echo $ECHO_N "(cached) $ECHO_C" >&6
74276 else
74277   ac_check_lib_save_LIBS=$LIBS
74278 LIBS="-liconv  $LIBS"
74279 if test x$gcc_no_link = xyes; then
74280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74282    { (exit 1); exit 1; }; }
74283 fi
74284 cat >conftest.$ac_ext <<_ACEOF
74285 /* confdefs.h.  */
74286 _ACEOF
74287 cat confdefs.h >>conftest.$ac_ext
74288 cat >>conftest.$ac_ext <<_ACEOF
74289 /* end confdefs.h.  */
74290
74291 /* Override any gcc2 internal prototype to avoid an error.  */
74292 #ifdef __cplusplus
74293 extern "C"
74294 #endif
74295 /* We use char because int might match the return type of a gcc2
74296    builtin and then its argument prototype would still apply.  */
74297 char iconv ();
74298 int
74299 main ()
74300 {
74301 iconv ();
74302   ;
74303   return 0;
74304 }
74305 _ACEOF
74306 rm -f conftest.$ac_objext conftest$ac_exeext
74307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74308   (eval $ac_link) 2>conftest.er1
74309   ac_status=$?
74310   grep -v '^ *+' conftest.er1 >conftest.err
74311   rm -f conftest.er1
74312   cat conftest.err >&5
74313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74314   (exit $ac_status); } &&
74315          { ac_try='test -z "$ac_c_werror_flag"
74316                          || test ! -s conftest.err'
74317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74318   (eval $ac_try) 2>&5
74319   ac_status=$?
74320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74321   (exit $ac_status); }; } &&
74322          { ac_try='test -s conftest$ac_exeext'
74323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74324   (eval $ac_try) 2>&5
74325   ac_status=$?
74326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74327   (exit $ac_status); }; }; then
74328   ac_cv_lib_iconv_iconv=yes
74329 else
74330   echo "$as_me: failed program was:" >&5
74331 sed 's/^/| /' conftest.$ac_ext >&5
74332
74333 ac_cv_lib_iconv_iconv=no
74334 fi
74335 rm -f conftest.err conftest.$ac_objext \
74336       conftest$ac_exeext conftest.$ac_ext
74337 LIBS=$ac_check_lib_save_LIBS
74338 fi
74339 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74340 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74341 if test $ac_cv_lib_iconv_iconv = yes; then
74342   libiconv="-liconv"
74343 fi
74344
74345     ac_save_LIBS="$LIBS"
74346     LIBS="$LIBS $libiconv"
74347
74348
74349
74350
74351
74352 for ac_func in iconv_open iconv_close iconv nl_langinfo
74353 do
74354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74355 echo "$as_me:$LINENO: checking for $ac_func" >&5
74356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74357 if eval "test \"\${$as_ac_var+set}\" = set"; then
74358   echo $ECHO_N "(cached) $ECHO_C" >&6
74359 else
74360   if test x$gcc_no_link = xyes; then
74361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74363    { (exit 1); exit 1; }; }
74364 fi
74365 cat >conftest.$ac_ext <<_ACEOF
74366 /* confdefs.h.  */
74367 _ACEOF
74368 cat confdefs.h >>conftest.$ac_ext
74369 cat >>conftest.$ac_ext <<_ACEOF
74370 /* end confdefs.h.  */
74371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74373 #define $ac_func innocuous_$ac_func
74374
74375 /* System header to define __stub macros and hopefully few prototypes,
74376     which can conflict with char $ac_func (); below.
74377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74378     <limits.h> exists even on freestanding compilers.  */
74379
74380 #ifdef __STDC__
74381 # include <limits.h>
74382 #else
74383 # include <assert.h>
74384 #endif
74385
74386 #undef $ac_func
74387
74388 /* Override any gcc2 internal prototype to avoid an error.  */
74389 #ifdef __cplusplus
74390 extern "C"
74391 {
74392 #endif
74393 /* We use char because int might match the return type of a gcc2
74394    builtin and then its argument prototype would still apply.  */
74395 char $ac_func ();
74396 /* The GNU C library defines this for functions which it implements
74397     to always fail with ENOSYS.  Some functions are actually named
74398     something starting with __ and the normal name is an alias.  */
74399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74400 choke me
74401 #else
74402 char (*f) () = $ac_func;
74403 #endif
74404 #ifdef __cplusplus
74405 }
74406 #endif
74407
74408 int
74409 main ()
74410 {
74411 return f != $ac_func;
74412   ;
74413   return 0;
74414 }
74415 _ACEOF
74416 rm -f conftest.$ac_objext conftest$ac_exeext
74417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74418   (eval $ac_link) 2>conftest.er1
74419   ac_status=$?
74420   grep -v '^ *+' conftest.er1 >conftest.err
74421   rm -f conftest.er1
74422   cat conftest.err >&5
74423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74424   (exit $ac_status); } &&
74425          { ac_try='test -z "$ac_c_werror_flag"
74426                          || test ! -s conftest.err'
74427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74428   (eval $ac_try) 2>&5
74429   ac_status=$?
74430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74431   (exit $ac_status); }; } &&
74432          { ac_try='test -s conftest$ac_exeext'
74433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74434   (eval $ac_try) 2>&5
74435   ac_status=$?
74436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437   (exit $ac_status); }; }; then
74438   eval "$as_ac_var=yes"
74439 else
74440   echo "$as_me: failed program was:" >&5
74441 sed 's/^/| /' conftest.$ac_ext >&5
74442
74443 eval "$as_ac_var=no"
74444 fi
74445 rm -f conftest.err conftest.$ac_objext \
74446       conftest$ac_exeext conftest.$ac_ext
74447 fi
74448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74450 if test `eval echo '${'$as_ac_var'}'` = yes; then
74451   cat >>confdefs.h <<_ACEOF
74452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74453 _ACEOF
74454  ac_XPG2funcs=yes
74455 else
74456   ac_XPG2funcs=no
74457 fi
74458 done
74459
74460
74461     LIBS="$ac_save_LIBS"
74462
74463     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74464 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74465     if test x"$ac_has_iconv_h" = xyes &&
74466        test x"$ac_has_langinfo_h" = xyes &&
74467        test x"$ac_XPG2funcs" = xyes;
74468     then
74469       ac_XPG2_wchar_t=yes
74470     else
74471       ac_XPG2_wchar_t=no
74472     fi
74473     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74474 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74475
74476     # At the moment, only enable wchar_t specializations if all the
74477     # above support is present.
74478     if test x"$ac_isoC99_wchar_t" = xyes &&
74479        test x"$ac_XPG2_wchar_t" = xyes;
74480     then
74481       cat >>confdefs.h <<\_ACEOF
74482 #define _GLIBCXX_USE_WCHAR_T 1
74483 _ACEOF
74484
74485       enable_wchar_t=yes
74486     fi
74487   fi
74488   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74489 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74490   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74491 echo "${ECHO_T}$enable_wchar_t" >&6
74492
74493
74494   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74495   ac_save_CXXFLAGS="$CXXFLAGS"
74496   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74497
74498
74499   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74500 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74501   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74502     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74503   echo $ECHO_N "(cached) $ECHO_C" >&6
74504 else
74505
74506
74507
74508       ac_ext=cc
74509 ac_cpp='$CXXCPP $CPPFLAGS'
74510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74513
74514       cat >conftest.$ac_ext <<_ACEOF
74515 /* confdefs.h.  */
74516 _ACEOF
74517 cat confdefs.h >>conftest.$ac_ext
74518 cat >>conftest.$ac_ext <<_ACEOF
74519 /* end confdefs.h.  */
74520 #include <stdlib.h>
74521 int
74522 main ()
74523 {
74524  strtold(0, 0);
74525   ;
74526   return 0;
74527 }
74528 _ACEOF
74529 rm -f conftest.$ac_objext
74530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74531   (eval $ac_compile) 2>conftest.er1
74532   ac_status=$?
74533   grep -v '^ *+' conftest.er1 >conftest.err
74534   rm -f conftest.er1
74535   cat conftest.err >&5
74536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74537   (exit $ac_status); } &&
74538          { ac_try='test -z "$ac_cxx_werror_flag"
74539                          || test ! -s conftest.err'
74540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74541   (eval $ac_try) 2>&5
74542   ac_status=$?
74543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74544   (exit $ac_status); }; } &&
74545          { ac_try='test -s conftest.$ac_objext'
74546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74547   (eval $ac_try) 2>&5
74548   ac_status=$?
74549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74550   (exit $ac_status); }; }; then
74551   glibcxx_cv_func_strtold_use=yes
74552 else
74553   echo "$as_me: failed program was:" >&5
74554 sed 's/^/| /' conftest.$ac_ext >&5
74555
74556 glibcxx_cv_func_strtold_use=no
74557 fi
74558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74559       ac_ext=c
74560 ac_cpp='$CPP $CPPFLAGS'
74561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74564
74565
74566 fi
74567
74568   fi
74569   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74570 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74571   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74572
74573 for ac_func in strtold
74574 do
74575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74576 echo "$as_me:$LINENO: checking for $ac_func" >&5
74577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74578 if eval "test \"\${$as_ac_var+set}\" = set"; then
74579   echo $ECHO_N "(cached) $ECHO_C" >&6
74580 else
74581   if test x$gcc_no_link = xyes; then
74582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74584    { (exit 1); exit 1; }; }
74585 fi
74586 cat >conftest.$ac_ext <<_ACEOF
74587 /* confdefs.h.  */
74588 _ACEOF
74589 cat confdefs.h >>conftest.$ac_ext
74590 cat >>conftest.$ac_ext <<_ACEOF
74591 /* end confdefs.h.  */
74592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74594 #define $ac_func innocuous_$ac_func
74595
74596 /* System header to define __stub macros and hopefully few prototypes,
74597     which can conflict with char $ac_func (); below.
74598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74599     <limits.h> exists even on freestanding compilers.  */
74600
74601 #ifdef __STDC__
74602 # include <limits.h>
74603 #else
74604 # include <assert.h>
74605 #endif
74606
74607 #undef $ac_func
74608
74609 /* Override any gcc2 internal prototype to avoid an error.  */
74610 #ifdef __cplusplus
74611 extern "C"
74612 {
74613 #endif
74614 /* We use char because int might match the return type of a gcc2
74615    builtin and then its argument prototype would still apply.  */
74616 char $ac_func ();
74617 /* The GNU C library defines this for functions which it implements
74618     to always fail with ENOSYS.  Some functions are actually named
74619     something starting with __ and the normal name is an alias.  */
74620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74621 choke me
74622 #else
74623 char (*f) () = $ac_func;
74624 #endif
74625 #ifdef __cplusplus
74626 }
74627 #endif
74628
74629 int
74630 main ()
74631 {
74632 return f != $ac_func;
74633   ;
74634   return 0;
74635 }
74636 _ACEOF
74637 rm -f conftest.$ac_objext conftest$ac_exeext
74638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74639   (eval $ac_link) 2>conftest.er1
74640   ac_status=$?
74641   grep -v '^ *+' conftest.er1 >conftest.err
74642   rm -f conftest.er1
74643   cat conftest.err >&5
74644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74645   (exit $ac_status); } &&
74646          { ac_try='test -z "$ac_c_werror_flag"
74647                          || test ! -s conftest.err'
74648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74649   (eval $ac_try) 2>&5
74650   ac_status=$?
74651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74652   (exit $ac_status); }; } &&
74653          { ac_try='test -s conftest$ac_exeext'
74654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74655   (eval $ac_try) 2>&5
74656   ac_status=$?
74657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74658   (exit $ac_status); }; }; then
74659   eval "$as_ac_var=yes"
74660 else
74661   echo "$as_me: failed program was:" >&5
74662 sed 's/^/| /' conftest.$ac_ext >&5
74663
74664 eval "$as_ac_var=no"
74665 fi
74666 rm -f conftest.err conftest.$ac_objext \
74667       conftest$ac_exeext conftest.$ac_ext
74668 fi
74669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74671 if test `eval echo '${'$as_ac_var'}'` = yes; then
74672   cat >>confdefs.h <<_ACEOF
74673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74674 _ACEOF
74675
74676 fi
74677 done
74678
74679   fi
74680
74681
74682   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74683 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74684   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74685     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74686   echo $ECHO_N "(cached) $ECHO_C" >&6
74687 else
74688
74689
74690
74691       ac_ext=cc
74692 ac_cpp='$CXXCPP $CPPFLAGS'
74693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74696
74697       cat >conftest.$ac_ext <<_ACEOF
74698 /* confdefs.h.  */
74699 _ACEOF
74700 cat confdefs.h >>conftest.$ac_ext
74701 cat >>conftest.$ac_ext <<_ACEOF
74702 /* end confdefs.h.  */
74703 #include <stdlib.h>
74704 int
74705 main ()
74706 {
74707  strtof(0, 0);
74708   ;
74709   return 0;
74710 }
74711 _ACEOF
74712 rm -f conftest.$ac_objext
74713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74714   (eval $ac_compile) 2>conftest.er1
74715   ac_status=$?
74716   grep -v '^ *+' conftest.er1 >conftest.err
74717   rm -f conftest.er1
74718   cat conftest.err >&5
74719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74720   (exit $ac_status); } &&
74721          { ac_try='test -z "$ac_cxx_werror_flag"
74722                          || test ! -s conftest.err'
74723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74724   (eval $ac_try) 2>&5
74725   ac_status=$?
74726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74727   (exit $ac_status); }; } &&
74728          { ac_try='test -s conftest.$ac_objext'
74729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74730   (eval $ac_try) 2>&5
74731   ac_status=$?
74732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74733   (exit $ac_status); }; }; then
74734   glibcxx_cv_func_strtof_use=yes
74735 else
74736   echo "$as_me: failed program was:" >&5
74737 sed 's/^/| /' conftest.$ac_ext >&5
74738
74739 glibcxx_cv_func_strtof_use=no
74740 fi
74741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74742       ac_ext=c
74743 ac_cpp='$CPP $CPPFLAGS'
74744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74747
74748
74749 fi
74750
74751   fi
74752   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74753 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74754   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74755
74756 for ac_func in strtof
74757 do
74758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74759 echo "$as_me:$LINENO: checking for $ac_func" >&5
74760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74761 if eval "test \"\${$as_ac_var+set}\" = set"; then
74762   echo $ECHO_N "(cached) $ECHO_C" >&6
74763 else
74764   if test x$gcc_no_link = xyes; then
74765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74767    { (exit 1); exit 1; }; }
74768 fi
74769 cat >conftest.$ac_ext <<_ACEOF
74770 /* confdefs.h.  */
74771 _ACEOF
74772 cat confdefs.h >>conftest.$ac_ext
74773 cat >>conftest.$ac_ext <<_ACEOF
74774 /* end confdefs.h.  */
74775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74777 #define $ac_func innocuous_$ac_func
74778
74779 /* System header to define __stub macros and hopefully few prototypes,
74780     which can conflict with char $ac_func (); below.
74781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74782     <limits.h> exists even on freestanding compilers.  */
74783
74784 #ifdef __STDC__
74785 # include <limits.h>
74786 #else
74787 # include <assert.h>
74788 #endif
74789
74790 #undef $ac_func
74791
74792 /* Override any gcc2 internal prototype to avoid an error.  */
74793 #ifdef __cplusplus
74794 extern "C"
74795 {
74796 #endif
74797 /* We use char because int might match the return type of a gcc2
74798    builtin and then its argument prototype would still apply.  */
74799 char $ac_func ();
74800 /* The GNU C library defines this for functions which it implements
74801     to always fail with ENOSYS.  Some functions are actually named
74802     something starting with __ and the normal name is an alias.  */
74803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74804 choke me
74805 #else
74806 char (*f) () = $ac_func;
74807 #endif
74808 #ifdef __cplusplus
74809 }
74810 #endif
74811
74812 int
74813 main ()
74814 {
74815 return f != $ac_func;
74816   ;
74817   return 0;
74818 }
74819 _ACEOF
74820 rm -f conftest.$ac_objext conftest$ac_exeext
74821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74822   (eval $ac_link) 2>conftest.er1
74823   ac_status=$?
74824   grep -v '^ *+' conftest.er1 >conftest.err
74825   rm -f conftest.er1
74826   cat conftest.err >&5
74827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74828   (exit $ac_status); } &&
74829          { ac_try='test -z "$ac_c_werror_flag"
74830                          || test ! -s conftest.err'
74831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74832   (eval $ac_try) 2>&5
74833   ac_status=$?
74834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74835   (exit $ac_status); }; } &&
74836          { ac_try='test -s conftest$ac_exeext'
74837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74838   (eval $ac_try) 2>&5
74839   ac_status=$?
74840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74841   (exit $ac_status); }; }; then
74842   eval "$as_ac_var=yes"
74843 else
74844   echo "$as_me: failed program was:" >&5
74845 sed 's/^/| /' conftest.$ac_ext >&5
74846
74847 eval "$as_ac_var=no"
74848 fi
74849 rm -f conftest.err conftest.$ac_objext \
74850       conftest$ac_exeext conftest.$ac_ext
74851 fi
74852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74854 if test `eval echo '${'$as_ac_var'}'` = yes; then
74855   cat >>confdefs.h <<_ACEOF
74856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74857 _ACEOF
74858
74859 fi
74860 done
74861
74862   fi
74863
74864
74865   CXXFLAGS="$ac_save_CXXFLAGS"
74866
74867
74868   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74869   echo $ECHO_N "(cached) $ECHO_C" >&6
74870 else
74871
74872     if test x$gcc_no_link = xyes; then
74873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74875    { (exit 1); exit 1; }; }
74876 fi
74877 cat >conftest.$ac_ext <<_ACEOF
74878 /* confdefs.h.  */
74879 _ACEOF
74880 cat confdefs.h >>conftest.$ac_ext
74881 cat >>conftest.$ac_ext <<_ACEOF
74882 /* end confdefs.h.  */
74883 #include <sys/stat.h>
74884 int
74885 main ()
74886 {
74887 struct stat buffer;
74888        fstat(0, &buffer);
74889        S_ISREG(buffer.st_mode);
74890   ;
74891   return 0;
74892 }
74893 _ACEOF
74894 rm -f conftest.$ac_objext conftest$ac_exeext
74895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74896   (eval $ac_link) 2>conftest.er1
74897   ac_status=$?
74898   grep -v '^ *+' conftest.er1 >conftest.err
74899   rm -f conftest.er1
74900   cat conftest.err >&5
74901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74902   (exit $ac_status); } &&
74903          { ac_try='test -z "$ac_c_werror_flag"
74904                          || test ! -s conftest.err'
74905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74906   (eval $ac_try) 2>&5
74907   ac_status=$?
74908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74909   (exit $ac_status); }; } &&
74910          { ac_try='test -s conftest$ac_exeext'
74911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74912   (eval $ac_try) 2>&5
74913   ac_status=$?
74914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74915   (exit $ac_status); }; }; then
74916   glibcxx_cv_S_ISREG=yes
74917 else
74918   echo "$as_me: failed program was:" >&5
74919 sed 's/^/| /' conftest.$ac_ext >&5
74920
74921 glibcxx_cv_S_ISREG=no
74922 fi
74923 rm -f conftest.err conftest.$ac_objext \
74924       conftest$ac_exeext conftest.$ac_ext
74925
74926 fi
74927
74928   if test "${glibcxx_cv_S_IFREG+set}" = set; then
74929   echo $ECHO_N "(cached) $ECHO_C" >&6
74930 else
74931
74932     if test x$gcc_no_link = xyes; then
74933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74935    { (exit 1); exit 1; }; }
74936 fi
74937 cat >conftest.$ac_ext <<_ACEOF
74938 /* confdefs.h.  */
74939 _ACEOF
74940 cat confdefs.h >>conftest.$ac_ext
74941 cat >>conftest.$ac_ext <<_ACEOF
74942 /* end confdefs.h.  */
74943 #include <sys/stat.h>
74944 int
74945 main ()
74946 {
74947 struct stat buffer;
74948        fstat(0, &buffer);
74949        S_IFREG & buffer.st_mode;
74950   ;
74951   return 0;
74952 }
74953 _ACEOF
74954 rm -f conftest.$ac_objext conftest$ac_exeext
74955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74956   (eval $ac_link) 2>conftest.er1
74957   ac_status=$?
74958   grep -v '^ *+' conftest.er1 >conftest.err
74959   rm -f conftest.er1
74960   cat conftest.err >&5
74961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74962   (exit $ac_status); } &&
74963          { ac_try='test -z "$ac_c_werror_flag"
74964                          || test ! -s conftest.err'
74965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74966   (eval $ac_try) 2>&5
74967   ac_status=$?
74968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74969   (exit $ac_status); }; } &&
74970          { ac_try='test -s conftest$ac_exeext'
74971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74972   (eval $ac_try) 2>&5
74973   ac_status=$?
74974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74975   (exit $ac_status); }; }; then
74976   glibcxx_cv_S_IFREG=yes
74977 else
74978   echo "$as_me: failed program was:" >&5
74979 sed 's/^/| /' conftest.$ac_ext >&5
74980
74981 glibcxx_cv_S_IFREG=no
74982 fi
74983 rm -f conftest.err conftest.$ac_objext \
74984       conftest$ac_exeext conftest.$ac_ext
74985
74986 fi
74987
74988   if test $glibcxx_cv_S_ISREG = yes; then
74989     cat >>confdefs.h <<\_ACEOF
74990 #define HAVE_S_ISREG 1
74991 _ACEOF
74992
74993   elif test $glibcxx_cv_S_IFREG = yes; then
74994     cat >>confdefs.h <<\_ACEOF
74995 #define HAVE_S_IFREG 1
74996 _ACEOF
74997
74998   fi
74999
75000     cat >>confdefs.h <<\_ACEOF
75001 #define HAVE_WRITEV 1
75002 _ACEOF
75003
75004     ;;
75005
75006   *-freebsd*)
75007
75008
75009
75010
75011
75012
75013
75014
75015
75016
75017
75018
75019
75020
75021
75022
75023 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75024       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75025       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75026       sys/time.h unistd.h
75027 do
75028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75030   echo "$as_me:$LINENO: checking for $ac_header" >&5
75031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75033   echo $ECHO_N "(cached) $ECHO_C" >&6
75034 fi
75035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75037 else
75038   # Is the header compilable?
75039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75041 cat >conftest.$ac_ext <<_ACEOF
75042 /* confdefs.h.  */
75043 _ACEOF
75044 cat confdefs.h >>conftest.$ac_ext
75045 cat >>conftest.$ac_ext <<_ACEOF
75046 /* end confdefs.h.  */
75047 $ac_includes_default
75048 #include <$ac_header>
75049 _ACEOF
75050 rm -f conftest.$ac_objext
75051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75052   (eval $ac_compile) 2>conftest.er1
75053   ac_status=$?
75054   grep -v '^ *+' conftest.er1 >conftest.err
75055   rm -f conftest.er1
75056   cat conftest.err >&5
75057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75058   (exit $ac_status); } &&
75059          { ac_try='test -z "$ac_c_werror_flag"
75060                          || test ! -s conftest.err'
75061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75062   (eval $ac_try) 2>&5
75063   ac_status=$?
75064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75065   (exit $ac_status); }; } &&
75066          { ac_try='test -s conftest.$ac_objext'
75067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75068   (eval $ac_try) 2>&5
75069   ac_status=$?
75070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75071   (exit $ac_status); }; }; then
75072   ac_header_compiler=yes
75073 else
75074   echo "$as_me: failed program was:" >&5
75075 sed 's/^/| /' conftest.$ac_ext >&5
75076
75077 ac_header_compiler=no
75078 fi
75079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75081 echo "${ECHO_T}$ac_header_compiler" >&6
75082
75083 # Is the header present?
75084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75086 cat >conftest.$ac_ext <<_ACEOF
75087 /* confdefs.h.  */
75088 _ACEOF
75089 cat confdefs.h >>conftest.$ac_ext
75090 cat >>conftest.$ac_ext <<_ACEOF
75091 /* end confdefs.h.  */
75092 #include <$ac_header>
75093 _ACEOF
75094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75095   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75096   ac_status=$?
75097   grep -v '^ *+' conftest.er1 >conftest.err
75098   rm -f conftest.er1
75099   cat conftest.err >&5
75100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75101   (exit $ac_status); } >/dev/null; then
75102   if test -s conftest.err; then
75103     ac_cpp_err=$ac_c_preproc_warn_flag
75104     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75105   else
75106     ac_cpp_err=
75107   fi
75108 else
75109   ac_cpp_err=yes
75110 fi
75111 if test -z "$ac_cpp_err"; then
75112   ac_header_preproc=yes
75113 else
75114   echo "$as_me: failed program was:" >&5
75115 sed 's/^/| /' conftest.$ac_ext >&5
75116
75117   ac_header_preproc=no
75118 fi
75119 rm -f conftest.err conftest.$ac_ext
75120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75121 echo "${ECHO_T}$ac_header_preproc" >&6
75122
75123 # So?  What about this header?
75124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75125   yes:no: )
75126     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75128     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75130     ac_header_preproc=yes
75131     ;;
75132   no:yes:* )
75133     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75135     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75136 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75137     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75139     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75140 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75141     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75143     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75145     (
75146       cat <<\_ASBOX
75147 ## ----------------------------------------- ##
75148 ## Report this to the package-unused lists.  ##
75149 ## ----------------------------------------- ##
75150 _ASBOX
75151     ) |
75152       sed "s/^/$as_me: WARNING:     /" >&2
75153     ;;
75154 esac
75155 echo "$as_me:$LINENO: checking for $ac_header" >&5
75156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75158   echo $ECHO_N "(cached) $ECHO_C" >&6
75159 else
75160   eval "$as_ac_Header=\$ac_header_preproc"
75161 fi
75162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75164
75165 fi
75166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75167   cat >>confdefs.h <<_ACEOF
75168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75169 _ACEOF
75170
75171 fi
75172
75173 done
75174
75175     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75176
75177
75178   # If we're not using GNU ld, then there's no point in even trying these
75179   # tests.  Check for that first.  We should have already tested for gld
75180   # by now (in libtool), but require it now just to be safe...
75181   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75182   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75183
75184
75185
75186   # The name set by libtool depends on the version of libtool.  Shame on us
75187   # for depending on an impl detail, but c'est la vie.  Older versions used
75188   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75189   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75190   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75191   # set (hence we're using an older libtool), then set it.
75192   if test x${with_gnu_ld+set} != xset; then
75193     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75194       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75195       with_gnu_ld=no
75196     else
75197       with_gnu_ld=$ac_cv_prog_gnu_ld
75198     fi
75199   fi
75200
75201   # Start by getting the version number.  I think the libtool test already
75202   # does some of this, but throws away the result.
75203
75204   ldver=`$LD --version 2>/dev/null | head -1 | \
75205          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75206
75207   glibcxx_gnu_ld_version=`echo $ldver | \
75208          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75209
75210   # Set --gc-sections.
75211   if test "$with_gnu_ld" = "notbroken"; then
75212     # GNU ld it is!  Joy and bunny rabbits!
75213
75214     # All these tests are for C++; save the language and the compiler flags.
75215     # Need to do this so that g++ won't try to link in libstdc++
75216     ac_test_CFLAGS="${CFLAGS+set}"
75217     ac_save_CFLAGS="$CFLAGS"
75218     CFLAGS='-x c++  -Wl,--gc-sections'
75219
75220     # Check for -Wl,--gc-sections
75221     # XXX This test is broken at the moment, as symbols required for linking
75222     # are now in libsupc++ (not built yet).  In addition, this test has
75223     # cored on solaris in the past.  In addition, --gc-sections doesn't
75224     # really work at the moment (keeps on discarding used sections, first
75225     # .eh_frame and now some of the glibc sections for iconv).
75226     # Bzzzzt.  Thanks for playing, maybe next time.
75227     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75228 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75229     if test "$cross_compiling" = yes; then
75230   ac_sectionLDflags=yes
75231 else
75232   cat >conftest.$ac_ext <<_ACEOF
75233 /* confdefs.h.  */
75234 _ACEOF
75235 cat confdefs.h >>conftest.$ac_ext
75236 cat >>conftest.$ac_ext <<_ACEOF
75237 /* end confdefs.h.  */
75238
75239      int main(void)
75240      {
75241        try { throw 1; }
75242        catch (...) { };
75243        return 0;
75244      }
75245
75246 _ACEOF
75247 rm -f conftest$ac_exeext
75248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75249   (eval $ac_link) 2>&5
75250   ac_status=$?
75251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75252   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75254   (eval $ac_try) 2>&5
75255   ac_status=$?
75256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75257   (exit $ac_status); }; }; then
75258   ac_sectionLDflags=yes
75259 else
75260   echo "$as_me: program exited with status $ac_status" >&5
75261 echo "$as_me: failed program was:" >&5
75262 sed 's/^/| /' conftest.$ac_ext >&5
75263
75264 ( exit $ac_status )
75265 ac_sectionLDflags=no
75266 fi
75267 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75268 fi
75269     if test "$ac_test_CFLAGS" = set; then
75270       CFLAGS="$ac_save_CFLAGS"
75271     else
75272       # this is the suspicious part
75273       CFLAGS=''
75274     fi
75275     if test "$ac_sectionLDflags" = "yes"; then
75276       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75277     fi
75278     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75279 echo "${ECHO_T}$ac_sectionLDflags" >&6
75280   fi
75281
75282   # Set linker optimization flags.
75283   if test x"$with_gnu_ld" = x"yes"; then
75284     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75285   fi
75286
75287
75288
75289
75290
75291
75292 echo "$as_me:$LINENO: checking for main in -lm" >&5
75293 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75294 if test "${ac_cv_lib_m_main+set}" = set; then
75295   echo $ECHO_N "(cached) $ECHO_C" >&6
75296 else
75297   ac_check_lib_save_LIBS=$LIBS
75298 LIBS="-lm  $LIBS"
75299 if test x$gcc_no_link = xyes; then
75300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75302    { (exit 1); exit 1; }; }
75303 fi
75304 cat >conftest.$ac_ext <<_ACEOF
75305 /* confdefs.h.  */
75306 _ACEOF
75307 cat confdefs.h >>conftest.$ac_ext
75308 cat >>conftest.$ac_ext <<_ACEOF
75309 /* end confdefs.h.  */
75310
75311
75312 int
75313 main ()
75314 {
75315 main ();
75316   ;
75317   return 0;
75318 }
75319 _ACEOF
75320 rm -f conftest.$ac_objext conftest$ac_exeext
75321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75322   (eval $ac_link) 2>conftest.er1
75323   ac_status=$?
75324   grep -v '^ *+' conftest.er1 >conftest.err
75325   rm -f conftest.er1
75326   cat conftest.err >&5
75327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75328   (exit $ac_status); } &&
75329          { ac_try='test -z "$ac_c_werror_flag"
75330                          || test ! -s conftest.err'
75331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75332   (eval $ac_try) 2>&5
75333   ac_status=$?
75334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75335   (exit $ac_status); }; } &&
75336          { ac_try='test -s conftest$ac_exeext'
75337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75338   (eval $ac_try) 2>&5
75339   ac_status=$?
75340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75341   (exit $ac_status); }; }; then
75342   ac_cv_lib_m_main=yes
75343 else
75344   echo "$as_me: failed program was:" >&5
75345 sed 's/^/| /' conftest.$ac_ext >&5
75346
75347 ac_cv_lib_m_main=no
75348 fi
75349 rm -f conftest.err conftest.$ac_objext \
75350       conftest$ac_exeext conftest.$ac_ext
75351 LIBS=$ac_check_lib_save_LIBS
75352 fi
75353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75354 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75355 if test $ac_cv_lib_m_main = yes; then
75356   cat >>confdefs.h <<_ACEOF
75357 #define HAVE_LIBM 1
75358 _ACEOF
75359
75360   LIBS="-lm $LIBS"
75361
75362 fi
75363
75364
75365 for ac_func in copysignf
75366 do
75367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75368 echo "$as_me:$LINENO: checking for $ac_func" >&5
75369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75370 if eval "test \"\${$as_ac_var+set}\" = set"; then
75371   echo $ECHO_N "(cached) $ECHO_C" >&6
75372 else
75373   if test x$gcc_no_link = xyes; then
75374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75376    { (exit 1); exit 1; }; }
75377 fi
75378 cat >conftest.$ac_ext <<_ACEOF
75379 /* confdefs.h.  */
75380 _ACEOF
75381 cat confdefs.h >>conftest.$ac_ext
75382 cat >>conftest.$ac_ext <<_ACEOF
75383 /* end confdefs.h.  */
75384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75386 #define $ac_func innocuous_$ac_func
75387
75388 /* System header to define __stub macros and hopefully few prototypes,
75389     which can conflict with char $ac_func (); below.
75390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75391     <limits.h> exists even on freestanding compilers.  */
75392
75393 #ifdef __STDC__
75394 # include <limits.h>
75395 #else
75396 # include <assert.h>
75397 #endif
75398
75399 #undef $ac_func
75400
75401 /* Override any gcc2 internal prototype to avoid an error.  */
75402 #ifdef __cplusplus
75403 extern "C"
75404 {
75405 #endif
75406 /* We use char because int might match the return type of a gcc2
75407    builtin and then its argument prototype would still apply.  */
75408 char $ac_func ();
75409 /* The GNU C library defines this for functions which it implements
75410     to always fail with ENOSYS.  Some functions are actually named
75411     something starting with __ and the normal name is an alias.  */
75412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75413 choke me
75414 #else
75415 char (*f) () = $ac_func;
75416 #endif
75417 #ifdef __cplusplus
75418 }
75419 #endif
75420
75421 int
75422 main ()
75423 {
75424 return f != $ac_func;
75425   ;
75426   return 0;
75427 }
75428 _ACEOF
75429 rm -f conftest.$ac_objext conftest$ac_exeext
75430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75431   (eval $ac_link) 2>conftest.er1
75432   ac_status=$?
75433   grep -v '^ *+' conftest.er1 >conftest.err
75434   rm -f conftest.er1
75435   cat conftest.err >&5
75436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75437   (exit $ac_status); } &&
75438          { ac_try='test -z "$ac_c_werror_flag"
75439                          || test ! -s conftest.err'
75440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75441   (eval $ac_try) 2>&5
75442   ac_status=$?
75443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75444   (exit $ac_status); }; } &&
75445          { ac_try='test -s conftest$ac_exeext'
75446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75447   (eval $ac_try) 2>&5
75448   ac_status=$?
75449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75450   (exit $ac_status); }; }; then
75451   eval "$as_ac_var=yes"
75452 else
75453   echo "$as_me: failed program was:" >&5
75454 sed 's/^/| /' conftest.$ac_ext >&5
75455
75456 eval "$as_ac_var=no"
75457 fi
75458 rm -f conftest.err conftest.$ac_objext \
75459       conftest$ac_exeext conftest.$ac_ext
75460 fi
75461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75463 if test `eval echo '${'$as_ac_var'}'` = yes; then
75464   cat >>confdefs.h <<_ACEOF
75465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75466 _ACEOF
75467
75468 else
75469   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75470 fi
75471 done
75472
75473
75474
75475 for ac_func in __signbit
75476 do
75477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75478 echo "$as_me:$LINENO: checking for $ac_func" >&5
75479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75480 if eval "test \"\${$as_ac_var+set}\" = set"; then
75481   echo $ECHO_N "(cached) $ECHO_C" >&6
75482 else
75483   if test x$gcc_no_link = xyes; then
75484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75486    { (exit 1); exit 1; }; }
75487 fi
75488 cat >conftest.$ac_ext <<_ACEOF
75489 /* confdefs.h.  */
75490 _ACEOF
75491 cat confdefs.h >>conftest.$ac_ext
75492 cat >>conftest.$ac_ext <<_ACEOF
75493 /* end confdefs.h.  */
75494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75496 #define $ac_func innocuous_$ac_func
75497
75498 /* System header to define __stub macros and hopefully few prototypes,
75499     which can conflict with char $ac_func (); below.
75500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75501     <limits.h> exists even on freestanding compilers.  */
75502
75503 #ifdef __STDC__
75504 # include <limits.h>
75505 #else
75506 # include <assert.h>
75507 #endif
75508
75509 #undef $ac_func
75510
75511 /* Override any gcc2 internal prototype to avoid an error.  */
75512 #ifdef __cplusplus
75513 extern "C"
75514 {
75515 #endif
75516 /* We use char because int might match the return type of a gcc2
75517    builtin and then its argument prototype would still apply.  */
75518 char $ac_func ();
75519 /* The GNU C library defines this for functions which it implements
75520     to always fail with ENOSYS.  Some functions are actually named
75521     something starting with __ and the normal name is an alias.  */
75522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75523 choke me
75524 #else
75525 char (*f) () = $ac_func;
75526 #endif
75527 #ifdef __cplusplus
75528 }
75529 #endif
75530
75531 int
75532 main ()
75533 {
75534 return f != $ac_func;
75535   ;
75536   return 0;
75537 }
75538 _ACEOF
75539 rm -f conftest.$ac_objext conftest$ac_exeext
75540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75541   (eval $ac_link) 2>conftest.er1
75542   ac_status=$?
75543   grep -v '^ *+' conftest.er1 >conftest.err
75544   rm -f conftest.er1
75545   cat conftest.err >&5
75546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75547   (exit $ac_status); } &&
75548          { ac_try='test -z "$ac_c_werror_flag"
75549                          || test ! -s conftest.err'
75550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75551   (eval $ac_try) 2>&5
75552   ac_status=$?
75553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75554   (exit $ac_status); }; } &&
75555          { ac_try='test -s conftest$ac_exeext'
75556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75557   (eval $ac_try) 2>&5
75558   ac_status=$?
75559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75560   (exit $ac_status); }; }; then
75561   eval "$as_ac_var=yes"
75562 else
75563   echo "$as_me: failed program was:" >&5
75564 sed 's/^/| /' conftest.$ac_ext >&5
75565
75566 eval "$as_ac_var=no"
75567 fi
75568 rm -f conftest.err conftest.$ac_objext \
75569       conftest$ac_exeext conftest.$ac_ext
75570 fi
75571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75573 if test `eval echo '${'$as_ac_var'}'` = yes; then
75574   cat >>confdefs.h <<_ACEOF
75575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75576 _ACEOF
75577
75578 else
75579   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75580 fi
75581 done
75582
75583
75584
75585 for ac_func in __signbitf
75586 do
75587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75588 echo "$as_me:$LINENO: checking for $ac_func" >&5
75589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75590 if eval "test \"\${$as_ac_var+set}\" = set"; then
75591   echo $ECHO_N "(cached) $ECHO_C" >&6
75592 else
75593   if test x$gcc_no_link = xyes; then
75594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75596    { (exit 1); exit 1; }; }
75597 fi
75598 cat >conftest.$ac_ext <<_ACEOF
75599 /* confdefs.h.  */
75600 _ACEOF
75601 cat confdefs.h >>conftest.$ac_ext
75602 cat >>conftest.$ac_ext <<_ACEOF
75603 /* end confdefs.h.  */
75604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75605    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75606 #define $ac_func innocuous_$ac_func
75607
75608 /* System header to define __stub macros and hopefully few prototypes,
75609     which can conflict with char $ac_func (); below.
75610     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75611     <limits.h> exists even on freestanding compilers.  */
75612
75613 #ifdef __STDC__
75614 # include <limits.h>
75615 #else
75616 # include <assert.h>
75617 #endif
75618
75619 #undef $ac_func
75620
75621 /* Override any gcc2 internal prototype to avoid an error.  */
75622 #ifdef __cplusplus
75623 extern "C"
75624 {
75625 #endif
75626 /* We use char because int might match the return type of a gcc2
75627    builtin and then its argument prototype would still apply.  */
75628 char $ac_func ();
75629 /* The GNU C library defines this for functions which it implements
75630     to always fail with ENOSYS.  Some functions are actually named
75631     something starting with __ and the normal name is an alias.  */
75632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75633 choke me
75634 #else
75635 char (*f) () = $ac_func;
75636 #endif
75637 #ifdef __cplusplus
75638 }
75639 #endif
75640
75641 int
75642 main ()
75643 {
75644 return f != $ac_func;
75645   ;
75646   return 0;
75647 }
75648 _ACEOF
75649 rm -f conftest.$ac_objext conftest$ac_exeext
75650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75651   (eval $ac_link) 2>conftest.er1
75652   ac_status=$?
75653   grep -v '^ *+' conftest.er1 >conftest.err
75654   rm -f conftest.er1
75655   cat conftest.err >&5
75656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75657   (exit $ac_status); } &&
75658          { ac_try='test -z "$ac_c_werror_flag"
75659                          || test ! -s conftest.err'
75660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75661   (eval $ac_try) 2>&5
75662   ac_status=$?
75663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75664   (exit $ac_status); }; } &&
75665          { ac_try='test -s conftest$ac_exeext'
75666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75667   (eval $ac_try) 2>&5
75668   ac_status=$?
75669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75670   (exit $ac_status); }; }; then
75671   eval "$as_ac_var=yes"
75672 else
75673   echo "$as_me: failed program was:" >&5
75674 sed 's/^/| /' conftest.$ac_ext >&5
75675
75676 eval "$as_ac_var=no"
75677 fi
75678 rm -f conftest.err conftest.$ac_objext \
75679       conftest$ac_exeext conftest.$ac_ext
75680 fi
75681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75683 if test `eval echo '${'$as_ac_var'}'` = yes; then
75684   cat >>confdefs.h <<_ACEOF
75685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75686 _ACEOF
75687
75688 else
75689   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75690 fi
75691 done
75692
75693
75694           if test x$ac_cv_func_copysignl = x"yes"; then
75695
75696 for ac_func in __signbitl
75697 do
75698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75699 echo "$as_me:$LINENO: checking for $ac_func" >&5
75700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75701 if eval "test \"\${$as_ac_var+set}\" = set"; then
75702   echo $ECHO_N "(cached) $ECHO_C" >&6
75703 else
75704   if test x$gcc_no_link = xyes; then
75705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75707    { (exit 1); exit 1; }; }
75708 fi
75709 cat >conftest.$ac_ext <<_ACEOF
75710 /* confdefs.h.  */
75711 _ACEOF
75712 cat confdefs.h >>conftest.$ac_ext
75713 cat >>conftest.$ac_ext <<_ACEOF
75714 /* end confdefs.h.  */
75715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75717 #define $ac_func innocuous_$ac_func
75718
75719 /* System header to define __stub macros and hopefully few prototypes,
75720     which can conflict with char $ac_func (); below.
75721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75722     <limits.h> exists even on freestanding compilers.  */
75723
75724 #ifdef __STDC__
75725 # include <limits.h>
75726 #else
75727 # include <assert.h>
75728 #endif
75729
75730 #undef $ac_func
75731
75732 /* Override any gcc2 internal prototype to avoid an error.  */
75733 #ifdef __cplusplus
75734 extern "C"
75735 {
75736 #endif
75737 /* We use char because int might match the return type of a gcc2
75738    builtin and then its argument prototype would still apply.  */
75739 char $ac_func ();
75740 /* The GNU C library defines this for functions which it implements
75741     to always fail with ENOSYS.  Some functions are actually named
75742     something starting with __ and the normal name is an alias.  */
75743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75744 choke me
75745 #else
75746 char (*f) () = $ac_func;
75747 #endif
75748 #ifdef __cplusplus
75749 }
75750 #endif
75751
75752 int
75753 main ()
75754 {
75755 return f != $ac_func;
75756   ;
75757   return 0;
75758 }
75759 _ACEOF
75760 rm -f conftest.$ac_objext conftest$ac_exeext
75761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75762   (eval $ac_link) 2>conftest.er1
75763   ac_status=$?
75764   grep -v '^ *+' conftest.er1 >conftest.err
75765   rm -f conftest.er1
75766   cat conftest.err >&5
75767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75768   (exit $ac_status); } &&
75769          { ac_try='test -z "$ac_c_werror_flag"
75770                          || test ! -s conftest.err'
75771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75772   (eval $ac_try) 2>&5
75773   ac_status=$?
75774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75775   (exit $ac_status); }; } &&
75776          { ac_try='test -s conftest$ac_exeext'
75777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75778   (eval $ac_try) 2>&5
75779   ac_status=$?
75780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75781   (exit $ac_status); }; }; then
75782   eval "$as_ac_var=yes"
75783 else
75784   echo "$as_me: failed program was:" >&5
75785 sed 's/^/| /' conftest.$ac_ext >&5
75786
75787 eval "$as_ac_var=no"
75788 fi
75789 rm -f conftest.err conftest.$ac_objext \
75790       conftest$ac_exeext conftest.$ac_ext
75791 fi
75792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75794 if test `eval echo '${'$as_ac_var'}'` = yes; then
75795   cat >>confdefs.h <<_ACEOF
75796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75797 _ACEOF
75798
75799 else
75800   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75801 fi
75802 done
75803
75804   fi
75805
75806   # Used in libmath/Makefile.am.
75807   if test -n "$LIBMATHOBJS"; then
75808     need_libmath=yes
75809   fi
75810
75811
75812
75813   # Test wchar.h for mbstate_t, which is needed for char_traits and
75814   # others even if wchar_t support is not on.
75815   echo "$as_me:$LINENO: checking for mbstate_t" >&5
75816 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75817   cat >conftest.$ac_ext <<_ACEOF
75818 /* confdefs.h.  */
75819 _ACEOF
75820 cat confdefs.h >>conftest.$ac_ext
75821 cat >>conftest.$ac_ext <<_ACEOF
75822 /* end confdefs.h.  */
75823 #include <wchar.h>
75824 int
75825 main ()
75826 {
75827 mbstate_t teststate;
75828   ;
75829   return 0;
75830 }
75831 _ACEOF
75832 rm -f conftest.$ac_objext
75833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75834   (eval $ac_compile) 2>conftest.er1
75835   ac_status=$?
75836   grep -v '^ *+' conftest.er1 >conftest.err
75837   rm -f conftest.er1
75838   cat conftest.err >&5
75839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75840   (exit $ac_status); } &&
75841          { ac_try='test -z "$ac_c_werror_flag"
75842                          || test ! -s conftest.err'
75843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75844   (eval $ac_try) 2>&5
75845   ac_status=$?
75846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75847   (exit $ac_status); }; } &&
75848          { ac_try='test -s conftest.$ac_objext'
75849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75850   (eval $ac_try) 2>&5
75851   ac_status=$?
75852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75853   (exit $ac_status); }; }; then
75854   have_mbstate_t=yes
75855 else
75856   echo "$as_me: failed program was:" >&5
75857 sed 's/^/| /' conftest.$ac_ext >&5
75858
75859 have_mbstate_t=no
75860 fi
75861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75862   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75863 echo "${ECHO_T}$have_mbstate_t" >&6
75864   if test x"$have_mbstate_t" = xyes; then
75865     cat >>confdefs.h <<\_ACEOF
75866 #define HAVE_MBSTATE_T 1
75867 _ACEOF
75868
75869   fi
75870
75871   # Sanity check for existence of ISO C99 headers for extended encoding.
75872
75873 for ac_header in wchar.h
75874 do
75875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75877   echo "$as_me:$LINENO: checking for $ac_header" >&5
75878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75880   echo $ECHO_N "(cached) $ECHO_C" >&6
75881 fi
75882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75884 else
75885   # Is the header compilable?
75886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75888 cat >conftest.$ac_ext <<_ACEOF
75889 /* confdefs.h.  */
75890 _ACEOF
75891 cat confdefs.h >>conftest.$ac_ext
75892 cat >>conftest.$ac_ext <<_ACEOF
75893 /* end confdefs.h.  */
75894 $ac_includes_default
75895 #include <$ac_header>
75896 _ACEOF
75897 rm -f conftest.$ac_objext
75898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75899   (eval $ac_compile) 2>conftest.er1
75900   ac_status=$?
75901   grep -v '^ *+' conftest.er1 >conftest.err
75902   rm -f conftest.er1
75903   cat conftest.err >&5
75904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75905   (exit $ac_status); } &&
75906          { ac_try='test -z "$ac_c_werror_flag"
75907                          || test ! -s conftest.err'
75908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75909   (eval $ac_try) 2>&5
75910   ac_status=$?
75911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75912   (exit $ac_status); }; } &&
75913          { ac_try='test -s conftest.$ac_objext'
75914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75915   (eval $ac_try) 2>&5
75916   ac_status=$?
75917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75918   (exit $ac_status); }; }; then
75919   ac_header_compiler=yes
75920 else
75921   echo "$as_me: failed program was:" >&5
75922 sed 's/^/| /' conftest.$ac_ext >&5
75923
75924 ac_header_compiler=no
75925 fi
75926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75928 echo "${ECHO_T}$ac_header_compiler" >&6
75929
75930 # Is the header present?
75931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75933 cat >conftest.$ac_ext <<_ACEOF
75934 /* confdefs.h.  */
75935 _ACEOF
75936 cat confdefs.h >>conftest.$ac_ext
75937 cat >>conftest.$ac_ext <<_ACEOF
75938 /* end confdefs.h.  */
75939 #include <$ac_header>
75940 _ACEOF
75941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75942   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75943   ac_status=$?
75944   grep -v '^ *+' conftest.er1 >conftest.err
75945   rm -f conftest.er1
75946   cat conftest.err >&5
75947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75948   (exit $ac_status); } >/dev/null; then
75949   if test -s conftest.err; then
75950     ac_cpp_err=$ac_c_preproc_warn_flag
75951     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75952   else
75953     ac_cpp_err=
75954   fi
75955 else
75956   ac_cpp_err=yes
75957 fi
75958 if test -z "$ac_cpp_err"; then
75959   ac_header_preproc=yes
75960 else
75961   echo "$as_me: failed program was:" >&5
75962 sed 's/^/| /' conftest.$ac_ext >&5
75963
75964   ac_header_preproc=no
75965 fi
75966 rm -f conftest.err conftest.$ac_ext
75967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75968 echo "${ECHO_T}$ac_header_preproc" >&6
75969
75970 # So?  What about this header?
75971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75972   yes:no: )
75973     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75975     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75977     ac_header_preproc=yes
75978     ;;
75979   no:yes:* )
75980     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75982     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75983 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75984     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75986     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75987 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75988     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75990     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75992     (
75993       cat <<\_ASBOX
75994 ## ----------------------------------------- ##
75995 ## Report this to the package-unused lists.  ##
75996 ## ----------------------------------------- ##
75997 _ASBOX
75998     ) |
75999       sed "s/^/$as_me: WARNING:     /" >&2
76000     ;;
76001 esac
76002 echo "$as_me:$LINENO: checking for $ac_header" >&5
76003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76005   echo $ECHO_N "(cached) $ECHO_C" >&6
76006 else
76007   eval "$as_ac_Header=\$ac_header_preproc"
76008 fi
76009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76011
76012 fi
76013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76014   cat >>confdefs.h <<_ACEOF
76015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76016 _ACEOF
76017  ac_has_wchar_h=yes
76018 else
76019   ac_has_wchar_h=no
76020 fi
76021
76022 done
76023
76024
76025 for ac_header in wctype.h
76026 do
76027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76029   echo "$as_me:$LINENO: checking for $ac_header" >&5
76030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76032   echo $ECHO_N "(cached) $ECHO_C" >&6
76033 fi
76034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76036 else
76037   # Is the header compilable?
76038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76040 cat >conftest.$ac_ext <<_ACEOF
76041 /* confdefs.h.  */
76042 _ACEOF
76043 cat confdefs.h >>conftest.$ac_ext
76044 cat >>conftest.$ac_ext <<_ACEOF
76045 /* end confdefs.h.  */
76046 $ac_includes_default
76047 #include <$ac_header>
76048 _ACEOF
76049 rm -f conftest.$ac_objext
76050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76051   (eval $ac_compile) 2>conftest.er1
76052   ac_status=$?
76053   grep -v '^ *+' conftest.er1 >conftest.err
76054   rm -f conftest.er1
76055   cat conftest.err >&5
76056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76057   (exit $ac_status); } &&
76058          { ac_try='test -z "$ac_c_werror_flag"
76059                          || test ! -s conftest.err'
76060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76061   (eval $ac_try) 2>&5
76062   ac_status=$?
76063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76064   (exit $ac_status); }; } &&
76065          { ac_try='test -s conftest.$ac_objext'
76066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76067   (eval $ac_try) 2>&5
76068   ac_status=$?
76069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76070   (exit $ac_status); }; }; then
76071   ac_header_compiler=yes
76072 else
76073   echo "$as_me: failed program was:" >&5
76074 sed 's/^/| /' conftest.$ac_ext >&5
76075
76076 ac_header_compiler=no
76077 fi
76078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76080 echo "${ECHO_T}$ac_header_compiler" >&6
76081
76082 # Is the header present?
76083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76085 cat >conftest.$ac_ext <<_ACEOF
76086 /* confdefs.h.  */
76087 _ACEOF
76088 cat confdefs.h >>conftest.$ac_ext
76089 cat >>conftest.$ac_ext <<_ACEOF
76090 /* end confdefs.h.  */
76091 #include <$ac_header>
76092 _ACEOF
76093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76094   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76095   ac_status=$?
76096   grep -v '^ *+' conftest.er1 >conftest.err
76097   rm -f conftest.er1
76098   cat conftest.err >&5
76099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76100   (exit $ac_status); } >/dev/null; then
76101   if test -s conftest.err; then
76102     ac_cpp_err=$ac_c_preproc_warn_flag
76103     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76104   else
76105     ac_cpp_err=
76106   fi
76107 else
76108   ac_cpp_err=yes
76109 fi
76110 if test -z "$ac_cpp_err"; then
76111   ac_header_preproc=yes
76112 else
76113   echo "$as_me: failed program was:" >&5
76114 sed 's/^/| /' conftest.$ac_ext >&5
76115
76116   ac_header_preproc=no
76117 fi
76118 rm -f conftest.err conftest.$ac_ext
76119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76120 echo "${ECHO_T}$ac_header_preproc" >&6
76121
76122 # So?  What about this header?
76123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76124   yes:no: )
76125     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76127     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76129     ac_header_preproc=yes
76130     ;;
76131   no:yes:* )
76132     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76134     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76135 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76136     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76138     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76139 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76140     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76142     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76144     (
76145       cat <<\_ASBOX
76146 ## ----------------------------------------- ##
76147 ## Report this to the package-unused lists.  ##
76148 ## ----------------------------------------- ##
76149 _ASBOX
76150     ) |
76151       sed "s/^/$as_me: WARNING:     /" >&2
76152     ;;
76153 esac
76154 echo "$as_me:$LINENO: checking for $ac_header" >&5
76155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76157   echo $ECHO_N "(cached) $ECHO_C" >&6
76158 else
76159   eval "$as_ac_Header=\$ac_header_preproc"
76160 fi
76161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76163
76164 fi
76165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76166   cat >>confdefs.h <<_ACEOF
76167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76168 _ACEOF
76169  ac_has_wctype_h=yes
76170 else
76171   ac_has_wctype_h=no
76172 fi
76173
76174 done
76175
76176
76177   # Only continue checking if the ISO C99 headers exist and support is on.
76178   if test x"$ac_has_wchar_h" = xyes &&
76179      test x"$ac_has_wctype_h" = xyes &&
76180      test x"$enable_c_mbchar" != xno; then
76181
76182     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76183     # numeric_limits can instantiate type_traits<wchar_t>
76184     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76185 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76186     cat >conftest.$ac_ext <<_ACEOF
76187 /* confdefs.h.  */
76188 _ACEOF
76189 cat confdefs.h >>conftest.$ac_ext
76190 cat >>conftest.$ac_ext <<_ACEOF
76191 /* end confdefs.h.  */
76192 #include <wchar.h>
76193 int
76194 main ()
76195 {
76196 int i = WCHAR_MIN; int j = WCHAR_MAX;
76197   ;
76198   return 0;
76199 }
76200 _ACEOF
76201 rm -f conftest.$ac_objext
76202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76203   (eval $ac_compile) 2>conftest.er1
76204   ac_status=$?
76205   grep -v '^ *+' conftest.er1 >conftest.err
76206   rm -f conftest.er1
76207   cat conftest.err >&5
76208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76209   (exit $ac_status); } &&
76210          { ac_try='test -z "$ac_c_werror_flag"
76211                          || test ! -s conftest.err'
76212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76213   (eval $ac_try) 2>&5
76214   ac_status=$?
76215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76216   (exit $ac_status); }; } &&
76217          { ac_try='test -s conftest.$ac_objext'
76218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76219   (eval $ac_try) 2>&5
76220   ac_status=$?
76221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76222   (exit $ac_status); }; }; then
76223   has_wchar_minmax=yes
76224 else
76225   echo "$as_me: failed program was:" >&5
76226 sed 's/^/| /' conftest.$ac_ext >&5
76227
76228 has_wchar_minmax=no
76229 fi
76230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76231     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76232 echo "${ECHO_T}$has_wchar_minmax" >&6
76233
76234     # Test wchar.h for WEOF, which is what we use to determine whether
76235     # to specialize for char_traits<wchar_t> or not.
76236     echo "$as_me:$LINENO: checking for WEOF" >&5
76237 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76238     cat >conftest.$ac_ext <<_ACEOF
76239 /* confdefs.h.  */
76240 _ACEOF
76241 cat confdefs.h >>conftest.$ac_ext
76242 cat >>conftest.$ac_ext <<_ACEOF
76243 /* end confdefs.h.  */
76244
76245       #include <wchar.h>
76246       #include <stddef.h>
76247 int
76248 main ()
76249 {
76250 wint_t i = WEOF;
76251   ;
76252   return 0;
76253 }
76254 _ACEOF
76255 rm -f conftest.$ac_objext
76256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76257   (eval $ac_compile) 2>conftest.er1
76258   ac_status=$?
76259   grep -v '^ *+' conftest.er1 >conftest.err
76260   rm -f conftest.er1
76261   cat conftest.err >&5
76262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76263   (exit $ac_status); } &&
76264          { ac_try='test -z "$ac_c_werror_flag"
76265                          || test ! -s conftest.err'
76266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76267   (eval $ac_try) 2>&5
76268   ac_status=$?
76269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76270   (exit $ac_status); }; } &&
76271          { ac_try='test -s conftest.$ac_objext'
76272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76273   (eval $ac_try) 2>&5
76274   ac_status=$?
76275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76276   (exit $ac_status); }; }; then
76277   has_weof=yes
76278 else
76279   echo "$as_me: failed program was:" >&5
76280 sed 's/^/| /' conftest.$ac_ext >&5
76281
76282 has_weof=no
76283 fi
76284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76285     echo "$as_me:$LINENO: result: $has_weof" >&5
76286 echo "${ECHO_T}$has_weof" >&6
76287
76288     # Tests for wide character functions used in char_traits<wchar_t>.
76289     ac_wfuncs=yes
76290
76291
76292
76293
76294
76295
76296 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76297 do
76298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76299 echo "$as_me:$LINENO: checking for $ac_func" >&5
76300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76301 if eval "test \"\${$as_ac_var+set}\" = set"; then
76302   echo $ECHO_N "(cached) $ECHO_C" >&6
76303 else
76304   if test x$gcc_no_link = xyes; then
76305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76307    { (exit 1); exit 1; }; }
76308 fi
76309 cat >conftest.$ac_ext <<_ACEOF
76310 /* confdefs.h.  */
76311 _ACEOF
76312 cat confdefs.h >>conftest.$ac_ext
76313 cat >>conftest.$ac_ext <<_ACEOF
76314 /* end confdefs.h.  */
76315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76317 #define $ac_func innocuous_$ac_func
76318
76319 /* System header to define __stub macros and hopefully few prototypes,
76320     which can conflict with char $ac_func (); below.
76321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76322     <limits.h> exists even on freestanding compilers.  */
76323
76324 #ifdef __STDC__
76325 # include <limits.h>
76326 #else
76327 # include <assert.h>
76328 #endif
76329
76330 #undef $ac_func
76331
76332 /* Override any gcc2 internal prototype to avoid an error.  */
76333 #ifdef __cplusplus
76334 extern "C"
76335 {
76336 #endif
76337 /* We use char because int might match the return type of a gcc2
76338    builtin and then its argument prototype would still apply.  */
76339 char $ac_func ();
76340 /* The GNU C library defines this for functions which it implements
76341     to always fail with ENOSYS.  Some functions are actually named
76342     something starting with __ and the normal name is an alias.  */
76343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76344 choke me
76345 #else
76346 char (*f) () = $ac_func;
76347 #endif
76348 #ifdef __cplusplus
76349 }
76350 #endif
76351
76352 int
76353 main ()
76354 {
76355 return f != $ac_func;
76356   ;
76357   return 0;
76358 }
76359 _ACEOF
76360 rm -f conftest.$ac_objext conftest$ac_exeext
76361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76362   (eval $ac_link) 2>conftest.er1
76363   ac_status=$?
76364   grep -v '^ *+' conftest.er1 >conftest.err
76365   rm -f conftest.er1
76366   cat conftest.err >&5
76367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76368   (exit $ac_status); } &&
76369          { ac_try='test -z "$ac_c_werror_flag"
76370                          || test ! -s conftest.err'
76371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76372   (eval $ac_try) 2>&5
76373   ac_status=$?
76374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76375   (exit $ac_status); }; } &&
76376          { ac_try='test -s conftest$ac_exeext'
76377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76378   (eval $ac_try) 2>&5
76379   ac_status=$?
76380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76381   (exit $ac_status); }; }; then
76382   eval "$as_ac_var=yes"
76383 else
76384   echo "$as_me: failed program was:" >&5
76385 sed 's/^/| /' conftest.$ac_ext >&5
76386
76387 eval "$as_ac_var=no"
76388 fi
76389 rm -f conftest.err conftest.$ac_objext \
76390       conftest$ac_exeext conftest.$ac_ext
76391 fi
76392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76394 if test `eval echo '${'$as_ac_var'}'` = yes; then
76395   cat >>confdefs.h <<_ACEOF
76396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76397 _ACEOF
76398
76399 else
76400   ac_wfuncs=no
76401 fi
76402 done
76403
76404
76405     # Checks for names injected into std:: by the c_std headers.
76406
76407
76408
76409
76410
76411
76412
76413
76414
76415
76416
76417
76418
76419
76420
76421
76422
76423
76424
76425
76426
76427
76428
76429
76430
76431
76432
76433
76434
76435
76436
76437
76438
76439
76440
76441
76442
76443
76444
76445
76446
76447
76448
76449
76450
76451
76452 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76453     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76454     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76455     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76456     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76457     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76458 do
76459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76460 echo "$as_me:$LINENO: checking for $ac_func" >&5
76461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76462 if eval "test \"\${$as_ac_var+set}\" = set"; then
76463   echo $ECHO_N "(cached) $ECHO_C" >&6
76464 else
76465   if test x$gcc_no_link = xyes; then
76466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76468    { (exit 1); exit 1; }; }
76469 fi
76470 cat >conftest.$ac_ext <<_ACEOF
76471 /* confdefs.h.  */
76472 _ACEOF
76473 cat confdefs.h >>conftest.$ac_ext
76474 cat >>conftest.$ac_ext <<_ACEOF
76475 /* end confdefs.h.  */
76476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76478 #define $ac_func innocuous_$ac_func
76479
76480 /* System header to define __stub macros and hopefully few prototypes,
76481     which can conflict with char $ac_func (); below.
76482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76483     <limits.h> exists even on freestanding compilers.  */
76484
76485 #ifdef __STDC__
76486 # include <limits.h>
76487 #else
76488 # include <assert.h>
76489 #endif
76490
76491 #undef $ac_func
76492
76493 /* Override any gcc2 internal prototype to avoid an error.  */
76494 #ifdef __cplusplus
76495 extern "C"
76496 {
76497 #endif
76498 /* We use char because int might match the return type of a gcc2
76499    builtin and then its argument prototype would still apply.  */
76500 char $ac_func ();
76501 /* The GNU C library defines this for functions which it implements
76502     to always fail with ENOSYS.  Some functions are actually named
76503     something starting with __ and the normal name is an alias.  */
76504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76505 choke me
76506 #else
76507 char (*f) () = $ac_func;
76508 #endif
76509 #ifdef __cplusplus
76510 }
76511 #endif
76512
76513 int
76514 main ()
76515 {
76516 return f != $ac_func;
76517   ;
76518   return 0;
76519 }
76520 _ACEOF
76521 rm -f conftest.$ac_objext conftest$ac_exeext
76522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76523   (eval $ac_link) 2>conftest.er1
76524   ac_status=$?
76525   grep -v '^ *+' conftest.er1 >conftest.err
76526   rm -f conftest.er1
76527   cat conftest.err >&5
76528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76529   (exit $ac_status); } &&
76530          { ac_try='test -z "$ac_c_werror_flag"
76531                          || test ! -s conftest.err'
76532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76533   (eval $ac_try) 2>&5
76534   ac_status=$?
76535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76536   (exit $ac_status); }; } &&
76537          { ac_try='test -s conftest$ac_exeext'
76538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76539   (eval $ac_try) 2>&5
76540   ac_status=$?
76541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76542   (exit $ac_status); }; }; then
76543   eval "$as_ac_var=yes"
76544 else
76545   echo "$as_me: failed program was:" >&5
76546 sed 's/^/| /' conftest.$ac_ext >&5
76547
76548 eval "$as_ac_var=no"
76549 fi
76550 rm -f conftest.err conftest.$ac_objext \
76551       conftest$ac_exeext conftest.$ac_ext
76552 fi
76553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76555 if test `eval echo '${'$as_ac_var'}'` = yes; then
76556   cat >>confdefs.h <<_ACEOF
76557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76558 _ACEOF
76559
76560 else
76561   ac_wfuncs=no
76562 fi
76563 done
76564
76565
76566     # Checks for wide character functions that are not required
76567     # for basic wchar_t support.  Don't disable support if they are missing.
76568     # Injection of these is wrapped with guard macros.
76569
76570
76571
76572
76573
76574 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76575 do
76576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76577 echo "$as_me:$LINENO: checking for $ac_func" >&5
76578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76579 if eval "test \"\${$as_ac_var+set}\" = set"; then
76580   echo $ECHO_N "(cached) $ECHO_C" >&6
76581 else
76582   if test x$gcc_no_link = xyes; then
76583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76585    { (exit 1); exit 1; }; }
76586 fi
76587 cat >conftest.$ac_ext <<_ACEOF
76588 /* confdefs.h.  */
76589 _ACEOF
76590 cat confdefs.h >>conftest.$ac_ext
76591 cat >>conftest.$ac_ext <<_ACEOF
76592 /* end confdefs.h.  */
76593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76595 #define $ac_func innocuous_$ac_func
76596
76597 /* System header to define __stub macros and hopefully few prototypes,
76598     which can conflict with char $ac_func (); below.
76599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76600     <limits.h> exists even on freestanding compilers.  */
76601
76602 #ifdef __STDC__
76603 # include <limits.h>
76604 #else
76605 # include <assert.h>
76606 #endif
76607
76608 #undef $ac_func
76609
76610 /* Override any gcc2 internal prototype to avoid an error.  */
76611 #ifdef __cplusplus
76612 extern "C"
76613 {
76614 #endif
76615 /* We use char because int might match the return type of a gcc2
76616    builtin and then its argument prototype would still apply.  */
76617 char $ac_func ();
76618 /* The GNU C library defines this for functions which it implements
76619     to always fail with ENOSYS.  Some functions are actually named
76620     something starting with __ and the normal name is an alias.  */
76621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76622 choke me
76623 #else
76624 char (*f) () = $ac_func;
76625 #endif
76626 #ifdef __cplusplus
76627 }
76628 #endif
76629
76630 int
76631 main ()
76632 {
76633 return f != $ac_func;
76634   ;
76635   return 0;
76636 }
76637 _ACEOF
76638 rm -f conftest.$ac_objext conftest$ac_exeext
76639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76640   (eval $ac_link) 2>conftest.er1
76641   ac_status=$?
76642   grep -v '^ *+' conftest.er1 >conftest.err
76643   rm -f conftest.er1
76644   cat conftest.err >&5
76645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76646   (exit $ac_status); } &&
76647          { ac_try='test -z "$ac_c_werror_flag"
76648                          || test ! -s conftest.err'
76649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76650   (eval $ac_try) 2>&5
76651   ac_status=$?
76652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76653   (exit $ac_status); }; } &&
76654          { ac_try='test -s conftest$ac_exeext'
76655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76656   (eval $ac_try) 2>&5
76657   ac_status=$?
76658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76659   (exit $ac_status); }; }; then
76660   eval "$as_ac_var=yes"
76661 else
76662   echo "$as_me: failed program was:" >&5
76663 sed 's/^/| /' conftest.$ac_ext >&5
76664
76665 eval "$as_ac_var=no"
76666 fi
76667 rm -f conftest.err conftest.$ac_objext \
76668       conftest$ac_exeext conftest.$ac_ext
76669 fi
76670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76672 if test `eval echo '${'$as_ac_var'}'` = yes; then
76673   cat >>confdefs.h <<_ACEOF
76674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76675 _ACEOF
76676
76677 fi
76678 done
76679
76680
76681     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76682 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76683     if test x"$has_weof" = xyes &&
76684        test x"$has_wchar_minmax" = xyes &&
76685        test x"$ac_wfuncs" = xyes;
76686     then
76687       ac_isoC99_wchar_t=yes
76688     else
76689       ac_isoC99_wchar_t=no
76690     fi
76691     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76692 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76693
76694     # Use iconv for wchar_t to char conversions. As such, check for
76695     # X/Open Portability Guide, version 2 features (XPG2).
76696     if test "${ac_cv_header_iconv_h+set}" = set; then
76697   echo "$as_me:$LINENO: checking for iconv.h" >&5
76698 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76699 if test "${ac_cv_header_iconv_h+set}" = set; then
76700   echo $ECHO_N "(cached) $ECHO_C" >&6
76701 fi
76702 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76703 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76704 else
76705   # Is the header compilable?
76706 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76707 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76708 cat >conftest.$ac_ext <<_ACEOF
76709 /* confdefs.h.  */
76710 _ACEOF
76711 cat confdefs.h >>conftest.$ac_ext
76712 cat >>conftest.$ac_ext <<_ACEOF
76713 /* end confdefs.h.  */
76714 $ac_includes_default
76715 #include <iconv.h>
76716 _ACEOF
76717 rm -f conftest.$ac_objext
76718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76719   (eval $ac_compile) 2>conftest.er1
76720   ac_status=$?
76721   grep -v '^ *+' conftest.er1 >conftest.err
76722   rm -f conftest.er1
76723   cat conftest.err >&5
76724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76725   (exit $ac_status); } &&
76726          { ac_try='test -z "$ac_c_werror_flag"
76727                          || test ! -s conftest.err'
76728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76729   (eval $ac_try) 2>&5
76730   ac_status=$?
76731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76732   (exit $ac_status); }; } &&
76733          { ac_try='test -s conftest.$ac_objext'
76734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76735   (eval $ac_try) 2>&5
76736   ac_status=$?
76737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76738   (exit $ac_status); }; }; then
76739   ac_header_compiler=yes
76740 else
76741   echo "$as_me: failed program was:" >&5
76742 sed 's/^/| /' conftest.$ac_ext >&5
76743
76744 ac_header_compiler=no
76745 fi
76746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76748 echo "${ECHO_T}$ac_header_compiler" >&6
76749
76750 # Is the header present?
76751 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76752 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76753 cat >conftest.$ac_ext <<_ACEOF
76754 /* confdefs.h.  */
76755 _ACEOF
76756 cat confdefs.h >>conftest.$ac_ext
76757 cat >>conftest.$ac_ext <<_ACEOF
76758 /* end confdefs.h.  */
76759 #include <iconv.h>
76760 _ACEOF
76761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76762   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76763   ac_status=$?
76764   grep -v '^ *+' conftest.er1 >conftest.err
76765   rm -f conftest.er1
76766   cat conftest.err >&5
76767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76768   (exit $ac_status); } >/dev/null; then
76769   if test -s conftest.err; then
76770     ac_cpp_err=$ac_c_preproc_warn_flag
76771     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76772   else
76773     ac_cpp_err=
76774   fi
76775 else
76776   ac_cpp_err=yes
76777 fi
76778 if test -z "$ac_cpp_err"; then
76779   ac_header_preproc=yes
76780 else
76781   echo "$as_me: failed program was:" >&5
76782 sed 's/^/| /' conftest.$ac_ext >&5
76783
76784   ac_header_preproc=no
76785 fi
76786 rm -f conftest.err conftest.$ac_ext
76787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76788 echo "${ECHO_T}$ac_header_preproc" >&6
76789
76790 # So?  What about this header?
76791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76792   yes:no: )
76793     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76794 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76795     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76796 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76797     ac_header_preproc=yes
76798     ;;
76799   no:yes:* )
76800     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76801 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76802     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76803 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76804     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76805 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76806     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76807 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76808     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76809 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76810     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76811 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76812     (
76813       cat <<\_ASBOX
76814 ## ----------------------------------------- ##
76815 ## Report this to the package-unused lists.  ##
76816 ## ----------------------------------------- ##
76817 _ASBOX
76818     ) |
76819       sed "s/^/$as_me: WARNING:     /" >&2
76820     ;;
76821 esac
76822 echo "$as_me:$LINENO: checking for iconv.h" >&5
76823 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76824 if test "${ac_cv_header_iconv_h+set}" = set; then
76825   echo $ECHO_N "(cached) $ECHO_C" >&6
76826 else
76827   ac_cv_header_iconv_h=$ac_header_preproc
76828 fi
76829 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76830 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76831
76832 fi
76833 if test $ac_cv_header_iconv_h = yes; then
76834   ac_has_iconv_h=yes
76835 else
76836   ac_has_iconv_h=no
76837 fi
76838
76839
76840     if test "${ac_cv_header_langinfo_h+set}" = set; then
76841   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76842 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76843 if test "${ac_cv_header_langinfo_h+set}" = set; then
76844   echo $ECHO_N "(cached) $ECHO_C" >&6
76845 fi
76846 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76847 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76848 else
76849   # Is the header compilable?
76850 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76851 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76852 cat >conftest.$ac_ext <<_ACEOF
76853 /* confdefs.h.  */
76854 _ACEOF
76855 cat confdefs.h >>conftest.$ac_ext
76856 cat >>conftest.$ac_ext <<_ACEOF
76857 /* end confdefs.h.  */
76858 $ac_includes_default
76859 #include <langinfo.h>
76860 _ACEOF
76861 rm -f conftest.$ac_objext
76862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76863   (eval $ac_compile) 2>conftest.er1
76864   ac_status=$?
76865   grep -v '^ *+' conftest.er1 >conftest.err
76866   rm -f conftest.er1
76867   cat conftest.err >&5
76868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76869   (exit $ac_status); } &&
76870          { ac_try='test -z "$ac_c_werror_flag"
76871                          || test ! -s conftest.err'
76872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76873   (eval $ac_try) 2>&5
76874   ac_status=$?
76875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76876   (exit $ac_status); }; } &&
76877          { ac_try='test -s conftest.$ac_objext'
76878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76879   (eval $ac_try) 2>&5
76880   ac_status=$?
76881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76882   (exit $ac_status); }; }; then
76883   ac_header_compiler=yes
76884 else
76885   echo "$as_me: failed program was:" >&5
76886 sed 's/^/| /' conftest.$ac_ext >&5
76887
76888 ac_header_compiler=no
76889 fi
76890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76892 echo "${ECHO_T}$ac_header_compiler" >&6
76893
76894 # Is the header present?
76895 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76896 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76897 cat >conftest.$ac_ext <<_ACEOF
76898 /* confdefs.h.  */
76899 _ACEOF
76900 cat confdefs.h >>conftest.$ac_ext
76901 cat >>conftest.$ac_ext <<_ACEOF
76902 /* end confdefs.h.  */
76903 #include <langinfo.h>
76904 _ACEOF
76905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76906   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76907   ac_status=$?
76908   grep -v '^ *+' conftest.er1 >conftest.err
76909   rm -f conftest.er1
76910   cat conftest.err >&5
76911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76912   (exit $ac_status); } >/dev/null; then
76913   if test -s conftest.err; then
76914     ac_cpp_err=$ac_c_preproc_warn_flag
76915     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76916   else
76917     ac_cpp_err=
76918   fi
76919 else
76920   ac_cpp_err=yes
76921 fi
76922 if test -z "$ac_cpp_err"; then
76923   ac_header_preproc=yes
76924 else
76925   echo "$as_me: failed program was:" >&5
76926 sed 's/^/| /' conftest.$ac_ext >&5
76927
76928   ac_header_preproc=no
76929 fi
76930 rm -f conftest.err conftest.$ac_ext
76931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76932 echo "${ECHO_T}$ac_header_preproc" >&6
76933
76934 # So?  What about this header?
76935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76936   yes:no: )
76937     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76938 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76939     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76940 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76941     ac_header_preproc=yes
76942     ;;
76943   no:yes:* )
76944     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76945 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76946     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76947 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76948     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76949 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76950     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76951 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76952     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76953 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76954     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76955 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76956     (
76957       cat <<\_ASBOX
76958 ## ----------------------------------------- ##
76959 ## Report this to the package-unused lists.  ##
76960 ## ----------------------------------------- ##
76961 _ASBOX
76962     ) |
76963       sed "s/^/$as_me: WARNING:     /" >&2
76964     ;;
76965 esac
76966 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76967 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76968 if test "${ac_cv_header_langinfo_h+set}" = set; then
76969   echo $ECHO_N "(cached) $ECHO_C" >&6
76970 else
76971   ac_cv_header_langinfo_h=$ac_header_preproc
76972 fi
76973 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76974 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76975
76976 fi
76977 if test $ac_cv_header_langinfo_h = yes; then
76978   ac_has_langinfo_h=yes
76979 else
76980   ac_has_langinfo_h=no
76981 fi
76982
76983
76984
76985     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76986     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76987 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76988 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76989   echo $ECHO_N "(cached) $ECHO_C" >&6
76990 else
76991   ac_check_lib_save_LIBS=$LIBS
76992 LIBS="-liconv  $LIBS"
76993 if test x$gcc_no_link = xyes; then
76994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76996    { (exit 1); exit 1; }; }
76997 fi
76998 cat >conftest.$ac_ext <<_ACEOF
76999 /* confdefs.h.  */
77000 _ACEOF
77001 cat confdefs.h >>conftest.$ac_ext
77002 cat >>conftest.$ac_ext <<_ACEOF
77003 /* end confdefs.h.  */
77004
77005 /* Override any gcc2 internal prototype to avoid an error.  */
77006 #ifdef __cplusplus
77007 extern "C"
77008 #endif
77009 /* We use char because int might match the return type of a gcc2
77010    builtin and then its argument prototype would still apply.  */
77011 char iconv ();
77012 int
77013 main ()
77014 {
77015 iconv ();
77016   ;
77017   return 0;
77018 }
77019 _ACEOF
77020 rm -f conftest.$ac_objext conftest$ac_exeext
77021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77022   (eval $ac_link) 2>conftest.er1
77023   ac_status=$?
77024   grep -v '^ *+' conftest.er1 >conftest.err
77025   rm -f conftest.er1
77026   cat conftest.err >&5
77027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77028   (exit $ac_status); } &&
77029          { ac_try='test -z "$ac_c_werror_flag"
77030                          || test ! -s conftest.err'
77031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77032   (eval $ac_try) 2>&5
77033   ac_status=$?
77034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77035   (exit $ac_status); }; } &&
77036          { ac_try='test -s conftest$ac_exeext'
77037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77038   (eval $ac_try) 2>&5
77039   ac_status=$?
77040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77041   (exit $ac_status); }; }; then
77042   ac_cv_lib_iconv_iconv=yes
77043 else
77044   echo "$as_me: failed program was:" >&5
77045 sed 's/^/| /' conftest.$ac_ext >&5
77046
77047 ac_cv_lib_iconv_iconv=no
77048 fi
77049 rm -f conftest.err conftest.$ac_objext \
77050       conftest$ac_exeext conftest.$ac_ext
77051 LIBS=$ac_check_lib_save_LIBS
77052 fi
77053 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77054 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77055 if test $ac_cv_lib_iconv_iconv = yes; then
77056   libiconv="-liconv"
77057 fi
77058
77059     ac_save_LIBS="$LIBS"
77060     LIBS="$LIBS $libiconv"
77061
77062
77063
77064
77065
77066 for ac_func in iconv_open iconv_close iconv nl_langinfo
77067 do
77068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77069 echo "$as_me:$LINENO: checking for $ac_func" >&5
77070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77071 if eval "test \"\${$as_ac_var+set}\" = set"; then
77072   echo $ECHO_N "(cached) $ECHO_C" >&6
77073 else
77074   if test x$gcc_no_link = xyes; then
77075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77077    { (exit 1); exit 1; }; }
77078 fi
77079 cat >conftest.$ac_ext <<_ACEOF
77080 /* confdefs.h.  */
77081 _ACEOF
77082 cat confdefs.h >>conftest.$ac_ext
77083 cat >>conftest.$ac_ext <<_ACEOF
77084 /* end confdefs.h.  */
77085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77087 #define $ac_func innocuous_$ac_func
77088
77089 /* System header to define __stub macros and hopefully few prototypes,
77090     which can conflict with char $ac_func (); below.
77091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77092     <limits.h> exists even on freestanding compilers.  */
77093
77094 #ifdef __STDC__
77095 # include <limits.h>
77096 #else
77097 # include <assert.h>
77098 #endif
77099
77100 #undef $ac_func
77101
77102 /* Override any gcc2 internal prototype to avoid an error.  */
77103 #ifdef __cplusplus
77104 extern "C"
77105 {
77106 #endif
77107 /* We use char because int might match the return type of a gcc2
77108    builtin and then its argument prototype would still apply.  */
77109 char $ac_func ();
77110 /* The GNU C library defines this for functions which it implements
77111     to always fail with ENOSYS.  Some functions are actually named
77112     something starting with __ and the normal name is an alias.  */
77113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77114 choke me
77115 #else
77116 char (*f) () = $ac_func;
77117 #endif
77118 #ifdef __cplusplus
77119 }
77120 #endif
77121
77122 int
77123 main ()
77124 {
77125 return f != $ac_func;
77126   ;
77127   return 0;
77128 }
77129 _ACEOF
77130 rm -f conftest.$ac_objext conftest$ac_exeext
77131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77132   (eval $ac_link) 2>conftest.er1
77133   ac_status=$?
77134   grep -v '^ *+' conftest.er1 >conftest.err
77135   rm -f conftest.er1
77136   cat conftest.err >&5
77137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77138   (exit $ac_status); } &&
77139          { ac_try='test -z "$ac_c_werror_flag"
77140                          || test ! -s conftest.err'
77141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77142   (eval $ac_try) 2>&5
77143   ac_status=$?
77144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77145   (exit $ac_status); }; } &&
77146          { ac_try='test -s conftest$ac_exeext'
77147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77148   (eval $ac_try) 2>&5
77149   ac_status=$?
77150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77151   (exit $ac_status); }; }; then
77152   eval "$as_ac_var=yes"
77153 else
77154   echo "$as_me: failed program was:" >&5
77155 sed 's/^/| /' conftest.$ac_ext >&5
77156
77157 eval "$as_ac_var=no"
77158 fi
77159 rm -f conftest.err conftest.$ac_objext \
77160       conftest$ac_exeext conftest.$ac_ext
77161 fi
77162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77164 if test `eval echo '${'$as_ac_var'}'` = yes; then
77165   cat >>confdefs.h <<_ACEOF
77166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77167 _ACEOF
77168  ac_XPG2funcs=yes
77169 else
77170   ac_XPG2funcs=no
77171 fi
77172 done
77173
77174
77175     LIBS="$ac_save_LIBS"
77176
77177     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77178 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77179     if test x"$ac_has_iconv_h" = xyes &&
77180        test x"$ac_has_langinfo_h" = xyes &&
77181        test x"$ac_XPG2funcs" = xyes;
77182     then
77183       ac_XPG2_wchar_t=yes
77184     else
77185       ac_XPG2_wchar_t=no
77186     fi
77187     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77188 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77189
77190     # At the moment, only enable wchar_t specializations if all the
77191     # above support is present.
77192     if test x"$ac_isoC99_wchar_t" = xyes &&
77193        test x"$ac_XPG2_wchar_t" = xyes;
77194     then
77195       cat >>confdefs.h <<\_ACEOF
77196 #define _GLIBCXX_USE_WCHAR_T 1
77197 _ACEOF
77198
77199       enable_wchar_t=yes
77200     fi
77201   fi
77202   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77203 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77204   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77205 echo "${ECHO_T}$enable_wchar_t" >&6
77206
77207     cat >>confdefs.h <<\_ACEOF
77208 #define HAVE_LC_MESSAGES 1
77209 _ACEOF
77210
77211     cat >>confdefs.h <<\_ACEOF
77212 #define HAVE_GETPAGESIZE 1
77213 _ACEOF
77214
77215     cat >>confdefs.h <<\_ACEOF
77216 #define HAVE_SETENV 1
77217 _ACEOF
77218
77219     cat >>confdefs.h <<\_ACEOF
77220 #define HAVE_SIGSETJMP 1
77221 _ACEOF
77222
77223     cat >>confdefs.h <<\_ACEOF
77224 #define HAVE_COPYSIGN 1
77225 _ACEOF
77226
77227     cat >>confdefs.h <<\_ACEOF
77228 #define HAVE_COPYSIGNF 1
77229 _ACEOF
77230
77231     cat >>confdefs.h <<\_ACEOF
77232 #define HAVE_FINITEF 1
77233 _ACEOF
77234
77235     cat >>confdefs.h <<\_ACEOF
77236 #define HAVE_FINITE 1
77237 _ACEOF
77238
77239     cat >>confdefs.h <<\_ACEOF
77240 #define HAVE_FREXPF 1
77241 _ACEOF
77242
77243     cat >>confdefs.h <<\_ACEOF
77244 #define HAVE_HYPOT 1
77245 _ACEOF
77246
77247     cat >>confdefs.h <<\_ACEOF
77248 #define HAVE_HYPOTF 1
77249 _ACEOF
77250
77251     cat >>confdefs.h <<\_ACEOF
77252 #define HAVE_ISINF 1
77253 _ACEOF
77254
77255     cat >>confdefs.h <<\_ACEOF
77256 #define HAVE_ISNAN 1
77257 _ACEOF
77258
77259     cat >>confdefs.h <<\_ACEOF
77260 #define HAVE_ISNANF 1
77261 _ACEOF
77262
77263
77264     cat >>confdefs.h <<\_ACEOF
77265 #define HAVE_MMAP 1
77266 _ACEOF
77267
77268     cat >>confdefs.h <<\_ACEOF
77269 #define HAVE_ACOSF 1
77270 _ACEOF
77271
77272     cat >>confdefs.h <<\_ACEOF
77273 #define HAVE_ASINF 1
77274 _ACEOF
77275
77276     cat >>confdefs.h <<\_ACEOF
77277 #define HAVE_ATAN2F 1
77278 _ACEOF
77279
77280     cat >>confdefs.h <<\_ACEOF
77281 #define HAVE_ATANF 1
77282 _ACEOF
77283
77284     cat >>confdefs.h <<\_ACEOF
77285 #define HAVE_CEILF 1
77286 _ACEOF
77287
77288     cat >>confdefs.h <<\_ACEOF
77289 #define HAVE_COPYSIGN 1
77290 _ACEOF
77291
77292     cat >>confdefs.h <<\_ACEOF
77293 #define HAVE_COPYSIGNF 1
77294 _ACEOF
77295
77296     cat >>confdefs.h <<\_ACEOF
77297 #define HAVE_COSF 1
77298 _ACEOF
77299
77300     cat >>confdefs.h <<\_ACEOF
77301 #define HAVE_COSHF 1
77302 _ACEOF
77303
77304     cat >>confdefs.h <<\_ACEOF
77305 #define HAVE_EXPF 1
77306 _ACEOF
77307
77308     cat >>confdefs.h <<\_ACEOF
77309 #define HAVE_FABSF 1
77310 _ACEOF
77311
77312     cat >>confdefs.h <<\_ACEOF
77313 #define HAVE_FLOORF 1
77314 _ACEOF
77315
77316     cat >>confdefs.h <<\_ACEOF
77317 #define HAVE_FMODF 1
77318 _ACEOF
77319
77320     cat >>confdefs.h <<\_ACEOF
77321 #define HAVE_FREXPF 1
77322 _ACEOF
77323
77324     cat >>confdefs.h <<\_ACEOF
77325 #define HAVE_LDEXPF 1
77326 _ACEOF
77327
77328     cat >>confdefs.h <<\_ACEOF
77329 #define HAVE_LOG10F 1
77330 _ACEOF
77331
77332     cat >>confdefs.h <<\_ACEOF
77333 #define HAVE_LOGF 1
77334 _ACEOF
77335
77336     cat >>confdefs.h <<\_ACEOF
77337 #define HAVE_MODFF 1
77338 _ACEOF
77339
77340     cat >>confdefs.h <<\_ACEOF
77341 #define HAVE_POWF 1
77342 _ACEOF
77343
77344     cat >>confdefs.h <<\_ACEOF
77345 #define HAVE_SINF 1
77346 _ACEOF
77347
77348     cat >>confdefs.h <<\_ACEOF
77349 #define HAVE_SINHF 1
77350 _ACEOF
77351
77352     cat >>confdefs.h <<\_ACEOF
77353 #define HAVE_SQRTF 1
77354 _ACEOF
77355
77356     cat >>confdefs.h <<\_ACEOF
77357 #define HAVE_TANF 1
77358 _ACEOF
77359
77360     cat >>confdefs.h <<\_ACEOF
77361 #define HAVE_TANHF 1
77362 _ACEOF
77363
77364     if test x"long_double_math_on_this_cpu" = x"yes"; then
77365       cat >>confdefs.h <<\_ACEOF
77366 #define HAVE_FINITEL 1
77367 _ACEOF
77368
77369       cat >>confdefs.h <<\_ACEOF
77370 #define HAVE_ISINFL 1
77371 _ACEOF
77372
77373       cat >>confdefs.h <<\_ACEOF
77374 #define HAVE_ISNANL 1
77375 _ACEOF
77376
77377     fi
77378     ;;
77379   *-hpux*)
77380
77381
77382
77383
77384
77385
77386
77387
77388
77389
77390
77391
77392 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77393       machine/endian.h machine/param.h sys/machine.h sys/types.h \
77394       fp.h locale.h float.h inttypes.h
77395 do
77396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77398   echo "$as_me:$LINENO: checking for $ac_header" >&5
77399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77401   echo $ECHO_N "(cached) $ECHO_C" >&6
77402 fi
77403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77405 else
77406   # Is the header compilable?
77407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77409 cat >conftest.$ac_ext <<_ACEOF
77410 /* confdefs.h.  */
77411 _ACEOF
77412 cat confdefs.h >>conftest.$ac_ext
77413 cat >>conftest.$ac_ext <<_ACEOF
77414 /* end confdefs.h.  */
77415 $ac_includes_default
77416 #include <$ac_header>
77417 _ACEOF
77418 rm -f conftest.$ac_objext
77419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77420   (eval $ac_compile) 2>conftest.er1
77421   ac_status=$?
77422   grep -v '^ *+' conftest.er1 >conftest.err
77423   rm -f conftest.er1
77424   cat conftest.err >&5
77425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77426   (exit $ac_status); } &&
77427          { ac_try='test -z "$ac_c_werror_flag"
77428                          || test ! -s conftest.err'
77429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77430   (eval $ac_try) 2>&5
77431   ac_status=$?
77432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77433   (exit $ac_status); }; } &&
77434          { ac_try='test -s conftest.$ac_objext'
77435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77436   (eval $ac_try) 2>&5
77437   ac_status=$?
77438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439   (exit $ac_status); }; }; then
77440   ac_header_compiler=yes
77441 else
77442   echo "$as_me: failed program was:" >&5
77443 sed 's/^/| /' conftest.$ac_ext >&5
77444
77445 ac_header_compiler=no
77446 fi
77447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77449 echo "${ECHO_T}$ac_header_compiler" >&6
77450
77451 # Is the header present?
77452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77453 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
77461 _ACEOF
77462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77463   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77464   ac_status=$?
77465   grep -v '^ *+' conftest.er1 >conftest.err
77466   rm -f conftest.er1
77467   cat conftest.err >&5
77468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77469   (exit $ac_status); } >/dev/null; then
77470   if test -s conftest.err; then
77471     ac_cpp_err=$ac_c_preproc_warn_flag
77472     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77473   else
77474     ac_cpp_err=
77475   fi
77476 else
77477   ac_cpp_err=yes
77478 fi
77479 if test -z "$ac_cpp_err"; then
77480   ac_header_preproc=yes
77481 else
77482   echo "$as_me: failed program was:" >&5
77483 sed 's/^/| /' conftest.$ac_ext >&5
77484
77485   ac_header_preproc=no
77486 fi
77487 rm -f conftest.err conftest.$ac_ext
77488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77489 echo "${ECHO_T}$ac_header_preproc" >&6
77490
77491 # So?  What about this header?
77492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77493   yes:no: )
77494     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77496     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77498     ac_header_preproc=yes
77499     ;;
77500   no:yes:* )
77501     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77503     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77504 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77505     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77507     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77508 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77509     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77511     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77513     (
77514       cat <<\_ASBOX
77515 ## ----------------------------------------- ##
77516 ## Report this to the package-unused lists.  ##
77517 ## ----------------------------------------- ##
77518 _ASBOX
77519     ) |
77520       sed "s/^/$as_me: WARNING:     /" >&2
77521     ;;
77522 esac
77523 echo "$as_me:$LINENO: checking for $ac_header" >&5
77524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77526   echo $ECHO_N "(cached) $ECHO_C" >&6
77527 else
77528   eval "$as_ac_Header=\$ac_header_preproc"
77529 fi
77530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77532
77533 fi
77534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77535   cat >>confdefs.h <<_ACEOF
77536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77537 _ACEOF
77538
77539 fi
77540
77541 done
77542
77543     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77544
77545
77546   # If we're not using GNU ld, then there's no point in even trying these
77547   # tests.  Check for that first.  We should have already tested for gld
77548   # by now (in libtool), but require it now just to be safe...
77549   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77550   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77551
77552
77553
77554   # The name set by libtool depends on the version of libtool.  Shame on us
77555   # for depending on an impl detail, but c'est la vie.  Older versions used
77556   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77557   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77558   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77559   # set (hence we're using an older libtool), then set it.
77560   if test x${with_gnu_ld+set} != xset; then
77561     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77562       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77563       with_gnu_ld=no
77564     else
77565       with_gnu_ld=$ac_cv_prog_gnu_ld
77566     fi
77567   fi
77568
77569   # Start by getting the version number.  I think the libtool test already
77570   # does some of this, but throws away the result.
77571
77572   ldver=`$LD --version 2>/dev/null | head -1 | \
77573          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77574
77575   glibcxx_gnu_ld_version=`echo $ldver | \
77576          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77577
77578   # Set --gc-sections.
77579   if test "$with_gnu_ld" = "notbroken"; then
77580     # GNU ld it is!  Joy and bunny rabbits!
77581
77582     # All these tests are for C++; save the language and the compiler flags.
77583     # Need to do this so that g++ won't try to link in libstdc++
77584     ac_test_CFLAGS="${CFLAGS+set}"
77585     ac_save_CFLAGS="$CFLAGS"
77586     CFLAGS='-x c++  -Wl,--gc-sections'
77587
77588     # Check for -Wl,--gc-sections
77589     # XXX This test is broken at the moment, as symbols required for linking
77590     # are now in libsupc++ (not built yet).  In addition, this test has
77591     # cored on solaris in the past.  In addition, --gc-sections doesn't
77592     # really work at the moment (keeps on discarding used sections, first
77593     # .eh_frame and now some of the glibc sections for iconv).
77594     # Bzzzzt.  Thanks for playing, maybe next time.
77595     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77596 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77597     if test "$cross_compiling" = yes; then
77598   ac_sectionLDflags=yes
77599 else
77600   cat >conftest.$ac_ext <<_ACEOF
77601 /* confdefs.h.  */
77602 _ACEOF
77603 cat confdefs.h >>conftest.$ac_ext
77604 cat >>conftest.$ac_ext <<_ACEOF
77605 /* end confdefs.h.  */
77606
77607      int main(void)
77608      {
77609        try { throw 1; }
77610        catch (...) { };
77611        return 0;
77612      }
77613
77614 _ACEOF
77615 rm -f conftest$ac_exeext
77616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77617   (eval $ac_link) 2>&5
77618   ac_status=$?
77619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77620   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77622   (eval $ac_try) 2>&5
77623   ac_status=$?
77624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77625   (exit $ac_status); }; }; then
77626   ac_sectionLDflags=yes
77627 else
77628   echo "$as_me: program exited with status $ac_status" >&5
77629 echo "$as_me: failed program was:" >&5
77630 sed 's/^/| /' conftest.$ac_ext >&5
77631
77632 ( exit $ac_status )
77633 ac_sectionLDflags=no
77634 fi
77635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77636 fi
77637     if test "$ac_test_CFLAGS" = set; then
77638       CFLAGS="$ac_save_CFLAGS"
77639     else
77640       # this is the suspicious part
77641       CFLAGS=''
77642     fi
77643     if test "$ac_sectionLDflags" = "yes"; then
77644       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77645     fi
77646     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77647 echo "${ECHO_T}$ac_sectionLDflags" >&6
77648   fi
77649
77650   # Set linker optimization flags.
77651   if test x"$with_gnu_ld" = x"yes"; then
77652     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77653   fi
77654
77655
77656
77657
77658
77659
77660 echo "$as_me:$LINENO: checking for main in -lm" >&5
77661 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77662 if test "${ac_cv_lib_m_main+set}" = set; then
77663   echo $ECHO_N "(cached) $ECHO_C" >&6
77664 else
77665   ac_check_lib_save_LIBS=$LIBS
77666 LIBS="-lm  $LIBS"
77667 if test x$gcc_no_link = xyes; then
77668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77670    { (exit 1); exit 1; }; }
77671 fi
77672 cat >conftest.$ac_ext <<_ACEOF
77673 /* confdefs.h.  */
77674 _ACEOF
77675 cat confdefs.h >>conftest.$ac_ext
77676 cat >>conftest.$ac_ext <<_ACEOF
77677 /* end confdefs.h.  */
77678
77679
77680 int
77681 main ()
77682 {
77683 main ();
77684   ;
77685   return 0;
77686 }
77687 _ACEOF
77688 rm -f conftest.$ac_objext conftest$ac_exeext
77689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77690   (eval $ac_link) 2>conftest.er1
77691   ac_status=$?
77692   grep -v '^ *+' conftest.er1 >conftest.err
77693   rm -f conftest.er1
77694   cat conftest.err >&5
77695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77696   (exit $ac_status); } &&
77697          { ac_try='test -z "$ac_c_werror_flag"
77698                          || test ! -s conftest.err'
77699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77700   (eval $ac_try) 2>&5
77701   ac_status=$?
77702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77703   (exit $ac_status); }; } &&
77704          { ac_try='test -s conftest$ac_exeext'
77705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77706   (eval $ac_try) 2>&5
77707   ac_status=$?
77708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77709   (exit $ac_status); }; }; then
77710   ac_cv_lib_m_main=yes
77711 else
77712   echo "$as_me: failed program was:" >&5
77713 sed 's/^/| /' conftest.$ac_ext >&5
77714
77715 ac_cv_lib_m_main=no
77716 fi
77717 rm -f conftest.err conftest.$ac_objext \
77718       conftest$ac_exeext conftest.$ac_ext
77719 LIBS=$ac_check_lib_save_LIBS
77720 fi
77721 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77722 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77723 if test $ac_cv_lib_m_main = yes; then
77724   cat >>confdefs.h <<_ACEOF
77725 #define HAVE_LIBM 1
77726 _ACEOF
77727
77728   LIBS="-lm $LIBS"
77729
77730 fi
77731
77732
77733 for ac_func in copysignf
77734 do
77735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77736 echo "$as_me:$LINENO: checking for $ac_func" >&5
77737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77738 if eval "test \"\${$as_ac_var+set}\" = set"; then
77739   echo $ECHO_N "(cached) $ECHO_C" >&6
77740 else
77741   if test x$gcc_no_link = xyes; then
77742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77744    { (exit 1); exit 1; }; }
77745 fi
77746 cat >conftest.$ac_ext <<_ACEOF
77747 /* confdefs.h.  */
77748 _ACEOF
77749 cat confdefs.h >>conftest.$ac_ext
77750 cat >>conftest.$ac_ext <<_ACEOF
77751 /* end confdefs.h.  */
77752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77754 #define $ac_func innocuous_$ac_func
77755
77756 /* System header to define __stub macros and hopefully few prototypes,
77757     which can conflict with char $ac_func (); below.
77758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77759     <limits.h> exists even on freestanding compilers.  */
77760
77761 #ifdef __STDC__
77762 # include <limits.h>
77763 #else
77764 # include <assert.h>
77765 #endif
77766
77767 #undef $ac_func
77768
77769 /* Override any gcc2 internal prototype to avoid an error.  */
77770 #ifdef __cplusplus
77771 extern "C"
77772 {
77773 #endif
77774 /* We use char because int might match the return type of a gcc2
77775    builtin and then its argument prototype would still apply.  */
77776 char $ac_func ();
77777 /* The GNU C library defines this for functions which it implements
77778     to always fail with ENOSYS.  Some functions are actually named
77779     something starting with __ and the normal name is an alias.  */
77780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77781 choke me
77782 #else
77783 char (*f) () = $ac_func;
77784 #endif
77785 #ifdef __cplusplus
77786 }
77787 #endif
77788
77789 int
77790 main ()
77791 {
77792 return f != $ac_func;
77793   ;
77794   return 0;
77795 }
77796 _ACEOF
77797 rm -f conftest.$ac_objext conftest$ac_exeext
77798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77799   (eval $ac_link) 2>conftest.er1
77800   ac_status=$?
77801   grep -v '^ *+' conftest.er1 >conftest.err
77802   rm -f conftest.er1
77803   cat conftest.err >&5
77804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77805   (exit $ac_status); } &&
77806          { ac_try='test -z "$ac_c_werror_flag"
77807                          || test ! -s conftest.err'
77808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77809   (eval $ac_try) 2>&5
77810   ac_status=$?
77811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77812   (exit $ac_status); }; } &&
77813          { ac_try='test -s conftest$ac_exeext'
77814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77815   (eval $ac_try) 2>&5
77816   ac_status=$?
77817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77818   (exit $ac_status); }; }; then
77819   eval "$as_ac_var=yes"
77820 else
77821   echo "$as_me: failed program was:" >&5
77822 sed 's/^/| /' conftest.$ac_ext >&5
77823
77824 eval "$as_ac_var=no"
77825 fi
77826 rm -f conftest.err conftest.$ac_objext \
77827       conftest$ac_exeext conftest.$ac_ext
77828 fi
77829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77831 if test `eval echo '${'$as_ac_var'}'` = yes; then
77832   cat >>confdefs.h <<_ACEOF
77833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77834 _ACEOF
77835
77836 else
77837   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77838 fi
77839 done
77840
77841
77842
77843 for ac_func in __signbit
77844 do
77845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77846 echo "$as_me:$LINENO: checking for $ac_func" >&5
77847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77848 if eval "test \"\${$as_ac_var+set}\" = set"; then
77849   echo $ECHO_N "(cached) $ECHO_C" >&6
77850 else
77851   if test x$gcc_no_link = xyes; then
77852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77854    { (exit 1); exit 1; }; }
77855 fi
77856 cat >conftest.$ac_ext <<_ACEOF
77857 /* confdefs.h.  */
77858 _ACEOF
77859 cat confdefs.h >>conftest.$ac_ext
77860 cat >>conftest.$ac_ext <<_ACEOF
77861 /* end confdefs.h.  */
77862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77864 #define $ac_func innocuous_$ac_func
77865
77866 /* System header to define __stub macros and hopefully few prototypes,
77867     which can conflict with char $ac_func (); below.
77868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77869     <limits.h> exists even on freestanding compilers.  */
77870
77871 #ifdef __STDC__
77872 # include <limits.h>
77873 #else
77874 # include <assert.h>
77875 #endif
77876
77877 #undef $ac_func
77878
77879 /* Override any gcc2 internal prototype to avoid an error.  */
77880 #ifdef __cplusplus
77881 extern "C"
77882 {
77883 #endif
77884 /* We use char because int might match the return type of a gcc2
77885    builtin and then its argument prototype would still apply.  */
77886 char $ac_func ();
77887 /* The GNU C library defines this for functions which it implements
77888     to always fail with ENOSYS.  Some functions are actually named
77889     something starting with __ and the normal name is an alias.  */
77890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77891 choke me
77892 #else
77893 char (*f) () = $ac_func;
77894 #endif
77895 #ifdef __cplusplus
77896 }
77897 #endif
77898
77899 int
77900 main ()
77901 {
77902 return f != $ac_func;
77903   ;
77904   return 0;
77905 }
77906 _ACEOF
77907 rm -f conftest.$ac_objext conftest$ac_exeext
77908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77909   (eval $ac_link) 2>conftest.er1
77910   ac_status=$?
77911   grep -v '^ *+' conftest.er1 >conftest.err
77912   rm -f conftest.er1
77913   cat conftest.err >&5
77914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77915   (exit $ac_status); } &&
77916          { ac_try='test -z "$ac_c_werror_flag"
77917                          || test ! -s conftest.err'
77918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77919   (eval $ac_try) 2>&5
77920   ac_status=$?
77921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77922   (exit $ac_status); }; } &&
77923          { ac_try='test -s conftest$ac_exeext'
77924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77925   (eval $ac_try) 2>&5
77926   ac_status=$?
77927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77928   (exit $ac_status); }; }; then
77929   eval "$as_ac_var=yes"
77930 else
77931   echo "$as_me: failed program was:" >&5
77932 sed 's/^/| /' conftest.$ac_ext >&5
77933
77934 eval "$as_ac_var=no"
77935 fi
77936 rm -f conftest.err conftest.$ac_objext \
77937       conftest$ac_exeext conftest.$ac_ext
77938 fi
77939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77941 if test `eval echo '${'$as_ac_var'}'` = yes; then
77942   cat >>confdefs.h <<_ACEOF
77943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77944 _ACEOF
77945
77946 else
77947   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77948 fi
77949 done
77950
77951
77952
77953 for ac_func in __signbitf
77954 do
77955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77956 echo "$as_me:$LINENO: checking for $ac_func" >&5
77957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77958 if eval "test \"\${$as_ac_var+set}\" = set"; then
77959   echo $ECHO_N "(cached) $ECHO_C" >&6
77960 else
77961   if test x$gcc_no_link = xyes; then
77962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77964    { (exit 1); exit 1; }; }
77965 fi
77966 cat >conftest.$ac_ext <<_ACEOF
77967 /* confdefs.h.  */
77968 _ACEOF
77969 cat confdefs.h >>conftest.$ac_ext
77970 cat >>conftest.$ac_ext <<_ACEOF
77971 /* end confdefs.h.  */
77972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77974 #define $ac_func innocuous_$ac_func
77975
77976 /* System header to define __stub macros and hopefully few prototypes,
77977     which can conflict with char $ac_func (); below.
77978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77979     <limits.h> exists even on freestanding compilers.  */
77980
77981 #ifdef __STDC__
77982 # include <limits.h>
77983 #else
77984 # include <assert.h>
77985 #endif
77986
77987 #undef $ac_func
77988
77989 /* Override any gcc2 internal prototype to avoid an error.  */
77990 #ifdef __cplusplus
77991 extern "C"
77992 {
77993 #endif
77994 /* We use char because int might match the return type of a gcc2
77995    builtin and then its argument prototype would still apply.  */
77996 char $ac_func ();
77997 /* The GNU C library defines this for functions which it implements
77998     to always fail with ENOSYS.  Some functions are actually named
77999     something starting with __ and the normal name is an alias.  */
78000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78001 choke me
78002 #else
78003 char (*f) () = $ac_func;
78004 #endif
78005 #ifdef __cplusplus
78006 }
78007 #endif
78008
78009 int
78010 main ()
78011 {
78012 return f != $ac_func;
78013   ;
78014   return 0;
78015 }
78016 _ACEOF
78017 rm -f conftest.$ac_objext conftest$ac_exeext
78018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78019   (eval $ac_link) 2>conftest.er1
78020   ac_status=$?
78021   grep -v '^ *+' conftest.er1 >conftest.err
78022   rm -f conftest.er1
78023   cat conftest.err >&5
78024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78025   (exit $ac_status); } &&
78026          { ac_try='test -z "$ac_c_werror_flag"
78027                          || test ! -s conftest.err'
78028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78029   (eval $ac_try) 2>&5
78030   ac_status=$?
78031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78032   (exit $ac_status); }; } &&
78033          { ac_try='test -s conftest$ac_exeext'
78034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78035   (eval $ac_try) 2>&5
78036   ac_status=$?
78037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78038   (exit $ac_status); }; }; then
78039   eval "$as_ac_var=yes"
78040 else
78041   echo "$as_me: failed program was:" >&5
78042 sed 's/^/| /' conftest.$ac_ext >&5
78043
78044 eval "$as_ac_var=no"
78045 fi
78046 rm -f conftest.err conftest.$ac_objext \
78047       conftest$ac_exeext conftest.$ac_ext
78048 fi
78049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78051 if test `eval echo '${'$as_ac_var'}'` = yes; then
78052   cat >>confdefs.h <<_ACEOF
78053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78054 _ACEOF
78055
78056 else
78057   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78058 fi
78059 done
78060
78061
78062           if test x$ac_cv_func_copysignl = x"yes"; then
78063
78064 for ac_func in __signbitl
78065 do
78066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78067 echo "$as_me:$LINENO: checking for $ac_func" >&5
78068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78069 if eval "test \"\${$as_ac_var+set}\" = set"; then
78070   echo $ECHO_N "(cached) $ECHO_C" >&6
78071 else
78072   if test x$gcc_no_link = xyes; then
78073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78075    { (exit 1); exit 1; }; }
78076 fi
78077 cat >conftest.$ac_ext <<_ACEOF
78078 /* confdefs.h.  */
78079 _ACEOF
78080 cat confdefs.h >>conftest.$ac_ext
78081 cat >>conftest.$ac_ext <<_ACEOF
78082 /* end confdefs.h.  */
78083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78085 #define $ac_func innocuous_$ac_func
78086
78087 /* System header to define __stub macros and hopefully few prototypes,
78088     which can conflict with char $ac_func (); below.
78089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78090     <limits.h> exists even on freestanding compilers.  */
78091
78092 #ifdef __STDC__
78093 # include <limits.h>
78094 #else
78095 # include <assert.h>
78096 #endif
78097
78098 #undef $ac_func
78099
78100 /* Override any gcc2 internal prototype to avoid an error.  */
78101 #ifdef __cplusplus
78102 extern "C"
78103 {
78104 #endif
78105 /* We use char because int might match the return type of a gcc2
78106    builtin and then its argument prototype would still apply.  */
78107 char $ac_func ();
78108 /* The GNU C library defines this for functions which it implements
78109     to always fail with ENOSYS.  Some functions are actually named
78110     something starting with __ and the normal name is an alias.  */
78111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78112 choke me
78113 #else
78114 char (*f) () = $ac_func;
78115 #endif
78116 #ifdef __cplusplus
78117 }
78118 #endif
78119
78120 int
78121 main ()
78122 {
78123 return f != $ac_func;
78124   ;
78125   return 0;
78126 }
78127 _ACEOF
78128 rm -f conftest.$ac_objext conftest$ac_exeext
78129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78130   (eval $ac_link) 2>conftest.er1
78131   ac_status=$?
78132   grep -v '^ *+' conftest.er1 >conftest.err
78133   rm -f conftest.er1
78134   cat conftest.err >&5
78135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78136   (exit $ac_status); } &&
78137          { ac_try='test -z "$ac_c_werror_flag"
78138                          || test ! -s conftest.err'
78139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78140   (eval $ac_try) 2>&5
78141   ac_status=$?
78142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78143   (exit $ac_status); }; } &&
78144          { ac_try='test -s conftest$ac_exeext'
78145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78146   (eval $ac_try) 2>&5
78147   ac_status=$?
78148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78149   (exit $ac_status); }; }; then
78150   eval "$as_ac_var=yes"
78151 else
78152   echo "$as_me: failed program was:" >&5
78153 sed 's/^/| /' conftest.$ac_ext >&5
78154
78155 eval "$as_ac_var=no"
78156 fi
78157 rm -f conftest.err conftest.$ac_objext \
78158       conftest$ac_exeext conftest.$ac_ext
78159 fi
78160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78162 if test `eval echo '${'$as_ac_var'}'` = yes; then
78163   cat >>confdefs.h <<_ACEOF
78164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78165 _ACEOF
78166
78167 else
78168   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78169 fi
78170 done
78171
78172   fi
78173
78174   # Used in libmath/Makefile.am.
78175   if test -n "$LIBMATHOBJS"; then
78176     need_libmath=yes
78177   fi
78178
78179
78180
78181   # Test wchar.h for mbstate_t, which is needed for char_traits and
78182   # others even if wchar_t support is not on.
78183   echo "$as_me:$LINENO: checking for mbstate_t" >&5
78184 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78185   cat >conftest.$ac_ext <<_ACEOF
78186 /* confdefs.h.  */
78187 _ACEOF
78188 cat confdefs.h >>conftest.$ac_ext
78189 cat >>conftest.$ac_ext <<_ACEOF
78190 /* end confdefs.h.  */
78191 #include <wchar.h>
78192 int
78193 main ()
78194 {
78195 mbstate_t teststate;
78196   ;
78197   return 0;
78198 }
78199 _ACEOF
78200 rm -f conftest.$ac_objext
78201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78202   (eval $ac_compile) 2>conftest.er1
78203   ac_status=$?
78204   grep -v '^ *+' conftest.er1 >conftest.err
78205   rm -f conftest.er1
78206   cat conftest.err >&5
78207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78208   (exit $ac_status); } &&
78209          { ac_try='test -z "$ac_c_werror_flag"
78210                          || test ! -s conftest.err'
78211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78212   (eval $ac_try) 2>&5
78213   ac_status=$?
78214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78215   (exit $ac_status); }; } &&
78216          { ac_try='test -s conftest.$ac_objext'
78217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78218   (eval $ac_try) 2>&5
78219   ac_status=$?
78220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78221   (exit $ac_status); }; }; then
78222   have_mbstate_t=yes
78223 else
78224   echo "$as_me: failed program was:" >&5
78225 sed 's/^/| /' conftest.$ac_ext >&5
78226
78227 have_mbstate_t=no
78228 fi
78229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78230   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78231 echo "${ECHO_T}$have_mbstate_t" >&6
78232   if test x"$have_mbstate_t" = xyes; then
78233     cat >>confdefs.h <<\_ACEOF
78234 #define HAVE_MBSTATE_T 1
78235 _ACEOF
78236
78237   fi
78238
78239   # Sanity check for existence of ISO C99 headers for extended encoding.
78240
78241 for ac_header in wchar.h
78242 do
78243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78245   echo "$as_me:$LINENO: checking for $ac_header" >&5
78246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78248   echo $ECHO_N "(cached) $ECHO_C" >&6
78249 fi
78250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78252 else
78253   # Is the header compilable?
78254 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78255 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78256 cat >conftest.$ac_ext <<_ACEOF
78257 /* confdefs.h.  */
78258 _ACEOF
78259 cat confdefs.h >>conftest.$ac_ext
78260 cat >>conftest.$ac_ext <<_ACEOF
78261 /* end confdefs.h.  */
78262 $ac_includes_default
78263 #include <$ac_header>
78264 _ACEOF
78265 rm -f conftest.$ac_objext
78266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78267   (eval $ac_compile) 2>conftest.er1
78268   ac_status=$?
78269   grep -v '^ *+' conftest.er1 >conftest.err
78270   rm -f conftest.er1
78271   cat conftest.err >&5
78272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78273   (exit $ac_status); } &&
78274          { ac_try='test -z "$ac_c_werror_flag"
78275                          || test ! -s conftest.err'
78276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78277   (eval $ac_try) 2>&5
78278   ac_status=$?
78279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78280   (exit $ac_status); }; } &&
78281          { ac_try='test -s conftest.$ac_objext'
78282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78283   (eval $ac_try) 2>&5
78284   ac_status=$?
78285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78286   (exit $ac_status); }; }; then
78287   ac_header_compiler=yes
78288 else
78289   echo "$as_me: failed program was:" >&5
78290 sed 's/^/| /' conftest.$ac_ext >&5
78291
78292 ac_header_compiler=no
78293 fi
78294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78296 echo "${ECHO_T}$ac_header_compiler" >&6
78297
78298 # Is the header present?
78299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78300 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
78308 _ACEOF
78309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78310   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78311   ac_status=$?
78312   grep -v '^ *+' conftest.er1 >conftest.err
78313   rm -f conftest.er1
78314   cat conftest.err >&5
78315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78316   (exit $ac_status); } >/dev/null; then
78317   if test -s conftest.err; then
78318     ac_cpp_err=$ac_c_preproc_warn_flag
78319     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78320   else
78321     ac_cpp_err=
78322   fi
78323 else
78324   ac_cpp_err=yes
78325 fi
78326 if test -z "$ac_cpp_err"; then
78327   ac_header_preproc=yes
78328 else
78329   echo "$as_me: failed program was:" >&5
78330 sed 's/^/| /' conftest.$ac_ext >&5
78331
78332   ac_header_preproc=no
78333 fi
78334 rm -f conftest.err conftest.$ac_ext
78335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78336 echo "${ECHO_T}$ac_header_preproc" >&6
78337
78338 # So?  What about this header?
78339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78340   yes:no: )
78341     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78345     ac_header_preproc=yes
78346     ;;
78347   no:yes:* )
78348     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78350     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78351 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78352     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78354     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78355 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78356     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78358     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78360     (
78361       cat <<\_ASBOX
78362 ## ----------------------------------------- ##
78363 ## Report this to the package-unused lists.  ##
78364 ## ----------------------------------------- ##
78365 _ASBOX
78366     ) |
78367       sed "s/^/$as_me: WARNING:     /" >&2
78368     ;;
78369 esac
78370 echo "$as_me:$LINENO: checking for $ac_header" >&5
78371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78373   echo $ECHO_N "(cached) $ECHO_C" >&6
78374 else
78375   eval "$as_ac_Header=\$ac_header_preproc"
78376 fi
78377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78379
78380 fi
78381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78382   cat >>confdefs.h <<_ACEOF
78383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78384 _ACEOF
78385  ac_has_wchar_h=yes
78386 else
78387   ac_has_wchar_h=no
78388 fi
78389
78390 done
78391
78392
78393 for ac_header in wctype.h
78394 do
78395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78397   echo "$as_me:$LINENO: checking for $ac_header" >&5
78398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78400   echo $ECHO_N "(cached) $ECHO_C" >&6
78401 fi
78402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78404 else
78405   # Is the header compilable?
78406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78408 cat >conftest.$ac_ext <<_ACEOF
78409 /* confdefs.h.  */
78410 _ACEOF
78411 cat confdefs.h >>conftest.$ac_ext
78412 cat >>conftest.$ac_ext <<_ACEOF
78413 /* end confdefs.h.  */
78414 $ac_includes_default
78415 #include <$ac_header>
78416 _ACEOF
78417 rm -f conftest.$ac_objext
78418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78419   (eval $ac_compile) 2>conftest.er1
78420   ac_status=$?
78421   grep -v '^ *+' conftest.er1 >conftest.err
78422   rm -f conftest.er1
78423   cat conftest.err >&5
78424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78425   (exit $ac_status); } &&
78426          { ac_try='test -z "$ac_c_werror_flag"
78427                          || test ! -s conftest.err'
78428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78429   (eval $ac_try) 2>&5
78430   ac_status=$?
78431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78432   (exit $ac_status); }; } &&
78433          { ac_try='test -s conftest.$ac_objext'
78434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78435   (eval $ac_try) 2>&5
78436   ac_status=$?
78437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78438   (exit $ac_status); }; }; then
78439   ac_header_compiler=yes
78440 else
78441   echo "$as_me: failed program was:" >&5
78442 sed 's/^/| /' conftest.$ac_ext >&5
78443
78444 ac_header_compiler=no
78445 fi
78446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78448 echo "${ECHO_T}$ac_header_compiler" >&6
78449
78450 # Is the header present?
78451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78452 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
78460 _ACEOF
78461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78462   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78463   ac_status=$?
78464   grep -v '^ *+' conftest.er1 >conftest.err
78465   rm -f conftest.er1
78466   cat conftest.err >&5
78467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78468   (exit $ac_status); } >/dev/null; then
78469   if test -s conftest.err; then
78470     ac_cpp_err=$ac_c_preproc_warn_flag
78471     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78472   else
78473     ac_cpp_err=
78474   fi
78475 else
78476   ac_cpp_err=yes
78477 fi
78478 if test -z "$ac_cpp_err"; then
78479   ac_header_preproc=yes
78480 else
78481   echo "$as_me: failed program was:" >&5
78482 sed 's/^/| /' conftest.$ac_ext >&5
78483
78484   ac_header_preproc=no
78485 fi
78486 rm -f conftest.err conftest.$ac_ext
78487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78488 echo "${ECHO_T}$ac_header_preproc" >&6
78489
78490 # So?  What about this header?
78491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78492   yes:no: )
78493     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78495     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78497     ac_header_preproc=yes
78498     ;;
78499   no:yes:* )
78500     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78502     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78503 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78504     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78506     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78507 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78508     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78510     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78512     (
78513       cat <<\_ASBOX
78514 ## ----------------------------------------- ##
78515 ## Report this to the package-unused lists.  ##
78516 ## ----------------------------------------- ##
78517 _ASBOX
78518     ) |
78519       sed "s/^/$as_me: WARNING:     /" >&2
78520     ;;
78521 esac
78522 echo "$as_me:$LINENO: checking for $ac_header" >&5
78523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78525   echo $ECHO_N "(cached) $ECHO_C" >&6
78526 else
78527   eval "$as_ac_Header=\$ac_header_preproc"
78528 fi
78529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78531
78532 fi
78533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78534   cat >>confdefs.h <<_ACEOF
78535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78536 _ACEOF
78537  ac_has_wctype_h=yes
78538 else
78539   ac_has_wctype_h=no
78540 fi
78541
78542 done
78543
78544
78545   # Only continue checking if the ISO C99 headers exist and support is on.
78546   if test x"$ac_has_wchar_h" = xyes &&
78547      test x"$ac_has_wctype_h" = xyes &&
78548      test x"$enable_c_mbchar" != xno; then
78549
78550     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78551     # numeric_limits can instantiate type_traits<wchar_t>
78552     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78553 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78554     cat >conftest.$ac_ext <<_ACEOF
78555 /* confdefs.h.  */
78556 _ACEOF
78557 cat confdefs.h >>conftest.$ac_ext
78558 cat >>conftest.$ac_ext <<_ACEOF
78559 /* end confdefs.h.  */
78560 #include <wchar.h>
78561 int
78562 main ()
78563 {
78564 int i = WCHAR_MIN; int j = WCHAR_MAX;
78565   ;
78566   return 0;
78567 }
78568 _ACEOF
78569 rm -f conftest.$ac_objext
78570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78571   (eval $ac_compile) 2>conftest.er1
78572   ac_status=$?
78573   grep -v '^ *+' conftest.er1 >conftest.err
78574   rm -f conftest.er1
78575   cat conftest.err >&5
78576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577   (exit $ac_status); } &&
78578          { ac_try='test -z "$ac_c_werror_flag"
78579                          || test ! -s conftest.err'
78580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78581   (eval $ac_try) 2>&5
78582   ac_status=$?
78583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584   (exit $ac_status); }; } &&
78585          { ac_try='test -s conftest.$ac_objext'
78586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587   (eval $ac_try) 2>&5
78588   ac_status=$?
78589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590   (exit $ac_status); }; }; then
78591   has_wchar_minmax=yes
78592 else
78593   echo "$as_me: failed program was:" >&5
78594 sed 's/^/| /' conftest.$ac_ext >&5
78595
78596 has_wchar_minmax=no
78597 fi
78598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78599     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78600 echo "${ECHO_T}$has_wchar_minmax" >&6
78601
78602     # Test wchar.h for WEOF, which is what we use to determine whether
78603     # to specialize for char_traits<wchar_t> or not.
78604     echo "$as_me:$LINENO: checking for WEOF" >&5
78605 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78606     cat >conftest.$ac_ext <<_ACEOF
78607 /* confdefs.h.  */
78608 _ACEOF
78609 cat confdefs.h >>conftest.$ac_ext
78610 cat >>conftest.$ac_ext <<_ACEOF
78611 /* end confdefs.h.  */
78612
78613       #include <wchar.h>
78614       #include <stddef.h>
78615 int
78616 main ()
78617 {
78618 wint_t i = WEOF;
78619   ;
78620   return 0;
78621 }
78622 _ACEOF
78623 rm -f conftest.$ac_objext
78624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78625   (eval $ac_compile) 2>conftest.er1
78626   ac_status=$?
78627   grep -v '^ *+' conftest.er1 >conftest.err
78628   rm -f conftest.er1
78629   cat conftest.err >&5
78630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78631   (exit $ac_status); } &&
78632          { ac_try='test -z "$ac_c_werror_flag"
78633                          || test ! -s conftest.err'
78634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78635   (eval $ac_try) 2>&5
78636   ac_status=$?
78637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78638   (exit $ac_status); }; } &&
78639          { ac_try='test -s conftest.$ac_objext'
78640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78641   (eval $ac_try) 2>&5
78642   ac_status=$?
78643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78644   (exit $ac_status); }; }; then
78645   has_weof=yes
78646 else
78647   echo "$as_me: failed program was:" >&5
78648 sed 's/^/| /' conftest.$ac_ext >&5
78649
78650 has_weof=no
78651 fi
78652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78653     echo "$as_me:$LINENO: result: $has_weof" >&5
78654 echo "${ECHO_T}$has_weof" >&6
78655
78656     # Tests for wide character functions used in char_traits<wchar_t>.
78657     ac_wfuncs=yes
78658
78659
78660
78661
78662
78663
78664 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78665 do
78666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78667 echo "$as_me:$LINENO: checking for $ac_func" >&5
78668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78669 if eval "test \"\${$as_ac_var+set}\" = set"; then
78670   echo $ECHO_N "(cached) $ECHO_C" >&6
78671 else
78672   if test x$gcc_no_link = xyes; then
78673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78675    { (exit 1); exit 1; }; }
78676 fi
78677 cat >conftest.$ac_ext <<_ACEOF
78678 /* confdefs.h.  */
78679 _ACEOF
78680 cat confdefs.h >>conftest.$ac_ext
78681 cat >>conftest.$ac_ext <<_ACEOF
78682 /* end confdefs.h.  */
78683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78685 #define $ac_func innocuous_$ac_func
78686
78687 /* System header to define __stub macros and hopefully few prototypes,
78688     which can conflict with char $ac_func (); below.
78689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78690     <limits.h> exists even on freestanding compilers.  */
78691
78692 #ifdef __STDC__
78693 # include <limits.h>
78694 #else
78695 # include <assert.h>
78696 #endif
78697
78698 #undef $ac_func
78699
78700 /* Override any gcc2 internal prototype to avoid an error.  */
78701 #ifdef __cplusplus
78702 extern "C"
78703 {
78704 #endif
78705 /* We use char because int might match the return type of a gcc2
78706    builtin and then its argument prototype would still apply.  */
78707 char $ac_func ();
78708 /* The GNU C library defines this for functions which it implements
78709     to always fail with ENOSYS.  Some functions are actually named
78710     something starting with __ and the normal name is an alias.  */
78711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78712 choke me
78713 #else
78714 char (*f) () = $ac_func;
78715 #endif
78716 #ifdef __cplusplus
78717 }
78718 #endif
78719
78720 int
78721 main ()
78722 {
78723 return f != $ac_func;
78724   ;
78725   return 0;
78726 }
78727 _ACEOF
78728 rm -f conftest.$ac_objext conftest$ac_exeext
78729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78730   (eval $ac_link) 2>conftest.er1
78731   ac_status=$?
78732   grep -v '^ *+' conftest.er1 >conftest.err
78733   rm -f conftest.er1
78734   cat conftest.err >&5
78735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78736   (exit $ac_status); } &&
78737          { ac_try='test -z "$ac_c_werror_flag"
78738                          || test ! -s conftest.err'
78739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78740   (eval $ac_try) 2>&5
78741   ac_status=$?
78742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78743   (exit $ac_status); }; } &&
78744          { ac_try='test -s conftest$ac_exeext'
78745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78746   (eval $ac_try) 2>&5
78747   ac_status=$?
78748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78749   (exit $ac_status); }; }; then
78750   eval "$as_ac_var=yes"
78751 else
78752   echo "$as_me: failed program was:" >&5
78753 sed 's/^/| /' conftest.$ac_ext >&5
78754
78755 eval "$as_ac_var=no"
78756 fi
78757 rm -f conftest.err conftest.$ac_objext \
78758       conftest$ac_exeext conftest.$ac_ext
78759 fi
78760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78762 if test `eval echo '${'$as_ac_var'}'` = yes; then
78763   cat >>confdefs.h <<_ACEOF
78764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78765 _ACEOF
78766
78767 else
78768   ac_wfuncs=no
78769 fi
78770 done
78771
78772
78773     # Checks for names injected into std:: by the c_std headers.
78774
78775
78776
78777
78778
78779
78780
78781
78782
78783
78784
78785
78786
78787
78788
78789
78790
78791
78792
78793
78794
78795
78796
78797
78798
78799
78800
78801
78802
78803
78804
78805
78806
78807
78808
78809
78810
78811
78812
78813
78814
78815
78816
78817
78818
78819
78820 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78821     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78822     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78823     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78824     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78825     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78826 do
78827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78828 echo "$as_me:$LINENO: checking for $ac_func" >&5
78829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78830 if eval "test \"\${$as_ac_var+set}\" = set"; then
78831   echo $ECHO_N "(cached) $ECHO_C" >&6
78832 else
78833   if test x$gcc_no_link = xyes; then
78834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78836    { (exit 1); exit 1; }; }
78837 fi
78838 cat >conftest.$ac_ext <<_ACEOF
78839 /* confdefs.h.  */
78840 _ACEOF
78841 cat confdefs.h >>conftest.$ac_ext
78842 cat >>conftest.$ac_ext <<_ACEOF
78843 /* end confdefs.h.  */
78844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78846 #define $ac_func innocuous_$ac_func
78847
78848 /* System header to define __stub macros and hopefully few prototypes,
78849     which can conflict with char $ac_func (); below.
78850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78851     <limits.h> exists even on freestanding compilers.  */
78852
78853 #ifdef __STDC__
78854 # include <limits.h>
78855 #else
78856 # include <assert.h>
78857 #endif
78858
78859 #undef $ac_func
78860
78861 /* Override any gcc2 internal prototype to avoid an error.  */
78862 #ifdef __cplusplus
78863 extern "C"
78864 {
78865 #endif
78866 /* We use char because int might match the return type of a gcc2
78867    builtin and then its argument prototype would still apply.  */
78868 char $ac_func ();
78869 /* The GNU C library defines this for functions which it implements
78870     to always fail with ENOSYS.  Some functions are actually named
78871     something starting with __ and the normal name is an alias.  */
78872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78873 choke me
78874 #else
78875 char (*f) () = $ac_func;
78876 #endif
78877 #ifdef __cplusplus
78878 }
78879 #endif
78880
78881 int
78882 main ()
78883 {
78884 return f != $ac_func;
78885   ;
78886   return 0;
78887 }
78888 _ACEOF
78889 rm -f conftest.$ac_objext conftest$ac_exeext
78890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78891   (eval $ac_link) 2>conftest.er1
78892   ac_status=$?
78893   grep -v '^ *+' conftest.er1 >conftest.err
78894   rm -f conftest.er1
78895   cat conftest.err >&5
78896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78897   (exit $ac_status); } &&
78898          { ac_try='test -z "$ac_c_werror_flag"
78899                          || test ! -s conftest.err'
78900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78901   (eval $ac_try) 2>&5
78902   ac_status=$?
78903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78904   (exit $ac_status); }; } &&
78905          { ac_try='test -s conftest$ac_exeext'
78906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78907   (eval $ac_try) 2>&5
78908   ac_status=$?
78909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78910   (exit $ac_status); }; }; then
78911   eval "$as_ac_var=yes"
78912 else
78913   echo "$as_me: failed program was:" >&5
78914 sed 's/^/| /' conftest.$ac_ext >&5
78915
78916 eval "$as_ac_var=no"
78917 fi
78918 rm -f conftest.err conftest.$ac_objext \
78919       conftest$ac_exeext conftest.$ac_ext
78920 fi
78921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78923 if test `eval echo '${'$as_ac_var'}'` = yes; then
78924   cat >>confdefs.h <<_ACEOF
78925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78926 _ACEOF
78927
78928 else
78929   ac_wfuncs=no
78930 fi
78931 done
78932
78933
78934     # Checks for wide character functions that are not required
78935     # for basic wchar_t support.  Don't disable support if they are missing.
78936     # Injection of these is wrapped with guard macros.
78937
78938
78939
78940
78941
78942 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78943 do
78944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78945 echo "$as_me:$LINENO: checking for $ac_func" >&5
78946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78947 if eval "test \"\${$as_ac_var+set}\" = set"; then
78948   echo $ECHO_N "(cached) $ECHO_C" >&6
78949 else
78950   if test x$gcc_no_link = xyes; then
78951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78953    { (exit 1); exit 1; }; }
78954 fi
78955 cat >conftest.$ac_ext <<_ACEOF
78956 /* confdefs.h.  */
78957 _ACEOF
78958 cat confdefs.h >>conftest.$ac_ext
78959 cat >>conftest.$ac_ext <<_ACEOF
78960 /* end confdefs.h.  */
78961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78963 #define $ac_func innocuous_$ac_func
78964
78965 /* System header to define __stub macros and hopefully few prototypes,
78966     which can conflict with char $ac_func (); below.
78967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78968     <limits.h> exists even on freestanding compilers.  */
78969
78970 #ifdef __STDC__
78971 # include <limits.h>
78972 #else
78973 # include <assert.h>
78974 #endif
78975
78976 #undef $ac_func
78977
78978 /* Override any gcc2 internal prototype to avoid an error.  */
78979 #ifdef __cplusplus
78980 extern "C"
78981 {
78982 #endif
78983 /* We use char because int might match the return type of a gcc2
78984    builtin and then its argument prototype would still apply.  */
78985 char $ac_func ();
78986 /* The GNU C library defines this for functions which it implements
78987     to always fail with ENOSYS.  Some functions are actually named
78988     something starting with __ and the normal name is an alias.  */
78989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78990 choke me
78991 #else
78992 char (*f) () = $ac_func;
78993 #endif
78994 #ifdef __cplusplus
78995 }
78996 #endif
78997
78998 int
78999 main ()
79000 {
79001 return f != $ac_func;
79002   ;
79003   return 0;
79004 }
79005 _ACEOF
79006 rm -f conftest.$ac_objext conftest$ac_exeext
79007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79008   (eval $ac_link) 2>conftest.er1
79009   ac_status=$?
79010   grep -v '^ *+' conftest.er1 >conftest.err
79011   rm -f conftest.er1
79012   cat conftest.err >&5
79013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79014   (exit $ac_status); } &&
79015          { ac_try='test -z "$ac_c_werror_flag"
79016                          || test ! -s conftest.err'
79017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79018   (eval $ac_try) 2>&5
79019   ac_status=$?
79020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79021   (exit $ac_status); }; } &&
79022          { ac_try='test -s conftest$ac_exeext'
79023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79024   (eval $ac_try) 2>&5
79025   ac_status=$?
79026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79027   (exit $ac_status); }; }; then
79028   eval "$as_ac_var=yes"
79029 else
79030   echo "$as_me: failed program was:" >&5
79031 sed 's/^/| /' conftest.$ac_ext >&5
79032
79033 eval "$as_ac_var=no"
79034 fi
79035 rm -f conftest.err conftest.$ac_objext \
79036       conftest$ac_exeext conftest.$ac_ext
79037 fi
79038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79040 if test `eval echo '${'$as_ac_var'}'` = yes; then
79041   cat >>confdefs.h <<_ACEOF
79042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79043 _ACEOF
79044
79045 fi
79046 done
79047
79048
79049     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79050 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79051     if test x"$has_weof" = xyes &&
79052        test x"$has_wchar_minmax" = xyes &&
79053        test x"$ac_wfuncs" = xyes;
79054     then
79055       ac_isoC99_wchar_t=yes
79056     else
79057       ac_isoC99_wchar_t=no
79058     fi
79059     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79060 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79061
79062     # Use iconv for wchar_t to char conversions. As such, check for
79063     # X/Open Portability Guide, version 2 features (XPG2).
79064     if test "${ac_cv_header_iconv_h+set}" = set; then
79065   echo "$as_me:$LINENO: checking for iconv.h" >&5
79066 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79067 if test "${ac_cv_header_iconv_h+set}" = set; then
79068   echo $ECHO_N "(cached) $ECHO_C" >&6
79069 fi
79070 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79071 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79072 else
79073   # Is the header compilable?
79074 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79075 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79076 cat >conftest.$ac_ext <<_ACEOF
79077 /* confdefs.h.  */
79078 _ACEOF
79079 cat confdefs.h >>conftest.$ac_ext
79080 cat >>conftest.$ac_ext <<_ACEOF
79081 /* end confdefs.h.  */
79082 $ac_includes_default
79083 #include <iconv.h>
79084 _ACEOF
79085 rm -f conftest.$ac_objext
79086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79087   (eval $ac_compile) 2>conftest.er1
79088   ac_status=$?
79089   grep -v '^ *+' conftest.er1 >conftest.err
79090   rm -f conftest.er1
79091   cat conftest.err >&5
79092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79093   (exit $ac_status); } &&
79094          { ac_try='test -z "$ac_c_werror_flag"
79095                          || test ! -s conftest.err'
79096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79097   (eval $ac_try) 2>&5
79098   ac_status=$?
79099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79100   (exit $ac_status); }; } &&
79101          { ac_try='test -s conftest.$ac_objext'
79102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79103   (eval $ac_try) 2>&5
79104   ac_status=$?
79105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79106   (exit $ac_status); }; }; then
79107   ac_header_compiler=yes
79108 else
79109   echo "$as_me: failed program was:" >&5
79110 sed 's/^/| /' conftest.$ac_ext >&5
79111
79112 ac_header_compiler=no
79113 fi
79114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79116 echo "${ECHO_T}$ac_header_compiler" >&6
79117
79118 # Is the header present?
79119 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79120 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
79128 _ACEOF
79129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79130   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79131   ac_status=$?
79132   grep -v '^ *+' conftest.er1 >conftest.err
79133   rm -f conftest.er1
79134   cat conftest.err >&5
79135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79136   (exit $ac_status); } >/dev/null; then
79137   if test -s conftest.err; then
79138     ac_cpp_err=$ac_c_preproc_warn_flag
79139     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79140   else
79141     ac_cpp_err=
79142   fi
79143 else
79144   ac_cpp_err=yes
79145 fi
79146 if test -z "$ac_cpp_err"; then
79147   ac_header_preproc=yes
79148 else
79149   echo "$as_me: failed program was:" >&5
79150 sed 's/^/| /' conftest.$ac_ext >&5
79151
79152   ac_header_preproc=no
79153 fi
79154 rm -f conftest.err conftest.$ac_ext
79155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79156 echo "${ECHO_T}$ac_header_preproc" >&6
79157
79158 # So?  What about this header?
79159 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79160   yes:no: )
79161     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79162 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79163     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79164 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79165     ac_header_preproc=yes
79166     ;;
79167   no:yes:* )
79168     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79169 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79170     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79171 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79172     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79173 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79174     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79175 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79176     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79177 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79178     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79179 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79180     (
79181       cat <<\_ASBOX
79182 ## ----------------------------------------- ##
79183 ## Report this to the package-unused lists.  ##
79184 ## ----------------------------------------- ##
79185 _ASBOX
79186     ) |
79187       sed "s/^/$as_me: WARNING:     /" >&2
79188     ;;
79189 esac
79190 echo "$as_me:$LINENO: checking for iconv.h" >&5
79191 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79192 if test "${ac_cv_header_iconv_h+set}" = set; then
79193   echo $ECHO_N "(cached) $ECHO_C" >&6
79194 else
79195   ac_cv_header_iconv_h=$ac_header_preproc
79196 fi
79197 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79198 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79199
79200 fi
79201 if test $ac_cv_header_iconv_h = yes; then
79202   ac_has_iconv_h=yes
79203 else
79204   ac_has_iconv_h=no
79205 fi
79206
79207
79208     if test "${ac_cv_header_langinfo_h+set}" = set; then
79209   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79210 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79211 if test "${ac_cv_header_langinfo_h+set}" = set; then
79212   echo $ECHO_N "(cached) $ECHO_C" >&6
79213 fi
79214 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79215 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79216 else
79217   # Is the header compilable?
79218 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79219 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79220 cat >conftest.$ac_ext <<_ACEOF
79221 /* confdefs.h.  */
79222 _ACEOF
79223 cat confdefs.h >>conftest.$ac_ext
79224 cat >>conftest.$ac_ext <<_ACEOF
79225 /* end confdefs.h.  */
79226 $ac_includes_default
79227 #include <langinfo.h>
79228 _ACEOF
79229 rm -f conftest.$ac_objext
79230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79231   (eval $ac_compile) 2>conftest.er1
79232   ac_status=$?
79233   grep -v '^ *+' conftest.er1 >conftest.err
79234   rm -f conftest.er1
79235   cat conftest.err >&5
79236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79237   (exit $ac_status); } &&
79238          { ac_try='test -z "$ac_c_werror_flag"
79239                          || test ! -s conftest.err'
79240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79241   (eval $ac_try) 2>&5
79242   ac_status=$?
79243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79244   (exit $ac_status); }; } &&
79245          { ac_try='test -s conftest.$ac_objext'
79246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79247   (eval $ac_try) 2>&5
79248   ac_status=$?
79249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79250   (exit $ac_status); }; }; then
79251   ac_header_compiler=yes
79252 else
79253   echo "$as_me: failed program was:" >&5
79254 sed 's/^/| /' conftest.$ac_ext >&5
79255
79256 ac_header_compiler=no
79257 fi
79258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79260 echo "${ECHO_T}$ac_header_compiler" >&6
79261
79262 # Is the header present?
79263 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79264 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
79272 _ACEOF
79273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79274   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79275   ac_status=$?
79276   grep -v '^ *+' conftest.er1 >conftest.err
79277   rm -f conftest.er1
79278   cat conftest.err >&5
79279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79280   (exit $ac_status); } >/dev/null; then
79281   if test -s conftest.err; then
79282     ac_cpp_err=$ac_c_preproc_warn_flag
79283     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79284   else
79285     ac_cpp_err=
79286   fi
79287 else
79288   ac_cpp_err=yes
79289 fi
79290 if test -z "$ac_cpp_err"; then
79291   ac_header_preproc=yes
79292 else
79293   echo "$as_me: failed program was:" >&5
79294 sed 's/^/| /' conftest.$ac_ext >&5
79295
79296   ac_header_preproc=no
79297 fi
79298 rm -f conftest.err conftest.$ac_ext
79299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79300 echo "${ECHO_T}$ac_header_preproc" >&6
79301
79302 # So?  What about this header?
79303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79304   yes:no: )
79305     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79306 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79307     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79308 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79309     ac_header_preproc=yes
79310     ;;
79311   no:yes:* )
79312     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79313 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79314     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
79315 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
79316     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79317 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79318     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
79319 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79320     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79321 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79322     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79323 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79324     (
79325       cat <<\_ASBOX
79326 ## ----------------------------------------- ##
79327 ## Report this to the package-unused lists.  ##
79328 ## ----------------------------------------- ##
79329 _ASBOX
79330     ) |
79331       sed "s/^/$as_me: WARNING:     /" >&2
79332     ;;
79333 esac
79334 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79335 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79336 if test "${ac_cv_header_langinfo_h+set}" = set; then
79337   echo $ECHO_N "(cached) $ECHO_C" >&6
79338 else
79339   ac_cv_header_langinfo_h=$ac_header_preproc
79340 fi
79341 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79342 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79343
79344 fi
79345 if test $ac_cv_header_langinfo_h = yes; then
79346   ac_has_langinfo_h=yes
79347 else
79348   ac_has_langinfo_h=no
79349 fi
79350
79351
79352
79353     # Check for existence of libiconv.a providing XPG2 wchar_t support.
79354     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79355 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79356 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79357   echo $ECHO_N "(cached) $ECHO_C" >&6
79358 else
79359   ac_check_lib_save_LIBS=$LIBS
79360 LIBS="-liconv  $LIBS"
79361 if test x$gcc_no_link = xyes; then
79362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79364    { (exit 1); exit 1; }; }
79365 fi
79366 cat >conftest.$ac_ext <<_ACEOF
79367 /* confdefs.h.  */
79368 _ACEOF
79369 cat confdefs.h >>conftest.$ac_ext
79370 cat >>conftest.$ac_ext <<_ACEOF
79371 /* end confdefs.h.  */
79372
79373 /* Override any gcc2 internal prototype to avoid an error.  */
79374 #ifdef __cplusplus
79375 extern "C"
79376 #endif
79377 /* We use char because int might match the return type of a gcc2
79378    builtin and then its argument prototype would still apply.  */
79379 char iconv ();
79380 int
79381 main ()
79382 {
79383 iconv ();
79384   ;
79385   return 0;
79386 }
79387 _ACEOF
79388 rm -f conftest.$ac_objext conftest$ac_exeext
79389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79390   (eval $ac_link) 2>conftest.er1
79391   ac_status=$?
79392   grep -v '^ *+' conftest.er1 >conftest.err
79393   rm -f conftest.er1
79394   cat conftest.err >&5
79395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79396   (exit $ac_status); } &&
79397          { ac_try='test -z "$ac_c_werror_flag"
79398                          || test ! -s conftest.err'
79399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79400   (eval $ac_try) 2>&5
79401   ac_status=$?
79402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79403   (exit $ac_status); }; } &&
79404          { ac_try='test -s conftest$ac_exeext'
79405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79406   (eval $ac_try) 2>&5
79407   ac_status=$?
79408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79409   (exit $ac_status); }; }; then
79410   ac_cv_lib_iconv_iconv=yes
79411 else
79412   echo "$as_me: failed program was:" >&5
79413 sed 's/^/| /' conftest.$ac_ext >&5
79414
79415 ac_cv_lib_iconv_iconv=no
79416 fi
79417 rm -f conftest.err conftest.$ac_objext \
79418       conftest$ac_exeext conftest.$ac_ext
79419 LIBS=$ac_check_lib_save_LIBS
79420 fi
79421 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79422 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79423 if test $ac_cv_lib_iconv_iconv = yes; then
79424   libiconv="-liconv"
79425 fi
79426
79427     ac_save_LIBS="$LIBS"
79428     LIBS="$LIBS $libiconv"
79429
79430
79431
79432
79433
79434 for ac_func in iconv_open iconv_close iconv nl_langinfo
79435 do
79436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79437 echo "$as_me:$LINENO: checking for $ac_func" >&5
79438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79439 if eval "test \"\${$as_ac_var+set}\" = set"; then
79440   echo $ECHO_N "(cached) $ECHO_C" >&6
79441 else
79442   if test x$gcc_no_link = xyes; then
79443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79445    { (exit 1); exit 1; }; }
79446 fi
79447 cat >conftest.$ac_ext <<_ACEOF
79448 /* confdefs.h.  */
79449 _ACEOF
79450 cat confdefs.h >>conftest.$ac_ext
79451 cat >>conftest.$ac_ext <<_ACEOF
79452 /* end confdefs.h.  */
79453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79455 #define $ac_func innocuous_$ac_func
79456
79457 /* System header to define __stub macros and hopefully few prototypes,
79458     which can conflict with char $ac_func (); below.
79459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79460     <limits.h> exists even on freestanding compilers.  */
79461
79462 #ifdef __STDC__
79463 # include <limits.h>
79464 #else
79465 # include <assert.h>
79466 #endif
79467
79468 #undef $ac_func
79469
79470 /* Override any gcc2 internal prototype to avoid an error.  */
79471 #ifdef __cplusplus
79472 extern "C"
79473 {
79474 #endif
79475 /* We use char because int might match the return type of a gcc2
79476    builtin and then its argument prototype would still apply.  */
79477 char $ac_func ();
79478 /* The GNU C library defines this for functions which it implements
79479     to always fail with ENOSYS.  Some functions are actually named
79480     something starting with __ and the normal name is an alias.  */
79481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79482 choke me
79483 #else
79484 char (*f) () = $ac_func;
79485 #endif
79486 #ifdef __cplusplus
79487 }
79488 #endif
79489
79490 int
79491 main ()
79492 {
79493 return f != $ac_func;
79494   ;
79495   return 0;
79496 }
79497 _ACEOF
79498 rm -f conftest.$ac_objext conftest$ac_exeext
79499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79500   (eval $ac_link) 2>conftest.er1
79501   ac_status=$?
79502   grep -v '^ *+' conftest.er1 >conftest.err
79503   rm -f conftest.er1
79504   cat conftest.err >&5
79505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79506   (exit $ac_status); } &&
79507          { ac_try='test -z "$ac_c_werror_flag"
79508                          || test ! -s conftest.err'
79509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79510   (eval $ac_try) 2>&5
79511   ac_status=$?
79512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79513   (exit $ac_status); }; } &&
79514          { ac_try='test -s conftest$ac_exeext'
79515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79516   (eval $ac_try) 2>&5
79517   ac_status=$?
79518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79519   (exit $ac_status); }; }; then
79520   eval "$as_ac_var=yes"
79521 else
79522   echo "$as_me: failed program was:" >&5
79523 sed 's/^/| /' conftest.$ac_ext >&5
79524
79525 eval "$as_ac_var=no"
79526 fi
79527 rm -f conftest.err conftest.$ac_objext \
79528       conftest$ac_exeext conftest.$ac_ext
79529 fi
79530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79532 if test `eval echo '${'$as_ac_var'}'` = yes; then
79533   cat >>confdefs.h <<_ACEOF
79534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79535 _ACEOF
79536  ac_XPG2funcs=yes
79537 else
79538   ac_XPG2funcs=no
79539 fi
79540 done
79541
79542
79543     LIBS="$ac_save_LIBS"
79544
79545     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79546 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79547     if test x"$ac_has_iconv_h" = xyes &&
79548        test x"$ac_has_langinfo_h" = xyes &&
79549        test x"$ac_XPG2funcs" = xyes;
79550     then
79551       ac_XPG2_wchar_t=yes
79552     else
79553       ac_XPG2_wchar_t=no
79554     fi
79555     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79556 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79557
79558     # At the moment, only enable wchar_t specializations if all the
79559     # above support is present.
79560     if test x"$ac_isoC99_wchar_t" = xyes &&
79561        test x"$ac_XPG2_wchar_t" = xyes;
79562     then
79563       cat >>confdefs.h <<\_ACEOF
79564 #define _GLIBCXX_USE_WCHAR_T 1
79565 _ACEOF
79566
79567       enable_wchar_t=yes
79568     fi
79569   fi
79570   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79571 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79572   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79573 echo "${ECHO_T}$enable_wchar_t" >&6
79574
79575     cat >>confdefs.h <<\_ACEOF
79576 #define HAVE_COPYSIGN 1
79577 _ACEOF
79578
79579     cat >>confdefs.h <<\_ACEOF
79580 #define HAVE_COPYSIGNF 1
79581 _ACEOF
79582
79583     cat >>confdefs.h <<\_ACEOF
79584 #define HAVE_FREXPF 1
79585 _ACEOF
79586
79587     cat >>confdefs.h <<\_ACEOF
79588 #define HAVE_HYPOT 1
79589 _ACEOF
79590
79591     case "$target" in
79592       *-hpux10*)
79593         cat >>confdefs.h <<\_ACEOF
79594 #define HAVE_FINITE 1
79595 _ACEOF
79596
79597         cat >>confdefs.h <<\_ACEOF
79598 #define HAVE_FINITEF 1
79599 _ACEOF
79600
79601         cat >>confdefs.h <<\_ACEOF
79602 #define HAVE_ISINF 1
79603 _ACEOF
79604
79605         cat >>confdefs.h <<\_ACEOF
79606 #define HAVE_ISINFF 1
79607 _ACEOF
79608
79609         cat >>confdefs.h <<\_ACEOF
79610 #define HAVE_ISNAN 1
79611 _ACEOF
79612
79613         cat >>confdefs.h <<\_ACEOF
79614 #define HAVE_ISNANF 1
79615 _ACEOF
79616
79617         ;;
79618     esac
79619     ;;
79620   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79621
79622
79623
79624
79625
79626
79627
79628
79629
79630
79631
79632
79633
79634
79635
79636 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79637       machine/endian.h machine/param.h sys/machine.h sys/types.h \
79638       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79639 do
79640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79642   echo "$as_me:$LINENO: checking for $ac_header" >&5
79643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79645   echo $ECHO_N "(cached) $ECHO_C" >&6
79646 fi
79647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79649 else
79650   # Is the header compilable?
79651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79653 cat >conftest.$ac_ext <<_ACEOF
79654 /* confdefs.h.  */
79655 _ACEOF
79656 cat confdefs.h >>conftest.$ac_ext
79657 cat >>conftest.$ac_ext <<_ACEOF
79658 /* end confdefs.h.  */
79659 $ac_includes_default
79660 #include <$ac_header>
79661 _ACEOF
79662 rm -f conftest.$ac_objext
79663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79664   (eval $ac_compile) 2>conftest.er1
79665   ac_status=$?
79666   grep -v '^ *+' conftest.er1 >conftest.err
79667   rm -f conftest.er1
79668   cat conftest.err >&5
79669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79670   (exit $ac_status); } &&
79671          { ac_try='test -z "$ac_c_werror_flag"
79672                          || test ! -s conftest.err'
79673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79674   (eval $ac_try) 2>&5
79675   ac_status=$?
79676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79677   (exit $ac_status); }; } &&
79678          { ac_try='test -s conftest.$ac_objext'
79679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79680   (eval $ac_try) 2>&5
79681   ac_status=$?
79682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79683   (exit $ac_status); }; }; then
79684   ac_header_compiler=yes
79685 else
79686   echo "$as_me: failed program was:" >&5
79687 sed 's/^/| /' conftest.$ac_ext >&5
79688
79689 ac_header_compiler=no
79690 fi
79691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79693 echo "${ECHO_T}$ac_header_compiler" >&6
79694
79695 # Is the header present?
79696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79698 cat >conftest.$ac_ext <<_ACEOF
79699 /* confdefs.h.  */
79700 _ACEOF
79701 cat confdefs.h >>conftest.$ac_ext
79702 cat >>conftest.$ac_ext <<_ACEOF
79703 /* end confdefs.h.  */
79704 #include <$ac_header>
79705 _ACEOF
79706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79707   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79708   ac_status=$?
79709   grep -v '^ *+' conftest.er1 >conftest.err
79710   rm -f conftest.er1
79711   cat conftest.err >&5
79712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79713   (exit $ac_status); } >/dev/null; then
79714   if test -s conftest.err; then
79715     ac_cpp_err=$ac_c_preproc_warn_flag
79716     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79717   else
79718     ac_cpp_err=
79719   fi
79720 else
79721   ac_cpp_err=yes
79722 fi
79723 if test -z "$ac_cpp_err"; then
79724   ac_header_preproc=yes
79725 else
79726   echo "$as_me: failed program was:" >&5
79727 sed 's/^/| /' conftest.$ac_ext >&5
79728
79729   ac_header_preproc=no
79730 fi
79731 rm -f conftest.err conftest.$ac_ext
79732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79733 echo "${ECHO_T}$ac_header_preproc" >&6
79734
79735 # So?  What about this header?
79736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79737   yes:no: )
79738     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79740     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79741 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79742     ac_header_preproc=yes
79743     ;;
79744   no:yes:* )
79745     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79746 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79747     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79748 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79749     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79750 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79751     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79752 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79753     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79755     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79756 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79757     (
79758       cat <<\_ASBOX
79759 ## ----------------------------------------- ##
79760 ## Report this to the package-unused lists.  ##
79761 ## ----------------------------------------- ##
79762 _ASBOX
79763     ) |
79764       sed "s/^/$as_me: WARNING:     /" >&2
79765     ;;
79766 esac
79767 echo "$as_me:$LINENO: checking for $ac_header" >&5
79768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79770   echo $ECHO_N "(cached) $ECHO_C" >&6
79771 else
79772   eval "$as_ac_Header=\$ac_header_preproc"
79773 fi
79774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79776
79777 fi
79778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79779   cat >>confdefs.h <<_ACEOF
79780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79781 _ACEOF
79782
79783 fi
79784
79785 done
79786
79787     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79788
79789
79790   # If we're not using GNU ld, then there's no point in even trying these
79791   # tests.  Check for that first.  We should have already tested for gld
79792   # by now (in libtool), but require it now just to be safe...
79793   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79794   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79795
79796
79797
79798   # The name set by libtool depends on the version of libtool.  Shame on us
79799   # for depending on an impl detail, but c'est la vie.  Older versions used
79800   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79801   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79802   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79803   # set (hence we're using an older libtool), then set it.
79804   if test x${with_gnu_ld+set} != xset; then
79805     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79806       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79807       with_gnu_ld=no
79808     else
79809       with_gnu_ld=$ac_cv_prog_gnu_ld
79810     fi
79811   fi
79812
79813   # Start by getting the version number.  I think the libtool test already
79814   # does some of this, but throws away the result.
79815
79816   ldver=`$LD --version 2>/dev/null | head -1 | \
79817          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79818
79819   glibcxx_gnu_ld_version=`echo $ldver | \
79820          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79821
79822   # Set --gc-sections.
79823   if test "$with_gnu_ld" = "notbroken"; then
79824     # GNU ld it is!  Joy and bunny rabbits!
79825
79826     # All these tests are for C++; save the language and the compiler flags.
79827     # Need to do this so that g++ won't try to link in libstdc++
79828     ac_test_CFLAGS="${CFLAGS+set}"
79829     ac_save_CFLAGS="$CFLAGS"
79830     CFLAGS='-x c++  -Wl,--gc-sections'
79831
79832     # Check for -Wl,--gc-sections
79833     # XXX This test is broken at the moment, as symbols required for linking
79834     # are now in libsupc++ (not built yet).  In addition, this test has
79835     # cored on solaris in the past.  In addition, --gc-sections doesn't
79836     # really work at the moment (keeps on discarding used sections, first
79837     # .eh_frame and now some of the glibc sections for iconv).
79838     # Bzzzzt.  Thanks for playing, maybe next time.
79839     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79840 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79841     if test "$cross_compiling" = yes; then
79842   ac_sectionLDflags=yes
79843 else
79844   cat >conftest.$ac_ext <<_ACEOF
79845 /* confdefs.h.  */
79846 _ACEOF
79847 cat confdefs.h >>conftest.$ac_ext
79848 cat >>conftest.$ac_ext <<_ACEOF
79849 /* end confdefs.h.  */
79850
79851      int main(void)
79852      {
79853        try { throw 1; }
79854        catch (...) { };
79855        return 0;
79856      }
79857
79858 _ACEOF
79859 rm -f conftest$ac_exeext
79860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79861   (eval $ac_link) 2>&5
79862   ac_status=$?
79863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79864   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79866   (eval $ac_try) 2>&5
79867   ac_status=$?
79868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79869   (exit $ac_status); }; }; then
79870   ac_sectionLDflags=yes
79871 else
79872   echo "$as_me: program exited with status $ac_status" >&5
79873 echo "$as_me: failed program was:" >&5
79874 sed 's/^/| /' conftest.$ac_ext >&5
79875
79876 ( exit $ac_status )
79877 ac_sectionLDflags=no
79878 fi
79879 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79880 fi
79881     if test "$ac_test_CFLAGS" = set; then
79882       CFLAGS="$ac_save_CFLAGS"
79883     else
79884       # this is the suspicious part
79885       CFLAGS=''
79886     fi
79887     if test "$ac_sectionLDflags" = "yes"; then
79888       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79889     fi
79890     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79891 echo "${ECHO_T}$ac_sectionLDflags" >&6
79892   fi
79893
79894   # Set linker optimization flags.
79895   if test x"$with_gnu_ld" = x"yes"; then
79896     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79897   fi
79898
79899
79900
79901
79902
79903
79904 echo "$as_me:$LINENO: checking for main in -lm" >&5
79905 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79906 if test "${ac_cv_lib_m_main+set}" = set; then
79907   echo $ECHO_N "(cached) $ECHO_C" >&6
79908 else
79909   ac_check_lib_save_LIBS=$LIBS
79910 LIBS="-lm  $LIBS"
79911 if test x$gcc_no_link = xyes; then
79912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79914    { (exit 1); exit 1; }; }
79915 fi
79916 cat >conftest.$ac_ext <<_ACEOF
79917 /* confdefs.h.  */
79918 _ACEOF
79919 cat confdefs.h >>conftest.$ac_ext
79920 cat >>conftest.$ac_ext <<_ACEOF
79921 /* end confdefs.h.  */
79922
79923
79924 int
79925 main ()
79926 {
79927 main ();
79928   ;
79929   return 0;
79930 }
79931 _ACEOF
79932 rm -f conftest.$ac_objext conftest$ac_exeext
79933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79934   (eval $ac_link) 2>conftest.er1
79935   ac_status=$?
79936   grep -v '^ *+' conftest.er1 >conftest.err
79937   rm -f conftest.er1
79938   cat conftest.err >&5
79939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79940   (exit $ac_status); } &&
79941          { ac_try='test -z "$ac_c_werror_flag"
79942                          || test ! -s conftest.err'
79943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79944   (eval $ac_try) 2>&5
79945   ac_status=$?
79946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79947   (exit $ac_status); }; } &&
79948          { ac_try='test -s conftest$ac_exeext'
79949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79950   (eval $ac_try) 2>&5
79951   ac_status=$?
79952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79953   (exit $ac_status); }; }; then
79954   ac_cv_lib_m_main=yes
79955 else
79956   echo "$as_me: failed program was:" >&5
79957 sed 's/^/| /' conftest.$ac_ext >&5
79958
79959 ac_cv_lib_m_main=no
79960 fi
79961 rm -f conftest.err conftest.$ac_objext \
79962       conftest$ac_exeext conftest.$ac_ext
79963 LIBS=$ac_check_lib_save_LIBS
79964 fi
79965 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79966 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79967 if test $ac_cv_lib_m_main = yes; then
79968   cat >>confdefs.h <<_ACEOF
79969 #define HAVE_LIBM 1
79970 _ACEOF
79971
79972   LIBS="-lm $LIBS"
79973
79974 fi
79975
79976
79977 for ac_func in copysignf
79978 do
79979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79980 echo "$as_me:$LINENO: checking for $ac_func" >&5
79981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79982 if eval "test \"\${$as_ac_var+set}\" = set"; then
79983   echo $ECHO_N "(cached) $ECHO_C" >&6
79984 else
79985   if test x$gcc_no_link = xyes; then
79986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79988    { (exit 1); exit 1; }; }
79989 fi
79990 cat >conftest.$ac_ext <<_ACEOF
79991 /* confdefs.h.  */
79992 _ACEOF
79993 cat confdefs.h >>conftest.$ac_ext
79994 cat >>conftest.$ac_ext <<_ACEOF
79995 /* end confdefs.h.  */
79996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79998 #define $ac_func innocuous_$ac_func
79999
80000 /* System header to define __stub macros and hopefully few prototypes,
80001     which can conflict with char $ac_func (); below.
80002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80003     <limits.h> exists even on freestanding compilers.  */
80004
80005 #ifdef __STDC__
80006 # include <limits.h>
80007 #else
80008 # include <assert.h>
80009 #endif
80010
80011 #undef $ac_func
80012
80013 /* Override any gcc2 internal prototype to avoid an error.  */
80014 #ifdef __cplusplus
80015 extern "C"
80016 {
80017 #endif
80018 /* We use char because int might match the return type of a gcc2
80019    builtin and then its argument prototype would still apply.  */
80020 char $ac_func ();
80021 /* The GNU C library defines this for functions which it implements
80022     to always fail with ENOSYS.  Some functions are actually named
80023     something starting with __ and the normal name is an alias.  */
80024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80025 choke me
80026 #else
80027 char (*f) () = $ac_func;
80028 #endif
80029 #ifdef __cplusplus
80030 }
80031 #endif
80032
80033 int
80034 main ()
80035 {
80036 return f != $ac_func;
80037   ;
80038   return 0;
80039 }
80040 _ACEOF
80041 rm -f conftest.$ac_objext conftest$ac_exeext
80042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80043   (eval $ac_link) 2>conftest.er1
80044   ac_status=$?
80045   grep -v '^ *+' conftest.er1 >conftest.err
80046   rm -f conftest.er1
80047   cat conftest.err >&5
80048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80049   (exit $ac_status); } &&
80050          { ac_try='test -z "$ac_c_werror_flag"
80051                          || test ! -s conftest.err'
80052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80053   (eval $ac_try) 2>&5
80054   ac_status=$?
80055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80056   (exit $ac_status); }; } &&
80057          { ac_try='test -s conftest$ac_exeext'
80058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80059   (eval $ac_try) 2>&5
80060   ac_status=$?
80061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80062   (exit $ac_status); }; }; then
80063   eval "$as_ac_var=yes"
80064 else
80065   echo "$as_me: failed program was:" >&5
80066 sed 's/^/| /' conftest.$ac_ext >&5
80067
80068 eval "$as_ac_var=no"
80069 fi
80070 rm -f conftest.err conftest.$ac_objext \
80071       conftest$ac_exeext conftest.$ac_ext
80072 fi
80073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80075 if test `eval echo '${'$as_ac_var'}'` = yes; then
80076   cat >>confdefs.h <<_ACEOF
80077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80078 _ACEOF
80079
80080 else
80081   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80082 fi
80083 done
80084
80085
80086
80087 for ac_func in __signbit
80088 do
80089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80090 echo "$as_me:$LINENO: checking for $ac_func" >&5
80091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80092 if eval "test \"\${$as_ac_var+set}\" = set"; then
80093   echo $ECHO_N "(cached) $ECHO_C" >&6
80094 else
80095   if test x$gcc_no_link = xyes; then
80096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80098    { (exit 1); exit 1; }; }
80099 fi
80100 cat >conftest.$ac_ext <<_ACEOF
80101 /* confdefs.h.  */
80102 _ACEOF
80103 cat confdefs.h >>conftest.$ac_ext
80104 cat >>conftest.$ac_ext <<_ACEOF
80105 /* end confdefs.h.  */
80106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80108 #define $ac_func innocuous_$ac_func
80109
80110 /* System header to define __stub macros and hopefully few prototypes,
80111     which can conflict with char $ac_func (); below.
80112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80113     <limits.h> exists even on freestanding compilers.  */
80114
80115 #ifdef __STDC__
80116 # include <limits.h>
80117 #else
80118 # include <assert.h>
80119 #endif
80120
80121 #undef $ac_func
80122
80123 /* Override any gcc2 internal prototype to avoid an error.  */
80124 #ifdef __cplusplus
80125 extern "C"
80126 {
80127 #endif
80128 /* We use char because int might match the return type of a gcc2
80129    builtin and then its argument prototype would still apply.  */
80130 char $ac_func ();
80131 /* The GNU C library defines this for functions which it implements
80132     to always fail with ENOSYS.  Some functions are actually named
80133     something starting with __ and the normal name is an alias.  */
80134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80135 choke me
80136 #else
80137 char (*f) () = $ac_func;
80138 #endif
80139 #ifdef __cplusplus
80140 }
80141 #endif
80142
80143 int
80144 main ()
80145 {
80146 return f != $ac_func;
80147   ;
80148   return 0;
80149 }
80150 _ACEOF
80151 rm -f conftest.$ac_objext conftest$ac_exeext
80152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80153   (eval $ac_link) 2>conftest.er1
80154   ac_status=$?
80155   grep -v '^ *+' conftest.er1 >conftest.err
80156   rm -f conftest.er1
80157   cat conftest.err >&5
80158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80159   (exit $ac_status); } &&
80160          { ac_try='test -z "$ac_c_werror_flag"
80161                          || test ! -s conftest.err'
80162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80163   (eval $ac_try) 2>&5
80164   ac_status=$?
80165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80166   (exit $ac_status); }; } &&
80167          { ac_try='test -s conftest$ac_exeext'
80168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80169   (eval $ac_try) 2>&5
80170   ac_status=$?
80171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80172   (exit $ac_status); }; }; then
80173   eval "$as_ac_var=yes"
80174 else
80175   echo "$as_me: failed program was:" >&5
80176 sed 's/^/| /' conftest.$ac_ext >&5
80177
80178 eval "$as_ac_var=no"
80179 fi
80180 rm -f conftest.err conftest.$ac_objext \
80181       conftest$ac_exeext conftest.$ac_ext
80182 fi
80183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80185 if test `eval echo '${'$as_ac_var'}'` = yes; then
80186   cat >>confdefs.h <<_ACEOF
80187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80188 _ACEOF
80189
80190 else
80191   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80192 fi
80193 done
80194
80195
80196
80197 for ac_func in __signbitf
80198 do
80199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80200 echo "$as_me:$LINENO: checking for $ac_func" >&5
80201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80202 if eval "test \"\${$as_ac_var+set}\" = set"; then
80203   echo $ECHO_N "(cached) $ECHO_C" >&6
80204 else
80205   if test x$gcc_no_link = xyes; then
80206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80208    { (exit 1); exit 1; }; }
80209 fi
80210 cat >conftest.$ac_ext <<_ACEOF
80211 /* confdefs.h.  */
80212 _ACEOF
80213 cat confdefs.h >>conftest.$ac_ext
80214 cat >>conftest.$ac_ext <<_ACEOF
80215 /* end confdefs.h.  */
80216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80218 #define $ac_func innocuous_$ac_func
80219
80220 /* System header to define __stub macros and hopefully few prototypes,
80221     which can conflict with char $ac_func (); below.
80222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80223     <limits.h> exists even on freestanding compilers.  */
80224
80225 #ifdef __STDC__
80226 # include <limits.h>
80227 #else
80228 # include <assert.h>
80229 #endif
80230
80231 #undef $ac_func
80232
80233 /* Override any gcc2 internal prototype to avoid an error.  */
80234 #ifdef __cplusplus
80235 extern "C"
80236 {
80237 #endif
80238 /* We use char because int might match the return type of a gcc2
80239    builtin and then its argument prototype would still apply.  */
80240 char $ac_func ();
80241 /* The GNU C library defines this for functions which it implements
80242     to always fail with ENOSYS.  Some functions are actually named
80243     something starting with __ and the normal name is an alias.  */
80244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80245 choke me
80246 #else
80247 char (*f) () = $ac_func;
80248 #endif
80249 #ifdef __cplusplus
80250 }
80251 #endif
80252
80253 int
80254 main ()
80255 {
80256 return f != $ac_func;
80257   ;
80258   return 0;
80259 }
80260 _ACEOF
80261 rm -f conftest.$ac_objext conftest$ac_exeext
80262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80263   (eval $ac_link) 2>conftest.er1
80264   ac_status=$?
80265   grep -v '^ *+' conftest.er1 >conftest.err
80266   rm -f conftest.er1
80267   cat conftest.err >&5
80268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80269   (exit $ac_status); } &&
80270          { ac_try='test -z "$ac_c_werror_flag"
80271                          || test ! -s conftest.err'
80272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80273   (eval $ac_try) 2>&5
80274   ac_status=$?
80275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80276   (exit $ac_status); }; } &&
80277          { ac_try='test -s conftest$ac_exeext'
80278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80279   (eval $ac_try) 2>&5
80280   ac_status=$?
80281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80282   (exit $ac_status); }; }; then
80283   eval "$as_ac_var=yes"
80284 else
80285   echo "$as_me: failed program was:" >&5
80286 sed 's/^/| /' conftest.$ac_ext >&5
80287
80288 eval "$as_ac_var=no"
80289 fi
80290 rm -f conftest.err conftest.$ac_objext \
80291       conftest$ac_exeext conftest.$ac_ext
80292 fi
80293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80295 if test `eval echo '${'$as_ac_var'}'` = yes; then
80296   cat >>confdefs.h <<_ACEOF
80297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80298 _ACEOF
80299
80300 else
80301   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80302 fi
80303 done
80304
80305
80306           if test x$ac_cv_func_copysignl = x"yes"; then
80307
80308 for ac_func in __signbitl
80309 do
80310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80311 echo "$as_me:$LINENO: checking for $ac_func" >&5
80312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80313 if eval "test \"\${$as_ac_var+set}\" = set"; then
80314   echo $ECHO_N "(cached) $ECHO_C" >&6
80315 else
80316   if test x$gcc_no_link = xyes; then
80317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80319    { (exit 1); exit 1; }; }
80320 fi
80321 cat >conftest.$ac_ext <<_ACEOF
80322 /* confdefs.h.  */
80323 _ACEOF
80324 cat confdefs.h >>conftest.$ac_ext
80325 cat >>conftest.$ac_ext <<_ACEOF
80326 /* end confdefs.h.  */
80327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80329 #define $ac_func innocuous_$ac_func
80330
80331 /* System header to define __stub macros and hopefully few prototypes,
80332     which can conflict with char $ac_func (); below.
80333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80334     <limits.h> exists even on freestanding compilers.  */
80335
80336 #ifdef __STDC__
80337 # include <limits.h>
80338 #else
80339 # include <assert.h>
80340 #endif
80341
80342 #undef $ac_func
80343
80344 /* Override any gcc2 internal prototype to avoid an error.  */
80345 #ifdef __cplusplus
80346 extern "C"
80347 {
80348 #endif
80349 /* We use char because int might match the return type of a gcc2
80350    builtin and then its argument prototype would still apply.  */
80351 char $ac_func ();
80352 /* The GNU C library defines this for functions which it implements
80353     to always fail with ENOSYS.  Some functions are actually named
80354     something starting with __ and the normal name is an alias.  */
80355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80356 choke me
80357 #else
80358 char (*f) () = $ac_func;
80359 #endif
80360 #ifdef __cplusplus
80361 }
80362 #endif
80363
80364 int
80365 main ()
80366 {
80367 return f != $ac_func;
80368   ;
80369   return 0;
80370 }
80371 _ACEOF
80372 rm -f conftest.$ac_objext conftest$ac_exeext
80373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80374   (eval $ac_link) 2>conftest.er1
80375   ac_status=$?
80376   grep -v '^ *+' conftest.er1 >conftest.err
80377   rm -f conftest.er1
80378   cat conftest.err >&5
80379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80380   (exit $ac_status); } &&
80381          { ac_try='test -z "$ac_c_werror_flag"
80382                          || test ! -s conftest.err'
80383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80384   (eval $ac_try) 2>&5
80385   ac_status=$?
80386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80387   (exit $ac_status); }; } &&
80388          { ac_try='test -s conftest$ac_exeext'
80389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80390   (eval $ac_try) 2>&5
80391   ac_status=$?
80392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80393   (exit $ac_status); }; }; then
80394   eval "$as_ac_var=yes"
80395 else
80396   echo "$as_me: failed program was:" >&5
80397 sed 's/^/| /' conftest.$ac_ext >&5
80398
80399 eval "$as_ac_var=no"
80400 fi
80401 rm -f conftest.err conftest.$ac_objext \
80402       conftest$ac_exeext conftest.$ac_ext
80403 fi
80404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80406 if test `eval echo '${'$as_ac_var'}'` = yes; then
80407   cat >>confdefs.h <<_ACEOF
80408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80409 _ACEOF
80410
80411 else
80412   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80413 fi
80414 done
80415
80416   fi
80417
80418   # Used in libmath/Makefile.am.
80419   if test -n "$LIBMATHOBJS"; then
80420     need_libmath=yes
80421   fi
80422
80423
80424
80425   # Test wchar.h for mbstate_t, which is needed for char_traits and
80426   # others even if wchar_t support is not on.
80427   echo "$as_me:$LINENO: checking for mbstate_t" >&5
80428 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80429   cat >conftest.$ac_ext <<_ACEOF
80430 /* confdefs.h.  */
80431 _ACEOF
80432 cat confdefs.h >>conftest.$ac_ext
80433 cat >>conftest.$ac_ext <<_ACEOF
80434 /* end confdefs.h.  */
80435 #include <wchar.h>
80436 int
80437 main ()
80438 {
80439 mbstate_t teststate;
80440   ;
80441   return 0;
80442 }
80443 _ACEOF
80444 rm -f conftest.$ac_objext
80445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80446   (eval $ac_compile) 2>conftest.er1
80447   ac_status=$?
80448   grep -v '^ *+' conftest.er1 >conftest.err
80449   rm -f conftest.er1
80450   cat conftest.err >&5
80451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80452   (exit $ac_status); } &&
80453          { ac_try='test -z "$ac_c_werror_flag"
80454                          || test ! -s conftest.err'
80455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80456   (eval $ac_try) 2>&5
80457   ac_status=$?
80458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80459   (exit $ac_status); }; } &&
80460          { ac_try='test -s conftest.$ac_objext'
80461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80462   (eval $ac_try) 2>&5
80463   ac_status=$?
80464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465   (exit $ac_status); }; }; then
80466   have_mbstate_t=yes
80467 else
80468   echo "$as_me: failed program was:" >&5
80469 sed 's/^/| /' conftest.$ac_ext >&5
80470
80471 have_mbstate_t=no
80472 fi
80473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80474   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80475 echo "${ECHO_T}$have_mbstate_t" >&6
80476   if test x"$have_mbstate_t" = xyes; then
80477     cat >>confdefs.h <<\_ACEOF
80478 #define HAVE_MBSTATE_T 1
80479 _ACEOF
80480
80481   fi
80482
80483   # Sanity check for existence of ISO C99 headers for extended encoding.
80484
80485 for ac_header in wchar.h
80486 do
80487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80489   echo "$as_me:$LINENO: checking for $ac_header" >&5
80490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80492   echo $ECHO_N "(cached) $ECHO_C" >&6
80493 fi
80494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80496 else
80497   # Is the header compilable?
80498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80500 cat >conftest.$ac_ext <<_ACEOF
80501 /* confdefs.h.  */
80502 _ACEOF
80503 cat confdefs.h >>conftest.$ac_ext
80504 cat >>conftest.$ac_ext <<_ACEOF
80505 /* end confdefs.h.  */
80506 $ac_includes_default
80507 #include <$ac_header>
80508 _ACEOF
80509 rm -f conftest.$ac_objext
80510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80511   (eval $ac_compile) 2>conftest.er1
80512   ac_status=$?
80513   grep -v '^ *+' conftest.er1 >conftest.err
80514   rm -f conftest.er1
80515   cat conftest.err >&5
80516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80517   (exit $ac_status); } &&
80518          { ac_try='test -z "$ac_c_werror_flag"
80519                          || test ! -s conftest.err'
80520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80521   (eval $ac_try) 2>&5
80522   ac_status=$?
80523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80524   (exit $ac_status); }; } &&
80525          { ac_try='test -s conftest.$ac_objext'
80526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80527   (eval $ac_try) 2>&5
80528   ac_status=$?
80529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530   (exit $ac_status); }; }; then
80531   ac_header_compiler=yes
80532 else
80533   echo "$as_me: failed program was:" >&5
80534 sed 's/^/| /' conftest.$ac_ext >&5
80535
80536 ac_header_compiler=no
80537 fi
80538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80540 echo "${ECHO_T}$ac_header_compiler" >&6
80541
80542 # Is the header present?
80543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80545 cat >conftest.$ac_ext <<_ACEOF
80546 /* confdefs.h.  */
80547 _ACEOF
80548 cat confdefs.h >>conftest.$ac_ext
80549 cat >>conftest.$ac_ext <<_ACEOF
80550 /* end confdefs.h.  */
80551 #include <$ac_header>
80552 _ACEOF
80553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80554   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80555   ac_status=$?
80556   grep -v '^ *+' conftest.er1 >conftest.err
80557   rm -f conftest.er1
80558   cat conftest.err >&5
80559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560   (exit $ac_status); } >/dev/null; then
80561   if test -s conftest.err; then
80562     ac_cpp_err=$ac_c_preproc_warn_flag
80563     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80564   else
80565     ac_cpp_err=
80566   fi
80567 else
80568   ac_cpp_err=yes
80569 fi
80570 if test -z "$ac_cpp_err"; then
80571   ac_header_preproc=yes
80572 else
80573   echo "$as_me: failed program was:" >&5
80574 sed 's/^/| /' conftest.$ac_ext >&5
80575
80576   ac_header_preproc=no
80577 fi
80578 rm -f conftest.err conftest.$ac_ext
80579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80580 echo "${ECHO_T}$ac_header_preproc" >&6
80581
80582 # So?  What about this header?
80583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80584   yes:no: )
80585     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80587     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80589     ac_header_preproc=yes
80590     ;;
80591   no:yes:* )
80592     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80594     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80595 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80596     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80598     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80599 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80600     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80602     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80604     (
80605       cat <<\_ASBOX
80606 ## ----------------------------------------- ##
80607 ## Report this to the package-unused lists.  ##
80608 ## ----------------------------------------- ##
80609 _ASBOX
80610     ) |
80611       sed "s/^/$as_me: WARNING:     /" >&2
80612     ;;
80613 esac
80614 echo "$as_me:$LINENO: checking for $ac_header" >&5
80615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80617   echo $ECHO_N "(cached) $ECHO_C" >&6
80618 else
80619   eval "$as_ac_Header=\$ac_header_preproc"
80620 fi
80621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80623
80624 fi
80625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80626   cat >>confdefs.h <<_ACEOF
80627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80628 _ACEOF
80629  ac_has_wchar_h=yes
80630 else
80631   ac_has_wchar_h=no
80632 fi
80633
80634 done
80635
80636
80637 for ac_header in wctype.h
80638 do
80639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80641   echo "$as_me:$LINENO: checking for $ac_header" >&5
80642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80644   echo $ECHO_N "(cached) $ECHO_C" >&6
80645 fi
80646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80648 else
80649   # Is the header compilable?
80650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80652 cat >conftest.$ac_ext <<_ACEOF
80653 /* confdefs.h.  */
80654 _ACEOF
80655 cat confdefs.h >>conftest.$ac_ext
80656 cat >>conftest.$ac_ext <<_ACEOF
80657 /* end confdefs.h.  */
80658 $ac_includes_default
80659 #include <$ac_header>
80660 _ACEOF
80661 rm -f conftest.$ac_objext
80662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80663   (eval $ac_compile) 2>conftest.er1
80664   ac_status=$?
80665   grep -v '^ *+' conftest.er1 >conftest.err
80666   rm -f conftest.er1
80667   cat conftest.err >&5
80668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80669   (exit $ac_status); } &&
80670          { ac_try='test -z "$ac_c_werror_flag"
80671                          || test ! -s conftest.err'
80672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80673   (eval $ac_try) 2>&5
80674   ac_status=$?
80675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80676   (exit $ac_status); }; } &&
80677          { ac_try='test -s conftest.$ac_objext'
80678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80679   (eval $ac_try) 2>&5
80680   ac_status=$?
80681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80682   (exit $ac_status); }; }; then
80683   ac_header_compiler=yes
80684 else
80685   echo "$as_me: failed program was:" >&5
80686 sed 's/^/| /' conftest.$ac_ext >&5
80687
80688 ac_header_compiler=no
80689 fi
80690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80691 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80692 echo "${ECHO_T}$ac_header_compiler" >&6
80693
80694 # Is the header present?
80695 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80697 cat >conftest.$ac_ext <<_ACEOF
80698 /* confdefs.h.  */
80699 _ACEOF
80700 cat confdefs.h >>conftest.$ac_ext
80701 cat >>conftest.$ac_ext <<_ACEOF
80702 /* end confdefs.h.  */
80703 #include <$ac_header>
80704 _ACEOF
80705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80706   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80707   ac_status=$?
80708   grep -v '^ *+' conftest.er1 >conftest.err
80709   rm -f conftest.er1
80710   cat conftest.err >&5
80711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80712   (exit $ac_status); } >/dev/null; then
80713   if test -s conftest.err; then
80714     ac_cpp_err=$ac_c_preproc_warn_flag
80715     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80716   else
80717     ac_cpp_err=
80718   fi
80719 else
80720   ac_cpp_err=yes
80721 fi
80722 if test -z "$ac_cpp_err"; then
80723   ac_header_preproc=yes
80724 else
80725   echo "$as_me: failed program was:" >&5
80726 sed 's/^/| /' conftest.$ac_ext >&5
80727
80728   ac_header_preproc=no
80729 fi
80730 rm -f conftest.err conftest.$ac_ext
80731 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80732 echo "${ECHO_T}$ac_header_preproc" >&6
80733
80734 # So?  What about this header?
80735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80736   yes:no: )
80737     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80739     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80741     ac_header_preproc=yes
80742     ;;
80743   no:yes:* )
80744     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80746     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80747 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80748     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80750     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80751 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80752     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80754     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80756     (
80757       cat <<\_ASBOX
80758 ## ----------------------------------------- ##
80759 ## Report this to the package-unused lists.  ##
80760 ## ----------------------------------------- ##
80761 _ASBOX
80762     ) |
80763       sed "s/^/$as_me: WARNING:     /" >&2
80764     ;;
80765 esac
80766 echo "$as_me:$LINENO: checking for $ac_header" >&5
80767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80769   echo $ECHO_N "(cached) $ECHO_C" >&6
80770 else
80771   eval "$as_ac_Header=\$ac_header_preproc"
80772 fi
80773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80775
80776 fi
80777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80778   cat >>confdefs.h <<_ACEOF
80779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80780 _ACEOF
80781  ac_has_wctype_h=yes
80782 else
80783   ac_has_wctype_h=no
80784 fi
80785
80786 done
80787
80788
80789   # Only continue checking if the ISO C99 headers exist and support is on.
80790   if test x"$ac_has_wchar_h" = xyes &&
80791      test x"$ac_has_wctype_h" = xyes &&
80792      test x"$enable_c_mbchar" != xno; then
80793
80794     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80795     # numeric_limits can instantiate type_traits<wchar_t>
80796     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80797 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80798     cat >conftest.$ac_ext <<_ACEOF
80799 /* confdefs.h.  */
80800 _ACEOF
80801 cat confdefs.h >>conftest.$ac_ext
80802 cat >>conftest.$ac_ext <<_ACEOF
80803 /* end confdefs.h.  */
80804 #include <wchar.h>
80805 int
80806 main ()
80807 {
80808 int i = WCHAR_MIN; int j = WCHAR_MAX;
80809   ;
80810   return 0;
80811 }
80812 _ACEOF
80813 rm -f conftest.$ac_objext
80814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80815   (eval $ac_compile) 2>conftest.er1
80816   ac_status=$?
80817   grep -v '^ *+' conftest.er1 >conftest.err
80818   rm -f conftest.er1
80819   cat conftest.err >&5
80820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80821   (exit $ac_status); } &&
80822          { ac_try='test -z "$ac_c_werror_flag"
80823                          || test ! -s conftest.err'
80824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80825   (eval $ac_try) 2>&5
80826   ac_status=$?
80827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80828   (exit $ac_status); }; } &&
80829          { ac_try='test -s conftest.$ac_objext'
80830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80831   (eval $ac_try) 2>&5
80832   ac_status=$?
80833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80834   (exit $ac_status); }; }; then
80835   has_wchar_minmax=yes
80836 else
80837   echo "$as_me: failed program was:" >&5
80838 sed 's/^/| /' conftest.$ac_ext >&5
80839
80840 has_wchar_minmax=no
80841 fi
80842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80843     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80844 echo "${ECHO_T}$has_wchar_minmax" >&6
80845
80846     # Test wchar.h for WEOF, which is what we use to determine whether
80847     # to specialize for char_traits<wchar_t> or not.
80848     echo "$as_me:$LINENO: checking for WEOF" >&5
80849 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80850     cat >conftest.$ac_ext <<_ACEOF
80851 /* confdefs.h.  */
80852 _ACEOF
80853 cat confdefs.h >>conftest.$ac_ext
80854 cat >>conftest.$ac_ext <<_ACEOF
80855 /* end confdefs.h.  */
80856
80857       #include <wchar.h>
80858       #include <stddef.h>
80859 int
80860 main ()
80861 {
80862 wint_t i = WEOF;
80863   ;
80864   return 0;
80865 }
80866 _ACEOF
80867 rm -f conftest.$ac_objext
80868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80869   (eval $ac_compile) 2>conftest.er1
80870   ac_status=$?
80871   grep -v '^ *+' conftest.er1 >conftest.err
80872   rm -f conftest.er1
80873   cat conftest.err >&5
80874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80875   (exit $ac_status); } &&
80876          { ac_try='test -z "$ac_c_werror_flag"
80877                          || test ! -s conftest.err'
80878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80879   (eval $ac_try) 2>&5
80880   ac_status=$?
80881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80882   (exit $ac_status); }; } &&
80883          { ac_try='test -s conftest.$ac_objext'
80884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80885   (eval $ac_try) 2>&5
80886   ac_status=$?
80887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80888   (exit $ac_status); }; }; then
80889   has_weof=yes
80890 else
80891   echo "$as_me: failed program was:" >&5
80892 sed 's/^/| /' conftest.$ac_ext >&5
80893
80894 has_weof=no
80895 fi
80896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80897     echo "$as_me:$LINENO: result: $has_weof" >&5
80898 echo "${ECHO_T}$has_weof" >&6
80899
80900     # Tests for wide character functions used in char_traits<wchar_t>.
80901     ac_wfuncs=yes
80902
80903
80904
80905
80906
80907
80908 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80909 do
80910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80911 echo "$as_me:$LINENO: checking for $ac_func" >&5
80912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80913 if eval "test \"\${$as_ac_var+set}\" = set"; then
80914   echo $ECHO_N "(cached) $ECHO_C" >&6
80915 else
80916   if test x$gcc_no_link = xyes; then
80917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80919    { (exit 1); exit 1; }; }
80920 fi
80921 cat >conftest.$ac_ext <<_ACEOF
80922 /* confdefs.h.  */
80923 _ACEOF
80924 cat confdefs.h >>conftest.$ac_ext
80925 cat >>conftest.$ac_ext <<_ACEOF
80926 /* end confdefs.h.  */
80927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80929 #define $ac_func innocuous_$ac_func
80930
80931 /* System header to define __stub macros and hopefully few prototypes,
80932     which can conflict with char $ac_func (); below.
80933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80934     <limits.h> exists even on freestanding compilers.  */
80935
80936 #ifdef __STDC__
80937 # include <limits.h>
80938 #else
80939 # include <assert.h>
80940 #endif
80941
80942 #undef $ac_func
80943
80944 /* Override any gcc2 internal prototype to avoid an error.  */
80945 #ifdef __cplusplus
80946 extern "C"
80947 {
80948 #endif
80949 /* We use char because int might match the return type of a gcc2
80950    builtin and then its argument prototype would still apply.  */
80951 char $ac_func ();
80952 /* The GNU C library defines this for functions which it implements
80953     to always fail with ENOSYS.  Some functions are actually named
80954     something starting with __ and the normal name is an alias.  */
80955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80956 choke me
80957 #else
80958 char (*f) () = $ac_func;
80959 #endif
80960 #ifdef __cplusplus
80961 }
80962 #endif
80963
80964 int
80965 main ()
80966 {
80967 return f != $ac_func;
80968   ;
80969   return 0;
80970 }
80971 _ACEOF
80972 rm -f conftest.$ac_objext conftest$ac_exeext
80973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80974   (eval $ac_link) 2>conftest.er1
80975   ac_status=$?
80976   grep -v '^ *+' conftest.er1 >conftest.err
80977   rm -f conftest.er1
80978   cat conftest.err >&5
80979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80980   (exit $ac_status); } &&
80981          { ac_try='test -z "$ac_c_werror_flag"
80982                          || test ! -s conftest.err'
80983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80984   (eval $ac_try) 2>&5
80985   ac_status=$?
80986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80987   (exit $ac_status); }; } &&
80988          { ac_try='test -s conftest$ac_exeext'
80989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80990   (eval $ac_try) 2>&5
80991   ac_status=$?
80992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80993   (exit $ac_status); }; }; then
80994   eval "$as_ac_var=yes"
80995 else
80996   echo "$as_me: failed program was:" >&5
80997 sed 's/^/| /' conftest.$ac_ext >&5
80998
80999 eval "$as_ac_var=no"
81000 fi
81001 rm -f conftest.err conftest.$ac_objext \
81002       conftest$ac_exeext conftest.$ac_ext
81003 fi
81004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81006 if test `eval echo '${'$as_ac_var'}'` = yes; then
81007   cat >>confdefs.h <<_ACEOF
81008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81009 _ACEOF
81010
81011 else
81012   ac_wfuncs=no
81013 fi
81014 done
81015
81016
81017     # Checks for names injected into std:: by the c_std headers.
81018
81019
81020
81021
81022
81023
81024
81025
81026
81027
81028
81029
81030
81031
81032
81033
81034
81035
81036
81037
81038
81039
81040
81041
81042
81043
81044
81045
81046
81047
81048
81049
81050
81051
81052
81053
81054
81055
81056
81057
81058
81059
81060
81061
81062
81063
81064 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81065     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81066     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81067     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81068     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81069     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81070 do
81071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81072 echo "$as_me:$LINENO: checking for $ac_func" >&5
81073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81074 if eval "test \"\${$as_ac_var+set}\" = set"; then
81075   echo $ECHO_N "(cached) $ECHO_C" >&6
81076 else
81077   if test x$gcc_no_link = xyes; then
81078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81080    { (exit 1); exit 1; }; }
81081 fi
81082 cat >conftest.$ac_ext <<_ACEOF
81083 /* confdefs.h.  */
81084 _ACEOF
81085 cat confdefs.h >>conftest.$ac_ext
81086 cat >>conftest.$ac_ext <<_ACEOF
81087 /* end confdefs.h.  */
81088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81090 #define $ac_func innocuous_$ac_func
81091
81092 /* System header to define __stub macros and hopefully few prototypes,
81093     which can conflict with char $ac_func (); below.
81094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81095     <limits.h> exists even on freestanding compilers.  */
81096
81097 #ifdef __STDC__
81098 # include <limits.h>
81099 #else
81100 # include <assert.h>
81101 #endif
81102
81103 #undef $ac_func
81104
81105 /* Override any gcc2 internal prototype to avoid an error.  */
81106 #ifdef __cplusplus
81107 extern "C"
81108 {
81109 #endif
81110 /* We use char because int might match the return type of a gcc2
81111    builtin and then its argument prototype would still apply.  */
81112 char $ac_func ();
81113 /* The GNU C library defines this for functions which it implements
81114     to always fail with ENOSYS.  Some functions are actually named
81115     something starting with __ and the normal name is an alias.  */
81116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81117 choke me
81118 #else
81119 char (*f) () = $ac_func;
81120 #endif
81121 #ifdef __cplusplus
81122 }
81123 #endif
81124
81125 int
81126 main ()
81127 {
81128 return f != $ac_func;
81129   ;
81130   return 0;
81131 }
81132 _ACEOF
81133 rm -f conftest.$ac_objext conftest$ac_exeext
81134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81135   (eval $ac_link) 2>conftest.er1
81136   ac_status=$?
81137   grep -v '^ *+' conftest.er1 >conftest.err
81138   rm -f conftest.er1
81139   cat conftest.err >&5
81140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81141   (exit $ac_status); } &&
81142          { ac_try='test -z "$ac_c_werror_flag"
81143                          || test ! -s conftest.err'
81144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81145   (eval $ac_try) 2>&5
81146   ac_status=$?
81147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81148   (exit $ac_status); }; } &&
81149          { ac_try='test -s conftest$ac_exeext'
81150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81151   (eval $ac_try) 2>&5
81152   ac_status=$?
81153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81154   (exit $ac_status); }; }; then
81155   eval "$as_ac_var=yes"
81156 else
81157   echo "$as_me: failed program was:" >&5
81158 sed 's/^/| /' conftest.$ac_ext >&5
81159
81160 eval "$as_ac_var=no"
81161 fi
81162 rm -f conftest.err conftest.$ac_objext \
81163       conftest$ac_exeext conftest.$ac_ext
81164 fi
81165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81167 if test `eval echo '${'$as_ac_var'}'` = yes; then
81168   cat >>confdefs.h <<_ACEOF
81169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81170 _ACEOF
81171
81172 else
81173   ac_wfuncs=no
81174 fi
81175 done
81176
81177
81178     # Checks for wide character functions that are not required
81179     # for basic wchar_t support.  Don't disable support if they are missing.
81180     # Injection of these is wrapped with guard macros.
81181
81182
81183
81184
81185
81186 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81187 do
81188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81189 echo "$as_me:$LINENO: checking for $ac_func" >&5
81190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81191 if eval "test \"\${$as_ac_var+set}\" = set"; then
81192   echo $ECHO_N "(cached) $ECHO_C" >&6
81193 else
81194   if test x$gcc_no_link = xyes; then
81195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81197    { (exit 1); exit 1; }; }
81198 fi
81199 cat >conftest.$ac_ext <<_ACEOF
81200 /* confdefs.h.  */
81201 _ACEOF
81202 cat confdefs.h >>conftest.$ac_ext
81203 cat >>conftest.$ac_ext <<_ACEOF
81204 /* end confdefs.h.  */
81205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81207 #define $ac_func innocuous_$ac_func
81208
81209 /* System header to define __stub macros and hopefully few prototypes,
81210     which can conflict with char $ac_func (); below.
81211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81212     <limits.h> exists even on freestanding compilers.  */
81213
81214 #ifdef __STDC__
81215 # include <limits.h>
81216 #else
81217 # include <assert.h>
81218 #endif
81219
81220 #undef $ac_func
81221
81222 /* Override any gcc2 internal prototype to avoid an error.  */
81223 #ifdef __cplusplus
81224 extern "C"
81225 {
81226 #endif
81227 /* We use char because int might match the return type of a gcc2
81228    builtin and then its argument prototype would still apply.  */
81229 char $ac_func ();
81230 /* The GNU C library defines this for functions which it implements
81231     to always fail with ENOSYS.  Some functions are actually named
81232     something starting with __ and the normal name is an alias.  */
81233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81234 choke me
81235 #else
81236 char (*f) () = $ac_func;
81237 #endif
81238 #ifdef __cplusplus
81239 }
81240 #endif
81241
81242 int
81243 main ()
81244 {
81245 return f != $ac_func;
81246   ;
81247   return 0;
81248 }
81249 _ACEOF
81250 rm -f conftest.$ac_objext conftest$ac_exeext
81251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81252   (eval $ac_link) 2>conftest.er1
81253   ac_status=$?
81254   grep -v '^ *+' conftest.er1 >conftest.err
81255   rm -f conftest.er1
81256   cat conftest.err >&5
81257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81258   (exit $ac_status); } &&
81259          { ac_try='test -z "$ac_c_werror_flag"
81260                          || test ! -s conftest.err'
81261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81262   (eval $ac_try) 2>&5
81263   ac_status=$?
81264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81265   (exit $ac_status); }; } &&
81266          { ac_try='test -s conftest$ac_exeext'
81267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81268   (eval $ac_try) 2>&5
81269   ac_status=$?
81270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81271   (exit $ac_status); }; }; then
81272   eval "$as_ac_var=yes"
81273 else
81274   echo "$as_me: failed program was:" >&5
81275 sed 's/^/| /' conftest.$ac_ext >&5
81276
81277 eval "$as_ac_var=no"
81278 fi
81279 rm -f conftest.err conftest.$ac_objext \
81280       conftest$ac_exeext conftest.$ac_ext
81281 fi
81282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81284 if test `eval echo '${'$as_ac_var'}'` = yes; then
81285   cat >>confdefs.h <<_ACEOF
81286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81287 _ACEOF
81288
81289 fi
81290 done
81291
81292
81293     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81294 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81295     if test x"$has_weof" = xyes &&
81296        test x"$has_wchar_minmax" = xyes &&
81297        test x"$ac_wfuncs" = xyes;
81298     then
81299       ac_isoC99_wchar_t=yes
81300     else
81301       ac_isoC99_wchar_t=no
81302     fi
81303     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81304 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81305
81306     # Use iconv for wchar_t to char conversions. As such, check for
81307     # X/Open Portability Guide, version 2 features (XPG2).
81308     if test "${ac_cv_header_iconv_h+set}" = set; then
81309   echo "$as_me:$LINENO: checking for iconv.h" >&5
81310 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81311 if test "${ac_cv_header_iconv_h+set}" = set; then
81312   echo $ECHO_N "(cached) $ECHO_C" >&6
81313 fi
81314 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81315 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81316 else
81317   # Is the header compilable?
81318 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81319 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81320 cat >conftest.$ac_ext <<_ACEOF
81321 /* confdefs.h.  */
81322 _ACEOF
81323 cat confdefs.h >>conftest.$ac_ext
81324 cat >>conftest.$ac_ext <<_ACEOF
81325 /* end confdefs.h.  */
81326 $ac_includes_default
81327 #include <iconv.h>
81328 _ACEOF
81329 rm -f conftest.$ac_objext
81330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81331   (eval $ac_compile) 2>conftest.er1
81332   ac_status=$?
81333   grep -v '^ *+' conftest.er1 >conftest.err
81334   rm -f conftest.er1
81335   cat conftest.err >&5
81336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81337   (exit $ac_status); } &&
81338          { ac_try='test -z "$ac_c_werror_flag"
81339                          || test ! -s conftest.err'
81340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81341   (eval $ac_try) 2>&5
81342   ac_status=$?
81343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81344   (exit $ac_status); }; } &&
81345          { ac_try='test -s conftest.$ac_objext'
81346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81347   (eval $ac_try) 2>&5
81348   ac_status=$?
81349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81350   (exit $ac_status); }; }; then
81351   ac_header_compiler=yes
81352 else
81353   echo "$as_me: failed program was:" >&5
81354 sed 's/^/| /' conftest.$ac_ext >&5
81355
81356 ac_header_compiler=no
81357 fi
81358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81360 echo "${ECHO_T}$ac_header_compiler" >&6
81361
81362 # Is the header present?
81363 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81364 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81365 cat >conftest.$ac_ext <<_ACEOF
81366 /* confdefs.h.  */
81367 _ACEOF
81368 cat confdefs.h >>conftest.$ac_ext
81369 cat >>conftest.$ac_ext <<_ACEOF
81370 /* end confdefs.h.  */
81371 #include <iconv.h>
81372 _ACEOF
81373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81374   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81375   ac_status=$?
81376   grep -v '^ *+' conftest.er1 >conftest.err
81377   rm -f conftest.er1
81378   cat conftest.err >&5
81379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81380   (exit $ac_status); } >/dev/null; then
81381   if test -s conftest.err; then
81382     ac_cpp_err=$ac_c_preproc_warn_flag
81383     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81384   else
81385     ac_cpp_err=
81386   fi
81387 else
81388   ac_cpp_err=yes
81389 fi
81390 if test -z "$ac_cpp_err"; then
81391   ac_header_preproc=yes
81392 else
81393   echo "$as_me: failed program was:" >&5
81394 sed 's/^/| /' conftest.$ac_ext >&5
81395
81396   ac_header_preproc=no
81397 fi
81398 rm -f conftest.err conftest.$ac_ext
81399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81400 echo "${ECHO_T}$ac_header_preproc" >&6
81401
81402 # So?  What about this header?
81403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81404   yes:no: )
81405     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81406 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81407     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81408 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81409     ac_header_preproc=yes
81410     ;;
81411   no:yes:* )
81412     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81413 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81414     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81415 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81416     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81417 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81418     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81419 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81420     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81421 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81422     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81423 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81424     (
81425       cat <<\_ASBOX
81426 ## ----------------------------------------- ##
81427 ## Report this to the package-unused lists.  ##
81428 ## ----------------------------------------- ##
81429 _ASBOX
81430     ) |
81431       sed "s/^/$as_me: WARNING:     /" >&2
81432     ;;
81433 esac
81434 echo "$as_me:$LINENO: checking for iconv.h" >&5
81435 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81436 if test "${ac_cv_header_iconv_h+set}" = set; then
81437   echo $ECHO_N "(cached) $ECHO_C" >&6
81438 else
81439   ac_cv_header_iconv_h=$ac_header_preproc
81440 fi
81441 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81442 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81443
81444 fi
81445 if test $ac_cv_header_iconv_h = yes; then
81446   ac_has_iconv_h=yes
81447 else
81448   ac_has_iconv_h=no
81449 fi
81450
81451
81452     if test "${ac_cv_header_langinfo_h+set}" = set; then
81453   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81454 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81455 if test "${ac_cv_header_langinfo_h+set}" = set; then
81456   echo $ECHO_N "(cached) $ECHO_C" >&6
81457 fi
81458 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81459 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81460 else
81461   # Is the header compilable?
81462 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81463 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81464 cat >conftest.$ac_ext <<_ACEOF
81465 /* confdefs.h.  */
81466 _ACEOF
81467 cat confdefs.h >>conftest.$ac_ext
81468 cat >>conftest.$ac_ext <<_ACEOF
81469 /* end confdefs.h.  */
81470 $ac_includes_default
81471 #include <langinfo.h>
81472 _ACEOF
81473 rm -f conftest.$ac_objext
81474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81475   (eval $ac_compile) 2>conftest.er1
81476   ac_status=$?
81477   grep -v '^ *+' conftest.er1 >conftest.err
81478   rm -f conftest.er1
81479   cat conftest.err >&5
81480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81481   (exit $ac_status); } &&
81482          { ac_try='test -z "$ac_c_werror_flag"
81483                          || test ! -s conftest.err'
81484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81485   (eval $ac_try) 2>&5
81486   ac_status=$?
81487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81488   (exit $ac_status); }; } &&
81489          { ac_try='test -s conftest.$ac_objext'
81490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81491   (eval $ac_try) 2>&5
81492   ac_status=$?
81493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81494   (exit $ac_status); }; }; then
81495   ac_header_compiler=yes
81496 else
81497   echo "$as_me: failed program was:" >&5
81498 sed 's/^/| /' conftest.$ac_ext >&5
81499
81500 ac_header_compiler=no
81501 fi
81502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81504 echo "${ECHO_T}$ac_header_compiler" >&6
81505
81506 # Is the header present?
81507 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81508 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81509 cat >conftest.$ac_ext <<_ACEOF
81510 /* confdefs.h.  */
81511 _ACEOF
81512 cat confdefs.h >>conftest.$ac_ext
81513 cat >>conftest.$ac_ext <<_ACEOF
81514 /* end confdefs.h.  */
81515 #include <langinfo.h>
81516 _ACEOF
81517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81518   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81519   ac_status=$?
81520   grep -v '^ *+' conftest.er1 >conftest.err
81521   rm -f conftest.er1
81522   cat conftest.err >&5
81523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81524   (exit $ac_status); } >/dev/null; then
81525   if test -s conftest.err; then
81526     ac_cpp_err=$ac_c_preproc_warn_flag
81527     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81528   else
81529     ac_cpp_err=
81530   fi
81531 else
81532   ac_cpp_err=yes
81533 fi
81534 if test -z "$ac_cpp_err"; then
81535   ac_header_preproc=yes
81536 else
81537   echo "$as_me: failed program was:" >&5
81538 sed 's/^/| /' conftest.$ac_ext >&5
81539
81540   ac_header_preproc=no
81541 fi
81542 rm -f conftest.err conftest.$ac_ext
81543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81544 echo "${ECHO_T}$ac_header_preproc" >&6
81545
81546 # So?  What about this header?
81547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81548   yes:no: )
81549     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81550 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81551     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81552 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81553     ac_header_preproc=yes
81554     ;;
81555   no:yes:* )
81556     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81557 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81558     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81559 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81560     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81561 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81562     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81563 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81564     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81565 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81566     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81567 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81568     (
81569       cat <<\_ASBOX
81570 ## ----------------------------------------- ##
81571 ## Report this to the package-unused lists.  ##
81572 ## ----------------------------------------- ##
81573 _ASBOX
81574     ) |
81575       sed "s/^/$as_me: WARNING:     /" >&2
81576     ;;
81577 esac
81578 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81579 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81580 if test "${ac_cv_header_langinfo_h+set}" = set; then
81581   echo $ECHO_N "(cached) $ECHO_C" >&6
81582 else
81583   ac_cv_header_langinfo_h=$ac_header_preproc
81584 fi
81585 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81586 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81587
81588 fi
81589 if test $ac_cv_header_langinfo_h = yes; then
81590   ac_has_langinfo_h=yes
81591 else
81592   ac_has_langinfo_h=no
81593 fi
81594
81595
81596
81597     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81598     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81599 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81600 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81601   echo $ECHO_N "(cached) $ECHO_C" >&6
81602 else
81603   ac_check_lib_save_LIBS=$LIBS
81604 LIBS="-liconv  $LIBS"
81605 if test x$gcc_no_link = xyes; then
81606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81608    { (exit 1); exit 1; }; }
81609 fi
81610 cat >conftest.$ac_ext <<_ACEOF
81611 /* confdefs.h.  */
81612 _ACEOF
81613 cat confdefs.h >>conftest.$ac_ext
81614 cat >>conftest.$ac_ext <<_ACEOF
81615 /* end confdefs.h.  */
81616
81617 /* Override any gcc2 internal prototype to avoid an error.  */
81618 #ifdef __cplusplus
81619 extern "C"
81620 #endif
81621 /* We use char because int might match the return type of a gcc2
81622    builtin and then its argument prototype would still apply.  */
81623 char iconv ();
81624 int
81625 main ()
81626 {
81627 iconv ();
81628   ;
81629   return 0;
81630 }
81631 _ACEOF
81632 rm -f conftest.$ac_objext conftest$ac_exeext
81633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81634   (eval $ac_link) 2>conftest.er1
81635   ac_status=$?
81636   grep -v '^ *+' conftest.er1 >conftest.err
81637   rm -f conftest.er1
81638   cat conftest.err >&5
81639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81640   (exit $ac_status); } &&
81641          { ac_try='test -z "$ac_c_werror_flag"
81642                          || test ! -s conftest.err'
81643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81644   (eval $ac_try) 2>&5
81645   ac_status=$?
81646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81647   (exit $ac_status); }; } &&
81648          { ac_try='test -s conftest$ac_exeext'
81649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81650   (eval $ac_try) 2>&5
81651   ac_status=$?
81652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81653   (exit $ac_status); }; }; then
81654   ac_cv_lib_iconv_iconv=yes
81655 else
81656   echo "$as_me: failed program was:" >&5
81657 sed 's/^/| /' conftest.$ac_ext >&5
81658
81659 ac_cv_lib_iconv_iconv=no
81660 fi
81661 rm -f conftest.err conftest.$ac_objext \
81662       conftest$ac_exeext conftest.$ac_ext
81663 LIBS=$ac_check_lib_save_LIBS
81664 fi
81665 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81666 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81667 if test $ac_cv_lib_iconv_iconv = yes; then
81668   libiconv="-liconv"
81669 fi
81670
81671     ac_save_LIBS="$LIBS"
81672     LIBS="$LIBS $libiconv"
81673
81674
81675
81676
81677
81678 for ac_func in iconv_open iconv_close iconv nl_langinfo
81679 do
81680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81681 echo "$as_me:$LINENO: checking for $ac_func" >&5
81682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81683 if eval "test \"\${$as_ac_var+set}\" = set"; then
81684   echo $ECHO_N "(cached) $ECHO_C" >&6
81685 else
81686   if test x$gcc_no_link = xyes; then
81687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81689    { (exit 1); exit 1; }; }
81690 fi
81691 cat >conftest.$ac_ext <<_ACEOF
81692 /* confdefs.h.  */
81693 _ACEOF
81694 cat confdefs.h >>conftest.$ac_ext
81695 cat >>conftest.$ac_ext <<_ACEOF
81696 /* end confdefs.h.  */
81697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81699 #define $ac_func innocuous_$ac_func
81700
81701 /* System header to define __stub macros and hopefully few prototypes,
81702     which can conflict with char $ac_func (); below.
81703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81704     <limits.h> exists even on freestanding compilers.  */
81705
81706 #ifdef __STDC__
81707 # include <limits.h>
81708 #else
81709 # include <assert.h>
81710 #endif
81711
81712 #undef $ac_func
81713
81714 /* Override any gcc2 internal prototype to avoid an error.  */
81715 #ifdef __cplusplus
81716 extern "C"
81717 {
81718 #endif
81719 /* We use char because int might match the return type of a gcc2
81720    builtin and then its argument prototype would still apply.  */
81721 char $ac_func ();
81722 /* The GNU C library defines this for functions which it implements
81723     to always fail with ENOSYS.  Some functions are actually named
81724     something starting with __ and the normal name is an alias.  */
81725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81726 choke me
81727 #else
81728 char (*f) () = $ac_func;
81729 #endif
81730 #ifdef __cplusplus
81731 }
81732 #endif
81733
81734 int
81735 main ()
81736 {
81737 return f != $ac_func;
81738   ;
81739   return 0;
81740 }
81741 _ACEOF
81742 rm -f conftest.$ac_objext conftest$ac_exeext
81743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81744   (eval $ac_link) 2>conftest.er1
81745   ac_status=$?
81746   grep -v '^ *+' conftest.er1 >conftest.err
81747   rm -f conftest.er1
81748   cat conftest.err >&5
81749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81750   (exit $ac_status); } &&
81751          { ac_try='test -z "$ac_c_werror_flag"
81752                          || test ! -s conftest.err'
81753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81754   (eval $ac_try) 2>&5
81755   ac_status=$?
81756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81757   (exit $ac_status); }; } &&
81758          { ac_try='test -s conftest$ac_exeext'
81759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81760   (eval $ac_try) 2>&5
81761   ac_status=$?
81762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81763   (exit $ac_status); }; }; then
81764   eval "$as_ac_var=yes"
81765 else
81766   echo "$as_me: failed program was:" >&5
81767 sed 's/^/| /' conftest.$ac_ext >&5
81768
81769 eval "$as_ac_var=no"
81770 fi
81771 rm -f conftest.err conftest.$ac_objext \
81772       conftest$ac_exeext conftest.$ac_ext
81773 fi
81774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81776 if test `eval echo '${'$as_ac_var'}'` = yes; then
81777   cat >>confdefs.h <<_ACEOF
81778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81779 _ACEOF
81780  ac_XPG2funcs=yes
81781 else
81782   ac_XPG2funcs=no
81783 fi
81784 done
81785
81786
81787     LIBS="$ac_save_LIBS"
81788
81789     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81790 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81791     if test x"$ac_has_iconv_h" = xyes &&
81792        test x"$ac_has_langinfo_h" = xyes &&
81793        test x"$ac_XPG2funcs" = xyes;
81794     then
81795       ac_XPG2_wchar_t=yes
81796     else
81797       ac_XPG2_wchar_t=no
81798     fi
81799     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81800 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81801
81802     # At the moment, only enable wchar_t specializations if all the
81803     # above support is present.
81804     if test x"$ac_isoC99_wchar_t" = xyes &&
81805        test x"$ac_XPG2_wchar_t" = xyes;
81806     then
81807       cat >>confdefs.h <<\_ACEOF
81808 #define _GLIBCXX_USE_WCHAR_T 1
81809 _ACEOF
81810
81811       enable_wchar_t=yes
81812     fi
81813   fi
81814   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81815 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81816   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81817 echo "${ECHO_T}$enable_wchar_t" >&6
81818
81819
81820     # For LFS.
81821     cat >>confdefs.h <<\_ACEOF
81822 #define HAVE_INT64_T 1
81823 _ACEOF
81824
81825     case "$target" in
81826       *-uclinux*)
81827         # Don't enable LFS with uClibc
81828         ;;
81829       *)
81830         cat >>confdefs.h <<\_ACEOF
81831 #define _GLIBCXX_USE_LFS 1
81832 _ACEOF
81833
81834     esac
81835
81836     # For showmanyc_helper().
81837
81838
81839 for ac_header in sys/ioctl.h sys/filio.h
81840 do
81841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81843   echo "$as_me:$LINENO: checking for $ac_header" >&5
81844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81846   echo $ECHO_N "(cached) $ECHO_C" >&6
81847 fi
81848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81850 else
81851   # Is the header compilable?
81852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81854 cat >conftest.$ac_ext <<_ACEOF
81855 /* confdefs.h.  */
81856 _ACEOF
81857 cat confdefs.h >>conftest.$ac_ext
81858 cat >>conftest.$ac_ext <<_ACEOF
81859 /* end confdefs.h.  */
81860 $ac_includes_default
81861 #include <$ac_header>
81862 _ACEOF
81863 rm -f conftest.$ac_objext
81864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81865   (eval $ac_compile) 2>conftest.er1
81866   ac_status=$?
81867   grep -v '^ *+' conftest.er1 >conftest.err
81868   rm -f conftest.er1
81869   cat conftest.err >&5
81870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81871   (exit $ac_status); } &&
81872          { ac_try='test -z "$ac_c_werror_flag"
81873                          || test ! -s conftest.err'
81874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81875   (eval $ac_try) 2>&5
81876   ac_status=$?
81877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81878   (exit $ac_status); }; } &&
81879          { ac_try='test -s conftest.$ac_objext'
81880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81881   (eval $ac_try) 2>&5
81882   ac_status=$?
81883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81884   (exit $ac_status); }; }; then
81885   ac_header_compiler=yes
81886 else
81887   echo "$as_me: failed program was:" >&5
81888 sed 's/^/| /' conftest.$ac_ext >&5
81889
81890 ac_header_compiler=no
81891 fi
81892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81894 echo "${ECHO_T}$ac_header_compiler" >&6
81895
81896 # Is the header present?
81897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81899 cat >conftest.$ac_ext <<_ACEOF
81900 /* confdefs.h.  */
81901 _ACEOF
81902 cat confdefs.h >>conftest.$ac_ext
81903 cat >>conftest.$ac_ext <<_ACEOF
81904 /* end confdefs.h.  */
81905 #include <$ac_header>
81906 _ACEOF
81907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81908   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81909   ac_status=$?
81910   grep -v '^ *+' conftest.er1 >conftest.err
81911   rm -f conftest.er1
81912   cat conftest.err >&5
81913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81914   (exit $ac_status); } >/dev/null; then
81915   if test -s conftest.err; then
81916     ac_cpp_err=$ac_c_preproc_warn_flag
81917     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81918   else
81919     ac_cpp_err=
81920   fi
81921 else
81922   ac_cpp_err=yes
81923 fi
81924 if test -z "$ac_cpp_err"; then
81925   ac_header_preproc=yes
81926 else
81927   echo "$as_me: failed program was:" >&5
81928 sed 's/^/| /' conftest.$ac_ext >&5
81929
81930   ac_header_preproc=no
81931 fi
81932 rm -f conftest.err conftest.$ac_ext
81933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81934 echo "${ECHO_T}$ac_header_preproc" >&6
81935
81936 # So?  What about this header?
81937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81938   yes:no: )
81939     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81941     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81943     ac_header_preproc=yes
81944     ;;
81945   no:yes:* )
81946     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81948     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81949 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81950     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81952     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81953 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81954     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81956     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81958     (
81959       cat <<\_ASBOX
81960 ## ----------------------------------------- ##
81961 ## Report this to the package-unused lists.  ##
81962 ## ----------------------------------------- ##
81963 _ASBOX
81964     ) |
81965       sed "s/^/$as_me: WARNING:     /" >&2
81966     ;;
81967 esac
81968 echo "$as_me:$LINENO: checking for $ac_header" >&5
81969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81971   echo $ECHO_N "(cached) $ECHO_C" >&6
81972 else
81973   eval "$as_ac_Header=\$ac_header_preproc"
81974 fi
81975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81977
81978 fi
81979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81980   cat >>confdefs.h <<_ACEOF
81981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81982 _ACEOF
81983
81984 fi
81985
81986 done
81987
81988
81989   if test "${glibcxx_cv_POLL+set}" = set; then
81990   echo $ECHO_N "(cached) $ECHO_C" >&6
81991 else
81992
81993     if test x$gcc_no_link = xyes; then
81994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81996    { (exit 1); exit 1; }; }
81997 fi
81998 cat >conftest.$ac_ext <<_ACEOF
81999 /* confdefs.h.  */
82000 _ACEOF
82001 cat confdefs.h >>conftest.$ac_ext
82002 cat >>conftest.$ac_ext <<_ACEOF
82003 /* end confdefs.h.  */
82004 #include <poll.h>
82005 int
82006 main ()
82007 {
82008 struct pollfd pfd[1];
82009        pfd[0].events = POLLIN;
82010        poll(pfd, 1, 0);
82011   ;
82012   return 0;
82013 }
82014 _ACEOF
82015 rm -f conftest.$ac_objext conftest$ac_exeext
82016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82017   (eval $ac_link) 2>conftest.er1
82018   ac_status=$?
82019   grep -v '^ *+' conftest.er1 >conftest.err
82020   rm -f conftest.er1
82021   cat conftest.err >&5
82022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82023   (exit $ac_status); } &&
82024          { ac_try='test -z "$ac_c_werror_flag"
82025                          || test ! -s conftest.err'
82026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82027   (eval $ac_try) 2>&5
82028   ac_status=$?
82029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82030   (exit $ac_status); }; } &&
82031          { ac_try='test -s conftest$ac_exeext'
82032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82033   (eval $ac_try) 2>&5
82034   ac_status=$?
82035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82036   (exit $ac_status); }; }; then
82037   glibcxx_cv_POLL=yes
82038 else
82039   echo "$as_me: failed program was:" >&5
82040 sed 's/^/| /' conftest.$ac_ext >&5
82041
82042 glibcxx_cv_POLL=no
82043 fi
82044 rm -f conftest.err conftest.$ac_objext \
82045       conftest$ac_exeext conftest.$ac_ext
82046
82047 fi
82048
82049   if test $glibcxx_cv_POLL = yes; then
82050     cat >>confdefs.h <<\_ACEOF
82051 #define HAVE_POLL 1
82052 _ACEOF
82053
82054   fi
82055
82056
82057   if test "${glibcxx_cv_S_ISREG+set}" = set; then
82058   echo $ECHO_N "(cached) $ECHO_C" >&6
82059 else
82060
82061     if test x$gcc_no_link = xyes; then
82062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82064    { (exit 1); exit 1; }; }
82065 fi
82066 cat >conftest.$ac_ext <<_ACEOF
82067 /* confdefs.h.  */
82068 _ACEOF
82069 cat confdefs.h >>conftest.$ac_ext
82070 cat >>conftest.$ac_ext <<_ACEOF
82071 /* end confdefs.h.  */
82072 #include <sys/stat.h>
82073 int
82074 main ()
82075 {
82076 struct stat buffer;
82077        fstat(0, &buffer);
82078        S_ISREG(buffer.st_mode);
82079   ;
82080   return 0;
82081 }
82082 _ACEOF
82083 rm -f conftest.$ac_objext conftest$ac_exeext
82084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82085   (eval $ac_link) 2>conftest.er1
82086   ac_status=$?
82087   grep -v '^ *+' conftest.er1 >conftest.err
82088   rm -f conftest.er1
82089   cat conftest.err >&5
82090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82091   (exit $ac_status); } &&
82092          { ac_try='test -z "$ac_c_werror_flag"
82093                          || test ! -s conftest.err'
82094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82095   (eval $ac_try) 2>&5
82096   ac_status=$?
82097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82098   (exit $ac_status); }; } &&
82099          { ac_try='test -s conftest$ac_exeext'
82100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82101   (eval $ac_try) 2>&5
82102   ac_status=$?
82103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104   (exit $ac_status); }; }; then
82105   glibcxx_cv_S_ISREG=yes
82106 else
82107   echo "$as_me: failed program was:" >&5
82108 sed 's/^/| /' conftest.$ac_ext >&5
82109
82110 glibcxx_cv_S_ISREG=no
82111 fi
82112 rm -f conftest.err conftest.$ac_objext \
82113       conftest$ac_exeext conftest.$ac_ext
82114
82115 fi
82116
82117   if test "${glibcxx_cv_S_IFREG+set}" = set; then
82118   echo $ECHO_N "(cached) $ECHO_C" >&6
82119 else
82120
82121     if test x$gcc_no_link = xyes; then
82122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82124    { (exit 1); exit 1; }; }
82125 fi
82126 cat >conftest.$ac_ext <<_ACEOF
82127 /* confdefs.h.  */
82128 _ACEOF
82129 cat confdefs.h >>conftest.$ac_ext
82130 cat >>conftest.$ac_ext <<_ACEOF
82131 /* end confdefs.h.  */
82132 #include <sys/stat.h>
82133 int
82134 main ()
82135 {
82136 struct stat buffer;
82137        fstat(0, &buffer);
82138        S_IFREG & buffer.st_mode;
82139   ;
82140   return 0;
82141 }
82142 _ACEOF
82143 rm -f conftest.$ac_objext conftest$ac_exeext
82144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82145   (eval $ac_link) 2>conftest.er1
82146   ac_status=$?
82147   grep -v '^ *+' conftest.er1 >conftest.err
82148   rm -f conftest.er1
82149   cat conftest.err >&5
82150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82151   (exit $ac_status); } &&
82152          { ac_try='test -z "$ac_c_werror_flag"
82153                          || test ! -s conftest.err'
82154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82155   (eval $ac_try) 2>&5
82156   ac_status=$?
82157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82158   (exit $ac_status); }; } &&
82159          { ac_try='test -s conftest$ac_exeext'
82160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82161   (eval $ac_try) 2>&5
82162   ac_status=$?
82163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82164   (exit $ac_status); }; }; then
82165   glibcxx_cv_S_IFREG=yes
82166 else
82167   echo "$as_me: failed program was:" >&5
82168 sed 's/^/| /' conftest.$ac_ext >&5
82169
82170 glibcxx_cv_S_IFREG=no
82171 fi
82172 rm -f conftest.err conftest.$ac_objext \
82173       conftest$ac_exeext conftest.$ac_ext
82174
82175 fi
82176
82177   if test $glibcxx_cv_S_ISREG = yes; then
82178     cat >>confdefs.h <<\_ACEOF
82179 #define HAVE_S_ISREG 1
82180 _ACEOF
82181
82182   elif test $glibcxx_cv_S_IFREG = yes; then
82183     cat >>confdefs.h <<\_ACEOF
82184 #define HAVE_S_IFREG 1
82185 _ACEOF
82186
82187   fi
82188
82189
82190     # For xsputn_2().
82191
82192 for ac_header in sys/uio.h
82193 do
82194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82196   echo "$as_me:$LINENO: checking for $ac_header" >&5
82197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82199   echo $ECHO_N "(cached) $ECHO_C" >&6
82200 fi
82201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82203 else
82204   # Is the header compilable?
82205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82207 cat >conftest.$ac_ext <<_ACEOF
82208 /* confdefs.h.  */
82209 _ACEOF
82210 cat confdefs.h >>conftest.$ac_ext
82211 cat >>conftest.$ac_ext <<_ACEOF
82212 /* end confdefs.h.  */
82213 $ac_includes_default
82214 #include <$ac_header>
82215 _ACEOF
82216 rm -f conftest.$ac_objext
82217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82218   (eval $ac_compile) 2>conftest.er1
82219   ac_status=$?
82220   grep -v '^ *+' conftest.er1 >conftest.err
82221   rm -f conftest.er1
82222   cat conftest.err >&5
82223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82224   (exit $ac_status); } &&
82225          { ac_try='test -z "$ac_c_werror_flag"
82226                          || test ! -s conftest.err'
82227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82228   (eval $ac_try) 2>&5
82229   ac_status=$?
82230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82231   (exit $ac_status); }; } &&
82232          { ac_try='test -s conftest.$ac_objext'
82233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82234   (eval $ac_try) 2>&5
82235   ac_status=$?
82236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82237   (exit $ac_status); }; }; then
82238   ac_header_compiler=yes
82239 else
82240   echo "$as_me: failed program was:" >&5
82241 sed 's/^/| /' conftest.$ac_ext >&5
82242
82243 ac_header_compiler=no
82244 fi
82245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82247 echo "${ECHO_T}$ac_header_compiler" >&6
82248
82249 # Is the header present?
82250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82252 cat >conftest.$ac_ext <<_ACEOF
82253 /* confdefs.h.  */
82254 _ACEOF
82255 cat confdefs.h >>conftest.$ac_ext
82256 cat >>conftest.$ac_ext <<_ACEOF
82257 /* end confdefs.h.  */
82258 #include <$ac_header>
82259 _ACEOF
82260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82261   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82262   ac_status=$?
82263   grep -v '^ *+' conftest.er1 >conftest.err
82264   rm -f conftest.er1
82265   cat conftest.err >&5
82266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82267   (exit $ac_status); } >/dev/null; then
82268   if test -s conftest.err; then
82269     ac_cpp_err=$ac_c_preproc_warn_flag
82270     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82271   else
82272     ac_cpp_err=
82273   fi
82274 else
82275   ac_cpp_err=yes
82276 fi
82277 if test -z "$ac_cpp_err"; then
82278   ac_header_preproc=yes
82279 else
82280   echo "$as_me: failed program was:" >&5
82281 sed 's/^/| /' conftest.$ac_ext >&5
82282
82283   ac_header_preproc=no
82284 fi
82285 rm -f conftest.err conftest.$ac_ext
82286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82287 echo "${ECHO_T}$ac_header_preproc" >&6
82288
82289 # So?  What about this header?
82290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82291   yes:no: )
82292     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82294     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82296     ac_header_preproc=yes
82297     ;;
82298   no:yes:* )
82299     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82301     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82302 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82303     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82305     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82306 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82307     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82309     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82311     (
82312       cat <<\_ASBOX
82313 ## ----------------------------------------- ##
82314 ## Report this to the package-unused lists.  ##
82315 ## ----------------------------------------- ##
82316 _ASBOX
82317     ) |
82318       sed "s/^/$as_me: WARNING:     /" >&2
82319     ;;
82320 esac
82321 echo "$as_me:$LINENO: checking for $ac_header" >&5
82322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82324   echo $ECHO_N "(cached) $ECHO_C" >&6
82325 else
82326   eval "$as_ac_Header=\$ac_header_preproc"
82327 fi
82328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82330
82331 fi
82332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82333   cat >>confdefs.h <<_ACEOF
82334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82335 _ACEOF
82336
82337 fi
82338
82339 done
82340
82341
82342   if test "${glibcxx_cv_WRITEV+set}" = set; then
82343   echo $ECHO_N "(cached) $ECHO_C" >&6
82344 else
82345
82346     if test x$gcc_no_link = xyes; then
82347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82349    { (exit 1); exit 1; }; }
82350 fi
82351 cat >conftest.$ac_ext <<_ACEOF
82352 /* confdefs.h.  */
82353 _ACEOF
82354 cat confdefs.h >>conftest.$ac_ext
82355 cat >>conftest.$ac_ext <<_ACEOF
82356 /* end confdefs.h.  */
82357 #include <sys/uio.h>
82358 int
82359 main ()
82360 {
82361 struct iovec iov[2];
82362        writev(0, iov, 0);
82363   ;
82364   return 0;
82365 }
82366 _ACEOF
82367 rm -f conftest.$ac_objext conftest$ac_exeext
82368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82369   (eval $ac_link) 2>conftest.er1
82370   ac_status=$?
82371   grep -v '^ *+' conftest.er1 >conftest.err
82372   rm -f conftest.er1
82373   cat conftest.err >&5
82374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82375   (exit $ac_status); } &&
82376          { ac_try='test -z "$ac_c_werror_flag"
82377                          || test ! -s conftest.err'
82378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82379   (eval $ac_try) 2>&5
82380   ac_status=$?
82381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82382   (exit $ac_status); }; } &&
82383          { ac_try='test -s conftest$ac_exeext'
82384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82385   (eval $ac_try) 2>&5
82386   ac_status=$?
82387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82388   (exit $ac_status); }; }; then
82389   glibcxx_cv_WRITEV=yes
82390 else
82391   echo "$as_me: failed program was:" >&5
82392 sed 's/^/| /' conftest.$ac_ext >&5
82393
82394 glibcxx_cv_WRITEV=no
82395 fi
82396 rm -f conftest.err conftest.$ac_objext \
82397       conftest$ac_exeext conftest.$ac_ext
82398
82399 fi
82400
82401   if test $glibcxx_cv_WRITEV = yes; then
82402     cat >>confdefs.h <<\_ACEOF
82403 #define HAVE_WRITEV 1
82404 _ACEOF
82405
82406   fi
82407
82408
82409     cat >>confdefs.h <<\_ACEOF
82410 #define HAVE_ACOSF 1
82411 _ACEOF
82412
82413     cat >>confdefs.h <<\_ACEOF
82414 #define HAVE_ASINF 1
82415 _ACEOF
82416
82417     cat >>confdefs.h <<\_ACEOF
82418 #define HAVE_ATANF 1
82419 _ACEOF
82420
82421     cat >>confdefs.h <<\_ACEOF
82422 #define HAVE_ATAN2F 1
82423 _ACEOF
82424
82425     cat >>confdefs.h <<\_ACEOF
82426 #define HAVE_CEILF 1
82427 _ACEOF
82428
82429     cat >>confdefs.h <<\_ACEOF
82430 #define HAVE_COPYSIGN 1
82431 _ACEOF
82432
82433     cat >>confdefs.h <<\_ACEOF
82434 #define HAVE_COPYSIGNF 1
82435 _ACEOF
82436
82437     cat >>confdefs.h <<\_ACEOF
82438 #define HAVE_COSF 1
82439 _ACEOF
82440
82441     cat >>confdefs.h <<\_ACEOF
82442 #define HAVE_COSHF 1
82443 _ACEOF
82444
82445     cat >>confdefs.h <<\_ACEOF
82446 #define HAVE_EXPF 1
82447 _ACEOF
82448
82449     cat >>confdefs.h <<\_ACEOF
82450 #define HAVE_FABSF 1
82451 _ACEOF
82452
82453     cat >>confdefs.h <<\_ACEOF
82454 #define HAVE_FINITE 1
82455 _ACEOF
82456
82457     cat >>confdefs.h <<\_ACEOF
82458 #define HAVE_FINITEF 1
82459 _ACEOF
82460
82461     cat >>confdefs.h <<\_ACEOF
82462 #define HAVE_FLOORF 1
82463 _ACEOF
82464
82465     cat >>confdefs.h <<\_ACEOF
82466 #define HAVE_FMODF 1
82467 _ACEOF
82468
82469     cat >>confdefs.h <<\_ACEOF
82470 #define HAVE_FREXPF 1
82471 _ACEOF
82472
82473     cat >>confdefs.h <<\_ACEOF
82474 #define HAVE_HYPOT 1
82475 _ACEOF
82476
82477     cat >>confdefs.h <<\_ACEOF
82478 #define HAVE_HYPOTF 1
82479 _ACEOF
82480
82481     cat >>confdefs.h <<\_ACEOF
82482 #define HAVE_ISINF 1
82483 _ACEOF
82484
82485     cat >>confdefs.h <<\_ACEOF
82486 #define HAVE_ISINFF 1
82487 _ACEOF
82488
82489     cat >>confdefs.h <<\_ACEOF
82490 #define HAVE_ISNAN 1
82491 _ACEOF
82492
82493     cat >>confdefs.h <<\_ACEOF
82494 #define HAVE_ISNANF 1
82495 _ACEOF
82496
82497     cat >>confdefs.h <<\_ACEOF
82498 #define HAVE_LOGF 1
82499 _ACEOF
82500
82501     cat >>confdefs.h <<\_ACEOF
82502 #define HAVE_LOG10F 1
82503 _ACEOF
82504
82505     cat >>confdefs.h <<\_ACEOF
82506 #define HAVE_MODFF 1
82507 _ACEOF
82508
82509     cat >>confdefs.h <<\_ACEOF
82510 #define HAVE_SINF 1
82511 _ACEOF
82512
82513     cat >>confdefs.h <<\_ACEOF
82514 #define HAVE_SINHF 1
82515 _ACEOF
82516
82517     cat >>confdefs.h <<\_ACEOF
82518 #define HAVE_SINCOS 1
82519 _ACEOF
82520
82521     cat >>confdefs.h <<\_ACEOF
82522 #define HAVE_SINCOSF 1
82523 _ACEOF
82524
82525     cat >>confdefs.h <<\_ACEOF
82526 #define HAVE_SQRTF 1
82527 _ACEOF
82528
82529     cat >>confdefs.h <<\_ACEOF
82530 #define HAVE_TANF 1
82531 _ACEOF
82532
82533     cat >>confdefs.h <<\_ACEOF
82534 #define HAVE_TANHF 1
82535 _ACEOF
82536
82537     if test x"long_double_math_on_this_cpu" = x"yes"; then
82538       cat >>confdefs.h <<\_ACEOF
82539 #define HAVE_ACOSL 1
82540 _ACEOF
82541
82542       cat >>confdefs.h <<\_ACEOF
82543 #define HAVE_ASINL 1
82544 _ACEOF
82545
82546       cat >>confdefs.h <<\_ACEOF
82547 #define HAVE_ATANL 1
82548 _ACEOF
82549
82550       cat >>confdefs.h <<\_ACEOF
82551 #define HAVE_ATAN2L 1
82552 _ACEOF
82553
82554       cat >>confdefs.h <<\_ACEOF
82555 #define HAVE_CEILL 1
82556 _ACEOF
82557
82558       cat >>confdefs.h <<\_ACEOF
82559 #define HAVE_COPYSIGNL 1
82560 _ACEOF
82561
82562       cat >>confdefs.h <<\_ACEOF
82563 #define HAVE_COSL 1
82564 _ACEOF
82565
82566       cat >>confdefs.h <<\_ACEOF
82567 #define HAVE_COSHL 1
82568 _ACEOF
82569
82570       cat >>confdefs.h <<\_ACEOF
82571 #define HAVE_EXPL 1
82572 _ACEOF
82573
82574       cat >>confdefs.h <<\_ACEOF
82575 #define HAVE_FABSL 1
82576 _ACEOF
82577
82578       cat >>confdefs.h <<\_ACEOF
82579 #define HAVE_FINITEL 1
82580 _ACEOF
82581
82582       cat >>confdefs.h <<\_ACEOF
82583 #define HAVE_FLOORL 1
82584 _ACEOF
82585
82586       cat >>confdefs.h <<\_ACEOF
82587 #define HAVE_FMODL 1
82588 _ACEOF
82589
82590       cat >>confdefs.h <<\_ACEOF
82591 #define HAVE_FREXPL 1
82592 _ACEOF
82593
82594       cat >>confdefs.h <<\_ACEOF
82595 #define HAVE_HYPOTL 1
82596 _ACEOF
82597
82598       cat >>confdefs.h <<\_ACEOF
82599 #define HAVE_ISINFL 1
82600 _ACEOF
82601
82602       cat >>confdefs.h <<\_ACEOF
82603 #define HAVE_ISNANL 1
82604 _ACEOF
82605
82606       cat >>confdefs.h <<\_ACEOF
82607 #define HAVE_LOGL 1
82608 _ACEOF
82609
82610       cat >>confdefs.h <<\_ACEOF
82611 #define HAVE_LOG10L 1
82612 _ACEOF
82613
82614       cat >>confdefs.h <<\_ACEOF
82615 #define HAVE_MODFL 1
82616 _ACEOF
82617
82618       cat >>confdefs.h <<\_ACEOF
82619 #define HAVE_POWL 1
82620 _ACEOF
82621
82622       cat >>confdefs.h <<\_ACEOF
82623 #define HAVE_SINL 1
82624 _ACEOF
82625
82626       cat >>confdefs.h <<\_ACEOF
82627 #define HAVE_SINHL 1
82628 _ACEOF
82629
82630       cat >>confdefs.h <<\_ACEOF
82631 #define HAVE_SINCOSL 1
82632 _ACEOF
82633
82634       cat >>confdefs.h <<\_ACEOF
82635 #define HAVE_SQRTL 1
82636 _ACEOF
82637
82638       cat >>confdefs.h <<\_ACEOF
82639 #define HAVE_TANL 1
82640 _ACEOF
82641
82642       cat >>confdefs.h <<\_ACEOF
82643 #define HAVE_TANHL 1
82644 _ACEOF
82645
82646     fi
82647     ;;
82648   *-mingw32*)
82649
82650
82651
82652 for ac_header in sys/types.h locale.h float.h
82653 do
82654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82656   echo "$as_me:$LINENO: checking for $ac_header" >&5
82657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82659   echo $ECHO_N "(cached) $ECHO_C" >&6
82660 fi
82661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82663 else
82664   # Is the header compilable?
82665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82667 cat >conftest.$ac_ext <<_ACEOF
82668 /* confdefs.h.  */
82669 _ACEOF
82670 cat confdefs.h >>conftest.$ac_ext
82671 cat >>conftest.$ac_ext <<_ACEOF
82672 /* end confdefs.h.  */
82673 $ac_includes_default
82674 #include <$ac_header>
82675 _ACEOF
82676 rm -f conftest.$ac_objext
82677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82678   (eval $ac_compile) 2>conftest.er1
82679   ac_status=$?
82680   grep -v '^ *+' conftest.er1 >conftest.err
82681   rm -f conftest.er1
82682   cat conftest.err >&5
82683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82684   (exit $ac_status); } &&
82685          { ac_try='test -z "$ac_c_werror_flag"
82686                          || test ! -s conftest.err'
82687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82688   (eval $ac_try) 2>&5
82689   ac_status=$?
82690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82691   (exit $ac_status); }; } &&
82692          { ac_try='test -s conftest.$ac_objext'
82693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82694   (eval $ac_try) 2>&5
82695   ac_status=$?
82696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82697   (exit $ac_status); }; }; then
82698   ac_header_compiler=yes
82699 else
82700   echo "$as_me: failed program was:" >&5
82701 sed 's/^/| /' conftest.$ac_ext >&5
82702
82703 ac_header_compiler=no
82704 fi
82705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82707 echo "${ECHO_T}$ac_header_compiler" >&6
82708
82709 # Is the header present?
82710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82712 cat >conftest.$ac_ext <<_ACEOF
82713 /* confdefs.h.  */
82714 _ACEOF
82715 cat confdefs.h >>conftest.$ac_ext
82716 cat >>conftest.$ac_ext <<_ACEOF
82717 /* end confdefs.h.  */
82718 #include <$ac_header>
82719 _ACEOF
82720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82721   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82722   ac_status=$?
82723   grep -v '^ *+' conftest.er1 >conftest.err
82724   rm -f conftest.er1
82725   cat conftest.err >&5
82726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82727   (exit $ac_status); } >/dev/null; then
82728   if test -s conftest.err; then
82729     ac_cpp_err=$ac_c_preproc_warn_flag
82730     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82731   else
82732     ac_cpp_err=
82733   fi
82734 else
82735   ac_cpp_err=yes
82736 fi
82737 if test -z "$ac_cpp_err"; then
82738   ac_header_preproc=yes
82739 else
82740   echo "$as_me: failed program was:" >&5
82741 sed 's/^/| /' conftest.$ac_ext >&5
82742
82743   ac_header_preproc=no
82744 fi
82745 rm -f conftest.err conftest.$ac_ext
82746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82747 echo "${ECHO_T}$ac_header_preproc" >&6
82748
82749 # So?  What about this header?
82750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82751   yes:no: )
82752     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82754     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82756     ac_header_preproc=yes
82757     ;;
82758   no:yes:* )
82759     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82761     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82762 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82763     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82765     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82766 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82769     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82771     (
82772       cat <<\_ASBOX
82773 ## ----------------------------------------- ##
82774 ## Report this to the package-unused lists.  ##
82775 ## ----------------------------------------- ##
82776 _ASBOX
82777     ) |
82778       sed "s/^/$as_me: WARNING:     /" >&2
82779     ;;
82780 esac
82781 echo "$as_me:$LINENO: checking for $ac_header" >&5
82782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82784   echo $ECHO_N "(cached) $ECHO_C" >&6
82785 else
82786   eval "$as_ac_Header=\$ac_header_preproc"
82787 fi
82788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82790
82791 fi
82792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82793   cat >>confdefs.h <<_ACEOF
82794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82795 _ACEOF
82796
82797 fi
82798
82799 done
82800
82801
82802   # If we're not using GNU ld, then there's no point in even trying these
82803   # tests.  Check for that first.  We should have already tested for gld
82804   # by now (in libtool), but require it now just to be safe...
82805   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82806   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82807
82808
82809
82810   # The name set by libtool depends on the version of libtool.  Shame on us
82811   # for depending on an impl detail, but c'est la vie.  Older versions used
82812   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82813   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82814   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
82815   # set (hence we're using an older libtool), then set it.
82816   if test x${with_gnu_ld+set} != xset; then
82817     if test x${ac_cv_prog_gnu_ld+set} != xset; then
82818       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
82819       with_gnu_ld=no
82820     else
82821       with_gnu_ld=$ac_cv_prog_gnu_ld
82822     fi
82823   fi
82824
82825   # Start by getting the version number.  I think the libtool test already
82826   # does some of this, but throws away the result.
82827
82828   ldver=`$LD --version 2>/dev/null | head -1 | \
82829          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82830
82831   glibcxx_gnu_ld_version=`echo $ldver | \
82832          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82833
82834   # Set --gc-sections.
82835   if test "$with_gnu_ld" = "notbroken"; then
82836     # GNU ld it is!  Joy and bunny rabbits!
82837
82838     # All these tests are for C++; save the language and the compiler flags.
82839     # Need to do this so that g++ won't try to link in libstdc++
82840     ac_test_CFLAGS="${CFLAGS+set}"
82841     ac_save_CFLAGS="$CFLAGS"
82842     CFLAGS='-x c++  -Wl,--gc-sections'
82843
82844     # Check for -Wl,--gc-sections
82845     # XXX This test is broken at the moment, as symbols required for linking
82846     # are now in libsupc++ (not built yet).  In addition, this test has
82847     # cored on solaris in the past.  In addition, --gc-sections doesn't
82848     # really work at the moment (keeps on discarding used sections, first
82849     # .eh_frame and now some of the glibc sections for iconv).
82850     # Bzzzzt.  Thanks for playing, maybe next time.
82851     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82852 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82853     if test "$cross_compiling" = yes; then
82854   ac_sectionLDflags=yes
82855 else
82856   cat >conftest.$ac_ext <<_ACEOF
82857 /* confdefs.h.  */
82858 _ACEOF
82859 cat confdefs.h >>conftest.$ac_ext
82860 cat >>conftest.$ac_ext <<_ACEOF
82861 /* end confdefs.h.  */
82862
82863      int main(void)
82864      {
82865        try { throw 1; }
82866        catch (...) { };
82867        return 0;
82868      }
82869
82870 _ACEOF
82871 rm -f conftest$ac_exeext
82872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82873   (eval $ac_link) 2>&5
82874   ac_status=$?
82875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82876   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82878   (eval $ac_try) 2>&5
82879   ac_status=$?
82880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82881   (exit $ac_status); }; }; then
82882   ac_sectionLDflags=yes
82883 else
82884   echo "$as_me: program exited with status $ac_status" >&5
82885 echo "$as_me: failed program was:" >&5
82886 sed 's/^/| /' conftest.$ac_ext >&5
82887
82888 ( exit $ac_status )
82889 ac_sectionLDflags=no
82890 fi
82891 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82892 fi
82893     if test "$ac_test_CFLAGS" = set; then
82894       CFLAGS="$ac_save_CFLAGS"
82895     else
82896       # this is the suspicious part
82897       CFLAGS=''
82898     fi
82899     if test "$ac_sectionLDflags" = "yes"; then
82900       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82901     fi
82902     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82903 echo "${ECHO_T}$ac_sectionLDflags" >&6
82904   fi
82905
82906   # Set linker optimization flags.
82907   if test x"$with_gnu_ld" = x"yes"; then
82908     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82909   fi
82910
82911
82912
82913
82914
82915
82916 echo "$as_me:$LINENO: checking for main in -lm" >&5
82917 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82918 if test "${ac_cv_lib_m_main+set}" = set; then
82919   echo $ECHO_N "(cached) $ECHO_C" >&6
82920 else
82921   ac_check_lib_save_LIBS=$LIBS
82922 LIBS="-lm  $LIBS"
82923 if test x$gcc_no_link = xyes; then
82924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82926    { (exit 1); exit 1; }; }
82927 fi
82928 cat >conftest.$ac_ext <<_ACEOF
82929 /* confdefs.h.  */
82930 _ACEOF
82931 cat confdefs.h >>conftest.$ac_ext
82932 cat >>conftest.$ac_ext <<_ACEOF
82933 /* end confdefs.h.  */
82934
82935
82936 int
82937 main ()
82938 {
82939 main ();
82940   ;
82941   return 0;
82942 }
82943 _ACEOF
82944 rm -f conftest.$ac_objext conftest$ac_exeext
82945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82946   (eval $ac_link) 2>conftest.er1
82947   ac_status=$?
82948   grep -v '^ *+' conftest.er1 >conftest.err
82949   rm -f conftest.er1
82950   cat conftest.err >&5
82951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82952   (exit $ac_status); } &&
82953          { ac_try='test -z "$ac_c_werror_flag"
82954                          || test ! -s conftest.err'
82955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82956   (eval $ac_try) 2>&5
82957   ac_status=$?
82958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82959   (exit $ac_status); }; } &&
82960          { ac_try='test -s conftest$ac_exeext'
82961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82962   (eval $ac_try) 2>&5
82963   ac_status=$?
82964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82965   (exit $ac_status); }; }; then
82966   ac_cv_lib_m_main=yes
82967 else
82968   echo "$as_me: failed program was:" >&5
82969 sed 's/^/| /' conftest.$ac_ext >&5
82970
82971 ac_cv_lib_m_main=no
82972 fi
82973 rm -f conftest.err conftest.$ac_objext \
82974       conftest$ac_exeext conftest.$ac_ext
82975 LIBS=$ac_check_lib_save_LIBS
82976 fi
82977 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82978 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82979 if test $ac_cv_lib_m_main = yes; then
82980   cat >>confdefs.h <<_ACEOF
82981 #define HAVE_LIBM 1
82982 _ACEOF
82983
82984   LIBS="-lm $LIBS"
82985
82986 fi
82987
82988
82989 for ac_func in copysignf
82990 do
82991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82992 echo "$as_me:$LINENO: checking for $ac_func" >&5
82993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82994 if eval "test \"\${$as_ac_var+set}\" = set"; then
82995   echo $ECHO_N "(cached) $ECHO_C" >&6
82996 else
82997   if test x$gcc_no_link = xyes; then
82998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83000    { (exit 1); exit 1; }; }
83001 fi
83002 cat >conftest.$ac_ext <<_ACEOF
83003 /* confdefs.h.  */
83004 _ACEOF
83005 cat confdefs.h >>conftest.$ac_ext
83006 cat >>conftest.$ac_ext <<_ACEOF
83007 /* end confdefs.h.  */
83008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83010 #define $ac_func innocuous_$ac_func
83011
83012 /* System header to define __stub macros and hopefully few prototypes,
83013     which can conflict with char $ac_func (); below.
83014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83015     <limits.h> exists even on freestanding compilers.  */
83016
83017 #ifdef __STDC__
83018 # include <limits.h>
83019 #else
83020 # include <assert.h>
83021 #endif
83022
83023 #undef $ac_func
83024
83025 /* Override any gcc2 internal prototype to avoid an error.  */
83026 #ifdef __cplusplus
83027 extern "C"
83028 {
83029 #endif
83030 /* We use char because int might match the return type of a gcc2
83031    builtin and then its argument prototype would still apply.  */
83032 char $ac_func ();
83033 /* The GNU C library defines this for functions which it implements
83034     to always fail with ENOSYS.  Some functions are actually named
83035     something starting with __ and the normal name is an alias.  */
83036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83037 choke me
83038 #else
83039 char (*f) () = $ac_func;
83040 #endif
83041 #ifdef __cplusplus
83042 }
83043 #endif
83044
83045 int
83046 main ()
83047 {
83048 return f != $ac_func;
83049   ;
83050   return 0;
83051 }
83052 _ACEOF
83053 rm -f conftest.$ac_objext conftest$ac_exeext
83054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83055   (eval $ac_link) 2>conftest.er1
83056   ac_status=$?
83057   grep -v '^ *+' conftest.er1 >conftest.err
83058   rm -f conftest.er1
83059   cat conftest.err >&5
83060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83061   (exit $ac_status); } &&
83062          { ac_try='test -z "$ac_c_werror_flag"
83063                          || test ! -s conftest.err'
83064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83065   (eval $ac_try) 2>&5
83066   ac_status=$?
83067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83068   (exit $ac_status); }; } &&
83069          { ac_try='test -s conftest$ac_exeext'
83070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83071   (eval $ac_try) 2>&5
83072   ac_status=$?
83073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83074   (exit $ac_status); }; }; then
83075   eval "$as_ac_var=yes"
83076 else
83077   echo "$as_me: failed program was:" >&5
83078 sed 's/^/| /' conftest.$ac_ext >&5
83079
83080 eval "$as_ac_var=no"
83081 fi
83082 rm -f conftest.err conftest.$ac_objext \
83083       conftest$ac_exeext conftest.$ac_ext
83084 fi
83085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83087 if test `eval echo '${'$as_ac_var'}'` = yes; then
83088   cat >>confdefs.h <<_ACEOF
83089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83090 _ACEOF
83091
83092 else
83093   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83094 fi
83095 done
83096
83097
83098
83099 for ac_func in __signbit
83100 do
83101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83102 echo "$as_me:$LINENO: checking for $ac_func" >&5
83103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83104 if eval "test \"\${$as_ac_var+set}\" = set"; then
83105   echo $ECHO_N "(cached) $ECHO_C" >&6
83106 else
83107   if test x$gcc_no_link = xyes; then
83108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83110    { (exit 1); exit 1; }; }
83111 fi
83112 cat >conftest.$ac_ext <<_ACEOF
83113 /* confdefs.h.  */
83114 _ACEOF
83115 cat confdefs.h >>conftest.$ac_ext
83116 cat >>conftest.$ac_ext <<_ACEOF
83117 /* end confdefs.h.  */
83118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83120 #define $ac_func innocuous_$ac_func
83121
83122 /* System header to define __stub macros and hopefully few prototypes,
83123     which can conflict with char $ac_func (); below.
83124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83125     <limits.h> exists even on freestanding compilers.  */
83126
83127 #ifdef __STDC__
83128 # include <limits.h>
83129 #else
83130 # include <assert.h>
83131 #endif
83132
83133 #undef $ac_func
83134
83135 /* Override any gcc2 internal prototype to avoid an error.  */
83136 #ifdef __cplusplus
83137 extern "C"
83138 {
83139 #endif
83140 /* We use char because int might match the return type of a gcc2
83141    builtin and then its argument prototype would still apply.  */
83142 char $ac_func ();
83143 /* The GNU C library defines this for functions which it implements
83144     to always fail with ENOSYS.  Some functions are actually named
83145     something starting with __ and the normal name is an alias.  */
83146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83147 choke me
83148 #else
83149 char (*f) () = $ac_func;
83150 #endif
83151 #ifdef __cplusplus
83152 }
83153 #endif
83154
83155 int
83156 main ()
83157 {
83158 return f != $ac_func;
83159   ;
83160   return 0;
83161 }
83162 _ACEOF
83163 rm -f conftest.$ac_objext conftest$ac_exeext
83164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83165   (eval $ac_link) 2>conftest.er1
83166   ac_status=$?
83167   grep -v '^ *+' conftest.er1 >conftest.err
83168   rm -f conftest.er1
83169   cat conftest.err >&5
83170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83171   (exit $ac_status); } &&
83172          { ac_try='test -z "$ac_c_werror_flag"
83173                          || test ! -s conftest.err'
83174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83175   (eval $ac_try) 2>&5
83176   ac_status=$?
83177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83178   (exit $ac_status); }; } &&
83179          { ac_try='test -s conftest$ac_exeext'
83180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83181   (eval $ac_try) 2>&5
83182   ac_status=$?
83183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83184   (exit $ac_status); }; }; then
83185   eval "$as_ac_var=yes"
83186 else
83187   echo "$as_me: failed program was:" >&5
83188 sed 's/^/| /' conftest.$ac_ext >&5
83189
83190 eval "$as_ac_var=no"
83191 fi
83192 rm -f conftest.err conftest.$ac_objext \
83193       conftest$ac_exeext conftest.$ac_ext
83194 fi
83195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83197 if test `eval echo '${'$as_ac_var'}'` = yes; then
83198   cat >>confdefs.h <<_ACEOF
83199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83200 _ACEOF
83201
83202 else
83203   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83204 fi
83205 done
83206
83207
83208
83209 for ac_func in __signbitf
83210 do
83211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83212 echo "$as_me:$LINENO: checking for $ac_func" >&5
83213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83214 if eval "test \"\${$as_ac_var+set}\" = set"; then
83215   echo $ECHO_N "(cached) $ECHO_C" >&6
83216 else
83217   if test x$gcc_no_link = xyes; then
83218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83220    { (exit 1); exit 1; }; }
83221 fi
83222 cat >conftest.$ac_ext <<_ACEOF
83223 /* confdefs.h.  */
83224 _ACEOF
83225 cat confdefs.h >>conftest.$ac_ext
83226 cat >>conftest.$ac_ext <<_ACEOF
83227 /* end confdefs.h.  */
83228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83230 #define $ac_func innocuous_$ac_func
83231
83232 /* System header to define __stub macros and hopefully few prototypes,
83233     which can conflict with char $ac_func (); below.
83234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83235     <limits.h> exists even on freestanding compilers.  */
83236
83237 #ifdef __STDC__
83238 # include <limits.h>
83239 #else
83240 # include <assert.h>
83241 #endif
83242
83243 #undef $ac_func
83244
83245 /* Override any gcc2 internal prototype to avoid an error.  */
83246 #ifdef __cplusplus
83247 extern "C"
83248 {
83249 #endif
83250 /* We use char because int might match the return type of a gcc2
83251    builtin and then its argument prototype would still apply.  */
83252 char $ac_func ();
83253 /* The GNU C library defines this for functions which it implements
83254     to always fail with ENOSYS.  Some functions are actually named
83255     something starting with __ and the normal name is an alias.  */
83256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83257 choke me
83258 #else
83259 char (*f) () = $ac_func;
83260 #endif
83261 #ifdef __cplusplus
83262 }
83263 #endif
83264
83265 int
83266 main ()
83267 {
83268 return f != $ac_func;
83269   ;
83270   return 0;
83271 }
83272 _ACEOF
83273 rm -f conftest.$ac_objext conftest$ac_exeext
83274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83275   (eval $ac_link) 2>conftest.er1
83276   ac_status=$?
83277   grep -v '^ *+' conftest.er1 >conftest.err
83278   rm -f conftest.er1
83279   cat conftest.err >&5
83280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281   (exit $ac_status); } &&
83282          { ac_try='test -z "$ac_c_werror_flag"
83283                          || test ! -s conftest.err'
83284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83285   (eval $ac_try) 2>&5
83286   ac_status=$?
83287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288   (exit $ac_status); }; } &&
83289          { ac_try='test -s conftest$ac_exeext'
83290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83291   (eval $ac_try) 2>&5
83292   ac_status=$?
83293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83294   (exit $ac_status); }; }; then
83295   eval "$as_ac_var=yes"
83296 else
83297   echo "$as_me: failed program was:" >&5
83298 sed 's/^/| /' conftest.$ac_ext >&5
83299
83300 eval "$as_ac_var=no"
83301 fi
83302 rm -f conftest.err conftest.$ac_objext \
83303       conftest$ac_exeext conftest.$ac_ext
83304 fi
83305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83307 if test `eval echo '${'$as_ac_var'}'` = yes; then
83308   cat >>confdefs.h <<_ACEOF
83309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83310 _ACEOF
83311
83312 else
83313   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83314 fi
83315 done
83316
83317
83318           if test x$ac_cv_func_copysignl = x"yes"; then
83319
83320 for ac_func in __signbitl
83321 do
83322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83323 echo "$as_me:$LINENO: checking for $ac_func" >&5
83324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83325 if eval "test \"\${$as_ac_var+set}\" = set"; then
83326   echo $ECHO_N "(cached) $ECHO_C" >&6
83327 else
83328   if test x$gcc_no_link = xyes; then
83329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83331    { (exit 1); exit 1; }; }
83332 fi
83333 cat >conftest.$ac_ext <<_ACEOF
83334 /* confdefs.h.  */
83335 _ACEOF
83336 cat confdefs.h >>conftest.$ac_ext
83337 cat >>conftest.$ac_ext <<_ACEOF
83338 /* end confdefs.h.  */
83339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83341 #define $ac_func innocuous_$ac_func
83342
83343 /* System header to define __stub macros and hopefully few prototypes,
83344     which can conflict with char $ac_func (); below.
83345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83346     <limits.h> exists even on freestanding compilers.  */
83347
83348 #ifdef __STDC__
83349 # include <limits.h>
83350 #else
83351 # include <assert.h>
83352 #endif
83353
83354 #undef $ac_func
83355
83356 /* Override any gcc2 internal prototype to avoid an error.  */
83357 #ifdef __cplusplus
83358 extern "C"
83359 {
83360 #endif
83361 /* We use char because int might match the return type of a gcc2
83362    builtin and then its argument prototype would still apply.  */
83363 char $ac_func ();
83364 /* The GNU C library defines this for functions which it implements
83365     to always fail with ENOSYS.  Some functions are actually named
83366     something starting with __ and the normal name is an alias.  */
83367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83368 choke me
83369 #else
83370 char (*f) () = $ac_func;
83371 #endif
83372 #ifdef __cplusplus
83373 }
83374 #endif
83375
83376 int
83377 main ()
83378 {
83379 return f != $ac_func;
83380   ;
83381   return 0;
83382 }
83383 _ACEOF
83384 rm -f conftest.$ac_objext conftest$ac_exeext
83385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83386   (eval $ac_link) 2>conftest.er1
83387   ac_status=$?
83388   grep -v '^ *+' conftest.er1 >conftest.err
83389   rm -f conftest.er1
83390   cat conftest.err >&5
83391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83392   (exit $ac_status); } &&
83393          { ac_try='test -z "$ac_c_werror_flag"
83394                          || test ! -s conftest.err'
83395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83396   (eval $ac_try) 2>&5
83397   ac_status=$?
83398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83399   (exit $ac_status); }; } &&
83400          { ac_try='test -s conftest$ac_exeext'
83401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83402   (eval $ac_try) 2>&5
83403   ac_status=$?
83404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83405   (exit $ac_status); }; }; then
83406   eval "$as_ac_var=yes"
83407 else
83408   echo "$as_me: failed program was:" >&5
83409 sed 's/^/| /' conftest.$ac_ext >&5
83410
83411 eval "$as_ac_var=no"
83412 fi
83413 rm -f conftest.err conftest.$ac_objext \
83414       conftest$ac_exeext conftest.$ac_ext
83415 fi
83416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83418 if test `eval echo '${'$as_ac_var'}'` = yes; then
83419   cat >>confdefs.h <<_ACEOF
83420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83421 _ACEOF
83422
83423 else
83424   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83425 fi
83426 done
83427
83428   fi
83429
83430   # Used in libmath/Makefile.am.
83431   if test -n "$LIBMATHOBJS"; then
83432     need_libmath=yes
83433   fi
83434
83435
83436
83437   # Test wchar.h for mbstate_t, which is needed for char_traits and
83438   # others even if wchar_t support is not on.
83439   echo "$as_me:$LINENO: checking for mbstate_t" >&5
83440 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83441   cat >conftest.$ac_ext <<_ACEOF
83442 /* confdefs.h.  */
83443 _ACEOF
83444 cat confdefs.h >>conftest.$ac_ext
83445 cat >>conftest.$ac_ext <<_ACEOF
83446 /* end confdefs.h.  */
83447 #include <wchar.h>
83448 int
83449 main ()
83450 {
83451 mbstate_t teststate;
83452   ;
83453   return 0;
83454 }
83455 _ACEOF
83456 rm -f conftest.$ac_objext
83457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83458   (eval $ac_compile) 2>conftest.er1
83459   ac_status=$?
83460   grep -v '^ *+' conftest.er1 >conftest.err
83461   rm -f conftest.er1
83462   cat conftest.err >&5
83463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83464   (exit $ac_status); } &&
83465          { ac_try='test -z "$ac_c_werror_flag"
83466                          || test ! -s conftest.err'
83467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83468   (eval $ac_try) 2>&5
83469   ac_status=$?
83470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83471   (exit $ac_status); }; } &&
83472          { ac_try='test -s conftest.$ac_objext'
83473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83474   (eval $ac_try) 2>&5
83475   ac_status=$?
83476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83477   (exit $ac_status); }; }; then
83478   have_mbstate_t=yes
83479 else
83480   echo "$as_me: failed program was:" >&5
83481 sed 's/^/| /' conftest.$ac_ext >&5
83482
83483 have_mbstate_t=no
83484 fi
83485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83486   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83487 echo "${ECHO_T}$have_mbstate_t" >&6
83488   if test x"$have_mbstate_t" = xyes; then
83489     cat >>confdefs.h <<\_ACEOF
83490 #define HAVE_MBSTATE_T 1
83491 _ACEOF
83492
83493   fi
83494
83495   # Sanity check for existence of ISO C99 headers for extended encoding.
83496
83497 for ac_header in wchar.h
83498 do
83499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83501   echo "$as_me:$LINENO: checking for $ac_header" >&5
83502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83504   echo $ECHO_N "(cached) $ECHO_C" >&6
83505 fi
83506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83508 else
83509   # Is the header compilable?
83510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83512 cat >conftest.$ac_ext <<_ACEOF
83513 /* confdefs.h.  */
83514 _ACEOF
83515 cat confdefs.h >>conftest.$ac_ext
83516 cat >>conftest.$ac_ext <<_ACEOF
83517 /* end confdefs.h.  */
83518 $ac_includes_default
83519 #include <$ac_header>
83520 _ACEOF
83521 rm -f conftest.$ac_objext
83522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83523   (eval $ac_compile) 2>conftest.er1
83524   ac_status=$?
83525   grep -v '^ *+' conftest.er1 >conftest.err
83526   rm -f conftest.er1
83527   cat conftest.err >&5
83528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83529   (exit $ac_status); } &&
83530          { ac_try='test -z "$ac_c_werror_flag"
83531                          || test ! -s conftest.err'
83532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83533   (eval $ac_try) 2>&5
83534   ac_status=$?
83535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83536   (exit $ac_status); }; } &&
83537          { ac_try='test -s conftest.$ac_objext'
83538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83539   (eval $ac_try) 2>&5
83540   ac_status=$?
83541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83542   (exit $ac_status); }; }; then
83543   ac_header_compiler=yes
83544 else
83545   echo "$as_me: failed program was:" >&5
83546 sed 's/^/| /' conftest.$ac_ext >&5
83547
83548 ac_header_compiler=no
83549 fi
83550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83552 echo "${ECHO_T}$ac_header_compiler" >&6
83553
83554 # Is the header present?
83555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83557 cat >conftest.$ac_ext <<_ACEOF
83558 /* confdefs.h.  */
83559 _ACEOF
83560 cat confdefs.h >>conftest.$ac_ext
83561 cat >>conftest.$ac_ext <<_ACEOF
83562 /* end confdefs.h.  */
83563 #include <$ac_header>
83564 _ACEOF
83565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83566   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83567   ac_status=$?
83568   grep -v '^ *+' conftest.er1 >conftest.err
83569   rm -f conftest.er1
83570   cat conftest.err >&5
83571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572   (exit $ac_status); } >/dev/null; then
83573   if test -s conftest.err; then
83574     ac_cpp_err=$ac_c_preproc_warn_flag
83575     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83576   else
83577     ac_cpp_err=
83578   fi
83579 else
83580   ac_cpp_err=yes
83581 fi
83582 if test -z "$ac_cpp_err"; then
83583   ac_header_preproc=yes
83584 else
83585   echo "$as_me: failed program was:" >&5
83586 sed 's/^/| /' conftest.$ac_ext >&5
83587
83588   ac_header_preproc=no
83589 fi
83590 rm -f conftest.err conftest.$ac_ext
83591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83592 echo "${ECHO_T}$ac_header_preproc" >&6
83593
83594 # So?  What about this header?
83595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83596   yes:no: )
83597     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83599     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83601     ac_header_preproc=yes
83602     ;;
83603   no:yes:* )
83604     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83606     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83607 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83608     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83610     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83611 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83612     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83614     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83616     (
83617       cat <<\_ASBOX
83618 ## ----------------------------------------- ##
83619 ## Report this to the package-unused lists.  ##
83620 ## ----------------------------------------- ##
83621 _ASBOX
83622     ) |
83623       sed "s/^/$as_me: WARNING:     /" >&2
83624     ;;
83625 esac
83626 echo "$as_me:$LINENO: checking for $ac_header" >&5
83627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83629   echo $ECHO_N "(cached) $ECHO_C" >&6
83630 else
83631   eval "$as_ac_Header=\$ac_header_preproc"
83632 fi
83633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83635
83636 fi
83637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83638   cat >>confdefs.h <<_ACEOF
83639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83640 _ACEOF
83641  ac_has_wchar_h=yes
83642 else
83643   ac_has_wchar_h=no
83644 fi
83645
83646 done
83647
83648
83649 for ac_header in wctype.h
83650 do
83651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83653   echo "$as_me:$LINENO: checking for $ac_header" >&5
83654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83656   echo $ECHO_N "(cached) $ECHO_C" >&6
83657 fi
83658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83660 else
83661   # Is the header compilable?
83662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83664 cat >conftest.$ac_ext <<_ACEOF
83665 /* confdefs.h.  */
83666 _ACEOF
83667 cat confdefs.h >>conftest.$ac_ext
83668 cat >>conftest.$ac_ext <<_ACEOF
83669 /* end confdefs.h.  */
83670 $ac_includes_default
83671 #include <$ac_header>
83672 _ACEOF
83673 rm -f conftest.$ac_objext
83674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83675   (eval $ac_compile) 2>conftest.er1
83676   ac_status=$?
83677   grep -v '^ *+' conftest.er1 >conftest.err
83678   rm -f conftest.er1
83679   cat conftest.err >&5
83680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83681   (exit $ac_status); } &&
83682          { ac_try='test -z "$ac_c_werror_flag"
83683                          || test ! -s conftest.err'
83684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83685   (eval $ac_try) 2>&5
83686   ac_status=$?
83687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83688   (exit $ac_status); }; } &&
83689          { ac_try='test -s conftest.$ac_objext'
83690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83691   (eval $ac_try) 2>&5
83692   ac_status=$?
83693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83694   (exit $ac_status); }; }; then
83695   ac_header_compiler=yes
83696 else
83697   echo "$as_me: failed program was:" >&5
83698 sed 's/^/| /' conftest.$ac_ext >&5
83699
83700 ac_header_compiler=no
83701 fi
83702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83704 echo "${ECHO_T}$ac_header_compiler" >&6
83705
83706 # Is the header present?
83707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83709 cat >conftest.$ac_ext <<_ACEOF
83710 /* confdefs.h.  */
83711 _ACEOF
83712 cat confdefs.h >>conftest.$ac_ext
83713 cat >>conftest.$ac_ext <<_ACEOF
83714 /* end confdefs.h.  */
83715 #include <$ac_header>
83716 _ACEOF
83717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83718   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83719   ac_status=$?
83720   grep -v '^ *+' conftest.er1 >conftest.err
83721   rm -f conftest.er1
83722   cat conftest.err >&5
83723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83724   (exit $ac_status); } >/dev/null; then
83725   if test -s conftest.err; then
83726     ac_cpp_err=$ac_c_preproc_warn_flag
83727     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83728   else
83729     ac_cpp_err=
83730   fi
83731 else
83732   ac_cpp_err=yes
83733 fi
83734 if test -z "$ac_cpp_err"; then
83735   ac_header_preproc=yes
83736 else
83737   echo "$as_me: failed program was:" >&5
83738 sed 's/^/| /' conftest.$ac_ext >&5
83739
83740   ac_header_preproc=no
83741 fi
83742 rm -f conftest.err conftest.$ac_ext
83743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83744 echo "${ECHO_T}$ac_header_preproc" >&6
83745
83746 # So?  What about this header?
83747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83748   yes:no: )
83749     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83751     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83753     ac_header_preproc=yes
83754     ;;
83755   no:yes:* )
83756     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83758     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83759 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83760     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83762     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83763 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83764     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83766     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83768     (
83769       cat <<\_ASBOX
83770 ## ----------------------------------------- ##
83771 ## Report this to the package-unused lists.  ##
83772 ## ----------------------------------------- ##
83773 _ASBOX
83774     ) |
83775       sed "s/^/$as_me: WARNING:     /" >&2
83776     ;;
83777 esac
83778 echo "$as_me:$LINENO: checking for $ac_header" >&5
83779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83781   echo $ECHO_N "(cached) $ECHO_C" >&6
83782 else
83783   eval "$as_ac_Header=\$ac_header_preproc"
83784 fi
83785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83787
83788 fi
83789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83790   cat >>confdefs.h <<_ACEOF
83791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83792 _ACEOF
83793  ac_has_wctype_h=yes
83794 else
83795   ac_has_wctype_h=no
83796 fi
83797
83798 done
83799
83800
83801   # Only continue checking if the ISO C99 headers exist and support is on.
83802   if test x"$ac_has_wchar_h" = xyes &&
83803      test x"$ac_has_wctype_h" = xyes &&
83804      test x"$enable_c_mbchar" != xno; then
83805
83806     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83807     # numeric_limits can instantiate type_traits<wchar_t>
83808     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83809 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83810     cat >conftest.$ac_ext <<_ACEOF
83811 /* confdefs.h.  */
83812 _ACEOF
83813 cat confdefs.h >>conftest.$ac_ext
83814 cat >>conftest.$ac_ext <<_ACEOF
83815 /* end confdefs.h.  */
83816 #include <wchar.h>
83817 int
83818 main ()
83819 {
83820 int i = WCHAR_MIN; int j = WCHAR_MAX;
83821   ;
83822   return 0;
83823 }
83824 _ACEOF
83825 rm -f conftest.$ac_objext
83826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83827   (eval $ac_compile) 2>conftest.er1
83828   ac_status=$?
83829   grep -v '^ *+' conftest.er1 >conftest.err
83830   rm -f conftest.er1
83831   cat conftest.err >&5
83832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83833   (exit $ac_status); } &&
83834          { ac_try='test -z "$ac_c_werror_flag"
83835                          || test ! -s conftest.err'
83836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83837   (eval $ac_try) 2>&5
83838   ac_status=$?
83839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83840   (exit $ac_status); }; } &&
83841          { ac_try='test -s conftest.$ac_objext'
83842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83843   (eval $ac_try) 2>&5
83844   ac_status=$?
83845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83846   (exit $ac_status); }; }; then
83847   has_wchar_minmax=yes
83848 else
83849   echo "$as_me: failed program was:" >&5
83850 sed 's/^/| /' conftest.$ac_ext >&5
83851
83852 has_wchar_minmax=no
83853 fi
83854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83855     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83856 echo "${ECHO_T}$has_wchar_minmax" >&6
83857
83858     # Test wchar.h for WEOF, which is what we use to determine whether
83859     # to specialize for char_traits<wchar_t> or not.
83860     echo "$as_me:$LINENO: checking for WEOF" >&5
83861 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83862     cat >conftest.$ac_ext <<_ACEOF
83863 /* confdefs.h.  */
83864 _ACEOF
83865 cat confdefs.h >>conftest.$ac_ext
83866 cat >>conftest.$ac_ext <<_ACEOF
83867 /* end confdefs.h.  */
83868
83869       #include <wchar.h>
83870       #include <stddef.h>
83871 int
83872 main ()
83873 {
83874 wint_t i = WEOF;
83875   ;
83876   return 0;
83877 }
83878 _ACEOF
83879 rm -f conftest.$ac_objext
83880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83881   (eval $ac_compile) 2>conftest.er1
83882   ac_status=$?
83883   grep -v '^ *+' conftest.er1 >conftest.err
83884   rm -f conftest.er1
83885   cat conftest.err >&5
83886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83887   (exit $ac_status); } &&
83888          { ac_try='test -z "$ac_c_werror_flag"
83889                          || test ! -s conftest.err'
83890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83891   (eval $ac_try) 2>&5
83892   ac_status=$?
83893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83894   (exit $ac_status); }; } &&
83895          { ac_try='test -s conftest.$ac_objext'
83896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83897   (eval $ac_try) 2>&5
83898   ac_status=$?
83899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83900   (exit $ac_status); }; }; then
83901   has_weof=yes
83902 else
83903   echo "$as_me: failed program was:" >&5
83904 sed 's/^/| /' conftest.$ac_ext >&5
83905
83906 has_weof=no
83907 fi
83908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83909     echo "$as_me:$LINENO: result: $has_weof" >&5
83910 echo "${ECHO_T}$has_weof" >&6
83911
83912     # Tests for wide character functions used in char_traits<wchar_t>.
83913     ac_wfuncs=yes
83914
83915
83916
83917
83918
83919
83920 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83921 do
83922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83923 echo "$as_me:$LINENO: checking for $ac_func" >&5
83924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83925 if eval "test \"\${$as_ac_var+set}\" = set"; then
83926   echo $ECHO_N "(cached) $ECHO_C" >&6
83927 else
83928   if test x$gcc_no_link = xyes; then
83929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83931    { (exit 1); exit 1; }; }
83932 fi
83933 cat >conftest.$ac_ext <<_ACEOF
83934 /* confdefs.h.  */
83935 _ACEOF
83936 cat confdefs.h >>conftest.$ac_ext
83937 cat >>conftest.$ac_ext <<_ACEOF
83938 /* end confdefs.h.  */
83939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83941 #define $ac_func innocuous_$ac_func
83942
83943 /* System header to define __stub macros and hopefully few prototypes,
83944     which can conflict with char $ac_func (); below.
83945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83946     <limits.h> exists even on freestanding compilers.  */
83947
83948 #ifdef __STDC__
83949 # include <limits.h>
83950 #else
83951 # include <assert.h>
83952 #endif
83953
83954 #undef $ac_func
83955
83956 /* Override any gcc2 internal prototype to avoid an error.  */
83957 #ifdef __cplusplus
83958 extern "C"
83959 {
83960 #endif
83961 /* We use char because int might match the return type of a gcc2
83962    builtin and then its argument prototype would still apply.  */
83963 char $ac_func ();
83964 /* The GNU C library defines this for functions which it implements
83965     to always fail with ENOSYS.  Some functions are actually named
83966     something starting with __ and the normal name is an alias.  */
83967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83968 choke me
83969 #else
83970 char (*f) () = $ac_func;
83971 #endif
83972 #ifdef __cplusplus
83973 }
83974 #endif
83975
83976 int
83977 main ()
83978 {
83979 return f != $ac_func;
83980   ;
83981   return 0;
83982 }
83983 _ACEOF
83984 rm -f conftest.$ac_objext conftest$ac_exeext
83985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83986   (eval $ac_link) 2>conftest.er1
83987   ac_status=$?
83988   grep -v '^ *+' conftest.er1 >conftest.err
83989   rm -f conftest.er1
83990   cat conftest.err >&5
83991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83992   (exit $ac_status); } &&
83993          { ac_try='test -z "$ac_c_werror_flag"
83994                          || test ! -s conftest.err'
83995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83996   (eval $ac_try) 2>&5
83997   ac_status=$?
83998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83999   (exit $ac_status); }; } &&
84000          { ac_try='test -s conftest$ac_exeext'
84001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84002   (eval $ac_try) 2>&5
84003   ac_status=$?
84004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84005   (exit $ac_status); }; }; then
84006   eval "$as_ac_var=yes"
84007 else
84008   echo "$as_me: failed program was:" >&5
84009 sed 's/^/| /' conftest.$ac_ext >&5
84010
84011 eval "$as_ac_var=no"
84012 fi
84013 rm -f conftest.err conftest.$ac_objext \
84014       conftest$ac_exeext conftest.$ac_ext
84015 fi
84016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84018 if test `eval echo '${'$as_ac_var'}'` = yes; then
84019   cat >>confdefs.h <<_ACEOF
84020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84021 _ACEOF
84022
84023 else
84024   ac_wfuncs=no
84025 fi
84026 done
84027
84028
84029     # Checks for names injected into std:: by the c_std headers.
84030
84031
84032
84033
84034
84035
84036
84037
84038
84039
84040
84041
84042
84043
84044
84045
84046
84047
84048
84049
84050
84051
84052
84053
84054
84055
84056
84057
84058
84059
84060
84061
84062
84063
84064
84065
84066
84067
84068
84069
84070
84071
84072
84073
84074
84075
84076 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84077     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84078     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84079     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84080     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84081     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84082 do
84083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84084 echo "$as_me:$LINENO: checking for $ac_func" >&5
84085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84086 if eval "test \"\${$as_ac_var+set}\" = set"; then
84087   echo $ECHO_N "(cached) $ECHO_C" >&6
84088 else
84089   if test x$gcc_no_link = xyes; then
84090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84092    { (exit 1); exit 1; }; }
84093 fi
84094 cat >conftest.$ac_ext <<_ACEOF
84095 /* confdefs.h.  */
84096 _ACEOF
84097 cat confdefs.h >>conftest.$ac_ext
84098 cat >>conftest.$ac_ext <<_ACEOF
84099 /* end confdefs.h.  */
84100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84102 #define $ac_func innocuous_$ac_func
84103
84104 /* System header to define __stub macros and hopefully few prototypes,
84105     which can conflict with char $ac_func (); below.
84106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84107     <limits.h> exists even on freestanding compilers.  */
84108
84109 #ifdef __STDC__
84110 # include <limits.h>
84111 #else
84112 # include <assert.h>
84113 #endif
84114
84115 #undef $ac_func
84116
84117 /* Override any gcc2 internal prototype to avoid an error.  */
84118 #ifdef __cplusplus
84119 extern "C"
84120 {
84121 #endif
84122 /* We use char because int might match the return type of a gcc2
84123    builtin and then its argument prototype would still apply.  */
84124 char $ac_func ();
84125 /* The GNU C library defines this for functions which it implements
84126     to always fail with ENOSYS.  Some functions are actually named
84127     something starting with __ and the normal name is an alias.  */
84128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84129 choke me
84130 #else
84131 char (*f) () = $ac_func;
84132 #endif
84133 #ifdef __cplusplus
84134 }
84135 #endif
84136
84137 int
84138 main ()
84139 {
84140 return f != $ac_func;
84141   ;
84142   return 0;
84143 }
84144 _ACEOF
84145 rm -f conftest.$ac_objext conftest$ac_exeext
84146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84147   (eval $ac_link) 2>conftest.er1
84148   ac_status=$?
84149   grep -v '^ *+' conftest.er1 >conftest.err
84150   rm -f conftest.er1
84151   cat conftest.err >&5
84152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84153   (exit $ac_status); } &&
84154          { ac_try='test -z "$ac_c_werror_flag"
84155                          || test ! -s conftest.err'
84156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84157   (eval $ac_try) 2>&5
84158   ac_status=$?
84159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84160   (exit $ac_status); }; } &&
84161          { ac_try='test -s conftest$ac_exeext'
84162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84163   (eval $ac_try) 2>&5
84164   ac_status=$?
84165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84166   (exit $ac_status); }; }; then
84167   eval "$as_ac_var=yes"
84168 else
84169   echo "$as_me: failed program was:" >&5
84170 sed 's/^/| /' conftest.$ac_ext >&5
84171
84172 eval "$as_ac_var=no"
84173 fi
84174 rm -f conftest.err conftest.$ac_objext \
84175       conftest$ac_exeext conftest.$ac_ext
84176 fi
84177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84179 if test `eval echo '${'$as_ac_var'}'` = yes; then
84180   cat >>confdefs.h <<_ACEOF
84181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84182 _ACEOF
84183
84184 else
84185   ac_wfuncs=no
84186 fi
84187 done
84188
84189
84190     # Checks for wide character functions that are not required
84191     # for basic wchar_t support.  Don't disable support if they are missing.
84192     # Injection of these is wrapped with guard macros.
84193
84194
84195
84196
84197
84198 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84199 do
84200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84201 echo "$as_me:$LINENO: checking for $ac_func" >&5
84202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84203 if eval "test \"\${$as_ac_var+set}\" = set"; then
84204   echo $ECHO_N "(cached) $ECHO_C" >&6
84205 else
84206   if test x$gcc_no_link = xyes; then
84207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84209    { (exit 1); exit 1; }; }
84210 fi
84211 cat >conftest.$ac_ext <<_ACEOF
84212 /* confdefs.h.  */
84213 _ACEOF
84214 cat confdefs.h >>conftest.$ac_ext
84215 cat >>conftest.$ac_ext <<_ACEOF
84216 /* end confdefs.h.  */
84217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84219 #define $ac_func innocuous_$ac_func
84220
84221 /* System header to define __stub macros and hopefully few prototypes,
84222     which can conflict with char $ac_func (); below.
84223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84224     <limits.h> exists even on freestanding compilers.  */
84225
84226 #ifdef __STDC__
84227 # include <limits.h>
84228 #else
84229 # include <assert.h>
84230 #endif
84231
84232 #undef $ac_func
84233
84234 /* Override any gcc2 internal prototype to avoid an error.  */
84235 #ifdef __cplusplus
84236 extern "C"
84237 {
84238 #endif
84239 /* We use char because int might match the return type of a gcc2
84240    builtin and then its argument prototype would still apply.  */
84241 char $ac_func ();
84242 /* The GNU C library defines this for functions which it implements
84243     to always fail with ENOSYS.  Some functions are actually named
84244     something starting with __ and the normal name is an alias.  */
84245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84246 choke me
84247 #else
84248 char (*f) () = $ac_func;
84249 #endif
84250 #ifdef __cplusplus
84251 }
84252 #endif
84253
84254 int
84255 main ()
84256 {
84257 return f != $ac_func;
84258   ;
84259   return 0;
84260 }
84261 _ACEOF
84262 rm -f conftest.$ac_objext conftest$ac_exeext
84263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84264   (eval $ac_link) 2>conftest.er1
84265   ac_status=$?
84266   grep -v '^ *+' conftest.er1 >conftest.err
84267   rm -f conftest.er1
84268   cat conftest.err >&5
84269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84270   (exit $ac_status); } &&
84271          { ac_try='test -z "$ac_c_werror_flag"
84272                          || test ! -s conftest.err'
84273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84274   (eval $ac_try) 2>&5
84275   ac_status=$?
84276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84277   (exit $ac_status); }; } &&
84278          { ac_try='test -s conftest$ac_exeext'
84279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84280   (eval $ac_try) 2>&5
84281   ac_status=$?
84282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84283   (exit $ac_status); }; }; then
84284   eval "$as_ac_var=yes"
84285 else
84286   echo "$as_me: failed program was:" >&5
84287 sed 's/^/| /' conftest.$ac_ext >&5
84288
84289 eval "$as_ac_var=no"
84290 fi
84291 rm -f conftest.err conftest.$ac_objext \
84292       conftest$ac_exeext conftest.$ac_ext
84293 fi
84294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84296 if test `eval echo '${'$as_ac_var'}'` = yes; then
84297   cat >>confdefs.h <<_ACEOF
84298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84299 _ACEOF
84300
84301 fi
84302 done
84303
84304
84305     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84306 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84307     if test x"$has_weof" = xyes &&
84308        test x"$has_wchar_minmax" = xyes &&
84309        test x"$ac_wfuncs" = xyes;
84310     then
84311       ac_isoC99_wchar_t=yes
84312     else
84313       ac_isoC99_wchar_t=no
84314     fi
84315     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84316 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84317
84318     # Use iconv for wchar_t to char conversions. As such, check for
84319     # X/Open Portability Guide, version 2 features (XPG2).
84320     if test "${ac_cv_header_iconv_h+set}" = set; then
84321   echo "$as_me:$LINENO: checking for iconv.h" >&5
84322 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84323 if test "${ac_cv_header_iconv_h+set}" = set; then
84324   echo $ECHO_N "(cached) $ECHO_C" >&6
84325 fi
84326 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84327 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84328 else
84329   # Is the header compilable?
84330 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84331 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84332 cat >conftest.$ac_ext <<_ACEOF
84333 /* confdefs.h.  */
84334 _ACEOF
84335 cat confdefs.h >>conftest.$ac_ext
84336 cat >>conftest.$ac_ext <<_ACEOF
84337 /* end confdefs.h.  */
84338 $ac_includes_default
84339 #include <iconv.h>
84340 _ACEOF
84341 rm -f conftest.$ac_objext
84342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84343   (eval $ac_compile) 2>conftest.er1
84344   ac_status=$?
84345   grep -v '^ *+' conftest.er1 >conftest.err
84346   rm -f conftest.er1
84347   cat conftest.err >&5
84348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84349   (exit $ac_status); } &&
84350          { ac_try='test -z "$ac_c_werror_flag"
84351                          || test ! -s conftest.err'
84352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84353   (eval $ac_try) 2>&5
84354   ac_status=$?
84355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84356   (exit $ac_status); }; } &&
84357          { ac_try='test -s conftest.$ac_objext'
84358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84359   (eval $ac_try) 2>&5
84360   ac_status=$?
84361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84362   (exit $ac_status); }; }; then
84363   ac_header_compiler=yes
84364 else
84365   echo "$as_me: failed program was:" >&5
84366 sed 's/^/| /' conftest.$ac_ext >&5
84367
84368 ac_header_compiler=no
84369 fi
84370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84372 echo "${ECHO_T}$ac_header_compiler" >&6
84373
84374 # Is the header present?
84375 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84376 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84377 cat >conftest.$ac_ext <<_ACEOF
84378 /* confdefs.h.  */
84379 _ACEOF
84380 cat confdefs.h >>conftest.$ac_ext
84381 cat >>conftest.$ac_ext <<_ACEOF
84382 /* end confdefs.h.  */
84383 #include <iconv.h>
84384 _ACEOF
84385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84386   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84387   ac_status=$?
84388   grep -v '^ *+' conftest.er1 >conftest.err
84389   rm -f conftest.er1
84390   cat conftest.err >&5
84391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84392   (exit $ac_status); } >/dev/null; then
84393   if test -s conftest.err; then
84394     ac_cpp_err=$ac_c_preproc_warn_flag
84395     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84396   else
84397     ac_cpp_err=
84398   fi
84399 else
84400   ac_cpp_err=yes
84401 fi
84402 if test -z "$ac_cpp_err"; then
84403   ac_header_preproc=yes
84404 else
84405   echo "$as_me: failed program was:" >&5
84406 sed 's/^/| /' conftest.$ac_ext >&5
84407
84408   ac_header_preproc=no
84409 fi
84410 rm -f conftest.err conftest.$ac_ext
84411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84412 echo "${ECHO_T}$ac_header_preproc" >&6
84413
84414 # So?  What about this header?
84415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84416   yes:no: )
84417     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84418 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84419     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84420 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84421     ac_header_preproc=yes
84422     ;;
84423   no:yes:* )
84424     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84425 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84426     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84427 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84428     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84429 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84430     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84431 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84432     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84433 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84434     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84435 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84436     (
84437       cat <<\_ASBOX
84438 ## ----------------------------------------- ##
84439 ## Report this to the package-unused lists.  ##
84440 ## ----------------------------------------- ##
84441 _ASBOX
84442     ) |
84443       sed "s/^/$as_me: WARNING:     /" >&2
84444     ;;
84445 esac
84446 echo "$as_me:$LINENO: checking for iconv.h" >&5
84447 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84448 if test "${ac_cv_header_iconv_h+set}" = set; then
84449   echo $ECHO_N "(cached) $ECHO_C" >&6
84450 else
84451   ac_cv_header_iconv_h=$ac_header_preproc
84452 fi
84453 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84454 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84455
84456 fi
84457 if test $ac_cv_header_iconv_h = yes; then
84458   ac_has_iconv_h=yes
84459 else
84460   ac_has_iconv_h=no
84461 fi
84462
84463
84464     if test "${ac_cv_header_langinfo_h+set}" = set; then
84465   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84466 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84467 if test "${ac_cv_header_langinfo_h+set}" = set; then
84468   echo $ECHO_N "(cached) $ECHO_C" >&6
84469 fi
84470 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84471 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84472 else
84473   # Is the header compilable?
84474 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84475 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84476 cat >conftest.$ac_ext <<_ACEOF
84477 /* confdefs.h.  */
84478 _ACEOF
84479 cat confdefs.h >>conftest.$ac_ext
84480 cat >>conftest.$ac_ext <<_ACEOF
84481 /* end confdefs.h.  */
84482 $ac_includes_default
84483 #include <langinfo.h>
84484 _ACEOF
84485 rm -f conftest.$ac_objext
84486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84487   (eval $ac_compile) 2>conftest.er1
84488   ac_status=$?
84489   grep -v '^ *+' conftest.er1 >conftest.err
84490   rm -f conftest.er1
84491   cat conftest.err >&5
84492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84493   (exit $ac_status); } &&
84494          { ac_try='test -z "$ac_c_werror_flag"
84495                          || test ! -s conftest.err'
84496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84497   (eval $ac_try) 2>&5
84498   ac_status=$?
84499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84500   (exit $ac_status); }; } &&
84501          { ac_try='test -s conftest.$ac_objext'
84502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84503   (eval $ac_try) 2>&5
84504   ac_status=$?
84505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506   (exit $ac_status); }; }; then
84507   ac_header_compiler=yes
84508 else
84509   echo "$as_me: failed program was:" >&5
84510 sed 's/^/| /' conftest.$ac_ext >&5
84511
84512 ac_header_compiler=no
84513 fi
84514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84516 echo "${ECHO_T}$ac_header_compiler" >&6
84517
84518 # Is the header present?
84519 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84520 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84521 cat >conftest.$ac_ext <<_ACEOF
84522 /* confdefs.h.  */
84523 _ACEOF
84524 cat confdefs.h >>conftest.$ac_ext
84525 cat >>conftest.$ac_ext <<_ACEOF
84526 /* end confdefs.h.  */
84527 #include <langinfo.h>
84528 _ACEOF
84529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84530   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84531   ac_status=$?
84532   grep -v '^ *+' conftest.er1 >conftest.err
84533   rm -f conftest.er1
84534   cat conftest.err >&5
84535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84536   (exit $ac_status); } >/dev/null; then
84537   if test -s conftest.err; then
84538     ac_cpp_err=$ac_c_preproc_warn_flag
84539     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84540   else
84541     ac_cpp_err=
84542   fi
84543 else
84544   ac_cpp_err=yes
84545 fi
84546 if test -z "$ac_cpp_err"; then
84547   ac_header_preproc=yes
84548 else
84549   echo "$as_me: failed program was:" >&5
84550 sed 's/^/| /' conftest.$ac_ext >&5
84551
84552   ac_header_preproc=no
84553 fi
84554 rm -f conftest.err conftest.$ac_ext
84555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84556 echo "${ECHO_T}$ac_header_preproc" >&6
84557
84558 # So?  What about this header?
84559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84560   yes:no: )
84561     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84562 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84563     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84564 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84565     ac_header_preproc=yes
84566     ;;
84567   no:yes:* )
84568     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84569 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84570     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84571 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84572     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84573 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84574     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84575 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84576     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84577 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84578     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84579 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84580     (
84581       cat <<\_ASBOX
84582 ## ----------------------------------------- ##
84583 ## Report this to the package-unused lists.  ##
84584 ## ----------------------------------------- ##
84585 _ASBOX
84586     ) |
84587       sed "s/^/$as_me: WARNING:     /" >&2
84588     ;;
84589 esac
84590 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84591 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84592 if test "${ac_cv_header_langinfo_h+set}" = set; then
84593   echo $ECHO_N "(cached) $ECHO_C" >&6
84594 else
84595   ac_cv_header_langinfo_h=$ac_header_preproc
84596 fi
84597 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84598 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84599
84600 fi
84601 if test $ac_cv_header_langinfo_h = yes; then
84602   ac_has_langinfo_h=yes
84603 else
84604   ac_has_langinfo_h=no
84605 fi
84606
84607
84608
84609     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84610     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84611 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84612 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84613   echo $ECHO_N "(cached) $ECHO_C" >&6
84614 else
84615   ac_check_lib_save_LIBS=$LIBS
84616 LIBS="-liconv  $LIBS"
84617 if test x$gcc_no_link = xyes; then
84618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84620    { (exit 1); exit 1; }; }
84621 fi
84622 cat >conftest.$ac_ext <<_ACEOF
84623 /* confdefs.h.  */
84624 _ACEOF
84625 cat confdefs.h >>conftest.$ac_ext
84626 cat >>conftest.$ac_ext <<_ACEOF
84627 /* end confdefs.h.  */
84628
84629 /* Override any gcc2 internal prototype to avoid an error.  */
84630 #ifdef __cplusplus
84631 extern "C"
84632 #endif
84633 /* We use char because int might match the return type of a gcc2
84634    builtin and then its argument prototype would still apply.  */
84635 char iconv ();
84636 int
84637 main ()
84638 {
84639 iconv ();
84640   ;
84641   return 0;
84642 }
84643 _ACEOF
84644 rm -f conftest.$ac_objext conftest$ac_exeext
84645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84646   (eval $ac_link) 2>conftest.er1
84647   ac_status=$?
84648   grep -v '^ *+' conftest.er1 >conftest.err
84649   rm -f conftest.er1
84650   cat conftest.err >&5
84651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84652   (exit $ac_status); } &&
84653          { ac_try='test -z "$ac_c_werror_flag"
84654                          || test ! -s conftest.err'
84655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84656   (eval $ac_try) 2>&5
84657   ac_status=$?
84658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84659   (exit $ac_status); }; } &&
84660          { ac_try='test -s conftest$ac_exeext'
84661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84662   (eval $ac_try) 2>&5
84663   ac_status=$?
84664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84665   (exit $ac_status); }; }; then
84666   ac_cv_lib_iconv_iconv=yes
84667 else
84668   echo "$as_me: failed program was:" >&5
84669 sed 's/^/| /' conftest.$ac_ext >&5
84670
84671 ac_cv_lib_iconv_iconv=no
84672 fi
84673 rm -f conftest.err conftest.$ac_objext \
84674       conftest$ac_exeext conftest.$ac_ext
84675 LIBS=$ac_check_lib_save_LIBS
84676 fi
84677 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84678 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84679 if test $ac_cv_lib_iconv_iconv = yes; then
84680   libiconv="-liconv"
84681 fi
84682
84683     ac_save_LIBS="$LIBS"
84684     LIBS="$LIBS $libiconv"
84685
84686
84687
84688
84689
84690 for ac_func in iconv_open iconv_close iconv nl_langinfo
84691 do
84692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84693 echo "$as_me:$LINENO: checking for $ac_func" >&5
84694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84695 if eval "test \"\${$as_ac_var+set}\" = set"; then
84696   echo $ECHO_N "(cached) $ECHO_C" >&6
84697 else
84698   if test x$gcc_no_link = xyes; then
84699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84701    { (exit 1); exit 1; }; }
84702 fi
84703 cat >conftest.$ac_ext <<_ACEOF
84704 /* confdefs.h.  */
84705 _ACEOF
84706 cat confdefs.h >>conftest.$ac_ext
84707 cat >>conftest.$ac_ext <<_ACEOF
84708 /* end confdefs.h.  */
84709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84711 #define $ac_func innocuous_$ac_func
84712
84713 /* System header to define __stub macros and hopefully few prototypes,
84714     which can conflict with char $ac_func (); below.
84715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84716     <limits.h> exists even on freestanding compilers.  */
84717
84718 #ifdef __STDC__
84719 # include <limits.h>
84720 #else
84721 # include <assert.h>
84722 #endif
84723
84724 #undef $ac_func
84725
84726 /* Override any gcc2 internal prototype to avoid an error.  */
84727 #ifdef __cplusplus
84728 extern "C"
84729 {
84730 #endif
84731 /* We use char because int might match the return type of a gcc2
84732    builtin and then its argument prototype would still apply.  */
84733 char $ac_func ();
84734 /* The GNU C library defines this for functions which it implements
84735     to always fail with ENOSYS.  Some functions are actually named
84736     something starting with __ and the normal name is an alias.  */
84737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84738 choke me
84739 #else
84740 char (*f) () = $ac_func;
84741 #endif
84742 #ifdef __cplusplus
84743 }
84744 #endif
84745
84746 int
84747 main ()
84748 {
84749 return f != $ac_func;
84750   ;
84751   return 0;
84752 }
84753 _ACEOF
84754 rm -f conftest.$ac_objext conftest$ac_exeext
84755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84756   (eval $ac_link) 2>conftest.er1
84757   ac_status=$?
84758   grep -v '^ *+' conftest.er1 >conftest.err
84759   rm -f conftest.er1
84760   cat conftest.err >&5
84761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84762   (exit $ac_status); } &&
84763          { ac_try='test -z "$ac_c_werror_flag"
84764                          || test ! -s conftest.err'
84765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84766   (eval $ac_try) 2>&5
84767   ac_status=$?
84768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84769   (exit $ac_status); }; } &&
84770          { ac_try='test -s conftest$ac_exeext'
84771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84772   (eval $ac_try) 2>&5
84773   ac_status=$?
84774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84775   (exit $ac_status); }; }; then
84776   eval "$as_ac_var=yes"
84777 else
84778   echo "$as_me: failed program was:" >&5
84779 sed 's/^/| /' conftest.$ac_ext >&5
84780
84781 eval "$as_ac_var=no"
84782 fi
84783 rm -f conftest.err conftest.$ac_objext \
84784       conftest$ac_exeext conftest.$ac_ext
84785 fi
84786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84788 if test `eval echo '${'$as_ac_var'}'` = yes; then
84789   cat >>confdefs.h <<_ACEOF
84790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84791 _ACEOF
84792  ac_XPG2funcs=yes
84793 else
84794   ac_XPG2funcs=no
84795 fi
84796 done
84797
84798
84799     LIBS="$ac_save_LIBS"
84800
84801     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84802 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84803     if test x"$ac_has_iconv_h" = xyes &&
84804        test x"$ac_has_langinfo_h" = xyes &&
84805        test x"$ac_XPG2funcs" = xyes;
84806     then
84807       ac_XPG2_wchar_t=yes
84808     else
84809       ac_XPG2_wchar_t=no
84810     fi
84811     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84812 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84813
84814     # At the moment, only enable wchar_t specializations if all the
84815     # above support is present.
84816     if test x"$ac_isoC99_wchar_t" = xyes &&
84817        test x"$ac_XPG2_wchar_t" = xyes;
84818     then
84819       cat >>confdefs.h <<\_ACEOF
84820 #define _GLIBCXX_USE_WCHAR_T 1
84821 _ACEOF
84822
84823       enable_wchar_t=yes
84824     fi
84825   fi
84826   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84827 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84828   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84829 echo "${ECHO_T}$enable_wchar_t" >&6
84830
84831     ;;
84832   *-netbsd*)
84833
84834
84835
84836
84837
84838
84839
84840
84841
84842
84843
84844
84845 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84846       machine/endian.h machine/param.h sys/machine.h sys/types.h \
84847       fp.h locale.h float.h inttypes.h
84848 do
84849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84851   echo "$as_me:$LINENO: checking for $ac_header" >&5
84852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84854   echo $ECHO_N "(cached) $ECHO_C" >&6
84855 fi
84856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84858 else
84859   # Is the header compilable?
84860 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84862 cat >conftest.$ac_ext <<_ACEOF
84863 /* confdefs.h.  */
84864 _ACEOF
84865 cat confdefs.h >>conftest.$ac_ext
84866 cat >>conftest.$ac_ext <<_ACEOF
84867 /* end confdefs.h.  */
84868 $ac_includes_default
84869 #include <$ac_header>
84870 _ACEOF
84871 rm -f conftest.$ac_objext
84872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84873   (eval $ac_compile) 2>conftest.er1
84874   ac_status=$?
84875   grep -v '^ *+' conftest.er1 >conftest.err
84876   rm -f conftest.er1
84877   cat conftest.err >&5
84878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84879   (exit $ac_status); } &&
84880          { ac_try='test -z "$ac_c_werror_flag"
84881                          || test ! -s conftest.err'
84882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84883   (eval $ac_try) 2>&5
84884   ac_status=$?
84885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84886   (exit $ac_status); }; } &&
84887          { ac_try='test -s conftest.$ac_objext'
84888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84889   (eval $ac_try) 2>&5
84890   ac_status=$?
84891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84892   (exit $ac_status); }; }; then
84893   ac_header_compiler=yes
84894 else
84895   echo "$as_me: failed program was:" >&5
84896 sed 's/^/| /' conftest.$ac_ext >&5
84897
84898 ac_header_compiler=no
84899 fi
84900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84901 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84902 echo "${ECHO_T}$ac_header_compiler" >&6
84903
84904 # Is the header present?
84905 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84907 cat >conftest.$ac_ext <<_ACEOF
84908 /* confdefs.h.  */
84909 _ACEOF
84910 cat confdefs.h >>conftest.$ac_ext
84911 cat >>conftest.$ac_ext <<_ACEOF
84912 /* end confdefs.h.  */
84913 #include <$ac_header>
84914 _ACEOF
84915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84916   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84917   ac_status=$?
84918   grep -v '^ *+' conftest.er1 >conftest.err
84919   rm -f conftest.er1
84920   cat conftest.err >&5
84921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84922   (exit $ac_status); } >/dev/null; then
84923   if test -s conftest.err; then
84924     ac_cpp_err=$ac_c_preproc_warn_flag
84925     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84926   else
84927     ac_cpp_err=
84928   fi
84929 else
84930   ac_cpp_err=yes
84931 fi
84932 if test -z "$ac_cpp_err"; then
84933   ac_header_preproc=yes
84934 else
84935   echo "$as_me: failed program was:" >&5
84936 sed 's/^/| /' conftest.$ac_ext >&5
84937
84938   ac_header_preproc=no
84939 fi
84940 rm -f conftest.err conftest.$ac_ext
84941 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84942 echo "${ECHO_T}$ac_header_preproc" >&6
84943
84944 # So?  What about this header?
84945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84946   yes:no: )
84947     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84948 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84949     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84950 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84951     ac_header_preproc=yes
84952     ;;
84953   no:yes:* )
84954     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84955 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84956     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84957 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84958     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84959 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84960     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84961 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84962     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84963 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84964     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84965 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84966     (
84967       cat <<\_ASBOX
84968 ## ----------------------------------------- ##
84969 ## Report this to the package-unused lists.  ##
84970 ## ----------------------------------------- ##
84971 _ASBOX
84972     ) |
84973       sed "s/^/$as_me: WARNING:     /" >&2
84974     ;;
84975 esac
84976 echo "$as_me:$LINENO: checking for $ac_header" >&5
84977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84979   echo $ECHO_N "(cached) $ECHO_C" >&6
84980 else
84981   eval "$as_ac_Header=\$ac_header_preproc"
84982 fi
84983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84985
84986 fi
84987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84988   cat >>confdefs.h <<_ACEOF
84989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84990 _ACEOF
84991
84992 fi
84993
84994 done
84995
84996     SECTION_FLAGS='-ffunction-sections -fdata-sections'
84997
84998
84999   # If we're not using GNU ld, then there's no point in even trying these
85000   # tests.  Check for that first.  We should have already tested for gld
85001   # by now (in libtool), but require it now just to be safe...
85002   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85003   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85004
85005
85006
85007   # The name set by libtool depends on the version of libtool.  Shame on us
85008   # for depending on an impl detail, but c'est la vie.  Older versions used
85009   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85010   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85011   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85012   # set (hence we're using an older libtool), then set it.
85013   if test x${with_gnu_ld+set} != xset; then
85014     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85015       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85016       with_gnu_ld=no
85017     else
85018       with_gnu_ld=$ac_cv_prog_gnu_ld
85019     fi
85020   fi
85021
85022   # Start by getting the version number.  I think the libtool test already
85023   # does some of this, but throws away the result.
85024
85025   ldver=`$LD --version 2>/dev/null | head -1 | \
85026          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85027
85028   glibcxx_gnu_ld_version=`echo $ldver | \
85029          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85030
85031   # Set --gc-sections.
85032   if test "$with_gnu_ld" = "notbroken"; then
85033     # GNU ld it is!  Joy and bunny rabbits!
85034
85035     # All these tests are for C++; save the language and the compiler flags.
85036     # Need to do this so that g++ won't try to link in libstdc++
85037     ac_test_CFLAGS="${CFLAGS+set}"
85038     ac_save_CFLAGS="$CFLAGS"
85039     CFLAGS='-x c++  -Wl,--gc-sections'
85040
85041     # Check for -Wl,--gc-sections
85042     # XXX This test is broken at the moment, as symbols required for linking
85043     # are now in libsupc++ (not built yet).  In addition, this test has
85044     # cored on solaris in the past.  In addition, --gc-sections doesn't
85045     # really work at the moment (keeps on discarding used sections, first
85046     # .eh_frame and now some of the glibc sections for iconv).
85047     # Bzzzzt.  Thanks for playing, maybe next time.
85048     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85049 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85050     if test "$cross_compiling" = yes; then
85051   ac_sectionLDflags=yes
85052 else
85053   cat >conftest.$ac_ext <<_ACEOF
85054 /* confdefs.h.  */
85055 _ACEOF
85056 cat confdefs.h >>conftest.$ac_ext
85057 cat >>conftest.$ac_ext <<_ACEOF
85058 /* end confdefs.h.  */
85059
85060      int main(void)
85061      {
85062        try { throw 1; }
85063        catch (...) { };
85064        return 0;
85065      }
85066
85067 _ACEOF
85068 rm -f conftest$ac_exeext
85069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85070   (eval $ac_link) 2>&5
85071   ac_status=$?
85072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85073   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85075   (eval $ac_try) 2>&5
85076   ac_status=$?
85077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85078   (exit $ac_status); }; }; then
85079   ac_sectionLDflags=yes
85080 else
85081   echo "$as_me: program exited with status $ac_status" >&5
85082 echo "$as_me: failed program was:" >&5
85083 sed 's/^/| /' conftest.$ac_ext >&5
85084
85085 ( exit $ac_status )
85086 ac_sectionLDflags=no
85087 fi
85088 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85089 fi
85090     if test "$ac_test_CFLAGS" = set; then
85091       CFLAGS="$ac_save_CFLAGS"
85092     else
85093       # this is the suspicious part
85094       CFLAGS=''
85095     fi
85096     if test "$ac_sectionLDflags" = "yes"; then
85097       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85098     fi
85099     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85100 echo "${ECHO_T}$ac_sectionLDflags" >&6
85101   fi
85102
85103   # Set linker optimization flags.
85104   if test x"$with_gnu_ld" = x"yes"; then
85105     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85106   fi
85107
85108
85109
85110
85111
85112
85113 echo "$as_me:$LINENO: checking for main in -lm" >&5
85114 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85115 if test "${ac_cv_lib_m_main+set}" = set; then
85116   echo $ECHO_N "(cached) $ECHO_C" >&6
85117 else
85118   ac_check_lib_save_LIBS=$LIBS
85119 LIBS="-lm  $LIBS"
85120 if test x$gcc_no_link = xyes; then
85121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85123    { (exit 1); exit 1; }; }
85124 fi
85125 cat >conftest.$ac_ext <<_ACEOF
85126 /* confdefs.h.  */
85127 _ACEOF
85128 cat confdefs.h >>conftest.$ac_ext
85129 cat >>conftest.$ac_ext <<_ACEOF
85130 /* end confdefs.h.  */
85131
85132
85133 int
85134 main ()
85135 {
85136 main ();
85137   ;
85138   return 0;
85139 }
85140 _ACEOF
85141 rm -f conftest.$ac_objext conftest$ac_exeext
85142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85143   (eval $ac_link) 2>conftest.er1
85144   ac_status=$?
85145   grep -v '^ *+' conftest.er1 >conftest.err
85146   rm -f conftest.er1
85147   cat conftest.err >&5
85148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85149   (exit $ac_status); } &&
85150          { ac_try='test -z "$ac_c_werror_flag"
85151                          || test ! -s conftest.err'
85152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85153   (eval $ac_try) 2>&5
85154   ac_status=$?
85155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85156   (exit $ac_status); }; } &&
85157          { ac_try='test -s conftest$ac_exeext'
85158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85159   (eval $ac_try) 2>&5
85160   ac_status=$?
85161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85162   (exit $ac_status); }; }; then
85163   ac_cv_lib_m_main=yes
85164 else
85165   echo "$as_me: failed program was:" >&5
85166 sed 's/^/| /' conftest.$ac_ext >&5
85167
85168 ac_cv_lib_m_main=no
85169 fi
85170 rm -f conftest.err conftest.$ac_objext \
85171       conftest$ac_exeext conftest.$ac_ext
85172 LIBS=$ac_check_lib_save_LIBS
85173 fi
85174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85175 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85176 if test $ac_cv_lib_m_main = yes; then
85177   cat >>confdefs.h <<_ACEOF
85178 #define HAVE_LIBM 1
85179 _ACEOF
85180
85181   LIBS="-lm $LIBS"
85182
85183 fi
85184
85185
85186 for ac_func in copysignf
85187 do
85188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85189 echo "$as_me:$LINENO: checking for $ac_func" >&5
85190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85191 if eval "test \"\${$as_ac_var+set}\" = set"; then
85192   echo $ECHO_N "(cached) $ECHO_C" >&6
85193 else
85194   if test x$gcc_no_link = xyes; then
85195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85197    { (exit 1); exit 1; }; }
85198 fi
85199 cat >conftest.$ac_ext <<_ACEOF
85200 /* confdefs.h.  */
85201 _ACEOF
85202 cat confdefs.h >>conftest.$ac_ext
85203 cat >>conftest.$ac_ext <<_ACEOF
85204 /* end confdefs.h.  */
85205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85207 #define $ac_func innocuous_$ac_func
85208
85209 /* System header to define __stub macros and hopefully few prototypes,
85210     which can conflict with char $ac_func (); below.
85211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85212     <limits.h> exists even on freestanding compilers.  */
85213
85214 #ifdef __STDC__
85215 # include <limits.h>
85216 #else
85217 # include <assert.h>
85218 #endif
85219
85220 #undef $ac_func
85221
85222 /* Override any gcc2 internal prototype to avoid an error.  */
85223 #ifdef __cplusplus
85224 extern "C"
85225 {
85226 #endif
85227 /* We use char because int might match the return type of a gcc2
85228    builtin and then its argument prototype would still apply.  */
85229 char $ac_func ();
85230 /* The GNU C library defines this for functions which it implements
85231     to always fail with ENOSYS.  Some functions are actually named
85232     something starting with __ and the normal name is an alias.  */
85233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85234 choke me
85235 #else
85236 char (*f) () = $ac_func;
85237 #endif
85238 #ifdef __cplusplus
85239 }
85240 #endif
85241
85242 int
85243 main ()
85244 {
85245 return f != $ac_func;
85246   ;
85247   return 0;
85248 }
85249 _ACEOF
85250 rm -f conftest.$ac_objext conftest$ac_exeext
85251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85252   (eval $ac_link) 2>conftest.er1
85253   ac_status=$?
85254   grep -v '^ *+' conftest.er1 >conftest.err
85255   rm -f conftest.er1
85256   cat conftest.err >&5
85257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85258   (exit $ac_status); } &&
85259          { ac_try='test -z "$ac_c_werror_flag"
85260                          || test ! -s conftest.err'
85261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85262   (eval $ac_try) 2>&5
85263   ac_status=$?
85264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85265   (exit $ac_status); }; } &&
85266          { ac_try='test -s conftest$ac_exeext'
85267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85268   (eval $ac_try) 2>&5
85269   ac_status=$?
85270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85271   (exit $ac_status); }; }; then
85272   eval "$as_ac_var=yes"
85273 else
85274   echo "$as_me: failed program was:" >&5
85275 sed 's/^/| /' conftest.$ac_ext >&5
85276
85277 eval "$as_ac_var=no"
85278 fi
85279 rm -f conftest.err conftest.$ac_objext \
85280       conftest$ac_exeext conftest.$ac_ext
85281 fi
85282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85284 if test `eval echo '${'$as_ac_var'}'` = yes; then
85285   cat >>confdefs.h <<_ACEOF
85286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85287 _ACEOF
85288
85289 else
85290   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85291 fi
85292 done
85293
85294
85295
85296 for ac_func in __signbit
85297 do
85298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85299 echo "$as_me:$LINENO: checking for $ac_func" >&5
85300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85301 if eval "test \"\${$as_ac_var+set}\" = set"; then
85302   echo $ECHO_N "(cached) $ECHO_C" >&6
85303 else
85304   if test x$gcc_no_link = xyes; then
85305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85307    { (exit 1); exit 1; }; }
85308 fi
85309 cat >conftest.$ac_ext <<_ACEOF
85310 /* confdefs.h.  */
85311 _ACEOF
85312 cat confdefs.h >>conftest.$ac_ext
85313 cat >>conftest.$ac_ext <<_ACEOF
85314 /* end confdefs.h.  */
85315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85317 #define $ac_func innocuous_$ac_func
85318
85319 /* System header to define __stub macros and hopefully few prototypes,
85320     which can conflict with char $ac_func (); below.
85321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85322     <limits.h> exists even on freestanding compilers.  */
85323
85324 #ifdef __STDC__
85325 # include <limits.h>
85326 #else
85327 # include <assert.h>
85328 #endif
85329
85330 #undef $ac_func
85331
85332 /* Override any gcc2 internal prototype to avoid an error.  */
85333 #ifdef __cplusplus
85334 extern "C"
85335 {
85336 #endif
85337 /* We use char because int might match the return type of a gcc2
85338    builtin and then its argument prototype would still apply.  */
85339 char $ac_func ();
85340 /* The GNU C library defines this for functions which it implements
85341     to always fail with ENOSYS.  Some functions are actually named
85342     something starting with __ and the normal name is an alias.  */
85343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85344 choke me
85345 #else
85346 char (*f) () = $ac_func;
85347 #endif
85348 #ifdef __cplusplus
85349 }
85350 #endif
85351
85352 int
85353 main ()
85354 {
85355 return f != $ac_func;
85356   ;
85357   return 0;
85358 }
85359 _ACEOF
85360 rm -f conftest.$ac_objext conftest$ac_exeext
85361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85362   (eval $ac_link) 2>conftest.er1
85363   ac_status=$?
85364   grep -v '^ *+' conftest.er1 >conftest.err
85365   rm -f conftest.er1
85366   cat conftest.err >&5
85367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85368   (exit $ac_status); } &&
85369          { ac_try='test -z "$ac_c_werror_flag"
85370                          || test ! -s conftest.err'
85371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85372   (eval $ac_try) 2>&5
85373   ac_status=$?
85374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85375   (exit $ac_status); }; } &&
85376          { ac_try='test -s conftest$ac_exeext'
85377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85378   (eval $ac_try) 2>&5
85379   ac_status=$?
85380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85381   (exit $ac_status); }; }; then
85382   eval "$as_ac_var=yes"
85383 else
85384   echo "$as_me: failed program was:" >&5
85385 sed 's/^/| /' conftest.$ac_ext >&5
85386
85387 eval "$as_ac_var=no"
85388 fi
85389 rm -f conftest.err conftest.$ac_objext \
85390       conftest$ac_exeext conftest.$ac_ext
85391 fi
85392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85394 if test `eval echo '${'$as_ac_var'}'` = yes; then
85395   cat >>confdefs.h <<_ACEOF
85396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85397 _ACEOF
85398
85399 else
85400   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85401 fi
85402 done
85403
85404
85405
85406 for ac_func in __signbitf
85407 do
85408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85409 echo "$as_me:$LINENO: checking for $ac_func" >&5
85410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85411 if eval "test \"\${$as_ac_var+set}\" = set"; then
85412   echo $ECHO_N "(cached) $ECHO_C" >&6
85413 else
85414   if test x$gcc_no_link = xyes; then
85415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85417    { (exit 1); exit 1; }; }
85418 fi
85419 cat >conftest.$ac_ext <<_ACEOF
85420 /* confdefs.h.  */
85421 _ACEOF
85422 cat confdefs.h >>conftest.$ac_ext
85423 cat >>conftest.$ac_ext <<_ACEOF
85424 /* end confdefs.h.  */
85425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85427 #define $ac_func innocuous_$ac_func
85428
85429 /* System header to define __stub macros and hopefully few prototypes,
85430     which can conflict with char $ac_func (); below.
85431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85432     <limits.h> exists even on freestanding compilers.  */
85433
85434 #ifdef __STDC__
85435 # include <limits.h>
85436 #else
85437 # include <assert.h>
85438 #endif
85439
85440 #undef $ac_func
85441
85442 /* Override any gcc2 internal prototype to avoid an error.  */
85443 #ifdef __cplusplus
85444 extern "C"
85445 {
85446 #endif
85447 /* We use char because int might match the return type of a gcc2
85448    builtin and then its argument prototype would still apply.  */
85449 char $ac_func ();
85450 /* The GNU C library defines this for functions which it implements
85451     to always fail with ENOSYS.  Some functions are actually named
85452     something starting with __ and the normal name is an alias.  */
85453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85454 choke me
85455 #else
85456 char (*f) () = $ac_func;
85457 #endif
85458 #ifdef __cplusplus
85459 }
85460 #endif
85461
85462 int
85463 main ()
85464 {
85465 return f != $ac_func;
85466   ;
85467   return 0;
85468 }
85469 _ACEOF
85470 rm -f conftest.$ac_objext conftest$ac_exeext
85471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85472   (eval $ac_link) 2>conftest.er1
85473   ac_status=$?
85474   grep -v '^ *+' conftest.er1 >conftest.err
85475   rm -f conftest.er1
85476   cat conftest.err >&5
85477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85478   (exit $ac_status); } &&
85479          { ac_try='test -z "$ac_c_werror_flag"
85480                          || test ! -s conftest.err'
85481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85482   (eval $ac_try) 2>&5
85483   ac_status=$?
85484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85485   (exit $ac_status); }; } &&
85486          { ac_try='test -s conftest$ac_exeext'
85487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85488   (eval $ac_try) 2>&5
85489   ac_status=$?
85490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85491   (exit $ac_status); }; }; then
85492   eval "$as_ac_var=yes"
85493 else
85494   echo "$as_me: failed program was:" >&5
85495 sed 's/^/| /' conftest.$ac_ext >&5
85496
85497 eval "$as_ac_var=no"
85498 fi
85499 rm -f conftest.err conftest.$ac_objext \
85500       conftest$ac_exeext conftest.$ac_ext
85501 fi
85502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85504 if test `eval echo '${'$as_ac_var'}'` = yes; then
85505   cat >>confdefs.h <<_ACEOF
85506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85507 _ACEOF
85508
85509 else
85510   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85511 fi
85512 done
85513
85514
85515           if test x$ac_cv_func_copysignl = x"yes"; then
85516
85517 for ac_func in __signbitl
85518 do
85519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85520 echo "$as_me:$LINENO: checking for $ac_func" >&5
85521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85522 if eval "test \"\${$as_ac_var+set}\" = set"; then
85523   echo $ECHO_N "(cached) $ECHO_C" >&6
85524 else
85525   if test x$gcc_no_link = xyes; then
85526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85528    { (exit 1); exit 1; }; }
85529 fi
85530 cat >conftest.$ac_ext <<_ACEOF
85531 /* confdefs.h.  */
85532 _ACEOF
85533 cat confdefs.h >>conftest.$ac_ext
85534 cat >>conftest.$ac_ext <<_ACEOF
85535 /* end confdefs.h.  */
85536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85538 #define $ac_func innocuous_$ac_func
85539
85540 /* System header to define __stub macros and hopefully few prototypes,
85541     which can conflict with char $ac_func (); below.
85542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85543     <limits.h> exists even on freestanding compilers.  */
85544
85545 #ifdef __STDC__
85546 # include <limits.h>
85547 #else
85548 # include <assert.h>
85549 #endif
85550
85551 #undef $ac_func
85552
85553 /* Override any gcc2 internal prototype to avoid an error.  */
85554 #ifdef __cplusplus
85555 extern "C"
85556 {
85557 #endif
85558 /* We use char because int might match the return type of a gcc2
85559    builtin and then its argument prototype would still apply.  */
85560 char $ac_func ();
85561 /* The GNU C library defines this for functions which it implements
85562     to always fail with ENOSYS.  Some functions are actually named
85563     something starting with __ and the normal name is an alias.  */
85564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85565 choke me
85566 #else
85567 char (*f) () = $ac_func;
85568 #endif
85569 #ifdef __cplusplus
85570 }
85571 #endif
85572
85573 int
85574 main ()
85575 {
85576 return f != $ac_func;
85577   ;
85578   return 0;
85579 }
85580 _ACEOF
85581 rm -f conftest.$ac_objext conftest$ac_exeext
85582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85583   (eval $ac_link) 2>conftest.er1
85584   ac_status=$?
85585   grep -v '^ *+' conftest.er1 >conftest.err
85586   rm -f conftest.er1
85587   cat conftest.err >&5
85588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85589   (exit $ac_status); } &&
85590          { ac_try='test -z "$ac_c_werror_flag"
85591                          || test ! -s conftest.err'
85592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85593   (eval $ac_try) 2>&5
85594   ac_status=$?
85595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85596   (exit $ac_status); }; } &&
85597          { ac_try='test -s conftest$ac_exeext'
85598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85599   (eval $ac_try) 2>&5
85600   ac_status=$?
85601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85602   (exit $ac_status); }; }; then
85603   eval "$as_ac_var=yes"
85604 else
85605   echo "$as_me: failed program was:" >&5
85606 sed 's/^/| /' conftest.$ac_ext >&5
85607
85608 eval "$as_ac_var=no"
85609 fi
85610 rm -f conftest.err conftest.$ac_objext \
85611       conftest$ac_exeext conftest.$ac_ext
85612 fi
85613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85615 if test `eval echo '${'$as_ac_var'}'` = yes; then
85616   cat >>confdefs.h <<_ACEOF
85617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85618 _ACEOF
85619
85620 else
85621   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85622 fi
85623 done
85624
85625   fi
85626
85627   # Used in libmath/Makefile.am.
85628   if test -n "$LIBMATHOBJS"; then
85629     need_libmath=yes
85630   fi
85631
85632
85633
85634   # Test wchar.h for mbstate_t, which is needed for char_traits and
85635   # others even if wchar_t support is not on.
85636   echo "$as_me:$LINENO: checking for mbstate_t" >&5
85637 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85638   cat >conftest.$ac_ext <<_ACEOF
85639 /* confdefs.h.  */
85640 _ACEOF
85641 cat confdefs.h >>conftest.$ac_ext
85642 cat >>conftest.$ac_ext <<_ACEOF
85643 /* end confdefs.h.  */
85644 #include <wchar.h>
85645 int
85646 main ()
85647 {
85648 mbstate_t teststate;
85649   ;
85650   return 0;
85651 }
85652 _ACEOF
85653 rm -f conftest.$ac_objext
85654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85655   (eval $ac_compile) 2>conftest.er1
85656   ac_status=$?
85657   grep -v '^ *+' conftest.er1 >conftest.err
85658   rm -f conftest.er1
85659   cat conftest.err >&5
85660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85661   (exit $ac_status); } &&
85662          { ac_try='test -z "$ac_c_werror_flag"
85663                          || test ! -s conftest.err'
85664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85665   (eval $ac_try) 2>&5
85666   ac_status=$?
85667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85668   (exit $ac_status); }; } &&
85669          { ac_try='test -s conftest.$ac_objext'
85670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85671   (eval $ac_try) 2>&5
85672   ac_status=$?
85673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85674   (exit $ac_status); }; }; then
85675   have_mbstate_t=yes
85676 else
85677   echo "$as_me: failed program was:" >&5
85678 sed 's/^/| /' conftest.$ac_ext >&5
85679
85680 have_mbstate_t=no
85681 fi
85682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85683   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85684 echo "${ECHO_T}$have_mbstate_t" >&6
85685   if test x"$have_mbstate_t" = xyes; then
85686     cat >>confdefs.h <<\_ACEOF
85687 #define HAVE_MBSTATE_T 1
85688 _ACEOF
85689
85690   fi
85691
85692   # Sanity check for existence of ISO C99 headers for extended encoding.
85693
85694 for ac_header in wchar.h
85695 do
85696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85698   echo "$as_me:$LINENO: checking for $ac_header" >&5
85699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85701   echo $ECHO_N "(cached) $ECHO_C" >&6
85702 fi
85703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85705 else
85706   # Is the header compilable?
85707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85709 cat >conftest.$ac_ext <<_ACEOF
85710 /* confdefs.h.  */
85711 _ACEOF
85712 cat confdefs.h >>conftest.$ac_ext
85713 cat >>conftest.$ac_ext <<_ACEOF
85714 /* end confdefs.h.  */
85715 $ac_includes_default
85716 #include <$ac_header>
85717 _ACEOF
85718 rm -f conftest.$ac_objext
85719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85720   (eval $ac_compile) 2>conftest.er1
85721   ac_status=$?
85722   grep -v '^ *+' conftest.er1 >conftest.err
85723   rm -f conftest.er1
85724   cat conftest.err >&5
85725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85726   (exit $ac_status); } &&
85727          { ac_try='test -z "$ac_c_werror_flag"
85728                          || test ! -s conftest.err'
85729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85730   (eval $ac_try) 2>&5
85731   ac_status=$?
85732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85733   (exit $ac_status); }; } &&
85734          { ac_try='test -s conftest.$ac_objext'
85735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85736   (eval $ac_try) 2>&5
85737   ac_status=$?
85738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85739   (exit $ac_status); }; }; then
85740   ac_header_compiler=yes
85741 else
85742   echo "$as_me: failed program was:" >&5
85743 sed 's/^/| /' conftest.$ac_ext >&5
85744
85745 ac_header_compiler=no
85746 fi
85747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85749 echo "${ECHO_T}$ac_header_compiler" >&6
85750
85751 # Is the header present?
85752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85754 cat >conftest.$ac_ext <<_ACEOF
85755 /* confdefs.h.  */
85756 _ACEOF
85757 cat confdefs.h >>conftest.$ac_ext
85758 cat >>conftest.$ac_ext <<_ACEOF
85759 /* end confdefs.h.  */
85760 #include <$ac_header>
85761 _ACEOF
85762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85763   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85764   ac_status=$?
85765   grep -v '^ *+' conftest.er1 >conftest.err
85766   rm -f conftest.er1
85767   cat conftest.err >&5
85768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85769   (exit $ac_status); } >/dev/null; then
85770   if test -s conftest.err; then
85771     ac_cpp_err=$ac_c_preproc_warn_flag
85772     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85773   else
85774     ac_cpp_err=
85775   fi
85776 else
85777   ac_cpp_err=yes
85778 fi
85779 if test -z "$ac_cpp_err"; then
85780   ac_header_preproc=yes
85781 else
85782   echo "$as_me: failed program was:" >&5
85783 sed 's/^/| /' conftest.$ac_ext >&5
85784
85785   ac_header_preproc=no
85786 fi
85787 rm -f conftest.err conftest.$ac_ext
85788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85789 echo "${ECHO_T}$ac_header_preproc" >&6
85790
85791 # So?  What about this header?
85792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85793   yes:no: )
85794     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85796     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85797 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85798     ac_header_preproc=yes
85799     ;;
85800   no:yes:* )
85801     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85803     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85804 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85805     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85806 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85807     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85808 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85809     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85811     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85812 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85813     (
85814       cat <<\_ASBOX
85815 ## ----------------------------------------- ##
85816 ## Report this to the package-unused lists.  ##
85817 ## ----------------------------------------- ##
85818 _ASBOX
85819     ) |
85820       sed "s/^/$as_me: WARNING:     /" >&2
85821     ;;
85822 esac
85823 echo "$as_me:$LINENO: checking for $ac_header" >&5
85824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85826   echo $ECHO_N "(cached) $ECHO_C" >&6
85827 else
85828   eval "$as_ac_Header=\$ac_header_preproc"
85829 fi
85830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85832
85833 fi
85834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85835   cat >>confdefs.h <<_ACEOF
85836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85837 _ACEOF
85838  ac_has_wchar_h=yes
85839 else
85840   ac_has_wchar_h=no
85841 fi
85842
85843 done
85844
85845
85846 for ac_header in wctype.h
85847 do
85848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85850   echo "$as_me:$LINENO: checking for $ac_header" >&5
85851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85853   echo $ECHO_N "(cached) $ECHO_C" >&6
85854 fi
85855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85857 else
85858   # Is the header compilable?
85859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85861 cat >conftest.$ac_ext <<_ACEOF
85862 /* confdefs.h.  */
85863 _ACEOF
85864 cat confdefs.h >>conftest.$ac_ext
85865 cat >>conftest.$ac_ext <<_ACEOF
85866 /* end confdefs.h.  */
85867 $ac_includes_default
85868 #include <$ac_header>
85869 _ACEOF
85870 rm -f conftest.$ac_objext
85871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85872   (eval $ac_compile) 2>conftest.er1
85873   ac_status=$?
85874   grep -v '^ *+' conftest.er1 >conftest.err
85875   rm -f conftest.er1
85876   cat conftest.err >&5
85877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85878   (exit $ac_status); } &&
85879          { ac_try='test -z "$ac_c_werror_flag"
85880                          || test ! -s conftest.err'
85881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85882   (eval $ac_try) 2>&5
85883   ac_status=$?
85884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85885   (exit $ac_status); }; } &&
85886          { ac_try='test -s conftest.$ac_objext'
85887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85888   (eval $ac_try) 2>&5
85889   ac_status=$?
85890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85891   (exit $ac_status); }; }; then
85892   ac_header_compiler=yes
85893 else
85894   echo "$as_me: failed program was:" >&5
85895 sed 's/^/| /' conftest.$ac_ext >&5
85896
85897 ac_header_compiler=no
85898 fi
85899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85901 echo "${ECHO_T}$ac_header_compiler" >&6
85902
85903 # Is the header present?
85904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85906 cat >conftest.$ac_ext <<_ACEOF
85907 /* confdefs.h.  */
85908 _ACEOF
85909 cat confdefs.h >>conftest.$ac_ext
85910 cat >>conftest.$ac_ext <<_ACEOF
85911 /* end confdefs.h.  */
85912 #include <$ac_header>
85913 _ACEOF
85914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85915   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85916   ac_status=$?
85917   grep -v '^ *+' conftest.er1 >conftest.err
85918   rm -f conftest.er1
85919   cat conftest.err >&5
85920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85921   (exit $ac_status); } >/dev/null; then
85922   if test -s conftest.err; then
85923     ac_cpp_err=$ac_c_preproc_warn_flag
85924     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85925   else
85926     ac_cpp_err=
85927   fi
85928 else
85929   ac_cpp_err=yes
85930 fi
85931 if test -z "$ac_cpp_err"; then
85932   ac_header_preproc=yes
85933 else
85934   echo "$as_me: failed program was:" >&5
85935 sed 's/^/| /' conftest.$ac_ext >&5
85936
85937   ac_header_preproc=no
85938 fi
85939 rm -f conftest.err conftest.$ac_ext
85940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85941 echo "${ECHO_T}$ac_header_preproc" >&6
85942
85943 # So?  What about this header?
85944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85945   yes:no: )
85946     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85948     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85950     ac_header_preproc=yes
85951     ;;
85952   no:yes:* )
85953     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85955     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85956 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85957     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85959     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85960 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85961     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85963     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85965     (
85966       cat <<\_ASBOX
85967 ## ----------------------------------------- ##
85968 ## Report this to the package-unused lists.  ##
85969 ## ----------------------------------------- ##
85970 _ASBOX
85971     ) |
85972       sed "s/^/$as_me: WARNING:     /" >&2
85973     ;;
85974 esac
85975 echo "$as_me:$LINENO: checking for $ac_header" >&5
85976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85978   echo $ECHO_N "(cached) $ECHO_C" >&6
85979 else
85980   eval "$as_ac_Header=\$ac_header_preproc"
85981 fi
85982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85984
85985 fi
85986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85987   cat >>confdefs.h <<_ACEOF
85988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85989 _ACEOF
85990  ac_has_wctype_h=yes
85991 else
85992   ac_has_wctype_h=no
85993 fi
85994
85995 done
85996
85997
85998   # Only continue checking if the ISO C99 headers exist and support is on.
85999   if test x"$ac_has_wchar_h" = xyes &&
86000      test x"$ac_has_wctype_h" = xyes &&
86001      test x"$enable_c_mbchar" != xno; then
86002
86003     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86004     # numeric_limits can instantiate type_traits<wchar_t>
86005     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86006 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86007     cat >conftest.$ac_ext <<_ACEOF
86008 /* confdefs.h.  */
86009 _ACEOF
86010 cat confdefs.h >>conftest.$ac_ext
86011 cat >>conftest.$ac_ext <<_ACEOF
86012 /* end confdefs.h.  */
86013 #include <wchar.h>
86014 int
86015 main ()
86016 {
86017 int i = WCHAR_MIN; int j = WCHAR_MAX;
86018   ;
86019   return 0;
86020 }
86021 _ACEOF
86022 rm -f conftest.$ac_objext
86023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86024   (eval $ac_compile) 2>conftest.er1
86025   ac_status=$?
86026   grep -v '^ *+' conftest.er1 >conftest.err
86027   rm -f conftest.er1
86028   cat conftest.err >&5
86029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86030   (exit $ac_status); } &&
86031          { ac_try='test -z "$ac_c_werror_flag"
86032                          || test ! -s conftest.err'
86033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86034   (eval $ac_try) 2>&5
86035   ac_status=$?
86036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86037   (exit $ac_status); }; } &&
86038          { ac_try='test -s conftest.$ac_objext'
86039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86040   (eval $ac_try) 2>&5
86041   ac_status=$?
86042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86043   (exit $ac_status); }; }; then
86044   has_wchar_minmax=yes
86045 else
86046   echo "$as_me: failed program was:" >&5
86047 sed 's/^/| /' conftest.$ac_ext >&5
86048
86049 has_wchar_minmax=no
86050 fi
86051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86052     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86053 echo "${ECHO_T}$has_wchar_minmax" >&6
86054
86055     # Test wchar.h for WEOF, which is what we use to determine whether
86056     # to specialize for char_traits<wchar_t> or not.
86057     echo "$as_me:$LINENO: checking for WEOF" >&5
86058 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86059     cat >conftest.$ac_ext <<_ACEOF
86060 /* confdefs.h.  */
86061 _ACEOF
86062 cat confdefs.h >>conftest.$ac_ext
86063 cat >>conftest.$ac_ext <<_ACEOF
86064 /* end confdefs.h.  */
86065
86066       #include <wchar.h>
86067       #include <stddef.h>
86068 int
86069 main ()
86070 {
86071 wint_t i = WEOF;
86072   ;
86073   return 0;
86074 }
86075 _ACEOF
86076 rm -f conftest.$ac_objext
86077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86078   (eval $ac_compile) 2>conftest.er1
86079   ac_status=$?
86080   grep -v '^ *+' conftest.er1 >conftest.err
86081   rm -f conftest.er1
86082   cat conftest.err >&5
86083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86084   (exit $ac_status); } &&
86085          { ac_try='test -z "$ac_c_werror_flag"
86086                          || test ! -s conftest.err'
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); }; } &&
86092          { ac_try='test -s conftest.$ac_objext'
86093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86094   (eval $ac_try) 2>&5
86095   ac_status=$?
86096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86097   (exit $ac_status); }; }; then
86098   has_weof=yes
86099 else
86100   echo "$as_me: failed program was:" >&5
86101 sed 's/^/| /' conftest.$ac_ext >&5
86102
86103 has_weof=no
86104 fi
86105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86106     echo "$as_me:$LINENO: result: $has_weof" >&5
86107 echo "${ECHO_T}$has_weof" >&6
86108
86109     # Tests for wide character functions used in char_traits<wchar_t>.
86110     ac_wfuncs=yes
86111
86112
86113
86114
86115
86116
86117 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86118 do
86119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86120 echo "$as_me:$LINENO: checking for $ac_func" >&5
86121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86122 if eval "test \"\${$as_ac_var+set}\" = set"; then
86123   echo $ECHO_N "(cached) $ECHO_C" >&6
86124 else
86125   if test x$gcc_no_link = xyes; then
86126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86128    { (exit 1); exit 1; }; }
86129 fi
86130 cat >conftest.$ac_ext <<_ACEOF
86131 /* confdefs.h.  */
86132 _ACEOF
86133 cat confdefs.h >>conftest.$ac_ext
86134 cat >>conftest.$ac_ext <<_ACEOF
86135 /* end confdefs.h.  */
86136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86138 #define $ac_func innocuous_$ac_func
86139
86140 /* System header to define __stub macros and hopefully few prototypes,
86141     which can conflict with char $ac_func (); below.
86142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86143     <limits.h> exists even on freestanding compilers.  */
86144
86145 #ifdef __STDC__
86146 # include <limits.h>
86147 #else
86148 # include <assert.h>
86149 #endif
86150
86151 #undef $ac_func
86152
86153 /* Override any gcc2 internal prototype to avoid an error.  */
86154 #ifdef __cplusplus
86155 extern "C"
86156 {
86157 #endif
86158 /* We use char because int might match the return type of a gcc2
86159    builtin and then its argument prototype would still apply.  */
86160 char $ac_func ();
86161 /* The GNU C library defines this for functions which it implements
86162     to always fail with ENOSYS.  Some functions are actually named
86163     something starting with __ and the normal name is an alias.  */
86164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86165 choke me
86166 #else
86167 char (*f) () = $ac_func;
86168 #endif
86169 #ifdef __cplusplus
86170 }
86171 #endif
86172
86173 int
86174 main ()
86175 {
86176 return f != $ac_func;
86177   ;
86178   return 0;
86179 }
86180 _ACEOF
86181 rm -f conftest.$ac_objext conftest$ac_exeext
86182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86183   (eval $ac_link) 2>conftest.er1
86184   ac_status=$?
86185   grep -v '^ *+' conftest.er1 >conftest.err
86186   rm -f conftest.er1
86187   cat conftest.err >&5
86188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86189   (exit $ac_status); } &&
86190          { ac_try='test -z "$ac_c_werror_flag"
86191                          || test ! -s conftest.err'
86192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86193   (eval $ac_try) 2>&5
86194   ac_status=$?
86195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86196   (exit $ac_status); }; } &&
86197          { ac_try='test -s conftest$ac_exeext'
86198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86199   (eval $ac_try) 2>&5
86200   ac_status=$?
86201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86202   (exit $ac_status); }; }; then
86203   eval "$as_ac_var=yes"
86204 else
86205   echo "$as_me: failed program was:" >&5
86206 sed 's/^/| /' conftest.$ac_ext >&5
86207
86208 eval "$as_ac_var=no"
86209 fi
86210 rm -f conftest.err conftest.$ac_objext \
86211       conftest$ac_exeext conftest.$ac_ext
86212 fi
86213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86215 if test `eval echo '${'$as_ac_var'}'` = yes; then
86216   cat >>confdefs.h <<_ACEOF
86217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86218 _ACEOF
86219
86220 else
86221   ac_wfuncs=no
86222 fi
86223 done
86224
86225
86226     # Checks for names injected into std:: by the c_std headers.
86227
86228
86229
86230
86231
86232
86233
86234
86235
86236
86237
86238
86239
86240
86241
86242
86243
86244
86245
86246
86247
86248
86249
86250
86251
86252
86253
86254
86255
86256
86257
86258
86259
86260
86261
86262
86263
86264
86265
86266
86267
86268
86269
86270
86271
86272
86273 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86274     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86275     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86276     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86277     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86278     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86279 do
86280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86281 echo "$as_me:$LINENO: checking for $ac_func" >&5
86282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86283 if eval "test \"\${$as_ac_var+set}\" = set"; then
86284   echo $ECHO_N "(cached) $ECHO_C" >&6
86285 else
86286   if test x$gcc_no_link = xyes; then
86287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86289    { (exit 1); exit 1; }; }
86290 fi
86291 cat >conftest.$ac_ext <<_ACEOF
86292 /* confdefs.h.  */
86293 _ACEOF
86294 cat confdefs.h >>conftest.$ac_ext
86295 cat >>conftest.$ac_ext <<_ACEOF
86296 /* end confdefs.h.  */
86297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86299 #define $ac_func innocuous_$ac_func
86300
86301 /* System header to define __stub macros and hopefully few prototypes,
86302     which can conflict with char $ac_func (); below.
86303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86304     <limits.h> exists even on freestanding compilers.  */
86305
86306 #ifdef __STDC__
86307 # include <limits.h>
86308 #else
86309 # include <assert.h>
86310 #endif
86311
86312 #undef $ac_func
86313
86314 /* Override any gcc2 internal prototype to avoid an error.  */
86315 #ifdef __cplusplus
86316 extern "C"
86317 {
86318 #endif
86319 /* We use char because int might match the return type of a gcc2
86320    builtin and then its argument prototype would still apply.  */
86321 char $ac_func ();
86322 /* The GNU C library defines this for functions which it implements
86323     to always fail with ENOSYS.  Some functions are actually named
86324     something starting with __ and the normal name is an alias.  */
86325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86326 choke me
86327 #else
86328 char (*f) () = $ac_func;
86329 #endif
86330 #ifdef __cplusplus
86331 }
86332 #endif
86333
86334 int
86335 main ()
86336 {
86337 return f != $ac_func;
86338   ;
86339   return 0;
86340 }
86341 _ACEOF
86342 rm -f conftest.$ac_objext conftest$ac_exeext
86343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86344   (eval $ac_link) 2>conftest.er1
86345   ac_status=$?
86346   grep -v '^ *+' conftest.er1 >conftest.err
86347   rm -f conftest.er1
86348   cat conftest.err >&5
86349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86350   (exit $ac_status); } &&
86351          { ac_try='test -z "$ac_c_werror_flag"
86352                          || test ! -s conftest.err'
86353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86354   (eval $ac_try) 2>&5
86355   ac_status=$?
86356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86357   (exit $ac_status); }; } &&
86358          { ac_try='test -s conftest$ac_exeext'
86359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86360   (eval $ac_try) 2>&5
86361   ac_status=$?
86362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86363   (exit $ac_status); }; }; then
86364   eval "$as_ac_var=yes"
86365 else
86366   echo "$as_me: failed program was:" >&5
86367 sed 's/^/| /' conftest.$ac_ext >&5
86368
86369 eval "$as_ac_var=no"
86370 fi
86371 rm -f conftest.err conftest.$ac_objext \
86372       conftest$ac_exeext conftest.$ac_ext
86373 fi
86374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86376 if test `eval echo '${'$as_ac_var'}'` = yes; then
86377   cat >>confdefs.h <<_ACEOF
86378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86379 _ACEOF
86380
86381 else
86382   ac_wfuncs=no
86383 fi
86384 done
86385
86386
86387     # Checks for wide character functions that are not required
86388     # for basic wchar_t support.  Don't disable support if they are missing.
86389     # Injection of these is wrapped with guard macros.
86390
86391
86392
86393
86394
86395 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86396 do
86397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86398 echo "$as_me:$LINENO: checking for $ac_func" >&5
86399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86400 if eval "test \"\${$as_ac_var+set}\" = set"; then
86401   echo $ECHO_N "(cached) $ECHO_C" >&6
86402 else
86403   if test x$gcc_no_link = xyes; then
86404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86406    { (exit 1); exit 1; }; }
86407 fi
86408 cat >conftest.$ac_ext <<_ACEOF
86409 /* confdefs.h.  */
86410 _ACEOF
86411 cat confdefs.h >>conftest.$ac_ext
86412 cat >>conftest.$ac_ext <<_ACEOF
86413 /* end confdefs.h.  */
86414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86415    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86416 #define $ac_func innocuous_$ac_func
86417
86418 /* System header to define __stub macros and hopefully few prototypes,
86419     which can conflict with char $ac_func (); below.
86420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86421     <limits.h> exists even on freestanding compilers.  */
86422
86423 #ifdef __STDC__
86424 # include <limits.h>
86425 #else
86426 # include <assert.h>
86427 #endif
86428
86429 #undef $ac_func
86430
86431 /* Override any gcc2 internal prototype to avoid an error.  */
86432 #ifdef __cplusplus
86433 extern "C"
86434 {
86435 #endif
86436 /* We use char because int might match the return type of a gcc2
86437    builtin and then its argument prototype would still apply.  */
86438 char $ac_func ();
86439 /* The GNU C library defines this for functions which it implements
86440     to always fail with ENOSYS.  Some functions are actually named
86441     something starting with __ and the normal name is an alias.  */
86442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86443 choke me
86444 #else
86445 char (*f) () = $ac_func;
86446 #endif
86447 #ifdef __cplusplus
86448 }
86449 #endif
86450
86451 int
86452 main ()
86453 {
86454 return f != $ac_func;
86455   ;
86456   return 0;
86457 }
86458 _ACEOF
86459 rm -f conftest.$ac_objext conftest$ac_exeext
86460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86461   (eval $ac_link) 2>conftest.er1
86462   ac_status=$?
86463   grep -v '^ *+' conftest.er1 >conftest.err
86464   rm -f conftest.er1
86465   cat conftest.err >&5
86466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86467   (exit $ac_status); } &&
86468          { ac_try='test -z "$ac_c_werror_flag"
86469                          || test ! -s conftest.err'
86470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86471   (eval $ac_try) 2>&5
86472   ac_status=$?
86473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86474   (exit $ac_status); }; } &&
86475          { ac_try='test -s conftest$ac_exeext'
86476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86477   (eval $ac_try) 2>&5
86478   ac_status=$?
86479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86480   (exit $ac_status); }; }; then
86481   eval "$as_ac_var=yes"
86482 else
86483   echo "$as_me: failed program was:" >&5
86484 sed 's/^/| /' conftest.$ac_ext >&5
86485
86486 eval "$as_ac_var=no"
86487 fi
86488 rm -f conftest.err conftest.$ac_objext \
86489       conftest$ac_exeext conftest.$ac_ext
86490 fi
86491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86493 if test `eval echo '${'$as_ac_var'}'` = yes; then
86494   cat >>confdefs.h <<_ACEOF
86495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86496 _ACEOF
86497
86498 fi
86499 done
86500
86501
86502     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86503 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86504     if test x"$has_weof" = xyes &&
86505        test x"$has_wchar_minmax" = xyes &&
86506        test x"$ac_wfuncs" = xyes;
86507     then
86508       ac_isoC99_wchar_t=yes
86509     else
86510       ac_isoC99_wchar_t=no
86511     fi
86512     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86513 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86514
86515     # Use iconv for wchar_t to char conversions. As such, check for
86516     # X/Open Portability Guide, version 2 features (XPG2).
86517     if test "${ac_cv_header_iconv_h+set}" = set; then
86518   echo "$as_me:$LINENO: checking for iconv.h" >&5
86519 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86520 if test "${ac_cv_header_iconv_h+set}" = set; then
86521   echo $ECHO_N "(cached) $ECHO_C" >&6
86522 fi
86523 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86524 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86525 else
86526   # Is the header compilable?
86527 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86528 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86529 cat >conftest.$ac_ext <<_ACEOF
86530 /* confdefs.h.  */
86531 _ACEOF
86532 cat confdefs.h >>conftest.$ac_ext
86533 cat >>conftest.$ac_ext <<_ACEOF
86534 /* end confdefs.h.  */
86535 $ac_includes_default
86536 #include <iconv.h>
86537 _ACEOF
86538 rm -f conftest.$ac_objext
86539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86540   (eval $ac_compile) 2>conftest.er1
86541   ac_status=$?
86542   grep -v '^ *+' conftest.er1 >conftest.err
86543   rm -f conftest.er1
86544   cat conftest.err >&5
86545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86546   (exit $ac_status); } &&
86547          { ac_try='test -z "$ac_c_werror_flag"
86548                          || test ! -s conftest.err'
86549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86550   (eval $ac_try) 2>&5
86551   ac_status=$?
86552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86553   (exit $ac_status); }; } &&
86554          { ac_try='test -s conftest.$ac_objext'
86555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86556   (eval $ac_try) 2>&5
86557   ac_status=$?
86558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86559   (exit $ac_status); }; }; then
86560   ac_header_compiler=yes
86561 else
86562   echo "$as_me: failed program was:" >&5
86563 sed 's/^/| /' conftest.$ac_ext >&5
86564
86565 ac_header_compiler=no
86566 fi
86567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86569 echo "${ECHO_T}$ac_header_compiler" >&6
86570
86571 # Is the header present?
86572 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86573 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86574 cat >conftest.$ac_ext <<_ACEOF
86575 /* confdefs.h.  */
86576 _ACEOF
86577 cat confdefs.h >>conftest.$ac_ext
86578 cat >>conftest.$ac_ext <<_ACEOF
86579 /* end confdefs.h.  */
86580 #include <iconv.h>
86581 _ACEOF
86582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86583   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86584   ac_status=$?
86585   grep -v '^ *+' conftest.er1 >conftest.err
86586   rm -f conftest.er1
86587   cat conftest.err >&5
86588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86589   (exit $ac_status); } >/dev/null; then
86590   if test -s conftest.err; then
86591     ac_cpp_err=$ac_c_preproc_warn_flag
86592     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86593   else
86594     ac_cpp_err=
86595   fi
86596 else
86597   ac_cpp_err=yes
86598 fi
86599 if test -z "$ac_cpp_err"; then
86600   ac_header_preproc=yes
86601 else
86602   echo "$as_me: failed program was:" >&5
86603 sed 's/^/| /' conftest.$ac_ext >&5
86604
86605   ac_header_preproc=no
86606 fi
86607 rm -f conftest.err conftest.$ac_ext
86608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86609 echo "${ECHO_T}$ac_header_preproc" >&6
86610
86611 # So?  What about this header?
86612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86613   yes:no: )
86614     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86615 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86616     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86617 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86618     ac_header_preproc=yes
86619     ;;
86620   no:yes:* )
86621     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86622 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86623     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86624 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86625     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86626 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86627     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86628 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86629     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86630 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86631     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86632 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86633     (
86634       cat <<\_ASBOX
86635 ## ----------------------------------------- ##
86636 ## Report this to the package-unused lists.  ##
86637 ## ----------------------------------------- ##
86638 _ASBOX
86639     ) |
86640       sed "s/^/$as_me: WARNING:     /" >&2
86641     ;;
86642 esac
86643 echo "$as_me:$LINENO: checking for iconv.h" >&5
86644 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86645 if test "${ac_cv_header_iconv_h+set}" = set; then
86646   echo $ECHO_N "(cached) $ECHO_C" >&6
86647 else
86648   ac_cv_header_iconv_h=$ac_header_preproc
86649 fi
86650 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86651 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86652
86653 fi
86654 if test $ac_cv_header_iconv_h = yes; then
86655   ac_has_iconv_h=yes
86656 else
86657   ac_has_iconv_h=no
86658 fi
86659
86660
86661     if test "${ac_cv_header_langinfo_h+set}" = set; then
86662   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86663 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86664 if test "${ac_cv_header_langinfo_h+set}" = set; then
86665   echo $ECHO_N "(cached) $ECHO_C" >&6
86666 fi
86667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86669 else
86670   # Is the header compilable?
86671 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86672 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86673 cat >conftest.$ac_ext <<_ACEOF
86674 /* confdefs.h.  */
86675 _ACEOF
86676 cat confdefs.h >>conftest.$ac_ext
86677 cat >>conftest.$ac_ext <<_ACEOF
86678 /* end confdefs.h.  */
86679 $ac_includes_default
86680 #include <langinfo.h>
86681 _ACEOF
86682 rm -f conftest.$ac_objext
86683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86684   (eval $ac_compile) 2>conftest.er1
86685   ac_status=$?
86686   grep -v '^ *+' conftest.er1 >conftest.err
86687   rm -f conftest.er1
86688   cat conftest.err >&5
86689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86690   (exit $ac_status); } &&
86691          { ac_try='test -z "$ac_c_werror_flag"
86692                          || test ! -s conftest.err'
86693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86694   (eval $ac_try) 2>&5
86695   ac_status=$?
86696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86697   (exit $ac_status); }; } &&
86698          { ac_try='test -s conftest.$ac_objext'
86699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86700   (eval $ac_try) 2>&5
86701   ac_status=$?
86702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86703   (exit $ac_status); }; }; then
86704   ac_header_compiler=yes
86705 else
86706   echo "$as_me: failed program was:" >&5
86707 sed 's/^/| /' conftest.$ac_ext >&5
86708
86709 ac_header_compiler=no
86710 fi
86711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86713 echo "${ECHO_T}$ac_header_compiler" >&6
86714
86715 # Is the header present?
86716 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86717 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86718 cat >conftest.$ac_ext <<_ACEOF
86719 /* confdefs.h.  */
86720 _ACEOF
86721 cat confdefs.h >>conftest.$ac_ext
86722 cat >>conftest.$ac_ext <<_ACEOF
86723 /* end confdefs.h.  */
86724 #include <langinfo.h>
86725 _ACEOF
86726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86727   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86728   ac_status=$?
86729   grep -v '^ *+' conftest.er1 >conftest.err
86730   rm -f conftest.er1
86731   cat conftest.err >&5
86732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86733   (exit $ac_status); } >/dev/null; then
86734   if test -s conftest.err; then
86735     ac_cpp_err=$ac_c_preproc_warn_flag
86736     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86737   else
86738     ac_cpp_err=
86739   fi
86740 else
86741   ac_cpp_err=yes
86742 fi
86743 if test -z "$ac_cpp_err"; then
86744   ac_header_preproc=yes
86745 else
86746   echo "$as_me: failed program was:" >&5
86747 sed 's/^/| /' conftest.$ac_ext >&5
86748
86749   ac_header_preproc=no
86750 fi
86751 rm -f conftest.err conftest.$ac_ext
86752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86753 echo "${ECHO_T}$ac_header_preproc" >&6
86754
86755 # So?  What about this header?
86756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86757   yes:no: )
86758     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86759 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86760     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86761 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86762     ac_header_preproc=yes
86763     ;;
86764   no:yes:* )
86765     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86766 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86767     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86768 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86769     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86770 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86771     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86772 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86773     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86774 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86775     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86776 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86777     (
86778       cat <<\_ASBOX
86779 ## ----------------------------------------- ##
86780 ## Report this to the package-unused lists.  ##
86781 ## ----------------------------------------- ##
86782 _ASBOX
86783     ) |
86784       sed "s/^/$as_me: WARNING:     /" >&2
86785     ;;
86786 esac
86787 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86788 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86789 if test "${ac_cv_header_langinfo_h+set}" = set; then
86790   echo $ECHO_N "(cached) $ECHO_C" >&6
86791 else
86792   ac_cv_header_langinfo_h=$ac_header_preproc
86793 fi
86794 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86795 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86796
86797 fi
86798 if test $ac_cv_header_langinfo_h = yes; then
86799   ac_has_langinfo_h=yes
86800 else
86801   ac_has_langinfo_h=no
86802 fi
86803
86804
86805
86806     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86807     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86808 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86809 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86810   echo $ECHO_N "(cached) $ECHO_C" >&6
86811 else
86812   ac_check_lib_save_LIBS=$LIBS
86813 LIBS="-liconv  $LIBS"
86814 if test x$gcc_no_link = xyes; then
86815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86817    { (exit 1); exit 1; }; }
86818 fi
86819 cat >conftest.$ac_ext <<_ACEOF
86820 /* confdefs.h.  */
86821 _ACEOF
86822 cat confdefs.h >>conftest.$ac_ext
86823 cat >>conftest.$ac_ext <<_ACEOF
86824 /* end confdefs.h.  */
86825
86826 /* Override any gcc2 internal prototype to avoid an error.  */
86827 #ifdef __cplusplus
86828 extern "C"
86829 #endif
86830 /* We use char because int might match the return type of a gcc2
86831    builtin and then its argument prototype would still apply.  */
86832 char iconv ();
86833 int
86834 main ()
86835 {
86836 iconv ();
86837   ;
86838   return 0;
86839 }
86840 _ACEOF
86841 rm -f conftest.$ac_objext conftest$ac_exeext
86842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86843   (eval $ac_link) 2>conftest.er1
86844   ac_status=$?
86845   grep -v '^ *+' conftest.er1 >conftest.err
86846   rm -f conftest.er1
86847   cat conftest.err >&5
86848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86849   (exit $ac_status); } &&
86850          { ac_try='test -z "$ac_c_werror_flag"
86851                          || test ! -s conftest.err'
86852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86853   (eval $ac_try) 2>&5
86854   ac_status=$?
86855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86856   (exit $ac_status); }; } &&
86857          { ac_try='test -s conftest$ac_exeext'
86858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86859   (eval $ac_try) 2>&5
86860   ac_status=$?
86861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86862   (exit $ac_status); }; }; then
86863   ac_cv_lib_iconv_iconv=yes
86864 else
86865   echo "$as_me: failed program was:" >&5
86866 sed 's/^/| /' conftest.$ac_ext >&5
86867
86868 ac_cv_lib_iconv_iconv=no
86869 fi
86870 rm -f conftest.err conftest.$ac_objext \
86871       conftest$ac_exeext conftest.$ac_ext
86872 LIBS=$ac_check_lib_save_LIBS
86873 fi
86874 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86875 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86876 if test $ac_cv_lib_iconv_iconv = yes; then
86877   libiconv="-liconv"
86878 fi
86879
86880     ac_save_LIBS="$LIBS"
86881     LIBS="$LIBS $libiconv"
86882
86883
86884
86885
86886
86887 for ac_func in iconv_open iconv_close iconv nl_langinfo
86888 do
86889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86890 echo "$as_me:$LINENO: checking for $ac_func" >&5
86891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86892 if eval "test \"\${$as_ac_var+set}\" = set"; then
86893   echo $ECHO_N "(cached) $ECHO_C" >&6
86894 else
86895   if test x$gcc_no_link = xyes; then
86896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86898    { (exit 1); exit 1; }; }
86899 fi
86900 cat >conftest.$ac_ext <<_ACEOF
86901 /* confdefs.h.  */
86902 _ACEOF
86903 cat confdefs.h >>conftest.$ac_ext
86904 cat >>conftest.$ac_ext <<_ACEOF
86905 /* end confdefs.h.  */
86906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86908 #define $ac_func innocuous_$ac_func
86909
86910 /* System header to define __stub macros and hopefully few prototypes,
86911     which can conflict with char $ac_func (); below.
86912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86913     <limits.h> exists even on freestanding compilers.  */
86914
86915 #ifdef __STDC__
86916 # include <limits.h>
86917 #else
86918 # include <assert.h>
86919 #endif
86920
86921 #undef $ac_func
86922
86923 /* Override any gcc2 internal prototype to avoid an error.  */
86924 #ifdef __cplusplus
86925 extern "C"
86926 {
86927 #endif
86928 /* We use char because int might match the return type of a gcc2
86929    builtin and then its argument prototype would still apply.  */
86930 char $ac_func ();
86931 /* The GNU C library defines this for functions which it implements
86932     to always fail with ENOSYS.  Some functions are actually named
86933     something starting with __ and the normal name is an alias.  */
86934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86935 choke me
86936 #else
86937 char (*f) () = $ac_func;
86938 #endif
86939 #ifdef __cplusplus
86940 }
86941 #endif
86942
86943 int
86944 main ()
86945 {
86946 return f != $ac_func;
86947   ;
86948   return 0;
86949 }
86950 _ACEOF
86951 rm -f conftest.$ac_objext conftest$ac_exeext
86952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86953   (eval $ac_link) 2>conftest.er1
86954   ac_status=$?
86955   grep -v '^ *+' conftest.er1 >conftest.err
86956   rm -f conftest.er1
86957   cat conftest.err >&5
86958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86959   (exit $ac_status); } &&
86960          { ac_try='test -z "$ac_c_werror_flag"
86961                          || test ! -s conftest.err'
86962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86963   (eval $ac_try) 2>&5
86964   ac_status=$?
86965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86966   (exit $ac_status); }; } &&
86967          { ac_try='test -s conftest$ac_exeext'
86968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86969   (eval $ac_try) 2>&5
86970   ac_status=$?
86971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86972   (exit $ac_status); }; }; then
86973   eval "$as_ac_var=yes"
86974 else
86975   echo "$as_me: failed program was:" >&5
86976 sed 's/^/| /' conftest.$ac_ext >&5
86977
86978 eval "$as_ac_var=no"
86979 fi
86980 rm -f conftest.err conftest.$ac_objext \
86981       conftest$ac_exeext conftest.$ac_ext
86982 fi
86983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86985 if test `eval echo '${'$as_ac_var'}'` = yes; then
86986   cat >>confdefs.h <<_ACEOF
86987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86988 _ACEOF
86989  ac_XPG2funcs=yes
86990 else
86991   ac_XPG2funcs=no
86992 fi
86993 done
86994
86995
86996     LIBS="$ac_save_LIBS"
86997
86998     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86999 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87000     if test x"$ac_has_iconv_h" = xyes &&
87001        test x"$ac_has_langinfo_h" = xyes &&
87002        test x"$ac_XPG2funcs" = xyes;
87003     then
87004       ac_XPG2_wchar_t=yes
87005     else
87006       ac_XPG2_wchar_t=no
87007     fi
87008     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87009 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87010
87011     # At the moment, only enable wchar_t specializations if all the
87012     # above support is present.
87013     if test x"$ac_isoC99_wchar_t" = xyes &&
87014        test x"$ac_XPG2_wchar_t" = xyes;
87015     then
87016       cat >>confdefs.h <<\_ACEOF
87017 #define _GLIBCXX_USE_WCHAR_T 1
87018 _ACEOF
87019
87020       enable_wchar_t=yes
87021     fi
87022   fi
87023   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87024 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87025   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87026 echo "${ECHO_T}$enable_wchar_t" >&6
87027
87028     cat >>confdefs.h <<\_ACEOF
87029 #define HAVE_COPYSIGN 1
87030 _ACEOF
87031
87032     cat >>confdefs.h <<\_ACEOF
87033 #define HAVE_COPYSIGNF 1
87034 _ACEOF
87035
87036     cat >>confdefs.h <<\_ACEOF
87037 #define HAVE_FINITEF 1
87038 _ACEOF
87039
87040     cat >>confdefs.h <<\_ACEOF
87041 #define HAVE_FINITE 1
87042 _ACEOF
87043
87044     cat >>confdefs.h <<\_ACEOF
87045 #define HAVE_FREXPF 1
87046 _ACEOF
87047
87048     cat >>confdefs.h <<\_ACEOF
87049 #define HAVE_HYPOTF 1
87050 _ACEOF
87051
87052     cat >>confdefs.h <<\_ACEOF
87053 #define HAVE_ISINF 1
87054 _ACEOF
87055
87056     cat >>confdefs.h <<\_ACEOF
87057 #define HAVE_ISINFF 1
87058 _ACEOF
87059
87060     cat >>confdefs.h <<\_ACEOF
87061 #define HAVE_ISNAN 1
87062 _ACEOF
87063
87064     cat >>confdefs.h <<\_ACEOF
87065 #define HAVE_ISNANF 1
87066 _ACEOF
87067
87068     if test x"long_double_math_on_this_cpu" = x"yes"; then
87069       cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_FINITEL 1
87071 _ACEOF
87072
87073       cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_ISINFL 1
87075 _ACEOF
87076
87077       cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_ISNANL 1
87079 _ACEOF
87080
87081     fi
87082     ;;
87083   *-qnx6.1* | *-qnx6.2*)
87084     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87085
87086
87087   # If we're not using GNU ld, then there's no point in even trying these
87088   # tests.  Check for that first.  We should have already tested for gld
87089   # by now (in libtool), but require it now just to be safe...
87090   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87091   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87092
87093
87094
87095   # The name set by libtool depends on the version of libtool.  Shame on us
87096   # for depending on an impl detail, but c'est la vie.  Older versions used
87097   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87098   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87099   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87100   # set (hence we're using an older libtool), then set it.
87101   if test x${with_gnu_ld+set} != xset; then
87102     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87103       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87104       with_gnu_ld=no
87105     else
87106       with_gnu_ld=$ac_cv_prog_gnu_ld
87107     fi
87108   fi
87109
87110   # Start by getting the version number.  I think the libtool test already
87111   # does some of this, but throws away the result.
87112
87113   ldver=`$LD --version 2>/dev/null | head -1 | \
87114          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87115
87116   glibcxx_gnu_ld_version=`echo $ldver | \
87117          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87118
87119   # Set --gc-sections.
87120   if test "$with_gnu_ld" = "notbroken"; then
87121     # GNU ld it is!  Joy and bunny rabbits!
87122
87123     # All these tests are for C++; save the language and the compiler flags.
87124     # Need to do this so that g++ won't try to link in libstdc++
87125     ac_test_CFLAGS="${CFLAGS+set}"
87126     ac_save_CFLAGS="$CFLAGS"
87127     CFLAGS='-x c++  -Wl,--gc-sections'
87128
87129     # Check for -Wl,--gc-sections
87130     # XXX This test is broken at the moment, as symbols required for linking
87131     # are now in libsupc++ (not built yet).  In addition, this test has
87132     # cored on solaris in the past.  In addition, --gc-sections doesn't
87133     # really work at the moment (keeps on discarding used sections, first
87134     # .eh_frame and now some of the glibc sections for iconv).
87135     # Bzzzzt.  Thanks for playing, maybe next time.
87136     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87137 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87138     if test "$cross_compiling" = yes; then
87139   ac_sectionLDflags=yes
87140 else
87141   cat >conftest.$ac_ext <<_ACEOF
87142 /* confdefs.h.  */
87143 _ACEOF
87144 cat confdefs.h >>conftest.$ac_ext
87145 cat >>conftest.$ac_ext <<_ACEOF
87146 /* end confdefs.h.  */
87147
87148      int main(void)
87149      {
87150        try { throw 1; }
87151        catch (...) { };
87152        return 0;
87153      }
87154
87155 _ACEOF
87156 rm -f conftest$ac_exeext
87157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87158   (eval $ac_link) 2>&5
87159   ac_status=$?
87160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87161   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87163   (eval $ac_try) 2>&5
87164   ac_status=$?
87165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87166   (exit $ac_status); }; }; then
87167   ac_sectionLDflags=yes
87168 else
87169   echo "$as_me: program exited with status $ac_status" >&5
87170 echo "$as_me: failed program was:" >&5
87171 sed 's/^/| /' conftest.$ac_ext >&5
87172
87173 ( exit $ac_status )
87174 ac_sectionLDflags=no
87175 fi
87176 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87177 fi
87178     if test "$ac_test_CFLAGS" = set; then
87179       CFLAGS="$ac_save_CFLAGS"
87180     else
87181       # this is the suspicious part
87182       CFLAGS=''
87183     fi
87184     if test "$ac_sectionLDflags" = "yes"; then
87185       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87186     fi
87187     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87188 echo "${ECHO_T}$ac_sectionLDflags" >&6
87189   fi
87190
87191   # Set linker optimization flags.
87192   if test x"$with_gnu_ld" = x"yes"; then
87193     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87194   fi
87195
87196
87197
87198
87199
87200
87201 echo "$as_me:$LINENO: checking for main in -lm" >&5
87202 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87203 if test "${ac_cv_lib_m_main+set}" = set; then
87204   echo $ECHO_N "(cached) $ECHO_C" >&6
87205 else
87206   ac_check_lib_save_LIBS=$LIBS
87207 LIBS="-lm  $LIBS"
87208 if test x$gcc_no_link = xyes; then
87209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87211    { (exit 1); exit 1; }; }
87212 fi
87213 cat >conftest.$ac_ext <<_ACEOF
87214 /* confdefs.h.  */
87215 _ACEOF
87216 cat confdefs.h >>conftest.$ac_ext
87217 cat >>conftest.$ac_ext <<_ACEOF
87218 /* end confdefs.h.  */
87219
87220
87221 int
87222 main ()
87223 {
87224 main ();
87225   ;
87226   return 0;
87227 }
87228 _ACEOF
87229 rm -f conftest.$ac_objext conftest$ac_exeext
87230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87231   (eval $ac_link) 2>conftest.er1
87232   ac_status=$?
87233   grep -v '^ *+' conftest.er1 >conftest.err
87234   rm -f conftest.er1
87235   cat conftest.err >&5
87236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87237   (exit $ac_status); } &&
87238          { ac_try='test -z "$ac_c_werror_flag"
87239                          || test ! -s conftest.err'
87240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87241   (eval $ac_try) 2>&5
87242   ac_status=$?
87243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87244   (exit $ac_status); }; } &&
87245          { ac_try='test -s conftest$ac_exeext'
87246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87247   (eval $ac_try) 2>&5
87248   ac_status=$?
87249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87250   (exit $ac_status); }; }; then
87251   ac_cv_lib_m_main=yes
87252 else
87253   echo "$as_me: failed program was:" >&5
87254 sed 's/^/| /' conftest.$ac_ext >&5
87255
87256 ac_cv_lib_m_main=no
87257 fi
87258 rm -f conftest.err conftest.$ac_objext \
87259       conftest$ac_exeext conftest.$ac_ext
87260 LIBS=$ac_check_lib_save_LIBS
87261 fi
87262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87263 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87264 if test $ac_cv_lib_m_main = yes; then
87265   cat >>confdefs.h <<_ACEOF
87266 #define HAVE_LIBM 1
87267 _ACEOF
87268
87269   LIBS="-lm $LIBS"
87270
87271 fi
87272
87273
87274 for ac_func in copysignf
87275 do
87276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87277 echo "$as_me:$LINENO: checking for $ac_func" >&5
87278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87279 if eval "test \"\${$as_ac_var+set}\" = set"; then
87280   echo $ECHO_N "(cached) $ECHO_C" >&6
87281 else
87282   if test x$gcc_no_link = xyes; then
87283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87285    { (exit 1); exit 1; }; }
87286 fi
87287 cat >conftest.$ac_ext <<_ACEOF
87288 /* confdefs.h.  */
87289 _ACEOF
87290 cat confdefs.h >>conftest.$ac_ext
87291 cat >>conftest.$ac_ext <<_ACEOF
87292 /* end confdefs.h.  */
87293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87295 #define $ac_func innocuous_$ac_func
87296
87297 /* System header to define __stub macros and hopefully few prototypes,
87298     which can conflict with char $ac_func (); below.
87299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87300     <limits.h> exists even on freestanding compilers.  */
87301
87302 #ifdef __STDC__
87303 # include <limits.h>
87304 #else
87305 # include <assert.h>
87306 #endif
87307
87308 #undef $ac_func
87309
87310 /* Override any gcc2 internal prototype to avoid an error.  */
87311 #ifdef __cplusplus
87312 extern "C"
87313 {
87314 #endif
87315 /* We use char because int might match the return type of a gcc2
87316    builtin and then its argument prototype would still apply.  */
87317 char $ac_func ();
87318 /* The GNU C library defines this for functions which it implements
87319     to always fail with ENOSYS.  Some functions are actually named
87320     something starting with __ and the normal name is an alias.  */
87321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87322 choke me
87323 #else
87324 char (*f) () = $ac_func;
87325 #endif
87326 #ifdef __cplusplus
87327 }
87328 #endif
87329
87330 int
87331 main ()
87332 {
87333 return f != $ac_func;
87334   ;
87335   return 0;
87336 }
87337 _ACEOF
87338 rm -f conftest.$ac_objext conftest$ac_exeext
87339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87340   (eval $ac_link) 2>conftest.er1
87341   ac_status=$?
87342   grep -v '^ *+' conftest.er1 >conftest.err
87343   rm -f conftest.er1
87344   cat conftest.err >&5
87345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87346   (exit $ac_status); } &&
87347          { ac_try='test -z "$ac_c_werror_flag"
87348                          || test ! -s conftest.err'
87349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87350   (eval $ac_try) 2>&5
87351   ac_status=$?
87352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87353   (exit $ac_status); }; } &&
87354          { ac_try='test -s conftest$ac_exeext'
87355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87356   (eval $ac_try) 2>&5
87357   ac_status=$?
87358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87359   (exit $ac_status); }; }; then
87360   eval "$as_ac_var=yes"
87361 else
87362   echo "$as_me: failed program was:" >&5
87363 sed 's/^/| /' conftest.$ac_ext >&5
87364
87365 eval "$as_ac_var=no"
87366 fi
87367 rm -f conftest.err conftest.$ac_objext \
87368       conftest$ac_exeext conftest.$ac_ext
87369 fi
87370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87372 if test `eval echo '${'$as_ac_var'}'` = yes; then
87373   cat >>confdefs.h <<_ACEOF
87374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87375 _ACEOF
87376
87377 else
87378   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87379 fi
87380 done
87381
87382
87383
87384 for ac_func in __signbit
87385 do
87386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87387 echo "$as_me:$LINENO: checking for $ac_func" >&5
87388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87389 if eval "test \"\${$as_ac_var+set}\" = set"; then
87390   echo $ECHO_N "(cached) $ECHO_C" >&6
87391 else
87392   if test x$gcc_no_link = xyes; then
87393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87395    { (exit 1); exit 1; }; }
87396 fi
87397 cat >conftest.$ac_ext <<_ACEOF
87398 /* confdefs.h.  */
87399 _ACEOF
87400 cat confdefs.h >>conftest.$ac_ext
87401 cat >>conftest.$ac_ext <<_ACEOF
87402 /* end confdefs.h.  */
87403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87405 #define $ac_func innocuous_$ac_func
87406
87407 /* System header to define __stub macros and hopefully few prototypes,
87408     which can conflict with char $ac_func (); below.
87409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87410     <limits.h> exists even on freestanding compilers.  */
87411
87412 #ifdef __STDC__
87413 # include <limits.h>
87414 #else
87415 # include <assert.h>
87416 #endif
87417
87418 #undef $ac_func
87419
87420 /* Override any gcc2 internal prototype to avoid an error.  */
87421 #ifdef __cplusplus
87422 extern "C"
87423 {
87424 #endif
87425 /* We use char because int might match the return type of a gcc2
87426    builtin and then its argument prototype would still apply.  */
87427 char $ac_func ();
87428 /* The GNU C library defines this for functions which it implements
87429     to always fail with ENOSYS.  Some functions are actually named
87430     something starting with __ and the normal name is an alias.  */
87431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87432 choke me
87433 #else
87434 char (*f) () = $ac_func;
87435 #endif
87436 #ifdef __cplusplus
87437 }
87438 #endif
87439
87440 int
87441 main ()
87442 {
87443 return f != $ac_func;
87444   ;
87445   return 0;
87446 }
87447 _ACEOF
87448 rm -f conftest.$ac_objext conftest$ac_exeext
87449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87450   (eval $ac_link) 2>conftest.er1
87451   ac_status=$?
87452   grep -v '^ *+' conftest.er1 >conftest.err
87453   rm -f conftest.er1
87454   cat conftest.err >&5
87455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87456   (exit $ac_status); } &&
87457          { ac_try='test -z "$ac_c_werror_flag"
87458                          || test ! -s conftest.err'
87459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87460   (eval $ac_try) 2>&5
87461   ac_status=$?
87462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87463   (exit $ac_status); }; } &&
87464          { ac_try='test -s conftest$ac_exeext'
87465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87466   (eval $ac_try) 2>&5
87467   ac_status=$?
87468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87469   (exit $ac_status); }; }; then
87470   eval "$as_ac_var=yes"
87471 else
87472   echo "$as_me: failed program was:" >&5
87473 sed 's/^/| /' conftest.$ac_ext >&5
87474
87475 eval "$as_ac_var=no"
87476 fi
87477 rm -f conftest.err conftest.$ac_objext \
87478       conftest$ac_exeext conftest.$ac_ext
87479 fi
87480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87482 if test `eval echo '${'$as_ac_var'}'` = yes; then
87483   cat >>confdefs.h <<_ACEOF
87484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87485 _ACEOF
87486
87487 else
87488   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87489 fi
87490 done
87491
87492
87493
87494 for ac_func in __signbitf
87495 do
87496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87497 echo "$as_me:$LINENO: checking for $ac_func" >&5
87498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87499 if eval "test \"\${$as_ac_var+set}\" = set"; then
87500   echo $ECHO_N "(cached) $ECHO_C" >&6
87501 else
87502   if test x$gcc_no_link = xyes; then
87503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87505    { (exit 1); exit 1; }; }
87506 fi
87507 cat >conftest.$ac_ext <<_ACEOF
87508 /* confdefs.h.  */
87509 _ACEOF
87510 cat confdefs.h >>conftest.$ac_ext
87511 cat >>conftest.$ac_ext <<_ACEOF
87512 /* end confdefs.h.  */
87513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87515 #define $ac_func innocuous_$ac_func
87516
87517 /* System header to define __stub macros and hopefully few prototypes,
87518     which can conflict with char $ac_func (); below.
87519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87520     <limits.h> exists even on freestanding compilers.  */
87521
87522 #ifdef __STDC__
87523 # include <limits.h>
87524 #else
87525 # include <assert.h>
87526 #endif
87527
87528 #undef $ac_func
87529
87530 /* Override any gcc2 internal prototype to avoid an error.  */
87531 #ifdef __cplusplus
87532 extern "C"
87533 {
87534 #endif
87535 /* We use char because int might match the return type of a gcc2
87536    builtin and then its argument prototype would still apply.  */
87537 char $ac_func ();
87538 /* The GNU C library defines this for functions which it implements
87539     to always fail with ENOSYS.  Some functions are actually named
87540     something starting with __ and the normal name is an alias.  */
87541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87542 choke me
87543 #else
87544 char (*f) () = $ac_func;
87545 #endif
87546 #ifdef __cplusplus
87547 }
87548 #endif
87549
87550 int
87551 main ()
87552 {
87553 return f != $ac_func;
87554   ;
87555   return 0;
87556 }
87557 _ACEOF
87558 rm -f conftest.$ac_objext conftest$ac_exeext
87559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87560   (eval $ac_link) 2>conftest.er1
87561   ac_status=$?
87562   grep -v '^ *+' conftest.er1 >conftest.err
87563   rm -f conftest.er1
87564   cat conftest.err >&5
87565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87566   (exit $ac_status); } &&
87567          { ac_try='test -z "$ac_c_werror_flag"
87568                          || test ! -s conftest.err'
87569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87570   (eval $ac_try) 2>&5
87571   ac_status=$?
87572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87573   (exit $ac_status); }; } &&
87574          { ac_try='test -s conftest$ac_exeext'
87575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87576   (eval $ac_try) 2>&5
87577   ac_status=$?
87578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87579   (exit $ac_status); }; }; then
87580   eval "$as_ac_var=yes"
87581 else
87582   echo "$as_me: failed program was:" >&5
87583 sed 's/^/| /' conftest.$ac_ext >&5
87584
87585 eval "$as_ac_var=no"
87586 fi
87587 rm -f conftest.err conftest.$ac_objext \
87588       conftest$ac_exeext conftest.$ac_ext
87589 fi
87590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87592 if test `eval echo '${'$as_ac_var'}'` = yes; then
87593   cat >>confdefs.h <<_ACEOF
87594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87595 _ACEOF
87596
87597 else
87598   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87599 fi
87600 done
87601
87602
87603           if test x$ac_cv_func_copysignl = x"yes"; then
87604
87605 for ac_func in __signbitl
87606 do
87607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87608 echo "$as_me:$LINENO: checking for $ac_func" >&5
87609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87610 if eval "test \"\${$as_ac_var+set}\" = set"; then
87611   echo $ECHO_N "(cached) $ECHO_C" >&6
87612 else
87613   if test x$gcc_no_link = xyes; then
87614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87616    { (exit 1); exit 1; }; }
87617 fi
87618 cat >conftest.$ac_ext <<_ACEOF
87619 /* confdefs.h.  */
87620 _ACEOF
87621 cat confdefs.h >>conftest.$ac_ext
87622 cat >>conftest.$ac_ext <<_ACEOF
87623 /* end confdefs.h.  */
87624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87626 #define $ac_func innocuous_$ac_func
87627
87628 /* System header to define __stub macros and hopefully few prototypes,
87629     which can conflict with char $ac_func (); below.
87630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87631     <limits.h> exists even on freestanding compilers.  */
87632
87633 #ifdef __STDC__
87634 # include <limits.h>
87635 #else
87636 # include <assert.h>
87637 #endif
87638
87639 #undef $ac_func
87640
87641 /* Override any gcc2 internal prototype to avoid an error.  */
87642 #ifdef __cplusplus
87643 extern "C"
87644 {
87645 #endif
87646 /* We use char because int might match the return type of a gcc2
87647    builtin and then its argument prototype would still apply.  */
87648 char $ac_func ();
87649 /* The GNU C library defines this for functions which it implements
87650     to always fail with ENOSYS.  Some functions are actually named
87651     something starting with __ and the normal name is an alias.  */
87652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87653 choke me
87654 #else
87655 char (*f) () = $ac_func;
87656 #endif
87657 #ifdef __cplusplus
87658 }
87659 #endif
87660
87661 int
87662 main ()
87663 {
87664 return f != $ac_func;
87665   ;
87666   return 0;
87667 }
87668 _ACEOF
87669 rm -f conftest.$ac_objext conftest$ac_exeext
87670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87671   (eval $ac_link) 2>conftest.er1
87672   ac_status=$?
87673   grep -v '^ *+' conftest.er1 >conftest.err
87674   rm -f conftest.er1
87675   cat conftest.err >&5
87676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87677   (exit $ac_status); } &&
87678          { ac_try='test -z "$ac_c_werror_flag"
87679                          || test ! -s conftest.err'
87680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87681   (eval $ac_try) 2>&5
87682   ac_status=$?
87683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87684   (exit $ac_status); }; } &&
87685          { ac_try='test -s conftest$ac_exeext'
87686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87687   (eval $ac_try) 2>&5
87688   ac_status=$?
87689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87690   (exit $ac_status); }; }; then
87691   eval "$as_ac_var=yes"
87692 else
87693   echo "$as_me: failed program was:" >&5
87694 sed 's/^/| /' conftest.$ac_ext >&5
87695
87696 eval "$as_ac_var=no"
87697 fi
87698 rm -f conftest.err conftest.$ac_objext \
87699       conftest$ac_exeext conftest.$ac_ext
87700 fi
87701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87703 if test `eval echo '${'$as_ac_var'}'` = yes; then
87704   cat >>confdefs.h <<_ACEOF
87705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87706 _ACEOF
87707
87708 else
87709   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87710 fi
87711 done
87712
87713   fi
87714
87715   # Used in libmath/Makefile.am.
87716   if test -n "$LIBMATHOBJS"; then
87717     need_libmath=yes
87718   fi
87719
87720
87721
87722   # Test wchar.h for mbstate_t, which is needed for char_traits and
87723   # others even if wchar_t support is not on.
87724   echo "$as_me:$LINENO: checking for mbstate_t" >&5
87725 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87726   cat >conftest.$ac_ext <<_ACEOF
87727 /* confdefs.h.  */
87728 _ACEOF
87729 cat confdefs.h >>conftest.$ac_ext
87730 cat >>conftest.$ac_ext <<_ACEOF
87731 /* end confdefs.h.  */
87732 #include <wchar.h>
87733 int
87734 main ()
87735 {
87736 mbstate_t teststate;
87737   ;
87738   return 0;
87739 }
87740 _ACEOF
87741 rm -f conftest.$ac_objext
87742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87743   (eval $ac_compile) 2>conftest.er1
87744   ac_status=$?
87745   grep -v '^ *+' conftest.er1 >conftest.err
87746   rm -f conftest.er1
87747   cat conftest.err >&5
87748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87749   (exit $ac_status); } &&
87750          { ac_try='test -z "$ac_c_werror_flag"
87751                          || test ! -s conftest.err'
87752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87753   (eval $ac_try) 2>&5
87754   ac_status=$?
87755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87756   (exit $ac_status); }; } &&
87757          { ac_try='test -s conftest.$ac_objext'
87758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87759   (eval $ac_try) 2>&5
87760   ac_status=$?
87761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87762   (exit $ac_status); }; }; then
87763   have_mbstate_t=yes
87764 else
87765   echo "$as_me: failed program was:" >&5
87766 sed 's/^/| /' conftest.$ac_ext >&5
87767
87768 have_mbstate_t=no
87769 fi
87770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87771   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87772 echo "${ECHO_T}$have_mbstate_t" >&6
87773   if test x"$have_mbstate_t" = xyes; then
87774     cat >>confdefs.h <<\_ACEOF
87775 #define HAVE_MBSTATE_T 1
87776 _ACEOF
87777
87778   fi
87779
87780   # Sanity check for existence of ISO C99 headers for extended encoding.
87781
87782 for ac_header in wchar.h
87783 do
87784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87786   echo "$as_me:$LINENO: checking for $ac_header" >&5
87787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87789   echo $ECHO_N "(cached) $ECHO_C" >&6
87790 fi
87791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87793 else
87794   # Is the header compilable?
87795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87797 cat >conftest.$ac_ext <<_ACEOF
87798 /* confdefs.h.  */
87799 _ACEOF
87800 cat confdefs.h >>conftest.$ac_ext
87801 cat >>conftest.$ac_ext <<_ACEOF
87802 /* end confdefs.h.  */
87803 $ac_includes_default
87804 #include <$ac_header>
87805 _ACEOF
87806 rm -f conftest.$ac_objext
87807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87808   (eval $ac_compile) 2>conftest.er1
87809   ac_status=$?
87810   grep -v '^ *+' conftest.er1 >conftest.err
87811   rm -f conftest.er1
87812   cat conftest.err >&5
87813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87814   (exit $ac_status); } &&
87815          { ac_try='test -z "$ac_c_werror_flag"
87816                          || test ! -s conftest.err'
87817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87818   (eval $ac_try) 2>&5
87819   ac_status=$?
87820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87821   (exit $ac_status); }; } &&
87822          { ac_try='test -s conftest.$ac_objext'
87823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87824   (eval $ac_try) 2>&5
87825   ac_status=$?
87826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87827   (exit $ac_status); }; }; then
87828   ac_header_compiler=yes
87829 else
87830   echo "$as_me: failed program was:" >&5
87831 sed 's/^/| /' conftest.$ac_ext >&5
87832
87833 ac_header_compiler=no
87834 fi
87835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87837 echo "${ECHO_T}$ac_header_compiler" >&6
87838
87839 # Is the header present?
87840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87842 cat >conftest.$ac_ext <<_ACEOF
87843 /* confdefs.h.  */
87844 _ACEOF
87845 cat confdefs.h >>conftest.$ac_ext
87846 cat >>conftest.$ac_ext <<_ACEOF
87847 /* end confdefs.h.  */
87848 #include <$ac_header>
87849 _ACEOF
87850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87851   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87852   ac_status=$?
87853   grep -v '^ *+' conftest.er1 >conftest.err
87854   rm -f conftest.er1
87855   cat conftest.err >&5
87856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87857   (exit $ac_status); } >/dev/null; then
87858   if test -s conftest.err; then
87859     ac_cpp_err=$ac_c_preproc_warn_flag
87860     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87861   else
87862     ac_cpp_err=
87863   fi
87864 else
87865   ac_cpp_err=yes
87866 fi
87867 if test -z "$ac_cpp_err"; then
87868   ac_header_preproc=yes
87869 else
87870   echo "$as_me: failed program was:" >&5
87871 sed 's/^/| /' conftest.$ac_ext >&5
87872
87873   ac_header_preproc=no
87874 fi
87875 rm -f conftest.err conftest.$ac_ext
87876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87877 echo "${ECHO_T}$ac_header_preproc" >&6
87878
87879 # So?  What about this header?
87880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87881   yes:no: )
87882     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87884     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87886     ac_header_preproc=yes
87887     ;;
87888   no:yes:* )
87889     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87891     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87892 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87893     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87895     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87896 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87899     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87901     (
87902       cat <<\_ASBOX
87903 ## ----------------------------------------- ##
87904 ## Report this to the package-unused lists.  ##
87905 ## ----------------------------------------- ##
87906 _ASBOX
87907     ) |
87908       sed "s/^/$as_me: WARNING:     /" >&2
87909     ;;
87910 esac
87911 echo "$as_me:$LINENO: checking for $ac_header" >&5
87912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87914   echo $ECHO_N "(cached) $ECHO_C" >&6
87915 else
87916   eval "$as_ac_Header=\$ac_header_preproc"
87917 fi
87918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87920
87921 fi
87922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87923   cat >>confdefs.h <<_ACEOF
87924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87925 _ACEOF
87926  ac_has_wchar_h=yes
87927 else
87928   ac_has_wchar_h=no
87929 fi
87930
87931 done
87932
87933
87934 for ac_header in wctype.h
87935 do
87936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87938   echo "$as_me:$LINENO: checking for $ac_header" >&5
87939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87941   echo $ECHO_N "(cached) $ECHO_C" >&6
87942 fi
87943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87945 else
87946   # Is the header compilable?
87947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87949 cat >conftest.$ac_ext <<_ACEOF
87950 /* confdefs.h.  */
87951 _ACEOF
87952 cat confdefs.h >>conftest.$ac_ext
87953 cat >>conftest.$ac_ext <<_ACEOF
87954 /* end confdefs.h.  */
87955 $ac_includes_default
87956 #include <$ac_header>
87957 _ACEOF
87958 rm -f conftest.$ac_objext
87959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87960   (eval $ac_compile) 2>conftest.er1
87961   ac_status=$?
87962   grep -v '^ *+' conftest.er1 >conftest.err
87963   rm -f conftest.er1
87964   cat conftest.err >&5
87965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87966   (exit $ac_status); } &&
87967          { ac_try='test -z "$ac_c_werror_flag"
87968                          || test ! -s conftest.err'
87969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87970   (eval $ac_try) 2>&5
87971   ac_status=$?
87972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87973   (exit $ac_status); }; } &&
87974          { ac_try='test -s conftest.$ac_objext'
87975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87976   (eval $ac_try) 2>&5
87977   ac_status=$?
87978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87979   (exit $ac_status); }; }; then
87980   ac_header_compiler=yes
87981 else
87982   echo "$as_me: failed program was:" >&5
87983 sed 's/^/| /' conftest.$ac_ext >&5
87984
87985 ac_header_compiler=no
87986 fi
87987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87989 echo "${ECHO_T}$ac_header_compiler" >&6
87990
87991 # Is the header present?
87992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87994 cat >conftest.$ac_ext <<_ACEOF
87995 /* confdefs.h.  */
87996 _ACEOF
87997 cat confdefs.h >>conftest.$ac_ext
87998 cat >>conftest.$ac_ext <<_ACEOF
87999 /* end confdefs.h.  */
88000 #include <$ac_header>
88001 _ACEOF
88002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88003   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88004   ac_status=$?
88005   grep -v '^ *+' conftest.er1 >conftest.err
88006   rm -f conftest.er1
88007   cat conftest.err >&5
88008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88009   (exit $ac_status); } >/dev/null; then
88010   if test -s conftest.err; then
88011     ac_cpp_err=$ac_c_preproc_warn_flag
88012     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88013   else
88014     ac_cpp_err=
88015   fi
88016 else
88017   ac_cpp_err=yes
88018 fi
88019 if test -z "$ac_cpp_err"; then
88020   ac_header_preproc=yes
88021 else
88022   echo "$as_me: failed program was:" >&5
88023 sed 's/^/| /' conftest.$ac_ext >&5
88024
88025   ac_header_preproc=no
88026 fi
88027 rm -f conftest.err conftest.$ac_ext
88028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88029 echo "${ECHO_T}$ac_header_preproc" >&6
88030
88031 # So?  What about this header?
88032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88033   yes:no: )
88034     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88036     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88037 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88038     ac_header_preproc=yes
88039     ;;
88040   no:yes:* )
88041     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88043     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88044 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88045     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88046 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88047     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88048 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88049     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88051     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88052 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88053     (
88054       cat <<\_ASBOX
88055 ## ----------------------------------------- ##
88056 ## Report this to the package-unused lists.  ##
88057 ## ----------------------------------------- ##
88058 _ASBOX
88059     ) |
88060       sed "s/^/$as_me: WARNING:     /" >&2
88061     ;;
88062 esac
88063 echo "$as_me:$LINENO: checking for $ac_header" >&5
88064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88066   echo $ECHO_N "(cached) $ECHO_C" >&6
88067 else
88068   eval "$as_ac_Header=\$ac_header_preproc"
88069 fi
88070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88072
88073 fi
88074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88075   cat >>confdefs.h <<_ACEOF
88076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88077 _ACEOF
88078  ac_has_wctype_h=yes
88079 else
88080   ac_has_wctype_h=no
88081 fi
88082
88083 done
88084
88085
88086   # Only continue checking if the ISO C99 headers exist and support is on.
88087   if test x"$ac_has_wchar_h" = xyes &&
88088      test x"$ac_has_wctype_h" = xyes &&
88089      test x"$enable_c_mbchar" != xno; then
88090
88091     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88092     # numeric_limits can instantiate type_traits<wchar_t>
88093     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88094 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88095     cat >conftest.$ac_ext <<_ACEOF
88096 /* confdefs.h.  */
88097 _ACEOF
88098 cat confdefs.h >>conftest.$ac_ext
88099 cat >>conftest.$ac_ext <<_ACEOF
88100 /* end confdefs.h.  */
88101 #include <wchar.h>
88102 int
88103 main ()
88104 {
88105 int i = WCHAR_MIN; int j = WCHAR_MAX;
88106   ;
88107   return 0;
88108 }
88109 _ACEOF
88110 rm -f conftest.$ac_objext
88111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88112   (eval $ac_compile) 2>conftest.er1
88113   ac_status=$?
88114   grep -v '^ *+' conftest.er1 >conftest.err
88115   rm -f conftest.er1
88116   cat conftest.err >&5
88117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88118   (exit $ac_status); } &&
88119          { ac_try='test -z "$ac_c_werror_flag"
88120                          || test ! -s conftest.err'
88121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88122   (eval $ac_try) 2>&5
88123   ac_status=$?
88124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88125   (exit $ac_status); }; } &&
88126          { ac_try='test -s conftest.$ac_objext'
88127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88128   (eval $ac_try) 2>&5
88129   ac_status=$?
88130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88131   (exit $ac_status); }; }; then
88132   has_wchar_minmax=yes
88133 else
88134   echo "$as_me: failed program was:" >&5
88135 sed 's/^/| /' conftest.$ac_ext >&5
88136
88137 has_wchar_minmax=no
88138 fi
88139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88140     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88141 echo "${ECHO_T}$has_wchar_minmax" >&6
88142
88143     # Test wchar.h for WEOF, which is what we use to determine whether
88144     # to specialize for char_traits<wchar_t> or not.
88145     echo "$as_me:$LINENO: checking for WEOF" >&5
88146 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88147     cat >conftest.$ac_ext <<_ACEOF
88148 /* confdefs.h.  */
88149 _ACEOF
88150 cat confdefs.h >>conftest.$ac_ext
88151 cat >>conftest.$ac_ext <<_ACEOF
88152 /* end confdefs.h.  */
88153
88154       #include <wchar.h>
88155       #include <stddef.h>
88156 int
88157 main ()
88158 {
88159 wint_t i = WEOF;
88160   ;
88161   return 0;
88162 }
88163 _ACEOF
88164 rm -f conftest.$ac_objext
88165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88166   (eval $ac_compile) 2>conftest.er1
88167   ac_status=$?
88168   grep -v '^ *+' conftest.er1 >conftest.err
88169   rm -f conftest.er1
88170   cat conftest.err >&5
88171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88172   (exit $ac_status); } &&
88173          { ac_try='test -z "$ac_c_werror_flag"
88174                          || test ! -s conftest.err'
88175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88176   (eval $ac_try) 2>&5
88177   ac_status=$?
88178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88179   (exit $ac_status); }; } &&
88180          { ac_try='test -s conftest.$ac_objext'
88181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88182   (eval $ac_try) 2>&5
88183   ac_status=$?
88184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88185   (exit $ac_status); }; }; then
88186   has_weof=yes
88187 else
88188   echo "$as_me: failed program was:" >&5
88189 sed 's/^/| /' conftest.$ac_ext >&5
88190
88191 has_weof=no
88192 fi
88193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88194     echo "$as_me:$LINENO: result: $has_weof" >&5
88195 echo "${ECHO_T}$has_weof" >&6
88196
88197     # Tests for wide character functions used in char_traits<wchar_t>.
88198     ac_wfuncs=yes
88199
88200
88201
88202
88203
88204
88205 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88206 do
88207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88208 echo "$as_me:$LINENO: checking for $ac_func" >&5
88209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88210 if eval "test \"\${$as_ac_var+set}\" = set"; then
88211   echo $ECHO_N "(cached) $ECHO_C" >&6
88212 else
88213   if test x$gcc_no_link = xyes; then
88214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88216    { (exit 1); exit 1; }; }
88217 fi
88218 cat >conftest.$ac_ext <<_ACEOF
88219 /* confdefs.h.  */
88220 _ACEOF
88221 cat confdefs.h >>conftest.$ac_ext
88222 cat >>conftest.$ac_ext <<_ACEOF
88223 /* end confdefs.h.  */
88224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88226 #define $ac_func innocuous_$ac_func
88227
88228 /* System header to define __stub macros and hopefully few prototypes,
88229     which can conflict with char $ac_func (); below.
88230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88231     <limits.h> exists even on freestanding compilers.  */
88232
88233 #ifdef __STDC__
88234 # include <limits.h>
88235 #else
88236 # include <assert.h>
88237 #endif
88238
88239 #undef $ac_func
88240
88241 /* Override any gcc2 internal prototype to avoid an error.  */
88242 #ifdef __cplusplus
88243 extern "C"
88244 {
88245 #endif
88246 /* We use char because int might match the return type of a gcc2
88247    builtin and then its argument prototype would still apply.  */
88248 char $ac_func ();
88249 /* The GNU C library defines this for functions which it implements
88250     to always fail with ENOSYS.  Some functions are actually named
88251     something starting with __ and the normal name is an alias.  */
88252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88253 choke me
88254 #else
88255 char (*f) () = $ac_func;
88256 #endif
88257 #ifdef __cplusplus
88258 }
88259 #endif
88260
88261 int
88262 main ()
88263 {
88264 return f != $ac_func;
88265   ;
88266   return 0;
88267 }
88268 _ACEOF
88269 rm -f conftest.$ac_objext conftest$ac_exeext
88270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88271   (eval $ac_link) 2>conftest.er1
88272   ac_status=$?
88273   grep -v '^ *+' conftest.er1 >conftest.err
88274   rm -f conftest.er1
88275   cat conftest.err >&5
88276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88277   (exit $ac_status); } &&
88278          { ac_try='test -z "$ac_c_werror_flag"
88279                          || test ! -s conftest.err'
88280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88281   (eval $ac_try) 2>&5
88282   ac_status=$?
88283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88284   (exit $ac_status); }; } &&
88285          { ac_try='test -s conftest$ac_exeext'
88286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88287   (eval $ac_try) 2>&5
88288   ac_status=$?
88289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88290   (exit $ac_status); }; }; then
88291   eval "$as_ac_var=yes"
88292 else
88293   echo "$as_me: failed program was:" >&5
88294 sed 's/^/| /' conftest.$ac_ext >&5
88295
88296 eval "$as_ac_var=no"
88297 fi
88298 rm -f conftest.err conftest.$ac_objext \
88299       conftest$ac_exeext conftest.$ac_ext
88300 fi
88301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88303 if test `eval echo '${'$as_ac_var'}'` = yes; then
88304   cat >>confdefs.h <<_ACEOF
88305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88306 _ACEOF
88307
88308 else
88309   ac_wfuncs=no
88310 fi
88311 done
88312
88313
88314     # Checks for names injected into std:: by the c_std headers.
88315
88316
88317
88318
88319
88320
88321
88322
88323
88324
88325
88326
88327
88328
88329
88330
88331
88332
88333
88334
88335
88336
88337
88338
88339
88340
88341
88342
88343
88344
88345
88346
88347
88348
88349
88350
88351
88352
88353
88354
88355
88356
88357
88358
88359
88360
88361 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88362     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88363     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88364     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88365     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88366     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88367 do
88368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88369 echo "$as_me:$LINENO: checking for $ac_func" >&5
88370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88371 if eval "test \"\${$as_ac_var+set}\" = set"; then
88372   echo $ECHO_N "(cached) $ECHO_C" >&6
88373 else
88374   if test x$gcc_no_link = xyes; then
88375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88377    { (exit 1); exit 1; }; }
88378 fi
88379 cat >conftest.$ac_ext <<_ACEOF
88380 /* confdefs.h.  */
88381 _ACEOF
88382 cat confdefs.h >>conftest.$ac_ext
88383 cat >>conftest.$ac_ext <<_ACEOF
88384 /* end confdefs.h.  */
88385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88387 #define $ac_func innocuous_$ac_func
88388
88389 /* System header to define __stub macros and hopefully few prototypes,
88390     which can conflict with char $ac_func (); below.
88391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88392     <limits.h> exists even on freestanding compilers.  */
88393
88394 #ifdef __STDC__
88395 # include <limits.h>
88396 #else
88397 # include <assert.h>
88398 #endif
88399
88400 #undef $ac_func
88401
88402 /* Override any gcc2 internal prototype to avoid an error.  */
88403 #ifdef __cplusplus
88404 extern "C"
88405 {
88406 #endif
88407 /* We use char because int might match the return type of a gcc2
88408    builtin and then its argument prototype would still apply.  */
88409 char $ac_func ();
88410 /* The GNU C library defines this for functions which it implements
88411     to always fail with ENOSYS.  Some functions are actually named
88412     something starting with __ and the normal name is an alias.  */
88413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88414 choke me
88415 #else
88416 char (*f) () = $ac_func;
88417 #endif
88418 #ifdef __cplusplus
88419 }
88420 #endif
88421
88422 int
88423 main ()
88424 {
88425 return f != $ac_func;
88426   ;
88427   return 0;
88428 }
88429 _ACEOF
88430 rm -f conftest.$ac_objext conftest$ac_exeext
88431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88432   (eval $ac_link) 2>conftest.er1
88433   ac_status=$?
88434   grep -v '^ *+' conftest.er1 >conftest.err
88435   rm -f conftest.er1
88436   cat conftest.err >&5
88437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88438   (exit $ac_status); } &&
88439          { ac_try='test -z "$ac_c_werror_flag"
88440                          || test ! -s conftest.err'
88441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88442   (eval $ac_try) 2>&5
88443   ac_status=$?
88444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88445   (exit $ac_status); }; } &&
88446          { ac_try='test -s conftest$ac_exeext'
88447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88448   (eval $ac_try) 2>&5
88449   ac_status=$?
88450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88451   (exit $ac_status); }; }; then
88452   eval "$as_ac_var=yes"
88453 else
88454   echo "$as_me: failed program was:" >&5
88455 sed 's/^/| /' conftest.$ac_ext >&5
88456
88457 eval "$as_ac_var=no"
88458 fi
88459 rm -f conftest.err conftest.$ac_objext \
88460       conftest$ac_exeext conftest.$ac_ext
88461 fi
88462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88464 if test `eval echo '${'$as_ac_var'}'` = yes; then
88465   cat >>confdefs.h <<_ACEOF
88466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88467 _ACEOF
88468
88469 else
88470   ac_wfuncs=no
88471 fi
88472 done
88473
88474
88475     # Checks for wide character functions that are not required
88476     # for basic wchar_t support.  Don't disable support if they are missing.
88477     # Injection of these is wrapped with guard macros.
88478
88479
88480
88481
88482
88483 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88484 do
88485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88486 echo "$as_me:$LINENO: checking for $ac_func" >&5
88487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88488 if eval "test \"\${$as_ac_var+set}\" = set"; then
88489   echo $ECHO_N "(cached) $ECHO_C" >&6
88490 else
88491   if test x$gcc_no_link = xyes; then
88492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88494    { (exit 1); exit 1; }; }
88495 fi
88496 cat >conftest.$ac_ext <<_ACEOF
88497 /* confdefs.h.  */
88498 _ACEOF
88499 cat confdefs.h >>conftest.$ac_ext
88500 cat >>conftest.$ac_ext <<_ACEOF
88501 /* end confdefs.h.  */
88502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88504 #define $ac_func innocuous_$ac_func
88505
88506 /* System header to define __stub macros and hopefully few prototypes,
88507     which can conflict with char $ac_func (); below.
88508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88509     <limits.h> exists even on freestanding compilers.  */
88510
88511 #ifdef __STDC__
88512 # include <limits.h>
88513 #else
88514 # include <assert.h>
88515 #endif
88516
88517 #undef $ac_func
88518
88519 /* Override any gcc2 internal prototype to avoid an error.  */
88520 #ifdef __cplusplus
88521 extern "C"
88522 {
88523 #endif
88524 /* We use char because int might match the return type of a gcc2
88525    builtin and then its argument prototype would still apply.  */
88526 char $ac_func ();
88527 /* The GNU C library defines this for functions which it implements
88528     to always fail with ENOSYS.  Some functions are actually named
88529     something starting with __ and the normal name is an alias.  */
88530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88531 choke me
88532 #else
88533 char (*f) () = $ac_func;
88534 #endif
88535 #ifdef __cplusplus
88536 }
88537 #endif
88538
88539 int
88540 main ()
88541 {
88542 return f != $ac_func;
88543   ;
88544   return 0;
88545 }
88546 _ACEOF
88547 rm -f conftest.$ac_objext conftest$ac_exeext
88548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88549   (eval $ac_link) 2>conftest.er1
88550   ac_status=$?
88551   grep -v '^ *+' conftest.er1 >conftest.err
88552   rm -f conftest.er1
88553   cat conftest.err >&5
88554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88555   (exit $ac_status); } &&
88556          { ac_try='test -z "$ac_c_werror_flag"
88557                          || test ! -s conftest.err'
88558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88559   (eval $ac_try) 2>&5
88560   ac_status=$?
88561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88562   (exit $ac_status); }; } &&
88563          { ac_try='test -s conftest$ac_exeext'
88564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88565   (eval $ac_try) 2>&5
88566   ac_status=$?
88567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88568   (exit $ac_status); }; }; then
88569   eval "$as_ac_var=yes"
88570 else
88571   echo "$as_me: failed program was:" >&5
88572 sed 's/^/| /' conftest.$ac_ext >&5
88573
88574 eval "$as_ac_var=no"
88575 fi
88576 rm -f conftest.err conftest.$ac_objext \
88577       conftest$ac_exeext conftest.$ac_ext
88578 fi
88579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88581 if test `eval echo '${'$as_ac_var'}'` = yes; then
88582   cat >>confdefs.h <<_ACEOF
88583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88584 _ACEOF
88585
88586 fi
88587 done
88588
88589
88590     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88591 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88592     if test x"$has_weof" = xyes &&
88593        test x"$has_wchar_minmax" = xyes &&
88594        test x"$ac_wfuncs" = xyes;
88595     then
88596       ac_isoC99_wchar_t=yes
88597     else
88598       ac_isoC99_wchar_t=no
88599     fi
88600     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88601 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88602
88603     # Use iconv for wchar_t to char conversions. As such, check for
88604     # X/Open Portability Guide, version 2 features (XPG2).
88605     if test "${ac_cv_header_iconv_h+set}" = set; then
88606   echo "$as_me:$LINENO: checking for iconv.h" >&5
88607 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88608 if test "${ac_cv_header_iconv_h+set}" = set; then
88609   echo $ECHO_N "(cached) $ECHO_C" >&6
88610 fi
88611 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88612 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88613 else
88614   # Is the header compilable?
88615 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88616 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88617 cat >conftest.$ac_ext <<_ACEOF
88618 /* confdefs.h.  */
88619 _ACEOF
88620 cat confdefs.h >>conftest.$ac_ext
88621 cat >>conftest.$ac_ext <<_ACEOF
88622 /* end confdefs.h.  */
88623 $ac_includes_default
88624 #include <iconv.h>
88625 _ACEOF
88626 rm -f conftest.$ac_objext
88627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88628   (eval $ac_compile) 2>conftest.er1
88629   ac_status=$?
88630   grep -v '^ *+' conftest.er1 >conftest.err
88631   rm -f conftest.er1
88632   cat conftest.err >&5
88633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88634   (exit $ac_status); } &&
88635          { ac_try='test -z "$ac_c_werror_flag"
88636                          || test ! -s conftest.err'
88637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88638   (eval $ac_try) 2>&5
88639   ac_status=$?
88640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88641   (exit $ac_status); }; } &&
88642          { ac_try='test -s conftest.$ac_objext'
88643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88644   (eval $ac_try) 2>&5
88645   ac_status=$?
88646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88647   (exit $ac_status); }; }; then
88648   ac_header_compiler=yes
88649 else
88650   echo "$as_me: failed program was:" >&5
88651 sed 's/^/| /' conftest.$ac_ext >&5
88652
88653 ac_header_compiler=no
88654 fi
88655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88657 echo "${ECHO_T}$ac_header_compiler" >&6
88658
88659 # Is the header present?
88660 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88661 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88662 cat >conftest.$ac_ext <<_ACEOF
88663 /* confdefs.h.  */
88664 _ACEOF
88665 cat confdefs.h >>conftest.$ac_ext
88666 cat >>conftest.$ac_ext <<_ACEOF
88667 /* end confdefs.h.  */
88668 #include <iconv.h>
88669 _ACEOF
88670 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88671   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88672   ac_status=$?
88673   grep -v '^ *+' conftest.er1 >conftest.err
88674   rm -f conftest.er1
88675   cat conftest.err >&5
88676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88677   (exit $ac_status); } >/dev/null; then
88678   if test -s conftest.err; then
88679     ac_cpp_err=$ac_c_preproc_warn_flag
88680     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88681   else
88682     ac_cpp_err=
88683   fi
88684 else
88685   ac_cpp_err=yes
88686 fi
88687 if test -z "$ac_cpp_err"; then
88688   ac_header_preproc=yes
88689 else
88690   echo "$as_me: failed program was:" >&5
88691 sed 's/^/| /' conftest.$ac_ext >&5
88692
88693   ac_header_preproc=no
88694 fi
88695 rm -f conftest.err conftest.$ac_ext
88696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88697 echo "${ECHO_T}$ac_header_preproc" >&6
88698
88699 # So?  What about this header?
88700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88701   yes:no: )
88702     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88703 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88704     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88705 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88706     ac_header_preproc=yes
88707     ;;
88708   no:yes:* )
88709     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88710 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88711     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
88712 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
88713     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88714 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88715     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
88716 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88717     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88718 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88719     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88720 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88721     (
88722       cat <<\_ASBOX
88723 ## ----------------------------------------- ##
88724 ## Report this to the package-unused lists.  ##
88725 ## ----------------------------------------- ##
88726 _ASBOX
88727     ) |
88728       sed "s/^/$as_me: WARNING:     /" >&2
88729     ;;
88730 esac
88731 echo "$as_me:$LINENO: checking for iconv.h" >&5
88732 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88733 if test "${ac_cv_header_iconv_h+set}" = set; then
88734   echo $ECHO_N "(cached) $ECHO_C" >&6
88735 else
88736   ac_cv_header_iconv_h=$ac_header_preproc
88737 fi
88738 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88739 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88740
88741 fi
88742 if test $ac_cv_header_iconv_h = yes; then
88743   ac_has_iconv_h=yes
88744 else
88745   ac_has_iconv_h=no
88746 fi
88747
88748
88749     if test "${ac_cv_header_langinfo_h+set}" = set; then
88750   echo "$as_me:$LINENO: checking for langinfo.h" >&5
88751 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88752 if test "${ac_cv_header_langinfo_h+set}" = set; then
88753   echo $ECHO_N "(cached) $ECHO_C" >&6
88754 fi
88755 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88756 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88757 else
88758   # Is the header compilable?
88759 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88760 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88761 cat >conftest.$ac_ext <<_ACEOF
88762 /* confdefs.h.  */
88763 _ACEOF
88764 cat confdefs.h >>conftest.$ac_ext
88765 cat >>conftest.$ac_ext <<_ACEOF
88766 /* end confdefs.h.  */
88767 $ac_includes_default
88768 #include <langinfo.h>
88769 _ACEOF
88770 rm -f conftest.$ac_objext
88771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88772   (eval $ac_compile) 2>conftest.er1
88773   ac_status=$?
88774   grep -v '^ *+' conftest.er1 >conftest.err
88775   rm -f conftest.er1
88776   cat conftest.err >&5
88777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88778   (exit $ac_status); } &&
88779          { ac_try='test -z "$ac_c_werror_flag"
88780                          || test ! -s conftest.err'
88781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88782   (eval $ac_try) 2>&5
88783   ac_status=$?
88784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88785   (exit $ac_status); }; } &&
88786          { ac_try='test -s conftest.$ac_objext'
88787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88788   (eval $ac_try) 2>&5
88789   ac_status=$?
88790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88791   (exit $ac_status); }; }; then
88792   ac_header_compiler=yes
88793 else
88794   echo "$as_me: failed program was:" >&5
88795 sed 's/^/| /' conftest.$ac_ext >&5
88796
88797 ac_header_compiler=no
88798 fi
88799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88801 echo "${ECHO_T}$ac_header_compiler" >&6
88802
88803 # Is the header present?
88804 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88805 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88806 cat >conftest.$ac_ext <<_ACEOF
88807 /* confdefs.h.  */
88808 _ACEOF
88809 cat confdefs.h >>conftest.$ac_ext
88810 cat >>conftest.$ac_ext <<_ACEOF
88811 /* end confdefs.h.  */
88812 #include <langinfo.h>
88813 _ACEOF
88814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88815   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88816   ac_status=$?
88817   grep -v '^ *+' conftest.er1 >conftest.err
88818   rm -f conftest.er1
88819   cat conftest.err >&5
88820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88821   (exit $ac_status); } >/dev/null; then
88822   if test -s conftest.err; then
88823     ac_cpp_err=$ac_c_preproc_warn_flag
88824     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88825   else
88826     ac_cpp_err=
88827   fi
88828 else
88829   ac_cpp_err=yes
88830 fi
88831 if test -z "$ac_cpp_err"; then
88832   ac_header_preproc=yes
88833 else
88834   echo "$as_me: failed program was:" >&5
88835 sed 's/^/| /' conftest.$ac_ext >&5
88836
88837   ac_header_preproc=no
88838 fi
88839 rm -f conftest.err conftest.$ac_ext
88840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88841 echo "${ECHO_T}$ac_header_preproc" >&6
88842
88843 # So?  What about this header?
88844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88845   yes:no: )
88846     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
88847 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88848     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
88849 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
88850     ac_header_preproc=yes
88851     ;;
88852   no:yes:* )
88853     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
88854 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
88855     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
88856 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
88857     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
88858 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
88859     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
88860 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88861     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
88862 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
88863     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88864 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88865     (
88866       cat <<\_ASBOX
88867 ## ----------------------------------------- ##
88868 ## Report this to the package-unused lists.  ##
88869 ## ----------------------------------------- ##
88870 _ASBOX
88871     ) |
88872       sed "s/^/$as_me: WARNING:     /" >&2
88873     ;;
88874 esac
88875 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88876 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88877 if test "${ac_cv_header_langinfo_h+set}" = set; then
88878   echo $ECHO_N "(cached) $ECHO_C" >&6
88879 else
88880   ac_cv_header_langinfo_h=$ac_header_preproc
88881 fi
88882 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88883 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88884
88885 fi
88886 if test $ac_cv_header_langinfo_h = yes; then
88887   ac_has_langinfo_h=yes
88888 else
88889   ac_has_langinfo_h=no
88890 fi
88891
88892
88893
88894     # Check for existence of libiconv.a providing XPG2 wchar_t support.
88895     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88896 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88897 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88898   echo $ECHO_N "(cached) $ECHO_C" >&6
88899 else
88900   ac_check_lib_save_LIBS=$LIBS
88901 LIBS="-liconv  $LIBS"
88902 if test x$gcc_no_link = xyes; then
88903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88905    { (exit 1); exit 1; }; }
88906 fi
88907 cat >conftest.$ac_ext <<_ACEOF
88908 /* confdefs.h.  */
88909 _ACEOF
88910 cat confdefs.h >>conftest.$ac_ext
88911 cat >>conftest.$ac_ext <<_ACEOF
88912 /* end confdefs.h.  */
88913
88914 /* Override any gcc2 internal prototype to avoid an error.  */
88915 #ifdef __cplusplus
88916 extern "C"
88917 #endif
88918 /* We use char because int might match the return type of a gcc2
88919    builtin and then its argument prototype would still apply.  */
88920 char iconv ();
88921 int
88922 main ()
88923 {
88924 iconv ();
88925   ;
88926   return 0;
88927 }
88928 _ACEOF
88929 rm -f conftest.$ac_objext conftest$ac_exeext
88930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88931   (eval $ac_link) 2>conftest.er1
88932   ac_status=$?
88933   grep -v '^ *+' conftest.er1 >conftest.err
88934   rm -f conftest.er1
88935   cat conftest.err >&5
88936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88937   (exit $ac_status); } &&
88938          { ac_try='test -z "$ac_c_werror_flag"
88939                          || test ! -s conftest.err'
88940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88941   (eval $ac_try) 2>&5
88942   ac_status=$?
88943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88944   (exit $ac_status); }; } &&
88945          { ac_try='test -s conftest$ac_exeext'
88946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88947   (eval $ac_try) 2>&5
88948   ac_status=$?
88949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88950   (exit $ac_status); }; }; then
88951   ac_cv_lib_iconv_iconv=yes
88952 else
88953   echo "$as_me: failed program was:" >&5
88954 sed 's/^/| /' conftest.$ac_ext >&5
88955
88956 ac_cv_lib_iconv_iconv=no
88957 fi
88958 rm -f conftest.err conftest.$ac_objext \
88959       conftest$ac_exeext conftest.$ac_ext
88960 LIBS=$ac_check_lib_save_LIBS
88961 fi
88962 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88963 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88964 if test $ac_cv_lib_iconv_iconv = yes; then
88965   libiconv="-liconv"
88966 fi
88967
88968     ac_save_LIBS="$LIBS"
88969     LIBS="$LIBS $libiconv"
88970
88971
88972
88973
88974
88975 for ac_func in iconv_open iconv_close iconv nl_langinfo
88976 do
88977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88978 echo "$as_me:$LINENO: checking for $ac_func" >&5
88979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88980 if eval "test \"\${$as_ac_var+set}\" = set"; then
88981   echo $ECHO_N "(cached) $ECHO_C" >&6
88982 else
88983   if test x$gcc_no_link = xyes; then
88984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88986    { (exit 1); exit 1; }; }
88987 fi
88988 cat >conftest.$ac_ext <<_ACEOF
88989 /* confdefs.h.  */
88990 _ACEOF
88991 cat confdefs.h >>conftest.$ac_ext
88992 cat >>conftest.$ac_ext <<_ACEOF
88993 /* end confdefs.h.  */
88994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88996 #define $ac_func innocuous_$ac_func
88997
88998 /* System header to define __stub macros and hopefully few prototypes,
88999     which can conflict with char $ac_func (); below.
89000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89001     <limits.h> exists even on freestanding compilers.  */
89002
89003 #ifdef __STDC__
89004 # include <limits.h>
89005 #else
89006 # include <assert.h>
89007 #endif
89008
89009 #undef $ac_func
89010
89011 /* Override any gcc2 internal prototype to avoid an error.  */
89012 #ifdef __cplusplus
89013 extern "C"
89014 {
89015 #endif
89016 /* We use char because int might match the return type of a gcc2
89017    builtin and then its argument prototype would still apply.  */
89018 char $ac_func ();
89019 /* The GNU C library defines this for functions which it implements
89020     to always fail with ENOSYS.  Some functions are actually named
89021     something starting with __ and the normal name is an alias.  */
89022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89023 choke me
89024 #else
89025 char (*f) () = $ac_func;
89026 #endif
89027 #ifdef __cplusplus
89028 }
89029 #endif
89030
89031 int
89032 main ()
89033 {
89034 return f != $ac_func;
89035   ;
89036   return 0;
89037 }
89038 _ACEOF
89039 rm -f conftest.$ac_objext conftest$ac_exeext
89040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89041   (eval $ac_link) 2>conftest.er1
89042   ac_status=$?
89043   grep -v '^ *+' conftest.er1 >conftest.err
89044   rm -f conftest.er1
89045   cat conftest.err >&5
89046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89047   (exit $ac_status); } &&
89048          { ac_try='test -z "$ac_c_werror_flag"
89049                          || test ! -s conftest.err'
89050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89051   (eval $ac_try) 2>&5
89052   ac_status=$?
89053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89054   (exit $ac_status); }; } &&
89055          { ac_try='test -s conftest$ac_exeext'
89056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89057   (eval $ac_try) 2>&5
89058   ac_status=$?
89059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89060   (exit $ac_status); }; }; then
89061   eval "$as_ac_var=yes"
89062 else
89063   echo "$as_me: failed program was:" >&5
89064 sed 's/^/| /' conftest.$ac_ext >&5
89065
89066 eval "$as_ac_var=no"
89067 fi
89068 rm -f conftest.err conftest.$ac_objext \
89069       conftest$ac_exeext conftest.$ac_ext
89070 fi
89071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89073 if test `eval echo '${'$as_ac_var'}'` = yes; then
89074   cat >>confdefs.h <<_ACEOF
89075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89076 _ACEOF
89077  ac_XPG2funcs=yes
89078 else
89079   ac_XPG2funcs=no
89080 fi
89081 done
89082
89083
89084     LIBS="$ac_save_LIBS"
89085
89086     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89087 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89088     if test x"$ac_has_iconv_h" = xyes &&
89089        test x"$ac_has_langinfo_h" = xyes &&
89090        test x"$ac_XPG2funcs" = xyes;
89091     then
89092       ac_XPG2_wchar_t=yes
89093     else
89094       ac_XPG2_wchar_t=no
89095     fi
89096     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89097 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89098
89099     # At the moment, only enable wchar_t specializations if all the
89100     # above support is present.
89101     if test x"$ac_isoC99_wchar_t" = xyes &&
89102        test x"$ac_XPG2_wchar_t" = xyes;
89103     then
89104       cat >>confdefs.h <<\_ACEOF
89105 #define _GLIBCXX_USE_WCHAR_T 1
89106 _ACEOF
89107
89108       enable_wchar_t=yes
89109     fi
89110   fi
89111   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89112 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89113   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89114 echo "${ECHO_T}$enable_wchar_t" >&6
89115
89116     cat >>confdefs.h <<\_ACEOF
89117 #define HAVE_COSF 1
89118 _ACEOF
89119
89120     cat >>confdefs.h <<\_ACEOF
89121 #define HAVE_COSL 1
89122 _ACEOF
89123
89124     cat >>confdefs.h <<\_ACEOF
89125 #define HAVE_COSHF 1
89126 _ACEOF
89127
89128     cat >>confdefs.h <<\_ACEOF
89129 #define HAVE_COSHL 1
89130 _ACEOF
89131
89132     cat >>confdefs.h <<\_ACEOF
89133 #define HAVE_LOGF 1
89134 _ACEOF
89135
89136     cat >>confdefs.h <<\_ACEOF
89137 #define HAVE_LOGL 1
89138 _ACEOF
89139
89140     cat >>confdefs.h <<\_ACEOF
89141 #define HAVE_LOG10F 1
89142 _ACEOF
89143
89144     cat >>confdefs.h <<\_ACEOF
89145 #define HAVE_LOG10L 1
89146 _ACEOF
89147
89148     cat >>confdefs.h <<\_ACEOF
89149 #define HAVE_SINF 1
89150 _ACEOF
89151
89152     cat >>confdefs.h <<\_ACEOF
89153 #define HAVE_SINL 1
89154 _ACEOF
89155
89156     cat >>confdefs.h <<\_ACEOF
89157 #define HAVE_SINHF 1
89158 _ACEOF
89159
89160     cat >>confdefs.h <<\_ACEOF
89161 #define HAVE_SINHL 1
89162 _ACEOF
89163
89164     ;;
89165   *-solaris*)
89166     case "$target" in
89167     #  *-solaris2.5)
89168     #    os_include_dir="os/solaris/solaris2.5"
89169     #    ;;
89170     #  *-solaris2.6)
89171     #    os_include_dir="os/solaris/solaris2.6"
89172     #    ;;
89173       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
89174          cat >>confdefs.h <<\_ACEOF
89175 #define HAVE_GETPAGESIZE 1
89176 _ACEOF
89177
89178          cat >>confdefs.h <<\_ACEOF
89179 #define HAVE_SIGSETJMP 1
89180 _ACEOF
89181
89182          cat >>confdefs.h <<\_ACEOF
89183 #define HAVE_MBSTATE_T 1
89184 _ACEOF
89185
89186          cat >>confdefs.h <<\_ACEOF
89187 #define HAVE_POLL 1
89188 _ACEOF
89189
89190          cat >>confdefs.h <<\_ACEOF
89191 #define HAVE_S_ISREG 1
89192 _ACEOF
89193
89194          cat >>confdefs.h <<\_ACEOF
89195 #define HAVE_LC_MESSAGES 1
89196 _ACEOF
89197
89198          cat >>confdefs.h <<\_ACEOF
89199 #define HAVE_BTOWC 1
89200 _ACEOF
89201
89202          cat >>confdefs.h <<\_ACEOF
89203 #define HAVE_FGETWC 1
89204 _ACEOF
89205
89206          cat >>confdefs.h <<\_ACEOF
89207 #define HAVE_FGETWS 1
89208 _ACEOF
89209
89210          cat >>confdefs.h <<\_ACEOF
89211 #define HAVE_FINITE 1
89212 _ACEOF
89213
89214          cat >>confdefs.h <<\_ACEOF
89215 #define HAVE_FPCLASS 1
89216 _ACEOF
89217
89218          cat >>confdefs.h <<\_ACEOF
89219 #define HAVE_FPUTWC 1
89220 _ACEOF
89221
89222          cat >>confdefs.h <<\_ACEOF
89223 #define HAVE_FPUTWS 1
89224 _ACEOF
89225
89226          cat >>confdefs.h <<\_ACEOF
89227 #define HAVE_FWIDE 1
89228 _ACEOF
89229
89230          cat >>confdefs.h <<\_ACEOF
89231 #define HAVE_FWPRINTF 1
89232 _ACEOF
89233
89234          cat >>confdefs.h <<\_ACEOF
89235 #define HAVE_FWSCANF 1
89236 _ACEOF
89237
89238          cat >>confdefs.h <<\_ACEOF
89239 #define HAVE_GETPAGESIZE 1
89240 _ACEOF
89241
89242          cat >>confdefs.h <<\_ACEOF
89243 #define HAVE_GETWC 1
89244 _ACEOF
89245
89246          cat >>confdefs.h <<\_ACEOF
89247 #define HAVE_GETWCHAR 1
89248 _ACEOF
89249
89250          cat >>confdefs.h <<\_ACEOF
89251 #define HAVE_MBRLEN 1
89252 _ACEOF
89253
89254          cat >>confdefs.h <<\_ACEOF
89255 #define HAVE_MBRTOWC 1
89256 _ACEOF
89257
89258          cat >>confdefs.h <<\_ACEOF
89259 #define HAVE_MBSINIT 1
89260 _ACEOF
89261
89262          cat >>confdefs.h <<\_ACEOF
89263 #define HAVE_MBSRTOWCS 1
89264 _ACEOF
89265
89266          cat >>confdefs.h <<\_ACEOF
89267 #define HAVE_NL_LANGINFO 1
89268 _ACEOF
89269
89270          cat >>confdefs.h <<\_ACEOF
89271 #define HAVE_PUTWC 1
89272 _ACEOF
89273
89274          cat >>confdefs.h <<\_ACEOF
89275 #define HAVE_PUTWCHAR 1
89276 _ACEOF
89277
89278          cat >>confdefs.h <<\_ACEOF
89279 #define HAVE_SWPRINTF 1
89280 _ACEOF
89281
89282          cat >>confdefs.h <<\_ACEOF
89283 #define HAVE_SWSCANF 1
89284 _ACEOF
89285
89286          cat >>confdefs.h <<\_ACEOF
89287 #define HAVE_UNGETWC 1
89288 _ACEOF
89289
89290          cat >>confdefs.h <<\_ACEOF
89291 #define HAVE_VFWPRINTF 1
89292 _ACEOF
89293
89294          cat >>confdefs.h <<\_ACEOF
89295 #define HAVE_VSWPRINTF 1
89296 _ACEOF
89297
89298          cat >>confdefs.h <<\_ACEOF
89299 #define HAVE_VWPRINTF 1
89300 _ACEOF
89301
89302          cat >>confdefs.h <<\_ACEOF
89303 #define HAVE_WCRTOMB 1
89304 _ACEOF
89305
89306          cat >>confdefs.h <<\_ACEOF
89307 #define HAVE_WCSCAT 1
89308 _ACEOF
89309
89310          cat >>confdefs.h <<\_ACEOF
89311 #define HAVE_WCSCHR 1
89312 _ACEOF
89313
89314          cat >>confdefs.h <<\_ACEOF
89315 #define HAVE_WCSCMP 1
89316 _ACEOF
89317
89318          cat >>confdefs.h <<\_ACEOF
89319 #define HAVE_WCSCOLL 1
89320 _ACEOF
89321
89322          cat >>confdefs.h <<\_ACEOF
89323 #define HAVE_WCSCPY 1
89324 _ACEOF
89325
89326          cat >>confdefs.h <<\_ACEOF
89327 #define HAVE_WCSCSPN 1
89328 _ACEOF
89329
89330          cat >>confdefs.h <<\_ACEOF
89331 #define HAVE_WCSFTIME 1
89332 _ACEOF
89333
89334          cat >>confdefs.h <<\_ACEOF
89335 #define HAVE_WCSLEN 1
89336 _ACEOF
89337
89338          cat >>confdefs.h <<\_ACEOF
89339 #define HAVE_WCSNCAT 1
89340 _ACEOF
89341
89342          cat >>confdefs.h <<\_ACEOF
89343 #define HAVE_WCSNCMP 1
89344 _ACEOF
89345
89346          cat >>confdefs.h <<\_ACEOF
89347 #define HAVE_WCSNCPY 1
89348 _ACEOF
89349
89350          cat >>confdefs.h <<\_ACEOF
89351 #define HAVE_WCSPBRK 1
89352 _ACEOF
89353
89354          cat >>confdefs.h <<\_ACEOF
89355 #define HAVE_WCSRCHR 1
89356 _ACEOF
89357
89358          cat >>confdefs.h <<\_ACEOF
89359 #define HAVE_WCSRTOMBS 1
89360 _ACEOF
89361
89362          cat >>confdefs.h <<\_ACEOF
89363 #define HAVE_WCSSPN 1
89364 _ACEOF
89365
89366          cat >>confdefs.h <<\_ACEOF
89367 #define HAVE_WCSSTR 1
89368 _ACEOF
89369
89370          cat >>confdefs.h <<\_ACEOF
89371 #define HAVE_WCSTOD 1
89372 _ACEOF
89373
89374          cat >>confdefs.h <<\_ACEOF
89375 #define HAVE_WCSTOK 1
89376 _ACEOF
89377
89378          cat >>confdefs.h <<\_ACEOF
89379 #define HAVE_WCSTOL 1
89380 _ACEOF
89381
89382          cat >>confdefs.h <<\_ACEOF
89383 #define HAVE_WCSTOUL 1
89384 _ACEOF
89385
89386          cat >>confdefs.h <<\_ACEOF
89387 #define HAVE_WCSXFRM 1
89388 _ACEOF
89389
89390          cat >>confdefs.h <<\_ACEOF
89391 #define HAVE_WCTOB 1
89392 _ACEOF
89393
89394          cat >>confdefs.h <<\_ACEOF
89395 #define HAVE_WMEMCHR 1
89396 _ACEOF
89397
89398          cat >>confdefs.h <<\_ACEOF
89399 #define HAVE_WMEMCMP 1
89400 _ACEOF
89401
89402          cat >>confdefs.h <<\_ACEOF
89403 #define HAVE_WMEMCPY 1
89404 _ACEOF
89405
89406          cat >>confdefs.h <<\_ACEOF
89407 #define HAVE_WMEMMOVE 1
89408 _ACEOF
89409
89410          cat >>confdefs.h <<\_ACEOF
89411 #define HAVE_WMEMSET 1
89412 _ACEOF
89413
89414          cat >>confdefs.h <<\_ACEOF
89415 #define HAVE_WPRINTF 1
89416 _ACEOF
89417
89418          cat >>confdefs.h <<\_ACEOF
89419 #define HAVE_WSCANF 1
89420 _ACEOF
89421
89422          cat >>confdefs.h <<\_ACEOF
89423 #define HAVE_ICONV 1
89424 _ACEOF
89425
89426          cat >>confdefs.h <<\_ACEOF
89427 #define HAVE_ICONV_CLOSE 1
89428 _ACEOF
89429
89430          cat >>confdefs.h <<\_ACEOF
89431 #define HAVE_ICONV_OPEN 1
89432 _ACEOF
89433
89434          # Look for the pieces required for wchar_t support in order to
89435          # get all the right HAVE_* macros defined.
89436
89437   # Test wchar.h for mbstate_t, which is needed for char_traits and
89438   # others even if wchar_t support is not on.
89439   echo "$as_me:$LINENO: checking for mbstate_t" >&5
89440 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
89441   cat >conftest.$ac_ext <<_ACEOF
89442 /* confdefs.h.  */
89443 _ACEOF
89444 cat confdefs.h >>conftest.$ac_ext
89445 cat >>conftest.$ac_ext <<_ACEOF
89446 /* end confdefs.h.  */
89447 #include <wchar.h>
89448 int
89449 main ()
89450 {
89451 mbstate_t teststate;
89452   ;
89453   return 0;
89454 }
89455 _ACEOF
89456 rm -f conftest.$ac_objext
89457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89458   (eval $ac_compile) 2>conftest.er1
89459   ac_status=$?
89460   grep -v '^ *+' conftest.er1 >conftest.err
89461   rm -f conftest.er1
89462   cat conftest.err >&5
89463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89464   (exit $ac_status); } &&
89465          { ac_try='test -z "$ac_c_werror_flag"
89466                          || test ! -s conftest.err'
89467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89468   (eval $ac_try) 2>&5
89469   ac_status=$?
89470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89471   (exit $ac_status); }; } &&
89472          { ac_try='test -s conftest.$ac_objext'
89473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89474   (eval $ac_try) 2>&5
89475   ac_status=$?
89476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89477   (exit $ac_status); }; }; then
89478   have_mbstate_t=yes
89479 else
89480   echo "$as_me: failed program was:" >&5
89481 sed 's/^/| /' conftest.$ac_ext >&5
89482
89483 have_mbstate_t=no
89484 fi
89485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89486   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
89487 echo "${ECHO_T}$have_mbstate_t" >&6
89488   if test x"$have_mbstate_t" = xyes; then
89489     cat >>confdefs.h <<\_ACEOF
89490 #define HAVE_MBSTATE_T 1
89491 _ACEOF
89492
89493   fi
89494
89495   # Sanity check for existence of ISO C99 headers for extended encoding.
89496
89497 for ac_header in wchar.h
89498 do
89499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89501   echo "$as_me:$LINENO: checking for $ac_header" >&5
89502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89504   echo $ECHO_N "(cached) $ECHO_C" >&6
89505 fi
89506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89508 else
89509   # Is the header compilable?
89510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89511 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89512 cat >conftest.$ac_ext <<_ACEOF
89513 /* confdefs.h.  */
89514 _ACEOF
89515 cat confdefs.h >>conftest.$ac_ext
89516 cat >>conftest.$ac_ext <<_ACEOF
89517 /* end confdefs.h.  */
89518 $ac_includes_default
89519 #include <$ac_header>
89520 _ACEOF
89521 rm -f conftest.$ac_objext
89522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89523   (eval $ac_compile) 2>conftest.er1
89524   ac_status=$?
89525   grep -v '^ *+' conftest.er1 >conftest.err
89526   rm -f conftest.er1
89527   cat conftest.err >&5
89528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89529   (exit $ac_status); } &&
89530          { ac_try='test -z "$ac_c_werror_flag"
89531                          || test ! -s conftest.err'
89532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89533   (eval $ac_try) 2>&5
89534   ac_status=$?
89535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89536   (exit $ac_status); }; } &&
89537          { ac_try='test -s conftest.$ac_objext'
89538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89539   (eval $ac_try) 2>&5
89540   ac_status=$?
89541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89542   (exit $ac_status); }; }; then
89543   ac_header_compiler=yes
89544 else
89545   echo "$as_me: failed program was:" >&5
89546 sed 's/^/| /' conftest.$ac_ext >&5
89547
89548 ac_header_compiler=no
89549 fi
89550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89552 echo "${ECHO_T}$ac_header_compiler" >&6
89553
89554 # Is the header present?
89555 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89556 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89557 cat >conftest.$ac_ext <<_ACEOF
89558 /* confdefs.h.  */
89559 _ACEOF
89560 cat confdefs.h >>conftest.$ac_ext
89561 cat >>conftest.$ac_ext <<_ACEOF
89562 /* end confdefs.h.  */
89563 #include <$ac_header>
89564 _ACEOF
89565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89566   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89567   ac_status=$?
89568   grep -v '^ *+' conftest.er1 >conftest.err
89569   rm -f conftest.er1
89570   cat conftest.err >&5
89571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89572   (exit $ac_status); } >/dev/null; then
89573   if test -s conftest.err; then
89574     ac_cpp_err=$ac_c_preproc_warn_flag
89575     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89576   else
89577     ac_cpp_err=
89578   fi
89579 else
89580   ac_cpp_err=yes
89581 fi
89582 if test -z "$ac_cpp_err"; then
89583   ac_header_preproc=yes
89584 else
89585   echo "$as_me: failed program was:" >&5
89586 sed 's/^/| /' conftest.$ac_ext >&5
89587
89588   ac_header_preproc=no
89589 fi
89590 rm -f conftest.err conftest.$ac_ext
89591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89592 echo "${ECHO_T}$ac_header_preproc" >&6
89593
89594 # So?  What about this header?
89595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89596   yes:no: )
89597     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89598 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89599     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89600 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89601     ac_header_preproc=yes
89602     ;;
89603   no:yes:* )
89604     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89606     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89607 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89608     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89609 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89610     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89611 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89612     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89613 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89614     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89615 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89616     (
89617       cat <<\_ASBOX
89618 ## ----------------------------------------- ##
89619 ## Report this to the package-unused lists.  ##
89620 ## ----------------------------------------- ##
89621 _ASBOX
89622     ) |
89623       sed "s/^/$as_me: WARNING:     /" >&2
89624     ;;
89625 esac
89626 echo "$as_me:$LINENO: checking for $ac_header" >&5
89627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89629   echo $ECHO_N "(cached) $ECHO_C" >&6
89630 else
89631   eval "$as_ac_Header=\$ac_header_preproc"
89632 fi
89633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89635
89636 fi
89637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89638   cat >>confdefs.h <<_ACEOF
89639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89640 _ACEOF
89641  ac_has_wchar_h=yes
89642 else
89643   ac_has_wchar_h=no
89644 fi
89645
89646 done
89647
89648
89649 for ac_header in wctype.h
89650 do
89651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89653   echo "$as_me:$LINENO: checking for $ac_header" >&5
89654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89656   echo $ECHO_N "(cached) $ECHO_C" >&6
89657 fi
89658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89660 else
89661   # Is the header compilable?
89662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89664 cat >conftest.$ac_ext <<_ACEOF
89665 /* confdefs.h.  */
89666 _ACEOF
89667 cat confdefs.h >>conftest.$ac_ext
89668 cat >>conftest.$ac_ext <<_ACEOF
89669 /* end confdefs.h.  */
89670 $ac_includes_default
89671 #include <$ac_header>
89672 _ACEOF
89673 rm -f conftest.$ac_objext
89674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89675   (eval $ac_compile) 2>conftest.er1
89676   ac_status=$?
89677   grep -v '^ *+' conftest.er1 >conftest.err
89678   rm -f conftest.er1
89679   cat conftest.err >&5
89680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89681   (exit $ac_status); } &&
89682          { ac_try='test -z "$ac_c_werror_flag"
89683                          || test ! -s conftest.err'
89684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89685   (eval $ac_try) 2>&5
89686   ac_status=$?
89687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89688   (exit $ac_status); }; } &&
89689          { ac_try='test -s conftest.$ac_objext'
89690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89691   (eval $ac_try) 2>&5
89692   ac_status=$?
89693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89694   (exit $ac_status); }; }; then
89695   ac_header_compiler=yes
89696 else
89697   echo "$as_me: failed program was:" >&5
89698 sed 's/^/| /' conftest.$ac_ext >&5
89699
89700 ac_header_compiler=no
89701 fi
89702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89704 echo "${ECHO_T}$ac_header_compiler" >&6
89705
89706 # Is the header present?
89707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89709 cat >conftest.$ac_ext <<_ACEOF
89710 /* confdefs.h.  */
89711 _ACEOF
89712 cat confdefs.h >>conftest.$ac_ext
89713 cat >>conftest.$ac_ext <<_ACEOF
89714 /* end confdefs.h.  */
89715 #include <$ac_header>
89716 _ACEOF
89717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89718   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89719   ac_status=$?
89720   grep -v '^ *+' conftest.er1 >conftest.err
89721   rm -f conftest.er1
89722   cat conftest.err >&5
89723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89724   (exit $ac_status); } >/dev/null; then
89725   if test -s conftest.err; then
89726     ac_cpp_err=$ac_c_preproc_warn_flag
89727     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89728   else
89729     ac_cpp_err=
89730   fi
89731 else
89732   ac_cpp_err=yes
89733 fi
89734 if test -z "$ac_cpp_err"; then
89735   ac_header_preproc=yes
89736 else
89737   echo "$as_me: failed program was:" >&5
89738 sed 's/^/| /' conftest.$ac_ext >&5
89739
89740   ac_header_preproc=no
89741 fi
89742 rm -f conftest.err conftest.$ac_ext
89743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89744 echo "${ECHO_T}$ac_header_preproc" >&6
89745
89746 # So?  What about this header?
89747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89748   yes:no: )
89749     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89751     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89753     ac_header_preproc=yes
89754     ;;
89755   no:yes:* )
89756     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89758     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89759 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89760     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89762     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89763 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89764     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89766     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89768     (
89769       cat <<\_ASBOX
89770 ## ----------------------------------------- ##
89771 ## Report this to the package-unused lists.  ##
89772 ## ----------------------------------------- ##
89773 _ASBOX
89774     ) |
89775       sed "s/^/$as_me: WARNING:     /" >&2
89776     ;;
89777 esac
89778 echo "$as_me:$LINENO: checking for $ac_header" >&5
89779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89781   echo $ECHO_N "(cached) $ECHO_C" >&6
89782 else
89783   eval "$as_ac_Header=\$ac_header_preproc"
89784 fi
89785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89787
89788 fi
89789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89790   cat >>confdefs.h <<_ACEOF
89791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89792 _ACEOF
89793  ac_has_wctype_h=yes
89794 else
89795   ac_has_wctype_h=no
89796 fi
89797
89798 done
89799
89800
89801   # Only continue checking if the ISO C99 headers exist and support is on.
89802   if test x"$ac_has_wchar_h" = xyes &&
89803      test x"$ac_has_wctype_h" = xyes &&
89804      test x"$enable_c_mbchar" != xno; then
89805
89806     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
89807     # numeric_limits can instantiate type_traits<wchar_t>
89808     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
89809 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
89810     cat >conftest.$ac_ext <<_ACEOF
89811 /* confdefs.h.  */
89812 _ACEOF
89813 cat confdefs.h >>conftest.$ac_ext
89814 cat >>conftest.$ac_ext <<_ACEOF
89815 /* end confdefs.h.  */
89816 #include <wchar.h>
89817 int
89818 main ()
89819 {
89820 int i = WCHAR_MIN; int j = WCHAR_MAX;
89821   ;
89822   return 0;
89823 }
89824 _ACEOF
89825 rm -f conftest.$ac_objext
89826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89827   (eval $ac_compile) 2>conftest.er1
89828   ac_status=$?
89829   grep -v '^ *+' conftest.er1 >conftest.err
89830   rm -f conftest.er1
89831   cat conftest.err >&5
89832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89833   (exit $ac_status); } &&
89834          { ac_try='test -z "$ac_c_werror_flag"
89835                          || test ! -s conftest.err'
89836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89837   (eval $ac_try) 2>&5
89838   ac_status=$?
89839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89840   (exit $ac_status); }; } &&
89841          { ac_try='test -s conftest.$ac_objext'
89842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89843   (eval $ac_try) 2>&5
89844   ac_status=$?
89845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89846   (exit $ac_status); }; }; then
89847   has_wchar_minmax=yes
89848 else
89849   echo "$as_me: failed program was:" >&5
89850 sed 's/^/| /' conftest.$ac_ext >&5
89851
89852 has_wchar_minmax=no
89853 fi
89854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89855     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
89856 echo "${ECHO_T}$has_wchar_minmax" >&6
89857
89858     # Test wchar.h for WEOF, which is what we use to determine whether
89859     # to specialize for char_traits<wchar_t> or not.
89860     echo "$as_me:$LINENO: checking for WEOF" >&5
89861 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
89862     cat >conftest.$ac_ext <<_ACEOF
89863 /* confdefs.h.  */
89864 _ACEOF
89865 cat confdefs.h >>conftest.$ac_ext
89866 cat >>conftest.$ac_ext <<_ACEOF
89867 /* end confdefs.h.  */
89868
89869       #include <wchar.h>
89870       #include <stddef.h>
89871 int
89872 main ()
89873 {
89874 wint_t i = WEOF;
89875   ;
89876   return 0;
89877 }
89878 _ACEOF
89879 rm -f conftest.$ac_objext
89880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89881   (eval $ac_compile) 2>conftest.er1
89882   ac_status=$?
89883   grep -v '^ *+' conftest.er1 >conftest.err
89884   rm -f conftest.er1
89885   cat conftest.err >&5
89886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89887   (exit $ac_status); } &&
89888          { ac_try='test -z "$ac_c_werror_flag"
89889                          || test ! -s conftest.err'
89890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89891   (eval $ac_try) 2>&5
89892   ac_status=$?
89893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89894   (exit $ac_status); }; } &&
89895          { ac_try='test -s conftest.$ac_objext'
89896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89897   (eval $ac_try) 2>&5
89898   ac_status=$?
89899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89900   (exit $ac_status); }; }; then
89901   has_weof=yes
89902 else
89903   echo "$as_me: failed program was:" >&5
89904 sed 's/^/| /' conftest.$ac_ext >&5
89905
89906 has_weof=no
89907 fi
89908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89909     echo "$as_me:$LINENO: result: $has_weof" >&5
89910 echo "${ECHO_T}$has_weof" >&6
89911
89912     # Tests for wide character functions used in char_traits<wchar_t>.
89913     ac_wfuncs=yes
89914
89915
89916
89917
89918
89919
89920 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
89921 do
89922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89923 echo "$as_me:$LINENO: checking for $ac_func" >&5
89924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89925 if eval "test \"\${$as_ac_var+set}\" = set"; then
89926   echo $ECHO_N "(cached) $ECHO_C" >&6
89927 else
89928   if test x$gcc_no_link = xyes; then
89929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89931    { (exit 1); exit 1; }; }
89932 fi
89933 cat >conftest.$ac_ext <<_ACEOF
89934 /* confdefs.h.  */
89935 _ACEOF
89936 cat confdefs.h >>conftest.$ac_ext
89937 cat >>conftest.$ac_ext <<_ACEOF
89938 /* end confdefs.h.  */
89939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89941 #define $ac_func innocuous_$ac_func
89942
89943 /* System header to define __stub macros and hopefully few prototypes,
89944     which can conflict with char $ac_func (); below.
89945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89946     <limits.h> exists even on freestanding compilers.  */
89947
89948 #ifdef __STDC__
89949 # include <limits.h>
89950 #else
89951 # include <assert.h>
89952 #endif
89953
89954 #undef $ac_func
89955
89956 /* Override any gcc2 internal prototype to avoid an error.  */
89957 #ifdef __cplusplus
89958 extern "C"
89959 {
89960 #endif
89961 /* We use char because int might match the return type of a gcc2
89962    builtin and then its argument prototype would still apply.  */
89963 char $ac_func ();
89964 /* The GNU C library defines this for functions which it implements
89965     to always fail with ENOSYS.  Some functions are actually named
89966     something starting with __ and the normal name is an alias.  */
89967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89968 choke me
89969 #else
89970 char (*f) () = $ac_func;
89971 #endif
89972 #ifdef __cplusplus
89973 }
89974 #endif
89975
89976 int
89977 main ()
89978 {
89979 return f != $ac_func;
89980   ;
89981   return 0;
89982 }
89983 _ACEOF
89984 rm -f conftest.$ac_objext conftest$ac_exeext
89985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89986   (eval $ac_link) 2>conftest.er1
89987   ac_status=$?
89988   grep -v '^ *+' conftest.er1 >conftest.err
89989   rm -f conftest.er1
89990   cat conftest.err >&5
89991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89992   (exit $ac_status); } &&
89993          { ac_try='test -z "$ac_c_werror_flag"
89994                          || test ! -s conftest.err'
89995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89996   (eval $ac_try) 2>&5
89997   ac_status=$?
89998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89999   (exit $ac_status); }; } &&
90000          { ac_try='test -s conftest$ac_exeext'
90001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90002   (eval $ac_try) 2>&5
90003   ac_status=$?
90004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90005   (exit $ac_status); }; }; then
90006   eval "$as_ac_var=yes"
90007 else
90008   echo "$as_me: failed program was:" >&5
90009 sed 's/^/| /' conftest.$ac_ext >&5
90010
90011 eval "$as_ac_var=no"
90012 fi
90013 rm -f conftest.err conftest.$ac_objext \
90014       conftest$ac_exeext conftest.$ac_ext
90015 fi
90016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90018 if test `eval echo '${'$as_ac_var'}'` = yes; then
90019   cat >>confdefs.h <<_ACEOF
90020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90021 _ACEOF
90022
90023 else
90024   ac_wfuncs=no
90025 fi
90026 done
90027
90028
90029     # Checks for names injected into std:: by the c_std headers.
90030
90031
90032
90033
90034
90035
90036
90037
90038
90039
90040
90041
90042
90043
90044
90045
90046
90047
90048
90049
90050
90051
90052
90053
90054
90055
90056
90057
90058
90059
90060
90061
90062
90063
90064
90065
90066
90067
90068
90069
90070
90071
90072
90073
90074
90075
90076 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
90077     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
90078     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
90079     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
90080     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
90081     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
90082 do
90083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90084 echo "$as_me:$LINENO: checking for $ac_func" >&5
90085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90086 if eval "test \"\${$as_ac_var+set}\" = set"; then
90087   echo $ECHO_N "(cached) $ECHO_C" >&6
90088 else
90089   if test x$gcc_no_link = xyes; then
90090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90092    { (exit 1); exit 1; }; }
90093 fi
90094 cat >conftest.$ac_ext <<_ACEOF
90095 /* confdefs.h.  */
90096 _ACEOF
90097 cat confdefs.h >>conftest.$ac_ext
90098 cat >>conftest.$ac_ext <<_ACEOF
90099 /* end confdefs.h.  */
90100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90102 #define $ac_func innocuous_$ac_func
90103
90104 /* System header to define __stub macros and hopefully few prototypes,
90105     which can conflict with char $ac_func (); below.
90106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90107     <limits.h> exists even on freestanding compilers.  */
90108
90109 #ifdef __STDC__
90110 # include <limits.h>
90111 #else
90112 # include <assert.h>
90113 #endif
90114
90115 #undef $ac_func
90116
90117 /* Override any gcc2 internal prototype to avoid an error.  */
90118 #ifdef __cplusplus
90119 extern "C"
90120 {
90121 #endif
90122 /* We use char because int might match the return type of a gcc2
90123    builtin and then its argument prototype would still apply.  */
90124 char $ac_func ();
90125 /* The GNU C library defines this for functions which it implements
90126     to always fail with ENOSYS.  Some functions are actually named
90127     something starting with __ and the normal name is an alias.  */
90128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90129 choke me
90130 #else
90131 char (*f) () = $ac_func;
90132 #endif
90133 #ifdef __cplusplus
90134 }
90135 #endif
90136
90137 int
90138 main ()
90139 {
90140 return f != $ac_func;
90141   ;
90142   return 0;
90143 }
90144 _ACEOF
90145 rm -f conftest.$ac_objext conftest$ac_exeext
90146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90147   (eval $ac_link) 2>conftest.er1
90148   ac_status=$?
90149   grep -v '^ *+' conftest.er1 >conftest.err
90150   rm -f conftest.er1
90151   cat conftest.err >&5
90152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90153   (exit $ac_status); } &&
90154          { ac_try='test -z "$ac_c_werror_flag"
90155                          || test ! -s conftest.err'
90156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90157   (eval $ac_try) 2>&5
90158   ac_status=$?
90159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90160   (exit $ac_status); }; } &&
90161          { ac_try='test -s conftest$ac_exeext'
90162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90163   (eval $ac_try) 2>&5
90164   ac_status=$?
90165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90166   (exit $ac_status); }; }; then
90167   eval "$as_ac_var=yes"
90168 else
90169   echo "$as_me: failed program was:" >&5
90170 sed 's/^/| /' conftest.$ac_ext >&5
90171
90172 eval "$as_ac_var=no"
90173 fi
90174 rm -f conftest.err conftest.$ac_objext \
90175       conftest$ac_exeext conftest.$ac_ext
90176 fi
90177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90179 if test `eval echo '${'$as_ac_var'}'` = yes; then
90180   cat >>confdefs.h <<_ACEOF
90181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90182 _ACEOF
90183
90184 else
90185   ac_wfuncs=no
90186 fi
90187 done
90188
90189
90190     # Checks for wide character functions that are not required
90191     # for basic wchar_t support.  Don't disable support if they are missing.
90192     # Injection of these is wrapped with guard macros.
90193
90194
90195
90196
90197
90198 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
90199 do
90200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90201 echo "$as_me:$LINENO: checking for $ac_func" >&5
90202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90203 if eval "test \"\${$as_ac_var+set}\" = set"; then
90204   echo $ECHO_N "(cached) $ECHO_C" >&6
90205 else
90206   if test x$gcc_no_link = xyes; then
90207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90209    { (exit 1); exit 1; }; }
90210 fi
90211 cat >conftest.$ac_ext <<_ACEOF
90212 /* confdefs.h.  */
90213 _ACEOF
90214 cat confdefs.h >>conftest.$ac_ext
90215 cat >>conftest.$ac_ext <<_ACEOF
90216 /* end confdefs.h.  */
90217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90219 #define $ac_func innocuous_$ac_func
90220
90221 /* System header to define __stub macros and hopefully few prototypes,
90222     which can conflict with char $ac_func (); below.
90223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90224     <limits.h> exists even on freestanding compilers.  */
90225
90226 #ifdef __STDC__
90227 # include <limits.h>
90228 #else
90229 # include <assert.h>
90230 #endif
90231
90232 #undef $ac_func
90233
90234 /* Override any gcc2 internal prototype to avoid an error.  */
90235 #ifdef __cplusplus
90236 extern "C"
90237 {
90238 #endif
90239 /* We use char because int might match the return type of a gcc2
90240    builtin and then its argument prototype would still apply.  */
90241 char $ac_func ();
90242 /* The GNU C library defines this for functions which it implements
90243     to always fail with ENOSYS.  Some functions are actually named
90244     something starting with __ and the normal name is an alias.  */
90245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90246 choke me
90247 #else
90248 char (*f) () = $ac_func;
90249 #endif
90250 #ifdef __cplusplus
90251 }
90252 #endif
90253
90254 int
90255 main ()
90256 {
90257 return f != $ac_func;
90258   ;
90259   return 0;
90260 }
90261 _ACEOF
90262 rm -f conftest.$ac_objext conftest$ac_exeext
90263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90264   (eval $ac_link) 2>conftest.er1
90265   ac_status=$?
90266   grep -v '^ *+' conftest.er1 >conftest.err
90267   rm -f conftest.er1
90268   cat conftest.err >&5
90269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90270   (exit $ac_status); } &&
90271          { ac_try='test -z "$ac_c_werror_flag"
90272                          || test ! -s conftest.err'
90273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90274   (eval $ac_try) 2>&5
90275   ac_status=$?
90276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90277   (exit $ac_status); }; } &&
90278          { ac_try='test -s conftest$ac_exeext'
90279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90280   (eval $ac_try) 2>&5
90281   ac_status=$?
90282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90283   (exit $ac_status); }; }; then
90284   eval "$as_ac_var=yes"
90285 else
90286   echo "$as_me: failed program was:" >&5
90287 sed 's/^/| /' conftest.$ac_ext >&5
90288
90289 eval "$as_ac_var=no"
90290 fi
90291 rm -f conftest.err conftest.$ac_objext \
90292       conftest$ac_exeext conftest.$ac_ext
90293 fi
90294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90296 if test `eval echo '${'$as_ac_var'}'` = yes; then
90297   cat >>confdefs.h <<_ACEOF
90298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90299 _ACEOF
90300
90301 fi
90302 done
90303
90304
90305     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
90306 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
90307     if test x"$has_weof" = xyes &&
90308        test x"$has_wchar_minmax" = xyes &&
90309        test x"$ac_wfuncs" = xyes;
90310     then
90311       ac_isoC99_wchar_t=yes
90312     else
90313       ac_isoC99_wchar_t=no
90314     fi
90315     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
90316 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
90317
90318     # Use iconv for wchar_t to char conversions. As such, check for
90319     # X/Open Portability Guide, version 2 features (XPG2).
90320     if test "${ac_cv_header_iconv_h+set}" = set; then
90321   echo "$as_me:$LINENO: checking for iconv.h" >&5
90322 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90323 if test "${ac_cv_header_iconv_h+set}" = set; then
90324   echo $ECHO_N "(cached) $ECHO_C" >&6
90325 fi
90326 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90327 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90328 else
90329   # Is the header compilable?
90330 echo "$as_me:$LINENO: checking iconv.h usability" >&5
90331 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
90332 cat >conftest.$ac_ext <<_ACEOF
90333 /* confdefs.h.  */
90334 _ACEOF
90335 cat confdefs.h >>conftest.$ac_ext
90336 cat >>conftest.$ac_ext <<_ACEOF
90337 /* end confdefs.h.  */
90338 $ac_includes_default
90339 #include <iconv.h>
90340 _ACEOF
90341 rm -f conftest.$ac_objext
90342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90343   (eval $ac_compile) 2>conftest.er1
90344   ac_status=$?
90345   grep -v '^ *+' conftest.er1 >conftest.err
90346   rm -f conftest.er1
90347   cat conftest.err >&5
90348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90349   (exit $ac_status); } &&
90350          { ac_try='test -z "$ac_c_werror_flag"
90351                          || test ! -s conftest.err'
90352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90353   (eval $ac_try) 2>&5
90354   ac_status=$?
90355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90356   (exit $ac_status); }; } &&
90357          { ac_try='test -s conftest.$ac_objext'
90358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90359   (eval $ac_try) 2>&5
90360   ac_status=$?
90361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90362   (exit $ac_status); }; }; then
90363   ac_header_compiler=yes
90364 else
90365   echo "$as_me: failed program was:" >&5
90366 sed 's/^/| /' conftest.$ac_ext >&5
90367
90368 ac_header_compiler=no
90369 fi
90370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90372 echo "${ECHO_T}$ac_header_compiler" >&6
90373
90374 # Is the header present?
90375 echo "$as_me:$LINENO: checking iconv.h presence" >&5
90376 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
90377 cat >conftest.$ac_ext <<_ACEOF
90378 /* confdefs.h.  */
90379 _ACEOF
90380 cat confdefs.h >>conftest.$ac_ext
90381 cat >>conftest.$ac_ext <<_ACEOF
90382 /* end confdefs.h.  */
90383 #include <iconv.h>
90384 _ACEOF
90385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90386   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90387   ac_status=$?
90388   grep -v '^ *+' conftest.er1 >conftest.err
90389   rm -f conftest.er1
90390   cat conftest.err >&5
90391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90392   (exit $ac_status); } >/dev/null; then
90393   if test -s conftest.err; then
90394     ac_cpp_err=$ac_c_preproc_warn_flag
90395     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90396   else
90397     ac_cpp_err=
90398   fi
90399 else
90400   ac_cpp_err=yes
90401 fi
90402 if test -z "$ac_cpp_err"; then
90403   ac_header_preproc=yes
90404 else
90405   echo "$as_me: failed program was:" >&5
90406 sed 's/^/| /' conftest.$ac_ext >&5
90407
90408   ac_header_preproc=no
90409 fi
90410 rm -f conftest.err conftest.$ac_ext
90411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90412 echo "${ECHO_T}$ac_header_preproc" >&6
90413
90414 # So?  What about this header?
90415 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90416   yes:no: )
90417     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
90418 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90419     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
90420 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
90421     ac_header_preproc=yes
90422     ;;
90423   no:yes:* )
90424     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
90425 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
90426     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
90427 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
90428     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
90429 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
90430     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
90431 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
90432     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
90433 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
90434     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
90435 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
90436     (
90437       cat <<\_ASBOX
90438 ## ----------------------------------------- ##
90439 ## Report this to the package-unused lists.  ##
90440 ## ----------------------------------------- ##
90441 _ASBOX
90442     ) |
90443       sed "s/^/$as_me: WARNING:     /" >&2
90444     ;;
90445 esac
90446 echo "$as_me:$LINENO: checking for iconv.h" >&5
90447 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90448 if test "${ac_cv_header_iconv_h+set}" = set; then
90449   echo $ECHO_N "(cached) $ECHO_C" >&6
90450 else
90451   ac_cv_header_iconv_h=$ac_header_preproc
90452 fi
90453 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90454 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90455
90456 fi
90457 if test $ac_cv_header_iconv_h = yes; then
90458   ac_has_iconv_h=yes
90459 else
90460   ac_has_iconv_h=no
90461 fi
90462
90463
90464     if test "${ac_cv_header_langinfo_h+set}" = set; then
90465   echo "$as_me:$LINENO: checking for langinfo.h" >&5
90466 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90467 if test "${ac_cv_header_langinfo_h+set}" = set; then
90468   echo $ECHO_N "(cached) $ECHO_C" >&6
90469 fi
90470 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90471 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90472 else
90473   # Is the header compilable?
90474 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
90475 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
90476 cat >conftest.$ac_ext <<_ACEOF
90477 /* confdefs.h.  */
90478 _ACEOF
90479 cat confdefs.h >>conftest.$ac_ext
90480 cat >>conftest.$ac_ext <<_ACEOF
90481 /* end confdefs.h.  */
90482 $ac_includes_default
90483 #include <langinfo.h>
90484 _ACEOF
90485 rm -f conftest.$ac_objext
90486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90487   (eval $ac_compile) 2>conftest.er1
90488   ac_status=$?
90489   grep -v '^ *+' conftest.er1 >conftest.err
90490   rm -f conftest.er1
90491   cat conftest.err >&5
90492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90493   (exit $ac_status); } &&
90494          { ac_try='test -z "$ac_c_werror_flag"
90495                          || test ! -s conftest.err'
90496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90497   (eval $ac_try) 2>&5
90498   ac_status=$?
90499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90500   (exit $ac_status); }; } &&
90501          { ac_try='test -s conftest.$ac_objext'
90502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90503   (eval $ac_try) 2>&5
90504   ac_status=$?
90505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90506   (exit $ac_status); }; }; then
90507   ac_header_compiler=yes
90508 else
90509   echo "$as_me: failed program was:" >&5
90510 sed 's/^/| /' conftest.$ac_ext >&5
90511
90512 ac_header_compiler=no
90513 fi
90514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90516 echo "${ECHO_T}$ac_header_compiler" >&6
90517
90518 # Is the header present?
90519 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
90520 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
90521 cat >conftest.$ac_ext <<_ACEOF
90522 /* confdefs.h.  */
90523 _ACEOF
90524 cat confdefs.h >>conftest.$ac_ext
90525 cat >>conftest.$ac_ext <<_ACEOF
90526 /* end confdefs.h.  */
90527 #include <langinfo.h>
90528 _ACEOF
90529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90530   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90531   ac_status=$?
90532   grep -v '^ *+' conftest.er1 >conftest.err
90533   rm -f conftest.er1
90534   cat conftest.err >&5
90535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90536   (exit $ac_status); } >/dev/null; then
90537   if test -s conftest.err; then
90538     ac_cpp_err=$ac_c_preproc_warn_flag
90539     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90540   else
90541     ac_cpp_err=
90542   fi
90543 else
90544   ac_cpp_err=yes
90545 fi
90546 if test -z "$ac_cpp_err"; then
90547   ac_header_preproc=yes
90548 else
90549   echo "$as_me: failed program was:" >&5
90550 sed 's/^/| /' conftest.$ac_ext >&5
90551
90552   ac_header_preproc=no
90553 fi
90554 rm -f conftest.err conftest.$ac_ext
90555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90556 echo "${ECHO_T}$ac_header_preproc" >&6
90557
90558 # So?  What about this header?
90559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90560   yes:no: )
90561     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
90562 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90563     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
90564 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
90565     ac_header_preproc=yes
90566     ;;
90567   no:yes:* )
90568     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
90569 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
90570     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
90571 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
90572     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
90573 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
90574     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
90575 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
90576     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
90577 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
90578     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
90579 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
90580     (
90581       cat <<\_ASBOX
90582 ## ----------------------------------------- ##
90583 ## Report this to the package-unused lists.  ##
90584 ## ----------------------------------------- ##
90585 _ASBOX
90586     ) |
90587       sed "s/^/$as_me: WARNING:     /" >&2
90588     ;;
90589 esac
90590 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90591 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90592 if test "${ac_cv_header_langinfo_h+set}" = set; then
90593   echo $ECHO_N "(cached) $ECHO_C" >&6
90594 else
90595   ac_cv_header_langinfo_h=$ac_header_preproc
90596 fi
90597 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90598 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90599
90600 fi
90601 if test $ac_cv_header_langinfo_h = yes; then
90602   ac_has_langinfo_h=yes
90603 else
90604   ac_has_langinfo_h=no
90605 fi
90606
90607
90608
90609     # Check for existence of libiconv.a providing XPG2 wchar_t support.
90610     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
90611 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
90612 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
90613   echo $ECHO_N "(cached) $ECHO_C" >&6
90614 else
90615   ac_check_lib_save_LIBS=$LIBS
90616 LIBS="-liconv  $LIBS"
90617 if test x$gcc_no_link = xyes; then
90618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90620    { (exit 1); exit 1; }; }
90621 fi
90622 cat >conftest.$ac_ext <<_ACEOF
90623 /* confdefs.h.  */
90624 _ACEOF
90625 cat confdefs.h >>conftest.$ac_ext
90626 cat >>conftest.$ac_ext <<_ACEOF
90627 /* end confdefs.h.  */
90628
90629 /* Override any gcc2 internal prototype to avoid an error.  */
90630 #ifdef __cplusplus
90631 extern "C"
90632 #endif
90633 /* We use char because int might match the return type of a gcc2
90634    builtin and then its argument prototype would still apply.  */
90635 char iconv ();
90636 int
90637 main ()
90638 {
90639 iconv ();
90640   ;
90641   return 0;
90642 }
90643 _ACEOF
90644 rm -f conftest.$ac_objext conftest$ac_exeext
90645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90646   (eval $ac_link) 2>conftest.er1
90647   ac_status=$?
90648   grep -v '^ *+' conftest.er1 >conftest.err
90649   rm -f conftest.er1
90650   cat conftest.err >&5
90651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90652   (exit $ac_status); } &&
90653          { ac_try='test -z "$ac_c_werror_flag"
90654                          || test ! -s conftest.err'
90655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90656   (eval $ac_try) 2>&5
90657   ac_status=$?
90658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90659   (exit $ac_status); }; } &&
90660          { ac_try='test -s conftest$ac_exeext'
90661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90662   (eval $ac_try) 2>&5
90663   ac_status=$?
90664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90665   (exit $ac_status); }; }; then
90666   ac_cv_lib_iconv_iconv=yes
90667 else
90668   echo "$as_me: failed program was:" >&5
90669 sed 's/^/| /' conftest.$ac_ext >&5
90670
90671 ac_cv_lib_iconv_iconv=no
90672 fi
90673 rm -f conftest.err conftest.$ac_objext \
90674       conftest$ac_exeext conftest.$ac_ext
90675 LIBS=$ac_check_lib_save_LIBS
90676 fi
90677 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
90678 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
90679 if test $ac_cv_lib_iconv_iconv = yes; then
90680   libiconv="-liconv"
90681 fi
90682
90683     ac_save_LIBS="$LIBS"
90684     LIBS="$LIBS $libiconv"
90685
90686
90687
90688
90689
90690 for ac_func in iconv_open iconv_close iconv nl_langinfo
90691 do
90692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90693 echo "$as_me:$LINENO: checking for $ac_func" >&5
90694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90695 if eval "test \"\${$as_ac_var+set}\" = set"; then
90696   echo $ECHO_N "(cached) $ECHO_C" >&6
90697 else
90698   if test x$gcc_no_link = xyes; then
90699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90701    { (exit 1); exit 1; }; }
90702 fi
90703 cat >conftest.$ac_ext <<_ACEOF
90704 /* confdefs.h.  */
90705 _ACEOF
90706 cat confdefs.h >>conftest.$ac_ext
90707 cat >>conftest.$ac_ext <<_ACEOF
90708 /* end confdefs.h.  */
90709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90711 #define $ac_func innocuous_$ac_func
90712
90713 /* System header to define __stub macros and hopefully few prototypes,
90714     which can conflict with char $ac_func (); below.
90715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90716     <limits.h> exists even on freestanding compilers.  */
90717
90718 #ifdef __STDC__
90719 # include <limits.h>
90720 #else
90721 # include <assert.h>
90722 #endif
90723
90724 #undef $ac_func
90725
90726 /* Override any gcc2 internal prototype to avoid an error.  */
90727 #ifdef __cplusplus
90728 extern "C"
90729 {
90730 #endif
90731 /* We use char because int might match the return type of a gcc2
90732    builtin and then its argument prototype would still apply.  */
90733 char $ac_func ();
90734 /* The GNU C library defines this for functions which it implements
90735     to always fail with ENOSYS.  Some functions are actually named
90736     something starting with __ and the normal name is an alias.  */
90737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90738 choke me
90739 #else
90740 char (*f) () = $ac_func;
90741 #endif
90742 #ifdef __cplusplus
90743 }
90744 #endif
90745
90746 int
90747 main ()
90748 {
90749 return f != $ac_func;
90750   ;
90751   return 0;
90752 }
90753 _ACEOF
90754 rm -f conftest.$ac_objext conftest$ac_exeext
90755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90756   (eval $ac_link) 2>conftest.er1
90757   ac_status=$?
90758   grep -v '^ *+' conftest.er1 >conftest.err
90759   rm -f conftest.er1
90760   cat conftest.err >&5
90761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762   (exit $ac_status); } &&
90763          { ac_try='test -z "$ac_c_werror_flag"
90764                          || test ! -s conftest.err'
90765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90766   (eval $ac_try) 2>&5
90767   ac_status=$?
90768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90769   (exit $ac_status); }; } &&
90770          { ac_try='test -s conftest$ac_exeext'
90771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90772   (eval $ac_try) 2>&5
90773   ac_status=$?
90774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90775   (exit $ac_status); }; }; then
90776   eval "$as_ac_var=yes"
90777 else
90778   echo "$as_me: failed program was:" >&5
90779 sed 's/^/| /' conftest.$ac_ext >&5
90780
90781 eval "$as_ac_var=no"
90782 fi
90783 rm -f conftest.err conftest.$ac_objext \
90784       conftest$ac_exeext conftest.$ac_ext
90785 fi
90786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90788 if test `eval echo '${'$as_ac_var'}'` = yes; then
90789   cat >>confdefs.h <<_ACEOF
90790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90791 _ACEOF
90792  ac_XPG2funcs=yes
90793 else
90794   ac_XPG2funcs=no
90795 fi
90796 done
90797
90798
90799     LIBS="$ac_save_LIBS"
90800
90801     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
90802 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
90803     if test x"$ac_has_iconv_h" = xyes &&
90804        test x"$ac_has_langinfo_h" = xyes &&
90805        test x"$ac_XPG2funcs" = xyes;
90806     then
90807       ac_XPG2_wchar_t=yes
90808     else
90809       ac_XPG2_wchar_t=no
90810     fi
90811     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
90812 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
90813
90814     # At the moment, only enable wchar_t specializations if all the
90815     # above support is present.
90816     if test x"$ac_isoC99_wchar_t" = xyes &&
90817        test x"$ac_XPG2_wchar_t" = xyes;
90818     then
90819       cat >>confdefs.h <<\_ACEOF
90820 #define _GLIBCXX_USE_WCHAR_T 1
90821 _ACEOF
90822
90823       enable_wchar_t=yes
90824     fi
90825   fi
90826   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
90827 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
90828   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
90829 echo "${ECHO_T}$enable_wchar_t" >&6
90830
90831          # All of the dependencies for wide character support are here, so
90832          # turn it on.  This requires some syncronization with the
90833          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
90834          cat >>confdefs.h <<\_ACEOF
90835 #define _GLIBCXX_USE_WCHAR_T 1
90836 _ACEOF
90837
90838          # Are these tested for even when cross?
90839          cat >>confdefs.h <<\_ACEOF
90840 #define HAVE_FLOAT_H 1
90841 _ACEOF
90842
90843          cat >>confdefs.h <<\_ACEOF
90844 #define HAVE_IEEEFP_H 1
90845 _ACEOF
90846
90847          cat >>confdefs.h <<\_ACEOF
90848 #define HAVE_INTTYPES_H 1
90849 _ACEOF
90850
90851          cat >>confdefs.h <<\_ACEOF
90852 #define HAVE_LOCALE_H 1
90853 _ACEOF
90854
90855          cat >>confdefs.h <<\_ACEOF
90856 #define HAVE_NAN_H 1
90857 _ACEOF
90858
90859          cat >>confdefs.h <<\_ACEOF
90860 #define HAVE_SYS_FILIO_H 1
90861 _ACEOF
90862
90863          cat >>confdefs.h <<\_ACEOF
90864 #define HAVE_SYS_IOCTL_H 1
90865 _ACEOF
90866
90867          cat >>confdefs.h <<\_ACEOF
90868 #define HAVE_SYS_ISA_DEFS_H 1
90869 _ACEOF
90870
90871          cat >>confdefs.h <<\_ACEOF
90872 #define HAVE_SYS_RESOURCE_H 1
90873 _ACEOF
90874
90875          cat >>confdefs.h <<\_ACEOF
90876 #define HAVE_SYS_TIME_H 1
90877 _ACEOF
90878
90879          cat >>confdefs.h <<\_ACEOF
90880 #define HAVE_SYS_TYPES_H 1
90881 _ACEOF
90882
90883          cat >>confdefs.h <<\_ACEOF
90884 #define HAVE_UNISTD_H 1
90885 _ACEOF
90886
90887          cat >>confdefs.h <<\_ACEOF
90888 #define HAVE_WCHAR_H 1
90889 _ACEOF
90890
90891          cat >>confdefs.h <<\_ACEOF
90892 #define HAVE_WCTYPE_H 1
90893 _ACEOF
90894
90895          cat >>confdefs.h <<\_ACEOF
90896 #define HAVE_LIBM 1
90897 _ACEOF
90898
90899         ;;
90900     esac
90901     case "$target" in
90902       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90903         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90904         cat >>confdefs.h <<\_ACEOF
90905 #define HAVE___BUILTIN_ABS 1
90906 _ACEOF
90907
90908         cat >>confdefs.h <<\_ACEOF
90909 #define HAVE___BUILTIN_LABS 1
90910 _ACEOF
90911
90912         cat >>confdefs.h <<\_ACEOF
90913 #define HAVE___BUILTIN_FABS 1
90914 _ACEOF
90915
90916         cat >>confdefs.h <<\_ACEOF
90917 #define HAVE___BUILTIN_FABSF 1
90918 _ACEOF
90919
90920         cat >>confdefs.h <<\_ACEOF
90921 #define HAVE___BUILTIN_FABSL 1
90922 _ACEOF
90923
90924         cat >>confdefs.h <<\_ACEOF
90925 #define HAVE___BUILTIN_COS 1
90926 _ACEOF
90927
90928         cat >>confdefs.h <<\_ACEOF
90929 #define HAVE___BUILTIN_COSF 1
90930 _ACEOF
90931
90932         cat >>confdefs.h <<\_ACEOF
90933 #define HAVE___BUILTIN_SIN 1
90934 _ACEOF
90935
90936         cat >>confdefs.h <<\_ACEOF
90937 #define HAVE___BUILTIN_SINF 1
90938 _ACEOF
90939
90940        ;;
90941     esac
90942     case "$target" in
90943       *-*-solaris2.10)
90944       # These two C99 functions are present only in Solaris >= 10
90945       cat >>confdefs.h <<\_ACEOF
90946 #define HAVE_STRTOF 1
90947 _ACEOF
90948
90949       cat >>confdefs.h <<\_ACEOF
90950 #define HAVE_STRTOLD 1
90951 _ACEOF
90952
90953      ;;
90954     esac
90955     cat >>confdefs.h <<\_ACEOF
90956 #define HAVE_MMAP 1
90957 _ACEOF
90958
90959     cat >>confdefs.h <<\_ACEOF
90960 #define HAVE_COPYSIGN 1
90961 _ACEOF
90962
90963     cat >>confdefs.h <<\_ACEOF
90964 #define HAVE_ISNAN 1
90965 _ACEOF
90966
90967     cat >>confdefs.h <<\_ACEOF
90968 #define HAVE_ISNANF 1
90969 _ACEOF
90970
90971     cat >>confdefs.h <<\_ACEOF
90972 #define HAVE_MODFF 1
90973 _ACEOF
90974
90975     cat >>confdefs.h <<\_ACEOF
90976 #define HAVE_HYPOT 1
90977 _ACEOF
90978
90979     ;;
90980   *-tpf)
90981
90982
90983
90984
90985
90986
90987
90988
90989 for ac_header in nan.h endian.h machine/endian.h  \
90990       sys/param.h sys/types.h locale.h float.h inttypes.h
90991 do
90992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90994   echo "$as_me:$LINENO: checking for $ac_header" >&5
90995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90997   echo $ECHO_N "(cached) $ECHO_C" >&6
90998 fi
90999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91001 else
91002   # Is the header compilable?
91003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91005 cat >conftest.$ac_ext <<_ACEOF
91006 /* confdefs.h.  */
91007 _ACEOF
91008 cat confdefs.h >>conftest.$ac_ext
91009 cat >>conftest.$ac_ext <<_ACEOF
91010 /* end confdefs.h.  */
91011 $ac_includes_default
91012 #include <$ac_header>
91013 _ACEOF
91014 rm -f conftest.$ac_objext
91015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91016   (eval $ac_compile) 2>conftest.er1
91017   ac_status=$?
91018   grep -v '^ *+' conftest.er1 >conftest.err
91019   rm -f conftest.er1
91020   cat conftest.err >&5
91021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91022   (exit $ac_status); } &&
91023          { ac_try='test -z "$ac_c_werror_flag"
91024                          || test ! -s conftest.err'
91025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91026   (eval $ac_try) 2>&5
91027   ac_status=$?
91028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91029   (exit $ac_status); }; } &&
91030          { ac_try='test -s conftest.$ac_objext'
91031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91032   (eval $ac_try) 2>&5
91033   ac_status=$?
91034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91035   (exit $ac_status); }; }; then
91036   ac_header_compiler=yes
91037 else
91038   echo "$as_me: failed program was:" >&5
91039 sed 's/^/| /' conftest.$ac_ext >&5
91040
91041 ac_header_compiler=no
91042 fi
91043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91044 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91045 echo "${ECHO_T}$ac_header_compiler" >&6
91046
91047 # Is the header present?
91048 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91050 cat >conftest.$ac_ext <<_ACEOF
91051 /* confdefs.h.  */
91052 _ACEOF
91053 cat confdefs.h >>conftest.$ac_ext
91054 cat >>conftest.$ac_ext <<_ACEOF
91055 /* end confdefs.h.  */
91056 #include <$ac_header>
91057 _ACEOF
91058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91059   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91060   ac_status=$?
91061   grep -v '^ *+' conftest.er1 >conftest.err
91062   rm -f conftest.er1
91063   cat conftest.err >&5
91064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91065   (exit $ac_status); } >/dev/null; then
91066   if test -s conftest.err; then
91067     ac_cpp_err=$ac_c_preproc_warn_flag
91068     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91069   else
91070     ac_cpp_err=
91071   fi
91072 else
91073   ac_cpp_err=yes
91074 fi
91075 if test -z "$ac_cpp_err"; then
91076   ac_header_preproc=yes
91077 else
91078   echo "$as_me: failed program was:" >&5
91079 sed 's/^/| /' conftest.$ac_ext >&5
91080
91081   ac_header_preproc=no
91082 fi
91083 rm -f conftest.err conftest.$ac_ext
91084 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91085 echo "${ECHO_T}$ac_header_preproc" >&6
91086
91087 # So?  What about this header?
91088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91089   yes:no: )
91090     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91092     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91094     ac_header_preproc=yes
91095     ;;
91096   no:yes:* )
91097     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91099     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
91100 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
91101     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91103     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
91104 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
91105     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91107     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91109     (
91110       cat <<\_ASBOX
91111 ## ----------------------------------------- ##
91112 ## Report this to the package-unused lists.  ##
91113 ## ----------------------------------------- ##
91114 _ASBOX
91115     ) |
91116       sed "s/^/$as_me: WARNING:     /" >&2
91117     ;;
91118 esac
91119 echo "$as_me:$LINENO: checking for $ac_header" >&5
91120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91122   echo $ECHO_N "(cached) $ECHO_C" >&6
91123 else
91124   eval "$as_ac_Header=\$ac_header_preproc"
91125 fi
91126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91128
91129 fi
91130 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91131   cat >>confdefs.h <<_ACEOF
91132 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91133 _ACEOF
91134
91135 fi
91136
91137 done
91138
91139     SECTION_FLAGS='-ffunction-sections -fdata-sections'
91140
91141
91142   # If we're not using GNU ld, then there's no point in even trying these
91143   # tests.  Check for that first.  We should have already tested for gld
91144   # by now (in libtool), but require it now just to be safe...
91145   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91146   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91147
91148
91149
91150   # The name set by libtool depends on the version of libtool.  Shame on us
91151   # for depending on an impl detail, but c'est la vie.  Older versions used
91152   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91153   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91154   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
91155   # set (hence we're using an older libtool), then set it.
91156   if test x${with_gnu_ld+set} != xset; then
91157     if test x${ac_cv_prog_gnu_ld+set} != xset; then
91158       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
91159       with_gnu_ld=no
91160     else
91161       with_gnu_ld=$ac_cv_prog_gnu_ld
91162     fi
91163   fi
91164
91165   # Start by getting the version number.  I think the libtool test already
91166   # does some of this, but throws away the result.
91167
91168   ldver=`$LD --version 2>/dev/null | head -1 | \
91169          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
91170
91171   glibcxx_gnu_ld_version=`echo $ldver | \
91172          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91173
91174   # Set --gc-sections.
91175   if test "$with_gnu_ld" = "notbroken"; then
91176     # GNU ld it is!  Joy and bunny rabbits!
91177
91178     # All these tests are for C++; save the language and the compiler flags.
91179     # Need to do this so that g++ won't try to link in libstdc++
91180     ac_test_CFLAGS="${CFLAGS+set}"
91181     ac_save_CFLAGS="$CFLAGS"
91182     CFLAGS='-x c++  -Wl,--gc-sections'
91183
91184     # Check for -Wl,--gc-sections
91185     # XXX This test is broken at the moment, as symbols required for linking
91186     # are now in libsupc++ (not built yet).  In addition, this test has
91187     # cored on solaris in the past.  In addition, --gc-sections doesn't
91188     # really work at the moment (keeps on discarding used sections, first
91189     # .eh_frame and now some of the glibc sections for iconv).
91190     # Bzzzzt.  Thanks for playing, maybe next time.
91191     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91192 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91193     if test "$cross_compiling" = yes; then
91194   ac_sectionLDflags=yes
91195 else
91196   cat >conftest.$ac_ext <<_ACEOF
91197 /* confdefs.h.  */
91198 _ACEOF
91199 cat confdefs.h >>conftest.$ac_ext
91200 cat >>conftest.$ac_ext <<_ACEOF
91201 /* end confdefs.h.  */
91202
91203      int main(void)
91204      {
91205        try { throw 1; }
91206        catch (...) { };
91207        return 0;
91208      }
91209
91210 _ACEOF
91211 rm -f conftest$ac_exeext
91212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91213   (eval $ac_link) 2>&5
91214   ac_status=$?
91215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91216   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
91217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91218   (eval $ac_try) 2>&5
91219   ac_status=$?
91220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91221   (exit $ac_status); }; }; then
91222   ac_sectionLDflags=yes
91223 else
91224   echo "$as_me: program exited with status $ac_status" >&5
91225 echo "$as_me: failed program was:" >&5
91226 sed 's/^/| /' conftest.$ac_ext >&5
91227
91228 ( exit $ac_status )
91229 ac_sectionLDflags=no
91230 fi
91231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
91232 fi
91233     if test "$ac_test_CFLAGS" = set; then
91234       CFLAGS="$ac_save_CFLAGS"
91235     else
91236       # this is the suspicious part
91237       CFLAGS=''
91238     fi
91239     if test "$ac_sectionLDflags" = "yes"; then
91240       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91241     fi
91242     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
91243 echo "${ECHO_T}$ac_sectionLDflags" >&6
91244   fi
91245
91246   # Set linker optimization flags.
91247   if test x"$with_gnu_ld" = x"yes"; then
91248     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91249   fi
91250
91251
91252
91253
91254
91255
91256 echo "$as_me:$LINENO: checking for main in -lm" >&5
91257 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91258 if test "${ac_cv_lib_m_main+set}" = set; then
91259   echo $ECHO_N "(cached) $ECHO_C" >&6
91260 else
91261   ac_check_lib_save_LIBS=$LIBS
91262 LIBS="-lm  $LIBS"
91263 if test x$gcc_no_link = xyes; then
91264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91266    { (exit 1); exit 1; }; }
91267 fi
91268 cat >conftest.$ac_ext <<_ACEOF
91269 /* confdefs.h.  */
91270 _ACEOF
91271 cat confdefs.h >>conftest.$ac_ext
91272 cat >>conftest.$ac_ext <<_ACEOF
91273 /* end confdefs.h.  */
91274
91275
91276 int
91277 main ()
91278 {
91279 main ();
91280   ;
91281   return 0;
91282 }
91283 _ACEOF
91284 rm -f conftest.$ac_objext conftest$ac_exeext
91285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91286   (eval $ac_link) 2>conftest.er1
91287   ac_status=$?
91288   grep -v '^ *+' conftest.er1 >conftest.err
91289   rm -f conftest.er1
91290   cat conftest.err >&5
91291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91292   (exit $ac_status); } &&
91293          { ac_try='test -z "$ac_c_werror_flag"
91294                          || test ! -s conftest.err'
91295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91296   (eval $ac_try) 2>&5
91297   ac_status=$?
91298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91299   (exit $ac_status); }; } &&
91300          { ac_try='test -s conftest$ac_exeext'
91301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91302   (eval $ac_try) 2>&5
91303   ac_status=$?
91304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91305   (exit $ac_status); }; }; then
91306   ac_cv_lib_m_main=yes
91307 else
91308   echo "$as_me: failed program was:" >&5
91309 sed 's/^/| /' conftest.$ac_ext >&5
91310
91311 ac_cv_lib_m_main=no
91312 fi
91313 rm -f conftest.err conftest.$ac_objext \
91314       conftest$ac_exeext conftest.$ac_ext
91315 LIBS=$ac_check_lib_save_LIBS
91316 fi
91317 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91318 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91319 if test $ac_cv_lib_m_main = yes; then
91320   cat >>confdefs.h <<_ACEOF
91321 #define HAVE_LIBM 1
91322 _ACEOF
91323
91324   LIBS="-lm $LIBS"
91325
91326 fi
91327
91328
91329 for ac_func in copysignf
91330 do
91331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91332 echo "$as_me:$LINENO: checking for $ac_func" >&5
91333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91334 if eval "test \"\${$as_ac_var+set}\" = set"; then
91335   echo $ECHO_N "(cached) $ECHO_C" >&6
91336 else
91337   if test x$gcc_no_link = xyes; then
91338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91340    { (exit 1); exit 1; }; }
91341 fi
91342 cat >conftest.$ac_ext <<_ACEOF
91343 /* confdefs.h.  */
91344 _ACEOF
91345 cat confdefs.h >>conftest.$ac_ext
91346 cat >>conftest.$ac_ext <<_ACEOF
91347 /* end confdefs.h.  */
91348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91350 #define $ac_func innocuous_$ac_func
91351
91352 /* System header to define __stub macros and hopefully few prototypes,
91353     which can conflict with char $ac_func (); below.
91354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91355     <limits.h> exists even on freestanding compilers.  */
91356
91357 #ifdef __STDC__
91358 # include <limits.h>
91359 #else
91360 # include <assert.h>
91361 #endif
91362
91363 #undef $ac_func
91364
91365 /* Override any gcc2 internal prototype to avoid an error.  */
91366 #ifdef __cplusplus
91367 extern "C"
91368 {
91369 #endif
91370 /* We use char because int might match the return type of a gcc2
91371    builtin and then its argument prototype would still apply.  */
91372 char $ac_func ();
91373 /* The GNU C library defines this for functions which it implements
91374     to always fail with ENOSYS.  Some functions are actually named
91375     something starting with __ and the normal name is an alias.  */
91376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91377 choke me
91378 #else
91379 char (*f) () = $ac_func;
91380 #endif
91381 #ifdef __cplusplus
91382 }
91383 #endif
91384
91385 int
91386 main ()
91387 {
91388 return f != $ac_func;
91389   ;
91390   return 0;
91391 }
91392 _ACEOF
91393 rm -f conftest.$ac_objext conftest$ac_exeext
91394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91395   (eval $ac_link) 2>conftest.er1
91396   ac_status=$?
91397   grep -v '^ *+' conftest.er1 >conftest.err
91398   rm -f conftest.er1
91399   cat conftest.err >&5
91400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401   (exit $ac_status); } &&
91402          { ac_try='test -z "$ac_c_werror_flag"
91403                          || test ! -s conftest.err'
91404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91405   (eval $ac_try) 2>&5
91406   ac_status=$?
91407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91408   (exit $ac_status); }; } &&
91409          { ac_try='test -s conftest$ac_exeext'
91410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91411   (eval $ac_try) 2>&5
91412   ac_status=$?
91413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91414   (exit $ac_status); }; }; then
91415   eval "$as_ac_var=yes"
91416 else
91417   echo "$as_me: failed program was:" >&5
91418 sed 's/^/| /' conftest.$ac_ext >&5
91419
91420 eval "$as_ac_var=no"
91421 fi
91422 rm -f conftest.err conftest.$ac_objext \
91423       conftest$ac_exeext conftest.$ac_ext
91424 fi
91425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91427 if test `eval echo '${'$as_ac_var'}'` = yes; then
91428   cat >>confdefs.h <<_ACEOF
91429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91430 _ACEOF
91431
91432 else
91433   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91434 fi
91435 done
91436
91437
91438
91439 for ac_func in __signbit
91440 do
91441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91442 echo "$as_me:$LINENO: checking for $ac_func" >&5
91443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91444 if eval "test \"\${$as_ac_var+set}\" = set"; then
91445   echo $ECHO_N "(cached) $ECHO_C" >&6
91446 else
91447   if test x$gcc_no_link = xyes; then
91448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91450    { (exit 1); exit 1; }; }
91451 fi
91452 cat >conftest.$ac_ext <<_ACEOF
91453 /* confdefs.h.  */
91454 _ACEOF
91455 cat confdefs.h >>conftest.$ac_ext
91456 cat >>conftest.$ac_ext <<_ACEOF
91457 /* end confdefs.h.  */
91458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91460 #define $ac_func innocuous_$ac_func
91461
91462 /* System header to define __stub macros and hopefully few prototypes,
91463     which can conflict with char $ac_func (); below.
91464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91465     <limits.h> exists even on freestanding compilers.  */
91466
91467 #ifdef __STDC__
91468 # include <limits.h>
91469 #else
91470 # include <assert.h>
91471 #endif
91472
91473 #undef $ac_func
91474
91475 /* Override any gcc2 internal prototype to avoid an error.  */
91476 #ifdef __cplusplus
91477 extern "C"
91478 {
91479 #endif
91480 /* We use char because int might match the return type of a gcc2
91481    builtin and then its argument prototype would still apply.  */
91482 char $ac_func ();
91483 /* The GNU C library defines this for functions which it implements
91484     to always fail with ENOSYS.  Some functions are actually named
91485     something starting with __ and the normal name is an alias.  */
91486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91487 choke me
91488 #else
91489 char (*f) () = $ac_func;
91490 #endif
91491 #ifdef __cplusplus
91492 }
91493 #endif
91494
91495 int
91496 main ()
91497 {
91498 return f != $ac_func;
91499   ;
91500   return 0;
91501 }
91502 _ACEOF
91503 rm -f conftest.$ac_objext conftest$ac_exeext
91504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91505   (eval $ac_link) 2>conftest.er1
91506   ac_status=$?
91507   grep -v '^ *+' conftest.er1 >conftest.err
91508   rm -f conftest.er1
91509   cat conftest.err >&5
91510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511   (exit $ac_status); } &&
91512          { ac_try='test -z "$ac_c_werror_flag"
91513                          || test ! -s conftest.err'
91514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91515   (eval $ac_try) 2>&5
91516   ac_status=$?
91517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91518   (exit $ac_status); }; } &&
91519          { ac_try='test -s conftest$ac_exeext'
91520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91521   (eval $ac_try) 2>&5
91522   ac_status=$?
91523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91524   (exit $ac_status); }; }; then
91525   eval "$as_ac_var=yes"
91526 else
91527   echo "$as_me: failed program was:" >&5
91528 sed 's/^/| /' conftest.$ac_ext >&5
91529
91530 eval "$as_ac_var=no"
91531 fi
91532 rm -f conftest.err conftest.$ac_objext \
91533       conftest$ac_exeext conftest.$ac_ext
91534 fi
91535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91537 if test `eval echo '${'$as_ac_var'}'` = yes; then
91538   cat >>confdefs.h <<_ACEOF
91539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91540 _ACEOF
91541
91542 else
91543   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91544 fi
91545 done
91546
91547
91548
91549 for ac_func in __signbitf
91550 do
91551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91552 echo "$as_me:$LINENO: checking for $ac_func" >&5
91553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91554 if eval "test \"\${$as_ac_var+set}\" = set"; then
91555   echo $ECHO_N "(cached) $ECHO_C" >&6
91556 else
91557   if test x$gcc_no_link = xyes; then
91558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91560    { (exit 1); exit 1; }; }
91561 fi
91562 cat >conftest.$ac_ext <<_ACEOF
91563 /* confdefs.h.  */
91564 _ACEOF
91565 cat confdefs.h >>conftest.$ac_ext
91566 cat >>conftest.$ac_ext <<_ACEOF
91567 /* end confdefs.h.  */
91568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91570 #define $ac_func innocuous_$ac_func
91571
91572 /* System header to define __stub macros and hopefully few prototypes,
91573     which can conflict with char $ac_func (); below.
91574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91575     <limits.h> exists even on freestanding compilers.  */
91576
91577 #ifdef __STDC__
91578 # include <limits.h>
91579 #else
91580 # include <assert.h>
91581 #endif
91582
91583 #undef $ac_func
91584
91585 /* Override any gcc2 internal prototype to avoid an error.  */
91586 #ifdef __cplusplus
91587 extern "C"
91588 {
91589 #endif
91590 /* We use char because int might match the return type of a gcc2
91591    builtin and then its argument prototype would still apply.  */
91592 char $ac_func ();
91593 /* The GNU C library defines this for functions which it implements
91594     to always fail with ENOSYS.  Some functions are actually named
91595     something starting with __ and the normal name is an alias.  */
91596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91597 choke me
91598 #else
91599 char (*f) () = $ac_func;
91600 #endif
91601 #ifdef __cplusplus
91602 }
91603 #endif
91604
91605 int
91606 main ()
91607 {
91608 return f != $ac_func;
91609   ;
91610   return 0;
91611 }
91612 _ACEOF
91613 rm -f conftest.$ac_objext conftest$ac_exeext
91614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91615   (eval $ac_link) 2>conftest.er1
91616   ac_status=$?
91617   grep -v '^ *+' conftest.er1 >conftest.err
91618   rm -f conftest.er1
91619   cat conftest.err >&5
91620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91621   (exit $ac_status); } &&
91622          { ac_try='test -z "$ac_c_werror_flag"
91623                          || test ! -s conftest.err'
91624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91625   (eval $ac_try) 2>&5
91626   ac_status=$?
91627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91628   (exit $ac_status); }; } &&
91629          { ac_try='test -s conftest$ac_exeext'
91630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91631   (eval $ac_try) 2>&5
91632   ac_status=$?
91633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91634   (exit $ac_status); }; }; then
91635   eval "$as_ac_var=yes"
91636 else
91637   echo "$as_me: failed program was:" >&5
91638 sed 's/^/| /' conftest.$ac_ext >&5
91639
91640 eval "$as_ac_var=no"
91641 fi
91642 rm -f conftest.err conftest.$ac_objext \
91643       conftest$ac_exeext conftest.$ac_ext
91644 fi
91645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91647 if test `eval echo '${'$as_ac_var'}'` = yes; then
91648   cat >>confdefs.h <<_ACEOF
91649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91650 _ACEOF
91651
91652 else
91653   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91654 fi
91655 done
91656
91657
91658           if test x$ac_cv_func_copysignl = x"yes"; then
91659
91660 for ac_func in __signbitl
91661 do
91662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91663 echo "$as_me:$LINENO: checking for $ac_func" >&5
91664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91665 if eval "test \"\${$as_ac_var+set}\" = set"; then
91666   echo $ECHO_N "(cached) $ECHO_C" >&6
91667 else
91668   if test x$gcc_no_link = xyes; then
91669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91671    { (exit 1); exit 1; }; }
91672 fi
91673 cat >conftest.$ac_ext <<_ACEOF
91674 /* confdefs.h.  */
91675 _ACEOF
91676 cat confdefs.h >>conftest.$ac_ext
91677 cat >>conftest.$ac_ext <<_ACEOF
91678 /* end confdefs.h.  */
91679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91681 #define $ac_func innocuous_$ac_func
91682
91683 /* System header to define __stub macros and hopefully few prototypes,
91684     which can conflict with char $ac_func (); below.
91685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91686     <limits.h> exists even on freestanding compilers.  */
91687
91688 #ifdef __STDC__
91689 # include <limits.h>
91690 #else
91691 # include <assert.h>
91692 #endif
91693
91694 #undef $ac_func
91695
91696 /* Override any gcc2 internal prototype to avoid an error.  */
91697 #ifdef __cplusplus
91698 extern "C"
91699 {
91700 #endif
91701 /* We use char because int might match the return type of a gcc2
91702    builtin and then its argument prototype would still apply.  */
91703 char $ac_func ();
91704 /* The GNU C library defines this for functions which it implements
91705     to always fail with ENOSYS.  Some functions are actually named
91706     something starting with __ and the normal name is an alias.  */
91707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91708 choke me
91709 #else
91710 char (*f) () = $ac_func;
91711 #endif
91712 #ifdef __cplusplus
91713 }
91714 #endif
91715
91716 int
91717 main ()
91718 {
91719 return f != $ac_func;
91720   ;
91721   return 0;
91722 }
91723 _ACEOF
91724 rm -f conftest.$ac_objext conftest$ac_exeext
91725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91726   (eval $ac_link) 2>conftest.er1
91727   ac_status=$?
91728   grep -v '^ *+' conftest.er1 >conftest.err
91729   rm -f conftest.er1
91730   cat conftest.err >&5
91731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91732   (exit $ac_status); } &&
91733          { ac_try='test -z "$ac_c_werror_flag"
91734                          || test ! -s conftest.err'
91735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91736   (eval $ac_try) 2>&5
91737   ac_status=$?
91738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91739   (exit $ac_status); }; } &&
91740          { ac_try='test -s conftest$ac_exeext'
91741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91742   (eval $ac_try) 2>&5
91743   ac_status=$?
91744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91745   (exit $ac_status); }; }; then
91746   eval "$as_ac_var=yes"
91747 else
91748   echo "$as_me: failed program was:" >&5
91749 sed 's/^/| /' conftest.$ac_ext >&5
91750
91751 eval "$as_ac_var=no"
91752 fi
91753 rm -f conftest.err conftest.$ac_objext \
91754       conftest$ac_exeext conftest.$ac_ext
91755 fi
91756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91758 if test `eval echo '${'$as_ac_var'}'` = yes; then
91759   cat >>confdefs.h <<_ACEOF
91760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91761 _ACEOF
91762
91763 else
91764   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91765 fi
91766 done
91767
91768   fi
91769
91770   # Used in libmath/Makefile.am.
91771   if test -n "$LIBMATHOBJS"; then
91772     need_libmath=yes
91773   fi
91774
91775
91776
91777   # Test wchar.h for mbstate_t, which is needed for char_traits and
91778   # others even if wchar_t support is not on.
91779   echo "$as_me:$LINENO: checking for mbstate_t" >&5
91780 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
91781   cat >conftest.$ac_ext <<_ACEOF
91782 /* confdefs.h.  */
91783 _ACEOF
91784 cat confdefs.h >>conftest.$ac_ext
91785 cat >>conftest.$ac_ext <<_ACEOF
91786 /* end confdefs.h.  */
91787 #include <wchar.h>
91788 int
91789 main ()
91790 {
91791 mbstate_t teststate;
91792   ;
91793   return 0;
91794 }
91795 _ACEOF
91796 rm -f conftest.$ac_objext
91797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91798   (eval $ac_compile) 2>conftest.er1
91799   ac_status=$?
91800   grep -v '^ *+' conftest.er1 >conftest.err
91801   rm -f conftest.er1
91802   cat conftest.err >&5
91803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91804   (exit $ac_status); } &&
91805          { ac_try='test -z "$ac_c_werror_flag"
91806                          || test ! -s conftest.err'
91807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91808   (eval $ac_try) 2>&5
91809   ac_status=$?
91810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91811   (exit $ac_status); }; } &&
91812          { ac_try='test -s conftest.$ac_objext'
91813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91814   (eval $ac_try) 2>&5
91815   ac_status=$?
91816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91817   (exit $ac_status); }; }; then
91818   have_mbstate_t=yes
91819 else
91820   echo "$as_me: failed program was:" >&5
91821 sed 's/^/| /' conftest.$ac_ext >&5
91822
91823 have_mbstate_t=no
91824 fi
91825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91826   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
91827 echo "${ECHO_T}$have_mbstate_t" >&6
91828   if test x"$have_mbstate_t" = xyes; then
91829     cat >>confdefs.h <<\_ACEOF
91830 #define HAVE_MBSTATE_T 1
91831 _ACEOF
91832
91833   fi
91834
91835   # Sanity check for existence of ISO C99 headers for extended encoding.
91836
91837 for ac_header in wchar.h
91838 do
91839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91841   echo "$as_me:$LINENO: checking for $ac_header" >&5
91842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91844   echo $ECHO_N "(cached) $ECHO_C" >&6
91845 fi
91846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91848 else
91849   # Is the header compilable?
91850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91852 cat >conftest.$ac_ext <<_ACEOF
91853 /* confdefs.h.  */
91854 _ACEOF
91855 cat confdefs.h >>conftest.$ac_ext
91856 cat >>conftest.$ac_ext <<_ACEOF
91857 /* end confdefs.h.  */
91858 $ac_includes_default
91859 #include <$ac_header>
91860 _ACEOF
91861 rm -f conftest.$ac_objext
91862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91863   (eval $ac_compile) 2>conftest.er1
91864   ac_status=$?
91865   grep -v '^ *+' conftest.er1 >conftest.err
91866   rm -f conftest.er1
91867   cat conftest.err >&5
91868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91869   (exit $ac_status); } &&
91870          { ac_try='test -z "$ac_c_werror_flag"
91871                          || test ! -s conftest.err'
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); }; } &&
91877          { ac_try='test -s conftest.$ac_objext'
91878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91879   (eval $ac_try) 2>&5
91880   ac_status=$?
91881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882   (exit $ac_status); }; }; then
91883   ac_header_compiler=yes
91884 else
91885   echo "$as_me: failed program was:" >&5
91886 sed 's/^/| /' conftest.$ac_ext >&5
91887
91888 ac_header_compiler=no
91889 fi
91890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91892 echo "${ECHO_T}$ac_header_compiler" >&6
91893
91894 # Is the header present?
91895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91897 cat >conftest.$ac_ext <<_ACEOF
91898 /* confdefs.h.  */
91899 _ACEOF
91900 cat confdefs.h >>conftest.$ac_ext
91901 cat >>conftest.$ac_ext <<_ACEOF
91902 /* end confdefs.h.  */
91903 #include <$ac_header>
91904 _ACEOF
91905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91906   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91907   ac_status=$?
91908   grep -v '^ *+' conftest.er1 >conftest.err
91909   rm -f conftest.er1
91910   cat conftest.err >&5
91911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91912   (exit $ac_status); } >/dev/null; then
91913   if test -s conftest.err; then
91914     ac_cpp_err=$ac_c_preproc_warn_flag
91915     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91916   else
91917     ac_cpp_err=
91918   fi
91919 else
91920   ac_cpp_err=yes
91921 fi
91922 if test -z "$ac_cpp_err"; then
91923   ac_header_preproc=yes
91924 else
91925   echo "$as_me: failed program was:" >&5
91926 sed 's/^/| /' conftest.$ac_ext >&5
91927
91928   ac_header_preproc=no
91929 fi
91930 rm -f conftest.err conftest.$ac_ext
91931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91932 echo "${ECHO_T}$ac_header_preproc" >&6
91933
91934 # So?  What about this header?
91935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91936   yes:no: )
91937     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91939     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91941     ac_header_preproc=yes
91942     ;;
91943   no:yes:* )
91944     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91946     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
91947 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
91948     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91950     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
91951 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
91952     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91954     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91956     (
91957       cat <<\_ASBOX
91958 ## ----------------------------------------- ##
91959 ## Report this to the package-unused lists.  ##
91960 ## ----------------------------------------- ##
91961 _ASBOX
91962     ) |
91963       sed "s/^/$as_me: WARNING:     /" >&2
91964     ;;
91965 esac
91966 echo "$as_me:$LINENO: checking for $ac_header" >&5
91967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91969   echo $ECHO_N "(cached) $ECHO_C" >&6
91970 else
91971   eval "$as_ac_Header=\$ac_header_preproc"
91972 fi
91973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91975
91976 fi
91977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91978   cat >>confdefs.h <<_ACEOF
91979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91980 _ACEOF
91981  ac_has_wchar_h=yes
91982 else
91983   ac_has_wchar_h=no
91984 fi
91985
91986 done
91987
91988
91989 for ac_header in wctype.h
91990 do
91991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91993   echo "$as_me:$LINENO: checking for $ac_header" >&5
91994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91996   echo $ECHO_N "(cached) $ECHO_C" >&6
91997 fi
91998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92000 else
92001   # Is the header compilable?
92002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92004 cat >conftest.$ac_ext <<_ACEOF
92005 /* confdefs.h.  */
92006 _ACEOF
92007 cat confdefs.h >>conftest.$ac_ext
92008 cat >>conftest.$ac_ext <<_ACEOF
92009 /* end confdefs.h.  */
92010 $ac_includes_default
92011 #include <$ac_header>
92012 _ACEOF
92013 rm -f conftest.$ac_objext
92014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92015   (eval $ac_compile) 2>conftest.er1
92016   ac_status=$?
92017   grep -v '^ *+' conftest.er1 >conftest.err
92018   rm -f conftest.er1
92019   cat conftest.err >&5
92020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92021   (exit $ac_status); } &&
92022          { ac_try='test -z "$ac_c_werror_flag"
92023                          || test ! -s conftest.err'
92024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92025   (eval $ac_try) 2>&5
92026   ac_status=$?
92027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92028   (exit $ac_status); }; } &&
92029          { ac_try='test -s conftest.$ac_objext'
92030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92031   (eval $ac_try) 2>&5
92032   ac_status=$?
92033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92034   (exit $ac_status); }; }; then
92035   ac_header_compiler=yes
92036 else
92037   echo "$as_me: failed program was:" >&5
92038 sed 's/^/| /' conftest.$ac_ext >&5
92039
92040 ac_header_compiler=no
92041 fi
92042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92044 echo "${ECHO_T}$ac_header_compiler" >&6
92045
92046 # Is the header present?
92047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92049 cat >conftest.$ac_ext <<_ACEOF
92050 /* confdefs.h.  */
92051 _ACEOF
92052 cat confdefs.h >>conftest.$ac_ext
92053 cat >>conftest.$ac_ext <<_ACEOF
92054 /* end confdefs.h.  */
92055 #include <$ac_header>
92056 _ACEOF
92057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92058   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92059   ac_status=$?
92060   grep -v '^ *+' conftest.er1 >conftest.err
92061   rm -f conftest.er1
92062   cat conftest.err >&5
92063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92064   (exit $ac_status); } >/dev/null; then
92065   if test -s conftest.err; then
92066     ac_cpp_err=$ac_c_preproc_warn_flag
92067     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92068   else
92069     ac_cpp_err=
92070   fi
92071 else
92072   ac_cpp_err=yes
92073 fi
92074 if test -z "$ac_cpp_err"; then
92075   ac_header_preproc=yes
92076 else
92077   echo "$as_me: failed program was:" >&5
92078 sed 's/^/| /' conftest.$ac_ext >&5
92079
92080   ac_header_preproc=no
92081 fi
92082 rm -f conftest.err conftest.$ac_ext
92083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92084 echo "${ECHO_T}$ac_header_preproc" >&6
92085
92086 # So?  What about this header?
92087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92088   yes:no: )
92089     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92091     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92093     ac_header_preproc=yes
92094     ;;
92095   no:yes:* )
92096     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92098     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92099 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92100     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92102     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92103 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92104     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92106     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92108     (
92109       cat <<\_ASBOX
92110 ## ----------------------------------------- ##
92111 ## Report this to the package-unused lists.  ##
92112 ## ----------------------------------------- ##
92113 _ASBOX
92114     ) |
92115       sed "s/^/$as_me: WARNING:     /" >&2
92116     ;;
92117 esac
92118 echo "$as_me:$LINENO: checking for $ac_header" >&5
92119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92121   echo $ECHO_N "(cached) $ECHO_C" >&6
92122 else
92123   eval "$as_ac_Header=\$ac_header_preproc"
92124 fi
92125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92127
92128 fi
92129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92130   cat >>confdefs.h <<_ACEOF
92131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92132 _ACEOF
92133  ac_has_wctype_h=yes
92134 else
92135   ac_has_wctype_h=no
92136 fi
92137
92138 done
92139
92140
92141   # Only continue checking if the ISO C99 headers exist and support is on.
92142   if test x"$ac_has_wchar_h" = xyes &&
92143      test x"$ac_has_wctype_h" = xyes &&
92144      test x"$enable_c_mbchar" != xno; then
92145
92146     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92147     # numeric_limits can instantiate type_traits<wchar_t>
92148     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92149 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92150     cat >conftest.$ac_ext <<_ACEOF
92151 /* confdefs.h.  */
92152 _ACEOF
92153 cat confdefs.h >>conftest.$ac_ext
92154 cat >>conftest.$ac_ext <<_ACEOF
92155 /* end confdefs.h.  */
92156 #include <wchar.h>
92157 int
92158 main ()
92159 {
92160 int i = WCHAR_MIN; int j = WCHAR_MAX;
92161   ;
92162   return 0;
92163 }
92164 _ACEOF
92165 rm -f conftest.$ac_objext
92166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92167   (eval $ac_compile) 2>conftest.er1
92168   ac_status=$?
92169   grep -v '^ *+' conftest.er1 >conftest.err
92170   rm -f conftest.er1
92171   cat conftest.err >&5
92172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92173   (exit $ac_status); } &&
92174          { ac_try='test -z "$ac_c_werror_flag"
92175                          || test ! -s conftest.err'
92176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92177   (eval $ac_try) 2>&5
92178   ac_status=$?
92179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92180   (exit $ac_status); }; } &&
92181          { ac_try='test -s conftest.$ac_objext'
92182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92183   (eval $ac_try) 2>&5
92184   ac_status=$?
92185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92186   (exit $ac_status); }; }; then
92187   has_wchar_minmax=yes
92188 else
92189   echo "$as_me: failed program was:" >&5
92190 sed 's/^/| /' conftest.$ac_ext >&5
92191
92192 has_wchar_minmax=no
92193 fi
92194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92195     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92196 echo "${ECHO_T}$has_wchar_minmax" >&6
92197
92198     # Test wchar.h for WEOF, which is what we use to determine whether
92199     # to specialize for char_traits<wchar_t> or not.
92200     echo "$as_me:$LINENO: checking for WEOF" >&5
92201 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92202     cat >conftest.$ac_ext <<_ACEOF
92203 /* confdefs.h.  */
92204 _ACEOF
92205 cat confdefs.h >>conftest.$ac_ext
92206 cat >>conftest.$ac_ext <<_ACEOF
92207 /* end confdefs.h.  */
92208
92209       #include <wchar.h>
92210       #include <stddef.h>
92211 int
92212 main ()
92213 {
92214 wint_t i = WEOF;
92215   ;
92216   return 0;
92217 }
92218 _ACEOF
92219 rm -f conftest.$ac_objext
92220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92221   (eval $ac_compile) 2>conftest.er1
92222   ac_status=$?
92223   grep -v '^ *+' conftest.er1 >conftest.err
92224   rm -f conftest.er1
92225   cat conftest.err >&5
92226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92227   (exit $ac_status); } &&
92228          { ac_try='test -z "$ac_c_werror_flag"
92229                          || test ! -s conftest.err'
92230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92231   (eval $ac_try) 2>&5
92232   ac_status=$?
92233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92234   (exit $ac_status); }; } &&
92235          { ac_try='test -s conftest.$ac_objext'
92236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92237   (eval $ac_try) 2>&5
92238   ac_status=$?
92239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92240   (exit $ac_status); }; }; then
92241   has_weof=yes
92242 else
92243   echo "$as_me: failed program was:" >&5
92244 sed 's/^/| /' conftest.$ac_ext >&5
92245
92246 has_weof=no
92247 fi
92248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92249     echo "$as_me:$LINENO: result: $has_weof" >&5
92250 echo "${ECHO_T}$has_weof" >&6
92251
92252     # Tests for wide character functions used in char_traits<wchar_t>.
92253     ac_wfuncs=yes
92254
92255
92256
92257
92258
92259
92260 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92261 do
92262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92263 echo "$as_me:$LINENO: checking for $ac_func" >&5
92264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92265 if eval "test \"\${$as_ac_var+set}\" = set"; then
92266   echo $ECHO_N "(cached) $ECHO_C" >&6
92267 else
92268   if test x$gcc_no_link = xyes; then
92269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92271    { (exit 1); exit 1; }; }
92272 fi
92273 cat >conftest.$ac_ext <<_ACEOF
92274 /* confdefs.h.  */
92275 _ACEOF
92276 cat confdefs.h >>conftest.$ac_ext
92277 cat >>conftest.$ac_ext <<_ACEOF
92278 /* end confdefs.h.  */
92279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92281 #define $ac_func innocuous_$ac_func
92282
92283 /* System header to define __stub macros and hopefully few prototypes,
92284     which can conflict with char $ac_func (); below.
92285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92286     <limits.h> exists even on freestanding compilers.  */
92287
92288 #ifdef __STDC__
92289 # include <limits.h>
92290 #else
92291 # include <assert.h>
92292 #endif
92293
92294 #undef $ac_func
92295
92296 /* Override any gcc2 internal prototype to avoid an error.  */
92297 #ifdef __cplusplus
92298 extern "C"
92299 {
92300 #endif
92301 /* We use char because int might match the return type of a gcc2
92302    builtin and then its argument prototype would still apply.  */
92303 char $ac_func ();
92304 /* The GNU C library defines this for functions which it implements
92305     to always fail with ENOSYS.  Some functions are actually named
92306     something starting with __ and the normal name is an alias.  */
92307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92308 choke me
92309 #else
92310 char (*f) () = $ac_func;
92311 #endif
92312 #ifdef __cplusplus
92313 }
92314 #endif
92315
92316 int
92317 main ()
92318 {
92319 return f != $ac_func;
92320   ;
92321   return 0;
92322 }
92323 _ACEOF
92324 rm -f conftest.$ac_objext conftest$ac_exeext
92325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92326   (eval $ac_link) 2>conftest.er1
92327   ac_status=$?
92328   grep -v '^ *+' conftest.er1 >conftest.err
92329   rm -f conftest.er1
92330   cat conftest.err >&5
92331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92332   (exit $ac_status); } &&
92333          { ac_try='test -z "$ac_c_werror_flag"
92334                          || test ! -s conftest.err'
92335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92336   (eval $ac_try) 2>&5
92337   ac_status=$?
92338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92339   (exit $ac_status); }; } &&
92340          { ac_try='test -s conftest$ac_exeext'
92341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92342   (eval $ac_try) 2>&5
92343   ac_status=$?
92344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92345   (exit $ac_status); }; }; then
92346   eval "$as_ac_var=yes"
92347 else
92348   echo "$as_me: failed program was:" >&5
92349 sed 's/^/| /' conftest.$ac_ext >&5
92350
92351 eval "$as_ac_var=no"
92352 fi
92353 rm -f conftest.err conftest.$ac_objext \
92354       conftest$ac_exeext conftest.$ac_ext
92355 fi
92356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92358 if test `eval echo '${'$as_ac_var'}'` = yes; then
92359   cat >>confdefs.h <<_ACEOF
92360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92361 _ACEOF
92362
92363 else
92364   ac_wfuncs=no
92365 fi
92366 done
92367
92368
92369     # Checks for names injected into std:: by the c_std headers.
92370
92371
92372
92373
92374
92375
92376
92377
92378
92379
92380
92381
92382
92383
92384
92385
92386
92387
92388
92389
92390
92391
92392
92393
92394
92395
92396
92397
92398
92399
92400
92401
92402
92403
92404
92405
92406
92407
92408
92409
92410
92411
92412
92413
92414
92415
92416 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92417     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92418     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92419     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92420     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92421     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92422 do
92423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92424 echo "$as_me:$LINENO: checking for $ac_func" >&5
92425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92426 if eval "test \"\${$as_ac_var+set}\" = set"; then
92427   echo $ECHO_N "(cached) $ECHO_C" >&6
92428 else
92429   if test x$gcc_no_link = xyes; then
92430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92432    { (exit 1); exit 1; }; }
92433 fi
92434 cat >conftest.$ac_ext <<_ACEOF
92435 /* confdefs.h.  */
92436 _ACEOF
92437 cat confdefs.h >>conftest.$ac_ext
92438 cat >>conftest.$ac_ext <<_ACEOF
92439 /* end confdefs.h.  */
92440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92442 #define $ac_func innocuous_$ac_func
92443
92444 /* System header to define __stub macros and hopefully few prototypes,
92445     which can conflict with char $ac_func (); below.
92446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92447     <limits.h> exists even on freestanding compilers.  */
92448
92449 #ifdef __STDC__
92450 # include <limits.h>
92451 #else
92452 # include <assert.h>
92453 #endif
92454
92455 #undef $ac_func
92456
92457 /* Override any gcc2 internal prototype to avoid an error.  */
92458 #ifdef __cplusplus
92459 extern "C"
92460 {
92461 #endif
92462 /* We use char because int might match the return type of a gcc2
92463    builtin and then its argument prototype would still apply.  */
92464 char $ac_func ();
92465 /* The GNU C library defines this for functions which it implements
92466     to always fail with ENOSYS.  Some functions are actually named
92467     something starting with __ and the normal name is an alias.  */
92468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92469 choke me
92470 #else
92471 char (*f) () = $ac_func;
92472 #endif
92473 #ifdef __cplusplus
92474 }
92475 #endif
92476
92477 int
92478 main ()
92479 {
92480 return f != $ac_func;
92481   ;
92482   return 0;
92483 }
92484 _ACEOF
92485 rm -f conftest.$ac_objext conftest$ac_exeext
92486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92487   (eval $ac_link) 2>conftest.er1
92488   ac_status=$?
92489   grep -v '^ *+' conftest.er1 >conftest.err
92490   rm -f conftest.er1
92491   cat conftest.err >&5
92492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92493   (exit $ac_status); } &&
92494          { ac_try='test -z "$ac_c_werror_flag"
92495                          || test ! -s conftest.err'
92496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92497   (eval $ac_try) 2>&5
92498   ac_status=$?
92499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92500   (exit $ac_status); }; } &&
92501          { ac_try='test -s conftest$ac_exeext'
92502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92503   (eval $ac_try) 2>&5
92504   ac_status=$?
92505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92506   (exit $ac_status); }; }; then
92507   eval "$as_ac_var=yes"
92508 else
92509   echo "$as_me: failed program was:" >&5
92510 sed 's/^/| /' conftest.$ac_ext >&5
92511
92512 eval "$as_ac_var=no"
92513 fi
92514 rm -f conftest.err conftest.$ac_objext \
92515       conftest$ac_exeext conftest.$ac_ext
92516 fi
92517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92519 if test `eval echo '${'$as_ac_var'}'` = yes; then
92520   cat >>confdefs.h <<_ACEOF
92521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92522 _ACEOF
92523
92524 else
92525   ac_wfuncs=no
92526 fi
92527 done
92528
92529
92530     # Checks for wide character functions that are not required
92531     # for basic wchar_t support.  Don't disable support if they are missing.
92532     # Injection of these is wrapped with guard macros.
92533
92534
92535
92536
92537
92538 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92539 do
92540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92541 echo "$as_me:$LINENO: checking for $ac_func" >&5
92542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92543 if eval "test \"\${$as_ac_var+set}\" = set"; then
92544   echo $ECHO_N "(cached) $ECHO_C" >&6
92545 else
92546   if test x$gcc_no_link = xyes; then
92547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92549    { (exit 1); exit 1; }; }
92550 fi
92551 cat >conftest.$ac_ext <<_ACEOF
92552 /* confdefs.h.  */
92553 _ACEOF
92554 cat confdefs.h >>conftest.$ac_ext
92555 cat >>conftest.$ac_ext <<_ACEOF
92556 /* end confdefs.h.  */
92557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92559 #define $ac_func innocuous_$ac_func
92560
92561 /* System header to define __stub macros and hopefully few prototypes,
92562     which can conflict with char $ac_func (); below.
92563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92564     <limits.h> exists even on freestanding compilers.  */
92565
92566 #ifdef __STDC__
92567 # include <limits.h>
92568 #else
92569 # include <assert.h>
92570 #endif
92571
92572 #undef $ac_func
92573
92574 /* Override any gcc2 internal prototype to avoid an error.  */
92575 #ifdef __cplusplus
92576 extern "C"
92577 {
92578 #endif
92579 /* We use char because int might match the return type of a gcc2
92580    builtin and then its argument prototype would still apply.  */
92581 char $ac_func ();
92582 /* The GNU C library defines this for functions which it implements
92583     to always fail with ENOSYS.  Some functions are actually named
92584     something starting with __ and the normal name is an alias.  */
92585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92586 choke me
92587 #else
92588 char (*f) () = $ac_func;
92589 #endif
92590 #ifdef __cplusplus
92591 }
92592 #endif
92593
92594 int
92595 main ()
92596 {
92597 return f != $ac_func;
92598   ;
92599   return 0;
92600 }
92601 _ACEOF
92602 rm -f conftest.$ac_objext conftest$ac_exeext
92603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92604   (eval $ac_link) 2>conftest.er1
92605   ac_status=$?
92606   grep -v '^ *+' conftest.er1 >conftest.err
92607   rm -f conftest.er1
92608   cat conftest.err >&5
92609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92610   (exit $ac_status); } &&
92611          { ac_try='test -z "$ac_c_werror_flag"
92612                          || test ! -s conftest.err'
92613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92614   (eval $ac_try) 2>&5
92615   ac_status=$?
92616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92617   (exit $ac_status); }; } &&
92618          { ac_try='test -s conftest$ac_exeext'
92619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92620   (eval $ac_try) 2>&5
92621   ac_status=$?
92622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92623   (exit $ac_status); }; }; then
92624   eval "$as_ac_var=yes"
92625 else
92626   echo "$as_me: failed program was:" >&5
92627 sed 's/^/| /' conftest.$ac_ext >&5
92628
92629 eval "$as_ac_var=no"
92630 fi
92631 rm -f conftest.err conftest.$ac_objext \
92632       conftest$ac_exeext conftest.$ac_ext
92633 fi
92634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92636 if test `eval echo '${'$as_ac_var'}'` = yes; then
92637   cat >>confdefs.h <<_ACEOF
92638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92639 _ACEOF
92640
92641 fi
92642 done
92643
92644
92645     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
92646 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
92647     if test x"$has_weof" = xyes &&
92648        test x"$has_wchar_minmax" = xyes &&
92649        test x"$ac_wfuncs" = xyes;
92650     then
92651       ac_isoC99_wchar_t=yes
92652     else
92653       ac_isoC99_wchar_t=no
92654     fi
92655     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
92656 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
92657
92658     # Use iconv for wchar_t to char conversions. As such, check for
92659     # X/Open Portability Guide, version 2 features (XPG2).
92660     if test "${ac_cv_header_iconv_h+set}" = set; then
92661   echo "$as_me:$LINENO: checking for iconv.h" >&5
92662 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92663 if test "${ac_cv_header_iconv_h+set}" = set; then
92664   echo $ECHO_N "(cached) $ECHO_C" >&6
92665 fi
92666 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92667 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92668 else
92669   # Is the header compilable?
92670 echo "$as_me:$LINENO: checking iconv.h usability" >&5
92671 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
92672 cat >conftest.$ac_ext <<_ACEOF
92673 /* confdefs.h.  */
92674 _ACEOF
92675 cat confdefs.h >>conftest.$ac_ext
92676 cat >>conftest.$ac_ext <<_ACEOF
92677 /* end confdefs.h.  */
92678 $ac_includes_default
92679 #include <iconv.h>
92680 _ACEOF
92681 rm -f conftest.$ac_objext
92682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92683   (eval $ac_compile) 2>conftest.er1
92684   ac_status=$?
92685   grep -v '^ *+' conftest.er1 >conftest.err
92686   rm -f conftest.er1
92687   cat conftest.err >&5
92688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92689   (exit $ac_status); } &&
92690          { ac_try='test -z "$ac_c_werror_flag"
92691                          || test ! -s conftest.err'
92692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92693   (eval $ac_try) 2>&5
92694   ac_status=$?
92695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92696   (exit $ac_status); }; } &&
92697          { ac_try='test -s conftest.$ac_objext'
92698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92699   (eval $ac_try) 2>&5
92700   ac_status=$?
92701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92702   (exit $ac_status); }; }; then
92703   ac_header_compiler=yes
92704 else
92705   echo "$as_me: failed program was:" >&5
92706 sed 's/^/| /' conftest.$ac_ext >&5
92707
92708 ac_header_compiler=no
92709 fi
92710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92712 echo "${ECHO_T}$ac_header_compiler" >&6
92713
92714 # Is the header present?
92715 echo "$as_me:$LINENO: checking iconv.h presence" >&5
92716 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
92717 cat >conftest.$ac_ext <<_ACEOF
92718 /* confdefs.h.  */
92719 _ACEOF
92720 cat confdefs.h >>conftest.$ac_ext
92721 cat >>conftest.$ac_ext <<_ACEOF
92722 /* end confdefs.h.  */
92723 #include <iconv.h>
92724 _ACEOF
92725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92726   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92727   ac_status=$?
92728   grep -v '^ *+' conftest.er1 >conftest.err
92729   rm -f conftest.er1
92730   cat conftest.err >&5
92731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92732   (exit $ac_status); } >/dev/null; then
92733   if test -s conftest.err; then
92734     ac_cpp_err=$ac_c_preproc_warn_flag
92735     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92736   else
92737     ac_cpp_err=
92738   fi
92739 else
92740   ac_cpp_err=yes
92741 fi
92742 if test -z "$ac_cpp_err"; then
92743   ac_header_preproc=yes
92744 else
92745   echo "$as_me: failed program was:" >&5
92746 sed 's/^/| /' conftest.$ac_ext >&5
92747
92748   ac_header_preproc=no
92749 fi
92750 rm -f conftest.err conftest.$ac_ext
92751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92752 echo "${ECHO_T}$ac_header_preproc" >&6
92753
92754 # So?  What about this header?
92755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92756   yes:no: )
92757     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
92758 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92759     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
92760 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
92761     ac_header_preproc=yes
92762     ;;
92763   no:yes:* )
92764     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
92765 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
92766     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
92767 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
92768     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
92769 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
92770     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
92771 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
92772     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
92773 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
92774     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
92775 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
92776     (
92777       cat <<\_ASBOX
92778 ## ----------------------------------------- ##
92779 ## Report this to the package-unused lists.  ##
92780 ## ----------------------------------------- ##
92781 _ASBOX
92782     ) |
92783       sed "s/^/$as_me: WARNING:     /" >&2
92784     ;;
92785 esac
92786 echo "$as_me:$LINENO: checking for iconv.h" >&5
92787 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92788 if test "${ac_cv_header_iconv_h+set}" = set; then
92789   echo $ECHO_N "(cached) $ECHO_C" >&6
92790 else
92791   ac_cv_header_iconv_h=$ac_header_preproc
92792 fi
92793 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92794 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92795
92796 fi
92797 if test $ac_cv_header_iconv_h = yes; then
92798   ac_has_iconv_h=yes
92799 else
92800   ac_has_iconv_h=no
92801 fi
92802
92803
92804     if test "${ac_cv_header_langinfo_h+set}" = set; then
92805   echo "$as_me:$LINENO: checking for langinfo.h" >&5
92806 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92807 if test "${ac_cv_header_langinfo_h+set}" = set; then
92808   echo $ECHO_N "(cached) $ECHO_C" >&6
92809 fi
92810 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92811 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92812 else
92813   # Is the header compilable?
92814 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
92815 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
92816 cat >conftest.$ac_ext <<_ACEOF
92817 /* confdefs.h.  */
92818 _ACEOF
92819 cat confdefs.h >>conftest.$ac_ext
92820 cat >>conftest.$ac_ext <<_ACEOF
92821 /* end confdefs.h.  */
92822 $ac_includes_default
92823 #include <langinfo.h>
92824 _ACEOF
92825 rm -f conftest.$ac_objext
92826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92827   (eval $ac_compile) 2>conftest.er1
92828   ac_status=$?
92829   grep -v '^ *+' conftest.er1 >conftest.err
92830   rm -f conftest.er1
92831   cat conftest.err >&5
92832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92833   (exit $ac_status); } &&
92834          { ac_try='test -z "$ac_c_werror_flag"
92835                          || test ! -s conftest.err'
92836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92837   (eval $ac_try) 2>&5
92838   ac_status=$?
92839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92840   (exit $ac_status); }; } &&
92841          { ac_try='test -s conftest.$ac_objext'
92842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92843   (eval $ac_try) 2>&5
92844   ac_status=$?
92845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92846   (exit $ac_status); }; }; then
92847   ac_header_compiler=yes
92848 else
92849   echo "$as_me: failed program was:" >&5
92850 sed 's/^/| /' conftest.$ac_ext >&5
92851
92852 ac_header_compiler=no
92853 fi
92854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92856 echo "${ECHO_T}$ac_header_compiler" >&6
92857
92858 # Is the header present?
92859 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
92860 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
92861 cat >conftest.$ac_ext <<_ACEOF
92862 /* confdefs.h.  */
92863 _ACEOF
92864 cat confdefs.h >>conftest.$ac_ext
92865 cat >>conftest.$ac_ext <<_ACEOF
92866 /* end confdefs.h.  */
92867 #include <langinfo.h>
92868 _ACEOF
92869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92870   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92871   ac_status=$?
92872   grep -v '^ *+' conftest.er1 >conftest.err
92873   rm -f conftest.er1
92874   cat conftest.err >&5
92875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92876   (exit $ac_status); } >/dev/null; then
92877   if test -s conftest.err; then
92878     ac_cpp_err=$ac_c_preproc_warn_flag
92879     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92880   else
92881     ac_cpp_err=
92882   fi
92883 else
92884   ac_cpp_err=yes
92885 fi
92886 if test -z "$ac_cpp_err"; then
92887   ac_header_preproc=yes
92888 else
92889   echo "$as_me: failed program was:" >&5
92890 sed 's/^/| /' conftest.$ac_ext >&5
92891
92892   ac_header_preproc=no
92893 fi
92894 rm -f conftest.err conftest.$ac_ext
92895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92896 echo "${ECHO_T}$ac_header_preproc" >&6
92897
92898 # So?  What about this header?
92899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92900   yes:no: )
92901     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
92902 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92903     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
92904 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
92905     ac_header_preproc=yes
92906     ;;
92907   no:yes:* )
92908     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
92909 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
92910     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
92911 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
92912     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
92913 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
92914     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
92915 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
92916     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
92917 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
92918     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
92919 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
92920     (
92921       cat <<\_ASBOX
92922 ## ----------------------------------------- ##
92923 ## Report this to the package-unused lists.  ##
92924 ## ----------------------------------------- ##
92925 _ASBOX
92926     ) |
92927       sed "s/^/$as_me: WARNING:     /" >&2
92928     ;;
92929 esac
92930 echo "$as_me:$LINENO: checking for langinfo.h" >&5
92931 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92932 if test "${ac_cv_header_langinfo_h+set}" = set; then
92933   echo $ECHO_N "(cached) $ECHO_C" >&6
92934 else
92935   ac_cv_header_langinfo_h=$ac_header_preproc
92936 fi
92937 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92938 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92939
92940 fi
92941 if test $ac_cv_header_langinfo_h = yes; then
92942   ac_has_langinfo_h=yes
92943 else
92944   ac_has_langinfo_h=no
92945 fi
92946
92947
92948
92949     # Check for existence of libiconv.a providing XPG2 wchar_t support.
92950     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
92951 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
92952 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
92953   echo $ECHO_N "(cached) $ECHO_C" >&6
92954 else
92955   ac_check_lib_save_LIBS=$LIBS
92956 LIBS="-liconv  $LIBS"
92957 if test x$gcc_no_link = xyes; then
92958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92960    { (exit 1); exit 1; }; }
92961 fi
92962 cat >conftest.$ac_ext <<_ACEOF
92963 /* confdefs.h.  */
92964 _ACEOF
92965 cat confdefs.h >>conftest.$ac_ext
92966 cat >>conftest.$ac_ext <<_ACEOF
92967 /* end confdefs.h.  */
92968
92969 /* Override any gcc2 internal prototype to avoid an error.  */
92970 #ifdef __cplusplus
92971 extern "C"
92972 #endif
92973 /* We use char because int might match the return type of a gcc2
92974    builtin and then its argument prototype would still apply.  */
92975 char iconv ();
92976 int
92977 main ()
92978 {
92979 iconv ();
92980   ;
92981   return 0;
92982 }
92983 _ACEOF
92984 rm -f conftest.$ac_objext conftest$ac_exeext
92985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92986   (eval $ac_link) 2>conftest.er1
92987   ac_status=$?
92988   grep -v '^ *+' conftest.er1 >conftest.err
92989   rm -f conftest.er1
92990   cat conftest.err >&5
92991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92992   (exit $ac_status); } &&
92993          { ac_try='test -z "$ac_c_werror_flag"
92994                          || test ! -s conftest.err'
92995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92996   (eval $ac_try) 2>&5
92997   ac_status=$?
92998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92999   (exit $ac_status); }; } &&
93000          { ac_try='test -s conftest$ac_exeext'
93001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93002   (eval $ac_try) 2>&5
93003   ac_status=$?
93004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93005   (exit $ac_status); }; }; then
93006   ac_cv_lib_iconv_iconv=yes
93007 else
93008   echo "$as_me: failed program was:" >&5
93009 sed 's/^/| /' conftest.$ac_ext >&5
93010
93011 ac_cv_lib_iconv_iconv=no
93012 fi
93013 rm -f conftest.err conftest.$ac_objext \
93014       conftest$ac_exeext conftest.$ac_ext
93015 LIBS=$ac_check_lib_save_LIBS
93016 fi
93017 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93018 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93019 if test $ac_cv_lib_iconv_iconv = yes; then
93020   libiconv="-liconv"
93021 fi
93022
93023     ac_save_LIBS="$LIBS"
93024     LIBS="$LIBS $libiconv"
93025
93026
93027
93028
93029
93030 for ac_func in iconv_open iconv_close iconv nl_langinfo
93031 do
93032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93033 echo "$as_me:$LINENO: checking for $ac_func" >&5
93034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93035 if eval "test \"\${$as_ac_var+set}\" = set"; then
93036   echo $ECHO_N "(cached) $ECHO_C" >&6
93037 else
93038   if test x$gcc_no_link = xyes; then
93039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93041    { (exit 1); exit 1; }; }
93042 fi
93043 cat >conftest.$ac_ext <<_ACEOF
93044 /* confdefs.h.  */
93045 _ACEOF
93046 cat confdefs.h >>conftest.$ac_ext
93047 cat >>conftest.$ac_ext <<_ACEOF
93048 /* end confdefs.h.  */
93049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93051 #define $ac_func innocuous_$ac_func
93052
93053 /* System header to define __stub macros and hopefully few prototypes,
93054     which can conflict with char $ac_func (); below.
93055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93056     <limits.h> exists even on freestanding compilers.  */
93057
93058 #ifdef __STDC__
93059 # include <limits.h>
93060 #else
93061 # include <assert.h>
93062 #endif
93063
93064 #undef $ac_func
93065
93066 /* Override any gcc2 internal prototype to avoid an error.  */
93067 #ifdef __cplusplus
93068 extern "C"
93069 {
93070 #endif
93071 /* We use char because int might match the return type of a gcc2
93072    builtin and then its argument prototype would still apply.  */
93073 char $ac_func ();
93074 /* The GNU C library defines this for functions which it implements
93075     to always fail with ENOSYS.  Some functions are actually named
93076     something starting with __ and the normal name is an alias.  */
93077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93078 choke me
93079 #else
93080 char (*f) () = $ac_func;
93081 #endif
93082 #ifdef __cplusplus
93083 }
93084 #endif
93085
93086 int
93087 main ()
93088 {
93089 return f != $ac_func;
93090   ;
93091   return 0;
93092 }
93093 _ACEOF
93094 rm -f conftest.$ac_objext conftest$ac_exeext
93095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93096   (eval $ac_link) 2>conftest.er1
93097   ac_status=$?
93098   grep -v '^ *+' conftest.er1 >conftest.err
93099   rm -f conftest.er1
93100   cat conftest.err >&5
93101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93102   (exit $ac_status); } &&
93103          { ac_try='test -z "$ac_c_werror_flag"
93104                          || test ! -s conftest.err'
93105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93106   (eval $ac_try) 2>&5
93107   ac_status=$?
93108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93109   (exit $ac_status); }; } &&
93110          { ac_try='test -s conftest$ac_exeext'
93111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93112   (eval $ac_try) 2>&5
93113   ac_status=$?
93114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93115   (exit $ac_status); }; }; then
93116   eval "$as_ac_var=yes"
93117 else
93118   echo "$as_me: failed program was:" >&5
93119 sed 's/^/| /' conftest.$ac_ext >&5
93120
93121 eval "$as_ac_var=no"
93122 fi
93123 rm -f conftest.err conftest.$ac_objext \
93124       conftest$ac_exeext conftest.$ac_ext
93125 fi
93126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93128 if test `eval echo '${'$as_ac_var'}'` = yes; then
93129   cat >>confdefs.h <<_ACEOF
93130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93131 _ACEOF
93132  ac_XPG2funcs=yes
93133 else
93134   ac_XPG2funcs=no
93135 fi
93136 done
93137
93138
93139     LIBS="$ac_save_LIBS"
93140
93141     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93142 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93143     if test x"$ac_has_iconv_h" = xyes &&
93144        test x"$ac_has_langinfo_h" = xyes &&
93145        test x"$ac_XPG2funcs" = xyes;
93146     then
93147       ac_XPG2_wchar_t=yes
93148     else
93149       ac_XPG2_wchar_t=no
93150     fi
93151     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93152 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93153
93154     # At the moment, only enable wchar_t specializations if all the
93155     # above support is present.
93156     if test x"$ac_isoC99_wchar_t" = xyes &&
93157        test x"$ac_XPG2_wchar_t" = xyes;
93158     then
93159       cat >>confdefs.h <<\_ACEOF
93160 #define _GLIBCXX_USE_WCHAR_T 1
93161 _ACEOF
93162
93163       enable_wchar_t=yes
93164     fi
93165   fi
93166   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93167 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93168   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93169 echo "${ECHO_T}$enable_wchar_t" >&6
93170
93171     cat >>confdefs.h <<\_ACEOF
93172 #define HAVE_COPYSIGN 1
93173 _ACEOF
93174
93175     cat >>confdefs.h <<\_ACEOF
93176 #define HAVE_COPYSIGNF 1
93177 _ACEOF
93178
93179     cat >>confdefs.h <<\_ACEOF
93180 #define HAVE_FINITE 1
93181 _ACEOF
93182
93183     cat >>confdefs.h <<\_ACEOF
93184 #define HAVE_FINITEF 1
93185 _ACEOF
93186
93187     cat >>confdefs.h <<\_ACEOF
93188 #define HAVE_FREXPF 1
93189 _ACEOF
93190
93191     cat >>confdefs.h <<\_ACEOF
93192 #define HAVE_HYPOTF 1
93193 _ACEOF
93194
93195     cat >>confdefs.h <<\_ACEOF
93196 #define HAVE_ISINF 1
93197 _ACEOF
93198
93199     cat >>confdefs.h <<\_ACEOF
93200 #define HAVE_ISINFF 1
93201 _ACEOF
93202
93203     cat >>confdefs.h <<\_ACEOF
93204 #define HAVE_ISNAN 1
93205 _ACEOF
93206
93207     cat >>confdefs.h <<\_ACEOF
93208 #define HAVE_ISNANF 1
93209 _ACEOF
93210
93211     cat >>confdefs.h <<\_ACEOF
93212 #define HAVE_SINCOS 1
93213 _ACEOF
93214
93215     cat >>confdefs.h <<\_ACEOF
93216 #define HAVE_SINCOSF 1
93217 _ACEOF
93218
93219     if test x"long_double_math_on_this_cpu" = x"yes"; then
93220       cat >>confdefs.h <<\_ACEOF
93221 #define HAVE_FINITEL 1
93222 _ACEOF
93223
93224       cat >>confdefs.h <<\_ACEOF
93225 #define HAVE_HYPOTL 1
93226 _ACEOF
93227
93228       cat >>confdefs.h <<\_ACEOF
93229 #define HAVE_ISINFL 1
93230 _ACEOF
93231
93232       cat >>confdefs.h <<\_ACEOF
93233 #define HAVE_ISNANL 1
93234 _ACEOF
93235
93236     fi
93237     ;;
93238   *-vxworks)
93239     cat >>confdefs.h <<\_ACEOF
93240 #define HAVE_MMAP 1
93241 _ACEOF
93242
93243     cat >>confdefs.h <<\_ACEOF
93244 #define HAVE_ACOSF 1
93245 _ACEOF
93246
93247     cat >>confdefs.h <<\_ACEOF
93248 #define HAVE_ASINF 1
93249 _ACEOF
93250
93251     cat >>confdefs.h <<\_ACEOF
93252 #define HAVE_ATAN2F 1
93253 _ACEOF
93254
93255     cat >>confdefs.h <<\_ACEOF
93256 #define HAVE_ATANF 1
93257 _ACEOF
93258
93259     cat >>confdefs.h <<\_ACEOF
93260 #define HAVE_CEILF 1
93261 _ACEOF
93262
93263     cat >>confdefs.h <<\_ACEOF
93264 #define HAVE_COSF 1
93265 _ACEOF
93266
93267     cat >>confdefs.h <<\_ACEOF
93268 #define HAVE_COSHF 1
93269 _ACEOF
93270
93271     cat >>confdefs.h <<\_ACEOF
93272 #define HAVE_EXPF 1
93273 _ACEOF
93274
93275     cat >>confdefs.h <<\_ACEOF
93276 #define HAVE_FABSF 1
93277 _ACEOF
93278
93279     cat >>confdefs.h <<\_ACEOF
93280 #define HAVE_FLOORF 1
93281 _ACEOF
93282
93283     cat >>confdefs.h <<\_ACEOF
93284 #define HAVE_FMODF 1
93285 _ACEOF
93286
93287     cat >>confdefs.h <<\_ACEOF
93288 #define HAVE_HYPOT 1
93289 _ACEOF
93290
93291     cat >>confdefs.h <<\_ACEOF
93292 #define HAVE_LOG10F 1
93293 _ACEOF
93294
93295     cat >>confdefs.h <<\_ACEOF
93296 #define HAVE_LOGF 1
93297 _ACEOF
93298
93299     cat >>confdefs.h <<\_ACEOF
93300 #define HAVE_POWF 1
93301 _ACEOF
93302
93303     cat >>confdefs.h <<\_ACEOF
93304 #define HAVE_SINF 1
93305 _ACEOF
93306
93307     cat >>confdefs.h <<\_ACEOF
93308 #define HAVE_SINHF 1
93309 _ACEOF
93310
93311     cat >>confdefs.h <<\_ACEOF
93312 #define HAVE_SQRTF 1
93313 _ACEOF
93314
93315     cat >>confdefs.h <<\_ACEOF
93316 #define HAVE_TANF 1
93317 _ACEOF
93318
93319     cat >>confdefs.h <<\_ACEOF
93320 #define HAVE_TANHF 1
93321 _ACEOF
93322
93323     ;;
93324   *-windiss*)
93325     cat >>confdefs.h <<\_ACEOF
93326 #define HAVE_ACOSF 1
93327 _ACEOF
93328
93329     cat >>confdefs.h <<\_ACEOF
93330 #define HAVE_ACOSL 1
93331 _ACEOF
93332
93333     cat >>confdefs.h <<\_ACEOF
93334 #define HAVE_ASINF 1
93335 _ACEOF
93336
93337     cat >>confdefs.h <<\_ACEOF
93338 #define HAVE_ASINL 1
93339 _ACEOF
93340
93341     cat >>confdefs.h <<\_ACEOF
93342 #define HAVE_ATAN2F 1
93343 _ACEOF
93344
93345     cat >>confdefs.h <<\_ACEOF
93346 #define HAVE_ATAN2L 1
93347 _ACEOF
93348
93349     cat >>confdefs.h <<\_ACEOF
93350 #define HAVE_ATANF 1
93351 _ACEOF
93352
93353     cat >>confdefs.h <<\_ACEOF
93354 #define HAVE_ATANL 1
93355 _ACEOF
93356
93357     cat >>confdefs.h <<\_ACEOF
93358 #define HAVE_CEILF 1
93359 _ACEOF
93360
93361     cat >>confdefs.h <<\_ACEOF
93362 #define HAVE_CEILL 1
93363 _ACEOF
93364
93365     cat >>confdefs.h <<\_ACEOF
93366 #define HAVE_COPYSIGN 1
93367 _ACEOF
93368
93369     cat >>confdefs.h <<\_ACEOF
93370 #define HAVE_COPYSIGNF 1
93371 _ACEOF
93372
93373     cat >>confdefs.h <<\_ACEOF
93374 #define HAVE_COSF 1
93375 _ACEOF
93376
93377     cat >>confdefs.h <<\_ACEOF
93378 #define HAVE_COSL 1
93379 _ACEOF
93380
93381     cat >>confdefs.h <<\_ACEOF
93382 #define HAVE_COSHF 1
93383 _ACEOF
93384
93385     cat >>confdefs.h <<\_ACEOF
93386 #define HAVE_COSHL 1
93387 _ACEOF
93388
93389     cat >>confdefs.h <<\_ACEOF
93390 #define HAVE_EXPF 1
93391 _ACEOF
93392
93393     cat >>confdefs.h <<\_ACEOF
93394 #define HAVE_EXPL 1
93395 _ACEOF
93396
93397     cat >>confdefs.h <<\_ACEOF
93398 #define HAVE_FABSF 1
93399 _ACEOF
93400
93401     cat >>confdefs.h <<\_ACEOF
93402 #define HAVE_FABSL 1
93403 _ACEOF
93404
93405     cat >>confdefs.h <<\_ACEOF
93406 #define HAVE_FLOORF 1
93407 _ACEOF
93408
93409     cat >>confdefs.h <<\_ACEOF
93410 #define HAVE_FLOORL 1
93411 _ACEOF
93412
93413     cat >>confdefs.h <<\_ACEOF
93414 #define HAVE_FMODF 1
93415 _ACEOF
93416
93417     cat >>confdefs.h <<\_ACEOF
93418 #define HAVE_FMODL 1
93419 _ACEOF
93420
93421     cat >>confdefs.h <<\_ACEOF
93422 #define HAVE_FREXPF 1
93423 _ACEOF
93424
93425     cat >>confdefs.h <<\_ACEOF
93426 #define HAVE_FREXPL 1
93427 _ACEOF
93428
93429     cat >>confdefs.h <<\_ACEOF
93430 #define HAVE_LDEXPF 1
93431 _ACEOF
93432
93433     cat >>confdefs.h <<\_ACEOF
93434 #define HAVE_LDEXPL 1
93435 _ACEOF
93436
93437     cat >>confdefs.h <<\_ACEOF
93438 #define HAVE_LOG10F 1
93439 _ACEOF
93440
93441     cat >>confdefs.h <<\_ACEOF
93442 #define HAVE_LOG10L 1
93443 _ACEOF
93444
93445     cat >>confdefs.h <<\_ACEOF
93446 #define HAVE_LOGF 1
93447 _ACEOF
93448
93449     cat >>confdefs.h <<\_ACEOF
93450 #define HAVE_MODFF 1
93451 _ACEOF
93452
93453     cat >>confdefs.h <<\_ACEOF
93454 #define HAVE_MODFL 1
93455 _ACEOF
93456
93457     cat >>confdefs.h <<\_ACEOF
93458 #define HAVE_POWF 1
93459 _ACEOF
93460
93461     cat >>confdefs.h <<\_ACEOF
93462 #define HAVE_POWL 1
93463 _ACEOF
93464
93465     cat >>confdefs.h <<\_ACEOF
93466 #define HAVE_SINF 1
93467 _ACEOF
93468
93469     cat >>confdefs.h <<\_ACEOF
93470 #define HAVE_SINL 1
93471 _ACEOF
93472
93473     cat >>confdefs.h <<\_ACEOF
93474 #define HAVE_SINHF 1
93475 _ACEOF
93476
93477     cat >>confdefs.h <<\_ACEOF
93478 #define HAVE_SINHL 1
93479 _ACEOF
93480
93481     cat >>confdefs.h <<\_ACEOF
93482 #define HAVE_SQRTF 1
93483 _ACEOF
93484
93485     cat >>confdefs.h <<\_ACEOF
93486 #define HAVE_SQRTL 1
93487 _ACEOF
93488
93489     cat >>confdefs.h <<\_ACEOF
93490 #define HAVE_TANF 1
93491 _ACEOF
93492
93493     cat >>confdefs.h <<\_ACEOF
93494 #define HAVE_TANL 1
93495 _ACEOF
93496
93497     cat >>confdefs.h <<\_ACEOF
93498 #define HAVE_TANHF 1
93499 _ACEOF
93500
93501     cat >>confdefs.h <<\_ACEOF
93502 #define HAVE_TANHL 1
93503 _ACEOF
93504
93505     ;;
93506   *)
93507     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
93508 echo "$as_me: error: No support for this host/target combination." >&2;}
93509    { (exit 1); exit 1; }; }
93510    ;;
93511 esac
93512
93513
93514   fi
93515
93516   # At some point, we should differentiate between architectures
93517   # like x86, which have long double versions, and alpha/powerpc/etc.,
93518   # which don't. For the time being, punt.
93519   if test x"long_double_math_on_this_cpu" = x"yes"; then
93520     cat >>confdefs.h <<\_ACEOF
93521 #define HAVE_ACOSL 1
93522 _ACEOF
93523
93524     cat >>confdefs.h <<\_ACEOF
93525 #define HAVE_ASINL 1
93526 _ACEOF
93527
93528     cat >>confdefs.h <<\_ACEOF
93529 #define HAVE_ATAN2L 1
93530 _ACEOF
93531
93532     cat >>confdefs.h <<\_ACEOF
93533 #define HAVE_ATANL 1
93534 _ACEOF
93535
93536     cat >>confdefs.h <<\_ACEOF
93537 #define HAVE_CEILL 1
93538 _ACEOF
93539
93540     cat >>confdefs.h <<\_ACEOF
93541 #define HAVE_COPYSIGNL 1
93542 _ACEOF
93543
93544     cat >>confdefs.h <<\_ACEOF
93545 #define HAVE_COSL 1
93546 _ACEOF
93547
93548     cat >>confdefs.h <<\_ACEOF
93549 #define HAVE_COSHL 1
93550 _ACEOF
93551
93552     cat >>confdefs.h <<\_ACEOF
93553 #define HAVE_EXPL 1
93554 _ACEOF
93555
93556     cat >>confdefs.h <<\_ACEOF
93557 #define HAVE_FABSL 1
93558 _ACEOF
93559
93560     cat >>confdefs.h <<\_ACEOF
93561 #define HAVE_FLOORL 1
93562 _ACEOF
93563
93564     cat >>confdefs.h <<\_ACEOF
93565 #define HAVE_FMODL 1
93566 _ACEOF
93567
93568     cat >>confdefs.h <<\_ACEOF
93569 #define HAVE_FREXPL 1
93570 _ACEOF
93571
93572     cat >>confdefs.h <<\_ACEOF
93573 #define HAVE_LDEXPL 1
93574 _ACEOF
93575
93576     cat >>confdefs.h <<\_ACEOF
93577 #define HAVE_LOG10L 1
93578 _ACEOF
93579
93580     cat >>confdefs.h <<\_ACEOF
93581 #define HAVE_LOGL 1
93582 _ACEOF
93583
93584     cat >>confdefs.h <<\_ACEOF
93585 #define HAVE_MODFL 1
93586 _ACEOF
93587
93588     cat >>confdefs.h <<\_ACEOF
93589 #define HAVE_POWL 1
93590 _ACEOF
93591
93592     cat >>confdefs.h <<\_ACEOF
93593 #define HAVE_SINCOSL 1
93594 _ACEOF
93595
93596     cat >>confdefs.h <<\_ACEOF
93597 #define HAVE_SINL 1
93598 _ACEOF
93599
93600     cat >>confdefs.h <<\_ACEOF
93601 #define HAVE_SINHL 1
93602 _ACEOF
93603
93604     cat >>confdefs.h <<\_ACEOF
93605 #define HAVE_SQRTL 1
93606 _ACEOF
93607
93608     cat >>confdefs.h <<\_ACEOF
93609 #define HAVE_TANL 1
93610 _ACEOF
93611
93612     cat >>confdefs.h <<\_ACEOF
93613 #define HAVE_TANHL 1
93614 _ACEOF
93615
93616   fi
93617
93618 fi
93619
93620 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
93621
93622
93623  # Check whether --enable-symvers or --disable-symvers was given.
93624 if test "${enable_symvers+set}" = set; then
93625   enableval="$enable_symvers"
93626
93627       case "$enableval" in
93628        yes|no|gnu) ;;
93629        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
93630 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
93631    { (exit 1); exit 1; }; } ;;
93632                           esac
93633
93634 else
93635   enable_symvers=yes
93636 fi;
93637
93638
93639 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
93640 # don't know enough about $LD to do tricks...
93641
93642 # FIXME  The following test is too strict, in theory.
93643 if test $enable_shared = no ||
93644         test "x$LD" = x ||
93645         test x$glibcxx_gnu_ld_version = x; then
93646   enable_symvers=no
93647 fi
93648
93649 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
93650 if test $enable_symvers != no; then
93651   echo "$as_me:$LINENO: checking for shared libgcc" >&5
93652 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
93653   ac_save_CFLAGS="$CFLAGS"
93654   CFLAGS=' -lgcc_s'
93655   if test x$gcc_no_link = xyes; then
93656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93658    { (exit 1); exit 1; }; }
93659 fi
93660 cat >conftest.$ac_ext <<_ACEOF
93661 /* confdefs.h.  */
93662 _ACEOF
93663 cat confdefs.h >>conftest.$ac_ext
93664 cat >>conftest.$ac_ext <<_ACEOF
93665 /* end confdefs.h.  */
93666
93667 int
93668 main ()
93669 {
93670 return 0;
93671   ;
93672   return 0;
93673 }
93674 _ACEOF
93675 rm -f conftest.$ac_objext conftest$ac_exeext
93676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93677   (eval $ac_link) 2>conftest.er1
93678   ac_status=$?
93679   grep -v '^ *+' conftest.er1 >conftest.err
93680   rm -f conftest.er1
93681   cat conftest.err >&5
93682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93683   (exit $ac_status); } &&
93684          { ac_try='test -z "$ac_c_werror_flag"
93685                          || test ! -s conftest.err'
93686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93687   (eval $ac_try) 2>&5
93688   ac_status=$?
93689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93690   (exit $ac_status); }; } &&
93691          { ac_try='test -s conftest$ac_exeext'
93692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93693   (eval $ac_try) 2>&5
93694   ac_status=$?
93695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93696   (exit $ac_status); }; }; then
93697   glibcxx_shared_libgcc=yes
93698 else
93699   echo "$as_me: failed program was:" >&5
93700 sed 's/^/| /' conftest.$ac_ext >&5
93701
93702 glibcxx_shared_libgcc=no
93703 fi
93704 rm -f conftest.err conftest.$ac_objext \
93705       conftest$ac_exeext conftest.$ac_ext
93706   CFLAGS="$ac_save_CFLAGS"
93707   if test $glibcxx_shared_libgcc = no; then
93708     cat > conftest.c <<EOF
93709 int main (void) { return 0; }
93710 EOF
93711     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
93712                              -shared -shared-libgcc -o conftest.so \
93713                              conftest.c -v 2>&1 >/dev/null \
93714                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
93715     rm -f conftest.c conftest.so
93716     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
93717       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
93718       if test x$gcc_no_link = xyes; then
93719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93721    { (exit 1); exit 1; }; }
93722 fi
93723 cat >conftest.$ac_ext <<_ACEOF
93724 /* confdefs.h.  */
93725 _ACEOF
93726 cat confdefs.h >>conftest.$ac_ext
93727 cat >>conftest.$ac_ext <<_ACEOF
93728 /* end confdefs.h.  */
93729
93730 int
93731 main ()
93732 {
93733 return 0;
93734   ;
93735   return 0;
93736 }
93737 _ACEOF
93738 rm -f conftest.$ac_objext conftest$ac_exeext
93739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93740   (eval $ac_link) 2>conftest.er1
93741   ac_status=$?
93742   grep -v '^ *+' conftest.er1 >conftest.err
93743   rm -f conftest.er1
93744   cat conftest.err >&5
93745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93746   (exit $ac_status); } &&
93747          { ac_try='test -z "$ac_c_werror_flag"
93748                          || test ! -s conftest.err'
93749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93750   (eval $ac_try) 2>&5
93751   ac_status=$?
93752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93753   (exit $ac_status); }; } &&
93754          { ac_try='test -s conftest$ac_exeext'
93755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93756   (eval $ac_try) 2>&5
93757   ac_status=$?
93758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93759   (exit $ac_status); }; }; then
93760   glibcxx_shared_libgcc=yes
93761 else
93762   echo "$as_me: failed program was:" >&5
93763 sed 's/^/| /' conftest.$ac_ext >&5
93764
93765 fi
93766 rm -f conftest.err conftest.$ac_objext \
93767       conftest$ac_exeext conftest.$ac_ext
93768       CFLAGS="$ac_save_CFLAGS"
93769     fi
93770   fi
93771   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
93772 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
93773 fi
93774
93775 # For GNU ld, we need at least this version.  The format is described in
93776 # GLIBCXX_CHECK_LINKER_FEATURES above.
93777 glibcxx_min_gnu_ld_version=21400
93778 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
93779
93780 # Check to see if unspecified "yes" value can win, given results above.
93781 # Change "yes" into either "no" or a style name.
93782 if test $enable_symvers = yes; then
93783   if test $with_gnu_ld = yes &&
93784      test $glibcxx_shared_libgcc = yes;
93785   then
93786     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
93787       enable_symvers=gnu
93788     else
93789       # The right tools, the right setup, but too old.  Fallbacks?
93790       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
93791 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
93792       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
93793 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
93794       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
93795 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
93796       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
93797 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
93798       if test $glibcxx_gnu_ld_version -ge 21200 ; then
93799         # Globbing fix is present, proper block support is not.
93800                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93801 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93802         enable_symvers=no
93803       else
93804         # 2.11 or older.
93805         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93806 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93807         enable_symvers=no
93808       fi
93809     fi
93810   else
93811     # just fail for now
93812     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
93813 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
93814     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
93815 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
93816     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
93817 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
93818     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93819 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93820     enable_symvers=no
93821   fi
93822 fi
93823
93824 # Everything parsed; figure out what file to use.
93825 case $enable_symvers in
93826   no)
93827     SYMVER_MAP=config/linker-map.dummy
93828     ;;
93829   gnu)
93830     SYMVER_MAP=config/linker-map.gnu
93831     cat >>confdefs.h <<\_ACEOF
93832 #define _GLIBCXX_SYMVER 1
93833 _ACEOF
93834
93835     ;;
93836 esac
93837
93838
93839
93840
93841 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
93842 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
93843
93844
93845 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
93846
93847   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
93848     # Do checks for resource limit functions.
93849
93850   setrlimit_have_headers=yes
93851
93852
93853
93854 for ac_header in unistd.h sys/time.h sys/resource.h
93855 do
93856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93858   echo "$as_me:$LINENO: checking for $ac_header" >&5
93859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93861   echo $ECHO_N "(cached) $ECHO_C" >&6
93862 fi
93863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93865 else
93866   # Is the header compilable?
93867 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93869 cat >conftest.$ac_ext <<_ACEOF
93870 /* confdefs.h.  */
93871 _ACEOF
93872 cat confdefs.h >>conftest.$ac_ext
93873 cat >>conftest.$ac_ext <<_ACEOF
93874 /* end confdefs.h.  */
93875 $ac_includes_default
93876 #include <$ac_header>
93877 _ACEOF
93878 rm -f conftest.$ac_objext
93879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93880   (eval $ac_compile) 2>conftest.er1
93881   ac_status=$?
93882   grep -v '^ *+' conftest.er1 >conftest.err
93883   rm -f conftest.er1
93884   cat conftest.err >&5
93885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93886   (exit $ac_status); } &&
93887          { ac_try='test -z "$ac_c_werror_flag"
93888                          || test ! -s conftest.err'
93889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93890   (eval $ac_try) 2>&5
93891   ac_status=$?
93892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93893   (exit $ac_status); }; } &&
93894          { ac_try='test -s conftest.$ac_objext'
93895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93896   (eval $ac_try) 2>&5
93897   ac_status=$?
93898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93899   (exit $ac_status); }; }; then
93900   ac_header_compiler=yes
93901 else
93902   echo "$as_me: failed program was:" >&5
93903 sed 's/^/| /' conftest.$ac_ext >&5
93904
93905 ac_header_compiler=no
93906 fi
93907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93909 echo "${ECHO_T}$ac_header_compiler" >&6
93910
93911 # Is the header present?
93912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93914 cat >conftest.$ac_ext <<_ACEOF
93915 /* confdefs.h.  */
93916 _ACEOF
93917 cat confdefs.h >>conftest.$ac_ext
93918 cat >>conftest.$ac_ext <<_ACEOF
93919 /* end confdefs.h.  */
93920 #include <$ac_header>
93921 _ACEOF
93922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93923   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93924   ac_status=$?
93925   grep -v '^ *+' conftest.er1 >conftest.err
93926   rm -f conftest.er1
93927   cat conftest.err >&5
93928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93929   (exit $ac_status); } >/dev/null; then
93930   if test -s conftest.err; then
93931     ac_cpp_err=$ac_c_preproc_warn_flag
93932     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93933   else
93934     ac_cpp_err=
93935   fi
93936 else
93937   ac_cpp_err=yes
93938 fi
93939 if test -z "$ac_cpp_err"; then
93940   ac_header_preproc=yes
93941 else
93942   echo "$as_me: failed program was:" >&5
93943 sed 's/^/| /' conftest.$ac_ext >&5
93944
93945   ac_header_preproc=no
93946 fi
93947 rm -f conftest.err conftest.$ac_ext
93948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93949 echo "${ECHO_T}$ac_header_preproc" >&6
93950
93951 # So?  What about this header?
93952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93953   yes:no: )
93954     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93956     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93957 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93958     ac_header_preproc=yes
93959     ;;
93960   no:yes:* )
93961     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93962 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93963     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
93964 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
93965     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93966 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93967     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
93968 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
93969     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93971     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93973     (
93974       cat <<\_ASBOX
93975 ## ----------------------------------------- ##
93976 ## Report this to the package-unused lists.  ##
93977 ## ----------------------------------------- ##
93978 _ASBOX
93979     ) |
93980       sed "s/^/$as_me: WARNING:     /" >&2
93981     ;;
93982 esac
93983 echo "$as_me:$LINENO: checking for $ac_header" >&5
93984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93986   echo $ECHO_N "(cached) $ECHO_C" >&6
93987 else
93988   eval "$as_ac_Header=\$ac_header_preproc"
93989 fi
93990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93992
93993 fi
93994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93995   cat >>confdefs.h <<_ACEOF
93996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93997 _ACEOF
93998
93999 else
94000   setrlimit_have_headers=no
94001 fi
94002
94003 done
94004
94005   # If don't have the headers, then we can't run the tests now, and we
94006   # won't be seeing any of these during testsuite compilation.
94007   if test $setrlimit_have_headers = yes; then
94008     # Can't do these in a loop, else the resulting syntax is wrong.
94009
94010   cat >conftest.$ac_ext <<_ACEOF
94011 /* confdefs.h.  */
94012 _ACEOF
94013 cat confdefs.h >>conftest.$ac_ext
94014 cat >>conftest.$ac_ext <<_ACEOF
94015 /* end confdefs.h.  */
94016 #include <unistd.h>
94017      #include <sys/time.h>
94018      #include <sys/resource.h>
94019
94020 int
94021 main ()
94022 {
94023  int f = RLIMIT_DATA ;
94024   ;
94025   return 0;
94026 }
94027 _ACEOF
94028 rm -f conftest.$ac_objext
94029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94030   (eval $ac_compile) 2>conftest.er1
94031   ac_status=$?
94032   grep -v '^ *+' conftest.er1 >conftest.err
94033   rm -f conftest.er1
94034   cat conftest.err >&5
94035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94036   (exit $ac_status); } &&
94037          { ac_try='test -z "$ac_c_werror_flag"
94038                          || test ! -s conftest.err'
94039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94040   (eval $ac_try) 2>&5
94041   ac_status=$?
94042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94043   (exit $ac_status); }; } &&
94044          { ac_try='test -s conftest.$ac_objext'
94045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94046   (eval $ac_try) 2>&5
94047   ac_status=$?
94048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94049   (exit $ac_status); }; }; then
94050   glibcxx_mresult=1
94051 else
94052   echo "$as_me: failed program was:" >&5
94053 sed 's/^/| /' conftest.$ac_ext >&5
94054
94055 glibcxx_mresult=0
94056 fi
94057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94058
94059 cat >>confdefs.h <<_ACEOF
94060 #define HAVE_LIMIT_DATA $glibcxx_mresult
94061 _ACEOF
94062
94063
94064
94065   cat >conftest.$ac_ext <<_ACEOF
94066 /* confdefs.h.  */
94067 _ACEOF
94068 cat confdefs.h >>conftest.$ac_ext
94069 cat >>conftest.$ac_ext <<_ACEOF
94070 /* end confdefs.h.  */
94071 #include <unistd.h>
94072      #include <sys/time.h>
94073      #include <sys/resource.h>
94074
94075 int
94076 main ()
94077 {
94078  int f = RLIMIT_RSS ;
94079   ;
94080   return 0;
94081 }
94082 _ACEOF
94083 rm -f conftest.$ac_objext
94084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94085   (eval $ac_compile) 2>conftest.er1
94086   ac_status=$?
94087   grep -v '^ *+' conftest.er1 >conftest.err
94088   rm -f conftest.er1
94089   cat conftest.err >&5
94090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94091   (exit $ac_status); } &&
94092          { ac_try='test -z "$ac_c_werror_flag"
94093                          || test ! -s conftest.err'
94094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94095   (eval $ac_try) 2>&5
94096   ac_status=$?
94097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94098   (exit $ac_status); }; } &&
94099          { ac_try='test -s conftest.$ac_objext'
94100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94101   (eval $ac_try) 2>&5
94102   ac_status=$?
94103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94104   (exit $ac_status); }; }; then
94105   glibcxx_mresult=1
94106 else
94107   echo "$as_me: failed program was:" >&5
94108 sed 's/^/| /' conftest.$ac_ext >&5
94109
94110 glibcxx_mresult=0
94111 fi
94112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94113
94114 cat >>confdefs.h <<_ACEOF
94115 #define HAVE_LIMIT_RSS $glibcxx_mresult
94116 _ACEOF
94117
94118
94119
94120   cat >conftest.$ac_ext <<_ACEOF
94121 /* confdefs.h.  */
94122 _ACEOF
94123 cat confdefs.h >>conftest.$ac_ext
94124 cat >>conftest.$ac_ext <<_ACEOF
94125 /* end confdefs.h.  */
94126 #include <unistd.h>
94127      #include <sys/time.h>
94128      #include <sys/resource.h>
94129
94130 int
94131 main ()
94132 {
94133  int f = RLIMIT_VMEM ;
94134   ;
94135   return 0;
94136 }
94137 _ACEOF
94138 rm -f conftest.$ac_objext
94139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94140   (eval $ac_compile) 2>conftest.er1
94141   ac_status=$?
94142   grep -v '^ *+' conftest.er1 >conftest.err
94143   rm -f conftest.er1
94144   cat conftest.err >&5
94145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94146   (exit $ac_status); } &&
94147          { ac_try='test -z "$ac_c_werror_flag"
94148                          || test ! -s conftest.err'
94149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94150   (eval $ac_try) 2>&5
94151   ac_status=$?
94152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153   (exit $ac_status); }; } &&
94154          { ac_try='test -s conftest.$ac_objext'
94155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94156   (eval $ac_try) 2>&5
94157   ac_status=$?
94158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94159   (exit $ac_status); }; }; then
94160   glibcxx_mresult=1
94161 else
94162   echo "$as_me: failed program was:" >&5
94163 sed 's/^/| /' conftest.$ac_ext >&5
94164
94165 glibcxx_mresult=0
94166 fi
94167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94168
94169 cat >>confdefs.h <<_ACEOF
94170 #define HAVE_LIMIT_VMEM $glibcxx_mresult
94171 _ACEOF
94172
94173
94174
94175   cat >conftest.$ac_ext <<_ACEOF
94176 /* confdefs.h.  */
94177 _ACEOF
94178 cat confdefs.h >>conftest.$ac_ext
94179 cat >>conftest.$ac_ext <<_ACEOF
94180 /* end confdefs.h.  */
94181 #include <unistd.h>
94182      #include <sys/time.h>
94183      #include <sys/resource.h>
94184
94185 int
94186 main ()
94187 {
94188  int f = RLIMIT_AS ;
94189   ;
94190   return 0;
94191 }
94192 _ACEOF
94193 rm -f conftest.$ac_objext
94194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94195   (eval $ac_compile) 2>conftest.er1
94196   ac_status=$?
94197   grep -v '^ *+' conftest.er1 >conftest.err
94198   rm -f conftest.er1
94199   cat conftest.err >&5
94200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94201   (exit $ac_status); } &&
94202          { ac_try='test -z "$ac_c_werror_flag"
94203                          || test ! -s conftest.err'
94204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94205   (eval $ac_try) 2>&5
94206   ac_status=$?
94207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94208   (exit $ac_status); }; } &&
94209          { ac_try='test -s conftest.$ac_objext'
94210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94211   (eval $ac_try) 2>&5
94212   ac_status=$?
94213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94214   (exit $ac_status); }; }; then
94215   glibcxx_mresult=1
94216 else
94217   echo "$as_me: failed program was:" >&5
94218 sed 's/^/| /' conftest.$ac_ext >&5
94219
94220 glibcxx_mresult=0
94221 fi
94222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94223
94224 cat >>confdefs.h <<_ACEOF
94225 #define HAVE_LIMIT_AS $glibcxx_mresult
94226 _ACEOF
94227
94228
94229
94230   cat >conftest.$ac_ext <<_ACEOF
94231 /* confdefs.h.  */
94232 _ACEOF
94233 cat confdefs.h >>conftest.$ac_ext
94234 cat >>conftest.$ac_ext <<_ACEOF
94235 /* end confdefs.h.  */
94236 #include <unistd.h>
94237      #include <sys/time.h>
94238      #include <sys/resource.h>
94239
94240 int
94241 main ()
94242 {
94243  int f = RLIMIT_FSIZE ;
94244   ;
94245   return 0;
94246 }
94247 _ACEOF
94248 rm -f conftest.$ac_objext
94249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94250   (eval $ac_compile) 2>conftest.er1
94251   ac_status=$?
94252   grep -v '^ *+' conftest.er1 >conftest.err
94253   rm -f conftest.er1
94254   cat conftest.err >&5
94255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94256   (exit $ac_status); } &&
94257          { ac_try='test -z "$ac_c_werror_flag"
94258                          || test ! -s conftest.err'
94259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94260   (eval $ac_try) 2>&5
94261   ac_status=$?
94262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94263   (exit $ac_status); }; } &&
94264          { ac_try='test -s conftest.$ac_objext'
94265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94266   (eval $ac_try) 2>&5
94267   ac_status=$?
94268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94269   (exit $ac_status); }; }; then
94270   glibcxx_mresult=1
94271 else
94272   echo "$as_me: failed program was:" >&5
94273 sed 's/^/| /' conftest.$ac_ext >&5
94274
94275 glibcxx_mresult=0
94276 fi
94277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94278
94279 cat >>confdefs.h <<_ACEOF
94280 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
94281 _ACEOF
94282
94283
94284
94285     # Check for rlimit, setrlimit.
94286     if test "${ac_setrlimit+set}" = set; then
94287   echo $ECHO_N "(cached) $ECHO_C" >&6
94288 else
94289
94290       cat >conftest.$ac_ext <<_ACEOF
94291 /* confdefs.h.  */
94292 _ACEOF
94293 cat confdefs.h >>conftest.$ac_ext
94294 cat >>conftest.$ac_ext <<_ACEOF
94295 /* end confdefs.h.  */
94296 #include <unistd.h>
94297          #include <sys/time.h>
94298          #include <sys/resource.h>
94299
94300 int
94301 main ()
94302 {
94303 struct rlimit r;
94304          setrlimit(0, &r);
94305   ;
94306   return 0;
94307 }
94308 _ACEOF
94309 rm -f conftest.$ac_objext
94310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94311   (eval $ac_compile) 2>conftest.er1
94312   ac_status=$?
94313   grep -v '^ *+' conftest.er1 >conftest.err
94314   rm -f conftest.er1
94315   cat conftest.err >&5
94316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317   (exit $ac_status); } &&
94318          { ac_try='test -z "$ac_c_werror_flag"
94319                          || test ! -s conftest.err'
94320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94321   (eval $ac_try) 2>&5
94322   ac_status=$?
94323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94324   (exit $ac_status); }; } &&
94325          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
94331   ac_setrlimit=yes
94332 else
94333   echo "$as_me: failed program was:" >&5
94334 sed 's/^/| /' conftest.$ac_ext >&5
94335
94336 ac_setrlimit=no
94337 fi
94338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94339
94340 fi
94341
94342   fi
94343
94344   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
94345 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
94346   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
94347     ac_res_limits=yes
94348     cat >>confdefs.h <<\_ACEOF
94349 #define _GLIBCXX_RES_LIMITS 1
94350 _ACEOF
94351
94352   else
94353     ac_res_limits=no
94354   fi
94355   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
94356 echo "${ECHO_T}$ac_res_limits" >&6
94357
94358
94359     # Look for setenv, so that extended locale tests can be performed.
94360
94361   echo "$as_me:$LINENO: checking for setenv declaration" >&5
94362 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
94363   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
94364     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
94365   echo $ECHO_N "(cached) $ECHO_C" >&6
94366 else
94367
94368
94369
94370       ac_ext=cc
94371 ac_cpp='$CXXCPP $CPPFLAGS'
94372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94375
94376       cat >conftest.$ac_ext <<_ACEOF
94377 /* confdefs.h.  */
94378 _ACEOF
94379 cat confdefs.h >>conftest.$ac_ext
94380 cat >>conftest.$ac_ext <<_ACEOF
94381 /* end confdefs.h.  */
94382 #include <stdlib.h>
94383 int
94384 main ()
94385 {
94386  setenv(0, 0, 0);
94387   ;
94388   return 0;
94389 }
94390 _ACEOF
94391 rm -f conftest.$ac_objext
94392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94393   (eval $ac_compile) 2>conftest.er1
94394   ac_status=$?
94395   grep -v '^ *+' conftest.er1 >conftest.err
94396   rm -f conftest.er1
94397   cat conftest.err >&5
94398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94399   (exit $ac_status); } &&
94400          { ac_try='test -z "$ac_cxx_werror_flag"
94401                          || test ! -s conftest.err'
94402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94403   (eval $ac_try) 2>&5
94404   ac_status=$?
94405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94406   (exit $ac_status); }; } &&
94407          { ac_try='test -s conftest.$ac_objext'
94408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94409   (eval $ac_try) 2>&5
94410   ac_status=$?
94411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94412   (exit $ac_status); }; }; then
94413   glibcxx_cv_func_setenv_use=yes
94414 else
94415   echo "$as_me: failed program was:" >&5
94416 sed 's/^/| /' conftest.$ac_ext >&5
94417
94418 glibcxx_cv_func_setenv_use=no
94419 fi
94420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94421       ac_ext=c
94422 ac_cpp='$CPP $CPPFLAGS'
94423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94426
94427
94428 fi
94429
94430   fi
94431   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
94432 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
94433   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
94434
94435 for ac_func in setenv
94436 do
94437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94438 echo "$as_me:$LINENO: checking for $ac_func" >&5
94439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94440 if eval "test \"\${$as_ac_var+set}\" = set"; then
94441   echo $ECHO_N "(cached) $ECHO_C" >&6
94442 else
94443   if test x$gcc_no_link = xyes; then
94444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94446    { (exit 1); exit 1; }; }
94447 fi
94448 cat >conftest.$ac_ext <<_ACEOF
94449 /* confdefs.h.  */
94450 _ACEOF
94451 cat confdefs.h >>conftest.$ac_ext
94452 cat >>conftest.$ac_ext <<_ACEOF
94453 /* end confdefs.h.  */
94454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94456 #define $ac_func innocuous_$ac_func
94457
94458 /* System header to define __stub macros and hopefully few prototypes,
94459     which can conflict with char $ac_func (); below.
94460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94461     <limits.h> exists even on freestanding compilers.  */
94462
94463 #ifdef __STDC__
94464 # include <limits.h>
94465 #else
94466 # include <assert.h>
94467 #endif
94468
94469 #undef $ac_func
94470
94471 /* Override any gcc2 internal prototype to avoid an error.  */
94472 #ifdef __cplusplus
94473 extern "C"
94474 {
94475 #endif
94476 /* We use char because int might match the return type of a gcc2
94477    builtin and then its argument prototype would still apply.  */
94478 char $ac_func ();
94479 /* The GNU C library defines this for functions which it implements
94480     to always fail with ENOSYS.  Some functions are actually named
94481     something starting with __ and the normal name is an alias.  */
94482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94483 choke me
94484 #else
94485 char (*f) () = $ac_func;
94486 #endif
94487 #ifdef __cplusplus
94488 }
94489 #endif
94490
94491 int
94492 main ()
94493 {
94494 return f != $ac_func;
94495   ;
94496   return 0;
94497 }
94498 _ACEOF
94499 rm -f conftest.$ac_objext conftest$ac_exeext
94500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94501   (eval $ac_link) 2>conftest.er1
94502   ac_status=$?
94503   grep -v '^ *+' conftest.er1 >conftest.err
94504   rm -f conftest.er1
94505   cat conftest.err >&5
94506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94507   (exit $ac_status); } &&
94508          { ac_try='test -z "$ac_c_werror_flag"
94509                          || test ! -s conftest.err'
94510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94511   (eval $ac_try) 2>&5
94512   ac_status=$?
94513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94514   (exit $ac_status); }; } &&
94515          { ac_try='test -s conftest$ac_exeext'
94516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94517   (eval $ac_try) 2>&5
94518   ac_status=$?
94519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94520   (exit $ac_status); }; }; then
94521   eval "$as_ac_var=yes"
94522 else
94523   echo "$as_me: failed program was:" >&5
94524 sed 's/^/| /' conftest.$ac_ext >&5
94525
94526 eval "$as_ac_var=no"
94527 fi
94528 rm -f conftest.err conftest.$ac_objext \
94529       conftest$ac_exeext conftest.$ac_ext
94530 fi
94531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94533 if test `eval echo '${'$as_ac_var'}'` = yes; then
94534   cat >>confdefs.h <<_ACEOF
94535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94536 _ACEOF
94537
94538 fi
94539 done
94540
94541   fi
94542
94543
94544     if test $enable_symvers = no; then
94545       enable_abi_check=no
94546     else
94547       case "$host" in
94548         *-*-cygwin*)
94549           enable_abi_check=no ;;
94550         *)
94551           enable_abi_check=yes ;;
94552       esac
94553     fi
94554   else
94555     # Only build this as native, since automake does not understand
94556     # CXX_FOR_BUILD.
94557     enable_abi_check=no
94558   fi
94559
94560   # Export file names for ABI checking.
94561   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
94562
94563
94564
94565
94566
94567
94568 # Propagate the target-specific source directories through the build chain.
94569 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
94570 # uses it, and it only gets used in this file.)
94571 ATOMICITY_SRCDIR=config/${atomicity_dir}
94572 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
94573 OS_INC_SRCDIR=config/${os_include_dir}
94574
94575
94576
94577
94578 # Determine cross-compile flags and AM_CONDITIONALs.
94579 #AC_SUBST(GLIBCXX_IS_NATIVE)
94580 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
94581 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
94582 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
94583
94584
94585 if test $is_hosted = yes; then
94586   GLIBCXX_HOSTED_TRUE=
94587   GLIBCXX_HOSTED_FALSE='#'
94588 else
94589   GLIBCXX_HOSTED_TRUE='#'
94590   GLIBCXX_HOSTED_FALSE=
94591 fi
94592
94593
94594
94595
94596 if test $enable_libstdcxx_pch = yes; then
94597   GLIBCXX_BUILD_PCH_TRUE=
94598   GLIBCXX_BUILD_PCH_FALSE='#'
94599 else
94600   GLIBCXX_BUILD_PCH_TRUE='#'
94601   GLIBCXX_BUILD_PCH_FALSE=
94602 fi
94603
94604
94605
94606
94607 if test $enable_cheaders = c; then
94608   GLIBCXX_C_HEADERS_C_TRUE=
94609   GLIBCXX_C_HEADERS_C_FALSE='#'
94610 else
94611   GLIBCXX_C_HEADERS_C_TRUE='#'
94612   GLIBCXX_C_HEADERS_C_FALSE=
94613 fi
94614
94615
94616
94617
94618 if test $enable_cheaders = c_std; then
94619   GLIBCXX_C_HEADERS_C_STD_TRUE=
94620   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
94621 else
94622   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
94623   GLIBCXX_C_HEADERS_C_STD_FALSE=
94624 fi
94625
94626
94627
94628
94629 if test $c_compatibility = yes; then
94630   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
94631   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
94632 else
94633   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
94634   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
94635 fi
94636
94637
94638
94639
94640 if test $enable_libstdcxx_debug = yes; then
94641   GLIBCXX_BUILD_DEBUG_TRUE=
94642   GLIBCXX_BUILD_DEBUG_FALSE='#'
94643 else
94644   GLIBCXX_BUILD_DEBUG_TRUE='#'
94645   GLIBCXX_BUILD_DEBUG_FALSE=
94646 fi
94647
94648
94649
94650
94651 if test $enable_symvers != no; then
94652   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
94653   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
94654 else
94655   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
94656   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
94657 fi
94658
94659
94660
94661
94662 if test $enable_wchar_t = yes; then
94663   GLIBCXX_TEST_WCHAR_T_TRUE=
94664   GLIBCXX_TEST_WCHAR_T_FALSE='#'
94665 else
94666   GLIBCXX_TEST_WCHAR_T_TRUE='#'
94667   GLIBCXX_TEST_WCHAR_T_FALSE=
94668 fi
94669
94670
94671
94672
94673 if test $enable_abi_check = yes; then
94674   GLIBCXX_TEST_ABI_TRUE=
94675   GLIBCXX_TEST_ABI_FALSE='#'
94676 else
94677   GLIBCXX_TEST_ABI_TRUE='#'
94678   GLIBCXX_TEST_ABI_FALSE=
94679 fi
94680
94681
94682
94683
94684 cat >confcache <<\_ACEOF
94685 # This file is a shell script that caches the results of configure
94686 # tests run on this system so they can be shared between configure
94687 # scripts and configure runs, see configure's option --config-cache.
94688 # It is not useful on other systems.  If it contains results you don't
94689 # want to keep, you may remove or edit it.
94690 #
94691 # config.status only pays attention to the cache file if you give it
94692 # the --recheck option to rerun configure.
94693 #
94694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94696 # following values.
94697
94698 _ACEOF
94699
94700 # The following way of writing the cache mishandles newlines in values,
94701 # but we know of no workaround that is simple, portable, and efficient.
94702 # So, don't put newlines in cache variables' values.
94703 # Ultrix sh set writes to stderr and can't be redirected directly,
94704 # and sets the high bit in the cache file unless we assign to the vars.
94705 {
94706   (set) 2>&1 |
94707     case `(ac_space=' '; set | grep ac_space) 2>&1` in
94708     *ac_space=\ *)
94709       # `set' does not quote correctly, so add quotes (double-quote
94710       # substitution turns \\\\ into \\, and sed turns \\ into \).
94711       sed -n \
94712         "s/'/'\\\\''/g;
94713           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94714       ;;
94715     *)
94716       # `set' quotes correctly as required by POSIX, so do not add quotes.
94717       sed -n \
94718         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94719       ;;
94720     esac;
94721 } |
94722   sed '
94723      t clear
94724      : clear
94725      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94726      t end
94727      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94728      : end' >>confcache
94729 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94730   if test -w $cache_file; then
94731     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94732     cat confcache >$cache_file
94733   else
94734     echo "not updating unwritable cache $cache_file"
94735   fi
94736 fi
94737 rm -f confcache
94738
94739 if test ${multilib} = yes; then
94740   multilib_arg="--enable-multilib"
94741 else
94742   multilib_arg=
94743 fi
94744
94745 # Export all the install information.
94746
94747   glibcxx_toolexecdir=no
94748   glibcxx_toolexeclibdir=no
94749   glibcxx_prefixdir=$prefix
94750
94751   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
94752 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
94753
94754 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
94755 if test "${with_gxx_include_dir+set}" = set; then
94756   withval="$with_gxx_include_dir"
94757   case "$withval" in
94758       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
94759 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
94760    { (exit 1); exit 1; }; } ;;
94761       no)  gxx_include_dir=no ;;
94762       *)   gxx_include_dir=$withval ;;
94763      esac
94764 else
94765   gxx_include_dir=no
94766 fi;
94767   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94768 echo "${ECHO_T}$gxx_include_dir" >&6
94769
94770   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
94771 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
94772   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
94773 if test "${enable_version_specific_runtime_libs+set}" = set; then
94774   enableval="$enable_version_specific_runtime_libs"
94775   case "$enableval" in
94776       yes) version_specific_libs=yes ;;
94777       no)  version_specific_libs=no ;;
94778       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
94779 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
94780    { (exit 1); exit 1; }; };;
94781      esac
94782 else
94783   version_specific_libs=no
94784 fi;
94785   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
94786 echo "${ECHO_T}$version_specific_libs" >&6
94787
94788   # Default case for install directory for include files.
94789   if test $version_specific_libs = no && test $gxx_include_dir = no; then
94790     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
94791   fi
94792
94793   # Version-specific runtime libs processing.
94794   if test $version_specific_libs = yes; then
94795     # Need the gcc compiler version to know where to install libraries
94796     # and header files if --enable-version-specific-runtime-libs option
94797     # is selected.  FIXME: these variables are misnamed, there are
94798     # no executables installed in _toolexecdir or _toolexeclibdir.
94799     if test x"$gxx_include_dir" = x"no"; then
94800       gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
94801     fi
94802     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94803     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
94804   fi
94805
94806   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
94807   # Install a library built with a cross compiler in tooldir, not libdir.
94808   if test x"$glibcxx_toolexecdir" = x"no"; then
94809     if test -n "$with_cross_host" &&
94810        test x"$with_cross_host" != x"no"; then
94811       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
94812       glibcxx_toolexeclibdir='${toolexecdir}/lib'
94813     else
94814       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94815       glibcxx_toolexeclibdir='${libdir}'
94816     fi
94817     multi_os_directory=`$CXX -print-multi-os-directory`
94818     case $multi_os_directory in
94819       .) ;; # Avoid trailing /.
94820       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
94821     esac
94822   fi
94823
94824   echo "$as_me:$LINENO: checking for install location" >&5
94825 echo $ECHO_N "checking for install location... $ECHO_C" >&6
94826   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94827 echo "${ECHO_T}$gxx_include_dir" >&6
94828
94829
94830
94831
94832
94833
94834
94835 # Export all the include and flag information to Makefiles.
94836
94837   # Used for every C++ compile we perform.
94838   GLIBCXX_INCLUDES="\
94839 -I$glibcxx_builddir/include/$host_alias \
94840 -I$glibcxx_builddir/include \
94841 -I$glibcxx_srcdir/libsupc++"
94842
94843   # For Canadian crosses, pick this up too.
94844   if test $CANADIAN = yes; then
94845     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
94846   fi
94847
94848   # Stuff in the actual top level.  Currently only used by libsupc++ to
94849   # get unwind* headers from the gcc dir.
94850   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
94851   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
94852
94853   # Now, export this to all the little Makefiles....
94854
94855
94856
94857
94858   # Optimization flags that are probably a good idea for thrill-seekers. Just
94859   # uncomment the lines below and make, everything else is ready to go...
94860   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
94861   OPTIMIZE_CXXFLAGS=
94862
94863
94864   WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
94865
94866
94867
94868 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
94869    grep "enable shared" > /dev/null;
94870 then
94871   LIBSUPCXX_PICFLAGS=-prefer-pic
94872 else
94873   LIBSUPCXX_PICFLAGS=
94874 fi
94875
94876
94877                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
94878
94879           ac_config_files="$ac_config_files scripts/check_survey"
94880
94881           ac_config_files="$ac_config_files scripts/testsuite_flags"
94882
94883
94884           ac_config_commands="$ac_config_commands default"
94885
94886
94887 cat >confcache <<\_ACEOF
94888 # This file is a shell script that caches the results of configure
94889 # tests run on this system so they can be shared between configure
94890 # scripts and configure runs, see configure's option --config-cache.
94891 # It is not useful on other systems.  If it contains results you don't
94892 # want to keep, you may remove or edit it.
94893 #
94894 # config.status only pays attention to the cache file if you give it
94895 # the --recheck option to rerun configure.
94896 #
94897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94899 # following values.
94900
94901 _ACEOF
94902
94903 # The following way of writing the cache mishandles newlines in values,
94904 # but we know of no workaround that is simple, portable, and efficient.
94905 # So, don't put newlines in cache variables' values.
94906 # Ultrix sh set writes to stderr and can't be redirected directly,
94907 # and sets the high bit in the cache file unless we assign to the vars.
94908 {
94909   (set) 2>&1 |
94910     case `(ac_space=' '; set | grep ac_space) 2>&1` in
94911     *ac_space=\ *)
94912       # `set' does not quote correctly, so add quotes (double-quote
94913       # substitution turns \\\\ into \\, and sed turns \\ into \).
94914       sed -n \
94915         "s/'/'\\\\''/g;
94916           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94917       ;;
94918     *)
94919       # `set' quotes correctly as required by POSIX, so do not add quotes.
94920       sed -n \
94921         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94922       ;;
94923     esac;
94924 } |
94925   sed '
94926      t clear
94927      : clear
94928      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94929      t end
94930      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94931      : end' >>confcache
94932 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94933   if test -w $cache_file; then
94934     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94935     cat confcache >$cache_file
94936   else
94937     echo "not updating unwritable cache $cache_file"
94938   fi
94939 fi
94940 rm -f confcache
94941
94942 test "x$prefix" = xNONE && prefix=$ac_default_prefix
94943 # Let make expand exec_prefix.
94944 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
94945
94946 # VPATH may cause trouble with some makes, so we remove $(srcdir),
94947 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
94948 # trailing colons and then remove the whole line if VPATH becomes empty
94949 # (actually we leave an empty line to preserve line numbers).
94950 if test "x$srcdir" = x.; then
94951   ac_vpsub='/^[  ]*VPATH[        ]*=/{
94952 s/:*\$(srcdir):*/:/;
94953 s/:*\${srcdir}:*/:/;
94954 s/:*@srcdir@:*/:/;
94955 s/^\([^=]*=[     ]*\):*/\1/;
94956 s/:*$//;
94957 s/^[^=]*=[       ]*$//;
94958 }'
94959 fi
94960
94961 DEFS=-DHAVE_CONFIG_H
94962
94963 ac_libobjs=
94964 ac_ltlibobjs=
94965 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
94966   # 1. Remove the extension, and $U if already installed.
94967   ac_i=`echo "$ac_i" |
94968          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
94969   # 2. Add them.
94970   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
94971   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
94972 done
94973 LIBOBJS=$ac_libobjs
94974
94975 LTLIBOBJS=$ac_ltlibobjs
94976
94977
94978 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
94979   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
94980 Usually this means the macro was only invoked conditionally." >&5
94981 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
94982 Usually this means the macro was only invoked conditionally." >&2;}
94983    { (exit 1); exit 1; }; }
94984 fi
94985 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
94986   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94987 Usually this means the macro was only invoked conditionally." >&5
94988 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94989 Usually this means the macro was only invoked conditionally." >&2;}
94990    { (exit 1); exit 1; }; }
94991 fi
94992 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
94993   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94994 Usually this means the macro was only invoked conditionally." >&5
94995 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94996 Usually this means the macro was only invoked conditionally." >&2;}
94997    { (exit 1); exit 1; }; }
94998 fi
94999 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
95000   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
95001 Usually this means the macro was only invoked conditionally." >&5
95002 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
95003 Usually this means the macro was only invoked conditionally." >&2;}
95004    { (exit 1); exit 1; }; }
95005 fi
95006 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
95007   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
95008 Usually this means the macro was only invoked conditionally." >&5
95009 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
95010 Usually this means the macro was only invoked conditionally." >&2;}
95011    { (exit 1); exit 1; }; }
95012 fi
95013 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
95014   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
95015 Usually this means the macro was only invoked conditionally." >&5
95016 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
95017 Usually this means the macro was only invoked conditionally." >&2;}
95018    { (exit 1); exit 1; }; }
95019 fi
95020 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
95021   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
95022 Usually this means the macro was only invoked conditionally." >&5
95023 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
95024 Usually this means the macro was only invoked conditionally." >&2;}
95025    { (exit 1); exit 1; }; }
95026 fi
95027 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
95028   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
95029 Usually this means the macro was only invoked conditionally." >&5
95030 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
95031 Usually this means the macro was only invoked conditionally." >&2;}
95032    { (exit 1); exit 1; }; }
95033 fi
95034 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
95035   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
95036 Usually this means the macro was only invoked conditionally." >&5
95037 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
95038 Usually this means the macro was only invoked conditionally." >&2;}
95039    { (exit 1); exit 1; }; }
95040 fi
95041 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
95042   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95043 Usually this means the macro was only invoked conditionally." >&5
95044 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95045 Usually this means the macro was only invoked conditionally." >&2;}
95046    { (exit 1); exit 1; }; }
95047 fi
95048
95049 : ${CONFIG_STATUS=./config.status}
95050 ac_clean_files_save=$ac_clean_files
95051 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
95052 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
95053 echo "$as_me: creating $CONFIG_STATUS" >&6;}
95054 cat >$CONFIG_STATUS <<_ACEOF
95055 #! $SHELL
95056 # Generated by $as_me.
95057 # Run this file to recreate the current configuration.
95058 # Compiler output produced by configure, useful for debugging
95059 # configure, is in config.log if it exists.
95060
95061 debug=false
95062 ac_cs_recheck=false
95063 ac_cs_silent=false
95064 SHELL=\${CONFIG_SHELL-$SHELL}
95065 _ACEOF
95066
95067 cat >>$CONFIG_STATUS <<\_ACEOF
95068 ## --------------------- ##
95069 ## M4sh Initialization.  ##
95070 ## --------------------- ##
95071
95072 # Be Bourne compatible
95073 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
95074   emulate sh
95075   NULLCMD=:
95076   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
95077   # is contrary to our usage.  Disable this feature.
95078   alias -g '${1+"$@"}'='"$@"'
95079 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
95080   set -o posix
95081 fi
95082 DUALCASE=1; export DUALCASE # for MKS sh
95083
95084 # Support unset when possible.
95085 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
95086   as_unset=unset
95087 else
95088   as_unset=false
95089 fi
95090
95091
95092 # Work around bugs in pre-3.0 UWIN ksh.
95093 $as_unset ENV MAIL MAILPATH
95094 PS1='$ '
95095 PS2='> '
95096 PS4='+ '
95097
95098 # NLS nuisances.
95099 for as_var in \
95100   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
95101   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95102   LC_TELEPHONE LC_TIME
95103 do
95104   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
95105     eval $as_var=C; export $as_var
95106   else
95107     $as_unset $as_var
95108   fi
95109 done
95110
95111 # Required to use basename.
95112 if expr a : '\(a\)' >/dev/null 2>&1; then
95113   as_expr=expr
95114 else
95115   as_expr=false
95116 fi
95117
95118 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
95119   as_basename=basename
95120 else
95121   as_basename=false
95122 fi
95123
95124
95125 # Name of the executable.
95126 as_me=`$as_basename "$0" ||
95127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
95128          X"$0" : 'X\(//\)$' \| \
95129          X"$0" : 'X\(/\)$' \| \
95130          .     : '\(.\)' 2>/dev/null ||
95131 echo X/"$0" |
95132     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
95133           /^X\/\(\/\/\)$/{ s//\1/; q; }
95134           /^X\/\(\/\).*/{ s//\1/; q; }
95135           s/.*/./; q'`
95136
95137
95138 # PATH needs CR, and LINENO needs CR and PATH.
95139 # Avoid depending upon Character Ranges.
95140 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
95141 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
95142 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
95143 as_cr_digits='0123456789'
95144 as_cr_alnum=$as_cr_Letters$as_cr_digits
95145
95146 # The user is always right.
95147 if test "${PATH_SEPARATOR+set}" != set; then
95148   echo "#! /bin/sh" >conf$$.sh
95149   echo  "exit 0"   >>conf$$.sh
95150   chmod +x conf$$.sh
95151   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95152     PATH_SEPARATOR=';'
95153   else
95154     PATH_SEPARATOR=:
95155   fi
95156   rm -f conf$$.sh
95157 fi
95158
95159
95160   as_lineno_1=$LINENO
95161   as_lineno_2=$LINENO
95162   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95163   test "x$as_lineno_1" != "x$as_lineno_2" &&
95164   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
95165   # Find who we are.  Look in the path if we contain no path at all
95166   # relative or not.
95167   case $0 in
95168     *[\\/]* ) as_myself=$0 ;;
95169     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95170 for as_dir in $PATH
95171 do
95172   IFS=$as_save_IFS
95173   test -z "$as_dir" && as_dir=.
95174   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
95175 done
95176
95177        ;;
95178   esac
95179   # We did not find ourselves, most probably we were run as `sh COMMAND'
95180   # in which case we are not to be found in the path.
95181   if test "x$as_myself" = x; then
95182     as_myself=$0
95183   fi
95184   if test ! -f "$as_myself"; then
95185     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
95186 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
95187    { (exit 1); exit 1; }; }
95188   fi
95189   case $CONFIG_SHELL in
95190   '')
95191     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95192 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
95193 do
95194   IFS=$as_save_IFS
95195   test -z "$as_dir" && as_dir=.
95196   for as_base in sh bash ksh sh5; do
95197          case $as_dir in
95198          /*)
95199            if ("$as_dir/$as_base" -c '
95200   as_lineno_1=$LINENO
95201   as_lineno_2=$LINENO
95202   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95203   test "x$as_lineno_1" != "x$as_lineno_2" &&
95204   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
95205              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
95206              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
95207              CONFIG_SHELL=$as_dir/$as_base
95208              export CONFIG_SHELL
95209              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
95210            fi;;
95211          esac
95212        done
95213 done
95214 ;;
95215   esac
95216
95217   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
95218   # uniformly replaced by the line number.  The first 'sed' inserts a
95219   # line-number line before each line; the second 'sed' does the real
95220   # work.  The second script uses 'N' to pair each line-number line
95221   # with the numbered line, and appends trailing '-' during
95222   # substitution so that $LINENO is not a special case at line end.
95223   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
95224   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
95225   sed '=' <$as_myself |
95226     sed '
95227       N
95228       s,$,-,
95229       : loop
95230       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
95231       t loop
95232       s,-$,,
95233       s,^['$as_cr_digits']*\n,,
95234     ' >$as_me.lineno &&
95235   chmod +x $as_me.lineno ||
95236     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
95237 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
95238    { (exit 1); exit 1; }; }
95239
95240   # Don't try to exec as it changes $[0], causing all sort of problems
95241   # (the dirname of $[0] is not the place where we might find the
95242   # original and so on.  Autoconf is especially sensible to this).
95243   . ./$as_me.lineno
95244   # Exit status is that of the last command.
95245   exit
95246 }
95247
95248
95249 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
95250   *c*,-n*) ECHO_N= ECHO_C='
95251 ' ECHO_T='      ' ;;
95252   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
95253   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
95254 esac
95255
95256 if expr a : '\(a\)' >/dev/null 2>&1; then
95257   as_expr=expr
95258 else
95259   as_expr=false
95260 fi
95261
95262 rm -f conf$$ conf$$.exe conf$$.file
95263 echo >conf$$.file
95264 if ln -s conf$$.file conf$$ 2>/dev/null; then
95265   # We could just check for DJGPP; but this test a) works b) is more generic
95266   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
95267   if test -f conf$$.exe; then
95268     # Don't use ln at all; we don't have any links
95269     as_ln_s='cp -p'
95270   else
95271     as_ln_s='ln -s'
95272   fi
95273 elif ln conf$$.file conf$$ 2>/dev/null; then
95274   as_ln_s=ln
95275 else
95276   as_ln_s='cp -p'
95277 fi
95278 rm -f conf$$ conf$$.exe conf$$.file
95279
95280 if mkdir -p . 2>/dev/null; then
95281   as_mkdir_p=:
95282 else
95283   test -d ./-p && rmdir ./-p
95284   as_mkdir_p=false
95285 fi
95286
95287 as_executable_p="test -f"
95288
95289 # Sed expression to map a string onto a valid CPP name.
95290 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
95291
95292 # Sed expression to map a string onto a valid variable name.
95293 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
95294
95295
95296 # IFS
95297 # We need space, tab and new line, in precisely that order.
95298 as_nl='
95299 '
95300 IFS="   $as_nl"
95301
95302 # CDPATH.
95303 $as_unset CDPATH
95304
95305 exec 6>&1
95306
95307 # Open the log real soon, to keep \$[0] and so on meaningful, and to
95308 # report actual input values of CONFIG_FILES etc. instead of their
95309 # values after options handling.  Logging --version etc. is OK.
95310 exec 5>>config.log
95311 {
95312   echo
95313   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
95314 ## Running $as_me. ##
95315 _ASBOX
95316 } >&5
95317 cat >&5 <<_CSEOF
95318
95319 This file was extended by package-unused $as_me version-unused, which was
95320 generated by GNU Autoconf 2.59.  Invocation command line was
95321
95322   CONFIG_FILES    = $CONFIG_FILES
95323   CONFIG_HEADERS  = $CONFIG_HEADERS
95324   CONFIG_LINKS    = $CONFIG_LINKS
95325   CONFIG_COMMANDS = $CONFIG_COMMANDS
95326   $ $0 $@
95327
95328 _CSEOF
95329 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
95330 echo >&5
95331 _ACEOF
95332
95333 # Files that config.status was made for.
95334 if test -n "$ac_config_files"; then
95335   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
95336 fi
95337
95338 if test -n "$ac_config_headers"; then
95339   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
95340 fi
95341
95342 if test -n "$ac_config_links"; then
95343   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
95344 fi
95345
95346 if test -n "$ac_config_commands"; then
95347   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
95348 fi
95349
95350 cat >>$CONFIG_STATUS <<\_ACEOF
95351
95352 ac_cs_usage="\
95353 \`$as_me' instantiates files from templates according to the
95354 current configuration.
95355
95356 Usage: $0 [OPTIONS] [FILE]...
95357
95358   -h, --help       print this help, then exit
95359   -V, --version    print version number, then exit
95360   -q, --quiet      do not print progress messages
95361   -d, --debug      don't remove temporary files
95362       --recheck    update $as_me by reconfiguring in the same conditions
95363   --file=FILE[:TEMPLATE]
95364                    instantiate the configuration file FILE
95365   --header=FILE[:TEMPLATE]
95366                    instantiate the configuration header FILE
95367
95368 Configuration files:
95369 $config_files
95370
95371 Configuration headers:
95372 $config_headers
95373
95374 Configuration commands:
95375 $config_commands
95376
95377 Report bugs to <bug-autoconf@gnu.org>."
95378 _ACEOF
95379
95380 cat >>$CONFIG_STATUS <<_ACEOF
95381 ac_cs_version="\\
95382 package-unused config.status version-unused
95383 configured by $0, generated by GNU Autoconf 2.59,
95384   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
95385
95386 Copyright (C) 2003 Free Software Foundation, Inc.
95387 This config.status script is free software; the Free Software Foundation
95388 gives unlimited permission to copy, distribute and modify it."
95389 srcdir=$srcdir
95390 INSTALL="$INSTALL"
95391 _ACEOF
95392
95393 cat >>$CONFIG_STATUS <<\_ACEOF
95394 # If no file are specified by the user, then we need to provide default
95395 # value.  By we need to know if files were specified by the user.
95396 ac_need_defaults=:
95397 while test $# != 0
95398 do
95399   case $1 in
95400   --*=*)
95401     ac_option=`expr "x$1" : 'x\([^=]*\)='`
95402     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
95403     ac_shift=:
95404     ;;
95405   -*)
95406     ac_option=$1
95407     ac_optarg=$2
95408     ac_shift=shift
95409     ;;
95410   *) # This is not an option, so the user has probably given explicit
95411      # arguments.
95412      ac_option=$1
95413      ac_need_defaults=false;;
95414   esac
95415
95416   case $ac_option in
95417   # Handling of the options.
95418 _ACEOF
95419 cat >>$CONFIG_STATUS <<\_ACEOF
95420   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
95421     ac_cs_recheck=: ;;
95422   --version | --vers* | -V )
95423     echo "$ac_cs_version"; exit 0 ;;
95424   --he | --h)
95425     # Conflict between --help and --header
95426     { { echo "$as_me:$LINENO: error: ambiguous option: $1
95427 Try \`$0 --help' for more information." >&5
95428 echo "$as_me: error: ambiguous option: $1
95429 Try \`$0 --help' for more information." >&2;}
95430    { (exit 1); exit 1; }; };;
95431   --help | --hel | -h )
95432     echo "$ac_cs_usage"; exit 0 ;;
95433   --debug | --d* | -d )
95434     debug=: ;;
95435   --file | --fil | --fi | --f )
95436     $ac_shift
95437     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
95438     ac_need_defaults=false;;
95439   --header | --heade | --head | --hea )
95440     $ac_shift
95441     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
95442     ac_need_defaults=false;;
95443   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
95444   | -silent | --silent | --silen | --sile | --sil | --si | --s)
95445     ac_cs_silent=: ;;
95446
95447   # This is an error.
95448   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
95449 Try \`$0 --help' for more information." >&5
95450 echo "$as_me: error: unrecognized option: $1
95451 Try \`$0 --help' for more information." >&2;}
95452    { (exit 1); exit 1; }; } ;;
95453
95454   *) ac_config_targets="$ac_config_targets $1" ;;
95455
95456   esac
95457   shift
95458 done
95459
95460 ac_configure_extra_args=
95461
95462 if $ac_cs_silent; then
95463   exec 6>/dev/null
95464   ac_configure_extra_args="$ac_configure_extra_args --silent"
95465 fi
95466
95467 _ACEOF
95468 cat >>$CONFIG_STATUS <<_ACEOF
95469 if \$ac_cs_recheck; then
95470   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
95471   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
95472 fi
95473
95474 _ACEOF
95475
95476 cat >>$CONFIG_STATUS <<_ACEOF
95477 #
95478 # INIT-COMMANDS section.
95479 #
95480
95481
95482 srcdir="$srcdir"
95483 host="$host"
95484 target="$target"
95485 with_multisubdir="$with_multisubdir"
95486 with_multisrctop="$with_multisrctop"
95487 with_target_subdir="$with_target_subdir"
95488 ac_configure_args="${multilib_arg} ${ac_configure_args}"
95489 multi_basedir="$multi_basedir"
95490 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
95491 CC="$CC"
95492
95493 # Variables needed in config.status (file generation) which aren't already
95494 # passed by autoconf.
95495 SUBDIRS="$SUBDIRS"
95496
95497
95498 _ACEOF
95499
95500
95501
95502 cat >>$CONFIG_STATUS <<\_ACEOF
95503 for ac_config_target in $ac_config_targets
95504 do
95505   case "$ac_config_target" in
95506   # Handling of arguments.
95507   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
95508   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
95509   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
95510   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
95511   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
95512   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
95513   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
95514   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
95515   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
95516   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
95517   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
95518   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
95519   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
95520 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
95521    { (exit 1); exit 1; }; };;
95522   esac
95523 done
95524
95525 # If the user did not use the arguments to specify the items to instantiate,
95526 # then the envvar interface is used.  Set only those that are not.
95527 # We use the long form for the default assignment because of an extremely
95528 # bizarre bug on SunOS 4.1.3.
95529 if $ac_need_defaults; then
95530   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
95531   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
95532   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
95533 fi
95534
95535 # Have a temporary directory for convenience.  Make it in the build tree
95536 # simply because there is no reason to put it here, and in addition,
95537 # creating and moving files from /tmp can sometimes cause problems.
95538 # Create a temporary directory, and hook for its removal unless debugging.
95539 $debug ||
95540 {
95541   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
95542   trap '{ (exit 1); exit 1; }' 1 2 13 15
95543 }
95544
95545 # Create a (secure) tmp directory for tmp files.
95546
95547 {
95548   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
95549   test -n "$tmp" && test -d "$tmp"
95550 }  ||
95551 {
95552   tmp=./confstat$$-$RANDOM
95553   (umask 077 && mkdir $tmp)
95554 } ||
95555 {
95556    echo "$me: cannot create a temporary directory in ." >&2
95557    { (exit 1); exit 1; }
95558 }
95559
95560 _ACEOF
95561
95562 cat >>$CONFIG_STATUS <<_ACEOF
95563
95564 #
95565 # CONFIG_FILES section.
95566 #
95567
95568 # No need to generate the scripts if there are no CONFIG_FILES.
95569 # This happens for instance when ./config.status config.h
95570 if test -n "\$CONFIG_FILES"; then
95571   # Protect against being on the right side of a sed subst in config.status.
95572   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
95573    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
95574 s,@SHELL@,$SHELL,;t t
95575 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
95576 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
95577 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
95578 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
95579 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
95580 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
95581 s,@exec_prefix@,$exec_prefix,;t t
95582 s,@prefix@,$prefix,;t t
95583 s,@program_transform_name@,$program_transform_name,;t t
95584 s,@bindir@,$bindir,;t t
95585 s,@sbindir@,$sbindir,;t t
95586 s,@libexecdir@,$libexecdir,;t t
95587 s,@datadir@,$datadir,;t t
95588 s,@sysconfdir@,$sysconfdir,;t t
95589 s,@sharedstatedir@,$sharedstatedir,;t t
95590 s,@localstatedir@,$localstatedir,;t t
95591 s,@libdir@,$libdir,;t t
95592 s,@includedir@,$includedir,;t t
95593 s,@oldincludedir@,$oldincludedir,;t t
95594 s,@infodir@,$infodir,;t t
95595 s,@mandir@,$mandir,;t t
95596 s,@build_alias@,$build_alias,;t t
95597 s,@host_alias@,$host_alias,;t t
95598 s,@target_alias@,$target_alias,;t t
95599 s,@DEFS@,$DEFS,;t t
95600 s,@ECHO_C@,$ECHO_C,;t t
95601 s,@ECHO_N@,$ECHO_N,;t t
95602 s,@ECHO_T@,$ECHO_T,;t t
95603 s,@LIBS@,$LIBS,;t t
95604 s,@libtool_VERSION@,$libtool_VERSION,;t t
95605 s,@multi_basedir@,$multi_basedir,;t t
95606 s,@build@,$build,;t t
95607 s,@build_cpu@,$build_cpu,;t t
95608 s,@build_vendor@,$build_vendor,;t t
95609 s,@build_os@,$build_os,;t t
95610 s,@host@,$host,;t t
95611 s,@host_cpu@,$host_cpu,;t t
95612 s,@host_vendor@,$host_vendor,;t t
95613 s,@host_os@,$host_os,;t t
95614 s,@target@,$target,;t t
95615 s,@target_cpu@,$target_cpu,;t t
95616 s,@target_vendor@,$target_vendor,;t t
95617 s,@target_os@,$target_os,;t t
95618 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
95619 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
95620 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
95621 s,@CYGPATH_W@,$CYGPATH_W,;t t
95622 s,@PACKAGE@,$PACKAGE,;t t
95623 s,@VERSION@,$VERSION,;t t
95624 s,@ACLOCAL@,$ACLOCAL,;t t
95625 s,@AUTOCONF@,$AUTOCONF,;t t
95626 s,@AUTOMAKE@,$AUTOMAKE,;t t
95627 s,@AUTOHEADER@,$AUTOHEADER,;t t
95628 s,@MAKEINFO@,$MAKEINFO,;t t
95629 s,@AMTAR@,$AMTAR,;t t
95630 s,@install_sh@,$install_sh,;t t
95631 s,@STRIP@,$STRIP,;t t
95632 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
95633 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
95634 s,@AWK@,$AWK,;t t
95635 s,@SET_MAKE@,$SET_MAKE,;t t
95636 s,@am__leading_dot@,$am__leading_dot,;t t
95637 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
95638 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
95639 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
95640 s,@CC@,$CC,;t t
95641 s,@ac_ct_CC@,$ac_ct_CC,;t t
95642 s,@EXEEXT@,$EXEEXT,;t t
95643 s,@OBJEXT@,$OBJEXT,;t t
95644 s,@CXX@,$CXX,;t t
95645 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
95646 s,@CFLAGS@,$CFLAGS,;t t
95647 s,@CXXFLAGS@,$CXXFLAGS,;t t
95648 s,@LN_S@,$LN_S,;t t
95649 s,@AS@,$AS,;t t
95650 s,@ac_ct_AS@,$ac_ct_AS,;t t
95651 s,@AR@,$AR,;t t
95652 s,@ac_ct_AR@,$ac_ct_AR,;t t
95653 s,@RANLIB@,$RANLIB,;t t
95654 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
95655 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
95656 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
95657 s,@MAINT@,$MAINT,;t t
95658 s,@LIBTOOL@,$LIBTOOL,;t t
95659 s,@CXXCPP@,$CXXCPP,;t t
95660 s,@CPPFLAGS@,$CPPFLAGS,;t t
95661 s,@enable_shared@,$enable_shared,;t t
95662 s,@enable_static@,$enable_static,;t t
95663 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
95664 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
95665 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
95666 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
95667 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
95668 s,@CSTDIO_H@,$CSTDIO_H,;t t
95669 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
95670 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
95671 s,@CPP@,$CPP,;t t
95672 s,@EGREP@,$EGREP,;t t
95673 s,@check_msgfmt@,$check_msgfmt,;t t
95674 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
95675 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
95676 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
95677 s,@USE_NLS@,$USE_NLS,;t t
95678 s,@CLOCALE_H@,$CLOCALE_H,;t t
95679 s,@CCODECVT_H@,$CCODECVT_H,;t t
95680 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
95681 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
95682 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
95683 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
95684 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
95685 s,@CMONEY_CC@,$CMONEY_CC,;t t
95686 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
95687 s,@CTIME_H@,$CTIME_H,;t t
95688 s,@CTIME_CC@,$CTIME_CC,;t t
95689 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
95690 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
95691 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
95692 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
95693 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
95694 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
95695 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
95696 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
95697 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
95698 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
95699 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
95700 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
95701 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
95702 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
95703 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
95704 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
95705 s,@WERROR@,$WERROR,;t t
95706 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
95707 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
95708 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
95709 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
95710 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
95711 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
95712 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
95713 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
95714 s,@baseline_dir@,$baseline_dir,;t t
95715 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
95716 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
95717 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
95718 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
95719 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
95720 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
95721 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
95722 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
95723 s,@gxx_include_dir@,$gxx_include_dir,;t t
95724 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
95725 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
95726 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
95727 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
95728 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
95729 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
95730 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
95731 s,@LIBOBJS@,$LIBOBJS,;t t
95732 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
95733 CEOF
95734
95735 _ACEOF
95736
95737   cat >>$CONFIG_STATUS <<\_ACEOF
95738   # Split the substitutions into bite-sized pieces for seds with
95739   # small command number limits, like on Digital OSF/1 and HP-UX.
95740   ac_max_sed_lines=48
95741   ac_sed_frag=1 # Number of current file.
95742   ac_beg=1 # First line for current file.
95743   ac_end=$ac_max_sed_lines # Line after last line for current file.
95744   ac_more_lines=:
95745   ac_sed_cmds=
95746   while $ac_more_lines; do
95747     if test $ac_beg -gt 1; then
95748       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95749     else
95750       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95751     fi
95752     if test ! -s $tmp/subs.frag; then
95753       ac_more_lines=false
95754     else
95755       # The purpose of the label and of the branching condition is to
95756       # speed up the sed processing (if there are no `@' at all, there
95757       # is no need to browse any of the substitutions).
95758       # These are the two extra sed commands mentioned above.
95759       (echo ':t
95760   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
95761       if test -z "$ac_sed_cmds"; then
95762         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
95763       else
95764         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
95765       fi
95766       ac_sed_frag=`expr $ac_sed_frag + 1`
95767       ac_beg=$ac_end
95768       ac_end=`expr $ac_end + $ac_max_sed_lines`
95769     fi
95770   done
95771   if test -z "$ac_sed_cmds"; then
95772     ac_sed_cmds=cat
95773   fi
95774 fi # test -n "$CONFIG_FILES"
95775
95776 _ACEOF
95777 cat >>$CONFIG_STATUS <<\_ACEOF
95778 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
95779   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95780   case $ac_file in
95781   - | *:- | *:-:* ) # input from stdin
95782         cat >$tmp/stdin
95783         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95784         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95785   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95786         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95787   * )   ac_file_in=$ac_file.in ;;
95788   esac
95789
95790   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
95791   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95793          X"$ac_file" : 'X\(//\)[^/]' \| \
95794          X"$ac_file" : 'X\(//\)$' \| \
95795          X"$ac_file" : 'X\(/\)' \| \
95796          .     : '\(.\)' 2>/dev/null ||
95797 echo X"$ac_file" |
95798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95799           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95800           /^X\(\/\/\)$/{ s//\1/; q; }
95801           /^X\(\/\).*/{ s//\1/; q; }
95802           s/.*/./; q'`
95803   { if $as_mkdir_p; then
95804     mkdir -p "$ac_dir"
95805   else
95806     as_dir="$ac_dir"
95807     as_dirs=
95808     while test ! -d "$as_dir"; do
95809       as_dirs="$as_dir $as_dirs"
95810       as_dir=`(dirname "$as_dir") 2>/dev/null ||
95811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95812          X"$as_dir" : 'X\(//\)[^/]' \| \
95813          X"$as_dir" : 'X\(//\)$' \| \
95814          X"$as_dir" : 'X\(/\)' \| \
95815          .     : '\(.\)' 2>/dev/null ||
95816 echo X"$as_dir" |
95817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95818           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95819           /^X\(\/\/\)$/{ s//\1/; q; }
95820           /^X\(\/\).*/{ s//\1/; q; }
95821           s/.*/./; q'`
95822     done
95823     test ! -n "$as_dirs" || mkdir $as_dirs
95824   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95825 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95826    { (exit 1); exit 1; }; }; }
95827
95828   ac_builddir=.
95829
95830 if test "$ac_dir" != .; then
95831   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95832   # A "../" for each directory in $ac_dir_suffix.
95833   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95834 else
95835   ac_dir_suffix= ac_top_builddir=
95836 fi
95837
95838 case $srcdir in
95839   .)  # No --srcdir option.  We are building in place.
95840     ac_srcdir=.
95841     if test -z "$ac_top_builddir"; then
95842        ac_top_srcdir=.
95843     else
95844        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95845     fi ;;
95846   [\\/]* | ?:[\\/]* )  # Absolute path.
95847     ac_srcdir=$srcdir$ac_dir_suffix;
95848     ac_top_srcdir=$srcdir ;;
95849   *) # Relative path.
95850     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95851     ac_top_srcdir=$ac_top_builddir$srcdir ;;
95852 esac
95853
95854 # Do not use `cd foo && pwd` to compute absolute paths, because
95855 # the directories may not exist.
95856 case `pwd` in
95857 .) ac_abs_builddir="$ac_dir";;
95858 *)
95859   case "$ac_dir" in
95860   .) ac_abs_builddir=`pwd`;;
95861   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95862   *) ac_abs_builddir=`pwd`/"$ac_dir";;
95863   esac;;
95864 esac
95865 case $ac_abs_builddir in
95866 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95867 *)
95868   case ${ac_top_builddir}. in
95869   .) ac_abs_top_builddir=$ac_abs_builddir;;
95870   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95871   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95872   esac;;
95873 esac
95874 case $ac_abs_builddir in
95875 .) ac_abs_srcdir=$ac_srcdir;;
95876 *)
95877   case $ac_srcdir in
95878   .) ac_abs_srcdir=$ac_abs_builddir;;
95879   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95880   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95881   esac;;
95882 esac
95883 case $ac_abs_builddir in
95884 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95885 *)
95886   case $ac_top_srcdir in
95887   .) ac_abs_top_srcdir=$ac_abs_builddir;;
95888   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95889   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95890   esac;;
95891 esac
95892
95893
95894   case $INSTALL in
95895   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
95896   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
95897   esac
95898
95899   if test x"$ac_file" != x-; then
95900     { echo "$as_me:$LINENO: creating $ac_file" >&5
95901 echo "$as_me: creating $ac_file" >&6;}
95902     rm -f "$ac_file"
95903   fi
95904   # Let's still pretend it is `configure' which instantiates (i.e., don't
95905   # use $as_me), people would be surprised to read:
95906   #    /* config.h.  Generated by config.status.  */
95907   if test x"$ac_file" = x-; then
95908     configure_input=
95909   else
95910     configure_input="$ac_file.  "
95911   fi
95912   configure_input=$configure_input"Generated from `echo $ac_file_in |
95913                                      sed 's,.*/,,'` by configure."
95914
95915   # First look for the input files in the build tree, otherwise in the
95916   # src tree.
95917   ac_file_inputs=`IFS=:
95918     for f in $ac_file_in; do
95919       case $f in
95920       -) echo $tmp/stdin ;;
95921       [\\/$]*)
95922          # Absolute (can't be DOS-style, as IFS=:)
95923          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95924 echo "$as_me: error: cannot find input file: $f" >&2;}
95925    { (exit 1); exit 1; }; }
95926          echo "$f";;
95927       *) # Relative
95928          if test -f "$f"; then
95929            # Build tree
95930            echo "$f"
95931          elif test -f "$srcdir/$f"; then
95932            # Source tree
95933            echo "$srcdir/$f"
95934          else
95935            # /dev/null tree
95936            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95937 echo "$as_me: error: cannot find input file: $f" >&2;}
95938    { (exit 1); exit 1; }; }
95939          fi;;
95940       esac
95941     done` || { (exit 1); exit 1; }
95942 _ACEOF
95943 cat >>$CONFIG_STATUS <<_ACEOF
95944   sed "$ac_vpsub
95945 $extrasub
95946 _ACEOF
95947 cat >>$CONFIG_STATUS <<\_ACEOF
95948 :t
95949 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95950 s,@configure_input@,$configure_input,;t t
95951 s,@srcdir@,$ac_srcdir,;t t
95952 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95953 s,@top_srcdir@,$ac_top_srcdir,;t t
95954 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95955 s,@builddir@,$ac_builddir,;t t
95956 s,@abs_builddir@,$ac_abs_builddir,;t t
95957 s,@top_builddir@,$ac_top_builddir,;t t
95958 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95959 s,@INSTALL@,$ac_INSTALL,;t t
95960 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95961   rm -f $tmp/stdin
95962   if test x"$ac_file" != x-; then
95963     mv $tmp/out $ac_file
95964   else
95965     cat $tmp/out
95966     rm -f $tmp/out
95967   fi
95968
95969   # Run the commands associated with the file.
95970   case $ac_file in
95971     scripts/check_survey ) chmod +x scripts/check_survey ;;
95972     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95973   esac
95974 done
95975 _ACEOF
95976 cat >>$CONFIG_STATUS <<\_ACEOF
95977
95978 #
95979 # CONFIG_HEADER section.
95980 #
95981
95982 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95983 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95984 #
95985 # ac_d sets the value in "#define NAME VALUE" lines.
95986 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
95987 ac_dB='[         ].*$,\1#\2'
95988 ac_dC=' '
95989 ac_dD=',;t'
95990 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95991 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
95992 ac_uB='$,\1#\2define\3'
95993 ac_uC=' '
95994 ac_uD=',;t'
95995
95996 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95997   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95998   case $ac_file in
95999   - | *:- | *:-:* ) # input from stdin
96000         cat >$tmp/stdin
96001         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
96002         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
96003   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
96004         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
96005   * )   ac_file_in=$ac_file.in ;;
96006   esac
96007
96008   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
96009 echo "$as_me: creating $ac_file" >&6;}
96010
96011   # First look for the input files in the build tree, otherwise in the
96012   # src tree.
96013   ac_file_inputs=`IFS=:
96014     for f in $ac_file_in; do
96015       case $f in
96016       -) echo $tmp/stdin ;;
96017       [\\/$]*)
96018          # Absolute (can't be DOS-style, as IFS=:)
96019          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
96020 echo "$as_me: error: cannot find input file: $f" >&2;}
96021    { (exit 1); exit 1; }; }
96022          # Do quote $f, to prevent DOS paths from being IFS'd.
96023          echo "$f";;
96024       *) # Relative
96025          if test -f "$f"; then
96026            # Build tree
96027            echo "$f"
96028          elif test -f "$srcdir/$f"; then
96029            # Source tree
96030            echo "$srcdir/$f"
96031          else
96032            # /dev/null tree
96033            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
96034 echo "$as_me: error: cannot find input file: $f" >&2;}
96035    { (exit 1); exit 1; }; }
96036          fi;;
96037       esac
96038     done` || { (exit 1); exit 1; }
96039   # Remove the trailing spaces.
96040   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
96041
96042 _ACEOF
96043
96044 # Transform confdefs.h into two sed scripts, `conftest.defines' and
96045 # `conftest.undefs', that substitutes the proper values into
96046 # config.h.in to produce config.h.  The first handles `#define'
96047 # templates, and the second `#undef' templates.
96048 # And first: Protect against being on the right side of a sed subst in
96049 # config.status.  Protect against being in an unquoted here document
96050 # in config.status.
96051 rm -f conftest.defines conftest.undefs
96052 # Using a here document instead of a string reduces the quoting nightmare.
96053 # Putting comments in sed scripts is not portable.
96054 #
96055 # `end' is used to avoid that the second main sed command (meant for
96056 # 0-ary CPP macros) applies to n-ary macro definitions.
96057 # See the Autoconf documentation for `clear'.
96058 cat >confdef2sed.sed <<\_ACEOF
96059 s/[\\&,]/\\&/g
96060 s,[\\$`],\\&,g
96061 t clear
96062 : clear
96063 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
96064 t end
96065 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
96066 : end
96067 _ACEOF
96068 # If some macros were called several times there might be several times
96069 # the same #defines, which is useless.  Nevertheless, we may not want to
96070 # sort them, since we want the *last* AC-DEFINE to be honored.
96071 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
96072 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
96073 rm -f confdef2sed.sed
96074
96075 # This sed command replaces #undef with comments.  This is necessary, for
96076 # example, in the case of _POSIX_SOURCE, which is predefined and required
96077 # on some systems where configure will not decide to define it.
96078 cat >>conftest.undefs <<\_ACEOF
96079 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
96080 _ACEOF
96081
96082 # Break up conftest.defines because some shells have a limit on the size
96083 # of here documents, and old seds have small limits too (100 cmds).
96084 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
96085 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
96086 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
96087 echo '  :' >>$CONFIG_STATUS
96088 rm -f conftest.tail
96089 while grep . conftest.defines >/dev/null
96090 do
96091   # Write a limited-size here document to $tmp/defines.sed.
96092   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
96093   # Speed up: don't consider the non `#define' lines.
96094   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
96095   # Work around the forget-to-reset-the-flag bug.
96096   echo 't clr' >>$CONFIG_STATUS
96097   echo ': clr' >>$CONFIG_STATUS
96098   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
96099   echo 'CEOF
96100   sed -f $tmp/defines.sed $tmp/in >$tmp/out
96101   rm -f $tmp/in
96102   mv $tmp/out $tmp/in
96103 ' >>$CONFIG_STATUS
96104   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
96105   rm -f conftest.defines
96106   mv conftest.tail conftest.defines
96107 done
96108 rm -f conftest.defines
96109 echo '  fi # grep' >>$CONFIG_STATUS
96110 echo >>$CONFIG_STATUS
96111
96112 # Break up conftest.undefs because some shells have a limit on the size
96113 # of here documents, and old seds have small limits too (100 cmds).
96114 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
96115 rm -f conftest.tail
96116 while grep . conftest.undefs >/dev/null
96117 do
96118   # Write a limited-size here document to $tmp/undefs.sed.
96119   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
96120   # Speed up: don't consider the non `#undef'
96121   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
96122   # Work around the forget-to-reset-the-flag bug.
96123   echo 't clr' >>$CONFIG_STATUS
96124   echo ': clr' >>$CONFIG_STATUS
96125   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
96126   echo 'CEOF
96127   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
96128   rm -f $tmp/in
96129   mv $tmp/out $tmp/in
96130 ' >>$CONFIG_STATUS
96131   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
96132   rm -f conftest.undefs
96133   mv conftest.tail conftest.undefs
96134 done
96135 rm -f conftest.undefs
96136
96137 cat >>$CONFIG_STATUS <<\_ACEOF
96138   # Let's still pretend it is `configure' which instantiates (i.e., don't
96139   # use $as_me), people would be surprised to read:
96140   #    /* config.h.  Generated by config.status.  */
96141   if test x"$ac_file" = x-; then
96142     echo "/* Generated by configure.  */" >$tmp/config.h
96143   else
96144     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
96145   fi
96146   cat $tmp/in >>$tmp/config.h
96147   rm -f $tmp/in
96148   if test x"$ac_file" != x-; then
96149     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
96150       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
96151 echo "$as_me: $ac_file is unchanged" >&6;}
96152     else
96153       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
96154 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96155          X"$ac_file" : 'X\(//\)[^/]' \| \
96156          X"$ac_file" : 'X\(//\)$' \| \
96157          X"$ac_file" : 'X\(/\)' \| \
96158          .     : '\(.\)' 2>/dev/null ||
96159 echo X"$ac_file" |
96160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96161           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96162           /^X\(\/\/\)$/{ s//\1/; q; }
96163           /^X\(\/\).*/{ s//\1/; q; }
96164           s/.*/./; q'`
96165       { if $as_mkdir_p; then
96166     mkdir -p "$ac_dir"
96167   else
96168     as_dir="$ac_dir"
96169     as_dirs=
96170     while test ! -d "$as_dir"; do
96171       as_dirs="$as_dir $as_dirs"
96172       as_dir=`(dirname "$as_dir") 2>/dev/null ||
96173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96174          X"$as_dir" : 'X\(//\)[^/]' \| \
96175          X"$as_dir" : 'X\(//\)$' \| \
96176          X"$as_dir" : 'X\(/\)' \| \
96177          .     : '\(.\)' 2>/dev/null ||
96178 echo X"$as_dir" |
96179     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96180           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96181           /^X\(\/\/\)$/{ s//\1/; q; }
96182           /^X\(\/\).*/{ s//\1/; q; }
96183           s/.*/./; q'`
96184     done
96185     test ! -n "$as_dirs" || mkdir $as_dirs
96186   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96187 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96188    { (exit 1); exit 1; }; }; }
96189
96190       rm -f $ac_file
96191       mv $tmp/config.h $ac_file
96192     fi
96193   else
96194     cat $tmp/config.h
96195     rm -f $tmp/config.h
96196   fi
96197 # Compute $ac_file's index in $config_headers.
96198 _am_stamp_count=1
96199 for _am_header in $config_headers :; do
96200   case $_am_header in
96201     $ac_file | $ac_file:* )
96202       break ;;
96203     * )
96204       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
96205   esac
96206 done
96207 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
96208 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96209          X$ac_file : 'X\(//\)[^/]' \| \
96210          X$ac_file : 'X\(//\)$' \| \
96211          X$ac_file : 'X\(/\)' \| \
96212          .     : '\(.\)' 2>/dev/null ||
96213 echo X$ac_file |
96214     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96215           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96216           /^X\(\/\/\)$/{ s//\1/; q; }
96217           /^X\(\/\).*/{ s//\1/; q; }
96218           s/.*/./; q'`/stamp-h$_am_stamp_count
96219 done
96220 _ACEOF
96221 cat >>$CONFIG_STATUS <<\_ACEOF
96222
96223 #
96224 # CONFIG_COMMANDS section.
96225 #
96226 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
96227   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
96228   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
96229   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
96230 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96231          X"$ac_dest" : 'X\(//\)[^/]' \| \
96232          X"$ac_dest" : 'X\(//\)$' \| \
96233          X"$ac_dest" : 'X\(/\)' \| \
96234          .     : '\(.\)' 2>/dev/null ||
96235 echo X"$ac_dest" |
96236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96237           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96238           /^X\(\/\/\)$/{ s//\1/; q; }
96239           /^X\(\/\).*/{ s//\1/; q; }
96240           s/.*/./; q'`
96241   { if $as_mkdir_p; then
96242     mkdir -p "$ac_dir"
96243   else
96244     as_dir="$ac_dir"
96245     as_dirs=
96246     while test ! -d "$as_dir"; do
96247       as_dirs="$as_dir $as_dirs"
96248       as_dir=`(dirname "$as_dir") 2>/dev/null ||
96249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96250          X"$as_dir" : 'X\(//\)[^/]' \| \
96251          X"$as_dir" : 'X\(//\)$' \| \
96252          X"$as_dir" : 'X\(/\)' \| \
96253          .     : '\(.\)' 2>/dev/null ||
96254 echo X"$as_dir" |
96255     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96256           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96257           /^X\(\/\/\)$/{ s//\1/; q; }
96258           /^X\(\/\).*/{ s//\1/; q; }
96259           s/.*/./; q'`
96260     done
96261     test ! -n "$as_dirs" || mkdir $as_dirs
96262   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96263 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96264    { (exit 1); exit 1; }; }; }
96265
96266   ac_builddir=.
96267
96268 if test "$ac_dir" != .; then
96269   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
96270   # A "../" for each directory in $ac_dir_suffix.
96271   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
96272 else
96273   ac_dir_suffix= ac_top_builddir=
96274 fi
96275
96276 case $srcdir in
96277   .)  # No --srcdir option.  We are building in place.
96278     ac_srcdir=.
96279     if test -z "$ac_top_builddir"; then
96280        ac_top_srcdir=.
96281     else
96282        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
96283     fi ;;
96284   [\\/]* | ?:[\\/]* )  # Absolute path.
96285     ac_srcdir=$srcdir$ac_dir_suffix;
96286     ac_top_srcdir=$srcdir ;;
96287   *) # Relative path.
96288     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
96289     ac_top_srcdir=$ac_top_builddir$srcdir ;;
96290 esac
96291
96292 # Do not use `cd foo && pwd` to compute absolute paths, because
96293 # the directories may not exist.
96294 case `pwd` in
96295 .) ac_abs_builddir="$ac_dir";;
96296 *)
96297   case "$ac_dir" in
96298   .) ac_abs_builddir=`pwd`;;
96299   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
96300   *) ac_abs_builddir=`pwd`/"$ac_dir";;
96301   esac;;
96302 esac
96303 case $ac_abs_builddir in
96304 .) ac_abs_top_builddir=${ac_top_builddir}.;;
96305 *)
96306   case ${ac_top_builddir}. in
96307   .) ac_abs_top_builddir=$ac_abs_builddir;;
96308   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
96309   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
96310   esac;;
96311 esac
96312 case $ac_abs_builddir in
96313 .) ac_abs_srcdir=$ac_srcdir;;
96314 *)
96315   case $ac_srcdir in
96316   .) ac_abs_srcdir=$ac_abs_builddir;;
96317   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
96318   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
96319   esac;;
96320 esac
96321 case $ac_abs_builddir in
96322 .) ac_abs_top_srcdir=$ac_top_srcdir;;
96323 *)
96324   case $ac_top_srcdir in
96325   .) ac_abs_top_srcdir=$ac_abs_builddir;;
96326   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
96327   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
96328   esac;;
96329 esac
96330
96331
96332   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
96333 echo "$as_me: executing $ac_dest commands" >&6;}
96334   case $ac_dest in
96335     default-1 )
96336 # Only add multilib support code if we just rebuilt the top-level
96337 # Makefile.
96338 case " $CONFIG_FILES " in
96339  *" Makefile "*)
96340    ac_file=Makefile . ${multi_basedir}/config-ml.in
96341    ;;
96342 esac ;;
96343     default ) if test -n "$CONFIG_FILES"; then
96344    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96345    # that multilib installs will end up installed in the correct place.
96346    # The testsuite needs it for multilib-aware ABI baseline files.
96347    # To work around this not being passed down from config-ml.in ->
96348    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96349    # append it here.  Only modify Makefiles that have just been created.
96350    #
96351    # Also, get rid of this simulated-VPATH thing that automake does.
96352    cat > vpsed << \_EOF
96353 s!`test -f '$<' || echo '$(srcdir)/'`!!
96354 _EOF
96355    for i in $SUBDIRS; do
96356     case $CONFIG_FILES in
96357      *${i}/Makefile*)
96358        #echo "Adding MULTISUBDIR to $i/Makefile"
96359        sed -f vpsed $i/Makefile > tmp
96360        grep '^MULTISUBDIR =' Makefile >> tmp
96361        mv tmp $i/Makefile
96362        ;;
96363     esac
96364    done
96365    rm vpsed
96366  fi
96367  (cd include && ${MAKE-make})
96368  ;;
96369   esac
96370 done
96371 _ACEOF
96372
96373 cat >>$CONFIG_STATUS <<\_ACEOF
96374
96375 { (exit 0); exit 0; }
96376 _ACEOF
96377 chmod +x $CONFIG_STATUS
96378 ac_clean_files=$ac_clean_files_save
96379
96380
96381 # configure is writing to config.log, and then calls config.status.
96382 # config.status does its own redirection, appending to config.log.
96383 # Unfortunately, on DOS this fails, as config.log is still kept open
96384 # by configure, so config.status won't be able to write to it; its
96385 # output is simply discarded.  So we exec the FD to /dev/null,
96386 # effectively closing config.log, so it can be properly (re)opened and
96387 # appended to by config.status.  When coming back to configure, we
96388 # need to make the FD available again.
96389 if test "$no_create" != yes; then
96390   ac_cs_success=:
96391   ac_config_status_args=
96392   test "$silent" = yes &&
96393     ac_config_status_args="$ac_config_status_args --quiet"
96394   exec 5>/dev/null
96395   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96396   exec 5>>config.log
96397   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96398   # would make configure fail if this is the last instruction.
96399   $ac_cs_success || { (exit 1); exit 1; }
96400 fi
96401