]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/libstdc++/configure
This commit was generated by cvs2svn to compensate for changes in r145479,
[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.57 for package-unused version-unused.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15   emulate sh
16   NULLCMD=:
17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18   # is contrary to our usage.  Disable this feature.
19   alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21   set -o posix
22 fi
23
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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   as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS="   $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete.  It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME='package-unused'
268 PACKAGE_TARNAME='libstdc++'
269 PACKAGE_VERSION='version-unused'
270 PACKAGE_STRING='package-unused version-unused'
271 PACKAGE_BUGREPORT=''
272
273 ac_unique_file="src/ios.cc"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 #  include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 #  include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 #  include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 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'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355   # If the previous option needs an argument, assign it.
356   if test -n "$ac_prev"; then
357     eval "$ac_prev=\$ac_option"
358     ac_prev=
359     continue
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
378   -cache-file | --cache-file | --cache-fil | --cache-fi \
379   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380     ac_prev=cache_file ;;
381   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383     cache_file=$ac_optarg ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
388   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389     ac_prev=datadir ;;
390   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391   | --da=*)
392     datadir=$ac_optarg ;;
393
394   -disable-* | --disable-*)
395     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396     # Reject names that are not valid shell variable names.
397     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399    { (exit 1); exit 1; }; }
400     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401     eval "enable_$ac_feature=no" ;;
402
403   -enable-* | --enable-*)
404     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405     # Reject names that are not valid shell variable names.
406     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408    { (exit 1); exit 1; }; }
409     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410     case $ac_option in
411       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412       *) ac_optarg=yes ;;
413     esac
414     eval "enable_$ac_feature='$ac_optarg'" ;;
415
416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418   | --exec | --exe | --ex)
419     ac_prev=exec_prefix ;;
420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422   | --exec=* | --exe=* | --ex=*)
423     exec_prefix=$ac_optarg ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
429   -help | --help | --hel | --he | -h)
430     ac_init_help=long ;;
431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432     ac_init_help=recursive ;;
433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434     ac_init_help=short ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
441   -includedir | --includedir | --includedi | --included | --include \
442   | --includ | --inclu | --incl | --inc)
443     ac_prev=includedir ;;
444   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445   | --includ=* | --inclu=* | --incl=* | --inc=*)
446     includedir=$ac_optarg ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
458   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459   | --libexe | --libex | --libe)
460     ac_prev=libexecdir ;;
461   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462   | --libexe=* | --libex=* | --libe=*)
463     libexecdir=$ac_optarg ;;
464
465   -localstatedir | --localstatedir | --localstatedi | --localstated \
466   | --localstate | --localstat | --localsta | --localst \
467   | --locals | --local | --loca | --loc | --lo)
468     ac_prev=localstatedir ;;
469   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472     localstatedir=$ac_optarg ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
487   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489     no_recursion=yes ;;
490
491   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493   | --oldin | --oldi | --old | --ol | --o)
494     ac_prev=oldincludedir ;;
495   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498     oldincludedir=$ac_optarg ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
505   -program-prefix | --program-prefix | --program-prefi | --program-pref \
506   | --program-pre | --program-pr | --program-p)
507     ac_prev=program_prefix ;;
508   -program-prefix=* | --program-prefix=* | --program-prefi=* \
509   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510     program_prefix=$ac_optarg ;;
511
512   -program-suffix | --program-suffix | --program-suffi | --program-suff \
513   | --program-suf | --program-su | --program-s)
514     ac_prev=program_suffix ;;
515   -program-suffix=* | --program-suffix=* | --program-suffi=* \
516   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517     program_suffix=$ac_optarg ;;
518
519   -program-transform-name | --program-transform-name \
520   | --program-transform-nam | --program-transform-na \
521   | --program-transform-n | --program-transform- \
522   | --program-transform | --program-transfor \
523   | --program-transfo | --program-transf \
524   | --program-trans | --program-tran \
525   | --progr-tra | --program-tr | --program-t)
526     ac_prev=program_transform_name ;;
527   -program-transform-name=* | --program-transform-name=* \
528   | --program-transform-nam=* | --program-transform-na=* \
529   | --program-transform-n=* | --program-transform-=* \
530   | --program-transform=* | --program-transfor=* \
531   | --program-transfo=* | --program-transf=* \
532   | --program-trans=* | --program-tran=* \
533   | --progr-tra=* | --program-tr=* | --program-t=*)
534     program_transform_name=$ac_optarg ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
540   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541     ac_prev=sbindir ;;
542   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543   | --sbi=* | --sb=*)
544     sbindir=$ac_optarg ;;
545
546   -sharedstatedir | --sharedstatedir | --sharedstatedi \
547   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548   | --sharedst | --shareds | --shared | --share | --shar \
549   | --sha | --sh)
550     ac_prev=sharedstatedir ;;
551   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554   | --sha=* | --sh=*)
555     sharedstatedir=$ac_optarg ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
567   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568   | --syscon | --sysco | --sysc | --sys | --sy)
569     ac_prev=sysconfdir ;;
570   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572     sysconfdir=$ac_optarg ;;
573
574   -target | --target | --targe | --targ | --tar | --ta | --t)
575     ac_prev=target_alias ;;
576   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577     target_alias=$ac_optarg ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
585   -with-* | --with-*)
586     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587     # Reject names that are not valid shell variable names.
588     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589       { echo "$as_me: error: invalid package name: $ac_package" >&2
590    { (exit 1); exit 1; }; }
591     ac_package=`echo $ac_package| sed 's/-/_/g'`
592     case $ac_option in
593       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594       *) ac_optarg=yes ;;
595     esac
596     eval "with_$ac_package='$ac_optarg'" ;;
597
598   -without-* | --without-*)
599     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600     # Reject names that are not valid shell variable names.
601     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602       { echo "$as_me: error: invalid package name: $ac_package" >&2
603    { (exit 1); exit 1; }; }
604     ac_package=`echo $ac_package | sed 's/-/_/g'`
605     eval "with_$ac_package=no" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
611   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612   | --x-incl | --x-inc | --x-in | --x-i)
613     ac_prev=x_includes ;;
614   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616     x_includes=$ac_optarg ;;
617
618   -x-libraries | --x-libraries | --x-librarie | --x-librari \
619   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620     ac_prev=x_libraries ;;
621   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623     x_libraries=$ac_optarg ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
630   *=*)
631     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632     # Reject names that are not valid shell variable names.
633     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635    { (exit 1); exit 1; }; }
636     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637     eval "$ac_envvar='$ac_optarg'"
638     export $ac_envvar ;;
639
640   *)
641     # FIXME: should be removed in autoconf 3.0.
642     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646     ;;
647
648   esac
649 done
650
651 if test -n "$ac_prev"; then
652   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653   { echo "$as_me: error: missing argument to $ac_option" >&2
654    { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660   eval ac_val=$`echo $ac_var`
661   case $ac_val in
662     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664    { (exit 1); exit 1; }; };;
665   esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670               localstatedir libdir includedir oldincludedir infodir mandir
671 do
672   eval ac_val=$`echo $ac_var`
673   case $ac_val in
674     [\\/$]* | ?:[\\/]* ) ;;
675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    { (exit 1); exit 1; }; };;
677   esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689   if test "x$build_alias" = x; then
690     cross_compiling=maybe
691     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692     If a cross compiler is detected then cross compile mode will be used." >&2
693   elif test "x$build_alias" != "x$host_alias"; then
694     cross_compiling=yes
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706   ac_srcdir_defaulted=yes
707   # Try the directory containing this script, then its parent.
708   ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710          X"$0" : 'X\(//\)[^/]' \| \
711          X"$0" : 'X\(//\)$' \| \
712          X"$0" : 'X\(/\)' \| \
713          .     : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717           /^X\(\/\/\)$/{ s//\1/; q; }
718           /^X\(\/\).*/{ s//\1/; q; }
719           s/.*/./; q'`
720   srcdir=$ac_confdir
721   if test ! -r $srcdir/$ac_unique_file; then
722     srcdir=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728   if test "$ac_srcdir_defaulted" = yes; then
729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730    { (exit 1); exit 1; }; }
731   else
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733    { (exit 1); exit 1; }; }
734   fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738    { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXXCPP_set=${CXXCPP+set}
753 ac_env_CXXCPP_value=$CXXCPP
754 ac_cv_env_CXXCPP_set=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value=$CXXCPP
756 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
760 ac_env_CPP_set=${CPP+set}
761 ac_env_CPP_value=$CPP
762 ac_cv_env_CPP_set=${CPP+set}
763 ac_cv_env_CPP_value=$CPP
764
765 #
766 # Report the --help message.
767 #
768 if test "$ac_init_help" = "long"; then
769   # Omit some internal or obsolete options to make the list less imposing.
770   # This message is too long to be a string in the A/UX 3.1 sh.
771   cat <<_ACEOF
772 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
773
774 Usage: $0 [OPTION]... [VAR=VALUE]...
775
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE.  See below for descriptions of some of the useful variables.
778
779 Defaults for the options are specified in brackets.
780
781 Configuration:
782   -h, --help              display this help and exit
783       --help=short        display options specific to this package
784       --help=recursive    display the short help of all the included packages
785   -V, --version           display version information and exit
786   -q, --quiet, --silent   do not print \`checking...' messages
787       --cache-file=FILE   cache test results in FILE [disabled]
788   -C, --config-cache      alias for \`--cache-file=config.cache'
789   -n, --no-create         do not create output files
790       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
791
792 _ACEOF
793
794   cat <<_ACEOF
795 Installation directories:
796   --prefix=PREFIX         install architecture-independent files in PREFIX
797                           [$ac_default_prefix]
798   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
799                           [PREFIX]
800
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
805
806 For better control, use the options below.
807
808 Fine tuning of the installation directories:
809   --bindir=DIR           user executables [EPREFIX/bin]
810   --sbindir=DIR          system admin executables [EPREFIX/sbin]
811   --libexecdir=DIR       program executables [EPREFIX/libexec]
812   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
813   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
814   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
815   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
816   --libdir=DIR           object code libraries [EPREFIX/lib]
817   --includedir=DIR       C header files [PREFIX/include]
818   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
819   --infodir=DIR          info documentation [PREFIX/info]
820   --mandir=DIR           man documentation [PREFIX/man]
821 _ACEOF
822
823   cat <<\_ACEOF
824
825 Program names:
826   --program-prefix=PREFIX            prepend PREFIX to installed program names
827   --program-suffix=SUFFIX            append SUFFIX to installed program names
828   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
829
830 System types:
831   --build=BUILD     configure for building on BUILD [guessed]
832   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
833   --target=TARGET   configure for building compilers for TARGET [HOST]
834 _ACEOF
835 fi
836
837 if test -n "$ac_init_help"; then
838   case $ac_init_help in
839      short | recursive ) echo "Configuration of package-unused version-unused:";;
840    esac
841   cat <<\_ACEOF
842
843 Optional Features:
844   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
845   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
846   --enable-multilib         build many library versions (default)
847   --enable-maintainer-mode enable make rules and dependencies not useful
848                           (and sometimes confusing) to the casual installer
849   --enable-shared=PKGS  build shared libraries default=yes
850   --enable-static=PKGS  build static libraries default=yes
851   --enable-fast-install=PKGS  optimize for fast installation default=yes
852   --disable-libtool-lock  avoid locking (might break parallel builds)
853   --disable-hosted-libstdcxx
854                           only build freestanding C++ runtime support
855   --enable-sjlj-exceptions
856                           force use of builtin_setjmp for exceptions
857                           [default=auto]
858   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
859                           [default=$is_hosted]
860   --enable-cstdio=PACKAGE use target-specific I/O package
861                           [default=stdio]
862   --enable-clocale[=MODEL]
863                           use MODEL for target locale package
864                           [default=auto]
865   --enable-nls            use Native Language Support (default)
866   --enable-libstdcxx-allocator=KIND
867                           use KIND for target std::allocator base
868                           [default=auto]
869   --enable-cheaders=KIND  construct "C" headers for g++
870                           [default=$c_model]
871   --enable-c-mbchar       enable multibyte (wide) characters
872                           [default=yes]
873   --enable-c99            turns on ISO/IEC 9899:1999 support
874                           [default=yes]
875   --enable-long-long      enables I/O support for 'long long'
876                           [default=yes]
877   --enable-concept-checks use Boost-derived template checks [default=no]
878   --enable-libstdcxx-debug-flags=FLAGS
879                           pass compiler FLAGS when building debug library
880                           [default="-g3 -O0"]
881   --enable-libstdcxx-debug
882                           build extra debug library [default=no]
883   --enable-cxx-flags=FLAGS
884                           pass compiler FLAGS when building library
885                           [default=]
886   --enable-symvers=STYLE  enables symbol versioning of the shared library
887                           [default=yes]
888   --enable-version-specific-runtime-libs
889                           Specify that runtime libraries should be installed
890                           in a compiler-specific directory
891
892 Optional Packages:
893   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
894   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
895   --with-target-subdir=SUBDIR
896                           configuring in a subdirectory
897   --with-cross-host=HOST  configuring with a cross compiler
898   --with-newlib           assume newlib as a system C library
899   --with-gnu-ld           assume the C compiler uses GNU ld default=no
900   --with-pic              try to use only PIC/non-PIC objects default=use both
901   --with-gxx-include-dir=DIR
902                           installation directory for include files
903
904 Some influential environment variables:
905   CC          C compiler command
906   CFLAGS      C compiler flags
907   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
908               nonstandard directory <lib dir>
909   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
910               headers in a nonstandard directory <include dir>
911   CXX         C++ compiler command
912   CXXFLAGS    C++ compiler flags
913   CXXCPP      C++ preprocessor
914   CPP         C preprocessor
915
916 Use these variables to override the choices made by `configure' or to help
917 it to find libraries and programs with nonstandard names/locations.
918
919 _ACEOF
920 fi
921
922 if test "$ac_init_help" = "recursive"; then
923   # If there are subdirs, report their specific --help.
924   ac_popdir=`pwd`
925   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926     test -d $ac_dir || continue
927     ac_builddir=.
928
929 if test "$ac_dir" != .; then
930   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931   # A "../" for each directory in $ac_dir_suffix.
932   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
933 else
934   ac_dir_suffix= ac_top_builddir=
935 fi
936
937 case $srcdir in
938   .)  # No --srcdir option.  We are building in place.
939     ac_srcdir=.
940     if test -z "$ac_top_builddir"; then
941        ac_top_srcdir=.
942     else
943        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
944     fi ;;
945   [\\/]* | ?:[\\/]* )  # Absolute path.
946     ac_srcdir=$srcdir$ac_dir_suffix;
947     ac_top_srcdir=$srcdir ;;
948   *) # Relative path.
949     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950     ac_top_srcdir=$ac_top_builddir$srcdir ;;
951 esac
952 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
953 # absolute.
954 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
955 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958
959     cd $ac_dir
960     # Check for guested configure; otherwise get Cygnus style configure.
961     if test -f $ac_srcdir/configure.gnu; then
962       echo
963       $SHELL $ac_srcdir/configure.gnu  --help=recursive
964     elif test -f $ac_srcdir/configure; then
965       echo
966       $SHELL $ac_srcdir/configure  --help=recursive
967     elif test -f $ac_srcdir/configure.ac ||
968            test -f $ac_srcdir/configure.in; then
969       echo
970       $ac_configure --help
971     else
972       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973     fi
974     cd $ac_popdir
975   done
976 fi
977
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
980   cat <<\_ACEOF
981 package-unused configure version-unused
982 generated by GNU Autoconf 2.57
983
984 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
985 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
988 _ACEOF
989   exit 0
990 fi
991 exec 5>config.log
992 cat >&5 <<_ACEOF
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
995
996 It was created by package-unused $as_me version-unused, which was
997 generated by GNU Autoconf 2.57.  Invocation command line was
998
999   $ $0 $@
1000
1001 _ACEOF
1002 {
1003 cat <<_ASUNAME
1004 ## --------- ##
1005 ## Platform. ##
1006 ## --------- ##
1007
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1013
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1016
1017 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1018 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1021 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1022 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1023 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1024
1025 _ASUNAME
1026
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 for as_dir in $PATH
1029 do
1030   IFS=$as_save_IFS
1031   test -z "$as_dir" && as_dir=.
1032   echo "PATH: $as_dir"
1033 done
1034
1035 } >&5
1036
1037 cat >&5 <<_ACEOF
1038
1039
1040 ## ----------- ##
1041 ## Core tests. ##
1042 ## ----------- ##
1043
1044 _ACEOF
1045
1046
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_configure_args=
1053 ac_configure_args0=
1054 ac_configure_args1=
1055 ac_sep=
1056 ac_must_keep_next=false
1057 for ac_pass in 1 2
1058 do
1059   for ac_arg
1060   do
1061     case $ac_arg in
1062     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064     | -silent | --silent | --silen | --sile | --sil)
1065       continue ;;
1066     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068     esac
1069     case $ac_pass in
1070     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071     2)
1072       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073       if test $ac_must_keep_next = true; then
1074         ac_must_keep_next=false # Got value, back to normal.
1075       else
1076         case $ac_arg in
1077           *=* | --config-cache | -C | -disable-* | --disable-* \
1078           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080           | -with-* | --with-* | -without-* | --without-* | --x)
1081             case "$ac_configure_args0 " in
1082               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083             esac
1084             ;;
1085           -* ) ac_must_keep_next=true ;;
1086         esac
1087       fi
1088       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089       # Get rid of the leading space.
1090       ac_sep=" "
1091       ;;
1092     esac
1093   done
1094 done
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log.  We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104   # Save into config.log some information that might help in debugging.
1105   {
1106     echo
1107
1108     cat <<\_ASBOX
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1112 _ASBOX
1113     echo
1114     # The following way of writing the cache mishandles newlines in values,
1115 {
1116   (set) 2>&1 |
1117     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118     *ac_space=\ *)
1119       sed -n \
1120         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122       ;;
1123     *)
1124       sed -n \
1125         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126       ;;
1127     esac;
1128 }
1129     echo
1130
1131     cat <<\_ASBOX
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1135 _ASBOX
1136     echo
1137     for ac_var in $ac_subst_vars
1138     do
1139       eval ac_val=$`echo $ac_var`
1140       echo "$ac_var='"'"'$ac_val'"'"'"
1141     done | sort
1142     echo
1143
1144     if test -n "$ac_subst_files"; then
1145       cat <<\_ASBOX
1146 ## ------------- ##
1147 ## Output files. ##
1148 ## ------------- ##
1149 _ASBOX
1150       echo
1151       for ac_var in $ac_subst_files
1152       do
1153         eval ac_val=$`echo $ac_var`
1154         echo "$ac_var='"'"'$ac_val'"'"'"
1155       done | sort
1156       echo
1157     fi
1158
1159     if test -s confdefs.h; then
1160       cat <<\_ASBOX
1161 ## ----------- ##
1162 ## confdefs.h. ##
1163 ## ----------- ##
1164 _ASBOX
1165       echo
1166       sed "/^$/d" confdefs.h | sort
1167       echo
1168     fi
1169     test "$ac_signal" != 0 &&
1170       echo "$as_me: caught signal $ac_signal"
1171     echo "$as_me: exit $exit_status"
1172   } >&5
1173   rm -f core core.* *.core &&
1174   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175     exit $exit_status
1176      ' 0
1177 for ac_signal in 1 2 13 15; do
1178   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 done
1180 ac_signal=0
1181
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 echo >confdefs.h
1186
1187 # Predefined preprocessor variables.
1188
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 _ACEOF
1192
1193
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 _ACEOF
1197
1198
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 _ACEOF
1202
1203
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 _ACEOF
1207
1208
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 _ACEOF
1212
1213
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217   if test "x$prefix" != xNONE; then
1218     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219   else
1220     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221   fi
1222 fi
1223 for ac_site_file in $CONFIG_SITE; do
1224   if test -r "$ac_site_file"; then
1225     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227     sed 's/^/| /' "$ac_site_file" >&5
1228     . "$ac_site_file"
1229   fi
1230 done
1231
1232 if test -r "$cache_file"; then
1233   # Some versions of bash will fail to source /dev/null (special
1234   # files actually), so we avoid doing that.
1235   if test -f "$cache_file"; then
1236     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1238     case $cache_file in
1239       [\\/]* | ?:[\\/]* ) . $cache_file;;
1240       *)                      . ./$cache_file;;
1241     esac
1242   fi
1243 else
1244   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1246   >$cache_file
1247 fi
1248
1249 # Check that the precious variables saved in the cache have kept the same
1250 # value.
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255   eval ac_new_set=\$ac_env_${ac_var}_set
1256   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257   eval ac_new_val="\$ac_env_${ac_var}_value"
1258   case $ac_old_set,$ac_new_set in
1259     set,)
1260       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262       ac_cache_corrupted=: ;;
1263     ,set)
1264       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266       ac_cache_corrupted=: ;;
1267     ,);;
1268     *)
1269       if test "x$ac_old_val" != "x$ac_new_val"; then
1270         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1273 echo "$as_me:   former value:  $ac_old_val" >&2;}
1274         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1275 echo "$as_me:   current value: $ac_new_val" >&2;}
1276         ac_cache_corrupted=:
1277       fi;;
1278   esac
1279   # Pass precious variables to config.status.
1280   if test "$ac_new_set" = set; then
1281     case $ac_new_val in
1282     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284     *) ac_arg=$ac_var=$ac_new_val ;;
1285     esac
1286     case " $ac_configure_args " in
1287       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1288       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289     esac
1290   fi
1291 done
1292 if $ac_cache_corrupted; then
1293   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297    { (exit 1); exit 1; }; }
1298 fi
1299
1300 ac_ext=c
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333           ac_config_headers="$ac_config_headers config.h"
1334
1335
1336 # This works around the fact that libtool configuration may change LD
1337 # for this particular configuration, but some shells, instead of
1338 # keeping the changes in LD private, export them just because LD is
1339 # exported.  Only used at the end of this file.
1340 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1341
1342 # For libtool versioning info, format is CURRENT:REVISION:AGE
1343 libtool_VERSION=6:2:0
1344
1345
1346 # Find the rest of the source tree framework.
1347
1348   # Sets up multi_basedir, which is srcdir/.. plus the usual
1349   # "multi_source_toprel_bottom_adjust" lunacy as needed.
1350   # Default to --enable-multilib
1351 # Check whether --enable-multilib or --disable-multilib was given.
1352 if test "${enable_multilib+set}" = set; then
1353   enableval="$enable_multilib"
1354   case "$enableval" in
1355   yes) multilib=yes ;;
1356   no)  multilib=no ;;
1357   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1358 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1359    { (exit 1); exit 1; }; } ;;
1360  esac
1361 else
1362   multilib=yes
1363 fi;
1364
1365 # We may get other options which we leave undocumented:
1366 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1367 # See config-ml.in if you want the gory details.
1368
1369 if test "$srcdir" = "."; then
1370   if test "$with_target_subdir" != "."; then
1371     multi_basedir="$srcdir/$with_multisrctop../.."
1372   else
1373     multi_basedir="$srcdir/$with_multisrctop.."
1374   fi
1375 else
1376   multi_basedir="$srcdir/.."
1377 fi
1378
1379
1380           ac_config_commands="$ac_config_commands default-1"
1381
1382
1383   # The generated code is exactly the same, except that automake's looks in
1384   # ".. $srcdir/.." and autoconf's looks in multi_basedir.  Apparently other
1385   # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1386   # know what they are or what the other differences might be (and they keep
1387   # changing anyhow).
1388   #
1389   # Looking in multi_basedir seems smarter, so actually execute that branch.
1390   if false; then
1391     # this is for automake
1392     ac_aux_dir=
1393 for ac_dir in .. $srcdir/..; do
1394   if test -f $ac_dir/install-sh; then
1395     ac_aux_dir=$ac_dir
1396     ac_install_sh="$ac_aux_dir/install-sh -c"
1397     break
1398   elif test -f $ac_dir/install.sh; then
1399     ac_aux_dir=$ac_dir
1400     ac_install_sh="$ac_aux_dir/install.sh -c"
1401     break
1402   elif test -f $ac_dir/shtool; then
1403     ac_aux_dir=$ac_dir
1404     ac_install_sh="$ac_aux_dir/shtool install -c"
1405     break
1406   fi
1407 done
1408 if test -z "$ac_aux_dir"; then
1409   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1410 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1411    { (exit 1); exit 1; }; }
1412 fi
1413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1415 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416
1417   else
1418     # this is for autoconf
1419     ac_aux_dir=
1420 for ac_dir in ${multi_basedir}; do
1421   if test -f $ac_dir/install-sh; then
1422     ac_aux_dir=$ac_dir
1423     ac_install_sh="$ac_aux_dir/install-sh -c"
1424     break
1425   elif test -f $ac_dir/install.sh; then
1426     ac_aux_dir=$ac_dir
1427     ac_install_sh="$ac_aux_dir/install.sh -c"
1428     break
1429   elif test -f $ac_dir/shtool; then
1430     ac_aux_dir=$ac_dir
1431     ac_install_sh="$ac_aux_dir/shtool install -c"
1432     break
1433   fi
1434 done
1435 if test -z "$ac_aux_dir"; then
1436   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1437 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1438    { (exit 1); exit 1; }; }
1439 fi
1440 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1441 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1442 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1443
1444   fi
1445
1446
1447
1448 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1449 #
1450 # You will slowly go insane if you do not grok the following fact:  when
1451 # building v3 as part of the compiler, the top-level /target/ becomes the
1452 # library's /host/.  configure then causes --target to default to --host,
1453 # exactly like any other package using autoconf.  Therefore, 'target' and
1454 # 'host' will always be the same.  This makes sense both for native and
1455 # cross compilers, just think about it for a little while.  :-)
1456 #
1457 # Also, if v3 is being configured as part of a cross compiler, the top-level
1458 # configure script will pass the "real" host as $with_cross_host.
1459 #
1460 # Do not delete or change the following two lines.  For why, see
1461 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1462 # Make sure we can run config.sub.
1463 $ac_config_sub sun4 >/dev/null 2>&1 ||
1464   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1465 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1466    { (exit 1); exit 1; }; }
1467
1468 echo "$as_me:$LINENO: checking build system type" >&5
1469 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1470 if test "${ac_cv_build+set}" = set; then
1471   echo $ECHO_N "(cached) $ECHO_C" >&6
1472 else
1473   ac_cv_build_alias=$build_alias
1474 test -z "$ac_cv_build_alias" &&
1475   ac_cv_build_alias=`$ac_config_guess`
1476 test -z "$ac_cv_build_alias" &&
1477   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1478 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1479    { (exit 1); exit 1; }; }
1480 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1481   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1482 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1483    { (exit 1); exit 1; }; }
1484
1485 fi
1486 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1487 echo "${ECHO_T}$ac_cv_build" >&6
1488 build=$ac_cv_build
1489 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1490 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1491 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1492
1493
1494 echo "$as_me:$LINENO: checking host system type" >&5
1495 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1496 if test "${ac_cv_host+set}" = set; then
1497   echo $ECHO_N "(cached) $ECHO_C" >&6
1498 else
1499   ac_cv_host_alias=$host_alias
1500 test -z "$ac_cv_host_alias" &&
1501   ac_cv_host_alias=$ac_cv_build_alias
1502 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1503   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1504 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1505    { (exit 1); exit 1; }; }
1506
1507 fi
1508 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1509 echo "${ECHO_T}$ac_cv_host" >&6
1510 host=$ac_cv_host
1511 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1512 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1513 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1514
1515
1516 echo "$as_me:$LINENO: checking target system type" >&5
1517 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1518 if test "${ac_cv_target+set}" = set; then
1519   echo $ECHO_N "(cached) $ECHO_C" >&6
1520 else
1521   ac_cv_target_alias=$target_alias
1522 test "x$ac_cv_target_alias" = "x" &&
1523   ac_cv_target_alias=$ac_cv_host_alias
1524 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1525   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1526 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1527    { (exit 1); exit 1; }; }
1528
1529 fi
1530 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1531 echo "${ECHO_T}$ac_cv_target" >&6
1532 target=$ac_cv_target
1533 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1534 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1535 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1536
1537
1538 # The aliases save the names the user supplied, while $host etc.
1539 # will get canonicalized.
1540 test -n "$target_alias" &&
1541   test "$program_prefix$program_suffix$program_transform_name" = \
1542     NONENONEs,x,x, &&
1543   program_prefix=${target_alias}-
1544 target_alias=${target_alias-$host_alias}
1545
1546 # Handy for debugging:
1547 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1548
1549 if test "$build" != "$host"; then
1550   # We are being configured with some form of cross compiler.
1551   GLIBCXX_IS_NATIVE=false
1552
1553 else
1554   GLIBCXX_IS_NATIVE=true
1555 fi
1556
1557 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1558 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1559 #  1.x:  minimum required version
1560 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1561 #              of other PACKAGE_* variables will, however, and there's nothing
1562 #              we can do about that; they come from AC_INIT).
1563 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1564 #            file in the top srcdir, etc, etc), so stop complaining.
1565 #  no-dependencies:  turns off auto dependency generation (just for now)
1566 #  -Wall:  turns on all automake warnings...
1567 #  -Wno-portability:  ...except this one, since GNU make is now required.
1568 am__api_version="1.7"
1569 # Find a good install program.  We prefer a C program (faster),
1570 # so one script is as good as another.  But avoid the broken or
1571 # incompatible versions:
1572 # SysV /etc/install, /usr/sbin/install
1573 # SunOS /usr/etc/install
1574 # IRIX /sbin/install
1575 # AIX /bin/install
1576 # AmigaOS /C/install, which installs bootblocks on floppy discs
1577 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1578 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1579 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1580 # ./install, which can be erroneously created by make from ./install.sh.
1581 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1582 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1583 if test -z "$INSTALL"; then
1584 if test "${ac_cv_path_install+set}" = set; then
1585   echo $ECHO_N "(cached) $ECHO_C" >&6
1586 else
1587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1589 do
1590   IFS=$as_save_IFS
1591   test -z "$as_dir" && as_dir=.
1592   # Account for people who put trailing slashes in PATH elements.
1593 case $as_dir/ in
1594   ./ | .// | /cC/* | \
1595   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1596   /usr/ucb/* ) ;;
1597   *)
1598     # OSF1 and SCO ODT 3.0 have their own names for install.
1599     # Don't use installbsd from OSF since it installs stuff as root
1600     # by default.
1601     for ac_prog in ginstall scoinst install; do
1602       for ac_exec_ext in '' $ac_executable_extensions; do
1603         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1604           if test $ac_prog = install &&
1605             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1606             # AIX install.  It has an incompatible calling convention.
1607             :
1608           elif test $ac_prog = install &&
1609             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1610             # program-specific install script used by HP pwplus--don't use.
1611             :
1612           else
1613             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1614             break 3
1615           fi
1616         fi
1617       done
1618     done
1619     ;;
1620 esac
1621 done
1622
1623
1624 fi
1625   if test "${ac_cv_path_install+set}" = set; then
1626     INSTALL=$ac_cv_path_install
1627   else
1628     # As a last resort, use the slow shell script.  We don't cache a
1629     # path for INSTALL within a source directory, because that will
1630     # break other packages using the cache if that directory is
1631     # removed, or if the path is relative.
1632     INSTALL=$ac_install_sh
1633   fi
1634 fi
1635 echo "$as_me:$LINENO: result: $INSTALL" >&5
1636 echo "${ECHO_T}$INSTALL" >&6
1637
1638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1639 # It thinks the first close brace ends the variable substitution.
1640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1641
1642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1643
1644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1645
1646 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1647 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1648 # Just in case
1649 sleep 1
1650 echo timestamp > conftest.file
1651 # Do `set' in a subshell so we don't clobber the current shell's
1652 # arguments.  Must try -L first in case configure is actually a
1653 # symlink; some systems play weird games with the mod time of symlinks
1654 # (eg FreeBSD returns the mod time of the symlink's containing
1655 # directory).
1656 if (
1657    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1658    if test "$*" = "X"; then
1659       # -L didn't work.
1660       set X `ls -t $srcdir/configure conftest.file`
1661    fi
1662    rm -f conftest.file
1663    if test "$*" != "X $srcdir/configure conftest.file" \
1664       && test "$*" != "X conftest.file $srcdir/configure"; then
1665
1666       # If neither matched, then we have a broken ls.  This can happen
1667       # if, for instance, CONFIG_SHELL is bash and it inherits a
1668       # broken ls alias from the environment.  This has actually
1669       # happened.  Such a system could not be considered "sane".
1670       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1671 alias in your environment" >&5
1672 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1673 alias in your environment" >&2;}
1674    { (exit 1); exit 1; }; }
1675    fi
1676
1677    test "$2" = conftest.file
1678    )
1679 then
1680    # Ok.
1681    :
1682 else
1683    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1684 Check your system clock" >&5
1685 echo "$as_me: error: newly created file is older than distributed files!
1686 Check your system clock" >&2;}
1687    { (exit 1); exit 1; }; }
1688 fi
1689 echo "$as_me:$LINENO: result: yes" >&5
1690 echo "${ECHO_T}yes" >&6
1691 test "$program_prefix" != NONE &&
1692   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1693 # Use a double $ so make ignores it.
1694 test "$program_suffix" != NONE &&
1695   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1696 # Double any \ or $.  echo might interpret backslashes.
1697 # By default was `s,x,x', remove it if useless.
1698 cat <<\_ACEOF >conftest.sed
1699 s/[\\$]/&&/g;s/;s,x,x,$//
1700 _ACEOF
1701 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1702 rm conftest.sed
1703
1704
1705 # expand $ac_aux_dir to an absolute path
1706 am_aux_dir=`cd $ac_aux_dir && pwd`
1707
1708 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1709 # Use eval to expand $SHELL
1710 if eval "$MISSING --run true"; then
1711   am_missing_run="$MISSING --run "
1712 else
1713   am_missing_run=
1714   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1715 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1716 fi
1717
1718 for ac_prog in gawk mawk nawk awk
1719 do
1720   # Extract the first word of "$ac_prog", so it can be a program name with args.
1721 set dummy $ac_prog; ac_word=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_AWK+set}" = set; then
1725   echo $ECHO_N "(cached) $ECHO_C" >&6
1726 else
1727   if test -n "$AWK"; then
1728   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1729 else
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 for as_dir in $PATH
1732 do
1733   IFS=$as_save_IFS
1734   test -z "$as_dir" && as_dir=.
1735   for ac_exec_ext in '' $ac_executable_extensions; do
1736   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737     ac_cv_prog_AWK="$ac_prog"
1738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739     break 2
1740   fi
1741 done
1742 done
1743
1744 fi
1745 fi
1746 AWK=$ac_cv_prog_AWK
1747 if test -n "$AWK"; then
1748   echo "$as_me:$LINENO: result: $AWK" >&5
1749 echo "${ECHO_T}$AWK" >&6
1750 else
1751   echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
1753 fi
1754
1755   test -n "$AWK" && break
1756 done
1757
1758 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1759 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1760 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1761 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1762   echo $ECHO_N "(cached) $ECHO_C" >&6
1763 else
1764   cat >conftest.make <<\_ACEOF
1765 all:
1766         @echo 'ac_maketemp="$(MAKE)"'
1767 _ACEOF
1768 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1769 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1770 if test -n "$ac_maketemp"; then
1771   eval ac_cv_prog_make_${ac_make}_set=yes
1772 else
1773   eval ac_cv_prog_make_${ac_make}_set=no
1774 fi
1775 rm -f conftest.make
1776 fi
1777 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1778   echo "$as_me:$LINENO: result: yes" >&5
1779 echo "${ECHO_T}yes" >&6
1780   SET_MAKE=
1781 else
1782   echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1784   SET_MAKE="MAKE=${MAKE-make}"
1785 fi
1786
1787 rm -rf .tst 2>/dev/null
1788 mkdir .tst 2>/dev/null
1789 if test -d .tst; then
1790   am__leading_dot=.
1791 else
1792   am__leading_dot=_
1793 fi
1794 rmdir .tst 2>/dev/null
1795
1796  # test to see if srcdir already configured
1797 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1798    test -f $srcdir/config.status; then
1799   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1800 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1801    { (exit 1); exit 1; }; }
1802 fi
1803
1804 # test whether we have cygpath
1805 if test -z "$CYGPATH_W"; then
1806   if (cygpath --version) >/dev/null 2>/dev/null; then
1807     CYGPATH_W='cygpath -w'
1808   else
1809     CYGPATH_W=echo
1810   fi
1811 fi
1812
1813
1814 # Define the identity of the package.
1815  PACKAGE='libstdc++'
1816  VERSION='version-unused'
1817
1818
1819 # Some tools Automake needs.
1820
1821 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1822
1823
1824 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1825
1826
1827 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1828
1829
1830 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1831
1832
1833 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1834
1835
1836 AMTAR=${AMTAR-"${am_missing_run}tar"}
1837
1838 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839
1840 # Installed binaries are usually stripped using `strip' when the user
1841 # run `make install-strip'.  However `strip' might not be the right
1842 # tool to use in cross-compilation environments, therefore Automake
1843 # will honor the `STRIP' environment variable to overrule this program.
1844 if test "$cross_compiling" != no; then
1845   if test -n "$ac_tool_prefix"; then
1846   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1847 set dummy ${ac_tool_prefix}strip; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_STRIP+set}" = set; then
1851   echo $ECHO_N "(cached) $ECHO_C" >&6
1852 else
1853   if test -n "$STRIP"; then
1854   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855 else
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 for as_dir in $PATH
1858 do
1859   IFS=$as_save_IFS
1860   test -z "$as_dir" && as_dir=.
1861   for ac_exec_ext in '' $ac_executable_extensions; do
1862   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1864     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865     break 2
1866   fi
1867 done
1868 done
1869
1870 fi
1871 fi
1872 STRIP=$ac_cv_prog_STRIP
1873 if test -n "$STRIP"; then
1874   echo "$as_me:$LINENO: result: $STRIP" >&5
1875 echo "${ECHO_T}$STRIP" >&6
1876 else
1877   echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1879 fi
1880
1881 fi
1882 if test -z "$ac_cv_prog_STRIP"; then
1883   ac_ct_STRIP=$STRIP
1884   # Extract the first word of "strip", so it can be a program name with args.
1885 set dummy 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_ac_ct_STRIP+set}" = set; then
1889   echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891   if test -n "$ac_ct_STRIP"; then
1892   ac_cv_prog_ac_ct_STRIP="$ac_ct_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_ac_ct_STRIP="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   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1909 fi
1910 fi
1911 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1912 if test -n "$ac_ct_STRIP"; then
1913   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1914 echo "${ECHO_T}$ac_ct_STRIP" >&6
1915 else
1916   echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1918 fi
1919
1920   STRIP=$ac_ct_STRIP
1921 else
1922   STRIP="$ac_cv_prog_STRIP"
1923 fi
1924
1925 fi
1926 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927
1928 # We need awk for the "check" target.  The system "awk" is bad on
1929 # some platforms.
1930
1931
1932
1933
1934 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1935 # up critical shell variables.
1936
1937   # Keep these sync'd with the list in Makefile.am.  The first provides an
1938   # expandable list at autoconf time; the second provides an expandable list
1939   # (i.e., shell variable) at configure time.
1940
1941   SUBDIRS='include libmath libsupc++ src po testsuite'
1942
1943   # These need to be absolute paths, yet at the same time need to
1944   # canonicalize only relative paths, because then amd will not unmount
1945   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1946   glibcxx_builddir=`${PWDCMD-pwd}`
1947   case $srcdir in
1948     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1949     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1950   esac
1951   toplevel_srcdir=${glibcxx_srcdir}/..
1952
1953
1954
1955
1956   # We use these options to decide which functions to include.  They are
1957   # set from the top level.
1958
1959 # Check whether --with-target-subdir or --without-target-subdir was given.
1960 if test "${with_target_subdir+set}" = set; then
1961   withval="$with_target_subdir"
1962
1963 fi;
1964
1965
1966 # Check whether --with-cross-host or --without-cross-host was given.
1967 if test "${with_cross_host+set}" = set; then
1968   withval="$with_cross_host"
1969
1970 fi;
1971
1972
1973 # Check whether --with-newlib or --without-newlib was given.
1974 if test "${with_newlib+set}" = set; then
1975   withval="$with_newlib"
1976
1977 fi;
1978
1979   # We're almost certainly being configured before anything else which uses
1980   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1981   # we not cache the value of CXX that we "discover" here, because it's set
1982   # to something unique for us and libjava.  Other target libraries need to
1983   # find CXX for themselves.  We yank the rug out from under the normal AC_*
1984   # process by sneakily renaming the cache variable.  This also lets us debug
1985   # the value of "our" CXX in postmortems.
1986   #
1987   # We must also force CXX to /not/ be a precious variable, otherwise the
1988   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
1989   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
1990   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1991   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1992   #
1993   # -fno-builtin must be present here so that a non-conflicting form of
1994   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1995
1996
1997
1998
1999   save_CXXFLAGS="$CXXFLAGS"
2000   CXXFLAGS="$CXXFLAGS -fno-builtin"
2001   ac_ext=c
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 if test -n "$ac_tool_prefix"; then
2007   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2008 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_CC+set}" = set; then
2012   echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014   if test -n "$CC"; then
2015   ac_cv_prog_CC="$CC" # Let the user override the test.
2016 else
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 for as_dir in $PATH
2019 do
2020   IFS=$as_save_IFS
2021   test -z "$as_dir" && as_dir=.
2022   for ac_exec_ext in '' $ac_executable_extensions; do
2023   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026     break 2
2027   fi
2028 done
2029 done
2030
2031 fi
2032 fi
2033 CC=$ac_cv_prog_CC
2034 if test -n "$CC"; then
2035   echo "$as_me:$LINENO: result: $CC" >&5
2036 echo "${ECHO_T}$CC" >&6
2037 else
2038   echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2040 fi
2041
2042 fi
2043 if test -z "$ac_cv_prog_CC"; then
2044   ac_ct_CC=$CC
2045   # Extract the first word of "gcc", so it can be a program name with args.
2046 set dummy 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_ac_ct_CC+set}" = set; then
2050   echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052   if test -n "$ac_ct_CC"; then
2053   ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2072 if test -n "$ac_ct_CC"; then
2073   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2074 echo "${ECHO_T}$ac_ct_CC" >&6
2075 else
2076   echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6
2078 fi
2079
2080   CC=$ac_ct_CC
2081 else
2082   CC="$ac_cv_prog_CC"
2083 fi
2084
2085 if test -z "$CC"; then
2086   if test -n "$ac_tool_prefix"; then
2087   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2088 set dummy ${ac_tool_prefix}cc; ac_word=$2
2089 echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2091 if test "${ac_cv_prog_CC+set}" = set; then
2092   echo $ECHO_N "(cached) $ECHO_C" >&6
2093 else
2094   if test -n "$CC"; then
2095   ac_cv_prog_CC="$CC" # Let the user override the test.
2096 else
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2099 do
2100   IFS=$as_save_IFS
2101   test -z "$as_dir" && as_dir=.
2102   for ac_exec_ext in '' $ac_executable_extensions; do
2103   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2104     ac_cv_prog_CC="${ac_tool_prefix}cc"
2105     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106     break 2
2107   fi
2108 done
2109 done
2110
2111 fi
2112 fi
2113 CC=$ac_cv_prog_CC
2114 if test -n "$CC"; then
2115   echo "$as_me:$LINENO: result: $CC" >&5
2116 echo "${ECHO_T}$CC" >&6
2117 else
2118   echo "$as_me:$LINENO: result: no" >&5
2119 echo "${ECHO_T}no" >&6
2120 fi
2121
2122 fi
2123 if test -z "$ac_cv_prog_CC"; then
2124   ac_ct_CC=$CC
2125   # Extract the first word of "cc", so it can be a program name with args.
2126 set dummy 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_ac_ct_CC+set}" = set; then
2130   echo $ECHO_N "(cached) $ECHO_C" >&6
2131 else
2132   if test -n "$ac_ct_CC"; then
2133   ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2152 if test -n "$ac_ct_CC"; then
2153   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2154 echo "${ECHO_T}$ac_ct_CC" >&6
2155 else
2156   echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2158 fi
2159
2160   CC=$ac_ct_CC
2161 else
2162   CC="$ac_cv_prog_CC"
2163 fi
2164
2165 fi
2166 if test -z "$CC"; then
2167   # Extract the first word of "cc", so it can be a program name with args.
2168 set dummy cc; ac_word=$2
2169 echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2171 if test "${ac_cv_prog_CC+set}" = set; then
2172   echo $ECHO_N "(cached) $ECHO_C" >&6
2173 else
2174   if test -n "$CC"; then
2175   ac_cv_prog_CC="$CC" # Let the user override the test.
2176 else
2177   ac_prog_rejected=no
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2180 do
2181   IFS=$as_save_IFS
2182   test -z "$as_dir" && as_dir=.
2183   for ac_exec_ext in '' $ac_executable_extensions; do
2184   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2185     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2186        ac_prog_rejected=yes
2187        continue
2188      fi
2189     ac_cv_prog_CC="cc"
2190     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191     break 2
2192   fi
2193 done
2194 done
2195
2196 if test $ac_prog_rejected = yes; then
2197   # We found a bogon in the path, so make sure we never use it.
2198   set dummy $ac_cv_prog_CC
2199   shift
2200   if test $# != 0; then
2201     # We chose a different compiler from the bogus one.
2202     # However, it has the same basename, so the bogon will be chosen
2203     # first if we set CC to just the basename; use the full file name.
2204     shift
2205     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2206   fi
2207 fi
2208 fi
2209 fi
2210 CC=$ac_cv_prog_CC
2211 if test -n "$CC"; then
2212   echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6
2214 else
2215   echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2217 fi
2218
2219 fi
2220 if test -z "$CC"; then
2221   if test -n "$ac_tool_prefix"; then
2222   for ac_prog in cl
2223   do
2224     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2225 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229   echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231   if test -n "$CC"; then
2232   ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2236 do
2237   IFS=$as_save_IFS
2238   test -z "$as_dir" && as_dir=.
2239   for ac_exec_ext in '' $ac_executable_extensions; do
2240   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243     break 2
2244   fi
2245 done
2246 done
2247
2248 fi
2249 fi
2250 CC=$ac_cv_prog_CC
2251 if test -n "$CC"; then
2252   echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6
2254 else
2255   echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6
2257 fi
2258
2259     test -n "$CC" && break
2260   done
2261 fi
2262 if test -z "$CC"; then
2263   ac_ct_CC=$CC
2264   for ac_prog in cl
2265 do
2266   # Extract the first word of "$ac_prog", so it can be a program name with args.
2267 set dummy $ac_prog; ac_word=$2
2268 echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2271   echo $ECHO_N "(cached) $ECHO_C" >&6
2272 else
2273   if test -n "$ac_ct_CC"; then
2274   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 else
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 for as_dir in $PATH
2278 do
2279   IFS=$as_save_IFS
2280   test -z "$as_dir" && as_dir=.
2281   for ac_exec_ext in '' $ac_executable_extensions; do
2282   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2283     ac_cv_prog_ac_ct_CC="$ac_prog"
2284     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285     break 2
2286   fi
2287 done
2288 done
2289
2290 fi
2291 fi
2292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2295 echo "${ECHO_T}$ac_ct_CC" >&6
2296 else
2297   echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6
2299 fi
2300
2301   test -n "$ac_ct_CC" && break
2302 done
2303
2304   CC=$ac_ct_CC
2305 fi
2306
2307 fi
2308
2309
2310 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2311 See \`config.log' for more details." >&5
2312 echo "$as_me: error: no acceptable C compiler found in \$PATH
2313 See \`config.log' for more details." >&2;}
2314    { (exit 1); exit 1; }; }
2315
2316 # Provide some information about the compiler.
2317 echo "$as_me:$LINENO:" \
2318      "checking for C compiler version" >&5
2319 ac_compiler=`set X $ac_compile; echo $2`
2320 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2321   (eval $ac_compiler --version </dev/null >&5) 2>&5
2322   ac_status=$?
2323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324   (exit $ac_status); }
2325 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2326   (eval $ac_compiler -v </dev/null >&5) 2>&5
2327   ac_status=$?
2328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329   (exit $ac_status); }
2330 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2331   (eval $ac_compiler -V </dev/null >&5) 2>&5
2332   ac_status=$?
2333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334   (exit $ac_status); }
2335
2336 cat >conftest.$ac_ext <<_ACEOF
2337 #line $LINENO "configure"
2338 /* confdefs.h.  */
2339 _ACEOF
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h.  */
2343
2344 int
2345 main ()
2346 {
2347
2348   ;
2349   return 0;
2350 }
2351 _ACEOF
2352 # FIXME: Cleanup?
2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354   (eval $ac_link) 2>&5
2355   ac_status=$?
2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357   (exit $ac_status); }; then
2358   gcc_no_link=no
2359 else
2360   gcc_no_link=yes
2361 fi
2362
2363 if test x$gcc_no_link = xyes; then
2364   # Setting cross_compile will disable run tests; it will
2365   # also disable AC_CHECK_FILE but that's generally
2366   # correct if we can't link.
2367   cross_compiling=yes
2368   EXEEXT=
2369 else
2370   cat >conftest.$ac_ext <<_ACEOF
2371 #line $LINENO "configure"
2372 /* confdefs.h.  */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h.  */
2377
2378 int
2379 main ()
2380 {
2381
2382   ;
2383   return 0;
2384 }
2385 _ACEOF
2386 ac_clean_files_save=$ac_clean_files
2387 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2388 # Try to create an executable without -o first, disregard a.out.
2389 # It will help us diagnose broken compilers, and finding out an intuition
2390 # of exeext.
2391 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2392 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2393 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2395   (eval $ac_link_default) 2>&5
2396   ac_status=$?
2397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398   (exit $ac_status); }; then
2399   # Find the output, starting from the most likely.  This scheme is
2400 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2401 # resort.
2402
2403 # Be careful to initialize this variable, since it used to be cached.
2404 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2405 ac_cv_exeext=
2406 # b.out is created by i960 compilers.
2407 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2408 do
2409   test -f "$ac_file" || continue
2410   case $ac_file in
2411     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2412         ;;
2413     conftest.$ac_ext )
2414         # This is the source file.
2415         ;;
2416     [ab].out )
2417         # We found the default executable, but exeext='' is most
2418         # certainly right.
2419         break;;
2420     *.* )
2421         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422         # FIXME: I believe we export ac_cv_exeext for Libtool,
2423         # but it would be cool to find out if it's true.  Does anybody
2424         # maintain Libtool? --akim.
2425         export ac_cv_exeext
2426         break;;
2427     * )
2428         break;;
2429   esac
2430 done
2431 else
2432   echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2434
2435 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2436 See \`config.log' for more details." >&5
2437 echo "$as_me: error: C compiler cannot create executables
2438 See \`config.log' for more details." >&2;}
2439    { (exit 77); exit 77; }; }
2440 fi
2441
2442 ac_exeext=$ac_cv_exeext
2443 echo "$as_me:$LINENO: result: $ac_file" >&5
2444 echo "${ECHO_T}$ac_file" >&6
2445
2446 # Check the compiler produces executables we can run.  If not, either
2447 # the compiler is broken, or we cross compile.
2448 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2449 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2450 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2451 # If not cross compiling, check that we can run a simple program.
2452 if test "$cross_compiling" != yes; then
2453   if { ac_try='./$ac_file'
2454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455   (eval $ac_try) 2>&5
2456   ac_status=$?
2457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458   (exit $ac_status); }; }; then
2459     cross_compiling=no
2460   else
2461     if test "$cross_compiling" = maybe; then
2462         cross_compiling=yes
2463     else
2464         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: cannot run C compiled programs.
2468 If you meant to cross compile, use \`--host'.
2469 See \`config.log' for more details." >&2;}
2470    { (exit 1); exit 1; }; }
2471     fi
2472   fi
2473 fi
2474 echo "$as_me:$LINENO: result: yes" >&5
2475 echo "${ECHO_T}yes" >&6
2476
2477 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2478 ac_clean_files=$ac_clean_files_save
2479 # Check the compiler produces executables we can run.  If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2482 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2483 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2484 echo "${ECHO_T}$cross_compiling" >&6
2485
2486 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2487 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2489   (eval $ac_link) 2>&5
2490   ac_status=$?
2491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492   (exit $ac_status); }; then
2493   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2494 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2495 # work properly (i.e., refer to `conftest.exe'), while it won't with
2496 # `rm'.
2497 for ac_file in conftest.exe conftest conftest.*; do
2498   test -f "$ac_file" || continue
2499   case $ac_file in
2500     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2501     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2502           export ac_cv_exeext
2503           break;;
2504     * ) break;;
2505   esac
2506 done
2507 else
2508   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&5
2510 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2511 See \`config.log' for more details." >&2;}
2512    { (exit 1); exit 1; }; }
2513 fi
2514
2515 rm -f conftest$ac_cv_exeext
2516 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2517 echo "${ECHO_T}$ac_cv_exeext" >&6
2518
2519 rm -f conftest.$ac_ext
2520 EXEEXT=$ac_cv_exeext
2521 ac_exeext=$EXEEXT
2522 fi
2523 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2524 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2525 if test "${ac_cv_objext+set}" = set; then
2526   echo $ECHO_N "(cached) $ECHO_C" >&6
2527 else
2528   cat >conftest.$ac_ext <<_ACEOF
2529 #line $LINENO "configure"
2530 /* confdefs.h.  */
2531 _ACEOF
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h.  */
2535
2536 int
2537 main ()
2538 {
2539
2540   ;
2541   return 0;
2542 }
2543 _ACEOF
2544 rm -f conftest.o conftest.obj
2545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546   (eval $ac_compile) 2>&5
2547   ac_status=$?
2548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549   (exit $ac_status); }; then
2550   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2551   case $ac_file in
2552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2553     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2554        break;;
2555   esac
2556 done
2557 else
2558   echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2560
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2564 See \`config.log' for more details." >&2;}
2565    { (exit 1); exit 1; }; }
2566 fi
2567
2568 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2569 fi
2570 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2571 echo "${ECHO_T}$ac_cv_objext" >&6
2572 OBJEXT=$ac_cv_objext
2573 ac_objext=$OBJEXT
2574 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2575 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2576 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2577   echo $ECHO_N "(cached) $ECHO_C" >&6
2578 else
2579   cat >conftest.$ac_ext <<_ACEOF
2580 #line $LINENO "configure"
2581 /* confdefs.h.  */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h.  */
2586
2587 int
2588 main ()
2589 {
2590 #ifndef __GNUC__
2591        choke me
2592 #endif
2593
2594   ;
2595   return 0;
2596 }
2597 _ACEOF
2598 rm -f conftest.$ac_objext
2599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2600   (eval $ac_compile) 2>&5
2601   ac_status=$?
2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603   (exit $ac_status); } &&
2604          { ac_try='test -s conftest.$ac_objext'
2605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606   (eval $ac_try) 2>&5
2607   ac_status=$?
2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609   (exit $ac_status); }; }; then
2610   ac_compiler_gnu=yes
2611 else
2612   echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2614
2615 ac_compiler_gnu=no
2616 fi
2617 rm -f conftest.$ac_objext conftest.$ac_ext
2618 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2619
2620 fi
2621 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2622 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2623 GCC=`test $ac_compiler_gnu = yes && echo yes`
2624 ac_test_CFLAGS=${CFLAGS+set}
2625 ac_save_CFLAGS=$CFLAGS
2626 CFLAGS="-g"
2627 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2628 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2629 if test "${ac_cv_prog_cc_g+set}" = set; then
2630   echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632   cat >conftest.$ac_ext <<_ACEOF
2633 #line $LINENO "configure"
2634 /* confdefs.h.  */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h.  */
2639
2640 int
2641 main ()
2642 {
2643
2644   ;
2645   return 0;
2646 }
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650   (eval $ac_compile) 2>&5
2651   ac_status=$?
2652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653   (exit $ac_status); } &&
2654          { ac_try='test -s conftest.$ac_objext'
2655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656   (eval $ac_try) 2>&5
2657   ac_status=$?
2658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659   (exit $ac_status); }; }; then
2660   ac_cv_prog_cc_g=yes
2661 else
2662   echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2664
2665 ac_cv_prog_cc_g=no
2666 fi
2667 rm -f conftest.$ac_objext conftest.$ac_ext
2668 fi
2669 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2670 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2671 if test "$ac_test_CFLAGS" = set; then
2672   CFLAGS=$ac_save_CFLAGS
2673 elif test $ac_cv_prog_cc_g = yes; then
2674   if test "$GCC" = yes; then
2675     CFLAGS="-g -O2"
2676   else
2677     CFLAGS="-g"
2678   fi
2679 else
2680   if test "$GCC" = yes; then
2681     CFLAGS="-O2"
2682   else
2683     CFLAGS=
2684   fi
2685 fi
2686 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2687 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2688 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2689   echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691   ac_cv_prog_cc_stdc=no
2692 ac_save_CC=$CC
2693 cat >conftest.$ac_ext <<_ACEOF
2694 #line $LINENO "configure"
2695 /* confdefs.h.  */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h.  */
2700 #include <stdarg.h>
2701 #include <stdio.h>
2702 #include <sys/types.h>
2703 #include <sys/stat.h>
2704 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2705 struct buf { int x; };
2706 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2707 static char *e (p, i)
2708      char **p;
2709      int i;
2710 {
2711   return p[i];
2712 }
2713 static char *f (char * (*g) (char **, int), char **p, ...)
2714 {
2715   char *s;
2716   va_list v;
2717   va_start (v,p);
2718   s = g (p, va_arg (v,int));
2719   va_end (v);
2720   return s;
2721 }
2722 int test (int i, double x);
2723 struct s1 {int (*f) (int a);};
2724 struct s2 {int (*f) (double a);};
2725 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2726 int argc;
2727 char **argv;
2728 int
2729 main ()
2730 {
2731 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2732   ;
2733   return 0;
2734 }
2735 _ACEOF
2736 # Don't try gcc -ansi; that turns off useful extensions and
2737 # breaks some systems' header files.
2738 # AIX                   -qlanglvl=ansi
2739 # Ultrix and OSF/1      -std1
2740 # HP-UX 10.20 and later -Ae
2741 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2742 # SVR4                  -Xc -D__EXTENSIONS__
2743 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2744 do
2745   CC="$ac_save_CC $ac_arg"
2746   rm -f conftest.$ac_objext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2748   (eval $ac_compile) 2>&5
2749   ac_status=$?
2750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751   (exit $ac_status); } &&
2752          { ac_try='test -s conftest.$ac_objext'
2753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754   (eval $ac_try) 2>&5
2755   ac_status=$?
2756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757   (exit $ac_status); }; }; then
2758   ac_cv_prog_cc_stdc=$ac_arg
2759 break
2760 else
2761   echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2763
2764 fi
2765 rm -f conftest.$ac_objext
2766 done
2767 rm -f conftest.$ac_ext conftest.$ac_objext
2768 CC=$ac_save_CC
2769
2770 fi
2771
2772 case "x$ac_cv_prog_cc_stdc" in
2773   x|xno)
2774     echo "$as_me:$LINENO: result: none needed" >&5
2775 echo "${ECHO_T}none needed" >&6 ;;
2776   *)
2777     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2778 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2779     CC="$CC $ac_cv_prog_cc_stdc" ;;
2780 esac
2781
2782 # Some people use a C++ compiler to compile C.  Since we use `exit',
2783 # in C++ we need to declare it.  In case someone uses the same compiler
2784 # for both compiling C and C++ we need to have the C++ compiler decide
2785 # the declaration of exit, since it's the most demanding environment.
2786 cat >conftest.$ac_ext <<_ACEOF
2787 #ifndef __cplusplus
2788   choke me
2789 #endif
2790 _ACEOF
2791 rm -f conftest.$ac_objext
2792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2793   (eval $ac_compile) 2>&5
2794   ac_status=$?
2795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796   (exit $ac_status); } &&
2797          { ac_try='test -s conftest.$ac_objext'
2798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2799   (eval $ac_try) 2>&5
2800   ac_status=$?
2801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802   (exit $ac_status); }; }; then
2803   for ac_declaration in \
2804    ''\
2805    '#include <stdlib.h>' \
2806    'extern "C" void std::exit (int) throw (); using std::exit;' \
2807    'extern "C" void std::exit (int); using std::exit;' \
2808    'extern "C" void exit (int) throw ();' \
2809    'extern "C" void exit (int);' \
2810    'void exit (int);'
2811 do
2812   cat >conftest.$ac_ext <<_ACEOF
2813 #line $LINENO "configure"
2814 /* confdefs.h.  */
2815 _ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h.  */
2819 #include <stdlib.h>
2820 $ac_declaration
2821 int
2822 main ()
2823 {
2824 exit (42);
2825   ;
2826   return 0;
2827 }
2828 _ACEOF
2829 rm -f conftest.$ac_objext
2830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2831   (eval $ac_compile) 2>&5
2832   ac_status=$?
2833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834   (exit $ac_status); } &&
2835          { ac_try='test -s conftest.$ac_objext'
2836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837   (eval $ac_try) 2>&5
2838   ac_status=$?
2839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840   (exit $ac_status); }; }; then
2841   :
2842 else
2843   echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2845
2846 continue
2847 fi
2848 rm -f conftest.$ac_objext conftest.$ac_ext
2849   cat >conftest.$ac_ext <<_ACEOF
2850 #line $LINENO "configure"
2851 /* confdefs.h.  */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h.  */
2856 $ac_declaration
2857 int
2858 main ()
2859 {
2860 exit (42);
2861   ;
2862   return 0;
2863 }
2864 _ACEOF
2865 rm -f conftest.$ac_objext
2866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2867   (eval $ac_compile) 2>&5
2868   ac_status=$?
2869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870   (exit $ac_status); } &&
2871          { ac_try='test -s conftest.$ac_objext'
2872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873   (eval $ac_try) 2>&5
2874   ac_status=$?
2875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876   (exit $ac_status); }; }; then
2877   break
2878 else
2879   echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2881
2882 fi
2883 rm -f conftest.$ac_objext conftest.$ac_ext
2884 done
2885 rm -f conftest*
2886 if test -n "$ac_declaration"; then
2887   echo '#ifdef __cplusplus' >>confdefs.h
2888   echo $ac_declaration      >>confdefs.h
2889   echo '#endif'             >>confdefs.h
2890 fi
2891
2892 else
2893   echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2895
2896 fi
2897 rm -f conftest.$ac_objext conftest.$ac_ext
2898 ac_ext=c
2899 ac_cpp='$CPP $CPPFLAGS'
2900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2903
2904   ac_ext=cc
2905 ac_cpp='$CXXCPP $CPPFLAGS'
2906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2909 if test -n "$ac_tool_prefix"; then
2910   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2911   do
2912     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2913 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2914 echo "$as_me:$LINENO: checking for $ac_word" >&5
2915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2916 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2917   echo $ECHO_N "(cached) $ECHO_C" >&6
2918 else
2919   if test -n "$CXX"; then
2920   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2921 else
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in $PATH
2924 do
2925   IFS=$as_save_IFS
2926   test -z "$as_dir" && as_dir=.
2927   for ac_exec_ext in '' $ac_executable_extensions; do
2928   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2929     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2930     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931     break 2
2932   fi
2933 done
2934 done
2935
2936 fi
2937 fi
2938 CXX=$glibcxx_cv_prog_CXX
2939 if test -n "$CXX"; then
2940   echo "$as_me:$LINENO: result: $CXX" >&5
2941 echo "${ECHO_T}$CXX" >&6
2942 else
2943   echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2945 fi
2946
2947     test -n "$CXX" && break
2948   done
2949 fi
2950 if test -z "$CXX"; then
2951   ac_ct_CXX=$CXX
2952   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2953 do
2954   # Extract the first word of "$ac_prog", so it can be a program name with args.
2955 set dummy $ac_prog; ac_word=$2
2956 echo "$as_me:$LINENO: checking for $ac_word" >&5
2957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2958 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2959   echo $ECHO_N "(cached) $ECHO_C" >&6
2960 else
2961   if test -n "$ac_ct_CXX"; then
2962   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2966 do
2967   IFS=$as_save_IFS
2968   test -z "$as_dir" && as_dir=.
2969   for ac_exec_ext in '' $ac_executable_extensions; do
2970   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971     ac_cv_prog_ac_ct_CXX="$ac_prog"
2972     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2973     break 2
2974   fi
2975 done
2976 done
2977
2978 fi
2979 fi
2980 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2981 if test -n "$ac_ct_CXX"; then
2982   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2983 echo "${ECHO_T}$ac_ct_CXX" >&6
2984 else
2985   echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 fi
2988
2989   test -n "$ac_ct_CXX" && break
2990 done
2991 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2992
2993   CXX=$ac_ct_CXX
2994 fi
2995
2996
2997 # Provide some information about the compiler.
2998 echo "$as_me:$LINENO:" \
2999      "checking for C++ compiler version" >&5
3000 ac_compiler=`set X $ac_compile; echo $2`
3001 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3002   (eval $ac_compiler --version </dev/null >&5) 2>&5
3003   ac_status=$?
3004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005   (exit $ac_status); }
3006 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3007   (eval $ac_compiler -v </dev/null >&5) 2>&5
3008   ac_status=$?
3009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010   (exit $ac_status); }
3011 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3012   (eval $ac_compiler -V </dev/null >&5) 2>&5
3013   ac_status=$?
3014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015   (exit $ac_status); }
3016
3017 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3018 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3019 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3020   echo $ECHO_N "(cached) $ECHO_C" >&6
3021 else
3022   cat >conftest.$ac_ext <<_ACEOF
3023 #line $LINENO "configure"
3024 /* confdefs.h.  */
3025 _ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h.  */
3029
3030 int
3031 main ()
3032 {
3033 #ifndef __GNUC__
3034        choke me
3035 #endif
3036
3037   ;
3038   return 0;
3039 }
3040 _ACEOF
3041 rm -f conftest.$ac_objext
3042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3043   (eval $ac_compile) 2>&5
3044   ac_status=$?
3045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046   (exit $ac_status); } &&
3047          { ac_try='test -s conftest.$ac_objext'
3048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049   (eval $ac_try) 2>&5
3050   ac_status=$?
3051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052   (exit $ac_status); }; }; then
3053   ac_compiler_gnu=yes
3054 else
3055   echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3057
3058 ac_compiler_gnu=no
3059 fi
3060 rm -f conftest.$ac_objext conftest.$ac_ext
3061 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3062
3063 fi
3064 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3065 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3066 GXX=`test $ac_compiler_gnu = yes && echo yes`
3067 ac_test_CXXFLAGS=${CXXFLAGS+set}
3068 ac_save_CXXFLAGS=$CXXFLAGS
3069 CXXFLAGS="-g"
3070 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3071 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3072 if test "${ac_cv_prog_cxx_g+set}" = set; then
3073   echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075   cat >conftest.$ac_ext <<_ACEOF
3076 #line $LINENO "configure"
3077 /* confdefs.h.  */
3078 _ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h.  */
3082
3083 int
3084 main ()
3085 {
3086
3087   ;
3088   return 0;
3089 }
3090 _ACEOF
3091 rm -f conftest.$ac_objext
3092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3093   (eval $ac_compile) 2>&5
3094   ac_status=$?
3095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096   (exit $ac_status); } &&
3097          { ac_try='test -s conftest.$ac_objext'
3098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099   (eval $ac_try) 2>&5
3100   ac_status=$?
3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102   (exit $ac_status); }; }; then
3103   ac_cv_prog_cxx_g=yes
3104 else
3105   echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3107
3108 ac_cv_prog_cxx_g=no
3109 fi
3110 rm -f conftest.$ac_objext conftest.$ac_ext
3111 fi
3112 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3113 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3114 if test "$ac_test_CXXFLAGS" = set; then
3115   CXXFLAGS=$ac_save_CXXFLAGS
3116 elif test $ac_cv_prog_cxx_g = yes; then
3117   if test "$GXX" = yes; then
3118     CXXFLAGS="-g -O2"
3119   else
3120     CXXFLAGS="-g"
3121   fi
3122 else
3123   if test "$GXX" = yes; then
3124     CXXFLAGS="-O2"
3125   else
3126     CXXFLAGS=
3127   fi
3128 fi
3129 for ac_declaration in \
3130    ''\
3131    '#include <stdlib.h>' \
3132    'extern "C" void std::exit (int) throw (); using std::exit;' \
3133    'extern "C" void std::exit (int); using std::exit;' \
3134    'extern "C" void exit (int) throw ();' \
3135    'extern "C" void exit (int);' \
3136    'void exit (int);'
3137 do
3138   cat >conftest.$ac_ext <<_ACEOF
3139 #line $LINENO "configure"
3140 /* confdefs.h.  */
3141 _ACEOF
3142 cat confdefs.h >>conftest.$ac_ext
3143 cat >>conftest.$ac_ext <<_ACEOF
3144 /* end confdefs.h.  */
3145 #include <stdlib.h>
3146 $ac_declaration
3147 int
3148 main ()
3149 {
3150 exit (42);
3151   ;
3152   return 0;
3153 }
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157   (eval $ac_compile) 2>&5
3158   ac_status=$?
3159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160   (exit $ac_status); } &&
3161          { ac_try='test -s conftest.$ac_objext'
3162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163   (eval $ac_try) 2>&5
3164   ac_status=$?
3165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166   (exit $ac_status); }; }; then
3167   :
3168 else
3169   echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3171
3172 continue
3173 fi
3174 rm -f conftest.$ac_objext conftest.$ac_ext
3175   cat >conftest.$ac_ext <<_ACEOF
3176 #line $LINENO "configure"
3177 /* confdefs.h.  */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h.  */
3182 $ac_declaration
3183 int
3184 main ()
3185 {
3186 exit (42);
3187   ;
3188   return 0;
3189 }
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193   (eval $ac_compile) 2>&5
3194   ac_status=$?
3195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196   (exit $ac_status); } &&
3197          { ac_try='test -s conftest.$ac_objext'
3198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199   (eval $ac_try) 2>&5
3200   ac_status=$?
3201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202   (exit $ac_status); }; }; then
3203   break
3204 else
3205   echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3207
3208 fi
3209 rm -f conftest.$ac_objext conftest.$ac_ext
3210 done
3211 rm -f conftest*
3212 if test -n "$ac_declaration"; then
3213   echo '#ifdef __cplusplus' >>confdefs.h
3214   echo $ac_declaration      >>confdefs.h
3215   echo '#endif'             >>confdefs.h
3216 fi
3217
3218 ac_ext=c
3219 ac_cpp='$CPP $CPPFLAGS'
3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223
3224   CXXFLAGS="$save_CXXFLAGS"
3225
3226
3227
3228
3229   # For directory versioning (e.g., headers) and other variables.
3230   echo "$as_me:$LINENO: checking for GCC version number" >&5
3231 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3232   gcc_version=`$CXX -dumpversion`
3233   echo "$as_me:$LINENO: result: $gcc_version" >&5
3234 echo "${ECHO_T}$gcc_version" >&6
3235
3236   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3237   # available).  Uncomment the next line to force a particular method.
3238   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3239 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3240 LN_S=$as_ln_s
3241 if test "$LN_S" = "ln -s"; then
3242   echo "$as_me:$LINENO: result: yes" >&5
3243 echo "${ECHO_T}yes" >&6
3244 else
3245   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3246 echo "${ECHO_T}no, using $LN_S" >&6
3247 fi
3248
3249   #LN_S='cp -p'
3250
3251   if test -n "$ac_tool_prefix"; then
3252   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}as; ac_word=$2
3254 echo "$as_me:$LINENO: checking for $ac_word" >&5
3255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3256 if test "${ac_cv_prog_AS+set}" = set; then
3257   echo $ECHO_N "(cached) $ECHO_C" >&6
3258 else
3259   if test -n "$AS"; then
3260   ac_cv_prog_AS="$AS" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3264 do
3265   IFS=$as_save_IFS
3266   test -z "$as_dir" && as_dir=.
3267   for ac_exec_ext in '' $ac_executable_extensions; do
3268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3269     ac_cv_prog_AS="${ac_tool_prefix}as"
3270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3271     break 2
3272   fi
3273 done
3274 done
3275
3276 fi
3277 fi
3278 AS=$ac_cv_prog_AS
3279 if test -n "$AS"; then
3280   echo "$as_me:$LINENO: result: $AS" >&5
3281 echo "${ECHO_T}$AS" >&6
3282 else
3283   echo "$as_me:$LINENO: result: no" >&5
3284 echo "${ECHO_T}no" >&6
3285 fi
3286
3287 fi
3288 if test -z "$ac_cv_prog_AS"; then
3289   ac_ct_AS=$AS
3290   # Extract the first word of "as", so it can be a program name with args.
3291 set dummy as; ac_word=$2
3292 echo "$as_me:$LINENO: checking for $ac_word" >&5
3293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3294 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3295   echo $ECHO_N "(cached) $ECHO_C" >&6
3296 else
3297   if test -n "$ac_ct_AS"; then
3298   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3302 do
3303   IFS=$as_save_IFS
3304   test -z "$as_dir" && as_dir=.
3305   for ac_exec_ext in '' $ac_executable_extensions; do
3306   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3307     ac_cv_prog_ac_ct_AS="as"
3308     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3309     break 2
3310   fi
3311 done
3312 done
3313
3314 fi
3315 fi
3316 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3317 if test -n "$ac_ct_AS"; then
3318   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3319 echo "${ECHO_T}$ac_ct_AS" >&6
3320 else
3321   echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 fi
3324
3325   AS=$ac_ct_AS
3326 else
3327   AS="$ac_cv_prog_AS"
3328 fi
3329
3330   if test -n "$ac_tool_prefix"; then
3331   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3332 set dummy ${ac_tool_prefix}ar; ac_word=$2
3333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335 if test "${ac_cv_prog_AR+set}" = set; then
3336   echo $ECHO_N "(cached) $ECHO_C" >&6
3337 else
3338   if test -n "$AR"; then
3339   ac_cv_prog_AR="$AR" # Let the user override the test.
3340 else
3341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 for as_dir in $PATH
3343 do
3344   IFS=$as_save_IFS
3345   test -z "$as_dir" && as_dir=.
3346   for ac_exec_ext in '' $ac_executable_extensions; do
3347   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3348     ac_cv_prog_AR="${ac_tool_prefix}ar"
3349     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3350     break 2
3351   fi
3352 done
3353 done
3354
3355 fi
3356 fi
3357 AR=$ac_cv_prog_AR
3358 if test -n "$AR"; then
3359   echo "$as_me:$LINENO: result: $AR" >&5
3360 echo "${ECHO_T}$AR" >&6
3361 else
3362   echo "$as_me:$LINENO: result: no" >&5
3363 echo "${ECHO_T}no" >&6
3364 fi
3365
3366 fi
3367 if test -z "$ac_cv_prog_AR"; then
3368   ac_ct_AR=$AR
3369   # Extract the first word of "ar", so it can be a program name with args.
3370 set dummy ar; ac_word=$2
3371 echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3373 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3374   echo $ECHO_N "(cached) $ECHO_C" >&6
3375 else
3376   if test -n "$ac_ct_AR"; then
3377   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3381 do
3382   IFS=$as_save_IFS
3383   test -z "$as_dir" && as_dir=.
3384   for ac_exec_ext in '' $ac_executable_extensions; do
3385   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3386     ac_cv_prog_ac_ct_AR="ar"
3387     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3388     break 2
3389   fi
3390 done
3391 done
3392
3393 fi
3394 fi
3395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3396 if test -n "$ac_ct_AR"; then
3397   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3398 echo "${ECHO_T}$ac_ct_AR" >&6
3399 else
3400   echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3402 fi
3403
3404   AR=$ac_ct_AR
3405 else
3406   AR="$ac_cv_prog_AR"
3407 fi
3408
3409   if test -n "$ac_tool_prefix"; then
3410   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3411 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_RANLIB+set}" = set; then
3415   echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417   if test -n "$RANLIB"; then
3418   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423   IFS=$as_save_IFS
3424   test -z "$as_dir" && as_dir=.
3425   for ac_exec_ext in '' $ac_executable_extensions; do
3426   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3428     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429     break 2
3430   fi
3431 done
3432 done
3433
3434 fi
3435 fi
3436 RANLIB=$ac_cv_prog_RANLIB
3437 if test -n "$RANLIB"; then
3438   echo "$as_me:$LINENO: result: $RANLIB" >&5
3439 echo "${ECHO_T}$RANLIB" >&6
3440 else
3441   echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 fi
3444
3445 fi
3446 if test -z "$ac_cv_prog_RANLIB"; then
3447   ac_ct_RANLIB=$RANLIB
3448   # Extract the first word of "ranlib", so it can be a program name with args.
3449 set dummy ranlib; ac_word=$2
3450 echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3452 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3453   echo $ECHO_N "(cached) $ECHO_C" >&6
3454 else
3455   if test -n "$ac_ct_RANLIB"; then
3456   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3457 else
3458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 for as_dir in $PATH
3460 do
3461   IFS=$as_save_IFS
3462   test -z "$as_dir" && as_dir=.
3463   for ac_exec_ext in '' $ac_executable_extensions; do
3464   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3465     ac_cv_prog_ac_ct_RANLIB="ranlib"
3466     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467     break 2
3468   fi
3469 done
3470 done
3471
3472   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3473 fi
3474 fi
3475 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3476 if test -n "$ac_ct_RANLIB"; then
3477   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3478 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3479 else
3480   echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 fi
3483
3484   RANLIB=$ac_ct_RANLIB
3485 else
3486   RANLIB="$ac_cv_prog_RANLIB"
3487 fi
3488
3489
3490   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3491 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3492     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3493 if test "${enable_maintainer_mode+set}" = set; then
3494   enableval="$enable_maintainer_mode"
3495   USE_MAINTAINER_MODE=$enableval
3496 else
3497   USE_MAINTAINER_MODE=no
3498 fi;
3499   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3500 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3501
3502
3503 if test $USE_MAINTAINER_MODE = yes; then
3504   MAINTAINER_MODE_TRUE=
3505   MAINTAINER_MODE_FALSE='#'
3506 else
3507   MAINTAINER_MODE_TRUE='#'
3508   MAINTAINER_MODE_FALSE=
3509 fi
3510
3511   MAINT=$MAINTAINER_MODE_TRUE
3512
3513
3514
3515   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3516   # which are themselves conditionally expanded.
3517   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3518   ## other macros from doing the same.  This should be automated.)  -pme
3519   need_libmath=no
3520   enable_wchar_t=no
3521   #enable_libstdcxx_debug=no
3522   #enable_libstdcxx_pch=no
3523   #enable_cheaders=c
3524   #c_compatibility=no
3525   #enable_abi_check=no
3526   #enable_symvers=no
3527   #enable_hosted_libstdcxx=yes
3528
3529   # Find platform-specific directories containing configuration info.
3530   # Also possibly modify flags used elsewhere, as needed by the platform.
3531
3532   . $glibcxx_srcdir/configure.host
3533   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3534 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3535   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3536 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3537
3538
3539
3540 #AC_MSG_NOTICE([====== Starting libtool configuration])
3541
3542 # Check whether --enable-shared or --disable-shared was given.
3543 if test "${enable_shared+set}" = set; then
3544   enableval="$enable_shared"
3545   p=${PACKAGE-default}
3546 case $enableval in
3547 yes) enable_shared=yes ;;
3548 no) enable_shared=no ;;
3549 *)
3550   enable_shared=no
3551   # Look at the argument we got.  We use all the common list separators.
3552   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3553   for pkg in $enableval; do
3554     if test "X$pkg" = "X$p"; then
3555       enable_shared=yes
3556     fi
3557   done
3558   IFS="$ac_save_ifs"
3559   ;;
3560 esac
3561 else
3562   enable_shared=yes
3563 fi;
3564 # Check whether --enable-static or --disable-static was given.
3565 if test "${enable_static+set}" = set; then
3566   enableval="$enable_static"
3567   p=${PACKAGE-default}
3568 case $enableval in
3569 yes) enable_static=yes ;;
3570 no) enable_static=no ;;
3571 *)
3572   enable_static=no
3573   # Look at the argument we got.  We use all the common list separators.
3574   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3575   for pkg in $enableval; do
3576     if test "X$pkg" = "X$p"; then
3577       enable_static=yes
3578     fi
3579   done
3580   IFS="$ac_save_ifs"
3581   ;;
3582 esac
3583 else
3584   enable_static=yes
3585 fi;
3586 # Check whether --enable-fast-install or --disable-fast-install was given.
3587 if test "${enable_fast_install+set}" = set; then
3588   enableval="$enable_fast_install"
3589   p=${PACKAGE-default}
3590 case $enableval in
3591 yes) enable_fast_install=yes ;;
3592 no) enable_fast_install=no ;;
3593 *)
3594   enable_fast_install=no
3595   # Look at the argument we got.  We use all the common list separators.
3596   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3597   for pkg in $enableval; do
3598     if test "X$pkg" = "X$p"; then
3599       enable_fast_install=yes
3600     fi
3601   done
3602   IFS="$ac_save_ifs"
3603   ;;
3604 esac
3605 else
3606   enable_fast_install=yes
3607 fi;
3608
3609 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3610 if test "${with_gnu_ld+set}" = set; then
3611   withval="$with_gnu_ld"
3612   test "$withval" = no || with_gnu_ld=yes
3613 else
3614   with_gnu_ld=no
3615 fi;
3616 ac_prog=ld
3617 if test "$GCC" = yes; then
3618   # Check if gcc -print-prog-name=ld gives a path.
3619   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3620 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3621   case $host in
3622   *-*-mingw*)
3623     # gcc leaves a trailing carriage return which upsets mingw
3624     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3625   *)
3626     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3627   esac
3628   case $ac_prog in
3629     # Accept absolute paths.
3630     [\\/]* | [A-Za-z]:[\\/]*)
3631       re_direlt='/[^/][^/]*/\.\./'
3632       # Canonicalize the path of ld
3633       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3634       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3635         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3636       done
3637       test -z "$LD" && LD="$ac_prog"
3638       ;;
3639   "")
3640     # If it fails, then pretend we aren't using GCC.
3641     ac_prog=ld
3642     ;;
3643   *)
3644     # If it is relative, then search for the first ld in PATH.
3645     with_gnu_ld=unknown
3646     ;;
3647   esac
3648 elif test "$with_gnu_ld" = yes; then
3649   echo "$as_me:$LINENO: checking for GNU ld" >&5
3650 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3651 else
3652   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3653 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3654 fi
3655 if test "${lt_cv_path_LD+set}" = set; then
3656   echo $ECHO_N "(cached) $ECHO_C" >&6
3657 else
3658   if test -z "$LD"; then
3659   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3660   for ac_dir in $PATH; do
3661     test -z "$ac_dir" && ac_dir=.
3662     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3663       lt_cv_path_LD="$ac_dir/$ac_prog"
3664       # Check to see if the program is GNU ld.  I'd rather use --version,
3665       # but apparently some GNU ld's only accept -v.
3666       # Break only if it was the GNU/non-GNU ld that we prefer.
3667       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3668         test "$with_gnu_ld" != no && break
3669       else
3670         test "$with_gnu_ld" != yes && break
3671       fi
3672     fi
3673   done
3674   IFS="$ac_save_ifs"
3675 else
3676   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3677 fi
3678 fi
3679
3680 LD="$lt_cv_path_LD"
3681 if test -n "$LD"; then
3682   echo "$as_me:$LINENO: result: $LD" >&5
3683 echo "${ECHO_T}$LD" >&6
3684 else
3685   echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6
3687 fi
3688 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3689 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3690    { (exit 1); exit 1; }; }
3691 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3692 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3693 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3694   echo $ECHO_N "(cached) $ECHO_C" >&6
3695 else
3696   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3697 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3698   lt_cv_prog_gnu_ld=yes
3699 else
3700   lt_cv_prog_gnu_ld=no
3701 fi
3702 fi
3703 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3704 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3705 with_gnu_ld=$lt_cv_prog_gnu_ld
3706
3707
3708 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3709 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3710 if test "${lt_cv_ld_reload_flag+set}" = set; then
3711   echo $ECHO_N "(cached) $ECHO_C" >&6
3712 else
3713   lt_cv_ld_reload_flag='-r'
3714 fi
3715 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3716 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3717 reload_flag=$lt_cv_ld_reload_flag
3718 test -n "$reload_flag" && reload_flag=" $reload_flag"
3719
3720 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3721 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3722 if test "${lt_cv_path_NM+set}" = set; then
3723   echo $ECHO_N "(cached) $ECHO_C" >&6
3724 else
3725   if test -n "$NM"; then
3726   # Let the user override the test.
3727   lt_cv_path_NM="$NM"
3728 else
3729   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3730   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3731     test -z "$ac_dir" && ac_dir=.
3732     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3733     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3734       # Check to see if the nm accepts a BSD-compat flag.
3735       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3736       #   nm: unknown option "B" ignored
3737       # Tru64's nm complains that /dev/null is an invalid object file
3738       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3739         lt_cv_path_NM="$tmp_nm -B"
3740         break
3741       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3742         lt_cv_path_NM="$tmp_nm -p"
3743         break
3744       else
3745         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3746         continue # so that we can try to find one that supports BSD flags
3747       fi
3748     fi
3749   done
3750   IFS="$ac_save_ifs"
3751   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3752 fi
3753 fi
3754
3755 NM="$lt_cv_path_NM"
3756 echo "$as_me:$LINENO: result: $NM" >&5
3757 echo "${ECHO_T}$NM" >&6
3758
3759 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3760 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3761 if test "${lt_cv_deplibs_check_method+set}" = set; then
3762   echo $ECHO_N "(cached) $ECHO_C" >&6
3763 else
3764   lt_cv_file_magic_cmd='$MAGIC_CMD'
3765 lt_cv_file_magic_test_file=
3766 lt_cv_deplibs_check_method='unknown'
3767 # Need to set the preceding variable on all platforms that support
3768 # interlibrary dependencies.
3769 # 'none' -- dependencies not supported.
3770 # `unknown' -- same as none, but documents that we really don't know.
3771 # 'pass_all' -- all dependencies passed with no checks.
3772 # 'test_compile' -- check by making test program.
3773 # 'file_magic [regex]' -- check by looking for files in library path
3774 # which responds to the $file_magic_cmd with a given egrep regex.
3775 # If you have `file' or equivalent on your system and you're not sure
3776 # whether `pass_all' will *always* work, you probably want this one.
3777
3778 case $host_os in
3779 aix*)
3780   lt_cv_deplibs_check_method=pass_all
3781   ;;
3782
3783 beos*)
3784   lt_cv_deplibs_check_method=pass_all
3785   ;;
3786
3787 bsdi4*)
3788   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3789   lt_cv_file_magic_cmd='/usr/bin/file -L'
3790   lt_cv_file_magic_test_file=/shlib/libc.so
3791   ;;
3792
3793 cygwin* | mingw* |pw32*)
3794   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3795   lt_cv_file_magic_cmd='$OBJDUMP -f'
3796   ;;
3797
3798 darwin* | rhapsody*)
3799   # this will be overwritten by pass_all, but leave it in just in case
3800   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3801   lt_cv_file_magic_cmd='/usr/bin/file -L'
3802   case "$host_os" in
3803   rhapsody* | darwin1.012)
3804     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3805     ;;
3806   *) # Darwin 1.3 on
3807     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3808     ;;
3809   esac
3810   lt_cv_deplibs_check_method=pass_all
3811   ;;
3812
3813 freebsd* )
3814   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3815     case $host_cpu in
3816     i*86 )
3817       # Not sure whether the presence of OpenBSD here was a mistake.
3818       # Let's accept both of them until this is cleared up.
3819       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3820       lt_cv_file_magic_cmd=/usr/bin/file
3821       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3822       ;;
3823     esac
3824   else
3825     lt_cv_deplibs_check_method=pass_all
3826   fi
3827   ;;
3828
3829 gnu*)
3830   lt_cv_deplibs_check_method=pass_all
3831   ;;
3832
3833 hpux10.20*|hpux11*)
3834   case $host_cpu in
3835   hppa*)
3836     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3837     lt_cv_file_magic_cmd=/usr/bin/file
3838     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3839     ;;
3840   ia64*)
3841     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3842     lt_cv_file_magic_cmd=/usr/bin/file
3843     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3844     ;;
3845   esac
3846   ;;
3847
3848 irix5* | irix6*)
3849   case $host_os in
3850   irix5*)
3851     # this will be overridden with pass_all, but let us keep it just in case
3852     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3853     ;;
3854   *)
3855     case $LD in
3856     *-32|*"-32 ") libmagic=32-bit;;
3857     *-n32|*"-n32 ") libmagic=N32;;
3858     *-64|*"-64 ") libmagic=64-bit;;
3859     *) libmagic=never-match;;
3860     esac
3861     # this will be overridden with pass_all, but let us keep it just in case
3862     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3863     ;;
3864   esac
3865   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3866   lt_cv_deplibs_check_method=pass_all
3867   ;;
3868
3869 # This must be Linux ELF.
3870 linux-gnu*)
3871   case $host_cpu in
3872   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3873     lt_cv_deplibs_check_method=pass_all ;;
3874   *)
3875     # glibc up to 2.1.1 does not perform some relocations on ARM
3876     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3877   esac
3878   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3879   ;;
3880
3881 netbsd*)
3882   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3883     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3884   else
3885     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3886   fi
3887   ;;
3888
3889 newsos6)
3890   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3891   lt_cv_file_magic_cmd=/usr/bin/file
3892   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3893   ;;
3894
3895 osf3* | osf4* | osf5*)
3896   # this will be overridden with pass_all, but let us keep it just in case
3897   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3898   lt_cv_file_magic_test_file=/shlib/libc.so
3899   lt_cv_deplibs_check_method=pass_all
3900   ;;
3901
3902 sco3.2v5*)
3903   lt_cv_deplibs_check_method=pass_all
3904   ;;
3905
3906 solaris*)
3907   lt_cv_deplibs_check_method=pass_all
3908   lt_cv_file_magic_test_file=/lib/libc.so
3909   ;;
3910
3911 sysv5uw[78]* | sysv4*uw2*)
3912   lt_cv_deplibs_check_method=pass_all
3913   ;;
3914
3915 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3916   case $host_vendor in
3917   ncr)
3918     lt_cv_deplibs_check_method=pass_all
3919     ;;
3920   motorola)
3921     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]'
3922     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3923     ;;
3924   esac
3925   ;;
3926 esac
3927
3928 fi
3929 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3930 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3931 file_magic_cmd=$lt_cv_file_magic_cmd
3932 deplibs_check_method=$lt_cv_deplibs_check_method
3933
3934
3935
3936
3937
3938 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3939
3940 # Only perform the check for file, if the check method requires it
3941 case $deplibs_check_method in
3942 file_magic*)
3943   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3944     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3945 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3946 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3947   echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949   case $MAGIC_CMD in
3950   /*)
3951   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3952   ;;
3953   ?:/*)
3954   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3955   ;;
3956   *)
3957   ac_save_MAGIC_CMD="$MAGIC_CMD"
3958   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3959   ac_dummy="/usr/bin:$PATH"
3960   for ac_dir in $ac_dummy; do
3961     test -z "$ac_dir" && ac_dir=.
3962     if test -f $ac_dir/${ac_tool_prefix}file; then
3963       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3964       if test -n "$file_magic_test_file"; then
3965         case $deplibs_check_method in
3966         "file_magic "*)
3967           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3968           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3969           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3970             egrep "$file_magic_regex" > /dev/null; then
3971             :
3972           else
3973             cat <<EOF 1>&2
3974
3975 *** Warning: the command libtool uses to detect shared libraries,
3976 *** $file_magic_cmd, produces output that libtool cannot recognize.
3977 *** The result is that libtool may fail to recognize shared libraries
3978 *** as such.  This will affect the creation of libtool libraries that
3979 *** depend on shared libraries, but programs linked with such libtool
3980 *** libraries will work regardless of this problem.  Nevertheless, you
3981 *** may want to report the problem to your system manager and/or to
3982 *** bug-libtool@gnu.org
3983
3984 EOF
3985           fi ;;
3986         esac
3987       fi
3988       break
3989     fi
3990   done
3991   IFS="$ac_save_ifs"
3992   MAGIC_CMD="$ac_save_MAGIC_CMD"
3993   ;;
3994 esac
3995 fi
3996
3997 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3998 if test -n "$MAGIC_CMD"; then
3999   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4000 echo "${ECHO_T}$MAGIC_CMD" >&6
4001 else
4002   echo "$as_me:$LINENO: result: no" >&5
4003 echo "${ECHO_T}no" >&6
4004 fi
4005
4006 if test -z "$lt_cv_path_MAGIC_CMD"; then
4007   if test -n "$ac_tool_prefix"; then
4008     echo "$as_me:$LINENO: checking for file" >&5
4009 echo $ECHO_N "checking for file... $ECHO_C" >&6
4010 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4011   echo $ECHO_N "(cached) $ECHO_C" >&6
4012 else
4013   case $MAGIC_CMD in
4014   /*)
4015   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4016   ;;
4017   ?:/*)
4018   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4019   ;;
4020   *)
4021   ac_save_MAGIC_CMD="$MAGIC_CMD"
4022   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4023   ac_dummy="/usr/bin:$PATH"
4024   for ac_dir in $ac_dummy; do
4025     test -z "$ac_dir" && ac_dir=.
4026     if test -f $ac_dir/file; then
4027       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4028       if test -n "$file_magic_test_file"; then
4029         case $deplibs_check_method in
4030         "file_magic "*)
4031           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4032           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4033           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4034             egrep "$file_magic_regex" > /dev/null; then
4035             :
4036           else
4037             cat <<EOF 1>&2
4038
4039 *** Warning: the command libtool uses to detect shared libraries,
4040 *** $file_magic_cmd, produces output that libtool cannot recognize.
4041 *** The result is that libtool may fail to recognize shared libraries
4042 *** as such.  This will affect the creation of libtool libraries that
4043 *** depend on shared libraries, but programs linked with such libtool
4044 *** libraries will work regardless of this problem.  Nevertheless, you
4045 *** may want to report the problem to your system manager and/or to
4046 *** bug-libtool@gnu.org
4047
4048 EOF
4049           fi ;;
4050         esac
4051       fi
4052       break
4053     fi
4054   done
4055   IFS="$ac_save_ifs"
4056   MAGIC_CMD="$ac_save_MAGIC_CMD"
4057   ;;
4058 esac
4059 fi
4060
4061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4062 if test -n "$MAGIC_CMD"; then
4063   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4064 echo "${ECHO_T}$MAGIC_CMD" >&6
4065 else
4066   echo "$as_me:$LINENO: result: no" >&5
4067 echo "${ECHO_T}no" >&6
4068 fi
4069
4070   else
4071     MAGIC_CMD=:
4072   fi
4073 fi
4074
4075   fi
4076   ;;
4077 esac
4078
4079 if test -n "$ac_tool_prefix"; then
4080   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4082 echo "$as_me:$LINENO: checking for $ac_word" >&5
4083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4084 if test "${ac_cv_prog_RANLIB+set}" = set; then
4085   echo $ECHO_N "(cached) $ECHO_C" >&6
4086 else
4087   if test -n "$RANLIB"; then
4088   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4089 else
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 for as_dir in $PATH
4092 do
4093   IFS=$as_save_IFS
4094   test -z "$as_dir" && as_dir=.
4095   for ac_exec_ext in '' $ac_executable_extensions; do
4096   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4098     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4099     break 2
4100   fi
4101 done
4102 done
4103
4104 fi
4105 fi
4106 RANLIB=$ac_cv_prog_RANLIB
4107 if test -n "$RANLIB"; then
4108   echo "$as_me:$LINENO: result: $RANLIB" >&5
4109 echo "${ECHO_T}$RANLIB" >&6
4110 else
4111   echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4113 fi
4114
4115 fi
4116 if test -z "$ac_cv_prog_RANLIB"; then
4117   ac_ct_RANLIB=$RANLIB
4118   # Extract the first word of "ranlib", so it can be a program name with args.
4119 set dummy ranlib; ac_word=$2
4120 echo "$as_me:$LINENO: checking for $ac_word" >&5
4121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4122 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4123   echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125   if test -n "$ac_ct_RANLIB"; then
4126   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4127 else
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 for as_dir in $PATH
4130 do
4131   IFS=$as_save_IFS
4132   test -z "$as_dir" && as_dir=.
4133   for ac_exec_ext in '' $ac_executable_extensions; do
4134   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135     ac_cv_prog_ac_ct_RANLIB="ranlib"
4136     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4137     break 2
4138   fi
4139 done
4140 done
4141
4142   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4143 fi
4144 fi
4145 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4146 if test -n "$ac_ct_RANLIB"; then
4147   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4148 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4149 else
4150   echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4152 fi
4153
4154   RANLIB=$ac_ct_RANLIB
4155 else
4156   RANLIB="$ac_cv_prog_RANLIB"
4157 fi
4158
4159 if test -n "$ac_tool_prefix"; then
4160   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4161 set dummy ${ac_tool_prefix}strip; ac_word=$2
4162 echo "$as_me:$LINENO: checking for $ac_word" >&5
4163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4164 if test "${ac_cv_prog_STRIP+set}" = set; then
4165   echo $ECHO_N "(cached) $ECHO_C" >&6
4166 else
4167   if test -n "$STRIP"; then
4168   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4169 else
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 for as_dir in $PATH
4172 do
4173   IFS=$as_save_IFS
4174   test -z "$as_dir" && as_dir=.
4175   for ac_exec_ext in '' $ac_executable_extensions; do
4176   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4178     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4179     break 2
4180   fi
4181 done
4182 done
4183
4184 fi
4185 fi
4186 STRIP=$ac_cv_prog_STRIP
4187 if test -n "$STRIP"; then
4188   echo "$as_me:$LINENO: result: $STRIP" >&5
4189 echo "${ECHO_T}$STRIP" >&6
4190 else
4191   echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4193 fi
4194
4195 fi
4196 if test -z "$ac_cv_prog_STRIP"; then
4197   ac_ct_STRIP=$STRIP
4198   # Extract the first word of "strip", so it can be a program name with args.
4199 set dummy strip; ac_word=$2
4200 echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4202 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4203   echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205   if test -n "$ac_ct_STRIP"; then
4206   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4207 else
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4210 do
4211   IFS=$as_save_IFS
4212   test -z "$as_dir" && as_dir=.
4213   for ac_exec_ext in '' $ac_executable_extensions; do
4214   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4215     ac_cv_prog_ac_ct_STRIP="strip"
4216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217     break 2
4218   fi
4219 done
4220 done
4221
4222   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4223 fi
4224 fi
4225 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4226 if test -n "$ac_ct_STRIP"; then
4227   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4228 echo "${ECHO_T}$ac_ct_STRIP" >&6
4229 else
4230   echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6
4232 fi
4233
4234   STRIP=$ac_ct_STRIP
4235 else
4236   STRIP="$ac_cv_prog_STRIP"
4237 fi
4238
4239
4240 # Check for any special flags to pass to ltconfig.
4241 libtool_flags="--cache-file=$cache_file"
4242 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4243 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4244 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4245 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4246 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4247
4248
4249 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4250 if test "${enable_libtool_lock+set}" = set; then
4251   enableval="$enable_libtool_lock"
4252
4253 fi;
4254 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4255 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4256
4257
4258 # Check whether --with-pic or --without-pic was given.
4259 if test "${with_pic+set}" = set; then
4260   withval="$with_pic"
4261   pic_mode="$withval"
4262 else
4263   pic_mode=default
4264 fi;
4265 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4266 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4267
4268 # Some flags need to be propagated to the compiler or linker for good
4269 # libtool support.
4270 case $host in
4271 *-*-irix6*)
4272   # Find out which ABI we are using.
4273   echo '#line 4273 "configure"' > conftest.$ac_ext
4274   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4275   (eval $ac_compile) 2>&5
4276   ac_status=$?
4277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278   (exit $ac_status); }; then
4279    if test "$lt_cv_prog_gnu_ld" = yes; then
4280     case `/usr/bin/file conftest.$ac_objext` in
4281     *32-bit*)
4282       LD="${LD-ld} -melf32bsmip"
4283       ;;
4284     *N32*)
4285       LD="${LD-ld} -melf32bmipn32"
4286       ;;
4287     *64-bit*)
4288       LD="${LD-ld} -melf64bmip"
4289       ;;
4290     esac
4291    else
4292     case `/usr/bin/file conftest.$ac_objext` in
4293     *32-bit*)
4294       LD="${LD-ld} -32"
4295       ;;
4296     *N32*)
4297       LD="${LD-ld} -n32"
4298       ;;
4299     *64-bit*)
4300       LD="${LD-ld} -64"
4301       ;;
4302     esac
4303    fi
4304   fi
4305   rm -rf conftest*
4306   ;;
4307
4308 ia64-*-hpux*)
4309   # Find out which ABI we are using.
4310   echo 'int i;' > conftest.$ac_ext
4311   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4312   (eval $ac_compile) 2>&5
4313   ac_status=$?
4314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315   (exit $ac_status); }; then
4316     case "`/usr/bin/file conftest.o`" in
4317     *ELF-32*)
4318       HPUX_IA64_MODE="32"
4319       ;;
4320     *ELF-64*)
4321       HPUX_IA64_MODE="64"
4322       ;;
4323     esac
4324   fi
4325   rm -rf conftest*
4326   ;;
4327
4328 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4329   # Find out which ABI we are using.
4330   echo 'int i;' > conftest.$ac_ext
4331   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4332   (eval $ac_compile) 2>&5
4333   ac_status=$?
4334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335   (exit $ac_status); }; then
4336     case "`/usr/bin/file conftest.o`" in
4337     *32-bit*)
4338       case $host in
4339         x86_64-*linux*)
4340           LD="${LD-ld} -m elf_i386"
4341           ;;
4342         ppc64-*linux*|powerpc64-*linux*)
4343           LD="${LD-ld} -m elf32ppclinux"
4344           ;;
4345         s390x-*linux*)
4346           LD="${LD-ld} -m elf_s390"
4347           ;;
4348         sparc64-*linux*)
4349           LD="${LD-ld} -m elf32_sparc"
4350           ;;
4351       esac
4352       ;;
4353     *64-bit*)
4354       case $host in
4355         x86_64-*linux*)
4356           LD="${LD-ld} -m elf_x86_64"
4357           ;;
4358         ppc*-*linux*|powerpc*-*linux*)
4359           LD="${LD-ld} -m elf64ppc"
4360           ;;
4361         s390*-*linux*)
4362           LD="${LD-ld} -m elf64_s390"
4363           ;;
4364         sparc*-*linux*)
4365           LD="${LD-ld} -m elf64_sparc"
4366           ;;
4367       esac
4368       ;;
4369     esac
4370   fi
4371   rm -rf conftest*
4372   ;;
4373
4374 *-*-sco3.2v5*)
4375   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4376   SAVE_CFLAGS="$CFLAGS"
4377   CFLAGS="$CFLAGS -belf"
4378   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4379 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4380 if test "${lt_cv_cc_needs_belf+set}" = set; then
4381   echo $ECHO_N "(cached) $ECHO_C" >&6
4382 else
4383
4384
4385      ac_ext=c
4386 ac_cpp='$CPP $CPPFLAGS'
4387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390
4391      if test x$gcc_no_link = xyes; then
4392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4394    { (exit 1); exit 1; }; }
4395 fi
4396 cat >conftest.$ac_ext <<_ACEOF
4397 #line $LINENO "configure"
4398 /* confdefs.h.  */
4399 _ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h.  */
4403
4404 int
4405 main ()
4406 {
4407
4408   ;
4409   return 0;
4410 }
4411 _ACEOF
4412 rm -f conftest.$ac_objext conftest$ac_exeext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4414   (eval $ac_link) 2>&5
4415   ac_status=$?
4416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417   (exit $ac_status); } &&
4418          { ac_try='test -s conftest$ac_exeext'
4419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4420   (eval $ac_try) 2>&5
4421   ac_status=$?
4422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423   (exit $ac_status); }; }; then
4424   lt_cv_cc_needs_belf=yes
4425 else
4426   echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.$ac_ext >&5
4428
4429 lt_cv_cc_needs_belf=no
4430 fi
4431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4432      ac_ext=c
4433 ac_cpp='$CPP $CPPFLAGS'
4434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4437
4438 fi
4439 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4440 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4441   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4442     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4443     CFLAGS="$SAVE_CFLAGS"
4444   fi
4445   ;;
4446
4447
4448 esac
4449
4450
4451 # Save cache, so that ltconfig can load it
4452 cat >confcache <<\_ACEOF
4453 # This file is a shell script that caches the results of configure
4454 # tests run on this system so they can be shared between configure
4455 # scripts and configure runs, see configure's option --config-cache.
4456 # It is not useful on other systems.  If it contains results you don't
4457 # want to keep, you may remove or edit it.
4458 #
4459 # config.status only pays attention to the cache file if you give it
4460 # the --recheck option to rerun configure.
4461 #
4462 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4463 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4464 # following values.
4465
4466 _ACEOF
4467
4468 # The following way of writing the cache mishandles newlines in values,
4469 # but we know of no workaround that is simple, portable, and efficient.
4470 # So, don't put newlines in cache variables' values.
4471 # Ultrix sh set writes to stderr and can't be redirected directly,
4472 # and sets the high bit in the cache file unless we assign to the vars.
4473 {
4474   (set) 2>&1 |
4475     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4476     *ac_space=\ *)
4477       # `set' does not quote correctly, so add quotes (double-quote
4478       # substitution turns \\\\ into \\, and sed turns \\ into \).
4479       sed -n \
4480         "s/'/'\\\\''/g;
4481           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4482       ;;
4483     *)
4484       # `set' quotes correctly as required by POSIX, so do not add quotes.
4485       sed -n \
4486         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4487       ;;
4488     esac;
4489 } |
4490   sed '
4491      t clear
4492      : clear
4493      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4494      t end
4495      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4496      : end' >>confcache
4497 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4498   if test -w $cache_file; then
4499     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4500     cat confcache >$cache_file
4501   else
4502     echo "not updating unwritable cache $cache_file"
4503   fi
4504 fi
4505 rm -f confcache
4506
4507 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4508 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4509 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4510 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4511 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4512 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4513 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4514 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4515 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4516 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4517 echo "$as_me: error: libtool configure failed" >&2;}
4518    { (exit 1); exit 1; }; }
4519
4520 # Reload cache, that may have been modified by ltconfig
4521 if test -r "$cache_file"; then
4522   # Some versions of bash will fail to source /dev/null (special
4523   # files actually), so we avoid doing that.
4524   if test -f "$cache_file"; then
4525     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4526 echo "$as_me: loading cache $cache_file" >&6;}
4527     case $cache_file in
4528       [\\/]* | ?:[\\/]* ) . $cache_file;;
4529       *)                      . ./$cache_file;;
4530     esac
4531   fi
4532 else
4533   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4534 echo "$as_me: creating cache $cache_file" >&6;}
4535   >$cache_file
4536 fi
4537
4538
4539 # This can be used to rebuild libtool when needed
4540 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4541
4542 # Always use our own libtool.
4543 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4544
4545 # Redirect the config.log output again, so that the ltconfig log is not
4546 # clobbered by the next message.
4547 exec 5>>./config.log
4548
4549 ac_ext=cc
4550 ac_cpp='$CXXCPP $CPPFLAGS'
4551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4554 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4555 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4556 if test -z "$CXXCPP"; then
4557   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4558   echo $ECHO_N "(cached) $ECHO_C" >&6
4559 else
4560       # Double quotes because CXXCPP needs to be expanded
4561     for CXXCPP in "$CXX -E" "/lib/cpp"
4562     do
4563       ac_preproc_ok=false
4564 for ac_cxx_preproc_warn_flag in '' yes
4565 do
4566   # Use a header file that comes with gcc, so configuring glibc
4567   # with a fresh cross-compiler works.
4568   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4569   # <limits.h> exists even on freestanding compilers.
4570   # On the NeXT, cc -E runs the code through the compiler's parser,
4571   # not just through cpp. "Syntax error" is here to catch this case.
4572   cat >conftest.$ac_ext <<_ACEOF
4573 #line $LINENO "configure"
4574 /* confdefs.h.  */
4575 _ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h.  */
4579 #ifdef __STDC__
4580 # include <limits.h>
4581 #else
4582 # include <assert.h>
4583 #endif
4584                      Syntax error
4585 _ACEOF
4586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4587   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4588   ac_status=$?
4589   grep -v '^ *+' conftest.er1 >conftest.err
4590   rm -f conftest.er1
4591   cat conftest.err >&5
4592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593   (exit $ac_status); } >/dev/null; then
4594   if test -s conftest.err; then
4595     ac_cpp_err=$ac_cxx_preproc_warn_flag
4596   else
4597     ac_cpp_err=
4598   fi
4599 else
4600   ac_cpp_err=yes
4601 fi
4602 if test -z "$ac_cpp_err"; then
4603   :
4604 else
4605   echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.$ac_ext >&5
4607
4608   # Broken: fails on valid input.
4609 continue
4610 fi
4611 rm -f conftest.err conftest.$ac_ext
4612
4613   # OK, works on sane cases.  Now check whether non-existent headers
4614   # can be detected and how.
4615   cat >conftest.$ac_ext <<_ACEOF
4616 #line $LINENO "configure"
4617 /* confdefs.h.  */
4618 _ACEOF
4619 cat confdefs.h >>conftest.$ac_ext
4620 cat >>conftest.$ac_ext <<_ACEOF
4621 /* end confdefs.h.  */
4622 #include <ac_nonexistent.h>
4623 _ACEOF
4624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4625   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4626   ac_status=$?
4627   grep -v '^ *+' conftest.er1 >conftest.err
4628   rm -f conftest.er1
4629   cat conftest.err >&5
4630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631   (exit $ac_status); } >/dev/null; then
4632   if test -s conftest.err; then
4633     ac_cpp_err=$ac_cxx_preproc_warn_flag
4634   else
4635     ac_cpp_err=
4636   fi
4637 else
4638   ac_cpp_err=yes
4639 fi
4640 if test -z "$ac_cpp_err"; then
4641   # Broken: success on invalid input.
4642 continue
4643 else
4644   echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.$ac_ext >&5
4646
4647   # Passes both tests.
4648 ac_preproc_ok=:
4649 break
4650 fi
4651 rm -f conftest.err conftest.$ac_ext
4652
4653 done
4654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4655 rm -f conftest.err conftest.$ac_ext
4656 if $ac_preproc_ok; then
4657   break
4658 fi
4659
4660     done
4661     ac_cv_prog_CXXCPP=$CXXCPP
4662
4663 fi
4664   CXXCPP=$ac_cv_prog_CXXCPP
4665 else
4666   ac_cv_prog_CXXCPP=$CXXCPP
4667 fi
4668 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4669 echo "${ECHO_T}$CXXCPP" >&6
4670 ac_preproc_ok=false
4671 for ac_cxx_preproc_warn_flag in '' yes
4672 do
4673   # Use a header file that comes with gcc, so configuring glibc
4674   # with a fresh cross-compiler works.
4675   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676   # <limits.h> exists even on freestanding compilers.
4677   # On the NeXT, cc -E runs the code through the compiler's parser,
4678   # not just through cpp. "Syntax error" is here to catch this case.
4679   cat >conftest.$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
4681 /* confdefs.h.  */
4682 _ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h.  */
4686 #ifdef __STDC__
4687 # include <limits.h>
4688 #else
4689 # include <assert.h>
4690 #endif
4691                      Syntax error
4692 _ACEOF
4693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4694   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4695   ac_status=$?
4696   grep -v '^ *+' conftest.er1 >conftest.err
4697   rm -f conftest.er1
4698   cat conftest.err >&5
4699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700   (exit $ac_status); } >/dev/null; then
4701   if test -s conftest.err; then
4702     ac_cpp_err=$ac_cxx_preproc_warn_flag
4703   else
4704     ac_cpp_err=
4705   fi
4706 else
4707   ac_cpp_err=yes
4708 fi
4709 if test -z "$ac_cpp_err"; then
4710   :
4711 else
4712   echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4714
4715   # Broken: fails on valid input.
4716 continue
4717 fi
4718 rm -f conftest.err conftest.$ac_ext
4719
4720   # OK, works on sane cases.  Now check whether non-existent headers
4721   # can be detected and how.
4722   cat >conftest.$ac_ext <<_ACEOF
4723 #line $LINENO "configure"
4724 /* confdefs.h.  */
4725 _ACEOF
4726 cat confdefs.h >>conftest.$ac_ext
4727 cat >>conftest.$ac_ext <<_ACEOF
4728 /* end confdefs.h.  */
4729 #include <ac_nonexistent.h>
4730 _ACEOF
4731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4732   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4733   ac_status=$?
4734   grep -v '^ *+' conftest.er1 >conftest.err
4735   rm -f conftest.er1
4736   cat conftest.err >&5
4737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738   (exit $ac_status); } >/dev/null; then
4739   if test -s conftest.err; then
4740     ac_cpp_err=$ac_cxx_preproc_warn_flag
4741   else
4742     ac_cpp_err=
4743   fi
4744 else
4745   ac_cpp_err=yes
4746 fi
4747 if test -z "$ac_cpp_err"; then
4748   # Broken: success on invalid input.
4749 continue
4750 else
4751   echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.$ac_ext >&5
4753
4754   # Passes both tests.
4755 ac_preproc_ok=:
4756 break
4757 fi
4758 rm -f conftest.err conftest.$ac_ext
4759
4760 done
4761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4762 rm -f conftest.err conftest.$ac_ext
4763 if $ac_preproc_ok; then
4764   :
4765 else
4766   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4767 See \`config.log' for more details." >&5
4768 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4769 See \`config.log' for more details." >&2;}
4770    { (exit 1); exit 1; }; }
4771 fi
4772
4773 ac_ext=c
4774 ac_cpp='$CPP $CPPFLAGS'
4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778
4779
4780
4781 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4782 lt_save_CC="$CC"
4783 lt_save_CFLAGS="$CFLAGS"
4784 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4785 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4786 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4787 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4788 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4789 deplibs_check_method="$deplibs_check_method" \
4790 file_magic_cmd="$file_magic_cmd" \
4791 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4792 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4793 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4794 echo "$as_me: error: libtool tag configuration failed" >&2;}
4795    { (exit 1); exit 1; }; }
4796 CC="$lt_save_CC"
4797 CFLAGS="$lt_save_CFLAGS"
4798
4799 # Redirect the config.log output again, so that the ltconfig log is not
4800 # clobbered by the next message.
4801 exec 5>>./config.log
4802
4803
4804
4805
4806
4807
4808
4809
4810 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4811
4812 # Possibly disable most of the library.
4813 ## XXX Consider skipping unncessary tests altogether in this case, rather
4814 ## than just ignoring the results.  Faster /and/ more correct, win win.
4815
4816   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4817 if test "${enable_hosted_libstdcxx+set}" = set; then
4818   enableval="$enable_hosted_libstdcxx"
4819
4820 else
4821   enable_hosted_libstdcxx=yes
4822 fi;
4823   if test "$enable_hosted_libstdcxx" = no; then
4824     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4825 echo "$as_me: Only freestanding libraries will be built" >&6;}
4826     is_hosted=no
4827     hosted_define=0
4828     enable_abi_check=no
4829     enable_libstdcxx_pch=no
4830   else
4831     is_hosted=yes
4832     hosted_define=1
4833   fi
4834
4835
4836 cat >>confdefs.h <<_ACEOF
4837 #define _GLIBCXX_HOSTED $hosted_define
4838 _ACEOF
4839
4840
4841
4842 # Check for support bits and g++ features that don't require linking.
4843
4844   echo "$as_me:$LINENO: checking for exception model to use" >&5
4845 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4846
4847
4848   ac_ext=cc
4849 ac_cpp='$CXXCPP $CPPFLAGS'
4850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4853
4854    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4855 if test "${enable_sjlj_exceptions+set}" = set; then
4856   enableval="$enable_sjlj_exceptions"
4857
4858       case "$enableval" in
4859        yes|no|auto) ;;
4860        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4861 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4862    { (exit 1); exit 1; }; } ;;
4863                           esac
4864
4865 else
4866   enable_sjlj_exceptions=auto
4867 fi;
4868
4869
4870   if test $enable_sjlj_exceptions = auto; then
4871     # Botheration.  Now we've got to detect the exception model.  Link tests
4872     # against libgcc.a are problematic since we've not been given proper -L
4873     # bits for single-tree newlib and libgloss.
4874     #
4875     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4876     cat > conftest.$ac_ext << EOF
4877 #line 4877 "configure"
4878 struct S { ~S(); };
4879 void bar();
4880 void foo()
4881 {
4882   S s;
4883   bar();
4884 }
4885 EOF
4886     old_CXXFLAGS="$CXXFLAGS"
4887     CXXFLAGS=-S
4888     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4889   (eval $ac_compile) 2>&5
4890   ac_status=$?
4891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892   (exit $ac_status); }; then
4893       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4894         enable_sjlj_exceptions=yes
4895       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4896         enable_sjlj_exceptions=no
4897       fi
4898     fi
4899     CXXFLAGS="$old_CXXFLAGS"
4900     rm -f conftest*
4901   fi
4902
4903   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
4904   # to two different models.
4905   case $enable_sjlj_exceptions in
4906     yes)
4907
4908 cat >>confdefs.h <<\_ACEOF
4909 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4910 _ACEOF
4911
4912       ac_exception_model_name=sjlj
4913       ;;
4914     no)
4915       ac_exception_model_name="call frame"
4916       ;;
4917     *)
4918       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4919 echo "$as_me: error: unable to detect exception model" >&2;}
4920    { (exit 1); exit 1; }; }
4921       ;;
4922   esac
4923  ac_ext=c
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4928
4929  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4930 echo "${ECHO_T}$ac_exception_model_name" >&6
4931
4932
4933   echo "$as_me:$LINENO: checking for enabled PCH" >&5
4934 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4935    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4936 if test "${enable_libstdcxx_pch+set}" = set; then
4937   enableval="$enable_libstdcxx_pch"
4938
4939       case "$enableval" in
4940        yes|no) ;;
4941        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4942 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4943    { (exit 1); exit 1; }; } ;;
4944       esac
4945
4946 else
4947   enable_libstdcxx_pch=$is_hosted
4948 fi;
4949
4950   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4951 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4952
4953   if test $enable_libstdcxx_pch = yes; then
4954     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4955 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4956 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4957   echo $ECHO_N "(cached) $ECHO_C" >&6
4958 else
4959   ac_save_CXXFLAGS="$CXXFLAGS"
4960        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4961
4962
4963        ac_ext=cc
4964 ac_cpp='$CXXCPP $CPPFLAGS'
4965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4968
4969        echo '#include <math.h>' > conftest.h
4970        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4971                           -o conftest.h.gch 1>&5 2>&1 &&
4972                 echo '#error "pch failed"' > conftest.h &&
4973           echo '#include "conftest.h"' > conftest.cc &&
4974                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4975        then
4976          glibcxx_cv_prog_CXX_pch=yes
4977        else
4978          glibcxx_cv_prog_CXX_pch=no
4979        fi
4980        rm -f conftest*
4981        CXXFLAGS=$ac_save_CXXFLAGS
4982        ac_ext=c
4983 ac_cpp='$CPP $CPPFLAGS'
4984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4987
4988
4989 fi
4990 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4991 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4992     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
4993   fi
4994
4995
4996   if test $enable_libstdcxx_pch = yes; then
4997     glibcxx_PCHFLAGS="-include bits/stdc++.h"
4998   else
4999     glibcxx_PCHFLAGS=""
5000   fi
5001
5002
5003
5004 # Enable all the variable C++ runtime options.
5005 # NB: C_MBCHAR must come early.
5006
5007   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5008 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5009    # Check whether --enable-cstdio or --disable-cstdio was given.
5010 if test "${enable_cstdio+set}" = set; then
5011   enableval="$enable_cstdio"
5012
5013       case "$enableval" in
5014        stdio) ;;
5015        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5016 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5017    { (exit 1); exit 1; }; } ;;
5018                           esac
5019
5020 else
5021   enable_cstdio=stdio
5022 fi;
5023
5024
5025   # Now that libio has been removed, you can have any color you want as long
5026   # as it's black.  This is one big no-op until other packages are added, but
5027   # showing the framework never hurts.
5028   case ${enable_cstdio} in
5029     stdio)
5030       CSTDIO_H=config/io/c_io_stdio.h
5031       BASIC_FILE_H=config/io/basic_file_stdio.h
5032       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5033       echo "$as_me:$LINENO: result: stdio" >&5
5034 echo "${ECHO_T}stdio" >&6
5035       ;;
5036   esac
5037
5038
5039
5040
5041
5042 ac_ext=c
5043 ac_cpp='$CPP $CPPFLAGS'
5044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5048 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5049 # On Suns, sometimes $CPP names a directory.
5050 if test -n "$CPP" && test -d "$CPP"; then
5051   CPP=
5052 fi
5053 if test -z "$CPP"; then
5054   if test "${ac_cv_prog_CPP+set}" = set; then
5055   echo $ECHO_N "(cached) $ECHO_C" >&6
5056 else
5057       # Double quotes because CPP needs to be expanded
5058     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5059     do
5060       ac_preproc_ok=false
5061 for ac_c_preproc_warn_flag in '' yes
5062 do
5063   # Use a header file that comes with gcc, so configuring glibc
5064   # with a fresh cross-compiler works.
5065   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5066   # <limits.h> exists even on freestanding compilers.
5067   # On the NeXT, cc -E runs the code through the compiler's parser,
5068   # not just through cpp. "Syntax error" is here to catch this case.
5069   cat >conftest.$ac_ext <<_ACEOF
5070 #line $LINENO "configure"
5071 /* confdefs.h.  */
5072 _ACEOF
5073 cat confdefs.h >>conftest.$ac_ext
5074 cat >>conftest.$ac_ext <<_ACEOF
5075 /* end confdefs.h.  */
5076 #ifdef __STDC__
5077 # include <limits.h>
5078 #else
5079 # include <assert.h>
5080 #endif
5081                      Syntax error
5082 _ACEOF
5083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5084   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5085   ac_status=$?
5086   grep -v '^ *+' conftest.er1 >conftest.err
5087   rm -f conftest.er1
5088   cat conftest.err >&5
5089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090   (exit $ac_status); } >/dev/null; then
5091   if test -s conftest.err; then
5092     ac_cpp_err=$ac_c_preproc_warn_flag
5093   else
5094     ac_cpp_err=
5095   fi
5096 else
5097   ac_cpp_err=yes
5098 fi
5099 if test -z "$ac_cpp_err"; then
5100   :
5101 else
5102   echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.$ac_ext >&5
5104
5105   # Broken: fails on valid input.
5106 continue
5107 fi
5108 rm -f conftest.err conftest.$ac_ext
5109
5110   # OK, works on sane cases.  Now check whether non-existent headers
5111   # can be detected and how.
5112   cat >conftest.$ac_ext <<_ACEOF
5113 #line $LINENO "configure"
5114 /* confdefs.h.  */
5115 _ACEOF
5116 cat confdefs.h >>conftest.$ac_ext
5117 cat >>conftest.$ac_ext <<_ACEOF
5118 /* end confdefs.h.  */
5119 #include <ac_nonexistent.h>
5120 _ACEOF
5121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5122   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123   ac_status=$?
5124   grep -v '^ *+' conftest.er1 >conftest.err
5125   rm -f conftest.er1
5126   cat conftest.err >&5
5127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128   (exit $ac_status); } >/dev/null; then
5129   if test -s conftest.err; then
5130     ac_cpp_err=$ac_c_preproc_warn_flag
5131   else
5132     ac_cpp_err=
5133   fi
5134 else
5135   ac_cpp_err=yes
5136 fi
5137 if test -z "$ac_cpp_err"; then
5138   # Broken: success on invalid input.
5139 continue
5140 else
5141   echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5143
5144   # Passes both tests.
5145 ac_preproc_ok=:
5146 break
5147 fi
5148 rm -f conftest.err conftest.$ac_ext
5149
5150 done
5151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5152 rm -f conftest.err conftest.$ac_ext
5153 if $ac_preproc_ok; then
5154   break
5155 fi
5156
5157     done
5158     ac_cv_prog_CPP=$CPP
5159
5160 fi
5161   CPP=$ac_cv_prog_CPP
5162 else
5163   ac_cv_prog_CPP=$CPP
5164 fi
5165 echo "$as_me:$LINENO: result: $CPP" >&5
5166 echo "${ECHO_T}$CPP" >&6
5167 ac_preproc_ok=false
5168 for ac_c_preproc_warn_flag in '' yes
5169 do
5170   # Use a header file that comes with gcc, so configuring glibc
5171   # with a fresh cross-compiler works.
5172   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5173   # <limits.h> exists even on freestanding compilers.
5174   # On the NeXT, cc -E runs the code through the compiler's parser,
5175   # not just through cpp. "Syntax error" is here to catch this case.
5176   cat >conftest.$ac_ext <<_ACEOF
5177 #line $LINENO "configure"
5178 /* confdefs.h.  */
5179 _ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h.  */
5183 #ifdef __STDC__
5184 # include <limits.h>
5185 #else
5186 # include <assert.h>
5187 #endif
5188                      Syntax error
5189 _ACEOF
5190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5191   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5192   ac_status=$?
5193   grep -v '^ *+' conftest.er1 >conftest.err
5194   rm -f conftest.er1
5195   cat conftest.err >&5
5196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197   (exit $ac_status); } >/dev/null; then
5198   if test -s conftest.err; then
5199     ac_cpp_err=$ac_c_preproc_warn_flag
5200   else
5201     ac_cpp_err=
5202   fi
5203 else
5204   ac_cpp_err=yes
5205 fi
5206 if test -z "$ac_cpp_err"; then
5207   :
5208 else
5209   echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.$ac_ext >&5
5211
5212   # Broken: fails on valid input.
5213 continue
5214 fi
5215 rm -f conftest.err conftest.$ac_ext
5216
5217   # OK, works on sane cases.  Now check whether non-existent headers
5218   # can be detected and how.
5219   cat >conftest.$ac_ext <<_ACEOF
5220 #line $LINENO "configure"
5221 /* confdefs.h.  */
5222 _ACEOF
5223 cat confdefs.h >>conftest.$ac_ext
5224 cat >>conftest.$ac_ext <<_ACEOF
5225 /* end confdefs.h.  */
5226 #include <ac_nonexistent.h>
5227 _ACEOF
5228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230   ac_status=$?
5231   grep -v '^ *+' conftest.er1 >conftest.err
5232   rm -f conftest.er1
5233   cat conftest.err >&5
5234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235   (exit $ac_status); } >/dev/null; then
5236   if test -s conftest.err; then
5237     ac_cpp_err=$ac_c_preproc_warn_flag
5238   else
5239     ac_cpp_err=
5240   fi
5241 else
5242   ac_cpp_err=yes
5243 fi
5244 if test -z "$ac_cpp_err"; then
5245   # Broken: success on invalid input.
5246 continue
5247 else
5248   echo "$as_me: failed program was:" >&5
5249 sed 's/^/| /' conftest.$ac_ext >&5
5250
5251   # Passes both tests.
5252 ac_preproc_ok=:
5253 break
5254 fi
5255 rm -f conftest.err conftest.$ac_ext
5256
5257 done
5258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5259 rm -f conftest.err conftest.$ac_ext
5260 if $ac_preproc_ok; then
5261   :
5262 else
5263   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5264 See \`config.log' for more details." >&5
5265 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5266 See \`config.log' for more details." >&2;}
5267    { (exit 1); exit 1; }; }
5268 fi
5269
5270 ac_ext=c
5271 ac_cpp='$CPP $CPPFLAGS'
5272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5275
5276
5277 echo "$as_me:$LINENO: checking for egrep" >&5
5278 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5279 if test "${ac_cv_prog_egrep+set}" = set; then
5280   echo $ECHO_N "(cached) $ECHO_C" >&6
5281 else
5282   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5283     then ac_cv_prog_egrep='grep -E'
5284     else ac_cv_prog_egrep='egrep'
5285     fi
5286 fi
5287 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5288 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5289  EGREP=$ac_cv_prog_egrep
5290
5291
5292 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5293 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5294 if test "${ac_cv_header_stdc+set}" = set; then
5295   echo $ECHO_N "(cached) $ECHO_C" >&6
5296 else
5297   cat >conftest.$ac_ext <<_ACEOF
5298 #line $LINENO "configure"
5299 /* confdefs.h.  */
5300 _ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h.  */
5304 #include <stdlib.h>
5305 #include <stdarg.h>
5306 #include <string.h>
5307 #include <float.h>
5308
5309 int
5310 main ()
5311 {
5312
5313   ;
5314   return 0;
5315 }
5316 _ACEOF
5317 rm -f conftest.$ac_objext
5318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5319   (eval $ac_compile) 2>&5
5320   ac_status=$?
5321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322   (exit $ac_status); } &&
5323          { ac_try='test -s conftest.$ac_objext'
5324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325   (eval $ac_try) 2>&5
5326   ac_status=$?
5327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328   (exit $ac_status); }; }; then
5329   ac_cv_header_stdc=yes
5330 else
5331   echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5333
5334 ac_cv_header_stdc=no
5335 fi
5336 rm -f conftest.$ac_objext conftest.$ac_ext
5337
5338 if test $ac_cv_header_stdc = yes; then
5339   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5340   cat >conftest.$ac_ext <<_ACEOF
5341 #line $LINENO "configure"
5342 /* confdefs.h.  */
5343 _ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h.  */
5347 #include <string.h>
5348
5349 _ACEOF
5350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5351   $EGREP "memchr" >/dev/null 2>&1; then
5352   :
5353 else
5354   ac_cv_header_stdc=no
5355 fi
5356 rm -f conftest*
5357
5358 fi
5359
5360 if test $ac_cv_header_stdc = yes; then
5361   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5362   cat >conftest.$ac_ext <<_ACEOF
5363 #line $LINENO "configure"
5364 /* confdefs.h.  */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h.  */
5369 #include <stdlib.h>
5370
5371 _ACEOF
5372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5373   $EGREP "free" >/dev/null 2>&1; then
5374   :
5375 else
5376   ac_cv_header_stdc=no
5377 fi
5378 rm -f conftest*
5379
5380 fi
5381
5382 if test $ac_cv_header_stdc = yes; then
5383   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5384   if test "$cross_compiling" = yes; then
5385   :
5386 else
5387   cat >conftest.$ac_ext <<_ACEOF
5388 #line $LINENO "configure"
5389 /* confdefs.h.  */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h.  */
5394 #include <ctype.h>
5395 #if ((' ' & 0x0FF) == 0x020)
5396 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5397 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5398 #else
5399 # define ISLOWER(c) \
5400                    (('a' <= (c) && (c) <= 'i') \
5401                      || ('j' <= (c) && (c) <= 'r') \
5402                      || ('s' <= (c) && (c) <= 'z'))
5403 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5404 #endif
5405
5406 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5407 int
5408 main ()
5409 {
5410   int i;
5411   for (i = 0; i < 256; i++)
5412     if (XOR (islower (i), ISLOWER (i))
5413         || toupper (i) != TOUPPER (i))
5414       exit(2);
5415   exit (0);
5416 }
5417 _ACEOF
5418 rm -f conftest$ac_exeext
5419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5420   (eval $ac_link) 2>&5
5421   ac_status=$?
5422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425   (eval $ac_try) 2>&5
5426   ac_status=$?
5427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428   (exit $ac_status); }; }; then
5429   :
5430 else
5431   echo "$as_me: program exited with status $ac_status" >&5
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5434
5435 ( exit $ac_status )
5436 ac_cv_header_stdc=no
5437 fi
5438 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5439 fi
5440 fi
5441 fi
5442 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5443 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5444 if test $ac_cv_header_stdc = yes; then
5445
5446 cat >>confdefs.h <<\_ACEOF
5447 #define STDC_HEADERS 1
5448 _ACEOF
5449
5450 fi
5451
5452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5463                   inttypes.h stdint.h unistd.h
5464 do
5465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5466 echo "$as_me:$LINENO: checking for $ac_header" >&5
5467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5469   echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5471   cat >conftest.$ac_ext <<_ACEOF
5472 #line $LINENO "configure"
5473 /* confdefs.h.  */
5474 _ACEOF
5475 cat confdefs.h >>conftest.$ac_ext
5476 cat >>conftest.$ac_ext <<_ACEOF
5477 /* end confdefs.h.  */
5478 $ac_includes_default
5479
5480 #include <$ac_header>
5481 _ACEOF
5482 rm -f conftest.$ac_objext
5483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5484   (eval $ac_compile) 2>&5
5485   ac_status=$?
5486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487   (exit $ac_status); } &&
5488          { ac_try='test -s conftest.$ac_objext'
5489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490   (eval $ac_try) 2>&5
5491   ac_status=$?
5492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493   (exit $ac_status); }; }; then
5494   eval "$as_ac_Header=yes"
5495 else
5496   echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.$ac_ext >&5
5498
5499 eval "$as_ac_Header=no"
5500 fi
5501 rm -f conftest.$ac_objext conftest.$ac_ext
5502 fi
5503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5506   cat >>confdefs.h <<_ACEOF
5507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5508 _ACEOF
5509
5510 fi
5511
5512 done
5513
5514
5515
5516   echo "$as_me:$LINENO: checking for C locale to use" >&5
5517 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5518    # Check whether --enable-clocale or --disable-clocale was given.
5519 if test "${enable_clocale+set}" = set; then
5520   enableval="$enable_clocale"
5521
5522       case "$enableval" in
5523        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5524        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5525 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5526    { (exit 1); exit 1; }; } ;;
5527                           esac
5528
5529 else
5530   enable_clocale=auto
5531 fi;
5532
5533
5534   # If they didn't use this option switch, or if they specified --enable
5535   # with no specific model, we'll have to look for one.  If they
5536   # specified --disable (???), do likewise.
5537   if test $enable_clocale = no || test $enable_clocale = yes; then
5538      enable_clocale=auto
5539   fi
5540
5541   # Either a known package, or "auto"
5542   enable_clocale_flag=$enable_clocale
5543
5544   # Probe for locale support if no specific model is specified.
5545   # Default to "generic".
5546   if test $enable_clocale_flag = auto; then
5547     case x${target_os} in
5548       xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5549         cat >conftest.$ac_ext <<_ACEOF
5550 #line $LINENO "configure"
5551 /* confdefs.h.  */
5552 _ACEOF
5553 cat confdefs.h >>conftest.$ac_ext
5554 cat >>conftest.$ac_ext <<_ACEOF
5555 /* end confdefs.h.  */
5556
5557         #include <features.h>
5558         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5559           _GLIBCXX_ok
5560         #endif
5561
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5565   enable_clocale_flag=gnu
5566 else
5567   enable_clocale_flag=generic
5568 fi
5569 rm -f conftest*
5570
5571
5572         # Test for bugs early in glibc-2.2.x series
5573           if test x$enable_clocale_flag = xgnu; then
5574           if test "$cross_compiling" = yes; then
5575   enable_clocale_flag=generic
5576 else
5577   cat >conftest.$ac_ext <<_ACEOF
5578 #line $LINENO "configure"
5579 /* confdefs.h.  */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h.  */
5584
5585           #define _GNU_SOURCE 1
5586           #include <locale.h>
5587           #include <string.h>
5588           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5589           extern __typeof(newlocale) __newlocale;
5590           extern __typeof(duplocale) __duplocale;
5591           extern __typeof(strcoll_l) __strcoll_l;
5592           #endif
5593           int main()
5594           {
5595               const char __one[] = "Äuglein Augmen";
5596               const char __two[] = "Äuglein";
5597               int i;
5598               int j;
5599               __locale_t        loc;
5600                __locale_t        loc_dup;
5601               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5602               loc_dup = __duplocale(loc);
5603               i = __strcoll_l(__one, __two, loc);
5604               j = __strcoll_l(__one, __two, loc_dup);
5605               return 0;
5606           }
5607
5608 _ACEOF
5609 rm -f conftest$ac_exeext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5611   (eval $ac_link) 2>&5
5612   ac_status=$?
5613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5616   (eval $ac_try) 2>&5
5617   ac_status=$?
5618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619   (exit $ac_status); }; }; then
5620   enable_clocale_flag=gnu
5621 else
5622   echo "$as_me: program exited with status $ac_status" >&5
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5625
5626 ( exit $ac_status )
5627 enable_clocale_flag=generic
5628 fi
5629 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5630 fi
5631           fi
5632
5633         # ... at some point put __strxfrm_l tests in as well.
5634         ;;
5635       *)
5636         enable_clocale_flag=generic
5637         ;;
5638     esac
5639   fi
5640
5641   # Deal with gettext issues.  Default to not using it (=no) until we detect
5642   # support for it later.  Let the user turn it off via --e/d, but let that
5643   # default to on for easier handling.
5644   USE_NLS=no
5645   # Check whether --enable-nls or --disable-nls was given.
5646 if test "${enable_nls+set}" = set; then
5647   enableval="$enable_nls"
5648
5649 else
5650   enable_nls=yes
5651 fi;
5652
5653   # Set configure bits for specified locale package
5654   case ${enable_clocale_flag} in
5655     generic)
5656       echo "$as_me:$LINENO: result: generic" >&5
5657 echo "${ECHO_T}generic" >&6
5658
5659       CLOCALE_H=config/locale/generic/c_locale.h
5660       CLOCALE_CC=config/locale/generic/c_locale.cc
5661       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5662       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5663       CCOLLATE_CC=config/locale/generic/collate_members.cc
5664       CCTYPE_CC=config/locale/generic/ctype_members.cc
5665       CMESSAGES_H=config/locale/generic/messages_members.h
5666       CMESSAGES_CC=config/locale/generic/messages_members.cc
5667       CMONEY_CC=config/locale/generic/monetary_members.cc
5668       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5669       CTIME_H=config/locale/generic/time_members.h
5670       CTIME_CC=config/locale/generic/time_members.cc
5671       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5672       ;;
5673     gnu)
5674       echo "$as_me:$LINENO: result: gnu" >&5
5675 echo "${ECHO_T}gnu" >&6
5676
5677       # Declare intention to use gettext, and add support for specific
5678       # languages.
5679       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5680       ALL_LINGUAS="de fr"
5681
5682       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5683       # Extract the first word of "msgfmt", so it can be a program name with args.
5684 set dummy msgfmt; ac_word=$2
5685 echo "$as_me:$LINENO: checking for $ac_word" >&5
5686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5687 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5688   echo $ECHO_N "(cached) $ECHO_C" >&6
5689 else
5690   if test -n "$check_msgfmt"; then
5691   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5695 do
5696   IFS=$as_save_IFS
5697   test -z "$as_dir" && as_dir=.
5698   for ac_exec_ext in '' $ac_executable_extensions; do
5699   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700     ac_cv_prog_check_msgfmt="yes"
5701     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702     break 2
5703   fi
5704 done
5705 done
5706
5707   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5708 fi
5709 fi
5710 check_msgfmt=$ac_cv_prog_check_msgfmt
5711 if test -n "$check_msgfmt"; then
5712   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5713 echo "${ECHO_T}$check_msgfmt" >&6
5714 else
5715   echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5717 fi
5718
5719       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5720         USE_NLS=yes
5721       fi
5722       # Export the build objects.
5723       for ling in $ALL_LINGUAS; do \
5724         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5725         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5726       done
5727
5728
5729
5730       CLOCALE_H=config/locale/gnu/c_locale.h
5731       CLOCALE_CC=config/locale/gnu/c_locale.cc
5732       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5733       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5734       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5735       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5736       CMESSAGES_H=config/locale/gnu/messages_members.h
5737       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5738       CMONEY_CC=config/locale/gnu/monetary_members.cc
5739       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5740       CTIME_H=config/locale/gnu/time_members.h
5741       CTIME_CC=config/locale/gnu/time_members.cc
5742       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5743       ;;
5744     ieee_1003.1-2001)
5745       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5746 echo "${ECHO_T}IEEE 1003.1" >&6
5747
5748       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5749       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5750       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5751       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5752       CCOLLATE_CC=config/locale/generic/collate_members.cc
5753       CCTYPE_CC=config/locale/generic/ctype_members.cc
5754       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5755       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5756       CMONEY_CC=config/locale/generic/monetary_members.cc
5757       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5758       CTIME_H=config/locale/generic/time_members.h
5759       CTIME_CC=config/locale/generic/time_members.cc
5760       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5761       ;;
5762   esac
5763
5764   # This is where the testsuite looks for locale catalogs, using the
5765   # -DLOCALEDIR define during testsuite compilation.
5766   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5767
5768
5769   # A standalone libintl (e.g., GNU libintl) may be in use.
5770   if test $USE_NLS = yes; then
5771
5772 for ac_header in libintl.h
5773 do
5774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5776   echo "$as_me:$LINENO: checking for $ac_header" >&5
5777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5779   echo $ECHO_N "(cached) $ECHO_C" >&6
5780 fi
5781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5783 else
5784   # Is the header compilable?
5785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5787 cat >conftest.$ac_ext <<_ACEOF
5788 #line $LINENO "configure"
5789 /* confdefs.h.  */
5790 _ACEOF
5791 cat confdefs.h >>conftest.$ac_ext
5792 cat >>conftest.$ac_ext <<_ACEOF
5793 /* end confdefs.h.  */
5794 $ac_includes_default
5795 #include <$ac_header>
5796 _ACEOF
5797 rm -f conftest.$ac_objext
5798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5799   (eval $ac_compile) 2>&5
5800   ac_status=$?
5801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802   (exit $ac_status); } &&
5803          { ac_try='test -s conftest.$ac_objext'
5804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805   (eval $ac_try) 2>&5
5806   ac_status=$?
5807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808   (exit $ac_status); }; }; then
5809   ac_header_compiler=yes
5810 else
5811   echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.$ac_ext >&5
5813
5814 ac_header_compiler=no
5815 fi
5816 rm -f conftest.$ac_objext conftest.$ac_ext
5817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5818 echo "${ECHO_T}$ac_header_compiler" >&6
5819
5820 # Is the header present?
5821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5823 cat >conftest.$ac_ext <<_ACEOF
5824 #line $LINENO "configure"
5825 /* confdefs.h.  */
5826 _ACEOF
5827 cat confdefs.h >>conftest.$ac_ext
5828 cat >>conftest.$ac_ext <<_ACEOF
5829 /* end confdefs.h.  */
5830 #include <$ac_header>
5831 _ACEOF
5832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5833   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5834   ac_status=$?
5835   grep -v '^ *+' conftest.er1 >conftest.err
5836   rm -f conftest.er1
5837   cat conftest.err >&5
5838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839   (exit $ac_status); } >/dev/null; then
5840   if test -s conftest.err; then
5841     ac_cpp_err=$ac_c_preproc_warn_flag
5842   else
5843     ac_cpp_err=
5844   fi
5845 else
5846   ac_cpp_err=yes
5847 fi
5848 if test -z "$ac_cpp_err"; then
5849   ac_header_preproc=yes
5850 else
5851   echo "$as_me: failed program was:" >&5
5852 sed 's/^/| /' conftest.$ac_ext >&5
5853
5854   ac_header_preproc=no
5855 fi
5856 rm -f conftest.err conftest.$ac_ext
5857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5858 echo "${ECHO_T}$ac_header_preproc" >&6
5859
5860 # So?  What about this header?
5861 case $ac_header_compiler:$ac_header_preproc in
5862   yes:no )
5863     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5865     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5867     (
5868       cat <<\_ASBOX
5869 ## ------------------------------------ ##
5870 ## Report this to bug-autoconf@gnu.org. ##
5871 ## ------------------------------------ ##
5872 _ASBOX
5873     ) |
5874       sed "s/^/$as_me: WARNING:     /" >&2
5875     ;;
5876   no:yes )
5877     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5879     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5881     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5883     (
5884       cat <<\_ASBOX
5885 ## ------------------------------------ ##
5886 ## Report this to bug-autoconf@gnu.org. ##
5887 ## ------------------------------------ ##
5888 _ASBOX
5889     ) |
5890       sed "s/^/$as_me: WARNING:     /" >&2
5891     ;;
5892 esac
5893 echo "$as_me:$LINENO: checking for $ac_header" >&5
5894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5896   echo $ECHO_N "(cached) $ECHO_C" >&6
5897 else
5898   eval "$as_ac_Header=$ac_header_preproc"
5899 fi
5900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5902
5903 fi
5904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5905   cat >>confdefs.h <<_ACEOF
5906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5907 _ACEOF
5908
5909 else
5910   USE_NLS=no
5911 fi
5912
5913 done
5914
5915     echo "$as_me:$LINENO: checking for library containing gettext" >&5
5916 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5917 if test "${ac_cv_search_gettext+set}" = set; then
5918   echo $ECHO_N "(cached) $ECHO_C" >&6
5919 else
5920   ac_func_search_save_LIBS=$LIBS
5921 ac_cv_search_gettext=no
5922 if test x$gcc_no_link = xyes; then
5923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5925    { (exit 1); exit 1; }; }
5926 fi
5927 cat >conftest.$ac_ext <<_ACEOF
5928 #line $LINENO "configure"
5929 /* confdefs.h.  */
5930 _ACEOF
5931 cat confdefs.h >>conftest.$ac_ext
5932 cat >>conftest.$ac_ext <<_ACEOF
5933 /* end confdefs.h.  */
5934
5935 /* Override any gcc2 internal prototype to avoid an error.  */
5936 #ifdef __cplusplus
5937 extern "C"
5938 #endif
5939 /* We use char because int might match the return type of a gcc2
5940    builtin and then its argument prototype would still apply.  */
5941 char gettext ();
5942 int
5943 main ()
5944 {
5945 gettext ();
5946   ;
5947   return 0;
5948 }
5949 _ACEOF
5950 rm -f conftest.$ac_objext conftest$ac_exeext
5951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5952   (eval $ac_link) 2>&5
5953   ac_status=$?
5954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955   (exit $ac_status); } &&
5956          { ac_try='test -s conftest$ac_exeext'
5957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958   (eval $ac_try) 2>&5
5959   ac_status=$?
5960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961   (exit $ac_status); }; }; then
5962   ac_cv_search_gettext="none required"
5963 else
5964   echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.$ac_ext >&5
5966
5967 fi
5968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5969 if test "$ac_cv_search_gettext" = no; then
5970   for ac_lib in intl; do
5971     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5972     if test x$gcc_no_link = xyes; then
5973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5975    { (exit 1); exit 1; }; }
5976 fi
5977 cat >conftest.$ac_ext <<_ACEOF
5978 #line $LINENO "configure"
5979 /* confdefs.h.  */
5980 _ACEOF
5981 cat confdefs.h >>conftest.$ac_ext
5982 cat >>conftest.$ac_ext <<_ACEOF
5983 /* end confdefs.h.  */
5984
5985 /* Override any gcc2 internal prototype to avoid an error.  */
5986 #ifdef __cplusplus
5987 extern "C"
5988 #endif
5989 /* We use char because int might match the return type of a gcc2
5990    builtin and then its argument prototype would still apply.  */
5991 char gettext ();
5992 int
5993 main ()
5994 {
5995 gettext ();
5996   ;
5997   return 0;
5998 }
5999 _ACEOF
6000 rm -f conftest.$ac_objext conftest$ac_exeext
6001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6002   (eval $ac_link) 2>&5
6003   ac_status=$?
6004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005   (exit $ac_status); } &&
6006          { ac_try='test -s conftest$ac_exeext'
6007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008   (eval $ac_try) 2>&5
6009   ac_status=$?
6010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011   (exit $ac_status); }; }; then
6012   ac_cv_search_gettext="-l$ac_lib"
6013 break
6014 else
6015   echo "$as_me: failed program was:" >&5
6016 sed 's/^/| /' conftest.$ac_ext >&5
6017
6018 fi
6019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6020   done
6021 fi
6022 LIBS=$ac_func_search_save_LIBS
6023 fi
6024 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6025 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6026 if test "$ac_cv_search_gettext" != no; then
6027   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6028
6029 else
6030   USE_NLS=no
6031 fi
6032
6033   fi
6034   if test $USE_NLS = yes; then
6035     cat >>confdefs.h <<\_ACEOF
6036 #define _GLIBCXX_USE_NLS 1
6037 _ACEOF
6038
6039   fi
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6058 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6059    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6060 if test "${enable_libstdcxx_allocator+set}" = set; then
6061   enableval="$enable_libstdcxx_allocator"
6062
6063       case "$enableval" in
6064        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6065        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6066 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6067    { (exit 1); exit 1; }; } ;;
6068                           esac
6069
6070 else
6071   enable_libstdcxx_allocator=auto
6072 fi;
6073
6074   # If they didn't use this option switch, or if they specified --enable
6075   # with no specific model, we'll have to look for one.  If they
6076   # specified --disable (???), do likewise.
6077   if test $enable_libstdcxx_allocator = no || test $enable_libstdcxx_allocator = yes; then
6078      enable_libstdcxx_allocator=auto
6079   fi
6080
6081   # Either a known package, or "auto"
6082   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6083
6084   # Probe for host-specific support if no specific model is specified.
6085   # Default to "new".
6086   if test $enable_libstdcxx_allocator_flag = auto; then
6087     case ${target_os} in
6088       *)
6089         enable_libstdcxx_allocator_flag=new
6090         ;;
6091     esac
6092   fi
6093   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6094 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6095
6096
6097   # Set configure bits for specified locale package
6098   case ${enable_libstdcxx_allocator_flag} in
6099     bitmap)
6100       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6101       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6102       ;;
6103     malloc)
6104       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6105       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6106       ;;
6107     mt)
6108       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6109       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6110       ;;
6111     new)
6112       ALLOCATOR_H=config/allocator/new_allocator_base.h
6113       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6114       ;;
6115     pool)
6116       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6117       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6118       ;;
6119   esac
6120
6121
6122
6123
6124
6125    # Check whether --enable-cheaders or --disable-cheaders was given.
6126 if test "${enable_cheaders+set}" = set; then
6127   enableval="$enable_cheaders"
6128
6129       case "$enableval" in
6130        c|c_std) ;;
6131        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6132 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6133    { (exit 1); exit 1; }; } ;;
6134                           esac
6135
6136 else
6137   enable_cheaders=$c_model
6138 fi;
6139
6140   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6141 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6142
6143   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6144
6145
6146
6147
6148
6149
6150    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6151 if test "${enable_c_mbchar+set}" = set; then
6152   enableval="$enable_c_mbchar"
6153
6154       case "$enableval" in
6155        yes|no) ;;
6156        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6157 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6158    { (exit 1); exit 1; }; } ;;
6159       esac
6160
6161 else
6162   enable_c_mbchar=yes
6163 fi;
6164
6165   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6166
6167
6168
6169    # Check whether --enable-c99 or --disable-c99 was given.
6170 if test "${enable_c99+set}" = set; then
6171   enableval="$enable_c99"
6172
6173       case "$enableval" in
6174        yes|no) ;;
6175        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6176 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6177    { (exit 1); exit 1; }; } ;;
6178       esac
6179
6180 else
6181   enable_c99=yes
6182 fi;
6183
6184
6185
6186
6187   ac_ext=cc
6188 ac_cpp='$CXXCPP $CPPFLAGS'
6189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6192
6193
6194   # Check for the existence of <math.h> functions used if C99 is enabled.
6195   ac_c99_math=yes;
6196   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6197 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6198   cat >conftest.$ac_ext <<_ACEOF
6199 #line $LINENO "configure"
6200 /* confdefs.h.  */
6201 _ACEOF
6202 cat confdefs.h >>conftest.$ac_ext
6203 cat >>conftest.$ac_ext <<_ACEOF
6204 /* end confdefs.h.  */
6205 #include <math.h>
6206 int
6207 main ()
6208 {
6209 fpclassify(0.0);
6210   ;
6211   return 0;
6212 }
6213 _ACEOF
6214 rm -f conftest.$ac_objext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6216   (eval $ac_compile) 2>&5
6217   ac_status=$?
6218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219   (exit $ac_status); } &&
6220          { ac_try='test -s conftest.$ac_objext'
6221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222   (eval $ac_try) 2>&5
6223   ac_status=$?
6224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225   (exit $ac_status); }; }; then
6226   :
6227 else
6228   echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.$ac_ext >&5
6230
6231 ac_c99_math=no
6232 fi
6233 rm -f conftest.$ac_objext conftest.$ac_ext
6234   cat >conftest.$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6236 /* confdefs.h.  */
6237 _ACEOF
6238 cat confdefs.h >>conftest.$ac_ext
6239 cat >>conftest.$ac_ext <<_ACEOF
6240 /* end confdefs.h.  */
6241 #include <math.h>
6242 int
6243 main ()
6244 {
6245 isfinite(0.0);
6246   ;
6247   return 0;
6248 }
6249 _ACEOF
6250 rm -f conftest.$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252   (eval $ac_compile) 2>&5
6253   ac_status=$?
6254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255   (exit $ac_status); } &&
6256          { ac_try='test -s conftest.$ac_objext'
6257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6258   (eval $ac_try) 2>&5
6259   ac_status=$?
6260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261   (exit $ac_status); }; }; then
6262   :
6263 else
6264   echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.$ac_ext >&5
6266
6267 ac_c99_math=no
6268 fi
6269 rm -f conftest.$ac_objext conftest.$ac_ext
6270   cat >conftest.$ac_ext <<_ACEOF
6271 #line $LINENO "configure"
6272 /* confdefs.h.  */
6273 _ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h.  */
6277 #include <math.h>
6278 int
6279 main ()
6280 {
6281 isinf(0.0);
6282   ;
6283   return 0;
6284 }
6285 _ACEOF
6286 rm -f conftest.$ac_objext
6287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6288   (eval $ac_compile) 2>&5
6289   ac_status=$?
6290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291   (exit $ac_status); } &&
6292          { ac_try='test -s conftest.$ac_objext'
6293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294   (eval $ac_try) 2>&5
6295   ac_status=$?
6296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297   (exit $ac_status); }; }; then
6298   :
6299 else
6300   echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6302
6303 ac_c99_math=no
6304 fi
6305 rm -f conftest.$ac_objext conftest.$ac_ext
6306   cat >conftest.$ac_ext <<_ACEOF
6307 #line $LINENO "configure"
6308 /* confdefs.h.  */
6309 _ACEOF
6310 cat confdefs.h >>conftest.$ac_ext
6311 cat >>conftest.$ac_ext <<_ACEOF
6312 /* end confdefs.h.  */
6313 #include <math.h>
6314 int
6315 main ()
6316 {
6317 isnan(0.0);
6318   ;
6319   return 0;
6320 }
6321 _ACEOF
6322 rm -f conftest.$ac_objext
6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324   (eval $ac_compile) 2>&5
6325   ac_status=$?
6326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327   (exit $ac_status); } &&
6328          { ac_try='test -s conftest.$ac_objext'
6329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330   (eval $ac_try) 2>&5
6331   ac_status=$?
6332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333   (exit $ac_status); }; }; then
6334   :
6335 else
6336   echo "$as_me: failed program was:" >&5
6337 sed 's/^/| /' conftest.$ac_ext >&5
6338
6339 ac_c99_math=no
6340 fi
6341 rm -f conftest.$ac_objext conftest.$ac_ext
6342   cat >conftest.$ac_ext <<_ACEOF
6343 #line $LINENO "configure"
6344 /* confdefs.h.  */
6345 _ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h.  */
6349 #include <math.h>
6350 int
6351 main ()
6352 {
6353 isnormal(0.0);
6354   ;
6355   return 0;
6356 }
6357 _ACEOF
6358 rm -f conftest.$ac_objext
6359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6360   (eval $ac_compile) 2>&5
6361   ac_status=$?
6362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363   (exit $ac_status); } &&
6364          { ac_try='test -s conftest.$ac_objext'
6365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366   (eval $ac_try) 2>&5
6367   ac_status=$?
6368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369   (exit $ac_status); }; }; then
6370   :
6371 else
6372   echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6374
6375 ac_c99_math=no
6376 fi
6377 rm -f conftest.$ac_objext conftest.$ac_ext
6378   cat >conftest.$ac_ext <<_ACEOF
6379 #line $LINENO "configure"
6380 /* confdefs.h.  */
6381 _ACEOF
6382 cat confdefs.h >>conftest.$ac_ext
6383 cat >>conftest.$ac_ext <<_ACEOF
6384 /* end confdefs.h.  */
6385 #include <math.h>
6386 int
6387 main ()
6388 {
6389 signbit(0.0);
6390   ;
6391   return 0;
6392 }
6393 _ACEOF
6394 rm -f conftest.$ac_objext
6395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6396   (eval $ac_compile) 2>&5
6397   ac_status=$?
6398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399   (exit $ac_status); } &&
6400          { ac_try='test -s conftest.$ac_objext'
6401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402   (eval $ac_try) 2>&5
6403   ac_status=$?
6404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405   (exit $ac_status); }; }; then
6406   :
6407 else
6408   echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.$ac_ext >&5
6410
6411 ac_c99_math=no
6412 fi
6413 rm -f conftest.$ac_objext conftest.$ac_ext
6414   cat >conftest.$ac_ext <<_ACEOF
6415 #line $LINENO "configure"
6416 /* confdefs.h.  */
6417 _ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h.  */
6421 #include <math.h>
6422 int
6423 main ()
6424 {
6425 isgreater(0.0,0.0);
6426   ;
6427   return 0;
6428 }
6429 _ACEOF
6430 rm -f conftest.$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432   (eval $ac_compile) 2>&5
6433   ac_status=$?
6434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435   (exit $ac_status); } &&
6436          { ac_try='test -s conftest.$ac_objext'
6437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438   (eval $ac_try) 2>&5
6439   ac_status=$?
6440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441   (exit $ac_status); }; }; then
6442   :
6443 else
6444   echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6446
6447 ac_c99_math=no
6448 fi
6449 rm -f conftest.$ac_objext conftest.$ac_ext
6450   cat >conftest.$ac_ext <<_ACEOF
6451 #line $LINENO "configure"
6452 /* confdefs.h.  */
6453 _ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h.  */
6457 #include <math.h>
6458 int
6459 main ()
6460 {
6461 isgreaterequal(0.0,0.0);
6462   ;
6463   return 0;
6464 }
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468   (eval $ac_compile) 2>&5
6469   ac_status=$?
6470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471   (exit $ac_status); } &&
6472          { ac_try='test -s conftest.$ac_objext'
6473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6474   (eval $ac_try) 2>&5
6475   ac_status=$?
6476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477   (exit $ac_status); }; }; then
6478   :
6479 else
6480   echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6482
6483 ac_c99_math=no
6484 fi
6485 rm -f conftest.$ac_objext conftest.$ac_ext
6486   cat >conftest.$ac_ext <<_ACEOF
6487 #line $LINENO "configure"
6488 /* confdefs.h.  */
6489 _ACEOF
6490 cat confdefs.h >>conftest.$ac_ext
6491 cat >>conftest.$ac_ext <<_ACEOF
6492 /* end confdefs.h.  */
6493 #include <math.h>
6494 int
6495 main ()
6496 {
6497 isless(0.0,0.0);
6498   ;
6499   return 0;
6500 }
6501 _ACEOF
6502 rm -f conftest.$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504   (eval $ac_compile) 2>&5
6505   ac_status=$?
6506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507   (exit $ac_status); } &&
6508          { ac_try='test -s conftest.$ac_objext'
6509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510   (eval $ac_try) 2>&5
6511   ac_status=$?
6512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513   (exit $ac_status); }; }; then
6514   :
6515 else
6516   echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6518
6519 ac_c99_math=no
6520 fi
6521 rm -f conftest.$ac_objext conftest.$ac_ext
6522   cat >conftest.$ac_ext <<_ACEOF
6523 #line $LINENO "configure"
6524 /* confdefs.h.  */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h.  */
6529 #include <math.h>
6530 int
6531 main ()
6532 {
6533 islessequal(0.0,0.0);
6534   ;
6535   return 0;
6536 }
6537 _ACEOF
6538 rm -f conftest.$ac_objext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6540   (eval $ac_compile) 2>&5
6541   ac_status=$?
6542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543   (exit $ac_status); } &&
6544          { ac_try='test -s conftest.$ac_objext'
6545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546   (eval $ac_try) 2>&5
6547   ac_status=$?
6548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549   (exit $ac_status); }; }; then
6550   :
6551 else
6552   echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.$ac_ext >&5
6554
6555 ac_c99_math=no
6556 fi
6557 rm -f conftest.$ac_objext conftest.$ac_ext
6558   cat >conftest.$ac_ext <<_ACEOF
6559 #line $LINENO "configure"
6560 /* confdefs.h.  */
6561 _ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h.  */
6565 #include <math.h>
6566 int
6567 main ()
6568 {
6569 islessgreater(0.0,0.0);
6570   ;
6571   return 0;
6572 }
6573 _ACEOF
6574 rm -f conftest.$ac_objext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6576   (eval $ac_compile) 2>&5
6577   ac_status=$?
6578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579   (exit $ac_status); } &&
6580          { ac_try='test -s conftest.$ac_objext'
6581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582   (eval $ac_try) 2>&5
6583   ac_status=$?
6584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585   (exit $ac_status); }; }; then
6586   :
6587 else
6588   echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.$ac_ext >&5
6590
6591 ac_c99_math=no
6592 fi
6593 rm -f conftest.$ac_objext conftest.$ac_ext
6594   cat >conftest.$ac_ext <<_ACEOF
6595 #line $LINENO "configure"
6596 /* confdefs.h.  */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h.  */
6601 #include <math.h>
6602 int
6603 main ()
6604 {
6605 isunordered(0.0,0.0);
6606   ;
6607   return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612   (eval $ac_compile) 2>&5
6613   ac_status=$?
6614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615   (exit $ac_status); } &&
6616          { ac_try='test -s conftest.$ac_objext'
6617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618   (eval $ac_try) 2>&5
6619   ac_status=$?
6620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621   (exit $ac_status); }; }; then
6622   :
6623 else
6624   echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6626
6627 ac_c99_math=no
6628 fi
6629 rm -f conftest.$ac_objext conftest.$ac_ext
6630   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6631 echo "${ECHO_T}$ac_c99_math" >&6
6632
6633   if test x"$ac_c99_math" = x"yes"; then
6634     cat >>confdefs.h <<\_ACEOF
6635 #define _GLIBCXX_USE_C99_MATH 1
6636 _ACEOF
6637
6638   fi
6639
6640   # Check for the existence in <stdio.h> of vscanf, et. al.
6641   ac_c99_stdio=yes;
6642   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6643 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6644   cat >conftest.$ac_ext <<_ACEOF
6645 #line $LINENO "configure"
6646 /* confdefs.h.  */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h.  */
6651 #include <stdio.h>
6652 int
6653 main ()
6654 {
6655 snprintf("12", 0, "%i");
6656   ;
6657   return 0;
6658 }
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662   (eval $ac_compile) 2>&5
6663   ac_status=$?
6664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665   (exit $ac_status); } &&
6666          { ac_try='test -s conftest.$ac_objext'
6667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6668   (eval $ac_try) 2>&5
6669   ac_status=$?
6670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671   (exit $ac_status); }; }; then
6672   :
6673 else
6674   echo "$as_me: failed program was:" >&5
6675 sed 's/^/| /' conftest.$ac_ext >&5
6676
6677 ac_c99_stdio=no
6678 fi
6679 rm -f conftest.$ac_objext conftest.$ac_ext
6680   cat >conftest.$ac_ext <<_ACEOF
6681 #line $LINENO "configure"
6682 /* confdefs.h.  */
6683 _ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h.  */
6687 #include <stdio.h>
6688                   #include <stdarg.h>
6689                   void foo(char* fmt, ...)
6690                   {va_list args; va_start(args, fmt);
6691                   vfscanf(stderr, "%i", args);}
6692 int
6693 main ()
6694 {
6695
6696   ;
6697   return 0;
6698 }
6699 _ACEOF
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702   (eval $ac_compile) 2>&5
6703   ac_status=$?
6704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705   (exit $ac_status); } &&
6706          { ac_try='test -s conftest.$ac_objext'
6707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708   (eval $ac_try) 2>&5
6709   ac_status=$?
6710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711   (exit $ac_status); }; }; then
6712   :
6713 else
6714   echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6716
6717 ac_c99_stdio=no
6718 fi
6719 rm -f conftest.$ac_objext conftest.$ac_ext
6720   cat >conftest.$ac_ext <<_ACEOF
6721 #line $LINENO "configure"
6722 /* confdefs.h.  */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h.  */
6727 #include <stdio.h>
6728                   #include <stdarg.h>
6729                   void foo(char* fmt, ...)
6730                   {va_list args; va_start(args, fmt);
6731                   vscanf("%i", args);}
6732 int
6733 main ()
6734 {
6735
6736   ;
6737   return 0;
6738 }
6739 _ACEOF
6740 rm -f conftest.$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742   (eval $ac_compile) 2>&5
6743   ac_status=$?
6744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745   (exit $ac_status); } &&
6746          { ac_try='test -s conftest.$ac_objext'
6747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748   (eval $ac_try) 2>&5
6749   ac_status=$?
6750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751   (exit $ac_status); }; }; then
6752   :
6753 else
6754   echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6756
6757 ac_c99_stdio=no
6758 fi
6759 rm -f conftest.$ac_objext conftest.$ac_ext
6760   cat >conftest.$ac_ext <<_ACEOF
6761 #line $LINENO "configure"
6762 /* confdefs.h.  */
6763 _ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h.  */
6767 #include <stdio.h>
6768                   #include <stdarg.h>
6769                   void foo(char* fmt, ...)
6770                   {va_list args; va_start(args, fmt);
6771                   vsnprintf(fmt, 0, "%i", args);}
6772 int
6773 main ()
6774 {
6775
6776   ;
6777   return 0;
6778 }
6779 _ACEOF
6780 rm -f conftest.$ac_objext
6781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6782   (eval $ac_compile) 2>&5
6783   ac_status=$?
6784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785   (exit $ac_status); } &&
6786          { ac_try='test -s conftest.$ac_objext'
6787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788   (eval $ac_try) 2>&5
6789   ac_status=$?
6790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791   (exit $ac_status); }; }; then
6792   :
6793 else
6794   echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.$ac_ext >&5
6796
6797 ac_c99_stdio=no
6798 fi
6799 rm -f conftest.$ac_objext conftest.$ac_ext
6800   cat >conftest.$ac_ext <<_ACEOF
6801 #line $LINENO "configure"
6802 /* confdefs.h.  */
6803 _ACEOF
6804 cat confdefs.h >>conftest.$ac_ext
6805 cat >>conftest.$ac_ext <<_ACEOF
6806 /* end confdefs.h.  */
6807 #include <stdio.h>
6808                   #include <stdarg.h>
6809                   void foo(char* fmt, ...)
6810                   {va_list args; va_start(args, fmt);
6811                   vsscanf(fmt, "%i", args);}
6812 int
6813 main ()
6814 {
6815
6816   ;
6817   return 0;
6818 }
6819 _ACEOF
6820 rm -f conftest.$ac_objext
6821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6822   (eval $ac_compile) 2>&5
6823   ac_status=$?
6824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825   (exit $ac_status); } &&
6826          { ac_try='test -s conftest.$ac_objext'
6827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828   (eval $ac_try) 2>&5
6829   ac_status=$?
6830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831   (exit $ac_status); }; }; then
6832   :
6833 else
6834   echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6836
6837 ac_c99_stdio=no
6838 fi
6839 rm -f conftest.$ac_objext conftest.$ac_ext
6840   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6841 echo "${ECHO_T}$ac_c99_stdio" >&6
6842
6843   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6844   ac_c99_stdlib=yes;
6845   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6846 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6847   if test "${ac_c99_lldiv_t+set}" = set; then
6848   echo $ECHO_N "(cached) $ECHO_C" >&6
6849 else
6850
6851   cat >conftest.$ac_ext <<_ACEOF
6852 #line $LINENO "configure"
6853 /* confdefs.h.  */
6854 _ACEOF
6855 cat confdefs.h >>conftest.$ac_ext
6856 cat >>conftest.$ac_ext <<_ACEOF
6857 /* end confdefs.h.  */
6858 #include <stdlib.h>
6859 int
6860 main ()
6861 {
6862  lldiv_t mydivt;
6863   ;
6864   return 0;
6865 }
6866 _ACEOF
6867 rm -f conftest.$ac_objext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869   (eval $ac_compile) 2>&5
6870   ac_status=$?
6871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872   (exit $ac_status); } &&
6873          { ac_try='test -s conftest.$ac_objext'
6874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875   (eval $ac_try) 2>&5
6876   ac_status=$?
6877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878   (exit $ac_status); }; }; then
6879   ac_c99_lldiv_t=yes
6880 else
6881   echo "$as_me: failed program was:" >&5
6882 sed 's/^/| /' conftest.$ac_ext >&5
6883
6884 ac_c99_lldiv_t=no
6885 fi
6886 rm -f conftest.$ac_objext conftest.$ac_ext
6887
6888 fi
6889
6890   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6891 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6892
6893   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6894 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6895   cat >conftest.$ac_ext <<_ACEOF
6896 #line $LINENO "configure"
6897 /* confdefs.h.  */
6898 _ACEOF
6899 cat confdefs.h >>conftest.$ac_ext
6900 cat >>conftest.$ac_ext <<_ACEOF
6901 /* end confdefs.h.  */
6902 #include <stdlib.h>
6903 int
6904 main ()
6905 {
6906 char* tmp; strtof("gnu", &tmp);
6907   ;
6908   return 0;
6909 }
6910 _ACEOF
6911 rm -f conftest.$ac_objext
6912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6913   (eval $ac_compile) 2>&5
6914   ac_status=$?
6915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916   (exit $ac_status); } &&
6917          { ac_try='test -s conftest.$ac_objext'
6918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919   (eval $ac_try) 2>&5
6920   ac_status=$?
6921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922   (exit $ac_status); }; }; then
6923   :
6924 else
6925   echo "$as_me: failed program was:" >&5
6926 sed 's/^/| /' conftest.$ac_ext >&5
6927
6928 ac_c99_stdlib=no
6929 fi
6930 rm -f conftest.$ac_objext conftest.$ac_ext
6931   cat >conftest.$ac_ext <<_ACEOF
6932 #line $LINENO "configure"
6933 /* confdefs.h.  */
6934 _ACEOF
6935 cat confdefs.h >>conftest.$ac_ext
6936 cat >>conftest.$ac_ext <<_ACEOF
6937 /* end confdefs.h.  */
6938 #include <stdlib.h>
6939 int
6940 main ()
6941 {
6942 char* tmp; strtold("gnu", &tmp);
6943   ;
6944   return 0;
6945 }
6946 _ACEOF
6947 rm -f conftest.$ac_objext
6948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6949   (eval $ac_compile) 2>&5
6950   ac_status=$?
6951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952   (exit $ac_status); } &&
6953          { ac_try='test -s conftest.$ac_objext'
6954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955   (eval $ac_try) 2>&5
6956   ac_status=$?
6957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958   (exit $ac_status); }; }; then
6959   :
6960 else
6961   echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6963
6964 ac_c99_stdlib=no
6965 fi
6966 rm -f conftest.$ac_objext conftest.$ac_ext
6967   cat >conftest.$ac_ext <<_ACEOF
6968 #line $LINENO "configure"
6969 /* confdefs.h.  */
6970 _ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h.  */
6974 #include <stdlib.h>
6975 int
6976 main ()
6977 {
6978 llabs(10);
6979   ;
6980   return 0;
6981 }
6982 _ACEOF
6983 rm -f conftest.$ac_objext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985   (eval $ac_compile) 2>&5
6986   ac_status=$?
6987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988   (exit $ac_status); } &&
6989          { ac_try='test -s conftest.$ac_objext'
6990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991   (eval $ac_try) 2>&5
6992   ac_status=$?
6993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994   (exit $ac_status); }; }; then
6995   :
6996 else
6997   echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
6999
7000 ac_c99_stdlib=no
7001 fi
7002 rm -f conftest.$ac_objext conftest.$ac_ext
7003   cat >conftest.$ac_ext <<_ACEOF
7004 #line $LINENO "configure"
7005 /* confdefs.h.  */
7006 _ACEOF
7007 cat confdefs.h >>conftest.$ac_ext
7008 cat >>conftest.$ac_ext <<_ACEOF
7009 /* end confdefs.h.  */
7010 #include <stdlib.h>
7011 int
7012 main ()
7013 {
7014 lldiv(10,1);
7015   ;
7016   return 0;
7017 }
7018 _ACEOF
7019 rm -f conftest.$ac_objext
7020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7021   (eval $ac_compile) 2>&5
7022   ac_status=$?
7023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024   (exit $ac_status); } &&
7025          { ac_try='test -s conftest.$ac_objext'
7026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7027   (eval $ac_try) 2>&5
7028   ac_status=$?
7029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030   (exit $ac_status); }; }; then
7031   :
7032 else
7033   echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7035
7036 ac_c99_stdlib=no
7037 fi
7038 rm -f conftest.$ac_objext conftest.$ac_ext
7039   cat >conftest.$ac_ext <<_ACEOF
7040 #line $LINENO "configure"
7041 /* confdefs.h.  */
7042 _ACEOF
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h.  */
7046 #include <stdlib.h>
7047 int
7048 main ()
7049 {
7050 atoll("10");
7051   ;
7052   return 0;
7053 }
7054 _ACEOF
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057   (eval $ac_compile) 2>&5
7058   ac_status=$?
7059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060   (exit $ac_status); } &&
7061          { ac_try='test -s conftest.$ac_objext'
7062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063   (eval $ac_try) 2>&5
7064   ac_status=$?
7065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066   (exit $ac_status); }; }; then
7067   :
7068 else
7069   echo "$as_me: failed program was:" >&5
7070 sed 's/^/| /' conftest.$ac_ext >&5
7071
7072 ac_c99_stdlib=no
7073 fi
7074 rm -f conftest.$ac_objext conftest.$ac_ext
7075   cat >conftest.$ac_ext <<_ACEOF
7076 #line $LINENO "configure"
7077 /* confdefs.h.  */
7078 _ACEOF
7079 cat confdefs.h >>conftest.$ac_ext
7080 cat >>conftest.$ac_ext <<_ACEOF
7081 /* end confdefs.h.  */
7082 #include <stdlib.h>
7083 int
7084 main ()
7085 {
7086 _Exit(0);
7087   ;
7088   return 0;
7089 }
7090 _ACEOF
7091 rm -f conftest.$ac_objext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093   (eval $ac_compile) 2>&5
7094   ac_status=$?
7095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096   (exit $ac_status); } &&
7097          { ac_try='test -s conftest.$ac_objext'
7098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099   (eval $ac_try) 2>&5
7100   ac_status=$?
7101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102   (exit $ac_status); }; }; then
7103   :
7104 else
7105   echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.$ac_ext >&5
7107
7108 ac_c99_stdlib=no
7109 fi
7110 rm -f conftest.$ac_objext conftest.$ac_ext
7111   if test x"$ac_c99_lldiv_t" = x"no"; then
7112     ac_c99_stdlib=no;
7113   fi;
7114   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7115 echo "${ECHO_T}$ac_c99_stdlib" >&6
7116
7117   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7118   # XXX the wchar.h checks should be rolled into the general C99 bits.
7119   ac_c99_wchar=yes;
7120   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7121 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7122   cat >conftest.$ac_ext <<_ACEOF
7123 #line $LINENO "configure"
7124 /* confdefs.h.  */
7125 _ACEOF
7126 cat confdefs.h >>conftest.$ac_ext
7127 cat >>conftest.$ac_ext <<_ACEOF
7128 /* end confdefs.h.  */
7129 #include <wchar.h>
7130 int
7131 main ()
7132 {
7133 wcstold(L"10.0", NULL);
7134   ;
7135   return 0;
7136 }
7137 _ACEOF
7138 rm -f conftest.$ac_objext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140   (eval $ac_compile) 2>&5
7141   ac_status=$?
7142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143   (exit $ac_status); } &&
7144          { ac_try='test -s conftest.$ac_objext'
7145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146   (eval $ac_try) 2>&5
7147   ac_status=$?
7148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149   (exit $ac_status); }; }; then
7150   :
7151 else
7152   echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7154
7155 ac_c99_wchar=no
7156 fi
7157 rm -f conftest.$ac_objext conftest.$ac_ext
7158   cat >conftest.$ac_ext <<_ACEOF
7159 #line $LINENO "configure"
7160 /* confdefs.h.  */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h.  */
7165 #include <wchar.h>
7166 int
7167 main ()
7168 {
7169 wcstoll(L"10", NULL, 10);
7170   ;
7171   return 0;
7172 }
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176   (eval $ac_compile) 2>&5
7177   ac_status=$?
7178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7179   (exit $ac_status); } &&
7180          { ac_try='test -s conftest.$ac_objext'
7181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182   (eval $ac_try) 2>&5
7183   ac_status=$?
7184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185   (exit $ac_status); }; }; then
7186   :
7187 else
7188   echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.$ac_ext >&5
7190
7191 ac_c99_wchar=no
7192 fi
7193 rm -f conftest.$ac_objext conftest.$ac_ext
7194   cat >conftest.$ac_ext <<_ACEOF
7195 #line $LINENO "configure"
7196 /* confdefs.h.  */
7197 _ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h.  */
7201 #include <wchar.h>
7202 int
7203 main ()
7204 {
7205 wcstoull(L"10", NULL, 10);
7206   ;
7207   return 0;
7208 }
7209 _ACEOF
7210 rm -f conftest.$ac_objext
7211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7212   (eval $ac_compile) 2>&5
7213   ac_status=$?
7214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215   (exit $ac_status); } &&
7216          { ac_try='test -s conftest.$ac_objext'
7217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218   (eval $ac_try) 2>&5
7219   ac_status=$?
7220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221   (exit $ac_status); }; }; then
7222   :
7223 else
7224   echo "$as_me: failed program was:" >&5
7225 sed 's/^/| /' conftest.$ac_ext >&5
7226
7227 ac_c99_wchar=no
7228 fi
7229 rm -f conftest.$ac_objext conftest.$ac_ext
7230   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7231 echo "${ECHO_T}$ac_c99_wchar" >&6
7232
7233   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7234 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7235   if test x"$ac_c99_math" = x"no" ||
7236      test x"$ac_c99_stdio" = x"no" ||
7237      test x"$ac_c99_stdlib" = x"no" ||
7238      test x"$ac_c99_wchar" = x"no"; then
7239     enable_c99=no;
7240   fi;
7241   echo "$as_me:$LINENO: result: $enable_c99" >&5
7242 echo "${ECHO_T}$enable_c99" >&6
7243
7244   if test x"$ac_99_math" = x"yes"; then
7245     cat >>confdefs.h <<\_ACEOF
7246 #define _GLIBCXX_USE_C99_MATH 1
7247 _ACEOF
7248
7249   fi
7250
7251   # Option parsed, now set things appropriately
7252   if test x"$enable_c99" = x"yes"; then
7253     cat >>confdefs.h <<\_ACEOF
7254 #define _GLIBCXX_USE_C99 1
7255 _ACEOF
7256
7257   fi
7258
7259   ac_ext=c
7260 ac_cpp='$CPP $CPPFLAGS'
7261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7264
7265
7266
7267    # Check whether --enable-long-long or --disable-long-long was given.
7268 if test "${enable_long_long+set}" = set; then
7269   enableval="$enable_long_long"
7270
7271       case "$enableval" in
7272        yes|no) ;;
7273        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7274 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7275    { (exit 1); exit 1; }; } ;;
7276       esac
7277
7278 else
7279   enable_long_long=yes
7280 fi;
7281
7282   if test $enable_long_long = yes; then
7283     cat >>confdefs.h <<\_ACEOF
7284 #define _GLIBCXX_USE_LONG_LONG 1
7285 _ACEOF
7286
7287   fi
7288
7289
7290   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7291 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7292   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7293   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7294 echo "${ECHO_T}$target_thread_file" >&6
7295
7296   if test $target_thread_file != single; then
7297     cat >>confdefs.h <<\_ACEOF
7298 #define HAVE_GTHR_DEFAULT 1
7299 _ACEOF
7300
7301   fi
7302
7303   glibcxx_thread_h=gthr-$target_thread_file.h
7304
7305
7306
7307    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7308 if test "${enable_concept_checks+set}" = set; then
7309   enableval="$enable_concept_checks"
7310
7311       case "$enableval" in
7312        yes|no) ;;
7313        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7314 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7315    { (exit 1); exit 1; }; } ;;
7316       esac
7317
7318 else
7319   enable_concept_checks=no
7320 fi;
7321
7322   if test $enable_concept_checks = yes; then
7323     cat >>confdefs.h <<\_ACEOF
7324 #define _GLIBCXX_CONCEPT_CHECKS 1
7325 _ACEOF
7326
7327   fi
7328
7329
7330    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7331 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7332   enableval="$enable_libstdcxx_debug_flags"
7333   case "x$enable_libstdcxx_debug_flags" in
7334       xno | x)    enable_libstdcxx_debug_flags= ;;
7335       x-*)        ;;
7336       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7337 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7338    { (exit 1); exit 1; }; } ;;
7339      esac
7340 else
7341   enable_libstdcxx_debug_flags="-g3 -O0"
7342 fi;
7343
7344
7345   # Option parsed, now set things appropriately
7346   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7347
7348
7349   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7350 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7351
7352
7353   echo "$as_me:$LINENO: checking for additional debug build" >&5
7354 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7355    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7356 if test "${enable_libstdcxx_debug+set}" = set; then
7357   enableval="$enable_libstdcxx_debug"
7358
7359       case "$enableval" in
7360        yes|no) ;;
7361        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7362 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7363    { (exit 1); exit 1; }; } ;;
7364       esac
7365
7366 else
7367   enable_libstdcxx_debug=no
7368 fi;
7369
7370   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7371 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7372
7373
7374   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7375 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7376    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7377 if test "${enable_cxx_flags+set}" = set; then
7378   enableval="$enable_cxx_flags"
7379   case "x$enable_cxx_flags" in
7380       xno | x)   enable_cxx_flags= ;;
7381       x-*)       ;;
7382       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7383 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7384    { (exit 1); exit 1; }; } ;;
7385      esac
7386 else
7387   enable_cxx_flags=
7388 fi;
7389
7390
7391   # Run through flags (either default or command-line) and set anything
7392   # extra (e.g., #defines) that must accompany particular g++ options.
7393   if test -n "$enable_cxx_flags"; then
7394     for f in $enable_cxx_flags; do
7395       case "$f" in
7396         -fhonor-std)  ;;
7397         -*)  ;;
7398         *)   # and we're trying to pass /what/ exactly?
7399              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7400 echo "$as_me: error: compiler flags start with a -" >&2;}
7401    { (exit 1); exit 1; }; } ;;
7402       esac
7403     done
7404   fi
7405
7406   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7407   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7408 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7409
7410
7411
7412 # No surprises, no surprises...
7413 if test $atomicity_dir = cpu/generic ; then
7414   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7415 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7416   if test $target_thread_file = single; then
7417     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7418 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7419     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7420 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7421   else
7422     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7423 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7424     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7425 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7426   fi
7427 fi
7428
7429
7430 if $GLIBCXX_IS_NATIVE; then
7431
7432   # We can do more elaborate tests that assume a working linker.
7433   CANADIAN=no
7434
7435   # Check for available headers.
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7450   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7451   sys/types.h
7452 do
7453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7455   echo "$as_me:$LINENO: checking for $ac_header" >&5
7456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7458   echo $ECHO_N "(cached) $ECHO_C" >&6
7459 fi
7460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7462 else
7463   # Is the header compilable?
7464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7466 cat >conftest.$ac_ext <<_ACEOF
7467 #line $LINENO "configure"
7468 /* confdefs.h.  */
7469 _ACEOF
7470 cat confdefs.h >>conftest.$ac_ext
7471 cat >>conftest.$ac_ext <<_ACEOF
7472 /* end confdefs.h.  */
7473 $ac_includes_default
7474 #include <$ac_header>
7475 _ACEOF
7476 rm -f conftest.$ac_objext
7477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7478   (eval $ac_compile) 2>&5
7479   ac_status=$?
7480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481   (exit $ac_status); } &&
7482          { ac_try='test -s conftest.$ac_objext'
7483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484   (eval $ac_try) 2>&5
7485   ac_status=$?
7486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487   (exit $ac_status); }; }; then
7488   ac_header_compiler=yes
7489 else
7490   echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7492
7493 ac_header_compiler=no
7494 fi
7495 rm -f conftest.$ac_objext conftest.$ac_ext
7496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7497 echo "${ECHO_T}$ac_header_compiler" >&6
7498
7499 # Is the header present?
7500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7502 cat >conftest.$ac_ext <<_ACEOF
7503 #line $LINENO "configure"
7504 /* confdefs.h.  */
7505 _ACEOF
7506 cat confdefs.h >>conftest.$ac_ext
7507 cat >>conftest.$ac_ext <<_ACEOF
7508 /* end confdefs.h.  */
7509 #include <$ac_header>
7510 _ACEOF
7511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7512   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7513   ac_status=$?
7514   grep -v '^ *+' conftest.er1 >conftest.err
7515   rm -f conftest.er1
7516   cat conftest.err >&5
7517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518   (exit $ac_status); } >/dev/null; then
7519   if test -s conftest.err; then
7520     ac_cpp_err=$ac_c_preproc_warn_flag
7521   else
7522     ac_cpp_err=
7523   fi
7524 else
7525   ac_cpp_err=yes
7526 fi
7527 if test -z "$ac_cpp_err"; then
7528   ac_header_preproc=yes
7529 else
7530   echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7532
7533   ac_header_preproc=no
7534 fi
7535 rm -f conftest.err conftest.$ac_ext
7536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7537 echo "${ECHO_T}$ac_header_preproc" >&6
7538
7539 # So?  What about this header?
7540 case $ac_header_compiler:$ac_header_preproc in
7541   yes:no )
7542     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7544     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7546     (
7547       cat <<\_ASBOX
7548 ## ------------------------------------ ##
7549 ## Report this to bug-autoconf@gnu.org. ##
7550 ## ------------------------------------ ##
7551 _ASBOX
7552     ) |
7553       sed "s/^/$as_me: WARNING:     /" >&2
7554     ;;
7555   no:yes )
7556     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7558     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7560     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7562     (
7563       cat <<\_ASBOX
7564 ## ------------------------------------ ##
7565 ## Report this to bug-autoconf@gnu.org. ##
7566 ## ------------------------------------ ##
7567 _ASBOX
7568     ) |
7569       sed "s/^/$as_me: WARNING:     /" >&2
7570     ;;
7571 esac
7572 echo "$as_me:$LINENO: checking for $ac_header" >&5
7573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7575   echo $ECHO_N "(cached) $ECHO_C" >&6
7576 else
7577   eval "$as_ac_Header=$ac_header_preproc"
7578 fi
7579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7581
7582 fi
7583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7584   cat >>confdefs.h <<_ACEOF
7585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7586 _ACEOF
7587
7588 fi
7589
7590 done
7591
7592
7593
7594   # All these tests are for C++; save the language and the compiler flags.
7595   # The CXXFLAGS thing is suspicious, but based on similar bits previously
7596   # found in GLIBCXX_CONFIGURE.
7597
7598
7599   ac_ext=cc
7600 ac_cpp='$CXXCPP $CPPFLAGS'
7601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7604
7605   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7606   ac_save_CXXFLAGS="$CXXFLAGS"
7607
7608   # Check for maintainer-mode bits.
7609   if test x"$USE_MAINTAINER_MODE" = xno; then
7610     WERROR=''
7611   else
7612     WERROR='-Werror'
7613   fi
7614
7615   # Check for -ffunction-sections -fdata-sections
7616   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7617 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7618   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7619   cat >conftest.$ac_ext <<_ACEOF
7620 #line $LINENO "configure"
7621 /* confdefs.h.  */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h.  */
7626
7627 int
7628 main ()
7629 {
7630 int foo;
7631   ;
7632   return 0;
7633 }
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7637   (eval $ac_compile) 2>&5
7638   ac_status=$?
7639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640   (exit $ac_status); } &&
7641          { ac_try='test -s conftest.$ac_objext'
7642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643   (eval $ac_try) 2>&5
7644   ac_status=$?
7645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646   (exit $ac_status); }; }; then
7647   ac_fdsections=yes
7648 else
7649   echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7651
7652 ac_fdsections=no
7653 fi
7654 rm -f conftest.$ac_objext conftest.$ac_ext
7655   if test "$ac_test_CXXFLAGS" = set; then
7656     CXXFLAGS="$ac_save_CXXFLAGS"
7657   else
7658     # this is the suspicious part
7659     CXXFLAGS=''
7660   fi
7661   if test x"$ac_fdsections" = x"yes"; then
7662     SECTION_FLAGS='-ffunction-sections -fdata-sections'
7663   fi
7664   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7665 echo "${ECHO_T}$ac_fdsections" >&6
7666
7667   ac_ext=c
7668 ac_cpp='$CPP $CPPFLAGS'
7669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7672
7673
7674
7675
7676
7677   # If we're not using GNU ld, then there's no point in even trying these
7678   # tests.  Check for that first.  We should have already tested for gld
7679   # by now (in libtool), but require it now just to be safe...
7680   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7681   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7682
7683
7684
7685   # The name set by libtool depends on the version of libtool.  Shame on us
7686   # for depending on an impl detail, but c'est la vie.  Older versions used
7687   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7688   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7689   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
7690   # set (hence we're using an older libtool), then set it.
7691   if test x${with_gnu_ld+set} != xset; then
7692     if test x${ac_cv_prog_gnu_ld+set} != xset; then
7693       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
7694       with_gnu_ld=no
7695     else
7696       with_gnu_ld=$ac_cv_prog_gnu_ld
7697     fi
7698   fi
7699
7700   # Start by getting the version number.  I think the libtool test already
7701   # does some of this, but throws away the result.
7702
7703   ldver=`$LD --version 2>/dev/null | head -1 | \
7704          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7705
7706   glibcxx_gnu_ld_version=`echo $ldver | \
7707          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7708
7709   # Set --gc-sections.
7710   if test "$with_gnu_ld" = "notbroken"; then
7711     # GNU ld it is!  Joy and bunny rabbits!
7712
7713     # All these tests are for C++; save the language and the compiler flags.
7714     # Need to do this so that g++ won't try to link in libstdc++
7715     ac_test_CFLAGS="${CFLAGS+set}"
7716     ac_save_CFLAGS="$CFLAGS"
7717     CFLAGS='-x c++  -Wl,--gc-sections'
7718
7719     # Check for -Wl,--gc-sections
7720     # XXX This test is broken at the moment, as symbols required for linking
7721     # are now in libsupc++ (not built yet).  In addition, this test has
7722     # cored on solaris in the past.  In addition, --gc-sections doesn't
7723     # really work at the moment (keeps on discarding used sections, first
7724     # .eh_frame and now some of the glibc sections for iconv).
7725     # Bzzzzt.  Thanks for playing, maybe next time.
7726     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7727 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7728     if test "$cross_compiling" = yes; then
7729   ac_sectionLDflags=yes
7730 else
7731   cat >conftest.$ac_ext <<_ACEOF
7732 #line $LINENO "configure"
7733 /* confdefs.h.  */
7734 _ACEOF
7735 cat confdefs.h >>conftest.$ac_ext
7736 cat >>conftest.$ac_ext <<_ACEOF
7737 /* end confdefs.h.  */
7738
7739      int main(void)
7740      {
7741        try { throw 1; }
7742        catch (...) { };
7743        return 0;
7744      }
7745
7746 _ACEOF
7747 rm -f conftest$ac_exeext
7748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7749   (eval $ac_link) 2>&5
7750   ac_status=$?
7751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7754   (eval $ac_try) 2>&5
7755   ac_status=$?
7756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757   (exit $ac_status); }; }; then
7758   ac_sectionLDflags=yes
7759 else
7760   echo "$as_me: program exited with status $ac_status" >&5
7761 echo "$as_me: failed program was:" >&5
7762 sed 's/^/| /' conftest.$ac_ext >&5
7763
7764 ( exit $ac_status )
7765 ac_sectionLDflags=no
7766 fi
7767 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7768 fi
7769     if test "$ac_test_CFLAGS" = set; then
7770       CFLAGS="$ac_save_CFLAGS"
7771     else
7772       # this is the suspicious part
7773       CFLAGS=''
7774     fi
7775     if test "$ac_sectionLDflags" = "yes"; then
7776       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7777     fi
7778     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7779 echo "${ECHO_T}$ac_sectionLDflags" >&6
7780   fi
7781
7782   # Set linker optimization flags.
7783   if test x"$with_gnu_ld" = x"yes"; then
7784     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7785   fi
7786
7787
7788
7789
7790
7791   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7792   ac_save_CXXFLAGS="$CXXFLAGS"
7793   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7794
7795     echo "$as_me:$LINENO: checking for sin in -lm" >&5
7796 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7797 if test "${ac_cv_lib_m_sin+set}" = set; then
7798   echo $ECHO_N "(cached) $ECHO_C" >&6
7799 else
7800   ac_check_lib_save_LIBS=$LIBS
7801 LIBS="-lm  $LIBS"
7802 if test x$gcc_no_link = xyes; then
7803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7805    { (exit 1); exit 1; }; }
7806 fi
7807 cat >conftest.$ac_ext <<_ACEOF
7808 #line $LINENO "configure"
7809 /* confdefs.h.  */
7810 _ACEOF
7811 cat confdefs.h >>conftest.$ac_ext
7812 cat >>conftest.$ac_ext <<_ACEOF
7813 /* end confdefs.h.  */
7814
7815 /* Override any gcc2 internal prototype to avoid an error.  */
7816 #ifdef __cplusplus
7817 extern "C"
7818 #endif
7819 /* We use char because int might match the return type of a gcc2
7820    builtin and then its argument prototype would still apply.  */
7821 char sin ();
7822 int
7823 main ()
7824 {
7825 sin ();
7826   ;
7827   return 0;
7828 }
7829 _ACEOF
7830 rm -f conftest.$ac_objext conftest$ac_exeext
7831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7832   (eval $ac_link) 2>&5
7833   ac_status=$?
7834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835   (exit $ac_status); } &&
7836          { ac_try='test -s conftest$ac_exeext'
7837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838   (eval $ac_try) 2>&5
7839   ac_status=$?
7840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841   (exit $ac_status); }; }; then
7842   ac_cv_lib_m_sin=yes
7843 else
7844   echo "$as_me: failed program was:" >&5
7845 sed 's/^/| /' conftest.$ac_ext >&5
7846
7847 ac_cv_lib_m_sin=no
7848 fi
7849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7850 LIBS=$ac_check_lib_save_LIBS
7851 fi
7852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7853 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7854 if test $ac_cv_lib_m_sin = yes; then
7855   libm="-lm"
7856 fi
7857
7858   ac_save_LIBS="$LIBS"
7859   LIBS="$LIBS $libm"
7860
7861
7862
7863   echo "$as_me:$LINENO: checking for isinf declaration" >&5
7864 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7865   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7866     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7867   echo $ECHO_N "(cached) $ECHO_C" >&6
7868 else
7869
7870
7871
7872       ac_ext=cc
7873 ac_cpp='$CXXCPP $CPPFLAGS'
7874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7877
7878       cat >conftest.$ac_ext <<_ACEOF
7879 #line $LINENO "configure"
7880 /* confdefs.h.  */
7881 _ACEOF
7882 cat confdefs.h >>conftest.$ac_ext
7883 cat >>conftest.$ac_ext <<_ACEOF
7884 /* end confdefs.h.  */
7885 #include <math.h>
7886                       #ifdef HAVE_IEEEFP_H
7887                       #include <ieeefp.h>
7888                       #endif
7889
7890 int
7891 main ()
7892 {
7893  isinf(0);
7894   ;
7895   return 0;
7896 }
7897 _ACEOF
7898 rm -f conftest.$ac_objext
7899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7900   (eval $ac_compile) 2>&5
7901   ac_status=$?
7902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903   (exit $ac_status); } &&
7904          { ac_try='test -s conftest.$ac_objext'
7905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7906   (eval $ac_try) 2>&5
7907   ac_status=$?
7908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909   (exit $ac_status); }; }; then
7910   glibcxx_cv_func_isinf_use=yes
7911 else
7912   echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.$ac_ext >&5
7914
7915 glibcxx_cv_func_isinf_use=no
7916 fi
7917 rm -f conftest.$ac_objext conftest.$ac_ext
7918       ac_ext=c
7919 ac_cpp='$CPP $CPPFLAGS'
7920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7923
7924
7925 fi
7926
7927   fi
7928   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7929 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7930
7931   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7932
7933 for ac_func in isinf
7934 do
7935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7936 echo "$as_me:$LINENO: checking for $ac_func" >&5
7937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7938 if eval "test \"\${$as_ac_var+set}\" = set"; then
7939   echo $ECHO_N "(cached) $ECHO_C" >&6
7940 else
7941   if test x$gcc_no_link = xyes; then
7942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7944    { (exit 1); exit 1; }; }
7945 fi
7946 cat >conftest.$ac_ext <<_ACEOF
7947 #line $LINENO "configure"
7948 /* confdefs.h.  */
7949 _ACEOF
7950 cat confdefs.h >>conftest.$ac_ext
7951 cat >>conftest.$ac_ext <<_ACEOF
7952 /* end confdefs.h.  */
7953 /* System header to define __stub macros and hopefully few prototypes,
7954     which can conflict with char $ac_func (); below.
7955     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7956     <limits.h> exists even on freestanding compilers.  */
7957 #ifdef __STDC__
7958 # include <limits.h>
7959 #else
7960 # include <assert.h>
7961 #endif
7962 /* Override any gcc2 internal prototype to avoid an error.  */
7963 #ifdef __cplusplus
7964 extern "C"
7965 {
7966 #endif
7967 /* We use char because int might match the return type of a gcc2
7968    builtin and then its argument prototype would still apply.  */
7969 char $ac_func ();
7970 /* The GNU C library defines this for functions which it implements
7971     to always fail with ENOSYS.  Some functions are actually named
7972     something starting with __ and the normal name is an alias.  */
7973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7974 choke me
7975 #else
7976 char (*f) () = $ac_func;
7977 #endif
7978 #ifdef __cplusplus
7979 }
7980 #endif
7981
7982 int
7983 main ()
7984 {
7985 return f != $ac_func;
7986   ;
7987   return 0;
7988 }
7989 _ACEOF
7990 rm -f conftest.$ac_objext conftest$ac_exeext
7991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7992   (eval $ac_link) 2>&5
7993   ac_status=$?
7994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995   (exit $ac_status); } &&
7996          { ac_try='test -s conftest$ac_exeext'
7997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7998   (eval $ac_try) 2>&5
7999   ac_status=$?
8000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001   (exit $ac_status); }; }; then
8002   eval "$as_ac_var=yes"
8003 else
8004   echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8006
8007 eval "$as_ac_var=no"
8008 fi
8009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8010 fi
8011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8013 if test `eval echo '${'$as_ac_var'}'` = yes; then
8014   cat >>confdefs.h <<_ACEOF
8015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8016 _ACEOF
8017
8018 fi
8019 done
8020
8021   else
8022
8023   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8024 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8025   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8026     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8027   echo $ECHO_N "(cached) $ECHO_C" >&6
8028 else
8029
8030
8031
8032       ac_ext=cc
8033 ac_cpp='$CXXCPP $CPPFLAGS'
8034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8037
8038       cat >conftest.$ac_ext <<_ACEOF
8039 #line $LINENO "configure"
8040 /* confdefs.h.  */
8041 _ACEOF
8042 cat confdefs.h >>conftest.$ac_ext
8043 cat >>conftest.$ac_ext <<_ACEOF
8044 /* end confdefs.h.  */
8045 #include <math.h>
8046                       #ifdef HAVE_IEEEFP_H
8047                       #include <ieeefp.h>
8048                       #endif
8049
8050 int
8051 main ()
8052 {
8053  _isinf(0);
8054   ;
8055   return 0;
8056 }
8057 _ACEOF
8058 rm -f conftest.$ac_objext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8060   (eval $ac_compile) 2>&5
8061   ac_status=$?
8062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063   (exit $ac_status); } &&
8064          { ac_try='test -s conftest.$ac_objext'
8065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066   (eval $ac_try) 2>&5
8067   ac_status=$?
8068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069   (exit $ac_status); }; }; then
8070   glibcxx_cv_func__isinf_use=yes
8071 else
8072   echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.$ac_ext >&5
8074
8075 glibcxx_cv_func__isinf_use=no
8076 fi
8077 rm -f conftest.$ac_objext conftest.$ac_ext
8078       ac_ext=c
8079 ac_cpp='$CPP $CPPFLAGS'
8080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8083
8084
8085 fi
8086
8087   fi
8088   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8089 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8090
8091     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8092
8093 for ac_func in _isinf
8094 do
8095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8096 echo "$as_me:$LINENO: checking for $ac_func" >&5
8097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8098 if eval "test \"\${$as_ac_var+set}\" = set"; then
8099   echo $ECHO_N "(cached) $ECHO_C" >&6
8100 else
8101   if test x$gcc_no_link = xyes; then
8102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8104    { (exit 1); exit 1; }; }
8105 fi
8106 cat >conftest.$ac_ext <<_ACEOF
8107 #line $LINENO "configure"
8108 /* confdefs.h.  */
8109 _ACEOF
8110 cat confdefs.h >>conftest.$ac_ext
8111 cat >>conftest.$ac_ext <<_ACEOF
8112 /* end confdefs.h.  */
8113 /* System header to define __stub macros and hopefully few prototypes,
8114     which can conflict with char $ac_func (); below.
8115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8116     <limits.h> exists even on freestanding compilers.  */
8117 #ifdef __STDC__
8118 # include <limits.h>
8119 #else
8120 # include <assert.h>
8121 #endif
8122 /* Override any gcc2 internal prototype to avoid an error.  */
8123 #ifdef __cplusplus
8124 extern "C"
8125 {
8126 #endif
8127 /* We use char because int might match the return type of a gcc2
8128    builtin and then its argument prototype would still apply.  */
8129 char $ac_func ();
8130 /* The GNU C library defines this for functions which it implements
8131     to always fail with ENOSYS.  Some functions are actually named
8132     something starting with __ and the normal name is an alias.  */
8133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8134 choke me
8135 #else
8136 char (*f) () = $ac_func;
8137 #endif
8138 #ifdef __cplusplus
8139 }
8140 #endif
8141
8142 int
8143 main ()
8144 {
8145 return f != $ac_func;
8146   ;
8147   return 0;
8148 }
8149 _ACEOF
8150 rm -f conftest.$ac_objext conftest$ac_exeext
8151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8152   (eval $ac_link) 2>&5
8153   ac_status=$?
8154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155   (exit $ac_status); } &&
8156          { ac_try='test -s conftest$ac_exeext'
8157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158   (eval $ac_try) 2>&5
8159   ac_status=$?
8160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161   (exit $ac_status); }; }; then
8162   eval "$as_ac_var=yes"
8163 else
8164   echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.$ac_ext >&5
8166
8167 eval "$as_ac_var=no"
8168 fi
8169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8170 fi
8171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8173 if test `eval echo '${'$as_ac_var'}'` = yes; then
8174   cat >>confdefs.h <<_ACEOF
8175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8176 _ACEOF
8177
8178 fi
8179 done
8180
8181     fi
8182   fi
8183
8184
8185
8186   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8187 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8188   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8189     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8190   echo $ECHO_N "(cached) $ECHO_C" >&6
8191 else
8192
8193
8194
8195       ac_ext=cc
8196 ac_cpp='$CXXCPP $CPPFLAGS'
8197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8200
8201       cat >conftest.$ac_ext <<_ACEOF
8202 #line $LINENO "configure"
8203 /* confdefs.h.  */
8204 _ACEOF
8205 cat confdefs.h >>conftest.$ac_ext
8206 cat >>conftest.$ac_ext <<_ACEOF
8207 /* end confdefs.h.  */
8208 #include <math.h>
8209                       #ifdef HAVE_IEEEFP_H
8210                       #include <ieeefp.h>
8211                       #endif
8212
8213 int
8214 main ()
8215 {
8216  isnan(0);
8217   ;
8218   return 0;
8219 }
8220 _ACEOF
8221 rm -f conftest.$ac_objext
8222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8223   (eval $ac_compile) 2>&5
8224   ac_status=$?
8225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226   (exit $ac_status); } &&
8227          { ac_try='test -s conftest.$ac_objext'
8228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229   (eval $ac_try) 2>&5
8230   ac_status=$?
8231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232   (exit $ac_status); }; }; then
8233   glibcxx_cv_func_isnan_use=yes
8234 else
8235   echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8237
8238 glibcxx_cv_func_isnan_use=no
8239 fi
8240 rm -f conftest.$ac_objext conftest.$ac_ext
8241       ac_ext=c
8242 ac_cpp='$CPP $CPPFLAGS'
8243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8246
8247
8248 fi
8249
8250   fi
8251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8252 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8253
8254   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8255
8256 for ac_func in isnan
8257 do
8258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8259 echo "$as_me:$LINENO: checking for $ac_func" >&5
8260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8261 if eval "test \"\${$as_ac_var+set}\" = set"; then
8262   echo $ECHO_N "(cached) $ECHO_C" >&6
8263 else
8264   if test x$gcc_no_link = xyes; then
8265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8267    { (exit 1); exit 1; }; }
8268 fi
8269 cat >conftest.$ac_ext <<_ACEOF
8270 #line $LINENO "configure"
8271 /* confdefs.h.  */
8272 _ACEOF
8273 cat confdefs.h >>conftest.$ac_ext
8274 cat >>conftest.$ac_ext <<_ACEOF
8275 /* end confdefs.h.  */
8276 /* System header to define __stub macros and hopefully few prototypes,
8277     which can conflict with char $ac_func (); below.
8278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8279     <limits.h> exists even on freestanding compilers.  */
8280 #ifdef __STDC__
8281 # include <limits.h>
8282 #else
8283 # include <assert.h>
8284 #endif
8285 /* Override any gcc2 internal prototype to avoid an error.  */
8286 #ifdef __cplusplus
8287 extern "C"
8288 {
8289 #endif
8290 /* We use char because int might match the return type of a gcc2
8291    builtin and then its argument prototype would still apply.  */
8292 char $ac_func ();
8293 /* The GNU C library defines this for functions which it implements
8294     to always fail with ENOSYS.  Some functions are actually named
8295     something starting with __ and the normal name is an alias.  */
8296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8297 choke me
8298 #else
8299 char (*f) () = $ac_func;
8300 #endif
8301 #ifdef __cplusplus
8302 }
8303 #endif
8304
8305 int
8306 main ()
8307 {
8308 return f != $ac_func;
8309   ;
8310   return 0;
8311 }
8312 _ACEOF
8313 rm -f conftest.$ac_objext conftest$ac_exeext
8314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8315   (eval $ac_link) 2>&5
8316   ac_status=$?
8317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318   (exit $ac_status); } &&
8319          { ac_try='test -s conftest$ac_exeext'
8320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321   (eval $ac_try) 2>&5
8322   ac_status=$?
8323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324   (exit $ac_status); }; }; then
8325   eval "$as_ac_var=yes"
8326 else
8327   echo "$as_me: failed program was:" >&5
8328 sed 's/^/| /' conftest.$ac_ext >&5
8329
8330 eval "$as_ac_var=no"
8331 fi
8332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8333 fi
8334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8336 if test `eval echo '${'$as_ac_var'}'` = yes; then
8337   cat >>confdefs.h <<_ACEOF
8338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8339 _ACEOF
8340
8341 fi
8342 done
8343
8344   else
8345
8346   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8347 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8348   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8349     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8350   echo $ECHO_N "(cached) $ECHO_C" >&6
8351 else
8352
8353
8354
8355       ac_ext=cc
8356 ac_cpp='$CXXCPP $CPPFLAGS'
8357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8360
8361       cat >conftest.$ac_ext <<_ACEOF
8362 #line $LINENO "configure"
8363 /* confdefs.h.  */
8364 _ACEOF
8365 cat confdefs.h >>conftest.$ac_ext
8366 cat >>conftest.$ac_ext <<_ACEOF
8367 /* end confdefs.h.  */
8368 #include <math.h>
8369                       #ifdef HAVE_IEEEFP_H
8370                       #include <ieeefp.h>
8371                       #endif
8372
8373 int
8374 main ()
8375 {
8376  _isnan(0);
8377   ;
8378   return 0;
8379 }
8380 _ACEOF
8381 rm -f conftest.$ac_objext
8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8383   (eval $ac_compile) 2>&5
8384   ac_status=$?
8385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386   (exit $ac_status); } &&
8387          { ac_try='test -s conftest.$ac_objext'
8388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8389   (eval $ac_try) 2>&5
8390   ac_status=$?
8391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392   (exit $ac_status); }; }; then
8393   glibcxx_cv_func__isnan_use=yes
8394 else
8395   echo "$as_me: failed program was:" >&5
8396 sed 's/^/| /' conftest.$ac_ext >&5
8397
8398 glibcxx_cv_func__isnan_use=no
8399 fi
8400 rm -f conftest.$ac_objext conftest.$ac_ext
8401       ac_ext=c
8402 ac_cpp='$CPP $CPPFLAGS'
8403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8406
8407
8408 fi
8409
8410   fi
8411   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8412 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8413
8414     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8415
8416 for ac_func in _isnan
8417 do
8418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8419 echo "$as_me:$LINENO: checking for $ac_func" >&5
8420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8421 if eval "test \"\${$as_ac_var+set}\" = set"; then
8422   echo $ECHO_N "(cached) $ECHO_C" >&6
8423 else
8424   if test x$gcc_no_link = xyes; then
8425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8427    { (exit 1); exit 1; }; }
8428 fi
8429 cat >conftest.$ac_ext <<_ACEOF
8430 #line $LINENO "configure"
8431 /* confdefs.h.  */
8432 _ACEOF
8433 cat confdefs.h >>conftest.$ac_ext
8434 cat >>conftest.$ac_ext <<_ACEOF
8435 /* end confdefs.h.  */
8436 /* System header to define __stub macros and hopefully few prototypes,
8437     which can conflict with char $ac_func (); below.
8438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8439     <limits.h> exists even on freestanding compilers.  */
8440 #ifdef __STDC__
8441 # include <limits.h>
8442 #else
8443 # include <assert.h>
8444 #endif
8445 /* Override any gcc2 internal prototype to avoid an error.  */
8446 #ifdef __cplusplus
8447 extern "C"
8448 {
8449 #endif
8450 /* We use char because int might match the return type of a gcc2
8451    builtin and then its argument prototype would still apply.  */
8452 char $ac_func ();
8453 /* The GNU C library defines this for functions which it implements
8454     to always fail with ENOSYS.  Some functions are actually named
8455     something starting with __ and the normal name is an alias.  */
8456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8457 choke me
8458 #else
8459 char (*f) () = $ac_func;
8460 #endif
8461 #ifdef __cplusplus
8462 }
8463 #endif
8464
8465 int
8466 main ()
8467 {
8468 return f != $ac_func;
8469   ;
8470   return 0;
8471 }
8472 _ACEOF
8473 rm -f conftest.$ac_objext conftest$ac_exeext
8474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8475   (eval $ac_link) 2>&5
8476   ac_status=$?
8477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478   (exit $ac_status); } &&
8479          { ac_try='test -s conftest$ac_exeext'
8480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481   (eval $ac_try) 2>&5
8482   ac_status=$?
8483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484   (exit $ac_status); }; }; then
8485   eval "$as_ac_var=yes"
8486 else
8487   echo "$as_me: failed program was:" >&5
8488 sed 's/^/| /' conftest.$ac_ext >&5
8489
8490 eval "$as_ac_var=no"
8491 fi
8492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8493 fi
8494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8496 if test `eval echo '${'$as_ac_var'}'` = yes; then
8497   cat >>confdefs.h <<_ACEOF
8498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8499 _ACEOF
8500
8501 fi
8502 done
8503
8504     fi
8505   fi
8506
8507
8508
8509   echo "$as_me:$LINENO: checking for finite declaration" >&5
8510 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8511   if test x${glibcxx_cv_func_finite_use+set} != xset; then
8512     if test "${glibcxx_cv_func_finite_use+set}" = set; then
8513   echo $ECHO_N "(cached) $ECHO_C" >&6
8514 else
8515
8516
8517
8518       ac_ext=cc
8519 ac_cpp='$CXXCPP $CPPFLAGS'
8520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8523
8524       cat >conftest.$ac_ext <<_ACEOF
8525 #line $LINENO "configure"
8526 /* confdefs.h.  */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h.  */
8531 #include <math.h>
8532                       #ifdef HAVE_IEEEFP_H
8533                       #include <ieeefp.h>
8534                       #endif
8535
8536 int
8537 main ()
8538 {
8539  finite(0);
8540   ;
8541   return 0;
8542 }
8543 _ACEOF
8544 rm -f conftest.$ac_objext
8545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8546   (eval $ac_compile) 2>&5
8547   ac_status=$?
8548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549   (exit $ac_status); } &&
8550          { ac_try='test -s conftest.$ac_objext'
8551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552   (eval $ac_try) 2>&5
8553   ac_status=$?
8554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555   (exit $ac_status); }; }; then
8556   glibcxx_cv_func_finite_use=yes
8557 else
8558   echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.$ac_ext >&5
8560
8561 glibcxx_cv_func_finite_use=no
8562 fi
8563 rm -f conftest.$ac_objext conftest.$ac_ext
8564       ac_ext=c
8565 ac_cpp='$CPP $CPPFLAGS'
8566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8569
8570
8571 fi
8572
8573   fi
8574   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8575 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8576
8577   if test x$glibcxx_cv_func_finite_use = x"yes"; then
8578
8579 for ac_func in finite
8580 do
8581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8582 echo "$as_me:$LINENO: checking for $ac_func" >&5
8583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8584 if eval "test \"\${$as_ac_var+set}\" = set"; then
8585   echo $ECHO_N "(cached) $ECHO_C" >&6
8586 else
8587   if test x$gcc_no_link = xyes; then
8588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8590    { (exit 1); exit 1; }; }
8591 fi
8592 cat >conftest.$ac_ext <<_ACEOF
8593 #line $LINENO "configure"
8594 /* confdefs.h.  */
8595 _ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h.  */
8599 /* System header to define __stub macros and hopefully few prototypes,
8600     which can conflict with char $ac_func (); below.
8601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8602     <limits.h> exists even on freestanding compilers.  */
8603 #ifdef __STDC__
8604 # include <limits.h>
8605 #else
8606 # include <assert.h>
8607 #endif
8608 /* Override any gcc2 internal prototype to avoid an error.  */
8609 #ifdef __cplusplus
8610 extern "C"
8611 {
8612 #endif
8613 /* We use char because int might match the return type of a gcc2
8614    builtin and then its argument prototype would still apply.  */
8615 char $ac_func ();
8616 /* The GNU C library defines this for functions which it implements
8617     to always fail with ENOSYS.  Some functions are actually named
8618     something starting with __ and the normal name is an alias.  */
8619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8620 choke me
8621 #else
8622 char (*f) () = $ac_func;
8623 #endif
8624 #ifdef __cplusplus
8625 }
8626 #endif
8627
8628 int
8629 main ()
8630 {
8631 return f != $ac_func;
8632   ;
8633   return 0;
8634 }
8635 _ACEOF
8636 rm -f conftest.$ac_objext conftest$ac_exeext
8637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8638   (eval $ac_link) 2>&5
8639   ac_status=$?
8640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641   (exit $ac_status); } &&
8642          { ac_try='test -s conftest$ac_exeext'
8643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644   (eval $ac_try) 2>&5
8645   ac_status=$?
8646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647   (exit $ac_status); }; }; then
8648   eval "$as_ac_var=yes"
8649 else
8650   echo "$as_me: failed program was:" >&5
8651 sed 's/^/| /' conftest.$ac_ext >&5
8652
8653 eval "$as_ac_var=no"
8654 fi
8655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8656 fi
8657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8659 if test `eval echo '${'$as_ac_var'}'` = yes; then
8660   cat >>confdefs.h <<_ACEOF
8661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8662 _ACEOF
8663
8664 fi
8665 done
8666
8667   else
8668
8669   echo "$as_me:$LINENO: checking for _finite declaration" >&5
8670 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8671   if test x${glibcxx_cv_func__finite_use+set} != xset; then
8672     if test "${glibcxx_cv_func__finite_use+set}" = set; then
8673   echo $ECHO_N "(cached) $ECHO_C" >&6
8674 else
8675
8676
8677
8678       ac_ext=cc
8679 ac_cpp='$CXXCPP $CPPFLAGS'
8680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8683
8684       cat >conftest.$ac_ext <<_ACEOF
8685 #line $LINENO "configure"
8686 /* confdefs.h.  */
8687 _ACEOF
8688 cat confdefs.h >>conftest.$ac_ext
8689 cat >>conftest.$ac_ext <<_ACEOF
8690 /* end confdefs.h.  */
8691 #include <math.h>
8692                       #ifdef HAVE_IEEEFP_H
8693                       #include <ieeefp.h>
8694                       #endif
8695
8696 int
8697 main ()
8698 {
8699  _finite(0);
8700   ;
8701   return 0;
8702 }
8703 _ACEOF
8704 rm -f conftest.$ac_objext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8706   (eval $ac_compile) 2>&5
8707   ac_status=$?
8708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709   (exit $ac_status); } &&
8710          { ac_try='test -s conftest.$ac_objext'
8711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8712   (eval $ac_try) 2>&5
8713   ac_status=$?
8714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715   (exit $ac_status); }; }; then
8716   glibcxx_cv_func__finite_use=yes
8717 else
8718   echo "$as_me: failed program was:" >&5
8719 sed 's/^/| /' conftest.$ac_ext >&5
8720
8721 glibcxx_cv_func__finite_use=no
8722 fi
8723 rm -f conftest.$ac_objext conftest.$ac_ext
8724       ac_ext=c
8725 ac_cpp='$CPP $CPPFLAGS'
8726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8729
8730
8731 fi
8732
8733   fi
8734   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8735 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8736
8737     if test x$glibcxx_cv_func__finite_use = x"yes"; then
8738
8739 for ac_func in _finite
8740 do
8741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8742 echo "$as_me:$LINENO: checking for $ac_func" >&5
8743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8744 if eval "test \"\${$as_ac_var+set}\" = set"; then
8745   echo $ECHO_N "(cached) $ECHO_C" >&6
8746 else
8747   if test x$gcc_no_link = xyes; then
8748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8750    { (exit 1); exit 1; }; }
8751 fi
8752 cat >conftest.$ac_ext <<_ACEOF
8753 #line $LINENO "configure"
8754 /* confdefs.h.  */
8755 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h.  */
8759 /* System header to define __stub macros and hopefully few prototypes,
8760     which can conflict with char $ac_func (); below.
8761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762     <limits.h> exists even on freestanding compilers.  */
8763 #ifdef __STDC__
8764 # include <limits.h>
8765 #else
8766 # include <assert.h>
8767 #endif
8768 /* Override any gcc2 internal prototype to avoid an error.  */
8769 #ifdef __cplusplus
8770 extern "C"
8771 {
8772 #endif
8773 /* We use char because int might match the return type of a gcc2
8774    builtin and then its argument prototype would still apply.  */
8775 char $ac_func ();
8776 /* The GNU C library defines this for functions which it implements
8777     to always fail with ENOSYS.  Some functions are actually named
8778     something starting with __ and the normal name is an alias.  */
8779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8780 choke me
8781 #else
8782 char (*f) () = $ac_func;
8783 #endif
8784 #ifdef __cplusplus
8785 }
8786 #endif
8787
8788 int
8789 main ()
8790 {
8791 return f != $ac_func;
8792   ;
8793   return 0;
8794 }
8795 _ACEOF
8796 rm -f conftest.$ac_objext conftest$ac_exeext
8797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8798   (eval $ac_link) 2>&5
8799   ac_status=$?
8800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801   (exit $ac_status); } &&
8802          { ac_try='test -s conftest$ac_exeext'
8803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8804   (eval $ac_try) 2>&5
8805   ac_status=$?
8806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807   (exit $ac_status); }; }; then
8808   eval "$as_ac_var=yes"
8809 else
8810   echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.$ac_ext >&5
8812
8813 eval "$as_ac_var=no"
8814 fi
8815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8816 fi
8817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8819 if test `eval echo '${'$as_ac_var'}'` = yes; then
8820   cat >>confdefs.h <<_ACEOF
8821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8822 _ACEOF
8823
8824 fi
8825 done
8826
8827     fi
8828   fi
8829
8830
8831
8832   echo "$as_me:$LINENO: checking for copysign declaration" >&5
8833 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8834   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8835     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8836   echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else
8838
8839
8840
8841       ac_ext=cc
8842 ac_cpp='$CXXCPP $CPPFLAGS'
8843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8846
8847       cat >conftest.$ac_ext <<_ACEOF
8848 #line $LINENO "configure"
8849 /* confdefs.h.  */
8850 _ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h.  */
8854 #include <math.h>
8855 int
8856 main ()
8857 {
8858  copysign(0, 0);
8859   ;
8860   return 0;
8861 }
8862 _ACEOF
8863 rm -f conftest.$ac_objext
8864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8865   (eval $ac_compile) 2>&5
8866   ac_status=$?
8867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868   (exit $ac_status); } &&
8869          { ac_try='test -s conftest.$ac_objext'
8870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8871   (eval $ac_try) 2>&5
8872   ac_status=$?
8873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874   (exit $ac_status); }; }; then
8875   glibcxx_cv_func_copysign_use=yes
8876 else
8877   echo "$as_me: failed program was:" >&5
8878 sed 's/^/| /' conftest.$ac_ext >&5
8879
8880 glibcxx_cv_func_copysign_use=no
8881 fi
8882 rm -f conftest.$ac_objext conftest.$ac_ext
8883       ac_ext=c
8884 ac_cpp='$CPP $CPPFLAGS'
8885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8888
8889
8890 fi
8891
8892   fi
8893   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8894 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8895
8896   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8897
8898 for ac_func in copysign
8899 do
8900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8901 echo "$as_me:$LINENO: checking for $ac_func" >&5
8902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8903 if eval "test \"\${$as_ac_var+set}\" = set"; then
8904   echo $ECHO_N "(cached) $ECHO_C" >&6
8905 else
8906   if test x$gcc_no_link = xyes; then
8907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8909    { (exit 1); exit 1; }; }
8910 fi
8911 cat >conftest.$ac_ext <<_ACEOF
8912 #line $LINENO "configure"
8913 /* confdefs.h.  */
8914 _ACEOF
8915 cat confdefs.h >>conftest.$ac_ext
8916 cat >>conftest.$ac_ext <<_ACEOF
8917 /* end confdefs.h.  */
8918 /* System header to define __stub macros and hopefully few prototypes,
8919     which can conflict with char $ac_func (); below.
8920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8921     <limits.h> exists even on freestanding compilers.  */
8922 #ifdef __STDC__
8923 # include <limits.h>
8924 #else
8925 # include <assert.h>
8926 #endif
8927 /* Override any gcc2 internal prototype to avoid an error.  */
8928 #ifdef __cplusplus
8929 extern "C"
8930 {
8931 #endif
8932 /* We use char because int might match the return type of a gcc2
8933    builtin and then its argument prototype would still apply.  */
8934 char $ac_func ();
8935 /* The GNU C library defines this for functions which it implements
8936     to always fail with ENOSYS.  Some functions are actually named
8937     something starting with __ and the normal name is an alias.  */
8938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8939 choke me
8940 #else
8941 char (*f) () = $ac_func;
8942 #endif
8943 #ifdef __cplusplus
8944 }
8945 #endif
8946
8947 int
8948 main ()
8949 {
8950 return f != $ac_func;
8951   ;
8952   return 0;
8953 }
8954 _ACEOF
8955 rm -f conftest.$ac_objext conftest$ac_exeext
8956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8957   (eval $ac_link) 2>&5
8958   ac_status=$?
8959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8960   (exit $ac_status); } &&
8961          { ac_try='test -s conftest$ac_exeext'
8962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8963   (eval $ac_try) 2>&5
8964   ac_status=$?
8965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966   (exit $ac_status); }; }; then
8967   eval "$as_ac_var=yes"
8968 else
8969   echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8971
8972 eval "$as_ac_var=no"
8973 fi
8974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8975 fi
8976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8978 if test `eval echo '${'$as_ac_var'}'` = yes; then
8979   cat >>confdefs.h <<_ACEOF
8980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8981 _ACEOF
8982
8983 fi
8984 done
8985
8986   else
8987
8988   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
8989 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
8990   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
8991     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
8992   echo $ECHO_N "(cached) $ECHO_C" >&6
8993 else
8994
8995
8996
8997       ac_ext=cc
8998 ac_cpp='$CXXCPP $CPPFLAGS'
8999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9002
9003       cat >conftest.$ac_ext <<_ACEOF
9004 #line $LINENO "configure"
9005 /* confdefs.h.  */
9006 _ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h.  */
9010 #include <math.h>
9011 int
9012 main ()
9013 {
9014  _copysign(0, 0);
9015   ;
9016   return 0;
9017 }
9018 _ACEOF
9019 rm -f conftest.$ac_objext
9020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9021   (eval $ac_compile) 2>&5
9022   ac_status=$?
9023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024   (exit $ac_status); } &&
9025          { ac_try='test -s conftest.$ac_objext'
9026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027   (eval $ac_try) 2>&5
9028   ac_status=$?
9029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030   (exit $ac_status); }; }; then
9031   glibcxx_cv_func__copysign_use=yes
9032 else
9033   echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9035
9036 glibcxx_cv_func__copysign_use=no
9037 fi
9038 rm -f conftest.$ac_objext conftest.$ac_ext
9039       ac_ext=c
9040 ac_cpp='$CPP $CPPFLAGS'
9041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9044
9045
9046 fi
9047
9048   fi
9049   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9050 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9051
9052     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9053
9054 for ac_func in _copysign
9055 do
9056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9057 echo "$as_me:$LINENO: checking for $ac_func" >&5
9058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9059 if eval "test \"\${$as_ac_var+set}\" = set"; then
9060   echo $ECHO_N "(cached) $ECHO_C" >&6
9061 else
9062   if test x$gcc_no_link = xyes; then
9063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9065    { (exit 1); exit 1; }; }
9066 fi
9067 cat >conftest.$ac_ext <<_ACEOF
9068 #line $LINENO "configure"
9069 /* confdefs.h.  */
9070 _ACEOF
9071 cat confdefs.h >>conftest.$ac_ext
9072 cat >>conftest.$ac_ext <<_ACEOF
9073 /* end confdefs.h.  */
9074 /* System header to define __stub macros and hopefully few prototypes,
9075     which can conflict with char $ac_func (); below.
9076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9077     <limits.h> exists even on freestanding compilers.  */
9078 #ifdef __STDC__
9079 # include <limits.h>
9080 #else
9081 # include <assert.h>
9082 #endif
9083 /* Override any gcc2 internal prototype to avoid an error.  */
9084 #ifdef __cplusplus
9085 extern "C"
9086 {
9087 #endif
9088 /* We use char because int might match the return type of a gcc2
9089    builtin and then its argument prototype would still apply.  */
9090 char $ac_func ();
9091 /* The GNU C library defines this for functions which it implements
9092     to always fail with ENOSYS.  Some functions are actually named
9093     something starting with __ and the normal name is an alias.  */
9094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9095 choke me
9096 #else
9097 char (*f) () = $ac_func;
9098 #endif
9099 #ifdef __cplusplus
9100 }
9101 #endif
9102
9103 int
9104 main ()
9105 {
9106 return f != $ac_func;
9107   ;
9108   return 0;
9109 }
9110 _ACEOF
9111 rm -f conftest.$ac_objext conftest$ac_exeext
9112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9113   (eval $ac_link) 2>&5
9114   ac_status=$?
9115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9116   (exit $ac_status); } &&
9117          { ac_try='test -s conftest$ac_exeext'
9118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9119   (eval $ac_try) 2>&5
9120   ac_status=$?
9121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122   (exit $ac_status); }; }; then
9123   eval "$as_ac_var=yes"
9124 else
9125   echo "$as_me: failed program was:" >&5
9126 sed 's/^/| /' conftest.$ac_ext >&5
9127
9128 eval "$as_ac_var=no"
9129 fi
9130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9131 fi
9132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9134 if test `eval echo '${'$as_ac_var'}'` = yes; then
9135   cat >>confdefs.h <<_ACEOF
9136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9137 _ACEOF
9138
9139 fi
9140 done
9141
9142     fi
9143   fi
9144
9145
9146
9147   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9148 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9149   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9150     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9151   echo $ECHO_N "(cached) $ECHO_C" >&6
9152 else
9153
9154
9155
9156       ac_ext=cc
9157 ac_cpp='$CXXCPP $CPPFLAGS'
9158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9161
9162       cat >conftest.$ac_ext <<_ACEOF
9163 #line $LINENO "configure"
9164 /* confdefs.h.  */
9165 _ACEOF
9166 cat confdefs.h >>conftest.$ac_ext
9167 cat >>conftest.$ac_ext <<_ACEOF
9168 /* end confdefs.h.  */
9169 #include <math.h>
9170 int
9171 main ()
9172 {
9173  sincos(0, 0, 0);
9174   ;
9175   return 0;
9176 }
9177 _ACEOF
9178 rm -f conftest.$ac_objext
9179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9180   (eval $ac_compile) 2>&5
9181   ac_status=$?
9182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183   (exit $ac_status); } &&
9184          { ac_try='test -s conftest.$ac_objext'
9185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186   (eval $ac_try) 2>&5
9187   ac_status=$?
9188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189   (exit $ac_status); }; }; then
9190   glibcxx_cv_func_sincos_use=yes
9191 else
9192   echo "$as_me: failed program was:" >&5
9193 sed 's/^/| /' conftest.$ac_ext >&5
9194
9195 glibcxx_cv_func_sincos_use=no
9196 fi
9197 rm -f conftest.$ac_objext conftest.$ac_ext
9198       ac_ext=c
9199 ac_cpp='$CPP $CPPFLAGS'
9200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9203
9204
9205 fi
9206
9207   fi
9208   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9209 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9210
9211   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9212
9213 for ac_func in sincos
9214 do
9215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9216 echo "$as_me:$LINENO: checking for $ac_func" >&5
9217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9218 if eval "test \"\${$as_ac_var+set}\" = set"; then
9219   echo $ECHO_N "(cached) $ECHO_C" >&6
9220 else
9221   if test x$gcc_no_link = xyes; then
9222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9224    { (exit 1); exit 1; }; }
9225 fi
9226 cat >conftest.$ac_ext <<_ACEOF
9227 #line $LINENO "configure"
9228 /* confdefs.h.  */
9229 _ACEOF
9230 cat confdefs.h >>conftest.$ac_ext
9231 cat >>conftest.$ac_ext <<_ACEOF
9232 /* end confdefs.h.  */
9233 /* System header to define __stub macros and hopefully few prototypes,
9234     which can conflict with char $ac_func (); below.
9235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236     <limits.h> exists even on freestanding compilers.  */
9237 #ifdef __STDC__
9238 # include <limits.h>
9239 #else
9240 # include <assert.h>
9241 #endif
9242 /* Override any gcc2 internal prototype to avoid an error.  */
9243 #ifdef __cplusplus
9244 extern "C"
9245 {
9246 #endif
9247 /* We use char because int might match the return type of a gcc2
9248    builtin and then its argument prototype would still apply.  */
9249 char $ac_func ();
9250 /* The GNU C library defines this for functions which it implements
9251     to always fail with ENOSYS.  Some functions are actually named
9252     something starting with __ and the normal name is an alias.  */
9253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9254 choke me
9255 #else
9256 char (*f) () = $ac_func;
9257 #endif
9258 #ifdef __cplusplus
9259 }
9260 #endif
9261
9262 int
9263 main ()
9264 {
9265 return f != $ac_func;
9266   ;
9267   return 0;
9268 }
9269 _ACEOF
9270 rm -f conftest.$ac_objext conftest$ac_exeext
9271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9272   (eval $ac_link) 2>&5
9273   ac_status=$?
9274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275   (exit $ac_status); } &&
9276          { ac_try='test -s conftest$ac_exeext'
9277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278   (eval $ac_try) 2>&5
9279   ac_status=$?
9280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281   (exit $ac_status); }; }; then
9282   eval "$as_ac_var=yes"
9283 else
9284   echo "$as_me: failed program was:" >&5
9285 sed 's/^/| /' conftest.$ac_ext >&5
9286
9287 eval "$as_ac_var=no"
9288 fi
9289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9290 fi
9291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9293 if test `eval echo '${'$as_ac_var'}'` = yes; then
9294   cat >>confdefs.h <<_ACEOF
9295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9296 _ACEOF
9297
9298 fi
9299 done
9300
9301   else
9302
9303   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9304 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9305   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9306     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9307   echo $ECHO_N "(cached) $ECHO_C" >&6
9308 else
9309
9310
9311
9312       ac_ext=cc
9313 ac_cpp='$CXXCPP $CPPFLAGS'
9314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9317
9318       cat >conftest.$ac_ext <<_ACEOF
9319 #line $LINENO "configure"
9320 /* confdefs.h.  */
9321 _ACEOF
9322 cat confdefs.h >>conftest.$ac_ext
9323 cat >>conftest.$ac_ext <<_ACEOF
9324 /* end confdefs.h.  */
9325 #include <math.h>
9326 int
9327 main ()
9328 {
9329  _sincos(0, 0, 0);
9330   ;
9331   return 0;
9332 }
9333 _ACEOF
9334 rm -f conftest.$ac_objext
9335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9336   (eval $ac_compile) 2>&5
9337   ac_status=$?
9338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9339   (exit $ac_status); } &&
9340          { ac_try='test -s conftest.$ac_objext'
9341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9342   (eval $ac_try) 2>&5
9343   ac_status=$?
9344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345   (exit $ac_status); }; }; then
9346   glibcxx_cv_func__sincos_use=yes
9347 else
9348   echo "$as_me: failed program was:" >&5
9349 sed 's/^/| /' conftest.$ac_ext >&5
9350
9351 glibcxx_cv_func__sincos_use=no
9352 fi
9353 rm -f conftest.$ac_objext conftest.$ac_ext
9354       ac_ext=c
9355 ac_cpp='$CPP $CPPFLAGS'
9356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9359
9360
9361 fi
9362
9363   fi
9364   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9365 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9366
9367     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9368
9369 for ac_func in _sincos
9370 do
9371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9372 echo "$as_me:$LINENO: checking for $ac_func" >&5
9373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9374 if eval "test \"\${$as_ac_var+set}\" = set"; then
9375   echo $ECHO_N "(cached) $ECHO_C" >&6
9376 else
9377   if test x$gcc_no_link = xyes; then
9378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9380    { (exit 1); exit 1; }; }
9381 fi
9382 cat >conftest.$ac_ext <<_ACEOF
9383 #line $LINENO "configure"
9384 /* confdefs.h.  */
9385 _ACEOF
9386 cat confdefs.h >>conftest.$ac_ext
9387 cat >>conftest.$ac_ext <<_ACEOF
9388 /* end confdefs.h.  */
9389 /* System header to define __stub macros and hopefully few prototypes,
9390     which can conflict with char $ac_func (); below.
9391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9392     <limits.h> exists even on freestanding compilers.  */
9393 #ifdef __STDC__
9394 # include <limits.h>
9395 #else
9396 # include <assert.h>
9397 #endif
9398 /* Override any gcc2 internal prototype to avoid an error.  */
9399 #ifdef __cplusplus
9400 extern "C"
9401 {
9402 #endif
9403 /* We use char because int might match the return type of a gcc2
9404    builtin and then its argument prototype would still apply.  */
9405 char $ac_func ();
9406 /* The GNU C library defines this for functions which it implements
9407     to always fail with ENOSYS.  Some functions are actually named
9408     something starting with __ and the normal name is an alias.  */
9409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9410 choke me
9411 #else
9412 char (*f) () = $ac_func;
9413 #endif
9414 #ifdef __cplusplus
9415 }
9416 #endif
9417
9418 int
9419 main ()
9420 {
9421 return f != $ac_func;
9422   ;
9423   return 0;
9424 }
9425 _ACEOF
9426 rm -f conftest.$ac_objext conftest$ac_exeext
9427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9428   (eval $ac_link) 2>&5
9429   ac_status=$?
9430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431   (exit $ac_status); } &&
9432          { ac_try='test -s conftest$ac_exeext'
9433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434   (eval $ac_try) 2>&5
9435   ac_status=$?
9436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437   (exit $ac_status); }; }; then
9438   eval "$as_ac_var=yes"
9439 else
9440   echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9442
9443 eval "$as_ac_var=no"
9444 fi
9445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9446 fi
9447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9449 if test `eval echo '${'$as_ac_var'}'` = yes; then
9450   cat >>confdefs.h <<_ACEOF
9451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9452 _ACEOF
9453
9454 fi
9455 done
9456
9457     fi
9458   fi
9459
9460
9461
9462   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9463 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9464   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9465     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9466   echo $ECHO_N "(cached) $ECHO_C" >&6
9467 else
9468
9469
9470
9471       ac_ext=cc
9472 ac_cpp='$CXXCPP $CPPFLAGS'
9473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9476
9477       cat >conftest.$ac_ext <<_ACEOF
9478 #line $LINENO "configure"
9479 /* confdefs.h.  */
9480 _ACEOF
9481 cat confdefs.h >>conftest.$ac_ext
9482 cat >>conftest.$ac_ext <<_ACEOF
9483 /* end confdefs.h.  */
9484 #include <math.h>
9485                       #ifdef HAVE_IEEEFP_H
9486                       #include <ieeefp.h>
9487                       #endif
9488
9489 int
9490 main ()
9491 {
9492  fpclass(0);
9493   ;
9494   return 0;
9495 }
9496 _ACEOF
9497 rm -f conftest.$ac_objext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9499   (eval $ac_compile) 2>&5
9500   ac_status=$?
9501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502   (exit $ac_status); } &&
9503          { ac_try='test -s conftest.$ac_objext'
9504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9505   (eval $ac_try) 2>&5
9506   ac_status=$?
9507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9508   (exit $ac_status); }; }; then
9509   glibcxx_cv_func_fpclass_use=yes
9510 else
9511   echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9513
9514 glibcxx_cv_func_fpclass_use=no
9515 fi
9516 rm -f conftest.$ac_objext conftest.$ac_ext
9517       ac_ext=c
9518 ac_cpp='$CPP $CPPFLAGS'
9519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9522
9523
9524 fi
9525
9526   fi
9527   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9528 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9529
9530   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9531
9532 for ac_func in fpclass
9533 do
9534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9535 echo "$as_me:$LINENO: checking for $ac_func" >&5
9536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9537 if eval "test \"\${$as_ac_var+set}\" = set"; then
9538   echo $ECHO_N "(cached) $ECHO_C" >&6
9539 else
9540   if test x$gcc_no_link = xyes; then
9541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9543    { (exit 1); exit 1; }; }
9544 fi
9545 cat >conftest.$ac_ext <<_ACEOF
9546 #line $LINENO "configure"
9547 /* confdefs.h.  */
9548 _ACEOF
9549 cat confdefs.h >>conftest.$ac_ext
9550 cat >>conftest.$ac_ext <<_ACEOF
9551 /* end confdefs.h.  */
9552 /* System header to define __stub macros and hopefully few prototypes,
9553     which can conflict with char $ac_func (); below.
9554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9555     <limits.h> exists even on freestanding compilers.  */
9556 #ifdef __STDC__
9557 # include <limits.h>
9558 #else
9559 # include <assert.h>
9560 #endif
9561 /* Override any gcc2 internal prototype to avoid an error.  */
9562 #ifdef __cplusplus
9563 extern "C"
9564 {
9565 #endif
9566 /* We use char because int might match the return type of a gcc2
9567    builtin and then its argument prototype would still apply.  */
9568 char $ac_func ();
9569 /* The GNU C library defines this for functions which it implements
9570     to always fail with ENOSYS.  Some functions are actually named
9571     something starting with __ and the normal name is an alias.  */
9572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9573 choke me
9574 #else
9575 char (*f) () = $ac_func;
9576 #endif
9577 #ifdef __cplusplus
9578 }
9579 #endif
9580
9581 int
9582 main ()
9583 {
9584 return f != $ac_func;
9585   ;
9586   return 0;
9587 }
9588 _ACEOF
9589 rm -f conftest.$ac_objext conftest$ac_exeext
9590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591   (eval $ac_link) 2>&5
9592   ac_status=$?
9593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594   (exit $ac_status); } &&
9595          { ac_try='test -s conftest$ac_exeext'
9596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597   (eval $ac_try) 2>&5
9598   ac_status=$?
9599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600   (exit $ac_status); }; }; then
9601   eval "$as_ac_var=yes"
9602 else
9603   echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.$ac_ext >&5
9605
9606 eval "$as_ac_var=no"
9607 fi
9608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9609 fi
9610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9612 if test `eval echo '${'$as_ac_var'}'` = yes; then
9613   cat >>confdefs.h <<_ACEOF
9614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9615 _ACEOF
9616
9617 fi
9618 done
9619
9620   else
9621
9622   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9623 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9624   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9625     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9626   echo $ECHO_N "(cached) $ECHO_C" >&6
9627 else
9628
9629
9630
9631       ac_ext=cc
9632 ac_cpp='$CXXCPP $CPPFLAGS'
9633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9636
9637       cat >conftest.$ac_ext <<_ACEOF
9638 #line $LINENO "configure"
9639 /* confdefs.h.  */
9640 _ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h.  */
9644 #include <math.h>
9645                       #ifdef HAVE_IEEEFP_H
9646                       #include <ieeefp.h>
9647                       #endif
9648
9649 int
9650 main ()
9651 {
9652  _fpclass(0);
9653   ;
9654   return 0;
9655 }
9656 _ACEOF
9657 rm -f conftest.$ac_objext
9658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659   (eval $ac_compile) 2>&5
9660   ac_status=$?
9661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662   (exit $ac_status); } &&
9663          { ac_try='test -s conftest.$ac_objext'
9664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665   (eval $ac_try) 2>&5
9666   ac_status=$?
9667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668   (exit $ac_status); }; }; then
9669   glibcxx_cv_func__fpclass_use=yes
9670 else
9671   echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9673
9674 glibcxx_cv_func__fpclass_use=no
9675 fi
9676 rm -f conftest.$ac_objext conftest.$ac_ext
9677       ac_ext=c
9678 ac_cpp='$CPP $CPPFLAGS'
9679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9682
9683
9684 fi
9685
9686   fi
9687   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9688 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9689
9690     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9691
9692 for ac_func in _fpclass
9693 do
9694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9695 echo "$as_me:$LINENO: checking for $ac_func" >&5
9696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9697 if eval "test \"\${$as_ac_var+set}\" = set"; then
9698   echo $ECHO_N "(cached) $ECHO_C" >&6
9699 else
9700   if test x$gcc_no_link = xyes; then
9701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9703    { (exit 1); exit 1; }; }
9704 fi
9705 cat >conftest.$ac_ext <<_ACEOF
9706 #line $LINENO "configure"
9707 /* confdefs.h.  */
9708 _ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h.  */
9712 /* System header to define __stub macros and hopefully few prototypes,
9713     which can conflict with char $ac_func (); below.
9714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9715     <limits.h> exists even on freestanding compilers.  */
9716 #ifdef __STDC__
9717 # include <limits.h>
9718 #else
9719 # include <assert.h>
9720 #endif
9721 /* Override any gcc2 internal prototype to avoid an error.  */
9722 #ifdef __cplusplus
9723 extern "C"
9724 {
9725 #endif
9726 /* We use char because int might match the return type of a gcc2
9727    builtin and then its argument prototype would still apply.  */
9728 char $ac_func ();
9729 /* The GNU C library defines this for functions which it implements
9730     to always fail with ENOSYS.  Some functions are actually named
9731     something starting with __ and the normal name is an alias.  */
9732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9733 choke me
9734 #else
9735 char (*f) () = $ac_func;
9736 #endif
9737 #ifdef __cplusplus
9738 }
9739 #endif
9740
9741 int
9742 main ()
9743 {
9744 return f != $ac_func;
9745   ;
9746   return 0;
9747 }
9748 _ACEOF
9749 rm -f conftest.$ac_objext conftest$ac_exeext
9750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9751   (eval $ac_link) 2>&5
9752   ac_status=$?
9753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754   (exit $ac_status); } &&
9755          { ac_try='test -s conftest$ac_exeext'
9756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9757   (eval $ac_try) 2>&5
9758   ac_status=$?
9759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760   (exit $ac_status); }; }; then
9761   eval "$as_ac_var=yes"
9762 else
9763   echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.$ac_ext >&5
9765
9766 eval "$as_ac_var=no"
9767 fi
9768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9769 fi
9770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9772 if test `eval echo '${'$as_ac_var'}'` = yes; then
9773   cat >>confdefs.h <<_ACEOF
9774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9775 _ACEOF
9776
9777 fi
9778 done
9779
9780     fi
9781   fi
9782
9783
9784
9785   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9786 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9787   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9788     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9789   echo $ECHO_N "(cached) $ECHO_C" >&6
9790 else
9791
9792
9793
9794       ac_ext=cc
9795 ac_cpp='$CXXCPP $CPPFLAGS'
9796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9799
9800       cat >conftest.$ac_ext <<_ACEOF
9801 #line $LINENO "configure"
9802 /* confdefs.h.  */
9803 _ACEOF
9804 cat confdefs.h >>conftest.$ac_ext
9805 cat >>conftest.$ac_ext <<_ACEOF
9806 /* end confdefs.h.  */
9807 #include <math.h>
9808                       #ifdef HAVE_IEEEFP_H
9809                       #include <ieeefp.h>
9810                       #endif
9811
9812 int
9813 main ()
9814 {
9815  qfpclass(0);
9816   ;
9817   return 0;
9818 }
9819 _ACEOF
9820 rm -f conftest.$ac_objext
9821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9822   (eval $ac_compile) 2>&5
9823   ac_status=$?
9824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825   (exit $ac_status); } &&
9826          { ac_try='test -s conftest.$ac_objext'
9827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828   (eval $ac_try) 2>&5
9829   ac_status=$?
9830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831   (exit $ac_status); }; }; then
9832   glibcxx_cv_func_qfpclass_use=yes
9833 else
9834   echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.$ac_ext >&5
9836
9837 glibcxx_cv_func_qfpclass_use=no
9838 fi
9839 rm -f conftest.$ac_objext conftest.$ac_ext
9840       ac_ext=c
9841 ac_cpp='$CPP $CPPFLAGS'
9842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9845
9846
9847 fi
9848
9849   fi
9850   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9851 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9852
9853   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9854
9855 for ac_func in qfpclass
9856 do
9857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9858 echo "$as_me:$LINENO: checking for $ac_func" >&5
9859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9860 if eval "test \"\${$as_ac_var+set}\" = set"; then
9861   echo $ECHO_N "(cached) $ECHO_C" >&6
9862 else
9863   if test x$gcc_no_link = xyes; then
9864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9866    { (exit 1); exit 1; }; }
9867 fi
9868 cat >conftest.$ac_ext <<_ACEOF
9869 #line $LINENO "configure"
9870 /* confdefs.h.  */
9871 _ACEOF
9872 cat confdefs.h >>conftest.$ac_ext
9873 cat >>conftest.$ac_ext <<_ACEOF
9874 /* end confdefs.h.  */
9875 /* System header to define __stub macros and hopefully few prototypes,
9876     which can conflict with char $ac_func (); below.
9877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9878     <limits.h> exists even on freestanding compilers.  */
9879 #ifdef __STDC__
9880 # include <limits.h>
9881 #else
9882 # include <assert.h>
9883 #endif
9884 /* Override any gcc2 internal prototype to avoid an error.  */
9885 #ifdef __cplusplus
9886 extern "C"
9887 {
9888 #endif
9889 /* We use char because int might match the return type of a gcc2
9890    builtin and then its argument prototype would still apply.  */
9891 char $ac_func ();
9892 /* The GNU C library defines this for functions which it implements
9893     to always fail with ENOSYS.  Some functions are actually named
9894     something starting with __ and the normal name is an alias.  */
9895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9896 choke me
9897 #else
9898 char (*f) () = $ac_func;
9899 #endif
9900 #ifdef __cplusplus
9901 }
9902 #endif
9903
9904 int
9905 main ()
9906 {
9907 return f != $ac_func;
9908   ;
9909   return 0;
9910 }
9911 _ACEOF
9912 rm -f conftest.$ac_objext conftest$ac_exeext
9913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9914   (eval $ac_link) 2>&5
9915   ac_status=$?
9916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917   (exit $ac_status); } &&
9918          { ac_try='test -s conftest$ac_exeext'
9919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9920   (eval $ac_try) 2>&5
9921   ac_status=$?
9922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923   (exit $ac_status); }; }; then
9924   eval "$as_ac_var=yes"
9925 else
9926   echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.$ac_ext >&5
9928
9929 eval "$as_ac_var=no"
9930 fi
9931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9932 fi
9933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9935 if test `eval echo '${'$as_ac_var'}'` = yes; then
9936   cat >>confdefs.h <<_ACEOF
9937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9938 _ACEOF
9939
9940 fi
9941 done
9942
9943   else
9944
9945   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9946 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9947   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9948     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9949   echo $ECHO_N "(cached) $ECHO_C" >&6
9950 else
9951
9952
9953
9954       ac_ext=cc
9955 ac_cpp='$CXXCPP $CPPFLAGS'
9956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9959
9960       cat >conftest.$ac_ext <<_ACEOF
9961 #line $LINENO "configure"
9962 /* confdefs.h.  */
9963 _ACEOF
9964 cat confdefs.h >>conftest.$ac_ext
9965 cat >>conftest.$ac_ext <<_ACEOF
9966 /* end confdefs.h.  */
9967 #include <math.h>
9968                       #ifdef HAVE_IEEEFP_H
9969                       #include <ieeefp.h>
9970                       #endif
9971
9972 int
9973 main ()
9974 {
9975  _qfpclass(0);
9976   ;
9977   return 0;
9978 }
9979 _ACEOF
9980 rm -f conftest.$ac_objext
9981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9982   (eval $ac_compile) 2>&5
9983   ac_status=$?
9984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985   (exit $ac_status); } &&
9986          { ac_try='test -s conftest.$ac_objext'
9987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9988   (eval $ac_try) 2>&5
9989   ac_status=$?
9990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991   (exit $ac_status); }; }; then
9992   glibcxx_cv_func__qfpclass_use=yes
9993 else
9994   echo "$as_me: failed program was:" >&5
9995 sed 's/^/| /' conftest.$ac_ext >&5
9996
9997 glibcxx_cv_func__qfpclass_use=no
9998 fi
9999 rm -f conftest.$ac_objext conftest.$ac_ext
10000       ac_ext=c
10001 ac_cpp='$CPP $CPPFLAGS'
10002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10005
10006
10007 fi
10008
10009   fi
10010   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10011 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10012
10013     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10014
10015 for ac_func in _qfpclass
10016 do
10017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10018 echo "$as_me:$LINENO: checking for $ac_func" >&5
10019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10020 if eval "test \"\${$as_ac_var+set}\" = set"; then
10021   echo $ECHO_N "(cached) $ECHO_C" >&6
10022 else
10023   if test x$gcc_no_link = xyes; then
10024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10026    { (exit 1); exit 1; }; }
10027 fi
10028 cat >conftest.$ac_ext <<_ACEOF
10029 #line $LINENO "configure"
10030 /* confdefs.h.  */
10031 _ACEOF
10032 cat confdefs.h >>conftest.$ac_ext
10033 cat >>conftest.$ac_ext <<_ACEOF
10034 /* end confdefs.h.  */
10035 /* System header to define __stub macros and hopefully few prototypes,
10036     which can conflict with char $ac_func (); below.
10037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10038     <limits.h> exists even on freestanding compilers.  */
10039 #ifdef __STDC__
10040 # include <limits.h>
10041 #else
10042 # include <assert.h>
10043 #endif
10044 /* Override any gcc2 internal prototype to avoid an error.  */
10045 #ifdef __cplusplus
10046 extern "C"
10047 {
10048 #endif
10049 /* We use char because int might match the return type of a gcc2
10050    builtin and then its argument prototype would still apply.  */
10051 char $ac_func ();
10052 /* The GNU C library defines this for functions which it implements
10053     to always fail with ENOSYS.  Some functions are actually named
10054     something starting with __ and the normal name is an alias.  */
10055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10056 choke me
10057 #else
10058 char (*f) () = $ac_func;
10059 #endif
10060 #ifdef __cplusplus
10061 }
10062 #endif
10063
10064 int
10065 main ()
10066 {
10067 return f != $ac_func;
10068   ;
10069   return 0;
10070 }
10071 _ACEOF
10072 rm -f conftest.$ac_objext conftest$ac_exeext
10073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10074   (eval $ac_link) 2>&5
10075   ac_status=$?
10076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077   (exit $ac_status); } &&
10078          { ac_try='test -s conftest$ac_exeext'
10079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080   (eval $ac_try) 2>&5
10081   ac_status=$?
10082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083   (exit $ac_status); }; }; then
10084   eval "$as_ac_var=yes"
10085 else
10086   echo "$as_me: failed program was:" >&5
10087 sed 's/^/| /' conftest.$ac_ext >&5
10088
10089 eval "$as_ac_var=no"
10090 fi
10091 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10092 fi
10093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10095 if test `eval echo '${'$as_ac_var'}'` = yes; then
10096   cat >>confdefs.h <<_ACEOF
10097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10098 _ACEOF
10099
10100 fi
10101 done
10102
10103     fi
10104   fi
10105
10106
10107
10108   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10109 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10110   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10111     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10112   echo $ECHO_N "(cached) $ECHO_C" >&6
10113 else
10114
10115
10116
10117       ac_ext=cc
10118 ac_cpp='$CXXCPP $CPPFLAGS'
10119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10122
10123       cat >conftest.$ac_ext <<_ACEOF
10124 #line $LINENO "configure"
10125 /* confdefs.h.  */
10126 _ACEOF
10127 cat confdefs.h >>conftest.$ac_ext
10128 cat >>conftest.$ac_ext <<_ACEOF
10129 /* end confdefs.h.  */
10130 #include <math.h>
10131 int
10132 main ()
10133 {
10134  hypot(0, 0);
10135   ;
10136   return 0;
10137 }
10138 _ACEOF
10139 rm -f conftest.$ac_objext
10140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10141   (eval $ac_compile) 2>&5
10142   ac_status=$?
10143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144   (exit $ac_status); } &&
10145          { ac_try='test -s conftest.$ac_objext'
10146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10147   (eval $ac_try) 2>&5
10148   ac_status=$?
10149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150   (exit $ac_status); }; }; then
10151   glibcxx_cv_func_hypot_use=yes
10152 else
10153   echo "$as_me: failed program was:" >&5
10154 sed 's/^/| /' conftest.$ac_ext >&5
10155
10156 glibcxx_cv_func_hypot_use=no
10157 fi
10158 rm -f conftest.$ac_objext conftest.$ac_ext
10159       ac_ext=c
10160 ac_cpp='$CPP $CPPFLAGS'
10161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10164
10165
10166 fi
10167
10168   fi
10169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10170 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10171
10172   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10173
10174 for ac_func in hypot
10175 do
10176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10177 echo "$as_me:$LINENO: checking for $ac_func" >&5
10178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10179 if eval "test \"\${$as_ac_var+set}\" = set"; then
10180   echo $ECHO_N "(cached) $ECHO_C" >&6
10181 else
10182   if test x$gcc_no_link = xyes; then
10183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185    { (exit 1); exit 1; }; }
10186 fi
10187 cat >conftest.$ac_ext <<_ACEOF
10188 #line $LINENO "configure"
10189 /* confdefs.h.  */
10190 _ACEOF
10191 cat confdefs.h >>conftest.$ac_ext
10192 cat >>conftest.$ac_ext <<_ACEOF
10193 /* end confdefs.h.  */
10194 /* System header to define __stub macros and hopefully few prototypes,
10195     which can conflict with char $ac_func (); below.
10196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10197     <limits.h> exists even on freestanding compilers.  */
10198 #ifdef __STDC__
10199 # include <limits.h>
10200 #else
10201 # include <assert.h>
10202 #endif
10203 /* Override any gcc2 internal prototype to avoid an error.  */
10204 #ifdef __cplusplus
10205 extern "C"
10206 {
10207 #endif
10208 /* We use char because int might match the return type of a gcc2
10209    builtin and then its argument prototype would still apply.  */
10210 char $ac_func ();
10211 /* The GNU C library defines this for functions which it implements
10212     to always fail with ENOSYS.  Some functions are actually named
10213     something starting with __ and the normal name is an alias.  */
10214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10215 choke me
10216 #else
10217 char (*f) () = $ac_func;
10218 #endif
10219 #ifdef __cplusplus
10220 }
10221 #endif
10222
10223 int
10224 main ()
10225 {
10226 return f != $ac_func;
10227   ;
10228   return 0;
10229 }
10230 _ACEOF
10231 rm -f conftest.$ac_objext conftest$ac_exeext
10232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10233   (eval $ac_link) 2>&5
10234   ac_status=$?
10235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236   (exit $ac_status); } &&
10237          { ac_try='test -s conftest$ac_exeext'
10238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10239   (eval $ac_try) 2>&5
10240   ac_status=$?
10241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242   (exit $ac_status); }; }; then
10243   eval "$as_ac_var=yes"
10244 else
10245   echo "$as_me: failed program was:" >&5
10246 sed 's/^/| /' conftest.$ac_ext >&5
10247
10248 eval "$as_ac_var=no"
10249 fi
10250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10251 fi
10252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10254 if test `eval echo '${'$as_ac_var'}'` = yes; then
10255   cat >>confdefs.h <<_ACEOF
10256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10257 _ACEOF
10258
10259 fi
10260 done
10261
10262   else
10263
10264   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10265 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10266   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10267     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10268   echo $ECHO_N "(cached) $ECHO_C" >&6
10269 else
10270
10271
10272
10273       ac_ext=cc
10274 ac_cpp='$CXXCPP $CPPFLAGS'
10275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10278
10279       cat >conftest.$ac_ext <<_ACEOF
10280 #line $LINENO "configure"
10281 /* confdefs.h.  */
10282 _ACEOF
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h.  */
10286 #include <math.h>
10287 int
10288 main ()
10289 {
10290  _hypot(0, 0);
10291   ;
10292   return 0;
10293 }
10294 _ACEOF
10295 rm -f conftest.$ac_objext
10296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10297   (eval $ac_compile) 2>&5
10298   ac_status=$?
10299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300   (exit $ac_status); } &&
10301          { ac_try='test -s conftest.$ac_objext'
10302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303   (eval $ac_try) 2>&5
10304   ac_status=$?
10305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306   (exit $ac_status); }; }; then
10307   glibcxx_cv_func__hypot_use=yes
10308 else
10309   echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10311
10312 glibcxx_cv_func__hypot_use=no
10313 fi
10314 rm -f conftest.$ac_objext conftest.$ac_ext
10315       ac_ext=c
10316 ac_cpp='$CPP $CPPFLAGS'
10317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10320
10321
10322 fi
10323
10324   fi
10325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10326 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10327
10328     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10329
10330 for ac_func in _hypot
10331 do
10332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10333 echo "$as_me:$LINENO: checking for $ac_func" >&5
10334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10335 if eval "test \"\${$as_ac_var+set}\" = set"; then
10336   echo $ECHO_N "(cached) $ECHO_C" >&6
10337 else
10338   if test x$gcc_no_link = xyes; then
10339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10341    { (exit 1); exit 1; }; }
10342 fi
10343 cat >conftest.$ac_ext <<_ACEOF
10344 #line $LINENO "configure"
10345 /* confdefs.h.  */
10346 _ACEOF
10347 cat confdefs.h >>conftest.$ac_ext
10348 cat >>conftest.$ac_ext <<_ACEOF
10349 /* end confdefs.h.  */
10350 /* System header to define __stub macros and hopefully few prototypes,
10351     which can conflict with char $ac_func (); below.
10352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10353     <limits.h> exists even on freestanding compilers.  */
10354 #ifdef __STDC__
10355 # include <limits.h>
10356 #else
10357 # include <assert.h>
10358 #endif
10359 /* Override any gcc2 internal prototype to avoid an error.  */
10360 #ifdef __cplusplus
10361 extern "C"
10362 {
10363 #endif
10364 /* We use char because int might match the return type of a gcc2
10365    builtin and then its argument prototype would still apply.  */
10366 char $ac_func ();
10367 /* The GNU C library defines this for functions which it implements
10368     to always fail with ENOSYS.  Some functions are actually named
10369     something starting with __ and the normal name is an alias.  */
10370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10371 choke me
10372 #else
10373 char (*f) () = $ac_func;
10374 #endif
10375 #ifdef __cplusplus
10376 }
10377 #endif
10378
10379 int
10380 main ()
10381 {
10382 return f != $ac_func;
10383   ;
10384   return 0;
10385 }
10386 _ACEOF
10387 rm -f conftest.$ac_objext conftest$ac_exeext
10388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10389   (eval $ac_link) 2>&5
10390   ac_status=$?
10391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392   (exit $ac_status); } &&
10393          { ac_try='test -s conftest$ac_exeext'
10394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10395   (eval $ac_try) 2>&5
10396   ac_status=$?
10397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398   (exit $ac_status); }; }; then
10399   eval "$as_ac_var=yes"
10400 else
10401   echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10403
10404 eval "$as_ac_var=no"
10405 fi
10406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10407 fi
10408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10410 if test `eval echo '${'$as_ac_var'}'` = yes; then
10411   cat >>confdefs.h <<_ACEOF
10412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10413 _ACEOF
10414
10415 fi
10416 done
10417
10418     fi
10419   fi
10420
10421
10422
10423   echo "$as_me:$LINENO: checking for float trig functions" >&5
10424 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10425   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10426   echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428
10429
10430
10431     ac_ext=cc
10432 ac_cpp='$CXXCPP $CPPFLAGS'
10433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10436
10437     cat >conftest.$ac_ext <<_ACEOF
10438 #line $LINENO "configure"
10439 /* confdefs.h.  */
10440 _ACEOF
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h.  */
10444 #include <math.h>
10445 int
10446 main ()
10447 {
10448  `for x in acosf asinf atanf \
10449                                           cosf sinf tanf \
10450                                           coshf sinhf tanhf; do echo "$x (0);"; done`
10451   ;
10452   return 0;
10453 }
10454 _ACEOF
10455 rm -f conftest.$ac_objext
10456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10457   (eval $ac_compile) 2>&5
10458   ac_status=$?
10459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460   (exit $ac_status); } &&
10461          { ac_try='test -s conftest.$ac_objext'
10462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463   (eval $ac_try) 2>&5
10464   ac_status=$?
10465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466   (exit $ac_status); }; }; then
10467   glibcxx_cv_func_float_trig_use=yes
10468 else
10469   echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.$ac_ext >&5
10471
10472 glibcxx_cv_func_float_trig_use=no
10473 fi
10474 rm -f conftest.$ac_objext conftest.$ac_ext
10475     ac_ext=c
10476 ac_cpp='$CPP $CPPFLAGS'
10477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10480
10481 fi
10482
10483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10484 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10485   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495 for ac_func in acosf asinf atanf \
10496                                           cosf sinf tanf \
10497                                           coshf sinhf tanhf
10498 do
10499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10500 echo "$as_me:$LINENO: checking for $ac_func" >&5
10501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10502 if eval "test \"\${$as_ac_var+set}\" = set"; then
10503   echo $ECHO_N "(cached) $ECHO_C" >&6
10504 else
10505   if test x$gcc_no_link = xyes; then
10506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10508    { (exit 1); exit 1; }; }
10509 fi
10510 cat >conftest.$ac_ext <<_ACEOF
10511 #line $LINENO "configure"
10512 /* confdefs.h.  */
10513 _ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h.  */
10517 /* System header to define __stub macros and hopefully few prototypes,
10518     which can conflict with char $ac_func (); below.
10519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10520     <limits.h> exists even on freestanding compilers.  */
10521 #ifdef __STDC__
10522 # include <limits.h>
10523 #else
10524 # include <assert.h>
10525 #endif
10526 /* Override any gcc2 internal prototype to avoid an error.  */
10527 #ifdef __cplusplus
10528 extern "C"
10529 {
10530 #endif
10531 /* We use char because int might match the return type of a gcc2
10532    builtin and then its argument prototype would still apply.  */
10533 char $ac_func ();
10534 /* The GNU C library defines this for functions which it implements
10535     to always fail with ENOSYS.  Some functions are actually named
10536     something starting with __ and the normal name is an alias.  */
10537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10538 choke me
10539 #else
10540 char (*f) () = $ac_func;
10541 #endif
10542 #ifdef __cplusplus
10543 }
10544 #endif
10545
10546 int
10547 main ()
10548 {
10549 return f != $ac_func;
10550   ;
10551   return 0;
10552 }
10553 _ACEOF
10554 rm -f conftest.$ac_objext conftest$ac_exeext
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556   (eval $ac_link) 2>&5
10557   ac_status=$?
10558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559   (exit $ac_status); } &&
10560          { ac_try='test -s conftest$ac_exeext'
10561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562   (eval $ac_try) 2>&5
10563   ac_status=$?
10564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565   (exit $ac_status); }; }; then
10566   eval "$as_ac_var=yes"
10567 else
10568   echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10570
10571 eval "$as_ac_var=no"
10572 fi
10573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10574 fi
10575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10577 if test `eval echo '${'$as_ac_var'}'` = yes; then
10578   cat >>confdefs.h <<_ACEOF
10579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10580 _ACEOF
10581
10582 fi
10583 done
10584
10585   fi
10586
10587
10588   echo "$as_me:$LINENO: checking for float round functions" >&5
10589 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10590   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10591   echo $ECHO_N "(cached) $ECHO_C" >&6
10592 else
10593
10594
10595
10596     ac_ext=cc
10597 ac_cpp='$CXXCPP $CPPFLAGS'
10598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10601
10602     cat >conftest.$ac_ext <<_ACEOF
10603 #line $LINENO "configure"
10604 /* confdefs.h.  */
10605 _ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h.  */
10609 #include <math.h>
10610 int
10611 main ()
10612 {
10613  `for x in ceilf floorf; do echo "$x (0);"; done`
10614   ;
10615   return 0;
10616 }
10617 _ACEOF
10618 rm -f conftest.$ac_objext
10619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10620   (eval $ac_compile) 2>&5
10621   ac_status=$?
10622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623   (exit $ac_status); } &&
10624          { ac_try='test -s conftest.$ac_objext'
10625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10626   (eval $ac_try) 2>&5
10627   ac_status=$?
10628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629   (exit $ac_status); }; }; then
10630   glibcxx_cv_func_float_round_use=yes
10631 else
10632   echo "$as_me: failed program was:" >&5
10633 sed 's/^/| /' conftest.$ac_ext >&5
10634
10635 glibcxx_cv_func_float_round_use=no
10636 fi
10637 rm -f conftest.$ac_objext conftest.$ac_ext
10638     ac_ext=c
10639 ac_cpp='$CPP $CPPFLAGS'
10640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10643
10644 fi
10645
10646   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10647 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10648   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10649
10650
10651 for ac_func in ceilf floorf
10652 do
10653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10654 echo "$as_me:$LINENO: checking for $ac_func" >&5
10655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10656 if eval "test \"\${$as_ac_var+set}\" = set"; then
10657   echo $ECHO_N "(cached) $ECHO_C" >&6
10658 else
10659   if test x$gcc_no_link = xyes; then
10660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10662    { (exit 1); exit 1; }; }
10663 fi
10664 cat >conftest.$ac_ext <<_ACEOF
10665 #line $LINENO "configure"
10666 /* confdefs.h.  */
10667 _ACEOF
10668 cat confdefs.h >>conftest.$ac_ext
10669 cat >>conftest.$ac_ext <<_ACEOF
10670 /* end confdefs.h.  */
10671 /* System header to define __stub macros and hopefully few prototypes,
10672     which can conflict with char $ac_func (); below.
10673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10674     <limits.h> exists even on freestanding compilers.  */
10675 #ifdef __STDC__
10676 # include <limits.h>
10677 #else
10678 # include <assert.h>
10679 #endif
10680 /* Override any gcc2 internal prototype to avoid an error.  */
10681 #ifdef __cplusplus
10682 extern "C"
10683 {
10684 #endif
10685 /* We use char because int might match the return type of a gcc2
10686    builtin and then its argument prototype would still apply.  */
10687 char $ac_func ();
10688 /* The GNU C library defines this for functions which it implements
10689     to always fail with ENOSYS.  Some functions are actually named
10690     something starting with __ and the normal name is an alias.  */
10691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10692 choke me
10693 #else
10694 char (*f) () = $ac_func;
10695 #endif
10696 #ifdef __cplusplus
10697 }
10698 #endif
10699
10700 int
10701 main ()
10702 {
10703 return f != $ac_func;
10704   ;
10705   return 0;
10706 }
10707 _ACEOF
10708 rm -f conftest.$ac_objext conftest$ac_exeext
10709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10710   (eval $ac_link) 2>&5
10711   ac_status=$?
10712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713   (exit $ac_status); } &&
10714          { ac_try='test -s conftest$ac_exeext'
10715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716   (eval $ac_try) 2>&5
10717   ac_status=$?
10718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719   (exit $ac_status); }; }; then
10720   eval "$as_ac_var=yes"
10721 else
10722   echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10724
10725 eval "$as_ac_var=no"
10726 fi
10727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10728 fi
10729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10731 if test `eval echo '${'$as_ac_var'}'` = yes; then
10732   cat >>confdefs.h <<_ACEOF
10733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10734 _ACEOF
10735
10736 fi
10737 done
10738
10739   fi
10740
10741
10742
10743   echo "$as_me:$LINENO: checking for expf declaration" >&5
10744 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10745   if test x${glibcxx_cv_func_expf_use+set} != xset; then
10746     if test "${glibcxx_cv_func_expf_use+set}" = set; then
10747   echo $ECHO_N "(cached) $ECHO_C" >&6
10748 else
10749
10750
10751
10752       ac_ext=cc
10753 ac_cpp='$CXXCPP $CPPFLAGS'
10754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10757
10758       cat >conftest.$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10760 /* confdefs.h.  */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h.  */
10765 #include <math.h>
10766                       #ifdef HAVE_IEEEFP_H
10767                       #include <ieeefp.h>
10768                       #endif
10769
10770 int
10771 main ()
10772 {
10773  expf(0);
10774   ;
10775   return 0;
10776 }
10777 _ACEOF
10778 rm -f conftest.$ac_objext
10779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10780   (eval $ac_compile) 2>&5
10781   ac_status=$?
10782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783   (exit $ac_status); } &&
10784          { ac_try='test -s conftest.$ac_objext'
10785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10786   (eval $ac_try) 2>&5
10787   ac_status=$?
10788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789   (exit $ac_status); }; }; then
10790   glibcxx_cv_func_expf_use=yes
10791 else
10792   echo "$as_me: failed program was:" >&5
10793 sed 's/^/| /' conftest.$ac_ext >&5
10794
10795 glibcxx_cv_func_expf_use=no
10796 fi
10797 rm -f conftest.$ac_objext conftest.$ac_ext
10798       ac_ext=c
10799 ac_cpp='$CPP $CPPFLAGS'
10800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10803
10804
10805 fi
10806
10807   fi
10808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10809 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10810
10811   if test x$glibcxx_cv_func_expf_use = x"yes"; then
10812
10813 for ac_func in expf
10814 do
10815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10816 echo "$as_me:$LINENO: checking for $ac_func" >&5
10817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10818 if eval "test \"\${$as_ac_var+set}\" = set"; then
10819   echo $ECHO_N "(cached) $ECHO_C" >&6
10820 else
10821   if test x$gcc_no_link = xyes; then
10822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10824    { (exit 1); exit 1; }; }
10825 fi
10826 cat >conftest.$ac_ext <<_ACEOF
10827 #line $LINENO "configure"
10828 /* confdefs.h.  */
10829 _ACEOF
10830 cat confdefs.h >>conftest.$ac_ext
10831 cat >>conftest.$ac_ext <<_ACEOF
10832 /* end confdefs.h.  */
10833 /* System header to define __stub macros and hopefully few prototypes,
10834     which can conflict with char $ac_func (); below.
10835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10836     <limits.h> exists even on freestanding compilers.  */
10837 #ifdef __STDC__
10838 # include <limits.h>
10839 #else
10840 # include <assert.h>
10841 #endif
10842 /* Override any gcc2 internal prototype to avoid an error.  */
10843 #ifdef __cplusplus
10844 extern "C"
10845 {
10846 #endif
10847 /* We use char because int might match the return type of a gcc2
10848    builtin and then its argument prototype would still apply.  */
10849 char $ac_func ();
10850 /* The GNU C library defines this for functions which it implements
10851     to always fail with ENOSYS.  Some functions are actually named
10852     something starting with __ and the normal name is an alias.  */
10853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10854 choke me
10855 #else
10856 char (*f) () = $ac_func;
10857 #endif
10858 #ifdef __cplusplus
10859 }
10860 #endif
10861
10862 int
10863 main ()
10864 {
10865 return f != $ac_func;
10866   ;
10867   return 0;
10868 }
10869 _ACEOF
10870 rm -f conftest.$ac_objext conftest$ac_exeext
10871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10872   (eval $ac_link) 2>&5
10873   ac_status=$?
10874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875   (exit $ac_status); } &&
10876          { ac_try='test -s conftest$ac_exeext'
10877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878   (eval $ac_try) 2>&5
10879   ac_status=$?
10880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881   (exit $ac_status); }; }; then
10882   eval "$as_ac_var=yes"
10883 else
10884   echo "$as_me: failed program was:" >&5
10885 sed 's/^/| /' conftest.$ac_ext >&5
10886
10887 eval "$as_ac_var=no"
10888 fi
10889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10890 fi
10891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10893 if test `eval echo '${'$as_ac_var'}'` = yes; then
10894   cat >>confdefs.h <<_ACEOF
10895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10896 _ACEOF
10897
10898 fi
10899 done
10900
10901   else
10902
10903   echo "$as_me:$LINENO: checking for _expf declaration" >&5
10904 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10905   if test x${glibcxx_cv_func__expf_use+set} != xset; then
10906     if test "${glibcxx_cv_func__expf_use+set}" = set; then
10907   echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10909
10910
10911
10912       ac_ext=cc
10913 ac_cpp='$CXXCPP $CPPFLAGS'
10914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10917
10918       cat >conftest.$ac_ext <<_ACEOF
10919 #line $LINENO "configure"
10920 /* confdefs.h.  */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h.  */
10925 #include <math.h>
10926                       #ifdef HAVE_IEEEFP_H
10927                       #include <ieeefp.h>
10928                       #endif
10929
10930 int
10931 main ()
10932 {
10933  _expf(0);
10934   ;
10935   return 0;
10936 }
10937 _ACEOF
10938 rm -f conftest.$ac_objext
10939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10940   (eval $ac_compile) 2>&5
10941   ac_status=$?
10942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943   (exit $ac_status); } &&
10944          { ac_try='test -s conftest.$ac_objext'
10945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946   (eval $ac_try) 2>&5
10947   ac_status=$?
10948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949   (exit $ac_status); }; }; then
10950   glibcxx_cv_func__expf_use=yes
10951 else
10952   echo "$as_me: failed program was:" >&5
10953 sed 's/^/| /' conftest.$ac_ext >&5
10954
10955 glibcxx_cv_func__expf_use=no
10956 fi
10957 rm -f conftest.$ac_objext conftest.$ac_ext
10958       ac_ext=c
10959 ac_cpp='$CPP $CPPFLAGS'
10960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10963
10964
10965 fi
10966
10967   fi
10968   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10969 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
10970
10971     if test x$glibcxx_cv_func__expf_use = x"yes"; then
10972
10973 for ac_func in _expf
10974 do
10975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10976 echo "$as_me:$LINENO: checking for $ac_func" >&5
10977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10978 if eval "test \"\${$as_ac_var+set}\" = set"; then
10979   echo $ECHO_N "(cached) $ECHO_C" >&6
10980 else
10981   if test x$gcc_no_link = xyes; then
10982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10984    { (exit 1); exit 1; }; }
10985 fi
10986 cat >conftest.$ac_ext <<_ACEOF
10987 #line $LINENO "configure"
10988 /* confdefs.h.  */
10989 _ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h.  */
10993 /* System header to define __stub macros and hopefully few prototypes,
10994     which can conflict with char $ac_func (); below.
10995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10996     <limits.h> exists even on freestanding compilers.  */
10997 #ifdef __STDC__
10998 # include <limits.h>
10999 #else
11000 # include <assert.h>
11001 #endif
11002 /* Override any gcc2 internal prototype to avoid an error.  */
11003 #ifdef __cplusplus
11004 extern "C"
11005 {
11006 #endif
11007 /* We use char because int might match the return type of a gcc2
11008    builtin and then its argument prototype would still apply.  */
11009 char $ac_func ();
11010 /* The GNU C library defines this for functions which it implements
11011     to always fail with ENOSYS.  Some functions are actually named
11012     something starting with __ and the normal name is an alias.  */
11013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11014 choke me
11015 #else
11016 char (*f) () = $ac_func;
11017 #endif
11018 #ifdef __cplusplus
11019 }
11020 #endif
11021
11022 int
11023 main ()
11024 {
11025 return f != $ac_func;
11026   ;
11027   return 0;
11028 }
11029 _ACEOF
11030 rm -f conftest.$ac_objext conftest$ac_exeext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11032   (eval $ac_link) 2>&5
11033   ac_status=$?
11034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035   (exit $ac_status); } &&
11036          { ac_try='test -s conftest$ac_exeext'
11037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038   (eval $ac_try) 2>&5
11039   ac_status=$?
11040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041   (exit $ac_status); }; }; then
11042   eval "$as_ac_var=yes"
11043 else
11044   echo "$as_me: failed program was:" >&5
11045 sed 's/^/| /' conftest.$ac_ext >&5
11046
11047 eval "$as_ac_var=no"
11048 fi
11049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11050 fi
11051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11053 if test `eval echo '${'$as_ac_var'}'` = yes; then
11054   cat >>confdefs.h <<_ACEOF
11055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11056 _ACEOF
11057
11058 fi
11059 done
11060
11061     fi
11062   fi
11063
11064
11065
11066   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11067 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11068   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11069     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11070   echo $ECHO_N "(cached) $ECHO_C" >&6
11071 else
11072
11073
11074
11075       ac_ext=cc
11076 ac_cpp='$CXXCPP $CPPFLAGS'
11077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11080
11081       cat >conftest.$ac_ext <<_ACEOF
11082 #line $LINENO "configure"
11083 /* confdefs.h.  */
11084 _ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h.  */
11088 #include <math.h>
11089                       #ifdef HAVE_IEEEFP_H
11090                       #include <ieeefp.h>
11091                       #endif
11092
11093 int
11094 main ()
11095 {
11096  isnanf(0);
11097   ;
11098   return 0;
11099 }
11100 _ACEOF
11101 rm -f conftest.$ac_objext
11102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11103   (eval $ac_compile) 2>&5
11104   ac_status=$?
11105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106   (exit $ac_status); } &&
11107          { ac_try='test -s conftest.$ac_objext'
11108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11109   (eval $ac_try) 2>&5
11110   ac_status=$?
11111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112   (exit $ac_status); }; }; then
11113   glibcxx_cv_func_isnanf_use=yes
11114 else
11115   echo "$as_me: failed program was:" >&5
11116 sed 's/^/| /' conftest.$ac_ext >&5
11117
11118 glibcxx_cv_func_isnanf_use=no
11119 fi
11120 rm -f conftest.$ac_objext conftest.$ac_ext
11121       ac_ext=c
11122 ac_cpp='$CPP $CPPFLAGS'
11123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11126
11127
11128 fi
11129
11130   fi
11131   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11132 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11133
11134   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11135
11136 for ac_func in isnanf
11137 do
11138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11139 echo "$as_me:$LINENO: checking for $ac_func" >&5
11140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11141 if eval "test \"\${$as_ac_var+set}\" = set"; then
11142   echo $ECHO_N "(cached) $ECHO_C" >&6
11143 else
11144   if test x$gcc_no_link = xyes; then
11145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11147    { (exit 1); exit 1; }; }
11148 fi
11149 cat >conftest.$ac_ext <<_ACEOF
11150 #line $LINENO "configure"
11151 /* confdefs.h.  */
11152 _ACEOF
11153 cat confdefs.h >>conftest.$ac_ext
11154 cat >>conftest.$ac_ext <<_ACEOF
11155 /* end confdefs.h.  */
11156 /* System header to define __stub macros and hopefully few prototypes,
11157     which can conflict with char $ac_func (); below.
11158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11159     <limits.h> exists even on freestanding compilers.  */
11160 #ifdef __STDC__
11161 # include <limits.h>
11162 #else
11163 # include <assert.h>
11164 #endif
11165 /* Override any gcc2 internal prototype to avoid an error.  */
11166 #ifdef __cplusplus
11167 extern "C"
11168 {
11169 #endif
11170 /* We use char because int might match the return type of a gcc2
11171    builtin and then its argument prototype would still apply.  */
11172 char $ac_func ();
11173 /* The GNU C library defines this for functions which it implements
11174     to always fail with ENOSYS.  Some functions are actually named
11175     something starting with __ and the normal name is an alias.  */
11176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11177 choke me
11178 #else
11179 char (*f) () = $ac_func;
11180 #endif
11181 #ifdef __cplusplus
11182 }
11183 #endif
11184
11185 int
11186 main ()
11187 {
11188 return f != $ac_func;
11189   ;
11190   return 0;
11191 }
11192 _ACEOF
11193 rm -f conftest.$ac_objext conftest$ac_exeext
11194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11195   (eval $ac_link) 2>&5
11196   ac_status=$?
11197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198   (exit $ac_status); } &&
11199          { ac_try='test -s conftest$ac_exeext'
11200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201   (eval $ac_try) 2>&5
11202   ac_status=$?
11203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204   (exit $ac_status); }; }; then
11205   eval "$as_ac_var=yes"
11206 else
11207   echo "$as_me: failed program was:" >&5
11208 sed 's/^/| /' conftest.$ac_ext >&5
11209
11210 eval "$as_ac_var=no"
11211 fi
11212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11213 fi
11214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11216 if test `eval echo '${'$as_ac_var'}'` = yes; then
11217   cat >>confdefs.h <<_ACEOF
11218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11219 _ACEOF
11220
11221 fi
11222 done
11223
11224   else
11225
11226   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11227 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11228   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11229     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11230   echo $ECHO_N "(cached) $ECHO_C" >&6
11231 else
11232
11233
11234
11235       ac_ext=cc
11236 ac_cpp='$CXXCPP $CPPFLAGS'
11237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11240
11241       cat >conftest.$ac_ext <<_ACEOF
11242 #line $LINENO "configure"
11243 /* confdefs.h.  */
11244 _ACEOF
11245 cat confdefs.h >>conftest.$ac_ext
11246 cat >>conftest.$ac_ext <<_ACEOF
11247 /* end confdefs.h.  */
11248 #include <math.h>
11249                       #ifdef HAVE_IEEEFP_H
11250                       #include <ieeefp.h>
11251                       #endif
11252
11253 int
11254 main ()
11255 {
11256  _isnanf(0);
11257   ;
11258   return 0;
11259 }
11260 _ACEOF
11261 rm -f conftest.$ac_objext
11262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263   (eval $ac_compile) 2>&5
11264   ac_status=$?
11265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266   (exit $ac_status); } &&
11267          { ac_try='test -s conftest.$ac_objext'
11268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269   (eval $ac_try) 2>&5
11270   ac_status=$?
11271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272   (exit $ac_status); }; }; then
11273   glibcxx_cv_func__isnanf_use=yes
11274 else
11275   echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11277
11278 glibcxx_cv_func__isnanf_use=no
11279 fi
11280 rm -f conftest.$ac_objext conftest.$ac_ext
11281       ac_ext=c
11282 ac_cpp='$CPP $CPPFLAGS'
11283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11286
11287
11288 fi
11289
11290   fi
11291   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11292 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11293
11294     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11295
11296 for ac_func in _isnanf
11297 do
11298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11299 echo "$as_me:$LINENO: checking for $ac_func" >&5
11300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11301 if eval "test \"\${$as_ac_var+set}\" = set"; then
11302   echo $ECHO_N "(cached) $ECHO_C" >&6
11303 else
11304   if test x$gcc_no_link = xyes; then
11305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307    { (exit 1); exit 1; }; }
11308 fi
11309 cat >conftest.$ac_ext <<_ACEOF
11310 #line $LINENO "configure"
11311 /* confdefs.h.  */
11312 _ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h.  */
11316 /* System header to define __stub macros and hopefully few prototypes,
11317     which can conflict with char $ac_func (); below.
11318     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11319     <limits.h> exists even on freestanding compilers.  */
11320 #ifdef __STDC__
11321 # include <limits.h>
11322 #else
11323 # include <assert.h>
11324 #endif
11325 /* Override any gcc2 internal prototype to avoid an error.  */
11326 #ifdef __cplusplus
11327 extern "C"
11328 {
11329 #endif
11330 /* We use char because int might match the return type of a gcc2
11331    builtin and then its argument prototype would still apply.  */
11332 char $ac_func ();
11333 /* The GNU C library defines this for functions which it implements
11334     to always fail with ENOSYS.  Some functions are actually named
11335     something starting with __ and the normal name is an alias.  */
11336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11337 choke me
11338 #else
11339 char (*f) () = $ac_func;
11340 #endif
11341 #ifdef __cplusplus
11342 }
11343 #endif
11344
11345 int
11346 main ()
11347 {
11348 return f != $ac_func;
11349   ;
11350   return 0;
11351 }
11352 _ACEOF
11353 rm -f conftest.$ac_objext conftest$ac_exeext
11354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11355   (eval $ac_link) 2>&5
11356   ac_status=$?
11357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358   (exit $ac_status); } &&
11359          { ac_try='test -s conftest$ac_exeext'
11360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11361   (eval $ac_try) 2>&5
11362   ac_status=$?
11363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364   (exit $ac_status); }; }; then
11365   eval "$as_ac_var=yes"
11366 else
11367   echo "$as_me: failed program was:" >&5
11368 sed 's/^/| /' conftest.$ac_ext >&5
11369
11370 eval "$as_ac_var=no"
11371 fi
11372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11373 fi
11374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11376 if test `eval echo '${'$as_ac_var'}'` = yes; then
11377   cat >>confdefs.h <<_ACEOF
11378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11379 _ACEOF
11380
11381 fi
11382 done
11383
11384     fi
11385   fi
11386
11387
11388
11389   echo "$as_me:$LINENO: checking for isinff declaration" >&5
11390 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11391   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11392     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11393   echo $ECHO_N "(cached) $ECHO_C" >&6
11394 else
11395
11396
11397
11398       ac_ext=cc
11399 ac_cpp='$CXXCPP $CPPFLAGS'
11400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11403
11404       cat >conftest.$ac_ext <<_ACEOF
11405 #line $LINENO "configure"
11406 /* confdefs.h.  */
11407 _ACEOF
11408 cat confdefs.h >>conftest.$ac_ext
11409 cat >>conftest.$ac_ext <<_ACEOF
11410 /* end confdefs.h.  */
11411 #include <math.h>
11412                       #ifdef HAVE_IEEEFP_H
11413                       #include <ieeefp.h>
11414                       #endif
11415
11416 int
11417 main ()
11418 {
11419  isinff(0);
11420   ;
11421   return 0;
11422 }
11423 _ACEOF
11424 rm -f conftest.$ac_objext
11425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11426   (eval $ac_compile) 2>&5
11427   ac_status=$?
11428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429   (exit $ac_status); } &&
11430          { ac_try='test -s conftest.$ac_objext'
11431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432   (eval $ac_try) 2>&5
11433   ac_status=$?
11434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435   (exit $ac_status); }; }; then
11436   glibcxx_cv_func_isinff_use=yes
11437 else
11438   echo "$as_me: failed program was:" >&5
11439 sed 's/^/| /' conftest.$ac_ext >&5
11440
11441 glibcxx_cv_func_isinff_use=no
11442 fi
11443 rm -f conftest.$ac_objext conftest.$ac_ext
11444       ac_ext=c
11445 ac_cpp='$CPP $CPPFLAGS'
11446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11449
11450
11451 fi
11452
11453   fi
11454   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11455 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11456
11457   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11458
11459 for ac_func in isinff
11460 do
11461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11462 echo "$as_me:$LINENO: checking for $ac_func" >&5
11463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11464 if eval "test \"\${$as_ac_var+set}\" = set"; then
11465   echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467   if test x$gcc_no_link = xyes; then
11468   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11470    { (exit 1); exit 1; }; }
11471 fi
11472 cat >conftest.$ac_ext <<_ACEOF
11473 #line $LINENO "configure"
11474 /* confdefs.h.  */
11475 _ACEOF
11476 cat confdefs.h >>conftest.$ac_ext
11477 cat >>conftest.$ac_ext <<_ACEOF
11478 /* end confdefs.h.  */
11479 /* System header to define __stub macros and hopefully few prototypes,
11480     which can conflict with char $ac_func (); below.
11481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11482     <limits.h> exists even on freestanding compilers.  */
11483 #ifdef __STDC__
11484 # include <limits.h>
11485 #else
11486 # include <assert.h>
11487 #endif
11488 /* Override any gcc2 internal prototype to avoid an error.  */
11489 #ifdef __cplusplus
11490 extern "C"
11491 {
11492 #endif
11493 /* We use char because int might match the return type of a gcc2
11494    builtin and then its argument prototype would still apply.  */
11495 char $ac_func ();
11496 /* The GNU C library defines this for functions which it implements
11497     to always fail with ENOSYS.  Some functions are actually named
11498     something starting with __ and the normal name is an alias.  */
11499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 choke me
11501 #else
11502 char (*f) () = $ac_func;
11503 #endif
11504 #ifdef __cplusplus
11505 }
11506 #endif
11507
11508 int
11509 main ()
11510 {
11511 return f != $ac_func;
11512   ;
11513   return 0;
11514 }
11515 _ACEOF
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11518   (eval $ac_link) 2>&5
11519   ac_status=$?
11520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521   (exit $ac_status); } &&
11522          { ac_try='test -s conftest$ac_exeext'
11523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524   (eval $ac_try) 2>&5
11525   ac_status=$?
11526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527   (exit $ac_status); }; }; then
11528   eval "$as_ac_var=yes"
11529 else
11530   echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5
11532
11533 eval "$as_ac_var=no"
11534 fi
11535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11536 fi
11537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11539 if test `eval echo '${'$as_ac_var'}'` = yes; then
11540   cat >>confdefs.h <<_ACEOF
11541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11542 _ACEOF
11543
11544 fi
11545 done
11546
11547   else
11548
11549   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11550 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11551   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11552     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11553   echo $ECHO_N "(cached) $ECHO_C" >&6
11554 else
11555
11556
11557
11558       ac_ext=cc
11559 ac_cpp='$CXXCPP $CPPFLAGS'
11560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11563
11564       cat >conftest.$ac_ext <<_ACEOF
11565 #line $LINENO "configure"
11566 /* confdefs.h.  */
11567 _ACEOF
11568 cat confdefs.h >>conftest.$ac_ext
11569 cat >>conftest.$ac_ext <<_ACEOF
11570 /* end confdefs.h.  */
11571 #include <math.h>
11572                       #ifdef HAVE_IEEEFP_H
11573                       #include <ieeefp.h>
11574                       #endif
11575
11576 int
11577 main ()
11578 {
11579  _isinff(0);
11580   ;
11581   return 0;
11582 }
11583 _ACEOF
11584 rm -f conftest.$ac_objext
11585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11586   (eval $ac_compile) 2>&5
11587   ac_status=$?
11588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589   (exit $ac_status); } &&
11590          { ac_try='test -s conftest.$ac_objext'
11591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592   (eval $ac_try) 2>&5
11593   ac_status=$?
11594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595   (exit $ac_status); }; }; then
11596   glibcxx_cv_func__isinff_use=yes
11597 else
11598   echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11600
11601 glibcxx_cv_func__isinff_use=no
11602 fi
11603 rm -f conftest.$ac_objext conftest.$ac_ext
11604       ac_ext=c
11605 ac_cpp='$CPP $CPPFLAGS'
11606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11609
11610
11611 fi
11612
11613   fi
11614   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11615 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11616
11617     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11618
11619 for ac_func in _isinff
11620 do
11621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11622 echo "$as_me:$LINENO: checking for $ac_func" >&5
11623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11624 if eval "test \"\${$as_ac_var+set}\" = set"; then
11625   echo $ECHO_N "(cached) $ECHO_C" >&6
11626 else
11627   if test x$gcc_no_link = xyes; then
11628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11630    { (exit 1); exit 1; }; }
11631 fi
11632 cat >conftest.$ac_ext <<_ACEOF
11633 #line $LINENO "configure"
11634 /* confdefs.h.  */
11635 _ACEOF
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h.  */
11639 /* System header to define __stub macros and hopefully few prototypes,
11640     which can conflict with char $ac_func (); below.
11641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11642     <limits.h> exists even on freestanding compilers.  */
11643 #ifdef __STDC__
11644 # include <limits.h>
11645 #else
11646 # include <assert.h>
11647 #endif
11648 /* Override any gcc2 internal prototype to avoid an error.  */
11649 #ifdef __cplusplus
11650 extern "C"
11651 {
11652 #endif
11653 /* We use char because int might match the return type of a gcc2
11654    builtin and then its argument prototype would still apply.  */
11655 char $ac_func ();
11656 /* The GNU C library defines this for functions which it implements
11657     to always fail with ENOSYS.  Some functions are actually named
11658     something starting with __ and the normal name is an alias.  */
11659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11660 choke me
11661 #else
11662 char (*f) () = $ac_func;
11663 #endif
11664 #ifdef __cplusplus
11665 }
11666 #endif
11667
11668 int
11669 main ()
11670 {
11671 return f != $ac_func;
11672   ;
11673   return 0;
11674 }
11675 _ACEOF
11676 rm -f conftest.$ac_objext conftest$ac_exeext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11678   (eval $ac_link) 2>&5
11679   ac_status=$?
11680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681   (exit $ac_status); } &&
11682          { ac_try='test -s conftest$ac_exeext'
11683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11684   (eval $ac_try) 2>&5
11685   ac_status=$?
11686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687   (exit $ac_status); }; }; then
11688   eval "$as_ac_var=yes"
11689 else
11690   echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11692
11693 eval "$as_ac_var=no"
11694 fi
11695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11696 fi
11697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11699 if test `eval echo '${'$as_ac_var'}'` = yes; then
11700   cat >>confdefs.h <<_ACEOF
11701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11702 _ACEOF
11703
11704 fi
11705 done
11706
11707     fi
11708   fi
11709
11710
11711
11712   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11713 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11714   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11715     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11716   echo $ECHO_N "(cached) $ECHO_C" >&6
11717 else
11718
11719
11720
11721       ac_ext=cc
11722 ac_cpp='$CXXCPP $CPPFLAGS'
11723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11726
11727       cat >conftest.$ac_ext <<_ACEOF
11728 #line $LINENO "configure"
11729 /* confdefs.h.  */
11730 _ACEOF
11731 cat confdefs.h >>conftest.$ac_ext
11732 cat >>conftest.$ac_ext <<_ACEOF
11733 /* end confdefs.h.  */
11734 #include <math.h>
11735 int
11736 main ()
11737 {
11738  atan2f(0, 0);
11739   ;
11740   return 0;
11741 }
11742 _ACEOF
11743 rm -f conftest.$ac_objext
11744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11745   (eval $ac_compile) 2>&5
11746   ac_status=$?
11747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748   (exit $ac_status); } &&
11749          { ac_try='test -s conftest.$ac_objext'
11750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751   (eval $ac_try) 2>&5
11752   ac_status=$?
11753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754   (exit $ac_status); }; }; then
11755   glibcxx_cv_func_atan2f_use=yes
11756 else
11757   echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11759
11760 glibcxx_cv_func_atan2f_use=no
11761 fi
11762 rm -f conftest.$ac_objext conftest.$ac_ext
11763       ac_ext=c
11764 ac_cpp='$CPP $CPPFLAGS'
11765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11768
11769
11770 fi
11771
11772   fi
11773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11774 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11775
11776   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11777
11778 for ac_func in atan2f
11779 do
11780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11781 echo "$as_me:$LINENO: checking for $ac_func" >&5
11782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11783 if eval "test \"\${$as_ac_var+set}\" = set"; then
11784   echo $ECHO_N "(cached) $ECHO_C" >&6
11785 else
11786   if test x$gcc_no_link = xyes; then
11787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11789    { (exit 1); exit 1; }; }
11790 fi
11791 cat >conftest.$ac_ext <<_ACEOF
11792 #line $LINENO "configure"
11793 /* confdefs.h.  */
11794 _ACEOF
11795 cat confdefs.h >>conftest.$ac_ext
11796 cat >>conftest.$ac_ext <<_ACEOF
11797 /* end confdefs.h.  */
11798 /* System header to define __stub macros and hopefully few prototypes,
11799     which can conflict with char $ac_func (); below.
11800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11801     <limits.h> exists even on freestanding compilers.  */
11802 #ifdef __STDC__
11803 # include <limits.h>
11804 #else
11805 # include <assert.h>
11806 #endif
11807 /* Override any gcc2 internal prototype to avoid an error.  */
11808 #ifdef __cplusplus
11809 extern "C"
11810 {
11811 #endif
11812 /* We use char because int might match the return type of a gcc2
11813    builtin and then its argument prototype would still apply.  */
11814 char $ac_func ();
11815 /* The GNU C library defines this for functions which it implements
11816     to always fail with ENOSYS.  Some functions are actually named
11817     something starting with __ and the normal name is an alias.  */
11818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11819 choke me
11820 #else
11821 char (*f) () = $ac_func;
11822 #endif
11823 #ifdef __cplusplus
11824 }
11825 #endif
11826
11827 int
11828 main ()
11829 {
11830 return f != $ac_func;
11831   ;
11832   return 0;
11833 }
11834 _ACEOF
11835 rm -f conftest.$ac_objext conftest$ac_exeext
11836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11837   (eval $ac_link) 2>&5
11838   ac_status=$?
11839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840   (exit $ac_status); } &&
11841          { ac_try='test -s conftest$ac_exeext'
11842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843   (eval $ac_try) 2>&5
11844   ac_status=$?
11845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846   (exit $ac_status); }; }; then
11847   eval "$as_ac_var=yes"
11848 else
11849   echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11851
11852 eval "$as_ac_var=no"
11853 fi
11854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11855 fi
11856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11858 if test `eval echo '${'$as_ac_var'}'` = yes; then
11859   cat >>confdefs.h <<_ACEOF
11860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11861 _ACEOF
11862
11863 fi
11864 done
11865
11866   else
11867
11868   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11869 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11870   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11871     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11872   echo $ECHO_N "(cached) $ECHO_C" >&6
11873 else
11874
11875
11876
11877       ac_ext=cc
11878 ac_cpp='$CXXCPP $CPPFLAGS'
11879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11882
11883       cat >conftest.$ac_ext <<_ACEOF
11884 #line $LINENO "configure"
11885 /* confdefs.h.  */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h.  */
11890 #include <math.h>
11891 int
11892 main ()
11893 {
11894  _atan2f(0, 0);
11895   ;
11896   return 0;
11897 }
11898 _ACEOF
11899 rm -f conftest.$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901   (eval $ac_compile) 2>&5
11902   ac_status=$?
11903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904   (exit $ac_status); } &&
11905          { ac_try='test -s conftest.$ac_objext'
11906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11907   (eval $ac_try) 2>&5
11908   ac_status=$?
11909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910   (exit $ac_status); }; }; then
11911   glibcxx_cv_func__atan2f_use=yes
11912 else
11913   echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.$ac_ext >&5
11915
11916 glibcxx_cv_func__atan2f_use=no
11917 fi
11918 rm -f conftest.$ac_objext conftest.$ac_ext
11919       ac_ext=c
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11924
11925
11926 fi
11927
11928   fi
11929   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11930 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11931
11932     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11933
11934 for ac_func in _atan2f
11935 do
11936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11937 echo "$as_me:$LINENO: checking for $ac_func" >&5
11938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11939 if eval "test \"\${$as_ac_var+set}\" = set"; then
11940   echo $ECHO_N "(cached) $ECHO_C" >&6
11941 else
11942   if test x$gcc_no_link = xyes; then
11943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11945    { (exit 1); exit 1; }; }
11946 fi
11947 cat >conftest.$ac_ext <<_ACEOF
11948 #line $LINENO "configure"
11949 /* confdefs.h.  */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h.  */
11954 /* System header to define __stub macros and hopefully few prototypes,
11955     which can conflict with char $ac_func (); below.
11956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11957     <limits.h> exists even on freestanding compilers.  */
11958 #ifdef __STDC__
11959 # include <limits.h>
11960 #else
11961 # include <assert.h>
11962 #endif
11963 /* Override any gcc2 internal prototype to avoid an error.  */
11964 #ifdef __cplusplus
11965 extern "C"
11966 {
11967 #endif
11968 /* We use char because int might match the return type of a gcc2
11969    builtin and then its argument prototype would still apply.  */
11970 char $ac_func ();
11971 /* The GNU C library defines this for functions which it implements
11972     to always fail with ENOSYS.  Some functions are actually named
11973     something starting with __ and the normal name is an alias.  */
11974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11975 choke me
11976 #else
11977 char (*f) () = $ac_func;
11978 #endif
11979 #ifdef __cplusplus
11980 }
11981 #endif
11982
11983 int
11984 main ()
11985 {
11986 return f != $ac_func;
11987   ;
11988   return 0;
11989 }
11990 _ACEOF
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11993   (eval $ac_link) 2>&5
11994   ac_status=$?
11995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996   (exit $ac_status); } &&
11997          { ac_try='test -s conftest$ac_exeext'
11998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999   (eval $ac_try) 2>&5
12000   ac_status=$?
12001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002   (exit $ac_status); }; }; then
12003   eval "$as_ac_var=yes"
12004 else
12005   echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12007
12008 eval "$as_ac_var=no"
12009 fi
12010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12011 fi
12012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12014 if test `eval echo '${'$as_ac_var'}'` = yes; then
12015   cat >>confdefs.h <<_ACEOF
12016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12017 _ACEOF
12018
12019 fi
12020 done
12021
12022     fi
12023   fi
12024
12025
12026
12027   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12028 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12029   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12030     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12031   echo $ECHO_N "(cached) $ECHO_C" >&6
12032 else
12033
12034
12035
12036       ac_ext=cc
12037 ac_cpp='$CXXCPP $CPPFLAGS'
12038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12041
12042       cat >conftest.$ac_ext <<_ACEOF
12043 #line $LINENO "configure"
12044 /* confdefs.h.  */
12045 _ACEOF
12046 cat confdefs.h >>conftest.$ac_ext
12047 cat >>conftest.$ac_ext <<_ACEOF
12048 /* end confdefs.h.  */
12049 #include <math.h>
12050                       #ifdef HAVE_IEEEFP_H
12051                       #include <ieeefp.h>
12052                       #endif
12053
12054 int
12055 main ()
12056 {
12057  fabsf(0);
12058   ;
12059   return 0;
12060 }
12061 _ACEOF
12062 rm -f conftest.$ac_objext
12063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12064   (eval $ac_compile) 2>&5
12065   ac_status=$?
12066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067   (exit $ac_status); } &&
12068          { ac_try='test -s conftest.$ac_objext'
12069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070   (eval $ac_try) 2>&5
12071   ac_status=$?
12072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073   (exit $ac_status); }; }; then
12074   glibcxx_cv_func_fabsf_use=yes
12075 else
12076   echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.$ac_ext >&5
12078
12079 glibcxx_cv_func_fabsf_use=no
12080 fi
12081 rm -f conftest.$ac_objext conftest.$ac_ext
12082       ac_ext=c
12083 ac_cpp='$CPP $CPPFLAGS'
12084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12087
12088
12089 fi
12090
12091   fi
12092   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12093 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12094
12095   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12096
12097 for ac_func in fabsf
12098 do
12099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12100 echo "$as_me:$LINENO: checking for $ac_func" >&5
12101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12102 if eval "test \"\${$as_ac_var+set}\" = set"; then
12103   echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105   if test x$gcc_no_link = xyes; then
12106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12108    { (exit 1); exit 1; }; }
12109 fi
12110 cat >conftest.$ac_ext <<_ACEOF
12111 #line $LINENO "configure"
12112 /* confdefs.h.  */
12113 _ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h.  */
12117 /* System header to define __stub macros and hopefully few prototypes,
12118     which can conflict with char $ac_func (); below.
12119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12120     <limits.h> exists even on freestanding compilers.  */
12121 #ifdef __STDC__
12122 # include <limits.h>
12123 #else
12124 # include <assert.h>
12125 #endif
12126 /* Override any gcc2 internal prototype to avoid an error.  */
12127 #ifdef __cplusplus
12128 extern "C"
12129 {
12130 #endif
12131 /* We use char because int might match the return type of a gcc2
12132    builtin and then its argument prototype would still apply.  */
12133 char $ac_func ();
12134 /* The GNU C library defines this for functions which it implements
12135     to always fail with ENOSYS.  Some functions are actually named
12136     something starting with __ and the normal name is an alias.  */
12137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12138 choke me
12139 #else
12140 char (*f) () = $ac_func;
12141 #endif
12142 #ifdef __cplusplus
12143 }
12144 #endif
12145
12146 int
12147 main ()
12148 {
12149 return f != $ac_func;
12150   ;
12151   return 0;
12152 }
12153 _ACEOF
12154 rm -f conftest.$ac_objext conftest$ac_exeext
12155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12156   (eval $ac_link) 2>&5
12157   ac_status=$?
12158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159   (exit $ac_status); } &&
12160          { ac_try='test -s conftest$ac_exeext'
12161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162   (eval $ac_try) 2>&5
12163   ac_status=$?
12164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165   (exit $ac_status); }; }; then
12166   eval "$as_ac_var=yes"
12167 else
12168   echo "$as_me: failed program was:" >&5
12169 sed 's/^/| /' conftest.$ac_ext >&5
12170
12171 eval "$as_ac_var=no"
12172 fi
12173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12174 fi
12175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12177 if test `eval echo '${'$as_ac_var'}'` = yes; then
12178   cat >>confdefs.h <<_ACEOF
12179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12180 _ACEOF
12181
12182 fi
12183 done
12184
12185   else
12186
12187   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12188 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12189   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12190     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12191   echo $ECHO_N "(cached) $ECHO_C" >&6
12192 else
12193
12194
12195
12196       ac_ext=cc
12197 ac_cpp='$CXXCPP $CPPFLAGS'
12198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12201
12202       cat >conftest.$ac_ext <<_ACEOF
12203 #line $LINENO "configure"
12204 /* confdefs.h.  */
12205 _ACEOF
12206 cat confdefs.h >>conftest.$ac_ext
12207 cat >>conftest.$ac_ext <<_ACEOF
12208 /* end confdefs.h.  */
12209 #include <math.h>
12210                       #ifdef HAVE_IEEEFP_H
12211                       #include <ieeefp.h>
12212                       #endif
12213
12214 int
12215 main ()
12216 {
12217  _fabsf(0);
12218   ;
12219   return 0;
12220 }
12221 _ACEOF
12222 rm -f conftest.$ac_objext
12223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12224   (eval $ac_compile) 2>&5
12225   ac_status=$?
12226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227   (exit $ac_status); } &&
12228          { ac_try='test -s conftest.$ac_objext'
12229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12230   (eval $ac_try) 2>&5
12231   ac_status=$?
12232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233   (exit $ac_status); }; }; then
12234   glibcxx_cv_func__fabsf_use=yes
12235 else
12236   echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.$ac_ext >&5
12238
12239 glibcxx_cv_func__fabsf_use=no
12240 fi
12241 rm -f conftest.$ac_objext conftest.$ac_ext
12242       ac_ext=c
12243 ac_cpp='$CPP $CPPFLAGS'
12244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12247
12248
12249 fi
12250
12251   fi
12252   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12253 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12254
12255     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12256
12257 for ac_func in _fabsf
12258 do
12259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12260 echo "$as_me:$LINENO: checking for $ac_func" >&5
12261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12262 if eval "test \"\${$as_ac_var+set}\" = set"; then
12263   echo $ECHO_N "(cached) $ECHO_C" >&6
12264 else
12265   if test x$gcc_no_link = xyes; then
12266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12268    { (exit 1); exit 1; }; }
12269 fi
12270 cat >conftest.$ac_ext <<_ACEOF
12271 #line $LINENO "configure"
12272 /* confdefs.h.  */
12273 _ACEOF
12274 cat confdefs.h >>conftest.$ac_ext
12275 cat >>conftest.$ac_ext <<_ACEOF
12276 /* end confdefs.h.  */
12277 /* System header to define __stub macros and hopefully few prototypes,
12278     which can conflict with char $ac_func (); below.
12279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12280     <limits.h> exists even on freestanding compilers.  */
12281 #ifdef __STDC__
12282 # include <limits.h>
12283 #else
12284 # include <assert.h>
12285 #endif
12286 /* Override any gcc2 internal prototype to avoid an error.  */
12287 #ifdef __cplusplus
12288 extern "C"
12289 {
12290 #endif
12291 /* We use char because int might match the return type of a gcc2
12292    builtin and then its argument prototype would still apply.  */
12293 char $ac_func ();
12294 /* The GNU C library defines this for functions which it implements
12295     to always fail with ENOSYS.  Some functions are actually named
12296     something starting with __ and the normal name is an alias.  */
12297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12298 choke me
12299 #else
12300 char (*f) () = $ac_func;
12301 #endif
12302 #ifdef __cplusplus
12303 }
12304 #endif
12305
12306 int
12307 main ()
12308 {
12309 return f != $ac_func;
12310   ;
12311   return 0;
12312 }
12313 _ACEOF
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12316   (eval $ac_link) 2>&5
12317   ac_status=$?
12318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319   (exit $ac_status); } &&
12320          { ac_try='test -s conftest$ac_exeext'
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   eval "$as_ac_var=yes"
12327 else
12328   echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12330
12331 eval "$as_ac_var=no"
12332 fi
12333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12334 fi
12335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12337 if test `eval echo '${'$as_ac_var'}'` = yes; then
12338   cat >>confdefs.h <<_ACEOF
12339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12340 _ACEOF
12341
12342 fi
12343 done
12344
12345     fi
12346   fi
12347
12348
12349
12350   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12351 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12352   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12353     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12354   echo $ECHO_N "(cached) $ECHO_C" >&6
12355 else
12356
12357
12358
12359       ac_ext=cc
12360 ac_cpp='$CXXCPP $CPPFLAGS'
12361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12364
12365       cat >conftest.$ac_ext <<_ACEOF
12366 #line $LINENO "configure"
12367 /* confdefs.h.  */
12368 _ACEOF
12369 cat confdefs.h >>conftest.$ac_ext
12370 cat >>conftest.$ac_ext <<_ACEOF
12371 /* end confdefs.h.  */
12372 #include <math.h>
12373 int
12374 main ()
12375 {
12376  fmodf(0, 0);
12377   ;
12378   return 0;
12379 }
12380 _ACEOF
12381 rm -f conftest.$ac_objext
12382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12383   (eval $ac_compile) 2>&5
12384   ac_status=$?
12385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386   (exit $ac_status); } &&
12387          { ac_try='test -s conftest.$ac_objext'
12388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389   (eval $ac_try) 2>&5
12390   ac_status=$?
12391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392   (exit $ac_status); }; }; then
12393   glibcxx_cv_func_fmodf_use=yes
12394 else
12395   echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.$ac_ext >&5
12397
12398 glibcxx_cv_func_fmodf_use=no
12399 fi
12400 rm -f conftest.$ac_objext conftest.$ac_ext
12401       ac_ext=c
12402 ac_cpp='$CPP $CPPFLAGS'
12403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12406
12407
12408 fi
12409
12410   fi
12411   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12412 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12413
12414   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12415
12416 for ac_func in fmodf
12417 do
12418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12419 echo "$as_me:$LINENO: checking for $ac_func" >&5
12420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12421 if eval "test \"\${$as_ac_var+set}\" = set"; then
12422   echo $ECHO_N "(cached) $ECHO_C" >&6
12423 else
12424   if test x$gcc_no_link = xyes; then
12425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12427    { (exit 1); exit 1; }; }
12428 fi
12429 cat >conftest.$ac_ext <<_ACEOF
12430 #line $LINENO "configure"
12431 /* confdefs.h.  */
12432 _ACEOF
12433 cat confdefs.h >>conftest.$ac_ext
12434 cat >>conftest.$ac_ext <<_ACEOF
12435 /* end confdefs.h.  */
12436 /* System header to define __stub macros and hopefully few prototypes,
12437     which can conflict with char $ac_func (); below.
12438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12439     <limits.h> exists even on freestanding compilers.  */
12440 #ifdef __STDC__
12441 # include <limits.h>
12442 #else
12443 # include <assert.h>
12444 #endif
12445 /* Override any gcc2 internal prototype to avoid an error.  */
12446 #ifdef __cplusplus
12447 extern "C"
12448 {
12449 #endif
12450 /* We use char because int might match the return type of a gcc2
12451    builtin and then its argument prototype would still apply.  */
12452 char $ac_func ();
12453 /* The GNU C library defines this for functions which it implements
12454     to always fail with ENOSYS.  Some functions are actually named
12455     something starting with __ and the normal name is an alias.  */
12456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12457 choke me
12458 #else
12459 char (*f) () = $ac_func;
12460 #endif
12461 #ifdef __cplusplus
12462 }
12463 #endif
12464
12465 int
12466 main ()
12467 {
12468 return f != $ac_func;
12469   ;
12470   return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.$ac_objext conftest$ac_exeext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12475   (eval $ac_link) 2>&5
12476   ac_status=$?
12477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478   (exit $ac_status); } &&
12479          { ac_try='test -s conftest$ac_exeext'
12480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481   (eval $ac_try) 2>&5
12482   ac_status=$?
12483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484   (exit $ac_status); }; }; then
12485   eval "$as_ac_var=yes"
12486 else
12487   echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 eval "$as_ac_var=no"
12491 fi
12492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12493 fi
12494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12496 if test `eval echo '${'$as_ac_var'}'` = yes; then
12497   cat >>confdefs.h <<_ACEOF
12498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12499 _ACEOF
12500
12501 fi
12502 done
12503
12504   else
12505
12506   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12507 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12508   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12509     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12510   echo $ECHO_N "(cached) $ECHO_C" >&6
12511 else
12512
12513
12514
12515       ac_ext=cc
12516 ac_cpp='$CXXCPP $CPPFLAGS'
12517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12520
12521       cat >conftest.$ac_ext <<_ACEOF
12522 #line $LINENO "configure"
12523 /* confdefs.h.  */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h.  */
12528 #include <math.h>
12529 int
12530 main ()
12531 {
12532  _fmodf(0, 0);
12533   ;
12534   return 0;
12535 }
12536 _ACEOF
12537 rm -f conftest.$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539   (eval $ac_compile) 2>&5
12540   ac_status=$?
12541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12542   (exit $ac_status); } &&
12543          { ac_try='test -s conftest.$ac_objext'
12544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12545   (eval $ac_try) 2>&5
12546   ac_status=$?
12547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548   (exit $ac_status); }; }; then
12549   glibcxx_cv_func__fmodf_use=yes
12550 else
12551   echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.$ac_ext >&5
12553
12554 glibcxx_cv_func__fmodf_use=no
12555 fi
12556 rm -f conftest.$ac_objext conftest.$ac_ext
12557       ac_ext=c
12558 ac_cpp='$CPP $CPPFLAGS'
12559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12562
12563
12564 fi
12565
12566   fi
12567   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12568 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12569
12570     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12571
12572 for ac_func in _fmodf
12573 do
12574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12575 echo "$as_me:$LINENO: checking for $ac_func" >&5
12576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12577 if eval "test \"\${$as_ac_var+set}\" = set"; then
12578   echo $ECHO_N "(cached) $ECHO_C" >&6
12579 else
12580   if test x$gcc_no_link = xyes; then
12581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12583    { (exit 1); exit 1; }; }
12584 fi
12585 cat >conftest.$ac_ext <<_ACEOF
12586 #line $LINENO "configure"
12587 /* confdefs.h.  */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h.  */
12592 /* System header to define __stub macros and hopefully few prototypes,
12593     which can conflict with char $ac_func (); below.
12594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595     <limits.h> exists even on freestanding compilers.  */
12596 #ifdef __STDC__
12597 # include <limits.h>
12598 #else
12599 # include <assert.h>
12600 #endif
12601 /* Override any gcc2 internal prototype to avoid an error.  */
12602 #ifdef __cplusplus
12603 extern "C"
12604 {
12605 #endif
12606 /* We use char because int might match the return type of a gcc2
12607    builtin and then its argument prototype would still apply.  */
12608 char $ac_func ();
12609 /* The GNU C library defines this for functions which it implements
12610     to always fail with ENOSYS.  Some functions are actually named
12611     something starting with __ and the normal name is an alias.  */
12612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12613 choke me
12614 #else
12615 char (*f) () = $ac_func;
12616 #endif
12617 #ifdef __cplusplus
12618 }
12619 #endif
12620
12621 int
12622 main ()
12623 {
12624 return f != $ac_func;
12625   ;
12626   return 0;
12627 }
12628 _ACEOF
12629 rm -f conftest.$ac_objext conftest$ac_exeext
12630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12631   (eval $ac_link) 2>&5
12632   ac_status=$?
12633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634   (exit $ac_status); } &&
12635          { ac_try='test -s conftest$ac_exeext'
12636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12637   (eval $ac_try) 2>&5
12638   ac_status=$?
12639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640   (exit $ac_status); }; }; then
12641   eval "$as_ac_var=yes"
12642 else
12643   echo "$as_me: failed program was:" >&5
12644 sed 's/^/| /' conftest.$ac_ext >&5
12645
12646 eval "$as_ac_var=no"
12647 fi
12648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12649 fi
12650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12652 if test `eval echo '${'$as_ac_var'}'` = yes; then
12653   cat >>confdefs.h <<_ACEOF
12654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12655 _ACEOF
12656
12657 fi
12658 done
12659
12660     fi
12661   fi
12662
12663
12664
12665   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12666 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12667   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12668     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12669   echo $ECHO_N "(cached) $ECHO_C" >&6
12670 else
12671
12672
12673
12674       ac_ext=cc
12675 ac_cpp='$CXXCPP $CPPFLAGS'
12676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12679
12680       cat >conftest.$ac_ext <<_ACEOF
12681 #line $LINENO "configure"
12682 /* confdefs.h.  */
12683 _ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h.  */
12687 #include <math.h>
12688 int
12689 main ()
12690 {
12691  frexpf(0, 0);
12692   ;
12693   return 0;
12694 }
12695 _ACEOF
12696 rm -f conftest.$ac_objext
12697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12698   (eval $ac_compile) 2>&5
12699   ac_status=$?
12700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701   (exit $ac_status); } &&
12702          { ac_try='test -s conftest.$ac_objext'
12703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12704   (eval $ac_try) 2>&5
12705   ac_status=$?
12706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12707   (exit $ac_status); }; }; then
12708   glibcxx_cv_func_frexpf_use=yes
12709 else
12710   echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.$ac_ext >&5
12712
12713 glibcxx_cv_func_frexpf_use=no
12714 fi
12715 rm -f conftest.$ac_objext conftest.$ac_ext
12716       ac_ext=c
12717 ac_cpp='$CPP $CPPFLAGS'
12718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12721
12722
12723 fi
12724
12725   fi
12726   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12727 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12728
12729   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12730
12731 for ac_func in frexpf
12732 do
12733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12734 echo "$as_me:$LINENO: checking for $ac_func" >&5
12735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12736 if eval "test \"\${$as_ac_var+set}\" = set"; then
12737   echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12739   if test x$gcc_no_link = xyes; then
12740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12742    { (exit 1); exit 1; }; }
12743 fi
12744 cat >conftest.$ac_ext <<_ACEOF
12745 #line $LINENO "configure"
12746 /* confdefs.h.  */
12747 _ACEOF
12748 cat confdefs.h >>conftest.$ac_ext
12749 cat >>conftest.$ac_ext <<_ACEOF
12750 /* end confdefs.h.  */
12751 /* System header to define __stub macros and hopefully few prototypes,
12752     which can conflict with char $ac_func (); below.
12753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12754     <limits.h> exists even on freestanding compilers.  */
12755 #ifdef __STDC__
12756 # include <limits.h>
12757 #else
12758 # include <assert.h>
12759 #endif
12760 /* Override any gcc2 internal prototype to avoid an error.  */
12761 #ifdef __cplusplus
12762 extern "C"
12763 {
12764 #endif
12765 /* We use char because int might match the return type of a gcc2
12766    builtin and then its argument prototype would still apply.  */
12767 char $ac_func ();
12768 /* The GNU C library defines this for functions which it implements
12769     to always fail with ENOSYS.  Some functions are actually named
12770     something starting with __ and the normal name is an alias.  */
12771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12772 choke me
12773 #else
12774 char (*f) () = $ac_func;
12775 #endif
12776 #ifdef __cplusplus
12777 }
12778 #endif
12779
12780 int
12781 main ()
12782 {
12783 return f != $ac_func;
12784   ;
12785   return 0;
12786 }
12787 _ACEOF
12788 rm -f conftest.$ac_objext conftest$ac_exeext
12789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12790   (eval $ac_link) 2>&5
12791   ac_status=$?
12792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793   (exit $ac_status); } &&
12794          { ac_try='test -s conftest$ac_exeext'
12795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796   (eval $ac_try) 2>&5
12797   ac_status=$?
12798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799   (exit $ac_status); }; }; then
12800   eval "$as_ac_var=yes"
12801 else
12802   echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12804
12805 eval "$as_ac_var=no"
12806 fi
12807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12808 fi
12809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12811 if test `eval echo '${'$as_ac_var'}'` = yes; then
12812   cat >>confdefs.h <<_ACEOF
12813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12814 _ACEOF
12815
12816 fi
12817 done
12818
12819   else
12820
12821   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12822 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12823   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12824     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12825   echo $ECHO_N "(cached) $ECHO_C" >&6
12826 else
12827
12828
12829
12830       ac_ext=cc
12831 ac_cpp='$CXXCPP $CPPFLAGS'
12832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12835
12836       cat >conftest.$ac_ext <<_ACEOF
12837 #line $LINENO "configure"
12838 /* confdefs.h.  */
12839 _ACEOF
12840 cat confdefs.h >>conftest.$ac_ext
12841 cat >>conftest.$ac_ext <<_ACEOF
12842 /* end confdefs.h.  */
12843 #include <math.h>
12844 int
12845 main ()
12846 {
12847  _frexpf(0, 0);
12848   ;
12849   return 0;
12850 }
12851 _ACEOF
12852 rm -f conftest.$ac_objext
12853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12854   (eval $ac_compile) 2>&5
12855   ac_status=$?
12856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857   (exit $ac_status); } &&
12858          { ac_try='test -s conftest.$ac_objext'
12859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860   (eval $ac_try) 2>&5
12861   ac_status=$?
12862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863   (exit $ac_status); }; }; then
12864   glibcxx_cv_func__frexpf_use=yes
12865 else
12866   echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12868
12869 glibcxx_cv_func__frexpf_use=no
12870 fi
12871 rm -f conftest.$ac_objext conftest.$ac_ext
12872       ac_ext=c
12873 ac_cpp='$CPP $CPPFLAGS'
12874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12877
12878
12879 fi
12880
12881   fi
12882   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12883 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12884
12885     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12886
12887 for ac_func in _frexpf
12888 do
12889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12890 echo "$as_me:$LINENO: checking for $ac_func" >&5
12891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12892 if eval "test \"\${$as_ac_var+set}\" = set"; then
12893   echo $ECHO_N "(cached) $ECHO_C" >&6
12894 else
12895   if test x$gcc_no_link = xyes; then
12896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12898    { (exit 1); exit 1; }; }
12899 fi
12900 cat >conftest.$ac_ext <<_ACEOF
12901 #line $LINENO "configure"
12902 /* confdefs.h.  */
12903 _ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h.  */
12907 /* System header to define __stub macros and hopefully few prototypes,
12908     which can conflict with char $ac_func (); below.
12909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12910     <limits.h> exists even on freestanding compilers.  */
12911 #ifdef __STDC__
12912 # include <limits.h>
12913 #else
12914 # include <assert.h>
12915 #endif
12916 /* Override any gcc2 internal prototype to avoid an error.  */
12917 #ifdef __cplusplus
12918 extern "C"
12919 {
12920 #endif
12921 /* We use char because int might match the return type of a gcc2
12922    builtin and then its argument prototype would still apply.  */
12923 char $ac_func ();
12924 /* The GNU C library defines this for functions which it implements
12925     to always fail with ENOSYS.  Some functions are actually named
12926     something starting with __ and the normal name is an alias.  */
12927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12928 choke me
12929 #else
12930 char (*f) () = $ac_func;
12931 #endif
12932 #ifdef __cplusplus
12933 }
12934 #endif
12935
12936 int
12937 main ()
12938 {
12939 return f != $ac_func;
12940   ;
12941   return 0;
12942 }
12943 _ACEOF
12944 rm -f conftest.$ac_objext conftest$ac_exeext
12945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12946   (eval $ac_link) 2>&5
12947   ac_status=$?
12948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949   (exit $ac_status); } &&
12950          { ac_try='test -s conftest$ac_exeext'
12951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952   (eval $ac_try) 2>&5
12953   ac_status=$?
12954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955   (exit $ac_status); }; }; then
12956   eval "$as_ac_var=yes"
12957 else
12958   echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12960
12961 eval "$as_ac_var=no"
12962 fi
12963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12964 fi
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12967 if test `eval echo '${'$as_ac_var'}'` = yes; then
12968   cat >>confdefs.h <<_ACEOF
12969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12970 _ACEOF
12971
12972 fi
12973 done
12974
12975     fi
12976   fi
12977
12978
12979
12980   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
12981 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
12982   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
12983     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
12984   echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12986
12987
12988
12989       ac_ext=cc
12990 ac_cpp='$CXXCPP $CPPFLAGS'
12991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12994
12995       cat >conftest.$ac_ext <<_ACEOF
12996 #line $LINENO "configure"
12997 /* confdefs.h.  */
12998 _ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h.  */
13002 #include <math.h>
13003 int
13004 main ()
13005 {
13006  hypotf(0, 0);
13007   ;
13008   return 0;
13009 }
13010 _ACEOF
13011 rm -f conftest.$ac_objext
13012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13013   (eval $ac_compile) 2>&5
13014   ac_status=$?
13015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016   (exit $ac_status); } &&
13017          { ac_try='test -s conftest.$ac_objext'
13018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13019   (eval $ac_try) 2>&5
13020   ac_status=$?
13021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022   (exit $ac_status); }; }; then
13023   glibcxx_cv_func_hypotf_use=yes
13024 else
13025   echo "$as_me: failed program was:" >&5
13026 sed 's/^/| /' conftest.$ac_ext >&5
13027
13028 glibcxx_cv_func_hypotf_use=no
13029 fi
13030 rm -f conftest.$ac_objext conftest.$ac_ext
13031       ac_ext=c
13032 ac_cpp='$CPP $CPPFLAGS'
13033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13036
13037
13038 fi
13039
13040   fi
13041   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13042 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13043
13044   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13045
13046 for ac_func in hypotf
13047 do
13048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13049 echo "$as_me:$LINENO: checking for $ac_func" >&5
13050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13051 if eval "test \"\${$as_ac_var+set}\" = set"; then
13052   echo $ECHO_N "(cached) $ECHO_C" >&6
13053 else
13054   if test x$gcc_no_link = xyes; then
13055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13057    { (exit 1); exit 1; }; }
13058 fi
13059 cat >conftest.$ac_ext <<_ACEOF
13060 #line $LINENO "configure"
13061 /* confdefs.h.  */
13062 _ACEOF
13063 cat confdefs.h >>conftest.$ac_ext
13064 cat >>conftest.$ac_ext <<_ACEOF
13065 /* end confdefs.h.  */
13066 /* System header to define __stub macros and hopefully few prototypes,
13067     which can conflict with char $ac_func (); below.
13068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13069     <limits.h> exists even on freestanding compilers.  */
13070 #ifdef __STDC__
13071 # include <limits.h>
13072 #else
13073 # include <assert.h>
13074 #endif
13075 /* Override any gcc2 internal prototype to avoid an error.  */
13076 #ifdef __cplusplus
13077 extern "C"
13078 {
13079 #endif
13080 /* We use char because int might match the return type of a gcc2
13081    builtin and then its argument prototype would still apply.  */
13082 char $ac_func ();
13083 /* The GNU C library defines this for functions which it implements
13084     to always fail with ENOSYS.  Some functions are actually named
13085     something starting with __ and the normal name is an alias.  */
13086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13087 choke me
13088 #else
13089 char (*f) () = $ac_func;
13090 #endif
13091 #ifdef __cplusplus
13092 }
13093 #endif
13094
13095 int
13096 main ()
13097 {
13098 return f != $ac_func;
13099   ;
13100   return 0;
13101 }
13102 _ACEOF
13103 rm -f conftest.$ac_objext conftest$ac_exeext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13105   (eval $ac_link) 2>&5
13106   ac_status=$?
13107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108   (exit $ac_status); } &&
13109          { ac_try='test -s conftest$ac_exeext'
13110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13111   (eval $ac_try) 2>&5
13112   ac_status=$?
13113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114   (exit $ac_status); }; }; then
13115   eval "$as_ac_var=yes"
13116 else
13117   echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13119
13120 eval "$as_ac_var=no"
13121 fi
13122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13123 fi
13124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13126 if test `eval echo '${'$as_ac_var'}'` = yes; then
13127   cat >>confdefs.h <<_ACEOF
13128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13129 _ACEOF
13130
13131 fi
13132 done
13133
13134   else
13135
13136   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13137 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13138   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13139     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13140   echo $ECHO_N "(cached) $ECHO_C" >&6
13141 else
13142
13143
13144
13145       ac_ext=cc
13146 ac_cpp='$CXXCPP $CPPFLAGS'
13147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13150
13151       cat >conftest.$ac_ext <<_ACEOF
13152 #line $LINENO "configure"
13153 /* confdefs.h.  */
13154 _ACEOF
13155 cat confdefs.h >>conftest.$ac_ext
13156 cat >>conftest.$ac_ext <<_ACEOF
13157 /* end confdefs.h.  */
13158 #include <math.h>
13159 int
13160 main ()
13161 {
13162  _hypotf(0, 0);
13163   ;
13164   return 0;
13165 }
13166 _ACEOF
13167 rm -f conftest.$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169   (eval $ac_compile) 2>&5
13170   ac_status=$?
13171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172   (exit $ac_status); } &&
13173          { ac_try='test -s conftest.$ac_objext'
13174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175   (eval $ac_try) 2>&5
13176   ac_status=$?
13177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178   (exit $ac_status); }; }; then
13179   glibcxx_cv_func__hypotf_use=yes
13180 else
13181   echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.$ac_ext >&5
13183
13184 glibcxx_cv_func__hypotf_use=no
13185 fi
13186 rm -f conftest.$ac_objext conftest.$ac_ext
13187       ac_ext=c
13188 ac_cpp='$CPP $CPPFLAGS'
13189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13192
13193
13194 fi
13195
13196   fi
13197   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13198 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13199
13200     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13201
13202 for ac_func in _hypotf
13203 do
13204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13205 echo "$as_me:$LINENO: checking for $ac_func" >&5
13206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13207 if eval "test \"\${$as_ac_var+set}\" = set"; then
13208   echo $ECHO_N "(cached) $ECHO_C" >&6
13209 else
13210   if test x$gcc_no_link = xyes; then
13211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13213    { (exit 1); exit 1; }; }
13214 fi
13215 cat >conftest.$ac_ext <<_ACEOF
13216 #line $LINENO "configure"
13217 /* confdefs.h.  */
13218 _ACEOF
13219 cat confdefs.h >>conftest.$ac_ext
13220 cat >>conftest.$ac_ext <<_ACEOF
13221 /* end confdefs.h.  */
13222 /* System header to define __stub macros and hopefully few prototypes,
13223     which can conflict with char $ac_func (); below.
13224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13225     <limits.h> exists even on freestanding compilers.  */
13226 #ifdef __STDC__
13227 # include <limits.h>
13228 #else
13229 # include <assert.h>
13230 #endif
13231 /* Override any gcc2 internal prototype to avoid an error.  */
13232 #ifdef __cplusplus
13233 extern "C"
13234 {
13235 #endif
13236 /* We use char because int might match the return type of a gcc2
13237    builtin and then its argument prototype would still apply.  */
13238 char $ac_func ();
13239 /* The GNU C library defines this for functions which it implements
13240     to always fail with ENOSYS.  Some functions are actually named
13241     something starting with __ and the normal name is an alias.  */
13242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13243 choke me
13244 #else
13245 char (*f) () = $ac_func;
13246 #endif
13247 #ifdef __cplusplus
13248 }
13249 #endif
13250
13251 int
13252 main ()
13253 {
13254 return f != $ac_func;
13255   ;
13256   return 0;
13257 }
13258 _ACEOF
13259 rm -f conftest.$ac_objext conftest$ac_exeext
13260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13261   (eval $ac_link) 2>&5
13262   ac_status=$?
13263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264   (exit $ac_status); } &&
13265          { ac_try='test -s conftest$ac_exeext'
13266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267   (eval $ac_try) 2>&5
13268   ac_status=$?
13269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270   (exit $ac_status); }; }; then
13271   eval "$as_ac_var=yes"
13272 else
13273   echo "$as_me: failed program was:" >&5
13274 sed 's/^/| /' conftest.$ac_ext >&5
13275
13276 eval "$as_ac_var=no"
13277 fi
13278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13279 fi
13280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13282 if test `eval echo '${'$as_ac_var'}'` = yes; then
13283   cat >>confdefs.h <<_ACEOF
13284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13285 _ACEOF
13286
13287 fi
13288 done
13289
13290     fi
13291   fi
13292
13293
13294
13295   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13296 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13297   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13298     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13299   echo $ECHO_N "(cached) $ECHO_C" >&6
13300 else
13301
13302
13303
13304       ac_ext=cc
13305 ac_cpp='$CXXCPP $CPPFLAGS'
13306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13309
13310       cat >conftest.$ac_ext <<_ACEOF
13311 #line $LINENO "configure"
13312 /* confdefs.h.  */
13313 _ACEOF
13314 cat confdefs.h >>conftest.$ac_ext
13315 cat >>conftest.$ac_ext <<_ACEOF
13316 /* end confdefs.h.  */
13317 #include <math.h>
13318 int
13319 main ()
13320 {
13321  ldexpf(0, 0);
13322   ;
13323   return 0;
13324 }
13325 _ACEOF
13326 rm -f conftest.$ac_objext
13327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13328   (eval $ac_compile) 2>&5
13329   ac_status=$?
13330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331   (exit $ac_status); } &&
13332          { ac_try='test -s conftest.$ac_objext'
13333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334   (eval $ac_try) 2>&5
13335   ac_status=$?
13336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337   (exit $ac_status); }; }; then
13338   glibcxx_cv_func_ldexpf_use=yes
13339 else
13340   echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13342
13343 glibcxx_cv_func_ldexpf_use=no
13344 fi
13345 rm -f conftest.$ac_objext conftest.$ac_ext
13346       ac_ext=c
13347 ac_cpp='$CPP $CPPFLAGS'
13348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13351
13352
13353 fi
13354
13355   fi
13356   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13357 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13358
13359   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13360
13361 for ac_func in ldexpf
13362 do
13363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13364 echo "$as_me:$LINENO: checking for $ac_func" >&5
13365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13366 if eval "test \"\${$as_ac_var+set}\" = set"; then
13367   echo $ECHO_N "(cached) $ECHO_C" >&6
13368 else
13369   if test x$gcc_no_link = xyes; then
13370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13372    { (exit 1); exit 1; }; }
13373 fi
13374 cat >conftest.$ac_ext <<_ACEOF
13375 #line $LINENO "configure"
13376 /* confdefs.h.  */
13377 _ACEOF
13378 cat confdefs.h >>conftest.$ac_ext
13379 cat >>conftest.$ac_ext <<_ACEOF
13380 /* end confdefs.h.  */
13381 /* System header to define __stub macros and hopefully few prototypes,
13382     which can conflict with char $ac_func (); below.
13383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13384     <limits.h> exists even on freestanding compilers.  */
13385 #ifdef __STDC__
13386 # include <limits.h>
13387 #else
13388 # include <assert.h>
13389 #endif
13390 /* Override any gcc2 internal prototype to avoid an error.  */
13391 #ifdef __cplusplus
13392 extern "C"
13393 {
13394 #endif
13395 /* We use char because int might match the return type of a gcc2
13396    builtin and then its argument prototype would still apply.  */
13397 char $ac_func ();
13398 /* The GNU C library defines this for functions which it implements
13399     to always fail with ENOSYS.  Some functions are actually named
13400     something starting with __ and the normal name is an alias.  */
13401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13402 choke me
13403 #else
13404 char (*f) () = $ac_func;
13405 #endif
13406 #ifdef __cplusplus
13407 }
13408 #endif
13409
13410 int
13411 main ()
13412 {
13413 return f != $ac_func;
13414   ;
13415   return 0;
13416 }
13417 _ACEOF
13418 rm -f conftest.$ac_objext conftest$ac_exeext
13419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13420   (eval $ac_link) 2>&5
13421   ac_status=$?
13422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423   (exit $ac_status); } &&
13424          { ac_try='test -s conftest$ac_exeext'
13425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13426   (eval $ac_try) 2>&5
13427   ac_status=$?
13428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13429   (exit $ac_status); }; }; then
13430   eval "$as_ac_var=yes"
13431 else
13432   echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13434
13435 eval "$as_ac_var=no"
13436 fi
13437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13438 fi
13439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13441 if test `eval echo '${'$as_ac_var'}'` = yes; then
13442   cat >>confdefs.h <<_ACEOF
13443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13444 _ACEOF
13445
13446 fi
13447 done
13448
13449   else
13450
13451   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13452 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13453   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13454     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13455   echo $ECHO_N "(cached) $ECHO_C" >&6
13456 else
13457
13458
13459
13460       ac_ext=cc
13461 ac_cpp='$CXXCPP $CPPFLAGS'
13462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13465
13466       cat >conftest.$ac_ext <<_ACEOF
13467 #line $LINENO "configure"
13468 /* confdefs.h.  */
13469 _ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h.  */
13473 #include <math.h>
13474 int
13475 main ()
13476 {
13477  _ldexpf(0, 0);
13478   ;
13479   return 0;
13480 }
13481 _ACEOF
13482 rm -f conftest.$ac_objext
13483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13484   (eval $ac_compile) 2>&5
13485   ac_status=$?
13486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487   (exit $ac_status); } &&
13488          { ac_try='test -s conftest.$ac_objext'
13489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13490   (eval $ac_try) 2>&5
13491   ac_status=$?
13492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493   (exit $ac_status); }; }; then
13494   glibcxx_cv_func__ldexpf_use=yes
13495 else
13496   echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.$ac_ext >&5
13498
13499 glibcxx_cv_func__ldexpf_use=no
13500 fi
13501 rm -f conftest.$ac_objext conftest.$ac_ext
13502       ac_ext=c
13503 ac_cpp='$CPP $CPPFLAGS'
13504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13507
13508
13509 fi
13510
13511   fi
13512   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13513 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13514
13515     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13516
13517 for ac_func in _ldexpf
13518 do
13519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13520 echo "$as_me:$LINENO: checking for $ac_func" >&5
13521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13522 if eval "test \"\${$as_ac_var+set}\" = set"; then
13523   echo $ECHO_N "(cached) $ECHO_C" >&6
13524 else
13525   if test x$gcc_no_link = xyes; then
13526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13528    { (exit 1); exit 1; }; }
13529 fi
13530 cat >conftest.$ac_ext <<_ACEOF
13531 #line $LINENO "configure"
13532 /* confdefs.h.  */
13533 _ACEOF
13534 cat confdefs.h >>conftest.$ac_ext
13535 cat >>conftest.$ac_ext <<_ACEOF
13536 /* end confdefs.h.  */
13537 /* System header to define __stub macros and hopefully few prototypes,
13538     which can conflict with char $ac_func (); below.
13539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13540     <limits.h> exists even on freestanding compilers.  */
13541 #ifdef __STDC__
13542 # include <limits.h>
13543 #else
13544 # include <assert.h>
13545 #endif
13546 /* Override any gcc2 internal prototype to avoid an error.  */
13547 #ifdef __cplusplus
13548 extern "C"
13549 {
13550 #endif
13551 /* We use char because int might match the return type of a gcc2
13552    builtin and then its argument prototype would still apply.  */
13553 char $ac_func ();
13554 /* The GNU C library defines this for functions which it implements
13555     to always fail with ENOSYS.  Some functions are actually named
13556     something starting with __ and the normal name is an alias.  */
13557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13558 choke me
13559 #else
13560 char (*f) () = $ac_func;
13561 #endif
13562 #ifdef __cplusplus
13563 }
13564 #endif
13565
13566 int
13567 main ()
13568 {
13569 return f != $ac_func;
13570   ;
13571   return 0;
13572 }
13573 _ACEOF
13574 rm -f conftest.$ac_objext conftest$ac_exeext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576   (eval $ac_link) 2>&5
13577   ac_status=$?
13578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579   (exit $ac_status); } &&
13580          { ac_try='test -s conftest$ac_exeext'
13581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582   (eval $ac_try) 2>&5
13583   ac_status=$?
13584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585   (exit $ac_status); }; }; then
13586   eval "$as_ac_var=yes"
13587 else
13588   echo "$as_me: failed program was:" >&5
13589 sed 's/^/| /' conftest.$ac_ext >&5
13590
13591 eval "$as_ac_var=no"
13592 fi
13593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13594 fi
13595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13597 if test `eval echo '${'$as_ac_var'}'` = yes; then
13598   cat >>confdefs.h <<_ACEOF
13599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13600 _ACEOF
13601
13602 fi
13603 done
13604
13605     fi
13606   fi
13607
13608
13609
13610   echo "$as_me:$LINENO: checking for logf declaration" >&5
13611 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13612   if test x${glibcxx_cv_func_logf_use+set} != xset; then
13613     if test "${glibcxx_cv_func_logf_use+set}" = set; then
13614   echo $ECHO_N "(cached) $ECHO_C" >&6
13615 else
13616
13617
13618
13619       ac_ext=cc
13620 ac_cpp='$CXXCPP $CPPFLAGS'
13621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13624
13625       cat >conftest.$ac_ext <<_ACEOF
13626 #line $LINENO "configure"
13627 /* confdefs.h.  */
13628 _ACEOF
13629 cat confdefs.h >>conftest.$ac_ext
13630 cat >>conftest.$ac_ext <<_ACEOF
13631 /* end confdefs.h.  */
13632 #include <math.h>
13633                       #ifdef HAVE_IEEEFP_H
13634                       #include <ieeefp.h>
13635                       #endif
13636
13637 int
13638 main ()
13639 {
13640  logf(0);
13641   ;
13642   return 0;
13643 }
13644 _ACEOF
13645 rm -f conftest.$ac_objext
13646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13647   (eval $ac_compile) 2>&5
13648   ac_status=$?
13649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650   (exit $ac_status); } &&
13651          { ac_try='test -s conftest.$ac_objext'
13652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653   (eval $ac_try) 2>&5
13654   ac_status=$?
13655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656   (exit $ac_status); }; }; then
13657   glibcxx_cv_func_logf_use=yes
13658 else
13659   echo "$as_me: failed program was:" >&5
13660 sed 's/^/| /' conftest.$ac_ext >&5
13661
13662 glibcxx_cv_func_logf_use=no
13663 fi
13664 rm -f conftest.$ac_objext conftest.$ac_ext
13665       ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670
13671
13672 fi
13673
13674   fi
13675   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13676 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13677
13678   if test x$glibcxx_cv_func_logf_use = x"yes"; then
13679
13680 for ac_func in logf
13681 do
13682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13683 echo "$as_me:$LINENO: checking for $ac_func" >&5
13684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_var+set}\" = set"; then
13686   echo $ECHO_N "(cached) $ECHO_C" >&6
13687 else
13688   if test x$gcc_no_link = xyes; then
13689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13691    { (exit 1); exit 1; }; }
13692 fi
13693 cat >conftest.$ac_ext <<_ACEOF
13694 #line $LINENO "configure"
13695 /* confdefs.h.  */
13696 _ACEOF
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h.  */
13700 /* System header to define __stub macros and hopefully few prototypes,
13701     which can conflict with char $ac_func (); below.
13702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13703     <limits.h> exists even on freestanding compilers.  */
13704 #ifdef __STDC__
13705 # include <limits.h>
13706 #else
13707 # include <assert.h>
13708 #endif
13709 /* Override any gcc2 internal prototype to avoid an error.  */
13710 #ifdef __cplusplus
13711 extern "C"
13712 {
13713 #endif
13714 /* We use char because int might match the return type of a gcc2
13715    builtin and then its argument prototype would still apply.  */
13716 char $ac_func ();
13717 /* The GNU C library defines this for functions which it implements
13718     to always fail with ENOSYS.  Some functions are actually named
13719     something starting with __ and the normal name is an alias.  */
13720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13721 choke me
13722 #else
13723 char (*f) () = $ac_func;
13724 #endif
13725 #ifdef __cplusplus
13726 }
13727 #endif
13728
13729 int
13730 main ()
13731 {
13732 return f != $ac_func;
13733   ;
13734   return 0;
13735 }
13736 _ACEOF
13737 rm -f conftest.$ac_objext conftest$ac_exeext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13739   (eval $ac_link) 2>&5
13740   ac_status=$?
13741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742   (exit $ac_status); } &&
13743          { ac_try='test -s conftest$ac_exeext'
13744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745   (eval $ac_try) 2>&5
13746   ac_status=$?
13747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748   (exit $ac_status); }; }; then
13749   eval "$as_ac_var=yes"
13750 else
13751   echo "$as_me: failed program was:" >&5
13752 sed 's/^/| /' conftest.$ac_ext >&5
13753
13754 eval "$as_ac_var=no"
13755 fi
13756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13757 fi
13758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13760 if test `eval echo '${'$as_ac_var'}'` = yes; then
13761   cat >>confdefs.h <<_ACEOF
13762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13763 _ACEOF
13764
13765 fi
13766 done
13767
13768   else
13769
13770   echo "$as_me:$LINENO: checking for _logf declaration" >&5
13771 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13772   if test x${glibcxx_cv_func__logf_use+set} != xset; then
13773     if test "${glibcxx_cv_func__logf_use+set}" = set; then
13774   echo $ECHO_N "(cached) $ECHO_C" >&6
13775 else
13776
13777
13778
13779       ac_ext=cc
13780 ac_cpp='$CXXCPP $CPPFLAGS'
13781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13784
13785       cat >conftest.$ac_ext <<_ACEOF
13786 #line $LINENO "configure"
13787 /* confdefs.h.  */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h.  */
13792 #include <math.h>
13793                       #ifdef HAVE_IEEEFP_H
13794                       #include <ieeefp.h>
13795                       #endif
13796
13797 int
13798 main ()
13799 {
13800  _logf(0);
13801   ;
13802   return 0;
13803 }
13804 _ACEOF
13805 rm -f conftest.$ac_objext
13806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13807   (eval $ac_compile) 2>&5
13808   ac_status=$?
13809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810   (exit $ac_status); } &&
13811          { ac_try='test -s conftest.$ac_objext'
13812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813   (eval $ac_try) 2>&5
13814   ac_status=$?
13815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816   (exit $ac_status); }; }; then
13817   glibcxx_cv_func__logf_use=yes
13818 else
13819   echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13821
13822 glibcxx_cv_func__logf_use=no
13823 fi
13824 rm -f conftest.$ac_objext conftest.$ac_ext
13825       ac_ext=c
13826 ac_cpp='$CPP $CPPFLAGS'
13827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13830
13831
13832 fi
13833
13834   fi
13835   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13836 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13837
13838     if test x$glibcxx_cv_func__logf_use = x"yes"; then
13839
13840 for ac_func in _logf
13841 do
13842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13843 echo "$as_me:$LINENO: checking for $ac_func" >&5
13844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13845 if eval "test \"\${$as_ac_var+set}\" = set"; then
13846   echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848   if test x$gcc_no_link = xyes; then
13849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13851    { (exit 1); exit 1; }; }
13852 fi
13853 cat >conftest.$ac_ext <<_ACEOF
13854 #line $LINENO "configure"
13855 /* confdefs.h.  */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h.  */
13860 /* System header to define __stub macros and hopefully few prototypes,
13861     which can conflict with char $ac_func (); below.
13862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13863     <limits.h> exists even on freestanding compilers.  */
13864 #ifdef __STDC__
13865 # include <limits.h>
13866 #else
13867 # include <assert.h>
13868 #endif
13869 /* Override any gcc2 internal prototype to avoid an error.  */
13870 #ifdef __cplusplus
13871 extern "C"
13872 {
13873 #endif
13874 /* We use char because int might match the return type of a gcc2
13875    builtin and then its argument prototype would still apply.  */
13876 char $ac_func ();
13877 /* The GNU C library defines this for functions which it implements
13878     to always fail with ENOSYS.  Some functions are actually named
13879     something starting with __ and the normal name is an alias.  */
13880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13881 choke me
13882 #else
13883 char (*f) () = $ac_func;
13884 #endif
13885 #ifdef __cplusplus
13886 }
13887 #endif
13888
13889 int
13890 main ()
13891 {
13892 return f != $ac_func;
13893   ;
13894   return 0;
13895 }
13896 _ACEOF
13897 rm -f conftest.$ac_objext conftest$ac_exeext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13899   (eval $ac_link) 2>&5
13900   ac_status=$?
13901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902   (exit $ac_status); } &&
13903          { ac_try='test -s conftest$ac_exeext'
13904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905   (eval $ac_try) 2>&5
13906   ac_status=$?
13907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908   (exit $ac_status); }; }; then
13909   eval "$as_ac_var=yes"
13910 else
13911   echo "$as_me: failed program was:" >&5
13912 sed 's/^/| /' conftest.$ac_ext >&5
13913
13914 eval "$as_ac_var=no"
13915 fi
13916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13917 fi
13918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13920 if test `eval echo '${'$as_ac_var'}'` = yes; then
13921   cat >>confdefs.h <<_ACEOF
13922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13923 _ACEOF
13924
13925 fi
13926 done
13927
13928     fi
13929   fi
13930
13931
13932
13933   echo "$as_me:$LINENO: checking for log10f declaration" >&5
13934 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13935   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13936     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13937   echo $ECHO_N "(cached) $ECHO_C" >&6
13938 else
13939
13940
13941
13942       ac_ext=cc
13943 ac_cpp='$CXXCPP $CPPFLAGS'
13944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13947
13948       cat >conftest.$ac_ext <<_ACEOF
13949 #line $LINENO "configure"
13950 /* confdefs.h.  */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h.  */
13955 #include <math.h>
13956                       #ifdef HAVE_IEEEFP_H
13957                       #include <ieeefp.h>
13958                       #endif
13959
13960 int
13961 main ()
13962 {
13963  log10f(0);
13964   ;
13965   return 0;
13966 }
13967 _ACEOF
13968 rm -f conftest.$ac_objext
13969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13970   (eval $ac_compile) 2>&5
13971   ac_status=$?
13972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973   (exit $ac_status); } &&
13974          { ac_try='test -s conftest.$ac_objext'
13975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13976   (eval $ac_try) 2>&5
13977   ac_status=$?
13978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979   (exit $ac_status); }; }; then
13980   glibcxx_cv_func_log10f_use=yes
13981 else
13982   echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13984
13985 glibcxx_cv_func_log10f_use=no
13986 fi
13987 rm -f conftest.$ac_objext conftest.$ac_ext
13988       ac_ext=c
13989 ac_cpp='$CPP $CPPFLAGS'
13990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13993
13994
13995 fi
13996
13997   fi
13998   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
13999 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14000
14001   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14002
14003 for ac_func in log10f
14004 do
14005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14006 echo "$as_me:$LINENO: checking for $ac_func" >&5
14007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14008 if eval "test \"\${$as_ac_var+set}\" = set"; then
14009   echo $ECHO_N "(cached) $ECHO_C" >&6
14010 else
14011   if test x$gcc_no_link = xyes; then
14012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14014    { (exit 1); exit 1; }; }
14015 fi
14016 cat >conftest.$ac_ext <<_ACEOF
14017 #line $LINENO "configure"
14018 /* confdefs.h.  */
14019 _ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h.  */
14023 /* System header to define __stub macros and hopefully few prototypes,
14024     which can conflict with char $ac_func (); below.
14025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14026     <limits.h> exists even on freestanding compilers.  */
14027 #ifdef __STDC__
14028 # include <limits.h>
14029 #else
14030 # include <assert.h>
14031 #endif
14032 /* Override any gcc2 internal prototype to avoid an error.  */
14033 #ifdef __cplusplus
14034 extern "C"
14035 {
14036 #endif
14037 /* We use char because int might match the return type of a gcc2
14038    builtin and then its argument prototype would still apply.  */
14039 char $ac_func ();
14040 /* The GNU C library defines this for functions which it implements
14041     to always fail with ENOSYS.  Some functions are actually named
14042     something starting with __ and the normal name is an alias.  */
14043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14044 choke me
14045 #else
14046 char (*f) () = $ac_func;
14047 #endif
14048 #ifdef __cplusplus
14049 }
14050 #endif
14051
14052 int
14053 main ()
14054 {
14055 return f != $ac_func;
14056   ;
14057   return 0;
14058 }
14059 _ACEOF
14060 rm -f conftest.$ac_objext conftest$ac_exeext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14062   (eval $ac_link) 2>&5
14063   ac_status=$?
14064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065   (exit $ac_status); } &&
14066          { ac_try='test -s conftest$ac_exeext'
14067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068   (eval $ac_try) 2>&5
14069   ac_status=$?
14070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071   (exit $ac_status); }; }; then
14072   eval "$as_ac_var=yes"
14073 else
14074   echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.$ac_ext >&5
14076
14077 eval "$as_ac_var=no"
14078 fi
14079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14080 fi
14081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14083 if test `eval echo '${'$as_ac_var'}'` = yes; then
14084   cat >>confdefs.h <<_ACEOF
14085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14086 _ACEOF
14087
14088 fi
14089 done
14090
14091   else
14092
14093   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14094 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14095   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14096     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14097   echo $ECHO_N "(cached) $ECHO_C" >&6
14098 else
14099
14100
14101
14102       ac_ext=cc
14103 ac_cpp='$CXXCPP $CPPFLAGS'
14104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14107
14108       cat >conftest.$ac_ext <<_ACEOF
14109 #line $LINENO "configure"
14110 /* confdefs.h.  */
14111 _ACEOF
14112 cat confdefs.h >>conftest.$ac_ext
14113 cat >>conftest.$ac_ext <<_ACEOF
14114 /* end confdefs.h.  */
14115 #include <math.h>
14116                       #ifdef HAVE_IEEEFP_H
14117                       #include <ieeefp.h>
14118                       #endif
14119
14120 int
14121 main ()
14122 {
14123  _log10f(0);
14124   ;
14125   return 0;
14126 }
14127 _ACEOF
14128 rm -f conftest.$ac_objext
14129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14130   (eval $ac_compile) 2>&5
14131   ac_status=$?
14132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133   (exit $ac_status); } &&
14134          { ac_try='test -s conftest.$ac_objext'
14135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14136   (eval $ac_try) 2>&5
14137   ac_status=$?
14138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139   (exit $ac_status); }; }; then
14140   glibcxx_cv_func__log10f_use=yes
14141 else
14142   echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.$ac_ext >&5
14144
14145 glibcxx_cv_func__log10f_use=no
14146 fi
14147 rm -f conftest.$ac_objext conftest.$ac_ext
14148       ac_ext=c
14149 ac_cpp='$CPP $CPPFLAGS'
14150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14153
14154
14155 fi
14156
14157   fi
14158   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14159 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14160
14161     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14162
14163 for ac_func in _log10f
14164 do
14165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14166 echo "$as_me:$LINENO: checking for $ac_func" >&5
14167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14168 if eval "test \"\${$as_ac_var+set}\" = set"; then
14169   echo $ECHO_N "(cached) $ECHO_C" >&6
14170 else
14171   if test x$gcc_no_link = xyes; then
14172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14174    { (exit 1); exit 1; }; }
14175 fi
14176 cat >conftest.$ac_ext <<_ACEOF
14177 #line $LINENO "configure"
14178 /* confdefs.h.  */
14179 _ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h.  */
14183 /* System header to define __stub macros and hopefully few prototypes,
14184     which can conflict with char $ac_func (); below.
14185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14186     <limits.h> exists even on freestanding compilers.  */
14187 #ifdef __STDC__
14188 # include <limits.h>
14189 #else
14190 # include <assert.h>
14191 #endif
14192 /* Override any gcc2 internal prototype to avoid an error.  */
14193 #ifdef __cplusplus
14194 extern "C"
14195 {
14196 #endif
14197 /* We use char because int might match the return type of a gcc2
14198    builtin and then its argument prototype would still apply.  */
14199 char $ac_func ();
14200 /* The GNU C library defines this for functions which it implements
14201     to always fail with ENOSYS.  Some functions are actually named
14202     something starting with __ and the normal name is an alias.  */
14203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14204 choke me
14205 #else
14206 char (*f) () = $ac_func;
14207 #endif
14208 #ifdef __cplusplus
14209 }
14210 #endif
14211
14212 int
14213 main ()
14214 {
14215 return f != $ac_func;
14216   ;
14217   return 0;
14218 }
14219 _ACEOF
14220 rm -f conftest.$ac_objext conftest$ac_exeext
14221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14222   (eval $ac_link) 2>&5
14223   ac_status=$?
14224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225   (exit $ac_status); } &&
14226          { ac_try='test -s conftest$ac_exeext'
14227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228   (eval $ac_try) 2>&5
14229   ac_status=$?
14230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231   (exit $ac_status); }; }; then
14232   eval "$as_ac_var=yes"
14233 else
14234   echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14236
14237 eval "$as_ac_var=no"
14238 fi
14239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14240 fi
14241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14243 if test `eval echo '${'$as_ac_var'}'` = yes; then
14244   cat >>confdefs.h <<_ACEOF
14245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14246 _ACEOF
14247
14248 fi
14249 done
14250
14251     fi
14252   fi
14253
14254
14255
14256   echo "$as_me:$LINENO: checking for modff declaration" >&5
14257 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14258   if test x${glibcxx_cv_func_modff_use+set} != xset; then
14259     if test "${glibcxx_cv_func_modff_use+set}" = set; then
14260   echo $ECHO_N "(cached) $ECHO_C" >&6
14261 else
14262
14263
14264
14265       ac_ext=cc
14266 ac_cpp='$CXXCPP $CPPFLAGS'
14267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14270
14271       cat >conftest.$ac_ext <<_ACEOF
14272 #line $LINENO "configure"
14273 /* confdefs.h.  */
14274 _ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h.  */
14278 #include <math.h>
14279 int
14280 main ()
14281 {
14282  modff(0, 0);
14283   ;
14284   return 0;
14285 }
14286 _ACEOF
14287 rm -f conftest.$ac_objext
14288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14289   (eval $ac_compile) 2>&5
14290   ac_status=$?
14291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292   (exit $ac_status); } &&
14293          { ac_try='test -s conftest.$ac_objext'
14294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295   (eval $ac_try) 2>&5
14296   ac_status=$?
14297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298   (exit $ac_status); }; }; then
14299   glibcxx_cv_func_modff_use=yes
14300 else
14301   echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.$ac_ext >&5
14303
14304 glibcxx_cv_func_modff_use=no
14305 fi
14306 rm -f conftest.$ac_objext conftest.$ac_ext
14307       ac_ext=c
14308 ac_cpp='$CPP $CPPFLAGS'
14309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14312
14313
14314 fi
14315
14316   fi
14317   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14318 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14319
14320   if test x$glibcxx_cv_func_modff_use = x"yes"; then
14321
14322 for ac_func in modff
14323 do
14324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14325 echo "$as_me:$LINENO: checking for $ac_func" >&5
14326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14327 if eval "test \"\${$as_ac_var+set}\" = set"; then
14328   echo $ECHO_N "(cached) $ECHO_C" >&6
14329 else
14330   if test x$gcc_no_link = xyes; then
14331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14333    { (exit 1); exit 1; }; }
14334 fi
14335 cat >conftest.$ac_ext <<_ACEOF
14336 #line $LINENO "configure"
14337 /* confdefs.h.  */
14338 _ACEOF
14339 cat confdefs.h >>conftest.$ac_ext
14340 cat >>conftest.$ac_ext <<_ACEOF
14341 /* end confdefs.h.  */
14342 /* System header to define __stub macros and hopefully few prototypes,
14343     which can conflict with char $ac_func (); below.
14344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14345     <limits.h> exists even on freestanding compilers.  */
14346 #ifdef __STDC__
14347 # include <limits.h>
14348 #else
14349 # include <assert.h>
14350 #endif
14351 /* Override any gcc2 internal prototype to avoid an error.  */
14352 #ifdef __cplusplus
14353 extern "C"
14354 {
14355 #endif
14356 /* We use char because int might match the return type of a gcc2
14357    builtin and then its argument prototype would still apply.  */
14358 char $ac_func ();
14359 /* The GNU C library defines this for functions which it implements
14360     to always fail with ENOSYS.  Some functions are actually named
14361     something starting with __ and the normal name is an alias.  */
14362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14363 choke me
14364 #else
14365 char (*f) () = $ac_func;
14366 #endif
14367 #ifdef __cplusplus
14368 }
14369 #endif
14370
14371 int
14372 main ()
14373 {
14374 return f != $ac_func;
14375   ;
14376   return 0;
14377 }
14378 _ACEOF
14379 rm -f conftest.$ac_objext conftest$ac_exeext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14381   (eval $ac_link) 2>&5
14382   ac_status=$?
14383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384   (exit $ac_status); } &&
14385          { ac_try='test -s conftest$ac_exeext'
14386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387   (eval $ac_try) 2>&5
14388   ac_status=$?
14389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390   (exit $ac_status); }; }; then
14391   eval "$as_ac_var=yes"
14392 else
14393   echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14395
14396 eval "$as_ac_var=no"
14397 fi
14398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14399 fi
14400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14402 if test `eval echo '${'$as_ac_var'}'` = yes; then
14403   cat >>confdefs.h <<_ACEOF
14404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14405 _ACEOF
14406
14407 fi
14408 done
14409
14410   else
14411
14412   echo "$as_me:$LINENO: checking for _modff declaration" >&5
14413 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14414   if test x${glibcxx_cv_func__modff_use+set} != xset; then
14415     if test "${glibcxx_cv_func__modff_use+set}" = set; then
14416   echo $ECHO_N "(cached) $ECHO_C" >&6
14417 else
14418
14419
14420
14421       ac_ext=cc
14422 ac_cpp='$CXXCPP $CPPFLAGS'
14423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14426
14427       cat >conftest.$ac_ext <<_ACEOF
14428 #line $LINENO "configure"
14429 /* confdefs.h.  */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h.  */
14434 #include <math.h>
14435 int
14436 main ()
14437 {
14438  _modff(0, 0);
14439   ;
14440   return 0;
14441 }
14442 _ACEOF
14443 rm -f conftest.$ac_objext
14444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14445   (eval $ac_compile) 2>&5
14446   ac_status=$?
14447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448   (exit $ac_status); } &&
14449          { ac_try='test -s conftest.$ac_objext'
14450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451   (eval $ac_try) 2>&5
14452   ac_status=$?
14453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454   (exit $ac_status); }; }; then
14455   glibcxx_cv_func__modff_use=yes
14456 else
14457   echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 glibcxx_cv_func__modff_use=no
14461 fi
14462 rm -f conftest.$ac_objext conftest.$ac_ext
14463       ac_ext=c
14464 ac_cpp='$CPP $CPPFLAGS'
14465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14468
14469
14470 fi
14471
14472   fi
14473   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14474 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14475
14476     if test x$glibcxx_cv_func__modff_use = x"yes"; then
14477
14478 for ac_func in _modff
14479 do
14480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14481 echo "$as_me:$LINENO: checking for $ac_func" >&5
14482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14483 if eval "test \"\${$as_ac_var+set}\" = set"; then
14484   echo $ECHO_N "(cached) $ECHO_C" >&6
14485 else
14486   if test x$gcc_no_link = xyes; then
14487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14489    { (exit 1); exit 1; }; }
14490 fi
14491 cat >conftest.$ac_ext <<_ACEOF
14492 #line $LINENO "configure"
14493 /* confdefs.h.  */
14494 _ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h.  */
14498 /* System header to define __stub macros and hopefully few prototypes,
14499     which can conflict with char $ac_func (); below.
14500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14501     <limits.h> exists even on freestanding compilers.  */
14502 #ifdef __STDC__
14503 # include <limits.h>
14504 #else
14505 # include <assert.h>
14506 #endif
14507 /* Override any gcc2 internal prototype to avoid an error.  */
14508 #ifdef __cplusplus
14509 extern "C"
14510 {
14511 #endif
14512 /* We use char because int might match the return type of a gcc2
14513    builtin and then its argument prototype would still apply.  */
14514 char $ac_func ();
14515 /* The GNU C library defines this for functions which it implements
14516     to always fail with ENOSYS.  Some functions are actually named
14517     something starting with __ and the normal name is an alias.  */
14518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14519 choke me
14520 #else
14521 char (*f) () = $ac_func;
14522 #endif
14523 #ifdef __cplusplus
14524 }
14525 #endif
14526
14527 int
14528 main ()
14529 {
14530 return f != $ac_func;
14531   ;
14532   return 0;
14533 }
14534 _ACEOF
14535 rm -f conftest.$ac_objext conftest$ac_exeext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14537   (eval $ac_link) 2>&5
14538   ac_status=$?
14539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540   (exit $ac_status); } &&
14541          { ac_try='test -s conftest$ac_exeext'
14542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14543   (eval $ac_try) 2>&5
14544   ac_status=$?
14545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14546   (exit $ac_status); }; }; then
14547   eval "$as_ac_var=yes"
14548 else
14549   echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14551
14552 eval "$as_ac_var=no"
14553 fi
14554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14555 fi
14556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14558 if test `eval echo '${'$as_ac_var'}'` = yes; then
14559   cat >>confdefs.h <<_ACEOF
14560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14561 _ACEOF
14562
14563 fi
14564 done
14565
14566     fi
14567   fi
14568
14569
14570
14571   echo "$as_me:$LINENO: checking for powf declaration" >&5
14572 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14573   if test x${glibcxx_cv_func_powf_use+set} != xset; then
14574     if test "${glibcxx_cv_func_powf_use+set}" = set; then
14575   echo $ECHO_N "(cached) $ECHO_C" >&6
14576 else
14577
14578
14579
14580       ac_ext=cc
14581 ac_cpp='$CXXCPP $CPPFLAGS'
14582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14585
14586       cat >conftest.$ac_ext <<_ACEOF
14587 #line $LINENO "configure"
14588 /* confdefs.h.  */
14589 _ACEOF
14590 cat confdefs.h >>conftest.$ac_ext
14591 cat >>conftest.$ac_ext <<_ACEOF
14592 /* end confdefs.h.  */
14593 #include <math.h>
14594 int
14595 main ()
14596 {
14597  powf(0, 0);
14598   ;
14599   return 0;
14600 }
14601 _ACEOF
14602 rm -f conftest.$ac_objext
14603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14604   (eval $ac_compile) 2>&5
14605   ac_status=$?
14606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607   (exit $ac_status); } &&
14608          { ac_try='test -s conftest.$ac_objext'
14609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610   (eval $ac_try) 2>&5
14611   ac_status=$?
14612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613   (exit $ac_status); }; }; then
14614   glibcxx_cv_func_powf_use=yes
14615 else
14616   echo "$as_me: failed program was:" >&5
14617 sed 's/^/| /' conftest.$ac_ext >&5
14618
14619 glibcxx_cv_func_powf_use=no
14620 fi
14621 rm -f conftest.$ac_objext conftest.$ac_ext
14622       ac_ext=c
14623 ac_cpp='$CPP $CPPFLAGS'
14624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14627
14628
14629 fi
14630
14631   fi
14632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14633 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14634
14635   if test x$glibcxx_cv_func_powf_use = x"yes"; then
14636
14637 for ac_func in powf
14638 do
14639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14640 echo "$as_me:$LINENO: checking for $ac_func" >&5
14641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14642 if eval "test \"\${$as_ac_var+set}\" = set"; then
14643   echo $ECHO_N "(cached) $ECHO_C" >&6
14644 else
14645   if test x$gcc_no_link = xyes; then
14646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14648    { (exit 1); exit 1; }; }
14649 fi
14650 cat >conftest.$ac_ext <<_ACEOF
14651 #line $LINENO "configure"
14652 /* confdefs.h.  */
14653 _ACEOF
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h.  */
14657 /* System header to define __stub macros and hopefully few prototypes,
14658     which can conflict with char $ac_func (); below.
14659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14660     <limits.h> exists even on freestanding compilers.  */
14661 #ifdef __STDC__
14662 # include <limits.h>
14663 #else
14664 # include <assert.h>
14665 #endif
14666 /* Override any gcc2 internal prototype to avoid an error.  */
14667 #ifdef __cplusplus
14668 extern "C"
14669 {
14670 #endif
14671 /* We use char because int might match the return type of a gcc2
14672    builtin and then its argument prototype would still apply.  */
14673 char $ac_func ();
14674 /* The GNU C library defines this for functions which it implements
14675     to always fail with ENOSYS.  Some functions are actually named
14676     something starting with __ and the normal name is an alias.  */
14677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14678 choke me
14679 #else
14680 char (*f) () = $ac_func;
14681 #endif
14682 #ifdef __cplusplus
14683 }
14684 #endif
14685
14686 int
14687 main ()
14688 {
14689 return f != $ac_func;
14690   ;
14691   return 0;
14692 }
14693 _ACEOF
14694 rm -f conftest.$ac_objext conftest$ac_exeext
14695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14696   (eval $ac_link) 2>&5
14697   ac_status=$?
14698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699   (exit $ac_status); } &&
14700          { ac_try='test -s conftest$ac_exeext'
14701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702   (eval $ac_try) 2>&5
14703   ac_status=$?
14704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705   (exit $ac_status); }; }; then
14706   eval "$as_ac_var=yes"
14707 else
14708   echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14710
14711 eval "$as_ac_var=no"
14712 fi
14713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14714 fi
14715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14717 if test `eval echo '${'$as_ac_var'}'` = yes; then
14718   cat >>confdefs.h <<_ACEOF
14719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14720 _ACEOF
14721
14722 fi
14723 done
14724
14725   else
14726
14727   echo "$as_me:$LINENO: checking for _powf declaration" >&5
14728 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14729   if test x${glibcxx_cv_func__powf_use+set} != xset; then
14730     if test "${glibcxx_cv_func__powf_use+set}" = set; then
14731   echo $ECHO_N "(cached) $ECHO_C" >&6
14732 else
14733
14734
14735
14736       ac_ext=cc
14737 ac_cpp='$CXXCPP $CPPFLAGS'
14738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14741
14742       cat >conftest.$ac_ext <<_ACEOF
14743 #line $LINENO "configure"
14744 /* confdefs.h.  */
14745 _ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h.  */
14749 #include <math.h>
14750 int
14751 main ()
14752 {
14753  _powf(0, 0);
14754   ;
14755   return 0;
14756 }
14757 _ACEOF
14758 rm -f conftest.$ac_objext
14759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14760   (eval $ac_compile) 2>&5
14761   ac_status=$?
14762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763   (exit $ac_status); } &&
14764          { ac_try='test -s conftest.$ac_objext'
14765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766   (eval $ac_try) 2>&5
14767   ac_status=$?
14768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769   (exit $ac_status); }; }; then
14770   glibcxx_cv_func__powf_use=yes
14771 else
14772   echo "$as_me: failed program was:" >&5
14773 sed 's/^/| /' conftest.$ac_ext >&5
14774
14775 glibcxx_cv_func__powf_use=no
14776 fi
14777 rm -f conftest.$ac_objext conftest.$ac_ext
14778       ac_ext=c
14779 ac_cpp='$CPP $CPPFLAGS'
14780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14783
14784
14785 fi
14786
14787   fi
14788   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14789 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14790
14791     if test x$glibcxx_cv_func__powf_use = x"yes"; then
14792
14793 for ac_func in _powf
14794 do
14795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14796 echo "$as_me:$LINENO: checking for $ac_func" >&5
14797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14798 if eval "test \"\${$as_ac_var+set}\" = set"; then
14799   echo $ECHO_N "(cached) $ECHO_C" >&6
14800 else
14801   if test x$gcc_no_link = xyes; then
14802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14804    { (exit 1); exit 1; }; }
14805 fi
14806 cat >conftest.$ac_ext <<_ACEOF
14807 #line $LINENO "configure"
14808 /* confdefs.h.  */
14809 _ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h.  */
14813 /* System header to define __stub macros and hopefully few prototypes,
14814     which can conflict with char $ac_func (); below.
14815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14816     <limits.h> exists even on freestanding compilers.  */
14817 #ifdef __STDC__
14818 # include <limits.h>
14819 #else
14820 # include <assert.h>
14821 #endif
14822 /* Override any gcc2 internal prototype to avoid an error.  */
14823 #ifdef __cplusplus
14824 extern "C"
14825 {
14826 #endif
14827 /* We use char because int might match the return type of a gcc2
14828    builtin and then its argument prototype would still apply.  */
14829 char $ac_func ();
14830 /* The GNU C library defines this for functions which it implements
14831     to always fail with ENOSYS.  Some functions are actually named
14832     something starting with __ and the normal name is an alias.  */
14833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14834 choke me
14835 #else
14836 char (*f) () = $ac_func;
14837 #endif
14838 #ifdef __cplusplus
14839 }
14840 #endif
14841
14842 int
14843 main ()
14844 {
14845 return f != $ac_func;
14846   ;
14847   return 0;
14848 }
14849 _ACEOF
14850 rm -f conftest.$ac_objext conftest$ac_exeext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14852   (eval $ac_link) 2>&5
14853   ac_status=$?
14854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855   (exit $ac_status); } &&
14856          { ac_try='test -s conftest$ac_exeext'
14857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858   (eval $ac_try) 2>&5
14859   ac_status=$?
14860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861   (exit $ac_status); }; }; then
14862   eval "$as_ac_var=yes"
14863 else
14864   echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14866
14867 eval "$as_ac_var=no"
14868 fi
14869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14870 fi
14871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14873 if test `eval echo '${'$as_ac_var'}'` = yes; then
14874   cat >>confdefs.h <<_ACEOF
14875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14876 _ACEOF
14877
14878 fi
14879 done
14880
14881     fi
14882   fi
14883
14884
14885
14886   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14887 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14888   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14889     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14890   echo $ECHO_N "(cached) $ECHO_C" >&6
14891 else
14892
14893
14894
14895       ac_ext=cc
14896 ac_cpp='$CXXCPP $CPPFLAGS'
14897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14900
14901       cat >conftest.$ac_ext <<_ACEOF
14902 #line $LINENO "configure"
14903 /* confdefs.h.  */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h.  */
14908 #include <math.h>
14909                       #ifdef HAVE_IEEEFP_H
14910                       #include <ieeefp.h>
14911                       #endif
14912
14913 int
14914 main ()
14915 {
14916  sqrtf(0);
14917   ;
14918   return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923   (eval $ac_compile) 2>&5
14924   ac_status=$?
14925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926   (exit $ac_status); } &&
14927          { ac_try='test -s conftest.$ac_objext'
14928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929   (eval $ac_try) 2>&5
14930   ac_status=$?
14931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932   (exit $ac_status); }; }; then
14933   glibcxx_cv_func_sqrtf_use=yes
14934 else
14935   echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 glibcxx_cv_func_sqrtf_use=no
14939 fi
14940 rm -f conftest.$ac_objext conftest.$ac_ext
14941       ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946
14947
14948 fi
14949
14950   fi
14951   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14952 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14953
14954   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14955
14956 for ac_func in sqrtf
14957 do
14958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14959 echo "$as_me:$LINENO: checking for $ac_func" >&5
14960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14961 if eval "test \"\${$as_ac_var+set}\" = set"; then
14962   echo $ECHO_N "(cached) $ECHO_C" >&6
14963 else
14964   if test x$gcc_no_link = xyes; then
14965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14967    { (exit 1); exit 1; }; }
14968 fi
14969 cat >conftest.$ac_ext <<_ACEOF
14970 #line $LINENO "configure"
14971 /* confdefs.h.  */
14972 _ACEOF
14973 cat confdefs.h >>conftest.$ac_ext
14974 cat >>conftest.$ac_ext <<_ACEOF
14975 /* end confdefs.h.  */
14976 /* System header to define __stub macros and hopefully few prototypes,
14977     which can conflict with char $ac_func (); below.
14978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14979     <limits.h> exists even on freestanding compilers.  */
14980 #ifdef __STDC__
14981 # include <limits.h>
14982 #else
14983 # include <assert.h>
14984 #endif
14985 /* Override any gcc2 internal prototype to avoid an error.  */
14986 #ifdef __cplusplus
14987 extern "C"
14988 {
14989 #endif
14990 /* We use char because int might match the return type of a gcc2
14991    builtin and then its argument prototype would still apply.  */
14992 char $ac_func ();
14993 /* The GNU C library defines this for functions which it implements
14994     to always fail with ENOSYS.  Some functions are actually named
14995     something starting with __ and the normal name is an alias.  */
14996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14997 choke me
14998 #else
14999 char (*f) () = $ac_func;
15000 #endif
15001 #ifdef __cplusplus
15002 }
15003 #endif
15004
15005 int
15006 main ()
15007 {
15008 return f != $ac_func;
15009   ;
15010   return 0;
15011 }
15012 _ACEOF
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15015   (eval $ac_link) 2>&5
15016   ac_status=$?
15017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018   (exit $ac_status); } &&
15019          { ac_try='test -s conftest$ac_exeext'
15020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021   (eval $ac_try) 2>&5
15022   ac_status=$?
15023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024   (exit $ac_status); }; }; then
15025   eval "$as_ac_var=yes"
15026 else
15027   echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15029
15030 eval "$as_ac_var=no"
15031 fi
15032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15033 fi
15034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15036 if test `eval echo '${'$as_ac_var'}'` = yes; then
15037   cat >>confdefs.h <<_ACEOF
15038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15039 _ACEOF
15040
15041 fi
15042 done
15043
15044   else
15045
15046   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15047 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15048   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15049     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15050   echo $ECHO_N "(cached) $ECHO_C" >&6
15051 else
15052
15053
15054
15055       ac_ext=cc
15056 ac_cpp='$CXXCPP $CPPFLAGS'
15057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15060
15061       cat >conftest.$ac_ext <<_ACEOF
15062 #line $LINENO "configure"
15063 /* confdefs.h.  */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h.  */
15068 #include <math.h>
15069                       #ifdef HAVE_IEEEFP_H
15070                       #include <ieeefp.h>
15071                       #endif
15072
15073 int
15074 main ()
15075 {
15076  _sqrtf(0);
15077   ;
15078   return 0;
15079 }
15080 _ACEOF
15081 rm -f conftest.$ac_objext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083   (eval $ac_compile) 2>&5
15084   ac_status=$?
15085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086   (exit $ac_status); } &&
15087          { ac_try='test -s conftest.$ac_objext'
15088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089   (eval $ac_try) 2>&5
15090   ac_status=$?
15091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092   (exit $ac_status); }; }; then
15093   glibcxx_cv_func__sqrtf_use=yes
15094 else
15095   echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15097
15098 glibcxx_cv_func__sqrtf_use=no
15099 fi
15100 rm -f conftest.$ac_objext conftest.$ac_ext
15101       ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15106
15107
15108 fi
15109
15110   fi
15111   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15112 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15113
15114     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15115
15116 for ac_func in _sqrtf
15117 do
15118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15119 echo "$as_me:$LINENO: checking for $ac_func" >&5
15120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15121 if eval "test \"\${$as_ac_var+set}\" = set"; then
15122   echo $ECHO_N "(cached) $ECHO_C" >&6
15123 else
15124   if test x$gcc_no_link = xyes; then
15125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15127    { (exit 1); exit 1; }; }
15128 fi
15129 cat >conftest.$ac_ext <<_ACEOF
15130 #line $LINENO "configure"
15131 /* confdefs.h.  */
15132 _ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h.  */
15136 /* System header to define __stub macros and hopefully few prototypes,
15137     which can conflict with char $ac_func (); below.
15138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15139     <limits.h> exists even on freestanding compilers.  */
15140 #ifdef __STDC__
15141 # include <limits.h>
15142 #else
15143 # include <assert.h>
15144 #endif
15145 /* Override any gcc2 internal prototype to avoid an error.  */
15146 #ifdef __cplusplus
15147 extern "C"
15148 {
15149 #endif
15150 /* We use char because int might match the return type of a gcc2
15151    builtin and then its argument prototype would still apply.  */
15152 char $ac_func ();
15153 /* The GNU C library defines this for functions which it implements
15154     to always fail with ENOSYS.  Some functions are actually named
15155     something starting with __ and the normal name is an alias.  */
15156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15157 choke me
15158 #else
15159 char (*f) () = $ac_func;
15160 #endif
15161 #ifdef __cplusplus
15162 }
15163 #endif
15164
15165 int
15166 main ()
15167 {
15168 return f != $ac_func;
15169   ;
15170   return 0;
15171 }
15172 _ACEOF
15173 rm -f conftest.$ac_objext conftest$ac_exeext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15175   (eval $ac_link) 2>&5
15176   ac_status=$?
15177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178   (exit $ac_status); } &&
15179          { ac_try='test -s conftest$ac_exeext'
15180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15181   (eval $ac_try) 2>&5
15182   ac_status=$?
15183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184   (exit $ac_status); }; }; then
15185   eval "$as_ac_var=yes"
15186 else
15187   echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190 eval "$as_ac_var=no"
15191 fi
15192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15193 fi
15194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15196 if test `eval echo '${'$as_ac_var'}'` = yes; then
15197   cat >>confdefs.h <<_ACEOF
15198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15199 _ACEOF
15200
15201 fi
15202 done
15203
15204     fi
15205   fi
15206
15207
15208
15209   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15210 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15211   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15212     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15213   echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215
15216
15217
15218       ac_ext=cc
15219 ac_cpp='$CXXCPP $CPPFLAGS'
15220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15223
15224       cat >conftest.$ac_ext <<_ACEOF
15225 #line $LINENO "configure"
15226 /* confdefs.h.  */
15227 _ACEOF
15228 cat confdefs.h >>conftest.$ac_ext
15229 cat >>conftest.$ac_ext <<_ACEOF
15230 /* end confdefs.h.  */
15231 #include <math.h>
15232 int
15233 main ()
15234 {
15235  sincosf(0, 0, 0);
15236   ;
15237   return 0;
15238 }
15239 _ACEOF
15240 rm -f conftest.$ac_objext
15241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15242   (eval $ac_compile) 2>&5
15243   ac_status=$?
15244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245   (exit $ac_status); } &&
15246          { ac_try='test -s conftest.$ac_objext'
15247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248   (eval $ac_try) 2>&5
15249   ac_status=$?
15250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251   (exit $ac_status); }; }; then
15252   glibcxx_cv_func_sincosf_use=yes
15253 else
15254   echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15256
15257 glibcxx_cv_func_sincosf_use=no
15258 fi
15259 rm -f conftest.$ac_objext conftest.$ac_ext
15260       ac_ext=c
15261 ac_cpp='$CPP $CPPFLAGS'
15262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15265
15266
15267 fi
15268
15269   fi
15270   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15271 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15272
15273   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15274
15275 for ac_func in sincosf
15276 do
15277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15278 echo "$as_me:$LINENO: checking for $ac_func" >&5
15279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15280 if eval "test \"\${$as_ac_var+set}\" = set"; then
15281   echo $ECHO_N "(cached) $ECHO_C" >&6
15282 else
15283   if test x$gcc_no_link = xyes; then
15284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15286    { (exit 1); exit 1; }; }
15287 fi
15288 cat >conftest.$ac_ext <<_ACEOF
15289 #line $LINENO "configure"
15290 /* confdefs.h.  */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h.  */
15295 /* System header to define __stub macros and hopefully few prototypes,
15296     which can conflict with char $ac_func (); below.
15297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15298     <limits.h> exists even on freestanding compilers.  */
15299 #ifdef __STDC__
15300 # include <limits.h>
15301 #else
15302 # include <assert.h>
15303 #endif
15304 /* Override any gcc2 internal prototype to avoid an error.  */
15305 #ifdef __cplusplus
15306 extern "C"
15307 {
15308 #endif
15309 /* We use char because int might match the return type of a gcc2
15310    builtin and then its argument prototype would still apply.  */
15311 char $ac_func ();
15312 /* The GNU C library defines this for functions which it implements
15313     to always fail with ENOSYS.  Some functions are actually named
15314     something starting with __ and the normal name is an alias.  */
15315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15316 choke me
15317 #else
15318 char (*f) () = $ac_func;
15319 #endif
15320 #ifdef __cplusplus
15321 }
15322 #endif
15323
15324 int
15325 main ()
15326 {
15327 return f != $ac_func;
15328   ;
15329   return 0;
15330 }
15331 _ACEOF
15332 rm -f conftest.$ac_objext conftest$ac_exeext
15333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15334   (eval $ac_link) 2>&5
15335   ac_status=$?
15336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337   (exit $ac_status); } &&
15338          { ac_try='test -s conftest$ac_exeext'
15339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340   (eval $ac_try) 2>&5
15341   ac_status=$?
15342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343   (exit $ac_status); }; }; then
15344   eval "$as_ac_var=yes"
15345 else
15346   echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15348
15349 eval "$as_ac_var=no"
15350 fi
15351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15352 fi
15353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15355 if test `eval echo '${'$as_ac_var'}'` = yes; then
15356   cat >>confdefs.h <<_ACEOF
15357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15358 _ACEOF
15359
15360 fi
15361 done
15362
15363   else
15364
15365   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15366 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15367   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15368     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15369   echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371
15372
15373
15374       ac_ext=cc
15375 ac_cpp='$CXXCPP $CPPFLAGS'
15376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15379
15380       cat >conftest.$ac_ext <<_ACEOF
15381 #line $LINENO "configure"
15382 /* confdefs.h.  */
15383 _ACEOF
15384 cat confdefs.h >>conftest.$ac_ext
15385 cat >>conftest.$ac_ext <<_ACEOF
15386 /* end confdefs.h.  */
15387 #include <math.h>
15388 int
15389 main ()
15390 {
15391  _sincosf(0, 0, 0);
15392   ;
15393   return 0;
15394 }
15395 _ACEOF
15396 rm -f conftest.$ac_objext
15397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15398   (eval $ac_compile) 2>&5
15399   ac_status=$?
15400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401   (exit $ac_status); } &&
15402          { ac_try='test -s conftest.$ac_objext'
15403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404   (eval $ac_try) 2>&5
15405   ac_status=$?
15406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407   (exit $ac_status); }; }; then
15408   glibcxx_cv_func__sincosf_use=yes
15409 else
15410   echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413 glibcxx_cv_func__sincosf_use=no
15414 fi
15415 rm -f conftest.$ac_objext conftest.$ac_ext
15416       ac_ext=c
15417 ac_cpp='$CPP $CPPFLAGS'
15418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15421
15422
15423 fi
15424
15425   fi
15426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15427 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15428
15429     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15430
15431 for ac_func in _sincosf
15432 do
15433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15434 echo "$as_me:$LINENO: checking for $ac_func" >&5
15435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15436 if eval "test \"\${$as_ac_var+set}\" = set"; then
15437   echo $ECHO_N "(cached) $ECHO_C" >&6
15438 else
15439   if test x$gcc_no_link = xyes; then
15440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15442    { (exit 1); exit 1; }; }
15443 fi
15444 cat >conftest.$ac_ext <<_ACEOF
15445 #line $LINENO "configure"
15446 /* confdefs.h.  */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h.  */
15451 /* System header to define __stub macros and hopefully few prototypes,
15452     which can conflict with char $ac_func (); below.
15453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15454     <limits.h> exists even on freestanding compilers.  */
15455 #ifdef __STDC__
15456 # include <limits.h>
15457 #else
15458 # include <assert.h>
15459 #endif
15460 /* Override any gcc2 internal prototype to avoid an error.  */
15461 #ifdef __cplusplus
15462 extern "C"
15463 {
15464 #endif
15465 /* We use char because int might match the return type of a gcc2
15466    builtin and then its argument prototype would still apply.  */
15467 char $ac_func ();
15468 /* The GNU C library defines this for functions which it implements
15469     to always fail with ENOSYS.  Some functions are actually named
15470     something starting with __ and the normal name is an alias.  */
15471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15472 choke me
15473 #else
15474 char (*f) () = $ac_func;
15475 #endif
15476 #ifdef __cplusplus
15477 }
15478 #endif
15479
15480 int
15481 main ()
15482 {
15483 return f != $ac_func;
15484   ;
15485   return 0;
15486 }
15487 _ACEOF
15488 rm -f conftest.$ac_objext conftest$ac_exeext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15490   (eval $ac_link) 2>&5
15491   ac_status=$?
15492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493   (exit $ac_status); } &&
15494          { ac_try='test -s conftest$ac_exeext'
15495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496   (eval $ac_try) 2>&5
15497   ac_status=$?
15498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499   (exit $ac_status); }; }; then
15500   eval "$as_ac_var=yes"
15501 else
15502   echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.$ac_ext >&5
15504
15505 eval "$as_ac_var=no"
15506 fi
15507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15508 fi
15509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15511 if test `eval echo '${'$as_ac_var'}'` = yes; then
15512   cat >>confdefs.h <<_ACEOF
15513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15514 _ACEOF
15515
15516 fi
15517 done
15518
15519     fi
15520   fi
15521
15522
15523
15524   echo "$as_me:$LINENO: checking for finitef declaration" >&5
15525 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15526   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15527     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15528   echo $ECHO_N "(cached) $ECHO_C" >&6
15529 else
15530
15531
15532
15533       ac_ext=cc
15534 ac_cpp='$CXXCPP $CPPFLAGS'
15535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15538
15539       cat >conftest.$ac_ext <<_ACEOF
15540 #line $LINENO "configure"
15541 /* confdefs.h.  */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h.  */
15546 #include <math.h>
15547                       #ifdef HAVE_IEEEFP_H
15548                       #include <ieeefp.h>
15549                       #endif
15550
15551 int
15552 main ()
15553 {
15554  finitef(0);
15555   ;
15556   return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15561   (eval $ac_compile) 2>&5
15562   ac_status=$?
15563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564   (exit $ac_status); } &&
15565          { ac_try='test -s conftest.$ac_objext'
15566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567   (eval $ac_try) 2>&5
15568   ac_status=$?
15569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570   (exit $ac_status); }; }; then
15571   glibcxx_cv_func_finitef_use=yes
15572 else
15573   echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 glibcxx_cv_func_finitef_use=no
15577 fi
15578 rm -f conftest.$ac_objext conftest.$ac_ext
15579       ac_ext=c
15580 ac_cpp='$CPP $CPPFLAGS'
15581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15584
15585
15586 fi
15587
15588   fi
15589   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15590 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15591
15592   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15593
15594 for ac_func in finitef
15595 do
15596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15597 echo "$as_me:$LINENO: checking for $ac_func" >&5
15598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15599 if eval "test \"\${$as_ac_var+set}\" = set"; then
15600   echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602   if test x$gcc_no_link = xyes; then
15603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15605    { (exit 1); exit 1; }; }
15606 fi
15607 cat >conftest.$ac_ext <<_ACEOF
15608 #line $LINENO "configure"
15609 /* confdefs.h.  */
15610 _ACEOF
15611 cat confdefs.h >>conftest.$ac_ext
15612 cat >>conftest.$ac_ext <<_ACEOF
15613 /* end confdefs.h.  */
15614 /* System header to define __stub macros and hopefully few prototypes,
15615     which can conflict with char $ac_func (); below.
15616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15617     <limits.h> exists even on freestanding compilers.  */
15618 #ifdef __STDC__
15619 # include <limits.h>
15620 #else
15621 # include <assert.h>
15622 #endif
15623 /* Override any gcc2 internal prototype to avoid an error.  */
15624 #ifdef __cplusplus
15625 extern "C"
15626 {
15627 #endif
15628 /* We use char because int might match the return type of a gcc2
15629    builtin and then its argument prototype would still apply.  */
15630 char $ac_func ();
15631 /* The GNU C library defines this for functions which it implements
15632     to always fail with ENOSYS.  Some functions are actually named
15633     something starting with __ and the normal name is an alias.  */
15634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15635 choke me
15636 #else
15637 char (*f) () = $ac_func;
15638 #endif
15639 #ifdef __cplusplus
15640 }
15641 #endif
15642
15643 int
15644 main ()
15645 {
15646 return f != $ac_func;
15647   ;
15648   return 0;
15649 }
15650 _ACEOF
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15653   (eval $ac_link) 2>&5
15654   ac_status=$?
15655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656   (exit $ac_status); } &&
15657          { ac_try='test -s conftest$ac_exeext'
15658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659   (eval $ac_try) 2>&5
15660   ac_status=$?
15661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662   (exit $ac_status); }; }; then
15663   eval "$as_ac_var=yes"
15664 else
15665   echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15667
15668 eval "$as_ac_var=no"
15669 fi
15670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15671 fi
15672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15674 if test `eval echo '${'$as_ac_var'}'` = yes; then
15675   cat >>confdefs.h <<_ACEOF
15676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15677 _ACEOF
15678
15679 fi
15680 done
15681
15682   else
15683
15684   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15685 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15686   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15687     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15688   echo $ECHO_N "(cached) $ECHO_C" >&6
15689 else
15690
15691
15692
15693       ac_ext=cc
15694 ac_cpp='$CXXCPP $CPPFLAGS'
15695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15698
15699       cat >conftest.$ac_ext <<_ACEOF
15700 #line $LINENO "configure"
15701 /* confdefs.h.  */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h.  */
15706 #include <math.h>
15707                       #ifdef HAVE_IEEEFP_H
15708                       #include <ieeefp.h>
15709                       #endif
15710
15711 int
15712 main ()
15713 {
15714  _finitef(0);
15715   ;
15716   return 0;
15717 }
15718 _ACEOF
15719 rm -f conftest.$ac_objext
15720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15721   (eval $ac_compile) 2>&5
15722   ac_status=$?
15723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724   (exit $ac_status); } &&
15725          { ac_try='test -s conftest.$ac_objext'
15726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727   (eval $ac_try) 2>&5
15728   ac_status=$?
15729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730   (exit $ac_status); }; }; then
15731   glibcxx_cv_func__finitef_use=yes
15732 else
15733   echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.$ac_ext >&5
15735
15736 glibcxx_cv_func__finitef_use=no
15737 fi
15738 rm -f conftest.$ac_objext conftest.$ac_ext
15739       ac_ext=c
15740 ac_cpp='$CPP $CPPFLAGS'
15741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15744
15745
15746 fi
15747
15748   fi
15749   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15750 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15751
15752     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15753
15754 for ac_func in _finitef
15755 do
15756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15757 echo "$as_me:$LINENO: checking for $ac_func" >&5
15758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15759 if eval "test \"\${$as_ac_var+set}\" = set"; then
15760   echo $ECHO_N "(cached) $ECHO_C" >&6
15761 else
15762   if test x$gcc_no_link = xyes; then
15763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15765    { (exit 1); exit 1; }; }
15766 fi
15767 cat >conftest.$ac_ext <<_ACEOF
15768 #line $LINENO "configure"
15769 /* confdefs.h.  */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h.  */
15774 /* System header to define __stub macros and hopefully few prototypes,
15775     which can conflict with char $ac_func (); below.
15776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15777     <limits.h> exists even on freestanding compilers.  */
15778 #ifdef __STDC__
15779 # include <limits.h>
15780 #else
15781 # include <assert.h>
15782 #endif
15783 /* Override any gcc2 internal prototype to avoid an error.  */
15784 #ifdef __cplusplus
15785 extern "C"
15786 {
15787 #endif
15788 /* We use char because int might match the return type of a gcc2
15789    builtin and then its argument prototype would still apply.  */
15790 char $ac_func ();
15791 /* The GNU C library defines this for functions which it implements
15792     to always fail with ENOSYS.  Some functions are actually named
15793     something starting with __ and the normal name is an alias.  */
15794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15795 choke me
15796 #else
15797 char (*f) () = $ac_func;
15798 #endif
15799 #ifdef __cplusplus
15800 }
15801 #endif
15802
15803 int
15804 main ()
15805 {
15806 return f != $ac_func;
15807   ;
15808   return 0;
15809 }
15810 _ACEOF
15811 rm -f conftest.$ac_objext conftest$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813   (eval $ac_link) 2>&5
15814   ac_status=$?
15815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15816   (exit $ac_status); } &&
15817          { ac_try='test -s conftest$ac_exeext'
15818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15819   (eval $ac_try) 2>&5
15820   ac_status=$?
15821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822   (exit $ac_status); }; }; then
15823   eval "$as_ac_var=yes"
15824 else
15825   echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15827
15828 eval "$as_ac_var=no"
15829 fi
15830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15831 fi
15832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15834 if test `eval echo '${'$as_ac_var'}'` = yes; then
15835   cat >>confdefs.h <<_ACEOF
15836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15837 _ACEOF
15838
15839 fi
15840 done
15841
15842     fi
15843   fi
15844
15845
15846
15847   echo "$as_me:$LINENO: checking for long double trig functions" >&5
15848 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15849   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15850   echo $ECHO_N "(cached) $ECHO_C" >&6
15851 else
15852
15853
15854
15855     ac_ext=cc
15856 ac_cpp='$CXXCPP $CPPFLAGS'
15857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860
15861     cat >conftest.$ac_ext <<_ACEOF
15862 #line $LINENO "configure"
15863 /* confdefs.h.  */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h.  */
15868 #include <math.h>
15869 int
15870 main ()
15871 {
15872  `for x in acosl asinl atanl \
15873                                           cosl sinl tanl \
15874                                           coshl sinhl tanhl; do echo "$x (0);"; done`
15875   ;
15876   return 0;
15877 }
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881   (eval $ac_compile) 2>&5
15882   ac_status=$?
15883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884   (exit $ac_status); } &&
15885          { ac_try='test -s conftest.$ac_objext'
15886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887   (eval $ac_try) 2>&5
15888   ac_status=$?
15889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890   (exit $ac_status); }; }; then
15891   glibcxx_cv_func_long_double_trig_use=yes
15892 else
15893   echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 glibcxx_cv_func_long_double_trig_use=no
15897 fi
15898 rm -f conftest.$ac_objext conftest.$ac_ext
15899     ac_ext=c
15900 ac_cpp='$CPP $CPPFLAGS'
15901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15904
15905 fi
15906
15907   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15908 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15909   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919 for ac_func in acosl asinl atanl \
15920                                           cosl sinl tanl \
15921                                           coshl sinhl tanhl
15922 do
15923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15924 echo "$as_me:$LINENO: checking for $ac_func" >&5
15925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15926 if eval "test \"\${$as_ac_var+set}\" = set"; then
15927   echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929   if test x$gcc_no_link = xyes; then
15930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15932    { (exit 1); exit 1; }; }
15933 fi
15934 cat >conftest.$ac_ext <<_ACEOF
15935 #line $LINENO "configure"
15936 /* confdefs.h.  */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h.  */
15941 /* System header to define __stub macros and hopefully few prototypes,
15942     which can conflict with char $ac_func (); below.
15943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15944     <limits.h> exists even on freestanding compilers.  */
15945 #ifdef __STDC__
15946 # include <limits.h>
15947 #else
15948 # include <assert.h>
15949 #endif
15950 /* Override any gcc2 internal prototype to avoid an error.  */
15951 #ifdef __cplusplus
15952 extern "C"
15953 {
15954 #endif
15955 /* We use char because int might match the return type of a gcc2
15956    builtin and then its argument prototype would still apply.  */
15957 char $ac_func ();
15958 /* The GNU C library defines this for functions which it implements
15959     to always fail with ENOSYS.  Some functions are actually named
15960     something starting with __ and the normal name is an alias.  */
15961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15962 choke me
15963 #else
15964 char (*f) () = $ac_func;
15965 #endif
15966 #ifdef __cplusplus
15967 }
15968 #endif
15969
15970 int
15971 main ()
15972 {
15973 return f != $ac_func;
15974   ;
15975   return 0;
15976 }
15977 _ACEOF
15978 rm -f conftest.$ac_objext conftest$ac_exeext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15980   (eval $ac_link) 2>&5
15981   ac_status=$?
15982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983   (exit $ac_status); } &&
15984          { ac_try='test -s conftest$ac_exeext'
15985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986   (eval $ac_try) 2>&5
15987   ac_status=$?
15988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989   (exit $ac_status); }; }; then
15990   eval "$as_ac_var=yes"
15991 else
15992   echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.$ac_ext >&5
15994
15995 eval "$as_ac_var=no"
15996 fi
15997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15998 fi
15999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16001 if test `eval echo '${'$as_ac_var'}'` = yes; then
16002   cat >>confdefs.h <<_ACEOF
16003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16004 _ACEOF
16005
16006 fi
16007 done
16008
16009   fi
16010
16011
16012   echo "$as_me:$LINENO: checking for long double round functions" >&5
16013 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16014   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16015   echo $ECHO_N "(cached) $ECHO_C" >&6
16016 else
16017
16018
16019
16020     ac_ext=cc
16021 ac_cpp='$CXXCPP $CPPFLAGS'
16022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16025
16026     cat >conftest.$ac_ext <<_ACEOF
16027 #line $LINENO "configure"
16028 /* confdefs.h.  */
16029 _ACEOF
16030 cat confdefs.h >>conftest.$ac_ext
16031 cat >>conftest.$ac_ext <<_ACEOF
16032 /* end confdefs.h.  */
16033 #include <math.h>
16034 int
16035 main ()
16036 {
16037  `for x in ceill floorl; do echo "$x (0);"; done`
16038   ;
16039   return 0;
16040 }
16041 _ACEOF
16042 rm -f conftest.$ac_objext
16043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16044   (eval $ac_compile) 2>&5
16045   ac_status=$?
16046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047   (exit $ac_status); } &&
16048          { ac_try='test -s conftest.$ac_objext'
16049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050   (eval $ac_try) 2>&5
16051   ac_status=$?
16052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053   (exit $ac_status); }; }; then
16054   glibcxx_cv_func_long_double_round_use=yes
16055 else
16056   echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 glibcxx_cv_func_long_double_round_use=no
16060 fi
16061 rm -f conftest.$ac_objext conftest.$ac_ext
16062     ac_ext=c
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16067
16068 fi
16069
16070   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16071 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16072   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16073
16074
16075 for ac_func in ceill floorl
16076 do
16077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16078 echo "$as_me:$LINENO: checking for $ac_func" >&5
16079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16080 if eval "test \"\${$as_ac_var+set}\" = set"; then
16081   echo $ECHO_N "(cached) $ECHO_C" >&6
16082 else
16083   if test x$gcc_no_link = xyes; then
16084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16086    { (exit 1); exit 1; }; }
16087 fi
16088 cat >conftest.$ac_ext <<_ACEOF
16089 #line $LINENO "configure"
16090 /* confdefs.h.  */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h.  */
16095 /* System header to define __stub macros and hopefully few prototypes,
16096     which can conflict with char $ac_func (); below.
16097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16098     <limits.h> exists even on freestanding compilers.  */
16099 #ifdef __STDC__
16100 # include <limits.h>
16101 #else
16102 # include <assert.h>
16103 #endif
16104 /* Override any gcc2 internal prototype to avoid an error.  */
16105 #ifdef __cplusplus
16106 extern "C"
16107 {
16108 #endif
16109 /* We use char because int might match the return type of a gcc2
16110    builtin and then its argument prototype would still apply.  */
16111 char $ac_func ();
16112 /* The GNU C library defines this for functions which it implements
16113     to always fail with ENOSYS.  Some functions are actually named
16114     something starting with __ and the normal name is an alias.  */
16115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16116 choke me
16117 #else
16118 char (*f) () = $ac_func;
16119 #endif
16120 #ifdef __cplusplus
16121 }
16122 #endif
16123
16124 int
16125 main ()
16126 {
16127 return f != $ac_func;
16128   ;
16129   return 0;
16130 }
16131 _ACEOF
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134   (eval $ac_link) 2>&5
16135   ac_status=$?
16136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137   (exit $ac_status); } &&
16138          { ac_try='test -s conftest$ac_exeext'
16139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140   (eval $ac_try) 2>&5
16141   ac_status=$?
16142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143   (exit $ac_status); }; }; then
16144   eval "$as_ac_var=yes"
16145 else
16146   echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 eval "$as_ac_var=no"
16150 fi
16151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16152 fi
16153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16155 if test `eval echo '${'$as_ac_var'}'` = yes; then
16156   cat >>confdefs.h <<_ACEOF
16157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16158 _ACEOF
16159
16160 fi
16161 done
16162
16163   fi
16164
16165
16166
16167   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16168 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16169   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16170     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16171   echo $ECHO_N "(cached) $ECHO_C" >&6
16172 else
16173
16174
16175
16176       ac_ext=cc
16177 ac_cpp='$CXXCPP $CPPFLAGS'
16178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16181
16182       cat >conftest.$ac_ext <<_ACEOF
16183 #line $LINENO "configure"
16184 /* confdefs.h.  */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h.  */
16189 #include <math.h>
16190                       #ifdef HAVE_IEEEFP_H
16191                       #include <ieeefp.h>
16192                       #endif
16193
16194 int
16195 main ()
16196 {
16197  isnanl(0);
16198   ;
16199   return 0;
16200 }
16201 _ACEOF
16202 rm -f conftest.$ac_objext
16203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16204   (eval $ac_compile) 2>&5
16205   ac_status=$?
16206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207   (exit $ac_status); } &&
16208          { ac_try='test -s conftest.$ac_objext'
16209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16210   (eval $ac_try) 2>&5
16211   ac_status=$?
16212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213   (exit $ac_status); }; }; then
16214   glibcxx_cv_func_isnanl_use=yes
16215 else
16216   echo "$as_me: failed program was:" >&5
16217 sed 's/^/| /' conftest.$ac_ext >&5
16218
16219 glibcxx_cv_func_isnanl_use=no
16220 fi
16221 rm -f conftest.$ac_objext conftest.$ac_ext
16222       ac_ext=c
16223 ac_cpp='$CPP $CPPFLAGS'
16224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16227
16228
16229 fi
16230
16231   fi
16232   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16233 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16234
16235   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16236
16237 for ac_func in isnanl
16238 do
16239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16240 echo "$as_me:$LINENO: checking for $ac_func" >&5
16241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16242 if eval "test \"\${$as_ac_var+set}\" = set"; then
16243   echo $ECHO_N "(cached) $ECHO_C" >&6
16244 else
16245   if test x$gcc_no_link = xyes; then
16246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16248    { (exit 1); exit 1; }; }
16249 fi
16250 cat >conftest.$ac_ext <<_ACEOF
16251 #line $LINENO "configure"
16252 /* confdefs.h.  */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h.  */
16257 /* System header to define __stub macros and hopefully few prototypes,
16258     which can conflict with char $ac_func (); below.
16259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16260     <limits.h> exists even on freestanding compilers.  */
16261 #ifdef __STDC__
16262 # include <limits.h>
16263 #else
16264 # include <assert.h>
16265 #endif
16266 /* Override any gcc2 internal prototype to avoid an error.  */
16267 #ifdef __cplusplus
16268 extern "C"
16269 {
16270 #endif
16271 /* We use char because int might match the return type of a gcc2
16272    builtin and then its argument prototype would still apply.  */
16273 char $ac_func ();
16274 /* The GNU C library defines this for functions which it implements
16275     to always fail with ENOSYS.  Some functions are actually named
16276     something starting with __ and the normal name is an alias.  */
16277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16278 choke me
16279 #else
16280 char (*f) () = $ac_func;
16281 #endif
16282 #ifdef __cplusplus
16283 }
16284 #endif
16285
16286 int
16287 main ()
16288 {
16289 return f != $ac_func;
16290   ;
16291   return 0;
16292 }
16293 _ACEOF
16294 rm -f conftest.$ac_objext conftest$ac_exeext
16295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16296   (eval $ac_link) 2>&5
16297   ac_status=$?
16298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299   (exit $ac_status); } &&
16300          { ac_try='test -s conftest$ac_exeext'
16301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302   (eval $ac_try) 2>&5
16303   ac_status=$?
16304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305   (exit $ac_status); }; }; then
16306   eval "$as_ac_var=yes"
16307 else
16308   echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 eval "$as_ac_var=no"
16312 fi
16313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16314 fi
16315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16317 if test `eval echo '${'$as_ac_var'}'` = yes; then
16318   cat >>confdefs.h <<_ACEOF
16319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16320 _ACEOF
16321
16322 fi
16323 done
16324
16325   else
16326
16327   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16328 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16329   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16330     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16331   echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333
16334
16335
16336       ac_ext=cc
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16341
16342       cat >conftest.$ac_ext <<_ACEOF
16343 #line $LINENO "configure"
16344 /* confdefs.h.  */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h.  */
16349 #include <math.h>
16350                       #ifdef HAVE_IEEEFP_H
16351                       #include <ieeefp.h>
16352                       #endif
16353
16354 int
16355 main ()
16356 {
16357  _isnanl(0);
16358   ;
16359   return 0;
16360 }
16361 _ACEOF
16362 rm -f conftest.$ac_objext
16363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16364   (eval $ac_compile) 2>&5
16365   ac_status=$?
16366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367   (exit $ac_status); } &&
16368          { ac_try='test -s conftest.$ac_objext'
16369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370   (eval $ac_try) 2>&5
16371   ac_status=$?
16372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373   (exit $ac_status); }; }; then
16374   glibcxx_cv_func__isnanl_use=yes
16375 else
16376   echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16378
16379 glibcxx_cv_func__isnanl_use=no
16380 fi
16381 rm -f conftest.$ac_objext conftest.$ac_ext
16382       ac_ext=c
16383 ac_cpp='$CPP $CPPFLAGS'
16384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16387
16388
16389 fi
16390
16391   fi
16392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16393 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16394
16395     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16396
16397 for ac_func in _isnanl
16398 do
16399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16400 echo "$as_me:$LINENO: checking for $ac_func" >&5
16401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16402 if eval "test \"\${$as_ac_var+set}\" = set"; then
16403   echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405   if test x$gcc_no_link = xyes; then
16406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16408    { (exit 1); exit 1; }; }
16409 fi
16410 cat >conftest.$ac_ext <<_ACEOF
16411 #line $LINENO "configure"
16412 /* confdefs.h.  */
16413 _ACEOF
16414 cat confdefs.h >>conftest.$ac_ext
16415 cat >>conftest.$ac_ext <<_ACEOF
16416 /* end confdefs.h.  */
16417 /* System header to define __stub macros and hopefully few prototypes,
16418     which can conflict with char $ac_func (); below.
16419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16420     <limits.h> exists even on freestanding compilers.  */
16421 #ifdef __STDC__
16422 # include <limits.h>
16423 #else
16424 # include <assert.h>
16425 #endif
16426 /* Override any gcc2 internal prototype to avoid an error.  */
16427 #ifdef __cplusplus
16428 extern "C"
16429 {
16430 #endif
16431 /* We use char because int might match the return type of a gcc2
16432    builtin and then its argument prototype would still apply.  */
16433 char $ac_func ();
16434 /* The GNU C library defines this for functions which it implements
16435     to always fail with ENOSYS.  Some functions are actually named
16436     something starting with __ and the normal name is an alias.  */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16438 choke me
16439 #else
16440 char (*f) () = $ac_func;
16441 #endif
16442 #ifdef __cplusplus
16443 }
16444 #endif
16445
16446 int
16447 main ()
16448 {
16449 return f != $ac_func;
16450   ;
16451   return 0;
16452 }
16453 _ACEOF
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16456   (eval $ac_link) 2>&5
16457   ac_status=$?
16458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459   (exit $ac_status); } &&
16460          { ac_try='test -s conftest$ac_exeext'
16461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462   (eval $ac_try) 2>&5
16463   ac_status=$?
16464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465   (exit $ac_status); }; }; then
16466   eval "$as_ac_var=yes"
16467 else
16468   echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16470
16471 eval "$as_ac_var=no"
16472 fi
16473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16474 fi
16475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16477 if test `eval echo '${'$as_ac_var'}'` = yes; then
16478   cat >>confdefs.h <<_ACEOF
16479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16480 _ACEOF
16481
16482 fi
16483 done
16484
16485     fi
16486   fi
16487
16488
16489
16490   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16491 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16492   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16493     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16494   echo $ECHO_N "(cached) $ECHO_C" >&6
16495 else
16496
16497
16498
16499       ac_ext=cc
16500 ac_cpp='$CXXCPP $CPPFLAGS'
16501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16504
16505       cat >conftest.$ac_ext <<_ACEOF
16506 #line $LINENO "configure"
16507 /* confdefs.h.  */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h.  */
16512 #include <math.h>
16513                       #ifdef HAVE_IEEEFP_H
16514                       #include <ieeefp.h>
16515                       #endif
16516
16517 int
16518 main ()
16519 {
16520  isinfl(0);
16521   ;
16522   return 0;
16523 }
16524 _ACEOF
16525 rm -f conftest.$ac_objext
16526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16527   (eval $ac_compile) 2>&5
16528   ac_status=$?
16529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530   (exit $ac_status); } &&
16531          { ac_try='test -s conftest.$ac_objext'
16532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533   (eval $ac_try) 2>&5
16534   ac_status=$?
16535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536   (exit $ac_status); }; }; then
16537   glibcxx_cv_func_isinfl_use=yes
16538 else
16539   echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16541
16542 glibcxx_cv_func_isinfl_use=no
16543 fi
16544 rm -f conftest.$ac_objext conftest.$ac_ext
16545       ac_ext=c
16546 ac_cpp='$CPP $CPPFLAGS'
16547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16550
16551
16552 fi
16553
16554   fi
16555   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16556 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16557
16558   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16559
16560 for ac_func in isinfl
16561 do
16562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16563 echo "$as_me:$LINENO: checking for $ac_func" >&5
16564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16565 if eval "test \"\${$as_ac_var+set}\" = set"; then
16566   echo $ECHO_N "(cached) $ECHO_C" >&6
16567 else
16568   if test x$gcc_no_link = xyes; then
16569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16571    { (exit 1); exit 1; }; }
16572 fi
16573 cat >conftest.$ac_ext <<_ACEOF
16574 #line $LINENO "configure"
16575 /* confdefs.h.  */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h.  */
16580 /* System header to define __stub macros and hopefully few prototypes,
16581     which can conflict with char $ac_func (); below.
16582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16583     <limits.h> exists even on freestanding compilers.  */
16584 #ifdef __STDC__
16585 # include <limits.h>
16586 #else
16587 # include <assert.h>
16588 #endif
16589 /* Override any gcc2 internal prototype to avoid an error.  */
16590 #ifdef __cplusplus
16591 extern "C"
16592 {
16593 #endif
16594 /* We use char because int might match the return type of a gcc2
16595    builtin and then its argument prototype would still apply.  */
16596 char $ac_func ();
16597 /* The GNU C library defines this for functions which it implements
16598     to always fail with ENOSYS.  Some functions are actually named
16599     something starting with __ and the normal name is an alias.  */
16600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16601 choke me
16602 #else
16603 char (*f) () = $ac_func;
16604 #endif
16605 #ifdef __cplusplus
16606 }
16607 #endif
16608
16609 int
16610 main ()
16611 {
16612 return f != $ac_func;
16613   ;
16614   return 0;
16615 }
16616 _ACEOF
16617 rm -f conftest.$ac_objext conftest$ac_exeext
16618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16619   (eval $ac_link) 2>&5
16620   ac_status=$?
16621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622   (exit $ac_status); } &&
16623          { ac_try='test -s conftest$ac_exeext'
16624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625   (eval $ac_try) 2>&5
16626   ac_status=$?
16627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628   (exit $ac_status); }; }; then
16629   eval "$as_ac_var=yes"
16630 else
16631   echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16633
16634 eval "$as_ac_var=no"
16635 fi
16636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16637 fi
16638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16640 if test `eval echo '${'$as_ac_var'}'` = yes; then
16641   cat >>confdefs.h <<_ACEOF
16642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16643 _ACEOF
16644
16645 fi
16646 done
16647
16648   else
16649
16650   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16651 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16652   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16653     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16654   echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16656
16657
16658
16659       ac_ext=cc
16660 ac_cpp='$CXXCPP $CPPFLAGS'
16661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16664
16665       cat >conftest.$ac_ext <<_ACEOF
16666 #line $LINENO "configure"
16667 /* confdefs.h.  */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h.  */
16672 #include <math.h>
16673                       #ifdef HAVE_IEEEFP_H
16674                       #include <ieeefp.h>
16675                       #endif
16676
16677 int
16678 main ()
16679 {
16680  _isinfl(0);
16681   ;
16682   return 0;
16683 }
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687   (eval $ac_compile) 2>&5
16688   ac_status=$?
16689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690   (exit $ac_status); } &&
16691          { ac_try='test -s conftest.$ac_objext'
16692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693   (eval $ac_try) 2>&5
16694   ac_status=$?
16695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696   (exit $ac_status); }; }; then
16697   glibcxx_cv_func__isinfl_use=yes
16698 else
16699   echo "$as_me: failed program was:" >&5
16700 sed 's/^/| /' conftest.$ac_ext >&5
16701
16702 glibcxx_cv_func__isinfl_use=no
16703 fi
16704 rm -f conftest.$ac_objext conftest.$ac_ext
16705       ac_ext=c
16706 ac_cpp='$CPP $CPPFLAGS'
16707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16710
16711
16712 fi
16713
16714   fi
16715   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16716 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16717
16718     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16719
16720 for ac_func in _isinfl
16721 do
16722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16723 echo "$as_me:$LINENO: checking for $ac_func" >&5
16724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16725 if eval "test \"\${$as_ac_var+set}\" = set"; then
16726   echo $ECHO_N "(cached) $ECHO_C" >&6
16727 else
16728   if test x$gcc_no_link = xyes; then
16729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16731    { (exit 1); exit 1; }; }
16732 fi
16733 cat >conftest.$ac_ext <<_ACEOF
16734 #line $LINENO "configure"
16735 /* confdefs.h.  */
16736 _ACEOF
16737 cat confdefs.h >>conftest.$ac_ext
16738 cat >>conftest.$ac_ext <<_ACEOF
16739 /* end confdefs.h.  */
16740 /* System header to define __stub macros and hopefully few prototypes,
16741     which can conflict with char $ac_func (); below.
16742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16743     <limits.h> exists even on freestanding compilers.  */
16744 #ifdef __STDC__
16745 # include <limits.h>
16746 #else
16747 # include <assert.h>
16748 #endif
16749 /* Override any gcc2 internal prototype to avoid an error.  */
16750 #ifdef __cplusplus
16751 extern "C"
16752 {
16753 #endif
16754 /* We use char because int might match the return type of a gcc2
16755    builtin and then its argument prototype would still apply.  */
16756 char $ac_func ();
16757 /* The GNU C library defines this for functions which it implements
16758     to always fail with ENOSYS.  Some functions are actually named
16759     something starting with __ and the normal name is an alias.  */
16760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16761 choke me
16762 #else
16763 char (*f) () = $ac_func;
16764 #endif
16765 #ifdef __cplusplus
16766 }
16767 #endif
16768
16769 int
16770 main ()
16771 {
16772 return f != $ac_func;
16773   ;
16774   return 0;
16775 }
16776 _ACEOF
16777 rm -f conftest.$ac_objext conftest$ac_exeext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16779   (eval $ac_link) 2>&5
16780   ac_status=$?
16781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782   (exit $ac_status); } &&
16783          { ac_try='test -s conftest$ac_exeext'
16784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785   (eval $ac_try) 2>&5
16786   ac_status=$?
16787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788   (exit $ac_status); }; }; then
16789   eval "$as_ac_var=yes"
16790 else
16791   echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16793
16794 eval "$as_ac_var=no"
16795 fi
16796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16797 fi
16798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16800 if test `eval echo '${'$as_ac_var'}'` = yes; then
16801   cat >>confdefs.h <<_ACEOF
16802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16803 _ACEOF
16804
16805 fi
16806 done
16807
16808     fi
16809   fi
16810
16811
16812
16813   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16814 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16815   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16816     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16817   echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819
16820
16821
16822       ac_ext=cc
16823 ac_cpp='$CXXCPP $CPPFLAGS'
16824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16827
16828       cat >conftest.$ac_ext <<_ACEOF
16829 #line $LINENO "configure"
16830 /* confdefs.h.  */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h.  */
16835 #include <math.h>
16836 int
16837 main ()
16838 {
16839  copysignl(0, 0);
16840   ;
16841   return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846   (eval $ac_compile) 2>&5
16847   ac_status=$?
16848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849   (exit $ac_status); } &&
16850          { ac_try='test -s conftest.$ac_objext'
16851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852   (eval $ac_try) 2>&5
16853   ac_status=$?
16854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855   (exit $ac_status); }; }; then
16856   glibcxx_cv_func_copysignl_use=yes
16857 else
16858   echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16860
16861 glibcxx_cv_func_copysignl_use=no
16862 fi
16863 rm -f conftest.$ac_objext conftest.$ac_ext
16864       ac_ext=c
16865 ac_cpp='$CPP $CPPFLAGS'
16866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16869
16870
16871 fi
16872
16873   fi
16874   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16875 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16876
16877   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16878
16879 for ac_func in copysignl
16880 do
16881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16882 echo "$as_me:$LINENO: checking for $ac_func" >&5
16883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16884 if eval "test \"\${$as_ac_var+set}\" = set"; then
16885   echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887   if test x$gcc_no_link = xyes; then
16888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16890    { (exit 1); exit 1; }; }
16891 fi
16892 cat >conftest.$ac_ext <<_ACEOF
16893 #line $LINENO "configure"
16894 /* confdefs.h.  */
16895 _ACEOF
16896 cat confdefs.h >>conftest.$ac_ext
16897 cat >>conftest.$ac_ext <<_ACEOF
16898 /* end confdefs.h.  */
16899 /* System header to define __stub macros and hopefully few prototypes,
16900     which can conflict with char $ac_func (); below.
16901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16902     <limits.h> exists even on freestanding compilers.  */
16903 #ifdef __STDC__
16904 # include <limits.h>
16905 #else
16906 # include <assert.h>
16907 #endif
16908 /* Override any gcc2 internal prototype to avoid an error.  */
16909 #ifdef __cplusplus
16910 extern "C"
16911 {
16912 #endif
16913 /* We use char because int might match the return type of a gcc2
16914    builtin and then its argument prototype would still apply.  */
16915 char $ac_func ();
16916 /* The GNU C library defines this for functions which it implements
16917     to always fail with ENOSYS.  Some functions are actually named
16918     something starting with __ and the normal name is an alias.  */
16919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16920 choke me
16921 #else
16922 char (*f) () = $ac_func;
16923 #endif
16924 #ifdef __cplusplus
16925 }
16926 #endif
16927
16928 int
16929 main ()
16930 {
16931 return f != $ac_func;
16932   ;
16933   return 0;
16934 }
16935 _ACEOF
16936 rm -f conftest.$ac_objext conftest$ac_exeext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16938   (eval $ac_link) 2>&5
16939   ac_status=$?
16940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941   (exit $ac_status); } &&
16942          { ac_try='test -s conftest$ac_exeext'
16943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944   (eval $ac_try) 2>&5
16945   ac_status=$?
16946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947   (exit $ac_status); }; }; then
16948   eval "$as_ac_var=yes"
16949 else
16950   echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.$ac_ext >&5
16952
16953 eval "$as_ac_var=no"
16954 fi
16955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16956 fi
16957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16959 if test `eval echo '${'$as_ac_var'}'` = yes; then
16960   cat >>confdefs.h <<_ACEOF
16961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16962 _ACEOF
16963
16964 fi
16965 done
16966
16967   else
16968
16969   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16970 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
16971   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
16972     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
16973   echo $ECHO_N "(cached) $ECHO_C" >&6
16974 else
16975
16976
16977
16978       ac_ext=cc
16979 ac_cpp='$CXXCPP $CPPFLAGS'
16980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16983
16984       cat >conftest.$ac_ext <<_ACEOF
16985 #line $LINENO "configure"
16986 /* confdefs.h.  */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h.  */
16991 #include <math.h>
16992 int
16993 main ()
16994 {
16995  _copysignl(0, 0);
16996   ;
16997   return 0;
16998 }
16999 _ACEOF
17000 rm -f conftest.$ac_objext
17001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17002   (eval $ac_compile) 2>&5
17003   ac_status=$?
17004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005   (exit $ac_status); } &&
17006          { ac_try='test -s conftest.$ac_objext'
17007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008   (eval $ac_try) 2>&5
17009   ac_status=$?
17010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011   (exit $ac_status); }; }; then
17012   glibcxx_cv_func__copysignl_use=yes
17013 else
17014   echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.$ac_ext >&5
17016
17017 glibcxx_cv_func__copysignl_use=no
17018 fi
17019 rm -f conftest.$ac_objext conftest.$ac_ext
17020       ac_ext=c
17021 ac_cpp='$CPP $CPPFLAGS'
17022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17025
17026
17027 fi
17028
17029   fi
17030   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17031 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17032
17033     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17034
17035 for ac_func in _copysignl
17036 do
17037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17038 echo "$as_me:$LINENO: checking for $ac_func" >&5
17039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17040 if eval "test \"\${$as_ac_var+set}\" = set"; then
17041   echo $ECHO_N "(cached) $ECHO_C" >&6
17042 else
17043   if test x$gcc_no_link = xyes; then
17044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17046    { (exit 1); exit 1; }; }
17047 fi
17048 cat >conftest.$ac_ext <<_ACEOF
17049 #line $LINENO "configure"
17050 /* confdefs.h.  */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h.  */
17055 /* System header to define __stub macros and hopefully few prototypes,
17056     which can conflict with char $ac_func (); below.
17057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17058     <limits.h> exists even on freestanding compilers.  */
17059 #ifdef __STDC__
17060 # include <limits.h>
17061 #else
17062 # include <assert.h>
17063 #endif
17064 /* Override any gcc2 internal prototype to avoid an error.  */
17065 #ifdef __cplusplus
17066 extern "C"
17067 {
17068 #endif
17069 /* We use char because int might match the return type of a gcc2
17070    builtin and then its argument prototype would still apply.  */
17071 char $ac_func ();
17072 /* The GNU C library defines this for functions which it implements
17073     to always fail with ENOSYS.  Some functions are actually named
17074     something starting with __ and the normal name is an alias.  */
17075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17076 choke me
17077 #else
17078 char (*f) () = $ac_func;
17079 #endif
17080 #ifdef __cplusplus
17081 }
17082 #endif
17083
17084 int
17085 main ()
17086 {
17087 return f != $ac_func;
17088   ;
17089   return 0;
17090 }
17091 _ACEOF
17092 rm -f conftest.$ac_objext conftest$ac_exeext
17093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17094   (eval $ac_link) 2>&5
17095   ac_status=$?
17096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097   (exit $ac_status); } &&
17098          { ac_try='test -s conftest$ac_exeext'
17099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100   (eval $ac_try) 2>&5
17101   ac_status=$?
17102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103   (exit $ac_status); }; }; then
17104   eval "$as_ac_var=yes"
17105 else
17106   echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17108
17109 eval "$as_ac_var=no"
17110 fi
17111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17112 fi
17113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17115 if test `eval echo '${'$as_ac_var'}'` = yes; then
17116   cat >>confdefs.h <<_ACEOF
17117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17118 _ACEOF
17119
17120 fi
17121 done
17122
17123     fi
17124   fi
17125
17126
17127
17128   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17129 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17130   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17131     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17132   echo $ECHO_N "(cached) $ECHO_C" >&6
17133 else
17134
17135
17136
17137       ac_ext=cc
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17142
17143       cat >conftest.$ac_ext <<_ACEOF
17144 #line $LINENO "configure"
17145 /* confdefs.h.  */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h.  */
17150 #include <math.h>
17151 int
17152 main ()
17153 {
17154  atan2l(0, 0);
17155   ;
17156   return 0;
17157 }
17158 _ACEOF
17159 rm -f conftest.$ac_objext
17160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17161   (eval $ac_compile) 2>&5
17162   ac_status=$?
17163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164   (exit $ac_status); } &&
17165          { ac_try='test -s conftest.$ac_objext'
17166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17167   (eval $ac_try) 2>&5
17168   ac_status=$?
17169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170   (exit $ac_status); }; }; then
17171   glibcxx_cv_func_atan2l_use=yes
17172 else
17173   echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17175
17176 glibcxx_cv_func_atan2l_use=no
17177 fi
17178 rm -f conftest.$ac_objext conftest.$ac_ext
17179       ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184
17185
17186 fi
17187
17188   fi
17189   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17190 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17191
17192   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17193
17194 for ac_func in atan2l
17195 do
17196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17197 echo "$as_me:$LINENO: checking for $ac_func" >&5
17198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17199 if eval "test \"\${$as_ac_var+set}\" = set"; then
17200   echo $ECHO_N "(cached) $ECHO_C" >&6
17201 else
17202   if test x$gcc_no_link = xyes; then
17203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17205    { (exit 1); exit 1; }; }
17206 fi
17207 cat >conftest.$ac_ext <<_ACEOF
17208 #line $LINENO "configure"
17209 /* confdefs.h.  */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h.  */
17214 /* System header to define __stub macros and hopefully few prototypes,
17215     which can conflict with char $ac_func (); below.
17216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17217     <limits.h> exists even on freestanding compilers.  */
17218 #ifdef __STDC__
17219 # include <limits.h>
17220 #else
17221 # include <assert.h>
17222 #endif
17223 /* Override any gcc2 internal prototype to avoid an error.  */
17224 #ifdef __cplusplus
17225 extern "C"
17226 {
17227 #endif
17228 /* We use char because int might match the return type of a gcc2
17229    builtin and then its argument prototype would still apply.  */
17230 char $ac_func ();
17231 /* The GNU C library defines this for functions which it implements
17232     to always fail with ENOSYS.  Some functions are actually named
17233     something starting with __ and the normal name is an alias.  */
17234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17235 choke me
17236 #else
17237 char (*f) () = $ac_func;
17238 #endif
17239 #ifdef __cplusplus
17240 }
17241 #endif
17242
17243 int
17244 main ()
17245 {
17246 return f != $ac_func;
17247   ;
17248   return 0;
17249 }
17250 _ACEOF
17251 rm -f conftest.$ac_objext conftest$ac_exeext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17253   (eval $ac_link) 2>&5
17254   ac_status=$?
17255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256   (exit $ac_status); } &&
17257          { ac_try='test -s conftest$ac_exeext'
17258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259   (eval $ac_try) 2>&5
17260   ac_status=$?
17261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262   (exit $ac_status); }; }; then
17263   eval "$as_ac_var=yes"
17264 else
17265   echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 eval "$as_ac_var=no"
17269 fi
17270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17271 fi
17272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17274 if test `eval echo '${'$as_ac_var'}'` = yes; then
17275   cat >>confdefs.h <<_ACEOF
17276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17277 _ACEOF
17278
17279 fi
17280 done
17281
17282   else
17283
17284   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17285 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17286   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17287     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17288   echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290
17291
17292
17293       ac_ext=cc
17294 ac_cpp='$CXXCPP $CPPFLAGS'
17295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17298
17299       cat >conftest.$ac_ext <<_ACEOF
17300 #line $LINENO "configure"
17301 /* confdefs.h.  */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h.  */
17306 #include <math.h>
17307 int
17308 main ()
17309 {
17310  _atan2l(0, 0);
17311   ;
17312   return 0;
17313 }
17314 _ACEOF
17315 rm -f conftest.$ac_objext
17316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317   (eval $ac_compile) 2>&5
17318   ac_status=$?
17319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320   (exit $ac_status); } &&
17321          { ac_try='test -s conftest.$ac_objext'
17322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323   (eval $ac_try) 2>&5
17324   ac_status=$?
17325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326   (exit $ac_status); }; }; then
17327   glibcxx_cv_func__atan2l_use=yes
17328 else
17329   echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17331
17332 glibcxx_cv_func__atan2l_use=no
17333 fi
17334 rm -f conftest.$ac_objext conftest.$ac_ext
17335       ac_ext=c
17336 ac_cpp='$CPP $CPPFLAGS'
17337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17340
17341
17342 fi
17343
17344   fi
17345   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17346 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17347
17348     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17349
17350 for ac_func in _atan2l
17351 do
17352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17353 echo "$as_me:$LINENO: checking for $ac_func" >&5
17354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17355 if eval "test \"\${$as_ac_var+set}\" = set"; then
17356   echo $ECHO_N "(cached) $ECHO_C" >&6
17357 else
17358   if test x$gcc_no_link = xyes; then
17359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17361    { (exit 1); exit 1; }; }
17362 fi
17363 cat >conftest.$ac_ext <<_ACEOF
17364 #line $LINENO "configure"
17365 /* confdefs.h.  */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h.  */
17370 /* System header to define __stub macros and hopefully few prototypes,
17371     which can conflict with char $ac_func (); below.
17372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17373     <limits.h> exists even on freestanding compilers.  */
17374 #ifdef __STDC__
17375 # include <limits.h>
17376 #else
17377 # include <assert.h>
17378 #endif
17379 /* Override any gcc2 internal prototype to avoid an error.  */
17380 #ifdef __cplusplus
17381 extern "C"
17382 {
17383 #endif
17384 /* We use char because int might match the return type of a gcc2
17385    builtin and then its argument prototype would still apply.  */
17386 char $ac_func ();
17387 /* The GNU C library defines this for functions which it implements
17388     to always fail with ENOSYS.  Some functions are actually named
17389     something starting with __ and the normal name is an alias.  */
17390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17391 choke me
17392 #else
17393 char (*f) () = $ac_func;
17394 #endif
17395 #ifdef __cplusplus
17396 }
17397 #endif
17398
17399 int
17400 main ()
17401 {
17402 return f != $ac_func;
17403   ;
17404   return 0;
17405 }
17406 _ACEOF
17407 rm -f conftest.$ac_objext conftest$ac_exeext
17408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17409   (eval $ac_link) 2>&5
17410   ac_status=$?
17411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17412   (exit $ac_status); } &&
17413          { ac_try='test -s conftest$ac_exeext'
17414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17415   (eval $ac_try) 2>&5
17416   ac_status=$?
17417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17418   (exit $ac_status); }; }; then
17419   eval "$as_ac_var=yes"
17420 else
17421   echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17423
17424 eval "$as_ac_var=no"
17425 fi
17426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17427 fi
17428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17430 if test `eval echo '${'$as_ac_var'}'` = yes; then
17431   cat >>confdefs.h <<_ACEOF
17432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17433 _ACEOF
17434
17435 fi
17436 done
17437
17438     fi
17439   fi
17440
17441
17442
17443   echo "$as_me:$LINENO: checking for expl declaration" >&5
17444 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17445   if test x${glibcxx_cv_func_expl_use+set} != xset; then
17446     if test "${glibcxx_cv_func_expl_use+set}" = set; then
17447   echo $ECHO_N "(cached) $ECHO_C" >&6
17448 else
17449
17450
17451
17452       ac_ext=cc
17453 ac_cpp='$CXXCPP $CPPFLAGS'
17454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17457
17458       cat >conftest.$ac_ext <<_ACEOF
17459 #line $LINENO "configure"
17460 /* confdefs.h.  */
17461 _ACEOF
17462 cat confdefs.h >>conftest.$ac_ext
17463 cat >>conftest.$ac_ext <<_ACEOF
17464 /* end confdefs.h.  */
17465 #include <math.h>
17466                       #ifdef HAVE_IEEEFP_H
17467                       #include <ieeefp.h>
17468                       #endif
17469
17470 int
17471 main ()
17472 {
17473  expl(0);
17474   ;
17475   return 0;
17476 }
17477 _ACEOF
17478 rm -f conftest.$ac_objext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17480   (eval $ac_compile) 2>&5
17481   ac_status=$?
17482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483   (exit $ac_status); } &&
17484          { ac_try='test -s conftest.$ac_objext'
17485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486   (eval $ac_try) 2>&5
17487   ac_status=$?
17488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489   (exit $ac_status); }; }; then
17490   glibcxx_cv_func_expl_use=yes
17491 else
17492   echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17494
17495 glibcxx_cv_func_expl_use=no
17496 fi
17497 rm -f conftest.$ac_objext conftest.$ac_ext
17498       ac_ext=c
17499 ac_cpp='$CPP $CPPFLAGS'
17500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17503
17504
17505 fi
17506
17507   fi
17508   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17509 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17510
17511   if test x$glibcxx_cv_func_expl_use = x"yes"; then
17512
17513 for ac_func in expl
17514 do
17515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17516 echo "$as_me:$LINENO: checking for $ac_func" >&5
17517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17518 if eval "test \"\${$as_ac_var+set}\" = set"; then
17519   echo $ECHO_N "(cached) $ECHO_C" >&6
17520 else
17521   if test x$gcc_no_link = xyes; then
17522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17524    { (exit 1); exit 1; }; }
17525 fi
17526 cat >conftest.$ac_ext <<_ACEOF
17527 #line $LINENO "configure"
17528 /* confdefs.h.  */
17529 _ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h.  */
17533 /* System header to define __stub macros and hopefully few prototypes,
17534     which can conflict with char $ac_func (); below.
17535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17536     <limits.h> exists even on freestanding compilers.  */
17537 #ifdef __STDC__
17538 # include <limits.h>
17539 #else
17540 # include <assert.h>
17541 #endif
17542 /* Override any gcc2 internal prototype to avoid an error.  */
17543 #ifdef __cplusplus
17544 extern "C"
17545 {
17546 #endif
17547 /* We use char because int might match the return type of a gcc2
17548    builtin and then its argument prototype would still apply.  */
17549 char $ac_func ();
17550 /* The GNU C library defines this for functions which it implements
17551     to always fail with ENOSYS.  Some functions are actually named
17552     something starting with __ and the normal name is an alias.  */
17553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17554 choke me
17555 #else
17556 char (*f) () = $ac_func;
17557 #endif
17558 #ifdef __cplusplus
17559 }
17560 #endif
17561
17562 int
17563 main ()
17564 {
17565 return f != $ac_func;
17566   ;
17567   return 0;
17568 }
17569 _ACEOF
17570 rm -f conftest.$ac_objext conftest$ac_exeext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17572   (eval $ac_link) 2>&5
17573   ac_status=$?
17574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575   (exit $ac_status); } &&
17576          { ac_try='test -s conftest$ac_exeext'
17577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578   (eval $ac_try) 2>&5
17579   ac_status=$?
17580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581   (exit $ac_status); }; }; then
17582   eval "$as_ac_var=yes"
17583 else
17584   echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17586
17587 eval "$as_ac_var=no"
17588 fi
17589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17590 fi
17591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17593 if test `eval echo '${'$as_ac_var'}'` = yes; then
17594   cat >>confdefs.h <<_ACEOF
17595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17596 _ACEOF
17597
17598 fi
17599 done
17600
17601   else
17602
17603   echo "$as_me:$LINENO: checking for _expl declaration" >&5
17604 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17605   if test x${glibcxx_cv_func__expl_use+set} != xset; then
17606     if test "${glibcxx_cv_func__expl_use+set}" = set; then
17607   echo $ECHO_N "(cached) $ECHO_C" >&6
17608 else
17609
17610
17611
17612       ac_ext=cc
17613 ac_cpp='$CXXCPP $CPPFLAGS'
17614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17617
17618       cat >conftest.$ac_ext <<_ACEOF
17619 #line $LINENO "configure"
17620 /* confdefs.h.  */
17621 _ACEOF
17622 cat confdefs.h >>conftest.$ac_ext
17623 cat >>conftest.$ac_ext <<_ACEOF
17624 /* end confdefs.h.  */
17625 #include <math.h>
17626                       #ifdef HAVE_IEEEFP_H
17627                       #include <ieeefp.h>
17628                       #endif
17629
17630 int
17631 main ()
17632 {
17633  _expl(0);
17634   ;
17635   return 0;
17636 }
17637 _ACEOF
17638 rm -f conftest.$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640   (eval $ac_compile) 2>&5
17641   ac_status=$?
17642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643   (exit $ac_status); } &&
17644          { ac_try='test -s conftest.$ac_objext'
17645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646   (eval $ac_try) 2>&5
17647   ac_status=$?
17648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649   (exit $ac_status); }; }; then
17650   glibcxx_cv_func__expl_use=yes
17651 else
17652   echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17654
17655 glibcxx_cv_func__expl_use=no
17656 fi
17657 rm -f conftest.$ac_objext conftest.$ac_ext
17658       ac_ext=c
17659 ac_cpp='$CPP $CPPFLAGS'
17660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17663
17664
17665 fi
17666
17667   fi
17668   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17669 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17670
17671     if test x$glibcxx_cv_func__expl_use = x"yes"; then
17672
17673 for ac_func in _expl
17674 do
17675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17676 echo "$as_me:$LINENO: checking for $ac_func" >&5
17677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17678 if eval "test \"\${$as_ac_var+set}\" = set"; then
17679   echo $ECHO_N "(cached) $ECHO_C" >&6
17680 else
17681   if test x$gcc_no_link = xyes; then
17682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17684    { (exit 1); exit 1; }; }
17685 fi
17686 cat >conftest.$ac_ext <<_ACEOF
17687 #line $LINENO "configure"
17688 /* confdefs.h.  */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h.  */
17693 /* System header to define __stub macros and hopefully few prototypes,
17694     which can conflict with char $ac_func (); below.
17695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17696     <limits.h> exists even on freestanding compilers.  */
17697 #ifdef __STDC__
17698 # include <limits.h>
17699 #else
17700 # include <assert.h>
17701 #endif
17702 /* Override any gcc2 internal prototype to avoid an error.  */
17703 #ifdef __cplusplus
17704 extern "C"
17705 {
17706 #endif
17707 /* We use char because int might match the return type of a gcc2
17708    builtin and then its argument prototype would still apply.  */
17709 char $ac_func ();
17710 /* The GNU C library defines this for functions which it implements
17711     to always fail with ENOSYS.  Some functions are actually named
17712     something starting with __ and the normal name is an alias.  */
17713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17714 choke me
17715 #else
17716 char (*f) () = $ac_func;
17717 #endif
17718 #ifdef __cplusplus
17719 }
17720 #endif
17721
17722 int
17723 main ()
17724 {
17725 return f != $ac_func;
17726   ;
17727   return 0;
17728 }
17729 _ACEOF
17730 rm -f conftest.$ac_objext conftest$ac_exeext
17731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17732   (eval $ac_link) 2>&5
17733   ac_status=$?
17734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735   (exit $ac_status); } &&
17736          { ac_try='test -s conftest$ac_exeext'
17737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738   (eval $ac_try) 2>&5
17739   ac_status=$?
17740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741   (exit $ac_status); }; }; then
17742   eval "$as_ac_var=yes"
17743 else
17744   echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17746
17747 eval "$as_ac_var=no"
17748 fi
17749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17750 fi
17751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17753 if test `eval echo '${'$as_ac_var'}'` = yes; then
17754   cat >>confdefs.h <<_ACEOF
17755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17756 _ACEOF
17757
17758 fi
17759 done
17760
17761     fi
17762   fi
17763
17764
17765
17766   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17767 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17768   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17769     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17770   echo $ECHO_N "(cached) $ECHO_C" >&6
17771 else
17772
17773
17774
17775       ac_ext=cc
17776 ac_cpp='$CXXCPP $CPPFLAGS'
17777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17780
17781       cat >conftest.$ac_ext <<_ACEOF
17782 #line $LINENO "configure"
17783 /* confdefs.h.  */
17784 _ACEOF
17785 cat confdefs.h >>conftest.$ac_ext
17786 cat >>conftest.$ac_ext <<_ACEOF
17787 /* end confdefs.h.  */
17788 #include <math.h>
17789                       #ifdef HAVE_IEEEFP_H
17790                       #include <ieeefp.h>
17791                       #endif
17792
17793 int
17794 main ()
17795 {
17796  fabsl(0);
17797   ;
17798   return 0;
17799 }
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803   (eval $ac_compile) 2>&5
17804   ac_status=$?
17805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806   (exit $ac_status); } &&
17807          { ac_try='test -s conftest.$ac_objext'
17808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809   (eval $ac_try) 2>&5
17810   ac_status=$?
17811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812   (exit $ac_status); }; }; then
17813   glibcxx_cv_func_fabsl_use=yes
17814 else
17815   echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17817
17818 glibcxx_cv_func_fabsl_use=no
17819 fi
17820 rm -f conftest.$ac_objext conftest.$ac_ext
17821       ac_ext=c
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17826
17827
17828 fi
17829
17830   fi
17831   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17832 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17833
17834   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17835
17836 for ac_func in fabsl
17837 do
17838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17839 echo "$as_me:$LINENO: checking for $ac_func" >&5
17840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17841 if eval "test \"\${$as_ac_var+set}\" = set"; then
17842   echo $ECHO_N "(cached) $ECHO_C" >&6
17843 else
17844   if test x$gcc_no_link = xyes; then
17845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17847    { (exit 1); exit 1; }; }
17848 fi
17849 cat >conftest.$ac_ext <<_ACEOF
17850 #line $LINENO "configure"
17851 /* confdefs.h.  */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h.  */
17856 /* System header to define __stub macros and hopefully few prototypes,
17857     which can conflict with char $ac_func (); below.
17858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17859     <limits.h> exists even on freestanding compilers.  */
17860 #ifdef __STDC__
17861 # include <limits.h>
17862 #else
17863 # include <assert.h>
17864 #endif
17865 /* Override any gcc2 internal prototype to avoid an error.  */
17866 #ifdef __cplusplus
17867 extern "C"
17868 {
17869 #endif
17870 /* We use char because int might match the return type of a gcc2
17871    builtin and then its argument prototype would still apply.  */
17872 char $ac_func ();
17873 /* The GNU C library defines this for functions which it implements
17874     to always fail with ENOSYS.  Some functions are actually named
17875     something starting with __ and the normal name is an alias.  */
17876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17877 choke me
17878 #else
17879 char (*f) () = $ac_func;
17880 #endif
17881 #ifdef __cplusplus
17882 }
17883 #endif
17884
17885 int
17886 main ()
17887 {
17888 return f != $ac_func;
17889   ;
17890   return 0;
17891 }
17892 _ACEOF
17893 rm -f conftest.$ac_objext conftest$ac_exeext
17894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17895   (eval $ac_link) 2>&5
17896   ac_status=$?
17897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898   (exit $ac_status); } &&
17899          { ac_try='test -s conftest$ac_exeext'
17900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17901   (eval $ac_try) 2>&5
17902   ac_status=$?
17903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17904   (exit $ac_status); }; }; then
17905   eval "$as_ac_var=yes"
17906 else
17907   echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17909
17910 eval "$as_ac_var=no"
17911 fi
17912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17913 fi
17914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17916 if test `eval echo '${'$as_ac_var'}'` = yes; then
17917   cat >>confdefs.h <<_ACEOF
17918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17919 _ACEOF
17920
17921 fi
17922 done
17923
17924   else
17925
17926   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17927 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17928   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17929     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17930   echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17932
17933
17934
17935       ac_ext=cc
17936 ac_cpp='$CXXCPP $CPPFLAGS'
17937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17940
17941       cat >conftest.$ac_ext <<_ACEOF
17942 #line $LINENO "configure"
17943 /* confdefs.h.  */
17944 _ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h.  */
17948 #include <math.h>
17949                       #ifdef HAVE_IEEEFP_H
17950                       #include <ieeefp.h>
17951                       #endif
17952
17953 int
17954 main ()
17955 {
17956  _fabsl(0);
17957   ;
17958   return 0;
17959 }
17960 _ACEOF
17961 rm -f conftest.$ac_objext
17962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17963   (eval $ac_compile) 2>&5
17964   ac_status=$?
17965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966   (exit $ac_status); } &&
17967          { ac_try='test -s conftest.$ac_objext'
17968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969   (eval $ac_try) 2>&5
17970   ac_status=$?
17971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972   (exit $ac_status); }; }; then
17973   glibcxx_cv_func__fabsl_use=yes
17974 else
17975   echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 glibcxx_cv_func__fabsl_use=no
17979 fi
17980 rm -f conftest.$ac_objext conftest.$ac_ext
17981       ac_ext=c
17982 ac_cpp='$CPP $CPPFLAGS'
17983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17986
17987
17988 fi
17989
17990   fi
17991   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
17992 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
17993
17994     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
17995
17996 for ac_func in _fabsl
17997 do
17998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17999 echo "$as_me:$LINENO: checking for $ac_func" >&5
18000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18001 if eval "test \"\${$as_ac_var+set}\" = set"; then
18002   echo $ECHO_N "(cached) $ECHO_C" >&6
18003 else
18004   if test x$gcc_no_link = xyes; then
18005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18007    { (exit 1); exit 1; }; }
18008 fi
18009 cat >conftest.$ac_ext <<_ACEOF
18010 #line $LINENO "configure"
18011 /* confdefs.h.  */
18012 _ACEOF
18013 cat confdefs.h >>conftest.$ac_ext
18014 cat >>conftest.$ac_ext <<_ACEOF
18015 /* end confdefs.h.  */
18016 /* System header to define __stub macros and hopefully few prototypes,
18017     which can conflict with char $ac_func (); below.
18018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18019     <limits.h> exists even on freestanding compilers.  */
18020 #ifdef __STDC__
18021 # include <limits.h>
18022 #else
18023 # include <assert.h>
18024 #endif
18025 /* Override any gcc2 internal prototype to avoid an error.  */
18026 #ifdef __cplusplus
18027 extern "C"
18028 {
18029 #endif
18030 /* We use char because int might match the return type of a gcc2
18031    builtin and then its argument prototype would still apply.  */
18032 char $ac_func ();
18033 /* The GNU C library defines this for functions which it implements
18034     to always fail with ENOSYS.  Some functions are actually named
18035     something starting with __ and the normal name is an alias.  */
18036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18037 choke me
18038 #else
18039 char (*f) () = $ac_func;
18040 #endif
18041 #ifdef __cplusplus
18042 }
18043 #endif
18044
18045 int
18046 main ()
18047 {
18048 return f != $ac_func;
18049   ;
18050   return 0;
18051 }
18052 _ACEOF
18053 rm -f conftest.$ac_objext conftest$ac_exeext
18054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18055   (eval $ac_link) 2>&5
18056   ac_status=$?
18057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058   (exit $ac_status); } &&
18059          { ac_try='test -s conftest$ac_exeext'
18060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061   (eval $ac_try) 2>&5
18062   ac_status=$?
18063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064   (exit $ac_status); }; }; then
18065   eval "$as_ac_var=yes"
18066 else
18067   echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18069
18070 eval "$as_ac_var=no"
18071 fi
18072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18073 fi
18074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18076 if test `eval echo '${'$as_ac_var'}'` = yes; then
18077   cat >>confdefs.h <<_ACEOF
18078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18079 _ACEOF
18080
18081 fi
18082 done
18083
18084     fi
18085   fi
18086
18087
18088
18089   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18090 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18091   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18092     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18093   echo $ECHO_N "(cached) $ECHO_C" >&6
18094 else
18095
18096
18097
18098       ac_ext=cc
18099 ac_cpp='$CXXCPP $CPPFLAGS'
18100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18103
18104       cat >conftest.$ac_ext <<_ACEOF
18105 #line $LINENO "configure"
18106 /* confdefs.h.  */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h.  */
18111 #include <math.h>
18112 int
18113 main ()
18114 {
18115  fmodl(0, 0);
18116   ;
18117   return 0;
18118 }
18119 _ACEOF
18120 rm -f conftest.$ac_objext
18121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18122   (eval $ac_compile) 2>&5
18123   ac_status=$?
18124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125   (exit $ac_status); } &&
18126          { ac_try='test -s conftest.$ac_objext'
18127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128   (eval $ac_try) 2>&5
18129   ac_status=$?
18130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131   (exit $ac_status); }; }; then
18132   glibcxx_cv_func_fmodl_use=yes
18133 else
18134   echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18136
18137 glibcxx_cv_func_fmodl_use=no
18138 fi
18139 rm -f conftest.$ac_objext conftest.$ac_ext
18140       ac_ext=c
18141 ac_cpp='$CPP $CPPFLAGS'
18142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18145
18146
18147 fi
18148
18149   fi
18150   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18151 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18152
18153   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18154
18155 for ac_func in fmodl
18156 do
18157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18158 echo "$as_me:$LINENO: checking for $ac_func" >&5
18159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18160 if eval "test \"\${$as_ac_var+set}\" = set"; then
18161   echo $ECHO_N "(cached) $ECHO_C" >&6
18162 else
18163   if test x$gcc_no_link = xyes; then
18164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18166    { (exit 1); exit 1; }; }
18167 fi
18168 cat >conftest.$ac_ext <<_ACEOF
18169 #line $LINENO "configure"
18170 /* confdefs.h.  */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h.  */
18175 /* System header to define __stub macros and hopefully few prototypes,
18176     which can conflict with char $ac_func (); below.
18177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18178     <limits.h> exists even on freestanding compilers.  */
18179 #ifdef __STDC__
18180 # include <limits.h>
18181 #else
18182 # include <assert.h>
18183 #endif
18184 /* Override any gcc2 internal prototype to avoid an error.  */
18185 #ifdef __cplusplus
18186 extern "C"
18187 {
18188 #endif
18189 /* We use char because int might match the return type of a gcc2
18190    builtin and then its argument prototype would still apply.  */
18191 char $ac_func ();
18192 /* The GNU C library defines this for functions which it implements
18193     to always fail with ENOSYS.  Some functions are actually named
18194     something starting with __ and the normal name is an alias.  */
18195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18196 choke me
18197 #else
18198 char (*f) () = $ac_func;
18199 #endif
18200 #ifdef __cplusplus
18201 }
18202 #endif
18203
18204 int
18205 main ()
18206 {
18207 return f != $ac_func;
18208   ;
18209   return 0;
18210 }
18211 _ACEOF
18212 rm -f conftest.$ac_objext conftest$ac_exeext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18214   (eval $ac_link) 2>&5
18215   ac_status=$?
18216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217   (exit $ac_status); } &&
18218          { ac_try='test -s conftest$ac_exeext'
18219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220   (eval $ac_try) 2>&5
18221   ac_status=$?
18222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223   (exit $ac_status); }; }; then
18224   eval "$as_ac_var=yes"
18225 else
18226   echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18228
18229 eval "$as_ac_var=no"
18230 fi
18231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18232 fi
18233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18235 if test `eval echo '${'$as_ac_var'}'` = yes; then
18236   cat >>confdefs.h <<_ACEOF
18237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18238 _ACEOF
18239
18240 fi
18241 done
18242
18243   else
18244
18245   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18246 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18247   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18248     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18249   echo $ECHO_N "(cached) $ECHO_C" >&6
18250 else
18251
18252
18253
18254       ac_ext=cc
18255 ac_cpp='$CXXCPP $CPPFLAGS'
18256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18259
18260       cat >conftest.$ac_ext <<_ACEOF
18261 #line $LINENO "configure"
18262 /* confdefs.h.  */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h.  */
18267 #include <math.h>
18268 int
18269 main ()
18270 {
18271  _fmodl(0, 0);
18272   ;
18273   return 0;
18274 }
18275 _ACEOF
18276 rm -f conftest.$ac_objext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278   (eval $ac_compile) 2>&5
18279   ac_status=$?
18280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281   (exit $ac_status); } &&
18282          { ac_try='test -s conftest.$ac_objext'
18283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284   (eval $ac_try) 2>&5
18285   ac_status=$?
18286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287   (exit $ac_status); }; }; then
18288   glibcxx_cv_func__fmodl_use=yes
18289 else
18290   echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18292
18293 glibcxx_cv_func__fmodl_use=no
18294 fi
18295 rm -f conftest.$ac_objext conftest.$ac_ext
18296       ac_ext=c
18297 ac_cpp='$CPP $CPPFLAGS'
18298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18301
18302
18303 fi
18304
18305   fi
18306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18307 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18308
18309     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18310
18311 for ac_func in _fmodl
18312 do
18313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18314 echo "$as_me:$LINENO: checking for $ac_func" >&5
18315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18316 if eval "test \"\${$as_ac_var+set}\" = set"; then
18317   echo $ECHO_N "(cached) $ECHO_C" >&6
18318 else
18319   if test x$gcc_no_link = xyes; then
18320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18322    { (exit 1); exit 1; }; }
18323 fi
18324 cat >conftest.$ac_ext <<_ACEOF
18325 #line $LINENO "configure"
18326 /* confdefs.h.  */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h.  */
18331 /* System header to define __stub macros and hopefully few prototypes,
18332     which can conflict with char $ac_func (); below.
18333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18334     <limits.h> exists even on freestanding compilers.  */
18335 #ifdef __STDC__
18336 # include <limits.h>
18337 #else
18338 # include <assert.h>
18339 #endif
18340 /* Override any gcc2 internal prototype to avoid an error.  */
18341 #ifdef __cplusplus
18342 extern "C"
18343 {
18344 #endif
18345 /* We use char because int might match the return type of a gcc2
18346    builtin and then its argument prototype would still apply.  */
18347 char $ac_func ();
18348 /* The GNU C library defines this for functions which it implements
18349     to always fail with ENOSYS.  Some functions are actually named
18350     something starting with __ and the normal name is an alias.  */
18351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18352 choke me
18353 #else
18354 char (*f) () = $ac_func;
18355 #endif
18356 #ifdef __cplusplus
18357 }
18358 #endif
18359
18360 int
18361 main ()
18362 {
18363 return f != $ac_func;
18364   ;
18365   return 0;
18366 }
18367 _ACEOF
18368 rm -f conftest.$ac_objext conftest$ac_exeext
18369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18370   (eval $ac_link) 2>&5
18371   ac_status=$?
18372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373   (exit $ac_status); } &&
18374          { ac_try='test -s conftest$ac_exeext'
18375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18376   (eval $ac_try) 2>&5
18377   ac_status=$?
18378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379   (exit $ac_status); }; }; then
18380   eval "$as_ac_var=yes"
18381 else
18382   echo "$as_me: failed program was:" >&5
18383 sed 's/^/| /' conftest.$ac_ext >&5
18384
18385 eval "$as_ac_var=no"
18386 fi
18387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18388 fi
18389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18391 if test `eval echo '${'$as_ac_var'}'` = yes; then
18392   cat >>confdefs.h <<_ACEOF
18393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18394 _ACEOF
18395
18396 fi
18397 done
18398
18399     fi
18400   fi
18401
18402
18403
18404   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18405 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18406   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18407     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18408   echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410
18411
18412
18413       ac_ext=cc
18414 ac_cpp='$CXXCPP $CPPFLAGS'
18415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18418
18419       cat >conftest.$ac_ext <<_ACEOF
18420 #line $LINENO "configure"
18421 /* confdefs.h.  */
18422 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h.  */
18426 #include <math.h>
18427 int
18428 main ()
18429 {
18430  frexpl(0, 0);
18431   ;
18432   return 0;
18433 }
18434 _ACEOF
18435 rm -f conftest.$ac_objext
18436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18437   (eval $ac_compile) 2>&5
18438   ac_status=$?
18439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18440   (exit $ac_status); } &&
18441          { ac_try='test -s conftest.$ac_objext'
18442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18443   (eval $ac_try) 2>&5
18444   ac_status=$?
18445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446   (exit $ac_status); }; }; then
18447   glibcxx_cv_func_frexpl_use=yes
18448 else
18449   echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18451
18452 glibcxx_cv_func_frexpl_use=no
18453 fi
18454 rm -f conftest.$ac_objext conftest.$ac_ext
18455       ac_ext=c
18456 ac_cpp='$CPP $CPPFLAGS'
18457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18460
18461
18462 fi
18463
18464   fi
18465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18466 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18467
18468   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18469
18470 for ac_func in frexpl
18471 do
18472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18473 echo "$as_me:$LINENO: checking for $ac_func" >&5
18474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18475 if eval "test \"\${$as_ac_var+set}\" = set"; then
18476   echo $ECHO_N "(cached) $ECHO_C" >&6
18477 else
18478   if test x$gcc_no_link = xyes; then
18479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18481    { (exit 1); exit 1; }; }
18482 fi
18483 cat >conftest.$ac_ext <<_ACEOF
18484 #line $LINENO "configure"
18485 /* confdefs.h.  */
18486 _ACEOF
18487 cat confdefs.h >>conftest.$ac_ext
18488 cat >>conftest.$ac_ext <<_ACEOF
18489 /* end confdefs.h.  */
18490 /* System header to define __stub macros and hopefully few prototypes,
18491     which can conflict with char $ac_func (); below.
18492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18493     <limits.h> exists even on freestanding compilers.  */
18494 #ifdef __STDC__
18495 # include <limits.h>
18496 #else
18497 # include <assert.h>
18498 #endif
18499 /* Override any gcc2 internal prototype to avoid an error.  */
18500 #ifdef __cplusplus
18501 extern "C"
18502 {
18503 #endif
18504 /* We use char because int might match the return type of a gcc2
18505    builtin and then its argument prototype would still apply.  */
18506 char $ac_func ();
18507 /* The GNU C library defines this for functions which it implements
18508     to always fail with ENOSYS.  Some functions are actually named
18509     something starting with __ and the normal name is an alias.  */
18510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18511 choke me
18512 #else
18513 char (*f) () = $ac_func;
18514 #endif
18515 #ifdef __cplusplus
18516 }
18517 #endif
18518
18519 int
18520 main ()
18521 {
18522 return f != $ac_func;
18523   ;
18524   return 0;
18525 }
18526 _ACEOF
18527 rm -f conftest.$ac_objext conftest$ac_exeext
18528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18529   (eval $ac_link) 2>&5
18530   ac_status=$?
18531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532   (exit $ac_status); } &&
18533          { ac_try='test -s conftest$ac_exeext'
18534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18535   (eval $ac_try) 2>&5
18536   ac_status=$?
18537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538   (exit $ac_status); }; }; then
18539   eval "$as_ac_var=yes"
18540 else
18541   echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18543
18544 eval "$as_ac_var=no"
18545 fi
18546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18547 fi
18548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18550 if test `eval echo '${'$as_ac_var'}'` = yes; then
18551   cat >>confdefs.h <<_ACEOF
18552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18553 _ACEOF
18554
18555 fi
18556 done
18557
18558   else
18559
18560   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18561 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18562   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18563     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18564   echo $ECHO_N "(cached) $ECHO_C" >&6
18565 else
18566
18567
18568
18569       ac_ext=cc
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574
18575       cat >conftest.$ac_ext <<_ACEOF
18576 #line $LINENO "configure"
18577 /* confdefs.h.  */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h.  */
18582 #include <math.h>
18583 int
18584 main ()
18585 {
18586  _frexpl(0, 0);
18587   ;
18588   return 0;
18589 }
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593   (eval $ac_compile) 2>&5
18594   ac_status=$?
18595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596   (exit $ac_status); } &&
18597          { ac_try='test -s conftest.$ac_objext'
18598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599   (eval $ac_try) 2>&5
18600   ac_status=$?
18601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602   (exit $ac_status); }; }; then
18603   glibcxx_cv_func__frexpl_use=yes
18604 else
18605   echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18607
18608 glibcxx_cv_func__frexpl_use=no
18609 fi
18610 rm -f conftest.$ac_objext conftest.$ac_ext
18611       ac_ext=c
18612 ac_cpp='$CPP $CPPFLAGS'
18613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18616
18617
18618 fi
18619
18620   fi
18621   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18622 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18623
18624     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18625
18626 for ac_func in _frexpl
18627 do
18628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18629 echo "$as_me:$LINENO: checking for $ac_func" >&5
18630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18631 if eval "test \"\${$as_ac_var+set}\" = set"; then
18632   echo $ECHO_N "(cached) $ECHO_C" >&6
18633 else
18634   if test x$gcc_no_link = xyes; then
18635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18637    { (exit 1); exit 1; }; }
18638 fi
18639 cat >conftest.$ac_ext <<_ACEOF
18640 #line $LINENO "configure"
18641 /* confdefs.h.  */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h.  */
18646 /* System header to define __stub macros and hopefully few prototypes,
18647     which can conflict with char $ac_func (); below.
18648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18649     <limits.h> exists even on freestanding compilers.  */
18650 #ifdef __STDC__
18651 # include <limits.h>
18652 #else
18653 # include <assert.h>
18654 #endif
18655 /* Override any gcc2 internal prototype to avoid an error.  */
18656 #ifdef __cplusplus
18657 extern "C"
18658 {
18659 #endif
18660 /* We use char because int might match the return type of a gcc2
18661    builtin and then its argument prototype would still apply.  */
18662 char $ac_func ();
18663 /* The GNU C library defines this for functions which it implements
18664     to always fail with ENOSYS.  Some functions are actually named
18665     something starting with __ and the normal name is an alias.  */
18666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18667 choke me
18668 #else
18669 char (*f) () = $ac_func;
18670 #endif
18671 #ifdef __cplusplus
18672 }
18673 #endif
18674
18675 int
18676 main ()
18677 {
18678 return f != $ac_func;
18679   ;
18680   return 0;
18681 }
18682 _ACEOF
18683 rm -f conftest.$ac_objext conftest$ac_exeext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18685   (eval $ac_link) 2>&5
18686   ac_status=$?
18687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688   (exit $ac_status); } &&
18689          { ac_try='test -s conftest$ac_exeext'
18690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691   (eval $ac_try) 2>&5
18692   ac_status=$?
18693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694   (exit $ac_status); }; }; then
18695   eval "$as_ac_var=yes"
18696 else
18697   echo "$as_me: failed program was:" >&5
18698 sed 's/^/| /' conftest.$ac_ext >&5
18699
18700 eval "$as_ac_var=no"
18701 fi
18702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18703 fi
18704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18706 if test `eval echo '${'$as_ac_var'}'` = yes; then
18707   cat >>confdefs.h <<_ACEOF
18708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18709 _ACEOF
18710
18711 fi
18712 done
18713
18714     fi
18715   fi
18716
18717
18718
18719   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18720 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18721   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18722     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18723   echo $ECHO_N "(cached) $ECHO_C" >&6
18724 else
18725
18726
18727
18728       ac_ext=cc
18729 ac_cpp='$CXXCPP $CPPFLAGS'
18730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18733
18734       cat >conftest.$ac_ext <<_ACEOF
18735 #line $LINENO "configure"
18736 /* confdefs.h.  */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h.  */
18741 #include <math.h>
18742 int
18743 main ()
18744 {
18745  hypotl(0, 0);
18746   ;
18747   return 0;
18748 }
18749 _ACEOF
18750 rm -f conftest.$ac_objext
18751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18752   (eval $ac_compile) 2>&5
18753   ac_status=$?
18754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755   (exit $ac_status); } &&
18756          { ac_try='test -s conftest.$ac_objext'
18757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758   (eval $ac_try) 2>&5
18759   ac_status=$?
18760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761   (exit $ac_status); }; }; then
18762   glibcxx_cv_func_hypotl_use=yes
18763 else
18764   echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 glibcxx_cv_func_hypotl_use=no
18768 fi
18769 rm -f conftest.$ac_objext conftest.$ac_ext
18770       ac_ext=c
18771 ac_cpp='$CPP $CPPFLAGS'
18772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18775
18776
18777 fi
18778
18779   fi
18780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18781 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18782
18783   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18784
18785 for ac_func in hypotl
18786 do
18787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18788 echo "$as_me:$LINENO: checking for $ac_func" >&5
18789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18790 if eval "test \"\${$as_ac_var+set}\" = set"; then
18791   echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18793   if test x$gcc_no_link = xyes; then
18794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18796    { (exit 1); exit 1; }; }
18797 fi
18798 cat >conftest.$ac_ext <<_ACEOF
18799 #line $LINENO "configure"
18800 /* confdefs.h.  */
18801 _ACEOF
18802 cat confdefs.h >>conftest.$ac_ext
18803 cat >>conftest.$ac_ext <<_ACEOF
18804 /* end confdefs.h.  */
18805 /* System header to define __stub macros and hopefully few prototypes,
18806     which can conflict with char $ac_func (); below.
18807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18808     <limits.h> exists even on freestanding compilers.  */
18809 #ifdef __STDC__
18810 # include <limits.h>
18811 #else
18812 # include <assert.h>
18813 #endif
18814 /* Override any gcc2 internal prototype to avoid an error.  */
18815 #ifdef __cplusplus
18816 extern "C"
18817 {
18818 #endif
18819 /* We use char because int might match the return type of a gcc2
18820    builtin and then its argument prototype would still apply.  */
18821 char $ac_func ();
18822 /* The GNU C library defines this for functions which it implements
18823     to always fail with ENOSYS.  Some functions are actually named
18824     something starting with __ and the normal name is an alias.  */
18825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18826 choke me
18827 #else
18828 char (*f) () = $ac_func;
18829 #endif
18830 #ifdef __cplusplus
18831 }
18832 #endif
18833
18834 int
18835 main ()
18836 {
18837 return f != $ac_func;
18838   ;
18839   return 0;
18840 }
18841 _ACEOF
18842 rm -f conftest.$ac_objext conftest$ac_exeext
18843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18844   (eval $ac_link) 2>&5
18845   ac_status=$?
18846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847   (exit $ac_status); } &&
18848          { ac_try='test -s conftest$ac_exeext'
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   eval "$as_ac_var=yes"
18855 else
18856   echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18858
18859 eval "$as_ac_var=no"
18860 fi
18861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18862 fi
18863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18865 if test `eval echo '${'$as_ac_var'}'` = yes; then
18866   cat >>confdefs.h <<_ACEOF
18867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18868 _ACEOF
18869
18870 fi
18871 done
18872
18873   else
18874
18875   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18876 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18877   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18878     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18879   echo $ECHO_N "(cached) $ECHO_C" >&6
18880 else
18881
18882
18883
18884       ac_ext=cc
18885 ac_cpp='$CXXCPP $CPPFLAGS'
18886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889
18890       cat >conftest.$ac_ext <<_ACEOF
18891 #line $LINENO "configure"
18892 /* confdefs.h.  */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h.  */
18897 #include <math.h>
18898 int
18899 main ()
18900 {
18901  _hypotl(0, 0);
18902   ;
18903   return 0;
18904 }
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908   (eval $ac_compile) 2>&5
18909   ac_status=$?
18910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911   (exit $ac_status); } &&
18912          { ac_try='test -s conftest.$ac_objext'
18913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914   (eval $ac_try) 2>&5
18915   ac_status=$?
18916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917   (exit $ac_status); }; }; then
18918   glibcxx_cv_func__hypotl_use=yes
18919 else
18920   echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.$ac_ext >&5
18922
18923 glibcxx_cv_func__hypotl_use=no
18924 fi
18925 rm -f conftest.$ac_objext conftest.$ac_ext
18926       ac_ext=c
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18931
18932
18933 fi
18934
18935   fi
18936   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18937 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18938
18939     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18940
18941 for ac_func in _hypotl
18942 do
18943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18944 echo "$as_me:$LINENO: checking for $ac_func" >&5
18945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18946 if eval "test \"\${$as_ac_var+set}\" = set"; then
18947   echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949   if test x$gcc_no_link = xyes; then
18950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18952    { (exit 1); exit 1; }; }
18953 fi
18954 cat >conftest.$ac_ext <<_ACEOF
18955 #line $LINENO "configure"
18956 /* confdefs.h.  */
18957 _ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h.  */
18961 /* System header to define __stub macros and hopefully few prototypes,
18962     which can conflict with char $ac_func (); below.
18963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18964     <limits.h> exists even on freestanding compilers.  */
18965 #ifdef __STDC__
18966 # include <limits.h>
18967 #else
18968 # include <assert.h>
18969 #endif
18970 /* Override any gcc2 internal prototype to avoid an error.  */
18971 #ifdef __cplusplus
18972 extern "C"
18973 {
18974 #endif
18975 /* We use char because int might match the return type of a gcc2
18976    builtin and then its argument prototype would still apply.  */
18977 char $ac_func ();
18978 /* The GNU C library defines this for functions which it implements
18979     to always fail with ENOSYS.  Some functions are actually named
18980     something starting with __ and the normal name is an alias.  */
18981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18982 choke me
18983 #else
18984 char (*f) () = $ac_func;
18985 #endif
18986 #ifdef __cplusplus
18987 }
18988 #endif
18989
18990 int
18991 main ()
18992 {
18993 return f != $ac_func;
18994   ;
18995   return 0;
18996 }
18997 _ACEOF
18998 rm -f conftest.$ac_objext conftest$ac_exeext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19000   (eval $ac_link) 2>&5
19001   ac_status=$?
19002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003   (exit $ac_status); } &&
19004          { ac_try='test -s conftest$ac_exeext'
19005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19006   (eval $ac_try) 2>&5
19007   ac_status=$?
19008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009   (exit $ac_status); }; }; then
19010   eval "$as_ac_var=yes"
19011 else
19012   echo "$as_me: failed program was:" >&5
19013 sed 's/^/| /' conftest.$ac_ext >&5
19014
19015 eval "$as_ac_var=no"
19016 fi
19017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19018 fi
19019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19021 if test `eval echo '${'$as_ac_var'}'` = yes; then
19022   cat >>confdefs.h <<_ACEOF
19023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19024 _ACEOF
19025
19026 fi
19027 done
19028
19029     fi
19030   fi
19031
19032
19033
19034   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19035 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19036   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19037     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19038   echo $ECHO_N "(cached) $ECHO_C" >&6
19039 else
19040
19041
19042
19043       ac_ext=cc
19044 ac_cpp='$CXXCPP $CPPFLAGS'
19045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19048
19049       cat >conftest.$ac_ext <<_ACEOF
19050 #line $LINENO "configure"
19051 /* confdefs.h.  */
19052 _ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h.  */
19056 #include <math.h>
19057 int
19058 main ()
19059 {
19060  ldexpl(0, 0);
19061   ;
19062   return 0;
19063 }
19064 _ACEOF
19065 rm -f conftest.$ac_objext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19067   (eval $ac_compile) 2>&5
19068   ac_status=$?
19069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070   (exit $ac_status); } &&
19071          { ac_try='test -s conftest.$ac_objext'
19072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073   (eval $ac_try) 2>&5
19074   ac_status=$?
19075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076   (exit $ac_status); }; }; then
19077   glibcxx_cv_func_ldexpl_use=yes
19078 else
19079   echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19081
19082 glibcxx_cv_func_ldexpl_use=no
19083 fi
19084 rm -f conftest.$ac_objext conftest.$ac_ext
19085       ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092 fi
19093
19094   fi
19095   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19096 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19097
19098   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19099
19100 for ac_func in ldexpl
19101 do
19102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19103 echo "$as_me:$LINENO: checking for $ac_func" >&5
19104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19105 if eval "test \"\${$as_ac_var+set}\" = set"; then
19106   echo $ECHO_N "(cached) $ECHO_C" >&6
19107 else
19108   if test x$gcc_no_link = xyes; then
19109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19111    { (exit 1); exit 1; }; }
19112 fi
19113 cat >conftest.$ac_ext <<_ACEOF
19114 #line $LINENO "configure"
19115 /* confdefs.h.  */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h.  */
19120 /* System header to define __stub macros and hopefully few prototypes,
19121     which can conflict with char $ac_func (); below.
19122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19123     <limits.h> exists even on freestanding compilers.  */
19124 #ifdef __STDC__
19125 # include <limits.h>
19126 #else
19127 # include <assert.h>
19128 #endif
19129 /* Override any gcc2 internal prototype to avoid an error.  */
19130 #ifdef __cplusplus
19131 extern "C"
19132 {
19133 #endif
19134 /* We use char because int might match the return type of a gcc2
19135    builtin and then its argument prototype would still apply.  */
19136 char $ac_func ();
19137 /* The GNU C library defines this for functions which it implements
19138     to always fail with ENOSYS.  Some functions are actually named
19139     something starting with __ and the normal name is an alias.  */
19140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19141 choke me
19142 #else
19143 char (*f) () = $ac_func;
19144 #endif
19145 #ifdef __cplusplus
19146 }
19147 #endif
19148
19149 int
19150 main ()
19151 {
19152 return f != $ac_func;
19153   ;
19154   return 0;
19155 }
19156 _ACEOF
19157 rm -f conftest.$ac_objext conftest$ac_exeext
19158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19159   (eval $ac_link) 2>&5
19160   ac_status=$?
19161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162   (exit $ac_status); } &&
19163          { ac_try='test -s conftest$ac_exeext'
19164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19165   (eval $ac_try) 2>&5
19166   ac_status=$?
19167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168   (exit $ac_status); }; }; then
19169   eval "$as_ac_var=yes"
19170 else
19171   echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 eval "$as_ac_var=no"
19175 fi
19176 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19177 fi
19178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19180 if test `eval echo '${'$as_ac_var'}'` = yes; then
19181   cat >>confdefs.h <<_ACEOF
19182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19183 _ACEOF
19184
19185 fi
19186 done
19187
19188   else
19189
19190   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19191 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19192   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19193     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19194   echo $ECHO_N "(cached) $ECHO_C" >&6
19195 else
19196
19197
19198
19199       ac_ext=cc
19200 ac_cpp='$CXXCPP $CPPFLAGS'
19201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19204
19205       cat >conftest.$ac_ext <<_ACEOF
19206 #line $LINENO "configure"
19207 /* confdefs.h.  */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h.  */
19212 #include <math.h>
19213 int
19214 main ()
19215 {
19216  _ldexpl(0, 0);
19217   ;
19218   return 0;
19219 }
19220 _ACEOF
19221 rm -f conftest.$ac_objext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19223   (eval $ac_compile) 2>&5
19224   ac_status=$?
19225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226   (exit $ac_status); } &&
19227          { ac_try='test -s conftest.$ac_objext'
19228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229   (eval $ac_try) 2>&5
19230   ac_status=$?
19231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232   (exit $ac_status); }; }; then
19233   glibcxx_cv_func__ldexpl_use=yes
19234 else
19235   echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 glibcxx_cv_func__ldexpl_use=no
19239 fi
19240 rm -f conftest.$ac_objext conftest.$ac_ext
19241       ac_ext=c
19242 ac_cpp='$CPP $CPPFLAGS'
19243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19246
19247
19248 fi
19249
19250   fi
19251   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19252 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19253
19254     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19255
19256 for ac_func in _ldexpl
19257 do
19258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19259 echo "$as_me:$LINENO: checking for $ac_func" >&5
19260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19261 if eval "test \"\${$as_ac_var+set}\" = set"; then
19262   echo $ECHO_N "(cached) $ECHO_C" >&6
19263 else
19264   if test x$gcc_no_link = xyes; then
19265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19267    { (exit 1); exit 1; }; }
19268 fi
19269 cat >conftest.$ac_ext <<_ACEOF
19270 #line $LINENO "configure"
19271 /* confdefs.h.  */
19272 _ACEOF
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h.  */
19276 /* System header to define __stub macros and hopefully few prototypes,
19277     which can conflict with char $ac_func (); below.
19278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19279     <limits.h> exists even on freestanding compilers.  */
19280 #ifdef __STDC__
19281 # include <limits.h>
19282 #else
19283 # include <assert.h>
19284 #endif
19285 /* Override any gcc2 internal prototype to avoid an error.  */
19286 #ifdef __cplusplus
19287 extern "C"
19288 {
19289 #endif
19290 /* We use char because int might match the return type of a gcc2
19291    builtin and then its argument prototype would still apply.  */
19292 char $ac_func ();
19293 /* The GNU C library defines this for functions which it implements
19294     to always fail with ENOSYS.  Some functions are actually named
19295     something starting with __ and the normal name is an alias.  */
19296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19297 choke me
19298 #else
19299 char (*f) () = $ac_func;
19300 #endif
19301 #ifdef __cplusplus
19302 }
19303 #endif
19304
19305 int
19306 main ()
19307 {
19308 return f != $ac_func;
19309   ;
19310   return 0;
19311 }
19312 _ACEOF
19313 rm -f conftest.$ac_objext conftest$ac_exeext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19315   (eval $ac_link) 2>&5
19316   ac_status=$?
19317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318   (exit $ac_status); } &&
19319          { ac_try='test -s conftest$ac_exeext'
19320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321   (eval $ac_try) 2>&5
19322   ac_status=$?
19323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324   (exit $ac_status); }; }; then
19325   eval "$as_ac_var=yes"
19326 else
19327   echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19329
19330 eval "$as_ac_var=no"
19331 fi
19332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19333 fi
19334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19336 if test `eval echo '${'$as_ac_var'}'` = yes; then
19337   cat >>confdefs.h <<_ACEOF
19338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19339 _ACEOF
19340
19341 fi
19342 done
19343
19344     fi
19345   fi
19346
19347
19348
19349   echo "$as_me:$LINENO: checking for logl declaration" >&5
19350 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19351   if test x${glibcxx_cv_func_logl_use+set} != xset; then
19352     if test "${glibcxx_cv_func_logl_use+set}" = set; then
19353   echo $ECHO_N "(cached) $ECHO_C" >&6
19354 else
19355
19356
19357
19358       ac_ext=cc
19359 ac_cpp='$CXXCPP $CPPFLAGS'
19360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19363
19364       cat >conftest.$ac_ext <<_ACEOF
19365 #line $LINENO "configure"
19366 /* confdefs.h.  */
19367 _ACEOF
19368 cat confdefs.h >>conftest.$ac_ext
19369 cat >>conftest.$ac_ext <<_ACEOF
19370 /* end confdefs.h.  */
19371 #include <math.h>
19372                       #ifdef HAVE_IEEEFP_H
19373                       #include <ieeefp.h>
19374                       #endif
19375
19376 int
19377 main ()
19378 {
19379  logl(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>&5
19387   ac_status=$?
19388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389   (exit $ac_status); } &&
19390          { ac_try='test -s conftest.$ac_objext'
19391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392   (eval $ac_try) 2>&5
19393   ac_status=$?
19394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395   (exit $ac_status); }; }; then
19396   glibcxx_cv_func_logl_use=yes
19397 else
19398   echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.$ac_ext >&5
19400
19401 glibcxx_cv_func_logl_use=no
19402 fi
19403 rm -f conftest.$ac_objext conftest.$ac_ext
19404       ac_ext=c
19405 ac_cpp='$CPP $CPPFLAGS'
19406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19409
19410
19411 fi
19412
19413   fi
19414   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19415 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19416
19417   if test x$glibcxx_cv_func_logl_use = x"yes"; then
19418
19419 for ac_func in logl
19420 do
19421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19422 echo "$as_me:$LINENO: checking for $ac_func" >&5
19423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19424 if eval "test \"\${$as_ac_var+set}\" = set"; then
19425   echo $ECHO_N "(cached) $ECHO_C" >&6
19426 else
19427   if test x$gcc_no_link = xyes; then
19428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19430    { (exit 1); exit 1; }; }
19431 fi
19432 cat >conftest.$ac_ext <<_ACEOF
19433 #line $LINENO "configure"
19434 /* confdefs.h.  */
19435 _ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h.  */
19439 /* System header to define __stub macros and hopefully few prototypes,
19440     which can conflict with char $ac_func (); below.
19441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19442     <limits.h> exists even on freestanding compilers.  */
19443 #ifdef __STDC__
19444 # include <limits.h>
19445 #else
19446 # include <assert.h>
19447 #endif
19448 /* Override any gcc2 internal prototype to avoid an error.  */
19449 #ifdef __cplusplus
19450 extern "C"
19451 {
19452 #endif
19453 /* We use char because int might match the return type of a gcc2
19454    builtin and then its argument prototype would still apply.  */
19455 char $ac_func ();
19456 /* The GNU C library defines this for functions which it implements
19457     to always fail with ENOSYS.  Some functions are actually named
19458     something starting with __ and the normal name is an alias.  */
19459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19460 choke me
19461 #else
19462 char (*f) () = $ac_func;
19463 #endif
19464 #ifdef __cplusplus
19465 }
19466 #endif
19467
19468 int
19469 main ()
19470 {
19471 return f != $ac_func;
19472   ;
19473   return 0;
19474 }
19475 _ACEOF
19476 rm -f conftest.$ac_objext conftest$ac_exeext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19478   (eval $ac_link) 2>&5
19479   ac_status=$?
19480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481   (exit $ac_status); } &&
19482          { ac_try='test -s conftest$ac_exeext'
19483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484   (eval $ac_try) 2>&5
19485   ac_status=$?
19486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487   (exit $ac_status); }; }; then
19488   eval "$as_ac_var=yes"
19489 else
19490   echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19492
19493 eval "$as_ac_var=no"
19494 fi
19495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19496 fi
19497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19499 if test `eval echo '${'$as_ac_var'}'` = yes; then
19500   cat >>confdefs.h <<_ACEOF
19501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19502 _ACEOF
19503
19504 fi
19505 done
19506
19507   else
19508
19509   echo "$as_me:$LINENO: checking for _logl declaration" >&5
19510 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19511   if test x${glibcxx_cv_func__logl_use+set} != xset; then
19512     if test "${glibcxx_cv_func__logl_use+set}" = set; then
19513   echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19515
19516
19517
19518       ac_ext=cc
19519 ac_cpp='$CXXCPP $CPPFLAGS'
19520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19523
19524       cat >conftest.$ac_ext <<_ACEOF
19525 #line $LINENO "configure"
19526 /* confdefs.h.  */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h.  */
19531 #include <math.h>
19532                       #ifdef HAVE_IEEEFP_H
19533                       #include <ieeefp.h>
19534                       #endif
19535
19536 int
19537 main ()
19538 {
19539  _logl(0);
19540   ;
19541   return 0;
19542 }
19543 _ACEOF
19544 rm -f conftest.$ac_objext
19545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19546   (eval $ac_compile) 2>&5
19547   ac_status=$?
19548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549   (exit $ac_status); } &&
19550          { ac_try='test -s conftest.$ac_objext'
19551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552   (eval $ac_try) 2>&5
19553   ac_status=$?
19554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555   (exit $ac_status); }; }; then
19556   glibcxx_cv_func__logl_use=yes
19557 else
19558   echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19560
19561 glibcxx_cv_func__logl_use=no
19562 fi
19563 rm -f conftest.$ac_objext conftest.$ac_ext
19564       ac_ext=c
19565 ac_cpp='$CPP $CPPFLAGS'
19566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19569
19570
19571 fi
19572
19573   fi
19574   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19575 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19576
19577     if test x$glibcxx_cv_func__logl_use = x"yes"; then
19578
19579 for ac_func in _logl
19580 do
19581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19582 echo "$as_me:$LINENO: checking for $ac_func" >&5
19583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19584 if eval "test \"\${$as_ac_var+set}\" = set"; then
19585   echo $ECHO_N "(cached) $ECHO_C" >&6
19586 else
19587   if test x$gcc_no_link = xyes; then
19588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19590    { (exit 1); exit 1; }; }
19591 fi
19592 cat >conftest.$ac_ext <<_ACEOF
19593 #line $LINENO "configure"
19594 /* confdefs.h.  */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h.  */
19599 /* System header to define __stub macros and hopefully few prototypes,
19600     which can conflict with char $ac_func (); below.
19601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19602     <limits.h> exists even on freestanding compilers.  */
19603 #ifdef __STDC__
19604 # include <limits.h>
19605 #else
19606 # include <assert.h>
19607 #endif
19608 /* Override any gcc2 internal prototype to avoid an error.  */
19609 #ifdef __cplusplus
19610 extern "C"
19611 {
19612 #endif
19613 /* We use char because int might match the return type of a gcc2
19614    builtin and then its argument prototype would still apply.  */
19615 char $ac_func ();
19616 /* The GNU C library defines this for functions which it implements
19617     to always fail with ENOSYS.  Some functions are actually named
19618     something starting with __ and the normal name is an alias.  */
19619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19620 choke me
19621 #else
19622 char (*f) () = $ac_func;
19623 #endif
19624 #ifdef __cplusplus
19625 }
19626 #endif
19627
19628 int
19629 main ()
19630 {
19631 return f != $ac_func;
19632   ;
19633   return 0;
19634 }
19635 _ACEOF
19636 rm -f conftest.$ac_objext conftest$ac_exeext
19637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19638   (eval $ac_link) 2>&5
19639   ac_status=$?
19640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641   (exit $ac_status); } &&
19642          { ac_try='test -s conftest$ac_exeext'
19643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644   (eval $ac_try) 2>&5
19645   ac_status=$?
19646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647   (exit $ac_status); }; }; then
19648   eval "$as_ac_var=yes"
19649 else
19650   echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.$ac_ext >&5
19652
19653 eval "$as_ac_var=no"
19654 fi
19655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19656 fi
19657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19659 if test `eval echo '${'$as_ac_var'}'` = yes; then
19660   cat >>confdefs.h <<_ACEOF
19661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19662 _ACEOF
19663
19664 fi
19665 done
19666
19667     fi
19668   fi
19669
19670
19671
19672   echo "$as_me:$LINENO: checking for log10l declaration" >&5
19673 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19674   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19675     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19676   echo $ECHO_N "(cached) $ECHO_C" >&6
19677 else
19678
19679
19680
19681       ac_ext=cc
19682 ac_cpp='$CXXCPP $CPPFLAGS'
19683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19686
19687       cat >conftest.$ac_ext <<_ACEOF
19688 #line $LINENO "configure"
19689 /* confdefs.h.  */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h.  */
19694 #include <math.h>
19695                       #ifdef HAVE_IEEEFP_H
19696                       #include <ieeefp.h>
19697                       #endif
19698
19699 int
19700 main ()
19701 {
19702  log10l(0);
19703   ;
19704   return 0;
19705 }
19706 _ACEOF
19707 rm -f conftest.$ac_objext
19708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19709   (eval $ac_compile) 2>&5
19710   ac_status=$?
19711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712   (exit $ac_status); } &&
19713          { ac_try='test -s conftest.$ac_objext'
19714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715   (eval $ac_try) 2>&5
19716   ac_status=$?
19717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718   (exit $ac_status); }; }; then
19719   glibcxx_cv_func_log10l_use=yes
19720 else
19721   echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19723
19724 glibcxx_cv_func_log10l_use=no
19725 fi
19726 rm -f conftest.$ac_objext conftest.$ac_ext
19727       ac_ext=c
19728 ac_cpp='$CPP $CPPFLAGS'
19729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19732
19733
19734 fi
19735
19736   fi
19737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19738 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19739
19740   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19741
19742 for ac_func in log10l
19743 do
19744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19745 echo "$as_me:$LINENO: checking for $ac_func" >&5
19746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19747 if eval "test \"\${$as_ac_var+set}\" = set"; then
19748   echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750   if test x$gcc_no_link = xyes; then
19751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19753    { (exit 1); exit 1; }; }
19754 fi
19755 cat >conftest.$ac_ext <<_ACEOF
19756 #line $LINENO "configure"
19757 /* confdefs.h.  */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h.  */
19762 /* System header to define __stub macros and hopefully few prototypes,
19763     which can conflict with char $ac_func (); below.
19764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19765     <limits.h> exists even on freestanding compilers.  */
19766 #ifdef __STDC__
19767 # include <limits.h>
19768 #else
19769 # include <assert.h>
19770 #endif
19771 /* Override any gcc2 internal prototype to avoid an error.  */
19772 #ifdef __cplusplus
19773 extern "C"
19774 {
19775 #endif
19776 /* We use char because int might match the return type of a gcc2
19777    builtin and then its argument prototype would still apply.  */
19778 char $ac_func ();
19779 /* The GNU C library defines this for functions which it implements
19780     to always fail with ENOSYS.  Some functions are actually named
19781     something starting with __ and the normal name is an alias.  */
19782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19783 choke me
19784 #else
19785 char (*f) () = $ac_func;
19786 #endif
19787 #ifdef __cplusplus
19788 }
19789 #endif
19790
19791 int
19792 main ()
19793 {
19794 return f != $ac_func;
19795   ;
19796   return 0;
19797 }
19798 _ACEOF
19799 rm -f conftest.$ac_objext conftest$ac_exeext
19800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19801   (eval $ac_link) 2>&5
19802   ac_status=$?
19803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804   (exit $ac_status); } &&
19805          { ac_try='test -s conftest$ac_exeext'
19806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807   (eval $ac_try) 2>&5
19808   ac_status=$?
19809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810   (exit $ac_status); }; }; then
19811   eval "$as_ac_var=yes"
19812 else
19813   echo "$as_me: failed program was:" >&5
19814 sed 's/^/| /' conftest.$ac_ext >&5
19815
19816 eval "$as_ac_var=no"
19817 fi
19818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19819 fi
19820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19822 if test `eval echo '${'$as_ac_var'}'` = yes; then
19823   cat >>confdefs.h <<_ACEOF
19824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19825 _ACEOF
19826
19827 fi
19828 done
19829
19830   else
19831
19832   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19833 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19834   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19835     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19836   echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838
19839
19840
19841       ac_ext=cc
19842 ac_cpp='$CXXCPP $CPPFLAGS'
19843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19846
19847       cat >conftest.$ac_ext <<_ACEOF
19848 #line $LINENO "configure"
19849 /* confdefs.h.  */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h.  */
19854 #include <math.h>
19855                       #ifdef HAVE_IEEEFP_H
19856                       #include <ieeefp.h>
19857                       #endif
19858
19859 int
19860 main ()
19861 {
19862  _log10l(0);
19863   ;
19864   return 0;
19865 }
19866 _ACEOF
19867 rm -f conftest.$ac_objext
19868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19869   (eval $ac_compile) 2>&5
19870   ac_status=$?
19871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872   (exit $ac_status); } &&
19873          { ac_try='test -s conftest.$ac_objext'
19874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875   (eval $ac_try) 2>&5
19876   ac_status=$?
19877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878   (exit $ac_status); }; }; then
19879   glibcxx_cv_func__log10l_use=yes
19880 else
19881   echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19883
19884 glibcxx_cv_func__log10l_use=no
19885 fi
19886 rm -f conftest.$ac_objext conftest.$ac_ext
19887       ac_ext=c
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19892
19893
19894 fi
19895
19896   fi
19897   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19898 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19899
19900     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19901
19902 for ac_func in _log10l
19903 do
19904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19905 echo "$as_me:$LINENO: checking for $ac_func" >&5
19906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19907 if eval "test \"\${$as_ac_var+set}\" = set"; then
19908   echo $ECHO_N "(cached) $ECHO_C" >&6
19909 else
19910   if test x$gcc_no_link = xyes; then
19911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19913    { (exit 1); exit 1; }; }
19914 fi
19915 cat >conftest.$ac_ext <<_ACEOF
19916 #line $LINENO "configure"
19917 /* confdefs.h.  */
19918 _ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h.  */
19922 /* System header to define __stub macros and hopefully few prototypes,
19923     which can conflict with char $ac_func (); below.
19924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19925     <limits.h> exists even on freestanding compilers.  */
19926 #ifdef __STDC__
19927 # include <limits.h>
19928 #else
19929 # include <assert.h>
19930 #endif
19931 /* Override any gcc2 internal prototype to avoid an error.  */
19932 #ifdef __cplusplus
19933 extern "C"
19934 {
19935 #endif
19936 /* We use char because int might match the return type of a gcc2
19937    builtin and then its argument prototype would still apply.  */
19938 char $ac_func ();
19939 /* The GNU C library defines this for functions which it implements
19940     to always fail with ENOSYS.  Some functions are actually named
19941     something starting with __ and the normal name is an alias.  */
19942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19943 choke me
19944 #else
19945 char (*f) () = $ac_func;
19946 #endif
19947 #ifdef __cplusplus
19948 }
19949 #endif
19950
19951 int
19952 main ()
19953 {
19954 return f != $ac_func;
19955   ;
19956   return 0;
19957 }
19958 _ACEOF
19959 rm -f conftest.$ac_objext conftest$ac_exeext
19960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19961   (eval $ac_link) 2>&5
19962   ac_status=$?
19963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964   (exit $ac_status); } &&
19965          { ac_try='test -s conftest$ac_exeext'
19966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967   (eval $ac_try) 2>&5
19968   ac_status=$?
19969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970   (exit $ac_status); }; }; then
19971   eval "$as_ac_var=yes"
19972 else
19973   echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19975
19976 eval "$as_ac_var=no"
19977 fi
19978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19979 fi
19980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19982 if test `eval echo '${'$as_ac_var'}'` = yes; then
19983   cat >>confdefs.h <<_ACEOF
19984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19985 _ACEOF
19986
19987 fi
19988 done
19989
19990     fi
19991   fi
19992
19993
19994
19995   echo "$as_me:$LINENO: checking for modfl declaration" >&5
19996 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
19997   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
19998     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
19999   echo $ECHO_N "(cached) $ECHO_C" >&6
20000 else
20001
20002
20003
20004       ac_ext=cc
20005 ac_cpp='$CXXCPP $CPPFLAGS'
20006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20009
20010       cat >conftest.$ac_ext <<_ACEOF
20011 #line $LINENO "configure"
20012 /* confdefs.h.  */
20013 _ACEOF
20014 cat confdefs.h >>conftest.$ac_ext
20015 cat >>conftest.$ac_ext <<_ACEOF
20016 /* end confdefs.h.  */
20017 #include <math.h>
20018 int
20019 main ()
20020 {
20021  modfl(0, 0);
20022   ;
20023   return 0;
20024 }
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20028   (eval $ac_compile) 2>&5
20029   ac_status=$?
20030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031   (exit $ac_status); } &&
20032          { ac_try='test -s conftest.$ac_objext'
20033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20034   (eval $ac_try) 2>&5
20035   ac_status=$?
20036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037   (exit $ac_status); }; }; then
20038   glibcxx_cv_func_modfl_use=yes
20039 else
20040   echo "$as_me: failed program was:" >&5
20041 sed 's/^/| /' conftest.$ac_ext >&5
20042
20043 glibcxx_cv_func_modfl_use=no
20044 fi
20045 rm -f conftest.$ac_objext conftest.$ac_ext
20046       ac_ext=c
20047 ac_cpp='$CPP $CPPFLAGS'
20048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20051
20052
20053 fi
20054
20055   fi
20056   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20057 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20058
20059   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20060
20061 for ac_func in modfl
20062 do
20063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20064 echo "$as_me:$LINENO: checking for $ac_func" >&5
20065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20066 if eval "test \"\${$as_ac_var+set}\" = set"; then
20067   echo $ECHO_N "(cached) $ECHO_C" >&6
20068 else
20069   if test x$gcc_no_link = xyes; then
20070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20072    { (exit 1); exit 1; }; }
20073 fi
20074 cat >conftest.$ac_ext <<_ACEOF
20075 #line $LINENO "configure"
20076 /* confdefs.h.  */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h.  */
20081 /* System header to define __stub macros and hopefully few prototypes,
20082     which can conflict with char $ac_func (); below.
20083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20084     <limits.h> exists even on freestanding compilers.  */
20085 #ifdef __STDC__
20086 # include <limits.h>
20087 #else
20088 # include <assert.h>
20089 #endif
20090 /* Override any gcc2 internal prototype to avoid an error.  */
20091 #ifdef __cplusplus
20092 extern "C"
20093 {
20094 #endif
20095 /* We use char because int might match the return type of a gcc2
20096    builtin and then its argument prototype would still apply.  */
20097 char $ac_func ();
20098 /* The GNU C library defines this for functions which it implements
20099     to always fail with ENOSYS.  Some functions are actually named
20100     something starting with __ and the normal name is an alias.  */
20101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20102 choke me
20103 #else
20104 char (*f) () = $ac_func;
20105 #endif
20106 #ifdef __cplusplus
20107 }
20108 #endif
20109
20110 int
20111 main ()
20112 {
20113 return f != $ac_func;
20114   ;
20115   return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext conftest$ac_exeext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20120   (eval $ac_link) 2>&5
20121   ac_status=$?
20122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123   (exit $ac_status); } &&
20124          { ac_try='test -s conftest$ac_exeext'
20125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126   (eval $ac_try) 2>&5
20127   ac_status=$?
20128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129   (exit $ac_status); }; }; then
20130   eval "$as_ac_var=yes"
20131 else
20132   echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20134
20135 eval "$as_ac_var=no"
20136 fi
20137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20138 fi
20139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20141 if test `eval echo '${'$as_ac_var'}'` = yes; then
20142   cat >>confdefs.h <<_ACEOF
20143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20144 _ACEOF
20145
20146 fi
20147 done
20148
20149   else
20150
20151   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20152 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20153   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20154     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20155   echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20157
20158
20159
20160       ac_ext=cc
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20165
20166       cat >conftest.$ac_ext <<_ACEOF
20167 #line $LINENO "configure"
20168 /* confdefs.h.  */
20169 _ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h.  */
20173 #include <math.h>
20174 int
20175 main ()
20176 {
20177  _modfl(0, 0);
20178   ;
20179   return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20184   (eval $ac_compile) 2>&5
20185   ac_status=$?
20186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187   (exit $ac_status); } &&
20188          { ac_try='test -s conftest.$ac_objext'
20189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190   (eval $ac_try) 2>&5
20191   ac_status=$?
20192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193   (exit $ac_status); }; }; then
20194   glibcxx_cv_func__modfl_use=yes
20195 else
20196   echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20198
20199 glibcxx_cv_func__modfl_use=no
20200 fi
20201 rm -f conftest.$ac_objext conftest.$ac_ext
20202       ac_ext=c
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20207
20208
20209 fi
20210
20211   fi
20212   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20213 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20214
20215     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20216
20217 for ac_func in _modfl
20218 do
20219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20220 echo "$as_me:$LINENO: checking for $ac_func" >&5
20221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20222 if eval "test \"\${$as_ac_var+set}\" = set"; then
20223   echo $ECHO_N "(cached) $ECHO_C" >&6
20224 else
20225   if test x$gcc_no_link = xyes; then
20226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20228    { (exit 1); exit 1; }; }
20229 fi
20230 cat >conftest.$ac_ext <<_ACEOF
20231 #line $LINENO "configure"
20232 /* confdefs.h.  */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h.  */
20237 /* System header to define __stub macros and hopefully few prototypes,
20238     which can conflict with char $ac_func (); below.
20239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20240     <limits.h> exists even on freestanding compilers.  */
20241 #ifdef __STDC__
20242 # include <limits.h>
20243 #else
20244 # include <assert.h>
20245 #endif
20246 /* Override any gcc2 internal prototype to avoid an error.  */
20247 #ifdef __cplusplus
20248 extern "C"
20249 {
20250 #endif
20251 /* We use char because int might match the return type of a gcc2
20252    builtin and then its argument prototype would still apply.  */
20253 char $ac_func ();
20254 /* The GNU C library defines this for functions which it implements
20255     to always fail with ENOSYS.  Some functions are actually named
20256     something starting with __ and the normal name is an alias.  */
20257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20258 choke me
20259 #else
20260 char (*f) () = $ac_func;
20261 #endif
20262 #ifdef __cplusplus
20263 }
20264 #endif
20265
20266 int
20267 main ()
20268 {
20269 return f != $ac_func;
20270   ;
20271   return 0;
20272 }
20273 _ACEOF
20274 rm -f conftest.$ac_objext conftest$ac_exeext
20275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20276   (eval $ac_link) 2>&5
20277   ac_status=$?
20278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279   (exit $ac_status); } &&
20280          { ac_try='test -s conftest$ac_exeext'
20281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282   (eval $ac_try) 2>&5
20283   ac_status=$?
20284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285   (exit $ac_status); }; }; then
20286   eval "$as_ac_var=yes"
20287 else
20288   echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 eval "$as_ac_var=no"
20292 fi
20293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20294 fi
20295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20297 if test `eval echo '${'$as_ac_var'}'` = yes; then
20298   cat >>confdefs.h <<_ACEOF
20299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20300 _ACEOF
20301
20302 fi
20303 done
20304
20305     fi
20306   fi
20307
20308
20309
20310   echo "$as_me:$LINENO: checking for powl declaration" >&5
20311 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20312   if test x${glibcxx_cv_func_powl_use+set} != xset; then
20313     if test "${glibcxx_cv_func_powl_use+set}" = set; then
20314   echo $ECHO_N "(cached) $ECHO_C" >&6
20315 else
20316
20317
20318
20319       ac_ext=cc
20320 ac_cpp='$CXXCPP $CPPFLAGS'
20321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20324
20325       cat >conftest.$ac_ext <<_ACEOF
20326 #line $LINENO "configure"
20327 /* confdefs.h.  */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h.  */
20332 #include <math.h>
20333 int
20334 main ()
20335 {
20336  powl(0, 0);
20337   ;
20338   return 0;
20339 }
20340 _ACEOF
20341 rm -f conftest.$ac_objext
20342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20343   (eval $ac_compile) 2>&5
20344   ac_status=$?
20345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346   (exit $ac_status); } &&
20347          { ac_try='test -s conftest.$ac_objext'
20348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20349   (eval $ac_try) 2>&5
20350   ac_status=$?
20351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20352   (exit $ac_status); }; }; then
20353   glibcxx_cv_func_powl_use=yes
20354 else
20355   echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20357
20358 glibcxx_cv_func_powl_use=no
20359 fi
20360 rm -f conftest.$ac_objext conftest.$ac_ext
20361       ac_ext=c
20362 ac_cpp='$CPP $CPPFLAGS'
20363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20366
20367
20368 fi
20369
20370   fi
20371   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20372 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20373
20374   if test x$glibcxx_cv_func_powl_use = x"yes"; then
20375
20376 for ac_func in powl
20377 do
20378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20379 echo "$as_me:$LINENO: checking for $ac_func" >&5
20380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20381 if eval "test \"\${$as_ac_var+set}\" = set"; then
20382   echo $ECHO_N "(cached) $ECHO_C" >&6
20383 else
20384   if test x$gcc_no_link = xyes; then
20385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20387    { (exit 1); exit 1; }; }
20388 fi
20389 cat >conftest.$ac_ext <<_ACEOF
20390 #line $LINENO "configure"
20391 /* confdefs.h.  */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h.  */
20396 /* System header to define __stub macros and hopefully few prototypes,
20397     which can conflict with char $ac_func (); below.
20398     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20399     <limits.h> exists even on freestanding compilers.  */
20400 #ifdef __STDC__
20401 # include <limits.h>
20402 #else
20403 # include <assert.h>
20404 #endif
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>&5
20436   ac_status=$?
20437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438   (exit $ac_status); } &&
20439          { ac_try='test -s conftest$ac_exeext'
20440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441   (eval $ac_try) 2>&5
20442   ac_status=$?
20443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444   (exit $ac_status); }; }; then
20445   eval "$as_ac_var=yes"
20446 else
20447   echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 eval "$as_ac_var=no"
20451 fi
20452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20453 fi
20454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20456 if test `eval echo '${'$as_ac_var'}'` = yes; then
20457   cat >>confdefs.h <<_ACEOF
20458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20459 _ACEOF
20460
20461 fi
20462 done
20463
20464   else
20465
20466   echo "$as_me:$LINENO: checking for _powl declaration" >&5
20467 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20468   if test x${glibcxx_cv_func__powl_use+set} != xset; then
20469     if test "${glibcxx_cv_func__powl_use+set}" = set; then
20470   echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20472
20473
20474
20475       ac_ext=cc
20476 ac_cpp='$CXXCPP $CPPFLAGS'
20477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20480
20481       cat >conftest.$ac_ext <<_ACEOF
20482 #line $LINENO "configure"
20483 /* confdefs.h.  */
20484 _ACEOF
20485 cat confdefs.h >>conftest.$ac_ext
20486 cat >>conftest.$ac_ext <<_ACEOF
20487 /* end confdefs.h.  */
20488 #include <math.h>
20489 int
20490 main ()
20491 {
20492  _powl(0, 0);
20493   ;
20494   return 0;
20495 }
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499   (eval $ac_compile) 2>&5
20500   ac_status=$?
20501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502   (exit $ac_status); } &&
20503          { ac_try='test -s conftest.$ac_objext'
20504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20505   (eval $ac_try) 2>&5
20506   ac_status=$?
20507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508   (exit $ac_status); }; }; then
20509   glibcxx_cv_func__powl_use=yes
20510 else
20511   echo "$as_me: failed program was:" >&5
20512 sed 's/^/| /' conftest.$ac_ext >&5
20513
20514 glibcxx_cv_func__powl_use=no
20515 fi
20516 rm -f conftest.$ac_objext conftest.$ac_ext
20517       ac_ext=c
20518 ac_cpp='$CPP $CPPFLAGS'
20519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20522
20523
20524 fi
20525
20526   fi
20527   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20528 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20529
20530     if test x$glibcxx_cv_func__powl_use = x"yes"; then
20531
20532 for ac_func in _powl
20533 do
20534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20535 echo "$as_me:$LINENO: checking for $ac_func" >&5
20536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20537 if eval "test \"\${$as_ac_var+set}\" = set"; then
20538   echo $ECHO_N "(cached) $ECHO_C" >&6
20539 else
20540   if test x$gcc_no_link = xyes; then
20541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20543    { (exit 1); exit 1; }; }
20544 fi
20545 cat >conftest.$ac_ext <<_ACEOF
20546 #line $LINENO "configure"
20547 /* confdefs.h.  */
20548 _ACEOF
20549 cat confdefs.h >>conftest.$ac_ext
20550 cat >>conftest.$ac_ext <<_ACEOF
20551 /* end confdefs.h.  */
20552 /* System header to define __stub macros and hopefully few prototypes,
20553     which can conflict with char $ac_func (); below.
20554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20555     <limits.h> exists even on freestanding compilers.  */
20556 #ifdef __STDC__
20557 # include <limits.h>
20558 #else
20559 # include <assert.h>
20560 #endif
20561 /* Override any gcc2 internal prototype to avoid an error.  */
20562 #ifdef __cplusplus
20563 extern "C"
20564 {
20565 #endif
20566 /* We use char because int might match the return type of a gcc2
20567    builtin and then its argument prototype would still apply.  */
20568 char $ac_func ();
20569 /* The GNU C library defines this for functions which it implements
20570     to always fail with ENOSYS.  Some functions are actually named
20571     something starting with __ and the normal name is an alias.  */
20572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20573 choke me
20574 #else
20575 char (*f) () = $ac_func;
20576 #endif
20577 #ifdef __cplusplus
20578 }
20579 #endif
20580
20581 int
20582 main ()
20583 {
20584 return f != $ac_func;
20585   ;
20586   return 0;
20587 }
20588 _ACEOF
20589 rm -f conftest.$ac_objext conftest$ac_exeext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20591   (eval $ac_link) 2>&5
20592   ac_status=$?
20593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594   (exit $ac_status); } &&
20595          { ac_try='test -s conftest$ac_exeext'
20596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597   (eval $ac_try) 2>&5
20598   ac_status=$?
20599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600   (exit $ac_status); }; }; then
20601   eval "$as_ac_var=yes"
20602 else
20603   echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20605
20606 eval "$as_ac_var=no"
20607 fi
20608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20609 fi
20610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20612 if test `eval echo '${'$as_ac_var'}'` = yes; then
20613   cat >>confdefs.h <<_ACEOF
20614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20615 _ACEOF
20616
20617 fi
20618 done
20619
20620     fi
20621   fi
20622
20623
20624
20625   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20626 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20627   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20628     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20629   echo $ECHO_N "(cached) $ECHO_C" >&6
20630 else
20631
20632
20633
20634       ac_ext=cc
20635 ac_cpp='$CXXCPP $CPPFLAGS'
20636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20639
20640       cat >conftest.$ac_ext <<_ACEOF
20641 #line $LINENO "configure"
20642 /* confdefs.h.  */
20643 _ACEOF
20644 cat confdefs.h >>conftest.$ac_ext
20645 cat >>conftest.$ac_ext <<_ACEOF
20646 /* end confdefs.h.  */
20647 #include <math.h>
20648                       #ifdef HAVE_IEEEFP_H
20649                       #include <ieeefp.h>
20650                       #endif
20651
20652 int
20653 main ()
20654 {
20655  sqrtl(0);
20656   ;
20657   return 0;
20658 }
20659 _ACEOF
20660 rm -f conftest.$ac_objext
20661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20662   (eval $ac_compile) 2>&5
20663   ac_status=$?
20664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665   (exit $ac_status); } &&
20666          { ac_try='test -s conftest.$ac_objext'
20667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668   (eval $ac_try) 2>&5
20669   ac_status=$?
20670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671   (exit $ac_status); }; }; then
20672   glibcxx_cv_func_sqrtl_use=yes
20673 else
20674   echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20676
20677 glibcxx_cv_func_sqrtl_use=no
20678 fi
20679 rm -f conftest.$ac_objext conftest.$ac_ext
20680       ac_ext=c
20681 ac_cpp='$CPP $CPPFLAGS'
20682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20685
20686
20687 fi
20688
20689   fi
20690   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20691 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20692
20693   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20694
20695 for ac_func in sqrtl
20696 do
20697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20698 echo "$as_me:$LINENO: checking for $ac_func" >&5
20699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20700 if eval "test \"\${$as_ac_var+set}\" = set"; then
20701   echo $ECHO_N "(cached) $ECHO_C" >&6
20702 else
20703   if test x$gcc_no_link = xyes; then
20704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20706    { (exit 1); exit 1; }; }
20707 fi
20708 cat >conftest.$ac_ext <<_ACEOF
20709 #line $LINENO "configure"
20710 /* confdefs.h.  */
20711 _ACEOF
20712 cat confdefs.h >>conftest.$ac_ext
20713 cat >>conftest.$ac_ext <<_ACEOF
20714 /* end confdefs.h.  */
20715 /* System header to define __stub macros and hopefully few prototypes,
20716     which can conflict with char $ac_func (); below.
20717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20718     <limits.h> exists even on freestanding compilers.  */
20719 #ifdef __STDC__
20720 # include <limits.h>
20721 #else
20722 # include <assert.h>
20723 #endif
20724 /* Override any gcc2 internal prototype to avoid an error.  */
20725 #ifdef __cplusplus
20726 extern "C"
20727 {
20728 #endif
20729 /* We use char because int might match the return type of a gcc2
20730    builtin and then its argument prototype would still apply.  */
20731 char $ac_func ();
20732 /* The GNU C library defines this for functions which it implements
20733     to always fail with ENOSYS.  Some functions are actually named
20734     something starting with __ and the normal name is an alias.  */
20735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20736 choke me
20737 #else
20738 char (*f) () = $ac_func;
20739 #endif
20740 #ifdef __cplusplus
20741 }
20742 #endif
20743
20744 int
20745 main ()
20746 {
20747 return f != $ac_func;
20748   ;
20749   return 0;
20750 }
20751 _ACEOF
20752 rm -f conftest.$ac_objext conftest$ac_exeext
20753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20754   (eval $ac_link) 2>&5
20755   ac_status=$?
20756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757   (exit $ac_status); } &&
20758          { ac_try='test -s conftest$ac_exeext'
20759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760   (eval $ac_try) 2>&5
20761   ac_status=$?
20762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763   (exit $ac_status); }; }; then
20764   eval "$as_ac_var=yes"
20765 else
20766   echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20768
20769 eval "$as_ac_var=no"
20770 fi
20771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20772 fi
20773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20775 if test `eval echo '${'$as_ac_var'}'` = yes; then
20776   cat >>confdefs.h <<_ACEOF
20777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20778 _ACEOF
20779
20780 fi
20781 done
20782
20783   else
20784
20785   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20786 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20787   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20788     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20789   echo $ECHO_N "(cached) $ECHO_C" >&6
20790 else
20791
20792
20793
20794       ac_ext=cc
20795 ac_cpp='$CXXCPP $CPPFLAGS'
20796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20799
20800       cat >conftest.$ac_ext <<_ACEOF
20801 #line $LINENO "configure"
20802 /* confdefs.h.  */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h.  */
20807 #include <math.h>
20808                       #ifdef HAVE_IEEEFP_H
20809                       #include <ieeefp.h>
20810                       #endif
20811
20812 int
20813 main ()
20814 {
20815  _sqrtl(0);
20816   ;
20817   return 0;
20818 }
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20822   (eval $ac_compile) 2>&5
20823   ac_status=$?
20824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825   (exit $ac_status); } &&
20826          { ac_try='test -s conftest.$ac_objext'
20827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828   (eval $ac_try) 2>&5
20829   ac_status=$?
20830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831   (exit $ac_status); }; }; then
20832   glibcxx_cv_func__sqrtl_use=yes
20833 else
20834   echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 glibcxx_cv_func__sqrtl_use=no
20838 fi
20839 rm -f conftest.$ac_objext conftest.$ac_ext
20840       ac_ext=c
20841 ac_cpp='$CPP $CPPFLAGS'
20842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20845
20846
20847 fi
20848
20849   fi
20850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20851 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20852
20853     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20854
20855 for ac_func in _sqrtl
20856 do
20857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20858 echo "$as_me:$LINENO: checking for $ac_func" >&5
20859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20860 if eval "test \"\${$as_ac_var+set}\" = set"; then
20861   echo $ECHO_N "(cached) $ECHO_C" >&6
20862 else
20863   if test x$gcc_no_link = xyes; then
20864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20866    { (exit 1); exit 1; }; }
20867 fi
20868 cat >conftest.$ac_ext <<_ACEOF
20869 #line $LINENO "configure"
20870 /* confdefs.h.  */
20871 _ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h.  */
20875 /* System header to define __stub macros and hopefully few prototypes,
20876     which can conflict with char $ac_func (); below.
20877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20878     <limits.h> exists even on freestanding compilers.  */
20879 #ifdef __STDC__
20880 # include <limits.h>
20881 #else
20882 # include <assert.h>
20883 #endif
20884 /* Override any gcc2 internal prototype to avoid an error.  */
20885 #ifdef __cplusplus
20886 extern "C"
20887 {
20888 #endif
20889 /* We use char because int might match the return type of a gcc2
20890    builtin and then its argument prototype would still apply.  */
20891 char $ac_func ();
20892 /* The GNU C library defines this for functions which it implements
20893     to always fail with ENOSYS.  Some functions are actually named
20894     something starting with __ and the normal name is an alias.  */
20895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20896 choke me
20897 #else
20898 char (*f) () = $ac_func;
20899 #endif
20900 #ifdef __cplusplus
20901 }
20902 #endif
20903
20904 int
20905 main ()
20906 {
20907 return f != $ac_func;
20908   ;
20909   return 0;
20910 }
20911 _ACEOF
20912 rm -f conftest.$ac_objext conftest$ac_exeext
20913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20914   (eval $ac_link) 2>&5
20915   ac_status=$?
20916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917   (exit $ac_status); } &&
20918          { ac_try='test -s conftest$ac_exeext'
20919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20920   (eval $ac_try) 2>&5
20921   ac_status=$?
20922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923   (exit $ac_status); }; }; then
20924   eval "$as_ac_var=yes"
20925 else
20926   echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20928
20929 eval "$as_ac_var=no"
20930 fi
20931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20932 fi
20933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20935 if test `eval echo '${'$as_ac_var'}'` = yes; then
20936   cat >>confdefs.h <<_ACEOF
20937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20938 _ACEOF
20939
20940 fi
20941 done
20942
20943     fi
20944   fi
20945
20946
20947
20948   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20949 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20950   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20951     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20952   echo $ECHO_N "(cached) $ECHO_C" >&6
20953 else
20954
20955
20956
20957       ac_ext=cc
20958 ac_cpp='$CXXCPP $CPPFLAGS'
20959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20962
20963       cat >conftest.$ac_ext <<_ACEOF
20964 #line $LINENO "configure"
20965 /* confdefs.h.  */
20966 _ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h.  */
20970 #include <math.h>
20971 int
20972 main ()
20973 {
20974  sincosl(0, 0, 0);
20975   ;
20976   return 0;
20977 }
20978 _ACEOF
20979 rm -f conftest.$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981   (eval $ac_compile) 2>&5
20982   ac_status=$?
20983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984   (exit $ac_status); } &&
20985          { ac_try='test -s conftest.$ac_objext'
20986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987   (eval $ac_try) 2>&5
20988   ac_status=$?
20989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990   (exit $ac_status); }; }; then
20991   glibcxx_cv_func_sincosl_use=yes
20992 else
20993   echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20995
20996 glibcxx_cv_func_sincosl_use=no
20997 fi
20998 rm -f conftest.$ac_objext conftest.$ac_ext
20999       ac_ext=c
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21004
21005
21006 fi
21007
21008   fi
21009   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21010 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21011
21012   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21013
21014 for ac_func in sincosl
21015 do
21016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21017 echo "$as_me:$LINENO: checking for $ac_func" >&5
21018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21019 if eval "test \"\${$as_ac_var+set}\" = set"; then
21020   echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022   if test x$gcc_no_link = xyes; then
21023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21025    { (exit 1); exit 1; }; }
21026 fi
21027 cat >conftest.$ac_ext <<_ACEOF
21028 #line $LINENO "configure"
21029 /* confdefs.h.  */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h.  */
21034 /* System header to define __stub macros and hopefully few prototypes,
21035     which can conflict with char $ac_func (); below.
21036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21037     <limits.h> exists even on freestanding compilers.  */
21038 #ifdef __STDC__
21039 # include <limits.h>
21040 #else
21041 # include <assert.h>
21042 #endif
21043 /* Override any gcc2 internal prototype to avoid an error.  */
21044 #ifdef __cplusplus
21045 extern "C"
21046 {
21047 #endif
21048 /* We use char because int might match the return type of a gcc2
21049    builtin and then its argument prototype would still apply.  */
21050 char $ac_func ();
21051 /* The GNU C library defines this for functions which it implements
21052     to always fail with ENOSYS.  Some functions are actually named
21053     something starting with __ and the normal name is an alias.  */
21054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21055 choke me
21056 #else
21057 char (*f) () = $ac_func;
21058 #endif
21059 #ifdef __cplusplus
21060 }
21061 #endif
21062
21063 int
21064 main ()
21065 {
21066 return f != $ac_func;
21067   ;
21068   return 0;
21069 }
21070 _ACEOF
21071 rm -f conftest.$ac_objext conftest$ac_exeext
21072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21073   (eval $ac_link) 2>&5
21074   ac_status=$?
21075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076   (exit $ac_status); } &&
21077          { ac_try='test -s conftest$ac_exeext'
21078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079   (eval $ac_try) 2>&5
21080   ac_status=$?
21081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082   (exit $ac_status); }; }; then
21083   eval "$as_ac_var=yes"
21084 else
21085   echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21087
21088 eval "$as_ac_var=no"
21089 fi
21090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21091 fi
21092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21094 if test `eval echo '${'$as_ac_var'}'` = yes; then
21095   cat >>confdefs.h <<_ACEOF
21096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21097 _ACEOF
21098
21099 fi
21100 done
21101
21102   else
21103
21104   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21105 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21106   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21107     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21108   echo $ECHO_N "(cached) $ECHO_C" >&6
21109 else
21110
21111
21112
21113       ac_ext=cc
21114 ac_cpp='$CXXCPP $CPPFLAGS'
21115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21118
21119       cat >conftest.$ac_ext <<_ACEOF
21120 #line $LINENO "configure"
21121 /* confdefs.h.  */
21122 _ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h.  */
21126 #include <math.h>
21127 int
21128 main ()
21129 {
21130  _sincosl(0, 0, 0);
21131   ;
21132   return 0;
21133 }
21134 _ACEOF
21135 rm -f conftest.$ac_objext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21137   (eval $ac_compile) 2>&5
21138   ac_status=$?
21139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140   (exit $ac_status); } &&
21141          { ac_try='test -s conftest.$ac_objext'
21142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21143   (eval $ac_try) 2>&5
21144   ac_status=$?
21145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21146   (exit $ac_status); }; }; then
21147   glibcxx_cv_func__sincosl_use=yes
21148 else
21149   echo "$as_me: failed program was:" >&5
21150 sed 's/^/| /' conftest.$ac_ext >&5
21151
21152 glibcxx_cv_func__sincosl_use=no
21153 fi
21154 rm -f conftest.$ac_objext conftest.$ac_ext
21155       ac_ext=c
21156 ac_cpp='$CPP $CPPFLAGS'
21157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21160
21161
21162 fi
21163
21164   fi
21165   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21166 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21167
21168     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21169
21170 for ac_func in _sincosl
21171 do
21172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21173 echo "$as_me:$LINENO: checking for $ac_func" >&5
21174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21175 if eval "test \"\${$as_ac_var+set}\" = set"; then
21176   echo $ECHO_N "(cached) $ECHO_C" >&6
21177 else
21178   if test x$gcc_no_link = xyes; then
21179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21181    { (exit 1); exit 1; }; }
21182 fi
21183 cat >conftest.$ac_ext <<_ACEOF
21184 #line $LINENO "configure"
21185 /* confdefs.h.  */
21186 _ACEOF
21187 cat confdefs.h >>conftest.$ac_ext
21188 cat >>conftest.$ac_ext <<_ACEOF
21189 /* end confdefs.h.  */
21190 /* System header to define __stub macros and hopefully few prototypes,
21191     which can conflict with char $ac_func (); below.
21192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21193     <limits.h> exists even on freestanding compilers.  */
21194 #ifdef __STDC__
21195 # include <limits.h>
21196 #else
21197 # include <assert.h>
21198 #endif
21199 /* Override any gcc2 internal prototype to avoid an error.  */
21200 #ifdef __cplusplus
21201 extern "C"
21202 {
21203 #endif
21204 /* We use char because int might match the return type of a gcc2
21205    builtin and then its argument prototype would still apply.  */
21206 char $ac_func ();
21207 /* The GNU C library defines this for functions which it implements
21208     to always fail with ENOSYS.  Some functions are actually named
21209     something starting with __ and the normal name is an alias.  */
21210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21211 choke me
21212 #else
21213 char (*f) () = $ac_func;
21214 #endif
21215 #ifdef __cplusplus
21216 }
21217 #endif
21218
21219 int
21220 main ()
21221 {
21222 return f != $ac_func;
21223   ;
21224   return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest.$ac_objext conftest$ac_exeext
21228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21229   (eval $ac_link) 2>&5
21230   ac_status=$?
21231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232   (exit $ac_status); } &&
21233          { ac_try='test -s conftest$ac_exeext'
21234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235   (eval $ac_try) 2>&5
21236   ac_status=$?
21237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238   (exit $ac_status); }; }; then
21239   eval "$as_ac_var=yes"
21240 else
21241   echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21243
21244 eval "$as_ac_var=no"
21245 fi
21246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21247 fi
21248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21250 if test `eval echo '${'$as_ac_var'}'` = yes; then
21251   cat >>confdefs.h <<_ACEOF
21252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21253 _ACEOF
21254
21255 fi
21256 done
21257
21258     fi
21259   fi
21260
21261
21262
21263   echo "$as_me:$LINENO: checking for finitel declaration" >&5
21264 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21265   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21266     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21267   echo $ECHO_N "(cached) $ECHO_C" >&6
21268 else
21269
21270
21271
21272       ac_ext=cc
21273 ac_cpp='$CXXCPP $CPPFLAGS'
21274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21277
21278       cat >conftest.$ac_ext <<_ACEOF
21279 #line $LINENO "configure"
21280 /* confdefs.h.  */
21281 _ACEOF
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h.  */
21285 #include <math.h>
21286                       #ifdef HAVE_IEEEFP_H
21287                       #include <ieeefp.h>
21288                       #endif
21289
21290 int
21291 main ()
21292 {
21293  finitel(0);
21294   ;
21295   return 0;
21296 }
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21300   (eval $ac_compile) 2>&5
21301   ac_status=$?
21302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303   (exit $ac_status); } &&
21304          { ac_try='test -s conftest.$ac_objext'
21305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306   (eval $ac_try) 2>&5
21307   ac_status=$?
21308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309   (exit $ac_status); }; }; then
21310   glibcxx_cv_func_finitel_use=yes
21311 else
21312   echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21314
21315 glibcxx_cv_func_finitel_use=no
21316 fi
21317 rm -f conftest.$ac_objext conftest.$ac_ext
21318       ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323
21324
21325 fi
21326
21327   fi
21328   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21329 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21330
21331   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21332
21333 for ac_func in finitel
21334 do
21335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21336 echo "$as_me:$LINENO: checking for $ac_func" >&5
21337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21338 if eval "test \"\${$as_ac_var+set}\" = set"; then
21339   echo $ECHO_N "(cached) $ECHO_C" >&6
21340 else
21341   if test x$gcc_no_link = xyes; then
21342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21344    { (exit 1); exit 1; }; }
21345 fi
21346 cat >conftest.$ac_ext <<_ACEOF
21347 #line $LINENO "configure"
21348 /* confdefs.h.  */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h.  */
21353 /* System header to define __stub macros and hopefully few prototypes,
21354     which can conflict with char $ac_func (); below.
21355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21356     <limits.h> exists even on freestanding compilers.  */
21357 #ifdef __STDC__
21358 # include <limits.h>
21359 #else
21360 # include <assert.h>
21361 #endif
21362 /* Override any gcc2 internal prototype to avoid an error.  */
21363 #ifdef __cplusplus
21364 extern "C"
21365 {
21366 #endif
21367 /* We use char because int might match the return type of a gcc2
21368    builtin and then its argument prototype would still apply.  */
21369 char $ac_func ();
21370 /* The GNU C library defines this for functions which it implements
21371     to always fail with ENOSYS.  Some functions are actually named
21372     something starting with __ and the normal name is an alias.  */
21373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21374 choke me
21375 #else
21376 char (*f) () = $ac_func;
21377 #endif
21378 #ifdef __cplusplus
21379 }
21380 #endif
21381
21382 int
21383 main ()
21384 {
21385 return f != $ac_func;
21386   ;
21387   return 0;
21388 }
21389 _ACEOF
21390 rm -f conftest.$ac_objext conftest$ac_exeext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21392   (eval $ac_link) 2>&5
21393   ac_status=$?
21394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395   (exit $ac_status); } &&
21396          { ac_try='test -s conftest$ac_exeext'
21397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21398   (eval $ac_try) 2>&5
21399   ac_status=$?
21400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401   (exit $ac_status); }; }; then
21402   eval "$as_ac_var=yes"
21403 else
21404   echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21406
21407 eval "$as_ac_var=no"
21408 fi
21409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21410 fi
21411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21413 if test `eval echo '${'$as_ac_var'}'` = yes; then
21414   cat >>confdefs.h <<_ACEOF
21415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21416 _ACEOF
21417
21418 fi
21419 done
21420
21421   else
21422
21423   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21424 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21425   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21426     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21427   echo $ECHO_N "(cached) $ECHO_C" >&6
21428 else
21429
21430
21431
21432       ac_ext=cc
21433 ac_cpp='$CXXCPP $CPPFLAGS'
21434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21437
21438       cat >conftest.$ac_ext <<_ACEOF
21439 #line $LINENO "configure"
21440 /* confdefs.h.  */
21441 _ACEOF
21442 cat confdefs.h >>conftest.$ac_ext
21443 cat >>conftest.$ac_ext <<_ACEOF
21444 /* end confdefs.h.  */
21445 #include <math.h>
21446                       #ifdef HAVE_IEEEFP_H
21447                       #include <ieeefp.h>
21448                       #endif
21449
21450 int
21451 main ()
21452 {
21453  _finitel(0);
21454   ;
21455   return 0;
21456 }
21457 _ACEOF
21458 rm -f conftest.$ac_objext
21459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21460   (eval $ac_compile) 2>&5
21461   ac_status=$?
21462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463   (exit $ac_status); } &&
21464          { ac_try='test -s conftest.$ac_objext'
21465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466   (eval $ac_try) 2>&5
21467   ac_status=$?
21468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469   (exit $ac_status); }; }; then
21470   glibcxx_cv_func__finitel_use=yes
21471 else
21472   echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 glibcxx_cv_func__finitel_use=no
21476 fi
21477 rm -f conftest.$ac_objext conftest.$ac_ext
21478       ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21483
21484
21485 fi
21486
21487   fi
21488   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21489 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21490
21491     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21492
21493 for ac_func in _finitel
21494 do
21495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21496 echo "$as_me:$LINENO: checking for $ac_func" >&5
21497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21498 if eval "test \"\${$as_ac_var+set}\" = set"; then
21499   echo $ECHO_N "(cached) $ECHO_C" >&6
21500 else
21501   if test x$gcc_no_link = xyes; then
21502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21504    { (exit 1); exit 1; }; }
21505 fi
21506 cat >conftest.$ac_ext <<_ACEOF
21507 #line $LINENO "configure"
21508 /* confdefs.h.  */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h.  */
21513 /* System header to define __stub macros and hopefully few prototypes,
21514     which can conflict with char $ac_func (); below.
21515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21516     <limits.h> exists even on freestanding compilers.  */
21517 #ifdef __STDC__
21518 # include <limits.h>
21519 #else
21520 # include <assert.h>
21521 #endif
21522 /* Override any gcc2 internal prototype to avoid an error.  */
21523 #ifdef __cplusplus
21524 extern "C"
21525 {
21526 #endif
21527 /* We use char because int might match the return type of a gcc2
21528    builtin and then its argument prototype would still apply.  */
21529 char $ac_func ();
21530 /* The GNU C library defines this for functions which it implements
21531     to always fail with ENOSYS.  Some functions are actually named
21532     something starting with __ and the normal name is an alias.  */
21533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21534 choke me
21535 #else
21536 char (*f) () = $ac_func;
21537 #endif
21538 #ifdef __cplusplus
21539 }
21540 #endif
21541
21542 int
21543 main ()
21544 {
21545 return f != $ac_func;
21546   ;
21547   return 0;
21548 }
21549 _ACEOF
21550 rm -f conftest.$ac_objext conftest$ac_exeext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552   (eval $ac_link) 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.$ac_objext conftest$ac_exeext conftest.$ac_ext
21570 fi
21571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21573 if test `eval echo '${'$as_ac_var'}'` = yes; then
21574   cat >>confdefs.h <<_ACEOF
21575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21576 _ACEOF
21577
21578 fi
21579 done
21580
21581     fi
21582   fi
21583
21584
21585
21586
21587   echo "$as_me:$LINENO: checking for _float trig functions" >&5
21588 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21589   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21590   echo $ECHO_N "(cached) $ECHO_C" >&6
21591 else
21592
21593
21594
21595     ac_ext=cc
21596 ac_cpp='$CXXCPP $CPPFLAGS'
21597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21600
21601     cat >conftest.$ac_ext <<_ACEOF
21602 #line $LINENO "configure"
21603 /* confdefs.h.  */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h.  */
21608 #include <math.h>
21609 int
21610 main ()
21611 {
21612  `for x in _acosf _asinf _atanf \
21613                                           _cosf _sinf _tanf \
21614                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21615   ;
21616   return 0;
21617 }
21618 _ACEOF
21619 rm -f conftest.$ac_objext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21621   (eval $ac_compile) 2>&5
21622   ac_status=$?
21623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624   (exit $ac_status); } &&
21625          { ac_try='test -s conftest.$ac_objext'
21626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627   (eval $ac_try) 2>&5
21628   ac_status=$?
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); }; }; then
21631   glibcxx_cv_func__float_trig_use=yes
21632 else
21633   echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 glibcxx_cv_func__float_trig_use=no
21637 fi
21638 rm -f conftest.$ac_objext conftest.$ac_ext
21639     ac_ext=c
21640 ac_cpp='$CPP $CPPFLAGS'
21641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21644
21645 fi
21646
21647   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21648 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21649   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659 for ac_func in _acosf _asinf _atanf \
21660                                           _cosf _sinf _tanf \
21661                                           _coshf _sinhf _tanhf
21662 do
21663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21664 echo "$as_me:$LINENO: checking for $ac_func" >&5
21665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21666 if eval "test \"\${$as_ac_var+set}\" = set"; then
21667   echo $ECHO_N "(cached) $ECHO_C" >&6
21668 else
21669   if test x$gcc_no_link = xyes; then
21670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21672    { (exit 1); exit 1; }; }
21673 fi
21674 cat >conftest.$ac_ext <<_ACEOF
21675 #line $LINENO "configure"
21676 /* confdefs.h.  */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h.  */
21681 /* System header to define __stub macros and hopefully few prototypes,
21682     which can conflict with char $ac_func (); below.
21683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21684     <limits.h> exists even on freestanding compilers.  */
21685 #ifdef __STDC__
21686 # include <limits.h>
21687 #else
21688 # include <assert.h>
21689 #endif
21690 /* Override any gcc2 internal prototype to avoid an error.  */
21691 #ifdef __cplusplus
21692 extern "C"
21693 {
21694 #endif
21695 /* We use char because int might match the return type of a gcc2
21696    builtin and then its argument prototype would still apply.  */
21697 char $ac_func ();
21698 /* The GNU C library defines this for functions which it implements
21699     to always fail with ENOSYS.  Some functions are actually named
21700     something starting with __ and the normal name is an alias.  */
21701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21702 choke me
21703 #else
21704 char (*f) () = $ac_func;
21705 #endif
21706 #ifdef __cplusplus
21707 }
21708 #endif
21709
21710 int
21711 main ()
21712 {
21713 return f != $ac_func;
21714   ;
21715   return 0;
21716 }
21717 _ACEOF
21718 rm -f conftest.$ac_objext conftest$ac_exeext
21719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21720   (eval $ac_link) 2>&5
21721   ac_status=$?
21722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723   (exit $ac_status); } &&
21724          { ac_try='test -s conftest$ac_exeext'
21725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21726   (eval $ac_try) 2>&5
21727   ac_status=$?
21728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729   (exit $ac_status); }; }; then
21730   eval "$as_ac_var=yes"
21731 else
21732   echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.$ac_ext >&5
21734
21735 eval "$as_ac_var=no"
21736 fi
21737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21738 fi
21739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21741 if test `eval echo '${'$as_ac_var'}'` = yes; then
21742   cat >>confdefs.h <<_ACEOF
21743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21744 _ACEOF
21745
21746 fi
21747 done
21748
21749   fi
21750
21751
21752   echo "$as_me:$LINENO: checking for _float round functions" >&5
21753 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21754   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21755   echo $ECHO_N "(cached) $ECHO_C" >&6
21756 else
21757
21758
21759
21760     ac_ext=cc
21761 ac_cpp='$CXXCPP $CPPFLAGS'
21762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21765
21766     cat >conftest.$ac_ext <<_ACEOF
21767 #line $LINENO "configure"
21768 /* confdefs.h.  */
21769 _ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h.  */
21773 #include <math.h>
21774 int
21775 main ()
21776 {
21777  `for x in _ceilf _floorf; do echo "$x (0);"; done`
21778   ;
21779   return 0;
21780 }
21781 _ACEOF
21782 rm -f conftest.$ac_objext
21783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21784   (eval $ac_compile) 2>&5
21785   ac_status=$?
21786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787   (exit $ac_status); } &&
21788          { ac_try='test -s conftest.$ac_objext'
21789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790   (eval $ac_try) 2>&5
21791   ac_status=$?
21792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793   (exit $ac_status); }; }; then
21794   glibcxx_cv_func__float_round_use=yes
21795 else
21796   echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 glibcxx_cv_func__float_round_use=no
21800 fi
21801 rm -f conftest.$ac_objext conftest.$ac_ext
21802     ac_ext=c
21803 ac_cpp='$CPP $CPPFLAGS'
21804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21807
21808 fi
21809
21810   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21811 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21812   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21813
21814
21815 for ac_func in _ceilf _floorf
21816 do
21817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21818 echo "$as_me:$LINENO: checking for $ac_func" >&5
21819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21820 if eval "test \"\${$as_ac_var+set}\" = set"; then
21821   echo $ECHO_N "(cached) $ECHO_C" >&6
21822 else
21823   if test x$gcc_no_link = xyes; then
21824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21826    { (exit 1); exit 1; }; }
21827 fi
21828 cat >conftest.$ac_ext <<_ACEOF
21829 #line $LINENO "configure"
21830 /* confdefs.h.  */
21831 _ACEOF
21832 cat confdefs.h >>conftest.$ac_ext
21833 cat >>conftest.$ac_ext <<_ACEOF
21834 /* end confdefs.h.  */
21835 /* System header to define __stub macros and hopefully few prototypes,
21836     which can conflict with char $ac_func (); below.
21837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21838     <limits.h> exists even on freestanding compilers.  */
21839 #ifdef __STDC__
21840 # include <limits.h>
21841 #else
21842 # include <assert.h>
21843 #endif
21844 /* Override any gcc2 internal prototype to avoid an error.  */
21845 #ifdef __cplusplus
21846 extern "C"
21847 {
21848 #endif
21849 /* We use char because int might match the return type of a gcc2
21850    builtin and then its argument prototype would still apply.  */
21851 char $ac_func ();
21852 /* The GNU C library defines this for functions which it implements
21853     to always fail with ENOSYS.  Some functions are actually named
21854     something starting with __ and the normal name is an alias.  */
21855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21856 choke me
21857 #else
21858 char (*f) () = $ac_func;
21859 #endif
21860 #ifdef __cplusplus
21861 }
21862 #endif
21863
21864 int
21865 main ()
21866 {
21867 return f != $ac_func;
21868   ;
21869   return 0;
21870 }
21871 _ACEOF
21872 rm -f conftest.$ac_objext conftest$ac_exeext
21873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21874   (eval $ac_link) 2>&5
21875   ac_status=$?
21876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877   (exit $ac_status); } &&
21878          { ac_try='test -s conftest$ac_exeext'
21879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21880   (eval $ac_try) 2>&5
21881   ac_status=$?
21882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883   (exit $ac_status); }; }; then
21884   eval "$as_ac_var=yes"
21885 else
21886   echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21888
21889 eval "$as_ac_var=no"
21890 fi
21891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21892 fi
21893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21895 if test `eval echo '${'$as_ac_var'}'` = yes; then
21896   cat >>confdefs.h <<_ACEOF
21897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21898 _ACEOF
21899
21900 fi
21901 done
21902
21903   fi
21904
21905
21906
21907   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21908 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21909   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21910   echo $ECHO_N "(cached) $ECHO_C" >&6
21911 else
21912
21913
21914
21915     ac_ext=cc
21916 ac_cpp='$CXXCPP $CPPFLAGS'
21917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21920
21921     cat >conftest.$ac_ext <<_ACEOF
21922 #line $LINENO "configure"
21923 /* confdefs.h.  */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h.  */
21928 #include <math.h>
21929 int
21930 main ()
21931 {
21932  `for x in _acosl _asinl _atanl \
21933                                           _cosl _sinl _tanl \
21934                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21935   ;
21936   return 0;
21937 }
21938 _ACEOF
21939 rm -f conftest.$ac_objext
21940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21941   (eval $ac_compile) 2>&5
21942   ac_status=$?
21943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944   (exit $ac_status); } &&
21945          { ac_try='test -s conftest.$ac_objext'
21946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947   (eval $ac_try) 2>&5
21948   ac_status=$?
21949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950   (exit $ac_status); }; }; then
21951   glibcxx_cv_func__long_double_trig_use=yes
21952 else
21953   echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 glibcxx_cv_func__long_double_trig_use=no
21957 fi
21958 rm -f conftest.$ac_objext conftest.$ac_ext
21959     ac_ext=c
21960 ac_cpp='$CPP $CPPFLAGS'
21961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21964
21965 fi
21966
21967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21968 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21969   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979 for ac_func in _acosl _asinl _atanl \
21980                                           _cosl _sinl _tanl \
21981                                           _coshl _sinhl _tanhl
21982 do
21983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21984 echo "$as_me:$LINENO: checking for $ac_func" >&5
21985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21986 if eval "test \"\${$as_ac_var+set}\" = set"; then
21987   echo $ECHO_N "(cached) $ECHO_C" >&6
21988 else
21989   if test x$gcc_no_link = xyes; then
21990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21992    { (exit 1); exit 1; }; }
21993 fi
21994 cat >conftest.$ac_ext <<_ACEOF
21995 #line $LINENO "configure"
21996 /* confdefs.h.  */
21997 _ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h.  */
22001 /* System header to define __stub macros and hopefully few prototypes,
22002     which can conflict with char $ac_func (); below.
22003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22004     <limits.h> exists even on freestanding compilers.  */
22005 #ifdef __STDC__
22006 # include <limits.h>
22007 #else
22008 # include <assert.h>
22009 #endif
22010 /* Override any gcc2 internal prototype to avoid an error.  */
22011 #ifdef __cplusplus
22012 extern "C"
22013 {
22014 #endif
22015 /* We use char because int might match the return type of a gcc2
22016    builtin and then its argument prototype would still apply.  */
22017 char $ac_func ();
22018 /* The GNU C library defines this for functions which it implements
22019     to always fail with ENOSYS.  Some functions are actually named
22020     something starting with __ and the normal name is an alias.  */
22021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22022 choke me
22023 #else
22024 char (*f) () = $ac_func;
22025 #endif
22026 #ifdef __cplusplus
22027 }
22028 #endif
22029
22030 int
22031 main ()
22032 {
22033 return f != $ac_func;
22034   ;
22035   return 0;
22036 }
22037 _ACEOF
22038 rm -f conftest.$ac_objext conftest$ac_exeext
22039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22040   (eval $ac_link) 2>&5
22041   ac_status=$?
22042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043   (exit $ac_status); } &&
22044          { ac_try='test -s conftest$ac_exeext'
22045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046   (eval $ac_try) 2>&5
22047   ac_status=$?
22048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049   (exit $ac_status); }; }; then
22050   eval "$as_ac_var=yes"
22051 else
22052   echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22054
22055 eval "$as_ac_var=no"
22056 fi
22057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22058 fi
22059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22061 if test `eval echo '${'$as_ac_var'}'` = yes; then
22062   cat >>confdefs.h <<_ACEOF
22063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22064 _ACEOF
22065
22066 fi
22067 done
22068
22069   fi
22070
22071
22072   echo "$as_me:$LINENO: checking for _long double round functions" >&5
22073 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22074   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22075   echo $ECHO_N "(cached) $ECHO_C" >&6
22076 else
22077
22078
22079
22080     ac_ext=cc
22081 ac_cpp='$CXXCPP $CPPFLAGS'
22082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22085
22086     cat >conftest.$ac_ext <<_ACEOF
22087 #line $LINENO "configure"
22088 /* confdefs.h.  */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h.  */
22093 #include <math.h>
22094 int
22095 main ()
22096 {
22097  `for x in _ceill _floorl; do echo "$x (0);"; done`
22098   ;
22099   return 0;
22100 }
22101 _ACEOF
22102 rm -f conftest.$ac_objext
22103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22104   (eval $ac_compile) 2>&5
22105   ac_status=$?
22106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107   (exit $ac_status); } &&
22108          { ac_try='test -s conftest.$ac_objext'
22109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110   (eval $ac_try) 2>&5
22111   ac_status=$?
22112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113   (exit $ac_status); }; }; then
22114   glibcxx_cv_func__long_double_round_use=yes
22115 else
22116   echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22118
22119 glibcxx_cv_func__long_double_round_use=no
22120 fi
22121 rm -f conftest.$ac_objext conftest.$ac_ext
22122     ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127
22128 fi
22129
22130   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22131 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22132   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22133
22134
22135 for ac_func in _ceill _floorl
22136 do
22137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22138 echo "$as_me:$LINENO: checking for $ac_func" >&5
22139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22140 if eval "test \"\${$as_ac_var+set}\" = set"; then
22141   echo $ECHO_N "(cached) $ECHO_C" >&6
22142 else
22143   if test x$gcc_no_link = xyes; then
22144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22146    { (exit 1); exit 1; }; }
22147 fi
22148 cat >conftest.$ac_ext <<_ACEOF
22149 #line $LINENO "configure"
22150 /* confdefs.h.  */
22151 _ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h.  */
22155 /* System header to define __stub macros and hopefully few prototypes,
22156     which can conflict with char $ac_func (); below.
22157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22158     <limits.h> exists even on freestanding compilers.  */
22159 #ifdef __STDC__
22160 # include <limits.h>
22161 #else
22162 # include <assert.h>
22163 #endif
22164 /* Override any gcc2 internal prototype to avoid an error.  */
22165 #ifdef __cplusplus
22166 extern "C"
22167 {
22168 #endif
22169 /* We use char because int might match the return type of a gcc2
22170    builtin and then its argument prototype would still apply.  */
22171 char $ac_func ();
22172 /* The GNU C library defines this for functions which it implements
22173     to always fail with ENOSYS.  Some functions are actually named
22174     something starting with __ and the normal name is an alias.  */
22175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22176 choke me
22177 #else
22178 char (*f) () = $ac_func;
22179 #endif
22180 #ifdef __cplusplus
22181 }
22182 #endif
22183
22184 int
22185 main ()
22186 {
22187 return f != $ac_func;
22188   ;
22189   return 0;
22190 }
22191 _ACEOF
22192 rm -f conftest.$ac_objext conftest$ac_exeext
22193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22194   (eval $ac_link) 2>&5
22195   ac_status=$?
22196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197   (exit $ac_status); } &&
22198          { ac_try='test -s conftest$ac_exeext'
22199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200   (eval $ac_try) 2>&5
22201   ac_status=$?
22202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203   (exit $ac_status); }; }; then
22204   eval "$as_ac_var=yes"
22205 else
22206   echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22208
22209 eval "$as_ac_var=no"
22210 fi
22211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22212 fi
22213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22215 if test `eval echo '${'$as_ac_var'}'` = yes; then
22216   cat >>confdefs.h <<_ACEOF
22217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22218 _ACEOF
22219
22220 fi
22221 done
22222
22223   fi
22224
22225
22226   LIBS="$ac_save_LIBS"
22227   CXXFLAGS="$ac_save_CXXFLAGS"
22228
22229
22230
22231   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22232 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22233   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22234     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22235   echo $ECHO_N "(cached) $ECHO_C" >&6
22236 else
22237
22238
22239
22240       ac_ext=cc
22241 ac_cpp='$CXXCPP $CPPFLAGS'
22242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22245
22246       cat >conftest.$ac_ext <<_ACEOF
22247 #line $LINENO "configure"
22248 /* confdefs.h.  */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h.  */
22253 #include <math.h>
22254 int
22255 main ()
22256 {
22257  __builtin_abs(0);
22258   ;
22259   return 0;
22260 }
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264   (eval $ac_compile) 2>&5
22265   ac_status=$?
22266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267   (exit $ac_status); } &&
22268          { ac_try='test -s conftest.$ac_objext'
22269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270   (eval $ac_try) 2>&5
22271   ac_status=$?
22272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273   (exit $ac_status); }; }; then
22274   glibcxx_cv_func___builtin_abs_use=yes
22275 else
22276   echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 glibcxx_cv_func___builtin_abs_use=no
22280 fi
22281 rm -f conftest.$ac_objext conftest.$ac_ext
22282       ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22287
22288
22289 fi
22290
22291   fi
22292   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22293 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22294   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22295     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22296 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22297     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22298       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22299   echo $ECHO_N "(cached) $ECHO_C" >&6
22300 else
22301
22302         if test x$gcc_no_link = xyes; then
22303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22305    { (exit 1); exit 1; }; }
22306 fi
22307 cat >conftest.$ac_ext <<_ACEOF
22308 #line $LINENO "configure"
22309 /* confdefs.h.  */
22310 _ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h.  */
22314 #include <math.h>
22315 int
22316 main ()
22317 {
22318  __builtin_abs(0);
22319   ;
22320   return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest.$ac_objext conftest$ac_exeext
22324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22325   (eval $ac_link) 2>&5
22326   ac_status=$?
22327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328   (exit $ac_status); } &&
22329          { ac_try='test -s conftest$ac_exeext'
22330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22331   (eval $ac_try) 2>&5
22332   ac_status=$?
22333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334   (exit $ac_status); }; }; then
22335   glibcxx_cv_func___builtin_abs_link=yes
22336 else
22337   echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22339
22340 glibcxx_cv_func___builtin_abs_link=no
22341 fi
22342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22343
22344 fi
22345
22346     fi
22347     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22348 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22349     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22350       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22351
22352 cat >>confdefs.h <<_ACEOF
22353 #define ${ac_tr_func} 1
22354 _ACEOF
22355
22356     fi
22357   fi
22358
22359
22360   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22361 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22362   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22363     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22364   echo $ECHO_N "(cached) $ECHO_C" >&6
22365 else
22366
22367
22368
22369       ac_ext=cc
22370 ac_cpp='$CXXCPP $CPPFLAGS'
22371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22374
22375       cat >conftest.$ac_ext <<_ACEOF
22376 #line $LINENO "configure"
22377 /* confdefs.h.  */
22378 _ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h.  */
22382 #include <math.h>
22383 int
22384 main ()
22385 {
22386  __builtin_fabsf(0);
22387   ;
22388   return 0;
22389 }
22390 _ACEOF
22391 rm -f conftest.$ac_objext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393   (eval $ac_compile) 2>&5
22394   ac_status=$?
22395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22396   (exit $ac_status); } &&
22397          { ac_try='test -s conftest.$ac_objext'
22398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22399   (eval $ac_try) 2>&5
22400   ac_status=$?
22401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402   (exit $ac_status); }; }; then
22403   glibcxx_cv_func___builtin_fabsf_use=yes
22404 else
22405   echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 glibcxx_cv_func___builtin_fabsf_use=no
22409 fi
22410 rm -f conftest.$ac_objext conftest.$ac_ext
22411       ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22416
22417
22418 fi
22419
22420   fi
22421   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22422 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22423   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22424     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22425 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22426     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22427       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22428   echo $ECHO_N "(cached) $ECHO_C" >&6
22429 else
22430
22431         if test x$gcc_no_link = xyes; then
22432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22434    { (exit 1); exit 1; }; }
22435 fi
22436 cat >conftest.$ac_ext <<_ACEOF
22437 #line $LINENO "configure"
22438 /* confdefs.h.  */
22439 _ACEOF
22440 cat confdefs.h >>conftest.$ac_ext
22441 cat >>conftest.$ac_ext <<_ACEOF
22442 /* end confdefs.h.  */
22443 #include <math.h>
22444 int
22445 main ()
22446 {
22447  __builtin_fabsf(0);
22448   ;
22449   return 0;
22450 }
22451 _ACEOF
22452 rm -f conftest.$ac_objext conftest$ac_exeext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22454   (eval $ac_link) 2>&5
22455   ac_status=$?
22456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457   (exit $ac_status); } &&
22458          { ac_try='test -s conftest$ac_exeext'
22459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460   (eval $ac_try) 2>&5
22461   ac_status=$?
22462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463   (exit $ac_status); }; }; then
22464   glibcxx_cv_func___builtin_fabsf_link=yes
22465 else
22466   echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 glibcxx_cv_func___builtin_fabsf_link=no
22470 fi
22471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22472
22473 fi
22474
22475     fi
22476     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22477 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22478     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22479       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22480
22481 cat >>confdefs.h <<_ACEOF
22482 #define ${ac_tr_func} 1
22483 _ACEOF
22484
22485     fi
22486   fi
22487
22488
22489   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22490 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22491   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22492     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22493   echo $ECHO_N "(cached) $ECHO_C" >&6
22494 else
22495
22496
22497
22498       ac_ext=cc
22499 ac_cpp='$CXXCPP $CPPFLAGS'
22500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22503
22504       cat >conftest.$ac_ext <<_ACEOF
22505 #line $LINENO "configure"
22506 /* confdefs.h.  */
22507 _ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h.  */
22511 #include <math.h>
22512 int
22513 main ()
22514 {
22515  __builtin_fabs(0);
22516   ;
22517   return 0;
22518 }
22519 _ACEOF
22520 rm -f conftest.$ac_objext
22521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22522   (eval $ac_compile) 2>&5
22523   ac_status=$?
22524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525   (exit $ac_status); } &&
22526          { ac_try='test -s conftest.$ac_objext'
22527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528   (eval $ac_try) 2>&5
22529   ac_status=$?
22530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531   (exit $ac_status); }; }; then
22532   glibcxx_cv_func___builtin_fabs_use=yes
22533 else
22534   echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 glibcxx_cv_func___builtin_fabs_use=no
22538 fi
22539 rm -f conftest.$ac_objext conftest.$ac_ext
22540       ac_ext=c
22541 ac_cpp='$CPP $CPPFLAGS'
22542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22545
22546
22547 fi
22548
22549   fi
22550   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22551 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22552   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22553     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22554 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22555     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22556       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22557   echo $ECHO_N "(cached) $ECHO_C" >&6
22558 else
22559
22560         if test x$gcc_no_link = xyes; then
22561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22563    { (exit 1); exit 1; }; }
22564 fi
22565 cat >conftest.$ac_ext <<_ACEOF
22566 #line $LINENO "configure"
22567 /* confdefs.h.  */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h.  */
22572 #include <math.h>
22573 int
22574 main ()
22575 {
22576  __builtin_fabs(0);
22577   ;
22578   return 0;
22579 }
22580 _ACEOF
22581 rm -f conftest.$ac_objext conftest$ac_exeext
22582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22583   (eval $ac_link) 2>&5
22584   ac_status=$?
22585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586   (exit $ac_status); } &&
22587          { ac_try='test -s conftest$ac_exeext'
22588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589   (eval $ac_try) 2>&5
22590   ac_status=$?
22591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592   (exit $ac_status); }; }; then
22593   glibcxx_cv_func___builtin_fabs_link=yes
22594 else
22595   echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22597
22598 glibcxx_cv_func___builtin_fabs_link=no
22599 fi
22600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22601
22602 fi
22603
22604     fi
22605     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22606 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22607     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22608       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22609
22610 cat >>confdefs.h <<_ACEOF
22611 #define ${ac_tr_func} 1
22612 _ACEOF
22613
22614     fi
22615   fi
22616
22617
22618   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22619 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22620   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22621     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22622   echo $ECHO_N "(cached) $ECHO_C" >&6
22623 else
22624
22625
22626
22627       ac_ext=cc
22628 ac_cpp='$CXXCPP $CPPFLAGS'
22629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22632
22633       cat >conftest.$ac_ext <<_ACEOF
22634 #line $LINENO "configure"
22635 /* confdefs.h.  */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h.  */
22640 #include <math.h>
22641 int
22642 main ()
22643 {
22644  __builtin_fabsl(0);
22645   ;
22646   return 0;
22647 }
22648 _ACEOF
22649 rm -f conftest.$ac_objext
22650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22651   (eval $ac_compile) 2>&5
22652   ac_status=$?
22653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654   (exit $ac_status); } &&
22655          { ac_try='test -s conftest.$ac_objext'
22656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22657   (eval $ac_try) 2>&5
22658   ac_status=$?
22659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660   (exit $ac_status); }; }; then
22661   glibcxx_cv_func___builtin_fabsl_use=yes
22662 else
22663   echo "$as_me: failed program was:" >&5
22664 sed 's/^/| /' conftest.$ac_ext >&5
22665
22666 glibcxx_cv_func___builtin_fabsl_use=no
22667 fi
22668 rm -f conftest.$ac_objext conftest.$ac_ext
22669       ac_ext=c
22670 ac_cpp='$CPP $CPPFLAGS'
22671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22674
22675
22676 fi
22677
22678   fi
22679   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22680 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22681   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22682     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22683 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22684     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22685       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22686   echo $ECHO_N "(cached) $ECHO_C" >&6
22687 else
22688
22689         if test x$gcc_no_link = xyes; then
22690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22692    { (exit 1); exit 1; }; }
22693 fi
22694 cat >conftest.$ac_ext <<_ACEOF
22695 #line $LINENO "configure"
22696 /* confdefs.h.  */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h.  */
22701 #include <math.h>
22702 int
22703 main ()
22704 {
22705  __builtin_fabsl(0);
22706   ;
22707   return 0;
22708 }
22709 _ACEOF
22710 rm -f conftest.$ac_objext conftest$ac_exeext
22711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22712   (eval $ac_link) 2>&5
22713   ac_status=$?
22714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715   (exit $ac_status); } &&
22716          { ac_try='test -s conftest$ac_exeext'
22717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718   (eval $ac_try) 2>&5
22719   ac_status=$?
22720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721   (exit $ac_status); }; }; then
22722   glibcxx_cv_func___builtin_fabsl_link=yes
22723 else
22724   echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22726
22727 glibcxx_cv_func___builtin_fabsl_link=no
22728 fi
22729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22730
22731 fi
22732
22733     fi
22734     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22735 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22736     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22737       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22738
22739 cat >>confdefs.h <<_ACEOF
22740 #define ${ac_tr_func} 1
22741 _ACEOF
22742
22743     fi
22744   fi
22745
22746
22747   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22748 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22749   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22750     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22751   echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22753
22754
22755
22756       ac_ext=cc
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22761
22762       cat >conftest.$ac_ext <<_ACEOF
22763 #line $LINENO "configure"
22764 /* confdefs.h.  */
22765 _ACEOF
22766 cat confdefs.h >>conftest.$ac_ext
22767 cat >>conftest.$ac_ext <<_ACEOF
22768 /* end confdefs.h.  */
22769 #include <math.h>
22770 int
22771 main ()
22772 {
22773  __builtin_labs(0);
22774   ;
22775   return 0;
22776 }
22777 _ACEOF
22778 rm -f conftest.$ac_objext
22779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22780   (eval $ac_compile) 2>&5
22781   ac_status=$?
22782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783   (exit $ac_status); } &&
22784          { ac_try='test -s conftest.$ac_objext'
22785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786   (eval $ac_try) 2>&5
22787   ac_status=$?
22788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789   (exit $ac_status); }; }; then
22790   glibcxx_cv_func___builtin_labs_use=yes
22791 else
22792   echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 glibcxx_cv_func___builtin_labs_use=no
22796 fi
22797 rm -f conftest.$ac_objext conftest.$ac_ext
22798       ac_ext=c
22799 ac_cpp='$CPP $CPPFLAGS'
22800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22803
22804
22805 fi
22806
22807   fi
22808   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22809 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22810   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22811     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22812 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22813     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22814       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22815   echo $ECHO_N "(cached) $ECHO_C" >&6
22816 else
22817
22818         if test x$gcc_no_link = xyes; then
22819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22821    { (exit 1); exit 1; }; }
22822 fi
22823 cat >conftest.$ac_ext <<_ACEOF
22824 #line $LINENO "configure"
22825 /* confdefs.h.  */
22826 _ACEOF
22827 cat confdefs.h >>conftest.$ac_ext
22828 cat >>conftest.$ac_ext <<_ACEOF
22829 /* end confdefs.h.  */
22830 #include <math.h>
22831 int
22832 main ()
22833 {
22834  __builtin_labs(0);
22835   ;
22836   return 0;
22837 }
22838 _ACEOF
22839 rm -f conftest.$ac_objext conftest$ac_exeext
22840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22841   (eval $ac_link) 2>&5
22842   ac_status=$?
22843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844   (exit $ac_status); } &&
22845          { ac_try='test -s conftest$ac_exeext'
22846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22847   (eval $ac_try) 2>&5
22848   ac_status=$?
22849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850   (exit $ac_status); }; }; then
22851   glibcxx_cv_func___builtin_labs_link=yes
22852 else
22853   echo "$as_me: failed program was:" >&5
22854 sed 's/^/| /' conftest.$ac_ext >&5
22855
22856 glibcxx_cv_func___builtin_labs_link=no
22857 fi
22858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22859
22860 fi
22861
22862     fi
22863     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22864 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22865     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22866       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22867
22868 cat >>confdefs.h <<_ACEOF
22869 #define ${ac_tr_func} 1
22870 _ACEOF
22871
22872     fi
22873   fi
22874
22875
22876
22877   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22878 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22879   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22880     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22881   echo $ECHO_N "(cached) $ECHO_C" >&6
22882 else
22883
22884
22885
22886       ac_ext=cc
22887 ac_cpp='$CXXCPP $CPPFLAGS'
22888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22891
22892       cat >conftest.$ac_ext <<_ACEOF
22893 #line $LINENO "configure"
22894 /* confdefs.h.  */
22895 _ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h.  */
22899 #include <math.h>
22900 int
22901 main ()
22902 {
22903  __builtin_sqrtf(0);
22904   ;
22905   return 0;
22906 }
22907 _ACEOF
22908 rm -f conftest.$ac_objext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22910   (eval $ac_compile) 2>&5
22911   ac_status=$?
22912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913   (exit $ac_status); } &&
22914          { ac_try='test -s conftest.$ac_objext'
22915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916   (eval $ac_try) 2>&5
22917   ac_status=$?
22918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919   (exit $ac_status); }; }; then
22920   glibcxx_cv_func___builtin_sqrtf_use=yes
22921 else
22922   echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22924
22925 glibcxx_cv_func___builtin_sqrtf_use=no
22926 fi
22927 rm -f conftest.$ac_objext conftest.$ac_ext
22928       ac_ext=c
22929 ac_cpp='$CPP $CPPFLAGS'
22930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933
22934
22935 fi
22936
22937   fi
22938   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22939 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22940   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22941     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22942 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22943     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22944       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22945   echo $ECHO_N "(cached) $ECHO_C" >&6
22946 else
22947
22948         if test x$gcc_no_link = xyes; then
22949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22951    { (exit 1); exit 1; }; }
22952 fi
22953 cat >conftest.$ac_ext <<_ACEOF
22954 #line $LINENO "configure"
22955 /* confdefs.h.  */
22956 _ACEOF
22957 cat confdefs.h >>conftest.$ac_ext
22958 cat >>conftest.$ac_ext <<_ACEOF
22959 /* end confdefs.h.  */
22960 #include <math.h>
22961 int
22962 main ()
22963 {
22964  __builtin_sqrtf(0);
22965   ;
22966   return 0;
22967 }
22968 _ACEOF
22969 rm -f conftest.$ac_objext conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971   (eval $ac_link) 2>&5
22972   ac_status=$?
22973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974   (exit $ac_status); } &&
22975          { ac_try='test -s conftest$ac_exeext'
22976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977   (eval $ac_try) 2>&5
22978   ac_status=$?
22979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980   (exit $ac_status); }; }; then
22981   glibcxx_cv_func___builtin_sqrtf_link=yes
22982 else
22983   echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.$ac_ext >&5
22985
22986 glibcxx_cv_func___builtin_sqrtf_link=no
22987 fi
22988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22989
22990 fi
22991
22992     fi
22993     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
22994 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
22995     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
22996       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22997
22998 cat >>confdefs.h <<_ACEOF
22999 #define ${ac_tr_func} 1
23000 _ACEOF
23001
23002     fi
23003   fi
23004
23005
23006   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23007 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23008   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23009     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23010   echo $ECHO_N "(cached) $ECHO_C" >&6
23011 else
23012
23013
23014
23015       ac_ext=cc
23016 ac_cpp='$CXXCPP $CPPFLAGS'
23017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23020
23021       cat >conftest.$ac_ext <<_ACEOF
23022 #line $LINENO "configure"
23023 /* confdefs.h.  */
23024 _ACEOF
23025 cat confdefs.h >>conftest.$ac_ext
23026 cat >>conftest.$ac_ext <<_ACEOF
23027 /* end confdefs.h.  */
23028 #include <math.h>
23029 int
23030 main ()
23031 {
23032  __builtin_sqrt(0);
23033   ;
23034   return 0;
23035 }
23036 _ACEOF
23037 rm -f conftest.$ac_objext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23039   (eval $ac_compile) 2>&5
23040   ac_status=$?
23041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042   (exit $ac_status); } &&
23043          { ac_try='test -s conftest.$ac_objext'
23044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045   (eval $ac_try) 2>&5
23046   ac_status=$?
23047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048   (exit $ac_status); }; }; then
23049   glibcxx_cv_func___builtin_sqrt_use=yes
23050 else
23051   echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.$ac_ext >&5
23053
23054 glibcxx_cv_func___builtin_sqrt_use=no
23055 fi
23056 rm -f conftest.$ac_objext conftest.$ac_ext
23057       ac_ext=c
23058 ac_cpp='$CPP $CPPFLAGS'
23059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23062
23063
23064 fi
23065
23066   fi
23067   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23068 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23069   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23070     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23071 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23072     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23073       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23074   echo $ECHO_N "(cached) $ECHO_C" >&6
23075 else
23076
23077         if test x$gcc_no_link = xyes; then
23078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23080    { (exit 1); exit 1; }; }
23081 fi
23082 cat >conftest.$ac_ext <<_ACEOF
23083 #line $LINENO "configure"
23084 /* confdefs.h.  */
23085 _ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h.  */
23089 #include <math.h>
23090 int
23091 main ()
23092 {
23093  __builtin_sqrt(0);
23094   ;
23095   return 0;
23096 }
23097 _ACEOF
23098 rm -f conftest.$ac_objext conftest$ac_exeext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23100   (eval $ac_link) 2>&5
23101   ac_status=$?
23102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103   (exit $ac_status); } &&
23104          { ac_try='test -s conftest$ac_exeext'
23105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106   (eval $ac_try) 2>&5
23107   ac_status=$?
23108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109   (exit $ac_status); }; }; then
23110   glibcxx_cv_func___builtin_sqrt_link=yes
23111 else
23112   echo "$as_me: failed program was:" >&5
23113 sed 's/^/| /' conftest.$ac_ext >&5
23114
23115 glibcxx_cv_func___builtin_sqrt_link=no
23116 fi
23117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23118
23119 fi
23120
23121     fi
23122     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23123 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23124     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23125       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23126
23127 cat >>confdefs.h <<_ACEOF
23128 #define ${ac_tr_func} 1
23129 _ACEOF
23130
23131     fi
23132   fi
23133
23134
23135   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23136 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23137   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23138     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23139   echo $ECHO_N "(cached) $ECHO_C" >&6
23140 else
23141
23142
23143
23144       ac_ext=cc
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149
23150       cat >conftest.$ac_ext <<_ACEOF
23151 #line $LINENO "configure"
23152 /* confdefs.h.  */
23153 _ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h.  */
23157 #include <math.h>
23158 int
23159 main ()
23160 {
23161  __builtin_sqrtl(0);
23162   ;
23163   return 0;
23164 }
23165 _ACEOF
23166 rm -f conftest.$ac_objext
23167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23168   (eval $ac_compile) 2>&5
23169   ac_status=$?
23170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171   (exit $ac_status); } &&
23172          { ac_try='test -s conftest.$ac_objext'
23173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174   (eval $ac_try) 2>&5
23175   ac_status=$?
23176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177   (exit $ac_status); }; }; then
23178   glibcxx_cv_func___builtin_sqrtl_use=yes
23179 else
23180   echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23182
23183 glibcxx_cv_func___builtin_sqrtl_use=no
23184 fi
23185 rm -f conftest.$ac_objext conftest.$ac_ext
23186       ac_ext=c
23187 ac_cpp='$CPP $CPPFLAGS'
23188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23191
23192
23193 fi
23194
23195   fi
23196   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23197 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23198   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23199     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23200 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23201     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23202       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23203   echo $ECHO_N "(cached) $ECHO_C" >&6
23204 else
23205
23206         if test x$gcc_no_link = xyes; then
23207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23209    { (exit 1); exit 1; }; }
23210 fi
23211 cat >conftest.$ac_ext <<_ACEOF
23212 #line $LINENO "configure"
23213 /* confdefs.h.  */
23214 _ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h.  */
23218 #include <math.h>
23219 int
23220 main ()
23221 {
23222  __builtin_sqrtl(0);
23223   ;
23224   return 0;
23225 }
23226 _ACEOF
23227 rm -f conftest.$ac_objext conftest$ac_exeext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23229   (eval $ac_link) 2>&5
23230   ac_status=$?
23231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232   (exit $ac_status); } &&
23233          { ac_try='test -s conftest$ac_exeext'
23234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235   (eval $ac_try) 2>&5
23236   ac_status=$?
23237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238   (exit $ac_status); }; }; then
23239   glibcxx_cv_func___builtin_sqrtl_link=yes
23240 else
23241   echo "$as_me: failed program was:" >&5
23242 sed 's/^/| /' conftest.$ac_ext >&5
23243
23244 glibcxx_cv_func___builtin_sqrtl_link=no
23245 fi
23246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23247
23248 fi
23249
23250     fi
23251     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23252 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23253     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23254       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23255
23256 cat >>confdefs.h <<_ACEOF
23257 #define ${ac_tr_func} 1
23258 _ACEOF
23259
23260     fi
23261   fi
23262
23263
23264
23265   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23266 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23267   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23268     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23269   echo $ECHO_N "(cached) $ECHO_C" >&6
23270 else
23271
23272
23273
23274       ac_ext=cc
23275 ac_cpp='$CXXCPP $CPPFLAGS'
23276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23279
23280       cat >conftest.$ac_ext <<_ACEOF
23281 #line $LINENO "configure"
23282 /* confdefs.h.  */
23283 _ACEOF
23284 cat confdefs.h >>conftest.$ac_ext
23285 cat >>conftest.$ac_ext <<_ACEOF
23286 /* end confdefs.h.  */
23287 #include <math.h>
23288 int
23289 main ()
23290 {
23291  __builtin_sinf(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>&5
23299   ac_status=$?
23300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301   (exit $ac_status); } &&
23302          { ac_try='test -s conftest.$ac_objext'
23303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304   (eval $ac_try) 2>&5
23305   ac_status=$?
23306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307   (exit $ac_status); }; }; then
23308   glibcxx_cv_func___builtin_sinf_use=yes
23309 else
23310   echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23312
23313 glibcxx_cv_func___builtin_sinf_use=no
23314 fi
23315 rm -f conftest.$ac_objext conftest.$ac_ext
23316       ac_ext=c
23317 ac_cpp='$CPP $CPPFLAGS'
23318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23321
23322
23323 fi
23324
23325   fi
23326   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23327 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23328   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23329     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23330 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23331     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23332       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23333   echo $ECHO_N "(cached) $ECHO_C" >&6
23334 else
23335
23336         if test x$gcc_no_link = xyes; then
23337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23339    { (exit 1); exit 1; }; }
23340 fi
23341 cat >conftest.$ac_ext <<_ACEOF
23342 #line $LINENO "configure"
23343 /* confdefs.h.  */
23344 _ACEOF
23345 cat confdefs.h >>conftest.$ac_ext
23346 cat >>conftest.$ac_ext <<_ACEOF
23347 /* end confdefs.h.  */
23348 #include <math.h>
23349 int
23350 main ()
23351 {
23352  __builtin_sinf(0);
23353   ;
23354   return 0;
23355 }
23356 _ACEOF
23357 rm -f conftest.$ac_objext conftest$ac_exeext
23358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23359   (eval $ac_link) 2>&5
23360   ac_status=$?
23361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362   (exit $ac_status); } &&
23363          { ac_try='test -s conftest$ac_exeext'
23364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23365   (eval $ac_try) 2>&5
23366   ac_status=$?
23367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368   (exit $ac_status); }; }; then
23369   glibcxx_cv_func___builtin_sinf_link=yes
23370 else
23371   echo "$as_me: failed program was:" >&5
23372 sed 's/^/| /' conftest.$ac_ext >&5
23373
23374 glibcxx_cv_func___builtin_sinf_link=no
23375 fi
23376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23377
23378 fi
23379
23380     fi
23381     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23382 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23383     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23384       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23385
23386 cat >>confdefs.h <<_ACEOF
23387 #define ${ac_tr_func} 1
23388 _ACEOF
23389
23390     fi
23391   fi
23392
23393
23394   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23395 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23396   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23397     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23398   echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23400
23401
23402
23403       ac_ext=cc
23404 ac_cpp='$CXXCPP $CPPFLAGS'
23405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23408
23409       cat >conftest.$ac_ext <<_ACEOF
23410 #line $LINENO "configure"
23411 /* confdefs.h.  */
23412 _ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h.  */
23416 #include <math.h>
23417 int
23418 main ()
23419 {
23420  __builtin_sin(0);
23421   ;
23422   return 0;
23423 }
23424 _ACEOF
23425 rm -f conftest.$ac_objext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23427   (eval $ac_compile) 2>&5
23428   ac_status=$?
23429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430   (exit $ac_status); } &&
23431          { ac_try='test -s conftest.$ac_objext'
23432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23433   (eval $ac_try) 2>&5
23434   ac_status=$?
23435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436   (exit $ac_status); }; }; then
23437   glibcxx_cv_func___builtin_sin_use=yes
23438 else
23439   echo "$as_me: failed program was:" >&5
23440 sed 's/^/| /' conftest.$ac_ext >&5
23441
23442 glibcxx_cv_func___builtin_sin_use=no
23443 fi
23444 rm -f conftest.$ac_objext conftest.$ac_ext
23445       ac_ext=c
23446 ac_cpp='$CPP $CPPFLAGS'
23447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23450
23451
23452 fi
23453
23454   fi
23455   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23456 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23457   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23458     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23459 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23460     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23461       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23462   echo $ECHO_N "(cached) $ECHO_C" >&6
23463 else
23464
23465         if test x$gcc_no_link = xyes; then
23466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23468    { (exit 1); exit 1; }; }
23469 fi
23470 cat >conftest.$ac_ext <<_ACEOF
23471 #line $LINENO "configure"
23472 /* confdefs.h.  */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h.  */
23477 #include <math.h>
23478 int
23479 main ()
23480 {
23481  __builtin_sin(0);
23482   ;
23483   return 0;
23484 }
23485 _ACEOF
23486 rm -f conftest.$ac_objext conftest$ac_exeext
23487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23488   (eval $ac_link) 2>&5
23489   ac_status=$?
23490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491   (exit $ac_status); } &&
23492          { ac_try='test -s conftest$ac_exeext'
23493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494   (eval $ac_try) 2>&5
23495   ac_status=$?
23496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497   (exit $ac_status); }; }; then
23498   glibcxx_cv_func___builtin_sin_link=yes
23499 else
23500   echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.$ac_ext >&5
23502
23503 glibcxx_cv_func___builtin_sin_link=no
23504 fi
23505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23506
23507 fi
23508
23509     fi
23510     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23511 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23512     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23513       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23514
23515 cat >>confdefs.h <<_ACEOF
23516 #define ${ac_tr_func} 1
23517 _ACEOF
23518
23519     fi
23520   fi
23521
23522
23523   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23524 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23525   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23526     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23527   echo $ECHO_N "(cached) $ECHO_C" >&6
23528 else
23529
23530
23531
23532       ac_ext=cc
23533 ac_cpp='$CXXCPP $CPPFLAGS'
23534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23537
23538       cat >conftest.$ac_ext <<_ACEOF
23539 #line $LINENO "configure"
23540 /* confdefs.h.  */
23541 _ACEOF
23542 cat confdefs.h >>conftest.$ac_ext
23543 cat >>conftest.$ac_ext <<_ACEOF
23544 /* end confdefs.h.  */
23545 #include <math.h>
23546 int
23547 main ()
23548 {
23549  __builtin_sinl(0);
23550   ;
23551   return 0;
23552 }
23553 _ACEOF
23554 rm -f conftest.$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556   (eval $ac_compile) 2>&5
23557   ac_status=$?
23558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559   (exit $ac_status); } &&
23560          { ac_try='test -s conftest.$ac_objext'
23561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23562   (eval $ac_try) 2>&5
23563   ac_status=$?
23564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565   (exit $ac_status); }; }; then
23566   glibcxx_cv_func___builtin_sinl_use=yes
23567 else
23568   echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 glibcxx_cv_func___builtin_sinl_use=no
23572 fi
23573 rm -f conftest.$ac_objext conftest.$ac_ext
23574       ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579
23580
23581 fi
23582
23583   fi
23584   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23585 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23586   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23587     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23588 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23589     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23590       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23591   echo $ECHO_N "(cached) $ECHO_C" >&6
23592 else
23593
23594         if test x$gcc_no_link = xyes; then
23595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23597    { (exit 1); exit 1; }; }
23598 fi
23599 cat >conftest.$ac_ext <<_ACEOF
23600 #line $LINENO "configure"
23601 /* confdefs.h.  */
23602 _ACEOF
23603 cat confdefs.h >>conftest.$ac_ext
23604 cat >>conftest.$ac_ext <<_ACEOF
23605 /* end confdefs.h.  */
23606 #include <math.h>
23607 int
23608 main ()
23609 {
23610  __builtin_sinl(0);
23611   ;
23612   return 0;
23613 }
23614 _ACEOF
23615 rm -f conftest.$ac_objext conftest$ac_exeext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23617   (eval $ac_link) 2>&5
23618   ac_status=$?
23619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620   (exit $ac_status); } &&
23621          { ac_try='test -s conftest$ac_exeext'
23622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23623   (eval $ac_try) 2>&5
23624   ac_status=$?
23625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626   (exit $ac_status); }; }; then
23627   glibcxx_cv_func___builtin_sinl_link=yes
23628 else
23629   echo "$as_me: failed program was:" >&5
23630 sed 's/^/| /' conftest.$ac_ext >&5
23631
23632 glibcxx_cv_func___builtin_sinl_link=no
23633 fi
23634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23635
23636 fi
23637
23638     fi
23639     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23640 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23641     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23642       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23643
23644 cat >>confdefs.h <<_ACEOF
23645 #define ${ac_tr_func} 1
23646 _ACEOF
23647
23648     fi
23649   fi
23650
23651
23652
23653   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23654 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23655   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23656     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23657   echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23659
23660
23661
23662       ac_ext=cc
23663 ac_cpp='$CXXCPP $CPPFLAGS'
23664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23667
23668       cat >conftest.$ac_ext <<_ACEOF
23669 #line $LINENO "configure"
23670 /* confdefs.h.  */
23671 _ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h.  */
23675 #include <math.h>
23676 int
23677 main ()
23678 {
23679  __builtin_cosf(0);
23680   ;
23681   return 0;
23682 }
23683 _ACEOF
23684 rm -f conftest.$ac_objext
23685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23686   (eval $ac_compile) 2>&5
23687   ac_status=$?
23688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689   (exit $ac_status); } &&
23690          { ac_try='test -s conftest.$ac_objext'
23691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23692   (eval $ac_try) 2>&5
23693   ac_status=$?
23694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695   (exit $ac_status); }; }; then
23696   glibcxx_cv_func___builtin_cosf_use=yes
23697 else
23698   echo "$as_me: failed program was:" >&5
23699 sed 's/^/| /' conftest.$ac_ext >&5
23700
23701 glibcxx_cv_func___builtin_cosf_use=no
23702 fi
23703 rm -f conftest.$ac_objext conftest.$ac_ext
23704       ac_ext=c
23705 ac_cpp='$CPP $CPPFLAGS'
23706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23709
23710
23711 fi
23712
23713   fi
23714   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23715 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23716   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23717     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23718 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23719     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23720       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23721   echo $ECHO_N "(cached) $ECHO_C" >&6
23722 else
23723
23724         if test x$gcc_no_link = xyes; then
23725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23727    { (exit 1); exit 1; }; }
23728 fi
23729 cat >conftest.$ac_ext <<_ACEOF
23730 #line $LINENO "configure"
23731 /* confdefs.h.  */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h.  */
23736 #include <math.h>
23737 int
23738 main ()
23739 {
23740  __builtin_cosf(0);
23741   ;
23742   return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext conftest$ac_exeext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23747   (eval $ac_link) 2>&5
23748   ac_status=$?
23749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750   (exit $ac_status); } &&
23751          { ac_try='test -s conftest$ac_exeext'
23752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753   (eval $ac_try) 2>&5
23754   ac_status=$?
23755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756   (exit $ac_status); }; }; then
23757   glibcxx_cv_func___builtin_cosf_link=yes
23758 else
23759   echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23761
23762 glibcxx_cv_func___builtin_cosf_link=no
23763 fi
23764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23765
23766 fi
23767
23768     fi
23769     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23770 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23771     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23772       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23773
23774 cat >>confdefs.h <<_ACEOF
23775 #define ${ac_tr_func} 1
23776 _ACEOF
23777
23778     fi
23779   fi
23780
23781
23782   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23783 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23784   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23785     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23786   echo $ECHO_N "(cached) $ECHO_C" >&6
23787 else
23788
23789
23790
23791       ac_ext=cc
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796
23797       cat >conftest.$ac_ext <<_ACEOF
23798 #line $LINENO "configure"
23799 /* confdefs.h.  */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h.  */
23804 #include <math.h>
23805 int
23806 main ()
23807 {
23808  __builtin_cos(0);
23809   ;
23810   return 0;
23811 }
23812 _ACEOF
23813 rm -f conftest.$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815   (eval $ac_compile) 2>&5
23816   ac_status=$?
23817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818   (exit $ac_status); } &&
23819          { ac_try='test -s conftest.$ac_objext'
23820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821   (eval $ac_try) 2>&5
23822   ac_status=$?
23823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824   (exit $ac_status); }; }; then
23825   glibcxx_cv_func___builtin_cos_use=yes
23826 else
23827   echo "$as_me: failed program was:" >&5
23828 sed 's/^/| /' conftest.$ac_ext >&5
23829
23830 glibcxx_cv_func___builtin_cos_use=no
23831 fi
23832 rm -f conftest.$ac_objext conftest.$ac_ext
23833       ac_ext=c
23834 ac_cpp='$CPP $CPPFLAGS'
23835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23838
23839
23840 fi
23841
23842   fi
23843   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23844 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23845   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23846     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23847 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23848     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23849       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23850   echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23852
23853         if test x$gcc_no_link = xyes; then
23854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23856    { (exit 1); exit 1; }; }
23857 fi
23858 cat >conftest.$ac_ext <<_ACEOF
23859 #line $LINENO "configure"
23860 /* confdefs.h.  */
23861 _ACEOF
23862 cat confdefs.h >>conftest.$ac_ext
23863 cat >>conftest.$ac_ext <<_ACEOF
23864 /* end confdefs.h.  */
23865 #include <math.h>
23866 int
23867 main ()
23868 {
23869  __builtin_cos(0);
23870   ;
23871   return 0;
23872 }
23873 _ACEOF
23874 rm -f conftest.$ac_objext conftest$ac_exeext
23875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23876   (eval $ac_link) 2>&5
23877   ac_status=$?
23878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879   (exit $ac_status); } &&
23880          { ac_try='test -s conftest$ac_exeext'
23881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882   (eval $ac_try) 2>&5
23883   ac_status=$?
23884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885   (exit $ac_status); }; }; then
23886   glibcxx_cv_func___builtin_cos_link=yes
23887 else
23888   echo "$as_me: failed program was:" >&5
23889 sed 's/^/| /' conftest.$ac_ext >&5
23890
23891 glibcxx_cv_func___builtin_cos_link=no
23892 fi
23893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23894
23895 fi
23896
23897     fi
23898     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23899 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23900     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23901       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23902
23903 cat >>confdefs.h <<_ACEOF
23904 #define ${ac_tr_func} 1
23905 _ACEOF
23906
23907     fi
23908   fi
23909
23910
23911   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23912 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23913   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23914     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23915   echo $ECHO_N "(cached) $ECHO_C" >&6
23916 else
23917
23918
23919
23920       ac_ext=cc
23921 ac_cpp='$CXXCPP $CPPFLAGS'
23922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925
23926       cat >conftest.$ac_ext <<_ACEOF
23927 #line $LINENO "configure"
23928 /* confdefs.h.  */
23929 _ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h.  */
23933 #include <math.h>
23934 int
23935 main ()
23936 {
23937  __builtin_cosl(0);
23938   ;
23939   return 0;
23940 }
23941 _ACEOF
23942 rm -f conftest.$ac_objext
23943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23944   (eval $ac_compile) 2>&5
23945   ac_status=$?
23946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947   (exit $ac_status); } &&
23948          { ac_try='test -s conftest.$ac_objext'
23949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23950   (eval $ac_try) 2>&5
23951   ac_status=$?
23952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953   (exit $ac_status); }; }; then
23954   glibcxx_cv_func___builtin_cosl_use=yes
23955 else
23956   echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.$ac_ext >&5
23958
23959 glibcxx_cv_func___builtin_cosl_use=no
23960 fi
23961 rm -f conftest.$ac_objext conftest.$ac_ext
23962       ac_ext=c
23963 ac_cpp='$CPP $CPPFLAGS'
23964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23967
23968
23969 fi
23970
23971   fi
23972   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23973 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23974   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
23975     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23976 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23977     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
23978       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23979   echo $ECHO_N "(cached) $ECHO_C" >&6
23980 else
23981
23982         if test x$gcc_no_link = xyes; then
23983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23985    { (exit 1); exit 1; }; }
23986 fi
23987 cat >conftest.$ac_ext <<_ACEOF
23988 #line $LINENO "configure"
23989 /* confdefs.h.  */
23990 _ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h.  */
23994 #include <math.h>
23995 int
23996 main ()
23997 {
23998  __builtin_cosl(0);
23999   ;
24000   return 0;
24001 }
24002 _ACEOF
24003 rm -f conftest.$ac_objext conftest$ac_exeext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24005   (eval $ac_link) 2>&5
24006   ac_status=$?
24007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008   (exit $ac_status); } &&
24009          { ac_try='test -s conftest$ac_exeext'
24010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24011   (eval $ac_try) 2>&5
24012   ac_status=$?
24013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014   (exit $ac_status); }; }; then
24015   glibcxx_cv_func___builtin_cosl_link=yes
24016 else
24017   echo "$as_me: failed program was:" >&5
24018 sed 's/^/| /' conftest.$ac_ext >&5
24019
24020 glibcxx_cv_func___builtin_cosl_link=no
24021 fi
24022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24023
24024 fi
24025
24026     fi
24027     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24028 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24029     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24030       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24031
24032 cat >>confdefs.h <<_ACEOF
24033 #define ${ac_tr_func} 1
24034 _ACEOF
24035
24036     fi
24037   fi
24038
24039
24040
24041
24042 echo "$as_me:$LINENO: checking for main in -lm" >&5
24043 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24044 if test "${ac_cv_lib_m_main+set}" = set; then
24045   echo $ECHO_N "(cached) $ECHO_C" >&6
24046 else
24047   ac_check_lib_save_LIBS=$LIBS
24048 LIBS="-lm  $LIBS"
24049 if test x$gcc_no_link = xyes; then
24050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24052    { (exit 1); exit 1; }; }
24053 fi
24054 cat >conftest.$ac_ext <<_ACEOF
24055 #line $LINENO "configure"
24056 /* confdefs.h.  */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h.  */
24061
24062
24063 int
24064 main ()
24065 {
24066 main ();
24067   ;
24068   return 0;
24069 }
24070 _ACEOF
24071 rm -f conftest.$ac_objext conftest$ac_exeext
24072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24073   (eval $ac_link) 2>&5
24074   ac_status=$?
24075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076   (exit $ac_status); } &&
24077          { ac_try='test -s conftest$ac_exeext'
24078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079   (eval $ac_try) 2>&5
24080   ac_status=$?
24081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082   (exit $ac_status); }; }; then
24083   ac_cv_lib_m_main=yes
24084 else
24085   echo "$as_me: failed program was:" >&5
24086 sed 's/^/| /' conftest.$ac_ext >&5
24087
24088 ac_cv_lib_m_main=no
24089 fi
24090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24091 LIBS=$ac_check_lib_save_LIBS
24092 fi
24093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24094 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24095 if test $ac_cv_lib_m_main = yes; then
24096   cat >>confdefs.h <<_ACEOF
24097 #define HAVE_LIBM 1
24098 _ACEOF
24099
24100   LIBS="-lm $LIBS"
24101
24102 fi
24103
24104
24105 for ac_func in copysignf
24106 do
24107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24108 echo "$as_me:$LINENO: checking for $ac_func" >&5
24109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24110 if eval "test \"\${$as_ac_var+set}\" = set"; then
24111   echo $ECHO_N "(cached) $ECHO_C" >&6
24112 else
24113   if test x$gcc_no_link = xyes; then
24114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24116    { (exit 1); exit 1; }; }
24117 fi
24118 cat >conftest.$ac_ext <<_ACEOF
24119 #line $LINENO "configure"
24120 /* confdefs.h.  */
24121 _ACEOF
24122 cat confdefs.h >>conftest.$ac_ext
24123 cat >>conftest.$ac_ext <<_ACEOF
24124 /* end confdefs.h.  */
24125 /* System header to define __stub macros and hopefully few prototypes,
24126     which can conflict with char $ac_func (); below.
24127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128     <limits.h> exists even on freestanding compilers.  */
24129 #ifdef __STDC__
24130 # include <limits.h>
24131 #else
24132 # include <assert.h>
24133 #endif
24134 /* Override any gcc2 internal prototype to avoid an error.  */
24135 #ifdef __cplusplus
24136 extern "C"
24137 {
24138 #endif
24139 /* We use char because int might match the return type of a gcc2
24140    builtin and then its argument prototype would still apply.  */
24141 char $ac_func ();
24142 /* The GNU C library defines this for functions which it implements
24143     to always fail with ENOSYS.  Some functions are actually named
24144     something starting with __ and the normal name is an alias.  */
24145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24146 choke me
24147 #else
24148 char (*f) () = $ac_func;
24149 #endif
24150 #ifdef __cplusplus
24151 }
24152 #endif
24153
24154 int
24155 main ()
24156 {
24157 return f != $ac_func;
24158   ;
24159   return 0;
24160 }
24161 _ACEOF
24162 rm -f conftest.$ac_objext conftest$ac_exeext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24164   (eval $ac_link) 2>&5
24165   ac_status=$?
24166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167   (exit $ac_status); } &&
24168          { ac_try='test -s conftest$ac_exeext'
24169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170   (eval $ac_try) 2>&5
24171   ac_status=$?
24172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173   (exit $ac_status); }; }; then
24174   eval "$as_ac_var=yes"
24175 else
24176   echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24178
24179 eval "$as_ac_var=no"
24180 fi
24181 rm -f conftest.$ac_objext 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 else
24191   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24192 fi
24193 done
24194
24195
24196
24197 for ac_func in __signbit
24198 do
24199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24200 echo "$as_me:$LINENO: checking for $ac_func" >&5
24201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24202 if eval "test \"\${$as_ac_var+set}\" = set"; then
24203   echo $ECHO_N "(cached) $ECHO_C" >&6
24204 else
24205   if test x$gcc_no_link = xyes; then
24206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24208    { (exit 1); exit 1; }; }
24209 fi
24210 cat >conftest.$ac_ext <<_ACEOF
24211 #line $LINENO "configure"
24212 /* confdefs.h.  */
24213 _ACEOF
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h.  */
24217 /* System header to define __stub macros and hopefully few prototypes,
24218     which can conflict with char $ac_func (); below.
24219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24220     <limits.h> exists even on freestanding compilers.  */
24221 #ifdef __STDC__
24222 # include <limits.h>
24223 #else
24224 # include <assert.h>
24225 #endif
24226 /* Override any gcc2 internal prototype to avoid an error.  */
24227 #ifdef __cplusplus
24228 extern "C"
24229 {
24230 #endif
24231 /* We use char because int might match the return type of a gcc2
24232    builtin and then its argument prototype would still apply.  */
24233 char $ac_func ();
24234 /* The GNU C library defines this for functions which it implements
24235     to always fail with ENOSYS.  Some functions are actually named
24236     something starting with __ and the normal name is an alias.  */
24237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24238 choke me
24239 #else
24240 char (*f) () = $ac_func;
24241 #endif
24242 #ifdef __cplusplus
24243 }
24244 #endif
24245
24246 int
24247 main ()
24248 {
24249 return f != $ac_func;
24250   ;
24251   return 0;
24252 }
24253 _ACEOF
24254 rm -f conftest.$ac_objext conftest$ac_exeext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24256   (eval $ac_link) 2>&5
24257   ac_status=$?
24258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259   (exit $ac_status); } &&
24260          { ac_try='test -s conftest$ac_exeext'
24261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262   (eval $ac_try) 2>&5
24263   ac_status=$?
24264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265   (exit $ac_status); }; }; then
24266   eval "$as_ac_var=yes"
24267 else
24268   echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24270
24271 eval "$as_ac_var=no"
24272 fi
24273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24274 fi
24275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24277 if test `eval echo '${'$as_ac_var'}'` = yes; then
24278   cat >>confdefs.h <<_ACEOF
24279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24280 _ACEOF
24281
24282 else
24283   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24284 fi
24285 done
24286
24287
24288
24289 for ac_func in __signbitf
24290 do
24291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24292 echo "$as_me:$LINENO: checking for $ac_func" >&5
24293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24294 if eval "test \"\${$as_ac_var+set}\" = set"; then
24295   echo $ECHO_N "(cached) $ECHO_C" >&6
24296 else
24297   if test x$gcc_no_link = xyes; then
24298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24300    { (exit 1); exit 1; }; }
24301 fi
24302 cat >conftest.$ac_ext <<_ACEOF
24303 #line $LINENO "configure"
24304 /* confdefs.h.  */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h.  */
24309 /* System header to define __stub macros and hopefully few prototypes,
24310     which can conflict with char $ac_func (); below.
24311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24312     <limits.h> exists even on freestanding compilers.  */
24313 #ifdef __STDC__
24314 # include <limits.h>
24315 #else
24316 # include <assert.h>
24317 #endif
24318 /* Override any gcc2 internal prototype to avoid an error.  */
24319 #ifdef __cplusplus
24320 extern "C"
24321 {
24322 #endif
24323 /* We use char because int might match the return type of a gcc2
24324    builtin and then its argument prototype would still apply.  */
24325 char $ac_func ();
24326 /* The GNU C library defines this for functions which it implements
24327     to always fail with ENOSYS.  Some functions are actually named
24328     something starting with __ and the normal name is an alias.  */
24329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24330 choke me
24331 #else
24332 char (*f) () = $ac_func;
24333 #endif
24334 #ifdef __cplusplus
24335 }
24336 #endif
24337
24338 int
24339 main ()
24340 {
24341 return f != $ac_func;
24342   ;
24343   return 0;
24344 }
24345 _ACEOF
24346 rm -f conftest.$ac_objext conftest$ac_exeext
24347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24348   (eval $ac_link) 2>&5
24349   ac_status=$?
24350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351   (exit $ac_status); } &&
24352          { ac_try='test -s conftest$ac_exeext'
24353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354   (eval $ac_try) 2>&5
24355   ac_status=$?
24356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357   (exit $ac_status); }; }; then
24358   eval "$as_ac_var=yes"
24359 else
24360   echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.$ac_ext >&5
24362
24363 eval "$as_ac_var=no"
24364 fi
24365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24366 fi
24367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24369 if test `eval echo '${'$as_ac_var'}'` = yes; then
24370   cat >>confdefs.h <<_ACEOF
24371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24372 _ACEOF
24373
24374 else
24375   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24376 fi
24377 done
24378
24379
24380           if test x$ac_cv_func_copysignl = x"yes"; then
24381
24382 for ac_func in __signbitl
24383 do
24384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24385 echo "$as_me:$LINENO: checking for $ac_func" >&5
24386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24387 if eval "test \"\${$as_ac_var+set}\" = set"; then
24388   echo $ECHO_N "(cached) $ECHO_C" >&6
24389 else
24390   if test x$gcc_no_link = xyes; then
24391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24393    { (exit 1); exit 1; }; }
24394 fi
24395 cat >conftest.$ac_ext <<_ACEOF
24396 #line $LINENO "configure"
24397 /* confdefs.h.  */
24398 _ACEOF
24399 cat confdefs.h >>conftest.$ac_ext
24400 cat >>conftest.$ac_ext <<_ACEOF
24401 /* end confdefs.h.  */
24402 /* System header to define __stub macros and hopefully few prototypes,
24403     which can conflict with char $ac_func (); below.
24404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24405     <limits.h> exists even on freestanding compilers.  */
24406 #ifdef __STDC__
24407 # include <limits.h>
24408 #else
24409 # include <assert.h>
24410 #endif
24411 /* Override any gcc2 internal prototype to avoid an error.  */
24412 #ifdef __cplusplus
24413 extern "C"
24414 {
24415 #endif
24416 /* We use char because int might match the return type of a gcc2
24417    builtin and then its argument prototype would still apply.  */
24418 char $ac_func ();
24419 /* The GNU C library defines this for functions which it implements
24420     to always fail with ENOSYS.  Some functions are actually named
24421     something starting with __ and the normal name is an alias.  */
24422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24423 choke me
24424 #else
24425 char (*f) () = $ac_func;
24426 #endif
24427 #ifdef __cplusplus
24428 }
24429 #endif
24430
24431 int
24432 main ()
24433 {
24434 return f != $ac_func;
24435   ;
24436   return 0;
24437 }
24438 _ACEOF
24439 rm -f conftest.$ac_objext conftest$ac_exeext
24440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24441   (eval $ac_link) 2>&5
24442   ac_status=$?
24443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444   (exit $ac_status); } &&
24445          { ac_try='test -s conftest$ac_exeext'
24446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447   (eval $ac_try) 2>&5
24448   ac_status=$?
24449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450   (exit $ac_status); }; }; then
24451   eval "$as_ac_var=yes"
24452 else
24453   echo "$as_me: failed program was:" >&5
24454 sed 's/^/| /' conftest.$ac_ext >&5
24455
24456 eval "$as_ac_var=no"
24457 fi
24458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24459 fi
24460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24462 if test `eval echo '${'$as_ac_var'}'` = yes; then
24463   cat >>confdefs.h <<_ACEOF
24464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24465 _ACEOF
24466
24467 else
24468   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24469 fi
24470 done
24471
24472   fi
24473
24474   # Used in libmath/Makefile.am.
24475   if test -n "$LIBMATHOBJS"; then
24476     need_libmath=yes
24477   fi
24478
24479
24480
24481   # Test wchar.h for mbstate_t, which is needed for char_traits and
24482   # others even if wchar_t support is not on.
24483   echo "$as_me:$LINENO: checking for mbstate_t" >&5
24484 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24485   cat >conftest.$ac_ext <<_ACEOF
24486 #line $LINENO "configure"
24487 /* confdefs.h.  */
24488 _ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h.  */
24492 #include <wchar.h>
24493 int
24494 main ()
24495 {
24496 mbstate_t teststate;
24497   ;
24498   return 0;
24499 }
24500 _ACEOF
24501 rm -f conftest.$ac_objext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24503   (eval $ac_compile) 2>&5
24504   ac_status=$?
24505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506   (exit $ac_status); } &&
24507          { ac_try='test -s conftest.$ac_objext'
24508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509   (eval $ac_try) 2>&5
24510   ac_status=$?
24511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512   (exit $ac_status); }; }; then
24513   have_mbstate_t=yes
24514 else
24515   echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24517
24518 have_mbstate_t=no
24519 fi
24520 rm -f conftest.$ac_objext conftest.$ac_ext
24521   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24522 echo "${ECHO_T}$have_mbstate_t" >&6
24523   if test x"$have_mbstate_t" = xyes; then
24524     cat >>confdefs.h <<\_ACEOF
24525 #define HAVE_MBSTATE_T 1
24526 _ACEOF
24527
24528   fi
24529
24530   # Sanity check for existence of ISO C99 headers for extended encoding.
24531
24532 for ac_header in wchar.h
24533 do
24534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24536   echo "$as_me:$LINENO: checking for $ac_header" >&5
24537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24539   echo $ECHO_N "(cached) $ECHO_C" >&6
24540 fi
24541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24543 else
24544   # Is the header compilable?
24545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24547 cat >conftest.$ac_ext <<_ACEOF
24548 #line $LINENO "configure"
24549 /* confdefs.h.  */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h.  */
24554 $ac_includes_default
24555 #include <$ac_header>
24556 _ACEOF
24557 rm -f conftest.$ac_objext
24558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24559   (eval $ac_compile) 2>&5
24560   ac_status=$?
24561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562   (exit $ac_status); } &&
24563          { ac_try='test -s conftest.$ac_objext'
24564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24565   (eval $ac_try) 2>&5
24566   ac_status=$?
24567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568   (exit $ac_status); }; }; then
24569   ac_header_compiler=yes
24570 else
24571   echo "$as_me: failed program was:" >&5
24572 sed 's/^/| /' conftest.$ac_ext >&5
24573
24574 ac_header_compiler=no
24575 fi
24576 rm -f conftest.$ac_objext conftest.$ac_ext
24577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24578 echo "${ECHO_T}$ac_header_compiler" >&6
24579
24580 # Is the header present?
24581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24583 cat >conftest.$ac_ext <<_ACEOF
24584 #line $LINENO "configure"
24585 /* confdefs.h.  */
24586 _ACEOF
24587 cat confdefs.h >>conftest.$ac_ext
24588 cat >>conftest.$ac_ext <<_ACEOF
24589 /* end confdefs.h.  */
24590 #include <$ac_header>
24591 _ACEOF
24592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24593   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24594   ac_status=$?
24595   grep -v '^ *+' conftest.er1 >conftest.err
24596   rm -f conftest.er1
24597   cat conftest.err >&5
24598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599   (exit $ac_status); } >/dev/null; then
24600   if test -s conftest.err; then
24601     ac_cpp_err=$ac_c_preproc_warn_flag
24602   else
24603     ac_cpp_err=
24604   fi
24605 else
24606   ac_cpp_err=yes
24607 fi
24608 if test -z "$ac_cpp_err"; then
24609   ac_header_preproc=yes
24610 else
24611   echo "$as_me: failed program was:" >&5
24612 sed 's/^/| /' conftest.$ac_ext >&5
24613
24614   ac_header_preproc=no
24615 fi
24616 rm -f conftest.err conftest.$ac_ext
24617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24618 echo "${ECHO_T}$ac_header_preproc" >&6
24619
24620 # So?  What about this header?
24621 case $ac_header_compiler:$ac_header_preproc in
24622   yes:no )
24623     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24625     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24627     (
24628       cat <<\_ASBOX
24629 ## ------------------------------------ ##
24630 ## Report this to bug-autoconf@gnu.org. ##
24631 ## ------------------------------------ ##
24632 _ASBOX
24633     ) |
24634       sed "s/^/$as_me: WARNING:     /" >&2
24635     ;;
24636   no:yes )
24637     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24639     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24641     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24643     (
24644       cat <<\_ASBOX
24645 ## ------------------------------------ ##
24646 ## Report this to bug-autoconf@gnu.org. ##
24647 ## ------------------------------------ ##
24648 _ASBOX
24649     ) |
24650       sed "s/^/$as_me: WARNING:     /" >&2
24651     ;;
24652 esac
24653 echo "$as_me:$LINENO: checking for $ac_header" >&5
24654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24656   echo $ECHO_N "(cached) $ECHO_C" >&6
24657 else
24658   eval "$as_ac_Header=$ac_header_preproc"
24659 fi
24660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24662
24663 fi
24664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24665   cat >>confdefs.h <<_ACEOF
24666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24667 _ACEOF
24668  ac_has_wchar_h=yes
24669 else
24670   ac_has_wchar_h=no
24671 fi
24672
24673 done
24674
24675
24676 for ac_header in wctype.h
24677 do
24678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24680   echo "$as_me:$LINENO: checking for $ac_header" >&5
24681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24683   echo $ECHO_N "(cached) $ECHO_C" >&6
24684 fi
24685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24687 else
24688   # Is the header compilable?
24689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24691 cat >conftest.$ac_ext <<_ACEOF
24692 #line $LINENO "configure"
24693 /* confdefs.h.  */
24694 _ACEOF
24695 cat confdefs.h >>conftest.$ac_ext
24696 cat >>conftest.$ac_ext <<_ACEOF
24697 /* end confdefs.h.  */
24698 $ac_includes_default
24699 #include <$ac_header>
24700 _ACEOF
24701 rm -f conftest.$ac_objext
24702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24703   (eval $ac_compile) 2>&5
24704   ac_status=$?
24705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706   (exit $ac_status); } &&
24707          { ac_try='test -s conftest.$ac_objext'
24708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709   (eval $ac_try) 2>&5
24710   ac_status=$?
24711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712   (exit $ac_status); }; }; then
24713   ac_header_compiler=yes
24714 else
24715   echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24717
24718 ac_header_compiler=no
24719 fi
24720 rm -f conftest.$ac_objext conftest.$ac_ext
24721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24722 echo "${ECHO_T}$ac_header_compiler" >&6
24723
24724 # Is the header present?
24725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24727 cat >conftest.$ac_ext <<_ACEOF
24728 #line $LINENO "configure"
24729 /* confdefs.h.  */
24730 _ACEOF
24731 cat confdefs.h >>conftest.$ac_ext
24732 cat >>conftest.$ac_ext <<_ACEOF
24733 /* end confdefs.h.  */
24734 #include <$ac_header>
24735 _ACEOF
24736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24737   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24738   ac_status=$?
24739   grep -v '^ *+' conftest.er1 >conftest.err
24740   rm -f conftest.er1
24741   cat conftest.err >&5
24742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743   (exit $ac_status); } >/dev/null; then
24744   if test -s conftest.err; then
24745     ac_cpp_err=$ac_c_preproc_warn_flag
24746   else
24747     ac_cpp_err=
24748   fi
24749 else
24750   ac_cpp_err=yes
24751 fi
24752 if test -z "$ac_cpp_err"; then
24753   ac_header_preproc=yes
24754 else
24755   echo "$as_me: failed program was:" >&5
24756 sed 's/^/| /' conftest.$ac_ext >&5
24757
24758   ac_header_preproc=no
24759 fi
24760 rm -f conftest.err conftest.$ac_ext
24761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24762 echo "${ECHO_T}$ac_header_preproc" >&6
24763
24764 # So?  What about this header?
24765 case $ac_header_compiler:$ac_header_preproc in
24766   yes:no )
24767     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24769     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24771     (
24772       cat <<\_ASBOX
24773 ## ------------------------------------ ##
24774 ## Report this to bug-autoconf@gnu.org. ##
24775 ## ------------------------------------ ##
24776 _ASBOX
24777     ) |
24778       sed "s/^/$as_me: WARNING:     /" >&2
24779     ;;
24780   no:yes )
24781     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24783     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24785     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24787     (
24788       cat <<\_ASBOX
24789 ## ------------------------------------ ##
24790 ## Report this to bug-autoconf@gnu.org. ##
24791 ## ------------------------------------ ##
24792 _ASBOX
24793     ) |
24794       sed "s/^/$as_me: WARNING:     /" >&2
24795     ;;
24796 esac
24797 echo "$as_me:$LINENO: checking for $ac_header" >&5
24798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24800   echo $ECHO_N "(cached) $ECHO_C" >&6
24801 else
24802   eval "$as_ac_Header=$ac_header_preproc"
24803 fi
24804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24806
24807 fi
24808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24809   cat >>confdefs.h <<_ACEOF
24810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24811 _ACEOF
24812  ac_has_wctype_h=yes
24813 else
24814   ac_has_wctype_h=no
24815 fi
24816
24817 done
24818
24819
24820   # Only continue checking if the ISO C99 headers exist and support is on.
24821   if test x"$ac_has_wchar_h" = xyes &&
24822      test x"$ac_has_wctype_h" = xyes &&
24823      test x"$enable_c_mbchar" != xno; then
24824
24825     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24826     # numeric_limits can instantiate type_traits<wchar_t>
24827     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24828 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24829     cat >conftest.$ac_ext <<_ACEOF
24830 #line $LINENO "configure"
24831 /* confdefs.h.  */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h.  */
24836 #include <wchar.h>
24837 int
24838 main ()
24839 {
24840 int i = WCHAR_MIN; int j = WCHAR_MAX;
24841   ;
24842   return 0;
24843 }
24844 _ACEOF
24845 rm -f conftest.$ac_objext
24846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24847   (eval $ac_compile) 2>&5
24848   ac_status=$?
24849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850   (exit $ac_status); } &&
24851          { ac_try='test -s conftest.$ac_objext'
24852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853   (eval $ac_try) 2>&5
24854   ac_status=$?
24855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856   (exit $ac_status); }; }; then
24857   has_wchar_minmax=yes
24858 else
24859   echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.$ac_ext >&5
24861
24862 has_wchar_minmax=no
24863 fi
24864 rm -f conftest.$ac_objext conftest.$ac_ext
24865     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24866 echo "${ECHO_T}$has_wchar_minmax" >&6
24867
24868     # Test wchar.h for WEOF, which is what we use to determine whether
24869     # to specialize for char_traits<wchar_t> or not.
24870     echo "$as_me:$LINENO: checking for WEOF" >&5
24871 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24872     cat >conftest.$ac_ext <<_ACEOF
24873 #line $LINENO "configure"
24874 /* confdefs.h.  */
24875 _ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h.  */
24879
24880       #include <wchar.h>
24881       #include <stddef.h>
24882 int
24883 main ()
24884 {
24885 wint_t i = WEOF;
24886   ;
24887   return 0;
24888 }
24889 _ACEOF
24890 rm -f conftest.$ac_objext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24892   (eval $ac_compile) 2>&5
24893   ac_status=$?
24894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895   (exit $ac_status); } &&
24896          { ac_try='test -s conftest.$ac_objext'
24897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898   (eval $ac_try) 2>&5
24899   ac_status=$?
24900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901   (exit $ac_status); }; }; then
24902   has_weof=yes
24903 else
24904   echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.$ac_ext >&5
24906
24907 has_weof=no
24908 fi
24909 rm -f conftest.$ac_objext conftest.$ac_ext
24910     echo "$as_me:$LINENO: result: $has_weof" >&5
24911 echo "${ECHO_T}$has_weof" >&6
24912
24913     # Tests for wide character functions used in char_traits<wchar_t>.
24914     ac_wfuncs=yes
24915
24916
24917
24918
24919
24920
24921 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24922 do
24923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24924 echo "$as_me:$LINENO: checking for $ac_func" >&5
24925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24926 if eval "test \"\${$as_ac_var+set}\" = set"; then
24927   echo $ECHO_N "(cached) $ECHO_C" >&6
24928 else
24929   if test x$gcc_no_link = xyes; then
24930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24932    { (exit 1); exit 1; }; }
24933 fi
24934 cat >conftest.$ac_ext <<_ACEOF
24935 #line $LINENO "configure"
24936 /* confdefs.h.  */
24937 _ACEOF
24938 cat confdefs.h >>conftest.$ac_ext
24939 cat >>conftest.$ac_ext <<_ACEOF
24940 /* end confdefs.h.  */
24941 /* System header to define __stub macros and hopefully few prototypes,
24942     which can conflict with char $ac_func (); below.
24943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24944     <limits.h> exists even on freestanding compilers.  */
24945 #ifdef __STDC__
24946 # include <limits.h>
24947 #else
24948 # include <assert.h>
24949 #endif
24950 /* Override any gcc2 internal prototype to avoid an error.  */
24951 #ifdef __cplusplus
24952 extern "C"
24953 {
24954 #endif
24955 /* We use char because int might match the return type of a gcc2
24956    builtin and then its argument prototype would still apply.  */
24957 char $ac_func ();
24958 /* The GNU C library defines this for functions which it implements
24959     to always fail with ENOSYS.  Some functions are actually named
24960     something starting with __ and the normal name is an alias.  */
24961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24962 choke me
24963 #else
24964 char (*f) () = $ac_func;
24965 #endif
24966 #ifdef __cplusplus
24967 }
24968 #endif
24969
24970 int
24971 main ()
24972 {
24973 return f != $ac_func;
24974   ;
24975   return 0;
24976 }
24977 _ACEOF
24978 rm -f conftest.$ac_objext conftest$ac_exeext
24979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24980   (eval $ac_link) 2>&5
24981   ac_status=$?
24982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983   (exit $ac_status); } &&
24984          { ac_try='test -s conftest$ac_exeext'
24985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986   (eval $ac_try) 2>&5
24987   ac_status=$?
24988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989   (exit $ac_status); }; }; then
24990   eval "$as_ac_var=yes"
24991 else
24992   echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24994
24995 eval "$as_ac_var=no"
24996 fi
24997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24998 fi
24999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25001 if test `eval echo '${'$as_ac_var'}'` = yes; then
25002   cat >>confdefs.h <<_ACEOF
25003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25004 _ACEOF
25005
25006 else
25007   ac_wfuncs=no
25008 fi
25009 done
25010
25011
25012     # Checks for names injected into std:: by the c_std headers.
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25060     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25061     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25062     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25063     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25064     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25065 do
25066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25067 echo "$as_me:$LINENO: checking for $ac_func" >&5
25068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25069 if eval "test \"\${$as_ac_var+set}\" = set"; then
25070   echo $ECHO_N "(cached) $ECHO_C" >&6
25071 else
25072   if test x$gcc_no_link = xyes; then
25073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25075    { (exit 1); exit 1; }; }
25076 fi
25077 cat >conftest.$ac_ext <<_ACEOF
25078 #line $LINENO "configure"
25079 /* confdefs.h.  */
25080 _ACEOF
25081 cat confdefs.h >>conftest.$ac_ext
25082 cat >>conftest.$ac_ext <<_ACEOF
25083 /* end confdefs.h.  */
25084 /* System header to define __stub macros and hopefully few prototypes,
25085     which can conflict with char $ac_func (); below.
25086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25087     <limits.h> exists even on freestanding compilers.  */
25088 #ifdef __STDC__
25089 # include <limits.h>
25090 #else
25091 # include <assert.h>
25092 #endif
25093 /* Override any gcc2 internal prototype to avoid an error.  */
25094 #ifdef __cplusplus
25095 extern "C"
25096 {
25097 #endif
25098 /* We use char because int might match the return type of a gcc2
25099    builtin and then its argument prototype would still apply.  */
25100 char $ac_func ();
25101 /* The GNU C library defines this for functions which it implements
25102     to always fail with ENOSYS.  Some functions are actually named
25103     something starting with __ and the normal name is an alias.  */
25104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25105 choke me
25106 #else
25107 char (*f) () = $ac_func;
25108 #endif
25109 #ifdef __cplusplus
25110 }
25111 #endif
25112
25113 int
25114 main ()
25115 {
25116 return f != $ac_func;
25117   ;
25118   return 0;
25119 }
25120 _ACEOF
25121 rm -f conftest.$ac_objext conftest$ac_exeext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25123   (eval $ac_link) 2>&5
25124   ac_status=$?
25125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126   (exit $ac_status); } &&
25127          { ac_try='test -s conftest$ac_exeext'
25128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129   (eval $ac_try) 2>&5
25130   ac_status=$?
25131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132   (exit $ac_status); }; }; then
25133   eval "$as_ac_var=yes"
25134 else
25135   echo "$as_me: failed program was:" >&5
25136 sed 's/^/| /' conftest.$ac_ext >&5
25137
25138 eval "$as_ac_var=no"
25139 fi
25140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25141 fi
25142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25144 if test `eval echo '${'$as_ac_var'}'` = yes; then
25145   cat >>confdefs.h <<_ACEOF
25146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25147 _ACEOF
25148
25149 else
25150   ac_wfuncs=no
25151 fi
25152 done
25153
25154
25155     # Checks for wide character functions that are not required
25156     # for basic wchar_t support.  Don't disable support if they are missing.
25157     # Injection of these is wrapped with guard macros.
25158
25159
25160
25161
25162
25163 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25164 do
25165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25166 echo "$as_me:$LINENO: checking for $ac_func" >&5
25167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25168 if eval "test \"\${$as_ac_var+set}\" = set"; then
25169   echo $ECHO_N "(cached) $ECHO_C" >&6
25170 else
25171   if test x$gcc_no_link = xyes; then
25172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25174    { (exit 1); exit 1; }; }
25175 fi
25176 cat >conftest.$ac_ext <<_ACEOF
25177 #line $LINENO "configure"
25178 /* confdefs.h.  */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h.  */
25183 /* System header to define __stub macros and hopefully few prototypes,
25184     which can conflict with char $ac_func (); below.
25185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25186     <limits.h> exists even on freestanding compilers.  */
25187 #ifdef __STDC__
25188 # include <limits.h>
25189 #else
25190 # include <assert.h>
25191 #endif
25192 /* Override any gcc2 internal prototype to avoid an error.  */
25193 #ifdef __cplusplus
25194 extern "C"
25195 {
25196 #endif
25197 /* We use char because int might match the return type of a gcc2
25198    builtin and then its argument prototype would still apply.  */
25199 char $ac_func ();
25200 /* The GNU C library defines this for functions which it implements
25201     to always fail with ENOSYS.  Some functions are actually named
25202     something starting with __ and the normal name is an alias.  */
25203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25204 choke me
25205 #else
25206 char (*f) () = $ac_func;
25207 #endif
25208 #ifdef __cplusplus
25209 }
25210 #endif
25211
25212 int
25213 main ()
25214 {
25215 return f != $ac_func;
25216   ;
25217   return 0;
25218 }
25219 _ACEOF
25220 rm -f conftest.$ac_objext conftest$ac_exeext
25221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25222   (eval $ac_link) 2>&5
25223   ac_status=$?
25224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225   (exit $ac_status); } &&
25226          { ac_try='test -s conftest$ac_exeext'
25227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25228   (eval $ac_try) 2>&5
25229   ac_status=$?
25230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231   (exit $ac_status); }; }; then
25232   eval "$as_ac_var=yes"
25233 else
25234   echo "$as_me: failed program was:" >&5
25235 sed 's/^/| /' conftest.$ac_ext >&5
25236
25237 eval "$as_ac_var=no"
25238 fi
25239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25240 fi
25241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25243 if test `eval echo '${'$as_ac_var'}'` = yes; then
25244   cat >>confdefs.h <<_ACEOF
25245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25246 _ACEOF
25247
25248 fi
25249 done
25250
25251
25252     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25253 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25254     if test x"$has_weof" = xyes &&
25255        test x"$has_wchar_minmax" = xyes &&
25256        test x"$ac_wfuncs" = xyes;
25257     then
25258       ac_isoC99_wchar_t=yes
25259     else
25260       ac_isoC99_wchar_t=no
25261     fi
25262     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25263 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25264
25265     # Use iconv for wchar_t to char conversions. As such, check for
25266     # X/Open Portability Guide, version 2 features (XPG2).
25267     if test "${ac_cv_header_iconv_h+set}" = set; then
25268   echo "$as_me:$LINENO: checking for iconv.h" >&5
25269 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25270 if test "${ac_cv_header_iconv_h+set}" = set; then
25271   echo $ECHO_N "(cached) $ECHO_C" >&6
25272 fi
25273 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25274 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25275 else
25276   # Is the header compilable?
25277 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25278 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25279 cat >conftest.$ac_ext <<_ACEOF
25280 #line $LINENO "configure"
25281 /* confdefs.h.  */
25282 _ACEOF
25283 cat confdefs.h >>conftest.$ac_ext
25284 cat >>conftest.$ac_ext <<_ACEOF
25285 /* end confdefs.h.  */
25286 $ac_includes_default
25287 #include <iconv.h>
25288 _ACEOF
25289 rm -f conftest.$ac_objext
25290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25291   (eval $ac_compile) 2>&5
25292   ac_status=$?
25293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294   (exit $ac_status); } &&
25295          { ac_try='test -s conftest.$ac_objext'
25296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297   (eval $ac_try) 2>&5
25298   ac_status=$?
25299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300   (exit $ac_status); }; }; then
25301   ac_header_compiler=yes
25302 else
25303   echo "$as_me: failed program was:" >&5
25304 sed 's/^/| /' conftest.$ac_ext >&5
25305
25306 ac_header_compiler=no
25307 fi
25308 rm -f conftest.$ac_objext conftest.$ac_ext
25309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25310 echo "${ECHO_T}$ac_header_compiler" >&6
25311
25312 # Is the header present?
25313 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25314 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25315 cat >conftest.$ac_ext <<_ACEOF
25316 #line $LINENO "configure"
25317 /* confdefs.h.  */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h.  */
25322 #include <iconv.h>
25323 _ACEOF
25324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25325   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25326   ac_status=$?
25327   grep -v '^ *+' conftest.er1 >conftest.err
25328   rm -f conftest.er1
25329   cat conftest.err >&5
25330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331   (exit $ac_status); } >/dev/null; then
25332   if test -s conftest.err; then
25333     ac_cpp_err=$ac_c_preproc_warn_flag
25334   else
25335     ac_cpp_err=
25336   fi
25337 else
25338   ac_cpp_err=yes
25339 fi
25340 if test -z "$ac_cpp_err"; then
25341   ac_header_preproc=yes
25342 else
25343   echo "$as_me: failed program was:" >&5
25344 sed 's/^/| /' conftest.$ac_ext >&5
25345
25346   ac_header_preproc=no
25347 fi
25348 rm -f conftest.err conftest.$ac_ext
25349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25350 echo "${ECHO_T}$ac_header_preproc" >&6
25351
25352 # So?  What about this header?
25353 case $ac_header_compiler:$ac_header_preproc in
25354   yes:no )
25355     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25356 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25357     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25358 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25359     (
25360       cat <<\_ASBOX
25361 ## ------------------------------------ ##
25362 ## Report this to bug-autoconf@gnu.org. ##
25363 ## ------------------------------------ ##
25364 _ASBOX
25365     ) |
25366       sed "s/^/$as_me: WARNING:     /" >&2
25367     ;;
25368   no:yes )
25369     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25370 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25371     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25372 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25373     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25374 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25375     (
25376       cat <<\_ASBOX
25377 ## ------------------------------------ ##
25378 ## Report this to bug-autoconf@gnu.org. ##
25379 ## ------------------------------------ ##
25380 _ASBOX
25381     ) |
25382       sed "s/^/$as_me: WARNING:     /" >&2
25383     ;;
25384 esac
25385 echo "$as_me:$LINENO: checking for iconv.h" >&5
25386 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25387 if test "${ac_cv_header_iconv_h+set}" = set; then
25388   echo $ECHO_N "(cached) $ECHO_C" >&6
25389 else
25390   ac_cv_header_iconv_h=$ac_header_preproc
25391 fi
25392 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25393 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25394
25395 fi
25396 if test $ac_cv_header_iconv_h = yes; then
25397   ac_has_iconv_h=yes
25398 else
25399   ac_has_iconv_h=no
25400 fi
25401
25402
25403     if test "${ac_cv_header_langinfo_h+set}" = set; then
25404   echo "$as_me:$LINENO: checking for langinfo.h" >&5
25405 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25406 if test "${ac_cv_header_langinfo_h+set}" = set; then
25407   echo $ECHO_N "(cached) $ECHO_C" >&6
25408 fi
25409 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25410 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25411 else
25412   # Is the header compilable?
25413 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25414 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25415 cat >conftest.$ac_ext <<_ACEOF
25416 #line $LINENO "configure"
25417 /* confdefs.h.  */
25418 _ACEOF
25419 cat confdefs.h >>conftest.$ac_ext
25420 cat >>conftest.$ac_ext <<_ACEOF
25421 /* end confdefs.h.  */
25422 $ac_includes_default
25423 #include <langinfo.h>
25424 _ACEOF
25425 rm -f conftest.$ac_objext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25427   (eval $ac_compile) 2>&5
25428   ac_status=$?
25429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430   (exit $ac_status); } &&
25431          { ac_try='test -s conftest.$ac_objext'
25432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433   (eval $ac_try) 2>&5
25434   ac_status=$?
25435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436   (exit $ac_status); }; }; then
25437   ac_header_compiler=yes
25438 else
25439   echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25441
25442 ac_header_compiler=no
25443 fi
25444 rm -f conftest.$ac_objext conftest.$ac_ext
25445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25446 echo "${ECHO_T}$ac_header_compiler" >&6
25447
25448 # Is the header present?
25449 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25450 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25451 cat >conftest.$ac_ext <<_ACEOF
25452 #line $LINENO "configure"
25453 /* confdefs.h.  */
25454 _ACEOF
25455 cat confdefs.h >>conftest.$ac_ext
25456 cat >>conftest.$ac_ext <<_ACEOF
25457 /* end confdefs.h.  */
25458 #include <langinfo.h>
25459 _ACEOF
25460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25461   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25462   ac_status=$?
25463   grep -v '^ *+' conftest.er1 >conftest.err
25464   rm -f conftest.er1
25465   cat conftest.err >&5
25466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467   (exit $ac_status); } >/dev/null; then
25468   if test -s conftest.err; then
25469     ac_cpp_err=$ac_c_preproc_warn_flag
25470   else
25471     ac_cpp_err=
25472   fi
25473 else
25474   ac_cpp_err=yes
25475 fi
25476 if test -z "$ac_cpp_err"; then
25477   ac_header_preproc=yes
25478 else
25479   echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25481
25482   ac_header_preproc=no
25483 fi
25484 rm -f conftest.err conftest.$ac_ext
25485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25486 echo "${ECHO_T}$ac_header_preproc" >&6
25487
25488 # So?  What about this header?
25489 case $ac_header_compiler:$ac_header_preproc in
25490   yes:no )
25491     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25492 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25493     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25494 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25495     (
25496       cat <<\_ASBOX
25497 ## ------------------------------------ ##
25498 ## Report this to bug-autoconf@gnu.org. ##
25499 ## ------------------------------------ ##
25500 _ASBOX
25501     ) |
25502       sed "s/^/$as_me: WARNING:     /" >&2
25503     ;;
25504   no:yes )
25505     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25506 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25507     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25508 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25509     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25510 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25511     (
25512       cat <<\_ASBOX
25513 ## ------------------------------------ ##
25514 ## Report this to bug-autoconf@gnu.org. ##
25515 ## ------------------------------------ ##
25516 _ASBOX
25517     ) |
25518       sed "s/^/$as_me: WARNING:     /" >&2
25519     ;;
25520 esac
25521 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25522 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25523 if test "${ac_cv_header_langinfo_h+set}" = set; then
25524   echo $ECHO_N "(cached) $ECHO_C" >&6
25525 else
25526   ac_cv_header_langinfo_h=$ac_header_preproc
25527 fi
25528 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25529 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25530
25531 fi
25532 if test $ac_cv_header_langinfo_h = yes; then
25533   ac_has_langinfo_h=yes
25534 else
25535   ac_has_langinfo_h=no
25536 fi
25537
25538
25539
25540     # Check for existence of libiconv.a providing XPG2 wchar_t support.
25541     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25542 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25543 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25544   echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546   ac_check_lib_save_LIBS=$LIBS
25547 LIBS="-liconv  $LIBS"
25548 if test x$gcc_no_link = xyes; then
25549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25551    { (exit 1); exit 1; }; }
25552 fi
25553 cat >conftest.$ac_ext <<_ACEOF
25554 #line $LINENO "configure"
25555 /* confdefs.h.  */
25556 _ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h.  */
25560
25561 /* Override any gcc2 internal prototype to avoid an error.  */
25562 #ifdef __cplusplus
25563 extern "C"
25564 #endif
25565 /* We use char because int might match the return type of a gcc2
25566    builtin and then its argument prototype would still apply.  */
25567 char iconv ();
25568 int
25569 main ()
25570 {
25571 iconv ();
25572   ;
25573   return 0;
25574 }
25575 _ACEOF
25576 rm -f conftest.$ac_objext conftest$ac_exeext
25577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25578   (eval $ac_link) 2>&5
25579   ac_status=$?
25580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581   (exit $ac_status); } &&
25582          { ac_try='test -s conftest$ac_exeext'
25583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25584   (eval $ac_try) 2>&5
25585   ac_status=$?
25586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587   (exit $ac_status); }; }; then
25588   ac_cv_lib_iconv_iconv=yes
25589 else
25590   echo "$as_me: failed program was:" >&5
25591 sed 's/^/| /' conftest.$ac_ext >&5
25592
25593 ac_cv_lib_iconv_iconv=no
25594 fi
25595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25596 LIBS=$ac_check_lib_save_LIBS
25597 fi
25598 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25599 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25600 if test $ac_cv_lib_iconv_iconv = yes; then
25601   libiconv="-liconv"
25602 fi
25603
25604     ac_save_LIBS="$LIBS"
25605     LIBS="$LIBS $libiconv"
25606
25607
25608
25609
25610
25611 for ac_func in iconv_open iconv_close iconv nl_langinfo
25612 do
25613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25614 echo "$as_me:$LINENO: checking for $ac_func" >&5
25615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25616 if eval "test \"\${$as_ac_var+set}\" = set"; then
25617   echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25619   if test x$gcc_no_link = xyes; then
25620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25622    { (exit 1); exit 1; }; }
25623 fi
25624 cat >conftest.$ac_ext <<_ACEOF
25625 #line $LINENO "configure"
25626 /* confdefs.h.  */
25627 _ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h.  */
25631 /* System header to define __stub macros and hopefully few prototypes,
25632     which can conflict with char $ac_func (); below.
25633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25634     <limits.h> exists even on freestanding compilers.  */
25635 #ifdef __STDC__
25636 # include <limits.h>
25637 #else
25638 # include <assert.h>
25639 #endif
25640 /* Override any gcc2 internal prototype to avoid an error.  */
25641 #ifdef __cplusplus
25642 extern "C"
25643 {
25644 #endif
25645 /* We use char because int might match the return type of a gcc2
25646    builtin and then its argument prototype would still apply.  */
25647 char $ac_func ();
25648 /* The GNU C library defines this for functions which it implements
25649     to always fail with ENOSYS.  Some functions are actually named
25650     something starting with __ and the normal name is an alias.  */
25651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25652 choke me
25653 #else
25654 char (*f) () = $ac_func;
25655 #endif
25656 #ifdef __cplusplus
25657 }
25658 #endif
25659
25660 int
25661 main ()
25662 {
25663 return f != $ac_func;
25664   ;
25665   return 0;
25666 }
25667 _ACEOF
25668 rm -f conftest.$ac_objext conftest$ac_exeext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25670   (eval $ac_link) 2>&5
25671   ac_status=$?
25672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673   (exit $ac_status); } &&
25674          { ac_try='test -s conftest$ac_exeext'
25675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676   (eval $ac_try) 2>&5
25677   ac_status=$?
25678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679   (exit $ac_status); }; }; then
25680   eval "$as_ac_var=yes"
25681 else
25682   echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25684
25685 eval "$as_ac_var=no"
25686 fi
25687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25688 fi
25689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25691 if test `eval echo '${'$as_ac_var'}'` = yes; then
25692   cat >>confdefs.h <<_ACEOF
25693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25694 _ACEOF
25695  ac_XPG2funcs=yes
25696 else
25697   ac_XPG2funcs=no
25698 fi
25699 done
25700
25701
25702     LIBS="$ac_save_LIBS"
25703
25704     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25705 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25706     if test x"$ac_has_iconv_h" = xyes &&
25707        test x"$ac_has_langinfo_h" = xyes &&
25708        test x"$ac_XPG2funcs" = xyes;
25709     then
25710       ac_XPG2_wchar_t=yes
25711     else
25712       ac_XPG2_wchar_t=no
25713     fi
25714     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25715 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25716
25717     # At the moment, only enable wchar_t specializations if all the
25718     # above support is present.
25719     if test x"$ac_isoC99_wchar_t" = xyes &&
25720        test x"$ac_XPG2_wchar_t" = xyes;
25721     then
25722       cat >>confdefs.h <<\_ACEOF
25723 #define _GLIBCXX_USE_WCHAR_T 1
25724 _ACEOF
25725
25726       enable_wchar_t=yes
25727     fi
25728   fi
25729   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25730 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25731   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25732 echo "${ECHO_T}$enable_wchar_t" >&6
25733
25734
25735   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25736   ac_save_CXXFLAGS="$CXXFLAGS"
25737   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25738
25739
25740   echo "$as_me:$LINENO: checking for strtold declaration" >&5
25741 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25742   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25743     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25744   echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25746
25747
25748
25749       ac_ext=cc
25750 ac_cpp='$CXXCPP $CPPFLAGS'
25751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754
25755       cat >conftest.$ac_ext <<_ACEOF
25756 #line $LINENO "configure"
25757 /* confdefs.h.  */
25758 _ACEOF
25759 cat confdefs.h >>conftest.$ac_ext
25760 cat >>conftest.$ac_ext <<_ACEOF
25761 /* end confdefs.h.  */
25762 #include <stdlib.h>
25763 int
25764 main ()
25765 {
25766  strtold(0, 0);
25767   ;
25768   return 0;
25769 }
25770 _ACEOF
25771 rm -f conftest.$ac_objext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25773   (eval $ac_compile) 2>&5
25774   ac_status=$?
25775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776   (exit $ac_status); } &&
25777          { ac_try='test -s conftest.$ac_objext'
25778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779   (eval $ac_try) 2>&5
25780   ac_status=$?
25781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782   (exit $ac_status); }; }; then
25783   glibcxx_cv_func_strtold_use=yes
25784 else
25785   echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25787
25788 glibcxx_cv_func_strtold_use=no
25789 fi
25790 rm -f conftest.$ac_objext conftest.$ac_ext
25791       ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25796
25797
25798 fi
25799
25800   fi
25801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25802 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25803   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25804
25805 for ac_func in strtold
25806 do
25807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25808 echo "$as_me:$LINENO: checking for $ac_func" >&5
25809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25810 if eval "test \"\${$as_ac_var+set}\" = set"; then
25811   echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25813   if test x$gcc_no_link = xyes; then
25814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25816    { (exit 1); exit 1; }; }
25817 fi
25818 cat >conftest.$ac_ext <<_ACEOF
25819 #line $LINENO "configure"
25820 /* confdefs.h.  */
25821 _ACEOF
25822 cat confdefs.h >>conftest.$ac_ext
25823 cat >>conftest.$ac_ext <<_ACEOF
25824 /* end confdefs.h.  */
25825 /* System header to define __stub macros and hopefully few prototypes,
25826     which can conflict with char $ac_func (); below.
25827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25828     <limits.h> exists even on freestanding compilers.  */
25829 #ifdef __STDC__
25830 # include <limits.h>
25831 #else
25832 # include <assert.h>
25833 #endif
25834 /* Override any gcc2 internal prototype to avoid an error.  */
25835 #ifdef __cplusplus
25836 extern "C"
25837 {
25838 #endif
25839 /* We use char because int might match the return type of a gcc2
25840    builtin and then its argument prototype would still apply.  */
25841 char $ac_func ();
25842 /* The GNU C library defines this for functions which it implements
25843     to always fail with ENOSYS.  Some functions are actually named
25844     something starting with __ and the normal name is an alias.  */
25845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25846 choke me
25847 #else
25848 char (*f) () = $ac_func;
25849 #endif
25850 #ifdef __cplusplus
25851 }
25852 #endif
25853
25854 int
25855 main ()
25856 {
25857 return f != $ac_func;
25858   ;
25859   return 0;
25860 }
25861 _ACEOF
25862 rm -f conftest.$ac_objext conftest$ac_exeext
25863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25864   (eval $ac_link) 2>&5
25865   ac_status=$?
25866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867   (exit $ac_status); } &&
25868          { ac_try='test -s conftest$ac_exeext'
25869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870   (eval $ac_try) 2>&5
25871   ac_status=$?
25872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873   (exit $ac_status); }; }; then
25874   eval "$as_ac_var=yes"
25875 else
25876   echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25878
25879 eval "$as_ac_var=no"
25880 fi
25881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25882 fi
25883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25885 if test `eval echo '${'$as_ac_var'}'` = yes; then
25886   cat >>confdefs.h <<_ACEOF
25887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25888 _ACEOF
25889
25890 fi
25891 done
25892
25893   fi
25894
25895
25896   echo "$as_me:$LINENO: checking for strtof declaration" >&5
25897 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25898   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25899     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25900   echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902
25903
25904
25905       ac_ext=cc
25906 ac_cpp='$CXXCPP $CPPFLAGS'
25907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25910
25911       cat >conftest.$ac_ext <<_ACEOF
25912 #line $LINENO "configure"
25913 /* confdefs.h.  */
25914 _ACEOF
25915 cat confdefs.h >>conftest.$ac_ext
25916 cat >>conftest.$ac_ext <<_ACEOF
25917 /* end confdefs.h.  */
25918 #include <stdlib.h>
25919 int
25920 main ()
25921 {
25922  strtof(0, 0);
25923   ;
25924   return 0;
25925 }
25926 _ACEOF
25927 rm -f conftest.$ac_objext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25929   (eval $ac_compile) 2>&5
25930   ac_status=$?
25931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932   (exit $ac_status); } &&
25933          { ac_try='test -s conftest.$ac_objext'
25934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25935   (eval $ac_try) 2>&5
25936   ac_status=$?
25937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25938   (exit $ac_status); }; }; then
25939   glibcxx_cv_func_strtof_use=yes
25940 else
25941   echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.$ac_ext >&5
25943
25944 glibcxx_cv_func_strtof_use=no
25945 fi
25946 rm -f conftest.$ac_objext conftest.$ac_ext
25947       ac_ext=c
25948 ac_cpp='$CPP $CPPFLAGS'
25949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25952
25953
25954 fi
25955
25956   fi
25957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
25958 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
25959   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25960
25961 for ac_func in strtof
25962 do
25963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25964 echo "$as_me:$LINENO: checking for $ac_func" >&5
25965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25966 if eval "test \"\${$as_ac_var+set}\" = set"; then
25967   echo $ECHO_N "(cached) $ECHO_C" >&6
25968 else
25969   if test x$gcc_no_link = xyes; then
25970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25972    { (exit 1); exit 1; }; }
25973 fi
25974 cat >conftest.$ac_ext <<_ACEOF
25975 #line $LINENO "configure"
25976 /* confdefs.h.  */
25977 _ACEOF
25978 cat confdefs.h >>conftest.$ac_ext
25979 cat >>conftest.$ac_ext <<_ACEOF
25980 /* end confdefs.h.  */
25981 /* System header to define __stub macros and hopefully few prototypes,
25982     which can conflict with char $ac_func (); below.
25983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25984     <limits.h> exists even on freestanding compilers.  */
25985 #ifdef __STDC__
25986 # include <limits.h>
25987 #else
25988 # include <assert.h>
25989 #endif
25990 /* Override any gcc2 internal prototype to avoid an error.  */
25991 #ifdef __cplusplus
25992 extern "C"
25993 {
25994 #endif
25995 /* We use char because int might match the return type of a gcc2
25996    builtin and then its argument prototype would still apply.  */
25997 char $ac_func ();
25998 /* The GNU C library defines this for functions which it implements
25999     to always fail with ENOSYS.  Some functions are actually named
26000     something starting with __ and the normal name is an alias.  */
26001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26002 choke me
26003 #else
26004 char (*f) () = $ac_func;
26005 #endif
26006 #ifdef __cplusplus
26007 }
26008 #endif
26009
26010 int
26011 main ()
26012 {
26013 return f != $ac_func;
26014   ;
26015   return 0;
26016 }
26017 _ACEOF
26018 rm -f conftest.$ac_objext conftest$ac_exeext
26019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26020   (eval $ac_link) 2>&5
26021   ac_status=$?
26022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023   (exit $ac_status); } &&
26024          { ac_try='test -s conftest$ac_exeext'
26025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26026   (eval $ac_try) 2>&5
26027   ac_status=$?
26028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029   (exit $ac_status); }; }; then
26030   eval "$as_ac_var=yes"
26031 else
26032   echo "$as_me: failed program was:" >&5
26033 sed 's/^/| /' conftest.$ac_ext >&5
26034
26035 eval "$as_ac_var=no"
26036 fi
26037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26038 fi
26039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26041 if test `eval echo '${'$as_ac_var'}'` = yes; then
26042   cat >>confdefs.h <<_ACEOF
26043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26044 _ACEOF
26045
26046 fi
26047 done
26048
26049   fi
26050
26051
26052   CXXFLAGS="$ac_save_CXXFLAGS"
26053
26054
26055   # For showmanyc_helper().
26056
26057
26058 for ac_header in sys/ioctl.h sys/filio.h
26059 do
26060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26062   echo "$as_me:$LINENO: checking for $ac_header" >&5
26063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26065   echo $ECHO_N "(cached) $ECHO_C" >&6
26066 fi
26067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26069 else
26070   # Is the header compilable?
26071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26073 cat >conftest.$ac_ext <<_ACEOF
26074 #line $LINENO "configure"
26075 /* confdefs.h.  */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h.  */
26080 $ac_includes_default
26081 #include <$ac_header>
26082 _ACEOF
26083 rm -f conftest.$ac_objext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26085   (eval $ac_compile) 2>&5
26086   ac_status=$?
26087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088   (exit $ac_status); } &&
26089          { ac_try='test -s conftest.$ac_objext'
26090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091   (eval $ac_try) 2>&5
26092   ac_status=$?
26093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094   (exit $ac_status); }; }; then
26095   ac_header_compiler=yes
26096 else
26097   echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26099
26100 ac_header_compiler=no
26101 fi
26102 rm -f conftest.$ac_objext conftest.$ac_ext
26103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26104 echo "${ECHO_T}$ac_header_compiler" >&6
26105
26106 # Is the header present?
26107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26109 cat >conftest.$ac_ext <<_ACEOF
26110 #line $LINENO "configure"
26111 /* confdefs.h.  */
26112 _ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h.  */
26116 #include <$ac_header>
26117 _ACEOF
26118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26120   ac_status=$?
26121   grep -v '^ *+' conftest.er1 >conftest.err
26122   rm -f conftest.er1
26123   cat conftest.err >&5
26124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125   (exit $ac_status); } >/dev/null; then
26126   if test -s conftest.err; then
26127     ac_cpp_err=$ac_c_preproc_warn_flag
26128   else
26129     ac_cpp_err=
26130   fi
26131 else
26132   ac_cpp_err=yes
26133 fi
26134 if test -z "$ac_cpp_err"; then
26135   ac_header_preproc=yes
26136 else
26137   echo "$as_me: failed program was:" >&5
26138 sed 's/^/| /' conftest.$ac_ext >&5
26139
26140   ac_header_preproc=no
26141 fi
26142 rm -f conftest.err conftest.$ac_ext
26143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26144 echo "${ECHO_T}$ac_header_preproc" >&6
26145
26146 # So?  What about this header?
26147 case $ac_header_compiler:$ac_header_preproc in
26148   yes:no )
26149     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26151     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26153     (
26154       cat <<\_ASBOX
26155 ## ------------------------------------ ##
26156 ## Report this to bug-autoconf@gnu.org. ##
26157 ## ------------------------------------ ##
26158 _ASBOX
26159     ) |
26160       sed "s/^/$as_me: WARNING:     /" >&2
26161     ;;
26162   no:yes )
26163     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26165     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26167     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26169     (
26170       cat <<\_ASBOX
26171 ## ------------------------------------ ##
26172 ## Report this to bug-autoconf@gnu.org. ##
26173 ## ------------------------------------ ##
26174 _ASBOX
26175     ) |
26176       sed "s/^/$as_me: WARNING:     /" >&2
26177     ;;
26178 esac
26179 echo "$as_me:$LINENO: checking for $ac_header" >&5
26180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26182   echo $ECHO_N "(cached) $ECHO_C" >&6
26183 else
26184   eval "$as_ac_Header=$ac_header_preproc"
26185 fi
26186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26188
26189 fi
26190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26191   cat >>confdefs.h <<_ACEOF
26192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26193 _ACEOF
26194
26195 fi
26196
26197 done
26198
26199
26200   if test "${glibcxx_cv_POLL+set}" = set; then
26201   echo $ECHO_N "(cached) $ECHO_C" >&6
26202 else
26203
26204     if test x$gcc_no_link = xyes; then
26205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26207    { (exit 1); exit 1; }; }
26208 fi
26209 cat >conftest.$ac_ext <<_ACEOF
26210 #line $LINENO "configure"
26211 /* confdefs.h.  */
26212 _ACEOF
26213 cat confdefs.h >>conftest.$ac_ext
26214 cat >>conftest.$ac_ext <<_ACEOF
26215 /* end confdefs.h.  */
26216 #include <poll.h>
26217 int
26218 main ()
26219 {
26220 struct pollfd pfd[1];
26221        pfd[0].events = POLLIN;
26222        poll(pfd, 1, 0);
26223   ;
26224   return 0;
26225 }
26226 _ACEOF
26227 rm -f conftest.$ac_objext conftest$ac_exeext
26228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26229   (eval $ac_link) 2>&5
26230   ac_status=$?
26231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232   (exit $ac_status); } &&
26233          { ac_try='test -s conftest$ac_exeext'
26234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235   (eval $ac_try) 2>&5
26236   ac_status=$?
26237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238   (exit $ac_status); }; }; then
26239   glibcxx_cv_POLL=yes
26240 else
26241   echo "$as_me: failed program was:" >&5
26242 sed 's/^/| /' conftest.$ac_ext >&5
26243
26244 glibcxx_cv_POLL=no
26245 fi
26246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26247
26248 fi
26249
26250   if test $glibcxx_cv_POLL = yes; then
26251     cat >>confdefs.h <<\_ACEOF
26252 #define HAVE_POLL 1
26253 _ACEOF
26254
26255   fi
26256
26257
26258   if test "${glibcxx_cv_S_ISREG+set}" = set; then
26259   echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26261
26262     if test x$gcc_no_link = xyes; then
26263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26265    { (exit 1); exit 1; }; }
26266 fi
26267 cat >conftest.$ac_ext <<_ACEOF
26268 #line $LINENO "configure"
26269 /* confdefs.h.  */
26270 _ACEOF
26271 cat confdefs.h >>conftest.$ac_ext
26272 cat >>conftest.$ac_ext <<_ACEOF
26273 /* end confdefs.h.  */
26274 #include <sys/stat.h>
26275 int
26276 main ()
26277 {
26278 struct stat buffer;
26279        fstat(0, &buffer);
26280        S_ISREG(buffer.st_mode);
26281   ;
26282   return 0;
26283 }
26284 _ACEOF
26285 rm -f conftest.$ac_objext conftest$ac_exeext
26286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26287   (eval $ac_link) 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_S_ISREG=yes
26298 else
26299   echo "$as_me: failed program was:" >&5
26300 sed 's/^/| /' conftest.$ac_ext >&5
26301
26302 glibcxx_cv_S_ISREG=no
26303 fi
26304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26305
26306 fi
26307
26308   if test "${glibcxx_cv_S_IFREG+set}" = set; then
26309   echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26311
26312     if test x$gcc_no_link = xyes; then
26313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26315    { (exit 1); exit 1; }; }
26316 fi
26317 cat >conftest.$ac_ext <<_ACEOF
26318 #line $LINENO "configure"
26319 /* confdefs.h.  */
26320 _ACEOF
26321 cat confdefs.h >>conftest.$ac_ext
26322 cat >>conftest.$ac_ext <<_ACEOF
26323 /* end confdefs.h.  */
26324 #include <sys/stat.h>
26325 int
26326 main ()
26327 {
26328 struct stat buffer;
26329        fstat(0, &buffer);
26330        S_IFREG & buffer.st_mode;
26331   ;
26332   return 0;
26333 }
26334 _ACEOF
26335 rm -f conftest.$ac_objext conftest$ac_exeext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26337   (eval $ac_link) 2>&5
26338   ac_status=$?
26339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340   (exit $ac_status); } &&
26341          { ac_try='test -s conftest$ac_exeext'
26342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343   (eval $ac_try) 2>&5
26344   ac_status=$?
26345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346   (exit $ac_status); }; }; then
26347   glibcxx_cv_S_IFREG=yes
26348 else
26349   echo "$as_me: failed program was:" >&5
26350 sed 's/^/| /' conftest.$ac_ext >&5
26351
26352 glibcxx_cv_S_IFREG=no
26353 fi
26354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26355
26356 fi
26357
26358   if test $glibcxx_cv_S_ISREG = yes; then
26359     cat >>confdefs.h <<\_ACEOF
26360 #define HAVE_S_ISREG 1
26361 _ACEOF
26362
26363   elif test $glibcxx_cv_S_IFREG = yes; then
26364     cat >>confdefs.h <<\_ACEOF
26365 #define HAVE_S_IFREG 1
26366 _ACEOF
26367
26368   fi
26369
26370
26371   # For xsputn_2().
26372
26373 for ac_header in sys/uio.h
26374 do
26375 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26377   echo "$as_me:$LINENO: checking for $ac_header" >&5
26378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26380   echo $ECHO_N "(cached) $ECHO_C" >&6
26381 fi
26382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26384 else
26385   # Is the header compilable?
26386 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26388 cat >conftest.$ac_ext <<_ACEOF
26389 #line $LINENO "configure"
26390 /* confdefs.h.  */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h.  */
26395 $ac_includes_default
26396 #include <$ac_header>
26397 _ACEOF
26398 rm -f conftest.$ac_objext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26400   (eval $ac_compile) 2>&5
26401   ac_status=$?
26402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403   (exit $ac_status); } &&
26404          { ac_try='test -s conftest.$ac_objext'
26405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406   (eval $ac_try) 2>&5
26407   ac_status=$?
26408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409   (exit $ac_status); }; }; then
26410   ac_header_compiler=yes
26411 else
26412   echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26414
26415 ac_header_compiler=no
26416 fi
26417 rm -f conftest.$ac_objext conftest.$ac_ext
26418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26419 echo "${ECHO_T}$ac_header_compiler" >&6
26420
26421 # Is the header present?
26422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26424 cat >conftest.$ac_ext <<_ACEOF
26425 #line $LINENO "configure"
26426 /* confdefs.h.  */
26427 _ACEOF
26428 cat confdefs.h >>conftest.$ac_ext
26429 cat >>conftest.$ac_ext <<_ACEOF
26430 /* end confdefs.h.  */
26431 #include <$ac_header>
26432 _ACEOF
26433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26434   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26435   ac_status=$?
26436   grep -v '^ *+' conftest.er1 >conftest.err
26437   rm -f conftest.er1
26438   cat conftest.err >&5
26439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440   (exit $ac_status); } >/dev/null; then
26441   if test -s conftest.err; then
26442     ac_cpp_err=$ac_c_preproc_warn_flag
26443   else
26444     ac_cpp_err=
26445   fi
26446 else
26447   ac_cpp_err=yes
26448 fi
26449 if test -z "$ac_cpp_err"; then
26450   ac_header_preproc=yes
26451 else
26452   echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26454
26455   ac_header_preproc=no
26456 fi
26457 rm -f conftest.err conftest.$ac_ext
26458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26459 echo "${ECHO_T}$ac_header_preproc" >&6
26460
26461 # So?  What about this header?
26462 case $ac_header_compiler:$ac_header_preproc in
26463   yes:no )
26464     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26466     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26468     (
26469       cat <<\_ASBOX
26470 ## ------------------------------------ ##
26471 ## Report this to bug-autoconf@gnu.org. ##
26472 ## ------------------------------------ ##
26473 _ASBOX
26474     ) |
26475       sed "s/^/$as_me: WARNING:     /" >&2
26476     ;;
26477   no:yes )
26478     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26479 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26480     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26481 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26482     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26484     (
26485       cat <<\_ASBOX
26486 ## ------------------------------------ ##
26487 ## Report this to bug-autoconf@gnu.org. ##
26488 ## ------------------------------------ ##
26489 _ASBOX
26490     ) |
26491       sed "s/^/$as_me: WARNING:     /" >&2
26492     ;;
26493 esac
26494 echo "$as_me:$LINENO: checking for $ac_header" >&5
26495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26497   echo $ECHO_N "(cached) $ECHO_C" >&6
26498 else
26499   eval "$as_ac_Header=$ac_header_preproc"
26500 fi
26501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26503
26504 fi
26505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26506   cat >>confdefs.h <<_ACEOF
26507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26508 _ACEOF
26509
26510 fi
26511
26512 done
26513
26514
26515   if test "${glibcxx_cv_WRITEV+set}" = set; then
26516   echo $ECHO_N "(cached) $ECHO_C" >&6
26517 else
26518
26519     if test x$gcc_no_link = xyes; then
26520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26522    { (exit 1); exit 1; }; }
26523 fi
26524 cat >conftest.$ac_ext <<_ACEOF
26525 #line $LINENO "configure"
26526 /* confdefs.h.  */
26527 _ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h.  */
26531 #include <sys/uio.h>
26532 int
26533 main ()
26534 {
26535 struct iovec iov[2];
26536        writev(0, iov, 0);
26537   ;
26538   return 0;
26539 }
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543   (eval $ac_link) 2>&5
26544   ac_status=$?
26545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546   (exit $ac_status); } &&
26547          { ac_try='test -s conftest$ac_exeext'
26548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26549   (eval $ac_try) 2>&5
26550   ac_status=$?
26551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552   (exit $ac_status); }; }; then
26553   glibcxx_cv_WRITEV=yes
26554 else
26555   echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26557
26558 glibcxx_cv_WRITEV=no
26559 fi
26560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26561
26562 fi
26563
26564   if test $glibcxx_cv_WRITEV = yes; then
26565     cat >>confdefs.h <<\_ACEOF
26566 #define HAVE_WRITEV 1
26567 _ACEOF
26568
26569   fi
26570
26571
26572   # For the __streamoff_base_type typedef.
26573
26574   if test "${glibcxx_cv_INT64_T+set}" = set; then
26575   echo $ECHO_N "(cached) $ECHO_C" >&6
26576 else
26577
26578     cat >conftest.$ac_ext <<_ACEOF
26579 #line $LINENO "configure"
26580 /* confdefs.h.  */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h.  */
26585 #include <stdint.h>
26586 int
26587 main ()
26588 {
26589 int64_t var;
26590   ;
26591   return 0;
26592 }
26593 _ACEOF
26594 rm -f conftest.$ac_objext
26595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26596   (eval $ac_compile) 2>&5
26597   ac_status=$?
26598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599   (exit $ac_status); } &&
26600          { ac_try='test -s conftest.$ac_objext'
26601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602   (eval $ac_try) 2>&5
26603   ac_status=$?
26604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605   (exit $ac_status); }; }; then
26606   glibcxx_cv_INT64_T=yes
26607 else
26608   echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26610
26611 glibcxx_cv_INT64_T=no
26612 fi
26613 rm -f conftest.$ac_objext conftest.$ac_ext
26614
26615 fi
26616
26617   if test $glibcxx_cv_INT64_T = yes; then
26618     cat >>confdefs.h <<\_ACEOF
26619 #define HAVE_INT64_T 1
26620 _ACEOF
26621
26622   fi
26623
26624
26625   # For LFS support.
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   ac_save_CXXFLAGS="$CXXFLAGS"
26636   CXXFLAGS="$CXXFLAGS -fno-exceptions"
26637   if test "${glibcxx_cv_LFS+set}" = set; then
26638   echo $ECHO_N "(cached) $ECHO_C" >&6
26639 else
26640
26641     if test x$gcc_no_link = xyes; then
26642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26644    { (exit 1); exit 1; }; }
26645 fi
26646 cat >conftest.$ac_ext <<_ACEOF
26647 #line $LINENO "configure"
26648 /* confdefs.h.  */
26649 _ACEOF
26650 cat confdefs.h >>conftest.$ac_ext
26651 cat >>conftest.$ac_ext <<_ACEOF
26652 /* end confdefs.h.  */
26653 #include <unistd.h>
26654        #include <stdio.h>
26655
26656 int
26657 main ()
26658 {
26659 FILE* fp;
26660        fopen64("t", "w");
26661        fseeko64(fp, 0, SEEK_CUR);
26662        ftello64(fp);
26663        lseek64(1, 0, SEEK_CUR);
26664   ;
26665   return 0;
26666 }
26667 _ACEOF
26668 rm -f conftest.$ac_objext conftest$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670   (eval $ac_link) 2>&5
26671   ac_status=$?
26672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673   (exit $ac_status); } &&
26674          { ac_try='test -s conftest$ac_exeext'
26675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676   (eval $ac_try) 2>&5
26677   ac_status=$?
26678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679   (exit $ac_status); }; }; then
26680   glibcxx_cv_LFS=yes
26681 else
26682   echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.$ac_ext >&5
26684
26685 glibcxx_cv_LFS=no
26686 fi
26687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26688
26689 fi
26690
26691   if test $glibcxx_cv_LFS = yes; then
26692     cat >>confdefs.h <<\_ACEOF
26693 #define _GLIBCXX_USE_LFS 1
26694 _ACEOF
26695
26696   fi
26697   CXXFLAGS="$ac_save_CXXFLAGS"
26698   ac_ext=c
26699 ac_cpp='$CPP $CPPFLAGS'
26700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26703
26704
26705
26706
26707   if test "${ac_cv_header_locale_h+set}" = set; then
26708   echo "$as_me:$LINENO: checking for locale.h" >&5
26709 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26710 if test "${ac_cv_header_locale_h+set}" = set; then
26711   echo $ECHO_N "(cached) $ECHO_C" >&6
26712 fi
26713 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26714 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26715 else
26716   # Is the header compilable?
26717 echo "$as_me:$LINENO: checking locale.h usability" >&5
26718 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26719 cat >conftest.$ac_ext <<_ACEOF
26720 #line $LINENO "configure"
26721 /* confdefs.h.  */
26722 _ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h.  */
26726 $ac_includes_default
26727 #include <locale.h>
26728 _ACEOF
26729 rm -f conftest.$ac_objext
26730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26731   (eval $ac_compile) 2>&5
26732   ac_status=$?
26733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734   (exit $ac_status); } &&
26735          { ac_try='test -s conftest.$ac_objext'
26736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737   (eval $ac_try) 2>&5
26738   ac_status=$?
26739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740   (exit $ac_status); }; }; then
26741   ac_header_compiler=yes
26742 else
26743   echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26745
26746 ac_header_compiler=no
26747 fi
26748 rm -f conftest.$ac_objext conftest.$ac_ext
26749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26750 echo "${ECHO_T}$ac_header_compiler" >&6
26751
26752 # Is the header present?
26753 echo "$as_me:$LINENO: checking locale.h presence" >&5
26754 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26755 cat >conftest.$ac_ext <<_ACEOF
26756 #line $LINENO "configure"
26757 /* confdefs.h.  */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h.  */
26762 #include <locale.h>
26763 _ACEOF
26764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26765   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26766   ac_status=$?
26767   grep -v '^ *+' conftest.er1 >conftest.err
26768   rm -f conftest.er1
26769   cat conftest.err >&5
26770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771   (exit $ac_status); } >/dev/null; then
26772   if test -s conftest.err; then
26773     ac_cpp_err=$ac_c_preproc_warn_flag
26774   else
26775     ac_cpp_err=
26776   fi
26777 else
26778   ac_cpp_err=yes
26779 fi
26780 if test -z "$ac_cpp_err"; then
26781   ac_header_preproc=yes
26782 else
26783   echo "$as_me: failed program was:" >&5
26784 sed 's/^/| /' conftest.$ac_ext >&5
26785
26786   ac_header_preproc=no
26787 fi
26788 rm -f conftest.err conftest.$ac_ext
26789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26790 echo "${ECHO_T}$ac_header_preproc" >&6
26791
26792 # So?  What about this header?
26793 case $ac_header_compiler:$ac_header_preproc in
26794   yes:no )
26795     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26796 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26797     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26798 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26799     (
26800       cat <<\_ASBOX
26801 ## ------------------------------------ ##
26802 ## Report this to bug-autoconf@gnu.org. ##
26803 ## ------------------------------------ ##
26804 _ASBOX
26805     ) |
26806       sed "s/^/$as_me: WARNING:     /" >&2
26807     ;;
26808   no:yes )
26809     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26810 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26811     { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26812 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26813     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26814 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26815     (
26816       cat <<\_ASBOX
26817 ## ------------------------------------ ##
26818 ## Report this to bug-autoconf@gnu.org. ##
26819 ## ------------------------------------ ##
26820 _ASBOX
26821     ) |
26822       sed "s/^/$as_me: WARNING:     /" >&2
26823     ;;
26824 esac
26825 echo "$as_me:$LINENO: checking for locale.h" >&5
26826 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26827 if test "${ac_cv_header_locale_h+set}" = set; then
26828   echo $ECHO_N "(cached) $ECHO_C" >&6
26829 else
26830   ac_cv_header_locale_h=$ac_header_preproc
26831 fi
26832 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26833 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26834
26835 fi
26836 if test $ac_cv_header_locale_h = yes; then
26837
26838     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26839 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26840 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26841   echo $ECHO_N "(cached) $ECHO_C" >&6
26842 else
26843   if test x$gcc_no_link = xyes; then
26844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26846    { (exit 1); exit 1; }; }
26847 fi
26848 cat >conftest.$ac_ext <<_ACEOF
26849 #line $LINENO "configure"
26850 /* confdefs.h.  */
26851 _ACEOF
26852 cat confdefs.h >>conftest.$ac_ext
26853 cat >>conftest.$ac_ext <<_ACEOF
26854 /* end confdefs.h.  */
26855 #include <locale.h>
26856 int
26857 main ()
26858 {
26859 return LC_MESSAGES
26860   ;
26861   return 0;
26862 }
26863 _ACEOF
26864 rm -f conftest.$ac_objext conftest$ac_exeext
26865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26866   (eval $ac_link) 2>&5
26867   ac_status=$?
26868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26869   (exit $ac_status); } &&
26870          { ac_try='test -s conftest$ac_exeext'
26871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26872   (eval $ac_try) 2>&5
26873   ac_status=$?
26874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875   (exit $ac_status); }; }; then
26876   ac_cv_val_LC_MESSAGES=yes
26877 else
26878   echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.$ac_ext >&5
26880
26881 ac_cv_val_LC_MESSAGES=no
26882 fi
26883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26884 fi
26885 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26886 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26887     if test $ac_cv_val_LC_MESSAGES = yes; then
26888       cat >>confdefs.h <<\_ACEOF
26889 #define HAVE_LC_MESSAGES 1
26890 _ACEOF
26891
26892     fi
26893
26894 fi
26895
26896
26897
26898
26899   cat >conftest.$ac_ext <<_ACEOF
26900 #line $LINENO "configure"
26901 /* confdefs.h.  */
26902 _ACEOF
26903 cat confdefs.h >>conftest.$ac_ext
26904 cat >>conftest.$ac_ext <<_ACEOF
26905 /* end confdefs.h.  */
26906 #include <setjmp.h>
26907 int
26908 main ()
26909 {
26910 sigjmp_buf env;
26911      while (! sigsetjmp (env, 1))
26912        siglongjmp (env, 1);
26913
26914   ;
26915   return 0;
26916 }
26917 _ACEOF
26918 rm -f conftest.$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920   (eval $ac_compile) 2>&5
26921   ac_status=$?
26922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923   (exit $ac_status); } &&
26924          { ac_try='test -s conftest.$ac_objext'
26925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926   (eval $ac_try) 2>&5
26927   ac_status=$?
26928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929   (exit $ac_status); }; }; then
26930
26931 cat >>confdefs.h <<\_ACEOF
26932 #define HAVE_SIGSETJMP 1
26933 _ACEOF
26934
26935 else
26936   echo "$as_me: failed program was:" >&5
26937 sed 's/^/| /' conftest.$ac_ext >&5
26938
26939 fi
26940 rm -f conftest.$ac_objext conftest.$ac_ext
26941
26942   if test x$gcc_no_link = xyes; then
26943   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
26944     ac_cv_func_mmap_fixed_mapped=no
26945   fi
26946 fi
26947 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
26948
26949
26950 for ac_header in stdlib.h unistd.h
26951 do
26952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26954   echo "$as_me:$LINENO: checking for $ac_header" >&5
26955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26957   echo $ECHO_N "(cached) $ECHO_C" >&6
26958 fi
26959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26961 else
26962   # Is the header compilable?
26963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26965 cat >conftest.$ac_ext <<_ACEOF
26966 #line $LINENO "configure"
26967 /* confdefs.h.  */
26968 _ACEOF
26969 cat confdefs.h >>conftest.$ac_ext
26970 cat >>conftest.$ac_ext <<_ACEOF
26971 /* end confdefs.h.  */
26972 $ac_includes_default
26973 #include <$ac_header>
26974 _ACEOF
26975 rm -f conftest.$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977   (eval $ac_compile) 2>&5
26978   ac_status=$?
26979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980   (exit $ac_status); } &&
26981          { ac_try='test -s conftest.$ac_objext'
26982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983   (eval $ac_try) 2>&5
26984   ac_status=$?
26985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986   (exit $ac_status); }; }; then
26987   ac_header_compiler=yes
26988 else
26989   echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 ac_header_compiler=no
26993 fi
26994 rm -f conftest.$ac_objext conftest.$ac_ext
26995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26996 echo "${ECHO_T}$ac_header_compiler" >&6
26997
26998 # Is the header present?
26999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27001 cat >conftest.$ac_ext <<_ACEOF
27002 #line $LINENO "configure"
27003 /* confdefs.h.  */
27004 _ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h.  */
27008 #include <$ac_header>
27009 _ACEOF
27010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27011   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27012   ac_status=$?
27013   grep -v '^ *+' conftest.er1 >conftest.err
27014   rm -f conftest.er1
27015   cat conftest.err >&5
27016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017   (exit $ac_status); } >/dev/null; then
27018   if test -s conftest.err; then
27019     ac_cpp_err=$ac_c_preproc_warn_flag
27020   else
27021     ac_cpp_err=
27022   fi
27023 else
27024   ac_cpp_err=yes
27025 fi
27026 if test -z "$ac_cpp_err"; then
27027   ac_header_preproc=yes
27028 else
27029   echo "$as_me: failed program was:" >&5
27030 sed 's/^/| /' conftest.$ac_ext >&5
27031
27032   ac_header_preproc=no
27033 fi
27034 rm -f conftest.err conftest.$ac_ext
27035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27036 echo "${ECHO_T}$ac_header_preproc" >&6
27037
27038 # So?  What about this header?
27039 case $ac_header_compiler:$ac_header_preproc in
27040   yes:no )
27041     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27043     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27045     (
27046       cat <<\_ASBOX
27047 ## ------------------------------------ ##
27048 ## Report this to bug-autoconf@gnu.org. ##
27049 ## ------------------------------------ ##
27050 _ASBOX
27051     ) |
27052       sed "s/^/$as_me: WARNING:     /" >&2
27053     ;;
27054   no:yes )
27055     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27057     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27059     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27060 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27061     (
27062       cat <<\_ASBOX
27063 ## ------------------------------------ ##
27064 ## Report this to bug-autoconf@gnu.org. ##
27065 ## ------------------------------------ ##
27066 _ASBOX
27067     ) |
27068       sed "s/^/$as_me: WARNING:     /" >&2
27069     ;;
27070 esac
27071 echo "$as_me:$LINENO: checking for $ac_header" >&5
27072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27074   echo $ECHO_N "(cached) $ECHO_C" >&6
27075 else
27076   eval "$as_ac_Header=$ac_header_preproc"
27077 fi
27078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27080
27081 fi
27082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27083   cat >>confdefs.h <<_ACEOF
27084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27085 _ACEOF
27086
27087 fi
27088
27089 done
27090
27091
27092 for ac_func in getpagesize
27093 do
27094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27095 echo "$as_me:$LINENO: checking for $ac_func" >&5
27096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27097 if eval "test \"\${$as_ac_var+set}\" = set"; then
27098   echo $ECHO_N "(cached) $ECHO_C" >&6
27099 else
27100   if test x$gcc_no_link = xyes; then
27101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27103    { (exit 1); exit 1; }; }
27104 fi
27105 cat >conftest.$ac_ext <<_ACEOF
27106 #line $LINENO "configure"
27107 /* confdefs.h.  */
27108 _ACEOF
27109 cat confdefs.h >>conftest.$ac_ext
27110 cat >>conftest.$ac_ext <<_ACEOF
27111 /* end confdefs.h.  */
27112 /* System header to define __stub macros and hopefully few prototypes,
27113     which can conflict with char $ac_func (); below.
27114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27115     <limits.h> exists even on freestanding compilers.  */
27116 #ifdef __STDC__
27117 # include <limits.h>
27118 #else
27119 # include <assert.h>
27120 #endif
27121 /* Override any gcc2 internal prototype to avoid an error.  */
27122 #ifdef __cplusplus
27123 extern "C"
27124 {
27125 #endif
27126 /* We use char because int might match the return type of a gcc2
27127    builtin and then its argument prototype would still apply.  */
27128 char $ac_func ();
27129 /* The GNU C library defines this for functions which it implements
27130     to always fail with ENOSYS.  Some functions are actually named
27131     something starting with __ and the normal name is an alias.  */
27132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27133 choke me
27134 #else
27135 char (*f) () = $ac_func;
27136 #endif
27137 #ifdef __cplusplus
27138 }
27139 #endif
27140
27141 int
27142 main ()
27143 {
27144 return f != $ac_func;
27145   ;
27146   return 0;
27147 }
27148 _ACEOF
27149 rm -f conftest.$ac_objext conftest$ac_exeext
27150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27151   (eval $ac_link) 2>&5
27152   ac_status=$?
27153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154   (exit $ac_status); } &&
27155          { ac_try='test -s conftest$ac_exeext'
27156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157   (eval $ac_try) 2>&5
27158   ac_status=$?
27159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160   (exit $ac_status); }; }; then
27161   eval "$as_ac_var=yes"
27162 else
27163   echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27165
27166 eval "$as_ac_var=no"
27167 fi
27168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27169 fi
27170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27172 if test `eval echo '${'$as_ac_var'}'` = yes; then
27173   cat >>confdefs.h <<_ACEOF
27174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27175 _ACEOF
27176
27177 fi
27178 done
27179
27180 echo "$as_me:$LINENO: checking for working mmap" >&5
27181 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27182 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27183   echo $ECHO_N "(cached) $ECHO_C" >&6
27184 else
27185   if test "$cross_compiling" = yes; then
27186   ac_cv_func_mmap_fixed_mapped=no
27187 else
27188   cat >conftest.$ac_ext <<_ACEOF
27189 #line $LINENO "configure"
27190 /* confdefs.h.  */
27191 _ACEOF
27192 cat confdefs.h >>conftest.$ac_ext
27193 cat >>conftest.$ac_ext <<_ACEOF
27194 /* end confdefs.h.  */
27195 $ac_includes_default
27196 /* malloc might have been renamed as rpl_malloc. */
27197 #undef malloc
27198
27199 /* Thanks to Mike Haertel and Jim Avera for this test.
27200    Here is a matrix of mmap possibilities:
27201         mmap private not fixed
27202         mmap private fixed at somewhere currently unmapped
27203         mmap private fixed at somewhere already mapped
27204         mmap shared not fixed
27205         mmap shared fixed at somewhere currently unmapped
27206         mmap shared fixed at somewhere already mapped
27207    For private mappings, we should verify that changes cannot be read()
27208    back from the file, nor mmap's back from the file at a different
27209    address.  (There have been systems where private was not correctly
27210    implemented like the infamous i386 svr4.0, and systems where the
27211    VM page cache was not coherent with the file system buffer cache
27212    like early versions of FreeBSD and possibly contemporary NetBSD.)
27213    For shared mappings, we should conversely verify that changes get
27214    propagated back to all the places they're supposed to be.
27215
27216    Grep wants private fixed already mapped.
27217    The main things grep needs to know about mmap are:
27218    * does it exist and is it safe to write into the mmap'd area
27219    * how to use it (BSD variants)  */
27220
27221 #include <fcntl.h>
27222 #include <sys/mman.h>
27223
27224 #if !STDC_HEADERS && !HAVE_STDLIB_H
27225 char *malloc ();
27226 #endif
27227
27228 /* This mess was copied from the GNU getpagesize.h.  */
27229 #if !HAVE_GETPAGESIZE
27230 /* Assume that all systems that can run configure have sys/param.h.  */
27231 # if !HAVE_SYS_PARAM_H
27232 #  define HAVE_SYS_PARAM_H 1
27233 # endif
27234
27235 # ifdef _SC_PAGESIZE
27236 #  define getpagesize() sysconf(_SC_PAGESIZE)
27237 # else /* no _SC_PAGESIZE */
27238 #  if HAVE_SYS_PARAM_H
27239 #   include <sys/param.h>
27240 #   ifdef EXEC_PAGESIZE
27241 #    define getpagesize() EXEC_PAGESIZE
27242 #   else /* no EXEC_PAGESIZE */
27243 #    ifdef NBPG
27244 #     define getpagesize() NBPG * CLSIZE
27245 #     ifndef CLSIZE
27246 #      define CLSIZE 1
27247 #     endif /* no CLSIZE */
27248 #    else /* no NBPG */
27249 #     ifdef NBPC
27250 #      define getpagesize() NBPC
27251 #     else /* no NBPC */
27252 #      ifdef PAGESIZE
27253 #       define getpagesize() PAGESIZE
27254 #      endif /* PAGESIZE */
27255 #     endif /* no NBPC */
27256 #    endif /* no NBPG */
27257 #   endif /* no EXEC_PAGESIZE */
27258 #  else /* no HAVE_SYS_PARAM_H */
27259 #   define getpagesize() 8192   /* punt totally */
27260 #  endif /* no HAVE_SYS_PARAM_H */
27261 # endif /* no _SC_PAGESIZE */
27262
27263 #endif /* no HAVE_GETPAGESIZE */
27264
27265 int
27266 main ()
27267 {
27268   char *data, *data2, *data3;
27269   int i, pagesize;
27270   int fd;
27271
27272   pagesize = getpagesize ();
27273
27274   /* First, make a file with some known garbage in it. */
27275   data = (char *) malloc (pagesize);
27276   if (!data)
27277     exit (1);
27278   for (i = 0; i < pagesize; ++i)
27279     *(data + i) = rand ();
27280   umask (0);
27281   fd = creat ("conftest.mmap", 0600);
27282   if (fd < 0)
27283     exit (1);
27284   if (write (fd, data, pagesize) != pagesize)
27285     exit (1);
27286   close (fd);
27287
27288   /* Next, try to mmap the file at a fixed address which already has
27289      something else allocated at it.  If we can, also make sure that
27290      we see the same garbage.  */
27291   fd = open ("conftest.mmap", O_RDWR);
27292   if (fd < 0)
27293     exit (1);
27294   data2 = (char *) malloc (2 * pagesize);
27295   if (!data2)
27296     exit (1);
27297   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27298   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27299                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
27300     exit (1);
27301   for (i = 0; i < pagesize; ++i)
27302     if (*(data + i) != *(data2 + i))
27303       exit (1);
27304
27305   /* Finally, make sure that changes to the mapped area do not
27306      percolate back to the file as seen by read().  (This is a bug on
27307      some variants of i386 svr4.0.)  */
27308   for (i = 0; i < pagesize; ++i)
27309     *(data2 + i) = *(data2 + i) + 1;
27310   data3 = (char *) malloc (pagesize);
27311   if (!data3)
27312     exit (1);
27313   if (read (fd, data3, pagesize) != pagesize)
27314     exit (1);
27315   for (i = 0; i < pagesize; ++i)
27316     if (*(data + i) != *(data3 + i))
27317       exit (1);
27318   close (fd);
27319   exit (0);
27320 }
27321 _ACEOF
27322 rm -f conftest$ac_exeext
27323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27324   (eval $ac_link) 2>&5
27325   ac_status=$?
27326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329   (eval $ac_try) 2>&5
27330   ac_status=$?
27331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332   (exit $ac_status); }; }; then
27333   ac_cv_func_mmap_fixed_mapped=yes
27334 else
27335   echo "$as_me: program exited with status $ac_status" >&5
27336 echo "$as_me: failed program was:" >&5
27337 sed 's/^/| /' conftest.$ac_ext >&5
27338
27339 ( exit $ac_status )
27340 ac_cv_func_mmap_fixed_mapped=no
27341 fi
27342 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27343 fi
27344 fi
27345 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27346 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27347 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27348
27349 cat >>confdefs.h <<\_ACEOF
27350 #define HAVE_MMAP 1
27351 _ACEOF
27352
27353 fi
27354 rm -f conftest.mmap
27355
27356 fi
27357
27358 else
27359
27360   # This lets us hard-code the functionality we know we'll have in the cross
27361   # target environment.  "Let" is a sugar-coated word placed on an especially
27362   # dull and tedious hack, actually.
27363   #
27364   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27365   # that involve linking, can't be used:
27366   #    "cannot open sim-crt0.o"
27367   #    "cannot open crt0.o"
27368   # etc.  All this is because there currently exists no unified, consistent
27369   # way for top level CC information to be passed down to target directories:
27370   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27371   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27372   # crosses can be removed.
27373
27374   # If Canadian cross, then don't pick up tools from the build directory.
27375   # Used only in GLIBCXX_EXPORT_INCLUDES.
27376   if test -n "$with_cross_host" &&
27377      test x"$build_alias" != x"$with_cross_host" &&
27378      test x"$build" != x"$target";
27379   then
27380     CANADIAN=yes
27381   else
27382     CANADIAN=no
27383   fi
27384
27385   # Construct crosses by hand, eliminating bits that need ld...
27386   # GLIBCXX_CHECK_COMPILER_FEATURES
27387   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27388   # GLIBCXX_CHECK_MATH_SUPPORT
27389
27390   # First, test for "known" system libraries.  We may be using newlib even
27391   # on a hosted environment.
27392   if test "x${with_newlib}" = "xyes"; then
27393     os_include_dir="os/newlib"
27394     cat >>confdefs.h <<\_ACEOF
27395 #define HAVE_HYPOT 1
27396 _ACEOF
27397
27398
27399     # GLIBCXX_CHECK_STDLIB_SUPPORT
27400     cat >>confdefs.h <<\_ACEOF
27401 #define HAVE_STRTOF 1
27402 _ACEOF
27403
27404     cat >>confdefs.h <<\_ACEOF
27405 #define HAVE_STRTOLD 1
27406 _ACEOF
27407
27408     # AC_FUNC_MMAP
27409     cat >>confdefs.h <<\_ACEOF
27410 #define HAVE_MMAP 1
27411 _ACEOF
27412
27413
27414     cat >>confdefs.h <<\_ACEOF
27415 #define HAVE_ACOSF 1
27416 _ACEOF
27417
27418     cat >>confdefs.h <<\_ACEOF
27419 #define HAVE_ASINF 1
27420 _ACEOF
27421
27422     cat >>confdefs.h <<\_ACEOF
27423 #define HAVE_ATAN2F 1
27424 _ACEOF
27425
27426     cat >>confdefs.h <<\_ACEOF
27427 #define HAVE_ATANF 1
27428 _ACEOF
27429
27430     cat >>confdefs.h <<\_ACEOF
27431 #define HAVE_CEILF 1
27432 _ACEOF
27433
27434     cat >>confdefs.h <<\_ACEOF
27435 #define HAVE_COPYSIGN 1
27436 _ACEOF
27437
27438     cat >>confdefs.h <<\_ACEOF
27439 #define HAVE_COPYSIGNF 1
27440 _ACEOF
27441
27442     cat >>confdefs.h <<\_ACEOF
27443 #define HAVE_COSF 1
27444 _ACEOF
27445
27446     cat >>confdefs.h <<\_ACEOF
27447 #define HAVE_COSHF 1
27448 _ACEOF
27449
27450     cat >>confdefs.h <<\_ACEOF
27451 #define HAVE_EXPF 1
27452 _ACEOF
27453
27454     cat >>confdefs.h <<\_ACEOF
27455 #define HAVE_FABSF 1
27456 _ACEOF
27457
27458     cat >>confdefs.h <<\_ACEOF
27459 #define HAVE_FLOORF 1
27460 _ACEOF
27461
27462     cat >>confdefs.h <<\_ACEOF
27463 #define HAVE_FMODF 1
27464 _ACEOF
27465
27466     cat >>confdefs.h <<\_ACEOF
27467 #define HAVE_FREXPF 1
27468 _ACEOF
27469
27470     cat >>confdefs.h <<\_ACEOF
27471 #define HAVE_LDEXPF 1
27472 _ACEOF
27473
27474     cat >>confdefs.h <<\_ACEOF
27475 #define HAVE_LOG10F 1
27476 _ACEOF
27477
27478     cat >>confdefs.h <<\_ACEOF
27479 #define HAVE_LOGF 1
27480 _ACEOF
27481
27482     cat >>confdefs.h <<\_ACEOF
27483 #define HAVE_MODFF 1
27484 _ACEOF
27485
27486     cat >>confdefs.h <<\_ACEOF
27487 #define HAVE_POWF 1
27488 _ACEOF
27489
27490     cat >>confdefs.h <<\_ACEOF
27491 #define HAVE_SINF 1
27492 _ACEOF
27493
27494     cat >>confdefs.h <<\_ACEOF
27495 #define HAVE_SINHF 1
27496 _ACEOF
27497
27498     cat >>confdefs.h <<\_ACEOF
27499 #define HAVE_SQRTF 1
27500 _ACEOF
27501
27502     cat >>confdefs.h <<\_ACEOF
27503 #define HAVE_TANF 1
27504 _ACEOF
27505
27506     cat >>confdefs.h <<\_ACEOF
27507 #define HAVE_TANHF 1
27508 _ACEOF
27509
27510
27511     cat >>confdefs.h <<\_ACEOF
27512 #define HAVE_S_ISREG 1
27513 _ACEOF
27514
27515     cat >>confdefs.h <<\_ACEOF
27516 #define HAVE_S_IFREG 1
27517 _ACEOF
27518
27519   else
27520
27521 # Base decisions on target environment.
27522 case "${host}" in
27523   *-darwin*)
27524     # Darwin versions vary, but the linker should work in a cross environment,
27525     # so we just check for all the features here.
27526     # Check for available headers.
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27541     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27542     sys/types.h
27543 do
27544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27546   echo "$as_me:$LINENO: checking for $ac_header" >&5
27547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27549   echo $ECHO_N "(cached) $ECHO_C" >&6
27550 fi
27551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27553 else
27554   # Is the header compilable?
27555 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27557 cat >conftest.$ac_ext <<_ACEOF
27558 #line $LINENO "configure"
27559 /* confdefs.h.  */
27560 _ACEOF
27561 cat confdefs.h >>conftest.$ac_ext
27562 cat >>conftest.$ac_ext <<_ACEOF
27563 /* end confdefs.h.  */
27564 $ac_includes_default
27565 #include <$ac_header>
27566 _ACEOF
27567 rm -f conftest.$ac_objext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27569   (eval $ac_compile) 2>&5
27570   ac_status=$?
27571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572   (exit $ac_status); } &&
27573          { ac_try='test -s conftest.$ac_objext'
27574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27575   (eval $ac_try) 2>&5
27576   ac_status=$?
27577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578   (exit $ac_status); }; }; then
27579   ac_header_compiler=yes
27580 else
27581   echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27583
27584 ac_header_compiler=no
27585 fi
27586 rm -f conftest.$ac_objext conftest.$ac_ext
27587 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27588 echo "${ECHO_T}$ac_header_compiler" >&6
27589
27590 # Is the header present?
27591 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27592 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27593 cat >conftest.$ac_ext <<_ACEOF
27594 #line $LINENO "configure"
27595 /* confdefs.h.  */
27596 _ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h.  */
27600 #include <$ac_header>
27601 _ACEOF
27602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27603   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27604   ac_status=$?
27605   grep -v '^ *+' conftest.er1 >conftest.err
27606   rm -f conftest.er1
27607   cat conftest.err >&5
27608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609   (exit $ac_status); } >/dev/null; then
27610   if test -s conftest.err; then
27611     ac_cpp_err=$ac_c_preproc_warn_flag
27612   else
27613     ac_cpp_err=
27614   fi
27615 else
27616   ac_cpp_err=yes
27617 fi
27618 if test -z "$ac_cpp_err"; then
27619   ac_header_preproc=yes
27620 else
27621   echo "$as_me: failed program was:" >&5
27622 sed 's/^/| /' conftest.$ac_ext >&5
27623
27624   ac_header_preproc=no
27625 fi
27626 rm -f conftest.err conftest.$ac_ext
27627 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27628 echo "${ECHO_T}$ac_header_preproc" >&6
27629
27630 # So?  What about this header?
27631 case $ac_header_compiler:$ac_header_preproc in
27632   yes:no )
27633     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27634 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27635     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27637     (
27638       cat <<\_ASBOX
27639 ## ------------------------------------ ##
27640 ## Report this to bug-autoconf@gnu.org. ##
27641 ## ------------------------------------ ##
27642 _ASBOX
27643     ) |
27644       sed "s/^/$as_me: WARNING:     /" >&2
27645     ;;
27646   no:yes )
27647     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27649     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27650 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27651     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27653     (
27654       cat <<\_ASBOX
27655 ## ------------------------------------ ##
27656 ## Report this to bug-autoconf@gnu.org. ##
27657 ## ------------------------------------ ##
27658 _ASBOX
27659     ) |
27660       sed "s/^/$as_me: WARNING:     /" >&2
27661     ;;
27662 esac
27663 echo "$as_me:$LINENO: checking for $ac_header" >&5
27664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27666   echo $ECHO_N "(cached) $ECHO_C" >&6
27667 else
27668   eval "$as_ac_Header=$ac_header_preproc"
27669 fi
27670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27672
27673 fi
27674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27675   cat >>confdefs.h <<_ACEOF
27676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27677 _ACEOF
27678
27679 fi
27680
27681 done
27682
27683
27684
27685   # All these tests are for C++; save the language and the compiler flags.
27686   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27687   # found in GLIBCXX_CONFIGURE.
27688
27689
27690   ac_ext=cc
27691 ac_cpp='$CXXCPP $CPPFLAGS'
27692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27695
27696   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27697   ac_save_CXXFLAGS="$CXXFLAGS"
27698
27699   # Check for maintainer-mode bits.
27700   if test x"$USE_MAINTAINER_MODE" = xno; then
27701     WERROR=''
27702   else
27703     WERROR='-Werror'
27704   fi
27705
27706   # Check for -ffunction-sections -fdata-sections
27707   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27708 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27709   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27710   cat >conftest.$ac_ext <<_ACEOF
27711 #line $LINENO "configure"
27712 /* confdefs.h.  */
27713 _ACEOF
27714 cat confdefs.h >>conftest.$ac_ext
27715 cat >>conftest.$ac_ext <<_ACEOF
27716 /* end confdefs.h.  */
27717
27718 int
27719 main ()
27720 {
27721 int foo;
27722   ;
27723   return 0;
27724 }
27725 _ACEOF
27726 rm -f conftest.$ac_objext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27728   (eval $ac_compile) 2>&5
27729   ac_status=$?
27730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731   (exit $ac_status); } &&
27732          { ac_try='test -s conftest.$ac_objext'
27733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734   (eval $ac_try) 2>&5
27735   ac_status=$?
27736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737   (exit $ac_status); }; }; then
27738   ac_fdsections=yes
27739 else
27740   echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27742
27743 ac_fdsections=no
27744 fi
27745 rm -f conftest.$ac_objext conftest.$ac_ext
27746   if test "$ac_test_CXXFLAGS" = set; then
27747     CXXFLAGS="$ac_save_CXXFLAGS"
27748   else
27749     # this is the suspicious part
27750     CXXFLAGS=''
27751   fi
27752   if test x"$ac_fdsections" = x"yes"; then
27753     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27754   fi
27755   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27756 echo "${ECHO_T}$ac_fdsections" >&6
27757
27758   ac_ext=c
27759 ac_cpp='$CPP $CPPFLAGS'
27760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27763
27764
27765
27766
27767     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27768
27769   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27770   ac_save_CXXFLAGS="$CXXFLAGS"
27771   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27772
27773     echo "$as_me:$LINENO: checking for sin in -lm" >&5
27774 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27775 if test "${ac_cv_lib_m_sin+set}" = set; then
27776   echo $ECHO_N "(cached) $ECHO_C" >&6
27777 else
27778   ac_check_lib_save_LIBS=$LIBS
27779 LIBS="-lm  $LIBS"
27780 if test x$gcc_no_link = xyes; then
27781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27783    { (exit 1); exit 1; }; }
27784 fi
27785 cat >conftest.$ac_ext <<_ACEOF
27786 #line $LINENO "configure"
27787 /* confdefs.h.  */
27788 _ACEOF
27789 cat confdefs.h >>conftest.$ac_ext
27790 cat >>conftest.$ac_ext <<_ACEOF
27791 /* end confdefs.h.  */
27792
27793 /* Override any gcc2 internal prototype to avoid an error.  */
27794 #ifdef __cplusplus
27795 extern "C"
27796 #endif
27797 /* We use char because int might match the return type of a gcc2
27798    builtin and then its argument prototype would still apply.  */
27799 char sin ();
27800 int
27801 main ()
27802 {
27803 sin ();
27804   ;
27805   return 0;
27806 }
27807 _ACEOF
27808 rm -f conftest.$ac_objext conftest$ac_exeext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27810   (eval $ac_link) 2>&5
27811   ac_status=$?
27812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813   (exit $ac_status); } &&
27814          { ac_try='test -s conftest$ac_exeext'
27815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816   (eval $ac_try) 2>&5
27817   ac_status=$?
27818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819   (exit $ac_status); }; }; then
27820   ac_cv_lib_m_sin=yes
27821 else
27822   echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825 ac_cv_lib_m_sin=no
27826 fi
27827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27828 LIBS=$ac_check_lib_save_LIBS
27829 fi
27830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27831 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27832 if test $ac_cv_lib_m_sin = yes; then
27833   libm="-lm"
27834 fi
27835
27836   ac_save_LIBS="$LIBS"
27837   LIBS="$LIBS $libm"
27838
27839
27840
27841   echo "$as_me:$LINENO: checking for isinf declaration" >&5
27842 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27843   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27844     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27845   echo $ECHO_N "(cached) $ECHO_C" >&6
27846 else
27847
27848
27849
27850       ac_ext=cc
27851 ac_cpp='$CXXCPP $CPPFLAGS'
27852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27855
27856       cat >conftest.$ac_ext <<_ACEOF
27857 #line $LINENO "configure"
27858 /* confdefs.h.  */
27859 _ACEOF
27860 cat confdefs.h >>conftest.$ac_ext
27861 cat >>conftest.$ac_ext <<_ACEOF
27862 /* end confdefs.h.  */
27863 #include <math.h>
27864                       #ifdef HAVE_IEEEFP_H
27865                       #include <ieeefp.h>
27866                       #endif
27867
27868 int
27869 main ()
27870 {
27871  isinf(0);
27872   ;
27873   return 0;
27874 }
27875 _ACEOF
27876 rm -f conftest.$ac_objext
27877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27878   (eval $ac_compile) 2>&5
27879   ac_status=$?
27880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881   (exit $ac_status); } &&
27882          { ac_try='test -s conftest.$ac_objext'
27883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884   (eval $ac_try) 2>&5
27885   ac_status=$?
27886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887   (exit $ac_status); }; }; then
27888   glibcxx_cv_func_isinf_use=yes
27889 else
27890   echo "$as_me: failed program was:" >&5
27891 sed 's/^/| /' conftest.$ac_ext >&5
27892
27893 glibcxx_cv_func_isinf_use=no
27894 fi
27895 rm -f conftest.$ac_objext conftest.$ac_ext
27896       ac_ext=c
27897 ac_cpp='$CPP $CPPFLAGS'
27898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27901
27902
27903 fi
27904
27905   fi
27906   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27907 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27908
27909   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27910
27911 for ac_func in isinf
27912 do
27913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27914 echo "$as_me:$LINENO: checking for $ac_func" >&5
27915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27916 if eval "test \"\${$as_ac_var+set}\" = set"; then
27917   echo $ECHO_N "(cached) $ECHO_C" >&6
27918 else
27919   if test x$gcc_no_link = xyes; then
27920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27922    { (exit 1); exit 1; }; }
27923 fi
27924 cat >conftest.$ac_ext <<_ACEOF
27925 #line $LINENO "configure"
27926 /* confdefs.h.  */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h.  */
27931 /* System header to define __stub macros and hopefully few prototypes,
27932     which can conflict with char $ac_func (); below.
27933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27934     <limits.h> exists even on freestanding compilers.  */
27935 #ifdef __STDC__
27936 # include <limits.h>
27937 #else
27938 # include <assert.h>
27939 #endif
27940 /* Override any gcc2 internal prototype to avoid an error.  */
27941 #ifdef __cplusplus
27942 extern "C"
27943 {
27944 #endif
27945 /* We use char because int might match the return type of a gcc2
27946    builtin and then its argument prototype would still apply.  */
27947 char $ac_func ();
27948 /* The GNU C library defines this for functions which it implements
27949     to always fail with ENOSYS.  Some functions are actually named
27950     something starting with __ and the normal name is an alias.  */
27951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27952 choke me
27953 #else
27954 char (*f) () = $ac_func;
27955 #endif
27956 #ifdef __cplusplus
27957 }
27958 #endif
27959
27960 int
27961 main ()
27962 {
27963 return f != $ac_func;
27964   ;
27965   return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext conftest$ac_exeext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27970   (eval $ac_link) 2>&5
27971   ac_status=$?
27972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973   (exit $ac_status); } &&
27974          { ac_try='test -s conftest$ac_exeext'
27975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976   (eval $ac_try) 2>&5
27977   ac_status=$?
27978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979   (exit $ac_status); }; }; then
27980   eval "$as_ac_var=yes"
27981 else
27982   echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.$ac_ext >&5
27984
27985 eval "$as_ac_var=no"
27986 fi
27987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27988 fi
27989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27991 if test `eval echo '${'$as_ac_var'}'` = yes; then
27992   cat >>confdefs.h <<_ACEOF
27993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27994 _ACEOF
27995
27996 fi
27997 done
27998
27999   else
28000
28001   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28002 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28003   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28004     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28005   echo $ECHO_N "(cached) $ECHO_C" >&6
28006 else
28007
28008
28009
28010       ac_ext=cc
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015
28016       cat >conftest.$ac_ext <<_ACEOF
28017 #line $LINENO "configure"
28018 /* confdefs.h.  */
28019 _ACEOF
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h.  */
28023 #include <math.h>
28024                       #ifdef HAVE_IEEEFP_H
28025                       #include <ieeefp.h>
28026                       #endif
28027
28028 int
28029 main ()
28030 {
28031  _isinf(0);
28032   ;
28033   return 0;
28034 }
28035 _ACEOF
28036 rm -f conftest.$ac_objext
28037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28038   (eval $ac_compile) 2>&5
28039   ac_status=$?
28040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28041   (exit $ac_status); } &&
28042          { ac_try='test -s conftest.$ac_objext'
28043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044   (eval $ac_try) 2>&5
28045   ac_status=$?
28046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047   (exit $ac_status); }; }; then
28048   glibcxx_cv_func__isinf_use=yes
28049 else
28050   echo "$as_me: failed program was:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28052
28053 glibcxx_cv_func__isinf_use=no
28054 fi
28055 rm -f conftest.$ac_objext conftest.$ac_ext
28056       ac_ext=c
28057 ac_cpp='$CPP $CPPFLAGS'
28058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28061
28062
28063 fi
28064
28065   fi
28066   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28067 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28068
28069     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28070
28071 for ac_func in _isinf
28072 do
28073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28074 echo "$as_me:$LINENO: checking for $ac_func" >&5
28075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28076 if eval "test \"\${$as_ac_var+set}\" = set"; then
28077   echo $ECHO_N "(cached) $ECHO_C" >&6
28078 else
28079   if test x$gcc_no_link = xyes; then
28080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28082    { (exit 1); exit 1; }; }
28083 fi
28084 cat >conftest.$ac_ext <<_ACEOF
28085 #line $LINENO "configure"
28086 /* confdefs.h.  */
28087 _ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h.  */
28091 /* System header to define __stub macros and hopefully few prototypes,
28092     which can conflict with char $ac_func (); below.
28093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28094     <limits.h> exists even on freestanding compilers.  */
28095 #ifdef __STDC__
28096 # include <limits.h>
28097 #else
28098 # include <assert.h>
28099 #endif
28100 /* Override any gcc2 internal prototype to avoid an error.  */
28101 #ifdef __cplusplus
28102 extern "C"
28103 {
28104 #endif
28105 /* We use char because int might match the return type of a gcc2
28106    builtin and then its argument prototype would still apply.  */
28107 char $ac_func ();
28108 /* The GNU C library defines this for functions which it implements
28109     to always fail with ENOSYS.  Some functions are actually named
28110     something starting with __ and the normal name is an alias.  */
28111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28112 choke me
28113 #else
28114 char (*f) () = $ac_func;
28115 #endif
28116 #ifdef __cplusplus
28117 }
28118 #endif
28119
28120 int
28121 main ()
28122 {
28123 return f != $ac_func;
28124   ;
28125   return 0;
28126 }
28127 _ACEOF
28128 rm -f conftest.$ac_objext conftest$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130   (eval $ac_link) 2>&5
28131   ac_status=$?
28132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133   (exit $ac_status); } &&
28134          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28140   eval "$as_ac_var=yes"
28141 else
28142   echo "$as_me: failed program was:" >&5
28143 sed 's/^/| /' conftest.$ac_ext >&5
28144
28145 eval "$as_ac_var=no"
28146 fi
28147 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28148 fi
28149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28151 if test `eval echo '${'$as_ac_var'}'` = yes; then
28152   cat >>confdefs.h <<_ACEOF
28153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28154 _ACEOF
28155
28156 fi
28157 done
28158
28159     fi
28160   fi
28161
28162
28163
28164   echo "$as_me:$LINENO: checking for isnan declaration" >&5
28165 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28166   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28167     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28168   echo $ECHO_N "(cached) $ECHO_C" >&6
28169 else
28170
28171
28172
28173       ac_ext=cc
28174 ac_cpp='$CXXCPP $CPPFLAGS'
28175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28178
28179       cat >conftest.$ac_ext <<_ACEOF
28180 #line $LINENO "configure"
28181 /* confdefs.h.  */
28182 _ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h.  */
28186 #include <math.h>
28187                       #ifdef HAVE_IEEEFP_H
28188                       #include <ieeefp.h>
28189                       #endif
28190
28191 int
28192 main ()
28193 {
28194  isnan(0);
28195   ;
28196   return 0;
28197 }
28198 _ACEOF
28199 rm -f conftest.$ac_objext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28201   (eval $ac_compile) 2>&5
28202   ac_status=$?
28203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28204   (exit $ac_status); } &&
28205          { ac_try='test -s conftest.$ac_objext'
28206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28207   (eval $ac_try) 2>&5
28208   ac_status=$?
28209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210   (exit $ac_status); }; }; then
28211   glibcxx_cv_func_isnan_use=yes
28212 else
28213   echo "$as_me: failed program was:" >&5
28214 sed 's/^/| /' conftest.$ac_ext >&5
28215
28216 glibcxx_cv_func_isnan_use=no
28217 fi
28218 rm -f conftest.$ac_objext conftest.$ac_ext
28219       ac_ext=c
28220 ac_cpp='$CPP $CPPFLAGS'
28221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28224
28225
28226 fi
28227
28228   fi
28229   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28230 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28231
28232   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28233
28234 for ac_func in isnan
28235 do
28236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28237 echo "$as_me:$LINENO: checking for $ac_func" >&5
28238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28239 if eval "test \"\${$as_ac_var+set}\" = set"; then
28240   echo $ECHO_N "(cached) $ECHO_C" >&6
28241 else
28242   if test x$gcc_no_link = xyes; then
28243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28245    { (exit 1); exit 1; }; }
28246 fi
28247 cat >conftest.$ac_ext <<_ACEOF
28248 #line $LINENO "configure"
28249 /* confdefs.h.  */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h.  */
28254 /* System header to define __stub macros and hopefully few prototypes,
28255     which can conflict with char $ac_func (); below.
28256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28257     <limits.h> exists even on freestanding compilers.  */
28258 #ifdef __STDC__
28259 # include <limits.h>
28260 #else
28261 # include <assert.h>
28262 #endif
28263 /* Override any gcc2 internal prototype to avoid an error.  */
28264 #ifdef __cplusplus
28265 extern "C"
28266 {
28267 #endif
28268 /* We use char because int might match the return type of a gcc2
28269    builtin and then its argument prototype would still apply.  */
28270 char $ac_func ();
28271 /* The GNU C library defines this for functions which it implements
28272     to always fail with ENOSYS.  Some functions are actually named
28273     something starting with __ and the normal name is an alias.  */
28274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28275 choke me
28276 #else
28277 char (*f) () = $ac_func;
28278 #endif
28279 #ifdef __cplusplus
28280 }
28281 #endif
28282
28283 int
28284 main ()
28285 {
28286 return f != $ac_func;
28287   ;
28288   return 0;
28289 }
28290 _ACEOF
28291 rm -f conftest.$ac_objext conftest$ac_exeext
28292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28293   (eval $ac_link) 2>&5
28294   ac_status=$?
28295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296   (exit $ac_status); } &&
28297          { ac_try='test -s conftest$ac_exeext'
28298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299   (eval $ac_try) 2>&5
28300   ac_status=$?
28301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302   (exit $ac_status); }; }; then
28303   eval "$as_ac_var=yes"
28304 else
28305   echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.$ac_ext >&5
28307
28308 eval "$as_ac_var=no"
28309 fi
28310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28311 fi
28312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28314 if test `eval echo '${'$as_ac_var'}'` = yes; then
28315   cat >>confdefs.h <<_ACEOF
28316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28317 _ACEOF
28318
28319 fi
28320 done
28321
28322   else
28323
28324   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28325 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28326   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28327     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28328   echo $ECHO_N "(cached) $ECHO_C" >&6
28329 else
28330
28331
28332
28333       ac_ext=cc
28334 ac_cpp='$CXXCPP $CPPFLAGS'
28335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28338
28339       cat >conftest.$ac_ext <<_ACEOF
28340 #line $LINENO "configure"
28341 /* confdefs.h.  */
28342 _ACEOF
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h.  */
28346 #include <math.h>
28347                       #ifdef HAVE_IEEEFP_H
28348                       #include <ieeefp.h>
28349                       #endif
28350
28351 int
28352 main ()
28353 {
28354  _isnan(0);
28355   ;
28356   return 0;
28357 }
28358 _ACEOF
28359 rm -f conftest.$ac_objext
28360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28361   (eval $ac_compile) 2>&5
28362   ac_status=$?
28363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364   (exit $ac_status); } &&
28365          { ac_try='test -s conftest.$ac_objext'
28366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367   (eval $ac_try) 2>&5
28368   ac_status=$?
28369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370   (exit $ac_status); }; }; then
28371   glibcxx_cv_func__isnan_use=yes
28372 else
28373   echo "$as_me: failed program was:" >&5
28374 sed 's/^/| /' conftest.$ac_ext >&5
28375
28376 glibcxx_cv_func__isnan_use=no
28377 fi
28378 rm -f conftest.$ac_objext conftest.$ac_ext
28379       ac_ext=c
28380 ac_cpp='$CPP $CPPFLAGS'
28381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28384
28385
28386 fi
28387
28388   fi
28389   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28390 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28391
28392     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28393
28394 for ac_func in _isnan
28395 do
28396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28397 echo "$as_me:$LINENO: checking for $ac_func" >&5
28398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28399 if eval "test \"\${$as_ac_var+set}\" = set"; then
28400   echo $ECHO_N "(cached) $ECHO_C" >&6
28401 else
28402   if test x$gcc_no_link = xyes; then
28403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28405    { (exit 1); exit 1; }; }
28406 fi
28407 cat >conftest.$ac_ext <<_ACEOF
28408 #line $LINENO "configure"
28409 /* confdefs.h.  */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h.  */
28414 /* System header to define __stub macros and hopefully few prototypes,
28415     which can conflict with char $ac_func (); below.
28416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28417     <limits.h> exists even on freestanding compilers.  */
28418 #ifdef __STDC__
28419 # include <limits.h>
28420 #else
28421 # include <assert.h>
28422 #endif
28423 /* Override any gcc2 internal prototype to avoid an error.  */
28424 #ifdef __cplusplus
28425 extern "C"
28426 {
28427 #endif
28428 /* We use char because int might match the return type of a gcc2
28429    builtin and then its argument prototype would still apply.  */
28430 char $ac_func ();
28431 /* The GNU C library defines this for functions which it implements
28432     to always fail with ENOSYS.  Some functions are actually named
28433     something starting with __ and the normal name is an alias.  */
28434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28435 choke me
28436 #else
28437 char (*f) () = $ac_func;
28438 #endif
28439 #ifdef __cplusplus
28440 }
28441 #endif
28442
28443 int
28444 main ()
28445 {
28446 return f != $ac_func;
28447   ;
28448   return 0;
28449 }
28450 _ACEOF
28451 rm -f conftest.$ac_objext conftest$ac_exeext
28452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28453   (eval $ac_link) 2>&5
28454   ac_status=$?
28455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456   (exit $ac_status); } &&
28457          { ac_try='test -s conftest$ac_exeext'
28458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28459   (eval $ac_try) 2>&5
28460   ac_status=$?
28461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462   (exit $ac_status); }; }; then
28463   eval "$as_ac_var=yes"
28464 else
28465   echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28467
28468 eval "$as_ac_var=no"
28469 fi
28470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28471 fi
28472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28474 if test `eval echo '${'$as_ac_var'}'` = yes; then
28475   cat >>confdefs.h <<_ACEOF
28476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28477 _ACEOF
28478
28479 fi
28480 done
28481
28482     fi
28483   fi
28484
28485
28486
28487   echo "$as_me:$LINENO: checking for finite declaration" >&5
28488 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28489   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28490     if test "${glibcxx_cv_func_finite_use+set}" = set; then
28491   echo $ECHO_N "(cached) $ECHO_C" >&6
28492 else
28493
28494
28495
28496       ac_ext=cc
28497 ac_cpp='$CXXCPP $CPPFLAGS'
28498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28501
28502       cat >conftest.$ac_ext <<_ACEOF
28503 #line $LINENO "configure"
28504 /* confdefs.h.  */
28505 _ACEOF
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h.  */
28509 #include <math.h>
28510                       #ifdef HAVE_IEEEFP_H
28511                       #include <ieeefp.h>
28512                       #endif
28513
28514 int
28515 main ()
28516 {
28517  finite(0);
28518   ;
28519   return 0;
28520 }
28521 _ACEOF
28522 rm -f conftest.$ac_objext
28523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28524   (eval $ac_compile) 2>&5
28525   ac_status=$?
28526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527   (exit $ac_status); } &&
28528          { ac_try='test -s conftest.$ac_objext'
28529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530   (eval $ac_try) 2>&5
28531   ac_status=$?
28532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533   (exit $ac_status); }; }; then
28534   glibcxx_cv_func_finite_use=yes
28535 else
28536   echo "$as_me: failed program was:" >&5
28537 sed 's/^/| /' conftest.$ac_ext >&5
28538
28539 glibcxx_cv_func_finite_use=no
28540 fi
28541 rm -f conftest.$ac_objext conftest.$ac_ext
28542       ac_ext=c
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28547
28548
28549 fi
28550
28551   fi
28552   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28553 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28554
28555   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28556
28557 for ac_func in finite
28558 do
28559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28560 echo "$as_me:$LINENO: checking for $ac_func" >&5
28561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28562 if eval "test \"\${$as_ac_var+set}\" = set"; then
28563   echo $ECHO_N "(cached) $ECHO_C" >&6
28564 else
28565   if test x$gcc_no_link = xyes; then
28566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28568    { (exit 1); exit 1; }; }
28569 fi
28570 cat >conftest.$ac_ext <<_ACEOF
28571 #line $LINENO "configure"
28572 /* confdefs.h.  */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h.  */
28577 /* System header to define __stub macros and hopefully few prototypes,
28578     which can conflict with char $ac_func (); below.
28579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28580     <limits.h> exists even on freestanding compilers.  */
28581 #ifdef __STDC__
28582 # include <limits.h>
28583 #else
28584 # include <assert.h>
28585 #endif
28586 /* Override any gcc2 internal prototype to avoid an error.  */
28587 #ifdef __cplusplus
28588 extern "C"
28589 {
28590 #endif
28591 /* We use char because int might match the return type of a gcc2
28592    builtin and then its argument prototype would still apply.  */
28593 char $ac_func ();
28594 /* The GNU C library defines this for functions which it implements
28595     to always fail with ENOSYS.  Some functions are actually named
28596     something starting with __ and the normal name is an alias.  */
28597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28598 choke me
28599 #else
28600 char (*f) () = $ac_func;
28601 #endif
28602 #ifdef __cplusplus
28603 }
28604 #endif
28605
28606 int
28607 main ()
28608 {
28609 return f != $ac_func;
28610   ;
28611   return 0;
28612 }
28613 _ACEOF
28614 rm -f conftest.$ac_objext conftest$ac_exeext
28615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28616   (eval $ac_link) 2>&5
28617   ac_status=$?
28618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619   (exit $ac_status); } &&
28620          { ac_try='test -s conftest$ac_exeext'
28621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622   (eval $ac_try) 2>&5
28623   ac_status=$?
28624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625   (exit $ac_status); }; }; then
28626   eval "$as_ac_var=yes"
28627 else
28628   echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.$ac_ext >&5
28630
28631 eval "$as_ac_var=no"
28632 fi
28633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28634 fi
28635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28637 if test `eval echo '${'$as_ac_var'}'` = yes; then
28638   cat >>confdefs.h <<_ACEOF
28639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28640 _ACEOF
28641
28642 fi
28643 done
28644
28645   else
28646
28647   echo "$as_me:$LINENO: checking for _finite declaration" >&5
28648 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28649   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28650     if test "${glibcxx_cv_func__finite_use+set}" = set; then
28651   echo $ECHO_N "(cached) $ECHO_C" >&6
28652 else
28653
28654
28655
28656       ac_ext=cc
28657 ac_cpp='$CXXCPP $CPPFLAGS'
28658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28661
28662       cat >conftest.$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28664 /* confdefs.h.  */
28665 _ACEOF
28666 cat confdefs.h >>conftest.$ac_ext
28667 cat >>conftest.$ac_ext <<_ACEOF
28668 /* end confdefs.h.  */
28669 #include <math.h>
28670                       #ifdef HAVE_IEEEFP_H
28671                       #include <ieeefp.h>
28672                       #endif
28673
28674 int
28675 main ()
28676 {
28677  _finite(0);
28678   ;
28679   return 0;
28680 }
28681 _ACEOF
28682 rm -f conftest.$ac_objext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28684   (eval $ac_compile) 2>&5
28685   ac_status=$?
28686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687   (exit $ac_status); } &&
28688          { ac_try='test -s conftest.$ac_objext'
28689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690   (eval $ac_try) 2>&5
28691   ac_status=$?
28692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693   (exit $ac_status); }; }; then
28694   glibcxx_cv_func__finite_use=yes
28695 else
28696   echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28698
28699 glibcxx_cv_func__finite_use=no
28700 fi
28701 rm -f conftest.$ac_objext conftest.$ac_ext
28702       ac_ext=c
28703 ac_cpp='$CPP $CPPFLAGS'
28704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28707
28708
28709 fi
28710
28711   fi
28712   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28713 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28714
28715     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28716
28717 for ac_func in _finite
28718 do
28719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28720 echo "$as_me:$LINENO: checking for $ac_func" >&5
28721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28722 if eval "test \"\${$as_ac_var+set}\" = set"; then
28723   echo $ECHO_N "(cached) $ECHO_C" >&6
28724 else
28725   if test x$gcc_no_link = xyes; then
28726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28728    { (exit 1); exit 1; }; }
28729 fi
28730 cat >conftest.$ac_ext <<_ACEOF
28731 #line $LINENO "configure"
28732 /* confdefs.h.  */
28733 _ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h.  */
28737 /* System header to define __stub macros and hopefully few prototypes,
28738     which can conflict with char $ac_func (); below.
28739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28740     <limits.h> exists even on freestanding compilers.  */
28741 #ifdef __STDC__
28742 # include <limits.h>
28743 #else
28744 # include <assert.h>
28745 #endif
28746 /* Override any gcc2 internal prototype to avoid an error.  */
28747 #ifdef __cplusplus
28748 extern "C"
28749 {
28750 #endif
28751 /* We use char because int might match the return type of a gcc2
28752    builtin and then its argument prototype would still apply.  */
28753 char $ac_func ();
28754 /* The GNU C library defines this for functions which it implements
28755     to always fail with ENOSYS.  Some functions are actually named
28756     something starting with __ and the normal name is an alias.  */
28757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28758 choke me
28759 #else
28760 char (*f) () = $ac_func;
28761 #endif
28762 #ifdef __cplusplus
28763 }
28764 #endif
28765
28766 int
28767 main ()
28768 {
28769 return f != $ac_func;
28770   ;
28771   return 0;
28772 }
28773 _ACEOF
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776   (eval $ac_link) 2>&5
28777   ac_status=$?
28778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779   (exit $ac_status); } &&
28780          { ac_try='test -s conftest$ac_exeext'
28781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782   (eval $ac_try) 2>&5
28783   ac_status=$?
28784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785   (exit $ac_status); }; }; then
28786   eval "$as_ac_var=yes"
28787 else
28788   echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 eval "$as_ac_var=no"
28792 fi
28793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28794 fi
28795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28797 if test `eval echo '${'$as_ac_var'}'` = yes; then
28798   cat >>confdefs.h <<_ACEOF
28799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28800 _ACEOF
28801
28802 fi
28803 done
28804
28805     fi
28806   fi
28807
28808
28809
28810   echo "$as_me:$LINENO: checking for copysign declaration" >&5
28811 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28812   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28813     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28814   echo $ECHO_N "(cached) $ECHO_C" >&6
28815 else
28816
28817
28818
28819       ac_ext=cc
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28824
28825       cat >conftest.$ac_ext <<_ACEOF
28826 #line $LINENO "configure"
28827 /* confdefs.h.  */
28828 _ACEOF
28829 cat confdefs.h >>conftest.$ac_ext
28830 cat >>conftest.$ac_ext <<_ACEOF
28831 /* end confdefs.h.  */
28832 #include <math.h>
28833 int
28834 main ()
28835 {
28836  copysign(0, 0);
28837   ;
28838   return 0;
28839 }
28840 _ACEOF
28841 rm -f conftest.$ac_objext
28842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28843   (eval $ac_compile) 2>&5
28844   ac_status=$?
28845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846   (exit $ac_status); } &&
28847          { ac_try='test -s conftest.$ac_objext'
28848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849   (eval $ac_try) 2>&5
28850   ac_status=$?
28851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852   (exit $ac_status); }; }; then
28853   glibcxx_cv_func_copysign_use=yes
28854 else
28855   echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28857
28858 glibcxx_cv_func_copysign_use=no
28859 fi
28860 rm -f conftest.$ac_objext conftest.$ac_ext
28861       ac_ext=c
28862 ac_cpp='$CPP $CPPFLAGS'
28863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28866
28867
28868 fi
28869
28870   fi
28871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28872 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28873
28874   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28875
28876 for ac_func in copysign
28877 do
28878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28879 echo "$as_me:$LINENO: checking for $ac_func" >&5
28880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28881 if eval "test \"\${$as_ac_var+set}\" = set"; then
28882   echo $ECHO_N "(cached) $ECHO_C" >&6
28883 else
28884   if test x$gcc_no_link = xyes; then
28885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28887    { (exit 1); exit 1; }; }
28888 fi
28889 cat >conftest.$ac_ext <<_ACEOF
28890 #line $LINENO "configure"
28891 /* confdefs.h.  */
28892 _ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h.  */
28896 /* System header to define __stub macros and hopefully few prototypes,
28897     which can conflict with char $ac_func (); below.
28898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28899     <limits.h> exists even on freestanding compilers.  */
28900 #ifdef __STDC__
28901 # include <limits.h>
28902 #else
28903 # include <assert.h>
28904 #endif
28905 /* Override any gcc2 internal prototype to avoid an error.  */
28906 #ifdef __cplusplus
28907 extern "C"
28908 {
28909 #endif
28910 /* We use char because int might match the return type of a gcc2
28911    builtin and then its argument prototype would still apply.  */
28912 char $ac_func ();
28913 /* The GNU C library defines this for functions which it implements
28914     to always fail with ENOSYS.  Some functions are actually named
28915     something starting with __ and the normal name is an alias.  */
28916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28917 choke me
28918 #else
28919 char (*f) () = $ac_func;
28920 #endif
28921 #ifdef __cplusplus
28922 }
28923 #endif
28924
28925 int
28926 main ()
28927 {
28928 return f != $ac_func;
28929   ;
28930   return 0;
28931 }
28932 _ACEOF
28933 rm -f conftest.$ac_objext conftest$ac_exeext
28934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28935   (eval $ac_link) 2>&5
28936   ac_status=$?
28937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938   (exit $ac_status); } &&
28939          { ac_try='test -s conftest$ac_exeext'
28940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941   (eval $ac_try) 2>&5
28942   ac_status=$?
28943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944   (exit $ac_status); }; }; then
28945   eval "$as_ac_var=yes"
28946 else
28947   echo "$as_me: failed program was:" >&5
28948 sed 's/^/| /' conftest.$ac_ext >&5
28949
28950 eval "$as_ac_var=no"
28951 fi
28952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28953 fi
28954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28956 if test `eval echo '${'$as_ac_var'}'` = yes; then
28957   cat >>confdefs.h <<_ACEOF
28958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28959 _ACEOF
28960
28961 fi
28962 done
28963
28964   else
28965
28966   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
28967 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
28968   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
28969     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
28970   echo $ECHO_N "(cached) $ECHO_C" >&6
28971 else
28972
28973
28974
28975       ac_ext=cc
28976 ac_cpp='$CXXCPP $CPPFLAGS'
28977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28980
28981       cat >conftest.$ac_ext <<_ACEOF
28982 #line $LINENO "configure"
28983 /* confdefs.h.  */
28984 _ACEOF
28985 cat confdefs.h >>conftest.$ac_ext
28986 cat >>conftest.$ac_ext <<_ACEOF
28987 /* end confdefs.h.  */
28988 #include <math.h>
28989 int
28990 main ()
28991 {
28992  _copysign(0, 0);
28993   ;
28994   return 0;
28995 }
28996 _ACEOF
28997 rm -f conftest.$ac_objext
28998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28999   (eval $ac_compile) 2>&5
29000   ac_status=$?
29001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29002   (exit $ac_status); } &&
29003          { ac_try='test -s conftest.$ac_objext'
29004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29005   (eval $ac_try) 2>&5
29006   ac_status=$?
29007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008   (exit $ac_status); }; }; then
29009   glibcxx_cv_func__copysign_use=yes
29010 else
29011   echo "$as_me: failed program was:" >&5
29012 sed 's/^/| /' conftest.$ac_ext >&5
29013
29014 glibcxx_cv_func__copysign_use=no
29015 fi
29016 rm -f conftest.$ac_objext conftest.$ac_ext
29017       ac_ext=c
29018 ac_cpp='$CPP $CPPFLAGS'
29019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29022
29023
29024 fi
29025
29026   fi
29027   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29028 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29029
29030     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29031
29032 for ac_func in _copysign
29033 do
29034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29035 echo "$as_me:$LINENO: checking for $ac_func" >&5
29036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29037 if eval "test \"\${$as_ac_var+set}\" = set"; then
29038   echo $ECHO_N "(cached) $ECHO_C" >&6
29039 else
29040   if test x$gcc_no_link = xyes; then
29041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29043    { (exit 1); exit 1; }; }
29044 fi
29045 cat >conftest.$ac_ext <<_ACEOF
29046 #line $LINENO "configure"
29047 /* confdefs.h.  */
29048 _ACEOF
29049 cat confdefs.h >>conftest.$ac_ext
29050 cat >>conftest.$ac_ext <<_ACEOF
29051 /* end confdefs.h.  */
29052 /* System header to define __stub macros and hopefully few prototypes,
29053     which can conflict with char $ac_func (); below.
29054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29055     <limits.h> exists even on freestanding compilers.  */
29056 #ifdef __STDC__
29057 # include <limits.h>
29058 #else
29059 # include <assert.h>
29060 #endif
29061 /* Override any gcc2 internal prototype to avoid an error.  */
29062 #ifdef __cplusplus
29063 extern "C"
29064 {
29065 #endif
29066 /* We use char because int might match the return type of a gcc2
29067    builtin and then its argument prototype would still apply.  */
29068 char $ac_func ();
29069 /* The GNU C library defines this for functions which it implements
29070     to always fail with ENOSYS.  Some functions are actually named
29071     something starting with __ and the normal name is an alias.  */
29072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29073 choke me
29074 #else
29075 char (*f) () = $ac_func;
29076 #endif
29077 #ifdef __cplusplus
29078 }
29079 #endif
29080
29081 int
29082 main ()
29083 {
29084 return f != $ac_func;
29085   ;
29086   return 0;
29087 }
29088 _ACEOF
29089 rm -f conftest.$ac_objext conftest$ac_exeext
29090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29091   (eval $ac_link) 2>&5
29092   ac_status=$?
29093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094   (exit $ac_status); } &&
29095          { ac_try='test -s conftest$ac_exeext'
29096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097   (eval $ac_try) 2>&5
29098   ac_status=$?
29099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100   (exit $ac_status); }; }; then
29101   eval "$as_ac_var=yes"
29102 else
29103   echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.$ac_ext >&5
29105
29106 eval "$as_ac_var=no"
29107 fi
29108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29109 fi
29110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29112 if test `eval echo '${'$as_ac_var'}'` = yes; then
29113   cat >>confdefs.h <<_ACEOF
29114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29115 _ACEOF
29116
29117 fi
29118 done
29119
29120     fi
29121   fi
29122
29123
29124
29125   echo "$as_me:$LINENO: checking for sincos declaration" >&5
29126 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29127   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29128     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29129   echo $ECHO_N "(cached) $ECHO_C" >&6
29130 else
29131
29132
29133
29134       ac_ext=cc
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29139
29140       cat >conftest.$ac_ext <<_ACEOF
29141 #line $LINENO "configure"
29142 /* confdefs.h.  */
29143 _ACEOF
29144 cat confdefs.h >>conftest.$ac_ext
29145 cat >>conftest.$ac_ext <<_ACEOF
29146 /* end confdefs.h.  */
29147 #include <math.h>
29148 int
29149 main ()
29150 {
29151  sincos(0, 0, 0);
29152   ;
29153   return 0;
29154 }
29155 _ACEOF
29156 rm -f conftest.$ac_objext
29157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29158   (eval $ac_compile) 2>&5
29159   ac_status=$?
29160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161   (exit $ac_status); } &&
29162          { ac_try='test -s conftest.$ac_objext'
29163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29164   (eval $ac_try) 2>&5
29165   ac_status=$?
29166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167   (exit $ac_status); }; }; then
29168   glibcxx_cv_func_sincos_use=yes
29169 else
29170   echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.$ac_ext >&5
29172
29173 glibcxx_cv_func_sincos_use=no
29174 fi
29175 rm -f conftest.$ac_objext conftest.$ac_ext
29176       ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29181
29182
29183 fi
29184
29185   fi
29186   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29187 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29188
29189   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29190
29191 for ac_func in sincos
29192 do
29193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29194 echo "$as_me:$LINENO: checking for $ac_func" >&5
29195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29196 if eval "test \"\${$as_ac_var+set}\" = set"; then
29197   echo $ECHO_N "(cached) $ECHO_C" >&6
29198 else
29199   if test x$gcc_no_link = xyes; then
29200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29202    { (exit 1); exit 1; }; }
29203 fi
29204 cat >conftest.$ac_ext <<_ACEOF
29205 #line $LINENO "configure"
29206 /* confdefs.h.  */
29207 _ACEOF
29208 cat confdefs.h >>conftest.$ac_ext
29209 cat >>conftest.$ac_ext <<_ACEOF
29210 /* end confdefs.h.  */
29211 /* System header to define __stub macros and hopefully few prototypes,
29212     which can conflict with char $ac_func (); below.
29213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29214     <limits.h> exists even on freestanding compilers.  */
29215 #ifdef __STDC__
29216 # include <limits.h>
29217 #else
29218 # include <assert.h>
29219 #endif
29220 /* Override any gcc2 internal prototype to avoid an error.  */
29221 #ifdef __cplusplus
29222 extern "C"
29223 {
29224 #endif
29225 /* We use char because int might match the return type of a gcc2
29226    builtin and then its argument prototype would still apply.  */
29227 char $ac_func ();
29228 /* The GNU C library defines this for functions which it implements
29229     to always fail with ENOSYS.  Some functions are actually named
29230     something starting with __ and the normal name is an alias.  */
29231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29232 choke me
29233 #else
29234 char (*f) () = $ac_func;
29235 #endif
29236 #ifdef __cplusplus
29237 }
29238 #endif
29239
29240 int
29241 main ()
29242 {
29243 return f != $ac_func;
29244   ;
29245   return 0;
29246 }
29247 _ACEOF
29248 rm -f conftest.$ac_objext conftest$ac_exeext
29249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29250   (eval $ac_link) 2>&5
29251   ac_status=$?
29252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29253   (exit $ac_status); } &&
29254          { ac_try='test -s conftest$ac_exeext'
29255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256   (eval $ac_try) 2>&5
29257   ac_status=$?
29258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259   (exit $ac_status); }; }; then
29260   eval "$as_ac_var=yes"
29261 else
29262   echo "$as_me: failed program was:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29264
29265 eval "$as_ac_var=no"
29266 fi
29267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29268 fi
29269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29271 if test `eval echo '${'$as_ac_var'}'` = yes; then
29272   cat >>confdefs.h <<_ACEOF
29273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29274 _ACEOF
29275
29276 fi
29277 done
29278
29279   else
29280
29281   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29282 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29283   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29284     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29285   echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287
29288
29289
29290       ac_ext=cc
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29295
29296       cat >conftest.$ac_ext <<_ACEOF
29297 #line $LINENO "configure"
29298 /* confdefs.h.  */
29299 _ACEOF
29300 cat confdefs.h >>conftest.$ac_ext
29301 cat >>conftest.$ac_ext <<_ACEOF
29302 /* end confdefs.h.  */
29303 #include <math.h>
29304 int
29305 main ()
29306 {
29307  _sincos(0, 0, 0);
29308   ;
29309   return 0;
29310 }
29311 _ACEOF
29312 rm -f conftest.$ac_objext
29313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29314   (eval $ac_compile) 2>&5
29315   ac_status=$?
29316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317   (exit $ac_status); } &&
29318          { ac_try='test -s conftest.$ac_objext'
29319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29320   (eval $ac_try) 2>&5
29321   ac_status=$?
29322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323   (exit $ac_status); }; }; then
29324   glibcxx_cv_func__sincos_use=yes
29325 else
29326   echo "$as_me: failed program was:" >&5
29327 sed 's/^/| /' conftest.$ac_ext >&5
29328
29329 glibcxx_cv_func__sincos_use=no
29330 fi
29331 rm -f conftest.$ac_objext conftest.$ac_ext
29332       ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337
29338
29339 fi
29340
29341   fi
29342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29343 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29344
29345     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29346
29347 for ac_func in _sincos
29348 do
29349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29350 echo "$as_me:$LINENO: checking for $ac_func" >&5
29351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29352 if eval "test \"\${$as_ac_var+set}\" = set"; then
29353   echo $ECHO_N "(cached) $ECHO_C" >&6
29354 else
29355   if test x$gcc_no_link = xyes; then
29356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29358    { (exit 1); exit 1; }; }
29359 fi
29360 cat >conftest.$ac_ext <<_ACEOF
29361 #line $LINENO "configure"
29362 /* confdefs.h.  */
29363 _ACEOF
29364 cat confdefs.h >>conftest.$ac_ext
29365 cat >>conftest.$ac_ext <<_ACEOF
29366 /* end confdefs.h.  */
29367 /* System header to define __stub macros and hopefully few prototypes,
29368     which can conflict with char $ac_func (); below.
29369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29370     <limits.h> exists even on freestanding compilers.  */
29371 #ifdef __STDC__
29372 # include <limits.h>
29373 #else
29374 # include <assert.h>
29375 #endif
29376 /* Override any gcc2 internal prototype to avoid an error.  */
29377 #ifdef __cplusplus
29378 extern "C"
29379 {
29380 #endif
29381 /* We use char because int might match the return type of a gcc2
29382    builtin and then its argument prototype would still apply.  */
29383 char $ac_func ();
29384 /* The GNU C library defines this for functions which it implements
29385     to always fail with ENOSYS.  Some functions are actually named
29386     something starting with __ and the normal name is an alias.  */
29387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29388 choke me
29389 #else
29390 char (*f) () = $ac_func;
29391 #endif
29392 #ifdef __cplusplus
29393 }
29394 #endif
29395
29396 int
29397 main ()
29398 {
29399 return f != $ac_func;
29400   ;
29401   return 0;
29402 }
29403 _ACEOF
29404 rm -f conftest.$ac_objext conftest$ac_exeext
29405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29406   (eval $ac_link) 2>&5
29407   ac_status=$?
29408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409   (exit $ac_status); } &&
29410          { ac_try='test -s conftest$ac_exeext'
29411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29412   (eval $ac_try) 2>&5
29413   ac_status=$?
29414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415   (exit $ac_status); }; }; then
29416   eval "$as_ac_var=yes"
29417 else
29418   echo "$as_me: failed program was:" >&5
29419 sed 's/^/| /' conftest.$ac_ext >&5
29420
29421 eval "$as_ac_var=no"
29422 fi
29423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29424 fi
29425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29427 if test `eval echo '${'$as_ac_var'}'` = yes; then
29428   cat >>confdefs.h <<_ACEOF
29429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29430 _ACEOF
29431
29432 fi
29433 done
29434
29435     fi
29436   fi
29437
29438
29439
29440   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29441 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29442   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29443     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29444   echo $ECHO_N "(cached) $ECHO_C" >&6
29445 else
29446
29447
29448
29449       ac_ext=cc
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29454
29455       cat >conftest.$ac_ext <<_ACEOF
29456 #line $LINENO "configure"
29457 /* confdefs.h.  */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h.  */
29462 #include <math.h>
29463                       #ifdef HAVE_IEEEFP_H
29464                       #include <ieeefp.h>
29465                       #endif
29466
29467 int
29468 main ()
29469 {
29470  fpclass(0);
29471   ;
29472   return 0;
29473 }
29474 _ACEOF
29475 rm -f conftest.$ac_objext
29476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29477   (eval $ac_compile) 2>&5
29478   ac_status=$?
29479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29480   (exit $ac_status); } &&
29481          { ac_try='test -s conftest.$ac_objext'
29482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483   (eval $ac_try) 2>&5
29484   ac_status=$?
29485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486   (exit $ac_status); }; }; then
29487   glibcxx_cv_func_fpclass_use=yes
29488 else
29489   echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29491
29492 glibcxx_cv_func_fpclass_use=no
29493 fi
29494 rm -f conftest.$ac_objext conftest.$ac_ext
29495       ac_ext=c
29496 ac_cpp='$CPP $CPPFLAGS'
29497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29500
29501
29502 fi
29503
29504   fi
29505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29506 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29507
29508   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29509
29510 for ac_func in fpclass
29511 do
29512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29513 echo "$as_me:$LINENO: checking for $ac_func" >&5
29514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29515 if eval "test \"\${$as_ac_var+set}\" = set"; then
29516   echo $ECHO_N "(cached) $ECHO_C" >&6
29517 else
29518   if test x$gcc_no_link = xyes; then
29519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29521    { (exit 1); exit 1; }; }
29522 fi
29523 cat >conftest.$ac_ext <<_ACEOF
29524 #line $LINENO "configure"
29525 /* confdefs.h.  */
29526 _ACEOF
29527 cat confdefs.h >>conftest.$ac_ext
29528 cat >>conftest.$ac_ext <<_ACEOF
29529 /* end confdefs.h.  */
29530 /* System header to define __stub macros and hopefully few prototypes,
29531     which can conflict with char $ac_func (); below.
29532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29533     <limits.h> exists even on freestanding compilers.  */
29534 #ifdef __STDC__
29535 # include <limits.h>
29536 #else
29537 # include <assert.h>
29538 #endif
29539 /* Override any gcc2 internal prototype to avoid an error.  */
29540 #ifdef __cplusplus
29541 extern "C"
29542 {
29543 #endif
29544 /* We use char because int might match the return type of a gcc2
29545    builtin and then its argument prototype would still apply.  */
29546 char $ac_func ();
29547 /* The GNU C library defines this for functions which it implements
29548     to always fail with ENOSYS.  Some functions are actually named
29549     something starting with __ and the normal name is an alias.  */
29550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29551 choke me
29552 #else
29553 char (*f) () = $ac_func;
29554 #endif
29555 #ifdef __cplusplus
29556 }
29557 #endif
29558
29559 int
29560 main ()
29561 {
29562 return f != $ac_func;
29563   ;
29564   return 0;
29565 }
29566 _ACEOF
29567 rm -f conftest.$ac_objext conftest$ac_exeext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29569   (eval $ac_link) 2>&5
29570   ac_status=$?
29571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572   (exit $ac_status); } &&
29573          { ac_try='test -s conftest$ac_exeext'
29574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575   (eval $ac_try) 2>&5
29576   ac_status=$?
29577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578   (exit $ac_status); }; }; then
29579   eval "$as_ac_var=yes"
29580 else
29581   echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29583
29584 eval "$as_ac_var=no"
29585 fi
29586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29587 fi
29588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29590 if test `eval echo '${'$as_ac_var'}'` = yes; then
29591   cat >>confdefs.h <<_ACEOF
29592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29593 _ACEOF
29594
29595 fi
29596 done
29597
29598   else
29599
29600   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29601 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29602   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29603     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29604   echo $ECHO_N "(cached) $ECHO_C" >&6
29605 else
29606
29607
29608
29609       ac_ext=cc
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29614
29615       cat >conftest.$ac_ext <<_ACEOF
29616 #line $LINENO "configure"
29617 /* confdefs.h.  */
29618 _ACEOF
29619 cat confdefs.h >>conftest.$ac_ext
29620 cat >>conftest.$ac_ext <<_ACEOF
29621 /* end confdefs.h.  */
29622 #include <math.h>
29623                       #ifdef HAVE_IEEEFP_H
29624                       #include <ieeefp.h>
29625                       #endif
29626
29627 int
29628 main ()
29629 {
29630  _fpclass(0);
29631   ;
29632   return 0;
29633 }
29634 _ACEOF
29635 rm -f conftest.$ac_objext
29636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29637   (eval $ac_compile) 2>&5
29638   ac_status=$?
29639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640   (exit $ac_status); } &&
29641          { ac_try='test -s conftest.$ac_objext'
29642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643   (eval $ac_try) 2>&5
29644   ac_status=$?
29645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646   (exit $ac_status); }; }; then
29647   glibcxx_cv_func__fpclass_use=yes
29648 else
29649   echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.$ac_ext >&5
29651
29652 glibcxx_cv_func__fpclass_use=no
29653 fi
29654 rm -f conftest.$ac_objext conftest.$ac_ext
29655       ac_ext=c
29656 ac_cpp='$CPP $CPPFLAGS'
29657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29660
29661
29662 fi
29663
29664   fi
29665   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29666 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29667
29668     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29669
29670 for ac_func in _fpclass
29671 do
29672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29673 echo "$as_me:$LINENO: checking for $ac_func" >&5
29674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29675 if eval "test \"\${$as_ac_var+set}\" = set"; then
29676   echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678   if test x$gcc_no_link = xyes; then
29679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29681    { (exit 1); exit 1; }; }
29682 fi
29683 cat >conftest.$ac_ext <<_ACEOF
29684 #line $LINENO "configure"
29685 /* confdefs.h.  */
29686 _ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h.  */
29690 /* System header to define __stub macros and hopefully few prototypes,
29691     which can conflict with char $ac_func (); below.
29692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29693     <limits.h> exists even on freestanding compilers.  */
29694 #ifdef __STDC__
29695 # include <limits.h>
29696 #else
29697 # include <assert.h>
29698 #endif
29699 /* Override any gcc2 internal prototype to avoid an error.  */
29700 #ifdef __cplusplus
29701 extern "C"
29702 {
29703 #endif
29704 /* We use char because int might match the return type of a gcc2
29705    builtin and then its argument prototype would still apply.  */
29706 char $ac_func ();
29707 /* The GNU C library defines this for functions which it implements
29708     to always fail with ENOSYS.  Some functions are actually named
29709     something starting with __ and the normal name is an alias.  */
29710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29711 choke me
29712 #else
29713 char (*f) () = $ac_func;
29714 #endif
29715 #ifdef __cplusplus
29716 }
29717 #endif
29718
29719 int
29720 main ()
29721 {
29722 return f != $ac_func;
29723   ;
29724   return 0;
29725 }
29726 _ACEOF
29727 rm -f conftest.$ac_objext conftest$ac_exeext
29728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29729   (eval $ac_link) 2>&5
29730   ac_status=$?
29731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732   (exit $ac_status); } &&
29733          { ac_try='test -s conftest$ac_exeext'
29734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735   (eval $ac_try) 2>&5
29736   ac_status=$?
29737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738   (exit $ac_status); }; }; then
29739   eval "$as_ac_var=yes"
29740 else
29741   echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.$ac_ext >&5
29743
29744 eval "$as_ac_var=no"
29745 fi
29746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29747 fi
29748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29750 if test `eval echo '${'$as_ac_var'}'` = yes; then
29751   cat >>confdefs.h <<_ACEOF
29752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29753 _ACEOF
29754
29755 fi
29756 done
29757
29758     fi
29759   fi
29760
29761
29762
29763   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29764 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29765   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29766     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29767   echo $ECHO_N "(cached) $ECHO_C" >&6
29768 else
29769
29770
29771
29772       ac_ext=cc
29773 ac_cpp='$CXXCPP $CPPFLAGS'
29774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29777
29778       cat >conftest.$ac_ext <<_ACEOF
29779 #line $LINENO "configure"
29780 /* confdefs.h.  */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h.  */
29785 #include <math.h>
29786                       #ifdef HAVE_IEEEFP_H
29787                       #include <ieeefp.h>
29788                       #endif
29789
29790 int
29791 main ()
29792 {
29793  qfpclass(0);
29794   ;
29795   return 0;
29796 }
29797 _ACEOF
29798 rm -f conftest.$ac_objext
29799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29800   (eval $ac_compile) 2>&5
29801   ac_status=$?
29802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803   (exit $ac_status); } &&
29804          { ac_try='test -s conftest.$ac_objext'
29805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29806   (eval $ac_try) 2>&5
29807   ac_status=$?
29808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29809   (exit $ac_status); }; }; then
29810   glibcxx_cv_func_qfpclass_use=yes
29811 else
29812   echo "$as_me: failed program was:" >&5
29813 sed 's/^/| /' conftest.$ac_ext >&5
29814
29815 glibcxx_cv_func_qfpclass_use=no
29816 fi
29817 rm -f conftest.$ac_objext conftest.$ac_ext
29818       ac_ext=c
29819 ac_cpp='$CPP $CPPFLAGS'
29820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29823
29824
29825 fi
29826
29827   fi
29828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29829 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29830
29831   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29832
29833 for ac_func in qfpclass
29834 do
29835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29836 echo "$as_me:$LINENO: checking for $ac_func" >&5
29837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29838 if eval "test \"\${$as_ac_var+set}\" = set"; then
29839   echo $ECHO_N "(cached) $ECHO_C" >&6
29840 else
29841   if test x$gcc_no_link = xyes; then
29842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29844    { (exit 1); exit 1; }; }
29845 fi
29846 cat >conftest.$ac_ext <<_ACEOF
29847 #line $LINENO "configure"
29848 /* confdefs.h.  */
29849 _ACEOF
29850 cat confdefs.h >>conftest.$ac_ext
29851 cat >>conftest.$ac_ext <<_ACEOF
29852 /* end confdefs.h.  */
29853 /* System header to define __stub macros and hopefully few prototypes,
29854     which can conflict with char $ac_func (); below.
29855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29856     <limits.h> exists even on freestanding compilers.  */
29857 #ifdef __STDC__
29858 # include <limits.h>
29859 #else
29860 # include <assert.h>
29861 #endif
29862 /* Override any gcc2 internal prototype to avoid an error.  */
29863 #ifdef __cplusplus
29864 extern "C"
29865 {
29866 #endif
29867 /* We use char because int might match the return type of a gcc2
29868    builtin and then its argument prototype would still apply.  */
29869 char $ac_func ();
29870 /* The GNU C library defines this for functions which it implements
29871     to always fail with ENOSYS.  Some functions are actually named
29872     something starting with __ and the normal name is an alias.  */
29873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29874 choke me
29875 #else
29876 char (*f) () = $ac_func;
29877 #endif
29878 #ifdef __cplusplus
29879 }
29880 #endif
29881
29882 int
29883 main ()
29884 {
29885 return f != $ac_func;
29886   ;
29887   return 0;
29888 }
29889 _ACEOF
29890 rm -f conftest.$ac_objext conftest$ac_exeext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29892   (eval $ac_link) 2>&5
29893   ac_status=$?
29894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895   (exit $ac_status); } &&
29896          { ac_try='test -s conftest$ac_exeext'
29897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898   (eval $ac_try) 2>&5
29899   ac_status=$?
29900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901   (exit $ac_status); }; }; then
29902   eval "$as_ac_var=yes"
29903 else
29904   echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29906
29907 eval "$as_ac_var=no"
29908 fi
29909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29910 fi
29911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29913 if test `eval echo '${'$as_ac_var'}'` = yes; then
29914   cat >>confdefs.h <<_ACEOF
29915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29916 _ACEOF
29917
29918 fi
29919 done
29920
29921   else
29922
29923   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
29924 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
29925   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29926     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
29927   echo $ECHO_N "(cached) $ECHO_C" >&6
29928 else
29929
29930
29931
29932       ac_ext=cc
29933 ac_cpp='$CXXCPP $CPPFLAGS'
29934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29937
29938       cat >conftest.$ac_ext <<_ACEOF
29939 #line $LINENO "configure"
29940 /* confdefs.h.  */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h.  */
29945 #include <math.h>
29946                       #ifdef HAVE_IEEEFP_H
29947                       #include <ieeefp.h>
29948                       #endif
29949
29950 int
29951 main ()
29952 {
29953  _qfpclass(0);
29954   ;
29955   return 0;
29956 }
29957 _ACEOF
29958 rm -f conftest.$ac_objext
29959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29960   (eval $ac_compile) 2>&5
29961   ac_status=$?
29962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963   (exit $ac_status); } &&
29964          { ac_try='test -s conftest.$ac_objext'
29965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966   (eval $ac_try) 2>&5
29967   ac_status=$?
29968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969   (exit $ac_status); }; }; then
29970   glibcxx_cv_func__qfpclass_use=yes
29971 else
29972   echo "$as_me: failed program was:" >&5
29973 sed 's/^/| /' conftest.$ac_ext >&5
29974
29975 glibcxx_cv_func__qfpclass_use=no
29976 fi
29977 rm -f conftest.$ac_objext conftest.$ac_ext
29978       ac_ext=c
29979 ac_cpp='$CPP $CPPFLAGS'
29980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29983
29984
29985 fi
29986
29987   fi
29988   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
29989 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
29990
29991     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29992
29993 for ac_func in _qfpclass
29994 do
29995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29996 echo "$as_me:$LINENO: checking for $ac_func" >&5
29997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29998 if eval "test \"\${$as_ac_var+set}\" = set"; then
29999   echo $ECHO_N "(cached) $ECHO_C" >&6
30000 else
30001   if test x$gcc_no_link = xyes; then
30002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30004    { (exit 1); exit 1; }; }
30005 fi
30006 cat >conftest.$ac_ext <<_ACEOF
30007 #line $LINENO "configure"
30008 /* confdefs.h.  */
30009 _ACEOF
30010 cat confdefs.h >>conftest.$ac_ext
30011 cat >>conftest.$ac_ext <<_ACEOF
30012 /* end confdefs.h.  */
30013 /* System header to define __stub macros and hopefully few prototypes,
30014     which can conflict with char $ac_func (); below.
30015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30016     <limits.h> exists even on freestanding compilers.  */
30017 #ifdef __STDC__
30018 # include <limits.h>
30019 #else
30020 # include <assert.h>
30021 #endif
30022 /* Override any gcc2 internal prototype to avoid an error.  */
30023 #ifdef __cplusplus
30024 extern "C"
30025 {
30026 #endif
30027 /* We use char because int might match the return type of a gcc2
30028    builtin and then its argument prototype would still apply.  */
30029 char $ac_func ();
30030 /* The GNU C library defines this for functions which it implements
30031     to always fail with ENOSYS.  Some functions are actually named
30032     something starting with __ and the normal name is an alias.  */
30033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30034 choke me
30035 #else
30036 char (*f) () = $ac_func;
30037 #endif
30038 #ifdef __cplusplus
30039 }
30040 #endif
30041
30042 int
30043 main ()
30044 {
30045 return f != $ac_func;
30046   ;
30047   return 0;
30048 }
30049 _ACEOF
30050 rm -f conftest.$ac_objext conftest$ac_exeext
30051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30052   (eval $ac_link) 2>&5
30053   ac_status=$?
30054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055   (exit $ac_status); } &&
30056          { ac_try='test -s conftest$ac_exeext'
30057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30058   (eval $ac_try) 2>&5
30059   ac_status=$?
30060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061   (exit $ac_status); }; }; then
30062   eval "$as_ac_var=yes"
30063 else
30064   echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.$ac_ext >&5
30066
30067 eval "$as_ac_var=no"
30068 fi
30069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30070 fi
30071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30073 if test `eval echo '${'$as_ac_var'}'` = yes; then
30074   cat >>confdefs.h <<_ACEOF
30075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30076 _ACEOF
30077
30078 fi
30079 done
30080
30081     fi
30082   fi
30083
30084
30085
30086   echo "$as_me:$LINENO: checking for hypot declaration" >&5
30087 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30088   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30089     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30090   echo $ECHO_N "(cached) $ECHO_C" >&6
30091 else
30092
30093
30094
30095       ac_ext=cc
30096 ac_cpp='$CXXCPP $CPPFLAGS'
30097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30100
30101       cat >conftest.$ac_ext <<_ACEOF
30102 #line $LINENO "configure"
30103 /* confdefs.h.  */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h.  */
30108 #include <math.h>
30109 int
30110 main ()
30111 {
30112  hypot(0, 0);
30113   ;
30114   return 0;
30115 }
30116 _ACEOF
30117 rm -f conftest.$ac_objext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30119   (eval $ac_compile) 2>&5
30120   ac_status=$?
30121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122   (exit $ac_status); } &&
30123          { ac_try='test -s conftest.$ac_objext'
30124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125   (eval $ac_try) 2>&5
30126   ac_status=$?
30127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128   (exit $ac_status); }; }; then
30129   glibcxx_cv_func_hypot_use=yes
30130 else
30131   echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.$ac_ext >&5
30133
30134 glibcxx_cv_func_hypot_use=no
30135 fi
30136 rm -f conftest.$ac_objext conftest.$ac_ext
30137       ac_ext=c
30138 ac_cpp='$CPP $CPPFLAGS'
30139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30142
30143
30144 fi
30145
30146   fi
30147   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30148 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30149
30150   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30151
30152 for ac_func in hypot
30153 do
30154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30155 echo "$as_me:$LINENO: checking for $ac_func" >&5
30156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30157 if eval "test \"\${$as_ac_var+set}\" = set"; then
30158   echo $ECHO_N "(cached) $ECHO_C" >&6
30159 else
30160   if test x$gcc_no_link = xyes; then
30161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30163    { (exit 1); exit 1; }; }
30164 fi
30165 cat >conftest.$ac_ext <<_ACEOF
30166 #line $LINENO "configure"
30167 /* confdefs.h.  */
30168 _ACEOF
30169 cat confdefs.h >>conftest.$ac_ext
30170 cat >>conftest.$ac_ext <<_ACEOF
30171 /* end confdefs.h.  */
30172 /* System header to define __stub macros and hopefully few prototypes,
30173     which can conflict with char $ac_func (); below.
30174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30175     <limits.h> exists even on freestanding compilers.  */
30176 #ifdef __STDC__
30177 # include <limits.h>
30178 #else
30179 # include <assert.h>
30180 #endif
30181 /* Override any gcc2 internal prototype to avoid an error.  */
30182 #ifdef __cplusplus
30183 extern "C"
30184 {
30185 #endif
30186 /* We use char because int might match the return type of a gcc2
30187    builtin and then its argument prototype would still apply.  */
30188 char $ac_func ();
30189 /* The GNU C library defines this for functions which it implements
30190     to always fail with ENOSYS.  Some functions are actually named
30191     something starting with __ and the normal name is an alias.  */
30192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30193 choke me
30194 #else
30195 char (*f) () = $ac_func;
30196 #endif
30197 #ifdef __cplusplus
30198 }
30199 #endif
30200
30201 int
30202 main ()
30203 {
30204 return f != $ac_func;
30205   ;
30206   return 0;
30207 }
30208 _ACEOF
30209 rm -f conftest.$ac_objext conftest$ac_exeext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30211   (eval $ac_link) 2>&5
30212   ac_status=$?
30213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214   (exit $ac_status); } &&
30215          { ac_try='test -s conftest$ac_exeext'
30216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217   (eval $ac_try) 2>&5
30218   ac_status=$?
30219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220   (exit $ac_status); }; }; then
30221   eval "$as_ac_var=yes"
30222 else
30223   echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.$ac_ext >&5
30225
30226 eval "$as_ac_var=no"
30227 fi
30228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30229 fi
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30232 if test `eval echo '${'$as_ac_var'}'` = yes; then
30233   cat >>confdefs.h <<_ACEOF
30234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30235 _ACEOF
30236
30237 fi
30238 done
30239
30240   else
30241
30242   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30243 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30244   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30245     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30246   echo $ECHO_N "(cached) $ECHO_C" >&6
30247 else
30248
30249
30250
30251       ac_ext=cc
30252 ac_cpp='$CXXCPP $CPPFLAGS'
30253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30256
30257       cat >conftest.$ac_ext <<_ACEOF
30258 #line $LINENO "configure"
30259 /* confdefs.h.  */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h.  */
30264 #include <math.h>
30265 int
30266 main ()
30267 {
30268  _hypot(0, 0);
30269   ;
30270   return 0;
30271 }
30272 _ACEOF
30273 rm -f conftest.$ac_objext
30274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30275   (eval $ac_compile) 2>&5
30276   ac_status=$?
30277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278   (exit $ac_status); } &&
30279          { ac_try='test -s conftest.$ac_objext'
30280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281   (eval $ac_try) 2>&5
30282   ac_status=$?
30283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284   (exit $ac_status); }; }; then
30285   glibcxx_cv_func__hypot_use=yes
30286 else
30287   echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 glibcxx_cv_func__hypot_use=no
30291 fi
30292 rm -f conftest.$ac_objext conftest.$ac_ext
30293       ac_ext=c
30294 ac_cpp='$CPP $CPPFLAGS'
30295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30298
30299
30300 fi
30301
30302   fi
30303   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30304 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30305
30306     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30307
30308 for ac_func in _hypot
30309 do
30310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30311 echo "$as_me:$LINENO: checking for $ac_func" >&5
30312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30313 if eval "test \"\${$as_ac_var+set}\" = set"; then
30314   echo $ECHO_N "(cached) $ECHO_C" >&6
30315 else
30316   if test x$gcc_no_link = xyes; then
30317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30319    { (exit 1); exit 1; }; }
30320 fi
30321 cat >conftest.$ac_ext <<_ACEOF
30322 #line $LINENO "configure"
30323 /* confdefs.h.  */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h.  */
30328 /* System header to define __stub macros and hopefully few prototypes,
30329     which can conflict with char $ac_func (); below.
30330     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30331     <limits.h> exists even on freestanding compilers.  */
30332 #ifdef __STDC__
30333 # include <limits.h>
30334 #else
30335 # include <assert.h>
30336 #endif
30337 /* Override any gcc2 internal prototype to avoid an error.  */
30338 #ifdef __cplusplus
30339 extern "C"
30340 {
30341 #endif
30342 /* We use char because int might match the return type of a gcc2
30343    builtin and then its argument prototype would still apply.  */
30344 char $ac_func ();
30345 /* The GNU C library defines this for functions which it implements
30346     to always fail with ENOSYS.  Some functions are actually named
30347     something starting with __ and the normal name is an alias.  */
30348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30349 choke me
30350 #else
30351 char (*f) () = $ac_func;
30352 #endif
30353 #ifdef __cplusplus
30354 }
30355 #endif
30356
30357 int
30358 main ()
30359 {
30360 return f != $ac_func;
30361   ;
30362   return 0;
30363 }
30364 _ACEOF
30365 rm -f conftest.$ac_objext conftest$ac_exeext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30367   (eval $ac_link) 2>&5
30368   ac_status=$?
30369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370   (exit $ac_status); } &&
30371          { ac_try='test -s conftest$ac_exeext'
30372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373   (eval $ac_try) 2>&5
30374   ac_status=$?
30375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376   (exit $ac_status); }; }; then
30377   eval "$as_ac_var=yes"
30378 else
30379   echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.$ac_ext >&5
30381
30382 eval "$as_ac_var=no"
30383 fi
30384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30385 fi
30386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30388 if test `eval echo '${'$as_ac_var'}'` = yes; then
30389   cat >>confdefs.h <<_ACEOF
30390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30391 _ACEOF
30392
30393 fi
30394 done
30395
30396     fi
30397   fi
30398
30399
30400
30401   echo "$as_me:$LINENO: checking for float trig functions" >&5
30402 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30403   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30404   echo $ECHO_N "(cached) $ECHO_C" >&6
30405 else
30406
30407
30408
30409     ac_ext=cc
30410 ac_cpp='$CXXCPP $CPPFLAGS'
30411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30414
30415     cat >conftest.$ac_ext <<_ACEOF
30416 #line $LINENO "configure"
30417 /* confdefs.h.  */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h.  */
30422 #include <math.h>
30423 int
30424 main ()
30425 {
30426  `for x in acosf asinf atanf \
30427                                           cosf sinf tanf \
30428                                           coshf sinhf tanhf; do echo "$x (0);"; done`
30429   ;
30430   return 0;
30431 }
30432 _ACEOF
30433 rm -f conftest.$ac_objext
30434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30435   (eval $ac_compile) 2>&5
30436   ac_status=$?
30437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438   (exit $ac_status); } &&
30439          { ac_try='test -s conftest.$ac_objext'
30440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30441   (eval $ac_try) 2>&5
30442   ac_status=$?
30443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444   (exit $ac_status); }; }; then
30445   glibcxx_cv_func_float_trig_use=yes
30446 else
30447   echo "$as_me: failed program was:" >&5
30448 sed 's/^/| /' conftest.$ac_ext >&5
30449
30450 glibcxx_cv_func_float_trig_use=no
30451 fi
30452 rm -f conftest.$ac_objext conftest.$ac_ext
30453     ac_ext=c
30454 ac_cpp='$CPP $CPPFLAGS'
30455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30458
30459 fi
30460
30461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30462 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30463   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473 for ac_func in acosf asinf atanf \
30474                                           cosf sinf tanf \
30475                                           coshf sinhf tanhf
30476 do
30477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30478 echo "$as_me:$LINENO: checking for $ac_func" >&5
30479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30480 if eval "test \"\${$as_ac_var+set}\" = set"; then
30481   echo $ECHO_N "(cached) $ECHO_C" >&6
30482 else
30483   if test x$gcc_no_link = xyes; then
30484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30486    { (exit 1); exit 1; }; }
30487 fi
30488 cat >conftest.$ac_ext <<_ACEOF
30489 #line $LINENO "configure"
30490 /* confdefs.h.  */
30491 _ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h.  */
30495 /* System header to define __stub macros and hopefully few prototypes,
30496     which can conflict with char $ac_func (); below.
30497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30498     <limits.h> exists even on freestanding compilers.  */
30499 #ifdef __STDC__
30500 # include <limits.h>
30501 #else
30502 # include <assert.h>
30503 #endif
30504 /* Override any gcc2 internal prototype to avoid an error.  */
30505 #ifdef __cplusplus
30506 extern "C"
30507 {
30508 #endif
30509 /* We use char because int might match the return type of a gcc2
30510    builtin and then its argument prototype would still apply.  */
30511 char $ac_func ();
30512 /* The GNU C library defines this for functions which it implements
30513     to always fail with ENOSYS.  Some functions are actually named
30514     something starting with __ and the normal name is an alias.  */
30515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30516 choke me
30517 #else
30518 char (*f) () = $ac_func;
30519 #endif
30520 #ifdef __cplusplus
30521 }
30522 #endif
30523
30524 int
30525 main ()
30526 {
30527 return f != $ac_func;
30528   ;
30529   return 0;
30530 }
30531 _ACEOF
30532 rm -f conftest.$ac_objext conftest$ac_exeext
30533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30534   (eval $ac_link) 2>&5
30535   ac_status=$?
30536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537   (exit $ac_status); } &&
30538          { ac_try='test -s conftest$ac_exeext'
30539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540   (eval $ac_try) 2>&5
30541   ac_status=$?
30542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543   (exit $ac_status); }; }; then
30544   eval "$as_ac_var=yes"
30545 else
30546   echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30548
30549 eval "$as_ac_var=no"
30550 fi
30551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30552 fi
30553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30555 if test `eval echo '${'$as_ac_var'}'` = yes; then
30556   cat >>confdefs.h <<_ACEOF
30557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30558 _ACEOF
30559
30560 fi
30561 done
30562
30563   fi
30564
30565
30566   echo "$as_me:$LINENO: checking for float round functions" >&5
30567 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30568   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30569   echo $ECHO_N "(cached) $ECHO_C" >&6
30570 else
30571
30572
30573
30574     ac_ext=cc
30575 ac_cpp='$CXXCPP $CPPFLAGS'
30576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30579
30580     cat >conftest.$ac_ext <<_ACEOF
30581 #line $LINENO "configure"
30582 /* confdefs.h.  */
30583 _ACEOF
30584 cat confdefs.h >>conftest.$ac_ext
30585 cat >>conftest.$ac_ext <<_ACEOF
30586 /* end confdefs.h.  */
30587 #include <math.h>
30588 int
30589 main ()
30590 {
30591  `for x in ceilf floorf; do echo "$x (0);"; done`
30592   ;
30593   return 0;
30594 }
30595 _ACEOF
30596 rm -f conftest.$ac_objext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30598   (eval $ac_compile) 2>&5
30599   ac_status=$?
30600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601   (exit $ac_status); } &&
30602          { ac_try='test -s conftest.$ac_objext'
30603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604   (eval $ac_try) 2>&5
30605   ac_status=$?
30606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607   (exit $ac_status); }; }; then
30608   glibcxx_cv_func_float_round_use=yes
30609 else
30610   echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30612
30613 glibcxx_cv_func_float_round_use=no
30614 fi
30615 rm -f conftest.$ac_objext conftest.$ac_ext
30616     ac_ext=c
30617 ac_cpp='$CPP $CPPFLAGS'
30618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30621
30622 fi
30623
30624   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30625 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30626   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30627
30628
30629 for ac_func in ceilf floorf
30630 do
30631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30632 echo "$as_me:$LINENO: checking for $ac_func" >&5
30633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30634 if eval "test \"\${$as_ac_var+set}\" = set"; then
30635   echo $ECHO_N "(cached) $ECHO_C" >&6
30636 else
30637   if test x$gcc_no_link = xyes; then
30638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30640    { (exit 1); exit 1; }; }
30641 fi
30642 cat >conftest.$ac_ext <<_ACEOF
30643 #line $LINENO "configure"
30644 /* confdefs.h.  */
30645 _ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h.  */
30649 /* System header to define __stub macros and hopefully few prototypes,
30650     which can conflict with char $ac_func (); below.
30651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30652     <limits.h> exists even on freestanding compilers.  */
30653 #ifdef __STDC__
30654 # include <limits.h>
30655 #else
30656 # include <assert.h>
30657 #endif
30658 /* Override any gcc2 internal prototype to avoid an error.  */
30659 #ifdef __cplusplus
30660 extern "C"
30661 {
30662 #endif
30663 /* We use char because int might match the return type of a gcc2
30664    builtin and then its argument prototype would still apply.  */
30665 char $ac_func ();
30666 /* The GNU C library defines this for functions which it implements
30667     to always fail with ENOSYS.  Some functions are actually named
30668     something starting with __ and the normal name is an alias.  */
30669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30670 choke me
30671 #else
30672 char (*f) () = $ac_func;
30673 #endif
30674 #ifdef __cplusplus
30675 }
30676 #endif
30677
30678 int
30679 main ()
30680 {
30681 return f != $ac_func;
30682   ;
30683   return 0;
30684 }
30685 _ACEOF
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30688   (eval $ac_link) 2>&5
30689   ac_status=$?
30690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691   (exit $ac_status); } &&
30692          { ac_try='test -s conftest$ac_exeext'
30693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30694   (eval $ac_try) 2>&5
30695   ac_status=$?
30696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697   (exit $ac_status); }; }; then
30698   eval "$as_ac_var=yes"
30699 else
30700   echo "$as_me: failed program was:" >&5
30701 sed 's/^/| /' conftest.$ac_ext >&5
30702
30703 eval "$as_ac_var=no"
30704 fi
30705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30706 fi
30707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30709 if test `eval echo '${'$as_ac_var'}'` = yes; then
30710   cat >>confdefs.h <<_ACEOF
30711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30712 _ACEOF
30713
30714 fi
30715 done
30716
30717   fi
30718
30719
30720
30721   echo "$as_me:$LINENO: checking for expf declaration" >&5
30722 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30723   if test x${glibcxx_cv_func_expf_use+set} != xset; then
30724     if test "${glibcxx_cv_func_expf_use+set}" = set; then
30725   echo $ECHO_N "(cached) $ECHO_C" >&6
30726 else
30727
30728
30729
30730       ac_ext=cc
30731 ac_cpp='$CXXCPP $CPPFLAGS'
30732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30735
30736       cat >conftest.$ac_ext <<_ACEOF
30737 #line $LINENO "configure"
30738 /* confdefs.h.  */
30739 _ACEOF
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h.  */
30743 #include <math.h>
30744                       #ifdef HAVE_IEEEFP_H
30745                       #include <ieeefp.h>
30746                       #endif
30747
30748 int
30749 main ()
30750 {
30751  expf(0);
30752   ;
30753   return 0;
30754 }
30755 _ACEOF
30756 rm -f conftest.$ac_objext
30757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30758   (eval $ac_compile) 2>&5
30759   ac_status=$?
30760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761   (exit $ac_status); } &&
30762          { ac_try='test -s conftest.$ac_objext'
30763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764   (eval $ac_try) 2>&5
30765   ac_status=$?
30766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767   (exit $ac_status); }; }; then
30768   glibcxx_cv_func_expf_use=yes
30769 else
30770   echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30772
30773 glibcxx_cv_func_expf_use=no
30774 fi
30775 rm -f conftest.$ac_objext conftest.$ac_ext
30776       ac_ext=c
30777 ac_cpp='$CPP $CPPFLAGS'
30778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30781
30782
30783 fi
30784
30785   fi
30786   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30787 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30788
30789   if test x$glibcxx_cv_func_expf_use = x"yes"; then
30790
30791 for ac_func in expf
30792 do
30793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30794 echo "$as_me:$LINENO: checking for $ac_func" >&5
30795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30796 if eval "test \"\${$as_ac_var+set}\" = set"; then
30797   echo $ECHO_N "(cached) $ECHO_C" >&6
30798 else
30799   if test x$gcc_no_link = xyes; then
30800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30802    { (exit 1); exit 1; }; }
30803 fi
30804 cat >conftest.$ac_ext <<_ACEOF
30805 #line $LINENO "configure"
30806 /* confdefs.h.  */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h.  */
30811 /* System header to define __stub macros and hopefully few prototypes,
30812     which can conflict with char $ac_func (); below.
30813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30814     <limits.h> exists even on freestanding compilers.  */
30815 #ifdef __STDC__
30816 # include <limits.h>
30817 #else
30818 # include <assert.h>
30819 #endif
30820 /* Override any gcc2 internal prototype to avoid an error.  */
30821 #ifdef __cplusplus
30822 extern "C"
30823 {
30824 #endif
30825 /* We use char because int might match the return type of a gcc2
30826    builtin and then its argument prototype would still apply.  */
30827 char $ac_func ();
30828 /* The GNU C library defines this for functions which it implements
30829     to always fail with ENOSYS.  Some functions are actually named
30830     something starting with __ and the normal name is an alias.  */
30831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30832 choke me
30833 #else
30834 char (*f) () = $ac_func;
30835 #endif
30836 #ifdef __cplusplus
30837 }
30838 #endif
30839
30840 int
30841 main ()
30842 {
30843 return f != $ac_func;
30844   ;
30845   return 0;
30846 }
30847 _ACEOF
30848 rm -f conftest.$ac_objext conftest$ac_exeext
30849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30850   (eval $ac_link) 2>&5
30851   ac_status=$?
30852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853   (exit $ac_status); } &&
30854          { ac_try='test -s conftest$ac_exeext'
30855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856   (eval $ac_try) 2>&5
30857   ac_status=$?
30858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859   (exit $ac_status); }; }; then
30860   eval "$as_ac_var=yes"
30861 else
30862   echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30864
30865 eval "$as_ac_var=no"
30866 fi
30867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30868 fi
30869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30871 if test `eval echo '${'$as_ac_var'}'` = yes; then
30872   cat >>confdefs.h <<_ACEOF
30873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30874 _ACEOF
30875
30876 fi
30877 done
30878
30879   else
30880
30881   echo "$as_me:$LINENO: checking for _expf declaration" >&5
30882 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30883   if test x${glibcxx_cv_func__expf_use+set} != xset; then
30884     if test "${glibcxx_cv_func__expf_use+set}" = set; then
30885   echo $ECHO_N "(cached) $ECHO_C" >&6
30886 else
30887
30888
30889
30890       ac_ext=cc
30891 ac_cpp='$CXXCPP $CPPFLAGS'
30892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30895
30896       cat >conftest.$ac_ext <<_ACEOF
30897 #line $LINENO "configure"
30898 /* confdefs.h.  */
30899 _ACEOF
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h.  */
30903 #include <math.h>
30904                       #ifdef HAVE_IEEEFP_H
30905                       #include <ieeefp.h>
30906                       #endif
30907
30908 int
30909 main ()
30910 {
30911  _expf(0);
30912   ;
30913   return 0;
30914 }
30915 _ACEOF
30916 rm -f conftest.$ac_objext
30917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30918   (eval $ac_compile) 2>&5
30919   ac_status=$?
30920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921   (exit $ac_status); } &&
30922          { ac_try='test -s conftest.$ac_objext'
30923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30924   (eval $ac_try) 2>&5
30925   ac_status=$?
30926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927   (exit $ac_status); }; }; then
30928   glibcxx_cv_func__expf_use=yes
30929 else
30930   echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.$ac_ext >&5
30932
30933 glibcxx_cv_func__expf_use=no
30934 fi
30935 rm -f conftest.$ac_objext conftest.$ac_ext
30936       ac_ext=c
30937 ac_cpp='$CPP $CPPFLAGS'
30938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30941
30942
30943 fi
30944
30945   fi
30946   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
30947 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
30948
30949     if test x$glibcxx_cv_func__expf_use = x"yes"; then
30950
30951 for ac_func in _expf
30952 do
30953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30954 echo "$as_me:$LINENO: checking for $ac_func" >&5
30955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30956 if eval "test \"\${$as_ac_var+set}\" = set"; then
30957   echo $ECHO_N "(cached) $ECHO_C" >&6
30958 else
30959   if test x$gcc_no_link = xyes; then
30960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30962    { (exit 1); exit 1; }; }
30963 fi
30964 cat >conftest.$ac_ext <<_ACEOF
30965 #line $LINENO "configure"
30966 /* confdefs.h.  */
30967 _ACEOF
30968 cat confdefs.h >>conftest.$ac_ext
30969 cat >>conftest.$ac_ext <<_ACEOF
30970 /* end confdefs.h.  */
30971 /* System header to define __stub macros and hopefully few prototypes,
30972     which can conflict with char $ac_func (); below.
30973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30974     <limits.h> exists even on freestanding compilers.  */
30975 #ifdef __STDC__
30976 # include <limits.h>
30977 #else
30978 # include <assert.h>
30979 #endif
30980 /* Override any gcc2 internal prototype to avoid an error.  */
30981 #ifdef __cplusplus
30982 extern "C"
30983 {
30984 #endif
30985 /* We use char because int might match the return type of a gcc2
30986    builtin and then its argument prototype would still apply.  */
30987 char $ac_func ();
30988 /* The GNU C library defines this for functions which it implements
30989     to always fail with ENOSYS.  Some functions are actually named
30990     something starting with __ and the normal name is an alias.  */
30991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30992 choke me
30993 #else
30994 char (*f) () = $ac_func;
30995 #endif
30996 #ifdef __cplusplus
30997 }
30998 #endif
30999
31000 int
31001 main ()
31002 {
31003 return f != $ac_func;
31004   ;
31005   return 0;
31006 }
31007 _ACEOF
31008 rm -f conftest.$ac_objext conftest$ac_exeext
31009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31010   (eval $ac_link) 2>&5
31011   ac_status=$?
31012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013   (exit $ac_status); } &&
31014          { ac_try='test -s conftest$ac_exeext'
31015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31016   (eval $ac_try) 2>&5
31017   ac_status=$?
31018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019   (exit $ac_status); }; }; then
31020   eval "$as_ac_var=yes"
31021 else
31022   echo "$as_me: failed program was:" >&5
31023 sed 's/^/| /' conftest.$ac_ext >&5
31024
31025 eval "$as_ac_var=no"
31026 fi
31027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31028 fi
31029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31031 if test `eval echo '${'$as_ac_var'}'` = yes; then
31032   cat >>confdefs.h <<_ACEOF
31033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31034 _ACEOF
31035
31036 fi
31037 done
31038
31039     fi
31040   fi
31041
31042
31043
31044   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31045 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31046   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31047     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31048   echo $ECHO_N "(cached) $ECHO_C" >&6
31049 else
31050
31051
31052
31053       ac_ext=cc
31054 ac_cpp='$CXXCPP $CPPFLAGS'
31055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31058
31059       cat >conftest.$ac_ext <<_ACEOF
31060 #line $LINENO "configure"
31061 /* confdefs.h.  */
31062 _ACEOF
31063 cat confdefs.h >>conftest.$ac_ext
31064 cat >>conftest.$ac_ext <<_ACEOF
31065 /* end confdefs.h.  */
31066 #include <math.h>
31067                       #ifdef HAVE_IEEEFP_H
31068                       #include <ieeefp.h>
31069                       #endif
31070
31071 int
31072 main ()
31073 {
31074  isnanf(0);
31075   ;
31076   return 0;
31077 }
31078 _ACEOF
31079 rm -f conftest.$ac_objext
31080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31081   (eval $ac_compile) 2>&5
31082   ac_status=$?
31083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084   (exit $ac_status); } &&
31085          { ac_try='test -s conftest.$ac_objext'
31086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087   (eval $ac_try) 2>&5
31088   ac_status=$?
31089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090   (exit $ac_status); }; }; then
31091   glibcxx_cv_func_isnanf_use=yes
31092 else
31093   echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31095
31096 glibcxx_cv_func_isnanf_use=no
31097 fi
31098 rm -f conftest.$ac_objext conftest.$ac_ext
31099       ac_ext=c
31100 ac_cpp='$CPP $CPPFLAGS'
31101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31104
31105
31106 fi
31107
31108   fi
31109   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31110 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31111
31112   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31113
31114 for ac_func in isnanf
31115 do
31116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31117 echo "$as_me:$LINENO: checking for $ac_func" >&5
31118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31119 if eval "test \"\${$as_ac_var+set}\" = set"; then
31120   echo $ECHO_N "(cached) $ECHO_C" >&6
31121 else
31122   if test x$gcc_no_link = xyes; then
31123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31125    { (exit 1); exit 1; }; }
31126 fi
31127 cat >conftest.$ac_ext <<_ACEOF
31128 #line $LINENO "configure"
31129 /* confdefs.h.  */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h.  */
31134 /* System header to define __stub macros and hopefully few prototypes,
31135     which can conflict with char $ac_func (); below.
31136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31137     <limits.h> exists even on freestanding compilers.  */
31138 #ifdef __STDC__
31139 # include <limits.h>
31140 #else
31141 # include <assert.h>
31142 #endif
31143 /* Override any gcc2 internal prototype to avoid an error.  */
31144 #ifdef __cplusplus
31145 extern "C"
31146 {
31147 #endif
31148 /* We use char because int might match the return type of a gcc2
31149    builtin and then its argument prototype would still apply.  */
31150 char $ac_func ();
31151 /* The GNU C library defines this for functions which it implements
31152     to always fail with ENOSYS.  Some functions are actually named
31153     something starting with __ and the normal name is an alias.  */
31154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31155 choke me
31156 #else
31157 char (*f) () = $ac_func;
31158 #endif
31159 #ifdef __cplusplus
31160 }
31161 #endif
31162
31163 int
31164 main ()
31165 {
31166 return f != $ac_func;
31167   ;
31168   return 0;
31169 }
31170 _ACEOF
31171 rm -f conftest.$ac_objext conftest$ac_exeext
31172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31173   (eval $ac_link) 2>&5
31174   ac_status=$?
31175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176   (exit $ac_status); } &&
31177          { ac_try='test -s conftest$ac_exeext'
31178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179   (eval $ac_try) 2>&5
31180   ac_status=$?
31181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182   (exit $ac_status); }; }; then
31183   eval "$as_ac_var=yes"
31184 else
31185   echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31187
31188 eval "$as_ac_var=no"
31189 fi
31190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31191 fi
31192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31194 if test `eval echo '${'$as_ac_var'}'` = yes; then
31195   cat >>confdefs.h <<_ACEOF
31196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31197 _ACEOF
31198
31199 fi
31200 done
31201
31202   else
31203
31204   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31205 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31206   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31207     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31208   echo $ECHO_N "(cached) $ECHO_C" >&6
31209 else
31210
31211
31212
31213       ac_ext=cc
31214 ac_cpp='$CXXCPP $CPPFLAGS'
31215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31218
31219       cat >conftest.$ac_ext <<_ACEOF
31220 #line $LINENO "configure"
31221 /* confdefs.h.  */
31222 _ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h.  */
31226 #include <math.h>
31227                       #ifdef HAVE_IEEEFP_H
31228                       #include <ieeefp.h>
31229                       #endif
31230
31231 int
31232 main ()
31233 {
31234  _isnanf(0);
31235   ;
31236   return 0;
31237 }
31238 _ACEOF
31239 rm -f conftest.$ac_objext
31240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31241   (eval $ac_compile) 2>&5
31242   ac_status=$?
31243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244   (exit $ac_status); } &&
31245          { ac_try='test -s conftest.$ac_objext'
31246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31247   (eval $ac_try) 2>&5
31248   ac_status=$?
31249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250   (exit $ac_status); }; }; then
31251   glibcxx_cv_func__isnanf_use=yes
31252 else
31253   echo "$as_me: failed program was:" >&5
31254 sed 's/^/| /' conftest.$ac_ext >&5
31255
31256 glibcxx_cv_func__isnanf_use=no
31257 fi
31258 rm -f conftest.$ac_objext conftest.$ac_ext
31259       ac_ext=c
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31264
31265
31266 fi
31267
31268   fi
31269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31270 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31271
31272     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31273
31274 for ac_func in _isnanf
31275 do
31276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31277 echo "$as_me:$LINENO: checking for $ac_func" >&5
31278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31279 if eval "test \"\${$as_ac_var+set}\" = set"; then
31280   echo $ECHO_N "(cached) $ECHO_C" >&6
31281 else
31282   if test x$gcc_no_link = xyes; then
31283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31285    { (exit 1); exit 1; }; }
31286 fi
31287 cat >conftest.$ac_ext <<_ACEOF
31288 #line $LINENO "configure"
31289 /* confdefs.h.  */
31290 _ACEOF
31291 cat confdefs.h >>conftest.$ac_ext
31292 cat >>conftest.$ac_ext <<_ACEOF
31293 /* end confdefs.h.  */
31294 /* System header to define __stub macros and hopefully few prototypes,
31295     which can conflict with char $ac_func (); below.
31296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31297     <limits.h> exists even on freestanding compilers.  */
31298 #ifdef __STDC__
31299 # include <limits.h>
31300 #else
31301 # include <assert.h>
31302 #endif
31303 /* Override any gcc2 internal prototype to avoid an error.  */
31304 #ifdef __cplusplus
31305 extern "C"
31306 {
31307 #endif
31308 /* We use char because int might match the return type of a gcc2
31309    builtin and then its argument prototype would still apply.  */
31310 char $ac_func ();
31311 /* The GNU C library defines this for functions which it implements
31312     to always fail with ENOSYS.  Some functions are actually named
31313     something starting with __ and the normal name is an alias.  */
31314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31315 choke me
31316 #else
31317 char (*f) () = $ac_func;
31318 #endif
31319 #ifdef __cplusplus
31320 }
31321 #endif
31322
31323 int
31324 main ()
31325 {
31326 return f != $ac_func;
31327   ;
31328   return 0;
31329 }
31330 _ACEOF
31331 rm -f conftest.$ac_objext conftest$ac_exeext
31332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31333   (eval $ac_link) 2>&5
31334   ac_status=$?
31335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336   (exit $ac_status); } &&
31337          { ac_try='test -s conftest$ac_exeext'
31338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339   (eval $ac_try) 2>&5
31340   ac_status=$?
31341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342   (exit $ac_status); }; }; then
31343   eval "$as_ac_var=yes"
31344 else
31345   echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.$ac_ext >&5
31347
31348 eval "$as_ac_var=no"
31349 fi
31350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31351 fi
31352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31354 if test `eval echo '${'$as_ac_var'}'` = yes; then
31355   cat >>confdefs.h <<_ACEOF
31356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31357 _ACEOF
31358
31359 fi
31360 done
31361
31362     fi
31363   fi
31364
31365
31366
31367   echo "$as_me:$LINENO: checking for isinff declaration" >&5
31368 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31369   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31370     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31371   echo $ECHO_N "(cached) $ECHO_C" >&6
31372 else
31373
31374
31375
31376       ac_ext=cc
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31381
31382       cat >conftest.$ac_ext <<_ACEOF
31383 #line $LINENO "configure"
31384 /* confdefs.h.  */
31385 _ACEOF
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h.  */
31389 #include <math.h>
31390                       #ifdef HAVE_IEEEFP_H
31391                       #include <ieeefp.h>
31392                       #endif
31393
31394 int
31395 main ()
31396 {
31397  isinff(0);
31398   ;
31399   return 0;
31400 }
31401 _ACEOF
31402 rm -f conftest.$ac_objext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31404   (eval $ac_compile) 2>&5
31405   ac_status=$?
31406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407   (exit $ac_status); } &&
31408          { ac_try='test -s conftest.$ac_objext'
31409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410   (eval $ac_try) 2>&5
31411   ac_status=$?
31412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413   (exit $ac_status); }; }; then
31414   glibcxx_cv_func_isinff_use=yes
31415 else
31416   echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31418
31419 glibcxx_cv_func_isinff_use=no
31420 fi
31421 rm -f conftest.$ac_objext conftest.$ac_ext
31422       ac_ext=c
31423 ac_cpp='$CPP $CPPFLAGS'
31424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31427
31428
31429 fi
31430
31431   fi
31432   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31433 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31434
31435   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31436
31437 for ac_func in isinff
31438 do
31439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31440 echo "$as_me:$LINENO: checking for $ac_func" >&5
31441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31442 if eval "test \"\${$as_ac_var+set}\" = set"; then
31443   echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445   if test x$gcc_no_link = xyes; then
31446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31448    { (exit 1); exit 1; }; }
31449 fi
31450 cat >conftest.$ac_ext <<_ACEOF
31451 #line $LINENO "configure"
31452 /* confdefs.h.  */
31453 _ACEOF
31454 cat confdefs.h >>conftest.$ac_ext
31455 cat >>conftest.$ac_ext <<_ACEOF
31456 /* end confdefs.h.  */
31457 /* System header to define __stub macros and hopefully few prototypes,
31458     which can conflict with char $ac_func (); below.
31459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31460     <limits.h> exists even on freestanding compilers.  */
31461 #ifdef __STDC__
31462 # include <limits.h>
31463 #else
31464 # include <assert.h>
31465 #endif
31466 /* Override any gcc2 internal prototype to avoid an error.  */
31467 #ifdef __cplusplus
31468 extern "C"
31469 {
31470 #endif
31471 /* We use char because int might match the return type of a gcc2
31472    builtin and then its argument prototype would still apply.  */
31473 char $ac_func ();
31474 /* The GNU C library defines this for functions which it implements
31475     to always fail with ENOSYS.  Some functions are actually named
31476     something starting with __ and the normal name is an alias.  */
31477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31478 choke me
31479 #else
31480 char (*f) () = $ac_func;
31481 #endif
31482 #ifdef __cplusplus
31483 }
31484 #endif
31485
31486 int
31487 main ()
31488 {
31489 return f != $ac_func;
31490   ;
31491   return 0;
31492 }
31493 _ACEOF
31494 rm -f conftest.$ac_objext conftest$ac_exeext
31495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31496   (eval $ac_link) 2>&5
31497   ac_status=$?
31498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499   (exit $ac_status); } &&
31500          { ac_try='test -s conftest$ac_exeext'
31501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31502   (eval $ac_try) 2>&5
31503   ac_status=$?
31504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505   (exit $ac_status); }; }; then
31506   eval "$as_ac_var=yes"
31507 else
31508   echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.$ac_ext >&5
31510
31511 eval "$as_ac_var=no"
31512 fi
31513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31514 fi
31515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31517 if test `eval echo '${'$as_ac_var'}'` = yes; then
31518   cat >>confdefs.h <<_ACEOF
31519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31520 _ACEOF
31521
31522 fi
31523 done
31524
31525   else
31526
31527   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31528 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31529   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31530     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31531   echo $ECHO_N "(cached) $ECHO_C" >&6
31532 else
31533
31534
31535
31536       ac_ext=cc
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31541
31542       cat >conftest.$ac_ext <<_ACEOF
31543 #line $LINENO "configure"
31544 /* confdefs.h.  */
31545 _ACEOF
31546 cat confdefs.h >>conftest.$ac_ext
31547 cat >>conftest.$ac_ext <<_ACEOF
31548 /* end confdefs.h.  */
31549 #include <math.h>
31550                       #ifdef HAVE_IEEEFP_H
31551                       #include <ieeefp.h>
31552                       #endif
31553
31554 int
31555 main ()
31556 {
31557  _isinff(0);
31558   ;
31559   return 0;
31560 }
31561 _ACEOF
31562 rm -f conftest.$ac_objext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31564   (eval $ac_compile) 2>&5
31565   ac_status=$?
31566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567   (exit $ac_status); } &&
31568          { ac_try='test -s conftest.$ac_objext'
31569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31570   (eval $ac_try) 2>&5
31571   ac_status=$?
31572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573   (exit $ac_status); }; }; then
31574   glibcxx_cv_func__isinff_use=yes
31575 else
31576   echo "$as_me: failed program was:" >&5
31577 sed 's/^/| /' conftest.$ac_ext >&5
31578
31579 glibcxx_cv_func__isinff_use=no
31580 fi
31581 rm -f conftest.$ac_objext conftest.$ac_ext
31582       ac_ext=c
31583 ac_cpp='$CPP $CPPFLAGS'
31584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31587
31588
31589 fi
31590
31591   fi
31592   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31593 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31594
31595     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31596
31597 for ac_func in _isinff
31598 do
31599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31600 echo "$as_me:$LINENO: checking for $ac_func" >&5
31601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31602 if eval "test \"\${$as_ac_var+set}\" = set"; then
31603   echo $ECHO_N "(cached) $ECHO_C" >&6
31604 else
31605   if test x$gcc_no_link = xyes; then
31606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31608    { (exit 1); exit 1; }; }
31609 fi
31610 cat >conftest.$ac_ext <<_ACEOF
31611 #line $LINENO "configure"
31612 /* confdefs.h.  */
31613 _ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h.  */
31617 /* System header to define __stub macros and hopefully few prototypes,
31618     which can conflict with char $ac_func (); below.
31619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31620     <limits.h> exists even on freestanding compilers.  */
31621 #ifdef __STDC__
31622 # include <limits.h>
31623 #else
31624 # include <assert.h>
31625 #endif
31626 /* Override any gcc2 internal prototype to avoid an error.  */
31627 #ifdef __cplusplus
31628 extern "C"
31629 {
31630 #endif
31631 /* We use char because int might match the return type of a gcc2
31632    builtin and then its argument prototype would still apply.  */
31633 char $ac_func ();
31634 /* The GNU C library defines this for functions which it implements
31635     to always fail with ENOSYS.  Some functions are actually named
31636     something starting with __ and the normal name is an alias.  */
31637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31638 choke me
31639 #else
31640 char (*f) () = $ac_func;
31641 #endif
31642 #ifdef __cplusplus
31643 }
31644 #endif
31645
31646 int
31647 main ()
31648 {
31649 return f != $ac_func;
31650   ;
31651   return 0;
31652 }
31653 _ACEOF
31654 rm -f conftest.$ac_objext conftest$ac_exeext
31655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31656   (eval $ac_link) 2>&5
31657   ac_status=$?
31658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31659   (exit $ac_status); } &&
31660          { ac_try='test -s conftest$ac_exeext'
31661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662   (eval $ac_try) 2>&5
31663   ac_status=$?
31664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665   (exit $ac_status); }; }; then
31666   eval "$as_ac_var=yes"
31667 else
31668   echo "$as_me: failed program was:" >&5
31669 sed 's/^/| /' conftest.$ac_ext >&5
31670
31671 eval "$as_ac_var=no"
31672 fi
31673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31674 fi
31675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31677 if test `eval echo '${'$as_ac_var'}'` = yes; then
31678   cat >>confdefs.h <<_ACEOF
31679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31680 _ACEOF
31681
31682 fi
31683 done
31684
31685     fi
31686   fi
31687
31688
31689
31690   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31691 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31692   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31693     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31694   echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31696
31697
31698
31699       ac_ext=cc
31700 ac_cpp='$CXXCPP $CPPFLAGS'
31701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31704
31705       cat >conftest.$ac_ext <<_ACEOF
31706 #line $LINENO "configure"
31707 /* confdefs.h.  */
31708 _ACEOF
31709 cat confdefs.h >>conftest.$ac_ext
31710 cat >>conftest.$ac_ext <<_ACEOF
31711 /* end confdefs.h.  */
31712 #include <math.h>
31713 int
31714 main ()
31715 {
31716  atan2f(0, 0);
31717   ;
31718   return 0;
31719 }
31720 _ACEOF
31721 rm -f conftest.$ac_objext
31722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31723   (eval $ac_compile) 2>&5
31724   ac_status=$?
31725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726   (exit $ac_status); } &&
31727          { ac_try='test -s conftest.$ac_objext'
31728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729   (eval $ac_try) 2>&5
31730   ac_status=$?
31731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732   (exit $ac_status); }; }; then
31733   glibcxx_cv_func_atan2f_use=yes
31734 else
31735   echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.$ac_ext >&5
31737
31738 glibcxx_cv_func_atan2f_use=no
31739 fi
31740 rm -f conftest.$ac_objext conftest.$ac_ext
31741       ac_ext=c
31742 ac_cpp='$CPP $CPPFLAGS'
31743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31746
31747
31748 fi
31749
31750   fi
31751   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31752 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31753
31754   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31755
31756 for ac_func in atan2f
31757 do
31758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31759 echo "$as_me:$LINENO: checking for $ac_func" >&5
31760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31761 if eval "test \"\${$as_ac_var+set}\" = set"; then
31762   echo $ECHO_N "(cached) $ECHO_C" >&6
31763 else
31764   if test x$gcc_no_link = xyes; then
31765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31767    { (exit 1); exit 1; }; }
31768 fi
31769 cat >conftest.$ac_ext <<_ACEOF
31770 #line $LINENO "configure"
31771 /* confdefs.h.  */
31772 _ACEOF
31773 cat confdefs.h >>conftest.$ac_ext
31774 cat >>conftest.$ac_ext <<_ACEOF
31775 /* end confdefs.h.  */
31776 /* System header to define __stub macros and hopefully few prototypes,
31777     which can conflict with char $ac_func (); below.
31778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31779     <limits.h> exists even on freestanding compilers.  */
31780 #ifdef __STDC__
31781 # include <limits.h>
31782 #else
31783 # include <assert.h>
31784 #endif
31785 /* Override any gcc2 internal prototype to avoid an error.  */
31786 #ifdef __cplusplus
31787 extern "C"
31788 {
31789 #endif
31790 /* We use char because int might match the return type of a gcc2
31791    builtin and then its argument prototype would still apply.  */
31792 char $ac_func ();
31793 /* The GNU C library defines this for functions which it implements
31794     to always fail with ENOSYS.  Some functions are actually named
31795     something starting with __ and the normal name is an alias.  */
31796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31797 choke me
31798 #else
31799 char (*f) () = $ac_func;
31800 #endif
31801 #ifdef __cplusplus
31802 }
31803 #endif
31804
31805 int
31806 main ()
31807 {
31808 return f != $ac_func;
31809   ;
31810   return 0;
31811 }
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31815   (eval $ac_link) 2>&5
31816   ac_status=$?
31817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818   (exit $ac_status); } &&
31819          { ac_try='test -s conftest$ac_exeext'
31820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31821   (eval $ac_try) 2>&5
31822   ac_status=$?
31823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824   (exit $ac_status); }; }; then
31825   eval "$as_ac_var=yes"
31826 else
31827   echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31829
31830 eval "$as_ac_var=no"
31831 fi
31832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31833 fi
31834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31836 if test `eval echo '${'$as_ac_var'}'` = yes; then
31837   cat >>confdefs.h <<_ACEOF
31838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31839 _ACEOF
31840
31841 fi
31842 done
31843
31844   else
31845
31846   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31847 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31848   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31849     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31850   echo $ECHO_N "(cached) $ECHO_C" >&6
31851 else
31852
31853
31854
31855       ac_ext=cc
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31860
31861       cat >conftest.$ac_ext <<_ACEOF
31862 #line $LINENO "configure"
31863 /* confdefs.h.  */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h.  */
31868 #include <math.h>
31869 int
31870 main ()
31871 {
31872  _atan2f(0, 0);
31873   ;
31874   return 0;
31875 }
31876 _ACEOF
31877 rm -f conftest.$ac_objext
31878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31879   (eval $ac_compile) 2>&5
31880   ac_status=$?
31881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882   (exit $ac_status); } &&
31883          { ac_try='test -s conftest.$ac_objext'
31884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885   (eval $ac_try) 2>&5
31886   ac_status=$?
31887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888   (exit $ac_status); }; }; then
31889   glibcxx_cv_func__atan2f_use=yes
31890 else
31891   echo "$as_me: failed program was:" >&5
31892 sed 's/^/| /' conftest.$ac_ext >&5
31893
31894 glibcxx_cv_func__atan2f_use=no
31895 fi
31896 rm -f conftest.$ac_objext conftest.$ac_ext
31897       ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31902
31903
31904 fi
31905
31906   fi
31907   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31908 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31909
31910     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31911
31912 for ac_func in _atan2f
31913 do
31914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31915 echo "$as_me:$LINENO: checking for $ac_func" >&5
31916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31917 if eval "test \"\${$as_ac_var+set}\" = set"; then
31918   echo $ECHO_N "(cached) $ECHO_C" >&6
31919 else
31920   if test x$gcc_no_link = xyes; then
31921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31923    { (exit 1); exit 1; }; }
31924 fi
31925 cat >conftest.$ac_ext <<_ACEOF
31926 #line $LINENO "configure"
31927 /* confdefs.h.  */
31928 _ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h.  */
31932 /* System header to define __stub macros and hopefully few prototypes,
31933     which can conflict with char $ac_func (); below.
31934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31935     <limits.h> exists even on freestanding compilers.  */
31936 #ifdef __STDC__
31937 # include <limits.h>
31938 #else
31939 # include <assert.h>
31940 #endif
31941 /* Override any gcc2 internal prototype to avoid an error.  */
31942 #ifdef __cplusplus
31943 extern "C"
31944 {
31945 #endif
31946 /* We use char because int might match the return type of a gcc2
31947    builtin and then its argument prototype would still apply.  */
31948 char $ac_func ();
31949 /* The GNU C library defines this for functions which it implements
31950     to always fail with ENOSYS.  Some functions are actually named
31951     something starting with __ and the normal name is an alias.  */
31952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31953 choke me
31954 #else
31955 char (*f) () = $ac_func;
31956 #endif
31957 #ifdef __cplusplus
31958 }
31959 #endif
31960
31961 int
31962 main ()
31963 {
31964 return f != $ac_func;
31965   ;
31966   return 0;
31967 }
31968 _ACEOF
31969 rm -f conftest.$ac_objext conftest$ac_exeext
31970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31971   (eval $ac_link) 2>&5
31972   ac_status=$?
31973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31974   (exit $ac_status); } &&
31975          { ac_try='test -s conftest$ac_exeext'
31976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31977   (eval $ac_try) 2>&5
31978   ac_status=$?
31979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980   (exit $ac_status); }; }; then
31981   eval "$as_ac_var=yes"
31982 else
31983   echo "$as_me: failed program was:" >&5
31984 sed 's/^/| /' conftest.$ac_ext >&5
31985
31986 eval "$as_ac_var=no"
31987 fi
31988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31989 fi
31990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31992 if test `eval echo '${'$as_ac_var'}'` = yes; then
31993   cat >>confdefs.h <<_ACEOF
31994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31995 _ACEOF
31996
31997 fi
31998 done
31999
32000     fi
32001   fi
32002
32003
32004
32005   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32006 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32007   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32008     if test "${glibcxx_cv_func_fabsf_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 #line $LINENO "configure"
32022 /* confdefs.h.  */
32023 _ACEOF
32024 cat confdefs.h >>conftest.$ac_ext
32025 cat >>conftest.$ac_ext <<_ACEOF
32026 /* end confdefs.h.  */
32027 #include <math.h>
32028                       #ifdef HAVE_IEEEFP_H
32029                       #include <ieeefp.h>
32030                       #endif
32031
32032 int
32033 main ()
32034 {
32035  fabsf(0);
32036   ;
32037   return 0;
32038 }
32039 _ACEOF
32040 rm -f conftest.$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042   (eval $ac_compile) 2>&5
32043   ac_status=$?
32044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045   (exit $ac_status); } &&
32046          { ac_try='test -s conftest.$ac_objext'
32047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32048   (eval $ac_try) 2>&5
32049   ac_status=$?
32050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051   (exit $ac_status); }; }; then
32052   glibcxx_cv_func_fabsf_use=yes
32053 else
32054   echo "$as_me: failed program was:" >&5
32055 sed 's/^/| /' conftest.$ac_ext >&5
32056
32057 glibcxx_cv_func_fabsf_use=no
32058 fi
32059 rm -f conftest.$ac_objext conftest.$ac_ext
32060       ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32065
32066
32067 fi
32068
32069   fi
32070   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32071 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32072
32073   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32074
32075 for ac_func in fabsf
32076 do
32077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32078 echo "$as_me:$LINENO: checking for $ac_func" >&5
32079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32080 if eval "test \"\${$as_ac_var+set}\" = set"; then
32081   echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083   if test x$gcc_no_link = xyes; then
32084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32086    { (exit 1); exit 1; }; }
32087 fi
32088 cat >conftest.$ac_ext <<_ACEOF
32089 #line $LINENO "configure"
32090 /* confdefs.h.  */
32091 _ACEOF
32092 cat confdefs.h >>conftest.$ac_ext
32093 cat >>conftest.$ac_ext <<_ACEOF
32094 /* end confdefs.h.  */
32095 /* System header to define __stub macros and hopefully few prototypes,
32096     which can conflict with char $ac_func (); below.
32097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32098     <limits.h> exists even on freestanding compilers.  */
32099 #ifdef __STDC__
32100 # include <limits.h>
32101 #else
32102 # include <assert.h>
32103 #endif
32104 /* Override any gcc2 internal prototype to avoid an error.  */
32105 #ifdef __cplusplus
32106 extern "C"
32107 {
32108 #endif
32109 /* We use char because int might match the return type of a gcc2
32110    builtin and then its argument prototype would still apply.  */
32111 char $ac_func ();
32112 /* The GNU C library defines this for functions which it implements
32113     to always fail with ENOSYS.  Some functions are actually named
32114     something starting with __ and the normal name is an alias.  */
32115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32116 choke me
32117 #else
32118 char (*f) () = $ac_func;
32119 #endif
32120 #ifdef __cplusplus
32121 }
32122 #endif
32123
32124 int
32125 main ()
32126 {
32127 return f != $ac_func;
32128   ;
32129   return 0;
32130 }
32131 _ACEOF
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32134   (eval $ac_link) 2>&5
32135   ac_status=$?
32136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137   (exit $ac_status); } &&
32138          { ac_try='test -s conftest$ac_exeext'
32139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140   (eval $ac_try) 2>&5
32141   ac_status=$?
32142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143   (exit $ac_status); }; }; then
32144   eval "$as_ac_var=yes"
32145 else
32146   echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32148
32149 eval "$as_ac_var=no"
32150 fi
32151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32152 fi
32153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32155 if test `eval echo '${'$as_ac_var'}'` = yes; then
32156   cat >>confdefs.h <<_ACEOF
32157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32158 _ACEOF
32159
32160 fi
32161 done
32162
32163   else
32164
32165   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32166 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32167   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32168     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32169   echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32171
32172
32173
32174       ac_ext=cc
32175 ac_cpp='$CXXCPP $CPPFLAGS'
32176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32179
32180       cat >conftest.$ac_ext <<_ACEOF
32181 #line $LINENO "configure"
32182 /* confdefs.h.  */
32183 _ACEOF
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h.  */
32187 #include <math.h>
32188                       #ifdef HAVE_IEEEFP_H
32189                       #include <ieeefp.h>
32190                       #endif
32191
32192 int
32193 main ()
32194 {
32195  _fabsf(0);
32196   ;
32197   return 0;
32198 }
32199 _ACEOF
32200 rm -f conftest.$ac_objext
32201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32202   (eval $ac_compile) 2>&5
32203   ac_status=$?
32204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205   (exit $ac_status); } &&
32206          { ac_try='test -s conftest.$ac_objext'
32207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208   (eval $ac_try) 2>&5
32209   ac_status=$?
32210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211   (exit $ac_status); }; }; then
32212   glibcxx_cv_func__fabsf_use=yes
32213 else
32214   echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.$ac_ext >&5
32216
32217 glibcxx_cv_func__fabsf_use=no
32218 fi
32219 rm -f conftest.$ac_objext conftest.$ac_ext
32220       ac_ext=c
32221 ac_cpp='$CPP $CPPFLAGS'
32222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32225
32226
32227 fi
32228
32229   fi
32230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32231 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32232
32233     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32234
32235 for ac_func in _fabsf
32236 do
32237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32238 echo "$as_me:$LINENO: checking for $ac_func" >&5
32239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32240 if eval "test \"\${$as_ac_var+set}\" = set"; then
32241   echo $ECHO_N "(cached) $ECHO_C" >&6
32242 else
32243   if test x$gcc_no_link = xyes; then
32244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32246    { (exit 1); exit 1; }; }
32247 fi
32248 cat >conftest.$ac_ext <<_ACEOF
32249 #line $LINENO "configure"
32250 /* confdefs.h.  */
32251 _ACEOF
32252 cat confdefs.h >>conftest.$ac_ext
32253 cat >>conftest.$ac_ext <<_ACEOF
32254 /* end confdefs.h.  */
32255 /* System header to define __stub macros and hopefully few prototypes,
32256     which can conflict with char $ac_func (); below.
32257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32258     <limits.h> exists even on freestanding compilers.  */
32259 #ifdef __STDC__
32260 # include <limits.h>
32261 #else
32262 # include <assert.h>
32263 #endif
32264 /* Override any gcc2 internal prototype to avoid an error.  */
32265 #ifdef __cplusplus
32266 extern "C"
32267 {
32268 #endif
32269 /* We use char because int might match the return type of a gcc2
32270    builtin and then its argument prototype would still apply.  */
32271 char $ac_func ();
32272 /* The GNU C library defines this for functions which it implements
32273     to always fail with ENOSYS.  Some functions are actually named
32274     something starting with __ and the normal name is an alias.  */
32275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32276 choke me
32277 #else
32278 char (*f) () = $ac_func;
32279 #endif
32280 #ifdef __cplusplus
32281 }
32282 #endif
32283
32284 int
32285 main ()
32286 {
32287 return f != $ac_func;
32288   ;
32289   return 0;
32290 }
32291 _ACEOF
32292 rm -f conftest.$ac_objext conftest$ac_exeext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32294   (eval $ac_link) 2>&5
32295   ac_status=$?
32296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297   (exit $ac_status); } &&
32298          { ac_try='test -s conftest$ac_exeext'
32299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300   (eval $ac_try) 2>&5
32301   ac_status=$?
32302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303   (exit $ac_status); }; }; then
32304   eval "$as_ac_var=yes"
32305 else
32306   echo "$as_me: failed program was:" >&5
32307 sed 's/^/| /' conftest.$ac_ext >&5
32308
32309 eval "$as_ac_var=no"
32310 fi
32311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32312 fi
32313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32315 if test `eval echo '${'$as_ac_var'}'` = yes; then
32316   cat >>confdefs.h <<_ACEOF
32317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32318 _ACEOF
32319
32320 fi
32321 done
32322
32323     fi
32324   fi
32325
32326
32327
32328   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32329 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32330   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32331     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32332   echo $ECHO_N "(cached) $ECHO_C" >&6
32333 else
32334
32335
32336
32337       ac_ext=cc
32338 ac_cpp='$CXXCPP $CPPFLAGS'
32339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32342
32343       cat >conftest.$ac_ext <<_ACEOF
32344 #line $LINENO "configure"
32345 /* confdefs.h.  */
32346 _ACEOF
32347 cat confdefs.h >>conftest.$ac_ext
32348 cat >>conftest.$ac_ext <<_ACEOF
32349 /* end confdefs.h.  */
32350 #include <math.h>
32351 int
32352 main ()
32353 {
32354  fmodf(0, 0);
32355   ;
32356   return 0;
32357 }
32358 _ACEOF
32359 rm -f conftest.$ac_objext
32360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32361   (eval $ac_compile) 2>&5
32362   ac_status=$?
32363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364   (exit $ac_status); } &&
32365          { ac_try='test -s conftest.$ac_objext'
32366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367   (eval $ac_try) 2>&5
32368   ac_status=$?
32369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370   (exit $ac_status); }; }; then
32371   glibcxx_cv_func_fmodf_use=yes
32372 else
32373   echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32375
32376 glibcxx_cv_func_fmodf_use=no
32377 fi
32378 rm -f conftest.$ac_objext conftest.$ac_ext
32379       ac_ext=c
32380 ac_cpp='$CPP $CPPFLAGS'
32381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32384
32385
32386 fi
32387
32388   fi
32389   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32390 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32391
32392   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32393
32394 for ac_func in fmodf
32395 do
32396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32397 echo "$as_me:$LINENO: checking for $ac_func" >&5
32398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32399 if eval "test \"\${$as_ac_var+set}\" = set"; then
32400   echo $ECHO_N "(cached) $ECHO_C" >&6
32401 else
32402   if test x$gcc_no_link = xyes; then
32403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32405    { (exit 1); exit 1; }; }
32406 fi
32407 cat >conftest.$ac_ext <<_ACEOF
32408 #line $LINENO "configure"
32409 /* confdefs.h.  */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h.  */
32414 /* System header to define __stub macros and hopefully few prototypes,
32415     which can conflict with char $ac_func (); below.
32416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32417     <limits.h> exists even on freestanding compilers.  */
32418 #ifdef __STDC__
32419 # include <limits.h>
32420 #else
32421 # include <assert.h>
32422 #endif
32423 /* Override any gcc2 internal prototype to avoid an error.  */
32424 #ifdef __cplusplus
32425 extern "C"
32426 {
32427 #endif
32428 /* We use char because int might match the return type of a gcc2
32429    builtin and then its argument prototype would still apply.  */
32430 char $ac_func ();
32431 /* The GNU C library defines this for functions which it implements
32432     to always fail with ENOSYS.  Some functions are actually named
32433     something starting with __ and the normal name is an alias.  */
32434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32435 choke me
32436 #else
32437 char (*f) () = $ac_func;
32438 #endif
32439 #ifdef __cplusplus
32440 }
32441 #endif
32442
32443 int
32444 main ()
32445 {
32446 return f != $ac_func;
32447   ;
32448   return 0;
32449 }
32450 _ACEOF
32451 rm -f conftest.$ac_objext conftest$ac_exeext
32452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32453   (eval $ac_link) 2>&5
32454   ac_status=$?
32455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456   (exit $ac_status); } &&
32457          { ac_try='test -s conftest$ac_exeext'
32458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32459   (eval $ac_try) 2>&5
32460   ac_status=$?
32461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462   (exit $ac_status); }; }; then
32463   eval "$as_ac_var=yes"
32464 else
32465   echo "$as_me: failed program was:" >&5
32466 sed 's/^/| /' conftest.$ac_ext >&5
32467
32468 eval "$as_ac_var=no"
32469 fi
32470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32471 fi
32472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32474 if test `eval echo '${'$as_ac_var'}'` = yes; then
32475   cat >>confdefs.h <<_ACEOF
32476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32477 _ACEOF
32478
32479 fi
32480 done
32481
32482   else
32483
32484   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32485 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32486   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32487     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32488   echo $ECHO_N "(cached) $ECHO_C" >&6
32489 else
32490
32491
32492
32493       ac_ext=cc
32494 ac_cpp='$CXXCPP $CPPFLAGS'
32495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32498
32499       cat >conftest.$ac_ext <<_ACEOF
32500 #line $LINENO "configure"
32501 /* confdefs.h.  */
32502 _ACEOF
32503 cat confdefs.h >>conftest.$ac_ext
32504 cat >>conftest.$ac_ext <<_ACEOF
32505 /* end confdefs.h.  */
32506 #include <math.h>
32507 int
32508 main ()
32509 {
32510  _fmodf(0, 0);
32511   ;
32512   return 0;
32513 }
32514 _ACEOF
32515 rm -f conftest.$ac_objext
32516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32517   (eval $ac_compile) 2>&5
32518   ac_status=$?
32519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520   (exit $ac_status); } &&
32521          { ac_try='test -s conftest.$ac_objext'
32522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523   (eval $ac_try) 2>&5
32524   ac_status=$?
32525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526   (exit $ac_status); }; }; then
32527   glibcxx_cv_func__fmodf_use=yes
32528 else
32529   echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.$ac_ext >&5
32531
32532 glibcxx_cv_func__fmodf_use=no
32533 fi
32534 rm -f conftest.$ac_objext conftest.$ac_ext
32535       ac_ext=c
32536 ac_cpp='$CPP $CPPFLAGS'
32537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32540
32541
32542 fi
32543
32544   fi
32545   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32546 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32547
32548     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32549
32550 for ac_func in _fmodf
32551 do
32552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32553 echo "$as_me:$LINENO: checking for $ac_func" >&5
32554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32555 if eval "test \"\${$as_ac_var+set}\" = set"; then
32556   echo $ECHO_N "(cached) $ECHO_C" >&6
32557 else
32558   if test x$gcc_no_link = xyes; then
32559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32561    { (exit 1); exit 1; }; }
32562 fi
32563 cat >conftest.$ac_ext <<_ACEOF
32564 #line $LINENO "configure"
32565 /* confdefs.h.  */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h.  */
32570 /* System header to define __stub macros and hopefully few prototypes,
32571     which can conflict with char $ac_func (); below.
32572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32573     <limits.h> exists even on freestanding compilers.  */
32574 #ifdef __STDC__
32575 # include <limits.h>
32576 #else
32577 # include <assert.h>
32578 #endif
32579 /* Override any gcc2 internal prototype to avoid an error.  */
32580 #ifdef __cplusplus
32581 extern "C"
32582 {
32583 #endif
32584 /* We use char because int might match the return type of a gcc2
32585    builtin and then its argument prototype would still apply.  */
32586 char $ac_func ();
32587 /* The GNU C library defines this for functions which it implements
32588     to always fail with ENOSYS.  Some functions are actually named
32589     something starting with __ and the normal name is an alias.  */
32590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32591 choke me
32592 #else
32593 char (*f) () = $ac_func;
32594 #endif
32595 #ifdef __cplusplus
32596 }
32597 #endif
32598
32599 int
32600 main ()
32601 {
32602 return f != $ac_func;
32603   ;
32604   return 0;
32605 }
32606 _ACEOF
32607 rm -f conftest.$ac_objext conftest$ac_exeext
32608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32609   (eval $ac_link) 2>&5
32610   ac_status=$?
32611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612   (exit $ac_status); } &&
32613          { ac_try='test -s conftest$ac_exeext'
32614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615   (eval $ac_try) 2>&5
32616   ac_status=$?
32617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618   (exit $ac_status); }; }; then
32619   eval "$as_ac_var=yes"
32620 else
32621   echo "$as_me: failed program was:" >&5
32622 sed 's/^/| /' conftest.$ac_ext >&5
32623
32624 eval "$as_ac_var=no"
32625 fi
32626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32627 fi
32628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32630 if test `eval echo '${'$as_ac_var'}'` = yes; then
32631   cat >>confdefs.h <<_ACEOF
32632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32633 _ACEOF
32634
32635 fi
32636 done
32637
32638     fi
32639   fi
32640
32641
32642
32643   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32644 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32645   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32646     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32647   echo $ECHO_N "(cached) $ECHO_C" >&6
32648 else
32649
32650
32651
32652       ac_ext=cc
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32657
32658       cat >conftest.$ac_ext <<_ACEOF
32659 #line $LINENO "configure"
32660 /* confdefs.h.  */
32661 _ACEOF
32662 cat confdefs.h >>conftest.$ac_ext
32663 cat >>conftest.$ac_ext <<_ACEOF
32664 /* end confdefs.h.  */
32665 #include <math.h>
32666 int
32667 main ()
32668 {
32669  frexpf(0, 0);
32670   ;
32671   return 0;
32672 }
32673 _ACEOF
32674 rm -f conftest.$ac_objext
32675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32676   (eval $ac_compile) 2>&5
32677   ac_status=$?
32678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679   (exit $ac_status); } &&
32680          { ac_try='test -s conftest.$ac_objext'
32681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32682   (eval $ac_try) 2>&5
32683   ac_status=$?
32684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32685   (exit $ac_status); }; }; then
32686   glibcxx_cv_func_frexpf_use=yes
32687 else
32688   echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 glibcxx_cv_func_frexpf_use=no
32692 fi
32693 rm -f conftest.$ac_objext conftest.$ac_ext
32694       ac_ext=c
32695 ac_cpp='$CPP $CPPFLAGS'
32696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32699
32700
32701 fi
32702
32703   fi
32704   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32705 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32706
32707   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32708
32709 for ac_func in frexpf
32710 do
32711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32712 echo "$as_me:$LINENO: checking for $ac_func" >&5
32713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32714 if eval "test \"\${$as_ac_var+set}\" = set"; then
32715   echo $ECHO_N "(cached) $ECHO_C" >&6
32716 else
32717   if test x$gcc_no_link = xyes; then
32718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32720    { (exit 1); exit 1; }; }
32721 fi
32722 cat >conftest.$ac_ext <<_ACEOF
32723 #line $LINENO "configure"
32724 /* confdefs.h.  */
32725 _ACEOF
32726 cat confdefs.h >>conftest.$ac_ext
32727 cat >>conftest.$ac_ext <<_ACEOF
32728 /* end confdefs.h.  */
32729 /* System header to define __stub macros and hopefully few prototypes,
32730     which can conflict with char $ac_func (); below.
32731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32732     <limits.h> exists even on freestanding compilers.  */
32733 #ifdef __STDC__
32734 # include <limits.h>
32735 #else
32736 # include <assert.h>
32737 #endif
32738 /* Override any gcc2 internal prototype to avoid an error.  */
32739 #ifdef __cplusplus
32740 extern "C"
32741 {
32742 #endif
32743 /* We use char because int might match the return type of a gcc2
32744    builtin and then its argument prototype would still apply.  */
32745 char $ac_func ();
32746 /* The GNU C library defines this for functions which it implements
32747     to always fail with ENOSYS.  Some functions are actually named
32748     something starting with __ and the normal name is an alias.  */
32749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32750 choke me
32751 #else
32752 char (*f) () = $ac_func;
32753 #endif
32754 #ifdef __cplusplus
32755 }
32756 #endif
32757
32758 int
32759 main ()
32760 {
32761 return f != $ac_func;
32762   ;
32763   return 0;
32764 }
32765 _ACEOF
32766 rm -f conftest.$ac_objext conftest$ac_exeext
32767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32768   (eval $ac_link) 2>&5
32769   ac_status=$?
32770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771   (exit $ac_status); } &&
32772          { ac_try='test -s conftest$ac_exeext'
32773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774   (eval $ac_try) 2>&5
32775   ac_status=$?
32776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777   (exit $ac_status); }; }; then
32778   eval "$as_ac_var=yes"
32779 else
32780   echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32782
32783 eval "$as_ac_var=no"
32784 fi
32785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32786 fi
32787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32789 if test `eval echo '${'$as_ac_var'}'` = yes; then
32790   cat >>confdefs.h <<_ACEOF
32791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32792 _ACEOF
32793
32794 fi
32795 done
32796
32797   else
32798
32799   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32800 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32801   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32802     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32803   echo $ECHO_N "(cached) $ECHO_C" >&6
32804 else
32805
32806
32807
32808       ac_ext=cc
32809 ac_cpp='$CXXCPP $CPPFLAGS'
32810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32813
32814       cat >conftest.$ac_ext <<_ACEOF
32815 #line $LINENO "configure"
32816 /* confdefs.h.  */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h.  */
32821 #include <math.h>
32822 int
32823 main ()
32824 {
32825  _frexpf(0, 0);
32826   ;
32827   return 0;
32828 }
32829 _ACEOF
32830 rm -f conftest.$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832   (eval $ac_compile) 2>&5
32833   ac_status=$?
32834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835   (exit $ac_status); } &&
32836          { ac_try='test -s conftest.$ac_objext'
32837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838   (eval $ac_try) 2>&5
32839   ac_status=$?
32840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841   (exit $ac_status); }; }; then
32842   glibcxx_cv_func__frexpf_use=yes
32843 else
32844   echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32846
32847 glibcxx_cv_func__frexpf_use=no
32848 fi
32849 rm -f conftest.$ac_objext conftest.$ac_ext
32850       ac_ext=c
32851 ac_cpp='$CPP $CPPFLAGS'
32852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32855
32856
32857 fi
32858
32859   fi
32860   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32861 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32862
32863     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32864
32865 for ac_func in _frexpf
32866 do
32867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871   echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873   if test x$gcc_no_link = xyes; then
32874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32876    { (exit 1); exit 1; }; }
32877 fi
32878 cat >conftest.$ac_ext <<_ACEOF
32879 #line $LINENO "configure"
32880 /* confdefs.h.  */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h.  */
32885 /* System header to define __stub macros and hopefully few prototypes,
32886     which can conflict with char $ac_func (); below.
32887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32888     <limits.h> exists even on freestanding compilers.  */
32889 #ifdef __STDC__
32890 # include <limits.h>
32891 #else
32892 # include <assert.h>
32893 #endif
32894 /* Override any gcc2 internal prototype to avoid an error.  */
32895 #ifdef __cplusplus
32896 extern "C"
32897 {
32898 #endif
32899 /* We use char because int might match the return type of a gcc2
32900    builtin and then its argument prototype would still apply.  */
32901 char $ac_func ();
32902 /* The GNU C library defines this for functions which it implements
32903     to always fail with ENOSYS.  Some functions are actually named
32904     something starting with __ and the normal name is an alias.  */
32905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32906 choke me
32907 #else
32908 char (*f) () = $ac_func;
32909 #endif
32910 #ifdef __cplusplus
32911 }
32912 #endif
32913
32914 int
32915 main ()
32916 {
32917 return f != $ac_func;
32918   ;
32919   return 0;
32920 }
32921 _ACEOF
32922 rm -f conftest.$ac_objext conftest$ac_exeext
32923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32924   (eval $ac_link) 2>&5
32925   ac_status=$?
32926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927   (exit $ac_status); } &&
32928          { ac_try='test -s conftest$ac_exeext'
32929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930   (eval $ac_try) 2>&5
32931   ac_status=$?
32932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933   (exit $ac_status); }; }; then
32934   eval "$as_ac_var=yes"
32935 else
32936   echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.$ac_ext >&5
32938
32939 eval "$as_ac_var=no"
32940 fi
32941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32942 fi
32943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32945 if test `eval echo '${'$as_ac_var'}'` = yes; then
32946   cat >>confdefs.h <<_ACEOF
32947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32948 _ACEOF
32949
32950 fi
32951 done
32952
32953     fi
32954   fi
32955
32956
32957
32958   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
32959 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
32960   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32961     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
32962   echo $ECHO_N "(cached) $ECHO_C" >&6
32963 else
32964
32965
32966
32967       ac_ext=cc
32968 ac_cpp='$CXXCPP $CPPFLAGS'
32969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32972
32973       cat >conftest.$ac_ext <<_ACEOF
32974 #line $LINENO "configure"
32975 /* confdefs.h.  */
32976 _ACEOF
32977 cat confdefs.h >>conftest.$ac_ext
32978 cat >>conftest.$ac_ext <<_ACEOF
32979 /* end confdefs.h.  */
32980 #include <math.h>
32981 int
32982 main ()
32983 {
32984  hypotf(0, 0);
32985   ;
32986   return 0;
32987 }
32988 _ACEOF
32989 rm -f conftest.$ac_objext
32990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32991   (eval $ac_compile) 2>&5
32992   ac_status=$?
32993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994   (exit $ac_status); } &&
32995          { ac_try='test -s conftest.$ac_objext'
32996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997   (eval $ac_try) 2>&5
32998   ac_status=$?
32999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000   (exit $ac_status); }; }; then
33001   glibcxx_cv_func_hypotf_use=yes
33002 else
33003   echo "$as_me: failed program was:" >&5
33004 sed 's/^/| /' conftest.$ac_ext >&5
33005
33006 glibcxx_cv_func_hypotf_use=no
33007 fi
33008 rm -f conftest.$ac_objext conftest.$ac_ext
33009       ac_ext=c
33010 ac_cpp='$CPP $CPPFLAGS'
33011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33014
33015
33016 fi
33017
33018   fi
33019   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33020 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33021
33022   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33023
33024 for ac_func in hypotf
33025 do
33026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33027 echo "$as_me:$LINENO: checking for $ac_func" >&5
33028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33029 if eval "test \"\${$as_ac_var+set}\" = set"; then
33030   echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032   if test x$gcc_no_link = xyes; then
33033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33035    { (exit 1); exit 1; }; }
33036 fi
33037 cat >conftest.$ac_ext <<_ACEOF
33038 #line $LINENO "configure"
33039 /* confdefs.h.  */
33040 _ACEOF
33041 cat confdefs.h >>conftest.$ac_ext
33042 cat >>conftest.$ac_ext <<_ACEOF
33043 /* end confdefs.h.  */
33044 /* System header to define __stub macros and hopefully few prototypes,
33045     which can conflict with char $ac_func (); below.
33046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33047     <limits.h> exists even on freestanding compilers.  */
33048 #ifdef __STDC__
33049 # include <limits.h>
33050 #else
33051 # include <assert.h>
33052 #endif
33053 /* Override any gcc2 internal prototype to avoid an error.  */
33054 #ifdef __cplusplus
33055 extern "C"
33056 {
33057 #endif
33058 /* We use char because int might match the return type of a gcc2
33059    builtin and then its argument prototype would still apply.  */
33060 char $ac_func ();
33061 /* The GNU C library defines this for functions which it implements
33062     to always fail with ENOSYS.  Some functions are actually named
33063     something starting with __ and the normal name is an alias.  */
33064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33065 choke me
33066 #else
33067 char (*f) () = $ac_func;
33068 #endif
33069 #ifdef __cplusplus
33070 }
33071 #endif
33072
33073 int
33074 main ()
33075 {
33076 return f != $ac_func;
33077   ;
33078   return 0;
33079 }
33080 _ACEOF
33081 rm -f conftest.$ac_objext conftest$ac_exeext
33082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33083   (eval $ac_link) 2>&5
33084   ac_status=$?
33085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086   (exit $ac_status); } &&
33087          { ac_try='test -s conftest$ac_exeext'
33088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089   (eval $ac_try) 2>&5
33090   ac_status=$?
33091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092   (exit $ac_status); }; }; then
33093   eval "$as_ac_var=yes"
33094 else
33095   echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.$ac_ext >&5
33097
33098 eval "$as_ac_var=no"
33099 fi
33100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33101 fi
33102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33104 if test `eval echo '${'$as_ac_var'}'` = yes; then
33105   cat >>confdefs.h <<_ACEOF
33106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33107 _ACEOF
33108
33109 fi
33110 done
33111
33112   else
33113
33114   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33115 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33116   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33117     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33118   echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33120
33121
33122
33123       ac_ext=cc
33124 ac_cpp='$CXXCPP $CPPFLAGS'
33125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33128
33129       cat >conftest.$ac_ext <<_ACEOF
33130 #line $LINENO "configure"
33131 /* confdefs.h.  */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h.  */
33136 #include <math.h>
33137 int
33138 main ()
33139 {
33140  _hypotf(0, 0);
33141   ;
33142   return 0;
33143 }
33144 _ACEOF
33145 rm -f conftest.$ac_objext
33146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33147   (eval $ac_compile) 2>&5
33148   ac_status=$?
33149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33150   (exit $ac_status); } &&
33151          { ac_try='test -s conftest.$ac_objext'
33152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33153   (eval $ac_try) 2>&5
33154   ac_status=$?
33155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156   (exit $ac_status); }; }; then
33157   glibcxx_cv_func__hypotf_use=yes
33158 else
33159   echo "$as_me: failed program was:" >&5
33160 sed 's/^/| /' conftest.$ac_ext >&5
33161
33162 glibcxx_cv_func__hypotf_use=no
33163 fi
33164 rm -f conftest.$ac_objext conftest.$ac_ext
33165       ac_ext=c
33166 ac_cpp='$CPP $CPPFLAGS'
33167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33170
33171
33172 fi
33173
33174   fi
33175   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33176 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33177
33178     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33179
33180 for ac_func in _hypotf
33181 do
33182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33183 echo "$as_me:$LINENO: checking for $ac_func" >&5
33184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33185 if eval "test \"\${$as_ac_var+set}\" = set"; then
33186   echo $ECHO_N "(cached) $ECHO_C" >&6
33187 else
33188   if test x$gcc_no_link = xyes; then
33189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33191    { (exit 1); exit 1; }; }
33192 fi
33193 cat >conftest.$ac_ext <<_ACEOF
33194 #line $LINENO "configure"
33195 /* confdefs.h.  */
33196 _ACEOF
33197 cat confdefs.h >>conftest.$ac_ext
33198 cat >>conftest.$ac_ext <<_ACEOF
33199 /* end confdefs.h.  */
33200 /* System header to define __stub macros and hopefully few prototypes,
33201     which can conflict with char $ac_func (); below.
33202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33203     <limits.h> exists even on freestanding compilers.  */
33204 #ifdef __STDC__
33205 # include <limits.h>
33206 #else
33207 # include <assert.h>
33208 #endif
33209 /* Override any gcc2 internal prototype to avoid an error.  */
33210 #ifdef __cplusplus
33211 extern "C"
33212 {
33213 #endif
33214 /* We use char because int might match the return type of a gcc2
33215    builtin and then its argument prototype would still apply.  */
33216 char $ac_func ();
33217 /* The GNU C library defines this for functions which it implements
33218     to always fail with ENOSYS.  Some functions are actually named
33219     something starting with __ and the normal name is an alias.  */
33220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33221 choke me
33222 #else
33223 char (*f) () = $ac_func;
33224 #endif
33225 #ifdef __cplusplus
33226 }
33227 #endif
33228
33229 int
33230 main ()
33231 {
33232 return f != $ac_func;
33233   ;
33234   return 0;
33235 }
33236 _ACEOF
33237 rm -f conftest.$ac_objext conftest$ac_exeext
33238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33239   (eval $ac_link) 2>&5
33240   ac_status=$?
33241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242   (exit $ac_status); } &&
33243          { ac_try='test -s conftest$ac_exeext'
33244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245   (eval $ac_try) 2>&5
33246   ac_status=$?
33247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248   (exit $ac_status); }; }; then
33249   eval "$as_ac_var=yes"
33250 else
33251   echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33253
33254 eval "$as_ac_var=no"
33255 fi
33256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33257 fi
33258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33260 if test `eval echo '${'$as_ac_var'}'` = yes; then
33261   cat >>confdefs.h <<_ACEOF
33262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33263 _ACEOF
33264
33265 fi
33266 done
33267
33268     fi
33269   fi
33270
33271
33272
33273   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33274 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33275   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33276     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33277   echo $ECHO_N "(cached) $ECHO_C" >&6
33278 else
33279
33280
33281
33282       ac_ext=cc
33283 ac_cpp='$CXXCPP $CPPFLAGS'
33284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33287
33288       cat >conftest.$ac_ext <<_ACEOF
33289 #line $LINENO "configure"
33290 /* confdefs.h.  */
33291 _ACEOF
33292 cat confdefs.h >>conftest.$ac_ext
33293 cat >>conftest.$ac_ext <<_ACEOF
33294 /* end confdefs.h.  */
33295 #include <math.h>
33296 int
33297 main ()
33298 {
33299  ldexpf(0, 0);
33300   ;
33301   return 0;
33302 }
33303 _ACEOF
33304 rm -f conftest.$ac_objext
33305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33306   (eval $ac_compile) 2>&5
33307   ac_status=$?
33308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309   (exit $ac_status); } &&
33310          { ac_try='test -s conftest.$ac_objext'
33311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312   (eval $ac_try) 2>&5
33313   ac_status=$?
33314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315   (exit $ac_status); }; }; then
33316   glibcxx_cv_func_ldexpf_use=yes
33317 else
33318   echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33320
33321 glibcxx_cv_func_ldexpf_use=no
33322 fi
33323 rm -f conftest.$ac_objext conftest.$ac_ext
33324       ac_ext=c
33325 ac_cpp='$CPP $CPPFLAGS'
33326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33329
33330
33331 fi
33332
33333   fi
33334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33335 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33336
33337   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33338
33339 for ac_func in ldexpf
33340 do
33341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33342 echo "$as_me:$LINENO: checking for $ac_func" >&5
33343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33344 if eval "test \"\${$as_ac_var+set}\" = set"; then
33345   echo $ECHO_N "(cached) $ECHO_C" >&6
33346 else
33347   if test x$gcc_no_link = xyes; then
33348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33350    { (exit 1); exit 1; }; }
33351 fi
33352 cat >conftest.$ac_ext <<_ACEOF
33353 #line $LINENO "configure"
33354 /* confdefs.h.  */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h.  */
33359 /* System header to define __stub macros and hopefully few prototypes,
33360     which can conflict with char $ac_func (); below.
33361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33362     <limits.h> exists even on freestanding compilers.  */
33363 #ifdef __STDC__
33364 # include <limits.h>
33365 #else
33366 # include <assert.h>
33367 #endif
33368 /* Override any gcc2 internal prototype to avoid an error.  */
33369 #ifdef __cplusplus
33370 extern "C"
33371 {
33372 #endif
33373 /* We use char because int might match the return type of a gcc2
33374    builtin and then its argument prototype would still apply.  */
33375 char $ac_func ();
33376 /* The GNU C library defines this for functions which it implements
33377     to always fail with ENOSYS.  Some functions are actually named
33378     something starting with __ and the normal name is an alias.  */
33379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33380 choke me
33381 #else
33382 char (*f) () = $ac_func;
33383 #endif
33384 #ifdef __cplusplus
33385 }
33386 #endif
33387
33388 int
33389 main ()
33390 {
33391 return f != $ac_func;
33392   ;
33393   return 0;
33394 }
33395 _ACEOF
33396 rm -f conftest.$ac_objext conftest$ac_exeext
33397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33398   (eval $ac_link) 2>&5
33399   ac_status=$?
33400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401   (exit $ac_status); } &&
33402          { ac_try='test -s conftest$ac_exeext'
33403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404   (eval $ac_try) 2>&5
33405   ac_status=$?
33406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407   (exit $ac_status); }; }; then
33408   eval "$as_ac_var=yes"
33409 else
33410   echo "$as_me: failed program was:" >&5
33411 sed 's/^/| /' conftest.$ac_ext >&5
33412
33413 eval "$as_ac_var=no"
33414 fi
33415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33416 fi
33417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33419 if test `eval echo '${'$as_ac_var'}'` = yes; then
33420   cat >>confdefs.h <<_ACEOF
33421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33422 _ACEOF
33423
33424 fi
33425 done
33426
33427   else
33428
33429   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33430 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33431   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33432     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33433   echo $ECHO_N "(cached) $ECHO_C" >&6
33434 else
33435
33436
33437
33438       ac_ext=cc
33439 ac_cpp='$CXXCPP $CPPFLAGS'
33440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33443
33444       cat >conftest.$ac_ext <<_ACEOF
33445 #line $LINENO "configure"
33446 /* confdefs.h.  */
33447 _ACEOF
33448 cat confdefs.h >>conftest.$ac_ext
33449 cat >>conftest.$ac_ext <<_ACEOF
33450 /* end confdefs.h.  */
33451 #include <math.h>
33452 int
33453 main ()
33454 {
33455  _ldexpf(0, 0);
33456   ;
33457   return 0;
33458 }
33459 _ACEOF
33460 rm -f conftest.$ac_objext
33461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33462   (eval $ac_compile) 2>&5
33463   ac_status=$?
33464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465   (exit $ac_status); } &&
33466          { ac_try='test -s conftest.$ac_objext'
33467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468   (eval $ac_try) 2>&5
33469   ac_status=$?
33470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471   (exit $ac_status); }; }; then
33472   glibcxx_cv_func__ldexpf_use=yes
33473 else
33474   echo "$as_me: failed program was:" >&5
33475 sed 's/^/| /' conftest.$ac_ext >&5
33476
33477 glibcxx_cv_func__ldexpf_use=no
33478 fi
33479 rm -f conftest.$ac_objext conftest.$ac_ext
33480       ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485
33486
33487 fi
33488
33489   fi
33490   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33491 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33492
33493     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33494
33495 for ac_func in _ldexpf
33496 do
33497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33498 echo "$as_me:$LINENO: checking for $ac_func" >&5
33499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33500 if eval "test \"\${$as_ac_var+set}\" = set"; then
33501   echo $ECHO_N "(cached) $ECHO_C" >&6
33502 else
33503   if test x$gcc_no_link = xyes; then
33504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33506    { (exit 1); exit 1; }; }
33507 fi
33508 cat >conftest.$ac_ext <<_ACEOF
33509 #line $LINENO "configure"
33510 /* confdefs.h.  */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h.  */
33515 /* System header to define __stub macros and hopefully few prototypes,
33516     which can conflict with char $ac_func (); below.
33517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33518     <limits.h> exists even on freestanding compilers.  */
33519 #ifdef __STDC__
33520 # include <limits.h>
33521 #else
33522 # include <assert.h>
33523 #endif
33524 /* Override any gcc2 internal prototype to avoid an error.  */
33525 #ifdef __cplusplus
33526 extern "C"
33527 {
33528 #endif
33529 /* We use char because int might match the return type of a gcc2
33530    builtin and then its argument prototype would still apply.  */
33531 char $ac_func ();
33532 /* The GNU C library defines this for functions which it implements
33533     to always fail with ENOSYS.  Some functions are actually named
33534     something starting with __ and the normal name is an alias.  */
33535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33536 choke me
33537 #else
33538 char (*f) () = $ac_func;
33539 #endif
33540 #ifdef __cplusplus
33541 }
33542 #endif
33543
33544 int
33545 main ()
33546 {
33547 return f != $ac_func;
33548   ;
33549   return 0;
33550 }
33551 _ACEOF
33552 rm -f conftest.$ac_objext conftest$ac_exeext
33553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33554   (eval $ac_link) 2>&5
33555   ac_status=$?
33556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557   (exit $ac_status); } &&
33558          { ac_try='test -s conftest$ac_exeext'
33559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560   (eval $ac_try) 2>&5
33561   ac_status=$?
33562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563   (exit $ac_status); }; }; then
33564   eval "$as_ac_var=yes"
33565 else
33566   echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.$ac_ext >&5
33568
33569 eval "$as_ac_var=no"
33570 fi
33571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33572 fi
33573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33575 if test `eval echo '${'$as_ac_var'}'` = yes; then
33576   cat >>confdefs.h <<_ACEOF
33577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33578 _ACEOF
33579
33580 fi
33581 done
33582
33583     fi
33584   fi
33585
33586
33587
33588   echo "$as_me:$LINENO: checking for logf declaration" >&5
33589 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33590   if test x${glibcxx_cv_func_logf_use+set} != xset; then
33591     if test "${glibcxx_cv_func_logf_use+set}" = set; then
33592   echo $ECHO_N "(cached) $ECHO_C" >&6
33593 else
33594
33595
33596
33597       ac_ext=cc
33598 ac_cpp='$CXXCPP $CPPFLAGS'
33599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33602
33603       cat >conftest.$ac_ext <<_ACEOF
33604 #line $LINENO "configure"
33605 /* confdefs.h.  */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h.  */
33610 #include <math.h>
33611                       #ifdef HAVE_IEEEFP_H
33612                       #include <ieeefp.h>
33613                       #endif
33614
33615 int
33616 main ()
33617 {
33618  logf(0);
33619   ;
33620   return 0;
33621 }
33622 _ACEOF
33623 rm -f conftest.$ac_objext
33624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33625   (eval $ac_compile) 2>&5
33626   ac_status=$?
33627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628   (exit $ac_status); } &&
33629          { ac_try='test -s conftest.$ac_objext'
33630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33631   (eval $ac_try) 2>&5
33632   ac_status=$?
33633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634   (exit $ac_status); }; }; then
33635   glibcxx_cv_func_logf_use=yes
33636 else
33637   echo "$as_me: failed program was:" >&5
33638 sed 's/^/| /' conftest.$ac_ext >&5
33639
33640 glibcxx_cv_func_logf_use=no
33641 fi
33642 rm -f conftest.$ac_objext conftest.$ac_ext
33643       ac_ext=c
33644 ac_cpp='$CPP $CPPFLAGS'
33645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33648
33649
33650 fi
33651
33652   fi
33653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33654 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33655
33656   if test x$glibcxx_cv_func_logf_use = x"yes"; then
33657
33658 for ac_func in logf
33659 do
33660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33661 echo "$as_me:$LINENO: checking for $ac_func" >&5
33662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33663 if eval "test \"\${$as_ac_var+set}\" = set"; then
33664   echo $ECHO_N "(cached) $ECHO_C" >&6
33665 else
33666   if test x$gcc_no_link = xyes; then
33667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33669    { (exit 1); exit 1; }; }
33670 fi
33671 cat >conftest.$ac_ext <<_ACEOF
33672 #line $LINENO "configure"
33673 /* confdefs.h.  */
33674 _ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h.  */
33678 /* System header to define __stub macros and hopefully few prototypes,
33679     which can conflict with char $ac_func (); below.
33680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33681     <limits.h> exists even on freestanding compilers.  */
33682 #ifdef __STDC__
33683 # include <limits.h>
33684 #else
33685 # include <assert.h>
33686 #endif
33687 /* Override any gcc2 internal prototype to avoid an error.  */
33688 #ifdef __cplusplus
33689 extern "C"
33690 {
33691 #endif
33692 /* We use char because int might match the return type of a gcc2
33693    builtin and then its argument prototype would still apply.  */
33694 char $ac_func ();
33695 /* The GNU C library defines this for functions which it implements
33696     to always fail with ENOSYS.  Some functions are actually named
33697     something starting with __ and the normal name is an alias.  */
33698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33699 choke me
33700 #else
33701 char (*f) () = $ac_func;
33702 #endif
33703 #ifdef __cplusplus
33704 }
33705 #endif
33706
33707 int
33708 main ()
33709 {
33710 return f != $ac_func;
33711   ;
33712   return 0;
33713 }
33714 _ACEOF
33715 rm -f conftest.$ac_objext conftest$ac_exeext
33716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33717   (eval $ac_link) 2>&5
33718   ac_status=$?
33719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720   (exit $ac_status); } &&
33721          { ac_try='test -s conftest$ac_exeext'
33722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723   (eval $ac_try) 2>&5
33724   ac_status=$?
33725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726   (exit $ac_status); }; }; then
33727   eval "$as_ac_var=yes"
33728 else
33729   echo "$as_me: failed program was:" >&5
33730 sed 's/^/| /' conftest.$ac_ext >&5
33731
33732 eval "$as_ac_var=no"
33733 fi
33734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33735 fi
33736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33738 if test `eval echo '${'$as_ac_var'}'` = yes; then
33739   cat >>confdefs.h <<_ACEOF
33740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33741 _ACEOF
33742
33743 fi
33744 done
33745
33746   else
33747
33748   echo "$as_me:$LINENO: checking for _logf declaration" >&5
33749 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33750   if test x${glibcxx_cv_func__logf_use+set} != xset; then
33751     if test "${glibcxx_cv_func__logf_use+set}" = set; then
33752   echo $ECHO_N "(cached) $ECHO_C" >&6
33753 else
33754
33755
33756
33757       ac_ext=cc
33758 ac_cpp='$CXXCPP $CPPFLAGS'
33759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33762
33763       cat >conftest.$ac_ext <<_ACEOF
33764 #line $LINENO "configure"
33765 /* confdefs.h.  */
33766 _ACEOF
33767 cat confdefs.h >>conftest.$ac_ext
33768 cat >>conftest.$ac_ext <<_ACEOF
33769 /* end confdefs.h.  */
33770 #include <math.h>
33771                       #ifdef HAVE_IEEEFP_H
33772                       #include <ieeefp.h>
33773                       #endif
33774
33775 int
33776 main ()
33777 {
33778  _logf(0);
33779   ;
33780   return 0;
33781 }
33782 _ACEOF
33783 rm -f conftest.$ac_objext
33784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33785   (eval $ac_compile) 2>&5
33786   ac_status=$?
33787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788   (exit $ac_status); } &&
33789          { ac_try='test -s conftest.$ac_objext'
33790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791   (eval $ac_try) 2>&5
33792   ac_status=$?
33793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794   (exit $ac_status); }; }; then
33795   glibcxx_cv_func__logf_use=yes
33796 else
33797   echo "$as_me: failed program was:" >&5
33798 sed 's/^/| /' conftest.$ac_ext >&5
33799
33800 glibcxx_cv_func__logf_use=no
33801 fi
33802 rm -f conftest.$ac_objext conftest.$ac_ext
33803       ac_ext=c
33804 ac_cpp='$CPP $CPPFLAGS'
33805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33808
33809
33810 fi
33811
33812   fi
33813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
33814 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
33815
33816     if test x$glibcxx_cv_func__logf_use = x"yes"; then
33817
33818 for ac_func in _logf
33819 do
33820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33821 echo "$as_me:$LINENO: checking for $ac_func" >&5
33822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33823 if eval "test \"\${$as_ac_var+set}\" = set"; then
33824   echo $ECHO_N "(cached) $ECHO_C" >&6
33825 else
33826   if test x$gcc_no_link = xyes; then
33827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33829    { (exit 1); exit 1; }; }
33830 fi
33831 cat >conftest.$ac_ext <<_ACEOF
33832 #line $LINENO "configure"
33833 /* confdefs.h.  */
33834 _ACEOF
33835 cat confdefs.h >>conftest.$ac_ext
33836 cat >>conftest.$ac_ext <<_ACEOF
33837 /* end confdefs.h.  */
33838 /* System header to define __stub macros and hopefully few prototypes,
33839     which can conflict with char $ac_func (); below.
33840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33841     <limits.h> exists even on freestanding compilers.  */
33842 #ifdef __STDC__
33843 # include <limits.h>
33844 #else
33845 # include <assert.h>
33846 #endif
33847 /* Override any gcc2 internal prototype to avoid an error.  */
33848 #ifdef __cplusplus
33849 extern "C"
33850 {
33851 #endif
33852 /* We use char because int might match the return type of a gcc2
33853    builtin and then its argument prototype would still apply.  */
33854 char $ac_func ();
33855 /* The GNU C library defines this for functions which it implements
33856     to always fail with ENOSYS.  Some functions are actually named
33857     something starting with __ and the normal name is an alias.  */
33858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33859 choke me
33860 #else
33861 char (*f) () = $ac_func;
33862 #endif
33863 #ifdef __cplusplus
33864 }
33865 #endif
33866
33867 int
33868 main ()
33869 {
33870 return f != $ac_func;
33871   ;
33872   return 0;
33873 }
33874 _ACEOF
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877   (eval $ac_link) 2>&5
33878   ac_status=$?
33879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880   (exit $ac_status); } &&
33881          { ac_try='test -s conftest$ac_exeext'
33882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883   (eval $ac_try) 2>&5
33884   ac_status=$?
33885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886   (exit $ac_status); }; }; then
33887   eval "$as_ac_var=yes"
33888 else
33889   echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33891
33892 eval "$as_ac_var=no"
33893 fi
33894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33895 fi
33896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33898 if test `eval echo '${'$as_ac_var'}'` = yes; then
33899   cat >>confdefs.h <<_ACEOF
33900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33901 _ACEOF
33902
33903 fi
33904 done
33905
33906     fi
33907   fi
33908
33909
33910
33911   echo "$as_me:$LINENO: checking for log10f declaration" >&5
33912 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33913   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33914     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33915   echo $ECHO_N "(cached) $ECHO_C" >&6
33916 else
33917
33918
33919
33920       ac_ext=cc
33921 ac_cpp='$CXXCPP $CPPFLAGS'
33922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33925
33926       cat >conftest.$ac_ext <<_ACEOF
33927 #line $LINENO "configure"
33928 /* confdefs.h.  */
33929 _ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h.  */
33933 #include <math.h>
33934                       #ifdef HAVE_IEEEFP_H
33935                       #include <ieeefp.h>
33936                       #endif
33937
33938 int
33939 main ()
33940 {
33941  log10f(0);
33942   ;
33943   return 0;
33944 }
33945 _ACEOF
33946 rm -f conftest.$ac_objext
33947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33948   (eval $ac_compile) 2>&5
33949   ac_status=$?
33950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951   (exit $ac_status); } &&
33952          { ac_try='test -s conftest.$ac_objext'
33953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954   (eval $ac_try) 2>&5
33955   ac_status=$?
33956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957   (exit $ac_status); }; }; then
33958   glibcxx_cv_func_log10f_use=yes
33959 else
33960   echo "$as_me: failed program was:" >&5
33961 sed 's/^/| /' conftest.$ac_ext >&5
33962
33963 glibcxx_cv_func_log10f_use=no
33964 fi
33965 rm -f conftest.$ac_objext conftest.$ac_ext
33966       ac_ext=c
33967 ac_cpp='$CPP $CPPFLAGS'
33968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33971
33972
33973 fi
33974
33975   fi
33976   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
33977 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
33978
33979   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33980
33981 for ac_func in log10f
33982 do
33983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33984 echo "$as_me:$LINENO: checking for $ac_func" >&5
33985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33986 if eval "test \"\${$as_ac_var+set}\" = set"; then
33987   echo $ECHO_N "(cached) $ECHO_C" >&6
33988 else
33989   if test x$gcc_no_link = xyes; then
33990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33992    { (exit 1); exit 1; }; }
33993 fi
33994 cat >conftest.$ac_ext <<_ACEOF
33995 #line $LINENO "configure"
33996 /* confdefs.h.  */
33997 _ACEOF
33998 cat confdefs.h >>conftest.$ac_ext
33999 cat >>conftest.$ac_ext <<_ACEOF
34000 /* end confdefs.h.  */
34001 /* System header to define __stub macros and hopefully few prototypes,
34002     which can conflict with char $ac_func (); below.
34003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34004     <limits.h> exists even on freestanding compilers.  */
34005 #ifdef __STDC__
34006 # include <limits.h>
34007 #else
34008 # include <assert.h>
34009 #endif
34010 /* Override any gcc2 internal prototype to avoid an error.  */
34011 #ifdef __cplusplus
34012 extern "C"
34013 {
34014 #endif
34015 /* We use char because int might match the return type of a gcc2
34016    builtin and then its argument prototype would still apply.  */
34017 char $ac_func ();
34018 /* The GNU C library defines this for functions which it implements
34019     to always fail with ENOSYS.  Some functions are actually named
34020     something starting with __ and the normal name is an alias.  */
34021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34022 choke me
34023 #else
34024 char (*f) () = $ac_func;
34025 #endif
34026 #ifdef __cplusplus
34027 }
34028 #endif
34029
34030 int
34031 main ()
34032 {
34033 return f != $ac_func;
34034   ;
34035   return 0;
34036 }
34037 _ACEOF
34038 rm -f conftest.$ac_objext conftest$ac_exeext
34039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34040   (eval $ac_link) 2>&5
34041   ac_status=$?
34042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043   (exit $ac_status); } &&
34044          { ac_try='test -s conftest$ac_exeext'
34045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046   (eval $ac_try) 2>&5
34047   ac_status=$?
34048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049   (exit $ac_status); }; }; then
34050   eval "$as_ac_var=yes"
34051 else
34052   echo "$as_me: failed program was:" >&5
34053 sed 's/^/| /' conftest.$ac_ext >&5
34054
34055 eval "$as_ac_var=no"
34056 fi
34057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34058 fi
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34061 if test `eval echo '${'$as_ac_var'}'` = yes; then
34062   cat >>confdefs.h <<_ACEOF
34063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34064 _ACEOF
34065
34066 fi
34067 done
34068
34069   else
34070
34071   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34072 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34073   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34074     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34075   echo $ECHO_N "(cached) $ECHO_C" >&6
34076 else
34077
34078
34079
34080       ac_ext=cc
34081 ac_cpp='$CXXCPP $CPPFLAGS'
34082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34085
34086       cat >conftest.$ac_ext <<_ACEOF
34087 #line $LINENO "configure"
34088 /* confdefs.h.  */
34089 _ACEOF
34090 cat confdefs.h >>conftest.$ac_ext
34091 cat >>conftest.$ac_ext <<_ACEOF
34092 /* end confdefs.h.  */
34093 #include <math.h>
34094                       #ifdef HAVE_IEEEFP_H
34095                       #include <ieeefp.h>
34096                       #endif
34097
34098 int
34099 main ()
34100 {
34101  _log10f(0);
34102   ;
34103   return 0;
34104 }
34105 _ACEOF
34106 rm -f conftest.$ac_objext
34107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34108   (eval $ac_compile) 2>&5
34109   ac_status=$?
34110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111   (exit $ac_status); } &&
34112          { ac_try='test -s conftest.$ac_objext'
34113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114   (eval $ac_try) 2>&5
34115   ac_status=$?
34116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117   (exit $ac_status); }; }; then
34118   glibcxx_cv_func__log10f_use=yes
34119 else
34120   echo "$as_me: failed program was:" >&5
34121 sed 's/^/| /' conftest.$ac_ext >&5
34122
34123 glibcxx_cv_func__log10f_use=no
34124 fi
34125 rm -f conftest.$ac_objext conftest.$ac_ext
34126       ac_ext=c
34127 ac_cpp='$CPP $CPPFLAGS'
34128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34131
34132
34133 fi
34134
34135   fi
34136   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34137 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34138
34139     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34140
34141 for ac_func in _log10f
34142 do
34143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34144 echo "$as_me:$LINENO: checking for $ac_func" >&5
34145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34146 if eval "test \"\${$as_ac_var+set}\" = set"; then
34147   echo $ECHO_N "(cached) $ECHO_C" >&6
34148 else
34149   if test x$gcc_no_link = xyes; then
34150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34152    { (exit 1); exit 1; }; }
34153 fi
34154 cat >conftest.$ac_ext <<_ACEOF
34155 #line $LINENO "configure"
34156 /* confdefs.h.  */
34157 _ACEOF
34158 cat confdefs.h >>conftest.$ac_ext
34159 cat >>conftest.$ac_ext <<_ACEOF
34160 /* end confdefs.h.  */
34161 /* System header to define __stub macros and hopefully few prototypes,
34162     which can conflict with char $ac_func (); below.
34163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34164     <limits.h> exists even on freestanding compilers.  */
34165 #ifdef __STDC__
34166 # include <limits.h>
34167 #else
34168 # include <assert.h>
34169 #endif
34170 /* Override any gcc2 internal prototype to avoid an error.  */
34171 #ifdef __cplusplus
34172 extern "C"
34173 {
34174 #endif
34175 /* We use char because int might match the return type of a gcc2
34176    builtin and then its argument prototype would still apply.  */
34177 char $ac_func ();
34178 /* The GNU C library defines this for functions which it implements
34179     to always fail with ENOSYS.  Some functions are actually named
34180     something starting with __ and the normal name is an alias.  */
34181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34182 choke me
34183 #else
34184 char (*f) () = $ac_func;
34185 #endif
34186 #ifdef __cplusplus
34187 }
34188 #endif
34189
34190 int
34191 main ()
34192 {
34193 return f != $ac_func;
34194   ;
34195   return 0;
34196 }
34197 _ACEOF
34198 rm -f conftest.$ac_objext conftest$ac_exeext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34200   (eval $ac_link) 2>&5
34201   ac_status=$?
34202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34203   (exit $ac_status); } &&
34204          { ac_try='test -s conftest$ac_exeext'
34205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34206   (eval $ac_try) 2>&5
34207   ac_status=$?
34208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209   (exit $ac_status); }; }; then
34210   eval "$as_ac_var=yes"
34211 else
34212   echo "$as_me: failed program was:" >&5
34213 sed 's/^/| /' conftest.$ac_ext >&5
34214
34215 eval "$as_ac_var=no"
34216 fi
34217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34218 fi
34219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34221 if test `eval echo '${'$as_ac_var'}'` = yes; then
34222   cat >>confdefs.h <<_ACEOF
34223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34224 _ACEOF
34225
34226 fi
34227 done
34228
34229     fi
34230   fi
34231
34232
34233
34234   echo "$as_me:$LINENO: checking for modff declaration" >&5
34235 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34236   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34237     if test "${glibcxx_cv_func_modff_use+set}" = set; then
34238   echo $ECHO_N "(cached) $ECHO_C" >&6
34239 else
34240
34241
34242
34243       ac_ext=cc
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34248
34249       cat >conftest.$ac_ext <<_ACEOF
34250 #line $LINENO "configure"
34251 /* confdefs.h.  */
34252 _ACEOF
34253 cat confdefs.h >>conftest.$ac_ext
34254 cat >>conftest.$ac_ext <<_ACEOF
34255 /* end confdefs.h.  */
34256 #include <math.h>
34257 int
34258 main ()
34259 {
34260  modff(0, 0);
34261   ;
34262   return 0;
34263 }
34264 _ACEOF
34265 rm -f conftest.$ac_objext
34266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34267   (eval $ac_compile) 2>&5
34268   ac_status=$?
34269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270   (exit $ac_status); } &&
34271          { ac_try='test -s conftest.$ac_objext'
34272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273   (eval $ac_try) 2>&5
34274   ac_status=$?
34275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276   (exit $ac_status); }; }; then
34277   glibcxx_cv_func_modff_use=yes
34278 else
34279   echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34281
34282 glibcxx_cv_func_modff_use=no
34283 fi
34284 rm -f conftest.$ac_objext conftest.$ac_ext
34285       ac_ext=c
34286 ac_cpp='$CPP $CPPFLAGS'
34287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34290
34291
34292 fi
34293
34294   fi
34295   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34296 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34297
34298   if test x$glibcxx_cv_func_modff_use = x"yes"; then
34299
34300 for ac_func in modff
34301 do
34302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34303 echo "$as_me:$LINENO: checking for $ac_func" >&5
34304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34305 if eval "test \"\${$as_ac_var+set}\" = set"; then
34306   echo $ECHO_N "(cached) $ECHO_C" >&6
34307 else
34308   if test x$gcc_no_link = xyes; then
34309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34311    { (exit 1); exit 1; }; }
34312 fi
34313 cat >conftest.$ac_ext <<_ACEOF
34314 #line $LINENO "configure"
34315 /* confdefs.h.  */
34316 _ACEOF
34317 cat confdefs.h >>conftest.$ac_ext
34318 cat >>conftest.$ac_ext <<_ACEOF
34319 /* end confdefs.h.  */
34320 /* System header to define __stub macros and hopefully few prototypes,
34321     which can conflict with char $ac_func (); below.
34322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34323     <limits.h> exists even on freestanding compilers.  */
34324 #ifdef __STDC__
34325 # include <limits.h>
34326 #else
34327 # include <assert.h>
34328 #endif
34329 /* Override any gcc2 internal prototype to avoid an error.  */
34330 #ifdef __cplusplus
34331 extern "C"
34332 {
34333 #endif
34334 /* We use char because int might match the return type of a gcc2
34335    builtin and then its argument prototype would still apply.  */
34336 char $ac_func ();
34337 /* The GNU C library defines this for functions which it implements
34338     to always fail with ENOSYS.  Some functions are actually named
34339     something starting with __ and the normal name is an alias.  */
34340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34341 choke me
34342 #else
34343 char (*f) () = $ac_func;
34344 #endif
34345 #ifdef __cplusplus
34346 }
34347 #endif
34348
34349 int
34350 main ()
34351 {
34352 return f != $ac_func;
34353   ;
34354   return 0;
34355 }
34356 _ACEOF
34357 rm -f conftest.$ac_objext conftest$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359   (eval $ac_link) 2>&5
34360   ac_status=$?
34361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362   (exit $ac_status); } &&
34363          { ac_try='test -s conftest$ac_exeext'
34364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365   (eval $ac_try) 2>&5
34366   ac_status=$?
34367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368   (exit $ac_status); }; }; then
34369   eval "$as_ac_var=yes"
34370 else
34371   echo "$as_me: failed program was:" >&5
34372 sed 's/^/| /' conftest.$ac_ext >&5
34373
34374 eval "$as_ac_var=no"
34375 fi
34376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34377 fi
34378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34380 if test `eval echo '${'$as_ac_var'}'` = yes; then
34381   cat >>confdefs.h <<_ACEOF
34382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34383 _ACEOF
34384
34385 fi
34386 done
34387
34388   else
34389
34390   echo "$as_me:$LINENO: checking for _modff declaration" >&5
34391 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34392   if test x${glibcxx_cv_func__modff_use+set} != xset; then
34393     if test "${glibcxx_cv_func__modff_use+set}" = set; then
34394   echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34396
34397
34398
34399       ac_ext=cc
34400 ac_cpp='$CXXCPP $CPPFLAGS'
34401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34404
34405       cat >conftest.$ac_ext <<_ACEOF
34406 #line $LINENO "configure"
34407 /* confdefs.h.  */
34408 _ACEOF
34409 cat confdefs.h >>conftest.$ac_ext
34410 cat >>conftest.$ac_ext <<_ACEOF
34411 /* end confdefs.h.  */
34412 #include <math.h>
34413 int
34414 main ()
34415 {
34416  _modff(0, 0);
34417   ;
34418   return 0;
34419 }
34420 _ACEOF
34421 rm -f conftest.$ac_objext
34422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34423   (eval $ac_compile) 2>&5
34424   ac_status=$?
34425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426   (exit $ac_status); } &&
34427          { ac_try='test -s conftest.$ac_objext'
34428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34429   (eval $ac_try) 2>&5
34430   ac_status=$?
34431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432   (exit $ac_status); }; }; then
34433   glibcxx_cv_func__modff_use=yes
34434 else
34435   echo "$as_me: failed program was:" >&5
34436 sed 's/^/| /' conftest.$ac_ext >&5
34437
34438 glibcxx_cv_func__modff_use=no
34439 fi
34440 rm -f conftest.$ac_objext conftest.$ac_ext
34441       ac_ext=c
34442 ac_cpp='$CPP $CPPFLAGS'
34443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34446
34447
34448 fi
34449
34450   fi
34451   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34452 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34453
34454     if test x$glibcxx_cv_func__modff_use = x"yes"; then
34455
34456 for ac_func in _modff
34457 do
34458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34459 echo "$as_me:$LINENO: checking for $ac_func" >&5
34460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34461 if eval "test \"\${$as_ac_var+set}\" = set"; then
34462   echo $ECHO_N "(cached) $ECHO_C" >&6
34463 else
34464   if test x$gcc_no_link = xyes; then
34465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34467    { (exit 1); exit 1; }; }
34468 fi
34469 cat >conftest.$ac_ext <<_ACEOF
34470 #line $LINENO "configure"
34471 /* confdefs.h.  */
34472 _ACEOF
34473 cat confdefs.h >>conftest.$ac_ext
34474 cat >>conftest.$ac_ext <<_ACEOF
34475 /* end confdefs.h.  */
34476 /* System header to define __stub macros and hopefully few prototypes,
34477     which can conflict with char $ac_func (); below.
34478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34479     <limits.h> exists even on freestanding compilers.  */
34480 #ifdef __STDC__
34481 # include <limits.h>
34482 #else
34483 # include <assert.h>
34484 #endif
34485 /* Override any gcc2 internal prototype to avoid an error.  */
34486 #ifdef __cplusplus
34487 extern "C"
34488 {
34489 #endif
34490 /* We use char because int might match the return type of a gcc2
34491    builtin and then its argument prototype would still apply.  */
34492 char $ac_func ();
34493 /* The GNU C library defines this for functions which it implements
34494     to always fail with ENOSYS.  Some functions are actually named
34495     something starting with __ and the normal name is an alias.  */
34496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34497 choke me
34498 #else
34499 char (*f) () = $ac_func;
34500 #endif
34501 #ifdef __cplusplus
34502 }
34503 #endif
34504
34505 int
34506 main ()
34507 {
34508 return f != $ac_func;
34509   ;
34510   return 0;
34511 }
34512 _ACEOF
34513 rm -f conftest.$ac_objext conftest$ac_exeext
34514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34515   (eval $ac_link) 2>&5
34516   ac_status=$?
34517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518   (exit $ac_status); } &&
34519          { ac_try='test -s conftest$ac_exeext'
34520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521   (eval $ac_try) 2>&5
34522   ac_status=$?
34523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524   (exit $ac_status); }; }; then
34525   eval "$as_ac_var=yes"
34526 else
34527   echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34529
34530 eval "$as_ac_var=no"
34531 fi
34532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34533 fi
34534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34536 if test `eval echo '${'$as_ac_var'}'` = yes; then
34537   cat >>confdefs.h <<_ACEOF
34538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34539 _ACEOF
34540
34541 fi
34542 done
34543
34544     fi
34545   fi
34546
34547
34548
34549   echo "$as_me:$LINENO: checking for powf declaration" >&5
34550 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34551   if test x${glibcxx_cv_func_powf_use+set} != xset; then
34552     if test "${glibcxx_cv_func_powf_use+set}" = set; then
34553   echo $ECHO_N "(cached) $ECHO_C" >&6
34554 else
34555
34556
34557
34558       ac_ext=cc
34559 ac_cpp='$CXXCPP $CPPFLAGS'
34560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34563
34564       cat >conftest.$ac_ext <<_ACEOF
34565 #line $LINENO "configure"
34566 /* confdefs.h.  */
34567 _ACEOF
34568 cat confdefs.h >>conftest.$ac_ext
34569 cat >>conftest.$ac_ext <<_ACEOF
34570 /* end confdefs.h.  */
34571 #include <math.h>
34572 int
34573 main ()
34574 {
34575  powf(0, 0);
34576   ;
34577   return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34582   (eval $ac_compile) 2>&5
34583   ac_status=$?
34584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585   (exit $ac_status); } &&
34586          { ac_try='test -s conftest.$ac_objext'
34587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588   (eval $ac_try) 2>&5
34589   ac_status=$?
34590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591   (exit $ac_status); }; }; then
34592   glibcxx_cv_func_powf_use=yes
34593 else
34594   echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.$ac_ext >&5
34596
34597 glibcxx_cv_func_powf_use=no
34598 fi
34599 rm -f conftest.$ac_objext conftest.$ac_ext
34600       ac_ext=c
34601 ac_cpp='$CPP $CPPFLAGS'
34602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34605
34606
34607 fi
34608
34609   fi
34610   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34611 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34612
34613   if test x$glibcxx_cv_func_powf_use = x"yes"; then
34614
34615 for ac_func in powf
34616 do
34617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34618 echo "$as_me:$LINENO: checking for $ac_func" >&5
34619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34620 if eval "test \"\${$as_ac_var+set}\" = set"; then
34621   echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34623   if test x$gcc_no_link = xyes; then
34624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34626    { (exit 1); exit 1; }; }
34627 fi
34628 cat >conftest.$ac_ext <<_ACEOF
34629 #line $LINENO "configure"
34630 /* confdefs.h.  */
34631 _ACEOF
34632 cat confdefs.h >>conftest.$ac_ext
34633 cat >>conftest.$ac_ext <<_ACEOF
34634 /* end confdefs.h.  */
34635 /* System header to define __stub macros and hopefully few prototypes,
34636     which can conflict with char $ac_func (); below.
34637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34638     <limits.h> exists even on freestanding compilers.  */
34639 #ifdef __STDC__
34640 # include <limits.h>
34641 #else
34642 # include <assert.h>
34643 #endif
34644 /* Override any gcc2 internal prototype to avoid an error.  */
34645 #ifdef __cplusplus
34646 extern "C"
34647 {
34648 #endif
34649 /* We use char because int might match the return type of a gcc2
34650    builtin and then its argument prototype would still apply.  */
34651 char $ac_func ();
34652 /* The GNU C library defines this for functions which it implements
34653     to always fail with ENOSYS.  Some functions are actually named
34654     something starting with __ and the normal name is an alias.  */
34655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34656 choke me
34657 #else
34658 char (*f) () = $ac_func;
34659 #endif
34660 #ifdef __cplusplus
34661 }
34662 #endif
34663
34664 int
34665 main ()
34666 {
34667 return f != $ac_func;
34668   ;
34669   return 0;
34670 }
34671 _ACEOF
34672 rm -f conftest.$ac_objext conftest$ac_exeext
34673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34674   (eval $ac_link) 2>&5
34675   ac_status=$?
34676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34677   (exit $ac_status); } &&
34678          { ac_try='test -s conftest$ac_exeext'
34679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34680   (eval $ac_try) 2>&5
34681   ac_status=$?
34682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683   (exit $ac_status); }; }; then
34684   eval "$as_ac_var=yes"
34685 else
34686   echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34688
34689 eval "$as_ac_var=no"
34690 fi
34691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34692 fi
34693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34695 if test `eval echo '${'$as_ac_var'}'` = yes; then
34696   cat >>confdefs.h <<_ACEOF
34697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34698 _ACEOF
34699
34700 fi
34701 done
34702
34703   else
34704
34705   echo "$as_me:$LINENO: checking for _powf declaration" >&5
34706 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34707   if test x${glibcxx_cv_func__powf_use+set} != xset; then
34708     if test "${glibcxx_cv_func__powf_use+set}" = set; then
34709   echo $ECHO_N "(cached) $ECHO_C" >&6
34710 else
34711
34712
34713
34714       ac_ext=cc
34715 ac_cpp='$CXXCPP $CPPFLAGS'
34716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34719
34720       cat >conftest.$ac_ext <<_ACEOF
34721 #line $LINENO "configure"
34722 /* confdefs.h.  */
34723 _ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h.  */
34727 #include <math.h>
34728 int
34729 main ()
34730 {
34731  _powf(0, 0);
34732   ;
34733   return 0;
34734 }
34735 _ACEOF
34736 rm -f conftest.$ac_objext
34737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34738   (eval $ac_compile) 2>&5
34739   ac_status=$?
34740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741   (exit $ac_status); } &&
34742          { ac_try='test -s conftest.$ac_objext'
34743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34744   (eval $ac_try) 2>&5
34745   ac_status=$?
34746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747   (exit $ac_status); }; }; then
34748   glibcxx_cv_func__powf_use=yes
34749 else
34750   echo "$as_me: failed program was:" >&5
34751 sed 's/^/| /' conftest.$ac_ext >&5
34752
34753 glibcxx_cv_func__powf_use=no
34754 fi
34755 rm -f conftest.$ac_objext conftest.$ac_ext
34756       ac_ext=c
34757 ac_cpp='$CPP $CPPFLAGS'
34758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34761
34762
34763 fi
34764
34765   fi
34766   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34767 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34768
34769     if test x$glibcxx_cv_func__powf_use = x"yes"; then
34770
34771 for ac_func in _powf
34772 do
34773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34774 echo "$as_me:$LINENO: checking for $ac_func" >&5
34775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34776 if eval "test \"\${$as_ac_var+set}\" = set"; then
34777   echo $ECHO_N "(cached) $ECHO_C" >&6
34778 else
34779   if test x$gcc_no_link = xyes; then
34780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34782    { (exit 1); exit 1; }; }
34783 fi
34784 cat >conftest.$ac_ext <<_ACEOF
34785 #line $LINENO "configure"
34786 /* confdefs.h.  */
34787 _ACEOF
34788 cat confdefs.h >>conftest.$ac_ext
34789 cat >>conftest.$ac_ext <<_ACEOF
34790 /* end confdefs.h.  */
34791 /* System header to define __stub macros and hopefully few prototypes,
34792     which can conflict with char $ac_func (); below.
34793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34794     <limits.h> exists even on freestanding compilers.  */
34795 #ifdef __STDC__
34796 # include <limits.h>
34797 #else
34798 # include <assert.h>
34799 #endif
34800 /* Override any gcc2 internal prototype to avoid an error.  */
34801 #ifdef __cplusplus
34802 extern "C"
34803 {
34804 #endif
34805 /* We use char because int might match the return type of a gcc2
34806    builtin and then its argument prototype would still apply.  */
34807 char $ac_func ();
34808 /* The GNU C library defines this for functions which it implements
34809     to always fail with ENOSYS.  Some functions are actually named
34810     something starting with __ and the normal name is an alias.  */
34811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34812 choke me
34813 #else
34814 char (*f) () = $ac_func;
34815 #endif
34816 #ifdef __cplusplus
34817 }
34818 #endif
34819
34820 int
34821 main ()
34822 {
34823 return f != $ac_func;
34824   ;
34825   return 0;
34826 }
34827 _ACEOF
34828 rm -f conftest.$ac_objext conftest$ac_exeext
34829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34830   (eval $ac_link) 2>&5
34831   ac_status=$?
34832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833   (exit $ac_status); } &&
34834          { ac_try='test -s conftest$ac_exeext'
34835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34836   (eval $ac_try) 2>&5
34837   ac_status=$?
34838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839   (exit $ac_status); }; }; then
34840   eval "$as_ac_var=yes"
34841 else
34842   echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845 eval "$as_ac_var=no"
34846 fi
34847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34848 fi
34849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34851 if test `eval echo '${'$as_ac_var'}'` = yes; then
34852   cat >>confdefs.h <<_ACEOF
34853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34854 _ACEOF
34855
34856 fi
34857 done
34858
34859     fi
34860   fi
34861
34862
34863
34864   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34865 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34866   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34867     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34868   echo $ECHO_N "(cached) $ECHO_C" >&6
34869 else
34870
34871
34872
34873       ac_ext=cc
34874 ac_cpp='$CXXCPP $CPPFLAGS'
34875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34878
34879       cat >conftest.$ac_ext <<_ACEOF
34880 #line $LINENO "configure"
34881 /* confdefs.h.  */
34882 _ACEOF
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h.  */
34886 #include <math.h>
34887                       #ifdef HAVE_IEEEFP_H
34888                       #include <ieeefp.h>
34889                       #endif
34890
34891 int
34892 main ()
34893 {
34894  sqrtf(0);
34895   ;
34896   return 0;
34897 }
34898 _ACEOF
34899 rm -f conftest.$ac_objext
34900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34901   (eval $ac_compile) 2>&5
34902   ac_status=$?
34903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904   (exit $ac_status); } &&
34905          { ac_try='test -s conftest.$ac_objext'
34906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907   (eval $ac_try) 2>&5
34908   ac_status=$?
34909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910   (exit $ac_status); }; }; then
34911   glibcxx_cv_func_sqrtf_use=yes
34912 else
34913   echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34915
34916 glibcxx_cv_func_sqrtf_use=no
34917 fi
34918 rm -f conftest.$ac_objext conftest.$ac_ext
34919       ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34924
34925
34926 fi
34927
34928   fi
34929   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
34930 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
34931
34932   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34933
34934 for ac_func in sqrtf
34935 do
34936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34937 echo "$as_me:$LINENO: checking for $ac_func" >&5
34938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34939 if eval "test \"\${$as_ac_var+set}\" = set"; then
34940   echo $ECHO_N "(cached) $ECHO_C" >&6
34941 else
34942   if test x$gcc_no_link = xyes; then
34943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34945    { (exit 1); exit 1; }; }
34946 fi
34947 cat >conftest.$ac_ext <<_ACEOF
34948 #line $LINENO "configure"
34949 /* confdefs.h.  */
34950 _ACEOF
34951 cat confdefs.h >>conftest.$ac_ext
34952 cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h.  */
34954 /* System header to define __stub macros and hopefully few prototypes,
34955     which can conflict with char $ac_func (); below.
34956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34957     <limits.h> exists even on freestanding compilers.  */
34958 #ifdef __STDC__
34959 # include <limits.h>
34960 #else
34961 # include <assert.h>
34962 #endif
34963 /* Override any gcc2 internal prototype to avoid an error.  */
34964 #ifdef __cplusplus
34965 extern "C"
34966 {
34967 #endif
34968 /* We use char because int might match the return type of a gcc2
34969    builtin and then its argument prototype would still apply.  */
34970 char $ac_func ();
34971 /* The GNU C library defines this for functions which it implements
34972     to always fail with ENOSYS.  Some functions are actually named
34973     something starting with __ and the normal name is an alias.  */
34974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34975 choke me
34976 #else
34977 char (*f) () = $ac_func;
34978 #endif
34979 #ifdef __cplusplus
34980 }
34981 #endif
34982
34983 int
34984 main ()
34985 {
34986 return f != $ac_func;
34987   ;
34988   return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34993   (eval $ac_link) 2>&5
34994   ac_status=$?
34995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996   (exit $ac_status); } &&
34997          { ac_try='test -s conftest$ac_exeext'
34998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999   (eval $ac_try) 2>&5
35000   ac_status=$?
35001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002   (exit $ac_status); }; }; then
35003   eval "$as_ac_var=yes"
35004 else
35005   echo "$as_me: failed program was:" >&5
35006 sed 's/^/| /' conftest.$ac_ext >&5
35007
35008 eval "$as_ac_var=no"
35009 fi
35010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35011 fi
35012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35014 if test `eval echo '${'$as_ac_var'}'` = yes; then
35015   cat >>confdefs.h <<_ACEOF
35016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35017 _ACEOF
35018
35019 fi
35020 done
35021
35022   else
35023
35024   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35025 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35026   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35027     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35028   echo $ECHO_N "(cached) $ECHO_C" >&6
35029 else
35030
35031
35032
35033       ac_ext=cc
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038
35039       cat >conftest.$ac_ext <<_ACEOF
35040 #line $LINENO "configure"
35041 /* confdefs.h.  */
35042 _ACEOF
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h.  */
35046 #include <math.h>
35047                       #ifdef HAVE_IEEEFP_H
35048                       #include <ieeefp.h>
35049                       #endif
35050
35051 int
35052 main ()
35053 {
35054  _sqrtf(0);
35055   ;
35056   return 0;
35057 }
35058 _ACEOF
35059 rm -f conftest.$ac_objext
35060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35061   (eval $ac_compile) 2>&5
35062   ac_status=$?
35063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064   (exit $ac_status); } &&
35065          { ac_try='test -s conftest.$ac_objext'
35066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067   (eval $ac_try) 2>&5
35068   ac_status=$?
35069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070   (exit $ac_status); }; }; then
35071   glibcxx_cv_func__sqrtf_use=yes
35072 else
35073   echo "$as_me: failed program was:" >&5
35074 sed 's/^/| /' conftest.$ac_ext >&5
35075
35076 glibcxx_cv_func__sqrtf_use=no
35077 fi
35078 rm -f conftest.$ac_objext conftest.$ac_ext
35079       ac_ext=c
35080 ac_cpp='$CPP $CPPFLAGS'
35081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35084
35085
35086 fi
35087
35088   fi
35089   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35090 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35091
35092     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35093
35094 for ac_func in _sqrtf
35095 do
35096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35097 echo "$as_me:$LINENO: checking for $ac_func" >&5
35098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35099 if eval "test \"\${$as_ac_var+set}\" = set"; then
35100   echo $ECHO_N "(cached) $ECHO_C" >&6
35101 else
35102   if test x$gcc_no_link = xyes; then
35103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35105    { (exit 1); exit 1; }; }
35106 fi
35107 cat >conftest.$ac_ext <<_ACEOF
35108 #line $LINENO "configure"
35109 /* confdefs.h.  */
35110 _ACEOF
35111 cat confdefs.h >>conftest.$ac_ext
35112 cat >>conftest.$ac_ext <<_ACEOF
35113 /* end confdefs.h.  */
35114 /* System header to define __stub macros and hopefully few prototypes,
35115     which can conflict with char $ac_func (); below.
35116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35117     <limits.h> exists even on freestanding compilers.  */
35118 #ifdef __STDC__
35119 # include <limits.h>
35120 #else
35121 # include <assert.h>
35122 #endif
35123 /* Override any gcc2 internal prototype to avoid an error.  */
35124 #ifdef __cplusplus
35125 extern "C"
35126 {
35127 #endif
35128 /* We use char because int might match the return type of a gcc2
35129    builtin and then its argument prototype would still apply.  */
35130 char $ac_func ();
35131 /* The GNU C library defines this for functions which it implements
35132     to always fail with ENOSYS.  Some functions are actually named
35133     something starting with __ and the normal name is an alias.  */
35134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35135 choke me
35136 #else
35137 char (*f) () = $ac_func;
35138 #endif
35139 #ifdef __cplusplus
35140 }
35141 #endif
35142
35143 int
35144 main ()
35145 {
35146 return f != $ac_func;
35147   ;
35148   return 0;
35149 }
35150 _ACEOF
35151 rm -f conftest.$ac_objext conftest$ac_exeext
35152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35153   (eval $ac_link) 2>&5
35154   ac_status=$?
35155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156   (exit $ac_status); } &&
35157          { ac_try='test -s conftest$ac_exeext'
35158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159   (eval $ac_try) 2>&5
35160   ac_status=$?
35161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162   (exit $ac_status); }; }; then
35163   eval "$as_ac_var=yes"
35164 else
35165   echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 eval "$as_ac_var=no"
35169 fi
35170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35171 fi
35172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35174 if test `eval echo '${'$as_ac_var'}'` = yes; then
35175   cat >>confdefs.h <<_ACEOF
35176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35177 _ACEOF
35178
35179 fi
35180 done
35181
35182     fi
35183   fi
35184
35185
35186
35187   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35188 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35189   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35190     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35191   echo $ECHO_N "(cached) $ECHO_C" >&6
35192 else
35193
35194
35195
35196       ac_ext=cc
35197 ac_cpp='$CXXCPP $CPPFLAGS'
35198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35201
35202       cat >conftest.$ac_ext <<_ACEOF
35203 #line $LINENO "configure"
35204 /* confdefs.h.  */
35205 _ACEOF
35206 cat confdefs.h >>conftest.$ac_ext
35207 cat >>conftest.$ac_ext <<_ACEOF
35208 /* end confdefs.h.  */
35209 #include <math.h>
35210 int
35211 main ()
35212 {
35213  sincosf(0, 0, 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>&5
35221   ac_status=$?
35222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35223   (exit $ac_status); } &&
35224          { ac_try='test -s conftest.$ac_objext'
35225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35226   (eval $ac_try) 2>&5
35227   ac_status=$?
35228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35229   (exit $ac_status); }; }; then
35230   glibcxx_cv_func_sincosf_use=yes
35231 else
35232   echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.$ac_ext >&5
35234
35235 glibcxx_cv_func_sincosf_use=no
35236 fi
35237 rm -f conftest.$ac_objext conftest.$ac_ext
35238       ac_ext=c
35239 ac_cpp='$CPP $CPPFLAGS'
35240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35243
35244
35245 fi
35246
35247   fi
35248   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35249 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35250
35251   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35252
35253 for ac_func in sincosf
35254 do
35255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35256 echo "$as_me:$LINENO: checking for $ac_func" >&5
35257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35258 if eval "test \"\${$as_ac_var+set}\" = set"; then
35259   echo $ECHO_N "(cached) $ECHO_C" >&6
35260 else
35261   if test x$gcc_no_link = xyes; then
35262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35264    { (exit 1); exit 1; }; }
35265 fi
35266 cat >conftest.$ac_ext <<_ACEOF
35267 #line $LINENO "configure"
35268 /* confdefs.h.  */
35269 _ACEOF
35270 cat confdefs.h >>conftest.$ac_ext
35271 cat >>conftest.$ac_ext <<_ACEOF
35272 /* end confdefs.h.  */
35273 /* System header to define __stub macros and hopefully few prototypes,
35274     which can conflict with char $ac_func (); below.
35275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35276     <limits.h> exists even on freestanding compilers.  */
35277 #ifdef __STDC__
35278 # include <limits.h>
35279 #else
35280 # include <assert.h>
35281 #endif
35282 /* Override any gcc2 internal prototype to avoid an error.  */
35283 #ifdef __cplusplus
35284 extern "C"
35285 {
35286 #endif
35287 /* We use char because int might match the return type of a gcc2
35288    builtin and then its argument prototype would still apply.  */
35289 char $ac_func ();
35290 /* The GNU C library defines this for functions which it implements
35291     to always fail with ENOSYS.  Some functions are actually named
35292     something starting with __ and the normal name is an alias.  */
35293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35294 choke me
35295 #else
35296 char (*f) () = $ac_func;
35297 #endif
35298 #ifdef __cplusplus
35299 }
35300 #endif
35301
35302 int
35303 main ()
35304 {
35305 return f != $ac_func;
35306   ;
35307   return 0;
35308 }
35309 _ACEOF
35310 rm -f conftest.$ac_objext conftest$ac_exeext
35311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35312   (eval $ac_link) 2>&5
35313   ac_status=$?
35314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315   (exit $ac_status); } &&
35316          { ac_try='test -s conftest$ac_exeext'
35317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318   (eval $ac_try) 2>&5
35319   ac_status=$?
35320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321   (exit $ac_status); }; }; then
35322   eval "$as_ac_var=yes"
35323 else
35324   echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.$ac_ext >&5
35326
35327 eval "$as_ac_var=no"
35328 fi
35329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35330 fi
35331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35333 if test `eval echo '${'$as_ac_var'}'` = yes; then
35334   cat >>confdefs.h <<_ACEOF
35335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35336 _ACEOF
35337
35338 fi
35339 done
35340
35341   else
35342
35343   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35344 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35345   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35346     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35347   echo $ECHO_N "(cached) $ECHO_C" >&6
35348 else
35349
35350
35351
35352       ac_ext=cc
35353 ac_cpp='$CXXCPP $CPPFLAGS'
35354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35357
35358       cat >conftest.$ac_ext <<_ACEOF
35359 #line $LINENO "configure"
35360 /* confdefs.h.  */
35361 _ACEOF
35362 cat confdefs.h >>conftest.$ac_ext
35363 cat >>conftest.$ac_ext <<_ACEOF
35364 /* end confdefs.h.  */
35365 #include <math.h>
35366 int
35367 main ()
35368 {
35369  _sincosf(0, 0, 0);
35370   ;
35371   return 0;
35372 }
35373 _ACEOF
35374 rm -f conftest.$ac_objext
35375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35376   (eval $ac_compile) 2>&5
35377   ac_status=$?
35378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379   (exit $ac_status); } &&
35380          { ac_try='test -s conftest.$ac_objext'
35381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35382   (eval $ac_try) 2>&5
35383   ac_status=$?
35384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35385   (exit $ac_status); }; }; then
35386   glibcxx_cv_func__sincosf_use=yes
35387 else
35388   echo "$as_me: failed program was:" >&5
35389 sed 's/^/| /' conftest.$ac_ext >&5
35390
35391 glibcxx_cv_func__sincosf_use=no
35392 fi
35393 rm -f conftest.$ac_objext conftest.$ac_ext
35394       ac_ext=c
35395 ac_cpp='$CPP $CPPFLAGS'
35396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35399
35400
35401 fi
35402
35403   fi
35404   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35405 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35406
35407     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35408
35409 for ac_func in _sincosf
35410 do
35411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35412 echo "$as_me:$LINENO: checking for $ac_func" >&5
35413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35414 if eval "test \"\${$as_ac_var+set}\" = set"; then
35415   echo $ECHO_N "(cached) $ECHO_C" >&6
35416 else
35417   if test x$gcc_no_link = xyes; then
35418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35420    { (exit 1); exit 1; }; }
35421 fi
35422 cat >conftest.$ac_ext <<_ACEOF
35423 #line $LINENO "configure"
35424 /* confdefs.h.  */
35425 _ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h.  */
35429 /* System header to define __stub macros and hopefully few prototypes,
35430     which can conflict with char $ac_func (); below.
35431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35432     <limits.h> exists even on freestanding compilers.  */
35433 #ifdef __STDC__
35434 # include <limits.h>
35435 #else
35436 # include <assert.h>
35437 #endif
35438 /* Override any gcc2 internal prototype to avoid an error.  */
35439 #ifdef __cplusplus
35440 extern "C"
35441 {
35442 #endif
35443 /* We use char because int might match the return type of a gcc2
35444    builtin and then its argument prototype would still apply.  */
35445 char $ac_func ();
35446 /* The GNU C library defines this for functions which it implements
35447     to always fail with ENOSYS.  Some functions are actually named
35448     something starting with __ and the normal name is an alias.  */
35449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35450 choke me
35451 #else
35452 char (*f) () = $ac_func;
35453 #endif
35454 #ifdef __cplusplus
35455 }
35456 #endif
35457
35458 int
35459 main ()
35460 {
35461 return f != $ac_func;
35462   ;
35463   return 0;
35464 }
35465 _ACEOF
35466 rm -f conftest.$ac_objext conftest$ac_exeext
35467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35468   (eval $ac_link) 2>&5
35469   ac_status=$?
35470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471   (exit $ac_status); } &&
35472          { ac_try='test -s conftest$ac_exeext'
35473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35474   (eval $ac_try) 2>&5
35475   ac_status=$?
35476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35477   (exit $ac_status); }; }; then
35478   eval "$as_ac_var=yes"
35479 else
35480   echo "$as_me: failed program was:" >&5
35481 sed 's/^/| /' conftest.$ac_ext >&5
35482
35483 eval "$as_ac_var=no"
35484 fi
35485 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35486 fi
35487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35489 if test `eval echo '${'$as_ac_var'}'` = yes; then
35490   cat >>confdefs.h <<_ACEOF
35491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35492 _ACEOF
35493
35494 fi
35495 done
35496
35497     fi
35498   fi
35499
35500
35501
35502   echo "$as_me:$LINENO: checking for finitef declaration" >&5
35503 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35504   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35505     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35506   echo $ECHO_N "(cached) $ECHO_C" >&6
35507 else
35508
35509
35510
35511       ac_ext=cc
35512 ac_cpp='$CXXCPP $CPPFLAGS'
35513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35516
35517       cat >conftest.$ac_ext <<_ACEOF
35518 #line $LINENO "configure"
35519 /* confdefs.h.  */
35520 _ACEOF
35521 cat confdefs.h >>conftest.$ac_ext
35522 cat >>conftest.$ac_ext <<_ACEOF
35523 /* end confdefs.h.  */
35524 #include <math.h>
35525                       #ifdef HAVE_IEEEFP_H
35526                       #include <ieeefp.h>
35527                       #endif
35528
35529 int
35530 main ()
35531 {
35532  finitef(0);
35533   ;
35534   return 0;
35535 }
35536 _ACEOF
35537 rm -f conftest.$ac_objext
35538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35539   (eval $ac_compile) 2>&5
35540   ac_status=$?
35541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542   (exit $ac_status); } &&
35543          { ac_try='test -s conftest.$ac_objext'
35544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545   (eval $ac_try) 2>&5
35546   ac_status=$?
35547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548   (exit $ac_status); }; }; then
35549   glibcxx_cv_func_finitef_use=yes
35550 else
35551   echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.$ac_ext >&5
35553
35554 glibcxx_cv_func_finitef_use=no
35555 fi
35556 rm -f conftest.$ac_objext conftest.$ac_ext
35557       ac_ext=c
35558 ac_cpp='$CPP $CPPFLAGS'
35559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35562
35563
35564 fi
35565
35566   fi
35567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35568 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35569
35570   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35571
35572 for ac_func in finitef
35573 do
35574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35575 echo "$as_me:$LINENO: checking for $ac_func" >&5
35576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35577 if eval "test \"\${$as_ac_var+set}\" = set"; then
35578   echo $ECHO_N "(cached) $ECHO_C" >&6
35579 else
35580   if test x$gcc_no_link = xyes; then
35581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35583    { (exit 1); exit 1; }; }
35584 fi
35585 cat >conftest.$ac_ext <<_ACEOF
35586 #line $LINENO "configure"
35587 /* confdefs.h.  */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h.  */
35592 /* System header to define __stub macros and hopefully few prototypes,
35593     which can conflict with char $ac_func (); below.
35594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35595     <limits.h> exists even on freestanding compilers.  */
35596 #ifdef __STDC__
35597 # include <limits.h>
35598 #else
35599 # include <assert.h>
35600 #endif
35601 /* Override any gcc2 internal prototype to avoid an error.  */
35602 #ifdef __cplusplus
35603 extern "C"
35604 {
35605 #endif
35606 /* We use char because int might match the return type of a gcc2
35607    builtin and then its argument prototype would still apply.  */
35608 char $ac_func ();
35609 /* The GNU C library defines this for functions which it implements
35610     to always fail with ENOSYS.  Some functions are actually named
35611     something starting with __ and the normal name is an alias.  */
35612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35613 choke me
35614 #else
35615 char (*f) () = $ac_func;
35616 #endif
35617 #ifdef __cplusplus
35618 }
35619 #endif
35620
35621 int
35622 main ()
35623 {
35624 return f != $ac_func;
35625   ;
35626   return 0;
35627 }
35628 _ACEOF
35629 rm -f conftest.$ac_objext conftest$ac_exeext
35630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35631   (eval $ac_link) 2>&5
35632   ac_status=$?
35633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634   (exit $ac_status); } &&
35635          { ac_try='test -s conftest$ac_exeext'
35636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637   (eval $ac_try) 2>&5
35638   ac_status=$?
35639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640   (exit $ac_status); }; }; then
35641   eval "$as_ac_var=yes"
35642 else
35643   echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35645
35646 eval "$as_ac_var=no"
35647 fi
35648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35649 fi
35650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35652 if test `eval echo '${'$as_ac_var'}'` = yes; then
35653   cat >>confdefs.h <<_ACEOF
35654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35655 _ACEOF
35656
35657 fi
35658 done
35659
35660   else
35661
35662   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35663 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35664   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35665     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35666   echo $ECHO_N "(cached) $ECHO_C" >&6
35667 else
35668
35669
35670
35671       ac_ext=cc
35672 ac_cpp='$CXXCPP $CPPFLAGS'
35673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35676
35677       cat >conftest.$ac_ext <<_ACEOF
35678 #line $LINENO "configure"
35679 /* confdefs.h.  */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h.  */
35684 #include <math.h>
35685                       #ifdef HAVE_IEEEFP_H
35686                       #include <ieeefp.h>
35687                       #endif
35688
35689 int
35690 main ()
35691 {
35692  _finitef(0);
35693   ;
35694   return 0;
35695 }
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35699   (eval $ac_compile) 2>&5
35700   ac_status=$?
35701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35702   (exit $ac_status); } &&
35703          { ac_try='test -s conftest.$ac_objext'
35704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705   (eval $ac_try) 2>&5
35706   ac_status=$?
35707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708   (exit $ac_status); }; }; then
35709   glibcxx_cv_func__finitef_use=yes
35710 else
35711   echo "$as_me: failed program was:" >&5
35712 sed 's/^/| /' conftest.$ac_ext >&5
35713
35714 glibcxx_cv_func__finitef_use=no
35715 fi
35716 rm -f conftest.$ac_objext conftest.$ac_ext
35717       ac_ext=c
35718 ac_cpp='$CPP $CPPFLAGS'
35719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35722
35723
35724 fi
35725
35726   fi
35727   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35728 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35729
35730     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35731
35732 for ac_func in _finitef
35733 do
35734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35735 echo "$as_me:$LINENO: checking for $ac_func" >&5
35736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35737 if eval "test \"\${$as_ac_var+set}\" = set"; then
35738   echo $ECHO_N "(cached) $ECHO_C" >&6
35739 else
35740   if test x$gcc_no_link = xyes; then
35741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35743    { (exit 1); exit 1; }; }
35744 fi
35745 cat >conftest.$ac_ext <<_ACEOF
35746 #line $LINENO "configure"
35747 /* confdefs.h.  */
35748 _ACEOF
35749 cat confdefs.h >>conftest.$ac_ext
35750 cat >>conftest.$ac_ext <<_ACEOF
35751 /* end confdefs.h.  */
35752 /* System header to define __stub macros and hopefully few prototypes,
35753     which can conflict with char $ac_func (); below.
35754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35755     <limits.h> exists even on freestanding compilers.  */
35756 #ifdef __STDC__
35757 # include <limits.h>
35758 #else
35759 # include <assert.h>
35760 #endif
35761 /* Override any gcc2 internal prototype to avoid an error.  */
35762 #ifdef __cplusplus
35763 extern "C"
35764 {
35765 #endif
35766 /* We use char because int might match the return type of a gcc2
35767    builtin and then its argument prototype would still apply.  */
35768 char $ac_func ();
35769 /* The GNU C library defines this for functions which it implements
35770     to always fail with ENOSYS.  Some functions are actually named
35771     something starting with __ and the normal name is an alias.  */
35772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35773 choke me
35774 #else
35775 char (*f) () = $ac_func;
35776 #endif
35777 #ifdef __cplusplus
35778 }
35779 #endif
35780
35781 int
35782 main ()
35783 {
35784 return f != $ac_func;
35785   ;
35786   return 0;
35787 }
35788 _ACEOF
35789 rm -f conftest.$ac_objext conftest$ac_exeext
35790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35791   (eval $ac_link) 2>&5
35792   ac_status=$?
35793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794   (exit $ac_status); } &&
35795          { ac_try='test -s conftest$ac_exeext'
35796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797   (eval $ac_try) 2>&5
35798   ac_status=$?
35799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800   (exit $ac_status); }; }; then
35801   eval "$as_ac_var=yes"
35802 else
35803   echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35805
35806 eval "$as_ac_var=no"
35807 fi
35808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35809 fi
35810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35812 if test `eval echo '${'$as_ac_var'}'` = yes; then
35813   cat >>confdefs.h <<_ACEOF
35814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35815 _ACEOF
35816
35817 fi
35818 done
35819
35820     fi
35821   fi
35822
35823
35824
35825   echo "$as_me:$LINENO: checking for long double trig functions" >&5
35826 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35827   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35828   echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35830
35831
35832
35833     ac_ext=cc
35834 ac_cpp='$CXXCPP $CPPFLAGS'
35835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35838
35839     cat >conftest.$ac_ext <<_ACEOF
35840 #line $LINENO "configure"
35841 /* confdefs.h.  */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h.  */
35846 #include <math.h>
35847 int
35848 main ()
35849 {
35850  `for x in acosl asinl atanl \
35851                                           cosl sinl tanl \
35852                                           coshl sinhl tanhl; do echo "$x (0);"; done`
35853   ;
35854   return 0;
35855 }
35856 _ACEOF
35857 rm -f conftest.$ac_objext
35858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35859   (eval $ac_compile) 2>&5
35860   ac_status=$?
35861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862   (exit $ac_status); } &&
35863          { ac_try='test -s conftest.$ac_objext'
35864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865   (eval $ac_try) 2>&5
35866   ac_status=$?
35867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868   (exit $ac_status); }; }; then
35869   glibcxx_cv_func_long_double_trig_use=yes
35870 else
35871   echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35873
35874 glibcxx_cv_func_long_double_trig_use=no
35875 fi
35876 rm -f conftest.$ac_objext conftest.$ac_ext
35877     ac_ext=c
35878 ac_cpp='$CPP $CPPFLAGS'
35879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35882
35883 fi
35884
35885   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35886 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35887   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897 for ac_func in acosl asinl atanl \
35898                                           cosl sinl tanl \
35899                                           coshl sinhl tanhl
35900 do
35901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35902 echo "$as_me:$LINENO: checking for $ac_func" >&5
35903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35904 if eval "test \"\${$as_ac_var+set}\" = set"; then
35905   echo $ECHO_N "(cached) $ECHO_C" >&6
35906 else
35907   if test x$gcc_no_link = xyes; then
35908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35910    { (exit 1); exit 1; }; }
35911 fi
35912 cat >conftest.$ac_ext <<_ACEOF
35913 #line $LINENO "configure"
35914 /* confdefs.h.  */
35915 _ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h.  */
35919 /* System header to define __stub macros and hopefully few prototypes,
35920     which can conflict with char $ac_func (); below.
35921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35922     <limits.h> exists even on freestanding compilers.  */
35923 #ifdef __STDC__
35924 # include <limits.h>
35925 #else
35926 # include <assert.h>
35927 #endif
35928 /* Override any gcc2 internal prototype to avoid an error.  */
35929 #ifdef __cplusplus
35930 extern "C"
35931 {
35932 #endif
35933 /* We use char because int might match the return type of a gcc2
35934    builtin and then its argument prototype would still apply.  */
35935 char $ac_func ();
35936 /* The GNU C library defines this for functions which it implements
35937     to always fail with ENOSYS.  Some functions are actually named
35938     something starting with __ and the normal name is an alias.  */
35939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35940 choke me
35941 #else
35942 char (*f) () = $ac_func;
35943 #endif
35944 #ifdef __cplusplus
35945 }
35946 #endif
35947
35948 int
35949 main ()
35950 {
35951 return f != $ac_func;
35952   ;
35953   return 0;
35954 }
35955 _ACEOF
35956 rm -f conftest.$ac_objext conftest$ac_exeext
35957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35958   (eval $ac_link) 2>&5
35959   ac_status=$?
35960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961   (exit $ac_status); } &&
35962          { ac_try='test -s conftest$ac_exeext'
35963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35964   (eval $ac_try) 2>&5
35965   ac_status=$?
35966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967   (exit $ac_status); }; }; then
35968   eval "$as_ac_var=yes"
35969 else
35970   echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.$ac_ext >&5
35972
35973 eval "$as_ac_var=no"
35974 fi
35975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35976 fi
35977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980   cat >>confdefs.h <<_ACEOF
35981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35982 _ACEOF
35983
35984 fi
35985 done
35986
35987   fi
35988
35989
35990   echo "$as_me:$LINENO: checking for long double round functions" >&5
35991 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
35992   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
35993   echo $ECHO_N "(cached) $ECHO_C" >&6
35994 else
35995
35996
35997
35998     ac_ext=cc
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36003
36004     cat >conftest.$ac_ext <<_ACEOF
36005 #line $LINENO "configure"
36006 /* confdefs.h.  */
36007 _ACEOF
36008 cat confdefs.h >>conftest.$ac_ext
36009 cat >>conftest.$ac_ext <<_ACEOF
36010 /* end confdefs.h.  */
36011 #include <math.h>
36012 int
36013 main ()
36014 {
36015  `for x in ceill floorl; do echo "$x (0);"; done`
36016   ;
36017   return 0;
36018 }
36019 _ACEOF
36020 rm -f conftest.$ac_objext
36021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36022   (eval $ac_compile) 2>&5
36023   ac_status=$?
36024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025   (exit $ac_status); } &&
36026          { ac_try='test -s conftest.$ac_objext'
36027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028   (eval $ac_try) 2>&5
36029   ac_status=$?
36030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031   (exit $ac_status); }; }; then
36032   glibcxx_cv_func_long_double_round_use=yes
36033 else
36034   echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 glibcxx_cv_func_long_double_round_use=no
36038 fi
36039 rm -f conftest.$ac_objext conftest.$ac_ext
36040     ac_ext=c
36041 ac_cpp='$CPP $CPPFLAGS'
36042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36045
36046 fi
36047
36048   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36049 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36050   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36051
36052
36053 for ac_func in ceill floorl
36054 do
36055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36056 echo "$as_me:$LINENO: checking for $ac_func" >&5
36057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36058 if eval "test \"\${$as_ac_var+set}\" = set"; then
36059   echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061   if test x$gcc_no_link = xyes; then
36062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36064    { (exit 1); exit 1; }; }
36065 fi
36066 cat >conftest.$ac_ext <<_ACEOF
36067 #line $LINENO "configure"
36068 /* confdefs.h.  */
36069 _ACEOF
36070 cat confdefs.h >>conftest.$ac_ext
36071 cat >>conftest.$ac_ext <<_ACEOF
36072 /* end confdefs.h.  */
36073 /* System header to define __stub macros and hopefully few prototypes,
36074     which can conflict with char $ac_func (); below.
36075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36076     <limits.h> exists even on freestanding compilers.  */
36077 #ifdef __STDC__
36078 # include <limits.h>
36079 #else
36080 # include <assert.h>
36081 #endif
36082 /* Override any gcc2 internal prototype to avoid an error.  */
36083 #ifdef __cplusplus
36084 extern "C"
36085 {
36086 #endif
36087 /* We use char because int might match the return type of a gcc2
36088    builtin and then its argument prototype would still apply.  */
36089 char $ac_func ();
36090 /* The GNU C library defines this for functions which it implements
36091     to always fail with ENOSYS.  Some functions are actually named
36092     something starting with __ and the normal name is an alias.  */
36093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36094 choke me
36095 #else
36096 char (*f) () = $ac_func;
36097 #endif
36098 #ifdef __cplusplus
36099 }
36100 #endif
36101
36102 int
36103 main ()
36104 {
36105 return f != $ac_func;
36106   ;
36107   return 0;
36108 }
36109 _ACEOF
36110 rm -f conftest.$ac_objext conftest$ac_exeext
36111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36112   (eval $ac_link) 2>&5
36113   ac_status=$?
36114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115   (exit $ac_status); } &&
36116          { ac_try='test -s conftest$ac_exeext'
36117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118   (eval $ac_try) 2>&5
36119   ac_status=$?
36120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121   (exit $ac_status); }; }; then
36122   eval "$as_ac_var=yes"
36123 else
36124   echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.$ac_ext >&5
36126
36127 eval "$as_ac_var=no"
36128 fi
36129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36130 fi
36131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36133 if test `eval echo '${'$as_ac_var'}'` = yes; then
36134   cat >>confdefs.h <<_ACEOF
36135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36136 _ACEOF
36137
36138 fi
36139 done
36140
36141   fi
36142
36143
36144
36145   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36146 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36147   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36148     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36149   echo $ECHO_N "(cached) $ECHO_C" >&6
36150 else
36151
36152
36153
36154       ac_ext=cc
36155 ac_cpp='$CXXCPP $CPPFLAGS'
36156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36159
36160       cat >conftest.$ac_ext <<_ACEOF
36161 #line $LINENO "configure"
36162 /* confdefs.h.  */
36163 _ACEOF
36164 cat confdefs.h >>conftest.$ac_ext
36165 cat >>conftest.$ac_ext <<_ACEOF
36166 /* end confdefs.h.  */
36167 #include <math.h>
36168                       #ifdef HAVE_IEEEFP_H
36169                       #include <ieeefp.h>
36170                       #endif
36171
36172 int
36173 main ()
36174 {
36175  isnanl(0);
36176   ;
36177   return 0;
36178 }
36179 _ACEOF
36180 rm -f conftest.$ac_objext
36181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36182   (eval $ac_compile) 2>&5
36183   ac_status=$?
36184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185   (exit $ac_status); } &&
36186          { ac_try='test -s conftest.$ac_objext'
36187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188   (eval $ac_try) 2>&5
36189   ac_status=$?
36190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191   (exit $ac_status); }; }; then
36192   glibcxx_cv_func_isnanl_use=yes
36193 else
36194   echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36196
36197 glibcxx_cv_func_isnanl_use=no
36198 fi
36199 rm -f conftest.$ac_objext conftest.$ac_ext
36200       ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36205
36206
36207 fi
36208
36209   fi
36210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36211 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36212
36213   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36214
36215 for ac_func in isnanl
36216 do
36217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36218 echo "$as_me:$LINENO: checking for $ac_func" >&5
36219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36220 if eval "test \"\${$as_ac_var+set}\" = set"; then
36221   echo $ECHO_N "(cached) $ECHO_C" >&6
36222 else
36223   if test x$gcc_no_link = xyes; then
36224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36226    { (exit 1); exit 1; }; }
36227 fi
36228 cat >conftest.$ac_ext <<_ACEOF
36229 #line $LINENO "configure"
36230 /* confdefs.h.  */
36231 _ACEOF
36232 cat confdefs.h >>conftest.$ac_ext
36233 cat >>conftest.$ac_ext <<_ACEOF
36234 /* end confdefs.h.  */
36235 /* System header to define __stub macros and hopefully few prototypes,
36236     which can conflict with char $ac_func (); below.
36237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36238     <limits.h> exists even on freestanding compilers.  */
36239 #ifdef __STDC__
36240 # include <limits.h>
36241 #else
36242 # include <assert.h>
36243 #endif
36244 /* Override any gcc2 internal prototype to avoid an error.  */
36245 #ifdef __cplusplus
36246 extern "C"
36247 {
36248 #endif
36249 /* We use char because int might match the return type of a gcc2
36250    builtin and then its argument prototype would still apply.  */
36251 char $ac_func ();
36252 /* The GNU C library defines this for functions which it implements
36253     to always fail with ENOSYS.  Some functions are actually named
36254     something starting with __ and the normal name is an alias.  */
36255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36256 choke me
36257 #else
36258 char (*f) () = $ac_func;
36259 #endif
36260 #ifdef __cplusplus
36261 }
36262 #endif
36263
36264 int
36265 main ()
36266 {
36267 return f != $ac_func;
36268   ;
36269   return 0;
36270 }
36271 _ACEOF
36272 rm -f conftest.$ac_objext conftest$ac_exeext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36274   (eval $ac_link) 2>&5
36275   ac_status=$?
36276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277   (exit $ac_status); } &&
36278          { ac_try='test -s conftest$ac_exeext'
36279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280   (eval $ac_try) 2>&5
36281   ac_status=$?
36282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283   (exit $ac_status); }; }; then
36284   eval "$as_ac_var=yes"
36285 else
36286   echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36288
36289 eval "$as_ac_var=no"
36290 fi
36291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36292 fi
36293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36295 if test `eval echo '${'$as_ac_var'}'` = yes; then
36296   cat >>confdefs.h <<_ACEOF
36297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36298 _ACEOF
36299
36300 fi
36301 done
36302
36303   else
36304
36305   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36306 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36307   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36308     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36309   echo $ECHO_N "(cached) $ECHO_C" >&6
36310 else
36311
36312
36313
36314       ac_ext=cc
36315 ac_cpp='$CXXCPP $CPPFLAGS'
36316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36319
36320       cat >conftest.$ac_ext <<_ACEOF
36321 #line $LINENO "configure"
36322 /* confdefs.h.  */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h.  */
36327 #include <math.h>
36328                       #ifdef HAVE_IEEEFP_H
36329                       #include <ieeefp.h>
36330                       #endif
36331
36332 int
36333 main ()
36334 {
36335  _isnanl(0);
36336   ;
36337   return 0;
36338 }
36339 _ACEOF
36340 rm -f conftest.$ac_objext
36341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36342   (eval $ac_compile) 2>&5
36343   ac_status=$?
36344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345   (exit $ac_status); } &&
36346          { ac_try='test -s conftest.$ac_objext'
36347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36348   (eval $ac_try) 2>&5
36349   ac_status=$?
36350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351   (exit $ac_status); }; }; then
36352   glibcxx_cv_func__isnanl_use=yes
36353 else
36354   echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36356
36357 glibcxx_cv_func__isnanl_use=no
36358 fi
36359 rm -f conftest.$ac_objext conftest.$ac_ext
36360       ac_ext=c
36361 ac_cpp='$CPP $CPPFLAGS'
36362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36365
36366
36367 fi
36368
36369   fi
36370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36371 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36372
36373     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36374
36375 for ac_func in _isnanl
36376 do
36377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36378 echo "$as_me:$LINENO: checking for $ac_func" >&5
36379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36380 if eval "test \"\${$as_ac_var+set}\" = set"; then
36381   echo $ECHO_N "(cached) $ECHO_C" >&6
36382 else
36383   if test x$gcc_no_link = xyes; then
36384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36386    { (exit 1); exit 1; }; }
36387 fi
36388 cat >conftest.$ac_ext <<_ACEOF
36389 #line $LINENO "configure"
36390 /* confdefs.h.  */
36391 _ACEOF
36392 cat confdefs.h >>conftest.$ac_ext
36393 cat >>conftest.$ac_ext <<_ACEOF
36394 /* end confdefs.h.  */
36395 /* System header to define __stub macros and hopefully few prototypes,
36396     which can conflict with char $ac_func (); below.
36397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36398     <limits.h> exists even on freestanding compilers.  */
36399 #ifdef __STDC__
36400 # include <limits.h>
36401 #else
36402 # include <assert.h>
36403 #endif
36404 /* Override any gcc2 internal prototype to avoid an error.  */
36405 #ifdef __cplusplus
36406 extern "C"
36407 {
36408 #endif
36409 /* We use char because int might match the return type of a gcc2
36410    builtin and then its argument prototype would still apply.  */
36411 char $ac_func ();
36412 /* The GNU C library defines this for functions which it implements
36413     to always fail with ENOSYS.  Some functions are actually named
36414     something starting with __ and the normal name is an alias.  */
36415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36416 choke me
36417 #else
36418 char (*f) () = $ac_func;
36419 #endif
36420 #ifdef __cplusplus
36421 }
36422 #endif
36423
36424 int
36425 main ()
36426 {
36427 return f != $ac_func;
36428   ;
36429   return 0;
36430 }
36431 _ACEOF
36432 rm -f conftest.$ac_objext conftest$ac_exeext
36433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36434   (eval $ac_link) 2>&5
36435   ac_status=$?
36436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437   (exit $ac_status); } &&
36438          { ac_try='test -s conftest$ac_exeext'
36439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440   (eval $ac_try) 2>&5
36441   ac_status=$?
36442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443   (exit $ac_status); }; }; then
36444   eval "$as_ac_var=yes"
36445 else
36446   echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36448
36449 eval "$as_ac_var=no"
36450 fi
36451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36452 fi
36453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36455 if test `eval echo '${'$as_ac_var'}'` = yes; then
36456   cat >>confdefs.h <<_ACEOF
36457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36458 _ACEOF
36459
36460 fi
36461 done
36462
36463     fi
36464   fi
36465
36466
36467
36468   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36469 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36470   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36471     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36472   echo $ECHO_N "(cached) $ECHO_C" >&6
36473 else
36474
36475
36476
36477       ac_ext=cc
36478 ac_cpp='$CXXCPP $CPPFLAGS'
36479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36482
36483       cat >conftest.$ac_ext <<_ACEOF
36484 #line $LINENO "configure"
36485 /* confdefs.h.  */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h.  */
36490 #include <math.h>
36491                       #ifdef HAVE_IEEEFP_H
36492                       #include <ieeefp.h>
36493                       #endif
36494
36495 int
36496 main ()
36497 {
36498  isinfl(0);
36499   ;
36500   return 0;
36501 }
36502 _ACEOF
36503 rm -f conftest.$ac_objext
36504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36505   (eval $ac_compile) 2>&5
36506   ac_status=$?
36507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508   (exit $ac_status); } &&
36509          { ac_try='test -s conftest.$ac_objext'
36510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511   (eval $ac_try) 2>&5
36512   ac_status=$?
36513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514   (exit $ac_status); }; }; then
36515   glibcxx_cv_func_isinfl_use=yes
36516 else
36517   echo "$as_me: failed program was:" >&5
36518 sed 's/^/| /' conftest.$ac_ext >&5
36519
36520 glibcxx_cv_func_isinfl_use=no
36521 fi
36522 rm -f conftest.$ac_objext conftest.$ac_ext
36523       ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528
36529
36530 fi
36531
36532   fi
36533   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36534 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36535
36536   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36537
36538 for ac_func in isinfl
36539 do
36540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36541 echo "$as_me:$LINENO: checking for $ac_func" >&5
36542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36543 if eval "test \"\${$as_ac_var+set}\" = set"; then
36544   echo $ECHO_N "(cached) $ECHO_C" >&6
36545 else
36546   if test x$gcc_no_link = xyes; then
36547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36549    { (exit 1); exit 1; }; }
36550 fi
36551 cat >conftest.$ac_ext <<_ACEOF
36552 #line $LINENO "configure"
36553 /* confdefs.h.  */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h.  */
36558 /* System header to define __stub macros and hopefully few prototypes,
36559     which can conflict with char $ac_func (); below.
36560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36561     <limits.h> exists even on freestanding compilers.  */
36562 #ifdef __STDC__
36563 # include <limits.h>
36564 #else
36565 # include <assert.h>
36566 #endif
36567 /* Override any gcc2 internal prototype to avoid an error.  */
36568 #ifdef __cplusplus
36569 extern "C"
36570 {
36571 #endif
36572 /* We use char because int might match the return type of a gcc2
36573    builtin and then its argument prototype would still apply.  */
36574 char $ac_func ();
36575 /* The GNU C library defines this for functions which it implements
36576     to always fail with ENOSYS.  Some functions are actually named
36577     something starting with __ and the normal name is an alias.  */
36578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36579 choke me
36580 #else
36581 char (*f) () = $ac_func;
36582 #endif
36583 #ifdef __cplusplus
36584 }
36585 #endif
36586
36587 int
36588 main ()
36589 {
36590 return f != $ac_func;
36591   ;
36592   return 0;
36593 }
36594 _ACEOF
36595 rm -f conftest.$ac_objext conftest$ac_exeext
36596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36597   (eval $ac_link) 2>&5
36598   ac_status=$?
36599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600   (exit $ac_status); } &&
36601          { ac_try='test -s conftest$ac_exeext'
36602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603   (eval $ac_try) 2>&5
36604   ac_status=$?
36605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606   (exit $ac_status); }; }; then
36607   eval "$as_ac_var=yes"
36608 else
36609   echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.$ac_ext >&5
36611
36612 eval "$as_ac_var=no"
36613 fi
36614 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36615 fi
36616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36618 if test `eval echo '${'$as_ac_var'}'` = yes; then
36619   cat >>confdefs.h <<_ACEOF
36620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36621 _ACEOF
36622
36623 fi
36624 done
36625
36626   else
36627
36628   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36629 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36630   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36631     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36632   echo $ECHO_N "(cached) $ECHO_C" >&6
36633 else
36634
36635
36636
36637       ac_ext=cc
36638 ac_cpp='$CXXCPP $CPPFLAGS'
36639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36642
36643       cat >conftest.$ac_ext <<_ACEOF
36644 #line $LINENO "configure"
36645 /* confdefs.h.  */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h.  */
36650 #include <math.h>
36651                       #ifdef HAVE_IEEEFP_H
36652                       #include <ieeefp.h>
36653                       #endif
36654
36655 int
36656 main ()
36657 {
36658  _isinfl(0);
36659   ;
36660   return 0;
36661 }
36662 _ACEOF
36663 rm -f conftest.$ac_objext
36664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36665   (eval $ac_compile) 2>&5
36666   ac_status=$?
36667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668   (exit $ac_status); } &&
36669          { ac_try='test -s conftest.$ac_objext'
36670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671   (eval $ac_try) 2>&5
36672   ac_status=$?
36673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674   (exit $ac_status); }; }; then
36675   glibcxx_cv_func__isinfl_use=yes
36676 else
36677   echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.$ac_ext >&5
36679
36680 glibcxx_cv_func__isinfl_use=no
36681 fi
36682 rm -f conftest.$ac_objext conftest.$ac_ext
36683       ac_ext=c
36684 ac_cpp='$CPP $CPPFLAGS'
36685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36688
36689
36690 fi
36691
36692   fi
36693   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36694 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36695
36696     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36697
36698 for ac_func in _isinfl
36699 do
36700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36701 echo "$as_me:$LINENO: checking for $ac_func" >&5
36702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36703 if eval "test \"\${$as_ac_var+set}\" = set"; then
36704   echo $ECHO_N "(cached) $ECHO_C" >&6
36705 else
36706   if test x$gcc_no_link = xyes; then
36707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36709    { (exit 1); exit 1; }; }
36710 fi
36711 cat >conftest.$ac_ext <<_ACEOF
36712 #line $LINENO "configure"
36713 /* confdefs.h.  */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h.  */
36718 /* System header to define __stub macros and hopefully few prototypes,
36719     which can conflict with char $ac_func (); below.
36720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36721     <limits.h> exists even on freestanding compilers.  */
36722 #ifdef __STDC__
36723 # include <limits.h>
36724 #else
36725 # include <assert.h>
36726 #endif
36727 /* Override any gcc2 internal prototype to avoid an error.  */
36728 #ifdef __cplusplus
36729 extern "C"
36730 {
36731 #endif
36732 /* We use char because int might match the return type of a gcc2
36733    builtin and then its argument prototype would still apply.  */
36734 char $ac_func ();
36735 /* The GNU C library defines this for functions which it implements
36736     to always fail with ENOSYS.  Some functions are actually named
36737     something starting with __ and the normal name is an alias.  */
36738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36739 choke me
36740 #else
36741 char (*f) () = $ac_func;
36742 #endif
36743 #ifdef __cplusplus
36744 }
36745 #endif
36746
36747 int
36748 main ()
36749 {
36750 return f != $ac_func;
36751   ;
36752   return 0;
36753 }
36754 _ACEOF
36755 rm -f conftest.$ac_objext conftest$ac_exeext
36756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36757   (eval $ac_link) 2>&5
36758   ac_status=$?
36759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760   (exit $ac_status); } &&
36761          { ac_try='test -s conftest$ac_exeext'
36762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763   (eval $ac_try) 2>&5
36764   ac_status=$?
36765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766   (exit $ac_status); }; }; then
36767   eval "$as_ac_var=yes"
36768 else
36769   echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36771
36772 eval "$as_ac_var=no"
36773 fi
36774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36775 fi
36776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36778 if test `eval echo '${'$as_ac_var'}'` = yes; then
36779   cat >>confdefs.h <<_ACEOF
36780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36781 _ACEOF
36782
36783 fi
36784 done
36785
36786     fi
36787   fi
36788
36789
36790
36791   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36792 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36793   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36794     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36795   echo $ECHO_N "(cached) $ECHO_C" >&6
36796 else
36797
36798
36799
36800       ac_ext=cc
36801 ac_cpp='$CXXCPP $CPPFLAGS'
36802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36805
36806       cat >conftest.$ac_ext <<_ACEOF
36807 #line $LINENO "configure"
36808 /* confdefs.h.  */
36809 _ACEOF
36810 cat confdefs.h >>conftest.$ac_ext
36811 cat >>conftest.$ac_ext <<_ACEOF
36812 /* end confdefs.h.  */
36813 #include <math.h>
36814 int
36815 main ()
36816 {
36817  copysignl(0, 0);
36818   ;
36819   return 0;
36820 }
36821 _ACEOF
36822 rm -f conftest.$ac_objext
36823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36824   (eval $ac_compile) 2>&5
36825   ac_status=$?
36826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827   (exit $ac_status); } &&
36828          { ac_try='test -s conftest.$ac_objext'
36829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830   (eval $ac_try) 2>&5
36831   ac_status=$?
36832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833   (exit $ac_status); }; }; then
36834   glibcxx_cv_func_copysignl_use=yes
36835 else
36836   echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36838
36839 glibcxx_cv_func_copysignl_use=no
36840 fi
36841 rm -f conftest.$ac_objext conftest.$ac_ext
36842       ac_ext=c
36843 ac_cpp='$CPP $CPPFLAGS'
36844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36847
36848
36849 fi
36850
36851   fi
36852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36853 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36854
36855   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36856
36857 for ac_func in copysignl
36858 do
36859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36860 echo "$as_me:$LINENO: checking for $ac_func" >&5
36861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36862 if eval "test \"\${$as_ac_var+set}\" = set"; then
36863   echo $ECHO_N "(cached) $ECHO_C" >&6
36864 else
36865   if test x$gcc_no_link = xyes; then
36866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36868    { (exit 1); exit 1; }; }
36869 fi
36870 cat >conftest.$ac_ext <<_ACEOF
36871 #line $LINENO "configure"
36872 /* confdefs.h.  */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h.  */
36877 /* System header to define __stub macros and hopefully few prototypes,
36878     which can conflict with char $ac_func (); below.
36879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36880     <limits.h> exists even on freestanding compilers.  */
36881 #ifdef __STDC__
36882 # include <limits.h>
36883 #else
36884 # include <assert.h>
36885 #endif
36886 /* Override any gcc2 internal prototype to avoid an error.  */
36887 #ifdef __cplusplus
36888 extern "C"
36889 {
36890 #endif
36891 /* We use char because int might match the return type of a gcc2
36892    builtin and then its argument prototype would still apply.  */
36893 char $ac_func ();
36894 /* The GNU C library defines this for functions which it implements
36895     to always fail with ENOSYS.  Some functions are actually named
36896     something starting with __ and the normal name is an alias.  */
36897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36898 choke me
36899 #else
36900 char (*f) () = $ac_func;
36901 #endif
36902 #ifdef __cplusplus
36903 }
36904 #endif
36905
36906 int
36907 main ()
36908 {
36909 return f != $ac_func;
36910   ;
36911   return 0;
36912 }
36913 _ACEOF
36914 rm -f conftest.$ac_objext conftest$ac_exeext
36915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36916   (eval $ac_link) 2>&5
36917   ac_status=$?
36918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919   (exit $ac_status); } &&
36920          { ac_try='test -s conftest$ac_exeext'
36921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922   (eval $ac_try) 2>&5
36923   ac_status=$?
36924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925   (exit $ac_status); }; }; then
36926   eval "$as_ac_var=yes"
36927 else
36928   echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.$ac_ext >&5
36930
36931 eval "$as_ac_var=no"
36932 fi
36933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36934 fi
36935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36937 if test `eval echo '${'$as_ac_var'}'` = yes; then
36938   cat >>confdefs.h <<_ACEOF
36939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36940 _ACEOF
36941
36942 fi
36943 done
36944
36945   else
36946
36947   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
36948 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
36949   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
36950     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
36951   echo $ECHO_N "(cached) $ECHO_C" >&6
36952 else
36953
36954
36955
36956       ac_ext=cc
36957 ac_cpp='$CXXCPP $CPPFLAGS'
36958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36961
36962       cat >conftest.$ac_ext <<_ACEOF
36963 #line $LINENO "configure"
36964 /* confdefs.h.  */
36965 _ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h.  */
36969 #include <math.h>
36970 int
36971 main ()
36972 {
36973  _copysignl(0, 0);
36974   ;
36975   return 0;
36976 }
36977 _ACEOF
36978 rm -f conftest.$ac_objext
36979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36980   (eval $ac_compile) 2>&5
36981   ac_status=$?
36982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36983   (exit $ac_status); } &&
36984          { ac_try='test -s conftest.$ac_objext'
36985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36986   (eval $ac_try) 2>&5
36987   ac_status=$?
36988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36989   (exit $ac_status); }; }; then
36990   glibcxx_cv_func__copysignl_use=yes
36991 else
36992   echo "$as_me: failed program was:" >&5
36993 sed 's/^/| /' conftest.$ac_ext >&5
36994
36995 glibcxx_cv_func__copysignl_use=no
36996 fi
36997 rm -f conftest.$ac_objext conftest.$ac_ext
36998       ac_ext=c
36999 ac_cpp='$CPP $CPPFLAGS'
37000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37003
37004
37005 fi
37006
37007   fi
37008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
37009 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37010
37011     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37012
37013 for ac_func in _copysignl
37014 do
37015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37016 echo "$as_me:$LINENO: checking for $ac_func" >&5
37017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37018 if eval "test \"\${$as_ac_var+set}\" = set"; then
37019   echo $ECHO_N "(cached) $ECHO_C" >&6
37020 else
37021   if test x$gcc_no_link = xyes; then
37022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37024    { (exit 1); exit 1; }; }
37025 fi
37026 cat >conftest.$ac_ext <<_ACEOF
37027 #line $LINENO "configure"
37028 /* confdefs.h.  */
37029 _ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h.  */
37033 /* System header to define __stub macros and hopefully few prototypes,
37034     which can conflict with char $ac_func (); below.
37035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37036     <limits.h> exists even on freestanding compilers.  */
37037 #ifdef __STDC__
37038 # include <limits.h>
37039 #else
37040 # include <assert.h>
37041 #endif
37042 /* Override any gcc2 internal prototype to avoid an error.  */
37043 #ifdef __cplusplus
37044 extern "C"
37045 {
37046 #endif
37047 /* We use char because int might match the return type of a gcc2
37048    builtin and then its argument prototype would still apply.  */
37049 char $ac_func ();
37050 /* The GNU C library defines this for functions which it implements
37051     to always fail with ENOSYS.  Some functions are actually named
37052     something starting with __ and the normal name is an alias.  */
37053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37054 choke me
37055 #else
37056 char (*f) () = $ac_func;
37057 #endif
37058 #ifdef __cplusplus
37059 }
37060 #endif
37061
37062 int
37063 main ()
37064 {
37065 return f != $ac_func;
37066   ;
37067   return 0;
37068 }
37069 _ACEOF
37070 rm -f conftest.$ac_objext conftest$ac_exeext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37072   (eval $ac_link) 2>&5
37073   ac_status=$?
37074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075   (exit $ac_status); } &&
37076          { ac_try='test -s conftest$ac_exeext'
37077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078   (eval $ac_try) 2>&5
37079   ac_status=$?
37080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081   (exit $ac_status); }; }; then
37082   eval "$as_ac_var=yes"
37083 else
37084   echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37086
37087 eval "$as_ac_var=no"
37088 fi
37089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37090 fi
37091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37093 if test `eval echo '${'$as_ac_var'}'` = yes; then
37094   cat >>confdefs.h <<_ACEOF
37095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37096 _ACEOF
37097
37098 fi
37099 done
37100
37101     fi
37102   fi
37103
37104
37105
37106   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37107 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37108   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37109     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37110   echo $ECHO_N "(cached) $ECHO_C" >&6
37111 else
37112
37113
37114
37115       ac_ext=cc
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37120
37121       cat >conftest.$ac_ext <<_ACEOF
37122 #line $LINENO "configure"
37123 /* confdefs.h.  */
37124 _ACEOF
37125 cat confdefs.h >>conftest.$ac_ext
37126 cat >>conftest.$ac_ext <<_ACEOF
37127 /* end confdefs.h.  */
37128 #include <math.h>
37129 int
37130 main ()
37131 {
37132  atan2l(0, 0);
37133   ;
37134   return 0;
37135 }
37136 _ACEOF
37137 rm -f conftest.$ac_objext
37138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37139   (eval $ac_compile) 2>&5
37140   ac_status=$?
37141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37142   (exit $ac_status); } &&
37143          { ac_try='test -s conftest.$ac_objext'
37144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145   (eval $ac_try) 2>&5
37146   ac_status=$?
37147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148   (exit $ac_status); }; }; then
37149   glibcxx_cv_func_atan2l_use=yes
37150 else
37151   echo "$as_me: failed program was:" >&5
37152 sed 's/^/| /' conftest.$ac_ext >&5
37153
37154 glibcxx_cv_func_atan2l_use=no
37155 fi
37156 rm -f conftest.$ac_objext conftest.$ac_ext
37157       ac_ext=c
37158 ac_cpp='$CPP $CPPFLAGS'
37159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37162
37163
37164 fi
37165
37166   fi
37167   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37168 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37169
37170   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37171
37172 for ac_func in atan2l
37173 do
37174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37175 echo "$as_me:$LINENO: checking for $ac_func" >&5
37176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37177 if eval "test \"\${$as_ac_var+set}\" = set"; then
37178   echo $ECHO_N "(cached) $ECHO_C" >&6
37179 else
37180   if test x$gcc_no_link = xyes; then
37181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37183    { (exit 1); exit 1; }; }
37184 fi
37185 cat >conftest.$ac_ext <<_ACEOF
37186 #line $LINENO "configure"
37187 /* confdefs.h.  */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h.  */
37192 /* System header to define __stub macros and hopefully few prototypes,
37193     which can conflict with char $ac_func (); below.
37194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37195     <limits.h> exists even on freestanding compilers.  */
37196 #ifdef __STDC__
37197 # include <limits.h>
37198 #else
37199 # include <assert.h>
37200 #endif
37201 /* Override any gcc2 internal prototype to avoid an error.  */
37202 #ifdef __cplusplus
37203 extern "C"
37204 {
37205 #endif
37206 /* We use char because int might match the return type of a gcc2
37207    builtin and then its argument prototype would still apply.  */
37208 char $ac_func ();
37209 /* The GNU C library defines this for functions which it implements
37210     to always fail with ENOSYS.  Some functions are actually named
37211     something starting with __ and the normal name is an alias.  */
37212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37213 choke me
37214 #else
37215 char (*f) () = $ac_func;
37216 #endif
37217 #ifdef __cplusplus
37218 }
37219 #endif
37220
37221 int
37222 main ()
37223 {
37224 return f != $ac_func;
37225   ;
37226   return 0;
37227 }
37228 _ACEOF
37229 rm -f conftest.$ac_objext conftest$ac_exeext
37230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37231   (eval $ac_link) 2>&5
37232   ac_status=$?
37233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234   (exit $ac_status); } &&
37235          { ac_try='test -s conftest$ac_exeext'
37236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37237   (eval $ac_try) 2>&5
37238   ac_status=$?
37239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240   (exit $ac_status); }; }; then
37241   eval "$as_ac_var=yes"
37242 else
37243   echo "$as_me: failed program was:" >&5
37244 sed 's/^/| /' conftest.$ac_ext >&5
37245
37246 eval "$as_ac_var=no"
37247 fi
37248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37249 fi
37250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37252 if test `eval echo '${'$as_ac_var'}'` = yes; then
37253   cat >>confdefs.h <<_ACEOF
37254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37255 _ACEOF
37256
37257 fi
37258 done
37259
37260   else
37261
37262   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37263 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37264   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37265     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37266   echo $ECHO_N "(cached) $ECHO_C" >&6
37267 else
37268
37269
37270
37271       ac_ext=cc
37272 ac_cpp='$CXXCPP $CPPFLAGS'
37273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37276
37277       cat >conftest.$ac_ext <<_ACEOF
37278 #line $LINENO "configure"
37279 /* confdefs.h.  */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h.  */
37284 #include <math.h>
37285 int
37286 main ()
37287 {
37288  _atan2l(0, 0);
37289   ;
37290   return 0;
37291 }
37292 _ACEOF
37293 rm -f conftest.$ac_objext
37294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37295   (eval $ac_compile) 2>&5
37296   ac_status=$?
37297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298   (exit $ac_status); } &&
37299          { ac_try='test -s conftest.$ac_objext'
37300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37301   (eval $ac_try) 2>&5
37302   ac_status=$?
37303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304   (exit $ac_status); }; }; then
37305   glibcxx_cv_func__atan2l_use=yes
37306 else
37307   echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37309
37310 glibcxx_cv_func__atan2l_use=no
37311 fi
37312 rm -f conftest.$ac_objext conftest.$ac_ext
37313       ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322   fi
37323   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37324 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37325
37326     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37327
37328 for ac_func in _atan2l
37329 do
37330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37331 echo "$as_me:$LINENO: checking for $ac_func" >&5
37332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37333 if eval "test \"\${$as_ac_var+set}\" = set"; then
37334   echo $ECHO_N "(cached) $ECHO_C" >&6
37335 else
37336   if test x$gcc_no_link = xyes; then
37337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37339    { (exit 1); exit 1; }; }
37340 fi
37341 cat >conftest.$ac_ext <<_ACEOF
37342 #line $LINENO "configure"
37343 /* confdefs.h.  */
37344 _ACEOF
37345 cat confdefs.h >>conftest.$ac_ext
37346 cat >>conftest.$ac_ext <<_ACEOF
37347 /* end confdefs.h.  */
37348 /* System header to define __stub macros and hopefully few prototypes,
37349     which can conflict with char $ac_func (); below.
37350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37351     <limits.h> exists even on freestanding compilers.  */
37352 #ifdef __STDC__
37353 # include <limits.h>
37354 #else
37355 # include <assert.h>
37356 #endif
37357 /* Override any gcc2 internal prototype to avoid an error.  */
37358 #ifdef __cplusplus
37359 extern "C"
37360 {
37361 #endif
37362 /* We use char because int might match the return type of a gcc2
37363    builtin and then its argument prototype would still apply.  */
37364 char $ac_func ();
37365 /* The GNU C library defines this for functions which it implements
37366     to always fail with ENOSYS.  Some functions are actually named
37367     something starting with __ and the normal name is an alias.  */
37368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37369 choke me
37370 #else
37371 char (*f) () = $ac_func;
37372 #endif
37373 #ifdef __cplusplus
37374 }
37375 #endif
37376
37377 int
37378 main ()
37379 {
37380 return f != $ac_func;
37381   ;
37382   return 0;
37383 }
37384 _ACEOF
37385 rm -f conftest.$ac_objext conftest$ac_exeext
37386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37387   (eval $ac_link) 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.$ac_objext conftest$ac_exeext conftest.$ac_ext
37405 fi
37406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37408 if test `eval echo '${'$as_ac_var'}'` = yes; then
37409   cat >>confdefs.h <<_ACEOF
37410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37411 _ACEOF
37412
37413 fi
37414 done
37415
37416     fi
37417   fi
37418
37419
37420
37421   echo "$as_me:$LINENO: checking for expl declaration" >&5
37422 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37423   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37424     if test "${glibcxx_cv_func_expl_use+set}" = set; then
37425   echo $ECHO_N "(cached) $ECHO_C" >&6
37426 else
37427
37428
37429
37430       ac_ext=cc
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37435
37436       cat >conftest.$ac_ext <<_ACEOF
37437 #line $LINENO "configure"
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                       #ifdef HAVE_IEEEFP_H
37445                       #include <ieeefp.h>
37446                       #endif
37447
37448 int
37449 main ()
37450 {
37451  expl(0);
37452   ;
37453   return 0;
37454 }
37455 _ACEOF
37456 rm -f conftest.$ac_objext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37458   (eval $ac_compile) 2>&5
37459   ac_status=$?
37460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461   (exit $ac_status); } &&
37462          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37468   glibcxx_cv_func_expl_use=yes
37469 else
37470   echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37472
37473 glibcxx_cv_func_expl_use=no
37474 fi
37475 rm -f conftest.$ac_objext conftest.$ac_ext
37476       ac_ext=c
37477 ac_cpp='$CPP $CPPFLAGS'
37478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37481
37482
37483 fi
37484
37485   fi
37486   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37487 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37488
37489   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37490
37491 for ac_func in expl
37492 do
37493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37494 echo "$as_me:$LINENO: checking for $ac_func" >&5
37495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37496 if eval "test \"\${$as_ac_var+set}\" = set"; then
37497   echo $ECHO_N "(cached) $ECHO_C" >&6
37498 else
37499   if test x$gcc_no_link = xyes; then
37500   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37502    { (exit 1); exit 1; }; }
37503 fi
37504 cat >conftest.$ac_ext <<_ACEOF
37505 #line $LINENO "configure"
37506 /* confdefs.h.  */
37507 _ACEOF
37508 cat confdefs.h >>conftest.$ac_ext
37509 cat >>conftest.$ac_ext <<_ACEOF
37510 /* end confdefs.h.  */
37511 /* System header to define __stub macros and hopefully few prototypes,
37512     which can conflict with char $ac_func (); below.
37513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37514     <limits.h> exists even on freestanding compilers.  */
37515 #ifdef __STDC__
37516 # include <limits.h>
37517 #else
37518 # include <assert.h>
37519 #endif
37520 /* Override any gcc2 internal prototype to avoid an error.  */
37521 #ifdef __cplusplus
37522 extern "C"
37523 {
37524 #endif
37525 /* We use char because int might match the return type of a gcc2
37526    builtin and then its argument prototype would still apply.  */
37527 char $ac_func ();
37528 /* The GNU C library defines this for functions which it implements
37529     to always fail with ENOSYS.  Some functions are actually named
37530     something starting with __ and the normal name is an alias.  */
37531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37532 choke me
37533 #else
37534 char (*f) () = $ac_func;
37535 #endif
37536 #ifdef __cplusplus
37537 }
37538 #endif
37539
37540 int
37541 main ()
37542 {
37543 return f != $ac_func;
37544   ;
37545   return 0;
37546 }
37547 _ACEOF
37548 rm -f conftest.$ac_objext conftest$ac_exeext
37549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37550   (eval $ac_link) 2>&5
37551   ac_status=$?
37552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553   (exit $ac_status); } &&
37554          { ac_try='test -s conftest$ac_exeext'
37555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556   (eval $ac_try) 2>&5
37557   ac_status=$?
37558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559   (exit $ac_status); }; }; then
37560   eval "$as_ac_var=yes"
37561 else
37562   echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37564
37565 eval "$as_ac_var=no"
37566 fi
37567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37568 fi
37569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37571 if test `eval echo '${'$as_ac_var'}'` = yes; then
37572   cat >>confdefs.h <<_ACEOF
37573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37574 _ACEOF
37575
37576 fi
37577 done
37578
37579   else
37580
37581   echo "$as_me:$LINENO: checking for _expl declaration" >&5
37582 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37583   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37584     if test "${glibcxx_cv_func__expl_use+set}" = set; then
37585   echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588
37589
37590       ac_ext=cc
37591 ac_cpp='$CXXCPP $CPPFLAGS'
37592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37595
37596       cat >conftest.$ac_ext <<_ACEOF
37597 #line $LINENO "configure"
37598 /* confdefs.h.  */
37599 _ACEOF
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h.  */
37603 #include <math.h>
37604                       #ifdef HAVE_IEEEFP_H
37605                       #include <ieeefp.h>
37606                       #endif
37607
37608 int
37609 main ()
37610 {
37611  _expl(0);
37612   ;
37613   return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618   (eval $ac_compile) 2>&5
37619   ac_status=$?
37620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621   (exit $ac_status); } &&
37622          { ac_try='test -s conftest.$ac_objext'
37623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624   (eval $ac_try) 2>&5
37625   ac_status=$?
37626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627   (exit $ac_status); }; }; then
37628   glibcxx_cv_func__expl_use=yes
37629 else
37630   echo "$as_me: failed program was:" >&5
37631 sed 's/^/| /' conftest.$ac_ext >&5
37632
37633 glibcxx_cv_func__expl_use=no
37634 fi
37635 rm -f conftest.$ac_objext conftest.$ac_ext
37636       ac_ext=c
37637 ac_cpp='$CPP $CPPFLAGS'
37638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37641
37642
37643 fi
37644
37645   fi
37646   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37647 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37648
37649     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37650
37651 for ac_func in _expl
37652 do
37653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 echo "$as_me:$LINENO: checking for $ac_func" >&5
37655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37656 if eval "test \"\${$as_ac_var+set}\" = set"; then
37657   echo $ECHO_N "(cached) $ECHO_C" >&6
37658 else
37659   if test x$gcc_no_link = xyes; then
37660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37662    { (exit 1); exit 1; }; }
37663 fi
37664 cat >conftest.$ac_ext <<_ACEOF
37665 #line $LINENO "configure"
37666 /* confdefs.h.  */
37667 _ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h.  */
37671 /* System header to define __stub macros and hopefully few prototypes,
37672     which can conflict with char $ac_func (); below.
37673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37674     <limits.h> exists even on freestanding compilers.  */
37675 #ifdef __STDC__
37676 # include <limits.h>
37677 #else
37678 # include <assert.h>
37679 #endif
37680 /* Override any gcc2 internal prototype to avoid an error.  */
37681 #ifdef __cplusplus
37682 extern "C"
37683 {
37684 #endif
37685 /* We use char because int might match the return type of a gcc2
37686    builtin and then its argument prototype would still apply.  */
37687 char $ac_func ();
37688 /* The GNU C library defines this for functions which it implements
37689     to always fail with ENOSYS.  Some functions are actually named
37690     something starting with __ and the normal name is an alias.  */
37691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37692 choke me
37693 #else
37694 char (*f) () = $ac_func;
37695 #endif
37696 #ifdef __cplusplus
37697 }
37698 #endif
37699
37700 int
37701 main ()
37702 {
37703 return f != $ac_func;
37704   ;
37705   return 0;
37706 }
37707 _ACEOF
37708 rm -f conftest.$ac_objext conftest$ac_exeext
37709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37710   (eval $ac_link) 2>&5
37711   ac_status=$?
37712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713   (exit $ac_status); } &&
37714          { ac_try='test -s conftest$ac_exeext'
37715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37716   (eval $ac_try) 2>&5
37717   ac_status=$?
37718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719   (exit $ac_status); }; }; then
37720   eval "$as_ac_var=yes"
37721 else
37722   echo "$as_me: failed program was:" >&5
37723 sed 's/^/| /' conftest.$ac_ext >&5
37724
37725 eval "$as_ac_var=no"
37726 fi
37727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37728 fi
37729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37731 if test `eval echo '${'$as_ac_var'}'` = yes; then
37732   cat >>confdefs.h <<_ACEOF
37733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37734 _ACEOF
37735
37736 fi
37737 done
37738
37739     fi
37740   fi
37741
37742
37743
37744   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37745 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37746   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37747     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37748   echo $ECHO_N "(cached) $ECHO_C" >&6
37749 else
37750
37751
37752
37753       ac_ext=cc
37754 ac_cpp='$CXXCPP $CPPFLAGS'
37755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37758
37759       cat >conftest.$ac_ext <<_ACEOF
37760 #line $LINENO "configure"
37761 /* confdefs.h.  */
37762 _ACEOF
37763 cat confdefs.h >>conftest.$ac_ext
37764 cat >>conftest.$ac_ext <<_ACEOF
37765 /* end confdefs.h.  */
37766 #include <math.h>
37767                       #ifdef HAVE_IEEEFP_H
37768                       #include <ieeefp.h>
37769                       #endif
37770
37771 int
37772 main ()
37773 {
37774  fabsl(0);
37775   ;
37776   return 0;
37777 }
37778 _ACEOF
37779 rm -f conftest.$ac_objext
37780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37781   (eval $ac_compile) 2>&5
37782   ac_status=$?
37783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784   (exit $ac_status); } &&
37785          { ac_try='test -s conftest.$ac_objext'
37786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37787   (eval $ac_try) 2>&5
37788   ac_status=$?
37789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790   (exit $ac_status); }; }; then
37791   glibcxx_cv_func_fabsl_use=yes
37792 else
37793   echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.$ac_ext >&5
37795
37796 glibcxx_cv_func_fabsl_use=no
37797 fi
37798 rm -f conftest.$ac_objext conftest.$ac_ext
37799       ac_ext=c
37800 ac_cpp='$CPP $CPPFLAGS'
37801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37804
37805
37806 fi
37807
37808   fi
37809   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37810 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37811
37812   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37813
37814 for ac_func in fabsl
37815 do
37816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37817 echo "$as_me:$LINENO: checking for $ac_func" >&5
37818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37819 if eval "test \"\${$as_ac_var+set}\" = set"; then
37820   echo $ECHO_N "(cached) $ECHO_C" >&6
37821 else
37822   if test x$gcc_no_link = xyes; then
37823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37825    { (exit 1); exit 1; }; }
37826 fi
37827 cat >conftest.$ac_ext <<_ACEOF
37828 #line $LINENO "configure"
37829 /* confdefs.h.  */
37830 _ACEOF
37831 cat confdefs.h >>conftest.$ac_ext
37832 cat >>conftest.$ac_ext <<_ACEOF
37833 /* end confdefs.h.  */
37834 /* System header to define __stub macros and hopefully few prototypes,
37835     which can conflict with char $ac_func (); below.
37836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837     <limits.h> exists even on freestanding compilers.  */
37838 #ifdef __STDC__
37839 # include <limits.h>
37840 #else
37841 # include <assert.h>
37842 #endif
37843 /* Override any gcc2 internal prototype to avoid an error.  */
37844 #ifdef __cplusplus
37845 extern "C"
37846 {
37847 #endif
37848 /* We use char because int might match the return type of a gcc2
37849    builtin and then its argument prototype would still apply.  */
37850 char $ac_func ();
37851 /* The GNU C library defines this for functions which it implements
37852     to always fail with ENOSYS.  Some functions are actually named
37853     something starting with __ and the normal name is an alias.  */
37854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37855 choke me
37856 #else
37857 char (*f) () = $ac_func;
37858 #endif
37859 #ifdef __cplusplus
37860 }
37861 #endif
37862
37863 int
37864 main ()
37865 {
37866 return f != $ac_func;
37867   ;
37868   return 0;
37869 }
37870 _ACEOF
37871 rm -f conftest.$ac_objext conftest$ac_exeext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37873   (eval $ac_link) 2>&5
37874   ac_status=$?
37875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876   (exit $ac_status); } &&
37877          { ac_try='test -s conftest$ac_exeext'
37878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879   (eval $ac_try) 2>&5
37880   ac_status=$?
37881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882   (exit $ac_status); }; }; then
37883   eval "$as_ac_var=yes"
37884 else
37885   echo "$as_me: failed program was:" >&5
37886 sed 's/^/| /' conftest.$ac_ext >&5
37887
37888 eval "$as_ac_var=no"
37889 fi
37890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37891 fi
37892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37894 if test `eval echo '${'$as_ac_var'}'` = yes; then
37895   cat >>confdefs.h <<_ACEOF
37896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37897 _ACEOF
37898
37899 fi
37900 done
37901
37902   else
37903
37904   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
37905 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
37906   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37907     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
37908   echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
37910
37911
37912
37913       ac_ext=cc
37914 ac_cpp='$CXXCPP $CPPFLAGS'
37915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37918
37919       cat >conftest.$ac_ext <<_ACEOF
37920 #line $LINENO "configure"
37921 /* confdefs.h.  */
37922 _ACEOF
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h.  */
37926 #include <math.h>
37927                       #ifdef HAVE_IEEEFP_H
37928                       #include <ieeefp.h>
37929                       #endif
37930
37931 int
37932 main ()
37933 {
37934  _fabsl(0);
37935   ;
37936   return 0;
37937 }
37938 _ACEOF
37939 rm -f conftest.$ac_objext
37940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37941   (eval $ac_compile) 2>&5
37942   ac_status=$?
37943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944   (exit $ac_status); } &&
37945          { ac_try='test -s conftest.$ac_objext'
37946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37947   (eval $ac_try) 2>&5
37948   ac_status=$?
37949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950   (exit $ac_status); }; }; then
37951   glibcxx_cv_func__fabsl_use=yes
37952 else
37953   echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37955
37956 glibcxx_cv_func__fabsl_use=no
37957 fi
37958 rm -f conftest.$ac_objext conftest.$ac_ext
37959       ac_ext=c
37960 ac_cpp='$CPP $CPPFLAGS'
37961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37964
37965
37966 fi
37967
37968   fi
37969   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
37970 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
37971
37972     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37973
37974 for ac_func in _fabsl
37975 do
37976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37977 echo "$as_me:$LINENO: checking for $ac_func" >&5
37978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37979 if eval "test \"\${$as_ac_var+set}\" = set"; then
37980   echo $ECHO_N "(cached) $ECHO_C" >&6
37981 else
37982   if test x$gcc_no_link = xyes; then
37983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37985    { (exit 1); exit 1; }; }
37986 fi
37987 cat >conftest.$ac_ext <<_ACEOF
37988 #line $LINENO "configure"
37989 /* confdefs.h.  */
37990 _ACEOF
37991 cat confdefs.h >>conftest.$ac_ext
37992 cat >>conftest.$ac_ext <<_ACEOF
37993 /* end confdefs.h.  */
37994 /* System header to define __stub macros and hopefully few prototypes,
37995     which can conflict with char $ac_func (); below.
37996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997     <limits.h> exists even on freestanding compilers.  */
37998 #ifdef __STDC__
37999 # include <limits.h>
38000 #else
38001 # include <assert.h>
38002 #endif
38003 /* Override any gcc2 internal prototype to avoid an error.  */
38004 #ifdef __cplusplus
38005 extern "C"
38006 {
38007 #endif
38008 /* We use char because int might match the return type of a gcc2
38009    builtin and then its argument prototype would still apply.  */
38010 char $ac_func ();
38011 /* The GNU C library defines this for functions which it implements
38012     to always fail with ENOSYS.  Some functions are actually named
38013     something starting with __ and the normal name is an alias.  */
38014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38015 choke me
38016 #else
38017 char (*f) () = $ac_func;
38018 #endif
38019 #ifdef __cplusplus
38020 }
38021 #endif
38022
38023 int
38024 main ()
38025 {
38026 return f != $ac_func;
38027   ;
38028   return 0;
38029 }
38030 _ACEOF
38031 rm -f conftest.$ac_objext conftest$ac_exeext
38032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38033   (eval $ac_link) 2>&5
38034   ac_status=$?
38035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036   (exit $ac_status); } &&
38037          { ac_try='test -s conftest$ac_exeext'
38038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039   (eval $ac_try) 2>&5
38040   ac_status=$?
38041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042   (exit $ac_status); }; }; then
38043   eval "$as_ac_var=yes"
38044 else
38045   echo "$as_me: failed program was:" >&5
38046 sed 's/^/| /' conftest.$ac_ext >&5
38047
38048 eval "$as_ac_var=no"
38049 fi
38050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38051 fi
38052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38054 if test `eval echo '${'$as_ac_var'}'` = yes; then
38055   cat >>confdefs.h <<_ACEOF
38056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38057 _ACEOF
38058
38059 fi
38060 done
38061
38062     fi
38063   fi
38064
38065
38066
38067   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38068 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38069   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38070     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38071   echo $ECHO_N "(cached) $ECHO_C" >&6
38072 else
38073
38074
38075
38076       ac_ext=cc
38077 ac_cpp='$CXXCPP $CPPFLAGS'
38078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38081
38082       cat >conftest.$ac_ext <<_ACEOF
38083 #line $LINENO "configure"
38084 /* confdefs.h.  */
38085 _ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h.  */
38089 #include <math.h>
38090 int
38091 main ()
38092 {
38093  fmodl(0, 0);
38094   ;
38095   return 0;
38096 }
38097 _ACEOF
38098 rm -f conftest.$ac_objext
38099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38100   (eval $ac_compile) 2>&5
38101   ac_status=$?
38102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103   (exit $ac_status); } &&
38104          { ac_try='test -s conftest.$ac_objext'
38105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38106   (eval $ac_try) 2>&5
38107   ac_status=$?
38108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109   (exit $ac_status); }; }; then
38110   glibcxx_cv_func_fmodl_use=yes
38111 else
38112   echo "$as_me: failed program was:" >&5
38113 sed 's/^/| /' conftest.$ac_ext >&5
38114
38115 glibcxx_cv_func_fmodl_use=no
38116 fi
38117 rm -f conftest.$ac_objext conftest.$ac_ext
38118       ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38123
38124
38125 fi
38126
38127   fi
38128   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38129 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38130
38131   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38132
38133 for ac_func in fmodl
38134 do
38135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38136 echo "$as_me:$LINENO: checking for $ac_func" >&5
38137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38138 if eval "test \"\${$as_ac_var+set}\" = set"; then
38139   echo $ECHO_N "(cached) $ECHO_C" >&6
38140 else
38141   if test x$gcc_no_link = xyes; then
38142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38144    { (exit 1); exit 1; }; }
38145 fi
38146 cat >conftest.$ac_ext <<_ACEOF
38147 #line $LINENO "configure"
38148 /* confdefs.h.  */
38149 _ACEOF
38150 cat confdefs.h >>conftest.$ac_ext
38151 cat >>conftest.$ac_ext <<_ACEOF
38152 /* end confdefs.h.  */
38153 /* System header to define __stub macros and hopefully few prototypes,
38154     which can conflict with char $ac_func (); below.
38155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38156     <limits.h> exists even on freestanding compilers.  */
38157 #ifdef __STDC__
38158 # include <limits.h>
38159 #else
38160 # include <assert.h>
38161 #endif
38162 /* Override any gcc2 internal prototype to avoid an error.  */
38163 #ifdef __cplusplus
38164 extern "C"
38165 {
38166 #endif
38167 /* We use char because int might match the return type of a gcc2
38168    builtin and then its argument prototype would still apply.  */
38169 char $ac_func ();
38170 /* The GNU C library defines this for functions which it implements
38171     to always fail with ENOSYS.  Some functions are actually named
38172     something starting with __ and the normal name is an alias.  */
38173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38174 choke me
38175 #else
38176 char (*f) () = $ac_func;
38177 #endif
38178 #ifdef __cplusplus
38179 }
38180 #endif
38181
38182 int
38183 main ()
38184 {
38185 return f != $ac_func;
38186   ;
38187   return 0;
38188 }
38189 _ACEOF
38190 rm -f conftest.$ac_objext conftest$ac_exeext
38191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38192   (eval $ac_link) 2>&5
38193   ac_status=$?
38194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195   (exit $ac_status); } &&
38196          { ac_try='test -s conftest$ac_exeext'
38197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38198   (eval $ac_try) 2>&5
38199   ac_status=$?
38200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201   (exit $ac_status); }; }; then
38202   eval "$as_ac_var=yes"
38203 else
38204   echo "$as_me: failed program was:" >&5
38205 sed 's/^/| /' conftest.$ac_ext >&5
38206
38207 eval "$as_ac_var=no"
38208 fi
38209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38210 fi
38211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38213 if test `eval echo '${'$as_ac_var'}'` = yes; then
38214   cat >>confdefs.h <<_ACEOF
38215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38216 _ACEOF
38217
38218 fi
38219 done
38220
38221   else
38222
38223   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38224 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38225   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38226     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38227   echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229
38230
38231
38232       ac_ext=cc
38233 ac_cpp='$CXXCPP $CPPFLAGS'
38234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38237
38238       cat >conftest.$ac_ext <<_ACEOF
38239 #line $LINENO "configure"
38240 /* confdefs.h.  */
38241 _ACEOF
38242 cat confdefs.h >>conftest.$ac_ext
38243 cat >>conftest.$ac_ext <<_ACEOF
38244 /* end confdefs.h.  */
38245 #include <math.h>
38246 int
38247 main ()
38248 {
38249  _fmodl(0, 0);
38250   ;
38251   return 0;
38252 }
38253 _ACEOF
38254 rm -f conftest.$ac_objext
38255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38256   (eval $ac_compile) 2>&5
38257   ac_status=$?
38258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259   (exit $ac_status); } &&
38260          { ac_try='test -s conftest.$ac_objext'
38261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262   (eval $ac_try) 2>&5
38263   ac_status=$?
38264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265   (exit $ac_status); }; }; then
38266   glibcxx_cv_func__fmodl_use=yes
38267 else
38268   echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38270
38271 glibcxx_cv_func__fmodl_use=no
38272 fi
38273 rm -f conftest.$ac_objext conftest.$ac_ext
38274       ac_ext=c
38275 ac_cpp='$CPP $CPPFLAGS'
38276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38279
38280
38281 fi
38282
38283   fi
38284   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38285 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38286
38287     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38288
38289 for ac_func in _fmodl
38290 do
38291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38292 echo "$as_me:$LINENO: checking for $ac_func" >&5
38293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38294 if eval "test \"\${$as_ac_var+set}\" = set"; then
38295   echo $ECHO_N "(cached) $ECHO_C" >&6
38296 else
38297   if test x$gcc_no_link = xyes; then
38298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38300    { (exit 1); exit 1; }; }
38301 fi
38302 cat >conftest.$ac_ext <<_ACEOF
38303 #line $LINENO "configure"
38304 /* confdefs.h.  */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h.  */
38309 /* System header to define __stub macros and hopefully few prototypes,
38310     which can conflict with char $ac_func (); below.
38311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38312     <limits.h> exists even on freestanding compilers.  */
38313 #ifdef __STDC__
38314 # include <limits.h>
38315 #else
38316 # include <assert.h>
38317 #endif
38318 /* Override any gcc2 internal prototype to avoid an error.  */
38319 #ifdef __cplusplus
38320 extern "C"
38321 {
38322 #endif
38323 /* We use char because int might match the return type of a gcc2
38324    builtin and then its argument prototype would still apply.  */
38325 char $ac_func ();
38326 /* The GNU C library defines this for functions which it implements
38327     to always fail with ENOSYS.  Some functions are actually named
38328     something starting with __ and the normal name is an alias.  */
38329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38330 choke me
38331 #else
38332 char (*f) () = $ac_func;
38333 #endif
38334 #ifdef __cplusplus
38335 }
38336 #endif
38337
38338 int
38339 main ()
38340 {
38341 return f != $ac_func;
38342   ;
38343   return 0;
38344 }
38345 _ACEOF
38346 rm -f conftest.$ac_objext conftest$ac_exeext
38347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38348   (eval $ac_link) 2>&5
38349   ac_status=$?
38350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351   (exit $ac_status); } &&
38352          { ac_try='test -s conftest$ac_exeext'
38353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38354   (eval $ac_try) 2>&5
38355   ac_status=$?
38356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38357   (exit $ac_status); }; }; then
38358   eval "$as_ac_var=yes"
38359 else
38360   echo "$as_me: failed program was:" >&5
38361 sed 's/^/| /' conftest.$ac_ext >&5
38362
38363 eval "$as_ac_var=no"
38364 fi
38365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38366 fi
38367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38369 if test `eval echo '${'$as_ac_var'}'` = yes; then
38370   cat >>confdefs.h <<_ACEOF
38371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38372 _ACEOF
38373
38374 fi
38375 done
38376
38377     fi
38378   fi
38379
38380
38381
38382   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38383 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38384   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38385     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38386   echo $ECHO_N "(cached) $ECHO_C" >&6
38387 else
38388
38389
38390
38391       ac_ext=cc
38392 ac_cpp='$CXXCPP $CPPFLAGS'
38393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38396
38397       cat >conftest.$ac_ext <<_ACEOF
38398 #line $LINENO "configure"
38399 /* confdefs.h.  */
38400 _ACEOF
38401 cat confdefs.h >>conftest.$ac_ext
38402 cat >>conftest.$ac_ext <<_ACEOF
38403 /* end confdefs.h.  */
38404 #include <math.h>
38405 int
38406 main ()
38407 {
38408  frexpl(0, 0);
38409   ;
38410   return 0;
38411 }
38412 _ACEOF
38413 rm -f conftest.$ac_objext
38414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38415   (eval $ac_compile) 2>&5
38416   ac_status=$?
38417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418   (exit $ac_status); } &&
38419          { ac_try='test -s conftest.$ac_objext'
38420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421   (eval $ac_try) 2>&5
38422   ac_status=$?
38423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424   (exit $ac_status); }; }; then
38425   glibcxx_cv_func_frexpl_use=yes
38426 else
38427   echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.$ac_ext >&5
38429
38430 glibcxx_cv_func_frexpl_use=no
38431 fi
38432 rm -f conftest.$ac_objext conftest.$ac_ext
38433       ac_ext=c
38434 ac_cpp='$CPP $CPPFLAGS'
38435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38438
38439
38440 fi
38441
38442   fi
38443   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38444 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38445
38446   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38447
38448 for ac_func in frexpl
38449 do
38450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38451 echo "$as_me:$LINENO: checking for $ac_func" >&5
38452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38453 if eval "test \"\${$as_ac_var+set}\" = set"; then
38454   echo $ECHO_N "(cached) $ECHO_C" >&6
38455 else
38456   if test x$gcc_no_link = xyes; then
38457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38459    { (exit 1); exit 1; }; }
38460 fi
38461 cat >conftest.$ac_ext <<_ACEOF
38462 #line $LINENO "configure"
38463 /* confdefs.h.  */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h.  */
38468 /* System header to define __stub macros and hopefully few prototypes,
38469     which can conflict with char $ac_func (); below.
38470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38471     <limits.h> exists even on freestanding compilers.  */
38472 #ifdef __STDC__
38473 # include <limits.h>
38474 #else
38475 # include <assert.h>
38476 #endif
38477 /* Override any gcc2 internal prototype to avoid an error.  */
38478 #ifdef __cplusplus
38479 extern "C"
38480 {
38481 #endif
38482 /* We use char because int might match the return type of a gcc2
38483    builtin and then its argument prototype would still apply.  */
38484 char $ac_func ();
38485 /* The GNU C library defines this for functions which it implements
38486     to always fail with ENOSYS.  Some functions are actually named
38487     something starting with __ and the normal name is an alias.  */
38488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38489 choke me
38490 #else
38491 char (*f) () = $ac_func;
38492 #endif
38493 #ifdef __cplusplus
38494 }
38495 #endif
38496
38497 int
38498 main ()
38499 {
38500 return f != $ac_func;
38501   ;
38502   return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38507   (eval $ac_link) 2>&5
38508   ac_status=$?
38509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510   (exit $ac_status); } &&
38511          { ac_try='test -s conftest$ac_exeext'
38512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513   (eval $ac_try) 2>&5
38514   ac_status=$?
38515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516   (exit $ac_status); }; }; then
38517   eval "$as_ac_var=yes"
38518 else
38519   echo "$as_me: failed program was:" >&5
38520 sed 's/^/| /' conftest.$ac_ext >&5
38521
38522 eval "$as_ac_var=no"
38523 fi
38524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38525 fi
38526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38528 if test `eval echo '${'$as_ac_var'}'` = yes; then
38529   cat >>confdefs.h <<_ACEOF
38530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38531 _ACEOF
38532
38533 fi
38534 done
38535
38536   else
38537
38538   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38539 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38540   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38541     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38542   echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544
38545
38546
38547       ac_ext=cc
38548 ac_cpp='$CXXCPP $CPPFLAGS'
38549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38552
38553       cat >conftest.$ac_ext <<_ACEOF
38554 #line $LINENO "configure"
38555 /* confdefs.h.  */
38556 _ACEOF
38557 cat confdefs.h >>conftest.$ac_ext
38558 cat >>conftest.$ac_ext <<_ACEOF
38559 /* end confdefs.h.  */
38560 #include <math.h>
38561 int
38562 main ()
38563 {
38564  _frexpl(0, 0);
38565   ;
38566   return 0;
38567 }
38568 _ACEOF
38569 rm -f conftest.$ac_objext
38570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38571   (eval $ac_compile) 2>&5
38572   ac_status=$?
38573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38574   (exit $ac_status); } &&
38575          { ac_try='test -s conftest.$ac_objext'
38576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38577   (eval $ac_try) 2>&5
38578   ac_status=$?
38579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580   (exit $ac_status); }; }; then
38581   glibcxx_cv_func__frexpl_use=yes
38582 else
38583   echo "$as_me: failed program was:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38585
38586 glibcxx_cv_func__frexpl_use=no
38587 fi
38588 rm -f conftest.$ac_objext conftest.$ac_ext
38589       ac_ext=c
38590 ac_cpp='$CPP $CPPFLAGS'
38591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38594
38595
38596 fi
38597
38598   fi
38599   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38600 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38601
38602     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38603
38604 for ac_func in _frexpl
38605 do
38606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38607 echo "$as_me:$LINENO: checking for $ac_func" >&5
38608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38609 if eval "test \"\${$as_ac_var+set}\" = set"; then
38610   echo $ECHO_N "(cached) $ECHO_C" >&6
38611 else
38612   if test x$gcc_no_link = xyes; then
38613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38615    { (exit 1); exit 1; }; }
38616 fi
38617 cat >conftest.$ac_ext <<_ACEOF
38618 #line $LINENO "configure"
38619 /* confdefs.h.  */
38620 _ACEOF
38621 cat confdefs.h >>conftest.$ac_ext
38622 cat >>conftest.$ac_ext <<_ACEOF
38623 /* end confdefs.h.  */
38624 /* System header to define __stub macros and hopefully few prototypes,
38625     which can conflict with char $ac_func (); below.
38626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38627     <limits.h> exists even on freestanding compilers.  */
38628 #ifdef __STDC__
38629 # include <limits.h>
38630 #else
38631 # include <assert.h>
38632 #endif
38633 /* Override any gcc2 internal prototype to avoid an error.  */
38634 #ifdef __cplusplus
38635 extern "C"
38636 {
38637 #endif
38638 /* We use char because int might match the return type of a gcc2
38639    builtin and then its argument prototype would still apply.  */
38640 char $ac_func ();
38641 /* The GNU C library defines this for functions which it implements
38642     to always fail with ENOSYS.  Some functions are actually named
38643     something starting with __ and the normal name is an alias.  */
38644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38645 choke me
38646 #else
38647 char (*f) () = $ac_func;
38648 #endif
38649 #ifdef __cplusplus
38650 }
38651 #endif
38652
38653 int
38654 main ()
38655 {
38656 return f != $ac_func;
38657   ;
38658   return 0;
38659 }
38660 _ACEOF
38661 rm -f conftest.$ac_objext conftest$ac_exeext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38663   (eval $ac_link) 2>&5
38664   ac_status=$?
38665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666   (exit $ac_status); } &&
38667          { ac_try='test -s conftest$ac_exeext'
38668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38669   (eval $ac_try) 2>&5
38670   ac_status=$?
38671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672   (exit $ac_status); }; }; then
38673   eval "$as_ac_var=yes"
38674 else
38675   echo "$as_me: failed program was:" >&5
38676 sed 's/^/| /' conftest.$ac_ext >&5
38677
38678 eval "$as_ac_var=no"
38679 fi
38680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38681 fi
38682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38684 if test `eval echo '${'$as_ac_var'}'` = yes; then
38685   cat >>confdefs.h <<_ACEOF
38686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 _ACEOF
38688
38689 fi
38690 done
38691
38692     fi
38693   fi
38694
38695
38696
38697   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38698 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38699   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38700     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38701   echo $ECHO_N "(cached) $ECHO_C" >&6
38702 else
38703
38704
38705
38706       ac_ext=cc
38707 ac_cpp='$CXXCPP $CPPFLAGS'
38708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38711
38712       cat >conftest.$ac_ext <<_ACEOF
38713 #line $LINENO "configure"
38714 /* confdefs.h.  */
38715 _ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h.  */
38719 #include <math.h>
38720 int
38721 main ()
38722 {
38723  hypotl(0, 0);
38724   ;
38725   return 0;
38726 }
38727 _ACEOF
38728 rm -f conftest.$ac_objext
38729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38730   (eval $ac_compile) 2>&5
38731   ac_status=$?
38732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733   (exit $ac_status); } &&
38734          { ac_try='test -s conftest.$ac_objext'
38735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38736   (eval $ac_try) 2>&5
38737   ac_status=$?
38738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38739   (exit $ac_status); }; }; then
38740   glibcxx_cv_func_hypotl_use=yes
38741 else
38742   echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38744
38745 glibcxx_cv_func_hypotl_use=no
38746 fi
38747 rm -f conftest.$ac_objext conftest.$ac_ext
38748       ac_ext=c
38749 ac_cpp='$CPP $CPPFLAGS'
38750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38753
38754
38755 fi
38756
38757   fi
38758   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38759 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38760
38761   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38762
38763 for ac_func in hypotl
38764 do
38765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38766 echo "$as_me:$LINENO: checking for $ac_func" >&5
38767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38768 if eval "test \"\${$as_ac_var+set}\" = set"; then
38769   echo $ECHO_N "(cached) $ECHO_C" >&6
38770 else
38771   if test x$gcc_no_link = xyes; then
38772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38774    { (exit 1); exit 1; }; }
38775 fi
38776 cat >conftest.$ac_ext <<_ACEOF
38777 #line $LINENO "configure"
38778 /* confdefs.h.  */
38779 _ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h.  */
38783 /* System header to define __stub macros and hopefully few prototypes,
38784     which can conflict with char $ac_func (); below.
38785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38786     <limits.h> exists even on freestanding compilers.  */
38787 #ifdef __STDC__
38788 # include <limits.h>
38789 #else
38790 # include <assert.h>
38791 #endif
38792 /* Override any gcc2 internal prototype to avoid an error.  */
38793 #ifdef __cplusplus
38794 extern "C"
38795 {
38796 #endif
38797 /* We use char because int might match the return type of a gcc2
38798    builtin and then its argument prototype would still apply.  */
38799 char $ac_func ();
38800 /* The GNU C library defines this for functions which it implements
38801     to always fail with ENOSYS.  Some functions are actually named
38802     something starting with __ and the normal name is an alias.  */
38803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38804 choke me
38805 #else
38806 char (*f) () = $ac_func;
38807 #endif
38808 #ifdef __cplusplus
38809 }
38810 #endif
38811
38812 int
38813 main ()
38814 {
38815 return f != $ac_func;
38816   ;
38817   return 0;
38818 }
38819 _ACEOF
38820 rm -f conftest.$ac_objext conftest$ac_exeext
38821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38822   (eval $ac_link) 2>&5
38823   ac_status=$?
38824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825   (exit $ac_status); } &&
38826          { ac_try='test -s conftest$ac_exeext'
38827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38828   (eval $ac_try) 2>&5
38829   ac_status=$?
38830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38831   (exit $ac_status); }; }; then
38832   eval "$as_ac_var=yes"
38833 else
38834   echo "$as_me: failed program was:" >&5
38835 sed 's/^/| /' conftest.$ac_ext >&5
38836
38837 eval "$as_ac_var=no"
38838 fi
38839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38840 fi
38841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38843 if test `eval echo '${'$as_ac_var'}'` = yes; then
38844   cat >>confdefs.h <<_ACEOF
38845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38846 _ACEOF
38847
38848 fi
38849 done
38850
38851   else
38852
38853   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38854 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38855   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38856     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38857   echo $ECHO_N "(cached) $ECHO_C" >&6
38858 else
38859
38860
38861
38862       ac_ext=cc
38863 ac_cpp='$CXXCPP $CPPFLAGS'
38864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38867
38868       cat >conftest.$ac_ext <<_ACEOF
38869 #line $LINENO "configure"
38870 /* confdefs.h.  */
38871 _ACEOF
38872 cat confdefs.h >>conftest.$ac_ext
38873 cat >>conftest.$ac_ext <<_ACEOF
38874 /* end confdefs.h.  */
38875 #include <math.h>
38876 int
38877 main ()
38878 {
38879  _hypotl(0, 0);
38880   ;
38881   return 0;
38882 }
38883 _ACEOF
38884 rm -f conftest.$ac_objext
38885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38886   (eval $ac_compile) 2>&5
38887   ac_status=$?
38888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889   (exit $ac_status); } &&
38890          { ac_try='test -s conftest.$ac_objext'
38891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38892   (eval $ac_try) 2>&5
38893   ac_status=$?
38894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895   (exit $ac_status); }; }; then
38896   glibcxx_cv_func__hypotl_use=yes
38897 else
38898   echo "$as_me: failed program was:" >&5
38899 sed 's/^/| /' conftest.$ac_ext >&5
38900
38901 glibcxx_cv_func__hypotl_use=no
38902 fi
38903 rm -f conftest.$ac_objext conftest.$ac_ext
38904       ac_ext=c
38905 ac_cpp='$CPP $CPPFLAGS'
38906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38909
38910
38911 fi
38912
38913   fi
38914   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
38915 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
38916
38917     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38918
38919 for ac_func in _hypotl
38920 do
38921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38922 echo "$as_me:$LINENO: checking for $ac_func" >&5
38923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38924 if eval "test \"\${$as_ac_var+set}\" = set"; then
38925   echo $ECHO_N "(cached) $ECHO_C" >&6
38926 else
38927   if test x$gcc_no_link = xyes; then
38928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38930    { (exit 1); exit 1; }; }
38931 fi
38932 cat >conftest.$ac_ext <<_ACEOF
38933 #line $LINENO "configure"
38934 /* confdefs.h.  */
38935 _ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h.  */
38939 /* System header to define __stub macros and hopefully few prototypes,
38940     which can conflict with char $ac_func (); below.
38941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38942     <limits.h> exists even on freestanding compilers.  */
38943 #ifdef __STDC__
38944 # include <limits.h>
38945 #else
38946 # include <assert.h>
38947 #endif
38948 /* Override any gcc2 internal prototype to avoid an error.  */
38949 #ifdef __cplusplus
38950 extern "C"
38951 {
38952 #endif
38953 /* We use char because int might match the return type of a gcc2
38954    builtin and then its argument prototype would still apply.  */
38955 char $ac_func ();
38956 /* The GNU C library defines this for functions which it implements
38957     to always fail with ENOSYS.  Some functions are actually named
38958     something starting with __ and the normal name is an alias.  */
38959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38960 choke me
38961 #else
38962 char (*f) () = $ac_func;
38963 #endif
38964 #ifdef __cplusplus
38965 }
38966 #endif
38967
38968 int
38969 main ()
38970 {
38971 return f != $ac_func;
38972   ;
38973   return 0;
38974 }
38975 _ACEOF
38976 rm -f conftest.$ac_objext conftest$ac_exeext
38977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38978   (eval $ac_link) 2>&5
38979   ac_status=$?
38980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981   (exit $ac_status); } &&
38982          { ac_try='test -s conftest$ac_exeext'
38983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38984   (eval $ac_try) 2>&5
38985   ac_status=$?
38986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987   (exit $ac_status); }; }; then
38988   eval "$as_ac_var=yes"
38989 else
38990   echo "$as_me: failed program was:" >&5
38991 sed 's/^/| /' conftest.$ac_ext >&5
38992
38993 eval "$as_ac_var=no"
38994 fi
38995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38996 fi
38997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38999 if test `eval echo '${'$as_ac_var'}'` = yes; then
39000   cat >>confdefs.h <<_ACEOF
39001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39002 _ACEOF
39003
39004 fi
39005 done
39006
39007     fi
39008   fi
39009
39010
39011
39012   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39013 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39014   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39015     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39016   echo $ECHO_N "(cached) $ECHO_C" >&6
39017 else
39018
39019
39020
39021       ac_ext=cc
39022 ac_cpp='$CXXCPP $CPPFLAGS'
39023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39026
39027       cat >conftest.$ac_ext <<_ACEOF
39028 #line $LINENO "configure"
39029 /* confdefs.h.  */
39030 _ACEOF
39031 cat confdefs.h >>conftest.$ac_ext
39032 cat >>conftest.$ac_ext <<_ACEOF
39033 /* end confdefs.h.  */
39034 #include <math.h>
39035 int
39036 main ()
39037 {
39038  ldexpl(0, 0);
39039   ;
39040   return 0;
39041 }
39042 _ACEOF
39043 rm -f conftest.$ac_objext
39044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39045   (eval $ac_compile) 2>&5
39046   ac_status=$?
39047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048   (exit $ac_status); } &&
39049          { ac_try='test -s conftest.$ac_objext'
39050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39051   (eval $ac_try) 2>&5
39052   ac_status=$?
39053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054   (exit $ac_status); }; }; then
39055   glibcxx_cv_func_ldexpl_use=yes
39056 else
39057   echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39059
39060 glibcxx_cv_func_ldexpl_use=no
39061 fi
39062 rm -f conftest.$ac_objext conftest.$ac_ext
39063       ac_ext=c
39064 ac_cpp='$CPP $CPPFLAGS'
39065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39068
39069
39070 fi
39071
39072   fi
39073   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39074 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39075
39076   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39077
39078 for ac_func in ldexpl
39079 do
39080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39081 echo "$as_me:$LINENO: checking for $ac_func" >&5
39082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39083 if eval "test \"\${$as_ac_var+set}\" = set"; then
39084   echo $ECHO_N "(cached) $ECHO_C" >&6
39085 else
39086   if test x$gcc_no_link = xyes; then
39087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39089    { (exit 1); exit 1; }; }
39090 fi
39091 cat >conftest.$ac_ext <<_ACEOF
39092 #line $LINENO "configure"
39093 /* confdefs.h.  */
39094 _ACEOF
39095 cat confdefs.h >>conftest.$ac_ext
39096 cat >>conftest.$ac_ext <<_ACEOF
39097 /* end confdefs.h.  */
39098 /* System header to define __stub macros and hopefully few prototypes,
39099     which can conflict with char $ac_func (); below.
39100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39101     <limits.h> exists even on freestanding compilers.  */
39102 #ifdef __STDC__
39103 # include <limits.h>
39104 #else
39105 # include <assert.h>
39106 #endif
39107 /* Override any gcc2 internal prototype to avoid an error.  */
39108 #ifdef __cplusplus
39109 extern "C"
39110 {
39111 #endif
39112 /* We use char because int might match the return type of a gcc2
39113    builtin and then its argument prototype would still apply.  */
39114 char $ac_func ();
39115 /* The GNU C library defines this for functions which it implements
39116     to always fail with ENOSYS.  Some functions are actually named
39117     something starting with __ and the normal name is an alias.  */
39118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39119 choke me
39120 #else
39121 char (*f) () = $ac_func;
39122 #endif
39123 #ifdef __cplusplus
39124 }
39125 #endif
39126
39127 int
39128 main ()
39129 {
39130 return f != $ac_func;
39131   ;
39132   return 0;
39133 }
39134 _ACEOF
39135 rm -f conftest.$ac_objext conftest$ac_exeext
39136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39137   (eval $ac_link) 2>&5
39138   ac_status=$?
39139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140   (exit $ac_status); } &&
39141          { ac_try='test -s conftest$ac_exeext'
39142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39143   (eval $ac_try) 2>&5
39144   ac_status=$?
39145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39146   (exit $ac_status); }; }; then
39147   eval "$as_ac_var=yes"
39148 else
39149   echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39151
39152 eval "$as_ac_var=no"
39153 fi
39154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39155 fi
39156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39158 if test `eval echo '${'$as_ac_var'}'` = yes; then
39159   cat >>confdefs.h <<_ACEOF
39160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39161 _ACEOF
39162
39163 fi
39164 done
39165
39166   else
39167
39168   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39169 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39170   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39171     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39172   echo $ECHO_N "(cached) $ECHO_C" >&6
39173 else
39174
39175
39176
39177       ac_ext=cc
39178 ac_cpp='$CXXCPP $CPPFLAGS'
39179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39182
39183       cat >conftest.$ac_ext <<_ACEOF
39184 #line $LINENO "configure"
39185 /* confdefs.h.  */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h.  */
39190 #include <math.h>
39191 int
39192 main ()
39193 {
39194  _ldexpl(0, 0);
39195   ;
39196   return 0;
39197 }
39198 _ACEOF
39199 rm -f conftest.$ac_objext
39200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39201   (eval $ac_compile) 2>&5
39202   ac_status=$?
39203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204   (exit $ac_status); } &&
39205          { ac_try='test -s conftest.$ac_objext'
39206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39207   (eval $ac_try) 2>&5
39208   ac_status=$?
39209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39210   (exit $ac_status); }; }; then
39211   glibcxx_cv_func__ldexpl_use=yes
39212 else
39213   echo "$as_me: failed program was:" >&5
39214 sed 's/^/| /' conftest.$ac_ext >&5
39215
39216 glibcxx_cv_func__ldexpl_use=no
39217 fi
39218 rm -f conftest.$ac_objext conftest.$ac_ext
39219       ac_ext=c
39220 ac_cpp='$CPP $CPPFLAGS'
39221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39224
39225
39226 fi
39227
39228   fi
39229   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39230 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39231
39232     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39233
39234 for ac_func in _ldexpl
39235 do
39236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39237 echo "$as_me:$LINENO: checking for $ac_func" >&5
39238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39239 if eval "test \"\${$as_ac_var+set}\" = set"; then
39240   echo $ECHO_N "(cached) $ECHO_C" >&6
39241 else
39242   if test x$gcc_no_link = xyes; then
39243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39245    { (exit 1); exit 1; }; }
39246 fi
39247 cat >conftest.$ac_ext <<_ACEOF
39248 #line $LINENO "configure"
39249 /* confdefs.h.  */
39250 _ACEOF
39251 cat confdefs.h >>conftest.$ac_ext
39252 cat >>conftest.$ac_ext <<_ACEOF
39253 /* end confdefs.h.  */
39254 /* System header to define __stub macros and hopefully few prototypes,
39255     which can conflict with char $ac_func (); below.
39256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39257     <limits.h> exists even on freestanding compilers.  */
39258 #ifdef __STDC__
39259 # include <limits.h>
39260 #else
39261 # include <assert.h>
39262 #endif
39263 /* Override any gcc2 internal prototype to avoid an error.  */
39264 #ifdef __cplusplus
39265 extern "C"
39266 {
39267 #endif
39268 /* We use char because int might match the return type of a gcc2
39269    builtin and then its argument prototype would still apply.  */
39270 char $ac_func ();
39271 /* The GNU C library defines this for functions which it implements
39272     to always fail with ENOSYS.  Some functions are actually named
39273     something starting with __ and the normal name is an alias.  */
39274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39275 choke me
39276 #else
39277 char (*f) () = $ac_func;
39278 #endif
39279 #ifdef __cplusplus
39280 }
39281 #endif
39282
39283 int
39284 main ()
39285 {
39286 return f != $ac_func;
39287   ;
39288   return 0;
39289 }
39290 _ACEOF
39291 rm -f conftest.$ac_objext conftest$ac_exeext
39292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39293   (eval $ac_link) 2>&5
39294   ac_status=$?
39295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296   (exit $ac_status); } &&
39297          { ac_try='test -s conftest$ac_exeext'
39298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299   (eval $ac_try) 2>&5
39300   ac_status=$?
39301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302   (exit $ac_status); }; }; then
39303   eval "$as_ac_var=yes"
39304 else
39305   echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39307
39308 eval "$as_ac_var=no"
39309 fi
39310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39311 fi
39312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39314 if test `eval echo '${'$as_ac_var'}'` = yes; then
39315   cat >>confdefs.h <<_ACEOF
39316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39317 _ACEOF
39318
39319 fi
39320 done
39321
39322     fi
39323   fi
39324
39325
39326
39327   echo "$as_me:$LINENO: checking for logl declaration" >&5
39328 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39329   if test x${glibcxx_cv_func_logl_use+set} != xset; then
39330     if test "${glibcxx_cv_func_logl_use+set}" = set; then
39331   echo $ECHO_N "(cached) $ECHO_C" >&6
39332 else
39333
39334
39335
39336       ac_ext=cc
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341
39342       cat >conftest.$ac_ext <<_ACEOF
39343 #line $LINENO "configure"
39344 /* confdefs.h.  */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h.  */
39349 #include <math.h>
39350                       #ifdef HAVE_IEEEFP_H
39351                       #include <ieeefp.h>
39352                       #endif
39353
39354 int
39355 main ()
39356 {
39357  logl(0);
39358   ;
39359   return 0;
39360 }
39361 _ACEOF
39362 rm -f conftest.$ac_objext
39363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39364   (eval $ac_compile) 2>&5
39365   ac_status=$?
39366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367   (exit $ac_status); } &&
39368          { ac_try='test -s conftest.$ac_objext'
39369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370   (eval $ac_try) 2>&5
39371   ac_status=$?
39372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373   (exit $ac_status); }; }; then
39374   glibcxx_cv_func_logl_use=yes
39375 else
39376   echo "$as_me: failed program was:" >&5
39377 sed 's/^/| /' conftest.$ac_ext >&5
39378
39379 glibcxx_cv_func_logl_use=no
39380 fi
39381 rm -f conftest.$ac_objext conftest.$ac_ext
39382       ac_ext=c
39383 ac_cpp='$CPP $CPPFLAGS'
39384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39387
39388
39389 fi
39390
39391   fi
39392   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39393 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39394
39395   if test x$glibcxx_cv_func_logl_use = x"yes"; then
39396
39397 for ac_func in logl
39398 do
39399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39400 echo "$as_me:$LINENO: checking for $ac_func" >&5
39401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39402 if eval "test \"\${$as_ac_var+set}\" = set"; then
39403   echo $ECHO_N "(cached) $ECHO_C" >&6
39404 else
39405   if test x$gcc_no_link = xyes; then
39406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39408    { (exit 1); exit 1; }; }
39409 fi
39410 cat >conftest.$ac_ext <<_ACEOF
39411 #line $LINENO "configure"
39412 /* confdefs.h.  */
39413 _ACEOF
39414 cat confdefs.h >>conftest.$ac_ext
39415 cat >>conftest.$ac_ext <<_ACEOF
39416 /* end confdefs.h.  */
39417 /* System header to define __stub macros and hopefully few prototypes,
39418     which can conflict with char $ac_func (); below.
39419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39420     <limits.h> exists even on freestanding compilers.  */
39421 #ifdef __STDC__
39422 # include <limits.h>
39423 #else
39424 # include <assert.h>
39425 #endif
39426 /* Override any gcc2 internal prototype to avoid an error.  */
39427 #ifdef __cplusplus
39428 extern "C"
39429 {
39430 #endif
39431 /* We use char because int might match the return type of a gcc2
39432    builtin and then its argument prototype would still apply.  */
39433 char $ac_func ();
39434 /* The GNU C library defines this for functions which it implements
39435     to always fail with ENOSYS.  Some functions are actually named
39436     something starting with __ and the normal name is an alias.  */
39437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39438 choke me
39439 #else
39440 char (*f) () = $ac_func;
39441 #endif
39442 #ifdef __cplusplus
39443 }
39444 #endif
39445
39446 int
39447 main ()
39448 {
39449 return f != $ac_func;
39450   ;
39451   return 0;
39452 }
39453 _ACEOF
39454 rm -f conftest.$ac_objext conftest$ac_exeext
39455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39456   (eval $ac_link) 2>&5
39457   ac_status=$?
39458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459   (exit $ac_status); } &&
39460          { ac_try='test -s conftest$ac_exeext'
39461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462   (eval $ac_try) 2>&5
39463   ac_status=$?
39464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465   (exit $ac_status); }; }; then
39466   eval "$as_ac_var=yes"
39467 else
39468   echo "$as_me: failed program was:" >&5
39469 sed 's/^/| /' conftest.$ac_ext >&5
39470
39471 eval "$as_ac_var=no"
39472 fi
39473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39474 fi
39475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39477 if test `eval echo '${'$as_ac_var'}'` = yes; then
39478   cat >>confdefs.h <<_ACEOF
39479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39480 _ACEOF
39481
39482 fi
39483 done
39484
39485   else
39486
39487   echo "$as_me:$LINENO: checking for _logl declaration" >&5
39488 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39489   if test x${glibcxx_cv_func__logl_use+set} != xset; then
39490     if test "${glibcxx_cv_func__logl_use+set}" = set; then
39491   echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39493
39494
39495
39496       ac_ext=cc
39497 ac_cpp='$CXXCPP $CPPFLAGS'
39498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39501
39502       cat >conftest.$ac_ext <<_ACEOF
39503 #line $LINENO "configure"
39504 /* confdefs.h.  */
39505 _ACEOF
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h.  */
39509 #include <math.h>
39510                       #ifdef HAVE_IEEEFP_H
39511                       #include <ieeefp.h>
39512                       #endif
39513
39514 int
39515 main ()
39516 {
39517  _logl(0);
39518   ;
39519   return 0;
39520 }
39521 _ACEOF
39522 rm -f conftest.$ac_objext
39523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39524   (eval $ac_compile) 2>&5
39525   ac_status=$?
39526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527   (exit $ac_status); } &&
39528          { ac_try='test -s conftest.$ac_objext'
39529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530   (eval $ac_try) 2>&5
39531   ac_status=$?
39532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533   (exit $ac_status); }; }; then
39534   glibcxx_cv_func__logl_use=yes
39535 else
39536   echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.$ac_ext >&5
39538
39539 glibcxx_cv_func__logl_use=no
39540 fi
39541 rm -f conftest.$ac_objext conftest.$ac_ext
39542       ac_ext=c
39543 ac_cpp='$CPP $CPPFLAGS'
39544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39547
39548
39549 fi
39550
39551   fi
39552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39553 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39554
39555     if test x$glibcxx_cv_func__logl_use = x"yes"; then
39556
39557 for ac_func in _logl
39558 do
39559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39560 echo "$as_me:$LINENO: checking for $ac_func" >&5
39561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39562 if eval "test \"\${$as_ac_var+set}\" = set"; then
39563   echo $ECHO_N "(cached) $ECHO_C" >&6
39564 else
39565   if test x$gcc_no_link = xyes; then
39566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39568    { (exit 1); exit 1; }; }
39569 fi
39570 cat >conftest.$ac_ext <<_ACEOF
39571 #line $LINENO "configure"
39572 /* confdefs.h.  */
39573 _ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h.  */
39577 /* System header to define __stub macros and hopefully few prototypes,
39578     which can conflict with char $ac_func (); below.
39579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39580     <limits.h> exists even on freestanding compilers.  */
39581 #ifdef __STDC__
39582 # include <limits.h>
39583 #else
39584 # include <assert.h>
39585 #endif
39586 /* Override any gcc2 internal prototype to avoid an error.  */
39587 #ifdef __cplusplus
39588 extern "C"
39589 {
39590 #endif
39591 /* We use char because int might match the return type of a gcc2
39592    builtin and then its argument prototype would still apply.  */
39593 char $ac_func ();
39594 /* The GNU C library defines this for functions which it implements
39595     to always fail with ENOSYS.  Some functions are actually named
39596     something starting with __ and the normal name is an alias.  */
39597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39598 choke me
39599 #else
39600 char (*f) () = $ac_func;
39601 #endif
39602 #ifdef __cplusplus
39603 }
39604 #endif
39605
39606 int
39607 main ()
39608 {
39609 return f != $ac_func;
39610   ;
39611   return 0;
39612 }
39613 _ACEOF
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39616   (eval $ac_link) 2>&5
39617   ac_status=$?
39618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619   (exit $ac_status); } &&
39620          { ac_try='test -s conftest$ac_exeext'
39621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39622   (eval $ac_try) 2>&5
39623   ac_status=$?
39624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625   (exit $ac_status); }; }; then
39626   eval "$as_ac_var=yes"
39627 else
39628   echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39630
39631 eval "$as_ac_var=no"
39632 fi
39633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39634 fi
39635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39637 if test `eval echo '${'$as_ac_var'}'` = yes; then
39638   cat >>confdefs.h <<_ACEOF
39639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39640 _ACEOF
39641
39642 fi
39643 done
39644
39645     fi
39646   fi
39647
39648
39649
39650   echo "$as_me:$LINENO: checking for log10l declaration" >&5
39651 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39652   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39653     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39654   echo $ECHO_N "(cached) $ECHO_C" >&6
39655 else
39656
39657
39658
39659       ac_ext=cc
39660 ac_cpp='$CXXCPP $CPPFLAGS'
39661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39664
39665       cat >conftest.$ac_ext <<_ACEOF
39666 #line $LINENO "configure"
39667 /* confdefs.h.  */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h.  */
39672 #include <math.h>
39673                       #ifdef HAVE_IEEEFP_H
39674                       #include <ieeefp.h>
39675                       #endif
39676
39677 int
39678 main ()
39679 {
39680  log10l(0);
39681   ;
39682   return 0;
39683 }
39684 _ACEOF
39685 rm -f conftest.$ac_objext
39686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39687   (eval $ac_compile) 2>&5
39688   ac_status=$?
39689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690   (exit $ac_status); } &&
39691          { ac_try='test -s conftest.$ac_objext'
39692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693   (eval $ac_try) 2>&5
39694   ac_status=$?
39695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696   (exit $ac_status); }; }; then
39697   glibcxx_cv_func_log10l_use=yes
39698 else
39699   echo "$as_me: failed program was:" >&5
39700 sed 's/^/| /' conftest.$ac_ext >&5
39701
39702 glibcxx_cv_func_log10l_use=no
39703 fi
39704 rm -f conftest.$ac_objext conftest.$ac_ext
39705       ac_ext=c
39706 ac_cpp='$CPP $CPPFLAGS'
39707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39710
39711
39712 fi
39713
39714   fi
39715   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39716 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39717
39718   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39719
39720 for ac_func in log10l
39721 do
39722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39723 echo "$as_me:$LINENO: checking for $ac_func" >&5
39724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39725 if eval "test \"\${$as_ac_var+set}\" = set"; then
39726   echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728   if test x$gcc_no_link = xyes; then
39729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39731    { (exit 1); exit 1; }; }
39732 fi
39733 cat >conftest.$ac_ext <<_ACEOF
39734 #line $LINENO "configure"
39735 /* confdefs.h.  */
39736 _ACEOF
39737 cat confdefs.h >>conftest.$ac_ext
39738 cat >>conftest.$ac_ext <<_ACEOF
39739 /* end confdefs.h.  */
39740 /* System header to define __stub macros and hopefully few prototypes,
39741     which can conflict with char $ac_func (); below.
39742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39743     <limits.h> exists even on freestanding compilers.  */
39744 #ifdef __STDC__
39745 # include <limits.h>
39746 #else
39747 # include <assert.h>
39748 #endif
39749 /* Override any gcc2 internal prototype to avoid an error.  */
39750 #ifdef __cplusplus
39751 extern "C"
39752 {
39753 #endif
39754 /* We use char because int might match the return type of a gcc2
39755    builtin and then its argument prototype would still apply.  */
39756 char $ac_func ();
39757 /* The GNU C library defines this for functions which it implements
39758     to always fail with ENOSYS.  Some functions are actually named
39759     something starting with __ and the normal name is an alias.  */
39760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39761 choke me
39762 #else
39763 char (*f) () = $ac_func;
39764 #endif
39765 #ifdef __cplusplus
39766 }
39767 #endif
39768
39769 int
39770 main ()
39771 {
39772 return f != $ac_func;
39773   ;
39774   return 0;
39775 }
39776 _ACEOF
39777 rm -f conftest.$ac_objext conftest$ac_exeext
39778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39779   (eval $ac_link) 2>&5
39780   ac_status=$?
39781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782   (exit $ac_status); } &&
39783          { ac_try='test -s conftest$ac_exeext'
39784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785   (eval $ac_try) 2>&5
39786   ac_status=$?
39787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788   (exit $ac_status); }; }; then
39789   eval "$as_ac_var=yes"
39790 else
39791   echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794 eval "$as_ac_var=no"
39795 fi
39796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39797 fi
39798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39800 if test `eval echo '${'$as_ac_var'}'` = yes; then
39801   cat >>confdefs.h <<_ACEOF
39802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39803 _ACEOF
39804
39805 fi
39806 done
39807
39808   else
39809
39810   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
39811 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
39812   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39813     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
39814   echo $ECHO_N "(cached) $ECHO_C" >&6
39815 else
39816
39817
39818
39819       ac_ext=cc
39820 ac_cpp='$CXXCPP $CPPFLAGS'
39821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39824
39825       cat >conftest.$ac_ext <<_ACEOF
39826 #line $LINENO "configure"
39827 /* confdefs.h.  */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h.  */
39832 #include <math.h>
39833                       #ifdef HAVE_IEEEFP_H
39834                       #include <ieeefp.h>
39835                       #endif
39836
39837 int
39838 main ()
39839 {
39840  _log10l(0);
39841   ;
39842   return 0;
39843 }
39844 _ACEOF
39845 rm -f conftest.$ac_objext
39846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39847   (eval $ac_compile) 2>&5
39848   ac_status=$?
39849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850   (exit $ac_status); } &&
39851          { ac_try='test -s conftest.$ac_objext'
39852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39853   (eval $ac_try) 2>&5
39854   ac_status=$?
39855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856   (exit $ac_status); }; }; then
39857   glibcxx_cv_func__log10l_use=yes
39858 else
39859   echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39861
39862 glibcxx_cv_func__log10l_use=no
39863 fi
39864 rm -f conftest.$ac_objext conftest.$ac_ext
39865       ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870
39871
39872 fi
39873
39874   fi
39875   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
39876 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
39877
39878     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39879
39880 for ac_func in _log10l
39881 do
39882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39883 echo "$as_me:$LINENO: checking for $ac_func" >&5
39884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39885 if eval "test \"\${$as_ac_var+set}\" = set"; then
39886   echo $ECHO_N "(cached) $ECHO_C" >&6
39887 else
39888   if test x$gcc_no_link = xyes; then
39889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39891    { (exit 1); exit 1; }; }
39892 fi
39893 cat >conftest.$ac_ext <<_ACEOF
39894 #line $LINENO "configure"
39895 /* confdefs.h.  */
39896 _ACEOF
39897 cat confdefs.h >>conftest.$ac_ext
39898 cat >>conftest.$ac_ext <<_ACEOF
39899 /* end confdefs.h.  */
39900 /* System header to define __stub macros and hopefully few prototypes,
39901     which can conflict with char $ac_func (); below.
39902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39903     <limits.h> exists even on freestanding compilers.  */
39904 #ifdef __STDC__
39905 # include <limits.h>
39906 #else
39907 # include <assert.h>
39908 #endif
39909 /* Override any gcc2 internal prototype to avoid an error.  */
39910 #ifdef __cplusplus
39911 extern "C"
39912 {
39913 #endif
39914 /* We use char because int might match the return type of a gcc2
39915    builtin and then its argument prototype would still apply.  */
39916 char $ac_func ();
39917 /* The GNU C library defines this for functions which it implements
39918     to always fail with ENOSYS.  Some functions are actually named
39919     something starting with __ and the normal name is an alias.  */
39920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39921 choke me
39922 #else
39923 char (*f) () = $ac_func;
39924 #endif
39925 #ifdef __cplusplus
39926 }
39927 #endif
39928
39929 int
39930 main ()
39931 {
39932 return f != $ac_func;
39933   ;
39934   return 0;
39935 }
39936 _ACEOF
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39939   (eval $ac_link) 2>&5
39940   ac_status=$?
39941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942   (exit $ac_status); } &&
39943          { ac_try='test -s conftest$ac_exeext'
39944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945   (eval $ac_try) 2>&5
39946   ac_status=$?
39947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948   (exit $ac_status); }; }; then
39949   eval "$as_ac_var=yes"
39950 else
39951   echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39953
39954 eval "$as_ac_var=no"
39955 fi
39956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39957 fi
39958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39960 if test `eval echo '${'$as_ac_var'}'` = yes; then
39961   cat >>confdefs.h <<_ACEOF
39962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39963 _ACEOF
39964
39965 fi
39966 done
39967
39968     fi
39969   fi
39970
39971
39972
39973   echo "$as_me:$LINENO: checking for modfl declaration" >&5
39974 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
39975   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39976     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
39977   echo $ECHO_N "(cached) $ECHO_C" >&6
39978 else
39979
39980
39981
39982       ac_ext=cc
39983 ac_cpp='$CXXCPP $CPPFLAGS'
39984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39987
39988       cat >conftest.$ac_ext <<_ACEOF
39989 #line $LINENO "configure"
39990 /* confdefs.h.  */
39991 _ACEOF
39992 cat confdefs.h >>conftest.$ac_ext
39993 cat >>conftest.$ac_ext <<_ACEOF
39994 /* end confdefs.h.  */
39995 #include <math.h>
39996 int
39997 main ()
39998 {
39999  modfl(0, 0);
40000   ;
40001   return 0;
40002 }
40003 _ACEOF
40004 rm -f conftest.$ac_objext
40005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40006   (eval $ac_compile) 2>&5
40007   ac_status=$?
40008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009   (exit $ac_status); } &&
40010          { ac_try='test -s conftest.$ac_objext'
40011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40012   (eval $ac_try) 2>&5
40013   ac_status=$?
40014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015   (exit $ac_status); }; }; then
40016   glibcxx_cv_func_modfl_use=yes
40017 else
40018   echo "$as_me: failed program was:" >&5
40019 sed 's/^/| /' conftest.$ac_ext >&5
40020
40021 glibcxx_cv_func_modfl_use=no
40022 fi
40023 rm -f conftest.$ac_objext conftest.$ac_ext
40024       ac_ext=c
40025 ac_cpp='$CPP $CPPFLAGS'
40026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40029
40030
40031 fi
40032
40033   fi
40034   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40035 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40036
40037   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40038
40039 for ac_func in modfl
40040 do
40041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40042 echo "$as_me:$LINENO: checking for $ac_func" >&5
40043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40044 if eval "test \"\${$as_ac_var+set}\" = set"; then
40045   echo $ECHO_N "(cached) $ECHO_C" >&6
40046 else
40047   if test x$gcc_no_link = xyes; then
40048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40050    { (exit 1); exit 1; }; }
40051 fi
40052 cat >conftest.$ac_ext <<_ACEOF
40053 #line $LINENO "configure"
40054 /* confdefs.h.  */
40055 _ACEOF
40056 cat confdefs.h >>conftest.$ac_ext
40057 cat >>conftest.$ac_ext <<_ACEOF
40058 /* end confdefs.h.  */
40059 /* System header to define __stub macros and hopefully few prototypes,
40060     which can conflict with char $ac_func (); below.
40061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40062     <limits.h> exists even on freestanding compilers.  */
40063 #ifdef __STDC__
40064 # include <limits.h>
40065 #else
40066 # include <assert.h>
40067 #endif
40068 /* Override any gcc2 internal prototype to avoid an error.  */
40069 #ifdef __cplusplus
40070 extern "C"
40071 {
40072 #endif
40073 /* We use char because int might match the return type of a gcc2
40074    builtin and then its argument prototype would still apply.  */
40075 char $ac_func ();
40076 /* The GNU C library defines this for functions which it implements
40077     to always fail with ENOSYS.  Some functions are actually named
40078     something starting with __ and the normal name is an alias.  */
40079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40080 choke me
40081 #else
40082 char (*f) () = $ac_func;
40083 #endif
40084 #ifdef __cplusplus
40085 }
40086 #endif
40087
40088 int
40089 main ()
40090 {
40091 return f != $ac_func;
40092   ;
40093   return 0;
40094 }
40095 _ACEOF
40096 rm -f conftest.$ac_objext conftest$ac_exeext
40097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40098   (eval $ac_link) 2>&5
40099   ac_status=$?
40100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101   (exit $ac_status); } &&
40102          { ac_try='test -s conftest$ac_exeext'
40103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104   (eval $ac_try) 2>&5
40105   ac_status=$?
40106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107   (exit $ac_status); }; }; then
40108   eval "$as_ac_var=yes"
40109 else
40110   echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40112
40113 eval "$as_ac_var=no"
40114 fi
40115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40116 fi
40117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40119 if test `eval echo '${'$as_ac_var'}'` = yes; then
40120   cat >>confdefs.h <<_ACEOF
40121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40122 _ACEOF
40123
40124 fi
40125 done
40126
40127   else
40128
40129   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40130 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40131   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40132     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40133   echo $ECHO_N "(cached) $ECHO_C" >&6
40134 else
40135
40136
40137
40138       ac_ext=cc
40139 ac_cpp='$CXXCPP $CPPFLAGS'
40140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40143
40144       cat >conftest.$ac_ext <<_ACEOF
40145 #line $LINENO "configure"
40146 /* confdefs.h.  */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h.  */
40151 #include <math.h>
40152 int
40153 main ()
40154 {
40155  _modfl(0, 0);
40156   ;
40157   return 0;
40158 }
40159 _ACEOF
40160 rm -f conftest.$ac_objext
40161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40162   (eval $ac_compile) 2>&5
40163   ac_status=$?
40164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165   (exit $ac_status); } &&
40166          { ac_try='test -s conftest.$ac_objext'
40167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40168   (eval $ac_try) 2>&5
40169   ac_status=$?
40170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171   (exit $ac_status); }; }; then
40172   glibcxx_cv_func__modfl_use=yes
40173 else
40174   echo "$as_me: failed program was:" >&5
40175 sed 's/^/| /' conftest.$ac_ext >&5
40176
40177 glibcxx_cv_func__modfl_use=no
40178 fi
40179 rm -f conftest.$ac_objext conftest.$ac_ext
40180       ac_ext=c
40181 ac_cpp='$CPP $CPPFLAGS'
40182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40185
40186
40187 fi
40188
40189   fi
40190   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40191 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40192
40193     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40194
40195 for ac_func in _modfl
40196 do
40197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40198 echo "$as_me:$LINENO: checking for $ac_func" >&5
40199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40200 if eval "test \"\${$as_ac_var+set}\" = set"; then
40201   echo $ECHO_N "(cached) $ECHO_C" >&6
40202 else
40203   if test x$gcc_no_link = xyes; then
40204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40206    { (exit 1); exit 1; }; }
40207 fi
40208 cat >conftest.$ac_ext <<_ACEOF
40209 #line $LINENO "configure"
40210 /* confdefs.h.  */
40211 _ACEOF
40212 cat confdefs.h >>conftest.$ac_ext
40213 cat >>conftest.$ac_ext <<_ACEOF
40214 /* end confdefs.h.  */
40215 /* System header to define __stub macros and hopefully few prototypes,
40216     which can conflict with char $ac_func (); below.
40217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40218     <limits.h> exists even on freestanding compilers.  */
40219 #ifdef __STDC__
40220 # include <limits.h>
40221 #else
40222 # include <assert.h>
40223 #endif
40224 /* Override any gcc2 internal prototype to avoid an error.  */
40225 #ifdef __cplusplus
40226 extern "C"
40227 {
40228 #endif
40229 /* We use char because int might match the return type of a gcc2
40230    builtin and then its argument prototype would still apply.  */
40231 char $ac_func ();
40232 /* The GNU C library defines this for functions which it implements
40233     to always fail with ENOSYS.  Some functions are actually named
40234     something starting with __ and the normal name is an alias.  */
40235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40236 choke me
40237 #else
40238 char (*f) () = $ac_func;
40239 #endif
40240 #ifdef __cplusplus
40241 }
40242 #endif
40243
40244 int
40245 main ()
40246 {
40247 return f != $ac_func;
40248   ;
40249   return 0;
40250 }
40251 _ACEOF
40252 rm -f conftest.$ac_objext conftest$ac_exeext
40253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40254   (eval $ac_link) 2>&5
40255   ac_status=$?
40256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40257   (exit $ac_status); } &&
40258          { ac_try='test -s conftest$ac_exeext'
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   eval "$as_ac_var=yes"
40265 else
40266   echo "$as_me: failed program was:" >&5
40267 sed 's/^/| /' conftest.$ac_ext >&5
40268
40269 eval "$as_ac_var=no"
40270 fi
40271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40272 fi
40273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40275 if test `eval echo '${'$as_ac_var'}'` = yes; then
40276   cat >>confdefs.h <<_ACEOF
40277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40278 _ACEOF
40279
40280 fi
40281 done
40282
40283     fi
40284   fi
40285
40286
40287
40288   echo "$as_me:$LINENO: checking for powl declaration" >&5
40289 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40290   if test x${glibcxx_cv_func_powl_use+set} != xset; then
40291     if test "${glibcxx_cv_func_powl_use+set}" = set; then
40292   echo $ECHO_N "(cached) $ECHO_C" >&6
40293 else
40294
40295
40296
40297       ac_ext=cc
40298 ac_cpp='$CXXCPP $CPPFLAGS'
40299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302
40303       cat >conftest.$ac_ext <<_ACEOF
40304 #line $LINENO "configure"
40305 /* confdefs.h.  */
40306 _ACEOF
40307 cat confdefs.h >>conftest.$ac_ext
40308 cat >>conftest.$ac_ext <<_ACEOF
40309 /* end confdefs.h.  */
40310 #include <math.h>
40311 int
40312 main ()
40313 {
40314  powl(0, 0);
40315   ;
40316   return 0;
40317 }
40318 _ACEOF
40319 rm -f conftest.$ac_objext
40320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40321   (eval $ac_compile) 2>&5
40322   ac_status=$?
40323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324   (exit $ac_status); } &&
40325          { ac_try='test -s conftest.$ac_objext'
40326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327   (eval $ac_try) 2>&5
40328   ac_status=$?
40329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330   (exit $ac_status); }; }; then
40331   glibcxx_cv_func_powl_use=yes
40332 else
40333   echo "$as_me: failed program was:" >&5
40334 sed 's/^/| /' conftest.$ac_ext >&5
40335
40336 glibcxx_cv_func_powl_use=no
40337 fi
40338 rm -f conftest.$ac_objext conftest.$ac_ext
40339       ac_ext=c
40340 ac_cpp='$CPP $CPPFLAGS'
40341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40344
40345
40346 fi
40347
40348   fi
40349   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40350 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40351
40352   if test x$glibcxx_cv_func_powl_use = x"yes"; then
40353
40354 for ac_func in powl
40355 do
40356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40357 echo "$as_me:$LINENO: checking for $ac_func" >&5
40358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40359 if eval "test \"\${$as_ac_var+set}\" = set"; then
40360   echo $ECHO_N "(cached) $ECHO_C" >&6
40361 else
40362   if test x$gcc_no_link = xyes; then
40363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40365    { (exit 1); exit 1; }; }
40366 fi
40367 cat >conftest.$ac_ext <<_ACEOF
40368 #line $LINENO "configure"
40369 /* confdefs.h.  */
40370 _ACEOF
40371 cat confdefs.h >>conftest.$ac_ext
40372 cat >>conftest.$ac_ext <<_ACEOF
40373 /* end confdefs.h.  */
40374 /* System header to define __stub macros and hopefully few prototypes,
40375     which can conflict with char $ac_func (); below.
40376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40377     <limits.h> exists even on freestanding compilers.  */
40378 #ifdef __STDC__
40379 # include <limits.h>
40380 #else
40381 # include <assert.h>
40382 #endif
40383 /* Override any gcc2 internal prototype to avoid an error.  */
40384 #ifdef __cplusplus
40385 extern "C"
40386 {
40387 #endif
40388 /* We use char because int might match the return type of a gcc2
40389    builtin and then its argument prototype would still apply.  */
40390 char $ac_func ();
40391 /* The GNU C library defines this for functions which it implements
40392     to always fail with ENOSYS.  Some functions are actually named
40393     something starting with __ and the normal name is an alias.  */
40394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40395 choke me
40396 #else
40397 char (*f) () = $ac_func;
40398 #endif
40399 #ifdef __cplusplus
40400 }
40401 #endif
40402
40403 int
40404 main ()
40405 {
40406 return f != $ac_func;
40407   ;
40408   return 0;
40409 }
40410 _ACEOF
40411 rm -f conftest.$ac_objext conftest$ac_exeext
40412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40413   (eval $ac_link) 2>&5
40414   ac_status=$?
40415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416   (exit $ac_status); } &&
40417          { ac_try='test -s conftest$ac_exeext'
40418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40419   (eval $ac_try) 2>&5
40420   ac_status=$?
40421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422   (exit $ac_status); }; }; then
40423   eval "$as_ac_var=yes"
40424 else
40425   echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40427
40428 eval "$as_ac_var=no"
40429 fi
40430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40431 fi
40432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40434 if test `eval echo '${'$as_ac_var'}'` = yes; then
40435   cat >>confdefs.h <<_ACEOF
40436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40437 _ACEOF
40438
40439 fi
40440 done
40441
40442   else
40443
40444   echo "$as_me:$LINENO: checking for _powl declaration" >&5
40445 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40446   if test x${glibcxx_cv_func__powl_use+set} != xset; then
40447     if test "${glibcxx_cv_func__powl_use+set}" = set; then
40448   echo $ECHO_N "(cached) $ECHO_C" >&6
40449 else
40450
40451
40452
40453       ac_ext=cc
40454 ac_cpp='$CXXCPP $CPPFLAGS'
40455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40458
40459       cat >conftest.$ac_ext <<_ACEOF
40460 #line $LINENO "configure"
40461 /* confdefs.h.  */
40462 _ACEOF
40463 cat confdefs.h >>conftest.$ac_ext
40464 cat >>conftest.$ac_ext <<_ACEOF
40465 /* end confdefs.h.  */
40466 #include <math.h>
40467 int
40468 main ()
40469 {
40470  _powl(0, 0);
40471   ;
40472   return 0;
40473 }
40474 _ACEOF
40475 rm -f conftest.$ac_objext
40476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40477   (eval $ac_compile) 2>&5
40478   ac_status=$?
40479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40480   (exit $ac_status); } &&
40481          { ac_try='test -s conftest.$ac_objext'
40482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40483   (eval $ac_try) 2>&5
40484   ac_status=$?
40485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40486   (exit $ac_status); }; }; then
40487   glibcxx_cv_func__powl_use=yes
40488 else
40489   echo "$as_me: failed program was:" >&5
40490 sed 's/^/| /' conftest.$ac_ext >&5
40491
40492 glibcxx_cv_func__powl_use=no
40493 fi
40494 rm -f conftest.$ac_objext conftest.$ac_ext
40495       ac_ext=c
40496 ac_cpp='$CPP $CPPFLAGS'
40497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40500
40501
40502 fi
40503
40504   fi
40505   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40506 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40507
40508     if test x$glibcxx_cv_func__powl_use = x"yes"; then
40509
40510 for ac_func in _powl
40511 do
40512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40513 echo "$as_me:$LINENO: checking for $ac_func" >&5
40514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40515 if eval "test \"\${$as_ac_var+set}\" = set"; then
40516   echo $ECHO_N "(cached) $ECHO_C" >&6
40517 else
40518   if test x$gcc_no_link = xyes; then
40519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40521    { (exit 1); exit 1; }; }
40522 fi
40523 cat >conftest.$ac_ext <<_ACEOF
40524 #line $LINENO "configure"
40525 /* confdefs.h.  */
40526 _ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h.  */
40530 /* System header to define __stub macros and hopefully few prototypes,
40531     which can conflict with char $ac_func (); below.
40532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40533     <limits.h> exists even on freestanding compilers.  */
40534 #ifdef __STDC__
40535 # include <limits.h>
40536 #else
40537 # include <assert.h>
40538 #endif
40539 /* Override any gcc2 internal prototype to avoid an error.  */
40540 #ifdef __cplusplus
40541 extern "C"
40542 {
40543 #endif
40544 /* We use char because int might match the return type of a gcc2
40545    builtin and then its argument prototype would still apply.  */
40546 char $ac_func ();
40547 /* The GNU C library defines this for functions which it implements
40548     to always fail with ENOSYS.  Some functions are actually named
40549     something starting with __ and the normal name is an alias.  */
40550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40551 choke me
40552 #else
40553 char (*f) () = $ac_func;
40554 #endif
40555 #ifdef __cplusplus
40556 }
40557 #endif
40558
40559 int
40560 main ()
40561 {
40562 return f != $ac_func;
40563   ;
40564   return 0;
40565 }
40566 _ACEOF
40567 rm -f conftest.$ac_objext conftest$ac_exeext
40568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40569   (eval $ac_link) 2>&5
40570   ac_status=$?
40571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572   (exit $ac_status); } &&
40573          { ac_try='test -s conftest$ac_exeext'
40574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40575   (eval $ac_try) 2>&5
40576   ac_status=$?
40577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578   (exit $ac_status); }; }; then
40579   eval "$as_ac_var=yes"
40580 else
40581   echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584 eval "$as_ac_var=no"
40585 fi
40586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40587 fi
40588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40590 if test `eval echo '${'$as_ac_var'}'` = yes; then
40591   cat >>confdefs.h <<_ACEOF
40592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40593 _ACEOF
40594
40595 fi
40596 done
40597
40598     fi
40599   fi
40600
40601
40602
40603   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40604 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40605   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40606     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40607   echo $ECHO_N "(cached) $ECHO_C" >&6
40608 else
40609
40610
40611
40612       ac_ext=cc
40613 ac_cpp='$CXXCPP $CPPFLAGS'
40614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40617
40618       cat >conftest.$ac_ext <<_ACEOF
40619 #line $LINENO "configure"
40620 /* confdefs.h.  */
40621 _ACEOF
40622 cat confdefs.h >>conftest.$ac_ext
40623 cat >>conftest.$ac_ext <<_ACEOF
40624 /* end confdefs.h.  */
40625 #include <math.h>
40626                       #ifdef HAVE_IEEEFP_H
40627                       #include <ieeefp.h>
40628                       #endif
40629
40630 int
40631 main ()
40632 {
40633  sqrtl(0);
40634   ;
40635   return 0;
40636 }
40637 _ACEOF
40638 rm -f conftest.$ac_objext
40639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40640   (eval $ac_compile) 2>&5
40641   ac_status=$?
40642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643   (exit $ac_status); } &&
40644          { ac_try='test -s conftest.$ac_objext'
40645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646   (eval $ac_try) 2>&5
40647   ac_status=$?
40648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649   (exit $ac_status); }; }; then
40650   glibcxx_cv_func_sqrtl_use=yes
40651 else
40652   echo "$as_me: failed program was:" >&5
40653 sed 's/^/| /' conftest.$ac_ext >&5
40654
40655 glibcxx_cv_func_sqrtl_use=no
40656 fi
40657 rm -f conftest.$ac_objext conftest.$ac_ext
40658       ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40663
40664
40665 fi
40666
40667   fi
40668   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40669 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40670
40671   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40672
40673 for ac_func in sqrtl
40674 do
40675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40676 echo "$as_me:$LINENO: checking for $ac_func" >&5
40677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40678 if eval "test \"\${$as_ac_var+set}\" = set"; then
40679   echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681   if test x$gcc_no_link = xyes; then
40682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40684    { (exit 1); exit 1; }; }
40685 fi
40686 cat >conftest.$ac_ext <<_ACEOF
40687 #line $LINENO "configure"
40688 /* confdefs.h.  */
40689 _ACEOF
40690 cat confdefs.h >>conftest.$ac_ext
40691 cat >>conftest.$ac_ext <<_ACEOF
40692 /* end confdefs.h.  */
40693 /* System header to define __stub macros and hopefully few prototypes,
40694     which can conflict with char $ac_func (); below.
40695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40696     <limits.h> exists even on freestanding compilers.  */
40697 #ifdef __STDC__
40698 # include <limits.h>
40699 #else
40700 # include <assert.h>
40701 #endif
40702 /* Override any gcc2 internal prototype to avoid an error.  */
40703 #ifdef __cplusplus
40704 extern "C"
40705 {
40706 #endif
40707 /* We use char because int might match the return type of a gcc2
40708    builtin and then its argument prototype would still apply.  */
40709 char $ac_func ();
40710 /* The GNU C library defines this for functions which it implements
40711     to always fail with ENOSYS.  Some functions are actually named
40712     something starting with __ and the normal name is an alias.  */
40713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40714 choke me
40715 #else
40716 char (*f) () = $ac_func;
40717 #endif
40718 #ifdef __cplusplus
40719 }
40720 #endif
40721
40722 int
40723 main ()
40724 {
40725 return f != $ac_func;
40726   ;
40727   return 0;
40728 }
40729 _ACEOF
40730 rm -f conftest.$ac_objext conftest$ac_exeext
40731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40732   (eval $ac_link) 2>&5
40733   ac_status=$?
40734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735   (exit $ac_status); } &&
40736          { ac_try='test -s conftest$ac_exeext'
40737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40738   (eval $ac_try) 2>&5
40739   ac_status=$?
40740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741   (exit $ac_status); }; }; then
40742   eval "$as_ac_var=yes"
40743 else
40744   echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40746
40747 eval "$as_ac_var=no"
40748 fi
40749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40750 fi
40751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40753 if test `eval echo '${'$as_ac_var'}'` = yes; then
40754   cat >>confdefs.h <<_ACEOF
40755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40756 _ACEOF
40757
40758 fi
40759 done
40760
40761   else
40762
40763   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40764 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40765   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40766     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
40767   echo $ECHO_N "(cached) $ECHO_C" >&6
40768 else
40769
40770
40771
40772       ac_ext=cc
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40777
40778       cat >conftest.$ac_ext <<_ACEOF
40779 #line $LINENO "configure"
40780 /* confdefs.h.  */
40781 _ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h.  */
40785 #include <math.h>
40786                       #ifdef HAVE_IEEEFP_H
40787                       #include <ieeefp.h>
40788                       #endif
40789
40790 int
40791 main ()
40792 {
40793  _sqrtl(0);
40794   ;
40795   return 0;
40796 }
40797 _ACEOF
40798 rm -f conftest.$ac_objext
40799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40800   (eval $ac_compile) 2>&5
40801   ac_status=$?
40802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803   (exit $ac_status); } &&
40804          { ac_try='test -s conftest.$ac_objext'
40805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806   (eval $ac_try) 2>&5
40807   ac_status=$?
40808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809   (exit $ac_status); }; }; then
40810   glibcxx_cv_func__sqrtl_use=yes
40811 else
40812   echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.$ac_ext >&5
40814
40815 glibcxx_cv_func__sqrtl_use=no
40816 fi
40817 rm -f conftest.$ac_objext conftest.$ac_ext
40818       ac_ext=c
40819 ac_cpp='$CPP $CPPFLAGS'
40820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40823
40824
40825 fi
40826
40827   fi
40828   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
40829 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
40830
40831     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40832
40833 for ac_func in _sqrtl
40834 do
40835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40836 echo "$as_me:$LINENO: checking for $ac_func" >&5
40837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40838 if eval "test \"\${$as_ac_var+set}\" = set"; then
40839   echo $ECHO_N "(cached) $ECHO_C" >&6
40840 else
40841   if test x$gcc_no_link = xyes; then
40842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40844    { (exit 1); exit 1; }; }
40845 fi
40846 cat >conftest.$ac_ext <<_ACEOF
40847 #line $LINENO "configure"
40848 /* confdefs.h.  */
40849 _ACEOF
40850 cat confdefs.h >>conftest.$ac_ext
40851 cat >>conftest.$ac_ext <<_ACEOF
40852 /* end confdefs.h.  */
40853 /* System header to define __stub macros and hopefully few prototypes,
40854     which can conflict with char $ac_func (); below.
40855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40856     <limits.h> exists even on freestanding compilers.  */
40857 #ifdef __STDC__
40858 # include <limits.h>
40859 #else
40860 # include <assert.h>
40861 #endif
40862 /* Override any gcc2 internal prototype to avoid an error.  */
40863 #ifdef __cplusplus
40864 extern "C"
40865 {
40866 #endif
40867 /* We use char because int might match the return type of a gcc2
40868    builtin and then its argument prototype would still apply.  */
40869 char $ac_func ();
40870 /* The GNU C library defines this for functions which it implements
40871     to always fail with ENOSYS.  Some functions are actually named
40872     something starting with __ and the normal name is an alias.  */
40873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40874 choke me
40875 #else
40876 char (*f) () = $ac_func;
40877 #endif
40878 #ifdef __cplusplus
40879 }
40880 #endif
40881
40882 int
40883 main ()
40884 {
40885 return f != $ac_func;
40886   ;
40887   return 0;
40888 }
40889 _ACEOF
40890 rm -f conftest.$ac_objext conftest$ac_exeext
40891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40892   (eval $ac_link) 2>&5
40893   ac_status=$?
40894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895   (exit $ac_status); } &&
40896          { ac_try='test -s conftest$ac_exeext'
40897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898   (eval $ac_try) 2>&5
40899   ac_status=$?
40900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901   (exit $ac_status); }; }; then
40902   eval "$as_ac_var=yes"
40903 else
40904   echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.$ac_ext >&5
40906
40907 eval "$as_ac_var=no"
40908 fi
40909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40910 fi
40911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40913 if test `eval echo '${'$as_ac_var'}'` = yes; then
40914   cat >>confdefs.h <<_ACEOF
40915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40916 _ACEOF
40917
40918 fi
40919 done
40920
40921     fi
40922   fi
40923
40924
40925
40926   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
40927 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
40928   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40929     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
40930   echo $ECHO_N "(cached) $ECHO_C" >&6
40931 else
40932
40933
40934
40935       ac_ext=cc
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940
40941       cat >conftest.$ac_ext <<_ACEOF
40942 #line $LINENO "configure"
40943 /* confdefs.h.  */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h.  */
40948 #include <math.h>
40949 int
40950 main ()
40951 {
40952  sincosl(0, 0, 0);
40953   ;
40954   return 0;
40955 }
40956 _ACEOF
40957 rm -f conftest.$ac_objext
40958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40959   (eval $ac_compile) 2>&5
40960   ac_status=$?
40961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962   (exit $ac_status); } &&
40963          { ac_try='test -s conftest.$ac_objext'
40964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965   (eval $ac_try) 2>&5
40966   ac_status=$?
40967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968   (exit $ac_status); }; }; then
40969   glibcxx_cv_func_sincosl_use=yes
40970 else
40971   echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40973
40974 glibcxx_cv_func_sincosl_use=no
40975 fi
40976 rm -f conftest.$ac_objext conftest.$ac_ext
40977       ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982
40983
40984 fi
40985
40986   fi
40987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40988 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40989
40990   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40991
40992 for ac_func in sincosl
40993 do
40994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40995 echo "$as_me:$LINENO: checking for $ac_func" >&5
40996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40997 if eval "test \"\${$as_ac_var+set}\" = set"; then
40998   echo $ECHO_N "(cached) $ECHO_C" >&6
40999 else
41000   if test x$gcc_no_link = xyes; then
41001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41003    { (exit 1); exit 1; }; }
41004 fi
41005 cat >conftest.$ac_ext <<_ACEOF
41006 #line $LINENO "configure"
41007 /* confdefs.h.  */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h.  */
41012 /* System header to define __stub macros and hopefully few prototypes,
41013     which can conflict with char $ac_func (); below.
41014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41015     <limits.h> exists even on freestanding compilers.  */
41016 #ifdef __STDC__
41017 # include <limits.h>
41018 #else
41019 # include <assert.h>
41020 #endif
41021 /* Override any gcc2 internal prototype to avoid an error.  */
41022 #ifdef __cplusplus
41023 extern "C"
41024 {
41025 #endif
41026 /* We use char because int might match the return type of a gcc2
41027    builtin and then its argument prototype would still apply.  */
41028 char $ac_func ();
41029 /* The GNU C library defines this for functions which it implements
41030     to always fail with ENOSYS.  Some functions are actually named
41031     something starting with __ and the normal name is an alias.  */
41032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41033 choke me
41034 #else
41035 char (*f) () = $ac_func;
41036 #endif
41037 #ifdef __cplusplus
41038 }
41039 #endif
41040
41041 int
41042 main ()
41043 {
41044 return f != $ac_func;
41045   ;
41046   return 0;
41047 }
41048 _ACEOF
41049 rm -f conftest.$ac_objext conftest$ac_exeext
41050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41051   (eval $ac_link) 2>&5
41052   ac_status=$?
41053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054   (exit $ac_status); } &&
41055          { ac_try='test -s conftest$ac_exeext'
41056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41057   (eval $ac_try) 2>&5
41058   ac_status=$?
41059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41060   (exit $ac_status); }; }; then
41061   eval "$as_ac_var=yes"
41062 else
41063   echo "$as_me: failed program was:" >&5
41064 sed 's/^/| /' conftest.$ac_ext >&5
41065
41066 eval "$as_ac_var=no"
41067 fi
41068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41069 fi
41070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41072 if test `eval echo '${'$as_ac_var'}'` = yes; then
41073   cat >>confdefs.h <<_ACEOF
41074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41075 _ACEOF
41076
41077 fi
41078 done
41079
41080   else
41081
41082   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41083 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41084   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41085     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41086   echo $ECHO_N "(cached) $ECHO_C" >&6
41087 else
41088
41089
41090
41091       ac_ext=cc
41092 ac_cpp='$CXXCPP $CPPFLAGS'
41093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41096
41097       cat >conftest.$ac_ext <<_ACEOF
41098 #line $LINENO "configure"
41099 /* confdefs.h.  */
41100 _ACEOF
41101 cat confdefs.h >>conftest.$ac_ext
41102 cat >>conftest.$ac_ext <<_ACEOF
41103 /* end confdefs.h.  */
41104 #include <math.h>
41105 int
41106 main ()
41107 {
41108  _sincosl(0, 0, 0);
41109   ;
41110   return 0;
41111 }
41112 _ACEOF
41113 rm -f conftest.$ac_objext
41114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41115   (eval $ac_compile) 2>&5
41116   ac_status=$?
41117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118   (exit $ac_status); } &&
41119          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func__sincosl_use=yes
41126 else
41127   echo "$as_me: failed program was:" >&5
41128 sed 's/^/| /' conftest.$ac_ext >&5
41129
41130 glibcxx_cv_func__sincosl_use=no
41131 fi
41132 rm -f conftest.$ac_objext conftest.$ac_ext
41133       ac_ext=c
41134 ac_cpp='$CPP $CPPFLAGS'
41135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41138
41139
41140 fi
41141
41142   fi
41143   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41144 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41145
41146     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41147
41148 for ac_func in _sincosl
41149 do
41150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41151 echo "$as_me:$LINENO: checking for $ac_func" >&5
41152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41153 if eval "test \"\${$as_ac_var+set}\" = set"; then
41154   echo $ECHO_N "(cached) $ECHO_C" >&6
41155 else
41156   if test x$gcc_no_link = xyes; then
41157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41159    { (exit 1); exit 1; }; }
41160 fi
41161 cat >conftest.$ac_ext <<_ACEOF
41162 #line $LINENO "configure"
41163 /* confdefs.h.  */
41164 _ACEOF
41165 cat confdefs.h >>conftest.$ac_ext
41166 cat >>conftest.$ac_ext <<_ACEOF
41167 /* end confdefs.h.  */
41168 /* System header to define __stub macros and hopefully few prototypes,
41169     which can conflict with char $ac_func (); below.
41170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41171     <limits.h> exists even on freestanding compilers.  */
41172 #ifdef __STDC__
41173 # include <limits.h>
41174 #else
41175 # include <assert.h>
41176 #endif
41177 /* Override any gcc2 internal prototype to avoid an error.  */
41178 #ifdef __cplusplus
41179 extern "C"
41180 {
41181 #endif
41182 /* We use char because int might match the return type of a gcc2
41183    builtin and then its argument prototype would still apply.  */
41184 char $ac_func ();
41185 /* The GNU C library defines this for functions which it implements
41186     to always fail with ENOSYS.  Some functions are actually named
41187     something starting with __ and the normal name is an alias.  */
41188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41189 choke me
41190 #else
41191 char (*f) () = $ac_func;
41192 #endif
41193 #ifdef __cplusplus
41194 }
41195 #endif
41196
41197 int
41198 main ()
41199 {
41200 return f != $ac_func;
41201   ;
41202   return 0;
41203 }
41204 _ACEOF
41205 rm -f conftest.$ac_objext conftest$ac_exeext
41206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41207   (eval $ac_link) 2>&5
41208   ac_status=$?
41209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210   (exit $ac_status); } &&
41211          { ac_try='test -s conftest$ac_exeext'
41212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213   (eval $ac_try) 2>&5
41214   ac_status=$?
41215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216   (exit $ac_status); }; }; then
41217   eval "$as_ac_var=yes"
41218 else
41219   echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41221
41222 eval "$as_ac_var=no"
41223 fi
41224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41225 fi
41226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41228 if test `eval echo '${'$as_ac_var'}'` = yes; then
41229   cat >>confdefs.h <<_ACEOF
41230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41231 _ACEOF
41232
41233 fi
41234 done
41235
41236     fi
41237   fi
41238
41239
41240
41241   echo "$as_me:$LINENO: checking for finitel declaration" >&5
41242 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41243   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41244     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41245   echo $ECHO_N "(cached) $ECHO_C" >&6
41246 else
41247
41248
41249
41250       ac_ext=cc
41251 ac_cpp='$CXXCPP $CPPFLAGS'
41252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41255
41256       cat >conftest.$ac_ext <<_ACEOF
41257 #line $LINENO "configure"
41258 /* confdefs.h.  */
41259 _ACEOF
41260 cat confdefs.h >>conftest.$ac_ext
41261 cat >>conftest.$ac_ext <<_ACEOF
41262 /* end confdefs.h.  */
41263 #include <math.h>
41264                       #ifdef HAVE_IEEEFP_H
41265                       #include <ieeefp.h>
41266                       #endif
41267
41268 int
41269 main ()
41270 {
41271  finitel(0);
41272   ;
41273   return 0;
41274 }
41275 _ACEOF
41276 rm -f conftest.$ac_objext
41277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41278   (eval $ac_compile) 2>&5
41279   ac_status=$?
41280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281   (exit $ac_status); } &&
41282          { ac_try='test -s conftest.$ac_objext'
41283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41284   (eval $ac_try) 2>&5
41285   ac_status=$?
41286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41287   (exit $ac_status); }; }; then
41288   glibcxx_cv_func_finitel_use=yes
41289 else
41290   echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41292
41293 glibcxx_cv_func_finitel_use=no
41294 fi
41295 rm -f conftest.$ac_objext conftest.$ac_ext
41296       ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301
41302
41303 fi
41304
41305   fi
41306   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41307 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41308
41309   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41310
41311 for ac_func in finitel
41312 do
41313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41314 echo "$as_me:$LINENO: checking for $ac_func" >&5
41315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41316 if eval "test \"\${$as_ac_var+set}\" = set"; then
41317   echo $ECHO_N "(cached) $ECHO_C" >&6
41318 else
41319   if test x$gcc_no_link = xyes; then
41320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41322    { (exit 1); exit 1; }; }
41323 fi
41324 cat >conftest.$ac_ext <<_ACEOF
41325 #line $LINENO "configure"
41326 /* confdefs.h.  */
41327 _ACEOF
41328 cat confdefs.h >>conftest.$ac_ext
41329 cat >>conftest.$ac_ext <<_ACEOF
41330 /* end confdefs.h.  */
41331 /* System header to define __stub macros and hopefully few prototypes,
41332     which can conflict with char $ac_func (); below.
41333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41334     <limits.h> exists even on freestanding compilers.  */
41335 #ifdef __STDC__
41336 # include <limits.h>
41337 #else
41338 # include <assert.h>
41339 #endif
41340 /* Override any gcc2 internal prototype to avoid an error.  */
41341 #ifdef __cplusplus
41342 extern "C"
41343 {
41344 #endif
41345 /* We use char because int might match the return type of a gcc2
41346    builtin and then its argument prototype would still apply.  */
41347 char $ac_func ();
41348 /* The GNU C library defines this for functions which it implements
41349     to always fail with ENOSYS.  Some functions are actually named
41350     something starting with __ and the normal name is an alias.  */
41351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41352 choke me
41353 #else
41354 char (*f) () = $ac_func;
41355 #endif
41356 #ifdef __cplusplus
41357 }
41358 #endif
41359
41360 int
41361 main ()
41362 {
41363 return f != $ac_func;
41364   ;
41365   return 0;
41366 }
41367 _ACEOF
41368 rm -f conftest.$ac_objext conftest$ac_exeext
41369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41370   (eval $ac_link) 2>&5
41371   ac_status=$?
41372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373   (exit $ac_status); } &&
41374          { ac_try='test -s conftest$ac_exeext'
41375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376   (eval $ac_try) 2>&5
41377   ac_status=$?
41378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379   (exit $ac_status); }; }; then
41380   eval "$as_ac_var=yes"
41381 else
41382   echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41384
41385 eval "$as_ac_var=no"
41386 fi
41387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41388 fi
41389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41391 if test `eval echo '${'$as_ac_var'}'` = yes; then
41392   cat >>confdefs.h <<_ACEOF
41393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41394 _ACEOF
41395
41396 fi
41397 done
41398
41399   else
41400
41401   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41402 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41403   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41404     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41405   echo $ECHO_N "(cached) $ECHO_C" >&6
41406 else
41407
41408
41409
41410       ac_ext=cc
41411 ac_cpp='$CXXCPP $CPPFLAGS'
41412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41415
41416       cat >conftest.$ac_ext <<_ACEOF
41417 #line $LINENO "configure"
41418 /* confdefs.h.  */
41419 _ACEOF
41420 cat confdefs.h >>conftest.$ac_ext
41421 cat >>conftest.$ac_ext <<_ACEOF
41422 /* end confdefs.h.  */
41423 #include <math.h>
41424                       #ifdef HAVE_IEEEFP_H
41425                       #include <ieeefp.h>
41426                       #endif
41427
41428 int
41429 main ()
41430 {
41431  _finitel(0);
41432   ;
41433   return 0;
41434 }
41435 _ACEOF
41436 rm -f conftest.$ac_objext
41437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41438   (eval $ac_compile) 2>&5
41439   ac_status=$?
41440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41441   (exit $ac_status); } &&
41442          { ac_try='test -s conftest.$ac_objext'
41443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41444   (eval $ac_try) 2>&5
41445   ac_status=$?
41446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41447   (exit $ac_status); }; }; then
41448   glibcxx_cv_func__finitel_use=yes
41449 else
41450   echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.$ac_ext >&5
41452
41453 glibcxx_cv_func__finitel_use=no
41454 fi
41455 rm -f conftest.$ac_objext conftest.$ac_ext
41456       ac_ext=c
41457 ac_cpp='$CPP $CPPFLAGS'
41458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41461
41462
41463 fi
41464
41465   fi
41466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41467 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41468
41469     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41470
41471 for ac_func in _finitel
41472 do
41473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41474 echo "$as_me:$LINENO: checking for $ac_func" >&5
41475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41476 if eval "test \"\${$as_ac_var+set}\" = set"; then
41477   echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479   if test x$gcc_no_link = xyes; then
41480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41482    { (exit 1); exit 1; }; }
41483 fi
41484 cat >conftest.$ac_ext <<_ACEOF
41485 #line $LINENO "configure"
41486 /* confdefs.h.  */
41487 _ACEOF
41488 cat confdefs.h >>conftest.$ac_ext
41489 cat >>conftest.$ac_ext <<_ACEOF
41490 /* end confdefs.h.  */
41491 /* System header to define __stub macros and hopefully few prototypes,
41492     which can conflict with char $ac_func (); below.
41493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41494     <limits.h> exists even on freestanding compilers.  */
41495 #ifdef __STDC__
41496 # include <limits.h>
41497 #else
41498 # include <assert.h>
41499 #endif
41500 /* Override any gcc2 internal prototype to avoid an error.  */
41501 #ifdef __cplusplus
41502 extern "C"
41503 {
41504 #endif
41505 /* We use char because int might match the return type of a gcc2
41506    builtin and then its argument prototype would still apply.  */
41507 char $ac_func ();
41508 /* The GNU C library defines this for functions which it implements
41509     to always fail with ENOSYS.  Some functions are actually named
41510     something starting with __ and the normal name is an alias.  */
41511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41512 choke me
41513 #else
41514 char (*f) () = $ac_func;
41515 #endif
41516 #ifdef __cplusplus
41517 }
41518 #endif
41519
41520 int
41521 main ()
41522 {
41523 return f != $ac_func;
41524   ;
41525   return 0;
41526 }
41527 _ACEOF
41528 rm -f conftest.$ac_objext conftest$ac_exeext
41529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41530   (eval $ac_link) 2>&5
41531   ac_status=$?
41532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533   (exit $ac_status); } &&
41534          { ac_try='test -s conftest$ac_exeext'
41535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41536   (eval $ac_try) 2>&5
41537   ac_status=$?
41538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539   (exit $ac_status); }; }; then
41540   eval "$as_ac_var=yes"
41541 else
41542   echo "$as_me: failed program was:" >&5
41543 sed 's/^/| /' conftest.$ac_ext >&5
41544
41545 eval "$as_ac_var=no"
41546 fi
41547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41548 fi
41549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41551 if test `eval echo '${'$as_ac_var'}'` = yes; then
41552   cat >>confdefs.h <<_ACEOF
41553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41554 _ACEOF
41555
41556 fi
41557 done
41558
41559     fi
41560   fi
41561
41562
41563
41564
41565   echo "$as_me:$LINENO: checking for _float trig functions" >&5
41566 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41567   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41568   echo $ECHO_N "(cached) $ECHO_C" >&6
41569 else
41570
41571
41572
41573     ac_ext=cc
41574 ac_cpp='$CXXCPP $CPPFLAGS'
41575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41578
41579     cat >conftest.$ac_ext <<_ACEOF
41580 #line $LINENO "configure"
41581 /* confdefs.h.  */
41582 _ACEOF
41583 cat confdefs.h >>conftest.$ac_ext
41584 cat >>conftest.$ac_ext <<_ACEOF
41585 /* end confdefs.h.  */
41586 #include <math.h>
41587 int
41588 main ()
41589 {
41590  `for x in _acosf _asinf _atanf \
41591                                           _cosf _sinf _tanf \
41592                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41593   ;
41594   return 0;
41595 }
41596 _ACEOF
41597 rm -f conftest.$ac_objext
41598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41599   (eval $ac_compile) 2>&5
41600   ac_status=$?
41601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602   (exit $ac_status); } &&
41603          { ac_try='test -s conftest.$ac_objext'
41604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41605   (eval $ac_try) 2>&5
41606   ac_status=$?
41607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608   (exit $ac_status); }; }; then
41609   glibcxx_cv_func__float_trig_use=yes
41610 else
41611   echo "$as_me: failed program was:" >&5
41612 sed 's/^/| /' conftest.$ac_ext >&5
41613
41614 glibcxx_cv_func__float_trig_use=no
41615 fi
41616 rm -f conftest.$ac_objext conftest.$ac_ext
41617     ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41622
41623 fi
41624
41625   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41626 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41627   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637 for ac_func in _acosf _asinf _atanf \
41638                                           _cosf _sinf _tanf \
41639                                           _coshf _sinhf _tanhf
41640 do
41641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41642 echo "$as_me:$LINENO: checking for $ac_func" >&5
41643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41644 if eval "test \"\${$as_ac_var+set}\" = set"; then
41645   echo $ECHO_N "(cached) $ECHO_C" >&6
41646 else
41647   if test x$gcc_no_link = xyes; then
41648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41650    { (exit 1); exit 1; }; }
41651 fi
41652 cat >conftest.$ac_ext <<_ACEOF
41653 #line $LINENO "configure"
41654 /* confdefs.h.  */
41655 _ACEOF
41656 cat confdefs.h >>conftest.$ac_ext
41657 cat >>conftest.$ac_ext <<_ACEOF
41658 /* end confdefs.h.  */
41659 /* System header to define __stub macros and hopefully few prototypes,
41660     which can conflict with char $ac_func (); below.
41661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41662     <limits.h> exists even on freestanding compilers.  */
41663 #ifdef __STDC__
41664 # include <limits.h>
41665 #else
41666 # include <assert.h>
41667 #endif
41668 /* Override any gcc2 internal prototype to avoid an error.  */
41669 #ifdef __cplusplus
41670 extern "C"
41671 {
41672 #endif
41673 /* We use char because int might match the return type of a gcc2
41674    builtin and then its argument prototype would still apply.  */
41675 char $ac_func ();
41676 /* The GNU C library defines this for functions which it implements
41677     to always fail with ENOSYS.  Some functions are actually named
41678     something starting with __ and the normal name is an alias.  */
41679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41680 choke me
41681 #else
41682 char (*f) () = $ac_func;
41683 #endif
41684 #ifdef __cplusplus
41685 }
41686 #endif
41687
41688 int
41689 main ()
41690 {
41691 return f != $ac_func;
41692   ;
41693   return 0;
41694 }
41695 _ACEOF
41696 rm -f conftest.$ac_objext conftest$ac_exeext
41697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41698   (eval $ac_link) 2>&5
41699   ac_status=$?
41700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41701   (exit $ac_status); } &&
41702          { ac_try='test -s conftest$ac_exeext'
41703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41704   (eval $ac_try) 2>&5
41705   ac_status=$?
41706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707   (exit $ac_status); }; }; then
41708   eval "$as_ac_var=yes"
41709 else
41710   echo "$as_me: failed program was:" >&5
41711 sed 's/^/| /' conftest.$ac_ext >&5
41712
41713 eval "$as_ac_var=no"
41714 fi
41715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41716 fi
41717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41719 if test `eval echo '${'$as_ac_var'}'` = yes; then
41720   cat >>confdefs.h <<_ACEOF
41721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41722 _ACEOF
41723
41724 fi
41725 done
41726
41727   fi
41728
41729
41730   echo "$as_me:$LINENO: checking for _float round functions" >&5
41731 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41732   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41733   echo $ECHO_N "(cached) $ECHO_C" >&6
41734 else
41735
41736
41737
41738     ac_ext=cc
41739 ac_cpp='$CXXCPP $CPPFLAGS'
41740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41743
41744     cat >conftest.$ac_ext <<_ACEOF
41745 #line $LINENO "configure"
41746 /* confdefs.h.  */
41747 _ACEOF
41748 cat confdefs.h >>conftest.$ac_ext
41749 cat >>conftest.$ac_ext <<_ACEOF
41750 /* end confdefs.h.  */
41751 #include <math.h>
41752 int
41753 main ()
41754 {
41755  `for x in _ceilf _floorf; do echo "$x (0);"; done`
41756   ;
41757   return 0;
41758 }
41759 _ACEOF
41760 rm -f conftest.$ac_objext
41761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41762   (eval $ac_compile) 2>&5
41763   ac_status=$?
41764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41765   (exit $ac_status); } &&
41766          { ac_try='test -s conftest.$ac_objext'
41767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41768   (eval $ac_try) 2>&5
41769   ac_status=$?
41770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771   (exit $ac_status); }; }; then
41772   glibcxx_cv_func__float_round_use=yes
41773 else
41774   echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.$ac_ext >&5
41776
41777 glibcxx_cv_func__float_round_use=no
41778 fi
41779 rm -f conftest.$ac_objext conftest.$ac_ext
41780     ac_ext=c
41781 ac_cpp='$CPP $CPPFLAGS'
41782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785
41786 fi
41787
41788   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41789 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41790   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41791
41792
41793 for ac_func in _ceilf _floorf
41794 do
41795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41796 echo "$as_me:$LINENO: checking for $ac_func" >&5
41797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41798 if eval "test \"\${$as_ac_var+set}\" = set"; then
41799   echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801   if test x$gcc_no_link = xyes; then
41802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41804    { (exit 1); exit 1; }; }
41805 fi
41806 cat >conftest.$ac_ext <<_ACEOF
41807 #line $LINENO "configure"
41808 /* confdefs.h.  */
41809 _ACEOF
41810 cat confdefs.h >>conftest.$ac_ext
41811 cat >>conftest.$ac_ext <<_ACEOF
41812 /* end confdefs.h.  */
41813 /* System header to define __stub macros and hopefully few prototypes,
41814     which can conflict with char $ac_func (); below.
41815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41816     <limits.h> exists even on freestanding compilers.  */
41817 #ifdef __STDC__
41818 # include <limits.h>
41819 #else
41820 # include <assert.h>
41821 #endif
41822 /* Override any gcc2 internal prototype to avoid an error.  */
41823 #ifdef __cplusplus
41824 extern "C"
41825 {
41826 #endif
41827 /* We use char because int might match the return type of a gcc2
41828    builtin and then its argument prototype would still apply.  */
41829 char $ac_func ();
41830 /* The GNU C library defines this for functions which it implements
41831     to always fail with ENOSYS.  Some functions are actually named
41832     something starting with __ and the normal name is an alias.  */
41833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41834 choke me
41835 #else
41836 char (*f) () = $ac_func;
41837 #endif
41838 #ifdef __cplusplus
41839 }
41840 #endif
41841
41842 int
41843 main ()
41844 {
41845 return f != $ac_func;
41846   ;
41847   return 0;
41848 }
41849 _ACEOF
41850 rm -f conftest.$ac_objext conftest$ac_exeext
41851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41852   (eval $ac_link) 2>&5
41853   ac_status=$?
41854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855   (exit $ac_status); } &&
41856          { ac_try='test -s conftest$ac_exeext'
41857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858   (eval $ac_try) 2>&5
41859   ac_status=$?
41860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861   (exit $ac_status); }; }; then
41862   eval "$as_ac_var=yes"
41863 else
41864   echo "$as_me: failed program was:" >&5
41865 sed 's/^/| /' conftest.$ac_ext >&5
41866
41867 eval "$as_ac_var=no"
41868 fi
41869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41870 fi
41871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41873 if test `eval echo '${'$as_ac_var'}'` = yes; then
41874   cat >>confdefs.h <<_ACEOF
41875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41876 _ACEOF
41877
41878 fi
41879 done
41880
41881   fi
41882
41883
41884
41885   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41886 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41887   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41888   echo $ECHO_N "(cached) $ECHO_C" >&6
41889 else
41890
41891
41892
41893     ac_ext=cc
41894 ac_cpp='$CXXCPP $CPPFLAGS'
41895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41898
41899     cat >conftest.$ac_ext <<_ACEOF
41900 #line $LINENO "configure"
41901 /* confdefs.h.  */
41902 _ACEOF
41903 cat confdefs.h >>conftest.$ac_ext
41904 cat >>conftest.$ac_ext <<_ACEOF
41905 /* end confdefs.h.  */
41906 #include <math.h>
41907 int
41908 main ()
41909 {
41910  `for x in _acosl _asinl _atanl \
41911                                           _cosl _sinl _tanl \
41912                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
41913   ;
41914   return 0;
41915 }
41916 _ACEOF
41917 rm -f conftest.$ac_objext
41918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41919   (eval $ac_compile) 2>&5
41920   ac_status=$?
41921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922   (exit $ac_status); } &&
41923          { ac_try='test -s conftest.$ac_objext'
41924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41925   (eval $ac_try) 2>&5
41926   ac_status=$?
41927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928   (exit $ac_status); }; }; then
41929   glibcxx_cv_func__long_double_trig_use=yes
41930 else
41931   echo "$as_me: failed program was:" >&5
41932 sed 's/^/| /' conftest.$ac_ext >&5
41933
41934 glibcxx_cv_func__long_double_trig_use=no
41935 fi
41936 rm -f conftest.$ac_objext conftest.$ac_ext
41937     ac_ext=c
41938 ac_cpp='$CPP $CPPFLAGS'
41939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41942
41943 fi
41944
41945   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41946 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41947   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957 for ac_func in _acosl _asinl _atanl \
41958                                           _cosl _sinl _tanl \
41959                                           _coshl _sinhl _tanhl
41960 do
41961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41962 echo "$as_me:$LINENO: checking for $ac_func" >&5
41963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41964 if eval "test \"\${$as_ac_var+set}\" = set"; then
41965   echo $ECHO_N "(cached) $ECHO_C" >&6
41966 else
41967   if test x$gcc_no_link = xyes; then
41968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41970    { (exit 1); exit 1; }; }
41971 fi
41972 cat >conftest.$ac_ext <<_ACEOF
41973 #line $LINENO "configure"
41974 /* confdefs.h.  */
41975 _ACEOF
41976 cat confdefs.h >>conftest.$ac_ext
41977 cat >>conftest.$ac_ext <<_ACEOF
41978 /* end confdefs.h.  */
41979 /* System header to define __stub macros and hopefully few prototypes,
41980     which can conflict with char $ac_func (); below.
41981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41982     <limits.h> exists even on freestanding compilers.  */
41983 #ifdef __STDC__
41984 # include <limits.h>
41985 #else
41986 # include <assert.h>
41987 #endif
41988 /* Override any gcc2 internal prototype to avoid an error.  */
41989 #ifdef __cplusplus
41990 extern "C"
41991 {
41992 #endif
41993 /* We use char because int might match the return type of a gcc2
41994    builtin and then its argument prototype would still apply.  */
41995 char $ac_func ();
41996 /* The GNU C library defines this for functions which it implements
41997     to always fail with ENOSYS.  Some functions are actually named
41998     something starting with __ and the normal name is an alias.  */
41999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42000 choke me
42001 #else
42002 char (*f) () = $ac_func;
42003 #endif
42004 #ifdef __cplusplus
42005 }
42006 #endif
42007
42008 int
42009 main ()
42010 {
42011 return f != $ac_func;
42012   ;
42013   return 0;
42014 }
42015 _ACEOF
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42018   (eval $ac_link) 2>&5
42019   ac_status=$?
42020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42021   (exit $ac_status); } &&
42022          { ac_try='test -s conftest$ac_exeext'
42023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42024   (eval $ac_try) 2>&5
42025   ac_status=$?
42026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42027   (exit $ac_status); }; }; then
42028   eval "$as_ac_var=yes"
42029 else
42030   echo "$as_me: failed program was:" >&5
42031 sed 's/^/| /' conftest.$ac_ext >&5
42032
42033 eval "$as_ac_var=no"
42034 fi
42035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42036 fi
42037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42039 if test `eval echo '${'$as_ac_var'}'` = yes; then
42040   cat >>confdefs.h <<_ACEOF
42041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42042 _ACEOF
42043
42044 fi
42045 done
42046
42047   fi
42048
42049
42050   echo "$as_me:$LINENO: checking for _long double round functions" >&5
42051 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42052   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42053   echo $ECHO_N "(cached) $ECHO_C" >&6
42054 else
42055
42056
42057
42058     ac_ext=cc
42059 ac_cpp='$CXXCPP $CPPFLAGS'
42060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42063
42064     cat >conftest.$ac_ext <<_ACEOF
42065 #line $LINENO "configure"
42066 /* confdefs.h.  */
42067 _ACEOF
42068 cat confdefs.h >>conftest.$ac_ext
42069 cat >>conftest.$ac_ext <<_ACEOF
42070 /* end confdefs.h.  */
42071 #include <math.h>
42072 int
42073 main ()
42074 {
42075  `for x in _ceill _floorl; do echo "$x (0);"; done`
42076   ;
42077   return 0;
42078 }
42079 _ACEOF
42080 rm -f conftest.$ac_objext
42081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42082   (eval $ac_compile) 2>&5
42083   ac_status=$?
42084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42085   (exit $ac_status); } &&
42086          { ac_try='test -s conftest.$ac_objext'
42087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42088   (eval $ac_try) 2>&5
42089   ac_status=$?
42090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091   (exit $ac_status); }; }; then
42092   glibcxx_cv_func__long_double_round_use=yes
42093 else
42094   echo "$as_me: failed program was:" >&5
42095 sed 's/^/| /' conftest.$ac_ext >&5
42096
42097 glibcxx_cv_func__long_double_round_use=no
42098 fi
42099 rm -f conftest.$ac_objext conftest.$ac_ext
42100     ac_ext=c
42101 ac_cpp='$CPP $CPPFLAGS'
42102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42105
42106 fi
42107
42108   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42109 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42110   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42111
42112
42113 for ac_func in _ceill _floorl
42114 do
42115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42116 echo "$as_me:$LINENO: checking for $ac_func" >&5
42117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42118 if eval "test \"\${$as_ac_var+set}\" = set"; then
42119   echo $ECHO_N "(cached) $ECHO_C" >&6
42120 else
42121   if test x$gcc_no_link = xyes; then
42122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42124    { (exit 1); exit 1; }; }
42125 fi
42126 cat >conftest.$ac_ext <<_ACEOF
42127 #line $LINENO "configure"
42128 /* confdefs.h.  */
42129 _ACEOF
42130 cat confdefs.h >>conftest.$ac_ext
42131 cat >>conftest.$ac_ext <<_ACEOF
42132 /* end confdefs.h.  */
42133 /* System header to define __stub macros and hopefully few prototypes,
42134     which can conflict with char $ac_func (); below.
42135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42136     <limits.h> exists even on freestanding compilers.  */
42137 #ifdef __STDC__
42138 # include <limits.h>
42139 #else
42140 # include <assert.h>
42141 #endif
42142 /* Override any gcc2 internal prototype to avoid an error.  */
42143 #ifdef __cplusplus
42144 extern "C"
42145 {
42146 #endif
42147 /* We use char because int might match the return type of a gcc2
42148    builtin and then its argument prototype would still apply.  */
42149 char $ac_func ();
42150 /* The GNU C library defines this for functions which it implements
42151     to always fail with ENOSYS.  Some functions are actually named
42152     something starting with __ and the normal name is an alias.  */
42153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42154 choke me
42155 #else
42156 char (*f) () = $ac_func;
42157 #endif
42158 #ifdef __cplusplus
42159 }
42160 #endif
42161
42162 int
42163 main ()
42164 {
42165 return f != $ac_func;
42166   ;
42167   return 0;
42168 }
42169 _ACEOF
42170 rm -f conftest.$ac_objext conftest$ac_exeext
42171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42172   (eval $ac_link) 2>&5
42173   ac_status=$?
42174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175   (exit $ac_status); } &&
42176          { ac_try='test -s conftest$ac_exeext'
42177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42178   (eval $ac_try) 2>&5
42179   ac_status=$?
42180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42181   (exit $ac_status); }; }; then
42182   eval "$as_ac_var=yes"
42183 else
42184   echo "$as_me: failed program was:" >&5
42185 sed 's/^/| /' conftest.$ac_ext >&5
42186
42187 eval "$as_ac_var=no"
42188 fi
42189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42190 fi
42191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42193 if test `eval echo '${'$as_ac_var'}'` = yes; then
42194   cat >>confdefs.h <<_ACEOF
42195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42196 _ACEOF
42197
42198 fi
42199 done
42200
42201   fi
42202
42203
42204   LIBS="$ac_save_LIBS"
42205   CXXFLAGS="$ac_save_CXXFLAGS"
42206
42207
42208
42209   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42210 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42211   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42212     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42213   echo $ECHO_N "(cached) $ECHO_C" >&6
42214 else
42215
42216
42217
42218       ac_ext=cc
42219 ac_cpp='$CXXCPP $CPPFLAGS'
42220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42223
42224       cat >conftest.$ac_ext <<_ACEOF
42225 #line $LINENO "configure"
42226 /* confdefs.h.  */
42227 _ACEOF
42228 cat confdefs.h >>conftest.$ac_ext
42229 cat >>conftest.$ac_ext <<_ACEOF
42230 /* end confdefs.h.  */
42231 #include <math.h>
42232 int
42233 main ()
42234 {
42235  __builtin_abs(0);
42236   ;
42237   return 0;
42238 }
42239 _ACEOF
42240 rm -f conftest.$ac_objext
42241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42242   (eval $ac_compile) 2>&5
42243   ac_status=$?
42244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42245   (exit $ac_status); } &&
42246          { ac_try='test -s conftest.$ac_objext'
42247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42248   (eval $ac_try) 2>&5
42249   ac_status=$?
42250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251   (exit $ac_status); }; }; then
42252   glibcxx_cv_func___builtin_abs_use=yes
42253 else
42254   echo "$as_me: failed program was:" >&5
42255 sed 's/^/| /' conftest.$ac_ext >&5
42256
42257 glibcxx_cv_func___builtin_abs_use=no
42258 fi
42259 rm -f conftest.$ac_objext conftest.$ac_ext
42260       ac_ext=c
42261 ac_cpp='$CPP $CPPFLAGS'
42262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42265
42266
42267 fi
42268
42269   fi
42270   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42271 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42272   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42273     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42274 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42275     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42276       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42277   echo $ECHO_N "(cached) $ECHO_C" >&6
42278 else
42279
42280         if test x$gcc_no_link = xyes; then
42281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42283    { (exit 1); exit 1; }; }
42284 fi
42285 cat >conftest.$ac_ext <<_ACEOF
42286 #line $LINENO "configure"
42287 /* confdefs.h.  */
42288 _ACEOF
42289 cat confdefs.h >>conftest.$ac_ext
42290 cat >>conftest.$ac_ext <<_ACEOF
42291 /* end confdefs.h.  */
42292 #include <math.h>
42293 int
42294 main ()
42295 {
42296  __builtin_abs(0);
42297   ;
42298   return 0;
42299 }
42300 _ACEOF
42301 rm -f conftest.$ac_objext conftest$ac_exeext
42302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42303   (eval $ac_link) 2>&5
42304   ac_status=$?
42305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306   (exit $ac_status); } &&
42307          { ac_try='test -s conftest$ac_exeext'
42308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42309   (eval $ac_try) 2>&5
42310   ac_status=$?
42311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42312   (exit $ac_status); }; }; then
42313   glibcxx_cv_func___builtin_abs_link=yes
42314 else
42315   echo "$as_me: failed program was:" >&5
42316 sed 's/^/| /' conftest.$ac_ext >&5
42317
42318 glibcxx_cv_func___builtin_abs_link=no
42319 fi
42320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42321
42322 fi
42323
42324     fi
42325     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42326 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42327     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42328       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42329
42330 cat >>confdefs.h <<_ACEOF
42331 #define ${ac_tr_func} 1
42332 _ACEOF
42333
42334     fi
42335   fi
42336
42337
42338   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42339 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42340   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42341     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42342   echo $ECHO_N "(cached) $ECHO_C" >&6
42343 else
42344
42345
42346
42347       ac_ext=cc
42348 ac_cpp='$CXXCPP $CPPFLAGS'
42349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42352
42353       cat >conftest.$ac_ext <<_ACEOF
42354 #line $LINENO "configure"
42355 /* confdefs.h.  */
42356 _ACEOF
42357 cat confdefs.h >>conftest.$ac_ext
42358 cat >>conftest.$ac_ext <<_ACEOF
42359 /* end confdefs.h.  */
42360 #include <math.h>
42361 int
42362 main ()
42363 {
42364  __builtin_fabsf(0);
42365   ;
42366   return 0;
42367 }
42368 _ACEOF
42369 rm -f conftest.$ac_objext
42370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42371   (eval $ac_compile) 2>&5
42372   ac_status=$?
42373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374   (exit $ac_status); } &&
42375          { ac_try='test -s conftest.$ac_objext'
42376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377   (eval $ac_try) 2>&5
42378   ac_status=$?
42379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380   (exit $ac_status); }; }; then
42381   glibcxx_cv_func___builtin_fabsf_use=yes
42382 else
42383   echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.$ac_ext >&5
42385
42386 glibcxx_cv_func___builtin_fabsf_use=no
42387 fi
42388 rm -f conftest.$ac_objext conftest.$ac_ext
42389       ac_ext=c
42390 ac_cpp='$CPP $CPPFLAGS'
42391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42394
42395
42396 fi
42397
42398   fi
42399   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42400 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42401   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42402     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42403 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42404     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42405       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42406   echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42408
42409         if test x$gcc_no_link = xyes; then
42410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42412    { (exit 1); exit 1; }; }
42413 fi
42414 cat >conftest.$ac_ext <<_ACEOF
42415 #line $LINENO "configure"
42416 /* confdefs.h.  */
42417 _ACEOF
42418 cat confdefs.h >>conftest.$ac_ext
42419 cat >>conftest.$ac_ext <<_ACEOF
42420 /* end confdefs.h.  */
42421 #include <math.h>
42422 int
42423 main ()
42424 {
42425  __builtin_fabsf(0);
42426   ;
42427   return 0;
42428 }
42429 _ACEOF
42430 rm -f conftest.$ac_objext conftest$ac_exeext
42431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42432   (eval $ac_link) 2>&5
42433   ac_status=$?
42434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435   (exit $ac_status); } &&
42436          { ac_try='test -s conftest$ac_exeext'
42437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438   (eval $ac_try) 2>&5
42439   ac_status=$?
42440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441   (exit $ac_status); }; }; then
42442   glibcxx_cv_func___builtin_fabsf_link=yes
42443 else
42444   echo "$as_me: failed program was:" >&5
42445 sed 's/^/| /' conftest.$ac_ext >&5
42446
42447 glibcxx_cv_func___builtin_fabsf_link=no
42448 fi
42449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42450
42451 fi
42452
42453     fi
42454     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42455 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42456     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42457       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42458
42459 cat >>confdefs.h <<_ACEOF
42460 #define ${ac_tr_func} 1
42461 _ACEOF
42462
42463     fi
42464   fi
42465
42466
42467   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42468 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42469   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42470     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42471   echo $ECHO_N "(cached) $ECHO_C" >&6
42472 else
42473
42474
42475
42476       ac_ext=cc
42477 ac_cpp='$CXXCPP $CPPFLAGS'
42478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42481
42482       cat >conftest.$ac_ext <<_ACEOF
42483 #line $LINENO "configure"
42484 /* confdefs.h.  */
42485 _ACEOF
42486 cat confdefs.h >>conftest.$ac_ext
42487 cat >>conftest.$ac_ext <<_ACEOF
42488 /* end confdefs.h.  */
42489 #include <math.h>
42490 int
42491 main ()
42492 {
42493  __builtin_fabs(0);
42494   ;
42495   return 0;
42496 }
42497 _ACEOF
42498 rm -f conftest.$ac_objext
42499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42500   (eval $ac_compile) 2>&5
42501   ac_status=$?
42502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42503   (exit $ac_status); } &&
42504          { ac_try='test -s conftest.$ac_objext'
42505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42506   (eval $ac_try) 2>&5
42507   ac_status=$?
42508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509   (exit $ac_status); }; }; then
42510   glibcxx_cv_func___builtin_fabs_use=yes
42511 else
42512   echo "$as_me: failed program was:" >&5
42513 sed 's/^/| /' conftest.$ac_ext >&5
42514
42515 glibcxx_cv_func___builtin_fabs_use=no
42516 fi
42517 rm -f conftest.$ac_objext conftest.$ac_ext
42518       ac_ext=c
42519 ac_cpp='$CPP $CPPFLAGS'
42520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42523
42524
42525 fi
42526
42527   fi
42528   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42529 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42530   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42531     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42532 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42533     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42534       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42535   echo $ECHO_N "(cached) $ECHO_C" >&6
42536 else
42537
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 #line $LINENO "configure"
42545 /* confdefs.h.  */
42546 _ACEOF
42547 cat confdefs.h >>conftest.$ac_ext
42548 cat >>conftest.$ac_ext <<_ACEOF
42549 /* end confdefs.h.  */
42550 #include <math.h>
42551 int
42552 main ()
42553 {
42554  __builtin_fabs(0);
42555   ;
42556   return 0;
42557 }
42558 _ACEOF
42559 rm -f conftest.$ac_objext conftest$ac_exeext
42560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42561   (eval $ac_link) 2>&5
42562   ac_status=$?
42563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564   (exit $ac_status); } &&
42565          { ac_try='test -s conftest$ac_exeext'
42566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42567   (eval $ac_try) 2>&5
42568   ac_status=$?
42569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570   (exit $ac_status); }; }; then
42571   glibcxx_cv_func___builtin_fabs_link=yes
42572 else
42573   echo "$as_me: failed program was:" >&5
42574 sed 's/^/| /' conftest.$ac_ext >&5
42575
42576 glibcxx_cv_func___builtin_fabs_link=no
42577 fi
42578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42579
42580 fi
42581
42582     fi
42583     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42584 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42585     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42586       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42587
42588 cat >>confdefs.h <<_ACEOF
42589 #define ${ac_tr_func} 1
42590 _ACEOF
42591
42592     fi
42593   fi
42594
42595
42596   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42597 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42598   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42599     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42600   echo $ECHO_N "(cached) $ECHO_C" >&6
42601 else
42602
42603
42604
42605       ac_ext=cc
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42610
42611       cat >conftest.$ac_ext <<_ACEOF
42612 #line $LINENO "configure"
42613 /* confdefs.h.  */
42614 _ACEOF
42615 cat confdefs.h >>conftest.$ac_ext
42616 cat >>conftest.$ac_ext <<_ACEOF
42617 /* end confdefs.h.  */
42618 #include <math.h>
42619 int
42620 main ()
42621 {
42622  __builtin_fabsl(0);
42623   ;
42624   return 0;
42625 }
42626 _ACEOF
42627 rm -f conftest.$ac_objext
42628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42629   (eval $ac_compile) 2>&5
42630   ac_status=$?
42631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42632   (exit $ac_status); } &&
42633          { ac_try='test -s conftest.$ac_objext'
42634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42635   (eval $ac_try) 2>&5
42636   ac_status=$?
42637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638   (exit $ac_status); }; }; then
42639   glibcxx_cv_func___builtin_fabsl_use=yes
42640 else
42641   echo "$as_me: failed program was:" >&5
42642 sed 's/^/| /' conftest.$ac_ext >&5
42643
42644 glibcxx_cv_func___builtin_fabsl_use=no
42645 fi
42646 rm -f conftest.$ac_objext conftest.$ac_ext
42647       ac_ext=c
42648 ac_cpp='$CPP $CPPFLAGS'
42649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42652
42653
42654 fi
42655
42656   fi
42657   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42658 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42659   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42660     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42661 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42662     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42663       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42664   echo $ECHO_N "(cached) $ECHO_C" >&6
42665 else
42666
42667         if test x$gcc_no_link = xyes; then
42668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42670    { (exit 1); exit 1; }; }
42671 fi
42672 cat >conftest.$ac_ext <<_ACEOF
42673 #line $LINENO "configure"
42674 /* confdefs.h.  */
42675 _ACEOF
42676 cat confdefs.h >>conftest.$ac_ext
42677 cat >>conftest.$ac_ext <<_ACEOF
42678 /* end confdefs.h.  */
42679 #include <math.h>
42680 int
42681 main ()
42682 {
42683  __builtin_fabsl(0);
42684   ;
42685   return 0;
42686 }
42687 _ACEOF
42688 rm -f conftest.$ac_objext conftest$ac_exeext
42689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42690   (eval $ac_link) 2>&5
42691   ac_status=$?
42692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693   (exit $ac_status); } &&
42694          { ac_try='test -s conftest$ac_exeext'
42695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42696   (eval $ac_try) 2>&5
42697   ac_status=$?
42698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699   (exit $ac_status); }; }; then
42700   glibcxx_cv_func___builtin_fabsl_link=yes
42701 else
42702   echo "$as_me: failed program was:" >&5
42703 sed 's/^/| /' conftest.$ac_ext >&5
42704
42705 glibcxx_cv_func___builtin_fabsl_link=no
42706 fi
42707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42708
42709 fi
42710
42711     fi
42712     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42713 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42714     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42715       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42716
42717 cat >>confdefs.h <<_ACEOF
42718 #define ${ac_tr_func} 1
42719 _ACEOF
42720
42721     fi
42722   fi
42723
42724
42725   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42726 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42727   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42728     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42729   echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42731
42732
42733
42734       ac_ext=cc
42735 ac_cpp='$CXXCPP $CPPFLAGS'
42736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42739
42740       cat >conftest.$ac_ext <<_ACEOF
42741 #line $LINENO "configure"
42742 /* confdefs.h.  */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h.  */
42747 #include <math.h>
42748 int
42749 main ()
42750 {
42751  __builtin_labs(0);
42752   ;
42753   return 0;
42754 }
42755 _ACEOF
42756 rm -f conftest.$ac_objext
42757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42758   (eval $ac_compile) 2>&5
42759   ac_status=$?
42760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761   (exit $ac_status); } &&
42762          { ac_try='test -s conftest.$ac_objext'
42763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42764   (eval $ac_try) 2>&5
42765   ac_status=$?
42766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767   (exit $ac_status); }; }; then
42768   glibcxx_cv_func___builtin_labs_use=yes
42769 else
42770   echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42772
42773 glibcxx_cv_func___builtin_labs_use=no
42774 fi
42775 rm -f conftest.$ac_objext conftest.$ac_ext
42776       ac_ext=c
42777 ac_cpp='$CPP $CPPFLAGS'
42778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42781
42782
42783 fi
42784
42785   fi
42786   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
42787 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42788   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42789     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42790 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42791     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42792       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42793   echo $ECHO_N "(cached) $ECHO_C" >&6
42794 else
42795
42796         if test x$gcc_no_link = xyes; then
42797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42799    { (exit 1); exit 1; }; }
42800 fi
42801 cat >conftest.$ac_ext <<_ACEOF
42802 #line $LINENO "configure"
42803 /* confdefs.h.  */
42804 _ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h.  */
42808 #include <math.h>
42809 int
42810 main ()
42811 {
42812  __builtin_labs(0);
42813   ;
42814   return 0;
42815 }
42816 _ACEOF
42817 rm -f conftest.$ac_objext conftest$ac_exeext
42818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42819   (eval $ac_link) 2>&5
42820   ac_status=$?
42821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822   (exit $ac_status); } &&
42823          { ac_try='test -s conftest$ac_exeext'
42824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825   (eval $ac_try) 2>&5
42826   ac_status=$?
42827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828   (exit $ac_status); }; }; then
42829   glibcxx_cv_func___builtin_labs_link=yes
42830 else
42831   echo "$as_me: failed program was:" >&5
42832 sed 's/^/| /' conftest.$ac_ext >&5
42833
42834 glibcxx_cv_func___builtin_labs_link=no
42835 fi
42836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42837
42838 fi
42839
42840     fi
42841     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42842 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42843     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42844       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42845
42846 cat >>confdefs.h <<_ACEOF
42847 #define ${ac_tr_func} 1
42848 _ACEOF
42849
42850     fi
42851   fi
42852
42853
42854
42855   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42856 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42857   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42858     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42859   echo $ECHO_N "(cached) $ECHO_C" >&6
42860 else
42861
42862
42863
42864       ac_ext=cc
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42869
42870       cat >conftest.$ac_ext <<_ACEOF
42871 #line $LINENO "configure"
42872 /* confdefs.h.  */
42873 _ACEOF
42874 cat confdefs.h >>conftest.$ac_ext
42875 cat >>conftest.$ac_ext <<_ACEOF
42876 /* end confdefs.h.  */
42877 #include <math.h>
42878 int
42879 main ()
42880 {
42881  __builtin_sqrtf(0);
42882   ;
42883   return 0;
42884 }
42885 _ACEOF
42886 rm -f conftest.$ac_objext
42887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42888   (eval $ac_compile) 2>&5
42889   ac_status=$?
42890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891   (exit $ac_status); } &&
42892          { ac_try='test -s conftest.$ac_objext'
42893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42894   (eval $ac_try) 2>&5
42895   ac_status=$?
42896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42897   (exit $ac_status); }; }; then
42898   glibcxx_cv_func___builtin_sqrtf_use=yes
42899 else
42900   echo "$as_me: failed program was:" >&5
42901 sed 's/^/| /' conftest.$ac_ext >&5
42902
42903 glibcxx_cv_func___builtin_sqrtf_use=no
42904 fi
42905 rm -f conftest.$ac_objext conftest.$ac_ext
42906       ac_ext=c
42907 ac_cpp='$CPP $CPPFLAGS'
42908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42911
42912
42913 fi
42914
42915   fi
42916   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
42917 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
42918   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
42919     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
42920 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
42921     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
42922       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
42923   echo $ECHO_N "(cached) $ECHO_C" >&6
42924 else
42925
42926         if test x$gcc_no_link = xyes; then
42927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42929    { (exit 1); exit 1; }; }
42930 fi
42931 cat >conftest.$ac_ext <<_ACEOF
42932 #line $LINENO "configure"
42933 /* confdefs.h.  */
42934 _ACEOF
42935 cat confdefs.h >>conftest.$ac_ext
42936 cat >>conftest.$ac_ext <<_ACEOF
42937 /* end confdefs.h.  */
42938 #include <math.h>
42939 int
42940 main ()
42941 {
42942  __builtin_sqrtf(0);
42943   ;
42944   return 0;
42945 }
42946 _ACEOF
42947 rm -f conftest.$ac_objext conftest$ac_exeext
42948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42949   (eval $ac_link) 2>&5
42950   ac_status=$?
42951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42952   (exit $ac_status); } &&
42953          { ac_try='test -s conftest$ac_exeext'
42954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42955   (eval $ac_try) 2>&5
42956   ac_status=$?
42957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958   (exit $ac_status); }; }; then
42959   glibcxx_cv_func___builtin_sqrtf_link=yes
42960 else
42961   echo "$as_me: failed program was:" >&5
42962 sed 's/^/| /' conftest.$ac_ext >&5
42963
42964 glibcxx_cv_func___builtin_sqrtf_link=no
42965 fi
42966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42967
42968 fi
42969
42970     fi
42971     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
42972 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
42973     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
42974       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42975
42976 cat >>confdefs.h <<_ACEOF
42977 #define ${ac_tr_func} 1
42978 _ACEOF
42979
42980     fi
42981   fi
42982
42983
42984   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
42985 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
42986   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
42987     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
42988   echo $ECHO_N "(cached) $ECHO_C" >&6
42989 else
42990
42991
42992
42993       ac_ext=cc
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42998
42999       cat >conftest.$ac_ext <<_ACEOF
43000 #line $LINENO "configure"
43001 /* confdefs.h.  */
43002 _ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h.  */
43006 #include <math.h>
43007 int
43008 main ()
43009 {
43010  __builtin_sqrt(0);
43011   ;
43012   return 0;
43013 }
43014 _ACEOF
43015 rm -f conftest.$ac_objext
43016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43017   (eval $ac_compile) 2>&5
43018   ac_status=$?
43019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020   (exit $ac_status); } &&
43021          { ac_try='test -s conftest.$ac_objext'
43022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43023   (eval $ac_try) 2>&5
43024   ac_status=$?
43025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43026   (exit $ac_status); }; }; then
43027   glibcxx_cv_func___builtin_sqrt_use=yes
43028 else
43029   echo "$as_me: failed program was:" >&5
43030 sed 's/^/| /' conftest.$ac_ext >&5
43031
43032 glibcxx_cv_func___builtin_sqrt_use=no
43033 fi
43034 rm -f conftest.$ac_objext conftest.$ac_ext
43035       ac_ext=c
43036 ac_cpp='$CPP $CPPFLAGS'
43037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43040
43041
43042 fi
43043
43044   fi
43045   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43046 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43047   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43048     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43049 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43050     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43051       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43052   echo $ECHO_N "(cached) $ECHO_C" >&6
43053 else
43054
43055         if test x$gcc_no_link = xyes; then
43056   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43058    { (exit 1); exit 1; }; }
43059 fi
43060 cat >conftest.$ac_ext <<_ACEOF
43061 #line $LINENO "configure"
43062 /* confdefs.h.  */
43063 _ACEOF
43064 cat confdefs.h >>conftest.$ac_ext
43065 cat >>conftest.$ac_ext <<_ACEOF
43066 /* end confdefs.h.  */
43067 #include <math.h>
43068 int
43069 main ()
43070 {
43071  __builtin_sqrt(0);
43072   ;
43073   return 0;
43074 }
43075 _ACEOF
43076 rm -f conftest.$ac_objext conftest$ac_exeext
43077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43078   (eval $ac_link) 2>&5
43079   ac_status=$?
43080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081   (exit $ac_status); } &&
43082          { ac_try='test -s conftest$ac_exeext'
43083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43084   (eval $ac_try) 2>&5
43085   ac_status=$?
43086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43087   (exit $ac_status); }; }; then
43088   glibcxx_cv_func___builtin_sqrt_link=yes
43089 else
43090   echo "$as_me: failed program was:" >&5
43091 sed 's/^/| /' conftest.$ac_ext >&5
43092
43093 glibcxx_cv_func___builtin_sqrt_link=no
43094 fi
43095 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43096
43097 fi
43098
43099     fi
43100     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43101 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43102     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43103       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43104
43105 cat >>confdefs.h <<_ACEOF
43106 #define ${ac_tr_func} 1
43107 _ACEOF
43108
43109     fi
43110   fi
43111
43112
43113   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43114 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43115   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43116     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43117   echo $ECHO_N "(cached) $ECHO_C" >&6
43118 else
43119
43120
43121
43122       ac_ext=cc
43123 ac_cpp='$CXXCPP $CPPFLAGS'
43124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43127
43128       cat >conftest.$ac_ext <<_ACEOF
43129 #line $LINENO "configure"
43130 /* confdefs.h.  */
43131 _ACEOF
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h.  */
43135 #include <math.h>
43136 int
43137 main ()
43138 {
43139  __builtin_sqrtl(0);
43140   ;
43141   return 0;
43142 }
43143 _ACEOF
43144 rm -f conftest.$ac_objext
43145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43146   (eval $ac_compile) 2>&5
43147   ac_status=$?
43148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149   (exit $ac_status); } &&
43150          { ac_try='test -s conftest.$ac_objext'
43151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43152   (eval $ac_try) 2>&5
43153   ac_status=$?
43154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43155   (exit $ac_status); }; }; then
43156   glibcxx_cv_func___builtin_sqrtl_use=yes
43157 else
43158   echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43160
43161 glibcxx_cv_func___builtin_sqrtl_use=no
43162 fi
43163 rm -f conftest.$ac_objext conftest.$ac_ext
43164       ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43169
43170
43171 fi
43172
43173   fi
43174   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43175 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43176   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43177     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43178 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43179     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43180       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43181   echo $ECHO_N "(cached) $ECHO_C" >&6
43182 else
43183
43184         if test x$gcc_no_link = xyes; then
43185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43187    { (exit 1); exit 1; }; }
43188 fi
43189 cat >conftest.$ac_ext <<_ACEOF
43190 #line $LINENO "configure"
43191 /* confdefs.h.  */
43192 _ACEOF
43193 cat confdefs.h >>conftest.$ac_ext
43194 cat >>conftest.$ac_ext <<_ACEOF
43195 /* end confdefs.h.  */
43196 #include <math.h>
43197 int
43198 main ()
43199 {
43200  __builtin_sqrtl(0);
43201   ;
43202   return 0;
43203 }
43204 _ACEOF
43205 rm -f conftest.$ac_objext conftest$ac_exeext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43207   (eval $ac_link) 2>&5
43208   ac_status=$?
43209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210   (exit $ac_status); } &&
43211          { ac_try='test -s conftest$ac_exeext'
43212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43213   (eval $ac_try) 2>&5
43214   ac_status=$?
43215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216   (exit $ac_status); }; }; then
43217   glibcxx_cv_func___builtin_sqrtl_link=yes
43218 else
43219   echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.$ac_ext >&5
43221
43222 glibcxx_cv_func___builtin_sqrtl_link=no
43223 fi
43224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43225
43226 fi
43227
43228     fi
43229     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43230 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43231     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43232       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43233
43234 cat >>confdefs.h <<_ACEOF
43235 #define ${ac_tr_func} 1
43236 _ACEOF
43237
43238     fi
43239   fi
43240
43241
43242
43243   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43244 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43245   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43246     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43247   echo $ECHO_N "(cached) $ECHO_C" >&6
43248 else
43249
43250
43251
43252       ac_ext=cc
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43257
43258       cat >conftest.$ac_ext <<_ACEOF
43259 #line $LINENO "configure"
43260 /* confdefs.h.  */
43261 _ACEOF
43262 cat confdefs.h >>conftest.$ac_ext
43263 cat >>conftest.$ac_ext <<_ACEOF
43264 /* end confdefs.h.  */
43265 #include <math.h>
43266 int
43267 main ()
43268 {
43269  __builtin_sinf(0);
43270   ;
43271   return 0;
43272 }
43273 _ACEOF
43274 rm -f conftest.$ac_objext
43275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43276   (eval $ac_compile) 2>&5
43277   ac_status=$?
43278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279   (exit $ac_status); } &&
43280          { ac_try='test -s conftest.$ac_objext'
43281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43282   (eval $ac_try) 2>&5
43283   ac_status=$?
43284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43285   (exit $ac_status); }; }; then
43286   glibcxx_cv_func___builtin_sinf_use=yes
43287 else
43288   echo "$as_me: failed program was:" >&5
43289 sed 's/^/| /' conftest.$ac_ext >&5
43290
43291 glibcxx_cv_func___builtin_sinf_use=no
43292 fi
43293 rm -f conftest.$ac_objext conftest.$ac_ext
43294       ac_ext=c
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43299
43300
43301 fi
43302
43303   fi
43304   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43305 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43306   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43307     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43308 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43309     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43310       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43311   echo $ECHO_N "(cached) $ECHO_C" >&6
43312 else
43313
43314         if test x$gcc_no_link = xyes; then
43315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43317    { (exit 1); exit 1; }; }
43318 fi
43319 cat >conftest.$ac_ext <<_ACEOF
43320 #line $LINENO "configure"
43321 /* confdefs.h.  */
43322 _ACEOF
43323 cat confdefs.h >>conftest.$ac_ext
43324 cat >>conftest.$ac_ext <<_ACEOF
43325 /* end confdefs.h.  */
43326 #include <math.h>
43327 int
43328 main ()
43329 {
43330  __builtin_sinf(0);
43331   ;
43332   return 0;
43333 }
43334 _ACEOF
43335 rm -f conftest.$ac_objext conftest$ac_exeext
43336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43337   (eval $ac_link) 2>&5
43338   ac_status=$?
43339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340   (exit $ac_status); } &&
43341          { ac_try='test -s conftest$ac_exeext'
43342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43343   (eval $ac_try) 2>&5
43344   ac_status=$?
43345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43346   (exit $ac_status); }; }; then
43347   glibcxx_cv_func___builtin_sinf_link=yes
43348 else
43349   echo "$as_me: failed program was:" >&5
43350 sed 's/^/| /' conftest.$ac_ext >&5
43351
43352 glibcxx_cv_func___builtin_sinf_link=no
43353 fi
43354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43355
43356 fi
43357
43358     fi
43359     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43360 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43361     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43362       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43363
43364 cat >>confdefs.h <<_ACEOF
43365 #define ${ac_tr_func} 1
43366 _ACEOF
43367
43368     fi
43369   fi
43370
43371
43372   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43373 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43374   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43375     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43376   echo $ECHO_N "(cached) $ECHO_C" >&6
43377 else
43378
43379
43380
43381       ac_ext=cc
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43386
43387       cat >conftest.$ac_ext <<_ACEOF
43388 #line $LINENO "configure"
43389 /* confdefs.h.  */
43390 _ACEOF
43391 cat confdefs.h >>conftest.$ac_ext
43392 cat >>conftest.$ac_ext <<_ACEOF
43393 /* end confdefs.h.  */
43394 #include <math.h>
43395 int
43396 main ()
43397 {
43398  __builtin_sin(0);
43399   ;
43400   return 0;
43401 }
43402 _ACEOF
43403 rm -f conftest.$ac_objext
43404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43405   (eval $ac_compile) 2>&5
43406   ac_status=$?
43407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408   (exit $ac_status); } &&
43409          { ac_try='test -s conftest.$ac_objext'
43410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411   (eval $ac_try) 2>&5
43412   ac_status=$?
43413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414   (exit $ac_status); }; }; then
43415   glibcxx_cv_func___builtin_sin_use=yes
43416 else
43417   echo "$as_me: failed program was:" >&5
43418 sed 's/^/| /' conftest.$ac_ext >&5
43419
43420 glibcxx_cv_func___builtin_sin_use=no
43421 fi
43422 rm -f conftest.$ac_objext conftest.$ac_ext
43423       ac_ext=c
43424 ac_cpp='$CPP $CPPFLAGS'
43425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43428
43429
43430 fi
43431
43432   fi
43433   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43434 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43435   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43436     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43437 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43438     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43439       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43440   echo $ECHO_N "(cached) $ECHO_C" >&6
43441 else
43442
43443         if test x$gcc_no_link = xyes; then
43444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43446    { (exit 1); exit 1; }; }
43447 fi
43448 cat >conftest.$ac_ext <<_ACEOF
43449 #line $LINENO "configure"
43450 /* confdefs.h.  */
43451 _ACEOF
43452 cat confdefs.h >>conftest.$ac_ext
43453 cat >>conftest.$ac_ext <<_ACEOF
43454 /* end confdefs.h.  */
43455 #include <math.h>
43456 int
43457 main ()
43458 {
43459  __builtin_sin(0);
43460   ;
43461   return 0;
43462 }
43463 _ACEOF
43464 rm -f conftest.$ac_objext conftest$ac_exeext
43465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43466   (eval $ac_link) 2>&5
43467   ac_status=$?
43468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469   (exit $ac_status); } &&
43470          { ac_try='test -s conftest$ac_exeext'
43471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43472   (eval $ac_try) 2>&5
43473   ac_status=$?
43474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475   (exit $ac_status); }; }; then
43476   glibcxx_cv_func___builtin_sin_link=yes
43477 else
43478   echo "$as_me: failed program was:" >&5
43479 sed 's/^/| /' conftest.$ac_ext >&5
43480
43481 glibcxx_cv_func___builtin_sin_link=no
43482 fi
43483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43484
43485 fi
43486
43487     fi
43488     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43489 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43490     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43491       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43492
43493 cat >>confdefs.h <<_ACEOF
43494 #define ${ac_tr_func} 1
43495 _ACEOF
43496
43497     fi
43498   fi
43499
43500
43501   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43502 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43503   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43504     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43505   echo $ECHO_N "(cached) $ECHO_C" >&6
43506 else
43507
43508
43509
43510       ac_ext=cc
43511 ac_cpp='$CXXCPP $CPPFLAGS'
43512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43515
43516       cat >conftest.$ac_ext <<_ACEOF
43517 #line $LINENO "configure"
43518 /* confdefs.h.  */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h.  */
43523 #include <math.h>
43524 int
43525 main ()
43526 {
43527  __builtin_sinl(0);
43528   ;
43529   return 0;
43530 }
43531 _ACEOF
43532 rm -f conftest.$ac_objext
43533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43534   (eval $ac_compile) 2>&5
43535   ac_status=$?
43536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537   (exit $ac_status); } &&
43538          { ac_try='test -s conftest.$ac_objext'
43539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43540   (eval $ac_try) 2>&5
43541   ac_status=$?
43542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43543   (exit $ac_status); }; }; then
43544   glibcxx_cv_func___builtin_sinl_use=yes
43545 else
43546   echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43548
43549 glibcxx_cv_func___builtin_sinl_use=no
43550 fi
43551 rm -f conftest.$ac_objext conftest.$ac_ext
43552       ac_ext=c
43553 ac_cpp='$CPP $CPPFLAGS'
43554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43557
43558
43559 fi
43560
43561   fi
43562   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43564   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43565     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43566 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43567     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43568       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43569   echo $ECHO_N "(cached) $ECHO_C" >&6
43570 else
43571
43572         if test x$gcc_no_link = xyes; then
43573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43575    { (exit 1); exit 1; }; }
43576 fi
43577 cat >conftest.$ac_ext <<_ACEOF
43578 #line $LINENO "configure"
43579 /* confdefs.h.  */
43580 _ACEOF
43581 cat confdefs.h >>conftest.$ac_ext
43582 cat >>conftest.$ac_ext <<_ACEOF
43583 /* end confdefs.h.  */
43584 #include <math.h>
43585 int
43586 main ()
43587 {
43588  __builtin_sinl(0);
43589   ;
43590   return 0;
43591 }
43592 _ACEOF
43593 rm -f conftest.$ac_objext conftest$ac_exeext
43594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43595   (eval $ac_link) 2>&5
43596   ac_status=$?
43597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43598   (exit $ac_status); } &&
43599          { ac_try='test -s conftest$ac_exeext'
43600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43601   (eval $ac_try) 2>&5
43602   ac_status=$?
43603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43604   (exit $ac_status); }; }; then
43605   glibcxx_cv_func___builtin_sinl_link=yes
43606 else
43607   echo "$as_me: failed program was:" >&5
43608 sed 's/^/| /' conftest.$ac_ext >&5
43609
43610 glibcxx_cv_func___builtin_sinl_link=no
43611 fi
43612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43613
43614 fi
43615
43616     fi
43617     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43618 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43619     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43620       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43621
43622 cat >>confdefs.h <<_ACEOF
43623 #define ${ac_tr_func} 1
43624 _ACEOF
43625
43626     fi
43627   fi
43628
43629
43630
43631   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43632 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43633   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43634     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43635   echo $ECHO_N "(cached) $ECHO_C" >&6
43636 else
43637
43638
43639
43640       ac_ext=cc
43641 ac_cpp='$CXXCPP $CPPFLAGS'
43642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43645
43646       cat >conftest.$ac_ext <<_ACEOF
43647 #line $LINENO "configure"
43648 /* confdefs.h.  */
43649 _ACEOF
43650 cat confdefs.h >>conftest.$ac_ext
43651 cat >>conftest.$ac_ext <<_ACEOF
43652 /* end confdefs.h.  */
43653 #include <math.h>
43654 int
43655 main ()
43656 {
43657  __builtin_cosf(0);
43658   ;
43659   return 0;
43660 }
43661 _ACEOF
43662 rm -f conftest.$ac_objext
43663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43664   (eval $ac_compile) 2>&5
43665   ac_status=$?
43666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667   (exit $ac_status); } &&
43668          { ac_try='test -s conftest.$ac_objext'
43669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670   (eval $ac_try) 2>&5
43671   ac_status=$?
43672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673   (exit $ac_status); }; }; then
43674   glibcxx_cv_func___builtin_cosf_use=yes
43675 else
43676   echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43678
43679 glibcxx_cv_func___builtin_cosf_use=no
43680 fi
43681 rm -f conftest.$ac_objext conftest.$ac_ext
43682       ac_ext=c
43683 ac_cpp='$CPP $CPPFLAGS'
43684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43687
43688
43689 fi
43690
43691   fi
43692   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43693 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43694   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43695     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43696 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43697     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43698       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43699   echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43701
43702         if test x$gcc_no_link = xyes; then
43703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43705    { (exit 1); exit 1; }; }
43706 fi
43707 cat >conftest.$ac_ext <<_ACEOF
43708 #line $LINENO "configure"
43709 /* confdefs.h.  */
43710 _ACEOF
43711 cat confdefs.h >>conftest.$ac_ext
43712 cat >>conftest.$ac_ext <<_ACEOF
43713 /* end confdefs.h.  */
43714 #include <math.h>
43715 int
43716 main ()
43717 {
43718  __builtin_cosf(0);
43719   ;
43720   return 0;
43721 }
43722 _ACEOF
43723 rm -f conftest.$ac_objext conftest$ac_exeext
43724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43725   (eval $ac_link) 2>&5
43726   ac_status=$?
43727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728   (exit $ac_status); } &&
43729          { ac_try='test -s conftest$ac_exeext'
43730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43731   (eval $ac_try) 2>&5
43732   ac_status=$?
43733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734   (exit $ac_status); }; }; then
43735   glibcxx_cv_func___builtin_cosf_link=yes
43736 else
43737   echo "$as_me: failed program was:" >&5
43738 sed 's/^/| /' conftest.$ac_ext >&5
43739
43740 glibcxx_cv_func___builtin_cosf_link=no
43741 fi
43742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43743
43744 fi
43745
43746     fi
43747     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43748 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43749     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43750       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43751
43752 cat >>confdefs.h <<_ACEOF
43753 #define ${ac_tr_func} 1
43754 _ACEOF
43755
43756     fi
43757   fi
43758
43759
43760   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43761 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43762   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43763     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43764   echo $ECHO_N "(cached) $ECHO_C" >&6
43765 else
43766
43767
43768
43769       ac_ext=cc
43770 ac_cpp='$CXXCPP $CPPFLAGS'
43771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43774
43775       cat >conftest.$ac_ext <<_ACEOF
43776 #line $LINENO "configure"
43777 /* confdefs.h.  */
43778 _ACEOF
43779 cat confdefs.h >>conftest.$ac_ext
43780 cat >>conftest.$ac_ext <<_ACEOF
43781 /* end confdefs.h.  */
43782 #include <math.h>
43783 int
43784 main ()
43785 {
43786  __builtin_cos(0);
43787   ;
43788   return 0;
43789 }
43790 _ACEOF
43791 rm -f conftest.$ac_objext
43792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43793   (eval $ac_compile) 2>&5
43794   ac_status=$?
43795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796   (exit $ac_status); } &&
43797          { ac_try='test -s conftest.$ac_objext'
43798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43799   (eval $ac_try) 2>&5
43800   ac_status=$?
43801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802   (exit $ac_status); }; }; then
43803   glibcxx_cv_func___builtin_cos_use=yes
43804 else
43805   echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43807
43808 glibcxx_cv_func___builtin_cos_use=no
43809 fi
43810 rm -f conftest.$ac_objext conftest.$ac_ext
43811       ac_ext=c
43812 ac_cpp='$CPP $CPPFLAGS'
43813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43816
43817
43818 fi
43819
43820   fi
43821   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43822 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43823   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43824     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43825 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43826     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43827       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43828   echo $ECHO_N "(cached) $ECHO_C" >&6
43829 else
43830
43831         if test x$gcc_no_link = xyes; then
43832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43834    { (exit 1); exit 1; }; }
43835 fi
43836 cat >conftest.$ac_ext <<_ACEOF
43837 #line $LINENO "configure"
43838 /* confdefs.h.  */
43839 _ACEOF
43840 cat confdefs.h >>conftest.$ac_ext
43841 cat >>conftest.$ac_ext <<_ACEOF
43842 /* end confdefs.h.  */
43843 #include <math.h>
43844 int
43845 main ()
43846 {
43847  __builtin_cos(0);
43848   ;
43849   return 0;
43850 }
43851 _ACEOF
43852 rm -f conftest.$ac_objext conftest$ac_exeext
43853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43854   (eval $ac_link) 2>&5
43855   ac_status=$?
43856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857   (exit $ac_status); } &&
43858          { ac_try='test -s conftest$ac_exeext'
43859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43860   (eval $ac_try) 2>&5
43861   ac_status=$?
43862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863   (exit $ac_status); }; }; then
43864   glibcxx_cv_func___builtin_cos_link=yes
43865 else
43866   echo "$as_me: failed program was:" >&5
43867 sed 's/^/| /' conftest.$ac_ext >&5
43868
43869 glibcxx_cv_func___builtin_cos_link=no
43870 fi
43871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43872
43873 fi
43874
43875     fi
43876     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43878     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43879       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43880
43881 cat >>confdefs.h <<_ACEOF
43882 #define ${ac_tr_func} 1
43883 _ACEOF
43884
43885     fi
43886   fi
43887
43888
43889   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43890 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43891   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43892     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43893   echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43895
43896
43897
43898       ac_ext=cc
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43903
43904       cat >conftest.$ac_ext <<_ACEOF
43905 #line $LINENO "configure"
43906 /* confdefs.h.  */
43907 _ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h.  */
43911 #include <math.h>
43912 int
43913 main ()
43914 {
43915  __builtin_cosl(0);
43916   ;
43917   return 0;
43918 }
43919 _ACEOF
43920 rm -f conftest.$ac_objext
43921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43922   (eval $ac_compile) 2>&5
43923   ac_status=$?
43924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925   (exit $ac_status); } &&
43926          { ac_try='test -s conftest.$ac_objext'
43927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928   (eval $ac_try) 2>&5
43929   ac_status=$?
43930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931   (exit $ac_status); }; }; then
43932   glibcxx_cv_func___builtin_cosl_use=yes
43933 else
43934   echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43936
43937 glibcxx_cv_func___builtin_cosl_use=no
43938 fi
43939 rm -f conftest.$ac_objext conftest.$ac_ext
43940       ac_ext=c
43941 ac_cpp='$CPP $CPPFLAGS'
43942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43945
43946
43947 fi
43948
43949   fi
43950   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
43951 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
43952   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
43953     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
43954 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
43955     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
43956       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
43957   echo $ECHO_N "(cached) $ECHO_C" >&6
43958 else
43959
43960         if test x$gcc_no_link = xyes; then
43961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43963    { (exit 1); exit 1; }; }
43964 fi
43965 cat >conftest.$ac_ext <<_ACEOF
43966 #line $LINENO "configure"
43967 /* confdefs.h.  */
43968 _ACEOF
43969 cat confdefs.h >>conftest.$ac_ext
43970 cat >>conftest.$ac_ext <<_ACEOF
43971 /* end confdefs.h.  */
43972 #include <math.h>
43973 int
43974 main ()
43975 {
43976  __builtin_cosl(0);
43977   ;
43978   return 0;
43979 }
43980 _ACEOF
43981 rm -f conftest.$ac_objext conftest$ac_exeext
43982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43983   (eval $ac_link) 2>&5
43984   ac_status=$?
43985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986   (exit $ac_status); } &&
43987          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
43993   glibcxx_cv_func___builtin_cosl_link=yes
43994 else
43995   echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43997
43998 glibcxx_cv_func___builtin_cosl_link=no
43999 fi
44000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44001
44002 fi
44003
44004     fi
44005     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44006 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44007     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44008       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44009
44010 cat >>confdefs.h <<_ACEOF
44011 #define ${ac_tr_func} 1
44012 _ACEOF
44013
44014     fi
44015   fi
44016
44017
44018
44019
44020 echo "$as_me:$LINENO: checking for main in -lm" >&5
44021 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44022 if test "${ac_cv_lib_m_main+set}" = set; then
44023   echo $ECHO_N "(cached) $ECHO_C" >&6
44024 else
44025   ac_check_lib_save_LIBS=$LIBS
44026 LIBS="-lm  $LIBS"
44027 if test x$gcc_no_link = xyes; then
44028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44030    { (exit 1); exit 1; }; }
44031 fi
44032 cat >conftest.$ac_ext <<_ACEOF
44033 #line $LINENO "configure"
44034 /* confdefs.h.  */
44035 _ACEOF
44036 cat confdefs.h >>conftest.$ac_ext
44037 cat >>conftest.$ac_ext <<_ACEOF
44038 /* end confdefs.h.  */
44039
44040
44041 int
44042 main ()
44043 {
44044 main ();
44045   ;
44046   return 0;
44047 }
44048 _ACEOF
44049 rm -f conftest.$ac_objext conftest$ac_exeext
44050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44051   (eval $ac_link) 2>&5
44052   ac_status=$?
44053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054   (exit $ac_status); } &&
44055          { ac_try='test -s conftest$ac_exeext'
44056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44057   (eval $ac_try) 2>&5
44058   ac_status=$?
44059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060   (exit $ac_status); }; }; then
44061   ac_cv_lib_m_main=yes
44062 else
44063   echo "$as_me: failed program was:" >&5
44064 sed 's/^/| /' conftest.$ac_ext >&5
44065
44066 ac_cv_lib_m_main=no
44067 fi
44068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44069 LIBS=$ac_check_lib_save_LIBS
44070 fi
44071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44072 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44073 if test $ac_cv_lib_m_main = yes; then
44074   cat >>confdefs.h <<_ACEOF
44075 #define HAVE_LIBM 1
44076 _ACEOF
44077
44078   LIBS="-lm $LIBS"
44079
44080 fi
44081
44082
44083 for ac_func in copysignf
44084 do
44085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44086 echo "$as_me:$LINENO: checking for $ac_func" >&5
44087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44088 if eval "test \"\${$as_ac_var+set}\" = set"; then
44089   echo $ECHO_N "(cached) $ECHO_C" >&6
44090 else
44091   if test x$gcc_no_link = xyes; then
44092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44094    { (exit 1); exit 1; }; }
44095 fi
44096 cat >conftest.$ac_ext <<_ACEOF
44097 #line $LINENO "configure"
44098 /* confdefs.h.  */
44099 _ACEOF
44100 cat confdefs.h >>conftest.$ac_ext
44101 cat >>conftest.$ac_ext <<_ACEOF
44102 /* end confdefs.h.  */
44103 /* System header to define __stub macros and hopefully few prototypes,
44104     which can conflict with char $ac_func (); below.
44105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44106     <limits.h> exists even on freestanding compilers.  */
44107 #ifdef __STDC__
44108 # include <limits.h>
44109 #else
44110 # include <assert.h>
44111 #endif
44112 /* Override any gcc2 internal prototype to avoid an error.  */
44113 #ifdef __cplusplus
44114 extern "C"
44115 {
44116 #endif
44117 /* We use char because int might match the return type of a gcc2
44118    builtin and then its argument prototype would still apply.  */
44119 char $ac_func ();
44120 /* The GNU C library defines this for functions which it implements
44121     to always fail with ENOSYS.  Some functions are actually named
44122     something starting with __ and the normal name is an alias.  */
44123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44124 choke me
44125 #else
44126 char (*f) () = $ac_func;
44127 #endif
44128 #ifdef __cplusplus
44129 }
44130 #endif
44131
44132 int
44133 main ()
44134 {
44135 return f != $ac_func;
44136   ;
44137   return 0;
44138 }
44139 _ACEOF
44140 rm -f conftest.$ac_objext conftest$ac_exeext
44141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44142   (eval $ac_link) 2>&5
44143   ac_status=$?
44144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145   (exit $ac_status); } &&
44146          { ac_try='test -s conftest$ac_exeext'
44147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44148   (eval $ac_try) 2>&5
44149   ac_status=$?
44150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151   (exit $ac_status); }; }; then
44152   eval "$as_ac_var=yes"
44153 else
44154   echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44156
44157 eval "$as_ac_var=no"
44158 fi
44159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44160 fi
44161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44163 if test `eval echo '${'$as_ac_var'}'` = yes; then
44164   cat >>confdefs.h <<_ACEOF
44165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44166 _ACEOF
44167
44168 else
44169   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44170 fi
44171 done
44172
44173
44174
44175 for ac_func in __signbit
44176 do
44177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44178 echo "$as_me:$LINENO: checking for $ac_func" >&5
44179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44180 if eval "test \"\${$as_ac_var+set}\" = set"; then
44181   echo $ECHO_N "(cached) $ECHO_C" >&6
44182 else
44183   if test x$gcc_no_link = xyes; then
44184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44186    { (exit 1); exit 1; }; }
44187 fi
44188 cat >conftest.$ac_ext <<_ACEOF
44189 #line $LINENO "configure"
44190 /* confdefs.h.  */
44191 _ACEOF
44192 cat confdefs.h >>conftest.$ac_ext
44193 cat >>conftest.$ac_ext <<_ACEOF
44194 /* end confdefs.h.  */
44195 /* System header to define __stub macros and hopefully few prototypes,
44196     which can conflict with char $ac_func (); below.
44197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44198     <limits.h> exists even on freestanding compilers.  */
44199 #ifdef __STDC__
44200 # include <limits.h>
44201 #else
44202 # include <assert.h>
44203 #endif
44204 /* Override any gcc2 internal prototype to avoid an error.  */
44205 #ifdef __cplusplus
44206 extern "C"
44207 {
44208 #endif
44209 /* We use char because int might match the return type of a gcc2
44210    builtin and then its argument prototype would still apply.  */
44211 char $ac_func ();
44212 /* The GNU C library defines this for functions which it implements
44213     to always fail with ENOSYS.  Some functions are actually named
44214     something starting with __ and the normal name is an alias.  */
44215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44216 choke me
44217 #else
44218 char (*f) () = $ac_func;
44219 #endif
44220 #ifdef __cplusplus
44221 }
44222 #endif
44223
44224 int
44225 main ()
44226 {
44227 return f != $ac_func;
44228   ;
44229   return 0;
44230 }
44231 _ACEOF
44232 rm -f conftest.$ac_objext conftest$ac_exeext
44233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44234   (eval $ac_link) 2>&5
44235   ac_status=$?
44236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237   (exit $ac_status); } &&
44238          { ac_try='test -s conftest$ac_exeext'
44239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240   (eval $ac_try) 2>&5
44241   ac_status=$?
44242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243   (exit $ac_status); }; }; then
44244   eval "$as_ac_var=yes"
44245 else
44246   echo "$as_me: failed program was:" >&5
44247 sed 's/^/| /' conftest.$ac_ext >&5
44248
44249 eval "$as_ac_var=no"
44250 fi
44251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44252 fi
44253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44255 if test `eval echo '${'$as_ac_var'}'` = yes; then
44256   cat >>confdefs.h <<_ACEOF
44257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44258 _ACEOF
44259
44260 else
44261   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44262 fi
44263 done
44264
44265
44266
44267 for ac_func in __signbitf
44268 do
44269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44270 echo "$as_me:$LINENO: checking for $ac_func" >&5
44271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44272 if eval "test \"\${$as_ac_var+set}\" = set"; then
44273   echo $ECHO_N "(cached) $ECHO_C" >&6
44274 else
44275   if test x$gcc_no_link = xyes; then
44276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44278    { (exit 1); exit 1; }; }
44279 fi
44280 cat >conftest.$ac_ext <<_ACEOF
44281 #line $LINENO "configure"
44282 /* confdefs.h.  */
44283 _ACEOF
44284 cat confdefs.h >>conftest.$ac_ext
44285 cat >>conftest.$ac_ext <<_ACEOF
44286 /* end confdefs.h.  */
44287 /* System header to define __stub macros and hopefully few prototypes,
44288     which can conflict with char $ac_func (); below.
44289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44290     <limits.h> exists even on freestanding compilers.  */
44291 #ifdef __STDC__
44292 # include <limits.h>
44293 #else
44294 # include <assert.h>
44295 #endif
44296 /* Override any gcc2 internal prototype to avoid an error.  */
44297 #ifdef __cplusplus
44298 extern "C"
44299 {
44300 #endif
44301 /* We use char because int might match the return type of a gcc2
44302    builtin and then its argument prototype would still apply.  */
44303 char $ac_func ();
44304 /* The GNU C library defines this for functions which it implements
44305     to always fail with ENOSYS.  Some functions are actually named
44306     something starting with __ and the normal name is an alias.  */
44307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44308 choke me
44309 #else
44310 char (*f) () = $ac_func;
44311 #endif
44312 #ifdef __cplusplus
44313 }
44314 #endif
44315
44316 int
44317 main ()
44318 {
44319 return f != $ac_func;
44320   ;
44321   return 0;
44322 }
44323 _ACEOF
44324 rm -f conftest.$ac_objext conftest$ac_exeext
44325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44326   (eval $ac_link) 2>&5
44327   ac_status=$?
44328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329   (exit $ac_status); } &&
44330          { ac_try='test -s conftest$ac_exeext'
44331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332   (eval $ac_try) 2>&5
44333   ac_status=$?
44334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335   (exit $ac_status); }; }; then
44336   eval "$as_ac_var=yes"
44337 else
44338   echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44340
44341 eval "$as_ac_var=no"
44342 fi
44343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44344 fi
44345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44347 if test `eval echo '${'$as_ac_var'}'` = yes; then
44348   cat >>confdefs.h <<_ACEOF
44349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44350 _ACEOF
44351
44352 else
44353   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44354 fi
44355 done
44356
44357
44358           if test x$ac_cv_func_copysignl = x"yes"; then
44359
44360 for ac_func in __signbitl
44361 do
44362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44363 echo "$as_me:$LINENO: checking for $ac_func" >&5
44364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44365 if eval "test \"\${$as_ac_var+set}\" = set"; then
44366   echo $ECHO_N "(cached) $ECHO_C" >&6
44367 else
44368   if test x$gcc_no_link = xyes; then
44369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44371    { (exit 1); exit 1; }; }
44372 fi
44373 cat >conftest.$ac_ext <<_ACEOF
44374 #line $LINENO "configure"
44375 /* confdefs.h.  */
44376 _ACEOF
44377 cat confdefs.h >>conftest.$ac_ext
44378 cat >>conftest.$ac_ext <<_ACEOF
44379 /* end confdefs.h.  */
44380 /* System header to define __stub macros and hopefully few prototypes,
44381     which can conflict with char $ac_func (); below.
44382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44383     <limits.h> exists even on freestanding compilers.  */
44384 #ifdef __STDC__
44385 # include <limits.h>
44386 #else
44387 # include <assert.h>
44388 #endif
44389 /* Override any gcc2 internal prototype to avoid an error.  */
44390 #ifdef __cplusplus
44391 extern "C"
44392 {
44393 #endif
44394 /* We use char because int might match the return type of a gcc2
44395    builtin and then its argument prototype would still apply.  */
44396 char $ac_func ();
44397 /* The GNU C library defines this for functions which it implements
44398     to always fail with ENOSYS.  Some functions are actually named
44399     something starting with __ and the normal name is an alias.  */
44400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44401 choke me
44402 #else
44403 char (*f) () = $ac_func;
44404 #endif
44405 #ifdef __cplusplus
44406 }
44407 #endif
44408
44409 int
44410 main ()
44411 {
44412 return f != $ac_func;
44413   ;
44414   return 0;
44415 }
44416 _ACEOF
44417 rm -f conftest.$ac_objext conftest$ac_exeext
44418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44419   (eval $ac_link) 2>&5
44420   ac_status=$?
44421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422   (exit $ac_status); } &&
44423          { ac_try='test -s conftest$ac_exeext'
44424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44425   (eval $ac_try) 2>&5
44426   ac_status=$?
44427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428   (exit $ac_status); }; }; then
44429   eval "$as_ac_var=yes"
44430 else
44431   echo "$as_me: failed program was:" >&5
44432 sed 's/^/| /' conftest.$ac_ext >&5
44433
44434 eval "$as_ac_var=no"
44435 fi
44436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44437 fi
44438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44440 if test `eval echo '${'$as_ac_var'}'` = yes; then
44441   cat >>confdefs.h <<_ACEOF
44442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44443 _ACEOF
44444
44445 else
44446   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44447 fi
44448 done
44449
44450   fi
44451
44452   # Used in libmath/Makefile.am.
44453   if test -n "$LIBMATHOBJS"; then
44454     need_libmath=yes
44455   fi
44456
44457
44458
44459   # Test wchar.h for mbstate_t, which is needed for char_traits and
44460   # others even if wchar_t support is not on.
44461   echo "$as_me:$LINENO: checking for mbstate_t" >&5
44462 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44463   cat >conftest.$ac_ext <<_ACEOF
44464 #line $LINENO "configure"
44465 /* confdefs.h.  */
44466 _ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h.  */
44470 #include <wchar.h>
44471 int
44472 main ()
44473 {
44474 mbstate_t teststate;
44475   ;
44476   return 0;
44477 }
44478 _ACEOF
44479 rm -f conftest.$ac_objext
44480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44481   (eval $ac_compile) 2>&5
44482   ac_status=$?
44483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484   (exit $ac_status); } &&
44485          { ac_try='test -s conftest.$ac_objext'
44486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44487   (eval $ac_try) 2>&5
44488   ac_status=$?
44489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44490   (exit $ac_status); }; }; then
44491   have_mbstate_t=yes
44492 else
44493   echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44495
44496 have_mbstate_t=no
44497 fi
44498 rm -f conftest.$ac_objext conftest.$ac_ext
44499   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44500 echo "${ECHO_T}$have_mbstate_t" >&6
44501   if test x"$have_mbstate_t" = xyes; then
44502     cat >>confdefs.h <<\_ACEOF
44503 #define HAVE_MBSTATE_T 1
44504 _ACEOF
44505
44506   fi
44507
44508   # Sanity check for existence of ISO C99 headers for extended encoding.
44509
44510 for ac_header in wchar.h
44511 do
44512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44514   echo "$as_me:$LINENO: checking for $ac_header" >&5
44515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44517   echo $ECHO_N "(cached) $ECHO_C" >&6
44518 fi
44519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44521 else
44522   # Is the header compilable?
44523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44525 cat >conftest.$ac_ext <<_ACEOF
44526 #line $LINENO "configure"
44527 /* confdefs.h.  */
44528 _ACEOF
44529 cat confdefs.h >>conftest.$ac_ext
44530 cat >>conftest.$ac_ext <<_ACEOF
44531 /* end confdefs.h.  */
44532 $ac_includes_default
44533 #include <$ac_header>
44534 _ACEOF
44535 rm -f conftest.$ac_objext
44536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44537   (eval $ac_compile) 2>&5
44538   ac_status=$?
44539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540   (exit $ac_status); } &&
44541          { ac_try='test -s conftest.$ac_objext'
44542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543   (eval $ac_try) 2>&5
44544   ac_status=$?
44545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546   (exit $ac_status); }; }; then
44547   ac_header_compiler=yes
44548 else
44549   echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44551
44552 ac_header_compiler=no
44553 fi
44554 rm -f conftest.$ac_objext conftest.$ac_ext
44555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44556 echo "${ECHO_T}$ac_header_compiler" >&6
44557
44558 # Is the header present?
44559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44561 cat >conftest.$ac_ext <<_ACEOF
44562 #line $LINENO "configure"
44563 /* confdefs.h.  */
44564 _ACEOF
44565 cat confdefs.h >>conftest.$ac_ext
44566 cat >>conftest.$ac_ext <<_ACEOF
44567 /* end confdefs.h.  */
44568 #include <$ac_header>
44569 _ACEOF
44570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44571   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44572   ac_status=$?
44573   grep -v '^ *+' conftest.er1 >conftest.err
44574   rm -f conftest.er1
44575   cat conftest.err >&5
44576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44577   (exit $ac_status); } >/dev/null; then
44578   if test -s conftest.err; then
44579     ac_cpp_err=$ac_c_preproc_warn_flag
44580   else
44581     ac_cpp_err=
44582   fi
44583 else
44584   ac_cpp_err=yes
44585 fi
44586 if test -z "$ac_cpp_err"; then
44587   ac_header_preproc=yes
44588 else
44589   echo "$as_me: failed program was:" >&5
44590 sed 's/^/| /' conftest.$ac_ext >&5
44591
44592   ac_header_preproc=no
44593 fi
44594 rm -f conftest.err conftest.$ac_ext
44595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44596 echo "${ECHO_T}$ac_header_preproc" >&6
44597
44598 # So?  What about this header?
44599 case $ac_header_compiler:$ac_header_preproc in
44600   yes:no )
44601     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44603     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44605     (
44606       cat <<\_ASBOX
44607 ## ------------------------------------ ##
44608 ## Report this to bug-autoconf@gnu.org. ##
44609 ## ------------------------------------ ##
44610 _ASBOX
44611     ) |
44612       sed "s/^/$as_me: WARNING:     /" >&2
44613     ;;
44614   no:yes )
44615     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44617     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44619     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44621     (
44622       cat <<\_ASBOX
44623 ## ------------------------------------ ##
44624 ## Report this to bug-autoconf@gnu.org. ##
44625 ## ------------------------------------ ##
44626 _ASBOX
44627     ) |
44628       sed "s/^/$as_me: WARNING:     /" >&2
44629     ;;
44630 esac
44631 echo "$as_me:$LINENO: checking for $ac_header" >&5
44632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44634   echo $ECHO_N "(cached) $ECHO_C" >&6
44635 else
44636   eval "$as_ac_Header=$ac_header_preproc"
44637 fi
44638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44640
44641 fi
44642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44643   cat >>confdefs.h <<_ACEOF
44644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44645 _ACEOF
44646  ac_has_wchar_h=yes
44647 else
44648   ac_has_wchar_h=no
44649 fi
44650
44651 done
44652
44653
44654 for ac_header in wctype.h
44655 do
44656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44658   echo "$as_me:$LINENO: checking for $ac_header" >&5
44659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44661   echo $ECHO_N "(cached) $ECHO_C" >&6
44662 fi
44663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44665 else
44666   # Is the header compilable?
44667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44669 cat >conftest.$ac_ext <<_ACEOF
44670 #line $LINENO "configure"
44671 /* confdefs.h.  */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h.  */
44676 $ac_includes_default
44677 #include <$ac_header>
44678 _ACEOF
44679 rm -f conftest.$ac_objext
44680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44681   (eval $ac_compile) 2>&5
44682   ac_status=$?
44683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684   (exit $ac_status); } &&
44685          { ac_try='test -s conftest.$ac_objext'
44686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44687   (eval $ac_try) 2>&5
44688   ac_status=$?
44689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690   (exit $ac_status); }; }; then
44691   ac_header_compiler=yes
44692 else
44693   echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696 ac_header_compiler=no
44697 fi
44698 rm -f conftest.$ac_objext conftest.$ac_ext
44699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44700 echo "${ECHO_T}$ac_header_compiler" >&6
44701
44702 # Is the header present?
44703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44705 cat >conftest.$ac_ext <<_ACEOF
44706 #line $LINENO "configure"
44707 /* confdefs.h.  */
44708 _ACEOF
44709 cat confdefs.h >>conftest.$ac_ext
44710 cat >>conftest.$ac_ext <<_ACEOF
44711 /* end confdefs.h.  */
44712 #include <$ac_header>
44713 _ACEOF
44714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44715   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44716   ac_status=$?
44717   grep -v '^ *+' conftest.er1 >conftest.err
44718   rm -f conftest.er1
44719   cat conftest.err >&5
44720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721   (exit $ac_status); } >/dev/null; then
44722   if test -s conftest.err; then
44723     ac_cpp_err=$ac_c_preproc_warn_flag
44724   else
44725     ac_cpp_err=
44726   fi
44727 else
44728   ac_cpp_err=yes
44729 fi
44730 if test -z "$ac_cpp_err"; then
44731   ac_header_preproc=yes
44732 else
44733   echo "$as_me: failed program was:" >&5
44734 sed 's/^/| /' conftest.$ac_ext >&5
44735
44736   ac_header_preproc=no
44737 fi
44738 rm -f conftest.err conftest.$ac_ext
44739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44740 echo "${ECHO_T}$ac_header_preproc" >&6
44741
44742 # So?  What about this header?
44743 case $ac_header_compiler:$ac_header_preproc in
44744   yes:no )
44745     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44747     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44749     (
44750       cat <<\_ASBOX
44751 ## ------------------------------------ ##
44752 ## Report this to bug-autoconf@gnu.org. ##
44753 ## ------------------------------------ ##
44754 _ASBOX
44755     ) |
44756       sed "s/^/$as_me: WARNING:     /" >&2
44757     ;;
44758   no:yes )
44759     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44761     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44762 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44763     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44765     (
44766       cat <<\_ASBOX
44767 ## ------------------------------------ ##
44768 ## Report this to bug-autoconf@gnu.org. ##
44769 ## ------------------------------------ ##
44770 _ASBOX
44771     ) |
44772       sed "s/^/$as_me: WARNING:     /" >&2
44773     ;;
44774 esac
44775 echo "$as_me:$LINENO: checking for $ac_header" >&5
44776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44778   echo $ECHO_N "(cached) $ECHO_C" >&6
44779 else
44780   eval "$as_ac_Header=$ac_header_preproc"
44781 fi
44782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44784
44785 fi
44786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44787   cat >>confdefs.h <<_ACEOF
44788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44789 _ACEOF
44790  ac_has_wctype_h=yes
44791 else
44792   ac_has_wctype_h=no
44793 fi
44794
44795 done
44796
44797
44798   # Only continue checking if the ISO C99 headers exist and support is on.
44799   if test x"$ac_has_wchar_h" = xyes &&
44800      test x"$ac_has_wctype_h" = xyes &&
44801      test x"$enable_c_mbchar" != xno; then
44802
44803     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44804     # numeric_limits can instantiate type_traits<wchar_t>
44805     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44806 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44807     cat >conftest.$ac_ext <<_ACEOF
44808 #line $LINENO "configure"
44809 /* confdefs.h.  */
44810 _ACEOF
44811 cat confdefs.h >>conftest.$ac_ext
44812 cat >>conftest.$ac_ext <<_ACEOF
44813 /* end confdefs.h.  */
44814 #include <wchar.h>
44815 int
44816 main ()
44817 {
44818 int i = WCHAR_MIN; int j = WCHAR_MAX;
44819   ;
44820   return 0;
44821 }
44822 _ACEOF
44823 rm -f conftest.$ac_objext
44824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44825   (eval $ac_compile) 2>&5
44826   ac_status=$?
44827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828   (exit $ac_status); } &&
44829          { ac_try='test -s conftest.$ac_objext'
44830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44831   (eval $ac_try) 2>&5
44832   ac_status=$?
44833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834   (exit $ac_status); }; }; then
44835   has_wchar_minmax=yes
44836 else
44837   echo "$as_me: failed program was:" >&5
44838 sed 's/^/| /' conftest.$ac_ext >&5
44839
44840 has_wchar_minmax=no
44841 fi
44842 rm -f conftest.$ac_objext conftest.$ac_ext
44843     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44844 echo "${ECHO_T}$has_wchar_minmax" >&6
44845
44846     # Test wchar.h for WEOF, which is what we use to determine whether
44847     # to specialize for char_traits<wchar_t> or not.
44848     echo "$as_me:$LINENO: checking for WEOF" >&5
44849 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44850     cat >conftest.$ac_ext <<_ACEOF
44851 #line $LINENO "configure"
44852 /* confdefs.h.  */
44853 _ACEOF
44854 cat confdefs.h >>conftest.$ac_ext
44855 cat >>conftest.$ac_ext <<_ACEOF
44856 /* end confdefs.h.  */
44857
44858       #include <wchar.h>
44859       #include <stddef.h>
44860 int
44861 main ()
44862 {
44863 wint_t i = WEOF;
44864   ;
44865   return 0;
44866 }
44867 _ACEOF
44868 rm -f conftest.$ac_objext
44869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44870   (eval $ac_compile) 2>&5
44871   ac_status=$?
44872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44873   (exit $ac_status); } &&
44874          { ac_try='test -s conftest.$ac_objext'
44875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44876   (eval $ac_try) 2>&5
44877   ac_status=$?
44878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879   (exit $ac_status); }; }; then
44880   has_weof=yes
44881 else
44882   echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.$ac_ext >&5
44884
44885 has_weof=no
44886 fi
44887 rm -f conftest.$ac_objext conftest.$ac_ext
44888     echo "$as_me:$LINENO: result: $has_weof" >&5
44889 echo "${ECHO_T}$has_weof" >&6
44890
44891     # Tests for wide character functions used in char_traits<wchar_t>.
44892     ac_wfuncs=yes
44893
44894
44895
44896
44897
44898
44899 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
44900 do
44901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44902 echo "$as_me:$LINENO: checking for $ac_func" >&5
44903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44904 if eval "test \"\${$as_ac_var+set}\" = set"; then
44905   echo $ECHO_N "(cached) $ECHO_C" >&6
44906 else
44907   if test x$gcc_no_link = xyes; then
44908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44910    { (exit 1); exit 1; }; }
44911 fi
44912 cat >conftest.$ac_ext <<_ACEOF
44913 #line $LINENO "configure"
44914 /* confdefs.h.  */
44915 _ACEOF
44916 cat confdefs.h >>conftest.$ac_ext
44917 cat >>conftest.$ac_ext <<_ACEOF
44918 /* end confdefs.h.  */
44919 /* System header to define __stub macros and hopefully few prototypes,
44920     which can conflict with char $ac_func (); below.
44921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44922     <limits.h> exists even on freestanding compilers.  */
44923 #ifdef __STDC__
44924 # include <limits.h>
44925 #else
44926 # include <assert.h>
44927 #endif
44928 /* Override any gcc2 internal prototype to avoid an error.  */
44929 #ifdef __cplusplus
44930 extern "C"
44931 {
44932 #endif
44933 /* We use char because int might match the return type of a gcc2
44934    builtin and then its argument prototype would still apply.  */
44935 char $ac_func ();
44936 /* The GNU C library defines this for functions which it implements
44937     to always fail with ENOSYS.  Some functions are actually named
44938     something starting with __ and the normal name is an alias.  */
44939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44940 choke me
44941 #else
44942 char (*f) () = $ac_func;
44943 #endif
44944 #ifdef __cplusplus
44945 }
44946 #endif
44947
44948 int
44949 main ()
44950 {
44951 return f != $ac_func;
44952   ;
44953   return 0;
44954 }
44955 _ACEOF
44956 rm -f conftest.$ac_objext conftest$ac_exeext
44957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44958   (eval $ac_link) 2>&5
44959   ac_status=$?
44960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44961   (exit $ac_status); } &&
44962          { ac_try='test -s conftest$ac_exeext'
44963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44964   (eval $ac_try) 2>&5
44965   ac_status=$?
44966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967   (exit $ac_status); }; }; then
44968   eval "$as_ac_var=yes"
44969 else
44970   echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44972
44973 eval "$as_ac_var=no"
44974 fi
44975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44976 fi
44977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44979 if test `eval echo '${'$as_ac_var'}'` = yes; then
44980   cat >>confdefs.h <<_ACEOF
44981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44982 _ACEOF
44983
44984 else
44985   ac_wfuncs=no
44986 fi
44987 done
44988
44989
44990     # Checks for names injected into std:: by the c_std headers.
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45038     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45039     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45040     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45041     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45042     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45043 do
45044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45045 echo "$as_me:$LINENO: checking for $ac_func" >&5
45046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45047 if eval "test \"\${$as_ac_var+set}\" = set"; then
45048   echo $ECHO_N "(cached) $ECHO_C" >&6
45049 else
45050   if test x$gcc_no_link = xyes; then
45051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45053    { (exit 1); exit 1; }; }
45054 fi
45055 cat >conftest.$ac_ext <<_ACEOF
45056 #line $LINENO "configure"
45057 /* confdefs.h.  */
45058 _ACEOF
45059 cat confdefs.h >>conftest.$ac_ext
45060 cat >>conftest.$ac_ext <<_ACEOF
45061 /* end confdefs.h.  */
45062 /* System header to define __stub macros and hopefully few prototypes,
45063     which can conflict with char $ac_func (); below.
45064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45065     <limits.h> exists even on freestanding compilers.  */
45066 #ifdef __STDC__
45067 # include <limits.h>
45068 #else
45069 # include <assert.h>
45070 #endif
45071 /* Override any gcc2 internal prototype to avoid an error.  */
45072 #ifdef __cplusplus
45073 extern "C"
45074 {
45075 #endif
45076 /* We use char because int might match the return type of a gcc2
45077    builtin and then its argument prototype would still apply.  */
45078 char $ac_func ();
45079 /* The GNU C library defines this for functions which it implements
45080     to always fail with ENOSYS.  Some functions are actually named
45081     something starting with __ and the normal name is an alias.  */
45082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45083 choke me
45084 #else
45085 char (*f) () = $ac_func;
45086 #endif
45087 #ifdef __cplusplus
45088 }
45089 #endif
45090
45091 int
45092 main ()
45093 {
45094 return f != $ac_func;
45095   ;
45096   return 0;
45097 }
45098 _ACEOF
45099 rm -f conftest.$ac_objext conftest$ac_exeext
45100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45101   (eval $ac_link) 2>&5
45102   ac_status=$?
45103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104   (exit $ac_status); } &&
45105          { ac_try='test -s conftest$ac_exeext'
45106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45107   (eval $ac_try) 2>&5
45108   ac_status=$?
45109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110   (exit $ac_status); }; }; then
45111   eval "$as_ac_var=yes"
45112 else
45113   echo "$as_me: failed program was:" >&5
45114 sed 's/^/| /' conftest.$ac_ext >&5
45115
45116 eval "$as_ac_var=no"
45117 fi
45118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45119 fi
45120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45122 if test `eval echo '${'$as_ac_var'}'` = yes; then
45123   cat >>confdefs.h <<_ACEOF
45124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45125 _ACEOF
45126
45127 else
45128   ac_wfuncs=no
45129 fi
45130 done
45131
45132
45133     # Checks for wide character functions that are not required
45134     # for basic wchar_t support.  Don't disable support if they are missing.
45135     # Injection of these is wrapped with guard macros.
45136
45137
45138
45139
45140
45141 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45142 do
45143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45144 echo "$as_me:$LINENO: checking for $ac_func" >&5
45145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45146 if eval "test \"\${$as_ac_var+set}\" = set"; then
45147   echo $ECHO_N "(cached) $ECHO_C" >&6
45148 else
45149   if test x$gcc_no_link = xyes; then
45150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45152    { (exit 1); exit 1; }; }
45153 fi
45154 cat >conftest.$ac_ext <<_ACEOF
45155 #line $LINENO "configure"
45156 /* confdefs.h.  */
45157 _ACEOF
45158 cat confdefs.h >>conftest.$ac_ext
45159 cat >>conftest.$ac_ext <<_ACEOF
45160 /* end confdefs.h.  */
45161 /* System header to define __stub macros and hopefully few prototypes,
45162     which can conflict with char $ac_func (); below.
45163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45164     <limits.h> exists even on freestanding compilers.  */
45165 #ifdef __STDC__
45166 # include <limits.h>
45167 #else
45168 # include <assert.h>
45169 #endif
45170 /* Override any gcc2 internal prototype to avoid an error.  */
45171 #ifdef __cplusplus
45172 extern "C"
45173 {
45174 #endif
45175 /* We use char because int might match the return type of a gcc2
45176    builtin and then its argument prototype would still apply.  */
45177 char $ac_func ();
45178 /* The GNU C library defines this for functions which it implements
45179     to always fail with ENOSYS.  Some functions are actually named
45180     something starting with __ and the normal name is an alias.  */
45181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45182 choke me
45183 #else
45184 char (*f) () = $ac_func;
45185 #endif
45186 #ifdef __cplusplus
45187 }
45188 #endif
45189
45190 int
45191 main ()
45192 {
45193 return f != $ac_func;
45194   ;
45195   return 0;
45196 }
45197 _ACEOF
45198 rm -f conftest.$ac_objext conftest$ac_exeext
45199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45200   (eval $ac_link) 2>&5
45201   ac_status=$?
45202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45203   (exit $ac_status); } &&
45204          { ac_try='test -s conftest$ac_exeext'
45205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45206   (eval $ac_try) 2>&5
45207   ac_status=$?
45208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45209   (exit $ac_status); }; }; then
45210   eval "$as_ac_var=yes"
45211 else
45212   echo "$as_me: failed program was:" >&5
45213 sed 's/^/| /' conftest.$ac_ext >&5
45214
45215 eval "$as_ac_var=no"
45216 fi
45217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45218 fi
45219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45221 if test `eval echo '${'$as_ac_var'}'` = yes; then
45222   cat >>confdefs.h <<_ACEOF
45223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45224 _ACEOF
45225
45226 fi
45227 done
45228
45229
45230     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45231 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45232     if test x"$has_weof" = xyes &&
45233        test x"$has_wchar_minmax" = xyes &&
45234        test x"$ac_wfuncs" = xyes;
45235     then
45236       ac_isoC99_wchar_t=yes
45237     else
45238       ac_isoC99_wchar_t=no
45239     fi
45240     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45241 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45242
45243     # Use iconv for wchar_t to char conversions. As such, check for
45244     # X/Open Portability Guide, version 2 features (XPG2).
45245     if test "${ac_cv_header_iconv_h+set}" = set; then
45246   echo "$as_me:$LINENO: checking for iconv.h" >&5
45247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45248 if test "${ac_cv_header_iconv_h+set}" = set; then
45249   echo $ECHO_N "(cached) $ECHO_C" >&6
45250 fi
45251 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45252 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45253 else
45254   # Is the header compilable?
45255 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45256 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45257 cat >conftest.$ac_ext <<_ACEOF
45258 #line $LINENO "configure"
45259 /* confdefs.h.  */
45260 _ACEOF
45261 cat confdefs.h >>conftest.$ac_ext
45262 cat >>conftest.$ac_ext <<_ACEOF
45263 /* end confdefs.h.  */
45264 $ac_includes_default
45265 #include <iconv.h>
45266 _ACEOF
45267 rm -f conftest.$ac_objext
45268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45269   (eval $ac_compile) 2>&5
45270   ac_status=$?
45271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45272   (exit $ac_status); } &&
45273          { ac_try='test -s conftest.$ac_objext'
45274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275   (eval $ac_try) 2>&5
45276   ac_status=$?
45277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278   (exit $ac_status); }; }; then
45279   ac_header_compiler=yes
45280 else
45281   echo "$as_me: failed program was:" >&5
45282 sed 's/^/| /' conftest.$ac_ext >&5
45283
45284 ac_header_compiler=no
45285 fi
45286 rm -f conftest.$ac_objext conftest.$ac_ext
45287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45288 echo "${ECHO_T}$ac_header_compiler" >&6
45289
45290 # Is the header present?
45291 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45292 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45293 cat >conftest.$ac_ext <<_ACEOF
45294 #line $LINENO "configure"
45295 /* confdefs.h.  */
45296 _ACEOF
45297 cat confdefs.h >>conftest.$ac_ext
45298 cat >>conftest.$ac_ext <<_ACEOF
45299 /* end confdefs.h.  */
45300 #include <iconv.h>
45301 _ACEOF
45302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45303   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45304   ac_status=$?
45305   grep -v '^ *+' conftest.er1 >conftest.err
45306   rm -f conftest.er1
45307   cat conftest.err >&5
45308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309   (exit $ac_status); } >/dev/null; then
45310   if test -s conftest.err; then
45311     ac_cpp_err=$ac_c_preproc_warn_flag
45312   else
45313     ac_cpp_err=
45314   fi
45315 else
45316   ac_cpp_err=yes
45317 fi
45318 if test -z "$ac_cpp_err"; then
45319   ac_header_preproc=yes
45320 else
45321   echo "$as_me: failed program was:" >&5
45322 sed 's/^/| /' conftest.$ac_ext >&5
45323
45324   ac_header_preproc=no
45325 fi
45326 rm -f conftest.err conftest.$ac_ext
45327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45328 echo "${ECHO_T}$ac_header_preproc" >&6
45329
45330 # So?  What about this header?
45331 case $ac_header_compiler:$ac_header_preproc in
45332   yes:no )
45333     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45334 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45335     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45336 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45337     (
45338       cat <<\_ASBOX
45339 ## ------------------------------------ ##
45340 ## Report this to bug-autoconf@gnu.org. ##
45341 ## ------------------------------------ ##
45342 _ASBOX
45343     ) |
45344       sed "s/^/$as_me: WARNING:     /" >&2
45345     ;;
45346   no:yes )
45347     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45348 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45349     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45350 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45351     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45352 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45353     (
45354       cat <<\_ASBOX
45355 ## ------------------------------------ ##
45356 ## Report this to bug-autoconf@gnu.org. ##
45357 ## ------------------------------------ ##
45358 _ASBOX
45359     ) |
45360       sed "s/^/$as_me: WARNING:     /" >&2
45361     ;;
45362 esac
45363 echo "$as_me:$LINENO: checking for iconv.h" >&5
45364 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45365 if test "${ac_cv_header_iconv_h+set}" = set; then
45366   echo $ECHO_N "(cached) $ECHO_C" >&6
45367 else
45368   ac_cv_header_iconv_h=$ac_header_preproc
45369 fi
45370 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45371 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45372
45373 fi
45374 if test $ac_cv_header_iconv_h = yes; then
45375   ac_has_iconv_h=yes
45376 else
45377   ac_has_iconv_h=no
45378 fi
45379
45380
45381     if test "${ac_cv_header_langinfo_h+set}" = set; then
45382   echo "$as_me:$LINENO: checking for langinfo.h" >&5
45383 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45384 if test "${ac_cv_header_langinfo_h+set}" = set; then
45385   echo $ECHO_N "(cached) $ECHO_C" >&6
45386 fi
45387 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45388 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45389 else
45390   # Is the header compilable?
45391 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45392 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45393 cat >conftest.$ac_ext <<_ACEOF
45394 #line $LINENO "configure"
45395 /* confdefs.h.  */
45396 _ACEOF
45397 cat confdefs.h >>conftest.$ac_ext
45398 cat >>conftest.$ac_ext <<_ACEOF
45399 /* end confdefs.h.  */
45400 $ac_includes_default
45401 #include <langinfo.h>
45402 _ACEOF
45403 rm -f conftest.$ac_objext
45404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45405   (eval $ac_compile) 2>&5
45406   ac_status=$?
45407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408   (exit $ac_status); } &&
45409          { ac_try='test -s conftest.$ac_objext'
45410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45411   (eval $ac_try) 2>&5
45412   ac_status=$?
45413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414   (exit $ac_status); }; }; then
45415   ac_header_compiler=yes
45416 else
45417   echo "$as_me: failed program was:" >&5
45418 sed 's/^/| /' conftest.$ac_ext >&5
45419
45420 ac_header_compiler=no
45421 fi
45422 rm -f conftest.$ac_objext conftest.$ac_ext
45423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45424 echo "${ECHO_T}$ac_header_compiler" >&6
45425
45426 # Is the header present?
45427 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45428 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45429 cat >conftest.$ac_ext <<_ACEOF
45430 #line $LINENO "configure"
45431 /* confdefs.h.  */
45432 _ACEOF
45433 cat confdefs.h >>conftest.$ac_ext
45434 cat >>conftest.$ac_ext <<_ACEOF
45435 /* end confdefs.h.  */
45436 #include <langinfo.h>
45437 _ACEOF
45438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45439   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45440   ac_status=$?
45441   grep -v '^ *+' conftest.er1 >conftest.err
45442   rm -f conftest.er1
45443   cat conftest.err >&5
45444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445   (exit $ac_status); } >/dev/null; then
45446   if test -s conftest.err; then
45447     ac_cpp_err=$ac_c_preproc_warn_flag
45448   else
45449     ac_cpp_err=
45450   fi
45451 else
45452   ac_cpp_err=yes
45453 fi
45454 if test -z "$ac_cpp_err"; then
45455   ac_header_preproc=yes
45456 else
45457   echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45459
45460   ac_header_preproc=no
45461 fi
45462 rm -f conftest.err conftest.$ac_ext
45463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45464 echo "${ECHO_T}$ac_header_preproc" >&6
45465
45466 # So?  What about this header?
45467 case $ac_header_compiler:$ac_header_preproc in
45468   yes:no )
45469     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45470 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45471     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45472 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45473     (
45474       cat <<\_ASBOX
45475 ## ------------------------------------ ##
45476 ## Report this to bug-autoconf@gnu.org. ##
45477 ## ------------------------------------ ##
45478 _ASBOX
45479     ) |
45480       sed "s/^/$as_me: WARNING:     /" >&2
45481     ;;
45482   no:yes )
45483     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45484 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45485     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45486 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45487     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45488 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45489     (
45490       cat <<\_ASBOX
45491 ## ------------------------------------ ##
45492 ## Report this to bug-autoconf@gnu.org. ##
45493 ## ------------------------------------ ##
45494 _ASBOX
45495     ) |
45496       sed "s/^/$as_me: WARNING:     /" >&2
45497     ;;
45498 esac
45499 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45500 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45501 if test "${ac_cv_header_langinfo_h+set}" = set; then
45502   echo $ECHO_N "(cached) $ECHO_C" >&6
45503 else
45504   ac_cv_header_langinfo_h=$ac_header_preproc
45505 fi
45506 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45507 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45508
45509 fi
45510 if test $ac_cv_header_langinfo_h = yes; then
45511   ac_has_langinfo_h=yes
45512 else
45513   ac_has_langinfo_h=no
45514 fi
45515
45516
45517
45518     # Check for existence of libiconv.a providing XPG2 wchar_t support.
45519     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45520 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45521 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45522   echo $ECHO_N "(cached) $ECHO_C" >&6
45523 else
45524   ac_check_lib_save_LIBS=$LIBS
45525 LIBS="-liconv  $LIBS"
45526 if test x$gcc_no_link = xyes; then
45527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45529    { (exit 1); exit 1; }; }
45530 fi
45531 cat >conftest.$ac_ext <<_ACEOF
45532 #line $LINENO "configure"
45533 /* confdefs.h.  */
45534 _ACEOF
45535 cat confdefs.h >>conftest.$ac_ext
45536 cat >>conftest.$ac_ext <<_ACEOF
45537 /* end confdefs.h.  */
45538
45539 /* Override any gcc2 internal prototype to avoid an error.  */
45540 #ifdef __cplusplus
45541 extern "C"
45542 #endif
45543 /* We use char because int might match the return type of a gcc2
45544    builtin and then its argument prototype would still apply.  */
45545 char iconv ();
45546 int
45547 main ()
45548 {
45549 iconv ();
45550   ;
45551   return 0;
45552 }
45553 _ACEOF
45554 rm -f conftest.$ac_objext conftest$ac_exeext
45555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45556   (eval $ac_link) 2>&5
45557   ac_status=$?
45558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45559   (exit $ac_status); } &&
45560          { ac_try='test -s conftest$ac_exeext'
45561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45562   (eval $ac_try) 2>&5
45563   ac_status=$?
45564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45565   (exit $ac_status); }; }; then
45566   ac_cv_lib_iconv_iconv=yes
45567 else
45568   echo "$as_me: failed program was:" >&5
45569 sed 's/^/| /' conftest.$ac_ext >&5
45570
45571 ac_cv_lib_iconv_iconv=no
45572 fi
45573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45574 LIBS=$ac_check_lib_save_LIBS
45575 fi
45576 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45577 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45578 if test $ac_cv_lib_iconv_iconv = yes; then
45579   libiconv="-liconv"
45580 fi
45581
45582     ac_save_LIBS="$LIBS"
45583     LIBS="$LIBS $libiconv"
45584
45585
45586
45587
45588
45589 for ac_func in iconv_open iconv_close iconv nl_langinfo
45590 do
45591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45592 echo "$as_me:$LINENO: checking for $ac_func" >&5
45593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45594 if eval "test \"\${$as_ac_var+set}\" = set"; then
45595   echo $ECHO_N "(cached) $ECHO_C" >&6
45596 else
45597   if test x$gcc_no_link = xyes; then
45598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45600    { (exit 1); exit 1; }; }
45601 fi
45602 cat >conftest.$ac_ext <<_ACEOF
45603 #line $LINENO "configure"
45604 /* confdefs.h.  */
45605 _ACEOF
45606 cat confdefs.h >>conftest.$ac_ext
45607 cat >>conftest.$ac_ext <<_ACEOF
45608 /* end confdefs.h.  */
45609 /* System header to define __stub macros and hopefully few prototypes,
45610     which can conflict with char $ac_func (); below.
45611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45612     <limits.h> exists even on freestanding compilers.  */
45613 #ifdef __STDC__
45614 # include <limits.h>
45615 #else
45616 # include <assert.h>
45617 #endif
45618 /* Override any gcc2 internal prototype to avoid an error.  */
45619 #ifdef __cplusplus
45620 extern "C"
45621 {
45622 #endif
45623 /* We use char because int might match the return type of a gcc2
45624    builtin and then its argument prototype would still apply.  */
45625 char $ac_func ();
45626 /* The GNU C library defines this for functions which it implements
45627     to always fail with ENOSYS.  Some functions are actually named
45628     something starting with __ and the normal name is an alias.  */
45629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45630 choke me
45631 #else
45632 char (*f) () = $ac_func;
45633 #endif
45634 #ifdef __cplusplus
45635 }
45636 #endif
45637
45638 int
45639 main ()
45640 {
45641 return f != $ac_func;
45642   ;
45643   return 0;
45644 }
45645 _ACEOF
45646 rm -f conftest.$ac_objext conftest$ac_exeext
45647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45648   (eval $ac_link) 2>&5
45649   ac_status=$?
45650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651   (exit $ac_status); } &&
45652          { ac_try='test -s conftest$ac_exeext'
45653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45654   (eval $ac_try) 2>&5
45655   ac_status=$?
45656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45657   (exit $ac_status); }; }; then
45658   eval "$as_ac_var=yes"
45659 else
45660   echo "$as_me: failed program was:" >&5
45661 sed 's/^/| /' conftest.$ac_ext >&5
45662
45663 eval "$as_ac_var=no"
45664 fi
45665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45666 fi
45667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45669 if test `eval echo '${'$as_ac_var'}'` = yes; then
45670   cat >>confdefs.h <<_ACEOF
45671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45672 _ACEOF
45673  ac_XPG2funcs=yes
45674 else
45675   ac_XPG2funcs=no
45676 fi
45677 done
45678
45679
45680     LIBS="$ac_save_LIBS"
45681
45682     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45683 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45684     if test x"$ac_has_iconv_h" = xyes &&
45685        test x"$ac_has_langinfo_h" = xyes &&
45686        test x"$ac_XPG2funcs" = xyes;
45687     then
45688       ac_XPG2_wchar_t=yes
45689     else
45690       ac_XPG2_wchar_t=no
45691     fi
45692     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45693 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45694
45695     # At the moment, only enable wchar_t specializations if all the
45696     # above support is present.
45697     if test x"$ac_isoC99_wchar_t" = xyes &&
45698        test x"$ac_XPG2_wchar_t" = xyes;
45699     then
45700       cat >>confdefs.h <<\_ACEOF
45701 #define _GLIBCXX_USE_WCHAR_T 1
45702 _ACEOF
45703
45704       enable_wchar_t=yes
45705     fi
45706   fi
45707   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45708 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45709   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45710 echo "${ECHO_T}$enable_wchar_t" >&6
45711
45712
45713   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45714   ac_save_CXXFLAGS="$CXXFLAGS"
45715   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45716
45717
45718   echo "$as_me:$LINENO: checking for strtold declaration" >&5
45719 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45720   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45721     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45722   echo $ECHO_N "(cached) $ECHO_C" >&6
45723 else
45724
45725
45726
45727       ac_ext=cc
45728 ac_cpp='$CXXCPP $CPPFLAGS'
45729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45732
45733       cat >conftest.$ac_ext <<_ACEOF
45734 #line $LINENO "configure"
45735 /* confdefs.h.  */
45736 _ACEOF
45737 cat confdefs.h >>conftest.$ac_ext
45738 cat >>conftest.$ac_ext <<_ACEOF
45739 /* end confdefs.h.  */
45740 #include <stdlib.h>
45741 int
45742 main ()
45743 {
45744  strtold(0, 0);
45745   ;
45746   return 0;
45747 }
45748 _ACEOF
45749 rm -f conftest.$ac_objext
45750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45751   (eval $ac_compile) 2>&5
45752   ac_status=$?
45753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754   (exit $ac_status); } &&
45755          { ac_try='test -s conftest.$ac_objext'
45756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45757   (eval $ac_try) 2>&5
45758   ac_status=$?
45759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45760   (exit $ac_status); }; }; then
45761   glibcxx_cv_func_strtold_use=yes
45762 else
45763   echo "$as_me: failed program was:" >&5
45764 sed 's/^/| /' conftest.$ac_ext >&5
45765
45766 glibcxx_cv_func_strtold_use=no
45767 fi
45768 rm -f conftest.$ac_objext conftest.$ac_ext
45769       ac_ext=c
45770 ac_cpp='$CPP $CPPFLAGS'
45771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45774
45775
45776 fi
45777
45778   fi
45779   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45780 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45781   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45782
45783 for ac_func in strtold
45784 do
45785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45786 echo "$as_me:$LINENO: checking for $ac_func" >&5
45787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45788 if eval "test \"\${$as_ac_var+set}\" = set"; then
45789   echo $ECHO_N "(cached) $ECHO_C" >&6
45790 else
45791   if test x$gcc_no_link = xyes; then
45792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45794    { (exit 1); exit 1; }; }
45795 fi
45796 cat >conftest.$ac_ext <<_ACEOF
45797 #line $LINENO "configure"
45798 /* confdefs.h.  */
45799 _ACEOF
45800 cat confdefs.h >>conftest.$ac_ext
45801 cat >>conftest.$ac_ext <<_ACEOF
45802 /* end confdefs.h.  */
45803 /* System header to define __stub macros and hopefully few prototypes,
45804     which can conflict with char $ac_func (); below.
45805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45806     <limits.h> exists even on freestanding compilers.  */
45807 #ifdef __STDC__
45808 # include <limits.h>
45809 #else
45810 # include <assert.h>
45811 #endif
45812 /* Override any gcc2 internal prototype to avoid an error.  */
45813 #ifdef __cplusplus
45814 extern "C"
45815 {
45816 #endif
45817 /* We use char because int might match the return type of a gcc2
45818    builtin and then its argument prototype would still apply.  */
45819 char $ac_func ();
45820 /* The GNU C library defines this for functions which it implements
45821     to always fail with ENOSYS.  Some functions are actually named
45822     something starting with __ and the normal name is an alias.  */
45823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45824 choke me
45825 #else
45826 char (*f) () = $ac_func;
45827 #endif
45828 #ifdef __cplusplus
45829 }
45830 #endif
45831
45832 int
45833 main ()
45834 {
45835 return f != $ac_func;
45836   ;
45837   return 0;
45838 }
45839 _ACEOF
45840 rm -f conftest.$ac_objext conftest$ac_exeext
45841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45842   (eval $ac_link) 2>&5
45843   ac_status=$?
45844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845   (exit $ac_status); } &&
45846          { ac_try='test -s conftest$ac_exeext'
45847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45848   (eval $ac_try) 2>&5
45849   ac_status=$?
45850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45851   (exit $ac_status); }; }; then
45852   eval "$as_ac_var=yes"
45853 else
45854   echo "$as_me: failed program was:" >&5
45855 sed 's/^/| /' conftest.$ac_ext >&5
45856
45857 eval "$as_ac_var=no"
45858 fi
45859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45860 fi
45861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45863 if test `eval echo '${'$as_ac_var'}'` = yes; then
45864   cat >>confdefs.h <<_ACEOF
45865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45866 _ACEOF
45867
45868 fi
45869 done
45870
45871   fi
45872
45873
45874   echo "$as_me:$LINENO: checking for strtof declaration" >&5
45875 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
45876   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45877     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
45878   echo $ECHO_N "(cached) $ECHO_C" >&6
45879 else
45880
45881
45882
45883       ac_ext=cc
45884 ac_cpp='$CXXCPP $CPPFLAGS'
45885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45888
45889       cat >conftest.$ac_ext <<_ACEOF
45890 #line $LINENO "configure"
45891 /* confdefs.h.  */
45892 _ACEOF
45893 cat confdefs.h >>conftest.$ac_ext
45894 cat >>conftest.$ac_ext <<_ACEOF
45895 /* end confdefs.h.  */
45896 #include <stdlib.h>
45897 int
45898 main ()
45899 {
45900  strtof(0, 0);
45901   ;
45902   return 0;
45903 }
45904 _ACEOF
45905 rm -f conftest.$ac_objext
45906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45907   (eval $ac_compile) 2>&5
45908   ac_status=$?
45909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45910   (exit $ac_status); } &&
45911          { ac_try='test -s conftest.$ac_objext'
45912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45913   (eval $ac_try) 2>&5
45914   ac_status=$?
45915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45916   (exit $ac_status); }; }; then
45917   glibcxx_cv_func_strtof_use=yes
45918 else
45919   echo "$as_me: failed program was:" >&5
45920 sed 's/^/| /' conftest.$ac_ext >&5
45921
45922 glibcxx_cv_func_strtof_use=no
45923 fi
45924 rm -f conftest.$ac_objext conftest.$ac_ext
45925       ac_ext=c
45926 ac_cpp='$CPP $CPPFLAGS'
45927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45930
45931
45932 fi
45933
45934   fi
45935   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
45936 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
45937   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45938
45939 for ac_func in strtof
45940 do
45941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45942 echo "$as_me:$LINENO: checking for $ac_func" >&5
45943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45944 if eval "test \"\${$as_ac_var+set}\" = set"; then
45945   echo $ECHO_N "(cached) $ECHO_C" >&6
45946 else
45947   if test x$gcc_no_link = xyes; then
45948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45950    { (exit 1); exit 1; }; }
45951 fi
45952 cat >conftest.$ac_ext <<_ACEOF
45953 #line $LINENO "configure"
45954 /* confdefs.h.  */
45955 _ACEOF
45956 cat confdefs.h >>conftest.$ac_ext
45957 cat >>conftest.$ac_ext <<_ACEOF
45958 /* end confdefs.h.  */
45959 /* System header to define __stub macros and hopefully few prototypes,
45960     which can conflict with char $ac_func (); below.
45961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45962     <limits.h> exists even on freestanding compilers.  */
45963 #ifdef __STDC__
45964 # include <limits.h>
45965 #else
45966 # include <assert.h>
45967 #endif
45968 /* Override any gcc2 internal prototype to avoid an error.  */
45969 #ifdef __cplusplus
45970 extern "C"
45971 {
45972 #endif
45973 /* We use char because int might match the return type of a gcc2
45974    builtin and then its argument prototype would still apply.  */
45975 char $ac_func ();
45976 /* The GNU C library defines this for functions which it implements
45977     to always fail with ENOSYS.  Some functions are actually named
45978     something starting with __ and the normal name is an alias.  */
45979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45980 choke me
45981 #else
45982 char (*f) () = $ac_func;
45983 #endif
45984 #ifdef __cplusplus
45985 }
45986 #endif
45987
45988 int
45989 main ()
45990 {
45991 return f != $ac_func;
45992   ;
45993   return 0;
45994 }
45995 _ACEOF
45996 rm -f conftest.$ac_objext conftest$ac_exeext
45997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45998   (eval $ac_link) 2>&5
45999   ac_status=$?
46000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001   (exit $ac_status); } &&
46002          { ac_try='test -s conftest$ac_exeext'
46003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004   (eval $ac_try) 2>&5
46005   ac_status=$?
46006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007   (exit $ac_status); }; }; then
46008   eval "$as_ac_var=yes"
46009 else
46010   echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.$ac_ext >&5
46012
46013 eval "$as_ac_var=no"
46014 fi
46015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46016 fi
46017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46019 if test `eval echo '${'$as_ac_var'}'` = yes; then
46020   cat >>confdefs.h <<_ACEOF
46021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46022 _ACEOF
46023
46024 fi
46025 done
46026
46027   fi
46028
46029
46030   CXXFLAGS="$ac_save_CXXFLAGS"
46031
46032
46033     # For showmanyc_helper().
46034
46035
46036 for ac_header in sys/ioctl.h sys/filio.h
46037 do
46038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46040   echo "$as_me:$LINENO: checking for $ac_header" >&5
46041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46043   echo $ECHO_N "(cached) $ECHO_C" >&6
46044 fi
46045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46047 else
46048   # Is the header compilable?
46049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46051 cat >conftest.$ac_ext <<_ACEOF
46052 #line $LINENO "configure"
46053 /* confdefs.h.  */
46054 _ACEOF
46055 cat confdefs.h >>conftest.$ac_ext
46056 cat >>conftest.$ac_ext <<_ACEOF
46057 /* end confdefs.h.  */
46058 $ac_includes_default
46059 #include <$ac_header>
46060 _ACEOF
46061 rm -f conftest.$ac_objext
46062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46063   (eval $ac_compile) 2>&5
46064   ac_status=$?
46065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46066   (exit $ac_status); } &&
46067          { ac_try='test -s conftest.$ac_objext'
46068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46069   (eval $ac_try) 2>&5
46070   ac_status=$?
46071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072   (exit $ac_status); }; }; then
46073   ac_header_compiler=yes
46074 else
46075   echo "$as_me: failed program was:" >&5
46076 sed 's/^/| /' conftest.$ac_ext >&5
46077
46078 ac_header_compiler=no
46079 fi
46080 rm -f conftest.$ac_objext conftest.$ac_ext
46081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46082 echo "${ECHO_T}$ac_header_compiler" >&6
46083
46084 # Is the header present?
46085 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46086 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46087 cat >conftest.$ac_ext <<_ACEOF
46088 #line $LINENO "configure"
46089 /* confdefs.h.  */
46090 _ACEOF
46091 cat confdefs.h >>conftest.$ac_ext
46092 cat >>conftest.$ac_ext <<_ACEOF
46093 /* end confdefs.h.  */
46094 #include <$ac_header>
46095 _ACEOF
46096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46097   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46098   ac_status=$?
46099   grep -v '^ *+' conftest.er1 >conftest.err
46100   rm -f conftest.er1
46101   cat conftest.err >&5
46102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103   (exit $ac_status); } >/dev/null; then
46104   if test -s conftest.err; then
46105     ac_cpp_err=$ac_c_preproc_warn_flag
46106   else
46107     ac_cpp_err=
46108   fi
46109 else
46110   ac_cpp_err=yes
46111 fi
46112 if test -z "$ac_cpp_err"; then
46113   ac_header_preproc=yes
46114 else
46115   echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.$ac_ext >&5
46117
46118   ac_header_preproc=no
46119 fi
46120 rm -f conftest.err conftest.$ac_ext
46121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46122 echo "${ECHO_T}$ac_header_preproc" >&6
46123
46124 # So?  What about this header?
46125 case $ac_header_compiler:$ac_header_preproc in
46126   yes:no )
46127     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46128 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46129     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46131     (
46132       cat <<\_ASBOX
46133 ## ------------------------------------ ##
46134 ## Report this to bug-autoconf@gnu.org. ##
46135 ## ------------------------------------ ##
46136 _ASBOX
46137     ) |
46138       sed "s/^/$as_me: WARNING:     /" >&2
46139     ;;
46140   no:yes )
46141     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46143     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46145     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46147     (
46148       cat <<\_ASBOX
46149 ## ------------------------------------ ##
46150 ## Report this to bug-autoconf@gnu.org. ##
46151 ## ------------------------------------ ##
46152 _ASBOX
46153     ) |
46154       sed "s/^/$as_me: WARNING:     /" >&2
46155     ;;
46156 esac
46157 echo "$as_me:$LINENO: checking for $ac_header" >&5
46158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46160   echo $ECHO_N "(cached) $ECHO_C" >&6
46161 else
46162   eval "$as_ac_Header=$ac_header_preproc"
46163 fi
46164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46166
46167 fi
46168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46169   cat >>confdefs.h <<_ACEOF
46170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46171 _ACEOF
46172
46173 fi
46174
46175 done
46176
46177
46178   if test "${glibcxx_cv_POLL+set}" = set; then
46179   echo $ECHO_N "(cached) $ECHO_C" >&6
46180 else
46181
46182     if test x$gcc_no_link = xyes; then
46183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46185    { (exit 1); exit 1; }; }
46186 fi
46187 cat >conftest.$ac_ext <<_ACEOF
46188 #line $LINENO "configure"
46189 /* confdefs.h.  */
46190 _ACEOF
46191 cat confdefs.h >>conftest.$ac_ext
46192 cat >>conftest.$ac_ext <<_ACEOF
46193 /* end confdefs.h.  */
46194 #include <poll.h>
46195 int
46196 main ()
46197 {
46198 struct pollfd pfd[1];
46199        pfd[0].events = POLLIN;
46200        poll(pfd, 1, 0);
46201   ;
46202   return 0;
46203 }
46204 _ACEOF
46205 rm -f conftest.$ac_objext conftest$ac_exeext
46206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46207   (eval $ac_link) 2>&5
46208   ac_status=$?
46209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46210   (exit $ac_status); } &&
46211          { ac_try='test -s conftest$ac_exeext'
46212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46213   (eval $ac_try) 2>&5
46214   ac_status=$?
46215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216   (exit $ac_status); }; }; then
46217   glibcxx_cv_POLL=yes
46218 else
46219   echo "$as_me: failed program was:" >&5
46220 sed 's/^/| /' conftest.$ac_ext >&5
46221
46222 glibcxx_cv_POLL=no
46223 fi
46224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46225
46226 fi
46227
46228   if test $glibcxx_cv_POLL = yes; then
46229     cat >>confdefs.h <<\_ACEOF
46230 #define HAVE_POLL 1
46231 _ACEOF
46232
46233   fi
46234
46235
46236   if test "${glibcxx_cv_S_ISREG+set}" = set; then
46237   echo $ECHO_N "(cached) $ECHO_C" >&6
46238 else
46239
46240     if test x$gcc_no_link = xyes; then
46241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46243    { (exit 1); exit 1; }; }
46244 fi
46245 cat >conftest.$ac_ext <<_ACEOF
46246 #line $LINENO "configure"
46247 /* confdefs.h.  */
46248 _ACEOF
46249 cat confdefs.h >>conftest.$ac_ext
46250 cat >>conftest.$ac_ext <<_ACEOF
46251 /* end confdefs.h.  */
46252 #include <sys/stat.h>
46253 int
46254 main ()
46255 {
46256 struct stat buffer;
46257        fstat(0, &buffer);
46258        S_ISREG(buffer.st_mode);
46259   ;
46260   return 0;
46261 }
46262 _ACEOF
46263 rm -f conftest.$ac_objext conftest$ac_exeext
46264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46265   (eval $ac_link) 2>&5
46266   ac_status=$?
46267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46268   (exit $ac_status); } &&
46269          { ac_try='test -s conftest$ac_exeext'
46270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46271   (eval $ac_try) 2>&5
46272   ac_status=$?
46273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46274   (exit $ac_status); }; }; then
46275   glibcxx_cv_S_ISREG=yes
46276 else
46277   echo "$as_me: failed program was:" >&5
46278 sed 's/^/| /' conftest.$ac_ext >&5
46279
46280 glibcxx_cv_S_ISREG=no
46281 fi
46282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46283
46284 fi
46285
46286   if test "${glibcxx_cv_S_IFREG+set}" = set; then
46287   echo $ECHO_N "(cached) $ECHO_C" >&6
46288 else
46289
46290     if test x$gcc_no_link = xyes; then
46291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46293    { (exit 1); exit 1; }; }
46294 fi
46295 cat >conftest.$ac_ext <<_ACEOF
46296 #line $LINENO "configure"
46297 /* confdefs.h.  */
46298 _ACEOF
46299 cat confdefs.h >>conftest.$ac_ext
46300 cat >>conftest.$ac_ext <<_ACEOF
46301 /* end confdefs.h.  */
46302 #include <sys/stat.h>
46303 int
46304 main ()
46305 {
46306 struct stat buffer;
46307        fstat(0, &buffer);
46308        S_IFREG & buffer.st_mode;
46309   ;
46310   return 0;
46311 }
46312 _ACEOF
46313 rm -f conftest.$ac_objext conftest$ac_exeext
46314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46315   (eval $ac_link) 2>&5
46316   ac_status=$?
46317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46318   (exit $ac_status); } &&
46319          { ac_try='test -s conftest$ac_exeext'
46320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46321   (eval $ac_try) 2>&5
46322   ac_status=$?
46323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46324   (exit $ac_status); }; }; then
46325   glibcxx_cv_S_IFREG=yes
46326 else
46327   echo "$as_me: failed program was:" >&5
46328 sed 's/^/| /' conftest.$ac_ext >&5
46329
46330 glibcxx_cv_S_IFREG=no
46331 fi
46332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46333
46334 fi
46335
46336   if test $glibcxx_cv_S_ISREG = yes; then
46337     cat >>confdefs.h <<\_ACEOF
46338 #define HAVE_S_ISREG 1
46339 _ACEOF
46340
46341   elif test $glibcxx_cv_S_IFREG = yes; then
46342     cat >>confdefs.h <<\_ACEOF
46343 #define HAVE_S_IFREG 1
46344 _ACEOF
46345
46346   fi
46347
46348
46349     # For xsputn_2().
46350
46351 for ac_header in sys/uio.h
46352 do
46353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46355   echo "$as_me:$LINENO: checking for $ac_header" >&5
46356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46358   echo $ECHO_N "(cached) $ECHO_C" >&6
46359 fi
46360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46362 else
46363   # Is the header compilable?
46364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46366 cat >conftest.$ac_ext <<_ACEOF
46367 #line $LINENO "configure"
46368 /* confdefs.h.  */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h.  */
46373 $ac_includes_default
46374 #include <$ac_header>
46375 _ACEOF
46376 rm -f conftest.$ac_objext
46377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46378   (eval $ac_compile) 2>&5
46379   ac_status=$?
46380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381   (exit $ac_status); } &&
46382          { ac_try='test -s conftest.$ac_objext'
46383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46384   (eval $ac_try) 2>&5
46385   ac_status=$?
46386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387   (exit $ac_status); }; }; then
46388   ac_header_compiler=yes
46389 else
46390   echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46392
46393 ac_header_compiler=no
46394 fi
46395 rm -f conftest.$ac_objext conftest.$ac_ext
46396 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46397 echo "${ECHO_T}$ac_header_compiler" >&6
46398
46399 # Is the header present?
46400 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46401 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46402 cat >conftest.$ac_ext <<_ACEOF
46403 #line $LINENO "configure"
46404 /* confdefs.h.  */
46405 _ACEOF
46406 cat confdefs.h >>conftest.$ac_ext
46407 cat >>conftest.$ac_ext <<_ACEOF
46408 /* end confdefs.h.  */
46409 #include <$ac_header>
46410 _ACEOF
46411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46412   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46413   ac_status=$?
46414   grep -v '^ *+' conftest.er1 >conftest.err
46415   rm -f conftest.er1
46416   cat conftest.err >&5
46417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46418   (exit $ac_status); } >/dev/null; then
46419   if test -s conftest.err; then
46420     ac_cpp_err=$ac_c_preproc_warn_flag
46421   else
46422     ac_cpp_err=
46423   fi
46424 else
46425   ac_cpp_err=yes
46426 fi
46427 if test -z "$ac_cpp_err"; then
46428   ac_header_preproc=yes
46429 else
46430   echo "$as_me: failed program was:" >&5
46431 sed 's/^/| /' conftest.$ac_ext >&5
46432
46433   ac_header_preproc=no
46434 fi
46435 rm -f conftest.err conftest.$ac_ext
46436 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46437 echo "${ECHO_T}$ac_header_preproc" >&6
46438
46439 # So?  What about this header?
46440 case $ac_header_compiler:$ac_header_preproc in
46441   yes:no )
46442     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46443 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46444     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46446     (
46447       cat <<\_ASBOX
46448 ## ------------------------------------ ##
46449 ## Report this to bug-autoconf@gnu.org. ##
46450 ## ------------------------------------ ##
46451 _ASBOX
46452     ) |
46453       sed "s/^/$as_me: WARNING:     /" >&2
46454     ;;
46455   no:yes )
46456     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46458     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46460     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46462     (
46463       cat <<\_ASBOX
46464 ## ------------------------------------ ##
46465 ## Report this to bug-autoconf@gnu.org. ##
46466 ## ------------------------------------ ##
46467 _ASBOX
46468     ) |
46469       sed "s/^/$as_me: WARNING:     /" >&2
46470     ;;
46471 esac
46472 echo "$as_me:$LINENO: checking for $ac_header" >&5
46473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46475   echo $ECHO_N "(cached) $ECHO_C" >&6
46476 else
46477   eval "$as_ac_Header=$ac_header_preproc"
46478 fi
46479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46481
46482 fi
46483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46484   cat >>confdefs.h <<_ACEOF
46485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46486 _ACEOF
46487
46488 fi
46489
46490 done
46491
46492
46493   if test "${glibcxx_cv_WRITEV+set}" = set; then
46494   echo $ECHO_N "(cached) $ECHO_C" >&6
46495 else
46496
46497     if test x$gcc_no_link = xyes; then
46498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46500    { (exit 1); exit 1; }; }
46501 fi
46502 cat >conftest.$ac_ext <<_ACEOF
46503 #line $LINENO "configure"
46504 /* confdefs.h.  */
46505 _ACEOF
46506 cat confdefs.h >>conftest.$ac_ext
46507 cat >>conftest.$ac_ext <<_ACEOF
46508 /* end confdefs.h.  */
46509 #include <sys/uio.h>
46510 int
46511 main ()
46512 {
46513 struct iovec iov[2];
46514        writev(0, iov, 0);
46515   ;
46516   return 0;
46517 }
46518 _ACEOF
46519 rm -f conftest.$ac_objext conftest$ac_exeext
46520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46521   (eval $ac_link) 2>&5
46522   ac_status=$?
46523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46524   (exit $ac_status); } &&
46525          { ac_try='test -s conftest$ac_exeext'
46526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46527   (eval $ac_try) 2>&5
46528   ac_status=$?
46529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46530   (exit $ac_status); }; }; then
46531   glibcxx_cv_WRITEV=yes
46532 else
46533   echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46535
46536 glibcxx_cv_WRITEV=no
46537 fi
46538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46539
46540 fi
46541
46542   if test $glibcxx_cv_WRITEV = yes; then
46543     cat >>confdefs.h <<\_ACEOF
46544 #define HAVE_WRITEV 1
46545 _ACEOF
46546
46547   fi
46548
46549
46550     cat >>confdefs.h <<\_ACEOF
46551 #define HAVE_LC_MESSAGES 1
46552 _ACEOF
46553
46554
46555     cat >conftest.$ac_ext <<_ACEOF
46556 #line $LINENO "configure"
46557 /* confdefs.h.  */
46558 _ACEOF
46559 cat confdefs.h >>conftest.$ac_ext
46560 cat >>conftest.$ac_ext <<_ACEOF
46561 /* end confdefs.h.  */
46562 #include <setjmp.h>
46563 int
46564 main ()
46565 {
46566 sigjmp_buf env;
46567        while (! sigsetjmp (env, 1))
46568          siglongjmp (env, 1);
46569
46570   ;
46571   return 0;
46572 }
46573 _ACEOF
46574 rm -f conftest.$ac_objext
46575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46576   (eval $ac_compile) 2>&5
46577   ac_status=$?
46578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579   (exit $ac_status); } &&
46580          { ac_try='test -s conftest.$ac_objext'
46581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46582   (eval $ac_try) 2>&5
46583   ac_status=$?
46584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585   (exit $ac_status); }; }; then
46586
46587 cat >>confdefs.h <<\_ACEOF
46588 #define HAVE_SIGSETJMP 1
46589 _ACEOF
46590
46591 else
46592   echo "$as_me: failed program was:" >&5
46593 sed 's/^/| /' conftest.$ac_ext >&5
46594
46595 fi
46596 rm -f conftest.$ac_objext conftest.$ac_ext
46597
46598     cat >>confdefs.h <<\_ACEOF
46599 #define HAVE_MMAP 1
46600 _ACEOF
46601
46602     ;;
46603
46604   *djgpp)
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625 for ac_header in float.h ieeefp.h inttypes.h locale.h \
46626       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
46627       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
46628       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
46629 do
46630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46632   echo "$as_me:$LINENO: checking for $ac_header" >&5
46633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46635   echo $ECHO_N "(cached) $ECHO_C" >&6
46636 fi
46637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46639 else
46640   # Is the header compilable?
46641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46643 cat >conftest.$ac_ext <<_ACEOF
46644 #line $LINENO "configure"
46645 /* confdefs.h.  */
46646 _ACEOF
46647 cat confdefs.h >>conftest.$ac_ext
46648 cat >>conftest.$ac_ext <<_ACEOF
46649 /* end confdefs.h.  */
46650 $ac_includes_default
46651 #include <$ac_header>
46652 _ACEOF
46653 rm -f conftest.$ac_objext
46654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46655   (eval $ac_compile) 2>&5
46656   ac_status=$?
46657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46658   (exit $ac_status); } &&
46659          { ac_try='test -s conftest.$ac_objext'
46660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46661   (eval $ac_try) 2>&5
46662   ac_status=$?
46663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664   (exit $ac_status); }; }; then
46665   ac_header_compiler=yes
46666 else
46667   echo "$as_me: failed program was:" >&5
46668 sed 's/^/| /' conftest.$ac_ext >&5
46669
46670 ac_header_compiler=no
46671 fi
46672 rm -f conftest.$ac_objext conftest.$ac_ext
46673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46674 echo "${ECHO_T}$ac_header_compiler" >&6
46675
46676 # Is the header present?
46677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46679 cat >conftest.$ac_ext <<_ACEOF
46680 #line $LINENO "configure"
46681 /* confdefs.h.  */
46682 _ACEOF
46683 cat confdefs.h >>conftest.$ac_ext
46684 cat >>conftest.$ac_ext <<_ACEOF
46685 /* end confdefs.h.  */
46686 #include <$ac_header>
46687 _ACEOF
46688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46689   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46690   ac_status=$?
46691   grep -v '^ *+' conftest.er1 >conftest.err
46692   rm -f conftest.er1
46693   cat conftest.err >&5
46694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695   (exit $ac_status); } >/dev/null; then
46696   if test -s conftest.err; then
46697     ac_cpp_err=$ac_c_preproc_warn_flag
46698   else
46699     ac_cpp_err=
46700   fi
46701 else
46702   ac_cpp_err=yes
46703 fi
46704 if test -z "$ac_cpp_err"; then
46705   ac_header_preproc=yes
46706 else
46707   echo "$as_me: failed program was:" >&5
46708 sed 's/^/| /' conftest.$ac_ext >&5
46709
46710   ac_header_preproc=no
46711 fi
46712 rm -f conftest.err conftest.$ac_ext
46713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46714 echo "${ECHO_T}$ac_header_preproc" >&6
46715
46716 # So?  What about this header?
46717 case $ac_header_compiler:$ac_header_preproc in
46718   yes:no )
46719     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46721     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46723     (
46724       cat <<\_ASBOX
46725 ## ------------------------------------ ##
46726 ## Report this to bug-autoconf@gnu.org. ##
46727 ## ------------------------------------ ##
46728 _ASBOX
46729     ) |
46730       sed "s/^/$as_me: WARNING:     /" >&2
46731     ;;
46732   no:yes )
46733     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46735     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46737     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46739     (
46740       cat <<\_ASBOX
46741 ## ------------------------------------ ##
46742 ## Report this to bug-autoconf@gnu.org. ##
46743 ## ------------------------------------ ##
46744 _ASBOX
46745     ) |
46746       sed "s/^/$as_me: WARNING:     /" >&2
46747     ;;
46748 esac
46749 echo "$as_me:$LINENO: checking for $ac_header" >&5
46750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46752   echo $ECHO_N "(cached) $ECHO_C" >&6
46753 else
46754   eval "$as_ac_Header=$ac_header_preproc"
46755 fi
46756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46758
46759 fi
46760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46761   cat >>confdefs.h <<_ACEOF
46762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46763 _ACEOF
46764
46765 fi
46766
46767 done
46768
46769
46770   # All these tests are for C++; save the language and the compiler flags.
46771   # The CXXFLAGS thing is suspicious, but based on similar bits previously
46772   # found in GLIBCXX_CONFIGURE.
46773
46774
46775   ac_ext=cc
46776 ac_cpp='$CXXCPP $CPPFLAGS'
46777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46780
46781   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46782   ac_save_CXXFLAGS="$CXXFLAGS"
46783
46784   # Check for maintainer-mode bits.
46785   if test x"$USE_MAINTAINER_MODE" = xno; then
46786     WERROR=''
46787   else
46788     WERROR='-Werror'
46789   fi
46790
46791   # Check for -ffunction-sections -fdata-sections
46792   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46793 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
46794   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
46795   cat >conftest.$ac_ext <<_ACEOF
46796 #line $LINENO "configure"
46797 /* confdefs.h.  */
46798 _ACEOF
46799 cat confdefs.h >>conftest.$ac_ext
46800 cat >>conftest.$ac_ext <<_ACEOF
46801 /* end confdefs.h.  */
46802
46803 int
46804 main ()
46805 {
46806 int foo;
46807   ;
46808   return 0;
46809 }
46810 _ACEOF
46811 rm -f conftest.$ac_objext
46812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46813   (eval $ac_compile) 2>&5
46814   ac_status=$?
46815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816   (exit $ac_status); } &&
46817          { ac_try='test -s conftest.$ac_objext'
46818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46819   (eval $ac_try) 2>&5
46820   ac_status=$?
46821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46822   (exit $ac_status); }; }; then
46823   ac_fdsections=yes
46824 else
46825   echo "$as_me: failed program was:" >&5
46826 sed 's/^/| /' conftest.$ac_ext >&5
46827
46828 ac_fdsections=no
46829 fi
46830 rm -f conftest.$ac_objext conftest.$ac_ext
46831   if test "$ac_test_CXXFLAGS" = set; then
46832     CXXFLAGS="$ac_save_CXXFLAGS"
46833   else
46834     # this is the suspicious part
46835     CXXFLAGS=''
46836   fi
46837   if test x"$ac_fdsections" = x"yes"; then
46838     SECTION_FLAGS='-ffunction-sections -fdata-sections'
46839   fi
46840   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
46841 echo "${ECHO_T}$ac_fdsections" >&6
46842
46843   ac_ext=c
46844 ac_cpp='$CPP $CPPFLAGS'
46845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46848
46849
46850
46851
46852
46853   # If we're not using GNU ld, then there's no point in even trying these
46854   # tests.  Check for that first.  We should have already tested for gld
46855   # by now (in libtool), but require it now just to be safe...
46856   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46857   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46858
46859
46860
46861   # The name set by libtool depends on the version of libtool.  Shame on us
46862   # for depending on an impl detail, but c'est la vie.  Older versions used
46863   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46864   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46865   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
46866   # set (hence we're using an older libtool), then set it.
46867   if test x${with_gnu_ld+set} != xset; then
46868     if test x${ac_cv_prog_gnu_ld+set} != xset; then
46869       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
46870       with_gnu_ld=no
46871     else
46872       with_gnu_ld=$ac_cv_prog_gnu_ld
46873     fi
46874   fi
46875
46876   # Start by getting the version number.  I think the libtool test already
46877   # does some of this, but throws away the result.
46878
46879   ldver=`$LD --version 2>/dev/null | head -1 | \
46880          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
46881
46882   glibcxx_gnu_ld_version=`echo $ldver | \
46883          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46884
46885   # Set --gc-sections.
46886   if test "$with_gnu_ld" = "notbroken"; then
46887     # GNU ld it is!  Joy and bunny rabbits!
46888
46889     # All these tests are for C++; save the language and the compiler flags.
46890     # Need to do this so that g++ won't try to link in libstdc++
46891     ac_test_CFLAGS="${CFLAGS+set}"
46892     ac_save_CFLAGS="$CFLAGS"
46893     CFLAGS='-x c++  -Wl,--gc-sections'
46894
46895     # Check for -Wl,--gc-sections
46896     # XXX This test is broken at the moment, as symbols required for linking
46897     # are now in libsupc++ (not built yet).  In addition, this test has
46898     # cored on solaris in the past.  In addition, --gc-sections doesn't
46899     # really work at the moment (keeps on discarding used sections, first
46900     # .eh_frame and now some of the glibc sections for iconv).
46901     # Bzzzzt.  Thanks for playing, maybe next time.
46902     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
46903 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
46904     if test "$cross_compiling" = yes; then
46905   ac_sectionLDflags=yes
46906 else
46907   cat >conftest.$ac_ext <<_ACEOF
46908 #line $LINENO "configure"
46909 /* confdefs.h.  */
46910 _ACEOF
46911 cat confdefs.h >>conftest.$ac_ext
46912 cat >>conftest.$ac_ext <<_ACEOF
46913 /* end confdefs.h.  */
46914
46915      int main(void)
46916      {
46917        try { throw 1; }
46918        catch (...) { };
46919        return 0;
46920      }
46921
46922 _ACEOF
46923 rm -f conftest$ac_exeext
46924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46925   (eval $ac_link) 2>&5
46926   ac_status=$?
46927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46930   (eval $ac_try) 2>&5
46931   ac_status=$?
46932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933   (exit $ac_status); }; }; then
46934   ac_sectionLDflags=yes
46935 else
46936   echo "$as_me: program exited with status $ac_status" >&5
46937 echo "$as_me: failed program was:" >&5
46938 sed 's/^/| /' conftest.$ac_ext >&5
46939
46940 ( exit $ac_status )
46941 ac_sectionLDflags=no
46942 fi
46943 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46944 fi
46945     if test "$ac_test_CFLAGS" = set; then
46946       CFLAGS="$ac_save_CFLAGS"
46947     else
46948       # this is the suspicious part
46949       CFLAGS=''
46950     fi
46951     if test "$ac_sectionLDflags" = "yes"; then
46952       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46953     fi
46954     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
46955 echo "${ECHO_T}$ac_sectionLDflags" >&6
46956   fi
46957
46958   # Set linker optimization flags.
46959   if test x"$with_gnu_ld" = x"yes"; then
46960     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46961   fi
46962
46963
46964
46965
46966
46967   ac_test_CXXFLAGS="${CXXFLAGS+set}"
46968   ac_save_CXXFLAGS="$CXXFLAGS"
46969   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46970
46971     echo "$as_me:$LINENO: checking for sin in -lm" >&5
46972 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
46973 if test "${ac_cv_lib_m_sin+set}" = set; then
46974   echo $ECHO_N "(cached) $ECHO_C" >&6
46975 else
46976   ac_check_lib_save_LIBS=$LIBS
46977 LIBS="-lm  $LIBS"
46978 if test x$gcc_no_link = xyes; then
46979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46981    { (exit 1); exit 1; }; }
46982 fi
46983 cat >conftest.$ac_ext <<_ACEOF
46984 #line $LINENO "configure"
46985 /* confdefs.h.  */
46986 _ACEOF
46987 cat confdefs.h >>conftest.$ac_ext
46988 cat >>conftest.$ac_ext <<_ACEOF
46989 /* end confdefs.h.  */
46990
46991 /* Override any gcc2 internal prototype to avoid an error.  */
46992 #ifdef __cplusplus
46993 extern "C"
46994 #endif
46995 /* We use char because int might match the return type of a gcc2
46996    builtin and then its argument prototype would still apply.  */
46997 char sin ();
46998 int
46999 main ()
47000 {
47001 sin ();
47002   ;
47003   return 0;
47004 }
47005 _ACEOF
47006 rm -f conftest.$ac_objext conftest$ac_exeext
47007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47008   (eval $ac_link) 2>&5
47009   ac_status=$?
47010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011   (exit $ac_status); } &&
47012          { ac_try='test -s conftest$ac_exeext'
47013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47014   (eval $ac_try) 2>&5
47015   ac_status=$?
47016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47017   (exit $ac_status); }; }; then
47018   ac_cv_lib_m_sin=yes
47019 else
47020   echo "$as_me: failed program was:" >&5
47021 sed 's/^/| /' conftest.$ac_ext >&5
47022
47023 ac_cv_lib_m_sin=no
47024 fi
47025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47026 LIBS=$ac_check_lib_save_LIBS
47027 fi
47028 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
47029 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
47030 if test $ac_cv_lib_m_sin = yes; then
47031   libm="-lm"
47032 fi
47033
47034   ac_save_LIBS="$LIBS"
47035   LIBS="$LIBS $libm"
47036
47037
47038
47039   echo "$as_me:$LINENO: checking for isinf declaration" >&5
47040 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
47041   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47042     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
47043   echo $ECHO_N "(cached) $ECHO_C" >&6
47044 else
47045
47046
47047
47048       ac_ext=cc
47049 ac_cpp='$CXXCPP $CPPFLAGS'
47050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47053
47054       cat >conftest.$ac_ext <<_ACEOF
47055 #line $LINENO "configure"
47056 /* confdefs.h.  */
47057 _ACEOF
47058 cat confdefs.h >>conftest.$ac_ext
47059 cat >>conftest.$ac_ext <<_ACEOF
47060 /* end confdefs.h.  */
47061 #include <math.h>
47062                       #ifdef HAVE_IEEEFP_H
47063                       #include <ieeefp.h>
47064                       #endif
47065
47066 int
47067 main ()
47068 {
47069  isinf(0);
47070   ;
47071   return 0;
47072 }
47073 _ACEOF
47074 rm -f conftest.$ac_objext
47075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47076   (eval $ac_compile) 2>&5
47077   ac_status=$?
47078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079   (exit $ac_status); } &&
47080          { ac_try='test -s conftest.$ac_objext'
47081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082   (eval $ac_try) 2>&5
47083   ac_status=$?
47084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085   (exit $ac_status); }; }; then
47086   glibcxx_cv_func_isinf_use=yes
47087 else
47088   echo "$as_me: failed program was:" >&5
47089 sed 's/^/| /' conftest.$ac_ext >&5
47090
47091 glibcxx_cv_func_isinf_use=no
47092 fi
47093 rm -f conftest.$ac_objext conftest.$ac_ext
47094       ac_ext=c
47095 ac_cpp='$CPP $CPPFLAGS'
47096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47099
47100
47101 fi
47102
47103   fi
47104   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
47105 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
47106
47107   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47108
47109 for ac_func in isinf
47110 do
47111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47112 echo "$as_me:$LINENO: checking for $ac_func" >&5
47113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47114 if eval "test \"\${$as_ac_var+set}\" = set"; then
47115   echo $ECHO_N "(cached) $ECHO_C" >&6
47116 else
47117   if test x$gcc_no_link = xyes; then
47118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47120    { (exit 1); exit 1; }; }
47121 fi
47122 cat >conftest.$ac_ext <<_ACEOF
47123 #line $LINENO "configure"
47124 /* confdefs.h.  */
47125 _ACEOF
47126 cat confdefs.h >>conftest.$ac_ext
47127 cat >>conftest.$ac_ext <<_ACEOF
47128 /* end confdefs.h.  */
47129 /* System header to define __stub macros and hopefully few prototypes,
47130     which can conflict with char $ac_func (); below.
47131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47132     <limits.h> exists even on freestanding compilers.  */
47133 #ifdef __STDC__
47134 # include <limits.h>
47135 #else
47136 # include <assert.h>
47137 #endif
47138 /* Override any gcc2 internal prototype to avoid an error.  */
47139 #ifdef __cplusplus
47140 extern "C"
47141 {
47142 #endif
47143 /* We use char because int might match the return type of a gcc2
47144    builtin and then its argument prototype would still apply.  */
47145 char $ac_func ();
47146 /* The GNU C library defines this for functions which it implements
47147     to always fail with ENOSYS.  Some functions are actually named
47148     something starting with __ and the normal name is an alias.  */
47149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47150 choke me
47151 #else
47152 char (*f) () = $ac_func;
47153 #endif
47154 #ifdef __cplusplus
47155 }
47156 #endif
47157
47158 int
47159 main ()
47160 {
47161 return f != $ac_func;
47162   ;
47163   return 0;
47164 }
47165 _ACEOF
47166 rm -f conftest.$ac_objext conftest$ac_exeext
47167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47168   (eval $ac_link) 2>&5
47169   ac_status=$?
47170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47171   (exit $ac_status); } &&
47172          { ac_try='test -s conftest$ac_exeext'
47173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47174   (eval $ac_try) 2>&5
47175   ac_status=$?
47176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47177   (exit $ac_status); }; }; then
47178   eval "$as_ac_var=yes"
47179 else
47180   echo "$as_me: failed program was:" >&5
47181 sed 's/^/| /' conftest.$ac_ext >&5
47182
47183 eval "$as_ac_var=no"
47184 fi
47185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47186 fi
47187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47189 if test `eval echo '${'$as_ac_var'}'` = yes; then
47190   cat >>confdefs.h <<_ACEOF
47191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47192 _ACEOF
47193
47194 fi
47195 done
47196
47197   else
47198
47199   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
47200 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
47201   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47202     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
47203   echo $ECHO_N "(cached) $ECHO_C" >&6
47204 else
47205
47206
47207
47208       ac_ext=cc
47209 ac_cpp='$CXXCPP $CPPFLAGS'
47210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47213
47214       cat >conftest.$ac_ext <<_ACEOF
47215 #line $LINENO "configure"
47216 /* confdefs.h.  */
47217 _ACEOF
47218 cat confdefs.h >>conftest.$ac_ext
47219 cat >>conftest.$ac_ext <<_ACEOF
47220 /* end confdefs.h.  */
47221 #include <math.h>
47222                       #ifdef HAVE_IEEEFP_H
47223                       #include <ieeefp.h>
47224                       #endif
47225
47226 int
47227 main ()
47228 {
47229  _isinf(0);
47230   ;
47231   return 0;
47232 }
47233 _ACEOF
47234 rm -f conftest.$ac_objext
47235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47236   (eval $ac_compile) 2>&5
47237   ac_status=$?
47238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47239   (exit $ac_status); } &&
47240          { ac_try='test -s conftest.$ac_objext'
47241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47242   (eval $ac_try) 2>&5
47243   ac_status=$?
47244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245   (exit $ac_status); }; }; then
47246   glibcxx_cv_func__isinf_use=yes
47247 else
47248   echo "$as_me: failed program was:" >&5
47249 sed 's/^/| /' conftest.$ac_ext >&5
47250
47251 glibcxx_cv_func__isinf_use=no
47252 fi
47253 rm -f conftest.$ac_objext conftest.$ac_ext
47254       ac_ext=c
47255 ac_cpp='$CPP $CPPFLAGS'
47256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47259
47260
47261 fi
47262
47263   fi
47264   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
47265 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
47266
47267     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47268
47269 for ac_func in _isinf
47270 do
47271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47272 echo "$as_me:$LINENO: checking for $ac_func" >&5
47273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47274 if eval "test \"\${$as_ac_var+set}\" = set"; then
47275   echo $ECHO_N "(cached) $ECHO_C" >&6
47276 else
47277   if test x$gcc_no_link = xyes; then
47278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47280    { (exit 1); exit 1; }; }
47281 fi
47282 cat >conftest.$ac_ext <<_ACEOF
47283 #line $LINENO "configure"
47284 /* confdefs.h.  */
47285 _ACEOF
47286 cat confdefs.h >>conftest.$ac_ext
47287 cat >>conftest.$ac_ext <<_ACEOF
47288 /* end confdefs.h.  */
47289 /* System header to define __stub macros and hopefully few prototypes,
47290     which can conflict with char $ac_func (); below.
47291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47292     <limits.h> exists even on freestanding compilers.  */
47293 #ifdef __STDC__
47294 # include <limits.h>
47295 #else
47296 # include <assert.h>
47297 #endif
47298 /* Override any gcc2 internal prototype to avoid an error.  */
47299 #ifdef __cplusplus
47300 extern "C"
47301 {
47302 #endif
47303 /* We use char because int might match the return type of a gcc2
47304    builtin and then its argument prototype would still apply.  */
47305 char $ac_func ();
47306 /* The GNU C library defines this for functions which it implements
47307     to always fail with ENOSYS.  Some functions are actually named
47308     something starting with __ and the normal name is an alias.  */
47309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47310 choke me
47311 #else
47312 char (*f) () = $ac_func;
47313 #endif
47314 #ifdef __cplusplus
47315 }
47316 #endif
47317
47318 int
47319 main ()
47320 {
47321 return f != $ac_func;
47322   ;
47323   return 0;
47324 }
47325 _ACEOF
47326 rm -f conftest.$ac_objext conftest$ac_exeext
47327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47328   (eval $ac_link) 2>&5
47329   ac_status=$?
47330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47331   (exit $ac_status); } &&
47332          { ac_try='test -s conftest$ac_exeext'
47333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47334   (eval $ac_try) 2>&5
47335   ac_status=$?
47336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337   (exit $ac_status); }; }; then
47338   eval "$as_ac_var=yes"
47339 else
47340   echo "$as_me: failed program was:" >&5
47341 sed 's/^/| /' conftest.$ac_ext >&5
47342
47343 eval "$as_ac_var=no"
47344 fi
47345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47346 fi
47347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47349 if test `eval echo '${'$as_ac_var'}'` = yes; then
47350   cat >>confdefs.h <<_ACEOF
47351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47352 _ACEOF
47353
47354 fi
47355 done
47356
47357     fi
47358   fi
47359
47360
47361
47362   echo "$as_me:$LINENO: checking for isnan declaration" >&5
47363 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
47364   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47365     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
47366   echo $ECHO_N "(cached) $ECHO_C" >&6
47367 else
47368
47369
47370
47371       ac_ext=cc
47372 ac_cpp='$CXXCPP $CPPFLAGS'
47373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47376
47377       cat >conftest.$ac_ext <<_ACEOF
47378 #line $LINENO "configure"
47379 /* confdefs.h.  */
47380 _ACEOF
47381 cat confdefs.h >>conftest.$ac_ext
47382 cat >>conftest.$ac_ext <<_ACEOF
47383 /* end confdefs.h.  */
47384 #include <math.h>
47385                       #ifdef HAVE_IEEEFP_H
47386                       #include <ieeefp.h>
47387                       #endif
47388
47389 int
47390 main ()
47391 {
47392  isnan(0);
47393   ;
47394   return 0;
47395 }
47396 _ACEOF
47397 rm -f conftest.$ac_objext
47398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47399   (eval $ac_compile) 2>&5
47400   ac_status=$?
47401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47402   (exit $ac_status); } &&
47403          { ac_try='test -s conftest.$ac_objext'
47404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47405   (eval $ac_try) 2>&5
47406   ac_status=$?
47407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47408   (exit $ac_status); }; }; then
47409   glibcxx_cv_func_isnan_use=yes
47410 else
47411   echo "$as_me: failed program was:" >&5
47412 sed 's/^/| /' conftest.$ac_ext >&5
47413
47414 glibcxx_cv_func_isnan_use=no
47415 fi
47416 rm -f conftest.$ac_objext conftest.$ac_ext
47417       ac_ext=c
47418 ac_cpp='$CPP $CPPFLAGS'
47419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47422
47423
47424 fi
47425
47426   fi
47427   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
47428 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
47429
47430   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47431
47432 for ac_func in isnan
47433 do
47434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47435 echo "$as_me:$LINENO: checking for $ac_func" >&5
47436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47437 if eval "test \"\${$as_ac_var+set}\" = set"; then
47438   echo $ECHO_N "(cached) $ECHO_C" >&6
47439 else
47440   if test x$gcc_no_link = xyes; then
47441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47443    { (exit 1); exit 1; }; }
47444 fi
47445 cat >conftest.$ac_ext <<_ACEOF
47446 #line $LINENO "configure"
47447 /* confdefs.h.  */
47448 _ACEOF
47449 cat confdefs.h >>conftest.$ac_ext
47450 cat >>conftest.$ac_ext <<_ACEOF
47451 /* end confdefs.h.  */
47452 /* System header to define __stub macros and hopefully few prototypes,
47453     which can conflict with char $ac_func (); below.
47454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47455     <limits.h> exists even on freestanding compilers.  */
47456 #ifdef __STDC__
47457 # include <limits.h>
47458 #else
47459 # include <assert.h>
47460 #endif
47461 /* Override any gcc2 internal prototype to avoid an error.  */
47462 #ifdef __cplusplus
47463 extern "C"
47464 {
47465 #endif
47466 /* We use char because int might match the return type of a gcc2
47467    builtin and then its argument prototype would still apply.  */
47468 char $ac_func ();
47469 /* The GNU C library defines this for functions which it implements
47470     to always fail with ENOSYS.  Some functions are actually named
47471     something starting with __ and the normal name is an alias.  */
47472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47473 choke me
47474 #else
47475 char (*f) () = $ac_func;
47476 #endif
47477 #ifdef __cplusplus
47478 }
47479 #endif
47480
47481 int
47482 main ()
47483 {
47484 return f != $ac_func;
47485   ;
47486   return 0;
47487 }
47488 _ACEOF
47489 rm -f conftest.$ac_objext conftest$ac_exeext
47490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47491   (eval $ac_link) 2>&5
47492   ac_status=$?
47493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494   (exit $ac_status); } &&
47495          { ac_try='test -s conftest$ac_exeext'
47496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47497   (eval $ac_try) 2>&5
47498   ac_status=$?
47499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500   (exit $ac_status); }; }; then
47501   eval "$as_ac_var=yes"
47502 else
47503   echo "$as_me: failed program was:" >&5
47504 sed 's/^/| /' conftest.$ac_ext >&5
47505
47506 eval "$as_ac_var=no"
47507 fi
47508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47509 fi
47510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47512 if test `eval echo '${'$as_ac_var'}'` = yes; then
47513   cat >>confdefs.h <<_ACEOF
47514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47515 _ACEOF
47516
47517 fi
47518 done
47519
47520   else
47521
47522   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
47523 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
47524   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47525     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
47526   echo $ECHO_N "(cached) $ECHO_C" >&6
47527 else
47528
47529
47530
47531       ac_ext=cc
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47536
47537       cat >conftest.$ac_ext <<_ACEOF
47538 #line $LINENO "configure"
47539 /* confdefs.h.  */
47540 _ACEOF
47541 cat confdefs.h >>conftest.$ac_ext
47542 cat >>conftest.$ac_ext <<_ACEOF
47543 /* end confdefs.h.  */
47544 #include <math.h>
47545                       #ifdef HAVE_IEEEFP_H
47546                       #include <ieeefp.h>
47547                       #endif
47548
47549 int
47550 main ()
47551 {
47552  _isnan(0);
47553   ;
47554   return 0;
47555 }
47556 _ACEOF
47557 rm -f conftest.$ac_objext
47558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47559   (eval $ac_compile) 2>&5
47560   ac_status=$?
47561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562   (exit $ac_status); } &&
47563          { ac_try='test -s conftest.$ac_objext'
47564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47565   (eval $ac_try) 2>&5
47566   ac_status=$?
47567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568   (exit $ac_status); }; }; then
47569   glibcxx_cv_func__isnan_use=yes
47570 else
47571   echo "$as_me: failed program was:" >&5
47572 sed 's/^/| /' conftest.$ac_ext >&5
47573
47574 glibcxx_cv_func__isnan_use=no
47575 fi
47576 rm -f conftest.$ac_objext conftest.$ac_ext
47577       ac_ext=c
47578 ac_cpp='$CPP $CPPFLAGS'
47579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47582
47583
47584 fi
47585
47586   fi
47587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
47588 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
47589
47590     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47591
47592 for ac_func in _isnan
47593 do
47594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47595 echo "$as_me:$LINENO: checking for $ac_func" >&5
47596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47597 if eval "test \"\${$as_ac_var+set}\" = set"; then
47598   echo $ECHO_N "(cached) $ECHO_C" >&6
47599 else
47600   if test x$gcc_no_link = xyes; then
47601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47603    { (exit 1); exit 1; }; }
47604 fi
47605 cat >conftest.$ac_ext <<_ACEOF
47606 #line $LINENO "configure"
47607 /* confdefs.h.  */
47608 _ACEOF
47609 cat confdefs.h >>conftest.$ac_ext
47610 cat >>conftest.$ac_ext <<_ACEOF
47611 /* end confdefs.h.  */
47612 /* System header to define __stub macros and hopefully few prototypes,
47613     which can conflict with char $ac_func (); below.
47614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47615     <limits.h> exists even on freestanding compilers.  */
47616 #ifdef __STDC__
47617 # include <limits.h>
47618 #else
47619 # include <assert.h>
47620 #endif
47621 /* Override any gcc2 internal prototype to avoid an error.  */
47622 #ifdef __cplusplus
47623 extern "C"
47624 {
47625 #endif
47626 /* We use char because int might match the return type of a gcc2
47627    builtin and then its argument prototype would still apply.  */
47628 char $ac_func ();
47629 /* The GNU C library defines this for functions which it implements
47630     to always fail with ENOSYS.  Some functions are actually named
47631     something starting with __ and the normal name is an alias.  */
47632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47633 choke me
47634 #else
47635 char (*f) () = $ac_func;
47636 #endif
47637 #ifdef __cplusplus
47638 }
47639 #endif
47640
47641 int
47642 main ()
47643 {
47644 return f != $ac_func;
47645   ;
47646   return 0;
47647 }
47648 _ACEOF
47649 rm -f conftest.$ac_objext conftest$ac_exeext
47650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47651   (eval $ac_link) 2>&5
47652   ac_status=$?
47653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47654   (exit $ac_status); } &&
47655          { ac_try='test -s conftest$ac_exeext'
47656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47657   (eval $ac_try) 2>&5
47658   ac_status=$?
47659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660   (exit $ac_status); }; }; then
47661   eval "$as_ac_var=yes"
47662 else
47663   echo "$as_me: failed program was:" >&5
47664 sed 's/^/| /' conftest.$ac_ext >&5
47665
47666 eval "$as_ac_var=no"
47667 fi
47668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47669 fi
47670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47672 if test `eval echo '${'$as_ac_var'}'` = yes; then
47673   cat >>confdefs.h <<_ACEOF
47674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47675 _ACEOF
47676
47677 fi
47678 done
47679
47680     fi
47681   fi
47682
47683
47684
47685   echo "$as_me:$LINENO: checking for finite declaration" >&5
47686 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
47687   if test x${glibcxx_cv_func_finite_use+set} != xset; then
47688     if test "${glibcxx_cv_func_finite_use+set}" = set; then
47689   echo $ECHO_N "(cached) $ECHO_C" >&6
47690 else
47691
47692
47693
47694       ac_ext=cc
47695 ac_cpp='$CXXCPP $CPPFLAGS'
47696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47699
47700       cat >conftest.$ac_ext <<_ACEOF
47701 #line $LINENO "configure"
47702 /* confdefs.h.  */
47703 _ACEOF
47704 cat confdefs.h >>conftest.$ac_ext
47705 cat >>conftest.$ac_ext <<_ACEOF
47706 /* end confdefs.h.  */
47707 #include <math.h>
47708                       #ifdef HAVE_IEEEFP_H
47709                       #include <ieeefp.h>
47710                       #endif
47711
47712 int
47713 main ()
47714 {
47715  finite(0);
47716   ;
47717   return 0;
47718 }
47719 _ACEOF
47720 rm -f conftest.$ac_objext
47721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47722   (eval $ac_compile) 2>&5
47723   ac_status=$?
47724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47725   (exit $ac_status); } &&
47726          { ac_try='test -s conftest.$ac_objext'
47727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47728   (eval $ac_try) 2>&5
47729   ac_status=$?
47730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47731   (exit $ac_status); }; }; then
47732   glibcxx_cv_func_finite_use=yes
47733 else
47734   echo "$as_me: failed program was:" >&5
47735 sed 's/^/| /' conftest.$ac_ext >&5
47736
47737 glibcxx_cv_func_finite_use=no
47738 fi
47739 rm -f conftest.$ac_objext conftest.$ac_ext
47740       ac_ext=c
47741 ac_cpp='$CPP $CPPFLAGS'
47742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47745
47746
47747 fi
47748
47749   fi
47750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
47751 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
47752
47753   if test x$glibcxx_cv_func_finite_use = x"yes"; then
47754
47755 for ac_func in finite
47756 do
47757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47758 echo "$as_me:$LINENO: checking for $ac_func" >&5
47759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47760 if eval "test \"\${$as_ac_var+set}\" = set"; then
47761   echo $ECHO_N "(cached) $ECHO_C" >&6
47762 else
47763   if test x$gcc_no_link = xyes; then
47764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47766    { (exit 1); exit 1; }; }
47767 fi
47768 cat >conftest.$ac_ext <<_ACEOF
47769 #line $LINENO "configure"
47770 /* confdefs.h.  */
47771 _ACEOF
47772 cat confdefs.h >>conftest.$ac_ext
47773 cat >>conftest.$ac_ext <<_ACEOF
47774 /* end confdefs.h.  */
47775 /* System header to define __stub macros and hopefully few prototypes,
47776     which can conflict with char $ac_func (); below.
47777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47778     <limits.h> exists even on freestanding compilers.  */
47779 #ifdef __STDC__
47780 # include <limits.h>
47781 #else
47782 # include <assert.h>
47783 #endif
47784 /* Override any gcc2 internal prototype to avoid an error.  */
47785 #ifdef __cplusplus
47786 extern "C"
47787 {
47788 #endif
47789 /* We use char because int might match the return type of a gcc2
47790    builtin and then its argument prototype would still apply.  */
47791 char $ac_func ();
47792 /* The GNU C library defines this for functions which it implements
47793     to always fail with ENOSYS.  Some functions are actually named
47794     something starting with __ and the normal name is an alias.  */
47795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47796 choke me
47797 #else
47798 char (*f) () = $ac_func;
47799 #endif
47800 #ifdef __cplusplus
47801 }
47802 #endif
47803
47804 int
47805 main ()
47806 {
47807 return f != $ac_func;
47808   ;
47809   return 0;
47810 }
47811 _ACEOF
47812 rm -f conftest.$ac_objext conftest$ac_exeext
47813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47814   (eval $ac_link) 2>&5
47815   ac_status=$?
47816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47817   (exit $ac_status); } &&
47818          { ac_try='test -s conftest$ac_exeext'
47819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47820   (eval $ac_try) 2>&5
47821   ac_status=$?
47822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823   (exit $ac_status); }; }; then
47824   eval "$as_ac_var=yes"
47825 else
47826   echo "$as_me: failed program was:" >&5
47827 sed 's/^/| /' conftest.$ac_ext >&5
47828
47829 eval "$as_ac_var=no"
47830 fi
47831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47832 fi
47833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47835 if test `eval echo '${'$as_ac_var'}'` = yes; then
47836   cat >>confdefs.h <<_ACEOF
47837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47838 _ACEOF
47839
47840 fi
47841 done
47842
47843   else
47844
47845   echo "$as_me:$LINENO: checking for _finite declaration" >&5
47846 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
47847   if test x${glibcxx_cv_func__finite_use+set} != xset; then
47848     if test "${glibcxx_cv_func__finite_use+set}" = set; then
47849   echo $ECHO_N "(cached) $ECHO_C" >&6
47850 else
47851
47852
47853
47854       ac_ext=cc
47855 ac_cpp='$CXXCPP $CPPFLAGS'
47856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47859
47860       cat >conftest.$ac_ext <<_ACEOF
47861 #line $LINENO "configure"
47862 /* confdefs.h.  */
47863 _ACEOF
47864 cat confdefs.h >>conftest.$ac_ext
47865 cat >>conftest.$ac_ext <<_ACEOF
47866 /* end confdefs.h.  */
47867 #include <math.h>
47868                       #ifdef HAVE_IEEEFP_H
47869                       #include <ieeefp.h>
47870                       #endif
47871
47872 int
47873 main ()
47874 {
47875  _finite(0);
47876   ;
47877   return 0;
47878 }
47879 _ACEOF
47880 rm -f conftest.$ac_objext
47881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47882   (eval $ac_compile) 2>&5
47883   ac_status=$?
47884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47885   (exit $ac_status); } &&
47886          { ac_try='test -s conftest.$ac_objext'
47887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47888   (eval $ac_try) 2>&5
47889   ac_status=$?
47890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47891   (exit $ac_status); }; }; then
47892   glibcxx_cv_func__finite_use=yes
47893 else
47894   echo "$as_me: failed program was:" >&5
47895 sed 's/^/| /' conftest.$ac_ext >&5
47896
47897 glibcxx_cv_func__finite_use=no
47898 fi
47899 rm -f conftest.$ac_objext conftest.$ac_ext
47900       ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47905
47906
47907 fi
47908
47909   fi
47910   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
47911 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
47912
47913     if test x$glibcxx_cv_func__finite_use = x"yes"; then
47914
47915 for ac_func in _finite
47916 do
47917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47918 echo "$as_me:$LINENO: checking for $ac_func" >&5
47919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47920 if eval "test \"\${$as_ac_var+set}\" = set"; then
47921   echo $ECHO_N "(cached) $ECHO_C" >&6
47922 else
47923   if test x$gcc_no_link = xyes; then
47924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47926    { (exit 1); exit 1; }; }
47927 fi
47928 cat >conftest.$ac_ext <<_ACEOF
47929 #line $LINENO "configure"
47930 /* confdefs.h.  */
47931 _ACEOF
47932 cat confdefs.h >>conftest.$ac_ext
47933 cat >>conftest.$ac_ext <<_ACEOF
47934 /* end confdefs.h.  */
47935 /* System header to define __stub macros and hopefully few prototypes,
47936     which can conflict with char $ac_func (); below.
47937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47938     <limits.h> exists even on freestanding compilers.  */
47939 #ifdef __STDC__
47940 # include <limits.h>
47941 #else
47942 # include <assert.h>
47943 #endif
47944 /* Override any gcc2 internal prototype to avoid an error.  */
47945 #ifdef __cplusplus
47946 extern "C"
47947 {
47948 #endif
47949 /* We use char because int might match the return type of a gcc2
47950    builtin and then its argument prototype would still apply.  */
47951 char $ac_func ();
47952 /* The GNU C library defines this for functions which it implements
47953     to always fail with ENOSYS.  Some functions are actually named
47954     something starting with __ and the normal name is an alias.  */
47955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47956 choke me
47957 #else
47958 char (*f) () = $ac_func;
47959 #endif
47960 #ifdef __cplusplus
47961 }
47962 #endif
47963
47964 int
47965 main ()
47966 {
47967 return f != $ac_func;
47968   ;
47969   return 0;
47970 }
47971 _ACEOF
47972 rm -f conftest.$ac_objext conftest$ac_exeext
47973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47974   (eval $ac_link) 2>&5
47975   ac_status=$?
47976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977   (exit $ac_status); } &&
47978          { ac_try='test -s conftest$ac_exeext'
47979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47980   (eval $ac_try) 2>&5
47981   ac_status=$?
47982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983   (exit $ac_status); }; }; then
47984   eval "$as_ac_var=yes"
47985 else
47986   echo "$as_me: failed program was:" >&5
47987 sed 's/^/| /' conftest.$ac_ext >&5
47988
47989 eval "$as_ac_var=no"
47990 fi
47991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47992 fi
47993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47995 if test `eval echo '${'$as_ac_var'}'` = yes; then
47996   cat >>confdefs.h <<_ACEOF
47997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47998 _ACEOF
47999
48000 fi
48001 done
48002
48003     fi
48004   fi
48005
48006
48007
48008   echo "$as_me:$LINENO: checking for copysign declaration" >&5
48009 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
48010   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
48011     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
48012   echo $ECHO_N "(cached) $ECHO_C" >&6
48013 else
48014
48015
48016
48017       ac_ext=cc
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48022
48023       cat >conftest.$ac_ext <<_ACEOF
48024 #line $LINENO "configure"
48025 /* confdefs.h.  */
48026 _ACEOF
48027 cat confdefs.h >>conftest.$ac_ext
48028 cat >>conftest.$ac_ext <<_ACEOF
48029 /* end confdefs.h.  */
48030 #include <math.h>
48031 int
48032 main ()
48033 {
48034  copysign(0, 0);
48035   ;
48036   return 0;
48037 }
48038 _ACEOF
48039 rm -f conftest.$ac_objext
48040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48041   (eval $ac_compile) 2>&5
48042   ac_status=$?
48043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044   (exit $ac_status); } &&
48045          { ac_try='test -s conftest.$ac_objext'
48046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48047   (eval $ac_try) 2>&5
48048   ac_status=$?
48049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48050   (exit $ac_status); }; }; then
48051   glibcxx_cv_func_copysign_use=yes
48052 else
48053   echo "$as_me: failed program was:" >&5
48054 sed 's/^/| /' conftest.$ac_ext >&5
48055
48056 glibcxx_cv_func_copysign_use=no
48057 fi
48058 rm -f conftest.$ac_objext conftest.$ac_ext
48059       ac_ext=c
48060 ac_cpp='$CPP $CPPFLAGS'
48061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48064
48065
48066 fi
48067
48068   fi
48069   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
48070 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
48071
48072   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
48073
48074 for ac_func in copysign
48075 do
48076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48077 echo "$as_me:$LINENO: checking for $ac_func" >&5
48078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48079 if eval "test \"\${$as_ac_var+set}\" = set"; then
48080   echo $ECHO_N "(cached) $ECHO_C" >&6
48081 else
48082   if test x$gcc_no_link = xyes; then
48083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48085    { (exit 1); exit 1; }; }
48086 fi
48087 cat >conftest.$ac_ext <<_ACEOF
48088 #line $LINENO "configure"
48089 /* confdefs.h.  */
48090 _ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h.  */
48094 /* System header to define __stub macros and hopefully few prototypes,
48095     which can conflict with char $ac_func (); below.
48096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48097     <limits.h> exists even on freestanding compilers.  */
48098 #ifdef __STDC__
48099 # include <limits.h>
48100 #else
48101 # include <assert.h>
48102 #endif
48103 /* Override any gcc2 internal prototype to avoid an error.  */
48104 #ifdef __cplusplus
48105 extern "C"
48106 {
48107 #endif
48108 /* We use char because int might match the return type of a gcc2
48109    builtin and then its argument prototype would still apply.  */
48110 char $ac_func ();
48111 /* The GNU C library defines this for functions which it implements
48112     to always fail with ENOSYS.  Some functions are actually named
48113     something starting with __ and the normal name is an alias.  */
48114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48115 choke me
48116 #else
48117 char (*f) () = $ac_func;
48118 #endif
48119 #ifdef __cplusplus
48120 }
48121 #endif
48122
48123 int
48124 main ()
48125 {
48126 return f != $ac_func;
48127   ;
48128   return 0;
48129 }
48130 _ACEOF
48131 rm -f conftest.$ac_objext conftest$ac_exeext
48132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48133   (eval $ac_link) 2>&5
48134   ac_status=$?
48135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48136   (exit $ac_status); } &&
48137          { ac_try='test -s conftest$ac_exeext'
48138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48139   (eval $ac_try) 2>&5
48140   ac_status=$?
48141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48142   (exit $ac_status); }; }; then
48143   eval "$as_ac_var=yes"
48144 else
48145   echo "$as_me: failed program was:" >&5
48146 sed 's/^/| /' conftest.$ac_ext >&5
48147
48148 eval "$as_ac_var=no"
48149 fi
48150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48151 fi
48152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48154 if test `eval echo '${'$as_ac_var'}'` = yes; then
48155   cat >>confdefs.h <<_ACEOF
48156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48157 _ACEOF
48158
48159 fi
48160 done
48161
48162   else
48163
48164   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
48165 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
48166   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
48167     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
48168   echo $ECHO_N "(cached) $ECHO_C" >&6
48169 else
48170
48171
48172
48173       ac_ext=cc
48174 ac_cpp='$CXXCPP $CPPFLAGS'
48175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48178
48179       cat >conftest.$ac_ext <<_ACEOF
48180 #line $LINENO "configure"
48181 /* confdefs.h.  */
48182 _ACEOF
48183 cat confdefs.h >>conftest.$ac_ext
48184 cat >>conftest.$ac_ext <<_ACEOF
48185 /* end confdefs.h.  */
48186 #include <math.h>
48187 int
48188 main ()
48189 {
48190  _copysign(0, 0);
48191   ;
48192   return 0;
48193 }
48194 _ACEOF
48195 rm -f conftest.$ac_objext
48196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48197   (eval $ac_compile) 2>&5
48198   ac_status=$?
48199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48200   (exit $ac_status); } &&
48201          { ac_try='test -s conftest.$ac_objext'
48202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48203   (eval $ac_try) 2>&5
48204   ac_status=$?
48205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48206   (exit $ac_status); }; }; then
48207   glibcxx_cv_func__copysign_use=yes
48208 else
48209   echo "$as_me: failed program was:" >&5
48210 sed 's/^/| /' conftest.$ac_ext >&5
48211
48212 glibcxx_cv_func__copysign_use=no
48213 fi
48214 rm -f conftest.$ac_objext conftest.$ac_ext
48215       ac_ext=c
48216 ac_cpp='$CPP $CPPFLAGS'
48217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48220
48221
48222 fi
48223
48224   fi
48225   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
48226 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
48227
48228     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
48229
48230 for ac_func in _copysign
48231 do
48232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48233 echo "$as_me:$LINENO: checking for $ac_func" >&5
48234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48235 if eval "test \"\${$as_ac_var+set}\" = set"; then
48236   echo $ECHO_N "(cached) $ECHO_C" >&6
48237 else
48238   if test x$gcc_no_link = xyes; then
48239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48241    { (exit 1); exit 1; }; }
48242 fi
48243 cat >conftest.$ac_ext <<_ACEOF
48244 #line $LINENO "configure"
48245 /* confdefs.h.  */
48246 _ACEOF
48247 cat confdefs.h >>conftest.$ac_ext
48248 cat >>conftest.$ac_ext <<_ACEOF
48249 /* end confdefs.h.  */
48250 /* System header to define __stub macros and hopefully few prototypes,
48251     which can conflict with char $ac_func (); below.
48252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48253     <limits.h> exists even on freestanding compilers.  */
48254 #ifdef __STDC__
48255 # include <limits.h>
48256 #else
48257 # include <assert.h>
48258 #endif
48259 /* Override any gcc2 internal prototype to avoid an error.  */
48260 #ifdef __cplusplus
48261 extern "C"
48262 {
48263 #endif
48264 /* We use char because int might match the return type of a gcc2
48265    builtin and then its argument prototype would still apply.  */
48266 char $ac_func ();
48267 /* The GNU C library defines this for functions which it implements
48268     to always fail with ENOSYS.  Some functions are actually named
48269     something starting with __ and the normal name is an alias.  */
48270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48271 choke me
48272 #else
48273 char (*f) () = $ac_func;
48274 #endif
48275 #ifdef __cplusplus
48276 }
48277 #endif
48278
48279 int
48280 main ()
48281 {
48282 return f != $ac_func;
48283   ;
48284   return 0;
48285 }
48286 _ACEOF
48287 rm -f conftest.$ac_objext conftest$ac_exeext
48288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48289   (eval $ac_link) 2>&5
48290   ac_status=$?
48291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48292   (exit $ac_status); } &&
48293          { ac_try='test -s conftest$ac_exeext'
48294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48295   (eval $ac_try) 2>&5
48296   ac_status=$?
48297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48298   (exit $ac_status); }; }; then
48299   eval "$as_ac_var=yes"
48300 else
48301   echo "$as_me: failed program was:" >&5
48302 sed 's/^/| /' conftest.$ac_ext >&5
48303
48304 eval "$as_ac_var=no"
48305 fi
48306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48307 fi
48308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48310 if test `eval echo '${'$as_ac_var'}'` = yes; then
48311   cat >>confdefs.h <<_ACEOF
48312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48313 _ACEOF
48314
48315 fi
48316 done
48317
48318     fi
48319   fi
48320
48321
48322
48323   echo "$as_me:$LINENO: checking for sincos declaration" >&5
48324 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
48325   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48326     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
48327   echo $ECHO_N "(cached) $ECHO_C" >&6
48328 else
48329
48330
48331
48332       ac_ext=cc
48333 ac_cpp='$CXXCPP $CPPFLAGS'
48334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48337
48338       cat >conftest.$ac_ext <<_ACEOF
48339 #line $LINENO "configure"
48340 /* confdefs.h.  */
48341 _ACEOF
48342 cat confdefs.h >>conftest.$ac_ext
48343 cat >>conftest.$ac_ext <<_ACEOF
48344 /* end confdefs.h.  */
48345 #include <math.h>
48346 int
48347 main ()
48348 {
48349  sincos(0, 0, 0);
48350   ;
48351   return 0;
48352 }
48353 _ACEOF
48354 rm -f conftest.$ac_objext
48355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48356   (eval $ac_compile) 2>&5
48357   ac_status=$?
48358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359   (exit $ac_status); } &&
48360          { ac_try='test -s conftest.$ac_objext'
48361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48362   (eval $ac_try) 2>&5
48363   ac_status=$?
48364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365   (exit $ac_status); }; }; then
48366   glibcxx_cv_func_sincos_use=yes
48367 else
48368   echo "$as_me: failed program was:" >&5
48369 sed 's/^/| /' conftest.$ac_ext >&5
48370
48371 glibcxx_cv_func_sincos_use=no
48372 fi
48373 rm -f conftest.$ac_objext conftest.$ac_ext
48374       ac_ext=c
48375 ac_cpp='$CPP $CPPFLAGS'
48376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48379
48380
48381 fi
48382
48383   fi
48384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
48385 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
48386
48387   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48388
48389 for ac_func in sincos
48390 do
48391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48392 echo "$as_me:$LINENO: checking for $ac_func" >&5
48393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48394 if eval "test \"\${$as_ac_var+set}\" = set"; then
48395   echo $ECHO_N "(cached) $ECHO_C" >&6
48396 else
48397   if test x$gcc_no_link = xyes; then
48398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48400    { (exit 1); exit 1; }; }
48401 fi
48402 cat >conftest.$ac_ext <<_ACEOF
48403 #line $LINENO "configure"
48404 /* confdefs.h.  */
48405 _ACEOF
48406 cat confdefs.h >>conftest.$ac_ext
48407 cat >>conftest.$ac_ext <<_ACEOF
48408 /* end confdefs.h.  */
48409 /* System header to define __stub macros and hopefully few prototypes,
48410     which can conflict with char $ac_func (); below.
48411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48412     <limits.h> exists even on freestanding compilers.  */
48413 #ifdef __STDC__
48414 # include <limits.h>
48415 #else
48416 # include <assert.h>
48417 #endif
48418 /* Override any gcc2 internal prototype to avoid an error.  */
48419 #ifdef __cplusplus
48420 extern "C"
48421 {
48422 #endif
48423 /* We use char because int might match the return type of a gcc2
48424    builtin and then its argument prototype would still apply.  */
48425 char $ac_func ();
48426 /* The GNU C library defines this for functions which it implements
48427     to always fail with ENOSYS.  Some functions are actually named
48428     something starting with __ and the normal name is an alias.  */
48429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48430 choke me
48431 #else
48432 char (*f) () = $ac_func;
48433 #endif
48434 #ifdef __cplusplus
48435 }
48436 #endif
48437
48438 int
48439 main ()
48440 {
48441 return f != $ac_func;
48442   ;
48443   return 0;
48444 }
48445 _ACEOF
48446 rm -f conftest.$ac_objext conftest$ac_exeext
48447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48448   (eval $ac_link) 2>&5
48449   ac_status=$?
48450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451   (exit $ac_status); } &&
48452          { ac_try='test -s conftest$ac_exeext'
48453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48454   (eval $ac_try) 2>&5
48455   ac_status=$?
48456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457   (exit $ac_status); }; }; then
48458   eval "$as_ac_var=yes"
48459 else
48460   echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48462
48463 eval "$as_ac_var=no"
48464 fi
48465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48466 fi
48467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48469 if test `eval echo '${'$as_ac_var'}'` = yes; then
48470   cat >>confdefs.h <<_ACEOF
48471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48472 _ACEOF
48473
48474 fi
48475 done
48476
48477   else
48478
48479   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
48480 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
48481   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48482     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
48483   echo $ECHO_N "(cached) $ECHO_C" >&6
48484 else
48485
48486
48487
48488       ac_ext=cc
48489 ac_cpp='$CXXCPP $CPPFLAGS'
48490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48493
48494       cat >conftest.$ac_ext <<_ACEOF
48495 #line $LINENO "configure"
48496 /* confdefs.h.  */
48497 _ACEOF
48498 cat confdefs.h >>conftest.$ac_ext
48499 cat >>conftest.$ac_ext <<_ACEOF
48500 /* end confdefs.h.  */
48501 #include <math.h>
48502 int
48503 main ()
48504 {
48505  _sincos(0, 0, 0);
48506   ;
48507   return 0;
48508 }
48509 _ACEOF
48510 rm -f conftest.$ac_objext
48511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48512   (eval $ac_compile) 2>&5
48513   ac_status=$?
48514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48515   (exit $ac_status); } &&
48516          { ac_try='test -s conftest.$ac_objext'
48517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48518   (eval $ac_try) 2>&5
48519   ac_status=$?
48520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48521   (exit $ac_status); }; }; then
48522   glibcxx_cv_func__sincos_use=yes
48523 else
48524   echo "$as_me: failed program was:" >&5
48525 sed 's/^/| /' conftest.$ac_ext >&5
48526
48527 glibcxx_cv_func__sincos_use=no
48528 fi
48529 rm -f conftest.$ac_objext conftest.$ac_ext
48530       ac_ext=c
48531 ac_cpp='$CPP $CPPFLAGS'
48532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535
48536
48537 fi
48538
48539   fi
48540   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
48541 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
48542
48543     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48544
48545 for ac_func in _sincos
48546 do
48547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48548 echo "$as_me:$LINENO: checking for $ac_func" >&5
48549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48550 if eval "test \"\${$as_ac_var+set}\" = set"; then
48551   echo $ECHO_N "(cached) $ECHO_C" >&6
48552 else
48553   if test x$gcc_no_link = xyes; then
48554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48556    { (exit 1); exit 1; }; }
48557 fi
48558 cat >conftest.$ac_ext <<_ACEOF
48559 #line $LINENO "configure"
48560 /* confdefs.h.  */
48561 _ACEOF
48562 cat confdefs.h >>conftest.$ac_ext
48563 cat >>conftest.$ac_ext <<_ACEOF
48564 /* end confdefs.h.  */
48565 /* System header to define __stub macros and hopefully few prototypes,
48566     which can conflict with char $ac_func (); below.
48567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48568     <limits.h> exists even on freestanding compilers.  */
48569 #ifdef __STDC__
48570 # include <limits.h>
48571 #else
48572 # include <assert.h>
48573 #endif
48574 /* Override any gcc2 internal prototype to avoid an error.  */
48575 #ifdef __cplusplus
48576 extern "C"
48577 {
48578 #endif
48579 /* We use char because int might match the return type of a gcc2
48580    builtin and then its argument prototype would still apply.  */
48581 char $ac_func ();
48582 /* The GNU C library defines this for functions which it implements
48583     to always fail with ENOSYS.  Some functions are actually named
48584     something starting with __ and the normal name is an alias.  */
48585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48586 choke me
48587 #else
48588 char (*f) () = $ac_func;
48589 #endif
48590 #ifdef __cplusplus
48591 }
48592 #endif
48593
48594 int
48595 main ()
48596 {
48597 return f != $ac_func;
48598   ;
48599   return 0;
48600 }
48601 _ACEOF
48602 rm -f conftest.$ac_objext conftest$ac_exeext
48603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48604   (eval $ac_link) 2>&5
48605   ac_status=$?
48606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607   (exit $ac_status); } &&
48608          { ac_try='test -s conftest$ac_exeext'
48609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48610   (eval $ac_try) 2>&5
48611   ac_status=$?
48612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48613   (exit $ac_status); }; }; then
48614   eval "$as_ac_var=yes"
48615 else
48616   echo "$as_me: failed program was:" >&5
48617 sed 's/^/| /' conftest.$ac_ext >&5
48618
48619 eval "$as_ac_var=no"
48620 fi
48621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48622 fi
48623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48625 if test `eval echo '${'$as_ac_var'}'` = yes; then
48626   cat >>confdefs.h <<_ACEOF
48627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48628 _ACEOF
48629
48630 fi
48631 done
48632
48633     fi
48634   fi
48635
48636
48637
48638   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
48639 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
48640   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48641     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
48642   echo $ECHO_N "(cached) $ECHO_C" >&6
48643 else
48644
48645
48646
48647       ac_ext=cc
48648 ac_cpp='$CXXCPP $CPPFLAGS'
48649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48652
48653       cat >conftest.$ac_ext <<_ACEOF
48654 #line $LINENO "configure"
48655 /* confdefs.h.  */
48656 _ACEOF
48657 cat confdefs.h >>conftest.$ac_ext
48658 cat >>conftest.$ac_ext <<_ACEOF
48659 /* end confdefs.h.  */
48660 #include <math.h>
48661                       #ifdef HAVE_IEEEFP_H
48662                       #include <ieeefp.h>
48663                       #endif
48664
48665 int
48666 main ()
48667 {
48668  fpclass(0);
48669   ;
48670   return 0;
48671 }
48672 _ACEOF
48673 rm -f conftest.$ac_objext
48674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48675   (eval $ac_compile) 2>&5
48676   ac_status=$?
48677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48678   (exit $ac_status); } &&
48679          { ac_try='test -s conftest.$ac_objext'
48680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48681   (eval $ac_try) 2>&5
48682   ac_status=$?
48683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684   (exit $ac_status); }; }; then
48685   glibcxx_cv_func_fpclass_use=yes
48686 else
48687   echo "$as_me: failed program was:" >&5
48688 sed 's/^/| /' conftest.$ac_ext >&5
48689
48690 glibcxx_cv_func_fpclass_use=no
48691 fi
48692 rm -f conftest.$ac_objext conftest.$ac_ext
48693       ac_ext=c
48694 ac_cpp='$CPP $CPPFLAGS'
48695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48698
48699
48700 fi
48701
48702   fi
48703   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
48704 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
48705
48706   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48707
48708 for ac_func in fpclass
48709 do
48710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48711 echo "$as_me:$LINENO: checking for $ac_func" >&5
48712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48713 if eval "test \"\${$as_ac_var+set}\" = set"; then
48714   echo $ECHO_N "(cached) $ECHO_C" >&6
48715 else
48716   if test x$gcc_no_link = xyes; then
48717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48719    { (exit 1); exit 1; }; }
48720 fi
48721 cat >conftest.$ac_ext <<_ACEOF
48722 #line $LINENO "configure"
48723 /* confdefs.h.  */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h.  */
48728 /* System header to define __stub macros and hopefully few prototypes,
48729     which can conflict with char $ac_func (); below.
48730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48731     <limits.h> exists even on freestanding compilers.  */
48732 #ifdef __STDC__
48733 # include <limits.h>
48734 #else
48735 # include <assert.h>
48736 #endif
48737 /* Override any gcc2 internal prototype to avoid an error.  */
48738 #ifdef __cplusplus
48739 extern "C"
48740 {
48741 #endif
48742 /* We use char because int might match the return type of a gcc2
48743    builtin and then its argument prototype would still apply.  */
48744 char $ac_func ();
48745 /* The GNU C library defines this for functions which it implements
48746     to always fail with ENOSYS.  Some functions are actually named
48747     something starting with __ and the normal name is an alias.  */
48748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48749 choke me
48750 #else
48751 char (*f) () = $ac_func;
48752 #endif
48753 #ifdef __cplusplus
48754 }
48755 #endif
48756
48757 int
48758 main ()
48759 {
48760 return f != $ac_func;
48761   ;
48762   return 0;
48763 }
48764 _ACEOF
48765 rm -f conftest.$ac_objext conftest$ac_exeext
48766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48767   (eval $ac_link) 2>&5
48768   ac_status=$?
48769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770   (exit $ac_status); } &&
48771          { ac_try='test -s conftest$ac_exeext'
48772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773   (eval $ac_try) 2>&5
48774   ac_status=$?
48775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776   (exit $ac_status); }; }; then
48777   eval "$as_ac_var=yes"
48778 else
48779   echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48781
48782 eval "$as_ac_var=no"
48783 fi
48784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48785 fi
48786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48788 if test `eval echo '${'$as_ac_var'}'` = yes; then
48789   cat >>confdefs.h <<_ACEOF
48790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48791 _ACEOF
48792
48793 fi
48794 done
48795
48796   else
48797
48798   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
48799 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
48800   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48801     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
48802   echo $ECHO_N "(cached) $ECHO_C" >&6
48803 else
48804
48805
48806
48807       ac_ext=cc
48808 ac_cpp='$CXXCPP $CPPFLAGS'
48809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48812
48813       cat >conftest.$ac_ext <<_ACEOF
48814 #line $LINENO "configure"
48815 /* confdefs.h.  */
48816 _ACEOF
48817 cat confdefs.h >>conftest.$ac_ext
48818 cat >>conftest.$ac_ext <<_ACEOF
48819 /* end confdefs.h.  */
48820 #include <math.h>
48821                       #ifdef HAVE_IEEEFP_H
48822                       #include <ieeefp.h>
48823                       #endif
48824
48825 int
48826 main ()
48827 {
48828  _fpclass(0);
48829   ;
48830   return 0;
48831 }
48832 _ACEOF
48833 rm -f conftest.$ac_objext
48834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48835   (eval $ac_compile) 2>&5
48836   ac_status=$?
48837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48838   (exit $ac_status); } &&
48839          { ac_try='test -s conftest.$ac_objext'
48840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48841   (eval $ac_try) 2>&5
48842   ac_status=$?
48843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48844   (exit $ac_status); }; }; then
48845   glibcxx_cv_func__fpclass_use=yes
48846 else
48847   echo "$as_me: failed program was:" >&5
48848 sed 's/^/| /' conftest.$ac_ext >&5
48849
48850 glibcxx_cv_func__fpclass_use=no
48851 fi
48852 rm -f conftest.$ac_objext conftest.$ac_ext
48853       ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48858
48859
48860 fi
48861
48862   fi
48863   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
48864 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
48865
48866     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48867
48868 for ac_func in _fpclass
48869 do
48870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48871 echo "$as_me:$LINENO: checking for $ac_func" >&5
48872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48873 if eval "test \"\${$as_ac_var+set}\" = set"; then
48874   echo $ECHO_N "(cached) $ECHO_C" >&6
48875 else
48876   if test x$gcc_no_link = xyes; then
48877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48879    { (exit 1); exit 1; }; }
48880 fi
48881 cat >conftest.$ac_ext <<_ACEOF
48882 #line $LINENO "configure"
48883 /* confdefs.h.  */
48884 _ACEOF
48885 cat confdefs.h >>conftest.$ac_ext
48886 cat >>conftest.$ac_ext <<_ACEOF
48887 /* end confdefs.h.  */
48888 /* System header to define __stub macros and hopefully few prototypes,
48889     which can conflict with char $ac_func (); below.
48890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48891     <limits.h> exists even on freestanding compilers.  */
48892 #ifdef __STDC__
48893 # include <limits.h>
48894 #else
48895 # include <assert.h>
48896 #endif
48897 /* Override any gcc2 internal prototype to avoid an error.  */
48898 #ifdef __cplusplus
48899 extern "C"
48900 {
48901 #endif
48902 /* We use char because int might match the return type of a gcc2
48903    builtin and then its argument prototype would still apply.  */
48904 char $ac_func ();
48905 /* The GNU C library defines this for functions which it implements
48906     to always fail with ENOSYS.  Some functions are actually named
48907     something starting with __ and the normal name is an alias.  */
48908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48909 choke me
48910 #else
48911 char (*f) () = $ac_func;
48912 #endif
48913 #ifdef __cplusplus
48914 }
48915 #endif
48916
48917 int
48918 main ()
48919 {
48920 return f != $ac_func;
48921   ;
48922   return 0;
48923 }
48924 _ACEOF
48925 rm -f conftest.$ac_objext conftest$ac_exeext
48926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48927   (eval $ac_link) 2>&5
48928   ac_status=$?
48929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930   (exit $ac_status); } &&
48931          { ac_try='test -s conftest$ac_exeext'
48932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48933   (eval $ac_try) 2>&5
48934   ac_status=$?
48935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48936   (exit $ac_status); }; }; then
48937   eval "$as_ac_var=yes"
48938 else
48939   echo "$as_me: failed program was:" >&5
48940 sed 's/^/| /' conftest.$ac_ext >&5
48941
48942 eval "$as_ac_var=no"
48943 fi
48944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48945 fi
48946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48948 if test `eval echo '${'$as_ac_var'}'` = yes; then
48949   cat >>confdefs.h <<_ACEOF
48950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48951 _ACEOF
48952
48953 fi
48954 done
48955
48956     fi
48957   fi
48958
48959
48960
48961   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
48962 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
48963   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48964     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
48965   echo $ECHO_N "(cached) $ECHO_C" >&6
48966 else
48967
48968
48969
48970       ac_ext=cc
48971 ac_cpp='$CXXCPP $CPPFLAGS'
48972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48975
48976       cat >conftest.$ac_ext <<_ACEOF
48977 #line $LINENO "configure"
48978 /* confdefs.h.  */
48979 _ACEOF
48980 cat confdefs.h >>conftest.$ac_ext
48981 cat >>conftest.$ac_ext <<_ACEOF
48982 /* end confdefs.h.  */
48983 #include <math.h>
48984                       #ifdef HAVE_IEEEFP_H
48985                       #include <ieeefp.h>
48986                       #endif
48987
48988 int
48989 main ()
48990 {
48991  qfpclass(0);
48992   ;
48993   return 0;
48994 }
48995 _ACEOF
48996 rm -f conftest.$ac_objext
48997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48998   (eval $ac_compile) 2>&5
48999   ac_status=$?
49000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001   (exit $ac_status); } &&
49002          { ac_try='test -s conftest.$ac_objext'
49003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49004   (eval $ac_try) 2>&5
49005   ac_status=$?
49006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007   (exit $ac_status); }; }; then
49008   glibcxx_cv_func_qfpclass_use=yes
49009 else
49010   echo "$as_me: failed program was:" >&5
49011 sed 's/^/| /' conftest.$ac_ext >&5
49012
49013 glibcxx_cv_func_qfpclass_use=no
49014 fi
49015 rm -f conftest.$ac_objext conftest.$ac_ext
49016       ac_ext=c
49017 ac_cpp='$CPP $CPPFLAGS'
49018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49021
49022
49023 fi
49024
49025   fi
49026   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
49027 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
49028
49029   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49030
49031 for ac_func in qfpclass
49032 do
49033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49034 echo "$as_me:$LINENO: checking for $ac_func" >&5
49035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49036 if eval "test \"\${$as_ac_var+set}\" = set"; then
49037   echo $ECHO_N "(cached) $ECHO_C" >&6
49038 else
49039   if test x$gcc_no_link = xyes; then
49040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49042    { (exit 1); exit 1; }; }
49043 fi
49044 cat >conftest.$ac_ext <<_ACEOF
49045 #line $LINENO "configure"
49046 /* confdefs.h.  */
49047 _ACEOF
49048 cat confdefs.h >>conftest.$ac_ext
49049 cat >>conftest.$ac_ext <<_ACEOF
49050 /* end confdefs.h.  */
49051 /* System header to define __stub macros and hopefully few prototypes,
49052     which can conflict with char $ac_func (); below.
49053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49054     <limits.h> exists even on freestanding compilers.  */
49055 #ifdef __STDC__
49056 # include <limits.h>
49057 #else
49058 # include <assert.h>
49059 #endif
49060 /* Override any gcc2 internal prototype to avoid an error.  */
49061 #ifdef __cplusplus
49062 extern "C"
49063 {
49064 #endif
49065 /* We use char because int might match the return type of a gcc2
49066    builtin and then its argument prototype would still apply.  */
49067 char $ac_func ();
49068 /* The GNU C library defines this for functions which it implements
49069     to always fail with ENOSYS.  Some functions are actually named
49070     something starting with __ and the normal name is an alias.  */
49071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49072 choke me
49073 #else
49074 char (*f) () = $ac_func;
49075 #endif
49076 #ifdef __cplusplus
49077 }
49078 #endif
49079
49080 int
49081 main ()
49082 {
49083 return f != $ac_func;
49084   ;
49085   return 0;
49086 }
49087 _ACEOF
49088 rm -f conftest.$ac_objext conftest$ac_exeext
49089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49090   (eval $ac_link) 2>&5
49091   ac_status=$?
49092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49093   (exit $ac_status); } &&
49094          { ac_try='test -s conftest$ac_exeext'
49095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49096   (eval $ac_try) 2>&5
49097   ac_status=$?
49098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099   (exit $ac_status); }; }; then
49100   eval "$as_ac_var=yes"
49101 else
49102   echo "$as_me: failed program was:" >&5
49103 sed 's/^/| /' conftest.$ac_ext >&5
49104
49105 eval "$as_ac_var=no"
49106 fi
49107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49108 fi
49109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49111 if test `eval echo '${'$as_ac_var'}'` = yes; then
49112   cat >>confdefs.h <<_ACEOF
49113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49114 _ACEOF
49115
49116 fi
49117 done
49118
49119   else
49120
49121   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
49122 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
49123   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49124     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
49125   echo $ECHO_N "(cached) $ECHO_C" >&6
49126 else
49127
49128
49129
49130       ac_ext=cc
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49135
49136       cat >conftest.$ac_ext <<_ACEOF
49137 #line $LINENO "configure"
49138 /* confdefs.h.  */
49139 _ACEOF
49140 cat confdefs.h >>conftest.$ac_ext
49141 cat >>conftest.$ac_ext <<_ACEOF
49142 /* end confdefs.h.  */
49143 #include <math.h>
49144                       #ifdef HAVE_IEEEFP_H
49145                       #include <ieeefp.h>
49146                       #endif
49147
49148 int
49149 main ()
49150 {
49151  _qfpclass(0);
49152   ;
49153   return 0;
49154 }
49155 _ACEOF
49156 rm -f conftest.$ac_objext
49157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49158   (eval $ac_compile) 2>&5
49159   ac_status=$?
49160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161   (exit $ac_status); } &&
49162          { ac_try='test -s conftest.$ac_objext'
49163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164   (eval $ac_try) 2>&5
49165   ac_status=$?
49166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167   (exit $ac_status); }; }; then
49168   glibcxx_cv_func__qfpclass_use=yes
49169 else
49170   echo "$as_me: failed program was:" >&5
49171 sed 's/^/| /' conftest.$ac_ext >&5
49172
49173 glibcxx_cv_func__qfpclass_use=no
49174 fi
49175 rm -f conftest.$ac_objext conftest.$ac_ext
49176       ac_ext=c
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49181
49182
49183 fi
49184
49185   fi
49186   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
49187 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
49188
49189     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49190
49191 for ac_func in _qfpclass
49192 do
49193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49194 echo "$as_me:$LINENO: checking for $ac_func" >&5
49195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49196 if eval "test \"\${$as_ac_var+set}\" = set"; then
49197   echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49199   if test x$gcc_no_link = xyes; then
49200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49202    { (exit 1); exit 1; }; }
49203 fi
49204 cat >conftest.$ac_ext <<_ACEOF
49205 #line $LINENO "configure"
49206 /* confdefs.h.  */
49207 _ACEOF
49208 cat confdefs.h >>conftest.$ac_ext
49209 cat >>conftest.$ac_ext <<_ACEOF
49210 /* end confdefs.h.  */
49211 /* System header to define __stub macros and hopefully few prototypes,
49212     which can conflict with char $ac_func (); below.
49213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49214     <limits.h> exists even on freestanding compilers.  */
49215 #ifdef __STDC__
49216 # include <limits.h>
49217 #else
49218 # include <assert.h>
49219 #endif
49220 /* Override any gcc2 internal prototype to avoid an error.  */
49221 #ifdef __cplusplus
49222 extern "C"
49223 {
49224 #endif
49225 /* We use char because int might match the return type of a gcc2
49226    builtin and then its argument prototype would still apply.  */
49227 char $ac_func ();
49228 /* The GNU C library defines this for functions which it implements
49229     to always fail with ENOSYS.  Some functions are actually named
49230     something starting with __ and the normal name is an alias.  */
49231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49232 choke me
49233 #else
49234 char (*f) () = $ac_func;
49235 #endif
49236 #ifdef __cplusplus
49237 }
49238 #endif
49239
49240 int
49241 main ()
49242 {
49243 return f != $ac_func;
49244   ;
49245   return 0;
49246 }
49247 _ACEOF
49248 rm -f conftest.$ac_objext conftest$ac_exeext
49249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49250   (eval $ac_link) 2>&5
49251   ac_status=$?
49252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253   (exit $ac_status); } &&
49254          { ac_try='test -s conftest$ac_exeext'
49255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49256   (eval $ac_try) 2>&5
49257   ac_status=$?
49258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49259   (exit $ac_status); }; }; then
49260   eval "$as_ac_var=yes"
49261 else
49262   echo "$as_me: failed program was:" >&5
49263 sed 's/^/| /' conftest.$ac_ext >&5
49264
49265 eval "$as_ac_var=no"
49266 fi
49267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49268 fi
49269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49271 if test `eval echo '${'$as_ac_var'}'` = yes; then
49272   cat >>confdefs.h <<_ACEOF
49273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49274 _ACEOF
49275
49276 fi
49277 done
49278
49279     fi
49280   fi
49281
49282
49283
49284   echo "$as_me:$LINENO: checking for hypot declaration" >&5
49285 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
49286   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49287     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
49288   echo $ECHO_N "(cached) $ECHO_C" >&6
49289 else
49290
49291
49292
49293       ac_ext=cc
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49298
49299       cat >conftest.$ac_ext <<_ACEOF
49300 #line $LINENO "configure"
49301 /* confdefs.h.  */
49302 _ACEOF
49303 cat confdefs.h >>conftest.$ac_ext
49304 cat >>conftest.$ac_ext <<_ACEOF
49305 /* end confdefs.h.  */
49306 #include <math.h>
49307 int
49308 main ()
49309 {
49310  hypot(0, 0);
49311   ;
49312   return 0;
49313 }
49314 _ACEOF
49315 rm -f conftest.$ac_objext
49316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49317   (eval $ac_compile) 2>&5
49318   ac_status=$?
49319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320   (exit $ac_status); } &&
49321          { ac_try='test -s conftest.$ac_objext'
49322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49323   (eval $ac_try) 2>&5
49324   ac_status=$?
49325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49326   (exit $ac_status); }; }; then
49327   glibcxx_cv_func_hypot_use=yes
49328 else
49329   echo "$as_me: failed program was:" >&5
49330 sed 's/^/| /' conftest.$ac_ext >&5
49331
49332 glibcxx_cv_func_hypot_use=no
49333 fi
49334 rm -f conftest.$ac_objext conftest.$ac_ext
49335       ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340
49341
49342 fi
49343
49344   fi
49345   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
49346 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
49347
49348   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49349
49350 for ac_func in hypot
49351 do
49352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49353 echo "$as_me:$LINENO: checking for $ac_func" >&5
49354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49355 if eval "test \"\${$as_ac_var+set}\" = set"; then
49356   echo $ECHO_N "(cached) $ECHO_C" >&6
49357 else
49358   if test x$gcc_no_link = xyes; then
49359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49361    { (exit 1); exit 1; }; }
49362 fi
49363 cat >conftest.$ac_ext <<_ACEOF
49364 #line $LINENO "configure"
49365 /* confdefs.h.  */
49366 _ACEOF
49367 cat confdefs.h >>conftest.$ac_ext
49368 cat >>conftest.$ac_ext <<_ACEOF
49369 /* end confdefs.h.  */
49370 /* System header to define __stub macros and hopefully few prototypes,
49371     which can conflict with char $ac_func (); below.
49372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49373     <limits.h> exists even on freestanding compilers.  */
49374 #ifdef __STDC__
49375 # include <limits.h>
49376 #else
49377 # include <assert.h>
49378 #endif
49379 /* Override any gcc2 internal prototype to avoid an error.  */
49380 #ifdef __cplusplus
49381 extern "C"
49382 {
49383 #endif
49384 /* We use char because int might match the return type of a gcc2
49385    builtin and then its argument prototype would still apply.  */
49386 char $ac_func ();
49387 /* The GNU C library defines this for functions which it implements
49388     to always fail with ENOSYS.  Some functions are actually named
49389     something starting with __ and the normal name is an alias.  */
49390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49391 choke me
49392 #else
49393 char (*f) () = $ac_func;
49394 #endif
49395 #ifdef __cplusplus
49396 }
49397 #endif
49398
49399 int
49400 main ()
49401 {
49402 return f != $ac_func;
49403   ;
49404   return 0;
49405 }
49406 _ACEOF
49407 rm -f conftest.$ac_objext conftest$ac_exeext
49408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49409   (eval $ac_link) 2>&5
49410   ac_status=$?
49411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49412   (exit $ac_status); } &&
49413          { ac_try='test -s conftest$ac_exeext'
49414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49415   (eval $ac_try) 2>&5
49416   ac_status=$?
49417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49418   (exit $ac_status); }; }; then
49419   eval "$as_ac_var=yes"
49420 else
49421   echo "$as_me: failed program was:" >&5
49422 sed 's/^/| /' conftest.$ac_ext >&5
49423
49424 eval "$as_ac_var=no"
49425 fi
49426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49427 fi
49428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49430 if test `eval echo '${'$as_ac_var'}'` = yes; then
49431   cat >>confdefs.h <<_ACEOF
49432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49433 _ACEOF
49434
49435 fi
49436 done
49437
49438   else
49439
49440   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
49441 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
49442   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49443     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
49444   echo $ECHO_N "(cached) $ECHO_C" >&6
49445 else
49446
49447
49448
49449       ac_ext=cc
49450 ac_cpp='$CXXCPP $CPPFLAGS'
49451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49454
49455       cat >conftest.$ac_ext <<_ACEOF
49456 #line $LINENO "configure"
49457 /* confdefs.h.  */
49458 _ACEOF
49459 cat confdefs.h >>conftest.$ac_ext
49460 cat >>conftest.$ac_ext <<_ACEOF
49461 /* end confdefs.h.  */
49462 #include <math.h>
49463 int
49464 main ()
49465 {
49466  _hypot(0, 0);
49467   ;
49468   return 0;
49469 }
49470 _ACEOF
49471 rm -f conftest.$ac_objext
49472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49473   (eval $ac_compile) 2>&5
49474   ac_status=$?
49475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476   (exit $ac_status); } &&
49477          { ac_try='test -s conftest.$ac_objext'
49478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49479   (eval $ac_try) 2>&5
49480   ac_status=$?
49481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49482   (exit $ac_status); }; }; then
49483   glibcxx_cv_func__hypot_use=yes
49484 else
49485   echo "$as_me: failed program was:" >&5
49486 sed 's/^/| /' conftest.$ac_ext >&5
49487
49488 glibcxx_cv_func__hypot_use=no
49489 fi
49490 rm -f conftest.$ac_objext conftest.$ac_ext
49491       ac_ext=c
49492 ac_cpp='$CPP $CPPFLAGS'
49493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49496
49497
49498 fi
49499
49500   fi
49501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
49502 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
49503
49504     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49505
49506 for ac_func in _hypot
49507 do
49508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49509 echo "$as_me:$LINENO: checking for $ac_func" >&5
49510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49511 if eval "test \"\${$as_ac_var+set}\" = set"; then
49512   echo $ECHO_N "(cached) $ECHO_C" >&6
49513 else
49514   if test x$gcc_no_link = xyes; then
49515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49517    { (exit 1); exit 1; }; }
49518 fi
49519 cat >conftest.$ac_ext <<_ACEOF
49520 #line $LINENO "configure"
49521 /* confdefs.h.  */
49522 _ACEOF
49523 cat confdefs.h >>conftest.$ac_ext
49524 cat >>conftest.$ac_ext <<_ACEOF
49525 /* end confdefs.h.  */
49526 /* System header to define __stub macros and hopefully few prototypes,
49527     which can conflict with char $ac_func (); below.
49528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49529     <limits.h> exists even on freestanding compilers.  */
49530 #ifdef __STDC__
49531 # include <limits.h>
49532 #else
49533 # include <assert.h>
49534 #endif
49535 /* Override any gcc2 internal prototype to avoid an error.  */
49536 #ifdef __cplusplus
49537 extern "C"
49538 {
49539 #endif
49540 /* We use char because int might match the return type of a gcc2
49541    builtin and then its argument prototype would still apply.  */
49542 char $ac_func ();
49543 /* The GNU C library defines this for functions which it implements
49544     to always fail with ENOSYS.  Some functions are actually named
49545     something starting with __ and the normal name is an alias.  */
49546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49547 choke me
49548 #else
49549 char (*f) () = $ac_func;
49550 #endif
49551 #ifdef __cplusplus
49552 }
49553 #endif
49554
49555 int
49556 main ()
49557 {
49558 return f != $ac_func;
49559   ;
49560   return 0;
49561 }
49562 _ACEOF
49563 rm -f conftest.$ac_objext conftest$ac_exeext
49564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49565   (eval $ac_link) 2>&5
49566   ac_status=$?
49567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568   (exit $ac_status); } &&
49569          { ac_try='test -s conftest$ac_exeext'
49570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49571   (eval $ac_try) 2>&5
49572   ac_status=$?
49573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49574   (exit $ac_status); }; }; then
49575   eval "$as_ac_var=yes"
49576 else
49577   echo "$as_me: failed program was:" >&5
49578 sed 's/^/| /' conftest.$ac_ext >&5
49579
49580 eval "$as_ac_var=no"
49581 fi
49582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49583 fi
49584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49586 if test `eval echo '${'$as_ac_var'}'` = yes; then
49587   cat >>confdefs.h <<_ACEOF
49588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49589 _ACEOF
49590
49591 fi
49592 done
49593
49594     fi
49595   fi
49596
49597
49598
49599   echo "$as_me:$LINENO: checking for float trig functions" >&5
49600 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
49601   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
49602   echo $ECHO_N "(cached) $ECHO_C" >&6
49603 else
49604
49605
49606
49607     ac_ext=cc
49608 ac_cpp='$CXXCPP $CPPFLAGS'
49609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49612
49613     cat >conftest.$ac_ext <<_ACEOF
49614 #line $LINENO "configure"
49615 /* confdefs.h.  */
49616 _ACEOF
49617 cat confdefs.h >>conftest.$ac_ext
49618 cat >>conftest.$ac_ext <<_ACEOF
49619 /* end confdefs.h.  */
49620 #include <math.h>
49621 int
49622 main ()
49623 {
49624  `for x in acosf asinf atanf \
49625                                           cosf sinf tanf \
49626                                           coshf sinhf tanhf; do echo "$x (0);"; done`
49627   ;
49628   return 0;
49629 }
49630 _ACEOF
49631 rm -f conftest.$ac_objext
49632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49633   (eval $ac_compile) 2>&5
49634   ac_status=$?
49635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49636   (exit $ac_status); } &&
49637          { ac_try='test -s conftest.$ac_objext'
49638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49639   (eval $ac_try) 2>&5
49640   ac_status=$?
49641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642   (exit $ac_status); }; }; then
49643   glibcxx_cv_func_float_trig_use=yes
49644 else
49645   echo "$as_me: failed program was:" >&5
49646 sed 's/^/| /' conftest.$ac_ext >&5
49647
49648 glibcxx_cv_func_float_trig_use=no
49649 fi
49650 rm -f conftest.$ac_objext conftest.$ac_ext
49651     ac_ext=c
49652 ac_cpp='$CPP $CPPFLAGS'
49653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49656
49657 fi
49658
49659   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
49660 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
49661   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671 for ac_func in acosf asinf atanf \
49672                                           cosf sinf tanf \
49673                                           coshf sinhf tanhf
49674 do
49675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49676 echo "$as_me:$LINENO: checking for $ac_func" >&5
49677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49678 if eval "test \"\${$as_ac_var+set}\" = set"; then
49679   echo $ECHO_N "(cached) $ECHO_C" >&6
49680 else
49681   if test x$gcc_no_link = xyes; then
49682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49684    { (exit 1); exit 1; }; }
49685 fi
49686 cat >conftest.$ac_ext <<_ACEOF
49687 #line $LINENO "configure"
49688 /* confdefs.h.  */
49689 _ACEOF
49690 cat confdefs.h >>conftest.$ac_ext
49691 cat >>conftest.$ac_ext <<_ACEOF
49692 /* end confdefs.h.  */
49693 /* System header to define __stub macros and hopefully few prototypes,
49694     which can conflict with char $ac_func (); below.
49695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49696     <limits.h> exists even on freestanding compilers.  */
49697 #ifdef __STDC__
49698 # include <limits.h>
49699 #else
49700 # include <assert.h>
49701 #endif
49702 /* Override any gcc2 internal prototype to avoid an error.  */
49703 #ifdef __cplusplus
49704 extern "C"
49705 {
49706 #endif
49707 /* We use char because int might match the return type of a gcc2
49708    builtin and then its argument prototype would still apply.  */
49709 char $ac_func ();
49710 /* The GNU C library defines this for functions which it implements
49711     to always fail with ENOSYS.  Some functions are actually named
49712     something starting with __ and the normal name is an alias.  */
49713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49714 choke me
49715 #else
49716 char (*f) () = $ac_func;
49717 #endif
49718 #ifdef __cplusplus
49719 }
49720 #endif
49721
49722 int
49723 main ()
49724 {
49725 return f != $ac_func;
49726   ;
49727   return 0;
49728 }
49729 _ACEOF
49730 rm -f conftest.$ac_objext conftest$ac_exeext
49731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49732   (eval $ac_link) 2>&5
49733   ac_status=$?
49734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49735   (exit $ac_status); } &&
49736          { ac_try='test -s conftest$ac_exeext'
49737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49738   (eval $ac_try) 2>&5
49739   ac_status=$?
49740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49741   (exit $ac_status); }; }; then
49742   eval "$as_ac_var=yes"
49743 else
49744   echo "$as_me: failed program was:" >&5
49745 sed 's/^/| /' conftest.$ac_ext >&5
49746
49747 eval "$as_ac_var=no"
49748 fi
49749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49750 fi
49751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49753 if test `eval echo '${'$as_ac_var'}'` = yes; then
49754   cat >>confdefs.h <<_ACEOF
49755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49756 _ACEOF
49757
49758 fi
49759 done
49760
49761   fi
49762
49763
49764   echo "$as_me:$LINENO: checking for float round functions" >&5
49765 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
49766   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
49767   echo $ECHO_N "(cached) $ECHO_C" >&6
49768 else
49769
49770
49771
49772     ac_ext=cc
49773 ac_cpp='$CXXCPP $CPPFLAGS'
49774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49777
49778     cat >conftest.$ac_ext <<_ACEOF
49779 #line $LINENO "configure"
49780 /* confdefs.h.  */
49781 _ACEOF
49782 cat confdefs.h >>conftest.$ac_ext
49783 cat >>conftest.$ac_ext <<_ACEOF
49784 /* end confdefs.h.  */
49785 #include <math.h>
49786 int
49787 main ()
49788 {
49789  `for x in ceilf floorf; do echo "$x (0);"; done`
49790   ;
49791   return 0;
49792 }
49793 _ACEOF
49794 rm -f conftest.$ac_objext
49795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49796   (eval $ac_compile) 2>&5
49797   ac_status=$?
49798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49799   (exit $ac_status); } &&
49800          { ac_try='test -s conftest.$ac_objext'
49801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49802   (eval $ac_try) 2>&5
49803   ac_status=$?
49804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49805   (exit $ac_status); }; }; then
49806   glibcxx_cv_func_float_round_use=yes
49807 else
49808   echo "$as_me: failed program was:" >&5
49809 sed 's/^/| /' conftest.$ac_ext >&5
49810
49811 glibcxx_cv_func_float_round_use=no
49812 fi
49813 rm -f conftest.$ac_objext conftest.$ac_ext
49814     ac_ext=c
49815 ac_cpp='$CPP $CPPFLAGS'
49816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49819
49820 fi
49821
49822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
49823 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
49824   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49825
49826
49827 for ac_func in ceilf floorf
49828 do
49829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49830 echo "$as_me:$LINENO: checking for $ac_func" >&5
49831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49832 if eval "test \"\${$as_ac_var+set}\" = set"; then
49833   echo $ECHO_N "(cached) $ECHO_C" >&6
49834 else
49835   if test x$gcc_no_link = xyes; then
49836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49838    { (exit 1); exit 1; }; }
49839 fi
49840 cat >conftest.$ac_ext <<_ACEOF
49841 #line $LINENO "configure"
49842 /* confdefs.h.  */
49843 _ACEOF
49844 cat confdefs.h >>conftest.$ac_ext
49845 cat >>conftest.$ac_ext <<_ACEOF
49846 /* end confdefs.h.  */
49847 /* System header to define __stub macros and hopefully few prototypes,
49848     which can conflict with char $ac_func (); below.
49849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49850     <limits.h> exists even on freestanding compilers.  */
49851 #ifdef __STDC__
49852 # include <limits.h>
49853 #else
49854 # include <assert.h>
49855 #endif
49856 /* Override any gcc2 internal prototype to avoid an error.  */
49857 #ifdef __cplusplus
49858 extern "C"
49859 {
49860 #endif
49861 /* We use char because int might match the return type of a gcc2
49862    builtin and then its argument prototype would still apply.  */
49863 char $ac_func ();
49864 /* The GNU C library defines this for functions which it implements
49865     to always fail with ENOSYS.  Some functions are actually named
49866     something starting with __ and the normal name is an alias.  */
49867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49868 choke me
49869 #else
49870 char (*f) () = $ac_func;
49871 #endif
49872 #ifdef __cplusplus
49873 }
49874 #endif
49875
49876 int
49877 main ()
49878 {
49879 return f != $ac_func;
49880   ;
49881   return 0;
49882 }
49883 _ACEOF
49884 rm -f conftest.$ac_objext conftest$ac_exeext
49885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49886   (eval $ac_link) 2>&5
49887   ac_status=$?
49888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49889   (exit $ac_status); } &&
49890          { ac_try='test -s conftest$ac_exeext'
49891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49892   (eval $ac_try) 2>&5
49893   ac_status=$?
49894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49895   (exit $ac_status); }; }; then
49896   eval "$as_ac_var=yes"
49897 else
49898   echo "$as_me: failed program was:" >&5
49899 sed 's/^/| /' conftest.$ac_ext >&5
49900
49901 eval "$as_ac_var=no"
49902 fi
49903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49904 fi
49905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49907 if test `eval echo '${'$as_ac_var'}'` = yes; then
49908   cat >>confdefs.h <<_ACEOF
49909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49910 _ACEOF
49911
49912 fi
49913 done
49914
49915   fi
49916
49917
49918
49919   echo "$as_me:$LINENO: checking for expf declaration" >&5
49920 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
49921   if test x${glibcxx_cv_func_expf_use+set} != xset; then
49922     if test "${glibcxx_cv_func_expf_use+set}" = set; then
49923   echo $ECHO_N "(cached) $ECHO_C" >&6
49924 else
49925
49926
49927
49928       ac_ext=cc
49929 ac_cpp='$CXXCPP $CPPFLAGS'
49930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49933
49934       cat >conftest.$ac_ext <<_ACEOF
49935 #line $LINENO "configure"
49936 /* confdefs.h.  */
49937 _ACEOF
49938 cat confdefs.h >>conftest.$ac_ext
49939 cat >>conftest.$ac_ext <<_ACEOF
49940 /* end confdefs.h.  */
49941 #include <math.h>
49942                       #ifdef HAVE_IEEEFP_H
49943                       #include <ieeefp.h>
49944                       #endif
49945
49946 int
49947 main ()
49948 {
49949  expf(0);
49950   ;
49951   return 0;
49952 }
49953 _ACEOF
49954 rm -f conftest.$ac_objext
49955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49956   (eval $ac_compile) 2>&5
49957   ac_status=$?
49958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959   (exit $ac_status); } &&
49960          { ac_try='test -s conftest.$ac_objext'
49961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49962   (eval $ac_try) 2>&5
49963   ac_status=$?
49964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49965   (exit $ac_status); }; }; then
49966   glibcxx_cv_func_expf_use=yes
49967 else
49968   echo "$as_me: failed program was:" >&5
49969 sed 's/^/| /' conftest.$ac_ext >&5
49970
49971 glibcxx_cv_func_expf_use=no
49972 fi
49973 rm -f conftest.$ac_objext conftest.$ac_ext
49974       ac_ext=c
49975 ac_cpp='$CPP $CPPFLAGS'
49976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49979
49980
49981 fi
49982
49983   fi
49984   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
49985 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
49986
49987   if test x$glibcxx_cv_func_expf_use = x"yes"; then
49988
49989 for ac_func in expf
49990 do
49991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49992 echo "$as_me:$LINENO: checking for $ac_func" >&5
49993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49994 if eval "test \"\${$as_ac_var+set}\" = set"; then
49995   echo $ECHO_N "(cached) $ECHO_C" >&6
49996 else
49997   if test x$gcc_no_link = xyes; then
49998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50000    { (exit 1); exit 1; }; }
50001 fi
50002 cat >conftest.$ac_ext <<_ACEOF
50003 #line $LINENO "configure"
50004 /* confdefs.h.  */
50005 _ACEOF
50006 cat confdefs.h >>conftest.$ac_ext
50007 cat >>conftest.$ac_ext <<_ACEOF
50008 /* end confdefs.h.  */
50009 /* System header to define __stub macros and hopefully few prototypes,
50010     which can conflict with char $ac_func (); below.
50011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50012     <limits.h> exists even on freestanding compilers.  */
50013 #ifdef __STDC__
50014 # include <limits.h>
50015 #else
50016 # include <assert.h>
50017 #endif
50018 /* Override any gcc2 internal prototype to avoid an error.  */
50019 #ifdef __cplusplus
50020 extern "C"
50021 {
50022 #endif
50023 /* We use char because int might match the return type of a gcc2
50024    builtin and then its argument prototype would still apply.  */
50025 char $ac_func ();
50026 /* The GNU C library defines this for functions which it implements
50027     to always fail with ENOSYS.  Some functions are actually named
50028     something starting with __ and the normal name is an alias.  */
50029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50030 choke me
50031 #else
50032 char (*f) () = $ac_func;
50033 #endif
50034 #ifdef __cplusplus
50035 }
50036 #endif
50037
50038 int
50039 main ()
50040 {
50041 return f != $ac_func;
50042   ;
50043   return 0;
50044 }
50045 _ACEOF
50046 rm -f conftest.$ac_objext conftest$ac_exeext
50047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50048   (eval $ac_link) 2>&5
50049   ac_status=$?
50050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50051   (exit $ac_status); } &&
50052          { ac_try='test -s conftest$ac_exeext'
50053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50054   (eval $ac_try) 2>&5
50055   ac_status=$?
50056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50057   (exit $ac_status); }; }; then
50058   eval "$as_ac_var=yes"
50059 else
50060   echo "$as_me: failed program was:" >&5
50061 sed 's/^/| /' conftest.$ac_ext >&5
50062
50063 eval "$as_ac_var=no"
50064 fi
50065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50066 fi
50067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50069 if test `eval echo '${'$as_ac_var'}'` = yes; then
50070   cat >>confdefs.h <<_ACEOF
50071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50072 _ACEOF
50073
50074 fi
50075 done
50076
50077   else
50078
50079   echo "$as_me:$LINENO: checking for _expf declaration" >&5
50080 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
50081   if test x${glibcxx_cv_func__expf_use+set} != xset; then
50082     if test "${glibcxx_cv_func__expf_use+set}" = set; then
50083   echo $ECHO_N "(cached) $ECHO_C" >&6
50084 else
50085
50086
50087
50088       ac_ext=cc
50089 ac_cpp='$CXXCPP $CPPFLAGS'
50090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50093
50094       cat >conftest.$ac_ext <<_ACEOF
50095 #line $LINENO "configure"
50096 /* confdefs.h.  */
50097 _ACEOF
50098 cat confdefs.h >>conftest.$ac_ext
50099 cat >>conftest.$ac_ext <<_ACEOF
50100 /* end confdefs.h.  */
50101 #include <math.h>
50102                       #ifdef HAVE_IEEEFP_H
50103                       #include <ieeefp.h>
50104                       #endif
50105
50106 int
50107 main ()
50108 {
50109  _expf(0);
50110   ;
50111   return 0;
50112 }
50113 _ACEOF
50114 rm -f conftest.$ac_objext
50115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50116   (eval $ac_compile) 2>&5
50117   ac_status=$?
50118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50119   (exit $ac_status); } &&
50120          { ac_try='test -s conftest.$ac_objext'
50121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50122   (eval $ac_try) 2>&5
50123   ac_status=$?
50124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125   (exit $ac_status); }; }; then
50126   glibcxx_cv_func__expf_use=yes
50127 else
50128   echo "$as_me: failed program was:" >&5
50129 sed 's/^/| /' conftest.$ac_ext >&5
50130
50131 glibcxx_cv_func__expf_use=no
50132 fi
50133 rm -f conftest.$ac_objext conftest.$ac_ext
50134       ac_ext=c
50135 ac_cpp='$CPP $CPPFLAGS'
50136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50139
50140
50141 fi
50142
50143   fi
50144   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
50145 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
50146
50147     if test x$glibcxx_cv_func__expf_use = x"yes"; then
50148
50149 for ac_func in _expf
50150 do
50151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50152 echo "$as_me:$LINENO: checking for $ac_func" >&5
50153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50154 if eval "test \"\${$as_ac_var+set}\" = set"; then
50155   echo $ECHO_N "(cached) $ECHO_C" >&6
50156 else
50157   if test x$gcc_no_link = xyes; then
50158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50160    { (exit 1); exit 1; }; }
50161 fi
50162 cat >conftest.$ac_ext <<_ACEOF
50163 #line $LINENO "configure"
50164 /* confdefs.h.  */
50165 _ACEOF
50166 cat confdefs.h >>conftest.$ac_ext
50167 cat >>conftest.$ac_ext <<_ACEOF
50168 /* end confdefs.h.  */
50169 /* System header to define __stub macros and hopefully few prototypes,
50170     which can conflict with char $ac_func (); below.
50171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50172     <limits.h> exists even on freestanding compilers.  */
50173 #ifdef __STDC__
50174 # include <limits.h>
50175 #else
50176 # include <assert.h>
50177 #endif
50178 /* Override any gcc2 internal prototype to avoid an error.  */
50179 #ifdef __cplusplus
50180 extern "C"
50181 {
50182 #endif
50183 /* We use char because int might match the return type of a gcc2
50184    builtin and then its argument prototype would still apply.  */
50185 char $ac_func ();
50186 /* The GNU C library defines this for functions which it implements
50187     to always fail with ENOSYS.  Some functions are actually named
50188     something starting with __ and the normal name is an alias.  */
50189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50190 choke me
50191 #else
50192 char (*f) () = $ac_func;
50193 #endif
50194 #ifdef __cplusplus
50195 }
50196 #endif
50197
50198 int
50199 main ()
50200 {
50201 return f != $ac_func;
50202   ;
50203   return 0;
50204 }
50205 _ACEOF
50206 rm -f conftest.$ac_objext conftest$ac_exeext
50207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50208   (eval $ac_link) 2>&5
50209   ac_status=$?
50210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211   (exit $ac_status); } &&
50212          { ac_try='test -s conftest$ac_exeext'
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   eval "$as_ac_var=yes"
50219 else
50220   echo "$as_me: failed program was:" >&5
50221 sed 's/^/| /' conftest.$ac_ext >&5
50222
50223 eval "$as_ac_var=no"
50224 fi
50225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50226 fi
50227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50229 if test `eval echo '${'$as_ac_var'}'` = yes; then
50230   cat >>confdefs.h <<_ACEOF
50231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50232 _ACEOF
50233
50234 fi
50235 done
50236
50237     fi
50238   fi
50239
50240
50241
50242   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
50243 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
50244   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
50245     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
50246   echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50248
50249
50250
50251       ac_ext=cc
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50256
50257       cat >conftest.$ac_ext <<_ACEOF
50258 #line $LINENO "configure"
50259 /* confdefs.h.  */
50260 _ACEOF
50261 cat confdefs.h >>conftest.$ac_ext
50262 cat >>conftest.$ac_ext <<_ACEOF
50263 /* end confdefs.h.  */
50264 #include <math.h>
50265                       #ifdef HAVE_IEEEFP_H
50266                       #include <ieeefp.h>
50267                       #endif
50268
50269 int
50270 main ()
50271 {
50272  isnanf(0);
50273   ;
50274   return 0;
50275 }
50276 _ACEOF
50277 rm -f conftest.$ac_objext
50278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50279   (eval $ac_compile) 2>&5
50280   ac_status=$?
50281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50282   (exit $ac_status); } &&
50283          { ac_try='test -s conftest.$ac_objext'
50284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50285   (eval $ac_try) 2>&5
50286   ac_status=$?
50287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50288   (exit $ac_status); }; }; then
50289   glibcxx_cv_func_isnanf_use=yes
50290 else
50291   echo "$as_me: failed program was:" >&5
50292 sed 's/^/| /' conftest.$ac_ext >&5
50293
50294 glibcxx_cv_func_isnanf_use=no
50295 fi
50296 rm -f conftest.$ac_objext conftest.$ac_ext
50297       ac_ext=c
50298 ac_cpp='$CPP $CPPFLAGS'
50299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50302
50303
50304 fi
50305
50306   fi
50307   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
50308 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
50309
50310   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50311
50312 for ac_func in isnanf
50313 do
50314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50315 echo "$as_me:$LINENO: checking for $ac_func" >&5
50316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50317 if eval "test \"\${$as_ac_var+set}\" = set"; then
50318   echo $ECHO_N "(cached) $ECHO_C" >&6
50319 else
50320   if test x$gcc_no_link = xyes; then
50321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50323    { (exit 1); exit 1; }; }
50324 fi
50325 cat >conftest.$ac_ext <<_ACEOF
50326 #line $LINENO "configure"
50327 /* confdefs.h.  */
50328 _ACEOF
50329 cat confdefs.h >>conftest.$ac_ext
50330 cat >>conftest.$ac_ext <<_ACEOF
50331 /* end confdefs.h.  */
50332 /* System header to define __stub macros and hopefully few prototypes,
50333     which can conflict with char $ac_func (); below.
50334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50335     <limits.h> exists even on freestanding compilers.  */
50336 #ifdef __STDC__
50337 # include <limits.h>
50338 #else
50339 # include <assert.h>
50340 #endif
50341 /* Override any gcc2 internal prototype to avoid an error.  */
50342 #ifdef __cplusplus
50343 extern "C"
50344 {
50345 #endif
50346 /* We use char because int might match the return type of a gcc2
50347    builtin and then its argument prototype would still apply.  */
50348 char $ac_func ();
50349 /* The GNU C library defines this for functions which it implements
50350     to always fail with ENOSYS.  Some functions are actually named
50351     something starting with __ and the normal name is an alias.  */
50352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50353 choke me
50354 #else
50355 char (*f) () = $ac_func;
50356 #endif
50357 #ifdef __cplusplus
50358 }
50359 #endif
50360
50361 int
50362 main ()
50363 {
50364 return f != $ac_func;
50365   ;
50366   return 0;
50367 }
50368 _ACEOF
50369 rm -f conftest.$ac_objext conftest$ac_exeext
50370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50371   (eval $ac_link) 2>&5
50372   ac_status=$?
50373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50374   (exit $ac_status); } &&
50375          { ac_try='test -s conftest$ac_exeext'
50376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50377   (eval $ac_try) 2>&5
50378   ac_status=$?
50379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50380   (exit $ac_status); }; }; then
50381   eval "$as_ac_var=yes"
50382 else
50383   echo "$as_me: failed program was:" >&5
50384 sed 's/^/| /' conftest.$ac_ext >&5
50385
50386 eval "$as_ac_var=no"
50387 fi
50388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50389 fi
50390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50392 if test `eval echo '${'$as_ac_var'}'` = yes; then
50393   cat >>confdefs.h <<_ACEOF
50394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50395 _ACEOF
50396
50397 fi
50398 done
50399
50400   else
50401
50402   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
50403 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
50404   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50405     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
50406   echo $ECHO_N "(cached) $ECHO_C" >&6
50407 else
50408
50409
50410
50411       ac_ext=cc
50412 ac_cpp='$CXXCPP $CPPFLAGS'
50413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50416
50417       cat >conftest.$ac_ext <<_ACEOF
50418 #line $LINENO "configure"
50419 /* confdefs.h.  */
50420 _ACEOF
50421 cat confdefs.h >>conftest.$ac_ext
50422 cat >>conftest.$ac_ext <<_ACEOF
50423 /* end confdefs.h.  */
50424 #include <math.h>
50425                       #ifdef HAVE_IEEEFP_H
50426                       #include <ieeefp.h>
50427                       #endif
50428
50429 int
50430 main ()
50431 {
50432  _isnanf(0);
50433   ;
50434   return 0;
50435 }
50436 _ACEOF
50437 rm -f conftest.$ac_objext
50438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50439   (eval $ac_compile) 2>&5
50440   ac_status=$?
50441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442   (exit $ac_status); } &&
50443          { ac_try='test -s conftest.$ac_objext'
50444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50445   (eval $ac_try) 2>&5
50446   ac_status=$?
50447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50448   (exit $ac_status); }; }; then
50449   glibcxx_cv_func__isnanf_use=yes
50450 else
50451   echo "$as_me: failed program was:" >&5
50452 sed 's/^/| /' conftest.$ac_ext >&5
50453
50454 glibcxx_cv_func__isnanf_use=no
50455 fi
50456 rm -f conftest.$ac_objext conftest.$ac_ext
50457       ac_ext=c
50458 ac_cpp='$CPP $CPPFLAGS'
50459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462
50463
50464 fi
50465
50466   fi
50467   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
50468 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
50469
50470     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50471
50472 for ac_func in _isnanf
50473 do
50474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50475 echo "$as_me:$LINENO: checking for $ac_func" >&5
50476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50477 if eval "test \"\${$as_ac_var+set}\" = set"; then
50478   echo $ECHO_N "(cached) $ECHO_C" >&6
50479 else
50480   if test x$gcc_no_link = xyes; then
50481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50483    { (exit 1); exit 1; }; }
50484 fi
50485 cat >conftest.$ac_ext <<_ACEOF
50486 #line $LINENO "configure"
50487 /* confdefs.h.  */
50488 _ACEOF
50489 cat confdefs.h >>conftest.$ac_ext
50490 cat >>conftest.$ac_ext <<_ACEOF
50491 /* end confdefs.h.  */
50492 /* System header to define __stub macros and hopefully few prototypes,
50493     which can conflict with char $ac_func (); below.
50494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50495     <limits.h> exists even on freestanding compilers.  */
50496 #ifdef __STDC__
50497 # include <limits.h>
50498 #else
50499 # include <assert.h>
50500 #endif
50501 /* Override any gcc2 internal prototype to avoid an error.  */
50502 #ifdef __cplusplus
50503 extern "C"
50504 {
50505 #endif
50506 /* We use char because int might match the return type of a gcc2
50507    builtin and then its argument prototype would still apply.  */
50508 char $ac_func ();
50509 /* The GNU C library defines this for functions which it implements
50510     to always fail with ENOSYS.  Some functions are actually named
50511     something starting with __ and the normal name is an alias.  */
50512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50513 choke me
50514 #else
50515 char (*f) () = $ac_func;
50516 #endif
50517 #ifdef __cplusplus
50518 }
50519 #endif
50520
50521 int
50522 main ()
50523 {
50524 return f != $ac_func;
50525   ;
50526   return 0;
50527 }
50528 _ACEOF
50529 rm -f conftest.$ac_objext conftest$ac_exeext
50530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50531   (eval $ac_link) 2>&5
50532   ac_status=$?
50533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50534   (exit $ac_status); } &&
50535          { ac_try='test -s conftest$ac_exeext'
50536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50537   (eval $ac_try) 2>&5
50538   ac_status=$?
50539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50540   (exit $ac_status); }; }; then
50541   eval "$as_ac_var=yes"
50542 else
50543   echo "$as_me: failed program was:" >&5
50544 sed 's/^/| /' conftest.$ac_ext >&5
50545
50546 eval "$as_ac_var=no"
50547 fi
50548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50549 fi
50550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50552 if test `eval echo '${'$as_ac_var'}'` = yes; then
50553   cat >>confdefs.h <<_ACEOF
50554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50555 _ACEOF
50556
50557 fi
50558 done
50559
50560     fi
50561   fi
50562
50563
50564
50565   echo "$as_me:$LINENO: checking for isinff declaration" >&5
50566 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
50567   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50568     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
50569   echo $ECHO_N "(cached) $ECHO_C" >&6
50570 else
50571
50572
50573
50574       ac_ext=cc
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579
50580       cat >conftest.$ac_ext <<_ACEOF
50581 #line $LINENO "configure"
50582 /* confdefs.h.  */
50583 _ACEOF
50584 cat confdefs.h >>conftest.$ac_ext
50585 cat >>conftest.$ac_ext <<_ACEOF
50586 /* end confdefs.h.  */
50587 #include <math.h>
50588                       #ifdef HAVE_IEEEFP_H
50589                       #include <ieeefp.h>
50590                       #endif
50591
50592 int
50593 main ()
50594 {
50595  isinff(0);
50596   ;
50597   return 0;
50598 }
50599 _ACEOF
50600 rm -f conftest.$ac_objext
50601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50602   (eval $ac_compile) 2>&5
50603   ac_status=$?
50604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50605   (exit $ac_status); } &&
50606          { ac_try='test -s conftest.$ac_objext'
50607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50608   (eval $ac_try) 2>&5
50609   ac_status=$?
50610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50611   (exit $ac_status); }; }; then
50612   glibcxx_cv_func_isinff_use=yes
50613 else
50614   echo "$as_me: failed program was:" >&5
50615 sed 's/^/| /' conftest.$ac_ext >&5
50616
50617 glibcxx_cv_func_isinff_use=no
50618 fi
50619 rm -f conftest.$ac_objext conftest.$ac_ext
50620       ac_ext=c
50621 ac_cpp='$CPP $CPPFLAGS'
50622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50625
50626
50627 fi
50628
50629   fi
50630   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
50631 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
50632
50633   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50634
50635 for ac_func in isinff
50636 do
50637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50638 echo "$as_me:$LINENO: checking for $ac_func" >&5
50639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50640 if eval "test \"\${$as_ac_var+set}\" = set"; then
50641   echo $ECHO_N "(cached) $ECHO_C" >&6
50642 else
50643   if test x$gcc_no_link = xyes; then
50644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50646    { (exit 1); exit 1; }; }
50647 fi
50648 cat >conftest.$ac_ext <<_ACEOF
50649 #line $LINENO "configure"
50650 /* confdefs.h.  */
50651 _ACEOF
50652 cat confdefs.h >>conftest.$ac_ext
50653 cat >>conftest.$ac_ext <<_ACEOF
50654 /* end confdefs.h.  */
50655 /* System header to define __stub macros and hopefully few prototypes,
50656     which can conflict with char $ac_func (); below.
50657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50658     <limits.h> exists even on freestanding compilers.  */
50659 #ifdef __STDC__
50660 # include <limits.h>
50661 #else
50662 # include <assert.h>
50663 #endif
50664 /* Override any gcc2 internal prototype to avoid an error.  */
50665 #ifdef __cplusplus
50666 extern "C"
50667 {
50668 #endif
50669 /* We use char because int might match the return type of a gcc2
50670    builtin and then its argument prototype would still apply.  */
50671 char $ac_func ();
50672 /* The GNU C library defines this for functions which it implements
50673     to always fail with ENOSYS.  Some functions are actually named
50674     something starting with __ and the normal name is an alias.  */
50675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50676 choke me
50677 #else
50678 char (*f) () = $ac_func;
50679 #endif
50680 #ifdef __cplusplus
50681 }
50682 #endif
50683
50684 int
50685 main ()
50686 {
50687 return f != $ac_func;
50688   ;
50689   return 0;
50690 }
50691 _ACEOF
50692 rm -f conftest.$ac_objext conftest$ac_exeext
50693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50694   (eval $ac_link) 2>&5
50695   ac_status=$?
50696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50697   (exit $ac_status); } &&
50698          { ac_try='test -s conftest$ac_exeext'
50699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50700   (eval $ac_try) 2>&5
50701   ac_status=$?
50702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50703   (exit $ac_status); }; }; then
50704   eval "$as_ac_var=yes"
50705 else
50706   echo "$as_me: failed program was:" >&5
50707 sed 's/^/| /' conftest.$ac_ext >&5
50708
50709 eval "$as_ac_var=no"
50710 fi
50711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50712 fi
50713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50715 if test `eval echo '${'$as_ac_var'}'` = yes; then
50716   cat >>confdefs.h <<_ACEOF
50717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50718 _ACEOF
50719
50720 fi
50721 done
50722
50723   else
50724
50725   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
50726 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
50727   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50728     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
50729   echo $ECHO_N "(cached) $ECHO_C" >&6
50730 else
50731
50732
50733
50734       ac_ext=cc
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50739
50740       cat >conftest.$ac_ext <<_ACEOF
50741 #line $LINENO "configure"
50742 /* confdefs.h.  */
50743 _ACEOF
50744 cat confdefs.h >>conftest.$ac_ext
50745 cat >>conftest.$ac_ext <<_ACEOF
50746 /* end confdefs.h.  */
50747 #include <math.h>
50748                       #ifdef HAVE_IEEEFP_H
50749                       #include <ieeefp.h>
50750                       #endif
50751
50752 int
50753 main ()
50754 {
50755  _isinff(0);
50756   ;
50757   return 0;
50758 }
50759 _ACEOF
50760 rm -f conftest.$ac_objext
50761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50762   (eval $ac_compile) 2>&5
50763   ac_status=$?
50764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50765   (exit $ac_status); } &&
50766          { ac_try='test -s conftest.$ac_objext'
50767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50768   (eval $ac_try) 2>&5
50769   ac_status=$?
50770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50771   (exit $ac_status); }; }; then
50772   glibcxx_cv_func__isinff_use=yes
50773 else
50774   echo "$as_me: failed program was:" >&5
50775 sed 's/^/| /' conftest.$ac_ext >&5
50776
50777 glibcxx_cv_func__isinff_use=no
50778 fi
50779 rm -f conftest.$ac_objext conftest.$ac_ext
50780       ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785
50786
50787 fi
50788
50789   fi
50790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
50791 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
50792
50793     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50794
50795 for ac_func in _isinff
50796 do
50797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50798 echo "$as_me:$LINENO: checking for $ac_func" >&5
50799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50800 if eval "test \"\${$as_ac_var+set}\" = set"; then
50801   echo $ECHO_N "(cached) $ECHO_C" >&6
50802 else
50803   if test x$gcc_no_link = xyes; then
50804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50806    { (exit 1); exit 1; }; }
50807 fi
50808 cat >conftest.$ac_ext <<_ACEOF
50809 #line $LINENO "configure"
50810 /* confdefs.h.  */
50811 _ACEOF
50812 cat confdefs.h >>conftest.$ac_ext
50813 cat >>conftest.$ac_ext <<_ACEOF
50814 /* end confdefs.h.  */
50815 /* System header to define __stub macros and hopefully few prototypes,
50816     which can conflict with char $ac_func (); below.
50817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50818     <limits.h> exists even on freestanding compilers.  */
50819 #ifdef __STDC__
50820 # include <limits.h>
50821 #else
50822 # include <assert.h>
50823 #endif
50824 /* Override any gcc2 internal prototype to avoid an error.  */
50825 #ifdef __cplusplus
50826 extern "C"
50827 {
50828 #endif
50829 /* We use char because int might match the return type of a gcc2
50830    builtin and then its argument prototype would still apply.  */
50831 char $ac_func ();
50832 /* The GNU C library defines this for functions which it implements
50833     to always fail with ENOSYS.  Some functions are actually named
50834     something starting with __ and the normal name is an alias.  */
50835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50836 choke me
50837 #else
50838 char (*f) () = $ac_func;
50839 #endif
50840 #ifdef __cplusplus
50841 }
50842 #endif
50843
50844 int
50845 main ()
50846 {
50847 return f != $ac_func;
50848   ;
50849   return 0;
50850 }
50851 _ACEOF
50852 rm -f conftest.$ac_objext conftest$ac_exeext
50853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50854   (eval $ac_link) 2>&5
50855   ac_status=$?
50856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50857   (exit $ac_status); } &&
50858          { ac_try='test -s conftest$ac_exeext'
50859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50860   (eval $ac_try) 2>&5
50861   ac_status=$?
50862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50863   (exit $ac_status); }; }; then
50864   eval "$as_ac_var=yes"
50865 else
50866   echo "$as_me: failed program was:" >&5
50867 sed 's/^/| /' conftest.$ac_ext >&5
50868
50869 eval "$as_ac_var=no"
50870 fi
50871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50872 fi
50873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50875 if test `eval echo '${'$as_ac_var'}'` = yes; then
50876   cat >>confdefs.h <<_ACEOF
50877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50878 _ACEOF
50879
50880 fi
50881 done
50882
50883     fi
50884   fi
50885
50886
50887
50888   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
50889 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
50890   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50891     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
50892   echo $ECHO_N "(cached) $ECHO_C" >&6
50893 else
50894
50895
50896
50897       ac_ext=cc
50898 ac_cpp='$CXXCPP $CPPFLAGS'
50899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50902
50903       cat >conftest.$ac_ext <<_ACEOF
50904 #line $LINENO "configure"
50905 /* confdefs.h.  */
50906 _ACEOF
50907 cat confdefs.h >>conftest.$ac_ext
50908 cat >>conftest.$ac_ext <<_ACEOF
50909 /* end confdefs.h.  */
50910 #include <math.h>
50911 int
50912 main ()
50913 {
50914  atan2f(0, 0);
50915   ;
50916   return 0;
50917 }
50918 _ACEOF
50919 rm -f conftest.$ac_objext
50920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50921   (eval $ac_compile) 2>&5
50922   ac_status=$?
50923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50924   (exit $ac_status); } &&
50925          { ac_try='test -s conftest.$ac_objext'
50926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50927   (eval $ac_try) 2>&5
50928   ac_status=$?
50929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50930   (exit $ac_status); }; }; then
50931   glibcxx_cv_func_atan2f_use=yes
50932 else
50933   echo "$as_me: failed program was:" >&5
50934 sed 's/^/| /' conftest.$ac_ext >&5
50935
50936 glibcxx_cv_func_atan2f_use=no
50937 fi
50938 rm -f conftest.$ac_objext conftest.$ac_ext
50939       ac_ext=c
50940 ac_cpp='$CPP $CPPFLAGS'
50941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50944
50945
50946 fi
50947
50948   fi
50949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
50950 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
50951
50952   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50953
50954 for ac_func in atan2f
50955 do
50956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50957 echo "$as_me:$LINENO: checking for $ac_func" >&5
50958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50959 if eval "test \"\${$as_ac_var+set}\" = set"; then
50960   echo $ECHO_N "(cached) $ECHO_C" >&6
50961 else
50962   if test x$gcc_no_link = xyes; then
50963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50965    { (exit 1); exit 1; }; }
50966 fi
50967 cat >conftest.$ac_ext <<_ACEOF
50968 #line $LINENO "configure"
50969 /* confdefs.h.  */
50970 _ACEOF
50971 cat confdefs.h >>conftest.$ac_ext
50972 cat >>conftest.$ac_ext <<_ACEOF
50973 /* end confdefs.h.  */
50974 /* System header to define __stub macros and hopefully few prototypes,
50975     which can conflict with char $ac_func (); below.
50976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50977     <limits.h> exists even on freestanding compilers.  */
50978 #ifdef __STDC__
50979 # include <limits.h>
50980 #else
50981 # include <assert.h>
50982 #endif
50983 /* Override any gcc2 internal prototype to avoid an error.  */
50984 #ifdef __cplusplus
50985 extern "C"
50986 {
50987 #endif
50988 /* We use char because int might match the return type of a gcc2
50989    builtin and then its argument prototype would still apply.  */
50990 char $ac_func ();
50991 /* The GNU C library defines this for functions which it implements
50992     to always fail with ENOSYS.  Some functions are actually named
50993     something starting with __ and the normal name is an alias.  */
50994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50995 choke me
50996 #else
50997 char (*f) () = $ac_func;
50998 #endif
50999 #ifdef __cplusplus
51000 }
51001 #endif
51002
51003 int
51004 main ()
51005 {
51006 return f != $ac_func;
51007   ;
51008   return 0;
51009 }
51010 _ACEOF
51011 rm -f conftest.$ac_objext conftest$ac_exeext
51012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51013   (eval $ac_link) 2>&5
51014   ac_status=$?
51015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51016   (exit $ac_status); } &&
51017          { ac_try='test -s conftest$ac_exeext'
51018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51019   (eval $ac_try) 2>&5
51020   ac_status=$?
51021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51022   (exit $ac_status); }; }; then
51023   eval "$as_ac_var=yes"
51024 else
51025   echo "$as_me: failed program was:" >&5
51026 sed 's/^/| /' conftest.$ac_ext >&5
51027
51028 eval "$as_ac_var=no"
51029 fi
51030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51031 fi
51032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51034 if test `eval echo '${'$as_ac_var'}'` = yes; then
51035   cat >>confdefs.h <<_ACEOF
51036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51037 _ACEOF
51038
51039 fi
51040 done
51041
51042   else
51043
51044   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
51045 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
51046   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
51047     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
51048   echo $ECHO_N "(cached) $ECHO_C" >&6
51049 else
51050
51051
51052
51053       ac_ext=cc
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51058
51059       cat >conftest.$ac_ext <<_ACEOF
51060 #line $LINENO "configure"
51061 /* confdefs.h.  */
51062 _ACEOF
51063 cat confdefs.h >>conftest.$ac_ext
51064 cat >>conftest.$ac_ext <<_ACEOF
51065 /* end confdefs.h.  */
51066 #include <math.h>
51067 int
51068 main ()
51069 {
51070  _atan2f(0, 0);
51071   ;
51072   return 0;
51073 }
51074 _ACEOF
51075 rm -f conftest.$ac_objext
51076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51077   (eval $ac_compile) 2>&5
51078   ac_status=$?
51079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51080   (exit $ac_status); } &&
51081          { ac_try='test -s conftest.$ac_objext'
51082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51083   (eval $ac_try) 2>&5
51084   ac_status=$?
51085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51086   (exit $ac_status); }; }; then
51087   glibcxx_cv_func__atan2f_use=yes
51088 else
51089   echo "$as_me: failed program was:" >&5
51090 sed 's/^/| /' conftest.$ac_ext >&5
51091
51092 glibcxx_cv_func__atan2f_use=no
51093 fi
51094 rm -f conftest.$ac_objext conftest.$ac_ext
51095       ac_ext=c
51096 ac_cpp='$CPP $CPPFLAGS'
51097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51100
51101
51102 fi
51103
51104   fi
51105   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
51106 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
51107
51108     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
51109
51110 for ac_func in _atan2f
51111 do
51112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51113 echo "$as_me:$LINENO: checking for $ac_func" >&5
51114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51115 if eval "test \"\${$as_ac_var+set}\" = set"; then
51116   echo $ECHO_N "(cached) $ECHO_C" >&6
51117 else
51118   if test x$gcc_no_link = xyes; then
51119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51121    { (exit 1); exit 1; }; }
51122 fi
51123 cat >conftest.$ac_ext <<_ACEOF
51124 #line $LINENO "configure"
51125 /* confdefs.h.  */
51126 _ACEOF
51127 cat confdefs.h >>conftest.$ac_ext
51128 cat >>conftest.$ac_ext <<_ACEOF
51129 /* end confdefs.h.  */
51130 /* System header to define __stub macros and hopefully few prototypes,
51131     which can conflict with char $ac_func (); below.
51132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51133     <limits.h> exists even on freestanding compilers.  */
51134 #ifdef __STDC__
51135 # include <limits.h>
51136 #else
51137 # include <assert.h>
51138 #endif
51139 /* Override any gcc2 internal prototype to avoid an error.  */
51140 #ifdef __cplusplus
51141 extern "C"
51142 {
51143 #endif
51144 /* We use char because int might match the return type of a gcc2
51145    builtin and then its argument prototype would still apply.  */
51146 char $ac_func ();
51147 /* The GNU C library defines this for functions which it implements
51148     to always fail with ENOSYS.  Some functions are actually named
51149     something starting with __ and the normal name is an alias.  */
51150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51151 choke me
51152 #else
51153 char (*f) () = $ac_func;
51154 #endif
51155 #ifdef __cplusplus
51156 }
51157 #endif
51158
51159 int
51160 main ()
51161 {
51162 return f != $ac_func;
51163   ;
51164   return 0;
51165 }
51166 _ACEOF
51167 rm -f conftest.$ac_objext conftest$ac_exeext
51168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51169   (eval $ac_link) 2>&5
51170   ac_status=$?
51171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172   (exit $ac_status); } &&
51173          { ac_try='test -s conftest$ac_exeext'
51174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51175   (eval $ac_try) 2>&5
51176   ac_status=$?
51177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51178   (exit $ac_status); }; }; then
51179   eval "$as_ac_var=yes"
51180 else
51181   echo "$as_me: failed program was:" >&5
51182 sed 's/^/| /' conftest.$ac_ext >&5
51183
51184 eval "$as_ac_var=no"
51185 fi
51186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51187 fi
51188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51190 if test `eval echo '${'$as_ac_var'}'` = yes; then
51191   cat >>confdefs.h <<_ACEOF
51192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51193 _ACEOF
51194
51195 fi
51196 done
51197
51198     fi
51199   fi
51200
51201
51202
51203   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
51204 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
51205   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
51206     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
51207   echo $ECHO_N "(cached) $ECHO_C" >&6
51208 else
51209
51210
51211
51212       ac_ext=cc
51213 ac_cpp='$CXXCPP $CPPFLAGS'
51214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51217
51218       cat >conftest.$ac_ext <<_ACEOF
51219 #line $LINENO "configure"
51220 /* confdefs.h.  */
51221 _ACEOF
51222 cat confdefs.h >>conftest.$ac_ext
51223 cat >>conftest.$ac_ext <<_ACEOF
51224 /* end confdefs.h.  */
51225 #include <math.h>
51226                       #ifdef HAVE_IEEEFP_H
51227                       #include <ieeefp.h>
51228                       #endif
51229
51230 int
51231 main ()
51232 {
51233  fabsf(0);
51234   ;
51235   return 0;
51236 }
51237 _ACEOF
51238 rm -f conftest.$ac_objext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51240   (eval $ac_compile) 2>&5
51241   ac_status=$?
51242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243   (exit $ac_status); } &&
51244          { ac_try='test -s conftest.$ac_objext'
51245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51246   (eval $ac_try) 2>&5
51247   ac_status=$?
51248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249   (exit $ac_status); }; }; then
51250   glibcxx_cv_func_fabsf_use=yes
51251 else
51252   echo "$as_me: failed program was:" >&5
51253 sed 's/^/| /' conftest.$ac_ext >&5
51254
51255 glibcxx_cv_func_fabsf_use=no
51256 fi
51257 rm -f conftest.$ac_objext conftest.$ac_ext
51258       ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51263
51264
51265 fi
51266
51267   fi
51268   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
51269 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
51270
51271   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
51272
51273 for ac_func in fabsf
51274 do
51275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51276 echo "$as_me:$LINENO: checking for $ac_func" >&5
51277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51278 if eval "test \"\${$as_ac_var+set}\" = set"; then
51279   echo $ECHO_N "(cached) $ECHO_C" >&6
51280 else
51281   if test x$gcc_no_link = xyes; then
51282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51284    { (exit 1); exit 1; }; }
51285 fi
51286 cat >conftest.$ac_ext <<_ACEOF
51287 #line $LINENO "configure"
51288 /* confdefs.h.  */
51289 _ACEOF
51290 cat confdefs.h >>conftest.$ac_ext
51291 cat >>conftest.$ac_ext <<_ACEOF
51292 /* end confdefs.h.  */
51293 /* System header to define __stub macros and hopefully few prototypes,
51294     which can conflict with char $ac_func (); below.
51295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51296     <limits.h> exists even on freestanding compilers.  */
51297 #ifdef __STDC__
51298 # include <limits.h>
51299 #else
51300 # include <assert.h>
51301 #endif
51302 /* Override any gcc2 internal prototype to avoid an error.  */
51303 #ifdef __cplusplus
51304 extern "C"
51305 {
51306 #endif
51307 /* We use char because int might match the return type of a gcc2
51308    builtin and then its argument prototype would still apply.  */
51309 char $ac_func ();
51310 /* The GNU C library defines this for functions which it implements
51311     to always fail with ENOSYS.  Some functions are actually named
51312     something starting with __ and the normal name is an alias.  */
51313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51314 choke me
51315 #else
51316 char (*f) () = $ac_func;
51317 #endif
51318 #ifdef __cplusplus
51319 }
51320 #endif
51321
51322 int
51323 main ()
51324 {
51325 return f != $ac_func;
51326   ;
51327   return 0;
51328 }
51329 _ACEOF
51330 rm -f conftest.$ac_objext conftest$ac_exeext
51331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51332   (eval $ac_link) 2>&5
51333   ac_status=$?
51334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51335   (exit $ac_status); } &&
51336          { ac_try='test -s conftest$ac_exeext'
51337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51338   (eval $ac_try) 2>&5
51339   ac_status=$?
51340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51341   (exit $ac_status); }; }; then
51342   eval "$as_ac_var=yes"
51343 else
51344   echo "$as_me: failed program was:" >&5
51345 sed 's/^/| /' conftest.$ac_ext >&5
51346
51347 eval "$as_ac_var=no"
51348 fi
51349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51350 fi
51351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51353 if test `eval echo '${'$as_ac_var'}'` = yes; then
51354   cat >>confdefs.h <<_ACEOF
51355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51356 _ACEOF
51357
51358 fi
51359 done
51360
51361   else
51362
51363   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
51364 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
51365   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
51366     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
51367   echo $ECHO_N "(cached) $ECHO_C" >&6
51368 else
51369
51370
51371
51372       ac_ext=cc
51373 ac_cpp='$CXXCPP $CPPFLAGS'
51374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51377
51378       cat >conftest.$ac_ext <<_ACEOF
51379 #line $LINENO "configure"
51380 /* confdefs.h.  */
51381 _ACEOF
51382 cat confdefs.h >>conftest.$ac_ext
51383 cat >>conftest.$ac_ext <<_ACEOF
51384 /* end confdefs.h.  */
51385 #include <math.h>
51386                       #ifdef HAVE_IEEEFP_H
51387                       #include <ieeefp.h>
51388                       #endif
51389
51390 int
51391 main ()
51392 {
51393  _fabsf(0);
51394   ;
51395   return 0;
51396 }
51397 _ACEOF
51398 rm -f conftest.$ac_objext
51399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51400   (eval $ac_compile) 2>&5
51401   ac_status=$?
51402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51403   (exit $ac_status); } &&
51404          { ac_try='test -s conftest.$ac_objext'
51405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406   (eval $ac_try) 2>&5
51407   ac_status=$?
51408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409   (exit $ac_status); }; }; then
51410   glibcxx_cv_func__fabsf_use=yes
51411 else
51412   echo "$as_me: failed program was:" >&5
51413 sed 's/^/| /' conftest.$ac_ext >&5
51414
51415 glibcxx_cv_func__fabsf_use=no
51416 fi
51417 rm -f conftest.$ac_objext conftest.$ac_ext
51418       ac_ext=c
51419 ac_cpp='$CPP $CPPFLAGS'
51420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51423
51424
51425 fi
51426
51427   fi
51428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
51429 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
51430
51431     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
51432
51433 for ac_func in _fabsf
51434 do
51435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51436 echo "$as_me:$LINENO: checking for $ac_func" >&5
51437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51438 if eval "test \"\${$as_ac_var+set}\" = set"; then
51439   echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51441   if test x$gcc_no_link = xyes; then
51442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51444    { (exit 1); exit 1; }; }
51445 fi
51446 cat >conftest.$ac_ext <<_ACEOF
51447 #line $LINENO "configure"
51448 /* confdefs.h.  */
51449 _ACEOF
51450 cat confdefs.h >>conftest.$ac_ext
51451 cat >>conftest.$ac_ext <<_ACEOF
51452 /* end confdefs.h.  */
51453 /* System header to define __stub macros and hopefully few prototypes,
51454     which can conflict with char $ac_func (); below.
51455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51456     <limits.h> exists even on freestanding compilers.  */
51457 #ifdef __STDC__
51458 # include <limits.h>
51459 #else
51460 # include <assert.h>
51461 #endif
51462 /* Override any gcc2 internal prototype to avoid an error.  */
51463 #ifdef __cplusplus
51464 extern "C"
51465 {
51466 #endif
51467 /* We use char because int might match the return type of a gcc2
51468    builtin and then its argument prototype would still apply.  */
51469 char $ac_func ();
51470 /* The GNU C library defines this for functions which it implements
51471     to always fail with ENOSYS.  Some functions are actually named
51472     something starting with __ and the normal name is an alias.  */
51473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51474 choke me
51475 #else
51476 char (*f) () = $ac_func;
51477 #endif
51478 #ifdef __cplusplus
51479 }
51480 #endif
51481
51482 int
51483 main ()
51484 {
51485 return f != $ac_func;
51486   ;
51487   return 0;
51488 }
51489 _ACEOF
51490 rm -f conftest.$ac_objext conftest$ac_exeext
51491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51492   (eval $ac_link) 2>&5
51493   ac_status=$?
51494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51495   (exit $ac_status); } &&
51496          { ac_try='test -s conftest$ac_exeext'
51497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51498   (eval $ac_try) 2>&5
51499   ac_status=$?
51500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51501   (exit $ac_status); }; }; then
51502   eval "$as_ac_var=yes"
51503 else
51504   echo "$as_me: failed program was:" >&5
51505 sed 's/^/| /' conftest.$ac_ext >&5
51506
51507 eval "$as_ac_var=no"
51508 fi
51509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51510 fi
51511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51513 if test `eval echo '${'$as_ac_var'}'` = yes; then
51514   cat >>confdefs.h <<_ACEOF
51515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51516 _ACEOF
51517
51518 fi
51519 done
51520
51521     fi
51522   fi
51523
51524
51525
51526   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
51527 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
51528   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
51529     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
51530   echo $ECHO_N "(cached) $ECHO_C" >&6
51531 else
51532
51533
51534
51535       ac_ext=cc
51536 ac_cpp='$CXXCPP $CPPFLAGS'
51537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51540
51541       cat >conftest.$ac_ext <<_ACEOF
51542 #line $LINENO "configure"
51543 /* confdefs.h.  */
51544 _ACEOF
51545 cat confdefs.h >>conftest.$ac_ext
51546 cat >>conftest.$ac_ext <<_ACEOF
51547 /* end confdefs.h.  */
51548 #include <math.h>
51549 int
51550 main ()
51551 {
51552  fmodf(0, 0);
51553   ;
51554   return 0;
51555 }
51556 _ACEOF
51557 rm -f conftest.$ac_objext
51558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51559   (eval $ac_compile) 2>&5
51560   ac_status=$?
51561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51562   (exit $ac_status); } &&
51563          { ac_try='test -s conftest.$ac_objext'
51564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51565   (eval $ac_try) 2>&5
51566   ac_status=$?
51567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51568   (exit $ac_status); }; }; then
51569   glibcxx_cv_func_fmodf_use=yes
51570 else
51571   echo "$as_me: failed program was:" >&5
51572 sed 's/^/| /' conftest.$ac_ext >&5
51573
51574 glibcxx_cv_func_fmodf_use=no
51575 fi
51576 rm -f conftest.$ac_objext conftest.$ac_ext
51577       ac_ext=c
51578 ac_cpp='$CPP $CPPFLAGS'
51579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51582
51583
51584 fi
51585
51586   fi
51587   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
51588 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
51589
51590   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
51591
51592 for ac_func in fmodf
51593 do
51594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51595 echo "$as_me:$LINENO: checking for $ac_func" >&5
51596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51597 if eval "test \"\${$as_ac_var+set}\" = set"; then
51598   echo $ECHO_N "(cached) $ECHO_C" >&6
51599 else
51600   if test x$gcc_no_link = xyes; then
51601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51603    { (exit 1); exit 1; }; }
51604 fi
51605 cat >conftest.$ac_ext <<_ACEOF
51606 #line $LINENO "configure"
51607 /* confdefs.h.  */
51608 _ACEOF
51609 cat confdefs.h >>conftest.$ac_ext
51610 cat >>conftest.$ac_ext <<_ACEOF
51611 /* end confdefs.h.  */
51612 /* System header to define __stub macros and hopefully few prototypes,
51613     which can conflict with char $ac_func (); below.
51614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51615     <limits.h> exists even on freestanding compilers.  */
51616 #ifdef __STDC__
51617 # include <limits.h>
51618 #else
51619 # include <assert.h>
51620 #endif
51621 /* Override any gcc2 internal prototype to avoid an error.  */
51622 #ifdef __cplusplus
51623 extern "C"
51624 {
51625 #endif
51626 /* We use char because int might match the return type of a gcc2
51627    builtin and then its argument prototype would still apply.  */
51628 char $ac_func ();
51629 /* The GNU C library defines this for functions which it implements
51630     to always fail with ENOSYS.  Some functions are actually named
51631     something starting with __ and the normal name is an alias.  */
51632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51633 choke me
51634 #else
51635 char (*f) () = $ac_func;
51636 #endif
51637 #ifdef __cplusplus
51638 }
51639 #endif
51640
51641 int
51642 main ()
51643 {
51644 return f != $ac_func;
51645   ;
51646   return 0;
51647 }
51648 _ACEOF
51649 rm -f conftest.$ac_objext conftest$ac_exeext
51650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51651   (eval $ac_link) 2>&5
51652   ac_status=$?
51653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51654   (exit $ac_status); } &&
51655          { ac_try='test -s conftest$ac_exeext'
51656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51657   (eval $ac_try) 2>&5
51658   ac_status=$?
51659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51660   (exit $ac_status); }; }; then
51661   eval "$as_ac_var=yes"
51662 else
51663   echo "$as_me: failed program was:" >&5
51664 sed 's/^/| /' conftest.$ac_ext >&5
51665
51666 eval "$as_ac_var=no"
51667 fi
51668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51669 fi
51670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51672 if test `eval echo '${'$as_ac_var'}'` = yes; then
51673   cat >>confdefs.h <<_ACEOF
51674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51675 _ACEOF
51676
51677 fi
51678 done
51679
51680   else
51681
51682   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
51683 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
51684   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
51685     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
51686   echo $ECHO_N "(cached) $ECHO_C" >&6
51687 else
51688
51689
51690
51691       ac_ext=cc
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696
51697       cat >conftest.$ac_ext <<_ACEOF
51698 #line $LINENO "configure"
51699 /* confdefs.h.  */
51700 _ACEOF
51701 cat confdefs.h >>conftest.$ac_ext
51702 cat >>conftest.$ac_ext <<_ACEOF
51703 /* end confdefs.h.  */
51704 #include <math.h>
51705 int
51706 main ()
51707 {
51708  _fmodf(0, 0);
51709   ;
51710   return 0;
51711 }
51712 _ACEOF
51713 rm -f conftest.$ac_objext
51714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51715   (eval $ac_compile) 2>&5
51716   ac_status=$?
51717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51718   (exit $ac_status); } &&
51719          { ac_try='test -s conftest.$ac_objext'
51720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51721   (eval $ac_try) 2>&5
51722   ac_status=$?
51723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51724   (exit $ac_status); }; }; then
51725   glibcxx_cv_func__fmodf_use=yes
51726 else
51727   echo "$as_me: failed program was:" >&5
51728 sed 's/^/| /' conftest.$ac_ext >&5
51729
51730 glibcxx_cv_func__fmodf_use=no
51731 fi
51732 rm -f conftest.$ac_objext conftest.$ac_ext
51733       ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51738
51739
51740 fi
51741
51742   fi
51743   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
51744 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
51745
51746     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
51747
51748 for ac_func in _fmodf
51749 do
51750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51751 echo "$as_me:$LINENO: checking for $ac_func" >&5
51752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51753 if eval "test \"\${$as_ac_var+set}\" = set"; then
51754   echo $ECHO_N "(cached) $ECHO_C" >&6
51755 else
51756   if test x$gcc_no_link = xyes; then
51757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51759    { (exit 1); exit 1; }; }
51760 fi
51761 cat >conftest.$ac_ext <<_ACEOF
51762 #line $LINENO "configure"
51763 /* confdefs.h.  */
51764 _ACEOF
51765 cat confdefs.h >>conftest.$ac_ext
51766 cat >>conftest.$ac_ext <<_ACEOF
51767 /* end confdefs.h.  */
51768 /* System header to define __stub macros and hopefully few prototypes,
51769     which can conflict with char $ac_func (); below.
51770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51771     <limits.h> exists even on freestanding compilers.  */
51772 #ifdef __STDC__
51773 # include <limits.h>
51774 #else
51775 # include <assert.h>
51776 #endif
51777 /* Override any gcc2 internal prototype to avoid an error.  */
51778 #ifdef __cplusplus
51779 extern "C"
51780 {
51781 #endif
51782 /* We use char because int might match the return type of a gcc2
51783    builtin and then its argument prototype would still apply.  */
51784 char $ac_func ();
51785 /* The GNU C library defines this for functions which it implements
51786     to always fail with ENOSYS.  Some functions are actually named
51787     something starting with __ and the normal name is an alias.  */
51788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51789 choke me
51790 #else
51791 char (*f) () = $ac_func;
51792 #endif
51793 #ifdef __cplusplus
51794 }
51795 #endif
51796
51797 int
51798 main ()
51799 {
51800 return f != $ac_func;
51801   ;
51802   return 0;
51803 }
51804 _ACEOF
51805 rm -f conftest.$ac_objext conftest$ac_exeext
51806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51807   (eval $ac_link) 2>&5
51808   ac_status=$?
51809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51810   (exit $ac_status); } &&
51811          { ac_try='test -s conftest$ac_exeext'
51812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51813   (eval $ac_try) 2>&5
51814   ac_status=$?
51815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51816   (exit $ac_status); }; }; then
51817   eval "$as_ac_var=yes"
51818 else
51819   echo "$as_me: failed program was:" >&5
51820 sed 's/^/| /' conftest.$ac_ext >&5
51821
51822 eval "$as_ac_var=no"
51823 fi
51824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51825 fi
51826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51828 if test `eval echo '${'$as_ac_var'}'` = yes; then
51829   cat >>confdefs.h <<_ACEOF
51830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51831 _ACEOF
51832
51833 fi
51834 done
51835
51836     fi
51837   fi
51838
51839
51840
51841   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
51842 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
51843   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
51844     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
51845   echo $ECHO_N "(cached) $ECHO_C" >&6
51846 else
51847
51848
51849
51850       ac_ext=cc
51851 ac_cpp='$CXXCPP $CPPFLAGS'
51852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51855
51856       cat >conftest.$ac_ext <<_ACEOF
51857 #line $LINENO "configure"
51858 /* confdefs.h.  */
51859 _ACEOF
51860 cat confdefs.h >>conftest.$ac_ext
51861 cat >>conftest.$ac_ext <<_ACEOF
51862 /* end confdefs.h.  */
51863 #include <math.h>
51864 int
51865 main ()
51866 {
51867  frexpf(0, 0);
51868   ;
51869   return 0;
51870 }
51871 _ACEOF
51872 rm -f conftest.$ac_objext
51873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51874   (eval $ac_compile) 2>&5
51875   ac_status=$?
51876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51877   (exit $ac_status); } &&
51878          { ac_try='test -s conftest.$ac_objext'
51879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51880   (eval $ac_try) 2>&5
51881   ac_status=$?
51882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51883   (exit $ac_status); }; }; then
51884   glibcxx_cv_func_frexpf_use=yes
51885 else
51886   echo "$as_me: failed program was:" >&5
51887 sed 's/^/| /' conftest.$ac_ext >&5
51888
51889 glibcxx_cv_func_frexpf_use=no
51890 fi
51891 rm -f conftest.$ac_objext conftest.$ac_ext
51892       ac_ext=c
51893 ac_cpp='$CPP $CPPFLAGS'
51894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51897
51898
51899 fi
51900
51901   fi
51902   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
51903 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
51904
51905   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
51906
51907 for ac_func in frexpf
51908 do
51909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51910 echo "$as_me:$LINENO: checking for $ac_func" >&5
51911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51912 if eval "test \"\${$as_ac_var+set}\" = set"; then
51913   echo $ECHO_N "(cached) $ECHO_C" >&6
51914 else
51915   if test x$gcc_no_link = xyes; then
51916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51918    { (exit 1); exit 1; }; }
51919 fi
51920 cat >conftest.$ac_ext <<_ACEOF
51921 #line $LINENO "configure"
51922 /* confdefs.h.  */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h.  */
51927 /* System header to define __stub macros and hopefully few prototypes,
51928     which can conflict with char $ac_func (); below.
51929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51930     <limits.h> exists even on freestanding compilers.  */
51931 #ifdef __STDC__
51932 # include <limits.h>
51933 #else
51934 # include <assert.h>
51935 #endif
51936 /* Override any gcc2 internal prototype to avoid an error.  */
51937 #ifdef __cplusplus
51938 extern "C"
51939 {
51940 #endif
51941 /* We use char because int might match the return type of a gcc2
51942    builtin and then its argument prototype would still apply.  */
51943 char $ac_func ();
51944 /* The GNU C library defines this for functions which it implements
51945     to always fail with ENOSYS.  Some functions are actually named
51946     something starting with __ and the normal name is an alias.  */
51947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51948 choke me
51949 #else
51950 char (*f) () = $ac_func;
51951 #endif
51952 #ifdef __cplusplus
51953 }
51954 #endif
51955
51956 int
51957 main ()
51958 {
51959 return f != $ac_func;
51960   ;
51961   return 0;
51962 }
51963 _ACEOF
51964 rm -f conftest.$ac_objext conftest$ac_exeext
51965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51966   (eval $ac_link) 2>&5
51967   ac_status=$?
51968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51969   (exit $ac_status); } &&
51970          { ac_try='test -s conftest$ac_exeext'
51971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51972   (eval $ac_try) 2>&5
51973   ac_status=$?
51974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51975   (exit $ac_status); }; }; then
51976   eval "$as_ac_var=yes"
51977 else
51978   echo "$as_me: failed program was:" >&5
51979 sed 's/^/| /' conftest.$ac_ext >&5
51980
51981 eval "$as_ac_var=no"
51982 fi
51983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51984 fi
51985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51987 if test `eval echo '${'$as_ac_var'}'` = yes; then
51988   cat >>confdefs.h <<_ACEOF
51989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51990 _ACEOF
51991
51992 fi
51993 done
51994
51995   else
51996
51997   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
51998 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
51999   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52000     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
52001   echo $ECHO_N "(cached) $ECHO_C" >&6
52002 else
52003
52004
52005
52006       ac_ext=cc
52007 ac_cpp='$CXXCPP $CPPFLAGS'
52008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52011
52012       cat >conftest.$ac_ext <<_ACEOF
52013 #line $LINENO "configure"
52014 /* confdefs.h.  */
52015 _ACEOF
52016 cat confdefs.h >>conftest.$ac_ext
52017 cat >>conftest.$ac_ext <<_ACEOF
52018 /* end confdefs.h.  */
52019 #include <math.h>
52020 int
52021 main ()
52022 {
52023  _frexpf(0, 0);
52024   ;
52025   return 0;
52026 }
52027 _ACEOF
52028 rm -f conftest.$ac_objext
52029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52030   (eval $ac_compile) 2>&5
52031   ac_status=$?
52032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52033   (exit $ac_status); } &&
52034          { ac_try='test -s conftest.$ac_objext'
52035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52036   (eval $ac_try) 2>&5
52037   ac_status=$?
52038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52039   (exit $ac_status); }; }; then
52040   glibcxx_cv_func__frexpf_use=yes
52041 else
52042   echo "$as_me: failed program was:" >&5
52043 sed 's/^/| /' conftest.$ac_ext >&5
52044
52045 glibcxx_cv_func__frexpf_use=no
52046 fi
52047 rm -f conftest.$ac_objext conftest.$ac_ext
52048       ac_ext=c
52049 ac_cpp='$CPP $CPPFLAGS'
52050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52053
52054
52055 fi
52056
52057   fi
52058   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
52059 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
52060
52061     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52062
52063 for ac_func in _frexpf
52064 do
52065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52066 echo "$as_me:$LINENO: checking for $ac_func" >&5
52067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52068 if eval "test \"\${$as_ac_var+set}\" = set"; then
52069   echo $ECHO_N "(cached) $ECHO_C" >&6
52070 else
52071   if test x$gcc_no_link = xyes; then
52072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52074    { (exit 1); exit 1; }; }
52075 fi
52076 cat >conftest.$ac_ext <<_ACEOF
52077 #line $LINENO "configure"
52078 /* confdefs.h.  */
52079 _ACEOF
52080 cat confdefs.h >>conftest.$ac_ext
52081 cat >>conftest.$ac_ext <<_ACEOF
52082 /* end confdefs.h.  */
52083 /* System header to define __stub macros and hopefully few prototypes,
52084     which can conflict with char $ac_func (); below.
52085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52086     <limits.h> exists even on freestanding compilers.  */
52087 #ifdef __STDC__
52088 # include <limits.h>
52089 #else
52090 # include <assert.h>
52091 #endif
52092 /* Override any gcc2 internal prototype to avoid an error.  */
52093 #ifdef __cplusplus
52094 extern "C"
52095 {
52096 #endif
52097 /* We use char because int might match the return type of a gcc2
52098    builtin and then its argument prototype would still apply.  */
52099 char $ac_func ();
52100 /* The GNU C library defines this for functions which it implements
52101     to always fail with ENOSYS.  Some functions are actually named
52102     something starting with __ and the normal name is an alias.  */
52103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52104 choke me
52105 #else
52106 char (*f) () = $ac_func;
52107 #endif
52108 #ifdef __cplusplus
52109 }
52110 #endif
52111
52112 int
52113 main ()
52114 {
52115 return f != $ac_func;
52116   ;
52117   return 0;
52118 }
52119 _ACEOF
52120 rm -f conftest.$ac_objext conftest$ac_exeext
52121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52122   (eval $ac_link) 2>&5
52123   ac_status=$?
52124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52125   (exit $ac_status); } &&
52126          { ac_try='test -s conftest$ac_exeext'
52127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52128   (eval $ac_try) 2>&5
52129   ac_status=$?
52130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131   (exit $ac_status); }; }; then
52132   eval "$as_ac_var=yes"
52133 else
52134   echo "$as_me: failed program was:" >&5
52135 sed 's/^/| /' conftest.$ac_ext >&5
52136
52137 eval "$as_ac_var=no"
52138 fi
52139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52140 fi
52141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52143 if test `eval echo '${'$as_ac_var'}'` = yes; then
52144   cat >>confdefs.h <<_ACEOF
52145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52146 _ACEOF
52147
52148 fi
52149 done
52150
52151     fi
52152   fi
52153
52154
52155
52156   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
52157 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
52158   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52159     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
52160   echo $ECHO_N "(cached) $ECHO_C" >&6
52161 else
52162
52163
52164
52165       ac_ext=cc
52166 ac_cpp='$CXXCPP $CPPFLAGS'
52167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52170
52171       cat >conftest.$ac_ext <<_ACEOF
52172 #line $LINENO "configure"
52173 /* confdefs.h.  */
52174 _ACEOF
52175 cat confdefs.h >>conftest.$ac_ext
52176 cat >>conftest.$ac_ext <<_ACEOF
52177 /* end confdefs.h.  */
52178 #include <math.h>
52179 int
52180 main ()
52181 {
52182  hypotf(0, 0);
52183   ;
52184   return 0;
52185 }
52186 _ACEOF
52187 rm -f conftest.$ac_objext
52188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52189   (eval $ac_compile) 2>&5
52190   ac_status=$?
52191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52192   (exit $ac_status); } &&
52193          { ac_try='test -s conftest.$ac_objext'
52194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52195   (eval $ac_try) 2>&5
52196   ac_status=$?
52197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52198   (exit $ac_status); }; }; then
52199   glibcxx_cv_func_hypotf_use=yes
52200 else
52201   echo "$as_me: failed program was:" >&5
52202 sed 's/^/| /' conftest.$ac_ext >&5
52203
52204 glibcxx_cv_func_hypotf_use=no
52205 fi
52206 rm -f conftest.$ac_objext conftest.$ac_ext
52207       ac_ext=c
52208 ac_cpp='$CPP $CPPFLAGS'
52209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52212
52213
52214 fi
52215
52216   fi
52217   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
52218 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
52219
52220   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52221
52222 for ac_func in hypotf
52223 do
52224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52225 echo "$as_me:$LINENO: checking for $ac_func" >&5
52226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52227 if eval "test \"\${$as_ac_var+set}\" = set"; then
52228   echo $ECHO_N "(cached) $ECHO_C" >&6
52229 else
52230   if test x$gcc_no_link = xyes; then
52231   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52233    { (exit 1); exit 1; }; }
52234 fi
52235 cat >conftest.$ac_ext <<_ACEOF
52236 #line $LINENO "configure"
52237 /* confdefs.h.  */
52238 _ACEOF
52239 cat confdefs.h >>conftest.$ac_ext
52240 cat >>conftest.$ac_ext <<_ACEOF
52241 /* end confdefs.h.  */
52242 /* System header to define __stub macros and hopefully few prototypes,
52243     which can conflict with char $ac_func (); below.
52244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52245     <limits.h> exists even on freestanding compilers.  */
52246 #ifdef __STDC__
52247 # include <limits.h>
52248 #else
52249 # include <assert.h>
52250 #endif
52251 /* Override any gcc2 internal prototype to avoid an error.  */
52252 #ifdef __cplusplus
52253 extern "C"
52254 {
52255 #endif
52256 /* We use char because int might match the return type of a gcc2
52257    builtin and then its argument prototype would still apply.  */
52258 char $ac_func ();
52259 /* The GNU C library defines this for functions which it implements
52260     to always fail with ENOSYS.  Some functions are actually named
52261     something starting with __ and the normal name is an alias.  */
52262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52263 choke me
52264 #else
52265 char (*f) () = $ac_func;
52266 #endif
52267 #ifdef __cplusplus
52268 }
52269 #endif
52270
52271 int
52272 main ()
52273 {
52274 return f != $ac_func;
52275   ;
52276   return 0;
52277 }
52278 _ACEOF
52279 rm -f conftest.$ac_objext conftest$ac_exeext
52280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52281   (eval $ac_link) 2>&5
52282   ac_status=$?
52283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52284   (exit $ac_status); } &&
52285          { ac_try='test -s conftest$ac_exeext'
52286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52287   (eval $ac_try) 2>&5
52288   ac_status=$?
52289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52290   (exit $ac_status); }; }; then
52291   eval "$as_ac_var=yes"
52292 else
52293   echo "$as_me: failed program was:" >&5
52294 sed 's/^/| /' conftest.$ac_ext >&5
52295
52296 eval "$as_ac_var=no"
52297 fi
52298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52299 fi
52300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52302 if test `eval echo '${'$as_ac_var'}'` = yes; then
52303   cat >>confdefs.h <<_ACEOF
52304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52305 _ACEOF
52306
52307 fi
52308 done
52309
52310   else
52311
52312   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
52313 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
52314   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52315     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
52316   echo $ECHO_N "(cached) $ECHO_C" >&6
52317 else
52318
52319
52320
52321       ac_ext=cc
52322 ac_cpp='$CXXCPP $CPPFLAGS'
52323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52326
52327       cat >conftest.$ac_ext <<_ACEOF
52328 #line $LINENO "configure"
52329 /* confdefs.h.  */
52330 _ACEOF
52331 cat confdefs.h >>conftest.$ac_ext
52332 cat >>conftest.$ac_ext <<_ACEOF
52333 /* end confdefs.h.  */
52334 #include <math.h>
52335 int
52336 main ()
52337 {
52338  _hypotf(0, 0);
52339   ;
52340   return 0;
52341 }
52342 _ACEOF
52343 rm -f conftest.$ac_objext
52344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52345   (eval $ac_compile) 2>&5
52346   ac_status=$?
52347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52348   (exit $ac_status); } &&
52349          { ac_try='test -s conftest.$ac_objext'
52350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52351   (eval $ac_try) 2>&5
52352   ac_status=$?
52353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52354   (exit $ac_status); }; }; then
52355   glibcxx_cv_func__hypotf_use=yes
52356 else
52357   echo "$as_me: failed program was:" >&5
52358 sed 's/^/| /' conftest.$ac_ext >&5
52359
52360 glibcxx_cv_func__hypotf_use=no
52361 fi
52362 rm -f conftest.$ac_objext conftest.$ac_ext
52363       ac_ext=c
52364 ac_cpp='$CPP $CPPFLAGS'
52365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52368
52369
52370 fi
52371
52372   fi
52373   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
52374 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
52375
52376     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52377
52378 for ac_func in _hypotf
52379 do
52380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52381 echo "$as_me:$LINENO: checking for $ac_func" >&5
52382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52383 if eval "test \"\${$as_ac_var+set}\" = set"; then
52384   echo $ECHO_N "(cached) $ECHO_C" >&6
52385 else
52386   if test x$gcc_no_link = xyes; then
52387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52389    { (exit 1); exit 1; }; }
52390 fi
52391 cat >conftest.$ac_ext <<_ACEOF
52392 #line $LINENO "configure"
52393 /* confdefs.h.  */
52394 _ACEOF
52395 cat confdefs.h >>conftest.$ac_ext
52396 cat >>conftest.$ac_ext <<_ACEOF
52397 /* end confdefs.h.  */
52398 /* System header to define __stub macros and hopefully few prototypes,
52399     which can conflict with char $ac_func (); below.
52400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52401     <limits.h> exists even on freestanding compilers.  */
52402 #ifdef __STDC__
52403 # include <limits.h>
52404 #else
52405 # include <assert.h>
52406 #endif
52407 /* Override any gcc2 internal prototype to avoid an error.  */
52408 #ifdef __cplusplus
52409 extern "C"
52410 {
52411 #endif
52412 /* We use char because int might match the return type of a gcc2
52413    builtin and then its argument prototype would still apply.  */
52414 char $ac_func ();
52415 /* The GNU C library defines this for functions which it implements
52416     to always fail with ENOSYS.  Some functions are actually named
52417     something starting with __ and the normal name is an alias.  */
52418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52419 choke me
52420 #else
52421 char (*f) () = $ac_func;
52422 #endif
52423 #ifdef __cplusplus
52424 }
52425 #endif
52426
52427 int
52428 main ()
52429 {
52430 return f != $ac_func;
52431   ;
52432   return 0;
52433 }
52434 _ACEOF
52435 rm -f conftest.$ac_objext conftest$ac_exeext
52436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52437   (eval $ac_link) 2>&5
52438   ac_status=$?
52439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52440   (exit $ac_status); } &&
52441          { ac_try='test -s conftest$ac_exeext'
52442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52443   (eval $ac_try) 2>&5
52444   ac_status=$?
52445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52446   (exit $ac_status); }; }; then
52447   eval "$as_ac_var=yes"
52448 else
52449   echo "$as_me: failed program was:" >&5
52450 sed 's/^/| /' conftest.$ac_ext >&5
52451
52452 eval "$as_ac_var=no"
52453 fi
52454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52455 fi
52456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52458 if test `eval echo '${'$as_ac_var'}'` = yes; then
52459   cat >>confdefs.h <<_ACEOF
52460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52461 _ACEOF
52462
52463 fi
52464 done
52465
52466     fi
52467   fi
52468
52469
52470
52471   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
52472 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
52473   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52474     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
52475   echo $ECHO_N "(cached) $ECHO_C" >&6
52476 else
52477
52478
52479
52480       ac_ext=cc
52481 ac_cpp='$CXXCPP $CPPFLAGS'
52482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52485
52486       cat >conftest.$ac_ext <<_ACEOF
52487 #line $LINENO "configure"
52488 /* confdefs.h.  */
52489 _ACEOF
52490 cat confdefs.h >>conftest.$ac_ext
52491 cat >>conftest.$ac_ext <<_ACEOF
52492 /* end confdefs.h.  */
52493 #include <math.h>
52494 int
52495 main ()
52496 {
52497  ldexpf(0, 0);
52498   ;
52499   return 0;
52500 }
52501 _ACEOF
52502 rm -f conftest.$ac_objext
52503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52504   (eval $ac_compile) 2>&5
52505   ac_status=$?
52506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52507   (exit $ac_status); } &&
52508          { ac_try='test -s conftest.$ac_objext'
52509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52510   (eval $ac_try) 2>&5
52511   ac_status=$?
52512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52513   (exit $ac_status); }; }; then
52514   glibcxx_cv_func_ldexpf_use=yes
52515 else
52516   echo "$as_me: failed program was:" >&5
52517 sed 's/^/| /' conftest.$ac_ext >&5
52518
52519 glibcxx_cv_func_ldexpf_use=no
52520 fi
52521 rm -f conftest.$ac_objext conftest.$ac_ext
52522       ac_ext=c
52523 ac_cpp='$CPP $CPPFLAGS'
52524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52527
52528
52529 fi
52530
52531   fi
52532   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
52533 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
52534
52535   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52536
52537 for ac_func in ldexpf
52538 do
52539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52540 echo "$as_me:$LINENO: checking for $ac_func" >&5
52541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52542 if eval "test \"\${$as_ac_var+set}\" = set"; then
52543   echo $ECHO_N "(cached) $ECHO_C" >&6
52544 else
52545   if test x$gcc_no_link = xyes; then
52546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52548    { (exit 1); exit 1; }; }
52549 fi
52550 cat >conftest.$ac_ext <<_ACEOF
52551 #line $LINENO "configure"
52552 /* confdefs.h.  */
52553 _ACEOF
52554 cat confdefs.h >>conftest.$ac_ext
52555 cat >>conftest.$ac_ext <<_ACEOF
52556 /* end confdefs.h.  */
52557 /* System header to define __stub macros and hopefully few prototypes,
52558     which can conflict with char $ac_func (); below.
52559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52560     <limits.h> exists even on freestanding compilers.  */
52561 #ifdef __STDC__
52562 # include <limits.h>
52563 #else
52564 # include <assert.h>
52565 #endif
52566 /* Override any gcc2 internal prototype to avoid an error.  */
52567 #ifdef __cplusplus
52568 extern "C"
52569 {
52570 #endif
52571 /* We use char because int might match the return type of a gcc2
52572    builtin and then its argument prototype would still apply.  */
52573 char $ac_func ();
52574 /* The GNU C library defines this for functions which it implements
52575     to always fail with ENOSYS.  Some functions are actually named
52576     something starting with __ and the normal name is an alias.  */
52577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52578 choke me
52579 #else
52580 char (*f) () = $ac_func;
52581 #endif
52582 #ifdef __cplusplus
52583 }
52584 #endif
52585
52586 int
52587 main ()
52588 {
52589 return f != $ac_func;
52590   ;
52591   return 0;
52592 }
52593 _ACEOF
52594 rm -f conftest.$ac_objext conftest$ac_exeext
52595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52596   (eval $ac_link) 2>&5
52597   ac_status=$?
52598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599   (exit $ac_status); } &&
52600          { ac_try='test -s conftest$ac_exeext'
52601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52602   (eval $ac_try) 2>&5
52603   ac_status=$?
52604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52605   (exit $ac_status); }; }; then
52606   eval "$as_ac_var=yes"
52607 else
52608   echo "$as_me: failed program was:" >&5
52609 sed 's/^/| /' conftest.$ac_ext >&5
52610
52611 eval "$as_ac_var=no"
52612 fi
52613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52614 fi
52615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52617 if test `eval echo '${'$as_ac_var'}'` = yes; then
52618   cat >>confdefs.h <<_ACEOF
52619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52620 _ACEOF
52621
52622 fi
52623 done
52624
52625   else
52626
52627   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
52628 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
52629   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52630     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
52631   echo $ECHO_N "(cached) $ECHO_C" >&6
52632 else
52633
52634
52635
52636       ac_ext=cc
52637 ac_cpp='$CXXCPP $CPPFLAGS'
52638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52641
52642       cat >conftest.$ac_ext <<_ACEOF
52643 #line $LINENO "configure"
52644 /* confdefs.h.  */
52645 _ACEOF
52646 cat confdefs.h >>conftest.$ac_ext
52647 cat >>conftest.$ac_ext <<_ACEOF
52648 /* end confdefs.h.  */
52649 #include <math.h>
52650 int
52651 main ()
52652 {
52653  _ldexpf(0, 0);
52654   ;
52655   return 0;
52656 }
52657 _ACEOF
52658 rm -f conftest.$ac_objext
52659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52660   (eval $ac_compile) 2>&5
52661   ac_status=$?
52662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52663   (exit $ac_status); } &&
52664          { ac_try='test -s conftest.$ac_objext'
52665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52666   (eval $ac_try) 2>&5
52667   ac_status=$?
52668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52669   (exit $ac_status); }; }; then
52670   glibcxx_cv_func__ldexpf_use=yes
52671 else
52672   echo "$as_me: failed program was:" >&5
52673 sed 's/^/| /' conftest.$ac_ext >&5
52674
52675 glibcxx_cv_func__ldexpf_use=no
52676 fi
52677 rm -f conftest.$ac_objext conftest.$ac_ext
52678       ac_ext=c
52679 ac_cpp='$CPP $CPPFLAGS'
52680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52683
52684
52685 fi
52686
52687   fi
52688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
52689 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
52690
52691     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
52692
52693 for ac_func in _ldexpf
52694 do
52695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52696 echo "$as_me:$LINENO: checking for $ac_func" >&5
52697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52698 if eval "test \"\${$as_ac_var+set}\" = set"; then
52699   echo $ECHO_N "(cached) $ECHO_C" >&6
52700 else
52701   if test x$gcc_no_link = xyes; then
52702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52704    { (exit 1); exit 1; }; }
52705 fi
52706 cat >conftest.$ac_ext <<_ACEOF
52707 #line $LINENO "configure"
52708 /* confdefs.h.  */
52709 _ACEOF
52710 cat confdefs.h >>conftest.$ac_ext
52711 cat >>conftest.$ac_ext <<_ACEOF
52712 /* end confdefs.h.  */
52713 /* System header to define __stub macros and hopefully few prototypes,
52714     which can conflict with char $ac_func (); below.
52715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52716     <limits.h> exists even on freestanding compilers.  */
52717 #ifdef __STDC__
52718 # include <limits.h>
52719 #else
52720 # include <assert.h>
52721 #endif
52722 /* Override any gcc2 internal prototype to avoid an error.  */
52723 #ifdef __cplusplus
52724 extern "C"
52725 {
52726 #endif
52727 /* We use char because int might match the return type of a gcc2
52728    builtin and then its argument prototype would still apply.  */
52729 char $ac_func ();
52730 /* The GNU C library defines this for functions which it implements
52731     to always fail with ENOSYS.  Some functions are actually named
52732     something starting with __ and the normal name is an alias.  */
52733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52734 choke me
52735 #else
52736 char (*f) () = $ac_func;
52737 #endif
52738 #ifdef __cplusplus
52739 }
52740 #endif
52741
52742 int
52743 main ()
52744 {
52745 return f != $ac_func;
52746   ;
52747   return 0;
52748 }
52749 _ACEOF
52750 rm -f conftest.$ac_objext conftest$ac_exeext
52751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52752   (eval $ac_link) 2>&5
52753   ac_status=$?
52754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52755   (exit $ac_status); } &&
52756          { ac_try='test -s conftest$ac_exeext'
52757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52758   (eval $ac_try) 2>&5
52759   ac_status=$?
52760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761   (exit $ac_status); }; }; then
52762   eval "$as_ac_var=yes"
52763 else
52764   echo "$as_me: failed program was:" >&5
52765 sed 's/^/| /' conftest.$ac_ext >&5
52766
52767 eval "$as_ac_var=no"
52768 fi
52769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52770 fi
52771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52773 if test `eval echo '${'$as_ac_var'}'` = yes; then
52774   cat >>confdefs.h <<_ACEOF
52775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52776 _ACEOF
52777
52778 fi
52779 done
52780
52781     fi
52782   fi
52783
52784
52785
52786   echo "$as_me:$LINENO: checking for logf declaration" >&5
52787 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
52788   if test x${glibcxx_cv_func_logf_use+set} != xset; then
52789     if test "${glibcxx_cv_func_logf_use+set}" = set; then
52790   echo $ECHO_N "(cached) $ECHO_C" >&6
52791 else
52792
52793
52794
52795       ac_ext=cc
52796 ac_cpp='$CXXCPP $CPPFLAGS'
52797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52800
52801       cat >conftest.$ac_ext <<_ACEOF
52802 #line $LINENO "configure"
52803 /* confdefs.h.  */
52804 _ACEOF
52805 cat confdefs.h >>conftest.$ac_ext
52806 cat >>conftest.$ac_ext <<_ACEOF
52807 /* end confdefs.h.  */
52808 #include <math.h>
52809                       #ifdef HAVE_IEEEFP_H
52810                       #include <ieeefp.h>
52811                       #endif
52812
52813 int
52814 main ()
52815 {
52816  logf(0);
52817   ;
52818   return 0;
52819 }
52820 _ACEOF
52821 rm -f conftest.$ac_objext
52822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52823   (eval $ac_compile) 2>&5
52824   ac_status=$?
52825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826   (exit $ac_status); } &&
52827          { ac_try='test -s conftest.$ac_objext'
52828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52829   (eval $ac_try) 2>&5
52830   ac_status=$?
52831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52832   (exit $ac_status); }; }; then
52833   glibcxx_cv_func_logf_use=yes
52834 else
52835   echo "$as_me: failed program was:" >&5
52836 sed 's/^/| /' conftest.$ac_ext >&5
52837
52838 glibcxx_cv_func_logf_use=no
52839 fi
52840 rm -f conftest.$ac_objext conftest.$ac_ext
52841       ac_ext=c
52842 ac_cpp='$CPP $CPPFLAGS'
52843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52846
52847
52848 fi
52849
52850   fi
52851   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
52852 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
52853
52854   if test x$glibcxx_cv_func_logf_use = x"yes"; then
52855
52856 for ac_func in logf
52857 do
52858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52859 echo "$as_me:$LINENO: checking for $ac_func" >&5
52860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52861 if eval "test \"\${$as_ac_var+set}\" = set"; then
52862   echo $ECHO_N "(cached) $ECHO_C" >&6
52863 else
52864   if test x$gcc_no_link = xyes; then
52865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52867    { (exit 1); exit 1; }; }
52868 fi
52869 cat >conftest.$ac_ext <<_ACEOF
52870 #line $LINENO "configure"
52871 /* confdefs.h.  */
52872 _ACEOF
52873 cat confdefs.h >>conftest.$ac_ext
52874 cat >>conftest.$ac_ext <<_ACEOF
52875 /* end confdefs.h.  */
52876 /* System header to define __stub macros and hopefully few prototypes,
52877     which can conflict with char $ac_func (); below.
52878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52879     <limits.h> exists even on freestanding compilers.  */
52880 #ifdef __STDC__
52881 # include <limits.h>
52882 #else
52883 # include <assert.h>
52884 #endif
52885 /* Override any gcc2 internal prototype to avoid an error.  */
52886 #ifdef __cplusplus
52887 extern "C"
52888 {
52889 #endif
52890 /* We use char because int might match the return type of a gcc2
52891    builtin and then its argument prototype would still apply.  */
52892 char $ac_func ();
52893 /* The GNU C library defines this for functions which it implements
52894     to always fail with ENOSYS.  Some functions are actually named
52895     something starting with __ and the normal name is an alias.  */
52896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52897 choke me
52898 #else
52899 char (*f) () = $ac_func;
52900 #endif
52901 #ifdef __cplusplus
52902 }
52903 #endif
52904
52905 int
52906 main ()
52907 {
52908 return f != $ac_func;
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>&5
52916   ac_status=$?
52917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52918   (exit $ac_status); } &&
52919          { ac_try='test -s conftest$ac_exeext'
52920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52921   (eval $ac_try) 2>&5
52922   ac_status=$?
52923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52924   (exit $ac_status); }; }; then
52925   eval "$as_ac_var=yes"
52926 else
52927   echo "$as_me: failed program was:" >&5
52928 sed 's/^/| /' conftest.$ac_ext >&5
52929
52930 eval "$as_ac_var=no"
52931 fi
52932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52933 fi
52934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52936 if test `eval echo '${'$as_ac_var'}'` = yes; then
52937   cat >>confdefs.h <<_ACEOF
52938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52939 _ACEOF
52940
52941 fi
52942 done
52943
52944   else
52945
52946   echo "$as_me:$LINENO: checking for _logf declaration" >&5
52947 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
52948   if test x${glibcxx_cv_func__logf_use+set} != xset; then
52949     if test "${glibcxx_cv_func__logf_use+set}" = set; then
52950   echo $ECHO_N "(cached) $ECHO_C" >&6
52951 else
52952
52953
52954
52955       ac_ext=cc
52956 ac_cpp='$CXXCPP $CPPFLAGS'
52957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52960
52961       cat >conftest.$ac_ext <<_ACEOF
52962 #line $LINENO "configure"
52963 /* confdefs.h.  */
52964 _ACEOF
52965 cat confdefs.h >>conftest.$ac_ext
52966 cat >>conftest.$ac_ext <<_ACEOF
52967 /* end confdefs.h.  */
52968 #include <math.h>
52969                       #ifdef HAVE_IEEEFP_H
52970                       #include <ieeefp.h>
52971                       #endif
52972
52973 int
52974 main ()
52975 {
52976  _logf(0);
52977   ;
52978   return 0;
52979 }
52980 _ACEOF
52981 rm -f conftest.$ac_objext
52982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52983   (eval $ac_compile) 2>&5
52984   ac_status=$?
52985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52986   (exit $ac_status); } &&
52987          { ac_try='test -s conftest.$ac_objext'
52988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52989   (eval $ac_try) 2>&5
52990   ac_status=$?
52991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52992   (exit $ac_status); }; }; then
52993   glibcxx_cv_func__logf_use=yes
52994 else
52995   echo "$as_me: failed program was:" >&5
52996 sed 's/^/| /' conftest.$ac_ext >&5
52997
52998 glibcxx_cv_func__logf_use=no
52999 fi
53000 rm -f conftest.$ac_objext conftest.$ac_ext
53001       ac_ext=c
53002 ac_cpp='$CPP $CPPFLAGS'
53003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53006
53007
53008 fi
53009
53010   fi
53011   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
53012 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
53013
53014     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53015
53016 for ac_func in _logf
53017 do
53018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53019 echo "$as_me:$LINENO: checking for $ac_func" >&5
53020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53021 if eval "test \"\${$as_ac_var+set}\" = set"; then
53022   echo $ECHO_N "(cached) $ECHO_C" >&6
53023 else
53024   if test x$gcc_no_link = xyes; then
53025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53027    { (exit 1); exit 1; }; }
53028 fi
53029 cat >conftest.$ac_ext <<_ACEOF
53030 #line $LINENO "configure"
53031 /* confdefs.h.  */
53032 _ACEOF
53033 cat confdefs.h >>conftest.$ac_ext
53034 cat >>conftest.$ac_ext <<_ACEOF
53035 /* end confdefs.h.  */
53036 /* System header to define __stub macros and hopefully few prototypes,
53037     which can conflict with char $ac_func (); below.
53038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53039     <limits.h> exists even on freestanding compilers.  */
53040 #ifdef __STDC__
53041 # include <limits.h>
53042 #else
53043 # include <assert.h>
53044 #endif
53045 /* Override any gcc2 internal prototype to avoid an error.  */
53046 #ifdef __cplusplus
53047 extern "C"
53048 {
53049 #endif
53050 /* We use char because int might match the return type of a gcc2
53051    builtin and then its argument prototype would still apply.  */
53052 char $ac_func ();
53053 /* The GNU C library defines this for functions which it implements
53054     to always fail with ENOSYS.  Some functions are actually named
53055     something starting with __ and the normal name is an alias.  */
53056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53057 choke me
53058 #else
53059 char (*f) () = $ac_func;
53060 #endif
53061 #ifdef __cplusplus
53062 }
53063 #endif
53064
53065 int
53066 main ()
53067 {
53068 return f != $ac_func;
53069   ;
53070   return 0;
53071 }
53072 _ACEOF
53073 rm -f conftest.$ac_objext conftest$ac_exeext
53074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53075   (eval $ac_link) 2>&5
53076   ac_status=$?
53077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53078   (exit $ac_status); } &&
53079          { ac_try='test -s conftest$ac_exeext'
53080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53081   (eval $ac_try) 2>&5
53082   ac_status=$?
53083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53084   (exit $ac_status); }; }; then
53085   eval "$as_ac_var=yes"
53086 else
53087   echo "$as_me: failed program was:" >&5
53088 sed 's/^/| /' conftest.$ac_ext >&5
53089
53090 eval "$as_ac_var=no"
53091 fi
53092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53093 fi
53094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53096 if test `eval echo '${'$as_ac_var'}'` = yes; then
53097   cat >>confdefs.h <<_ACEOF
53098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53099 _ACEOF
53100
53101 fi
53102 done
53103
53104     fi
53105   fi
53106
53107
53108
53109   echo "$as_me:$LINENO: checking for log10f declaration" >&5
53110 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
53111   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53112     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
53113   echo $ECHO_N "(cached) $ECHO_C" >&6
53114 else
53115
53116
53117
53118       ac_ext=cc
53119 ac_cpp='$CXXCPP $CPPFLAGS'
53120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53123
53124       cat >conftest.$ac_ext <<_ACEOF
53125 #line $LINENO "configure"
53126 /* confdefs.h.  */
53127 _ACEOF
53128 cat confdefs.h >>conftest.$ac_ext
53129 cat >>conftest.$ac_ext <<_ACEOF
53130 /* end confdefs.h.  */
53131 #include <math.h>
53132                       #ifdef HAVE_IEEEFP_H
53133                       #include <ieeefp.h>
53134                       #endif
53135
53136 int
53137 main ()
53138 {
53139  log10f(0);
53140   ;
53141   return 0;
53142 }
53143 _ACEOF
53144 rm -f conftest.$ac_objext
53145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53146   (eval $ac_compile) 2>&5
53147   ac_status=$?
53148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53149   (exit $ac_status); } &&
53150          { ac_try='test -s conftest.$ac_objext'
53151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53152   (eval $ac_try) 2>&5
53153   ac_status=$?
53154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53155   (exit $ac_status); }; }; then
53156   glibcxx_cv_func_log10f_use=yes
53157 else
53158   echo "$as_me: failed program was:" >&5
53159 sed 's/^/| /' conftest.$ac_ext >&5
53160
53161 glibcxx_cv_func_log10f_use=no
53162 fi
53163 rm -f conftest.$ac_objext conftest.$ac_ext
53164       ac_ext=c
53165 ac_cpp='$CPP $CPPFLAGS'
53166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53169
53170
53171 fi
53172
53173   fi
53174   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
53175 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
53176
53177   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53178
53179 for ac_func in log10f
53180 do
53181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53182 echo "$as_me:$LINENO: checking for $ac_func" >&5
53183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53184 if eval "test \"\${$as_ac_var+set}\" = set"; then
53185   echo $ECHO_N "(cached) $ECHO_C" >&6
53186 else
53187   if test x$gcc_no_link = xyes; then
53188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53190    { (exit 1); exit 1; }; }
53191 fi
53192 cat >conftest.$ac_ext <<_ACEOF
53193 #line $LINENO "configure"
53194 /* confdefs.h.  */
53195 _ACEOF
53196 cat confdefs.h >>conftest.$ac_ext
53197 cat >>conftest.$ac_ext <<_ACEOF
53198 /* end confdefs.h.  */
53199 /* System header to define __stub macros and hopefully few prototypes,
53200     which can conflict with char $ac_func (); below.
53201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53202     <limits.h> exists even on freestanding compilers.  */
53203 #ifdef __STDC__
53204 # include <limits.h>
53205 #else
53206 # include <assert.h>
53207 #endif
53208 /* Override any gcc2 internal prototype to avoid an error.  */
53209 #ifdef __cplusplus
53210 extern "C"
53211 {
53212 #endif
53213 /* We use char because int might match the return type of a gcc2
53214    builtin and then its argument prototype would still apply.  */
53215 char $ac_func ();
53216 /* The GNU C library defines this for functions which it implements
53217     to always fail with ENOSYS.  Some functions are actually named
53218     something starting with __ and the normal name is an alias.  */
53219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53220 choke me
53221 #else
53222 char (*f) () = $ac_func;
53223 #endif
53224 #ifdef __cplusplus
53225 }
53226 #endif
53227
53228 int
53229 main ()
53230 {
53231 return f != $ac_func;
53232   ;
53233   return 0;
53234 }
53235 _ACEOF
53236 rm -f conftest.$ac_objext conftest$ac_exeext
53237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53238   (eval $ac_link) 2>&5
53239   ac_status=$?
53240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53241   (exit $ac_status); } &&
53242          { ac_try='test -s conftest$ac_exeext'
53243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53244   (eval $ac_try) 2>&5
53245   ac_status=$?
53246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53247   (exit $ac_status); }; }; then
53248   eval "$as_ac_var=yes"
53249 else
53250   echo "$as_me: failed program was:" >&5
53251 sed 's/^/| /' conftest.$ac_ext >&5
53252
53253 eval "$as_ac_var=no"
53254 fi
53255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53256 fi
53257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53259 if test `eval echo '${'$as_ac_var'}'` = yes; then
53260   cat >>confdefs.h <<_ACEOF
53261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53262 _ACEOF
53263
53264 fi
53265 done
53266
53267   else
53268
53269   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
53270 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
53271   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53272     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
53273   echo $ECHO_N "(cached) $ECHO_C" >&6
53274 else
53275
53276
53277
53278       ac_ext=cc
53279 ac_cpp='$CXXCPP $CPPFLAGS'
53280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53283
53284       cat >conftest.$ac_ext <<_ACEOF
53285 #line $LINENO "configure"
53286 /* confdefs.h.  */
53287 _ACEOF
53288 cat confdefs.h >>conftest.$ac_ext
53289 cat >>conftest.$ac_ext <<_ACEOF
53290 /* end confdefs.h.  */
53291 #include <math.h>
53292                       #ifdef HAVE_IEEEFP_H
53293                       #include <ieeefp.h>
53294                       #endif
53295
53296 int
53297 main ()
53298 {
53299  _log10f(0);
53300   ;
53301   return 0;
53302 }
53303 _ACEOF
53304 rm -f conftest.$ac_objext
53305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53306   (eval $ac_compile) 2>&5
53307   ac_status=$?
53308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53309   (exit $ac_status); } &&
53310          { ac_try='test -s conftest.$ac_objext'
53311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53312   (eval $ac_try) 2>&5
53313   ac_status=$?
53314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53315   (exit $ac_status); }; }; then
53316   glibcxx_cv_func__log10f_use=yes
53317 else
53318   echo "$as_me: failed program was:" >&5
53319 sed 's/^/| /' conftest.$ac_ext >&5
53320
53321 glibcxx_cv_func__log10f_use=no
53322 fi
53323 rm -f conftest.$ac_objext conftest.$ac_ext
53324       ac_ext=c
53325 ac_cpp='$CPP $CPPFLAGS'
53326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53329
53330
53331 fi
53332
53333   fi
53334   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
53335 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
53336
53337     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53338
53339 for ac_func in _log10f
53340 do
53341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53342 echo "$as_me:$LINENO: checking for $ac_func" >&5
53343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53344 if eval "test \"\${$as_ac_var+set}\" = set"; then
53345   echo $ECHO_N "(cached) $ECHO_C" >&6
53346 else
53347   if test x$gcc_no_link = xyes; then
53348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53350    { (exit 1); exit 1; }; }
53351 fi
53352 cat >conftest.$ac_ext <<_ACEOF
53353 #line $LINENO "configure"
53354 /* confdefs.h.  */
53355 _ACEOF
53356 cat confdefs.h >>conftest.$ac_ext
53357 cat >>conftest.$ac_ext <<_ACEOF
53358 /* end confdefs.h.  */
53359 /* System header to define __stub macros and hopefully few prototypes,
53360     which can conflict with char $ac_func (); below.
53361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53362     <limits.h> exists even on freestanding compilers.  */
53363 #ifdef __STDC__
53364 # include <limits.h>
53365 #else
53366 # include <assert.h>
53367 #endif
53368 /* Override any gcc2 internal prototype to avoid an error.  */
53369 #ifdef __cplusplus
53370 extern "C"
53371 {
53372 #endif
53373 /* We use char because int might match the return type of a gcc2
53374    builtin and then its argument prototype would still apply.  */
53375 char $ac_func ();
53376 /* The GNU C library defines this for functions which it implements
53377     to always fail with ENOSYS.  Some functions are actually named
53378     something starting with __ and the normal name is an alias.  */
53379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53380 choke me
53381 #else
53382 char (*f) () = $ac_func;
53383 #endif
53384 #ifdef __cplusplus
53385 }
53386 #endif
53387
53388 int
53389 main ()
53390 {
53391 return f != $ac_func;
53392   ;
53393   return 0;
53394 }
53395 _ACEOF
53396 rm -f conftest.$ac_objext conftest$ac_exeext
53397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53398   (eval $ac_link) 2>&5
53399   ac_status=$?
53400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53401   (exit $ac_status); } &&
53402          { ac_try='test -s conftest$ac_exeext'
53403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53404   (eval $ac_try) 2>&5
53405   ac_status=$?
53406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53407   (exit $ac_status); }; }; then
53408   eval "$as_ac_var=yes"
53409 else
53410   echo "$as_me: failed program was:" >&5
53411 sed 's/^/| /' conftest.$ac_ext >&5
53412
53413 eval "$as_ac_var=no"
53414 fi
53415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53416 fi
53417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53419 if test `eval echo '${'$as_ac_var'}'` = yes; then
53420   cat >>confdefs.h <<_ACEOF
53421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53422 _ACEOF
53423
53424 fi
53425 done
53426
53427     fi
53428   fi
53429
53430
53431
53432   echo "$as_me:$LINENO: checking for modff declaration" >&5
53433 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
53434   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53435     if test "${glibcxx_cv_func_modff_use+set}" = set; then
53436   echo $ECHO_N "(cached) $ECHO_C" >&6
53437 else
53438
53439
53440
53441       ac_ext=cc
53442 ac_cpp='$CXXCPP $CPPFLAGS'
53443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53446
53447       cat >conftest.$ac_ext <<_ACEOF
53448 #line $LINENO "configure"
53449 /* confdefs.h.  */
53450 _ACEOF
53451 cat confdefs.h >>conftest.$ac_ext
53452 cat >>conftest.$ac_ext <<_ACEOF
53453 /* end confdefs.h.  */
53454 #include <math.h>
53455 int
53456 main ()
53457 {
53458  modff(0, 0);
53459   ;
53460   return 0;
53461 }
53462 _ACEOF
53463 rm -f conftest.$ac_objext
53464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53465   (eval $ac_compile) 2>&5
53466   ac_status=$?
53467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53468   (exit $ac_status); } &&
53469          { ac_try='test -s conftest.$ac_objext'
53470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53471   (eval $ac_try) 2>&5
53472   ac_status=$?
53473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53474   (exit $ac_status); }; }; then
53475   glibcxx_cv_func_modff_use=yes
53476 else
53477   echo "$as_me: failed program was:" >&5
53478 sed 's/^/| /' conftest.$ac_ext >&5
53479
53480 glibcxx_cv_func_modff_use=no
53481 fi
53482 rm -f conftest.$ac_objext conftest.$ac_ext
53483       ac_ext=c
53484 ac_cpp='$CPP $CPPFLAGS'
53485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53488
53489
53490 fi
53491
53492   fi
53493   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
53494 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
53495
53496   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53497
53498 for ac_func in modff
53499 do
53500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53501 echo "$as_me:$LINENO: checking for $ac_func" >&5
53502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53503 if eval "test \"\${$as_ac_var+set}\" = set"; then
53504   echo $ECHO_N "(cached) $ECHO_C" >&6
53505 else
53506   if test x$gcc_no_link = xyes; then
53507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53509    { (exit 1); exit 1; }; }
53510 fi
53511 cat >conftest.$ac_ext <<_ACEOF
53512 #line $LINENO "configure"
53513 /* confdefs.h.  */
53514 _ACEOF
53515 cat confdefs.h >>conftest.$ac_ext
53516 cat >>conftest.$ac_ext <<_ACEOF
53517 /* end confdefs.h.  */
53518 /* System header to define __stub macros and hopefully few prototypes,
53519     which can conflict with char $ac_func (); below.
53520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53521     <limits.h> exists even on freestanding compilers.  */
53522 #ifdef __STDC__
53523 # include <limits.h>
53524 #else
53525 # include <assert.h>
53526 #endif
53527 /* Override any gcc2 internal prototype to avoid an error.  */
53528 #ifdef __cplusplus
53529 extern "C"
53530 {
53531 #endif
53532 /* We use char because int might match the return type of a gcc2
53533    builtin and then its argument prototype would still apply.  */
53534 char $ac_func ();
53535 /* The GNU C library defines this for functions which it implements
53536     to always fail with ENOSYS.  Some functions are actually named
53537     something starting with __ and the normal name is an alias.  */
53538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53539 choke me
53540 #else
53541 char (*f) () = $ac_func;
53542 #endif
53543 #ifdef __cplusplus
53544 }
53545 #endif
53546
53547 int
53548 main ()
53549 {
53550 return f != $ac_func;
53551   ;
53552   return 0;
53553 }
53554 _ACEOF
53555 rm -f conftest.$ac_objext conftest$ac_exeext
53556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53557   (eval $ac_link) 2>&5
53558   ac_status=$?
53559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53560   (exit $ac_status); } &&
53561          { ac_try='test -s conftest$ac_exeext'
53562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53563   (eval $ac_try) 2>&5
53564   ac_status=$?
53565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53566   (exit $ac_status); }; }; then
53567   eval "$as_ac_var=yes"
53568 else
53569   echo "$as_me: failed program was:" >&5
53570 sed 's/^/| /' conftest.$ac_ext >&5
53571
53572 eval "$as_ac_var=no"
53573 fi
53574 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53575 fi
53576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53578 if test `eval echo '${'$as_ac_var'}'` = yes; then
53579   cat >>confdefs.h <<_ACEOF
53580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53581 _ACEOF
53582
53583 fi
53584 done
53585
53586   else
53587
53588   echo "$as_me:$LINENO: checking for _modff declaration" >&5
53589 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
53590   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53591     if test "${glibcxx_cv_func__modff_use+set}" = set; then
53592   echo $ECHO_N "(cached) $ECHO_C" >&6
53593 else
53594
53595
53596
53597       ac_ext=cc
53598 ac_cpp='$CXXCPP $CPPFLAGS'
53599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53602
53603       cat >conftest.$ac_ext <<_ACEOF
53604 #line $LINENO "configure"
53605 /* confdefs.h.  */
53606 _ACEOF
53607 cat confdefs.h >>conftest.$ac_ext
53608 cat >>conftest.$ac_ext <<_ACEOF
53609 /* end confdefs.h.  */
53610 #include <math.h>
53611 int
53612 main ()
53613 {
53614  _modff(0, 0);
53615   ;
53616   return 0;
53617 }
53618 _ACEOF
53619 rm -f conftest.$ac_objext
53620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53621   (eval $ac_compile) 2>&5
53622   ac_status=$?
53623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53624   (exit $ac_status); } &&
53625          { ac_try='test -s conftest.$ac_objext'
53626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53627   (eval $ac_try) 2>&5
53628   ac_status=$?
53629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53630   (exit $ac_status); }; }; then
53631   glibcxx_cv_func__modff_use=yes
53632 else
53633   echo "$as_me: failed program was:" >&5
53634 sed 's/^/| /' conftest.$ac_ext >&5
53635
53636 glibcxx_cv_func__modff_use=no
53637 fi
53638 rm -f conftest.$ac_objext conftest.$ac_ext
53639       ac_ext=c
53640 ac_cpp='$CPP $CPPFLAGS'
53641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53644
53645
53646 fi
53647
53648   fi
53649   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
53650 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
53651
53652     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53653
53654 for ac_func in _modff
53655 do
53656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53657 echo "$as_me:$LINENO: checking for $ac_func" >&5
53658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53659 if eval "test \"\${$as_ac_var+set}\" = set"; then
53660   echo $ECHO_N "(cached) $ECHO_C" >&6
53661 else
53662   if test x$gcc_no_link = xyes; then
53663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53665    { (exit 1); exit 1; }; }
53666 fi
53667 cat >conftest.$ac_ext <<_ACEOF
53668 #line $LINENO "configure"
53669 /* confdefs.h.  */
53670 _ACEOF
53671 cat confdefs.h >>conftest.$ac_ext
53672 cat >>conftest.$ac_ext <<_ACEOF
53673 /* end confdefs.h.  */
53674 /* System header to define __stub macros and hopefully few prototypes,
53675     which can conflict with char $ac_func (); below.
53676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53677     <limits.h> exists even on freestanding compilers.  */
53678 #ifdef __STDC__
53679 # include <limits.h>
53680 #else
53681 # include <assert.h>
53682 #endif
53683 /* Override any gcc2 internal prototype to avoid an error.  */
53684 #ifdef __cplusplus
53685 extern "C"
53686 {
53687 #endif
53688 /* We use char because int might match the return type of a gcc2
53689    builtin and then its argument prototype would still apply.  */
53690 char $ac_func ();
53691 /* The GNU C library defines this for functions which it implements
53692     to always fail with ENOSYS.  Some functions are actually named
53693     something starting with __ and the normal name is an alias.  */
53694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53695 choke me
53696 #else
53697 char (*f) () = $ac_func;
53698 #endif
53699 #ifdef __cplusplus
53700 }
53701 #endif
53702
53703 int
53704 main ()
53705 {
53706 return f != $ac_func;
53707   ;
53708   return 0;
53709 }
53710 _ACEOF
53711 rm -f conftest.$ac_objext conftest$ac_exeext
53712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53713   (eval $ac_link) 2>&5
53714   ac_status=$?
53715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716   (exit $ac_status); } &&
53717          { ac_try='test -s conftest$ac_exeext'
53718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53719   (eval $ac_try) 2>&5
53720   ac_status=$?
53721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53722   (exit $ac_status); }; }; then
53723   eval "$as_ac_var=yes"
53724 else
53725   echo "$as_me: failed program was:" >&5
53726 sed 's/^/| /' conftest.$ac_ext >&5
53727
53728 eval "$as_ac_var=no"
53729 fi
53730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53731 fi
53732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53734 if test `eval echo '${'$as_ac_var'}'` = yes; then
53735   cat >>confdefs.h <<_ACEOF
53736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53737 _ACEOF
53738
53739 fi
53740 done
53741
53742     fi
53743   fi
53744
53745
53746
53747   echo "$as_me:$LINENO: checking for powf declaration" >&5
53748 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
53749   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53750     if test "${glibcxx_cv_func_powf_use+set}" = set; then
53751   echo $ECHO_N "(cached) $ECHO_C" >&6
53752 else
53753
53754
53755
53756       ac_ext=cc
53757 ac_cpp='$CXXCPP $CPPFLAGS'
53758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53761
53762       cat >conftest.$ac_ext <<_ACEOF
53763 #line $LINENO "configure"
53764 /* confdefs.h.  */
53765 _ACEOF
53766 cat confdefs.h >>conftest.$ac_ext
53767 cat >>conftest.$ac_ext <<_ACEOF
53768 /* end confdefs.h.  */
53769 #include <math.h>
53770 int
53771 main ()
53772 {
53773  powf(0, 0);
53774   ;
53775   return 0;
53776 }
53777 _ACEOF
53778 rm -f conftest.$ac_objext
53779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53780   (eval $ac_compile) 2>&5
53781   ac_status=$?
53782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53783   (exit $ac_status); } &&
53784          { ac_try='test -s conftest.$ac_objext'
53785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53786   (eval $ac_try) 2>&5
53787   ac_status=$?
53788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53789   (exit $ac_status); }; }; then
53790   glibcxx_cv_func_powf_use=yes
53791 else
53792   echo "$as_me: failed program was:" >&5
53793 sed 's/^/| /' conftest.$ac_ext >&5
53794
53795 glibcxx_cv_func_powf_use=no
53796 fi
53797 rm -f conftest.$ac_objext conftest.$ac_ext
53798       ac_ext=c
53799 ac_cpp='$CPP $CPPFLAGS'
53800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53803
53804
53805 fi
53806
53807   fi
53808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
53809 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
53810
53811   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53812
53813 for ac_func in powf
53814 do
53815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53816 echo "$as_me:$LINENO: checking for $ac_func" >&5
53817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53818 if eval "test \"\${$as_ac_var+set}\" = set"; then
53819   echo $ECHO_N "(cached) $ECHO_C" >&6
53820 else
53821   if test x$gcc_no_link = xyes; then
53822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53824    { (exit 1); exit 1; }; }
53825 fi
53826 cat >conftest.$ac_ext <<_ACEOF
53827 #line $LINENO "configure"
53828 /* confdefs.h.  */
53829 _ACEOF
53830 cat confdefs.h >>conftest.$ac_ext
53831 cat >>conftest.$ac_ext <<_ACEOF
53832 /* end confdefs.h.  */
53833 /* System header to define __stub macros and hopefully few prototypes,
53834     which can conflict with char $ac_func (); below.
53835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53836     <limits.h> exists even on freestanding compilers.  */
53837 #ifdef __STDC__
53838 # include <limits.h>
53839 #else
53840 # include <assert.h>
53841 #endif
53842 /* Override any gcc2 internal prototype to avoid an error.  */
53843 #ifdef __cplusplus
53844 extern "C"
53845 {
53846 #endif
53847 /* We use char because int might match the return type of a gcc2
53848    builtin and then its argument prototype would still apply.  */
53849 char $ac_func ();
53850 /* The GNU C library defines this for functions which it implements
53851     to always fail with ENOSYS.  Some functions are actually named
53852     something starting with __ and the normal name is an alias.  */
53853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53854 choke me
53855 #else
53856 char (*f) () = $ac_func;
53857 #endif
53858 #ifdef __cplusplus
53859 }
53860 #endif
53861
53862 int
53863 main ()
53864 {
53865 return f != $ac_func;
53866   ;
53867   return 0;
53868 }
53869 _ACEOF
53870 rm -f conftest.$ac_objext conftest$ac_exeext
53871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53872   (eval $ac_link) 2>&5
53873   ac_status=$?
53874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53875   (exit $ac_status); } &&
53876          { ac_try='test -s conftest$ac_exeext'
53877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53878   (eval $ac_try) 2>&5
53879   ac_status=$?
53880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53881   (exit $ac_status); }; }; then
53882   eval "$as_ac_var=yes"
53883 else
53884   echo "$as_me: failed program was:" >&5
53885 sed 's/^/| /' conftest.$ac_ext >&5
53886
53887 eval "$as_ac_var=no"
53888 fi
53889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53890 fi
53891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53893 if test `eval echo '${'$as_ac_var'}'` = yes; then
53894   cat >>confdefs.h <<_ACEOF
53895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53896 _ACEOF
53897
53898 fi
53899 done
53900
53901   else
53902
53903   echo "$as_me:$LINENO: checking for _powf declaration" >&5
53904 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
53905   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53906     if test "${glibcxx_cv_func__powf_use+set}" = set; then
53907   echo $ECHO_N "(cached) $ECHO_C" >&6
53908 else
53909
53910
53911
53912       ac_ext=cc
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53917
53918       cat >conftest.$ac_ext <<_ACEOF
53919 #line $LINENO "configure"
53920 /* confdefs.h.  */
53921 _ACEOF
53922 cat confdefs.h >>conftest.$ac_ext
53923 cat >>conftest.$ac_ext <<_ACEOF
53924 /* end confdefs.h.  */
53925 #include <math.h>
53926 int
53927 main ()
53928 {
53929  _powf(0, 0);
53930   ;
53931   return 0;
53932 }
53933 _ACEOF
53934 rm -f conftest.$ac_objext
53935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53936   (eval $ac_compile) 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__powf_use=yes
53947 else
53948   echo "$as_me: failed program was:" >&5
53949 sed 's/^/| /' conftest.$ac_ext >&5
53950
53951 glibcxx_cv_func__powf_use=no
53952 fi
53953 rm -f 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__powf_use" >&5
53965 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
53966
53967     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53968
53969 for ac_func in _powf
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 #line $LINENO "configure"
53984 /* confdefs.h.  */
53985 _ACEOF
53986 cat confdefs.h >>conftest.$ac_ext
53987 cat >>conftest.$ac_ext <<_ACEOF
53988 /* end confdefs.h.  */
53989 /* System header to define __stub macros and hopefully few prototypes,
53990     which can conflict with char $ac_func (); below.
53991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53992     <limits.h> exists even on freestanding compilers.  */
53993 #ifdef __STDC__
53994 # include <limits.h>
53995 #else
53996 # include <assert.h>
53997 #endif
53998 /* Override any gcc2 internal prototype to avoid an error.  */
53999 #ifdef __cplusplus
54000 extern "C"
54001 {
54002 #endif
54003 /* We use char because int might match the return type of a gcc2
54004    builtin and then its argument prototype would still apply.  */
54005 char $ac_func ();
54006 /* The GNU C library defines this for functions which it implements
54007     to always fail with ENOSYS.  Some functions are actually named
54008     something starting with __ and the normal name is an alias.  */
54009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54010 choke me
54011 #else
54012 char (*f) () = $ac_func;
54013 #endif
54014 #ifdef __cplusplus
54015 }
54016 #endif
54017
54018 int
54019 main ()
54020 {
54021 return f != $ac_func;
54022   ;
54023   return 0;
54024 }
54025 _ACEOF
54026 rm -f conftest.$ac_objext conftest$ac_exeext
54027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54028   (eval $ac_link) 2>&5
54029   ac_status=$?
54030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54031   (exit $ac_status); } &&
54032          { ac_try='test -s conftest$ac_exeext'
54033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54034   (eval $ac_try) 2>&5
54035   ac_status=$?
54036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54037   (exit $ac_status); }; }; then
54038   eval "$as_ac_var=yes"
54039 else
54040   echo "$as_me: failed program was:" >&5
54041 sed 's/^/| /' conftest.$ac_ext >&5
54042
54043 eval "$as_ac_var=no"
54044 fi
54045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54046 fi
54047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54049 if test `eval echo '${'$as_ac_var'}'` = yes; then
54050   cat >>confdefs.h <<_ACEOF
54051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54052 _ACEOF
54053
54054 fi
54055 done
54056
54057     fi
54058   fi
54059
54060
54061
54062   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
54063 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
54064   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54065     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
54066   echo $ECHO_N "(cached) $ECHO_C" >&6
54067 else
54068
54069
54070
54071       ac_ext=cc
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076
54077       cat >conftest.$ac_ext <<_ACEOF
54078 #line $LINENO "configure"
54079 /* confdefs.h.  */
54080 _ACEOF
54081 cat confdefs.h >>conftest.$ac_ext
54082 cat >>conftest.$ac_ext <<_ACEOF
54083 /* end confdefs.h.  */
54084 #include <math.h>
54085                       #ifdef HAVE_IEEEFP_H
54086                       #include <ieeefp.h>
54087                       #endif
54088
54089 int
54090 main ()
54091 {
54092  sqrtf(0);
54093   ;
54094   return 0;
54095 }
54096 _ACEOF
54097 rm -f conftest.$ac_objext
54098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54099   (eval $ac_compile) 2>&5
54100   ac_status=$?
54101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54102   (exit $ac_status); } &&
54103          { ac_try='test -s conftest.$ac_objext'
54104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54105   (eval $ac_try) 2>&5
54106   ac_status=$?
54107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108   (exit $ac_status); }; }; then
54109   glibcxx_cv_func_sqrtf_use=yes
54110 else
54111   echo "$as_me: failed program was:" >&5
54112 sed 's/^/| /' conftest.$ac_ext >&5
54113
54114 glibcxx_cv_func_sqrtf_use=no
54115 fi
54116 rm -f conftest.$ac_objext conftest.$ac_ext
54117       ac_ext=c
54118 ac_cpp='$CPP $CPPFLAGS'
54119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54122
54123
54124 fi
54125
54126   fi
54127   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
54128 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
54129
54130   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54131
54132 for ac_func in sqrtf
54133 do
54134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54135 echo "$as_me:$LINENO: checking for $ac_func" >&5
54136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54137 if eval "test \"\${$as_ac_var+set}\" = set"; then
54138   echo $ECHO_N "(cached) $ECHO_C" >&6
54139 else
54140   if test x$gcc_no_link = xyes; then
54141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54143    { (exit 1); exit 1; }; }
54144 fi
54145 cat >conftest.$ac_ext <<_ACEOF
54146 #line $LINENO "configure"
54147 /* confdefs.h.  */
54148 _ACEOF
54149 cat confdefs.h >>conftest.$ac_ext
54150 cat >>conftest.$ac_ext <<_ACEOF
54151 /* end confdefs.h.  */
54152 /* System header to define __stub macros and hopefully few prototypes,
54153     which can conflict with char $ac_func (); below.
54154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54155     <limits.h> exists even on freestanding compilers.  */
54156 #ifdef __STDC__
54157 # include <limits.h>
54158 #else
54159 # include <assert.h>
54160 #endif
54161 /* Override any gcc2 internal prototype to avoid an error.  */
54162 #ifdef __cplusplus
54163 extern "C"
54164 {
54165 #endif
54166 /* We use char because int might match the return type of a gcc2
54167    builtin and then its argument prototype would still apply.  */
54168 char $ac_func ();
54169 /* The GNU C library defines this for functions which it implements
54170     to always fail with ENOSYS.  Some functions are actually named
54171     something starting with __ and the normal name is an alias.  */
54172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54173 choke me
54174 #else
54175 char (*f) () = $ac_func;
54176 #endif
54177 #ifdef __cplusplus
54178 }
54179 #endif
54180
54181 int
54182 main ()
54183 {
54184 return f != $ac_func;
54185   ;
54186   return 0;
54187 }
54188 _ACEOF
54189 rm -f conftest.$ac_objext conftest$ac_exeext
54190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54191   (eval $ac_link) 2>&5
54192   ac_status=$?
54193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54194   (exit $ac_status); } &&
54195          { ac_try='test -s conftest$ac_exeext'
54196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54197   (eval $ac_try) 2>&5
54198   ac_status=$?
54199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54200   (exit $ac_status); }; }; then
54201   eval "$as_ac_var=yes"
54202 else
54203   echo "$as_me: failed program was:" >&5
54204 sed 's/^/| /' conftest.$ac_ext >&5
54205
54206 eval "$as_ac_var=no"
54207 fi
54208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54209 fi
54210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54212 if test `eval echo '${'$as_ac_var'}'` = yes; then
54213   cat >>confdefs.h <<_ACEOF
54214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54215 _ACEOF
54216
54217 fi
54218 done
54219
54220   else
54221
54222   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
54223 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
54224   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54225     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
54226   echo $ECHO_N "(cached) $ECHO_C" >&6
54227 else
54228
54229
54230
54231       ac_ext=cc
54232 ac_cpp='$CXXCPP $CPPFLAGS'
54233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54236
54237       cat >conftest.$ac_ext <<_ACEOF
54238 #line $LINENO "configure"
54239 /* confdefs.h.  */
54240 _ACEOF
54241 cat confdefs.h >>conftest.$ac_ext
54242 cat >>conftest.$ac_ext <<_ACEOF
54243 /* end confdefs.h.  */
54244 #include <math.h>
54245                       #ifdef HAVE_IEEEFP_H
54246                       #include <ieeefp.h>
54247                       #endif
54248
54249 int
54250 main ()
54251 {
54252  _sqrtf(0);
54253   ;
54254   return 0;
54255 }
54256 _ACEOF
54257 rm -f conftest.$ac_objext
54258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54259   (eval $ac_compile) 2>&5
54260   ac_status=$?
54261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54262   (exit $ac_status); } &&
54263          { ac_try='test -s conftest.$ac_objext'
54264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54265   (eval $ac_try) 2>&5
54266   ac_status=$?
54267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268   (exit $ac_status); }; }; then
54269   glibcxx_cv_func__sqrtf_use=yes
54270 else
54271   echo "$as_me: failed program was:" >&5
54272 sed 's/^/| /' conftest.$ac_ext >&5
54273
54274 glibcxx_cv_func__sqrtf_use=no
54275 fi
54276 rm -f conftest.$ac_objext conftest.$ac_ext
54277       ac_ext=c
54278 ac_cpp='$CPP $CPPFLAGS'
54279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54282
54283
54284 fi
54285
54286   fi
54287   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
54288 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
54289
54290     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54291
54292 for ac_func in _sqrtf
54293 do
54294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54295 echo "$as_me:$LINENO: checking for $ac_func" >&5
54296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54297 if eval "test \"\${$as_ac_var+set}\" = set"; then
54298   echo $ECHO_N "(cached) $ECHO_C" >&6
54299 else
54300   if test x$gcc_no_link = xyes; then
54301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54303    { (exit 1); exit 1; }; }
54304 fi
54305 cat >conftest.$ac_ext <<_ACEOF
54306 #line $LINENO "configure"
54307 /* confdefs.h.  */
54308 _ACEOF
54309 cat confdefs.h >>conftest.$ac_ext
54310 cat >>conftest.$ac_ext <<_ACEOF
54311 /* end confdefs.h.  */
54312 /* System header to define __stub macros and hopefully few prototypes,
54313     which can conflict with char $ac_func (); below.
54314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54315     <limits.h> exists even on freestanding compilers.  */
54316 #ifdef __STDC__
54317 # include <limits.h>
54318 #else
54319 # include <assert.h>
54320 #endif
54321 /* Override any gcc2 internal prototype to avoid an error.  */
54322 #ifdef __cplusplus
54323 extern "C"
54324 {
54325 #endif
54326 /* We use char because int might match the return type of a gcc2
54327    builtin and then its argument prototype would still apply.  */
54328 char $ac_func ();
54329 /* The GNU C library defines this for functions which it implements
54330     to always fail with ENOSYS.  Some functions are actually named
54331     something starting with __ and the normal name is an alias.  */
54332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54333 choke me
54334 #else
54335 char (*f) () = $ac_func;
54336 #endif
54337 #ifdef __cplusplus
54338 }
54339 #endif
54340
54341 int
54342 main ()
54343 {
54344 return f != $ac_func;
54345   ;
54346   return 0;
54347 }
54348 _ACEOF
54349 rm -f conftest.$ac_objext conftest$ac_exeext
54350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54351   (eval $ac_link) 2>&5
54352   ac_status=$?
54353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354   (exit $ac_status); } &&
54355          { ac_try='test -s conftest$ac_exeext'
54356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54357   (eval $ac_try) 2>&5
54358   ac_status=$?
54359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54360   (exit $ac_status); }; }; then
54361   eval "$as_ac_var=yes"
54362 else
54363   echo "$as_me: failed program was:" >&5
54364 sed 's/^/| /' conftest.$ac_ext >&5
54365
54366 eval "$as_ac_var=no"
54367 fi
54368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54369 fi
54370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54372 if test `eval echo '${'$as_ac_var'}'` = yes; then
54373   cat >>confdefs.h <<_ACEOF
54374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54375 _ACEOF
54376
54377 fi
54378 done
54379
54380     fi
54381   fi
54382
54383
54384
54385   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
54386 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
54387   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54388     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
54389   echo $ECHO_N "(cached) $ECHO_C" >&6
54390 else
54391
54392
54393
54394       ac_ext=cc
54395 ac_cpp='$CXXCPP $CPPFLAGS'
54396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54399
54400       cat >conftest.$ac_ext <<_ACEOF
54401 #line $LINENO "configure"
54402 /* confdefs.h.  */
54403 _ACEOF
54404 cat confdefs.h >>conftest.$ac_ext
54405 cat >>conftest.$ac_ext <<_ACEOF
54406 /* end confdefs.h.  */
54407 #include <math.h>
54408 int
54409 main ()
54410 {
54411  sincosf(0, 0, 0);
54412   ;
54413   return 0;
54414 }
54415 _ACEOF
54416 rm -f conftest.$ac_objext
54417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54418   (eval $ac_compile) 2>&5
54419   ac_status=$?
54420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54421   (exit $ac_status); } &&
54422          { ac_try='test -s conftest.$ac_objext'
54423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54424   (eval $ac_try) 2>&5
54425   ac_status=$?
54426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54427   (exit $ac_status); }; }; then
54428   glibcxx_cv_func_sincosf_use=yes
54429 else
54430   echo "$as_me: failed program was:" >&5
54431 sed 's/^/| /' conftest.$ac_ext >&5
54432
54433 glibcxx_cv_func_sincosf_use=no
54434 fi
54435 rm -f conftest.$ac_objext conftest.$ac_ext
54436       ac_ext=c
54437 ac_cpp='$CPP $CPPFLAGS'
54438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54441
54442
54443 fi
54444
54445   fi
54446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
54447 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
54448
54449   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54450
54451 for ac_func in sincosf
54452 do
54453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54454 echo "$as_me:$LINENO: checking for $ac_func" >&5
54455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54456 if eval "test \"\${$as_ac_var+set}\" = set"; then
54457   echo $ECHO_N "(cached) $ECHO_C" >&6
54458 else
54459   if test x$gcc_no_link = xyes; then
54460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54462    { (exit 1); exit 1; }; }
54463 fi
54464 cat >conftest.$ac_ext <<_ACEOF
54465 #line $LINENO "configure"
54466 /* confdefs.h.  */
54467 _ACEOF
54468 cat confdefs.h >>conftest.$ac_ext
54469 cat >>conftest.$ac_ext <<_ACEOF
54470 /* end confdefs.h.  */
54471 /* System header to define __stub macros and hopefully few prototypes,
54472     which can conflict with char $ac_func (); below.
54473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54474     <limits.h> exists even on freestanding compilers.  */
54475 #ifdef __STDC__
54476 # include <limits.h>
54477 #else
54478 # include <assert.h>
54479 #endif
54480 /* Override any gcc2 internal prototype to avoid an error.  */
54481 #ifdef __cplusplus
54482 extern "C"
54483 {
54484 #endif
54485 /* We use char because int might match the return type of a gcc2
54486    builtin and then its argument prototype would still apply.  */
54487 char $ac_func ();
54488 /* The GNU C library defines this for functions which it implements
54489     to always fail with ENOSYS.  Some functions are actually named
54490     something starting with __ and the normal name is an alias.  */
54491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54492 choke me
54493 #else
54494 char (*f) () = $ac_func;
54495 #endif
54496 #ifdef __cplusplus
54497 }
54498 #endif
54499
54500 int
54501 main ()
54502 {
54503 return f != $ac_func;
54504   ;
54505   return 0;
54506 }
54507 _ACEOF
54508 rm -f conftest.$ac_objext conftest$ac_exeext
54509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54510   (eval $ac_link) 2>&5
54511   ac_status=$?
54512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54513   (exit $ac_status); } &&
54514          { ac_try='test -s conftest$ac_exeext'
54515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54516   (eval $ac_try) 2>&5
54517   ac_status=$?
54518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54519   (exit $ac_status); }; }; then
54520   eval "$as_ac_var=yes"
54521 else
54522   echo "$as_me: failed program was:" >&5
54523 sed 's/^/| /' conftest.$ac_ext >&5
54524
54525 eval "$as_ac_var=no"
54526 fi
54527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54528 fi
54529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54531 if test `eval echo '${'$as_ac_var'}'` = yes; then
54532   cat >>confdefs.h <<_ACEOF
54533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54534 _ACEOF
54535
54536 fi
54537 done
54538
54539   else
54540
54541   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
54542 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
54543   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54544     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
54545   echo $ECHO_N "(cached) $ECHO_C" >&6
54546 else
54547
54548
54549
54550       ac_ext=cc
54551 ac_cpp='$CXXCPP $CPPFLAGS'
54552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54555
54556       cat >conftest.$ac_ext <<_ACEOF
54557 #line $LINENO "configure"
54558 /* confdefs.h.  */
54559 _ACEOF
54560 cat confdefs.h >>conftest.$ac_ext
54561 cat >>conftest.$ac_ext <<_ACEOF
54562 /* end confdefs.h.  */
54563 #include <math.h>
54564 int
54565 main ()
54566 {
54567  _sincosf(0, 0, 0);
54568   ;
54569   return 0;
54570 }
54571 _ACEOF
54572 rm -f conftest.$ac_objext
54573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54574   (eval $ac_compile) 2>&5
54575   ac_status=$?
54576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54577   (exit $ac_status); } &&
54578          { ac_try='test -s conftest.$ac_objext'
54579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54580   (eval $ac_try) 2>&5
54581   ac_status=$?
54582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54583   (exit $ac_status); }; }; then
54584   glibcxx_cv_func__sincosf_use=yes
54585 else
54586   echo "$as_me: failed program was:" >&5
54587 sed 's/^/| /' conftest.$ac_ext >&5
54588
54589 glibcxx_cv_func__sincosf_use=no
54590 fi
54591 rm -f conftest.$ac_objext conftest.$ac_ext
54592       ac_ext=c
54593 ac_cpp='$CPP $CPPFLAGS'
54594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54597
54598
54599 fi
54600
54601   fi
54602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
54603 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
54604
54605     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54606
54607 for ac_func in _sincosf
54608 do
54609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54610 echo "$as_me:$LINENO: checking for $ac_func" >&5
54611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54612 if eval "test \"\${$as_ac_var+set}\" = set"; then
54613   echo $ECHO_N "(cached) $ECHO_C" >&6
54614 else
54615   if test x$gcc_no_link = xyes; then
54616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54618    { (exit 1); exit 1; }; }
54619 fi
54620 cat >conftest.$ac_ext <<_ACEOF
54621 #line $LINENO "configure"
54622 /* confdefs.h.  */
54623 _ACEOF
54624 cat confdefs.h >>conftest.$ac_ext
54625 cat >>conftest.$ac_ext <<_ACEOF
54626 /* end confdefs.h.  */
54627 /* System header to define __stub macros and hopefully few prototypes,
54628     which can conflict with char $ac_func (); below.
54629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54630     <limits.h> exists even on freestanding compilers.  */
54631 #ifdef __STDC__
54632 # include <limits.h>
54633 #else
54634 # include <assert.h>
54635 #endif
54636 /* Override any gcc2 internal prototype to avoid an error.  */
54637 #ifdef __cplusplus
54638 extern "C"
54639 {
54640 #endif
54641 /* We use char because int might match the return type of a gcc2
54642    builtin and then its argument prototype would still apply.  */
54643 char $ac_func ();
54644 /* The GNU C library defines this for functions which it implements
54645     to always fail with ENOSYS.  Some functions are actually named
54646     something starting with __ and the normal name is an alias.  */
54647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54648 choke me
54649 #else
54650 char (*f) () = $ac_func;
54651 #endif
54652 #ifdef __cplusplus
54653 }
54654 #endif
54655
54656 int
54657 main ()
54658 {
54659 return f != $ac_func;
54660   ;
54661   return 0;
54662 }
54663 _ACEOF
54664 rm -f conftest.$ac_objext conftest$ac_exeext
54665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54666   (eval $ac_link) 2>&5
54667   ac_status=$?
54668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54669   (exit $ac_status); } &&
54670          { ac_try='test -s conftest$ac_exeext'
54671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54672   (eval $ac_try) 2>&5
54673   ac_status=$?
54674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675   (exit $ac_status); }; }; then
54676   eval "$as_ac_var=yes"
54677 else
54678   echo "$as_me: failed program was:" >&5
54679 sed 's/^/| /' conftest.$ac_ext >&5
54680
54681 eval "$as_ac_var=no"
54682 fi
54683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54684 fi
54685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54687 if test `eval echo '${'$as_ac_var'}'` = yes; then
54688   cat >>confdefs.h <<_ACEOF
54689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54690 _ACEOF
54691
54692 fi
54693 done
54694
54695     fi
54696   fi
54697
54698
54699
54700   echo "$as_me:$LINENO: checking for finitef declaration" >&5
54701 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
54702   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54703     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
54704   echo $ECHO_N "(cached) $ECHO_C" >&6
54705 else
54706
54707
54708
54709       ac_ext=cc
54710 ac_cpp='$CXXCPP $CPPFLAGS'
54711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54714
54715       cat >conftest.$ac_ext <<_ACEOF
54716 #line $LINENO "configure"
54717 /* confdefs.h.  */
54718 _ACEOF
54719 cat confdefs.h >>conftest.$ac_ext
54720 cat >>conftest.$ac_ext <<_ACEOF
54721 /* end confdefs.h.  */
54722 #include <math.h>
54723                       #ifdef HAVE_IEEEFP_H
54724                       #include <ieeefp.h>
54725                       #endif
54726
54727 int
54728 main ()
54729 {
54730  finitef(0);
54731   ;
54732   return 0;
54733 }
54734 _ACEOF
54735 rm -f conftest.$ac_objext
54736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54737   (eval $ac_compile) 2>&5
54738   ac_status=$?
54739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54740   (exit $ac_status); } &&
54741          { ac_try='test -s conftest.$ac_objext'
54742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54743   (eval $ac_try) 2>&5
54744   ac_status=$?
54745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54746   (exit $ac_status); }; }; then
54747   glibcxx_cv_func_finitef_use=yes
54748 else
54749   echo "$as_me: failed program was:" >&5
54750 sed 's/^/| /' conftest.$ac_ext >&5
54751
54752 glibcxx_cv_func_finitef_use=no
54753 fi
54754 rm -f conftest.$ac_objext conftest.$ac_ext
54755       ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54760
54761
54762 fi
54763
54764   fi
54765   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
54766 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
54767
54768   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54769
54770 for ac_func in finitef
54771 do
54772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54773 echo "$as_me:$LINENO: checking for $ac_func" >&5
54774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54775 if eval "test \"\${$as_ac_var+set}\" = set"; then
54776   echo $ECHO_N "(cached) $ECHO_C" >&6
54777 else
54778   if test x$gcc_no_link = xyes; then
54779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54781    { (exit 1); exit 1; }; }
54782 fi
54783 cat >conftest.$ac_ext <<_ACEOF
54784 #line $LINENO "configure"
54785 /* confdefs.h.  */
54786 _ACEOF
54787 cat confdefs.h >>conftest.$ac_ext
54788 cat >>conftest.$ac_ext <<_ACEOF
54789 /* end confdefs.h.  */
54790 /* System header to define __stub macros and hopefully few prototypes,
54791     which can conflict with char $ac_func (); below.
54792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54793     <limits.h> exists even on freestanding compilers.  */
54794 #ifdef __STDC__
54795 # include <limits.h>
54796 #else
54797 # include <assert.h>
54798 #endif
54799 /* Override any gcc2 internal prototype to avoid an error.  */
54800 #ifdef __cplusplus
54801 extern "C"
54802 {
54803 #endif
54804 /* We use char because int might match the return type of a gcc2
54805    builtin and then its argument prototype would still apply.  */
54806 char $ac_func ();
54807 /* The GNU C library defines this for functions which it implements
54808     to always fail with ENOSYS.  Some functions are actually named
54809     something starting with __ and the normal name is an alias.  */
54810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54811 choke me
54812 #else
54813 char (*f) () = $ac_func;
54814 #endif
54815 #ifdef __cplusplus
54816 }
54817 #endif
54818
54819 int
54820 main ()
54821 {
54822 return f != $ac_func;
54823   ;
54824   return 0;
54825 }
54826 _ACEOF
54827 rm -f conftest.$ac_objext conftest$ac_exeext
54828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54829   (eval $ac_link) 2>&5
54830   ac_status=$?
54831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54832   (exit $ac_status); } &&
54833          { ac_try='test -s conftest$ac_exeext'
54834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54835   (eval $ac_try) 2>&5
54836   ac_status=$?
54837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838   (exit $ac_status); }; }; then
54839   eval "$as_ac_var=yes"
54840 else
54841   echo "$as_me: failed program was:" >&5
54842 sed 's/^/| /' conftest.$ac_ext >&5
54843
54844 eval "$as_ac_var=no"
54845 fi
54846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54847 fi
54848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54850 if test `eval echo '${'$as_ac_var'}'` = yes; then
54851   cat >>confdefs.h <<_ACEOF
54852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54853 _ACEOF
54854
54855 fi
54856 done
54857
54858   else
54859
54860   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
54861 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
54862   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54863     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
54864   echo $ECHO_N "(cached) $ECHO_C" >&6
54865 else
54866
54867
54868
54869       ac_ext=cc
54870 ac_cpp='$CXXCPP $CPPFLAGS'
54871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54874
54875       cat >conftest.$ac_ext <<_ACEOF
54876 #line $LINENO "configure"
54877 /* confdefs.h.  */
54878 _ACEOF
54879 cat confdefs.h >>conftest.$ac_ext
54880 cat >>conftest.$ac_ext <<_ACEOF
54881 /* end confdefs.h.  */
54882 #include <math.h>
54883                       #ifdef HAVE_IEEEFP_H
54884                       #include <ieeefp.h>
54885                       #endif
54886
54887 int
54888 main ()
54889 {
54890  _finitef(0);
54891   ;
54892   return 0;
54893 }
54894 _ACEOF
54895 rm -f conftest.$ac_objext
54896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54897   (eval $ac_compile) 2>&5
54898   ac_status=$?
54899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54900   (exit $ac_status); } &&
54901          { ac_try='test -s conftest.$ac_objext'
54902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54903   (eval $ac_try) 2>&5
54904   ac_status=$?
54905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54906   (exit $ac_status); }; }; then
54907   glibcxx_cv_func__finitef_use=yes
54908 else
54909   echo "$as_me: failed program was:" >&5
54910 sed 's/^/| /' conftest.$ac_ext >&5
54911
54912 glibcxx_cv_func__finitef_use=no
54913 fi
54914 rm -f conftest.$ac_objext conftest.$ac_ext
54915       ac_ext=c
54916 ac_cpp='$CPP $CPPFLAGS'
54917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54920
54921
54922 fi
54923
54924   fi
54925   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54926 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54927
54928     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54929
54930 for ac_func in _finitef
54931 do
54932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54933 echo "$as_me:$LINENO: checking for $ac_func" >&5
54934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54935 if eval "test \"\${$as_ac_var+set}\" = set"; then
54936   echo $ECHO_N "(cached) $ECHO_C" >&6
54937 else
54938   if test x$gcc_no_link = xyes; then
54939   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54941    { (exit 1); exit 1; }; }
54942 fi
54943 cat >conftest.$ac_ext <<_ACEOF
54944 #line $LINENO "configure"
54945 /* confdefs.h.  */
54946 _ACEOF
54947 cat confdefs.h >>conftest.$ac_ext
54948 cat >>conftest.$ac_ext <<_ACEOF
54949 /* end confdefs.h.  */
54950 /* System header to define __stub macros and hopefully few prototypes,
54951     which can conflict with char $ac_func (); below.
54952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54953     <limits.h> exists even on freestanding compilers.  */
54954 #ifdef __STDC__
54955 # include <limits.h>
54956 #else
54957 # include <assert.h>
54958 #endif
54959 /* Override any gcc2 internal prototype to avoid an error.  */
54960 #ifdef __cplusplus
54961 extern "C"
54962 {
54963 #endif
54964 /* We use char because int might match the return type of a gcc2
54965    builtin and then its argument prototype would still apply.  */
54966 char $ac_func ();
54967 /* The GNU C library defines this for functions which it implements
54968     to always fail with ENOSYS.  Some functions are actually named
54969     something starting with __ and the normal name is an alias.  */
54970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54971 choke me
54972 #else
54973 char (*f) () = $ac_func;
54974 #endif
54975 #ifdef __cplusplus
54976 }
54977 #endif
54978
54979 int
54980 main ()
54981 {
54982 return f != $ac_func;
54983   ;
54984   return 0;
54985 }
54986 _ACEOF
54987 rm -f conftest.$ac_objext conftest$ac_exeext
54988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54989   (eval $ac_link) 2>&5
54990   ac_status=$?
54991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992   (exit $ac_status); } &&
54993          { ac_try='test -s conftest$ac_exeext'
54994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54995   (eval $ac_try) 2>&5
54996   ac_status=$?
54997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54998   (exit $ac_status); }; }; then
54999   eval "$as_ac_var=yes"
55000 else
55001   echo "$as_me: failed program was:" >&5
55002 sed 's/^/| /' conftest.$ac_ext >&5
55003
55004 eval "$as_ac_var=no"
55005 fi
55006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55007 fi
55008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55010 if test `eval echo '${'$as_ac_var'}'` = yes; then
55011   cat >>confdefs.h <<_ACEOF
55012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55013 _ACEOF
55014
55015 fi
55016 done
55017
55018     fi
55019   fi
55020
55021
55022
55023   echo "$as_me:$LINENO: checking for long double trig functions" >&5
55024 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
55025   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
55026   echo $ECHO_N "(cached) $ECHO_C" >&6
55027 else
55028
55029
55030
55031     ac_ext=cc
55032 ac_cpp='$CXXCPP $CPPFLAGS'
55033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55036
55037     cat >conftest.$ac_ext <<_ACEOF
55038 #line $LINENO "configure"
55039 /* confdefs.h.  */
55040 _ACEOF
55041 cat confdefs.h >>conftest.$ac_ext
55042 cat >>conftest.$ac_ext <<_ACEOF
55043 /* end confdefs.h.  */
55044 #include <math.h>
55045 int
55046 main ()
55047 {
55048  `for x in acosl asinl atanl \
55049                                           cosl sinl tanl \
55050                                           coshl sinhl tanhl; do echo "$x (0);"; done`
55051   ;
55052   return 0;
55053 }
55054 _ACEOF
55055 rm -f conftest.$ac_objext
55056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55057   (eval $ac_compile) 2>&5
55058   ac_status=$?
55059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55060   (exit $ac_status); } &&
55061          { ac_try='test -s conftest.$ac_objext'
55062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55063   (eval $ac_try) 2>&5
55064   ac_status=$?
55065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55066   (exit $ac_status); }; }; then
55067   glibcxx_cv_func_long_double_trig_use=yes
55068 else
55069   echo "$as_me: failed program was:" >&5
55070 sed 's/^/| /' conftest.$ac_ext >&5
55071
55072 glibcxx_cv_func_long_double_trig_use=no
55073 fi
55074 rm -f conftest.$ac_objext conftest.$ac_ext
55075     ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55080
55081 fi
55082
55083   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
55084 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
55085   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55086
55087
55088
55089
55090
55091
55092
55093
55094
55095 for ac_func in acosl asinl atanl \
55096                                           cosl sinl tanl \
55097                                           coshl sinhl tanhl
55098 do
55099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55100 echo "$as_me:$LINENO: checking for $ac_func" >&5
55101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55102 if eval "test \"\${$as_ac_var+set}\" = set"; then
55103   echo $ECHO_N "(cached) $ECHO_C" >&6
55104 else
55105   if test x$gcc_no_link = xyes; then
55106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55108    { (exit 1); exit 1; }; }
55109 fi
55110 cat >conftest.$ac_ext <<_ACEOF
55111 #line $LINENO "configure"
55112 /* confdefs.h.  */
55113 _ACEOF
55114 cat confdefs.h >>conftest.$ac_ext
55115 cat >>conftest.$ac_ext <<_ACEOF
55116 /* end confdefs.h.  */
55117 /* System header to define __stub macros and hopefully few prototypes,
55118     which can conflict with char $ac_func (); below.
55119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55120     <limits.h> exists even on freestanding compilers.  */
55121 #ifdef __STDC__
55122 # include <limits.h>
55123 #else
55124 # include <assert.h>
55125 #endif
55126 /* Override any gcc2 internal prototype to avoid an error.  */
55127 #ifdef __cplusplus
55128 extern "C"
55129 {
55130 #endif
55131 /* We use char because int might match the return type of a gcc2
55132    builtin and then its argument prototype would still apply.  */
55133 char $ac_func ();
55134 /* The GNU C library defines this for functions which it implements
55135     to always fail with ENOSYS.  Some functions are actually named
55136     something starting with __ and the normal name is an alias.  */
55137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55138 choke me
55139 #else
55140 char (*f) () = $ac_func;
55141 #endif
55142 #ifdef __cplusplus
55143 }
55144 #endif
55145
55146 int
55147 main ()
55148 {
55149 return f != $ac_func;
55150   ;
55151   return 0;
55152 }
55153 _ACEOF
55154 rm -f conftest.$ac_objext conftest$ac_exeext
55155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55156   (eval $ac_link) 2>&5
55157   ac_status=$?
55158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55159   (exit $ac_status); } &&
55160          { ac_try='test -s conftest$ac_exeext'
55161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55162   (eval $ac_try) 2>&5
55163   ac_status=$?
55164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55165   (exit $ac_status); }; }; then
55166   eval "$as_ac_var=yes"
55167 else
55168   echo "$as_me: failed program was:" >&5
55169 sed 's/^/| /' conftest.$ac_ext >&5
55170
55171 eval "$as_ac_var=no"
55172 fi
55173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55174 fi
55175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55177 if test `eval echo '${'$as_ac_var'}'` = yes; then
55178   cat >>confdefs.h <<_ACEOF
55179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55180 _ACEOF
55181
55182 fi
55183 done
55184
55185   fi
55186
55187
55188   echo "$as_me:$LINENO: checking for long double round functions" >&5
55189 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
55190   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
55191   echo $ECHO_N "(cached) $ECHO_C" >&6
55192 else
55193
55194
55195
55196     ac_ext=cc
55197 ac_cpp='$CXXCPP $CPPFLAGS'
55198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55201
55202     cat >conftest.$ac_ext <<_ACEOF
55203 #line $LINENO "configure"
55204 /* confdefs.h.  */
55205 _ACEOF
55206 cat confdefs.h >>conftest.$ac_ext
55207 cat >>conftest.$ac_ext <<_ACEOF
55208 /* end confdefs.h.  */
55209 #include <math.h>
55210 int
55211 main ()
55212 {
55213  `for x in ceill floorl; do echo "$x (0);"; done`
55214   ;
55215   return 0;
55216 }
55217 _ACEOF
55218 rm -f conftest.$ac_objext
55219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55220   (eval $ac_compile) 2>&5
55221   ac_status=$?
55222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55223   (exit $ac_status); } &&
55224          { ac_try='test -s conftest.$ac_objext'
55225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55226   (eval $ac_try) 2>&5
55227   ac_status=$?
55228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55229   (exit $ac_status); }; }; then
55230   glibcxx_cv_func_long_double_round_use=yes
55231 else
55232   echo "$as_me: failed program was:" >&5
55233 sed 's/^/| /' conftest.$ac_ext >&5
55234
55235 glibcxx_cv_func_long_double_round_use=no
55236 fi
55237 rm -f conftest.$ac_objext conftest.$ac_ext
55238     ac_ext=c
55239 ac_cpp='$CPP $CPPFLAGS'
55240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55243
55244 fi
55245
55246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
55247 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
55248   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55249
55250
55251 for ac_func in ceill floorl
55252 do
55253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55254 echo "$as_me:$LINENO: checking for $ac_func" >&5
55255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55256 if eval "test \"\${$as_ac_var+set}\" = set"; then
55257   echo $ECHO_N "(cached) $ECHO_C" >&6
55258 else
55259   if test x$gcc_no_link = xyes; then
55260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55262    { (exit 1); exit 1; }; }
55263 fi
55264 cat >conftest.$ac_ext <<_ACEOF
55265 #line $LINENO "configure"
55266 /* confdefs.h.  */
55267 _ACEOF
55268 cat confdefs.h >>conftest.$ac_ext
55269 cat >>conftest.$ac_ext <<_ACEOF
55270 /* end confdefs.h.  */
55271 /* System header to define __stub macros and hopefully few prototypes,
55272     which can conflict with char $ac_func (); below.
55273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55274     <limits.h> exists even on freestanding compilers.  */
55275 #ifdef __STDC__
55276 # include <limits.h>
55277 #else
55278 # include <assert.h>
55279 #endif
55280 /* Override any gcc2 internal prototype to avoid an error.  */
55281 #ifdef __cplusplus
55282 extern "C"
55283 {
55284 #endif
55285 /* We use char because int might match the return type of a gcc2
55286    builtin and then its argument prototype would still apply.  */
55287 char $ac_func ();
55288 /* The GNU C library defines this for functions which it implements
55289     to always fail with ENOSYS.  Some functions are actually named
55290     something starting with __ and the normal name is an alias.  */
55291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55292 choke me
55293 #else
55294 char (*f) () = $ac_func;
55295 #endif
55296 #ifdef __cplusplus
55297 }
55298 #endif
55299
55300 int
55301 main ()
55302 {
55303 return f != $ac_func;
55304   ;
55305   return 0;
55306 }
55307 _ACEOF
55308 rm -f conftest.$ac_objext conftest$ac_exeext
55309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55310   (eval $ac_link) 2>&5
55311   ac_status=$?
55312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55313   (exit $ac_status); } &&
55314          { ac_try='test -s conftest$ac_exeext'
55315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55316   (eval $ac_try) 2>&5
55317   ac_status=$?
55318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55319   (exit $ac_status); }; }; then
55320   eval "$as_ac_var=yes"
55321 else
55322   echo "$as_me: failed program was:" >&5
55323 sed 's/^/| /' conftest.$ac_ext >&5
55324
55325 eval "$as_ac_var=no"
55326 fi
55327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55328 fi
55329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55331 if test `eval echo '${'$as_ac_var'}'` = yes; then
55332   cat >>confdefs.h <<_ACEOF
55333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55334 _ACEOF
55335
55336 fi
55337 done
55338
55339   fi
55340
55341
55342
55343   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
55344 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
55345   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55346     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
55347   echo $ECHO_N "(cached) $ECHO_C" >&6
55348 else
55349
55350
55351
55352       ac_ext=cc
55353 ac_cpp='$CXXCPP $CPPFLAGS'
55354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55357
55358       cat >conftest.$ac_ext <<_ACEOF
55359 #line $LINENO "configure"
55360 /* confdefs.h.  */
55361 _ACEOF
55362 cat confdefs.h >>conftest.$ac_ext
55363 cat >>conftest.$ac_ext <<_ACEOF
55364 /* end confdefs.h.  */
55365 #include <math.h>
55366                       #ifdef HAVE_IEEEFP_H
55367                       #include <ieeefp.h>
55368                       #endif
55369
55370 int
55371 main ()
55372 {
55373  isnanl(0);
55374   ;
55375   return 0;
55376 }
55377 _ACEOF
55378 rm -f conftest.$ac_objext
55379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55380   (eval $ac_compile) 2>&5
55381   ac_status=$?
55382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55383   (exit $ac_status); } &&
55384          { ac_try='test -s conftest.$ac_objext'
55385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55386   (eval $ac_try) 2>&5
55387   ac_status=$?
55388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55389   (exit $ac_status); }; }; then
55390   glibcxx_cv_func_isnanl_use=yes
55391 else
55392   echo "$as_me: failed program was:" >&5
55393 sed 's/^/| /' conftest.$ac_ext >&5
55394
55395 glibcxx_cv_func_isnanl_use=no
55396 fi
55397 rm -f conftest.$ac_objext conftest.$ac_ext
55398       ac_ext=c
55399 ac_cpp='$CPP $CPPFLAGS'
55400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55403
55404
55405 fi
55406
55407   fi
55408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
55409 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
55410
55411   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55412
55413 for ac_func in isnanl
55414 do
55415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55416 echo "$as_me:$LINENO: checking for $ac_func" >&5
55417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55418 if eval "test \"\${$as_ac_var+set}\" = set"; then
55419   echo $ECHO_N "(cached) $ECHO_C" >&6
55420 else
55421   if test x$gcc_no_link = xyes; then
55422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55424    { (exit 1); exit 1; }; }
55425 fi
55426 cat >conftest.$ac_ext <<_ACEOF
55427 #line $LINENO "configure"
55428 /* confdefs.h.  */
55429 _ACEOF
55430 cat confdefs.h >>conftest.$ac_ext
55431 cat >>conftest.$ac_ext <<_ACEOF
55432 /* end confdefs.h.  */
55433 /* System header to define __stub macros and hopefully few prototypes,
55434     which can conflict with char $ac_func (); below.
55435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55436     <limits.h> exists even on freestanding compilers.  */
55437 #ifdef __STDC__
55438 # include <limits.h>
55439 #else
55440 # include <assert.h>
55441 #endif
55442 /* Override any gcc2 internal prototype to avoid an error.  */
55443 #ifdef __cplusplus
55444 extern "C"
55445 {
55446 #endif
55447 /* We use char because int might match the return type of a gcc2
55448    builtin and then its argument prototype would still apply.  */
55449 char $ac_func ();
55450 /* The GNU C library defines this for functions which it implements
55451     to always fail with ENOSYS.  Some functions are actually named
55452     something starting with __ and the normal name is an alias.  */
55453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55454 choke me
55455 #else
55456 char (*f) () = $ac_func;
55457 #endif
55458 #ifdef __cplusplus
55459 }
55460 #endif
55461
55462 int
55463 main ()
55464 {
55465 return f != $ac_func;
55466   ;
55467   return 0;
55468 }
55469 _ACEOF
55470 rm -f conftest.$ac_objext conftest$ac_exeext
55471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55472   (eval $ac_link) 2>&5
55473   ac_status=$?
55474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55475   (exit $ac_status); } &&
55476          { ac_try='test -s conftest$ac_exeext'
55477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55478   (eval $ac_try) 2>&5
55479   ac_status=$?
55480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55481   (exit $ac_status); }; }; then
55482   eval "$as_ac_var=yes"
55483 else
55484   echo "$as_me: failed program was:" >&5
55485 sed 's/^/| /' conftest.$ac_ext >&5
55486
55487 eval "$as_ac_var=no"
55488 fi
55489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55490 fi
55491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55493 if test `eval echo '${'$as_ac_var'}'` = yes; then
55494   cat >>confdefs.h <<_ACEOF
55495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55496 _ACEOF
55497
55498 fi
55499 done
55500
55501   else
55502
55503   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55504 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55505   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55506     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55507   echo $ECHO_N "(cached) $ECHO_C" >&6
55508 else
55509
55510
55511
55512       ac_ext=cc
55513 ac_cpp='$CXXCPP $CPPFLAGS'
55514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55517
55518       cat >conftest.$ac_ext <<_ACEOF
55519 #line $LINENO "configure"
55520 /* confdefs.h.  */
55521 _ACEOF
55522 cat confdefs.h >>conftest.$ac_ext
55523 cat >>conftest.$ac_ext <<_ACEOF
55524 /* end confdefs.h.  */
55525 #include <math.h>
55526                       #ifdef HAVE_IEEEFP_H
55527                       #include <ieeefp.h>
55528                       #endif
55529
55530 int
55531 main ()
55532 {
55533  _isnanl(0);
55534   ;
55535   return 0;
55536 }
55537 _ACEOF
55538 rm -f conftest.$ac_objext
55539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55540   (eval $ac_compile) 2>&5
55541   ac_status=$?
55542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55543   (exit $ac_status); } &&
55544          { ac_try='test -s conftest.$ac_objext'
55545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55546   (eval $ac_try) 2>&5
55547   ac_status=$?
55548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55549   (exit $ac_status); }; }; then
55550   glibcxx_cv_func__isnanl_use=yes
55551 else
55552   echo "$as_me: failed program was:" >&5
55553 sed 's/^/| /' conftest.$ac_ext >&5
55554
55555 glibcxx_cv_func__isnanl_use=no
55556 fi
55557 rm -f conftest.$ac_objext conftest.$ac_ext
55558       ac_ext=c
55559 ac_cpp='$CPP $CPPFLAGS'
55560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55563
55564
55565 fi
55566
55567   fi
55568   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55569 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55570
55571     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55572
55573 for ac_func in _isnanl
55574 do
55575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55576 echo "$as_me:$LINENO: checking for $ac_func" >&5
55577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55578 if eval "test \"\${$as_ac_var+set}\" = set"; then
55579   echo $ECHO_N "(cached) $ECHO_C" >&6
55580 else
55581   if test x$gcc_no_link = xyes; then
55582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55584    { (exit 1); exit 1; }; }
55585 fi
55586 cat >conftest.$ac_ext <<_ACEOF
55587 #line $LINENO "configure"
55588 /* confdefs.h.  */
55589 _ACEOF
55590 cat confdefs.h >>conftest.$ac_ext
55591 cat >>conftest.$ac_ext <<_ACEOF
55592 /* end confdefs.h.  */
55593 /* System header to define __stub macros and hopefully few prototypes,
55594     which can conflict with char $ac_func (); below.
55595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55596     <limits.h> exists even on freestanding compilers.  */
55597 #ifdef __STDC__
55598 # include <limits.h>
55599 #else
55600 # include <assert.h>
55601 #endif
55602 /* Override any gcc2 internal prototype to avoid an error.  */
55603 #ifdef __cplusplus
55604 extern "C"
55605 {
55606 #endif
55607 /* We use char because int might match the return type of a gcc2
55608    builtin and then its argument prototype would still apply.  */
55609 char $ac_func ();
55610 /* The GNU C library defines this for functions which it implements
55611     to always fail with ENOSYS.  Some functions are actually named
55612     something starting with __ and the normal name is an alias.  */
55613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55614 choke me
55615 #else
55616 char (*f) () = $ac_func;
55617 #endif
55618 #ifdef __cplusplus
55619 }
55620 #endif
55621
55622 int
55623 main ()
55624 {
55625 return f != $ac_func;
55626   ;
55627   return 0;
55628 }
55629 _ACEOF
55630 rm -f conftest.$ac_objext conftest$ac_exeext
55631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55632   (eval $ac_link) 2>&5
55633   ac_status=$?
55634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55635   (exit $ac_status); } &&
55636          { ac_try='test -s conftest$ac_exeext'
55637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55638   (eval $ac_try) 2>&5
55639   ac_status=$?
55640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55641   (exit $ac_status); }; }; then
55642   eval "$as_ac_var=yes"
55643 else
55644   echo "$as_me: failed program was:" >&5
55645 sed 's/^/| /' conftest.$ac_ext >&5
55646
55647 eval "$as_ac_var=no"
55648 fi
55649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55650 fi
55651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55653 if test `eval echo '${'$as_ac_var'}'` = yes; then
55654   cat >>confdefs.h <<_ACEOF
55655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55656 _ACEOF
55657
55658 fi
55659 done
55660
55661     fi
55662   fi
55663
55664
55665
55666   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55667 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55668   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55669     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55670   echo $ECHO_N "(cached) $ECHO_C" >&6
55671 else
55672
55673
55674
55675       ac_ext=cc
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55680
55681       cat >conftest.$ac_ext <<_ACEOF
55682 #line $LINENO "configure"
55683 /* confdefs.h.  */
55684 _ACEOF
55685 cat confdefs.h >>conftest.$ac_ext
55686 cat >>conftest.$ac_ext <<_ACEOF
55687 /* end confdefs.h.  */
55688 #include <math.h>
55689                       #ifdef HAVE_IEEEFP_H
55690                       #include <ieeefp.h>
55691                       #endif
55692
55693 int
55694 main ()
55695 {
55696  isinfl(0);
55697   ;
55698   return 0;
55699 }
55700 _ACEOF
55701 rm -f conftest.$ac_objext
55702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55703   (eval $ac_compile) 2>&5
55704   ac_status=$?
55705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55706   (exit $ac_status); } &&
55707          { ac_try='test -s conftest.$ac_objext'
55708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55709   (eval $ac_try) 2>&5
55710   ac_status=$?
55711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55712   (exit $ac_status); }; }; then
55713   glibcxx_cv_func_isinfl_use=yes
55714 else
55715   echo "$as_me: failed program was:" >&5
55716 sed 's/^/| /' conftest.$ac_ext >&5
55717
55718 glibcxx_cv_func_isinfl_use=no
55719 fi
55720 rm -f conftest.$ac_objext conftest.$ac_ext
55721       ac_ext=c
55722 ac_cpp='$CPP $CPPFLAGS'
55723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55726
55727
55728 fi
55729
55730   fi
55731   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55732 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55733
55734   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55735
55736 for ac_func in isinfl
55737 do
55738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55739 echo "$as_me:$LINENO: checking for $ac_func" >&5
55740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55741 if eval "test \"\${$as_ac_var+set}\" = set"; then
55742   echo $ECHO_N "(cached) $ECHO_C" >&6
55743 else
55744   if test x$gcc_no_link = xyes; then
55745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55747    { (exit 1); exit 1; }; }
55748 fi
55749 cat >conftest.$ac_ext <<_ACEOF
55750 #line $LINENO "configure"
55751 /* confdefs.h.  */
55752 _ACEOF
55753 cat confdefs.h >>conftest.$ac_ext
55754 cat >>conftest.$ac_ext <<_ACEOF
55755 /* end confdefs.h.  */
55756 /* System header to define __stub macros and hopefully few prototypes,
55757     which can conflict with char $ac_func (); below.
55758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55759     <limits.h> exists even on freestanding compilers.  */
55760 #ifdef __STDC__
55761 # include <limits.h>
55762 #else
55763 # include <assert.h>
55764 #endif
55765 /* Override any gcc2 internal prototype to avoid an error.  */
55766 #ifdef __cplusplus
55767 extern "C"
55768 {
55769 #endif
55770 /* We use char because int might match the return type of a gcc2
55771    builtin and then its argument prototype would still apply.  */
55772 char $ac_func ();
55773 /* The GNU C library defines this for functions which it implements
55774     to always fail with ENOSYS.  Some functions are actually named
55775     something starting with __ and the normal name is an alias.  */
55776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55777 choke me
55778 #else
55779 char (*f) () = $ac_func;
55780 #endif
55781 #ifdef __cplusplus
55782 }
55783 #endif
55784
55785 int
55786 main ()
55787 {
55788 return f != $ac_func;
55789   ;
55790   return 0;
55791 }
55792 _ACEOF
55793 rm -f conftest.$ac_objext conftest$ac_exeext
55794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55795   (eval $ac_link) 2>&5
55796   ac_status=$?
55797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55798   (exit $ac_status); } &&
55799          { ac_try='test -s conftest$ac_exeext'
55800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55801   (eval $ac_try) 2>&5
55802   ac_status=$?
55803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55804   (exit $ac_status); }; }; then
55805   eval "$as_ac_var=yes"
55806 else
55807   echo "$as_me: failed program was:" >&5
55808 sed 's/^/| /' conftest.$ac_ext >&5
55809
55810 eval "$as_ac_var=no"
55811 fi
55812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55813 fi
55814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55816 if test `eval echo '${'$as_ac_var'}'` = yes; then
55817   cat >>confdefs.h <<_ACEOF
55818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55819 _ACEOF
55820
55821 fi
55822 done
55823
55824   else
55825
55826   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55827 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55828   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55829     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55830   echo $ECHO_N "(cached) $ECHO_C" >&6
55831 else
55832
55833
55834
55835       ac_ext=cc
55836 ac_cpp='$CXXCPP $CPPFLAGS'
55837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55840
55841       cat >conftest.$ac_ext <<_ACEOF
55842 #line $LINENO "configure"
55843 /* confdefs.h.  */
55844 _ACEOF
55845 cat confdefs.h >>conftest.$ac_ext
55846 cat >>conftest.$ac_ext <<_ACEOF
55847 /* end confdefs.h.  */
55848 #include <math.h>
55849                       #ifdef HAVE_IEEEFP_H
55850                       #include <ieeefp.h>
55851                       #endif
55852
55853 int
55854 main ()
55855 {
55856  _isinfl(0);
55857   ;
55858   return 0;
55859 }
55860 _ACEOF
55861 rm -f conftest.$ac_objext
55862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55863   (eval $ac_compile) 2>&5
55864   ac_status=$?
55865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55866   (exit $ac_status); } &&
55867          { ac_try='test -s conftest.$ac_objext'
55868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55869   (eval $ac_try) 2>&5
55870   ac_status=$?
55871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55872   (exit $ac_status); }; }; then
55873   glibcxx_cv_func__isinfl_use=yes
55874 else
55875   echo "$as_me: failed program was:" >&5
55876 sed 's/^/| /' conftest.$ac_ext >&5
55877
55878 glibcxx_cv_func__isinfl_use=no
55879 fi
55880 rm -f conftest.$ac_objext conftest.$ac_ext
55881       ac_ext=c
55882 ac_cpp='$CPP $CPPFLAGS'
55883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55886
55887
55888 fi
55889
55890   fi
55891   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55892 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55893
55894     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55895
55896 for ac_func in _isinfl
55897 do
55898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55899 echo "$as_me:$LINENO: checking for $ac_func" >&5
55900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55901 if eval "test \"\${$as_ac_var+set}\" = set"; then
55902   echo $ECHO_N "(cached) $ECHO_C" >&6
55903 else
55904   if test x$gcc_no_link = xyes; then
55905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55907    { (exit 1); exit 1; }; }
55908 fi
55909 cat >conftest.$ac_ext <<_ACEOF
55910 #line $LINENO "configure"
55911 /* confdefs.h.  */
55912 _ACEOF
55913 cat confdefs.h >>conftest.$ac_ext
55914 cat >>conftest.$ac_ext <<_ACEOF
55915 /* end confdefs.h.  */
55916 /* System header to define __stub macros and hopefully few prototypes,
55917     which can conflict with char $ac_func (); below.
55918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55919     <limits.h> exists even on freestanding compilers.  */
55920 #ifdef __STDC__
55921 # include <limits.h>
55922 #else
55923 # include <assert.h>
55924 #endif
55925 /* Override any gcc2 internal prototype to avoid an error.  */
55926 #ifdef __cplusplus
55927 extern "C"
55928 {
55929 #endif
55930 /* We use char because int might match the return type of a gcc2
55931    builtin and then its argument prototype would still apply.  */
55932 char $ac_func ();
55933 /* The GNU C library defines this for functions which it implements
55934     to always fail with ENOSYS.  Some functions are actually named
55935     something starting with __ and the normal name is an alias.  */
55936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55937 choke me
55938 #else
55939 char (*f) () = $ac_func;
55940 #endif
55941 #ifdef __cplusplus
55942 }
55943 #endif
55944
55945 int
55946 main ()
55947 {
55948 return f != $ac_func;
55949   ;
55950   return 0;
55951 }
55952 _ACEOF
55953 rm -f conftest.$ac_objext conftest$ac_exeext
55954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55955   (eval $ac_link) 2>&5
55956   ac_status=$?
55957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55958   (exit $ac_status); } &&
55959          { ac_try='test -s conftest$ac_exeext'
55960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55961   (eval $ac_try) 2>&5
55962   ac_status=$?
55963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55964   (exit $ac_status); }; }; then
55965   eval "$as_ac_var=yes"
55966 else
55967   echo "$as_me: failed program was:" >&5
55968 sed 's/^/| /' conftest.$ac_ext >&5
55969
55970 eval "$as_ac_var=no"
55971 fi
55972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55973 fi
55974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55976 if test `eval echo '${'$as_ac_var'}'` = yes; then
55977   cat >>confdefs.h <<_ACEOF
55978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55979 _ACEOF
55980
55981 fi
55982 done
55983
55984     fi
55985   fi
55986
55987
55988
55989   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55990 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55991   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55992     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55993   echo $ECHO_N "(cached) $ECHO_C" >&6
55994 else
55995
55996
55997
55998       ac_ext=cc
55999 ac_cpp='$CXXCPP $CPPFLAGS'
56000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56003
56004       cat >conftest.$ac_ext <<_ACEOF
56005 #line $LINENO "configure"
56006 /* confdefs.h.  */
56007 _ACEOF
56008 cat confdefs.h >>conftest.$ac_ext
56009 cat >>conftest.$ac_ext <<_ACEOF
56010 /* end confdefs.h.  */
56011 #include <math.h>
56012 int
56013 main ()
56014 {
56015  copysignl(0, 0);
56016   ;
56017   return 0;
56018 }
56019 _ACEOF
56020 rm -f conftest.$ac_objext
56021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56022   (eval $ac_compile) 2>&5
56023   ac_status=$?
56024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56025   (exit $ac_status); } &&
56026          { ac_try='test -s conftest.$ac_objext'
56027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56028   (eval $ac_try) 2>&5
56029   ac_status=$?
56030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031   (exit $ac_status); }; }; then
56032   glibcxx_cv_func_copysignl_use=yes
56033 else
56034   echo "$as_me: failed program was:" >&5
56035 sed 's/^/| /' conftest.$ac_ext >&5
56036
56037 glibcxx_cv_func_copysignl_use=no
56038 fi
56039 rm -f conftest.$ac_objext conftest.$ac_ext
56040       ac_ext=c
56041 ac_cpp='$CPP $CPPFLAGS'
56042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56045
56046
56047 fi
56048
56049   fi
56050   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
56051 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
56052
56053   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
56054
56055 for ac_func in copysignl
56056 do
56057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56058 echo "$as_me:$LINENO: checking for $ac_func" >&5
56059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56060 if eval "test \"\${$as_ac_var+set}\" = set"; then
56061   echo $ECHO_N "(cached) $ECHO_C" >&6
56062 else
56063   if test x$gcc_no_link = xyes; then
56064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56066    { (exit 1); exit 1; }; }
56067 fi
56068 cat >conftest.$ac_ext <<_ACEOF
56069 #line $LINENO "configure"
56070 /* confdefs.h.  */
56071 _ACEOF
56072 cat confdefs.h >>conftest.$ac_ext
56073 cat >>conftest.$ac_ext <<_ACEOF
56074 /* end confdefs.h.  */
56075 /* System header to define __stub macros and hopefully few prototypes,
56076     which can conflict with char $ac_func (); below.
56077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56078     <limits.h> exists even on freestanding compilers.  */
56079 #ifdef __STDC__
56080 # include <limits.h>
56081 #else
56082 # include <assert.h>
56083 #endif
56084 /* Override any gcc2 internal prototype to avoid an error.  */
56085 #ifdef __cplusplus
56086 extern "C"
56087 {
56088 #endif
56089 /* We use char because int might match the return type of a gcc2
56090    builtin and then its argument prototype would still apply.  */
56091 char $ac_func ();
56092 /* The GNU C library defines this for functions which it implements
56093     to always fail with ENOSYS.  Some functions are actually named
56094     something starting with __ and the normal name is an alias.  */
56095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56096 choke me
56097 #else
56098 char (*f) () = $ac_func;
56099 #endif
56100 #ifdef __cplusplus
56101 }
56102 #endif
56103
56104 int
56105 main ()
56106 {
56107 return f != $ac_func;
56108   ;
56109   return 0;
56110 }
56111 _ACEOF
56112 rm -f conftest.$ac_objext conftest$ac_exeext
56113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56114   (eval $ac_link) 2>&5
56115   ac_status=$?
56116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56117   (exit $ac_status); } &&
56118          { ac_try='test -s conftest$ac_exeext'
56119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56120   (eval $ac_try) 2>&5
56121   ac_status=$?
56122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123   (exit $ac_status); }; }; then
56124   eval "$as_ac_var=yes"
56125 else
56126   echo "$as_me: failed program was:" >&5
56127 sed 's/^/| /' conftest.$ac_ext >&5
56128
56129 eval "$as_ac_var=no"
56130 fi
56131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56132 fi
56133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56135 if test `eval echo '${'$as_ac_var'}'` = yes; then
56136   cat >>confdefs.h <<_ACEOF
56137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56138 _ACEOF
56139
56140 fi
56141 done
56142
56143   else
56144
56145   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
56146 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
56147   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
56148     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
56149   echo $ECHO_N "(cached) $ECHO_C" >&6
56150 else
56151
56152
56153
56154       ac_ext=cc
56155 ac_cpp='$CXXCPP $CPPFLAGS'
56156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56159
56160       cat >conftest.$ac_ext <<_ACEOF
56161 #line $LINENO "configure"
56162 /* confdefs.h.  */
56163 _ACEOF
56164 cat confdefs.h >>conftest.$ac_ext
56165 cat >>conftest.$ac_ext <<_ACEOF
56166 /* end confdefs.h.  */
56167 #include <math.h>
56168 int
56169 main ()
56170 {
56171  _copysignl(0, 0);
56172   ;
56173   return 0;
56174 }
56175 _ACEOF
56176 rm -f conftest.$ac_objext
56177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56178   (eval $ac_compile) 2>&5
56179   ac_status=$?
56180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56181   (exit $ac_status); } &&
56182          { ac_try='test -s conftest.$ac_objext'
56183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56184   (eval $ac_try) 2>&5
56185   ac_status=$?
56186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56187   (exit $ac_status); }; }; then
56188   glibcxx_cv_func__copysignl_use=yes
56189 else
56190   echo "$as_me: failed program was:" >&5
56191 sed 's/^/| /' conftest.$ac_ext >&5
56192
56193 glibcxx_cv_func__copysignl_use=no
56194 fi
56195 rm -f conftest.$ac_objext conftest.$ac_ext
56196       ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56201
56202
56203 fi
56204
56205   fi
56206   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
56207 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
56208
56209     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
56210
56211 for ac_func in _copysignl
56212 do
56213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56214 echo "$as_me:$LINENO: checking for $ac_func" >&5
56215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56216 if eval "test \"\${$as_ac_var+set}\" = set"; then
56217   echo $ECHO_N "(cached) $ECHO_C" >&6
56218 else
56219   if test x$gcc_no_link = xyes; then
56220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56222    { (exit 1); exit 1; }; }
56223 fi
56224 cat >conftest.$ac_ext <<_ACEOF
56225 #line $LINENO "configure"
56226 /* confdefs.h.  */
56227 _ACEOF
56228 cat confdefs.h >>conftest.$ac_ext
56229 cat >>conftest.$ac_ext <<_ACEOF
56230 /* end confdefs.h.  */
56231 /* System header to define __stub macros and hopefully few prototypes,
56232     which can conflict with char $ac_func (); below.
56233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56234     <limits.h> exists even on freestanding compilers.  */
56235 #ifdef __STDC__
56236 # include <limits.h>
56237 #else
56238 # include <assert.h>
56239 #endif
56240 /* Override any gcc2 internal prototype to avoid an error.  */
56241 #ifdef __cplusplus
56242 extern "C"
56243 {
56244 #endif
56245 /* We use char because int might match the return type of a gcc2
56246    builtin and then its argument prototype would still apply.  */
56247 char $ac_func ();
56248 /* The GNU C library defines this for functions which it implements
56249     to always fail with ENOSYS.  Some functions are actually named
56250     something starting with __ and the normal name is an alias.  */
56251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56252 choke me
56253 #else
56254 char (*f) () = $ac_func;
56255 #endif
56256 #ifdef __cplusplus
56257 }
56258 #endif
56259
56260 int
56261 main ()
56262 {
56263 return f != $ac_func;
56264   ;
56265   return 0;
56266 }
56267 _ACEOF
56268 rm -f conftest.$ac_objext conftest$ac_exeext
56269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56270   (eval $ac_link) 2>&5
56271   ac_status=$?
56272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56273   (exit $ac_status); } &&
56274          { ac_try='test -s conftest$ac_exeext'
56275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56276   (eval $ac_try) 2>&5
56277   ac_status=$?
56278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56279   (exit $ac_status); }; }; then
56280   eval "$as_ac_var=yes"
56281 else
56282   echo "$as_me: failed program was:" >&5
56283 sed 's/^/| /' conftest.$ac_ext >&5
56284
56285 eval "$as_ac_var=no"
56286 fi
56287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56288 fi
56289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56291 if test `eval echo '${'$as_ac_var'}'` = yes; then
56292   cat >>confdefs.h <<_ACEOF
56293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56294 _ACEOF
56295
56296 fi
56297 done
56298
56299     fi
56300   fi
56301
56302
56303
56304   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56305 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56306   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56307     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56308   echo $ECHO_N "(cached) $ECHO_C" >&6
56309 else
56310
56311
56312
56313       ac_ext=cc
56314 ac_cpp='$CXXCPP $CPPFLAGS'
56315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56318
56319       cat >conftest.$ac_ext <<_ACEOF
56320 #line $LINENO "configure"
56321 /* confdefs.h.  */
56322 _ACEOF
56323 cat confdefs.h >>conftest.$ac_ext
56324 cat >>conftest.$ac_ext <<_ACEOF
56325 /* end confdefs.h.  */
56326 #include <math.h>
56327 int
56328 main ()
56329 {
56330  atan2l(0, 0);
56331   ;
56332   return 0;
56333 }
56334 _ACEOF
56335 rm -f conftest.$ac_objext
56336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56337   (eval $ac_compile) 2>&5
56338   ac_status=$?
56339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340   (exit $ac_status); } &&
56341          { ac_try='test -s conftest.$ac_objext'
56342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56343   (eval $ac_try) 2>&5
56344   ac_status=$?
56345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346   (exit $ac_status); }; }; then
56347   glibcxx_cv_func_atan2l_use=yes
56348 else
56349   echo "$as_me: failed program was:" >&5
56350 sed 's/^/| /' conftest.$ac_ext >&5
56351
56352 glibcxx_cv_func_atan2l_use=no
56353 fi
56354 rm -f conftest.$ac_objext conftest.$ac_ext
56355       ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56360
56361
56362 fi
56363
56364   fi
56365   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56366 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56367
56368   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56369
56370 for ac_func in atan2l
56371 do
56372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56373 echo "$as_me:$LINENO: checking for $ac_func" >&5
56374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56375 if eval "test \"\${$as_ac_var+set}\" = set"; then
56376   echo $ECHO_N "(cached) $ECHO_C" >&6
56377 else
56378   if test x$gcc_no_link = xyes; then
56379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56381    { (exit 1); exit 1; }; }
56382 fi
56383 cat >conftest.$ac_ext <<_ACEOF
56384 #line $LINENO "configure"
56385 /* confdefs.h.  */
56386 _ACEOF
56387 cat confdefs.h >>conftest.$ac_ext
56388 cat >>conftest.$ac_ext <<_ACEOF
56389 /* end confdefs.h.  */
56390 /* System header to define __stub macros and hopefully few prototypes,
56391     which can conflict with char $ac_func (); below.
56392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56393     <limits.h> exists even on freestanding compilers.  */
56394 #ifdef __STDC__
56395 # include <limits.h>
56396 #else
56397 # include <assert.h>
56398 #endif
56399 /* Override any gcc2 internal prototype to avoid an error.  */
56400 #ifdef __cplusplus
56401 extern "C"
56402 {
56403 #endif
56404 /* We use char because int might match the return type of a gcc2
56405    builtin and then its argument prototype would still apply.  */
56406 char $ac_func ();
56407 /* The GNU C library defines this for functions which it implements
56408     to always fail with ENOSYS.  Some functions are actually named
56409     something starting with __ and the normal name is an alias.  */
56410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56411 choke me
56412 #else
56413 char (*f) () = $ac_func;
56414 #endif
56415 #ifdef __cplusplus
56416 }
56417 #endif
56418
56419 int
56420 main ()
56421 {
56422 return f != $ac_func;
56423   ;
56424   return 0;
56425 }
56426 _ACEOF
56427 rm -f conftest.$ac_objext conftest$ac_exeext
56428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56429   (eval $ac_link) 2>&5
56430   ac_status=$?
56431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56432   (exit $ac_status); } &&
56433          { ac_try='test -s conftest$ac_exeext'
56434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56435   (eval $ac_try) 2>&5
56436   ac_status=$?
56437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56438   (exit $ac_status); }; }; then
56439   eval "$as_ac_var=yes"
56440 else
56441   echo "$as_me: failed program was:" >&5
56442 sed 's/^/| /' conftest.$ac_ext >&5
56443
56444 eval "$as_ac_var=no"
56445 fi
56446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56447 fi
56448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56450 if test `eval echo '${'$as_ac_var'}'` = yes; then
56451   cat >>confdefs.h <<_ACEOF
56452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56453 _ACEOF
56454
56455 fi
56456 done
56457
56458   else
56459
56460   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56461 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56462   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56463     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56464   echo $ECHO_N "(cached) $ECHO_C" >&6
56465 else
56466
56467
56468
56469       ac_ext=cc
56470 ac_cpp='$CXXCPP $CPPFLAGS'
56471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56474
56475       cat >conftest.$ac_ext <<_ACEOF
56476 #line $LINENO "configure"
56477 /* confdefs.h.  */
56478 _ACEOF
56479 cat confdefs.h >>conftest.$ac_ext
56480 cat >>conftest.$ac_ext <<_ACEOF
56481 /* end confdefs.h.  */
56482 #include <math.h>
56483 int
56484 main ()
56485 {
56486  _atan2l(0, 0);
56487   ;
56488   return 0;
56489 }
56490 _ACEOF
56491 rm -f conftest.$ac_objext
56492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56493   (eval $ac_compile) 2>&5
56494   ac_status=$?
56495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56496   (exit $ac_status); } &&
56497          { ac_try='test -s conftest.$ac_objext'
56498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56499   (eval $ac_try) 2>&5
56500   ac_status=$?
56501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502   (exit $ac_status); }; }; then
56503   glibcxx_cv_func__atan2l_use=yes
56504 else
56505   echo "$as_me: failed program was:" >&5
56506 sed 's/^/| /' conftest.$ac_ext >&5
56507
56508 glibcxx_cv_func__atan2l_use=no
56509 fi
56510 rm -f conftest.$ac_objext conftest.$ac_ext
56511       ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56516
56517
56518 fi
56519
56520   fi
56521   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56522 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56523
56524     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56525
56526 for ac_func in _atan2l
56527 do
56528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56529 echo "$as_me:$LINENO: checking for $ac_func" >&5
56530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56531 if eval "test \"\${$as_ac_var+set}\" = set"; then
56532   echo $ECHO_N "(cached) $ECHO_C" >&6
56533 else
56534   if test x$gcc_no_link = xyes; then
56535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56537    { (exit 1); exit 1; }; }
56538 fi
56539 cat >conftest.$ac_ext <<_ACEOF
56540 #line $LINENO "configure"
56541 /* confdefs.h.  */
56542 _ACEOF
56543 cat confdefs.h >>conftest.$ac_ext
56544 cat >>conftest.$ac_ext <<_ACEOF
56545 /* end confdefs.h.  */
56546 /* System header to define __stub macros and hopefully few prototypes,
56547     which can conflict with char $ac_func (); below.
56548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56549     <limits.h> exists even on freestanding compilers.  */
56550 #ifdef __STDC__
56551 # include <limits.h>
56552 #else
56553 # include <assert.h>
56554 #endif
56555 /* Override any gcc2 internal prototype to avoid an error.  */
56556 #ifdef __cplusplus
56557 extern "C"
56558 {
56559 #endif
56560 /* We use char because int might match the return type of a gcc2
56561    builtin and then its argument prototype would still apply.  */
56562 char $ac_func ();
56563 /* The GNU C library defines this for functions which it implements
56564     to always fail with ENOSYS.  Some functions are actually named
56565     something starting with __ and the normal name is an alias.  */
56566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56567 choke me
56568 #else
56569 char (*f) () = $ac_func;
56570 #endif
56571 #ifdef __cplusplus
56572 }
56573 #endif
56574
56575 int
56576 main ()
56577 {
56578 return f != $ac_func;
56579   ;
56580   return 0;
56581 }
56582 _ACEOF
56583 rm -f conftest.$ac_objext conftest$ac_exeext
56584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56585   (eval $ac_link) 2>&5
56586   ac_status=$?
56587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56588   (exit $ac_status); } &&
56589          { ac_try='test -s conftest$ac_exeext'
56590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56591   (eval $ac_try) 2>&5
56592   ac_status=$?
56593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56594   (exit $ac_status); }; }; then
56595   eval "$as_ac_var=yes"
56596 else
56597   echo "$as_me: failed program was:" >&5
56598 sed 's/^/| /' conftest.$ac_ext >&5
56599
56600 eval "$as_ac_var=no"
56601 fi
56602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56603 fi
56604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56606 if test `eval echo '${'$as_ac_var'}'` = yes; then
56607   cat >>confdefs.h <<_ACEOF
56608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56609 _ACEOF
56610
56611 fi
56612 done
56613
56614     fi
56615   fi
56616
56617
56618
56619   echo "$as_me:$LINENO: checking for expl declaration" >&5
56620 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56621   if test x${glibcxx_cv_func_expl_use+set} != xset; then
56622     if test "${glibcxx_cv_func_expl_use+set}" = set; then
56623   echo $ECHO_N "(cached) $ECHO_C" >&6
56624 else
56625
56626
56627
56628       ac_ext=cc
56629 ac_cpp='$CXXCPP $CPPFLAGS'
56630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56633
56634       cat >conftest.$ac_ext <<_ACEOF
56635 #line $LINENO "configure"
56636 /* confdefs.h.  */
56637 _ACEOF
56638 cat confdefs.h >>conftest.$ac_ext
56639 cat >>conftest.$ac_ext <<_ACEOF
56640 /* end confdefs.h.  */
56641 #include <math.h>
56642                       #ifdef HAVE_IEEEFP_H
56643                       #include <ieeefp.h>
56644                       #endif
56645
56646 int
56647 main ()
56648 {
56649  expl(0);
56650   ;
56651   return 0;
56652 }
56653 _ACEOF
56654 rm -f conftest.$ac_objext
56655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56656   (eval $ac_compile) 2>&5
56657   ac_status=$?
56658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56659   (exit $ac_status); } &&
56660          { ac_try='test -s conftest.$ac_objext'
56661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56662   (eval $ac_try) 2>&5
56663   ac_status=$?
56664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56665   (exit $ac_status); }; }; then
56666   glibcxx_cv_func_expl_use=yes
56667 else
56668   echo "$as_me: failed program was:" >&5
56669 sed 's/^/| /' conftest.$ac_ext >&5
56670
56671 glibcxx_cv_func_expl_use=no
56672 fi
56673 rm -f conftest.$ac_objext conftest.$ac_ext
56674       ac_ext=c
56675 ac_cpp='$CPP $CPPFLAGS'
56676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56679
56680
56681 fi
56682
56683   fi
56684   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56685 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56686
56687   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56688
56689 for ac_func in expl
56690 do
56691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56692 echo "$as_me:$LINENO: checking for $ac_func" >&5
56693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56694 if eval "test \"\${$as_ac_var+set}\" = set"; then
56695   echo $ECHO_N "(cached) $ECHO_C" >&6
56696 else
56697   if test x$gcc_no_link = xyes; then
56698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56700    { (exit 1); exit 1; }; }
56701 fi
56702 cat >conftest.$ac_ext <<_ACEOF
56703 #line $LINENO "configure"
56704 /* confdefs.h.  */
56705 _ACEOF
56706 cat confdefs.h >>conftest.$ac_ext
56707 cat >>conftest.$ac_ext <<_ACEOF
56708 /* end confdefs.h.  */
56709 /* System header to define __stub macros and hopefully few prototypes,
56710     which can conflict with char $ac_func (); below.
56711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56712     <limits.h> exists even on freestanding compilers.  */
56713 #ifdef __STDC__
56714 # include <limits.h>
56715 #else
56716 # include <assert.h>
56717 #endif
56718 /* Override any gcc2 internal prototype to avoid an error.  */
56719 #ifdef __cplusplus
56720 extern "C"
56721 {
56722 #endif
56723 /* We use char because int might match the return type of a gcc2
56724    builtin and then its argument prototype would still apply.  */
56725 char $ac_func ();
56726 /* The GNU C library defines this for functions which it implements
56727     to always fail with ENOSYS.  Some functions are actually named
56728     something starting with __ and the normal name is an alias.  */
56729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56730 choke me
56731 #else
56732 char (*f) () = $ac_func;
56733 #endif
56734 #ifdef __cplusplus
56735 }
56736 #endif
56737
56738 int
56739 main ()
56740 {
56741 return f != $ac_func;
56742   ;
56743   return 0;
56744 }
56745 _ACEOF
56746 rm -f conftest.$ac_objext conftest$ac_exeext
56747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56748   (eval $ac_link) 2>&5
56749   ac_status=$?
56750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56751   (exit $ac_status); } &&
56752          { ac_try='test -s conftest$ac_exeext'
56753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56754   (eval $ac_try) 2>&5
56755   ac_status=$?
56756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56757   (exit $ac_status); }; }; then
56758   eval "$as_ac_var=yes"
56759 else
56760   echo "$as_me: failed program was:" >&5
56761 sed 's/^/| /' conftest.$ac_ext >&5
56762
56763 eval "$as_ac_var=no"
56764 fi
56765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56766 fi
56767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56769 if test `eval echo '${'$as_ac_var'}'` = yes; then
56770   cat >>confdefs.h <<_ACEOF
56771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56772 _ACEOF
56773
56774 fi
56775 done
56776
56777   else
56778
56779   echo "$as_me:$LINENO: checking for _expl declaration" >&5
56780 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56781   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56782     if test "${glibcxx_cv_func__expl_use+set}" = set; then
56783   echo $ECHO_N "(cached) $ECHO_C" >&6
56784 else
56785
56786
56787
56788       ac_ext=cc
56789 ac_cpp='$CXXCPP $CPPFLAGS'
56790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56793
56794       cat >conftest.$ac_ext <<_ACEOF
56795 #line $LINENO "configure"
56796 /* confdefs.h.  */
56797 _ACEOF
56798 cat confdefs.h >>conftest.$ac_ext
56799 cat >>conftest.$ac_ext <<_ACEOF
56800 /* end confdefs.h.  */
56801 #include <math.h>
56802                       #ifdef HAVE_IEEEFP_H
56803                       #include <ieeefp.h>
56804                       #endif
56805
56806 int
56807 main ()
56808 {
56809  _expl(0);
56810   ;
56811   return 0;
56812 }
56813 _ACEOF
56814 rm -f conftest.$ac_objext
56815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56816   (eval $ac_compile) 2>&5
56817   ac_status=$?
56818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56819   (exit $ac_status); } &&
56820          { ac_try='test -s conftest.$ac_objext'
56821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56822   (eval $ac_try) 2>&5
56823   ac_status=$?
56824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56825   (exit $ac_status); }; }; then
56826   glibcxx_cv_func__expl_use=yes
56827 else
56828   echo "$as_me: failed program was:" >&5
56829 sed 's/^/| /' conftest.$ac_ext >&5
56830
56831 glibcxx_cv_func__expl_use=no
56832 fi
56833 rm -f conftest.$ac_objext conftest.$ac_ext
56834       ac_ext=c
56835 ac_cpp='$CPP $CPPFLAGS'
56836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56839
56840
56841 fi
56842
56843   fi
56844   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56845 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56846
56847     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56848
56849 for ac_func in _expl
56850 do
56851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56852 echo "$as_me:$LINENO: checking for $ac_func" >&5
56853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56854 if eval "test \"\${$as_ac_var+set}\" = set"; then
56855   echo $ECHO_N "(cached) $ECHO_C" >&6
56856 else
56857   if test x$gcc_no_link = xyes; then
56858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56860    { (exit 1); exit 1; }; }
56861 fi
56862 cat >conftest.$ac_ext <<_ACEOF
56863 #line $LINENO "configure"
56864 /* confdefs.h.  */
56865 _ACEOF
56866 cat confdefs.h >>conftest.$ac_ext
56867 cat >>conftest.$ac_ext <<_ACEOF
56868 /* end confdefs.h.  */
56869 /* System header to define __stub macros and hopefully few prototypes,
56870     which can conflict with char $ac_func (); below.
56871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56872     <limits.h> exists even on freestanding compilers.  */
56873 #ifdef __STDC__
56874 # include <limits.h>
56875 #else
56876 # include <assert.h>
56877 #endif
56878 /* Override any gcc2 internal prototype to avoid an error.  */
56879 #ifdef __cplusplus
56880 extern "C"
56881 {
56882 #endif
56883 /* We use char because int might match the return type of a gcc2
56884    builtin and then its argument prototype would still apply.  */
56885 char $ac_func ();
56886 /* The GNU C library defines this for functions which it implements
56887     to always fail with ENOSYS.  Some functions are actually named
56888     something starting with __ and the normal name is an alias.  */
56889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56890 choke me
56891 #else
56892 char (*f) () = $ac_func;
56893 #endif
56894 #ifdef __cplusplus
56895 }
56896 #endif
56897
56898 int
56899 main ()
56900 {
56901 return f != $ac_func;
56902   ;
56903   return 0;
56904 }
56905 _ACEOF
56906 rm -f conftest.$ac_objext conftest$ac_exeext
56907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56908   (eval $ac_link) 2>&5
56909   ac_status=$?
56910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56911   (exit $ac_status); } &&
56912          { ac_try='test -s conftest$ac_exeext'
56913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56914   (eval $ac_try) 2>&5
56915   ac_status=$?
56916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56917   (exit $ac_status); }; }; then
56918   eval "$as_ac_var=yes"
56919 else
56920   echo "$as_me: failed program was:" >&5
56921 sed 's/^/| /' conftest.$ac_ext >&5
56922
56923 eval "$as_ac_var=no"
56924 fi
56925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56926 fi
56927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56929 if test `eval echo '${'$as_ac_var'}'` = yes; then
56930   cat >>confdefs.h <<_ACEOF
56931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56932 _ACEOF
56933
56934 fi
56935 done
56936
56937     fi
56938   fi
56939
56940
56941
56942   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56943 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56944   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56945     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56946   echo $ECHO_N "(cached) $ECHO_C" >&6
56947 else
56948
56949
56950
56951       ac_ext=cc
56952 ac_cpp='$CXXCPP $CPPFLAGS'
56953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56956
56957       cat >conftest.$ac_ext <<_ACEOF
56958 #line $LINENO "configure"
56959 /* confdefs.h.  */
56960 _ACEOF
56961 cat confdefs.h >>conftest.$ac_ext
56962 cat >>conftest.$ac_ext <<_ACEOF
56963 /* end confdefs.h.  */
56964 #include <math.h>
56965                       #ifdef HAVE_IEEEFP_H
56966                       #include <ieeefp.h>
56967                       #endif
56968
56969 int
56970 main ()
56971 {
56972  fabsl(0);
56973   ;
56974   return 0;
56975 }
56976 _ACEOF
56977 rm -f conftest.$ac_objext
56978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56979   (eval $ac_compile) 2>&5
56980   ac_status=$?
56981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56982   (exit $ac_status); } &&
56983          { ac_try='test -s conftest.$ac_objext'
56984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56985   (eval $ac_try) 2>&5
56986   ac_status=$?
56987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56988   (exit $ac_status); }; }; then
56989   glibcxx_cv_func_fabsl_use=yes
56990 else
56991   echo "$as_me: failed program was:" >&5
56992 sed 's/^/| /' conftest.$ac_ext >&5
56993
56994 glibcxx_cv_func_fabsl_use=no
56995 fi
56996 rm -f conftest.$ac_objext conftest.$ac_ext
56997       ac_ext=c
56998 ac_cpp='$CPP $CPPFLAGS'
56999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57002
57003
57004 fi
57005
57006   fi
57007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
57008 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
57009
57010   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57011
57012 for ac_func in fabsl
57013 do
57014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57015 echo "$as_me:$LINENO: checking for $ac_func" >&5
57016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57017 if eval "test \"\${$as_ac_var+set}\" = set"; then
57018   echo $ECHO_N "(cached) $ECHO_C" >&6
57019 else
57020   if test x$gcc_no_link = xyes; then
57021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57023    { (exit 1); exit 1; }; }
57024 fi
57025 cat >conftest.$ac_ext <<_ACEOF
57026 #line $LINENO "configure"
57027 /* confdefs.h.  */
57028 _ACEOF
57029 cat confdefs.h >>conftest.$ac_ext
57030 cat >>conftest.$ac_ext <<_ACEOF
57031 /* end confdefs.h.  */
57032 /* System header to define __stub macros and hopefully few prototypes,
57033     which can conflict with char $ac_func (); below.
57034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57035     <limits.h> exists even on freestanding compilers.  */
57036 #ifdef __STDC__
57037 # include <limits.h>
57038 #else
57039 # include <assert.h>
57040 #endif
57041 /* Override any gcc2 internal prototype to avoid an error.  */
57042 #ifdef __cplusplus
57043 extern "C"
57044 {
57045 #endif
57046 /* We use char because int might match the return type of a gcc2
57047    builtin and then its argument prototype would still apply.  */
57048 char $ac_func ();
57049 /* The GNU C library defines this for functions which it implements
57050     to always fail with ENOSYS.  Some functions are actually named
57051     something starting with __ and the normal name is an alias.  */
57052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57053 choke me
57054 #else
57055 char (*f) () = $ac_func;
57056 #endif
57057 #ifdef __cplusplus
57058 }
57059 #endif
57060
57061 int
57062 main ()
57063 {
57064 return f != $ac_func;
57065   ;
57066   return 0;
57067 }
57068 _ACEOF
57069 rm -f conftest.$ac_objext conftest$ac_exeext
57070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57071   (eval $ac_link) 2>&5
57072   ac_status=$?
57073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57074   (exit $ac_status); } &&
57075          { ac_try='test -s conftest$ac_exeext'
57076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57077   (eval $ac_try) 2>&5
57078   ac_status=$?
57079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57080   (exit $ac_status); }; }; then
57081   eval "$as_ac_var=yes"
57082 else
57083   echo "$as_me: failed program was:" >&5
57084 sed 's/^/| /' conftest.$ac_ext >&5
57085
57086 eval "$as_ac_var=no"
57087 fi
57088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57089 fi
57090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57092 if test `eval echo '${'$as_ac_var'}'` = yes; then
57093   cat >>confdefs.h <<_ACEOF
57094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57095 _ACEOF
57096
57097 fi
57098 done
57099
57100   else
57101
57102   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
57103 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
57104   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57105     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
57106   echo $ECHO_N "(cached) $ECHO_C" >&6
57107 else
57108
57109
57110
57111       ac_ext=cc
57112 ac_cpp='$CXXCPP $CPPFLAGS'
57113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57116
57117       cat >conftest.$ac_ext <<_ACEOF
57118 #line $LINENO "configure"
57119 /* confdefs.h.  */
57120 _ACEOF
57121 cat confdefs.h >>conftest.$ac_ext
57122 cat >>conftest.$ac_ext <<_ACEOF
57123 /* end confdefs.h.  */
57124 #include <math.h>
57125                       #ifdef HAVE_IEEEFP_H
57126                       #include <ieeefp.h>
57127                       #endif
57128
57129 int
57130 main ()
57131 {
57132  _fabsl(0);
57133   ;
57134   return 0;
57135 }
57136 _ACEOF
57137 rm -f conftest.$ac_objext
57138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57139   (eval $ac_compile) 2>&5
57140   ac_status=$?
57141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57142   (exit $ac_status); } &&
57143          { ac_try='test -s conftest.$ac_objext'
57144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57145   (eval $ac_try) 2>&5
57146   ac_status=$?
57147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57148   (exit $ac_status); }; }; then
57149   glibcxx_cv_func__fabsl_use=yes
57150 else
57151   echo "$as_me: failed program was:" >&5
57152 sed 's/^/| /' conftest.$ac_ext >&5
57153
57154 glibcxx_cv_func__fabsl_use=no
57155 fi
57156 rm -f conftest.$ac_objext conftest.$ac_ext
57157       ac_ext=c
57158 ac_cpp='$CPP $CPPFLAGS'
57159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57162
57163
57164 fi
57165
57166   fi
57167   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57168 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57169
57170     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57171
57172 for ac_func in _fabsl
57173 do
57174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57175 echo "$as_me:$LINENO: checking for $ac_func" >&5
57176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57177 if eval "test \"\${$as_ac_var+set}\" = set"; then
57178   echo $ECHO_N "(cached) $ECHO_C" >&6
57179 else
57180   if test x$gcc_no_link = xyes; then
57181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57183    { (exit 1); exit 1; }; }
57184 fi
57185 cat >conftest.$ac_ext <<_ACEOF
57186 #line $LINENO "configure"
57187 /* confdefs.h.  */
57188 _ACEOF
57189 cat confdefs.h >>conftest.$ac_ext
57190 cat >>conftest.$ac_ext <<_ACEOF
57191 /* end confdefs.h.  */
57192 /* System header to define __stub macros and hopefully few prototypes,
57193     which can conflict with char $ac_func (); below.
57194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57195     <limits.h> exists even on freestanding compilers.  */
57196 #ifdef __STDC__
57197 # include <limits.h>
57198 #else
57199 # include <assert.h>
57200 #endif
57201 /* Override any gcc2 internal prototype to avoid an error.  */
57202 #ifdef __cplusplus
57203 extern "C"
57204 {
57205 #endif
57206 /* We use char because int might match the return type of a gcc2
57207    builtin and then its argument prototype would still apply.  */
57208 char $ac_func ();
57209 /* The GNU C library defines this for functions which it implements
57210     to always fail with ENOSYS.  Some functions are actually named
57211     something starting with __ and the normal name is an alias.  */
57212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57213 choke me
57214 #else
57215 char (*f) () = $ac_func;
57216 #endif
57217 #ifdef __cplusplus
57218 }
57219 #endif
57220
57221 int
57222 main ()
57223 {
57224 return f != $ac_func;
57225   ;
57226   return 0;
57227 }
57228 _ACEOF
57229 rm -f conftest.$ac_objext conftest$ac_exeext
57230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57231   (eval $ac_link) 2>&5
57232   ac_status=$?
57233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57234   (exit $ac_status); } &&
57235          { ac_try='test -s conftest$ac_exeext'
57236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57237   (eval $ac_try) 2>&5
57238   ac_status=$?
57239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57240   (exit $ac_status); }; }; then
57241   eval "$as_ac_var=yes"
57242 else
57243   echo "$as_me: failed program was:" >&5
57244 sed 's/^/| /' conftest.$ac_ext >&5
57245
57246 eval "$as_ac_var=no"
57247 fi
57248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57249 fi
57250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57252 if test `eval echo '${'$as_ac_var'}'` = yes; then
57253   cat >>confdefs.h <<_ACEOF
57254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57255 _ACEOF
57256
57257 fi
57258 done
57259
57260     fi
57261   fi
57262
57263
57264
57265   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57266 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57267   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57268     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57269   echo $ECHO_N "(cached) $ECHO_C" >&6
57270 else
57271
57272
57273
57274       ac_ext=cc
57275 ac_cpp='$CXXCPP $CPPFLAGS'
57276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57279
57280       cat >conftest.$ac_ext <<_ACEOF
57281 #line $LINENO "configure"
57282 /* confdefs.h.  */
57283 _ACEOF
57284 cat confdefs.h >>conftest.$ac_ext
57285 cat >>conftest.$ac_ext <<_ACEOF
57286 /* end confdefs.h.  */
57287 #include <math.h>
57288 int
57289 main ()
57290 {
57291  fmodl(0, 0);
57292   ;
57293   return 0;
57294 }
57295 _ACEOF
57296 rm -f conftest.$ac_objext
57297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57298   (eval $ac_compile) 2>&5
57299   ac_status=$?
57300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301   (exit $ac_status); } &&
57302          { ac_try='test -s conftest.$ac_objext'
57303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304   (eval $ac_try) 2>&5
57305   ac_status=$?
57306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307   (exit $ac_status); }; }; then
57308   glibcxx_cv_func_fmodl_use=yes
57309 else
57310   echo "$as_me: failed program was:" >&5
57311 sed 's/^/| /' conftest.$ac_ext >&5
57312
57313 glibcxx_cv_func_fmodl_use=no
57314 fi
57315 rm -f conftest.$ac_objext conftest.$ac_ext
57316       ac_ext=c
57317 ac_cpp='$CPP $CPPFLAGS'
57318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321
57322
57323 fi
57324
57325   fi
57326   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57327 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57328
57329   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57330
57331 for ac_func in fmodl
57332 do
57333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57334 echo "$as_me:$LINENO: checking for $ac_func" >&5
57335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57336 if eval "test \"\${$as_ac_var+set}\" = set"; then
57337   echo $ECHO_N "(cached) $ECHO_C" >&6
57338 else
57339   if test x$gcc_no_link = xyes; then
57340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57342    { (exit 1); exit 1; }; }
57343 fi
57344 cat >conftest.$ac_ext <<_ACEOF
57345 #line $LINENO "configure"
57346 /* confdefs.h.  */
57347 _ACEOF
57348 cat confdefs.h >>conftest.$ac_ext
57349 cat >>conftest.$ac_ext <<_ACEOF
57350 /* end confdefs.h.  */
57351 /* System header to define __stub macros and hopefully few prototypes,
57352     which can conflict with char $ac_func (); below.
57353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57354     <limits.h> exists even on freestanding compilers.  */
57355 #ifdef __STDC__
57356 # include <limits.h>
57357 #else
57358 # include <assert.h>
57359 #endif
57360 /* Override any gcc2 internal prototype to avoid an error.  */
57361 #ifdef __cplusplus
57362 extern "C"
57363 {
57364 #endif
57365 /* We use char because int might match the return type of a gcc2
57366    builtin and then its argument prototype would still apply.  */
57367 char $ac_func ();
57368 /* The GNU C library defines this for functions which it implements
57369     to always fail with ENOSYS.  Some functions are actually named
57370     something starting with __ and the normal name is an alias.  */
57371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57372 choke me
57373 #else
57374 char (*f) () = $ac_func;
57375 #endif
57376 #ifdef __cplusplus
57377 }
57378 #endif
57379
57380 int
57381 main ()
57382 {
57383 return f != $ac_func;
57384   ;
57385   return 0;
57386 }
57387 _ACEOF
57388 rm -f conftest.$ac_objext conftest$ac_exeext
57389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57390   (eval $ac_link) 2>&5
57391   ac_status=$?
57392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57393   (exit $ac_status); } &&
57394          { ac_try='test -s conftest$ac_exeext'
57395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57396   (eval $ac_try) 2>&5
57397   ac_status=$?
57398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399   (exit $ac_status); }; }; then
57400   eval "$as_ac_var=yes"
57401 else
57402   echo "$as_me: failed program was:" >&5
57403 sed 's/^/| /' conftest.$ac_ext >&5
57404
57405 eval "$as_ac_var=no"
57406 fi
57407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57408 fi
57409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57411 if test `eval echo '${'$as_ac_var'}'` = yes; then
57412   cat >>confdefs.h <<_ACEOF
57413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57414 _ACEOF
57415
57416 fi
57417 done
57418
57419   else
57420
57421   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57422 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57423   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57424     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57425   echo $ECHO_N "(cached) $ECHO_C" >&6
57426 else
57427
57428
57429
57430       ac_ext=cc
57431 ac_cpp='$CXXCPP $CPPFLAGS'
57432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57435
57436       cat >conftest.$ac_ext <<_ACEOF
57437 #line $LINENO "configure"
57438 /* confdefs.h.  */
57439 _ACEOF
57440 cat confdefs.h >>conftest.$ac_ext
57441 cat >>conftest.$ac_ext <<_ACEOF
57442 /* end confdefs.h.  */
57443 #include <math.h>
57444 int
57445 main ()
57446 {
57447  _fmodl(0, 0);
57448   ;
57449   return 0;
57450 }
57451 _ACEOF
57452 rm -f conftest.$ac_objext
57453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57454   (eval $ac_compile) 2>&5
57455   ac_status=$?
57456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457   (exit $ac_status); } &&
57458          { ac_try='test -s conftest.$ac_objext'
57459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57460   (eval $ac_try) 2>&5
57461   ac_status=$?
57462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57463   (exit $ac_status); }; }; then
57464   glibcxx_cv_func__fmodl_use=yes
57465 else
57466   echo "$as_me: failed program was:" >&5
57467 sed 's/^/| /' conftest.$ac_ext >&5
57468
57469 glibcxx_cv_func__fmodl_use=no
57470 fi
57471 rm -f conftest.$ac_objext conftest.$ac_ext
57472       ac_ext=c
57473 ac_cpp='$CPP $CPPFLAGS'
57474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57477
57478
57479 fi
57480
57481   fi
57482   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57483 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57484
57485     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57486
57487 for ac_func in _fmodl
57488 do
57489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57490 echo "$as_me:$LINENO: checking for $ac_func" >&5
57491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57492 if eval "test \"\${$as_ac_var+set}\" = set"; then
57493   echo $ECHO_N "(cached) $ECHO_C" >&6
57494 else
57495   if test x$gcc_no_link = xyes; then
57496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57498    { (exit 1); exit 1; }; }
57499 fi
57500 cat >conftest.$ac_ext <<_ACEOF
57501 #line $LINENO "configure"
57502 /* confdefs.h.  */
57503 _ACEOF
57504 cat confdefs.h >>conftest.$ac_ext
57505 cat >>conftest.$ac_ext <<_ACEOF
57506 /* end confdefs.h.  */
57507 /* System header to define __stub macros and hopefully few prototypes,
57508     which can conflict with char $ac_func (); below.
57509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57510     <limits.h> exists even on freestanding compilers.  */
57511 #ifdef __STDC__
57512 # include <limits.h>
57513 #else
57514 # include <assert.h>
57515 #endif
57516 /* Override any gcc2 internal prototype to avoid an error.  */
57517 #ifdef __cplusplus
57518 extern "C"
57519 {
57520 #endif
57521 /* We use char because int might match the return type of a gcc2
57522    builtin and then its argument prototype would still apply.  */
57523 char $ac_func ();
57524 /* The GNU C library defines this for functions which it implements
57525     to always fail with ENOSYS.  Some functions are actually named
57526     something starting with __ and the normal name is an alias.  */
57527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57528 choke me
57529 #else
57530 char (*f) () = $ac_func;
57531 #endif
57532 #ifdef __cplusplus
57533 }
57534 #endif
57535
57536 int
57537 main ()
57538 {
57539 return f != $ac_func;
57540   ;
57541   return 0;
57542 }
57543 _ACEOF
57544 rm -f conftest.$ac_objext conftest$ac_exeext
57545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57546   (eval $ac_link) 2>&5
57547   ac_status=$?
57548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549   (exit $ac_status); } &&
57550          { ac_try='test -s conftest$ac_exeext'
57551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57552   (eval $ac_try) 2>&5
57553   ac_status=$?
57554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57555   (exit $ac_status); }; }; then
57556   eval "$as_ac_var=yes"
57557 else
57558   echo "$as_me: failed program was:" >&5
57559 sed 's/^/| /' conftest.$ac_ext >&5
57560
57561 eval "$as_ac_var=no"
57562 fi
57563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57564 fi
57565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57567 if test `eval echo '${'$as_ac_var'}'` = yes; then
57568   cat >>confdefs.h <<_ACEOF
57569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57570 _ACEOF
57571
57572 fi
57573 done
57574
57575     fi
57576   fi
57577
57578
57579
57580   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57581 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57582   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57583     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57584   echo $ECHO_N "(cached) $ECHO_C" >&6
57585 else
57586
57587
57588
57589       ac_ext=cc
57590 ac_cpp='$CXXCPP $CPPFLAGS'
57591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57594
57595       cat >conftest.$ac_ext <<_ACEOF
57596 #line $LINENO "configure"
57597 /* confdefs.h.  */
57598 _ACEOF
57599 cat confdefs.h >>conftest.$ac_ext
57600 cat >>conftest.$ac_ext <<_ACEOF
57601 /* end confdefs.h.  */
57602 #include <math.h>
57603 int
57604 main ()
57605 {
57606  frexpl(0, 0);
57607   ;
57608   return 0;
57609 }
57610 _ACEOF
57611 rm -f conftest.$ac_objext
57612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57613   (eval $ac_compile) 2>&5
57614   ac_status=$?
57615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616   (exit $ac_status); } &&
57617          { ac_try='test -s conftest.$ac_objext'
57618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57619   (eval $ac_try) 2>&5
57620   ac_status=$?
57621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622   (exit $ac_status); }; }; then
57623   glibcxx_cv_func_frexpl_use=yes
57624 else
57625   echo "$as_me: failed program was:" >&5
57626 sed 's/^/| /' conftest.$ac_ext >&5
57627
57628 glibcxx_cv_func_frexpl_use=no
57629 fi
57630 rm -f conftest.$ac_objext conftest.$ac_ext
57631       ac_ext=c
57632 ac_cpp='$CPP $CPPFLAGS'
57633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57636
57637
57638 fi
57639
57640   fi
57641   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57642 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57643
57644   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57645
57646 for ac_func in frexpl
57647 do
57648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57649 echo "$as_me:$LINENO: checking for $ac_func" >&5
57650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57651 if eval "test \"\${$as_ac_var+set}\" = set"; then
57652   echo $ECHO_N "(cached) $ECHO_C" >&6
57653 else
57654   if test x$gcc_no_link = xyes; then
57655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57657    { (exit 1); exit 1; }; }
57658 fi
57659 cat >conftest.$ac_ext <<_ACEOF
57660 #line $LINENO "configure"
57661 /* confdefs.h.  */
57662 _ACEOF
57663 cat confdefs.h >>conftest.$ac_ext
57664 cat >>conftest.$ac_ext <<_ACEOF
57665 /* end confdefs.h.  */
57666 /* System header to define __stub macros and hopefully few prototypes,
57667     which can conflict with char $ac_func (); below.
57668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57669     <limits.h> exists even on freestanding compilers.  */
57670 #ifdef __STDC__
57671 # include <limits.h>
57672 #else
57673 # include <assert.h>
57674 #endif
57675 /* Override any gcc2 internal prototype to avoid an error.  */
57676 #ifdef __cplusplus
57677 extern "C"
57678 {
57679 #endif
57680 /* We use char because int might match the return type of a gcc2
57681    builtin and then its argument prototype would still apply.  */
57682 char $ac_func ();
57683 /* The GNU C library defines this for functions which it implements
57684     to always fail with ENOSYS.  Some functions are actually named
57685     something starting with __ and the normal name is an alias.  */
57686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57687 choke me
57688 #else
57689 char (*f) () = $ac_func;
57690 #endif
57691 #ifdef __cplusplus
57692 }
57693 #endif
57694
57695 int
57696 main ()
57697 {
57698 return f != $ac_func;
57699   ;
57700   return 0;
57701 }
57702 _ACEOF
57703 rm -f conftest.$ac_objext conftest$ac_exeext
57704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57705   (eval $ac_link) 2>&5
57706   ac_status=$?
57707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708   (exit $ac_status); } &&
57709          { ac_try='test -s conftest$ac_exeext'
57710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57711   (eval $ac_try) 2>&5
57712   ac_status=$?
57713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57714   (exit $ac_status); }; }; then
57715   eval "$as_ac_var=yes"
57716 else
57717   echo "$as_me: failed program was:" >&5
57718 sed 's/^/| /' conftest.$ac_ext >&5
57719
57720 eval "$as_ac_var=no"
57721 fi
57722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57723 fi
57724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57726 if test `eval echo '${'$as_ac_var'}'` = yes; then
57727   cat >>confdefs.h <<_ACEOF
57728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57729 _ACEOF
57730
57731 fi
57732 done
57733
57734   else
57735
57736   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57737 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57738   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57739     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57740   echo $ECHO_N "(cached) $ECHO_C" >&6
57741 else
57742
57743
57744
57745       ac_ext=cc
57746 ac_cpp='$CXXCPP $CPPFLAGS'
57747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57750
57751       cat >conftest.$ac_ext <<_ACEOF
57752 #line $LINENO "configure"
57753 /* confdefs.h.  */
57754 _ACEOF
57755 cat confdefs.h >>conftest.$ac_ext
57756 cat >>conftest.$ac_ext <<_ACEOF
57757 /* end confdefs.h.  */
57758 #include <math.h>
57759 int
57760 main ()
57761 {
57762  _frexpl(0, 0);
57763   ;
57764   return 0;
57765 }
57766 _ACEOF
57767 rm -f conftest.$ac_objext
57768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57769   (eval $ac_compile) 2>&5
57770   ac_status=$?
57771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57772   (exit $ac_status); } &&
57773          { ac_try='test -s conftest.$ac_objext'
57774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57775   (eval $ac_try) 2>&5
57776   ac_status=$?
57777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57778   (exit $ac_status); }; }; then
57779   glibcxx_cv_func__frexpl_use=yes
57780 else
57781   echo "$as_me: failed program was:" >&5
57782 sed 's/^/| /' conftest.$ac_ext >&5
57783
57784 glibcxx_cv_func__frexpl_use=no
57785 fi
57786 rm -f conftest.$ac_objext conftest.$ac_ext
57787       ac_ext=c
57788 ac_cpp='$CPP $CPPFLAGS'
57789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57792
57793
57794 fi
57795
57796   fi
57797   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57798 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57799
57800     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57801
57802 for ac_func in _frexpl
57803 do
57804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57805 echo "$as_me:$LINENO: checking for $ac_func" >&5
57806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57807 if eval "test \"\${$as_ac_var+set}\" = set"; then
57808   echo $ECHO_N "(cached) $ECHO_C" >&6
57809 else
57810   if test x$gcc_no_link = xyes; then
57811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57813    { (exit 1); exit 1; }; }
57814 fi
57815 cat >conftest.$ac_ext <<_ACEOF
57816 #line $LINENO "configure"
57817 /* confdefs.h.  */
57818 _ACEOF
57819 cat confdefs.h >>conftest.$ac_ext
57820 cat >>conftest.$ac_ext <<_ACEOF
57821 /* end confdefs.h.  */
57822 /* System header to define __stub macros and hopefully few prototypes,
57823     which can conflict with char $ac_func (); below.
57824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57825     <limits.h> exists even on freestanding compilers.  */
57826 #ifdef __STDC__
57827 # include <limits.h>
57828 #else
57829 # include <assert.h>
57830 #endif
57831 /* Override any gcc2 internal prototype to avoid an error.  */
57832 #ifdef __cplusplus
57833 extern "C"
57834 {
57835 #endif
57836 /* We use char because int might match the return type of a gcc2
57837    builtin and then its argument prototype would still apply.  */
57838 char $ac_func ();
57839 /* The GNU C library defines this for functions which it implements
57840     to always fail with ENOSYS.  Some functions are actually named
57841     something starting with __ and the normal name is an alias.  */
57842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57843 choke me
57844 #else
57845 char (*f) () = $ac_func;
57846 #endif
57847 #ifdef __cplusplus
57848 }
57849 #endif
57850
57851 int
57852 main ()
57853 {
57854 return f != $ac_func;
57855   ;
57856   return 0;
57857 }
57858 _ACEOF
57859 rm -f conftest.$ac_objext conftest$ac_exeext
57860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57861   (eval $ac_link) 2>&5
57862   ac_status=$?
57863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57864   (exit $ac_status); } &&
57865          { ac_try='test -s conftest$ac_exeext'
57866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57867   (eval $ac_try) 2>&5
57868   ac_status=$?
57869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57870   (exit $ac_status); }; }; then
57871   eval "$as_ac_var=yes"
57872 else
57873   echo "$as_me: failed program was:" >&5
57874 sed 's/^/| /' conftest.$ac_ext >&5
57875
57876 eval "$as_ac_var=no"
57877 fi
57878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57879 fi
57880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57882 if test `eval echo '${'$as_ac_var'}'` = yes; then
57883   cat >>confdefs.h <<_ACEOF
57884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57885 _ACEOF
57886
57887 fi
57888 done
57889
57890     fi
57891   fi
57892
57893
57894
57895   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57896 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57897   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57898     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57899   echo $ECHO_N "(cached) $ECHO_C" >&6
57900 else
57901
57902
57903
57904       ac_ext=cc
57905 ac_cpp='$CXXCPP $CPPFLAGS'
57906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57909
57910       cat >conftest.$ac_ext <<_ACEOF
57911 #line $LINENO "configure"
57912 /* confdefs.h.  */
57913 _ACEOF
57914 cat confdefs.h >>conftest.$ac_ext
57915 cat >>conftest.$ac_ext <<_ACEOF
57916 /* end confdefs.h.  */
57917 #include <math.h>
57918 int
57919 main ()
57920 {
57921  hypotl(0, 0);
57922   ;
57923   return 0;
57924 }
57925 _ACEOF
57926 rm -f conftest.$ac_objext
57927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57928   (eval $ac_compile) 2>&5
57929   ac_status=$?
57930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57931   (exit $ac_status); } &&
57932          { ac_try='test -s conftest.$ac_objext'
57933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57934   (eval $ac_try) 2>&5
57935   ac_status=$?
57936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57937   (exit $ac_status); }; }; then
57938   glibcxx_cv_func_hypotl_use=yes
57939 else
57940   echo "$as_me: failed program was:" >&5
57941 sed 's/^/| /' conftest.$ac_ext >&5
57942
57943 glibcxx_cv_func_hypotl_use=no
57944 fi
57945 rm -f conftest.$ac_objext conftest.$ac_ext
57946       ac_ext=c
57947 ac_cpp='$CPP $CPPFLAGS'
57948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57951
57952
57953 fi
57954
57955   fi
57956   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57957 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57958
57959   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57960
57961 for ac_func in hypotl
57962 do
57963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57964 echo "$as_me:$LINENO: checking for $ac_func" >&5
57965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57966 if eval "test \"\${$as_ac_var+set}\" = set"; then
57967   echo $ECHO_N "(cached) $ECHO_C" >&6
57968 else
57969   if test x$gcc_no_link = xyes; then
57970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57972    { (exit 1); exit 1; }; }
57973 fi
57974 cat >conftest.$ac_ext <<_ACEOF
57975 #line $LINENO "configure"
57976 /* confdefs.h.  */
57977 _ACEOF
57978 cat confdefs.h >>conftest.$ac_ext
57979 cat >>conftest.$ac_ext <<_ACEOF
57980 /* end confdefs.h.  */
57981 /* System header to define __stub macros and hopefully few prototypes,
57982     which can conflict with char $ac_func (); below.
57983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57984     <limits.h> exists even on freestanding compilers.  */
57985 #ifdef __STDC__
57986 # include <limits.h>
57987 #else
57988 # include <assert.h>
57989 #endif
57990 /* Override any gcc2 internal prototype to avoid an error.  */
57991 #ifdef __cplusplus
57992 extern "C"
57993 {
57994 #endif
57995 /* We use char because int might match the return type of a gcc2
57996    builtin and then its argument prototype would still apply.  */
57997 char $ac_func ();
57998 /* The GNU C library defines this for functions which it implements
57999     to always fail with ENOSYS.  Some functions are actually named
58000     something starting with __ and the normal name is an alias.  */
58001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58002 choke me
58003 #else
58004 char (*f) () = $ac_func;
58005 #endif
58006 #ifdef __cplusplus
58007 }
58008 #endif
58009
58010 int
58011 main ()
58012 {
58013 return f != $ac_func;
58014   ;
58015   return 0;
58016 }
58017 _ACEOF
58018 rm -f conftest.$ac_objext conftest$ac_exeext
58019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58020   (eval $ac_link) 2>&5
58021   ac_status=$?
58022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023   (exit $ac_status); } &&
58024          { ac_try='test -s conftest$ac_exeext'
58025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58026   (eval $ac_try) 2>&5
58027   ac_status=$?
58028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58029   (exit $ac_status); }; }; then
58030   eval "$as_ac_var=yes"
58031 else
58032   echo "$as_me: failed program was:" >&5
58033 sed 's/^/| /' conftest.$ac_ext >&5
58034
58035 eval "$as_ac_var=no"
58036 fi
58037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58038 fi
58039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58041 if test `eval echo '${'$as_ac_var'}'` = yes; then
58042   cat >>confdefs.h <<_ACEOF
58043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58044 _ACEOF
58045
58046 fi
58047 done
58048
58049   else
58050
58051   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58052 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58053   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58054     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58055   echo $ECHO_N "(cached) $ECHO_C" >&6
58056 else
58057
58058
58059
58060       ac_ext=cc
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58065
58066       cat >conftest.$ac_ext <<_ACEOF
58067 #line $LINENO "configure"
58068 /* confdefs.h.  */
58069 _ACEOF
58070 cat confdefs.h >>conftest.$ac_ext
58071 cat >>conftest.$ac_ext <<_ACEOF
58072 /* end confdefs.h.  */
58073 #include <math.h>
58074 int
58075 main ()
58076 {
58077  _hypotl(0, 0);
58078   ;
58079   return 0;
58080 }
58081 _ACEOF
58082 rm -f conftest.$ac_objext
58083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58084   (eval $ac_compile) 2>&5
58085   ac_status=$?
58086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58087   (exit $ac_status); } &&
58088          { ac_try='test -s conftest.$ac_objext'
58089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58090   (eval $ac_try) 2>&5
58091   ac_status=$?
58092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093   (exit $ac_status); }; }; then
58094   glibcxx_cv_func__hypotl_use=yes
58095 else
58096   echo "$as_me: failed program was:" >&5
58097 sed 's/^/| /' conftest.$ac_ext >&5
58098
58099 glibcxx_cv_func__hypotl_use=no
58100 fi
58101 rm -f conftest.$ac_objext conftest.$ac_ext
58102       ac_ext=c
58103 ac_cpp='$CPP $CPPFLAGS'
58104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58107
58108
58109 fi
58110
58111   fi
58112   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58113 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58114
58115     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58116
58117 for ac_func in _hypotl
58118 do
58119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58120 echo "$as_me:$LINENO: checking for $ac_func" >&5
58121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58122 if eval "test \"\${$as_ac_var+set}\" = set"; then
58123   echo $ECHO_N "(cached) $ECHO_C" >&6
58124 else
58125   if test x$gcc_no_link = xyes; then
58126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58128    { (exit 1); exit 1; }; }
58129 fi
58130 cat >conftest.$ac_ext <<_ACEOF
58131 #line $LINENO "configure"
58132 /* confdefs.h.  */
58133 _ACEOF
58134 cat confdefs.h >>conftest.$ac_ext
58135 cat >>conftest.$ac_ext <<_ACEOF
58136 /* end confdefs.h.  */
58137 /* System header to define __stub macros and hopefully few prototypes,
58138     which can conflict with char $ac_func (); below.
58139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58140     <limits.h> exists even on freestanding compilers.  */
58141 #ifdef __STDC__
58142 # include <limits.h>
58143 #else
58144 # include <assert.h>
58145 #endif
58146 /* Override any gcc2 internal prototype to avoid an error.  */
58147 #ifdef __cplusplus
58148 extern "C"
58149 {
58150 #endif
58151 /* We use char because int might match the return type of a gcc2
58152    builtin and then its argument prototype would still apply.  */
58153 char $ac_func ();
58154 /* The GNU C library defines this for functions which it implements
58155     to always fail with ENOSYS.  Some functions are actually named
58156     something starting with __ and the normal name is an alias.  */
58157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58158 choke me
58159 #else
58160 char (*f) () = $ac_func;
58161 #endif
58162 #ifdef __cplusplus
58163 }
58164 #endif
58165
58166 int
58167 main ()
58168 {
58169 return f != $ac_func;
58170   ;
58171   return 0;
58172 }
58173 _ACEOF
58174 rm -f conftest.$ac_objext conftest$ac_exeext
58175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58176   (eval $ac_link) 2>&5
58177   ac_status=$?
58178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58179   (exit $ac_status); } &&
58180          { ac_try='test -s conftest$ac_exeext'
58181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58182   (eval $ac_try) 2>&5
58183   ac_status=$?
58184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58185   (exit $ac_status); }; }; then
58186   eval "$as_ac_var=yes"
58187 else
58188   echo "$as_me: failed program was:" >&5
58189 sed 's/^/| /' conftest.$ac_ext >&5
58190
58191 eval "$as_ac_var=no"
58192 fi
58193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58194 fi
58195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58197 if test `eval echo '${'$as_ac_var'}'` = yes; then
58198   cat >>confdefs.h <<_ACEOF
58199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58200 _ACEOF
58201
58202 fi
58203 done
58204
58205     fi
58206   fi
58207
58208
58209
58210   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58211 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58212   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58213     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58214   echo $ECHO_N "(cached) $ECHO_C" >&6
58215 else
58216
58217
58218
58219       ac_ext=cc
58220 ac_cpp='$CXXCPP $CPPFLAGS'
58221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58224
58225       cat >conftest.$ac_ext <<_ACEOF
58226 #line $LINENO "configure"
58227 /* confdefs.h.  */
58228 _ACEOF
58229 cat confdefs.h >>conftest.$ac_ext
58230 cat >>conftest.$ac_ext <<_ACEOF
58231 /* end confdefs.h.  */
58232 #include <math.h>
58233 int
58234 main ()
58235 {
58236  ldexpl(0, 0);
58237   ;
58238   return 0;
58239 }
58240 _ACEOF
58241 rm -f conftest.$ac_objext
58242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58243   (eval $ac_compile) 2>&5
58244   ac_status=$?
58245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58246   (exit $ac_status); } &&
58247          { ac_try='test -s conftest.$ac_objext'
58248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58249   (eval $ac_try) 2>&5
58250   ac_status=$?
58251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58252   (exit $ac_status); }; }; then
58253   glibcxx_cv_func_ldexpl_use=yes
58254 else
58255   echo "$as_me: failed program was:" >&5
58256 sed 's/^/| /' conftest.$ac_ext >&5
58257
58258 glibcxx_cv_func_ldexpl_use=no
58259 fi
58260 rm -f conftest.$ac_objext conftest.$ac_ext
58261       ac_ext=c
58262 ac_cpp='$CPP $CPPFLAGS'
58263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58266
58267
58268 fi
58269
58270   fi
58271   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58272 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58273
58274   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58275
58276 for ac_func in ldexpl
58277 do
58278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58279 echo "$as_me:$LINENO: checking for $ac_func" >&5
58280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58281 if eval "test \"\${$as_ac_var+set}\" = set"; then
58282   echo $ECHO_N "(cached) $ECHO_C" >&6
58283 else
58284   if test x$gcc_no_link = xyes; then
58285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58287    { (exit 1); exit 1; }; }
58288 fi
58289 cat >conftest.$ac_ext <<_ACEOF
58290 #line $LINENO "configure"
58291 /* confdefs.h.  */
58292 _ACEOF
58293 cat confdefs.h >>conftest.$ac_ext
58294 cat >>conftest.$ac_ext <<_ACEOF
58295 /* end confdefs.h.  */
58296 /* System header to define __stub macros and hopefully few prototypes,
58297     which can conflict with char $ac_func (); below.
58298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58299     <limits.h> exists even on freestanding compilers.  */
58300 #ifdef __STDC__
58301 # include <limits.h>
58302 #else
58303 # include <assert.h>
58304 #endif
58305 /* Override any gcc2 internal prototype to avoid an error.  */
58306 #ifdef __cplusplus
58307 extern "C"
58308 {
58309 #endif
58310 /* We use char because int might match the return type of a gcc2
58311    builtin and then its argument prototype would still apply.  */
58312 char $ac_func ();
58313 /* The GNU C library defines this for functions which it implements
58314     to always fail with ENOSYS.  Some functions are actually named
58315     something starting with __ and the normal name is an alias.  */
58316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58317 choke me
58318 #else
58319 char (*f) () = $ac_func;
58320 #endif
58321 #ifdef __cplusplus
58322 }
58323 #endif
58324
58325 int
58326 main ()
58327 {
58328 return f != $ac_func;
58329   ;
58330   return 0;
58331 }
58332 _ACEOF
58333 rm -f conftest.$ac_objext conftest$ac_exeext
58334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58335   (eval $ac_link) 2>&5
58336   ac_status=$?
58337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58338   (exit $ac_status); } &&
58339          { ac_try='test -s conftest$ac_exeext'
58340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58341   (eval $ac_try) 2>&5
58342   ac_status=$?
58343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58344   (exit $ac_status); }; }; then
58345   eval "$as_ac_var=yes"
58346 else
58347   echo "$as_me: failed program was:" >&5
58348 sed 's/^/| /' conftest.$ac_ext >&5
58349
58350 eval "$as_ac_var=no"
58351 fi
58352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58353 fi
58354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58356 if test `eval echo '${'$as_ac_var'}'` = yes; then
58357   cat >>confdefs.h <<_ACEOF
58358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58359 _ACEOF
58360
58361 fi
58362 done
58363
58364   else
58365
58366   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58367 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58368   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58369     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58370   echo $ECHO_N "(cached) $ECHO_C" >&6
58371 else
58372
58373
58374
58375       ac_ext=cc
58376 ac_cpp='$CXXCPP $CPPFLAGS'
58377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58380
58381       cat >conftest.$ac_ext <<_ACEOF
58382 #line $LINENO "configure"
58383 /* confdefs.h.  */
58384 _ACEOF
58385 cat confdefs.h >>conftest.$ac_ext
58386 cat >>conftest.$ac_ext <<_ACEOF
58387 /* end confdefs.h.  */
58388 #include <math.h>
58389 int
58390 main ()
58391 {
58392  _ldexpl(0, 0);
58393   ;
58394   return 0;
58395 }
58396 _ACEOF
58397 rm -f conftest.$ac_objext
58398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58399   (eval $ac_compile) 2>&5
58400   ac_status=$?
58401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402   (exit $ac_status); } &&
58403          { ac_try='test -s conftest.$ac_objext'
58404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58405   (eval $ac_try) 2>&5
58406   ac_status=$?
58407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58408   (exit $ac_status); }; }; then
58409   glibcxx_cv_func__ldexpl_use=yes
58410 else
58411   echo "$as_me: failed program was:" >&5
58412 sed 's/^/| /' conftest.$ac_ext >&5
58413
58414 glibcxx_cv_func__ldexpl_use=no
58415 fi
58416 rm -f conftest.$ac_objext conftest.$ac_ext
58417       ac_ext=c
58418 ac_cpp='$CPP $CPPFLAGS'
58419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58422
58423
58424 fi
58425
58426   fi
58427   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58428 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58429
58430     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58431
58432 for ac_func in _ldexpl
58433 do
58434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58435 echo "$as_me:$LINENO: checking for $ac_func" >&5
58436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58437 if eval "test \"\${$as_ac_var+set}\" = set"; then
58438   echo $ECHO_N "(cached) $ECHO_C" >&6
58439 else
58440   if test x$gcc_no_link = xyes; then
58441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58443    { (exit 1); exit 1; }; }
58444 fi
58445 cat >conftest.$ac_ext <<_ACEOF
58446 #line $LINENO "configure"
58447 /* confdefs.h.  */
58448 _ACEOF
58449 cat confdefs.h >>conftest.$ac_ext
58450 cat >>conftest.$ac_ext <<_ACEOF
58451 /* end confdefs.h.  */
58452 /* System header to define __stub macros and hopefully few prototypes,
58453     which can conflict with char $ac_func (); below.
58454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58455     <limits.h> exists even on freestanding compilers.  */
58456 #ifdef __STDC__
58457 # include <limits.h>
58458 #else
58459 # include <assert.h>
58460 #endif
58461 /* Override any gcc2 internal prototype to avoid an error.  */
58462 #ifdef __cplusplus
58463 extern "C"
58464 {
58465 #endif
58466 /* We use char because int might match the return type of a gcc2
58467    builtin and then its argument prototype would still apply.  */
58468 char $ac_func ();
58469 /* The GNU C library defines this for functions which it implements
58470     to always fail with ENOSYS.  Some functions are actually named
58471     something starting with __ and the normal name is an alias.  */
58472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58473 choke me
58474 #else
58475 char (*f) () = $ac_func;
58476 #endif
58477 #ifdef __cplusplus
58478 }
58479 #endif
58480
58481 int
58482 main ()
58483 {
58484 return f != $ac_func;
58485   ;
58486   return 0;
58487 }
58488 _ACEOF
58489 rm -f conftest.$ac_objext conftest$ac_exeext
58490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58491   (eval $ac_link) 2>&5
58492   ac_status=$?
58493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58494   (exit $ac_status); } &&
58495          { ac_try='test -s conftest$ac_exeext'
58496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58497   (eval $ac_try) 2>&5
58498   ac_status=$?
58499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58500   (exit $ac_status); }; }; then
58501   eval "$as_ac_var=yes"
58502 else
58503   echo "$as_me: failed program was:" >&5
58504 sed 's/^/| /' conftest.$ac_ext >&5
58505
58506 eval "$as_ac_var=no"
58507 fi
58508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58509 fi
58510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58512 if test `eval echo '${'$as_ac_var'}'` = yes; then
58513   cat >>confdefs.h <<_ACEOF
58514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58515 _ACEOF
58516
58517 fi
58518 done
58519
58520     fi
58521   fi
58522
58523
58524
58525   echo "$as_me:$LINENO: checking for logl declaration" >&5
58526 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58527   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58528     if test "${glibcxx_cv_func_logl_use+set}" = set; then
58529   echo $ECHO_N "(cached) $ECHO_C" >&6
58530 else
58531
58532
58533
58534       ac_ext=cc
58535 ac_cpp='$CXXCPP $CPPFLAGS'
58536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58539
58540       cat >conftest.$ac_ext <<_ACEOF
58541 #line $LINENO "configure"
58542 /* confdefs.h.  */
58543 _ACEOF
58544 cat confdefs.h >>conftest.$ac_ext
58545 cat >>conftest.$ac_ext <<_ACEOF
58546 /* end confdefs.h.  */
58547 #include <math.h>
58548                       #ifdef HAVE_IEEEFP_H
58549                       #include <ieeefp.h>
58550                       #endif
58551
58552 int
58553 main ()
58554 {
58555  logl(0);
58556   ;
58557   return 0;
58558 }
58559 _ACEOF
58560 rm -f conftest.$ac_objext
58561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58562   (eval $ac_compile) 2>&5
58563   ac_status=$?
58564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565   (exit $ac_status); } &&
58566          { ac_try='test -s conftest.$ac_objext'
58567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58568   (eval $ac_try) 2>&5
58569   ac_status=$?
58570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58571   (exit $ac_status); }; }; then
58572   glibcxx_cv_func_logl_use=yes
58573 else
58574   echo "$as_me: failed program was:" >&5
58575 sed 's/^/| /' conftest.$ac_ext >&5
58576
58577 glibcxx_cv_func_logl_use=no
58578 fi
58579 rm -f conftest.$ac_objext conftest.$ac_ext
58580       ac_ext=c
58581 ac_cpp='$CPP $CPPFLAGS'
58582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58585
58586
58587 fi
58588
58589   fi
58590   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58591 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58592
58593   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58594
58595 for ac_func in logl
58596 do
58597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58598 echo "$as_me:$LINENO: checking for $ac_func" >&5
58599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58600 if eval "test \"\${$as_ac_var+set}\" = set"; then
58601   echo $ECHO_N "(cached) $ECHO_C" >&6
58602 else
58603   if test x$gcc_no_link = xyes; then
58604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58606    { (exit 1); exit 1; }; }
58607 fi
58608 cat >conftest.$ac_ext <<_ACEOF
58609 #line $LINENO "configure"
58610 /* confdefs.h.  */
58611 _ACEOF
58612 cat confdefs.h >>conftest.$ac_ext
58613 cat >>conftest.$ac_ext <<_ACEOF
58614 /* end confdefs.h.  */
58615 /* System header to define __stub macros and hopefully few prototypes,
58616     which can conflict with char $ac_func (); below.
58617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58618     <limits.h> exists even on freestanding compilers.  */
58619 #ifdef __STDC__
58620 # include <limits.h>
58621 #else
58622 # include <assert.h>
58623 #endif
58624 /* Override any gcc2 internal prototype to avoid an error.  */
58625 #ifdef __cplusplus
58626 extern "C"
58627 {
58628 #endif
58629 /* We use char because int might match the return type of a gcc2
58630    builtin and then its argument prototype would still apply.  */
58631 char $ac_func ();
58632 /* The GNU C library defines this for functions which it implements
58633     to always fail with ENOSYS.  Some functions are actually named
58634     something starting with __ and the normal name is an alias.  */
58635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58636 choke me
58637 #else
58638 char (*f) () = $ac_func;
58639 #endif
58640 #ifdef __cplusplus
58641 }
58642 #endif
58643
58644 int
58645 main ()
58646 {
58647 return f != $ac_func;
58648   ;
58649   return 0;
58650 }
58651 _ACEOF
58652 rm -f conftest.$ac_objext conftest$ac_exeext
58653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58654   (eval $ac_link) 2>&5
58655   ac_status=$?
58656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657   (exit $ac_status); } &&
58658          { ac_try='test -s conftest$ac_exeext'
58659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58660   (eval $ac_try) 2>&5
58661   ac_status=$?
58662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58663   (exit $ac_status); }; }; then
58664   eval "$as_ac_var=yes"
58665 else
58666   echo "$as_me: failed program was:" >&5
58667 sed 's/^/| /' conftest.$ac_ext >&5
58668
58669 eval "$as_ac_var=no"
58670 fi
58671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58672 fi
58673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58675 if test `eval echo '${'$as_ac_var'}'` = yes; then
58676   cat >>confdefs.h <<_ACEOF
58677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58678 _ACEOF
58679
58680 fi
58681 done
58682
58683   else
58684
58685   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58686 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58687   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58688     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58689   echo $ECHO_N "(cached) $ECHO_C" >&6
58690 else
58691
58692
58693
58694       ac_ext=cc
58695 ac_cpp='$CXXCPP $CPPFLAGS'
58696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58699
58700       cat >conftest.$ac_ext <<_ACEOF
58701 #line $LINENO "configure"
58702 /* confdefs.h.  */
58703 _ACEOF
58704 cat confdefs.h >>conftest.$ac_ext
58705 cat >>conftest.$ac_ext <<_ACEOF
58706 /* end confdefs.h.  */
58707 #include <math.h>
58708                       #ifdef HAVE_IEEEFP_H
58709                       #include <ieeefp.h>
58710                       #endif
58711
58712 int
58713 main ()
58714 {
58715  _logl(0);
58716   ;
58717   return 0;
58718 }
58719 _ACEOF
58720 rm -f conftest.$ac_objext
58721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58722   (eval $ac_compile) 2>&5
58723   ac_status=$?
58724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58725   (exit $ac_status); } &&
58726          { ac_try='test -s conftest.$ac_objext'
58727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58728   (eval $ac_try) 2>&5
58729   ac_status=$?
58730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58731   (exit $ac_status); }; }; then
58732   glibcxx_cv_func__logl_use=yes
58733 else
58734   echo "$as_me: failed program was:" >&5
58735 sed 's/^/| /' conftest.$ac_ext >&5
58736
58737 glibcxx_cv_func__logl_use=no
58738 fi
58739 rm -f conftest.$ac_objext conftest.$ac_ext
58740       ac_ext=c
58741 ac_cpp='$CPP $CPPFLAGS'
58742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58745
58746
58747 fi
58748
58749   fi
58750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58751 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58752
58753     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58754
58755 for ac_func in _logl
58756 do
58757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58758 echo "$as_me:$LINENO: checking for $ac_func" >&5
58759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58760 if eval "test \"\${$as_ac_var+set}\" = set"; then
58761   echo $ECHO_N "(cached) $ECHO_C" >&6
58762 else
58763   if test x$gcc_no_link = xyes; then
58764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58766    { (exit 1); exit 1; }; }
58767 fi
58768 cat >conftest.$ac_ext <<_ACEOF
58769 #line $LINENO "configure"
58770 /* confdefs.h.  */
58771 _ACEOF
58772 cat confdefs.h >>conftest.$ac_ext
58773 cat >>conftest.$ac_ext <<_ACEOF
58774 /* end confdefs.h.  */
58775 /* System header to define __stub macros and hopefully few prototypes,
58776     which can conflict with char $ac_func (); below.
58777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58778     <limits.h> exists even on freestanding compilers.  */
58779 #ifdef __STDC__
58780 # include <limits.h>
58781 #else
58782 # include <assert.h>
58783 #endif
58784 /* Override any gcc2 internal prototype to avoid an error.  */
58785 #ifdef __cplusplus
58786 extern "C"
58787 {
58788 #endif
58789 /* We use char because int might match the return type of a gcc2
58790    builtin and then its argument prototype would still apply.  */
58791 char $ac_func ();
58792 /* The GNU C library defines this for functions which it implements
58793     to always fail with ENOSYS.  Some functions are actually named
58794     something starting with __ and the normal name is an alias.  */
58795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58796 choke me
58797 #else
58798 char (*f) () = $ac_func;
58799 #endif
58800 #ifdef __cplusplus
58801 }
58802 #endif
58803
58804 int
58805 main ()
58806 {
58807 return f != $ac_func;
58808   ;
58809   return 0;
58810 }
58811 _ACEOF
58812 rm -f conftest.$ac_objext conftest$ac_exeext
58813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58814   (eval $ac_link) 2>&5
58815   ac_status=$?
58816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817   (exit $ac_status); } &&
58818          { ac_try='test -s conftest$ac_exeext'
58819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58820   (eval $ac_try) 2>&5
58821   ac_status=$?
58822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58823   (exit $ac_status); }; }; then
58824   eval "$as_ac_var=yes"
58825 else
58826   echo "$as_me: failed program was:" >&5
58827 sed 's/^/| /' conftest.$ac_ext >&5
58828
58829 eval "$as_ac_var=no"
58830 fi
58831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58832 fi
58833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58835 if test `eval echo '${'$as_ac_var'}'` = yes; then
58836   cat >>confdefs.h <<_ACEOF
58837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58838 _ACEOF
58839
58840 fi
58841 done
58842
58843     fi
58844   fi
58845
58846
58847
58848   echo "$as_me:$LINENO: checking for log10l declaration" >&5
58849 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58850   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58851     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58852   echo $ECHO_N "(cached) $ECHO_C" >&6
58853 else
58854
58855
58856
58857       ac_ext=cc
58858 ac_cpp='$CXXCPP $CPPFLAGS'
58859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58862
58863       cat >conftest.$ac_ext <<_ACEOF
58864 #line $LINENO "configure"
58865 /* confdefs.h.  */
58866 _ACEOF
58867 cat confdefs.h >>conftest.$ac_ext
58868 cat >>conftest.$ac_ext <<_ACEOF
58869 /* end confdefs.h.  */
58870 #include <math.h>
58871                       #ifdef HAVE_IEEEFP_H
58872                       #include <ieeefp.h>
58873                       #endif
58874
58875 int
58876 main ()
58877 {
58878  log10l(0);
58879   ;
58880   return 0;
58881 }
58882 _ACEOF
58883 rm -f conftest.$ac_objext
58884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58885   (eval $ac_compile) 2>&5
58886   ac_status=$?
58887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58888   (exit $ac_status); } &&
58889          { ac_try='test -s conftest.$ac_objext'
58890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58891   (eval $ac_try) 2>&5
58892   ac_status=$?
58893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58894   (exit $ac_status); }; }; then
58895   glibcxx_cv_func_log10l_use=yes
58896 else
58897   echo "$as_me: failed program was:" >&5
58898 sed 's/^/| /' conftest.$ac_ext >&5
58899
58900 glibcxx_cv_func_log10l_use=no
58901 fi
58902 rm -f conftest.$ac_objext conftest.$ac_ext
58903       ac_ext=c
58904 ac_cpp='$CPP $CPPFLAGS'
58905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58908
58909
58910 fi
58911
58912   fi
58913   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58914 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58915
58916   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58917
58918 for ac_func in log10l
58919 do
58920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58921 echo "$as_me:$LINENO: checking for $ac_func" >&5
58922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58923 if eval "test \"\${$as_ac_var+set}\" = set"; then
58924   echo $ECHO_N "(cached) $ECHO_C" >&6
58925 else
58926   if test x$gcc_no_link = xyes; then
58927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58929    { (exit 1); exit 1; }; }
58930 fi
58931 cat >conftest.$ac_ext <<_ACEOF
58932 #line $LINENO "configure"
58933 /* confdefs.h.  */
58934 _ACEOF
58935 cat confdefs.h >>conftest.$ac_ext
58936 cat >>conftest.$ac_ext <<_ACEOF
58937 /* end confdefs.h.  */
58938 /* System header to define __stub macros and hopefully few prototypes,
58939     which can conflict with char $ac_func (); below.
58940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58941     <limits.h> exists even on freestanding compilers.  */
58942 #ifdef __STDC__
58943 # include <limits.h>
58944 #else
58945 # include <assert.h>
58946 #endif
58947 /* Override any gcc2 internal prototype to avoid an error.  */
58948 #ifdef __cplusplus
58949 extern "C"
58950 {
58951 #endif
58952 /* We use char because int might match the return type of a gcc2
58953    builtin and then its argument prototype would still apply.  */
58954 char $ac_func ();
58955 /* The GNU C library defines this for functions which it implements
58956     to always fail with ENOSYS.  Some functions are actually named
58957     something starting with __ and the normal name is an alias.  */
58958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58959 choke me
58960 #else
58961 char (*f) () = $ac_func;
58962 #endif
58963 #ifdef __cplusplus
58964 }
58965 #endif
58966
58967 int
58968 main ()
58969 {
58970 return f != $ac_func;
58971   ;
58972   return 0;
58973 }
58974 _ACEOF
58975 rm -f conftest.$ac_objext conftest$ac_exeext
58976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58977   (eval $ac_link) 2>&5
58978   ac_status=$?
58979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58980   (exit $ac_status); } &&
58981          { ac_try='test -s conftest$ac_exeext'
58982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58983   (eval $ac_try) 2>&5
58984   ac_status=$?
58985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58986   (exit $ac_status); }; }; then
58987   eval "$as_ac_var=yes"
58988 else
58989   echo "$as_me: failed program was:" >&5
58990 sed 's/^/| /' conftest.$ac_ext >&5
58991
58992 eval "$as_ac_var=no"
58993 fi
58994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58995 fi
58996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58998 if test `eval echo '${'$as_ac_var'}'` = yes; then
58999   cat >>confdefs.h <<_ACEOF
59000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59001 _ACEOF
59002
59003 fi
59004 done
59005
59006   else
59007
59008   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59009 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59010   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59011     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59012   echo $ECHO_N "(cached) $ECHO_C" >&6
59013 else
59014
59015
59016
59017       ac_ext=cc
59018 ac_cpp='$CXXCPP $CPPFLAGS'
59019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59022
59023       cat >conftest.$ac_ext <<_ACEOF
59024 #line $LINENO "configure"
59025 /* confdefs.h.  */
59026 _ACEOF
59027 cat confdefs.h >>conftest.$ac_ext
59028 cat >>conftest.$ac_ext <<_ACEOF
59029 /* end confdefs.h.  */
59030 #include <math.h>
59031                       #ifdef HAVE_IEEEFP_H
59032                       #include <ieeefp.h>
59033                       #endif
59034
59035 int
59036 main ()
59037 {
59038  _log10l(0);
59039   ;
59040   return 0;
59041 }
59042 _ACEOF
59043 rm -f conftest.$ac_objext
59044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59045   (eval $ac_compile) 2>&5
59046   ac_status=$?
59047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59048   (exit $ac_status); } &&
59049          { ac_try='test -s conftest.$ac_objext'
59050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59051   (eval $ac_try) 2>&5
59052   ac_status=$?
59053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59054   (exit $ac_status); }; }; then
59055   glibcxx_cv_func__log10l_use=yes
59056 else
59057   echo "$as_me: failed program was:" >&5
59058 sed 's/^/| /' conftest.$ac_ext >&5
59059
59060 glibcxx_cv_func__log10l_use=no
59061 fi
59062 rm -f conftest.$ac_objext conftest.$ac_ext
59063       ac_ext=c
59064 ac_cpp='$CPP $CPPFLAGS'
59065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59068
59069
59070 fi
59071
59072   fi
59073   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59074 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59075
59076     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59077
59078 for ac_func in _log10l
59079 do
59080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59081 echo "$as_me:$LINENO: checking for $ac_func" >&5
59082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59083 if eval "test \"\${$as_ac_var+set}\" = set"; then
59084   echo $ECHO_N "(cached) $ECHO_C" >&6
59085 else
59086   if test x$gcc_no_link = xyes; then
59087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59089    { (exit 1); exit 1; }; }
59090 fi
59091 cat >conftest.$ac_ext <<_ACEOF
59092 #line $LINENO "configure"
59093 /* confdefs.h.  */
59094 _ACEOF
59095 cat confdefs.h >>conftest.$ac_ext
59096 cat >>conftest.$ac_ext <<_ACEOF
59097 /* end confdefs.h.  */
59098 /* System header to define __stub macros and hopefully few prototypes,
59099     which can conflict with char $ac_func (); below.
59100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59101     <limits.h> exists even on freestanding compilers.  */
59102 #ifdef __STDC__
59103 # include <limits.h>
59104 #else
59105 # include <assert.h>
59106 #endif
59107 /* Override any gcc2 internal prototype to avoid an error.  */
59108 #ifdef __cplusplus
59109 extern "C"
59110 {
59111 #endif
59112 /* We use char because int might match the return type of a gcc2
59113    builtin and then its argument prototype would still apply.  */
59114 char $ac_func ();
59115 /* The GNU C library defines this for functions which it implements
59116     to always fail with ENOSYS.  Some functions are actually named
59117     something starting with __ and the normal name is an alias.  */
59118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59119 choke me
59120 #else
59121 char (*f) () = $ac_func;
59122 #endif
59123 #ifdef __cplusplus
59124 }
59125 #endif
59126
59127 int
59128 main ()
59129 {
59130 return f != $ac_func;
59131   ;
59132   return 0;
59133 }
59134 _ACEOF
59135 rm -f conftest.$ac_objext conftest$ac_exeext
59136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59137   (eval $ac_link) 2>&5
59138   ac_status=$?
59139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59140   (exit $ac_status); } &&
59141          { ac_try='test -s conftest$ac_exeext'
59142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59143   (eval $ac_try) 2>&5
59144   ac_status=$?
59145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146   (exit $ac_status); }; }; then
59147   eval "$as_ac_var=yes"
59148 else
59149   echo "$as_me: failed program was:" >&5
59150 sed 's/^/| /' conftest.$ac_ext >&5
59151
59152 eval "$as_ac_var=no"
59153 fi
59154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59155 fi
59156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59158 if test `eval echo '${'$as_ac_var'}'` = yes; then
59159   cat >>confdefs.h <<_ACEOF
59160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59161 _ACEOF
59162
59163 fi
59164 done
59165
59166     fi
59167   fi
59168
59169
59170
59171   echo "$as_me:$LINENO: checking for modfl declaration" >&5
59172 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59173   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59174     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59175   echo $ECHO_N "(cached) $ECHO_C" >&6
59176 else
59177
59178
59179
59180       ac_ext=cc
59181 ac_cpp='$CXXCPP $CPPFLAGS'
59182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59185
59186       cat >conftest.$ac_ext <<_ACEOF
59187 #line $LINENO "configure"
59188 /* confdefs.h.  */
59189 _ACEOF
59190 cat confdefs.h >>conftest.$ac_ext
59191 cat >>conftest.$ac_ext <<_ACEOF
59192 /* end confdefs.h.  */
59193 #include <math.h>
59194 int
59195 main ()
59196 {
59197  modfl(0, 0);
59198   ;
59199   return 0;
59200 }
59201 _ACEOF
59202 rm -f conftest.$ac_objext
59203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59204   (eval $ac_compile) 2>&5
59205   ac_status=$?
59206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59207   (exit $ac_status); } &&
59208          { ac_try='test -s conftest.$ac_objext'
59209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59210   (eval $ac_try) 2>&5
59211   ac_status=$?
59212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213   (exit $ac_status); }; }; then
59214   glibcxx_cv_func_modfl_use=yes
59215 else
59216   echo "$as_me: failed program was:" >&5
59217 sed 's/^/| /' conftest.$ac_ext >&5
59218
59219 glibcxx_cv_func_modfl_use=no
59220 fi
59221 rm -f conftest.$ac_objext conftest.$ac_ext
59222       ac_ext=c
59223 ac_cpp='$CPP $CPPFLAGS'
59224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59227
59228
59229 fi
59230
59231   fi
59232   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59233 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59234
59235   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59236
59237 for ac_func in modfl
59238 do
59239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59240 echo "$as_me:$LINENO: checking for $ac_func" >&5
59241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59242 if eval "test \"\${$as_ac_var+set}\" = set"; then
59243   echo $ECHO_N "(cached) $ECHO_C" >&6
59244 else
59245   if test x$gcc_no_link = xyes; then
59246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59248    { (exit 1); exit 1; }; }
59249 fi
59250 cat >conftest.$ac_ext <<_ACEOF
59251 #line $LINENO "configure"
59252 /* confdefs.h.  */
59253 _ACEOF
59254 cat confdefs.h >>conftest.$ac_ext
59255 cat >>conftest.$ac_ext <<_ACEOF
59256 /* end confdefs.h.  */
59257 /* System header to define __stub macros and hopefully few prototypes,
59258     which can conflict with char $ac_func (); below.
59259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59260     <limits.h> exists even on freestanding compilers.  */
59261 #ifdef __STDC__
59262 # include <limits.h>
59263 #else
59264 # include <assert.h>
59265 #endif
59266 /* Override any gcc2 internal prototype to avoid an error.  */
59267 #ifdef __cplusplus
59268 extern "C"
59269 {
59270 #endif
59271 /* We use char because int might match the return type of a gcc2
59272    builtin and then its argument prototype would still apply.  */
59273 char $ac_func ();
59274 /* The GNU C library defines this for functions which it implements
59275     to always fail with ENOSYS.  Some functions are actually named
59276     something starting with __ and the normal name is an alias.  */
59277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59278 choke me
59279 #else
59280 char (*f) () = $ac_func;
59281 #endif
59282 #ifdef __cplusplus
59283 }
59284 #endif
59285
59286 int
59287 main ()
59288 {
59289 return f != $ac_func;
59290   ;
59291   return 0;
59292 }
59293 _ACEOF
59294 rm -f conftest.$ac_objext conftest$ac_exeext
59295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59296   (eval $ac_link) 2>&5
59297   ac_status=$?
59298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299   (exit $ac_status); } &&
59300          { ac_try='test -s conftest$ac_exeext'
59301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59302   (eval $ac_try) 2>&5
59303   ac_status=$?
59304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305   (exit $ac_status); }; }; then
59306   eval "$as_ac_var=yes"
59307 else
59308   echo "$as_me: failed program was:" >&5
59309 sed 's/^/| /' conftest.$ac_ext >&5
59310
59311 eval "$as_ac_var=no"
59312 fi
59313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59314 fi
59315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59317 if test `eval echo '${'$as_ac_var'}'` = yes; then
59318   cat >>confdefs.h <<_ACEOF
59319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59320 _ACEOF
59321
59322 fi
59323 done
59324
59325   else
59326
59327   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59328 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59329   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59330     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59331   echo $ECHO_N "(cached) $ECHO_C" >&6
59332 else
59333
59334
59335
59336       ac_ext=cc
59337 ac_cpp='$CXXCPP $CPPFLAGS'
59338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59341
59342       cat >conftest.$ac_ext <<_ACEOF
59343 #line $LINENO "configure"
59344 /* confdefs.h.  */
59345 _ACEOF
59346 cat confdefs.h >>conftest.$ac_ext
59347 cat >>conftest.$ac_ext <<_ACEOF
59348 /* end confdefs.h.  */
59349 #include <math.h>
59350 int
59351 main ()
59352 {
59353  _modfl(0, 0);
59354   ;
59355   return 0;
59356 }
59357 _ACEOF
59358 rm -f conftest.$ac_objext
59359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59360   (eval $ac_compile) 2>&5
59361   ac_status=$?
59362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59363   (exit $ac_status); } &&
59364          { ac_try='test -s conftest.$ac_objext'
59365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59366   (eval $ac_try) 2>&5
59367   ac_status=$?
59368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59369   (exit $ac_status); }; }; then
59370   glibcxx_cv_func__modfl_use=yes
59371 else
59372   echo "$as_me: failed program was:" >&5
59373 sed 's/^/| /' conftest.$ac_ext >&5
59374
59375 glibcxx_cv_func__modfl_use=no
59376 fi
59377 rm -f conftest.$ac_objext conftest.$ac_ext
59378       ac_ext=c
59379 ac_cpp='$CPP $CPPFLAGS'
59380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59383
59384
59385 fi
59386
59387   fi
59388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59389 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59390
59391     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59392
59393 for ac_func in _modfl
59394 do
59395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59396 echo "$as_me:$LINENO: checking for $ac_func" >&5
59397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59398 if eval "test \"\${$as_ac_var+set}\" = set"; then
59399   echo $ECHO_N "(cached) $ECHO_C" >&6
59400 else
59401   if test x$gcc_no_link = xyes; then
59402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59404    { (exit 1); exit 1; }; }
59405 fi
59406 cat >conftest.$ac_ext <<_ACEOF
59407 #line $LINENO "configure"
59408 /* confdefs.h.  */
59409 _ACEOF
59410 cat confdefs.h >>conftest.$ac_ext
59411 cat >>conftest.$ac_ext <<_ACEOF
59412 /* end confdefs.h.  */
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 #ifdef __STDC__
59418 # include <limits.h>
59419 #else
59420 # include <assert.h>
59421 #endif
59422 /* Override any gcc2 internal prototype to avoid an error.  */
59423 #ifdef __cplusplus
59424 extern "C"
59425 {
59426 #endif
59427 /* We use char because int might match the return type of a gcc2
59428    builtin and then its argument prototype would still apply.  */
59429 char $ac_func ();
59430 /* The GNU C library defines this for functions which it implements
59431     to always fail with ENOSYS.  Some functions are actually named
59432     something starting with __ and the normal name is an alias.  */
59433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59434 choke me
59435 #else
59436 char (*f) () = $ac_func;
59437 #endif
59438 #ifdef __cplusplus
59439 }
59440 #endif
59441
59442 int
59443 main ()
59444 {
59445 return f != $ac_func;
59446   ;
59447   return 0;
59448 }
59449 _ACEOF
59450 rm -f conftest.$ac_objext conftest$ac_exeext
59451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59452   (eval $ac_link) 2>&5
59453   ac_status=$?
59454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59455   (exit $ac_status); } &&
59456          { ac_try='test -s conftest$ac_exeext'
59457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59458   (eval $ac_try) 2>&5
59459   ac_status=$?
59460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59461   (exit $ac_status); }; }; then
59462   eval "$as_ac_var=yes"
59463 else
59464   echo "$as_me: failed program was:" >&5
59465 sed 's/^/| /' conftest.$ac_ext >&5
59466
59467 eval "$as_ac_var=no"
59468 fi
59469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59470 fi
59471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59473 if test `eval echo '${'$as_ac_var'}'` = yes; then
59474   cat >>confdefs.h <<_ACEOF
59475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59476 _ACEOF
59477
59478 fi
59479 done
59480
59481     fi
59482   fi
59483
59484
59485
59486   echo "$as_me:$LINENO: checking for powl declaration" >&5
59487 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59488   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59489     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59490   echo $ECHO_N "(cached) $ECHO_C" >&6
59491 else
59492
59493
59494
59495       ac_ext=cc
59496 ac_cpp='$CXXCPP $CPPFLAGS'
59497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59500
59501       cat >conftest.$ac_ext <<_ACEOF
59502 #line $LINENO "configure"
59503 /* confdefs.h.  */
59504 _ACEOF
59505 cat confdefs.h >>conftest.$ac_ext
59506 cat >>conftest.$ac_ext <<_ACEOF
59507 /* end confdefs.h.  */
59508 #include <math.h>
59509 int
59510 main ()
59511 {
59512  powl(0, 0);
59513   ;
59514   return 0;
59515 }
59516 _ACEOF
59517 rm -f conftest.$ac_objext
59518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59519   (eval $ac_compile) 2>&5
59520   ac_status=$?
59521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59522   (exit $ac_status); } &&
59523          { ac_try='test -s conftest.$ac_objext'
59524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59525   (eval $ac_try) 2>&5
59526   ac_status=$?
59527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59528   (exit $ac_status); }; }; then
59529   glibcxx_cv_func_powl_use=yes
59530 else
59531   echo "$as_me: failed program was:" >&5
59532 sed 's/^/| /' conftest.$ac_ext >&5
59533
59534 glibcxx_cv_func_powl_use=no
59535 fi
59536 rm -f conftest.$ac_objext conftest.$ac_ext
59537       ac_ext=c
59538 ac_cpp='$CPP $CPPFLAGS'
59539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59542
59543
59544 fi
59545
59546   fi
59547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59548 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59549
59550   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59551
59552 for ac_func in powl
59553 do
59554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59555 echo "$as_me:$LINENO: checking for $ac_func" >&5
59556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59557 if eval "test \"\${$as_ac_var+set}\" = set"; then
59558   echo $ECHO_N "(cached) $ECHO_C" >&6
59559 else
59560   if test x$gcc_no_link = xyes; then
59561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59563    { (exit 1); exit 1; }; }
59564 fi
59565 cat >conftest.$ac_ext <<_ACEOF
59566 #line $LINENO "configure"
59567 /* confdefs.h.  */
59568 _ACEOF
59569 cat confdefs.h >>conftest.$ac_ext
59570 cat >>conftest.$ac_ext <<_ACEOF
59571 /* end confdefs.h.  */
59572 /* System header to define __stub macros and hopefully few prototypes,
59573     which can conflict with char $ac_func (); below.
59574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59575     <limits.h> exists even on freestanding compilers.  */
59576 #ifdef __STDC__
59577 # include <limits.h>
59578 #else
59579 # include <assert.h>
59580 #endif
59581 /* Override any gcc2 internal prototype to avoid an error.  */
59582 #ifdef __cplusplus
59583 extern "C"
59584 {
59585 #endif
59586 /* We use char because int might match the return type of a gcc2
59587    builtin and then its argument prototype would still apply.  */
59588 char $ac_func ();
59589 /* The GNU C library defines this for functions which it implements
59590     to always fail with ENOSYS.  Some functions are actually named
59591     something starting with __ and the normal name is an alias.  */
59592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59593 choke me
59594 #else
59595 char (*f) () = $ac_func;
59596 #endif
59597 #ifdef __cplusplus
59598 }
59599 #endif
59600
59601 int
59602 main ()
59603 {
59604 return f != $ac_func;
59605   ;
59606   return 0;
59607 }
59608 _ACEOF
59609 rm -f conftest.$ac_objext conftest$ac_exeext
59610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59611   (eval $ac_link) 2>&5
59612   ac_status=$?
59613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59614   (exit $ac_status); } &&
59615          { ac_try='test -s conftest$ac_exeext'
59616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59617   (eval $ac_try) 2>&5
59618   ac_status=$?
59619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59620   (exit $ac_status); }; }; then
59621   eval "$as_ac_var=yes"
59622 else
59623   echo "$as_me: failed program was:" >&5
59624 sed 's/^/| /' conftest.$ac_ext >&5
59625
59626 eval "$as_ac_var=no"
59627 fi
59628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59629 fi
59630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59632 if test `eval echo '${'$as_ac_var'}'` = yes; then
59633   cat >>confdefs.h <<_ACEOF
59634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59635 _ACEOF
59636
59637 fi
59638 done
59639
59640   else
59641
59642   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59643 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59644   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59645     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59646   echo $ECHO_N "(cached) $ECHO_C" >&6
59647 else
59648
59649
59650
59651       ac_ext=cc
59652 ac_cpp='$CXXCPP $CPPFLAGS'
59653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59656
59657       cat >conftest.$ac_ext <<_ACEOF
59658 #line $LINENO "configure"
59659 /* confdefs.h.  */
59660 _ACEOF
59661 cat confdefs.h >>conftest.$ac_ext
59662 cat >>conftest.$ac_ext <<_ACEOF
59663 /* end confdefs.h.  */
59664 #include <math.h>
59665 int
59666 main ()
59667 {
59668  _powl(0, 0);
59669   ;
59670   return 0;
59671 }
59672 _ACEOF
59673 rm -f conftest.$ac_objext
59674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59675   (eval $ac_compile) 2>&5
59676   ac_status=$?
59677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59678   (exit $ac_status); } &&
59679          { ac_try='test -s conftest.$ac_objext'
59680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681   (eval $ac_try) 2>&5
59682   ac_status=$?
59683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684   (exit $ac_status); }; }; then
59685   glibcxx_cv_func__powl_use=yes
59686 else
59687   echo "$as_me: failed program was:" >&5
59688 sed 's/^/| /' conftest.$ac_ext >&5
59689
59690 glibcxx_cv_func__powl_use=no
59691 fi
59692 rm -f conftest.$ac_objext conftest.$ac_ext
59693       ac_ext=c
59694 ac_cpp='$CPP $CPPFLAGS'
59695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59698
59699
59700 fi
59701
59702   fi
59703   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59704 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59705
59706     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59707
59708 for ac_func in _powl
59709 do
59710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59711 echo "$as_me:$LINENO: checking for $ac_func" >&5
59712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59713 if eval "test \"\${$as_ac_var+set}\" = set"; then
59714   echo $ECHO_N "(cached) $ECHO_C" >&6
59715 else
59716   if test x$gcc_no_link = xyes; then
59717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59719    { (exit 1); exit 1; }; }
59720 fi
59721 cat >conftest.$ac_ext <<_ACEOF
59722 #line $LINENO "configure"
59723 /* confdefs.h.  */
59724 _ACEOF
59725 cat confdefs.h >>conftest.$ac_ext
59726 cat >>conftest.$ac_ext <<_ACEOF
59727 /* end confdefs.h.  */
59728 /* System header to define __stub macros and hopefully few prototypes,
59729     which can conflict with char $ac_func (); below.
59730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59731     <limits.h> exists even on freestanding compilers.  */
59732 #ifdef __STDC__
59733 # include <limits.h>
59734 #else
59735 # include <assert.h>
59736 #endif
59737 /* Override any gcc2 internal prototype to avoid an error.  */
59738 #ifdef __cplusplus
59739 extern "C"
59740 {
59741 #endif
59742 /* We use char because int might match the return type of a gcc2
59743    builtin and then its argument prototype would still apply.  */
59744 char $ac_func ();
59745 /* The GNU C library defines this for functions which it implements
59746     to always fail with ENOSYS.  Some functions are actually named
59747     something starting with __ and the normal name is an alias.  */
59748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59749 choke me
59750 #else
59751 char (*f) () = $ac_func;
59752 #endif
59753 #ifdef __cplusplus
59754 }
59755 #endif
59756
59757 int
59758 main ()
59759 {
59760 return f != $ac_func;
59761   ;
59762   return 0;
59763 }
59764 _ACEOF
59765 rm -f conftest.$ac_objext conftest$ac_exeext
59766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59767   (eval $ac_link) 2>&5
59768   ac_status=$?
59769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59770   (exit $ac_status); } &&
59771          { ac_try='test -s conftest$ac_exeext'
59772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59773   (eval $ac_try) 2>&5
59774   ac_status=$?
59775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59776   (exit $ac_status); }; }; then
59777   eval "$as_ac_var=yes"
59778 else
59779   echo "$as_me: failed program was:" >&5
59780 sed 's/^/| /' conftest.$ac_ext >&5
59781
59782 eval "$as_ac_var=no"
59783 fi
59784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59785 fi
59786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59788 if test `eval echo '${'$as_ac_var'}'` = yes; then
59789   cat >>confdefs.h <<_ACEOF
59790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59791 _ACEOF
59792
59793 fi
59794 done
59795
59796     fi
59797   fi
59798
59799
59800
59801   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59802 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59803   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59804     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59805   echo $ECHO_N "(cached) $ECHO_C" >&6
59806 else
59807
59808
59809
59810       ac_ext=cc
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59815
59816       cat >conftest.$ac_ext <<_ACEOF
59817 #line $LINENO "configure"
59818 /* confdefs.h.  */
59819 _ACEOF
59820 cat confdefs.h >>conftest.$ac_ext
59821 cat >>conftest.$ac_ext <<_ACEOF
59822 /* end confdefs.h.  */
59823 #include <math.h>
59824                       #ifdef HAVE_IEEEFP_H
59825                       #include <ieeefp.h>
59826                       #endif
59827
59828 int
59829 main ()
59830 {
59831  sqrtl(0);
59832   ;
59833   return 0;
59834 }
59835 _ACEOF
59836 rm -f conftest.$ac_objext
59837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59838   (eval $ac_compile) 2>&5
59839   ac_status=$?
59840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59841   (exit $ac_status); } &&
59842          { ac_try='test -s conftest.$ac_objext'
59843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59844   (eval $ac_try) 2>&5
59845   ac_status=$?
59846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59847   (exit $ac_status); }; }; then
59848   glibcxx_cv_func_sqrtl_use=yes
59849 else
59850   echo "$as_me: failed program was:" >&5
59851 sed 's/^/| /' conftest.$ac_ext >&5
59852
59853 glibcxx_cv_func_sqrtl_use=no
59854 fi
59855 rm -f conftest.$ac_objext conftest.$ac_ext
59856       ac_ext=c
59857 ac_cpp='$CPP $CPPFLAGS'
59858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59861
59862
59863 fi
59864
59865   fi
59866   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59867 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59868
59869   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59870
59871 for ac_func in sqrtl
59872 do
59873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59874 echo "$as_me:$LINENO: checking for $ac_func" >&5
59875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59876 if eval "test \"\${$as_ac_var+set}\" = set"; then
59877   echo $ECHO_N "(cached) $ECHO_C" >&6
59878 else
59879   if test x$gcc_no_link = xyes; then
59880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59882    { (exit 1); exit 1; }; }
59883 fi
59884 cat >conftest.$ac_ext <<_ACEOF
59885 #line $LINENO "configure"
59886 /* confdefs.h.  */
59887 _ACEOF
59888 cat confdefs.h >>conftest.$ac_ext
59889 cat >>conftest.$ac_ext <<_ACEOF
59890 /* end confdefs.h.  */
59891 /* System header to define __stub macros and hopefully few prototypes,
59892     which can conflict with char $ac_func (); below.
59893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59894     <limits.h> exists even on freestanding compilers.  */
59895 #ifdef __STDC__
59896 # include <limits.h>
59897 #else
59898 # include <assert.h>
59899 #endif
59900 /* Override any gcc2 internal prototype to avoid an error.  */
59901 #ifdef __cplusplus
59902 extern "C"
59903 {
59904 #endif
59905 /* We use char because int might match the return type of a gcc2
59906    builtin and then its argument prototype would still apply.  */
59907 char $ac_func ();
59908 /* The GNU C library defines this for functions which it implements
59909     to always fail with ENOSYS.  Some functions are actually named
59910     something starting with __ and the normal name is an alias.  */
59911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59912 choke me
59913 #else
59914 char (*f) () = $ac_func;
59915 #endif
59916 #ifdef __cplusplus
59917 }
59918 #endif
59919
59920 int
59921 main ()
59922 {
59923 return f != $ac_func;
59924   ;
59925   return 0;
59926 }
59927 _ACEOF
59928 rm -f conftest.$ac_objext conftest$ac_exeext
59929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59930   (eval $ac_link) 2>&5
59931   ac_status=$?
59932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59933   (exit $ac_status); } &&
59934          { ac_try='test -s conftest$ac_exeext'
59935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59936   (eval $ac_try) 2>&5
59937   ac_status=$?
59938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59939   (exit $ac_status); }; }; then
59940   eval "$as_ac_var=yes"
59941 else
59942   echo "$as_me: failed program was:" >&5
59943 sed 's/^/| /' conftest.$ac_ext >&5
59944
59945 eval "$as_ac_var=no"
59946 fi
59947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59948 fi
59949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59951 if test `eval echo '${'$as_ac_var'}'` = yes; then
59952   cat >>confdefs.h <<_ACEOF
59953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59954 _ACEOF
59955
59956 fi
59957 done
59958
59959   else
59960
59961   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59962 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59963   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59964     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59965   echo $ECHO_N "(cached) $ECHO_C" >&6
59966 else
59967
59968
59969
59970       ac_ext=cc
59971 ac_cpp='$CXXCPP $CPPFLAGS'
59972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59975
59976       cat >conftest.$ac_ext <<_ACEOF
59977 #line $LINENO "configure"
59978 /* confdefs.h.  */
59979 _ACEOF
59980 cat confdefs.h >>conftest.$ac_ext
59981 cat >>conftest.$ac_ext <<_ACEOF
59982 /* end confdefs.h.  */
59983 #include <math.h>
59984                       #ifdef HAVE_IEEEFP_H
59985                       #include <ieeefp.h>
59986                       #endif
59987
59988 int
59989 main ()
59990 {
59991  _sqrtl(0);
59992   ;
59993   return 0;
59994 }
59995 _ACEOF
59996 rm -f conftest.$ac_objext
59997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59998   (eval $ac_compile) 2>&5
59999   ac_status=$?
60000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60001   (exit $ac_status); } &&
60002          { ac_try='test -s conftest.$ac_objext'
60003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60004   (eval $ac_try) 2>&5
60005   ac_status=$?
60006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60007   (exit $ac_status); }; }; then
60008   glibcxx_cv_func__sqrtl_use=yes
60009 else
60010   echo "$as_me: failed program was:" >&5
60011 sed 's/^/| /' conftest.$ac_ext >&5
60012
60013 glibcxx_cv_func__sqrtl_use=no
60014 fi
60015 rm -f conftest.$ac_objext conftest.$ac_ext
60016       ac_ext=c
60017 ac_cpp='$CPP $CPPFLAGS'
60018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60021
60022
60023 fi
60024
60025   fi
60026   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60027 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60028
60029     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60030
60031 for ac_func in _sqrtl
60032 do
60033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60034 echo "$as_me:$LINENO: checking for $ac_func" >&5
60035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60036 if eval "test \"\${$as_ac_var+set}\" = set"; then
60037   echo $ECHO_N "(cached) $ECHO_C" >&6
60038 else
60039   if test x$gcc_no_link = xyes; then
60040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60042    { (exit 1); exit 1; }; }
60043 fi
60044 cat >conftest.$ac_ext <<_ACEOF
60045 #line $LINENO "configure"
60046 /* confdefs.h.  */
60047 _ACEOF
60048 cat confdefs.h >>conftest.$ac_ext
60049 cat >>conftest.$ac_ext <<_ACEOF
60050 /* end confdefs.h.  */
60051 /* System header to define __stub macros and hopefully few prototypes,
60052     which can conflict with char $ac_func (); below.
60053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60054     <limits.h> exists even on freestanding compilers.  */
60055 #ifdef __STDC__
60056 # include <limits.h>
60057 #else
60058 # include <assert.h>
60059 #endif
60060 /* Override any gcc2 internal prototype to avoid an error.  */
60061 #ifdef __cplusplus
60062 extern "C"
60063 {
60064 #endif
60065 /* We use char because int might match the return type of a gcc2
60066    builtin and then its argument prototype would still apply.  */
60067 char $ac_func ();
60068 /* The GNU C library defines this for functions which it implements
60069     to always fail with ENOSYS.  Some functions are actually named
60070     something starting with __ and the normal name is an alias.  */
60071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60072 choke me
60073 #else
60074 char (*f) () = $ac_func;
60075 #endif
60076 #ifdef __cplusplus
60077 }
60078 #endif
60079
60080 int
60081 main ()
60082 {
60083 return f != $ac_func;
60084   ;
60085   return 0;
60086 }
60087 _ACEOF
60088 rm -f conftest.$ac_objext conftest$ac_exeext
60089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60090   (eval $ac_link) 2>&5
60091   ac_status=$?
60092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60093   (exit $ac_status); } &&
60094          { ac_try='test -s conftest$ac_exeext'
60095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60096   (eval $ac_try) 2>&5
60097   ac_status=$?
60098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60099   (exit $ac_status); }; }; then
60100   eval "$as_ac_var=yes"
60101 else
60102   echo "$as_me: failed program was:" >&5
60103 sed 's/^/| /' conftest.$ac_ext >&5
60104
60105 eval "$as_ac_var=no"
60106 fi
60107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60108 fi
60109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60111 if test `eval echo '${'$as_ac_var'}'` = yes; then
60112   cat >>confdefs.h <<_ACEOF
60113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60114 _ACEOF
60115
60116 fi
60117 done
60118
60119     fi
60120   fi
60121
60122
60123
60124   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60125 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60126   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60127     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60128   echo $ECHO_N "(cached) $ECHO_C" >&6
60129 else
60130
60131
60132
60133       ac_ext=cc
60134 ac_cpp='$CXXCPP $CPPFLAGS'
60135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60138
60139       cat >conftest.$ac_ext <<_ACEOF
60140 #line $LINENO "configure"
60141 /* confdefs.h.  */
60142 _ACEOF
60143 cat confdefs.h >>conftest.$ac_ext
60144 cat >>conftest.$ac_ext <<_ACEOF
60145 /* end confdefs.h.  */
60146 #include <math.h>
60147 int
60148 main ()
60149 {
60150  sincosl(0, 0, 0);
60151   ;
60152   return 0;
60153 }
60154 _ACEOF
60155 rm -f conftest.$ac_objext
60156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60157   (eval $ac_compile) 2>&5
60158   ac_status=$?
60159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60160   (exit $ac_status); } &&
60161          { ac_try='test -s conftest.$ac_objext'
60162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60163   (eval $ac_try) 2>&5
60164   ac_status=$?
60165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60166   (exit $ac_status); }; }; then
60167   glibcxx_cv_func_sincosl_use=yes
60168 else
60169   echo "$as_me: failed program was:" >&5
60170 sed 's/^/| /' conftest.$ac_ext >&5
60171
60172 glibcxx_cv_func_sincosl_use=no
60173 fi
60174 rm -f conftest.$ac_objext conftest.$ac_ext
60175       ac_ext=c
60176 ac_cpp='$CPP $CPPFLAGS'
60177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60180
60181
60182 fi
60183
60184   fi
60185   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60186 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60187
60188   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60189
60190 for ac_func in sincosl
60191 do
60192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60193 echo "$as_me:$LINENO: checking for $ac_func" >&5
60194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60195 if eval "test \"\${$as_ac_var+set}\" = set"; then
60196   echo $ECHO_N "(cached) $ECHO_C" >&6
60197 else
60198   if test x$gcc_no_link = xyes; then
60199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60201    { (exit 1); exit 1; }; }
60202 fi
60203 cat >conftest.$ac_ext <<_ACEOF
60204 #line $LINENO "configure"
60205 /* confdefs.h.  */
60206 _ACEOF
60207 cat confdefs.h >>conftest.$ac_ext
60208 cat >>conftest.$ac_ext <<_ACEOF
60209 /* end confdefs.h.  */
60210 /* System header to define __stub macros and hopefully few prototypes,
60211     which can conflict with char $ac_func (); below.
60212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60213     <limits.h> exists even on freestanding compilers.  */
60214 #ifdef __STDC__
60215 # include <limits.h>
60216 #else
60217 # include <assert.h>
60218 #endif
60219 /* Override any gcc2 internal prototype to avoid an error.  */
60220 #ifdef __cplusplus
60221 extern "C"
60222 {
60223 #endif
60224 /* We use char because int might match the return type of a gcc2
60225    builtin and then its argument prototype would still apply.  */
60226 char $ac_func ();
60227 /* The GNU C library defines this for functions which it implements
60228     to always fail with ENOSYS.  Some functions are actually named
60229     something starting with __ and the normal name is an alias.  */
60230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60231 choke me
60232 #else
60233 char (*f) () = $ac_func;
60234 #endif
60235 #ifdef __cplusplus
60236 }
60237 #endif
60238
60239 int
60240 main ()
60241 {
60242 return f != $ac_func;
60243   ;
60244   return 0;
60245 }
60246 _ACEOF
60247 rm -f conftest.$ac_objext conftest$ac_exeext
60248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60249   (eval $ac_link) 2>&5
60250   ac_status=$?
60251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60252   (exit $ac_status); } &&
60253          { ac_try='test -s conftest$ac_exeext'
60254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60255   (eval $ac_try) 2>&5
60256   ac_status=$?
60257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258   (exit $ac_status); }; }; then
60259   eval "$as_ac_var=yes"
60260 else
60261   echo "$as_me: failed program was:" >&5
60262 sed 's/^/| /' conftest.$ac_ext >&5
60263
60264 eval "$as_ac_var=no"
60265 fi
60266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60267 fi
60268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60270 if test `eval echo '${'$as_ac_var'}'` = yes; then
60271   cat >>confdefs.h <<_ACEOF
60272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60273 _ACEOF
60274
60275 fi
60276 done
60277
60278   else
60279
60280   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60281 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60282   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60283     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60284   echo $ECHO_N "(cached) $ECHO_C" >&6
60285 else
60286
60287
60288
60289       ac_ext=cc
60290 ac_cpp='$CXXCPP $CPPFLAGS'
60291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60294
60295       cat >conftest.$ac_ext <<_ACEOF
60296 #line $LINENO "configure"
60297 /* confdefs.h.  */
60298 _ACEOF
60299 cat confdefs.h >>conftest.$ac_ext
60300 cat >>conftest.$ac_ext <<_ACEOF
60301 /* end confdefs.h.  */
60302 #include <math.h>
60303 int
60304 main ()
60305 {
60306  _sincosl(0, 0, 0);
60307   ;
60308   return 0;
60309 }
60310 _ACEOF
60311 rm -f conftest.$ac_objext
60312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60313   (eval $ac_compile) 2>&5
60314   ac_status=$?
60315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60316   (exit $ac_status); } &&
60317          { ac_try='test -s conftest.$ac_objext'
60318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60319   (eval $ac_try) 2>&5
60320   ac_status=$?
60321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60322   (exit $ac_status); }; }; then
60323   glibcxx_cv_func__sincosl_use=yes
60324 else
60325   echo "$as_me: failed program was:" >&5
60326 sed 's/^/| /' conftest.$ac_ext >&5
60327
60328 glibcxx_cv_func__sincosl_use=no
60329 fi
60330 rm -f conftest.$ac_objext conftest.$ac_ext
60331       ac_ext=c
60332 ac_cpp='$CPP $CPPFLAGS'
60333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60336
60337
60338 fi
60339
60340   fi
60341   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60342 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60343
60344     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60345
60346 for ac_func in _sincosl
60347 do
60348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60349 echo "$as_me:$LINENO: checking for $ac_func" >&5
60350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60351 if eval "test \"\${$as_ac_var+set}\" = set"; then
60352   echo $ECHO_N "(cached) $ECHO_C" >&6
60353 else
60354   if test x$gcc_no_link = xyes; then
60355   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60357    { (exit 1); exit 1; }; }
60358 fi
60359 cat >conftest.$ac_ext <<_ACEOF
60360 #line $LINENO "configure"
60361 /* confdefs.h.  */
60362 _ACEOF
60363 cat confdefs.h >>conftest.$ac_ext
60364 cat >>conftest.$ac_ext <<_ACEOF
60365 /* end confdefs.h.  */
60366 /* System header to define __stub macros and hopefully few prototypes,
60367     which can conflict with char $ac_func (); below.
60368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60369     <limits.h> exists even on freestanding compilers.  */
60370 #ifdef __STDC__
60371 # include <limits.h>
60372 #else
60373 # include <assert.h>
60374 #endif
60375 /* Override any gcc2 internal prototype to avoid an error.  */
60376 #ifdef __cplusplus
60377 extern "C"
60378 {
60379 #endif
60380 /* We use char because int might match the return type of a gcc2
60381    builtin and then its argument prototype would still apply.  */
60382 char $ac_func ();
60383 /* The GNU C library defines this for functions which it implements
60384     to always fail with ENOSYS.  Some functions are actually named
60385     something starting with __ and the normal name is an alias.  */
60386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60387 choke me
60388 #else
60389 char (*f) () = $ac_func;
60390 #endif
60391 #ifdef __cplusplus
60392 }
60393 #endif
60394
60395 int
60396 main ()
60397 {
60398 return f != $ac_func;
60399   ;
60400   return 0;
60401 }
60402 _ACEOF
60403 rm -f conftest.$ac_objext conftest$ac_exeext
60404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60405   (eval $ac_link) 2>&5
60406   ac_status=$?
60407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60408   (exit $ac_status); } &&
60409          { ac_try='test -s conftest$ac_exeext'
60410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60411   (eval $ac_try) 2>&5
60412   ac_status=$?
60413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60414   (exit $ac_status); }; }; then
60415   eval "$as_ac_var=yes"
60416 else
60417   echo "$as_me: failed program was:" >&5
60418 sed 's/^/| /' conftest.$ac_ext >&5
60419
60420 eval "$as_ac_var=no"
60421 fi
60422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60423 fi
60424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60426 if test `eval echo '${'$as_ac_var'}'` = yes; then
60427   cat >>confdefs.h <<_ACEOF
60428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60429 _ACEOF
60430
60431 fi
60432 done
60433
60434     fi
60435   fi
60436
60437
60438
60439   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60440 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60441   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60442     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60443   echo $ECHO_N "(cached) $ECHO_C" >&6
60444 else
60445
60446
60447
60448       ac_ext=cc
60449 ac_cpp='$CXXCPP $CPPFLAGS'
60450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60453
60454       cat >conftest.$ac_ext <<_ACEOF
60455 #line $LINENO "configure"
60456 /* confdefs.h.  */
60457 _ACEOF
60458 cat confdefs.h >>conftest.$ac_ext
60459 cat >>conftest.$ac_ext <<_ACEOF
60460 /* end confdefs.h.  */
60461 #include <math.h>
60462                       #ifdef HAVE_IEEEFP_H
60463                       #include <ieeefp.h>
60464                       #endif
60465
60466 int
60467 main ()
60468 {
60469  finitel(0);
60470   ;
60471   return 0;
60472 }
60473 _ACEOF
60474 rm -f conftest.$ac_objext
60475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60476   (eval $ac_compile) 2>&5
60477   ac_status=$?
60478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60479   (exit $ac_status); } &&
60480          { ac_try='test -s conftest.$ac_objext'
60481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60482   (eval $ac_try) 2>&5
60483   ac_status=$?
60484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60485   (exit $ac_status); }; }; then
60486   glibcxx_cv_func_finitel_use=yes
60487 else
60488   echo "$as_me: failed program was:" >&5
60489 sed 's/^/| /' conftest.$ac_ext >&5
60490
60491 glibcxx_cv_func_finitel_use=no
60492 fi
60493 rm -f conftest.$ac_objext conftest.$ac_ext
60494       ac_ext=c
60495 ac_cpp='$CPP $CPPFLAGS'
60496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60499
60500
60501 fi
60502
60503   fi
60504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60505 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60506
60507   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60508
60509 for ac_func in finitel
60510 do
60511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60512 echo "$as_me:$LINENO: checking for $ac_func" >&5
60513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60514 if eval "test \"\${$as_ac_var+set}\" = set"; then
60515   echo $ECHO_N "(cached) $ECHO_C" >&6
60516 else
60517   if test x$gcc_no_link = xyes; then
60518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60520    { (exit 1); exit 1; }; }
60521 fi
60522 cat >conftest.$ac_ext <<_ACEOF
60523 #line $LINENO "configure"
60524 /* confdefs.h.  */
60525 _ACEOF
60526 cat confdefs.h >>conftest.$ac_ext
60527 cat >>conftest.$ac_ext <<_ACEOF
60528 /* end confdefs.h.  */
60529 /* System header to define __stub macros and hopefully few prototypes,
60530     which can conflict with char $ac_func (); below.
60531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60532     <limits.h> exists even on freestanding compilers.  */
60533 #ifdef __STDC__
60534 # include <limits.h>
60535 #else
60536 # include <assert.h>
60537 #endif
60538 /* Override any gcc2 internal prototype to avoid an error.  */
60539 #ifdef __cplusplus
60540 extern "C"
60541 {
60542 #endif
60543 /* We use char because int might match the return type of a gcc2
60544    builtin and then its argument prototype would still apply.  */
60545 char $ac_func ();
60546 /* The GNU C library defines this for functions which it implements
60547     to always fail with ENOSYS.  Some functions are actually named
60548     something starting with __ and the normal name is an alias.  */
60549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60550 choke me
60551 #else
60552 char (*f) () = $ac_func;
60553 #endif
60554 #ifdef __cplusplus
60555 }
60556 #endif
60557
60558 int
60559 main ()
60560 {
60561 return f != $ac_func;
60562   ;
60563   return 0;
60564 }
60565 _ACEOF
60566 rm -f conftest.$ac_objext conftest$ac_exeext
60567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60568   (eval $ac_link) 2>&5
60569   ac_status=$?
60570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60571   (exit $ac_status); } &&
60572          { ac_try='test -s conftest$ac_exeext'
60573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60574   (eval $ac_try) 2>&5
60575   ac_status=$?
60576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60577   (exit $ac_status); }; }; then
60578   eval "$as_ac_var=yes"
60579 else
60580   echo "$as_me: failed program was:" >&5
60581 sed 's/^/| /' conftest.$ac_ext >&5
60582
60583 eval "$as_ac_var=no"
60584 fi
60585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60586 fi
60587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60589 if test `eval echo '${'$as_ac_var'}'` = yes; then
60590   cat >>confdefs.h <<_ACEOF
60591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60592 _ACEOF
60593
60594 fi
60595 done
60596
60597   else
60598
60599   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60600 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60601   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60602     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60603   echo $ECHO_N "(cached) $ECHO_C" >&6
60604 else
60605
60606
60607
60608       ac_ext=cc
60609 ac_cpp='$CXXCPP $CPPFLAGS'
60610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60613
60614       cat >conftest.$ac_ext <<_ACEOF
60615 #line $LINENO "configure"
60616 /* confdefs.h.  */
60617 _ACEOF
60618 cat confdefs.h >>conftest.$ac_ext
60619 cat >>conftest.$ac_ext <<_ACEOF
60620 /* end confdefs.h.  */
60621 #include <math.h>
60622                       #ifdef HAVE_IEEEFP_H
60623                       #include <ieeefp.h>
60624                       #endif
60625
60626 int
60627 main ()
60628 {
60629  _finitel(0);
60630   ;
60631   return 0;
60632 }
60633 _ACEOF
60634 rm -f conftest.$ac_objext
60635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60636   (eval $ac_compile) 2>&5
60637   ac_status=$?
60638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60639   (exit $ac_status); } &&
60640          { ac_try='test -s conftest.$ac_objext'
60641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642   (eval $ac_try) 2>&5
60643   ac_status=$?
60644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645   (exit $ac_status); }; }; then
60646   glibcxx_cv_func__finitel_use=yes
60647 else
60648   echo "$as_me: failed program was:" >&5
60649 sed 's/^/| /' conftest.$ac_ext >&5
60650
60651 glibcxx_cv_func__finitel_use=no
60652 fi
60653 rm -f conftest.$ac_objext conftest.$ac_ext
60654       ac_ext=c
60655 ac_cpp='$CPP $CPPFLAGS'
60656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60659
60660
60661 fi
60662
60663   fi
60664   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60665 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60666
60667     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60668
60669 for ac_func in _finitel
60670 do
60671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60672 echo "$as_me:$LINENO: checking for $ac_func" >&5
60673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60674 if eval "test \"\${$as_ac_var+set}\" = set"; then
60675   echo $ECHO_N "(cached) $ECHO_C" >&6
60676 else
60677   if test x$gcc_no_link = xyes; then
60678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60680    { (exit 1); exit 1; }; }
60681 fi
60682 cat >conftest.$ac_ext <<_ACEOF
60683 #line $LINENO "configure"
60684 /* confdefs.h.  */
60685 _ACEOF
60686 cat confdefs.h >>conftest.$ac_ext
60687 cat >>conftest.$ac_ext <<_ACEOF
60688 /* end confdefs.h.  */
60689 /* System header to define __stub macros and hopefully few prototypes,
60690     which can conflict with char $ac_func (); below.
60691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60692     <limits.h> exists even on freestanding compilers.  */
60693 #ifdef __STDC__
60694 # include <limits.h>
60695 #else
60696 # include <assert.h>
60697 #endif
60698 /* Override any gcc2 internal prototype to avoid an error.  */
60699 #ifdef __cplusplus
60700 extern "C"
60701 {
60702 #endif
60703 /* We use char because int might match the return type of a gcc2
60704    builtin and then its argument prototype would still apply.  */
60705 char $ac_func ();
60706 /* The GNU C library defines this for functions which it implements
60707     to always fail with ENOSYS.  Some functions are actually named
60708     something starting with __ and the normal name is an alias.  */
60709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60710 choke me
60711 #else
60712 char (*f) () = $ac_func;
60713 #endif
60714 #ifdef __cplusplus
60715 }
60716 #endif
60717
60718 int
60719 main ()
60720 {
60721 return f != $ac_func;
60722   ;
60723   return 0;
60724 }
60725 _ACEOF
60726 rm -f conftest.$ac_objext conftest$ac_exeext
60727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60728   (eval $ac_link) 2>&5
60729   ac_status=$?
60730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60731   (exit $ac_status); } &&
60732          { ac_try='test -s conftest$ac_exeext'
60733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60734   (eval $ac_try) 2>&5
60735   ac_status=$?
60736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60737   (exit $ac_status); }; }; then
60738   eval "$as_ac_var=yes"
60739 else
60740   echo "$as_me: failed program was:" >&5
60741 sed 's/^/| /' conftest.$ac_ext >&5
60742
60743 eval "$as_ac_var=no"
60744 fi
60745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60746 fi
60747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60749 if test `eval echo '${'$as_ac_var'}'` = yes; then
60750   cat >>confdefs.h <<_ACEOF
60751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60752 _ACEOF
60753
60754 fi
60755 done
60756
60757     fi
60758   fi
60759
60760
60761
60762
60763   echo "$as_me:$LINENO: checking for _float trig functions" >&5
60764 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
60765   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
60766   echo $ECHO_N "(cached) $ECHO_C" >&6
60767 else
60768
60769
60770
60771     ac_ext=cc
60772 ac_cpp='$CXXCPP $CPPFLAGS'
60773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60776
60777     cat >conftest.$ac_ext <<_ACEOF
60778 #line $LINENO "configure"
60779 /* confdefs.h.  */
60780 _ACEOF
60781 cat confdefs.h >>conftest.$ac_ext
60782 cat >>conftest.$ac_ext <<_ACEOF
60783 /* end confdefs.h.  */
60784 #include <math.h>
60785 int
60786 main ()
60787 {
60788  `for x in _acosf _asinf _atanf \
60789                                           _cosf _sinf _tanf \
60790                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
60791   ;
60792   return 0;
60793 }
60794 _ACEOF
60795 rm -f conftest.$ac_objext
60796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60797   (eval $ac_compile) 2>&5
60798   ac_status=$?
60799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60800   (exit $ac_status); } &&
60801          { ac_try='test -s conftest.$ac_objext'
60802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803   (eval $ac_try) 2>&5
60804   ac_status=$?
60805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806   (exit $ac_status); }; }; then
60807   glibcxx_cv_func__float_trig_use=yes
60808 else
60809   echo "$as_me: failed program was:" >&5
60810 sed 's/^/| /' conftest.$ac_ext >&5
60811
60812 glibcxx_cv_func__float_trig_use=no
60813 fi
60814 rm -f conftest.$ac_objext conftest.$ac_ext
60815     ac_ext=c
60816 ac_cpp='$CPP $CPPFLAGS'
60817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60820
60821 fi
60822
60823   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
60824 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
60825   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60826
60827
60828
60829
60830
60831
60832
60833
60834
60835 for ac_func in _acosf _asinf _atanf \
60836                                           _cosf _sinf _tanf \
60837                                           _coshf _sinhf _tanhf
60838 do
60839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60840 echo "$as_me:$LINENO: checking for $ac_func" >&5
60841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60842 if eval "test \"\${$as_ac_var+set}\" = set"; then
60843   echo $ECHO_N "(cached) $ECHO_C" >&6
60844 else
60845   if test x$gcc_no_link = xyes; then
60846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60848    { (exit 1); exit 1; }; }
60849 fi
60850 cat >conftest.$ac_ext <<_ACEOF
60851 #line $LINENO "configure"
60852 /* confdefs.h.  */
60853 _ACEOF
60854 cat confdefs.h >>conftest.$ac_ext
60855 cat >>conftest.$ac_ext <<_ACEOF
60856 /* end confdefs.h.  */
60857 /* System header to define __stub macros and hopefully few prototypes,
60858     which can conflict with char $ac_func (); below.
60859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60860     <limits.h> exists even on freestanding compilers.  */
60861 #ifdef __STDC__
60862 # include <limits.h>
60863 #else
60864 # include <assert.h>
60865 #endif
60866 /* Override any gcc2 internal prototype to avoid an error.  */
60867 #ifdef __cplusplus
60868 extern "C"
60869 {
60870 #endif
60871 /* We use char because int might match the return type of a gcc2
60872    builtin and then its argument prototype would still apply.  */
60873 char $ac_func ();
60874 /* The GNU C library defines this for functions which it implements
60875     to always fail with ENOSYS.  Some functions are actually named
60876     something starting with __ and the normal name is an alias.  */
60877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60878 choke me
60879 #else
60880 char (*f) () = $ac_func;
60881 #endif
60882 #ifdef __cplusplus
60883 }
60884 #endif
60885
60886 int
60887 main ()
60888 {
60889 return f != $ac_func;
60890   ;
60891   return 0;
60892 }
60893 _ACEOF
60894 rm -f conftest.$ac_objext conftest$ac_exeext
60895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60896   (eval $ac_link) 2>&5
60897   ac_status=$?
60898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60899   (exit $ac_status); } &&
60900          { ac_try='test -s conftest$ac_exeext'
60901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60902   (eval $ac_try) 2>&5
60903   ac_status=$?
60904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60905   (exit $ac_status); }; }; then
60906   eval "$as_ac_var=yes"
60907 else
60908   echo "$as_me: failed program was:" >&5
60909 sed 's/^/| /' conftest.$ac_ext >&5
60910
60911 eval "$as_ac_var=no"
60912 fi
60913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60914 fi
60915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60917 if test `eval echo '${'$as_ac_var'}'` = yes; then
60918   cat >>confdefs.h <<_ACEOF
60919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60920 _ACEOF
60921
60922 fi
60923 done
60924
60925   fi
60926
60927
60928   echo "$as_me:$LINENO: checking for _float round functions" >&5
60929 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
60930   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
60931   echo $ECHO_N "(cached) $ECHO_C" >&6
60932 else
60933
60934
60935
60936     ac_ext=cc
60937 ac_cpp='$CXXCPP $CPPFLAGS'
60938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60941
60942     cat >conftest.$ac_ext <<_ACEOF
60943 #line $LINENO "configure"
60944 /* confdefs.h.  */
60945 _ACEOF
60946 cat confdefs.h >>conftest.$ac_ext
60947 cat >>conftest.$ac_ext <<_ACEOF
60948 /* end confdefs.h.  */
60949 #include <math.h>
60950 int
60951 main ()
60952 {
60953  `for x in _ceilf _floorf; do echo "$x (0);"; done`
60954   ;
60955   return 0;
60956 }
60957 _ACEOF
60958 rm -f conftest.$ac_objext
60959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60960   (eval $ac_compile) 2>&5
60961   ac_status=$?
60962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60963   (exit $ac_status); } &&
60964          { ac_try='test -s conftest.$ac_objext'
60965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60966   (eval $ac_try) 2>&5
60967   ac_status=$?
60968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60969   (exit $ac_status); }; }; then
60970   glibcxx_cv_func__float_round_use=yes
60971 else
60972   echo "$as_me: failed program was:" >&5
60973 sed 's/^/| /' conftest.$ac_ext >&5
60974
60975 glibcxx_cv_func__float_round_use=no
60976 fi
60977 rm -f conftest.$ac_objext conftest.$ac_ext
60978     ac_ext=c
60979 ac_cpp='$CPP $CPPFLAGS'
60980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60983
60984 fi
60985
60986   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
60987 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
60988   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60989
60990
60991 for ac_func in _ceilf _floorf
60992 do
60993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60994 echo "$as_me:$LINENO: checking for $ac_func" >&5
60995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60996 if eval "test \"\${$as_ac_var+set}\" = set"; then
60997   echo $ECHO_N "(cached) $ECHO_C" >&6
60998 else
60999   if test x$gcc_no_link = xyes; then
61000   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61002    { (exit 1); exit 1; }; }
61003 fi
61004 cat >conftest.$ac_ext <<_ACEOF
61005 #line $LINENO "configure"
61006 /* confdefs.h.  */
61007 _ACEOF
61008 cat confdefs.h >>conftest.$ac_ext
61009 cat >>conftest.$ac_ext <<_ACEOF
61010 /* end confdefs.h.  */
61011 /* System header to define __stub macros and hopefully few prototypes,
61012     which can conflict with char $ac_func (); below.
61013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61014     <limits.h> exists even on freestanding compilers.  */
61015 #ifdef __STDC__
61016 # include <limits.h>
61017 #else
61018 # include <assert.h>
61019 #endif
61020 /* Override any gcc2 internal prototype to avoid an error.  */
61021 #ifdef __cplusplus
61022 extern "C"
61023 {
61024 #endif
61025 /* We use char because int might match the return type of a gcc2
61026    builtin and then its argument prototype would still apply.  */
61027 char $ac_func ();
61028 /* The GNU C library defines this for functions which it implements
61029     to always fail with ENOSYS.  Some functions are actually named
61030     something starting with __ and the normal name is an alias.  */
61031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61032 choke me
61033 #else
61034 char (*f) () = $ac_func;
61035 #endif
61036 #ifdef __cplusplus
61037 }
61038 #endif
61039
61040 int
61041 main ()
61042 {
61043 return f != $ac_func;
61044   ;
61045   return 0;
61046 }
61047 _ACEOF
61048 rm -f conftest.$ac_objext conftest$ac_exeext
61049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61050   (eval $ac_link) 2>&5
61051   ac_status=$?
61052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61053   (exit $ac_status); } &&
61054          { ac_try='test -s conftest$ac_exeext'
61055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61056   (eval $ac_try) 2>&5
61057   ac_status=$?
61058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059   (exit $ac_status); }; }; then
61060   eval "$as_ac_var=yes"
61061 else
61062   echo "$as_me: failed program was:" >&5
61063 sed 's/^/| /' conftest.$ac_ext >&5
61064
61065 eval "$as_ac_var=no"
61066 fi
61067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61068 fi
61069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61071 if test `eval echo '${'$as_ac_var'}'` = yes; then
61072   cat >>confdefs.h <<_ACEOF
61073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61074 _ACEOF
61075
61076 fi
61077 done
61078
61079   fi
61080
61081
61082
61083   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
61084 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
61085   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
61086   echo $ECHO_N "(cached) $ECHO_C" >&6
61087 else
61088
61089
61090
61091     ac_ext=cc
61092 ac_cpp='$CXXCPP $CPPFLAGS'
61093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61096
61097     cat >conftest.$ac_ext <<_ACEOF
61098 #line $LINENO "configure"
61099 /* confdefs.h.  */
61100 _ACEOF
61101 cat confdefs.h >>conftest.$ac_ext
61102 cat >>conftest.$ac_ext <<_ACEOF
61103 /* end confdefs.h.  */
61104 #include <math.h>
61105 int
61106 main ()
61107 {
61108  `for x in _acosl _asinl _atanl \
61109                                           _cosl _sinl _tanl \
61110                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
61111   ;
61112   return 0;
61113 }
61114 _ACEOF
61115 rm -f conftest.$ac_objext
61116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61117   (eval $ac_compile) 2>&5
61118   ac_status=$?
61119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61120   (exit $ac_status); } &&
61121          { ac_try='test -s conftest.$ac_objext'
61122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61123   (eval $ac_try) 2>&5
61124   ac_status=$?
61125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61126   (exit $ac_status); }; }; then
61127   glibcxx_cv_func__long_double_trig_use=yes
61128 else
61129   echo "$as_me: failed program was:" >&5
61130 sed 's/^/| /' conftest.$ac_ext >&5
61131
61132 glibcxx_cv_func__long_double_trig_use=no
61133 fi
61134 rm -f conftest.$ac_objext conftest.$ac_ext
61135     ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61140
61141 fi
61142
61143   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
61144 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
61145   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61146
61147
61148
61149
61150
61151
61152
61153
61154
61155 for ac_func in _acosl _asinl _atanl \
61156                                           _cosl _sinl _tanl \
61157                                           _coshl _sinhl _tanhl
61158 do
61159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61160 echo "$as_me:$LINENO: checking for $ac_func" >&5
61161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61162 if eval "test \"\${$as_ac_var+set}\" = set"; then
61163   echo $ECHO_N "(cached) $ECHO_C" >&6
61164 else
61165   if test x$gcc_no_link = xyes; then
61166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61168    { (exit 1); exit 1; }; }
61169 fi
61170 cat >conftest.$ac_ext <<_ACEOF
61171 #line $LINENO "configure"
61172 /* confdefs.h.  */
61173 _ACEOF
61174 cat confdefs.h >>conftest.$ac_ext
61175 cat >>conftest.$ac_ext <<_ACEOF
61176 /* end confdefs.h.  */
61177 /* System header to define __stub macros and hopefully few prototypes,
61178     which can conflict with char $ac_func (); below.
61179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61180     <limits.h> exists even on freestanding compilers.  */
61181 #ifdef __STDC__
61182 # include <limits.h>
61183 #else
61184 # include <assert.h>
61185 #endif
61186 /* Override any gcc2 internal prototype to avoid an error.  */
61187 #ifdef __cplusplus
61188 extern "C"
61189 {
61190 #endif
61191 /* We use char because int might match the return type of a gcc2
61192    builtin and then its argument prototype would still apply.  */
61193 char $ac_func ();
61194 /* The GNU C library defines this for functions which it implements
61195     to always fail with ENOSYS.  Some functions are actually named
61196     something starting with __ and the normal name is an alias.  */
61197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61198 choke me
61199 #else
61200 char (*f) () = $ac_func;
61201 #endif
61202 #ifdef __cplusplus
61203 }
61204 #endif
61205
61206 int
61207 main ()
61208 {
61209 return f != $ac_func;
61210   ;
61211   return 0;
61212 }
61213 _ACEOF
61214 rm -f conftest.$ac_objext conftest$ac_exeext
61215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61216   (eval $ac_link) 2>&5
61217   ac_status=$?
61218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61219   (exit $ac_status); } &&
61220          { ac_try='test -s conftest$ac_exeext'
61221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61222   (eval $ac_try) 2>&5
61223   ac_status=$?
61224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61225   (exit $ac_status); }; }; then
61226   eval "$as_ac_var=yes"
61227 else
61228   echo "$as_me: failed program was:" >&5
61229 sed 's/^/| /' conftest.$ac_ext >&5
61230
61231 eval "$as_ac_var=no"
61232 fi
61233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61234 fi
61235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61237 if test `eval echo '${'$as_ac_var'}'` = yes; then
61238   cat >>confdefs.h <<_ACEOF
61239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61240 _ACEOF
61241
61242 fi
61243 done
61244
61245   fi
61246
61247
61248   echo "$as_me:$LINENO: checking for _long double round functions" >&5
61249 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
61250   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
61251   echo $ECHO_N "(cached) $ECHO_C" >&6
61252 else
61253
61254
61255
61256     ac_ext=cc
61257 ac_cpp='$CXXCPP $CPPFLAGS'
61258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61261
61262     cat >conftest.$ac_ext <<_ACEOF
61263 #line $LINENO "configure"
61264 /* confdefs.h.  */
61265 _ACEOF
61266 cat confdefs.h >>conftest.$ac_ext
61267 cat >>conftest.$ac_ext <<_ACEOF
61268 /* end confdefs.h.  */
61269 #include <math.h>
61270 int
61271 main ()
61272 {
61273  `for x in _ceill _floorl; do echo "$x (0);"; done`
61274   ;
61275   return 0;
61276 }
61277 _ACEOF
61278 rm -f conftest.$ac_objext
61279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61280   (eval $ac_compile) 2>&5
61281   ac_status=$?
61282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61283   (exit $ac_status); } &&
61284          { ac_try='test -s conftest.$ac_objext'
61285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61286   (eval $ac_try) 2>&5
61287   ac_status=$?
61288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61289   (exit $ac_status); }; }; then
61290   glibcxx_cv_func__long_double_round_use=yes
61291 else
61292   echo "$as_me: failed program was:" >&5
61293 sed 's/^/| /' conftest.$ac_ext >&5
61294
61295 glibcxx_cv_func__long_double_round_use=no
61296 fi
61297 rm -f conftest.$ac_objext conftest.$ac_ext
61298     ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61303
61304 fi
61305
61306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
61307 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
61308   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61309
61310
61311 for ac_func in _ceill _floorl
61312 do
61313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61314 echo "$as_me:$LINENO: checking for $ac_func" >&5
61315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61316 if eval "test \"\${$as_ac_var+set}\" = set"; then
61317   echo $ECHO_N "(cached) $ECHO_C" >&6
61318 else
61319   if test x$gcc_no_link = xyes; then
61320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61322    { (exit 1); exit 1; }; }
61323 fi
61324 cat >conftest.$ac_ext <<_ACEOF
61325 #line $LINENO "configure"
61326 /* confdefs.h.  */
61327 _ACEOF
61328 cat confdefs.h >>conftest.$ac_ext
61329 cat >>conftest.$ac_ext <<_ACEOF
61330 /* end confdefs.h.  */
61331 /* System header to define __stub macros and hopefully few prototypes,
61332     which can conflict with char $ac_func (); below.
61333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61334     <limits.h> exists even on freestanding compilers.  */
61335 #ifdef __STDC__
61336 # include <limits.h>
61337 #else
61338 # include <assert.h>
61339 #endif
61340 /* Override any gcc2 internal prototype to avoid an error.  */
61341 #ifdef __cplusplus
61342 extern "C"
61343 {
61344 #endif
61345 /* We use char because int might match the return type of a gcc2
61346    builtin and then its argument prototype would still apply.  */
61347 char $ac_func ();
61348 /* The GNU C library defines this for functions which it implements
61349     to always fail with ENOSYS.  Some functions are actually named
61350     something starting with __ and the normal name is an alias.  */
61351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61352 choke me
61353 #else
61354 char (*f) () = $ac_func;
61355 #endif
61356 #ifdef __cplusplus
61357 }
61358 #endif
61359
61360 int
61361 main ()
61362 {
61363 return f != $ac_func;
61364   ;
61365   return 0;
61366 }
61367 _ACEOF
61368 rm -f conftest.$ac_objext conftest$ac_exeext
61369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61370   (eval $ac_link) 2>&5
61371   ac_status=$?
61372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373   (exit $ac_status); } &&
61374          { ac_try='test -s conftest$ac_exeext'
61375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61376   (eval $ac_try) 2>&5
61377   ac_status=$?
61378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61379   (exit $ac_status); }; }; then
61380   eval "$as_ac_var=yes"
61381 else
61382   echo "$as_me: failed program was:" >&5
61383 sed 's/^/| /' conftest.$ac_ext >&5
61384
61385 eval "$as_ac_var=no"
61386 fi
61387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61388 fi
61389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61391 if test `eval echo '${'$as_ac_var'}'` = yes; then
61392   cat >>confdefs.h <<_ACEOF
61393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61394 _ACEOF
61395
61396 fi
61397 done
61398
61399   fi
61400
61401
61402   LIBS="$ac_save_LIBS"
61403   CXXFLAGS="$ac_save_CXXFLAGS"
61404
61405
61406
61407   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61408 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61409   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61410     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61411   echo $ECHO_N "(cached) $ECHO_C" >&6
61412 else
61413
61414
61415
61416       ac_ext=cc
61417 ac_cpp='$CXXCPP $CPPFLAGS'
61418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61421
61422       cat >conftest.$ac_ext <<_ACEOF
61423 #line $LINENO "configure"
61424 /* confdefs.h.  */
61425 _ACEOF
61426 cat confdefs.h >>conftest.$ac_ext
61427 cat >>conftest.$ac_ext <<_ACEOF
61428 /* end confdefs.h.  */
61429 #include <math.h>
61430 int
61431 main ()
61432 {
61433  __builtin_abs(0);
61434   ;
61435   return 0;
61436 }
61437 _ACEOF
61438 rm -f conftest.$ac_objext
61439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61440   (eval $ac_compile) 2>&5
61441   ac_status=$?
61442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443   (exit $ac_status); } &&
61444          { ac_try='test -s conftest.$ac_objext'
61445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446   (eval $ac_try) 2>&5
61447   ac_status=$?
61448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449   (exit $ac_status); }; }; then
61450   glibcxx_cv_func___builtin_abs_use=yes
61451 else
61452   echo "$as_me: failed program was:" >&5
61453 sed 's/^/| /' conftest.$ac_ext >&5
61454
61455 glibcxx_cv_func___builtin_abs_use=no
61456 fi
61457 rm -f conftest.$ac_objext conftest.$ac_ext
61458       ac_ext=c
61459 ac_cpp='$CPP $CPPFLAGS'
61460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61463
61464
61465 fi
61466
61467   fi
61468   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61469 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61470   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61471     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61472 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61473     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61474       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61475   echo $ECHO_N "(cached) $ECHO_C" >&6
61476 else
61477
61478         if test x$gcc_no_link = xyes; then
61479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61481    { (exit 1); exit 1; }; }
61482 fi
61483 cat >conftest.$ac_ext <<_ACEOF
61484 #line $LINENO "configure"
61485 /* confdefs.h.  */
61486 _ACEOF
61487 cat confdefs.h >>conftest.$ac_ext
61488 cat >>conftest.$ac_ext <<_ACEOF
61489 /* end confdefs.h.  */
61490 #include <math.h>
61491 int
61492 main ()
61493 {
61494  __builtin_abs(0);
61495   ;
61496   return 0;
61497 }
61498 _ACEOF
61499 rm -f conftest.$ac_objext conftest$ac_exeext
61500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61501   (eval $ac_link) 2>&5
61502   ac_status=$?
61503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61504   (exit $ac_status); } &&
61505          { ac_try='test -s conftest$ac_exeext'
61506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61507   (eval $ac_try) 2>&5
61508   ac_status=$?
61509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61510   (exit $ac_status); }; }; then
61511   glibcxx_cv_func___builtin_abs_link=yes
61512 else
61513   echo "$as_me: failed program was:" >&5
61514 sed 's/^/| /' conftest.$ac_ext >&5
61515
61516 glibcxx_cv_func___builtin_abs_link=no
61517 fi
61518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61519
61520 fi
61521
61522     fi
61523     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61524 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61525     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61526       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61527
61528 cat >>confdefs.h <<_ACEOF
61529 #define ${ac_tr_func} 1
61530 _ACEOF
61531
61532     fi
61533   fi
61534
61535
61536   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61537 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61538   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61539     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61540   echo $ECHO_N "(cached) $ECHO_C" >&6
61541 else
61542
61543
61544
61545       ac_ext=cc
61546 ac_cpp='$CXXCPP $CPPFLAGS'
61547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61550
61551       cat >conftest.$ac_ext <<_ACEOF
61552 #line $LINENO "configure"
61553 /* confdefs.h.  */
61554 _ACEOF
61555 cat confdefs.h >>conftest.$ac_ext
61556 cat >>conftest.$ac_ext <<_ACEOF
61557 /* end confdefs.h.  */
61558 #include <math.h>
61559 int
61560 main ()
61561 {
61562  __builtin_fabsf(0);
61563   ;
61564   return 0;
61565 }
61566 _ACEOF
61567 rm -f conftest.$ac_objext
61568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61569   (eval $ac_compile) 2>&5
61570   ac_status=$?
61571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61572   (exit $ac_status); } &&
61573          { ac_try='test -s conftest.$ac_objext'
61574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61575   (eval $ac_try) 2>&5
61576   ac_status=$?
61577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61578   (exit $ac_status); }; }; then
61579   glibcxx_cv_func___builtin_fabsf_use=yes
61580 else
61581   echo "$as_me: failed program was:" >&5
61582 sed 's/^/| /' conftest.$ac_ext >&5
61583
61584 glibcxx_cv_func___builtin_fabsf_use=no
61585 fi
61586 rm -f conftest.$ac_objext conftest.$ac_ext
61587       ac_ext=c
61588 ac_cpp='$CPP $CPPFLAGS'
61589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61592
61593
61594 fi
61595
61596   fi
61597   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61598 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61599   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61600     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61601 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61602     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61603       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61604   echo $ECHO_N "(cached) $ECHO_C" >&6
61605 else
61606
61607         if test x$gcc_no_link = xyes; then
61608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61610    { (exit 1); exit 1; }; }
61611 fi
61612 cat >conftest.$ac_ext <<_ACEOF
61613 #line $LINENO "configure"
61614 /* confdefs.h.  */
61615 _ACEOF
61616 cat confdefs.h >>conftest.$ac_ext
61617 cat >>conftest.$ac_ext <<_ACEOF
61618 /* end confdefs.h.  */
61619 #include <math.h>
61620 int
61621 main ()
61622 {
61623  __builtin_fabsf(0);
61624   ;
61625   return 0;
61626 }
61627 _ACEOF
61628 rm -f conftest.$ac_objext conftest$ac_exeext
61629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61630   (eval $ac_link) 2>&5
61631   ac_status=$?
61632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633   (exit $ac_status); } &&
61634          { ac_try='test -s conftest$ac_exeext'
61635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636   (eval $ac_try) 2>&5
61637   ac_status=$?
61638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639   (exit $ac_status); }; }; then
61640   glibcxx_cv_func___builtin_fabsf_link=yes
61641 else
61642   echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61644
61645 glibcxx_cv_func___builtin_fabsf_link=no
61646 fi
61647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61648
61649 fi
61650
61651     fi
61652     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61653 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61654     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61655       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61656
61657 cat >>confdefs.h <<_ACEOF
61658 #define ${ac_tr_func} 1
61659 _ACEOF
61660
61661     fi
61662   fi
61663
61664
61665   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61666 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61667   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61668     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61669   echo $ECHO_N "(cached) $ECHO_C" >&6
61670 else
61671
61672
61673
61674       ac_ext=cc
61675 ac_cpp='$CXXCPP $CPPFLAGS'
61676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61679
61680       cat >conftest.$ac_ext <<_ACEOF
61681 #line $LINENO "configure"
61682 /* confdefs.h.  */
61683 _ACEOF
61684 cat confdefs.h >>conftest.$ac_ext
61685 cat >>conftest.$ac_ext <<_ACEOF
61686 /* end confdefs.h.  */
61687 #include <math.h>
61688 int
61689 main ()
61690 {
61691  __builtin_fabs(0);
61692   ;
61693   return 0;
61694 }
61695 _ACEOF
61696 rm -f conftest.$ac_objext
61697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61698   (eval $ac_compile) 2>&5
61699   ac_status=$?
61700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701   (exit $ac_status); } &&
61702          { ac_try='test -s conftest.$ac_objext'
61703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61704   (eval $ac_try) 2>&5
61705   ac_status=$?
61706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707   (exit $ac_status); }; }; then
61708   glibcxx_cv_func___builtin_fabs_use=yes
61709 else
61710   echo "$as_me: failed program was:" >&5
61711 sed 's/^/| /' conftest.$ac_ext >&5
61712
61713 glibcxx_cv_func___builtin_fabs_use=no
61714 fi
61715 rm -f conftest.$ac_objext conftest.$ac_ext
61716       ac_ext=c
61717 ac_cpp='$CPP $CPPFLAGS'
61718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61721
61722
61723 fi
61724
61725   fi
61726   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61727 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61728   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61729     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61730 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61731     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61732       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61733   echo $ECHO_N "(cached) $ECHO_C" >&6
61734 else
61735
61736         if test x$gcc_no_link = xyes; then
61737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61739    { (exit 1); exit 1; }; }
61740 fi
61741 cat >conftest.$ac_ext <<_ACEOF
61742 #line $LINENO "configure"
61743 /* confdefs.h.  */
61744 _ACEOF
61745 cat confdefs.h >>conftest.$ac_ext
61746 cat >>conftest.$ac_ext <<_ACEOF
61747 /* end confdefs.h.  */
61748 #include <math.h>
61749 int
61750 main ()
61751 {
61752  __builtin_fabs(0);
61753   ;
61754   return 0;
61755 }
61756 _ACEOF
61757 rm -f conftest.$ac_objext conftest$ac_exeext
61758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61759   (eval $ac_link) 2>&5
61760   ac_status=$?
61761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61762   (exit $ac_status); } &&
61763          { ac_try='test -s conftest$ac_exeext'
61764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61765   (eval $ac_try) 2>&5
61766   ac_status=$?
61767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61768   (exit $ac_status); }; }; then
61769   glibcxx_cv_func___builtin_fabs_link=yes
61770 else
61771   echo "$as_me: failed program was:" >&5
61772 sed 's/^/| /' conftest.$ac_ext >&5
61773
61774 glibcxx_cv_func___builtin_fabs_link=no
61775 fi
61776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61777
61778 fi
61779
61780     fi
61781     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61782 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61783     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61784       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61785
61786 cat >>confdefs.h <<_ACEOF
61787 #define ${ac_tr_func} 1
61788 _ACEOF
61789
61790     fi
61791   fi
61792
61793
61794   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61795 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61796   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61797     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61798   echo $ECHO_N "(cached) $ECHO_C" >&6
61799 else
61800
61801
61802
61803       ac_ext=cc
61804 ac_cpp='$CXXCPP $CPPFLAGS'
61805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61808
61809       cat >conftest.$ac_ext <<_ACEOF
61810 #line $LINENO "configure"
61811 /* confdefs.h.  */
61812 _ACEOF
61813 cat confdefs.h >>conftest.$ac_ext
61814 cat >>conftest.$ac_ext <<_ACEOF
61815 /* end confdefs.h.  */
61816 #include <math.h>
61817 int
61818 main ()
61819 {
61820  __builtin_fabsl(0);
61821   ;
61822   return 0;
61823 }
61824 _ACEOF
61825 rm -f conftest.$ac_objext
61826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61827   (eval $ac_compile) 2>&5
61828   ac_status=$?
61829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61830   (exit $ac_status); } &&
61831          { ac_try='test -s conftest.$ac_objext'
61832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61833   (eval $ac_try) 2>&5
61834   ac_status=$?
61835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61836   (exit $ac_status); }; }; then
61837   glibcxx_cv_func___builtin_fabsl_use=yes
61838 else
61839   echo "$as_me: failed program was:" >&5
61840 sed 's/^/| /' conftest.$ac_ext >&5
61841
61842 glibcxx_cv_func___builtin_fabsl_use=no
61843 fi
61844 rm -f conftest.$ac_objext conftest.$ac_ext
61845       ac_ext=c
61846 ac_cpp='$CPP $CPPFLAGS'
61847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61850
61851
61852 fi
61853
61854   fi
61855   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61856 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61857   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61858     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61859 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61860     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61861       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61862   echo $ECHO_N "(cached) $ECHO_C" >&6
61863 else
61864
61865         if test x$gcc_no_link = xyes; then
61866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61868    { (exit 1); exit 1; }; }
61869 fi
61870 cat >conftest.$ac_ext <<_ACEOF
61871 #line $LINENO "configure"
61872 /* confdefs.h.  */
61873 _ACEOF
61874 cat confdefs.h >>conftest.$ac_ext
61875 cat >>conftest.$ac_ext <<_ACEOF
61876 /* end confdefs.h.  */
61877 #include <math.h>
61878 int
61879 main ()
61880 {
61881  __builtin_fabsl(0);
61882   ;
61883   return 0;
61884 }
61885 _ACEOF
61886 rm -f conftest.$ac_objext conftest$ac_exeext
61887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61888   (eval $ac_link) 2>&5
61889   ac_status=$?
61890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61891   (exit $ac_status); } &&
61892          { ac_try='test -s conftest$ac_exeext'
61893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61894   (eval $ac_try) 2>&5
61895   ac_status=$?
61896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61897   (exit $ac_status); }; }; then
61898   glibcxx_cv_func___builtin_fabsl_link=yes
61899 else
61900   echo "$as_me: failed program was:" >&5
61901 sed 's/^/| /' conftest.$ac_ext >&5
61902
61903 glibcxx_cv_func___builtin_fabsl_link=no
61904 fi
61905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61906
61907 fi
61908
61909     fi
61910     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61912     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61913       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
61914
61915 cat >>confdefs.h <<_ACEOF
61916 #define ${ac_tr_func} 1
61917 _ACEOF
61918
61919     fi
61920   fi
61921
61922
61923   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61924 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61925   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61926     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61927   echo $ECHO_N "(cached) $ECHO_C" >&6
61928 else
61929
61930
61931
61932       ac_ext=cc
61933 ac_cpp='$CXXCPP $CPPFLAGS'
61934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61937
61938       cat >conftest.$ac_ext <<_ACEOF
61939 #line $LINENO "configure"
61940 /* confdefs.h.  */
61941 _ACEOF
61942 cat confdefs.h >>conftest.$ac_ext
61943 cat >>conftest.$ac_ext <<_ACEOF
61944 /* end confdefs.h.  */
61945 #include <math.h>
61946 int
61947 main ()
61948 {
61949  __builtin_labs(0);
61950   ;
61951   return 0;
61952 }
61953 _ACEOF
61954 rm -f conftest.$ac_objext
61955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61956   (eval $ac_compile) 2>&5
61957   ac_status=$?
61958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61959   (exit $ac_status); } &&
61960          { ac_try='test -s conftest.$ac_objext'
61961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61962   (eval $ac_try) 2>&5
61963   ac_status=$?
61964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61965   (exit $ac_status); }; }; then
61966   glibcxx_cv_func___builtin_labs_use=yes
61967 else
61968   echo "$as_me: failed program was:" >&5
61969 sed 's/^/| /' conftest.$ac_ext >&5
61970
61971 glibcxx_cv_func___builtin_labs_use=no
61972 fi
61973 rm -f conftest.$ac_objext conftest.$ac_ext
61974       ac_ext=c
61975 ac_cpp='$CPP $CPPFLAGS'
61976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61979
61980
61981 fi
61982
61983   fi
61984   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61985 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61986   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61987     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61988 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61989     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61990       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61991   echo $ECHO_N "(cached) $ECHO_C" >&6
61992 else
61993
61994         if test x$gcc_no_link = xyes; then
61995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61997    { (exit 1); exit 1; }; }
61998 fi
61999 cat >conftest.$ac_ext <<_ACEOF
62000 #line $LINENO "configure"
62001 /* confdefs.h.  */
62002 _ACEOF
62003 cat confdefs.h >>conftest.$ac_ext
62004 cat >>conftest.$ac_ext <<_ACEOF
62005 /* end confdefs.h.  */
62006 #include <math.h>
62007 int
62008 main ()
62009 {
62010  __builtin_labs(0);
62011   ;
62012   return 0;
62013 }
62014 _ACEOF
62015 rm -f conftest.$ac_objext conftest$ac_exeext
62016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62017   (eval $ac_link) 2>&5
62018   ac_status=$?
62019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62020   (exit $ac_status); } &&
62021          { ac_try='test -s conftest$ac_exeext'
62022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62023   (eval $ac_try) 2>&5
62024   ac_status=$?
62025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62026   (exit $ac_status); }; }; then
62027   glibcxx_cv_func___builtin_labs_link=yes
62028 else
62029   echo "$as_me: failed program was:" >&5
62030 sed 's/^/| /' conftest.$ac_ext >&5
62031
62032 glibcxx_cv_func___builtin_labs_link=no
62033 fi
62034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62035
62036 fi
62037
62038     fi
62039     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62040 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62041     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62042       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62043
62044 cat >>confdefs.h <<_ACEOF
62045 #define ${ac_tr_func} 1
62046 _ACEOF
62047
62048     fi
62049   fi
62050
62051
62052
62053   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62054 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62055   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62056     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62057   echo $ECHO_N "(cached) $ECHO_C" >&6
62058 else
62059
62060
62061
62062       ac_ext=cc
62063 ac_cpp='$CXXCPP $CPPFLAGS'
62064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62067
62068       cat >conftest.$ac_ext <<_ACEOF
62069 #line $LINENO "configure"
62070 /* confdefs.h.  */
62071 _ACEOF
62072 cat confdefs.h >>conftest.$ac_ext
62073 cat >>conftest.$ac_ext <<_ACEOF
62074 /* end confdefs.h.  */
62075 #include <math.h>
62076 int
62077 main ()
62078 {
62079  __builtin_sqrtf(0);
62080   ;
62081   return 0;
62082 }
62083 _ACEOF
62084 rm -f conftest.$ac_objext
62085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62086   (eval $ac_compile) 2>&5
62087   ac_status=$?
62088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62089   (exit $ac_status); } &&
62090          { ac_try='test -s conftest.$ac_objext'
62091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62092   (eval $ac_try) 2>&5
62093   ac_status=$?
62094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62095   (exit $ac_status); }; }; then
62096   glibcxx_cv_func___builtin_sqrtf_use=yes
62097 else
62098   echo "$as_me: failed program was:" >&5
62099 sed 's/^/| /' conftest.$ac_ext >&5
62100
62101 glibcxx_cv_func___builtin_sqrtf_use=no
62102 fi
62103 rm -f conftest.$ac_objext conftest.$ac_ext
62104       ac_ext=c
62105 ac_cpp='$CPP $CPPFLAGS'
62106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62109
62110
62111 fi
62112
62113   fi
62114   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62116   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62117     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62118 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62119     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62120       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62121   echo $ECHO_N "(cached) $ECHO_C" >&6
62122 else
62123
62124         if test x$gcc_no_link = xyes; then
62125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62127    { (exit 1); exit 1; }; }
62128 fi
62129 cat >conftest.$ac_ext <<_ACEOF
62130 #line $LINENO "configure"
62131 /* confdefs.h.  */
62132 _ACEOF
62133 cat confdefs.h >>conftest.$ac_ext
62134 cat >>conftest.$ac_ext <<_ACEOF
62135 /* end confdefs.h.  */
62136 #include <math.h>
62137 int
62138 main ()
62139 {
62140  __builtin_sqrtf(0);
62141   ;
62142   return 0;
62143 }
62144 _ACEOF
62145 rm -f conftest.$ac_objext conftest$ac_exeext
62146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62147   (eval $ac_link) 2>&5
62148   ac_status=$?
62149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62150   (exit $ac_status); } &&
62151          { ac_try='test -s conftest$ac_exeext'
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___builtin_sqrtf_link=yes
62158 else
62159   echo "$as_me: failed program was:" >&5
62160 sed 's/^/| /' conftest.$ac_ext >&5
62161
62162 glibcxx_cv_func___builtin_sqrtf_link=no
62163 fi
62164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62165
62166 fi
62167
62168     fi
62169     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62171     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62172       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62173
62174 cat >>confdefs.h <<_ACEOF
62175 #define ${ac_tr_func} 1
62176 _ACEOF
62177
62178     fi
62179   fi
62180
62181
62182   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62183 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62184   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62185     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62186   echo $ECHO_N "(cached) $ECHO_C" >&6
62187 else
62188
62189
62190
62191       ac_ext=cc
62192 ac_cpp='$CXXCPP $CPPFLAGS'
62193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62196
62197       cat >conftest.$ac_ext <<_ACEOF
62198 #line $LINENO "configure"
62199 /* confdefs.h.  */
62200 _ACEOF
62201 cat confdefs.h >>conftest.$ac_ext
62202 cat >>conftest.$ac_ext <<_ACEOF
62203 /* end confdefs.h.  */
62204 #include <math.h>
62205 int
62206 main ()
62207 {
62208  __builtin_sqrt(0);
62209   ;
62210   return 0;
62211 }
62212 _ACEOF
62213 rm -f conftest.$ac_objext
62214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62215   (eval $ac_compile) 2>&5
62216   ac_status=$?
62217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62218   (exit $ac_status); } &&
62219          { ac_try='test -s conftest.$ac_objext'
62220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62221   (eval $ac_try) 2>&5
62222   ac_status=$?
62223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62224   (exit $ac_status); }; }; then
62225   glibcxx_cv_func___builtin_sqrt_use=yes
62226 else
62227   echo "$as_me: failed program was:" >&5
62228 sed 's/^/| /' conftest.$ac_ext >&5
62229
62230 glibcxx_cv_func___builtin_sqrt_use=no
62231 fi
62232 rm -f conftest.$ac_objext conftest.$ac_ext
62233       ac_ext=c
62234 ac_cpp='$CPP $CPPFLAGS'
62235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62238
62239
62240 fi
62241
62242   fi
62243   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62245   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62246     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62247 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62248     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62249       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62250   echo $ECHO_N "(cached) $ECHO_C" >&6
62251 else
62252
62253         if test x$gcc_no_link = xyes; then
62254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62256    { (exit 1); exit 1; }; }
62257 fi
62258 cat >conftest.$ac_ext <<_ACEOF
62259 #line $LINENO "configure"
62260 /* confdefs.h.  */
62261 _ACEOF
62262 cat confdefs.h >>conftest.$ac_ext
62263 cat >>conftest.$ac_ext <<_ACEOF
62264 /* end confdefs.h.  */
62265 #include <math.h>
62266 int
62267 main ()
62268 {
62269  __builtin_sqrt(0);
62270   ;
62271   return 0;
62272 }
62273 _ACEOF
62274 rm -f conftest.$ac_objext conftest$ac_exeext
62275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62276   (eval $ac_link) 2>&5
62277   ac_status=$?
62278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62279   (exit $ac_status); } &&
62280          { ac_try='test -s conftest$ac_exeext'
62281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62282   (eval $ac_try) 2>&5
62283   ac_status=$?
62284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62285   (exit $ac_status); }; }; then
62286   glibcxx_cv_func___builtin_sqrt_link=yes
62287 else
62288   echo "$as_me: failed program was:" >&5
62289 sed 's/^/| /' conftest.$ac_ext >&5
62290
62291 glibcxx_cv_func___builtin_sqrt_link=no
62292 fi
62293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62294
62295 fi
62296
62297     fi
62298     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62299 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62300     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62301       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62302
62303 cat >>confdefs.h <<_ACEOF
62304 #define ${ac_tr_func} 1
62305 _ACEOF
62306
62307     fi
62308   fi
62309
62310
62311   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62312 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62313   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62314     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62315   echo $ECHO_N "(cached) $ECHO_C" >&6
62316 else
62317
62318
62319
62320       ac_ext=cc
62321 ac_cpp='$CXXCPP $CPPFLAGS'
62322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62325
62326       cat >conftest.$ac_ext <<_ACEOF
62327 #line $LINENO "configure"
62328 /* confdefs.h.  */
62329 _ACEOF
62330 cat confdefs.h >>conftest.$ac_ext
62331 cat >>conftest.$ac_ext <<_ACEOF
62332 /* end confdefs.h.  */
62333 #include <math.h>
62334 int
62335 main ()
62336 {
62337  __builtin_sqrtl(0);
62338   ;
62339   return 0;
62340 }
62341 _ACEOF
62342 rm -f conftest.$ac_objext
62343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62344   (eval $ac_compile) 2>&5
62345   ac_status=$?
62346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62347   (exit $ac_status); } &&
62348          { ac_try='test -s conftest.$ac_objext'
62349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62350   (eval $ac_try) 2>&5
62351   ac_status=$?
62352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62353   (exit $ac_status); }; }; then
62354   glibcxx_cv_func___builtin_sqrtl_use=yes
62355 else
62356   echo "$as_me: failed program was:" >&5
62357 sed 's/^/| /' conftest.$ac_ext >&5
62358
62359 glibcxx_cv_func___builtin_sqrtl_use=no
62360 fi
62361 rm -f conftest.$ac_objext conftest.$ac_ext
62362       ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62367
62368
62369 fi
62370
62371   fi
62372   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62373 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62374   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62375     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62376 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62377     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62378       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62379   echo $ECHO_N "(cached) $ECHO_C" >&6
62380 else
62381
62382         if test x$gcc_no_link = xyes; then
62383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62385    { (exit 1); exit 1; }; }
62386 fi
62387 cat >conftest.$ac_ext <<_ACEOF
62388 #line $LINENO "configure"
62389 /* confdefs.h.  */
62390 _ACEOF
62391 cat confdefs.h >>conftest.$ac_ext
62392 cat >>conftest.$ac_ext <<_ACEOF
62393 /* end confdefs.h.  */
62394 #include <math.h>
62395 int
62396 main ()
62397 {
62398  __builtin_sqrtl(0);
62399   ;
62400   return 0;
62401 }
62402 _ACEOF
62403 rm -f conftest.$ac_objext conftest$ac_exeext
62404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62405   (eval $ac_link) 2>&5
62406   ac_status=$?
62407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62408   (exit $ac_status); } &&
62409          { ac_try='test -s conftest$ac_exeext'
62410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62411   (eval $ac_try) 2>&5
62412   ac_status=$?
62413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62414   (exit $ac_status); }; }; then
62415   glibcxx_cv_func___builtin_sqrtl_link=yes
62416 else
62417   echo "$as_me: failed program was:" >&5
62418 sed 's/^/| /' conftest.$ac_ext >&5
62419
62420 glibcxx_cv_func___builtin_sqrtl_link=no
62421 fi
62422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62423
62424 fi
62425
62426     fi
62427     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62429     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62430       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62431
62432 cat >>confdefs.h <<_ACEOF
62433 #define ${ac_tr_func} 1
62434 _ACEOF
62435
62436     fi
62437   fi
62438
62439
62440
62441   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62442 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62443   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62444     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62445   echo $ECHO_N "(cached) $ECHO_C" >&6
62446 else
62447
62448
62449
62450       ac_ext=cc
62451 ac_cpp='$CXXCPP $CPPFLAGS'
62452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62455
62456       cat >conftest.$ac_ext <<_ACEOF
62457 #line $LINENO "configure"
62458 /* confdefs.h.  */
62459 _ACEOF
62460 cat confdefs.h >>conftest.$ac_ext
62461 cat >>conftest.$ac_ext <<_ACEOF
62462 /* end confdefs.h.  */
62463 #include <math.h>
62464 int
62465 main ()
62466 {
62467  __builtin_sinf(0);
62468   ;
62469   return 0;
62470 }
62471 _ACEOF
62472 rm -f conftest.$ac_objext
62473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62474   (eval $ac_compile) 2>&5
62475   ac_status=$?
62476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62477   (exit $ac_status); } &&
62478          { ac_try='test -s conftest.$ac_objext'
62479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62480   (eval $ac_try) 2>&5
62481   ac_status=$?
62482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483   (exit $ac_status); }; }; then
62484   glibcxx_cv_func___builtin_sinf_use=yes
62485 else
62486   echo "$as_me: failed program was:" >&5
62487 sed 's/^/| /' conftest.$ac_ext >&5
62488
62489 glibcxx_cv_func___builtin_sinf_use=no
62490 fi
62491 rm -f conftest.$ac_objext conftest.$ac_ext
62492       ac_ext=c
62493 ac_cpp='$CPP $CPPFLAGS'
62494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62497
62498
62499 fi
62500
62501   fi
62502   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62503 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62504   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62505     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62506 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62507     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62508       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62509   echo $ECHO_N "(cached) $ECHO_C" >&6
62510 else
62511
62512         if test x$gcc_no_link = xyes; then
62513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62515    { (exit 1); exit 1; }; }
62516 fi
62517 cat >conftest.$ac_ext <<_ACEOF
62518 #line $LINENO "configure"
62519 /* confdefs.h.  */
62520 _ACEOF
62521 cat confdefs.h >>conftest.$ac_ext
62522 cat >>conftest.$ac_ext <<_ACEOF
62523 /* end confdefs.h.  */
62524 #include <math.h>
62525 int
62526 main ()
62527 {
62528  __builtin_sinf(0);
62529   ;
62530   return 0;
62531 }
62532 _ACEOF
62533 rm -f conftest.$ac_objext conftest$ac_exeext
62534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62535   (eval $ac_link) 2>&5
62536   ac_status=$?
62537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62538   (exit $ac_status); } &&
62539          { ac_try='test -s conftest$ac_exeext'
62540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62541   (eval $ac_try) 2>&5
62542   ac_status=$?
62543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62544   (exit $ac_status); }; }; then
62545   glibcxx_cv_func___builtin_sinf_link=yes
62546 else
62547   echo "$as_me: failed program was:" >&5
62548 sed 's/^/| /' conftest.$ac_ext >&5
62549
62550 glibcxx_cv_func___builtin_sinf_link=no
62551 fi
62552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62553
62554 fi
62555
62556     fi
62557     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62558 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62559     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62560       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62561
62562 cat >>confdefs.h <<_ACEOF
62563 #define ${ac_tr_func} 1
62564 _ACEOF
62565
62566     fi
62567   fi
62568
62569
62570   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62571 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62572   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62573     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62574   echo $ECHO_N "(cached) $ECHO_C" >&6
62575 else
62576
62577
62578
62579       ac_ext=cc
62580 ac_cpp='$CXXCPP $CPPFLAGS'
62581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62584
62585       cat >conftest.$ac_ext <<_ACEOF
62586 #line $LINENO "configure"
62587 /* confdefs.h.  */
62588 _ACEOF
62589 cat confdefs.h >>conftest.$ac_ext
62590 cat >>conftest.$ac_ext <<_ACEOF
62591 /* end confdefs.h.  */
62592 #include <math.h>
62593 int
62594 main ()
62595 {
62596  __builtin_sin(0);
62597   ;
62598   return 0;
62599 }
62600 _ACEOF
62601 rm -f conftest.$ac_objext
62602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62603   (eval $ac_compile) 2>&5
62604   ac_status=$?
62605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62606   (exit $ac_status); } &&
62607          { ac_try='test -s conftest.$ac_objext'
62608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62609   (eval $ac_try) 2>&5
62610   ac_status=$?
62611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62612   (exit $ac_status); }; }; then
62613   glibcxx_cv_func___builtin_sin_use=yes
62614 else
62615   echo "$as_me: failed program was:" >&5
62616 sed 's/^/| /' conftest.$ac_ext >&5
62617
62618 glibcxx_cv_func___builtin_sin_use=no
62619 fi
62620 rm -f conftest.$ac_objext conftest.$ac_ext
62621       ac_ext=c
62622 ac_cpp='$CPP $CPPFLAGS'
62623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62626
62627
62628 fi
62629
62630   fi
62631   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62632 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62633   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62634     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62635 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62636     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62637       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62638   echo $ECHO_N "(cached) $ECHO_C" >&6
62639 else
62640
62641         if test x$gcc_no_link = xyes; then
62642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62644    { (exit 1); exit 1; }; }
62645 fi
62646 cat >conftest.$ac_ext <<_ACEOF
62647 #line $LINENO "configure"
62648 /* confdefs.h.  */
62649 _ACEOF
62650 cat confdefs.h >>conftest.$ac_ext
62651 cat >>conftest.$ac_ext <<_ACEOF
62652 /* end confdefs.h.  */
62653 #include <math.h>
62654 int
62655 main ()
62656 {
62657  __builtin_sin(0);
62658   ;
62659   return 0;
62660 }
62661 _ACEOF
62662 rm -f conftest.$ac_objext conftest$ac_exeext
62663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62664   (eval $ac_link) 2>&5
62665   ac_status=$?
62666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62667   (exit $ac_status); } &&
62668          { ac_try='test -s conftest$ac_exeext'
62669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62670   (eval $ac_try) 2>&5
62671   ac_status=$?
62672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62673   (exit $ac_status); }; }; then
62674   glibcxx_cv_func___builtin_sin_link=yes
62675 else
62676   echo "$as_me: failed program was:" >&5
62677 sed 's/^/| /' conftest.$ac_ext >&5
62678
62679 glibcxx_cv_func___builtin_sin_link=no
62680 fi
62681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62682
62683 fi
62684
62685     fi
62686     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62687 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62688     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62689       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62690
62691 cat >>confdefs.h <<_ACEOF
62692 #define ${ac_tr_func} 1
62693 _ACEOF
62694
62695     fi
62696   fi
62697
62698
62699   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62700 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62701   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62702     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62703   echo $ECHO_N "(cached) $ECHO_C" >&6
62704 else
62705
62706
62707
62708       ac_ext=cc
62709 ac_cpp='$CXXCPP $CPPFLAGS'
62710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713
62714       cat >conftest.$ac_ext <<_ACEOF
62715 #line $LINENO "configure"
62716 /* confdefs.h.  */
62717 _ACEOF
62718 cat confdefs.h >>conftest.$ac_ext
62719 cat >>conftest.$ac_ext <<_ACEOF
62720 /* end confdefs.h.  */
62721 #include <math.h>
62722 int
62723 main ()
62724 {
62725  __builtin_sinl(0);
62726   ;
62727   return 0;
62728 }
62729 _ACEOF
62730 rm -f conftest.$ac_objext
62731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62732   (eval $ac_compile) 2>&5
62733   ac_status=$?
62734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735   (exit $ac_status); } &&
62736          { ac_try='test -s conftest.$ac_objext'
62737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62738   (eval $ac_try) 2>&5
62739   ac_status=$?
62740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62741   (exit $ac_status); }; }; then
62742   glibcxx_cv_func___builtin_sinl_use=yes
62743 else
62744   echo "$as_me: failed program was:" >&5
62745 sed 's/^/| /' conftest.$ac_ext >&5
62746
62747 glibcxx_cv_func___builtin_sinl_use=no
62748 fi
62749 rm -f conftest.$ac_objext conftest.$ac_ext
62750       ac_ext=c
62751 ac_cpp='$CPP $CPPFLAGS'
62752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62755
62756
62757 fi
62758
62759   fi
62760   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62761 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62762   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62763     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62764 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62765     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62766       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62767   echo $ECHO_N "(cached) $ECHO_C" >&6
62768 else
62769
62770         if test x$gcc_no_link = xyes; then
62771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62773    { (exit 1); exit 1; }; }
62774 fi
62775 cat >conftest.$ac_ext <<_ACEOF
62776 #line $LINENO "configure"
62777 /* confdefs.h.  */
62778 _ACEOF
62779 cat confdefs.h >>conftest.$ac_ext
62780 cat >>conftest.$ac_ext <<_ACEOF
62781 /* end confdefs.h.  */
62782 #include <math.h>
62783 int
62784 main ()
62785 {
62786  __builtin_sinl(0);
62787   ;
62788   return 0;
62789 }
62790 _ACEOF
62791 rm -f conftest.$ac_objext conftest$ac_exeext
62792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62793   (eval $ac_link) 2>&5
62794   ac_status=$?
62795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62796   (exit $ac_status); } &&
62797          { ac_try='test -s conftest$ac_exeext'
62798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62799   (eval $ac_try) 2>&5
62800   ac_status=$?
62801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62802   (exit $ac_status); }; }; then
62803   glibcxx_cv_func___builtin_sinl_link=yes
62804 else
62805   echo "$as_me: failed program was:" >&5
62806 sed 's/^/| /' conftest.$ac_ext >&5
62807
62808 glibcxx_cv_func___builtin_sinl_link=no
62809 fi
62810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62811
62812 fi
62813
62814     fi
62815     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62816 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62817     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62818       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62819
62820 cat >>confdefs.h <<_ACEOF
62821 #define ${ac_tr_func} 1
62822 _ACEOF
62823
62824     fi
62825   fi
62826
62827
62828
62829   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62830 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62831   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62832     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62833   echo $ECHO_N "(cached) $ECHO_C" >&6
62834 else
62835
62836
62837
62838       ac_ext=cc
62839 ac_cpp='$CXXCPP $CPPFLAGS'
62840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62843
62844       cat >conftest.$ac_ext <<_ACEOF
62845 #line $LINENO "configure"
62846 /* confdefs.h.  */
62847 _ACEOF
62848 cat confdefs.h >>conftest.$ac_ext
62849 cat >>conftest.$ac_ext <<_ACEOF
62850 /* end confdefs.h.  */
62851 #include <math.h>
62852 int
62853 main ()
62854 {
62855  __builtin_cosf(0);
62856   ;
62857   return 0;
62858 }
62859 _ACEOF
62860 rm -f conftest.$ac_objext
62861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62862   (eval $ac_compile) 2>&5
62863   ac_status=$?
62864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62865   (exit $ac_status); } &&
62866          { ac_try='test -s conftest.$ac_objext'
62867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62868   (eval $ac_try) 2>&5
62869   ac_status=$?
62870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62871   (exit $ac_status); }; }; then
62872   glibcxx_cv_func___builtin_cosf_use=yes
62873 else
62874   echo "$as_me: failed program was:" >&5
62875 sed 's/^/| /' conftest.$ac_ext >&5
62876
62877 glibcxx_cv_func___builtin_cosf_use=no
62878 fi
62879 rm -f conftest.$ac_objext conftest.$ac_ext
62880       ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885
62886
62887 fi
62888
62889   fi
62890   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62891 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62892   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62893     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62894 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62895     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62896       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62897   echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62899
62900         if test x$gcc_no_link = xyes; then
62901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62903    { (exit 1); exit 1; }; }
62904 fi
62905 cat >conftest.$ac_ext <<_ACEOF
62906 #line $LINENO "configure"
62907 /* confdefs.h.  */
62908 _ACEOF
62909 cat confdefs.h >>conftest.$ac_ext
62910 cat >>conftest.$ac_ext <<_ACEOF
62911 /* end confdefs.h.  */
62912 #include <math.h>
62913 int
62914 main ()
62915 {
62916  __builtin_cosf(0);
62917   ;
62918   return 0;
62919 }
62920 _ACEOF
62921 rm -f conftest.$ac_objext conftest$ac_exeext
62922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62923   (eval $ac_link) 2>&5
62924   ac_status=$?
62925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62926   (exit $ac_status); } &&
62927          { ac_try='test -s conftest$ac_exeext'
62928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62929   (eval $ac_try) 2>&5
62930   ac_status=$?
62931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62932   (exit $ac_status); }; }; then
62933   glibcxx_cv_func___builtin_cosf_link=yes
62934 else
62935   echo "$as_me: failed program was:" >&5
62936 sed 's/^/| /' conftest.$ac_ext >&5
62937
62938 glibcxx_cv_func___builtin_cosf_link=no
62939 fi
62940 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62941
62942 fi
62943
62944     fi
62945     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62946 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62947     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62948       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
62949
62950 cat >>confdefs.h <<_ACEOF
62951 #define ${ac_tr_func} 1
62952 _ACEOF
62953
62954     fi
62955   fi
62956
62957
62958   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62959 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62960   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62961     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62962   echo $ECHO_N "(cached) $ECHO_C" >&6
62963 else
62964
62965
62966
62967       ac_ext=cc
62968 ac_cpp='$CXXCPP $CPPFLAGS'
62969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62972
62973       cat >conftest.$ac_ext <<_ACEOF
62974 #line $LINENO "configure"
62975 /* confdefs.h.  */
62976 _ACEOF
62977 cat confdefs.h >>conftest.$ac_ext
62978 cat >>conftest.$ac_ext <<_ACEOF
62979 /* end confdefs.h.  */
62980 #include <math.h>
62981 int
62982 main ()
62983 {
62984  __builtin_cos(0);
62985   ;
62986   return 0;
62987 }
62988 _ACEOF
62989 rm -f conftest.$ac_objext
62990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62991   (eval $ac_compile) 2>&5
62992   ac_status=$?
62993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62994   (exit $ac_status); } &&
62995          { ac_try='test -s conftest.$ac_objext'
62996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62997   (eval $ac_try) 2>&5
62998   ac_status=$?
62999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63000   (exit $ac_status); }; }; then
63001   glibcxx_cv_func___builtin_cos_use=yes
63002 else
63003   echo "$as_me: failed program was:" >&5
63004 sed 's/^/| /' conftest.$ac_ext >&5
63005
63006 glibcxx_cv_func___builtin_cos_use=no
63007 fi
63008 rm -f conftest.$ac_objext conftest.$ac_ext
63009       ac_ext=c
63010 ac_cpp='$CPP $CPPFLAGS'
63011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63014
63015
63016 fi
63017
63018   fi
63019   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63020 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63021   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63022     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63023 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63024     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63025       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63026   echo $ECHO_N "(cached) $ECHO_C" >&6
63027 else
63028
63029         if test x$gcc_no_link = xyes; then
63030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63032    { (exit 1); exit 1; }; }
63033 fi
63034 cat >conftest.$ac_ext <<_ACEOF
63035 #line $LINENO "configure"
63036 /* confdefs.h.  */
63037 _ACEOF
63038 cat confdefs.h >>conftest.$ac_ext
63039 cat >>conftest.$ac_ext <<_ACEOF
63040 /* end confdefs.h.  */
63041 #include <math.h>
63042 int
63043 main ()
63044 {
63045  __builtin_cos(0);
63046   ;
63047   return 0;
63048 }
63049 _ACEOF
63050 rm -f conftest.$ac_objext conftest$ac_exeext
63051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63052   (eval $ac_link) 2>&5
63053   ac_status=$?
63054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055   (exit $ac_status); } &&
63056          { ac_try='test -s conftest$ac_exeext'
63057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63058   (eval $ac_try) 2>&5
63059   ac_status=$?
63060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63061   (exit $ac_status); }; }; then
63062   glibcxx_cv_func___builtin_cos_link=yes
63063 else
63064   echo "$as_me: failed program was:" >&5
63065 sed 's/^/| /' conftest.$ac_ext >&5
63066
63067 glibcxx_cv_func___builtin_cos_link=no
63068 fi
63069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63070
63071 fi
63072
63073     fi
63074     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63075 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63076     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63077       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
63078
63079 cat >>confdefs.h <<_ACEOF
63080 #define ${ac_tr_func} 1
63081 _ACEOF
63082
63083     fi
63084   fi
63085
63086
63087   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63088 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63089   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63090     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63091   echo $ECHO_N "(cached) $ECHO_C" >&6
63092 else
63093
63094
63095
63096       ac_ext=cc
63097 ac_cpp='$CXXCPP $CPPFLAGS'
63098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63101
63102       cat >conftest.$ac_ext <<_ACEOF
63103 #line $LINENO "configure"
63104 /* confdefs.h.  */
63105 _ACEOF
63106 cat confdefs.h >>conftest.$ac_ext
63107 cat >>conftest.$ac_ext <<_ACEOF
63108 /* end confdefs.h.  */
63109 #include <math.h>
63110 int
63111 main ()
63112 {
63113  __builtin_cosl(0);
63114   ;
63115   return 0;
63116 }
63117 _ACEOF
63118 rm -f conftest.$ac_objext
63119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63120   (eval $ac_compile) 2>&5
63121   ac_status=$?
63122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63123   (exit $ac_status); } &&
63124          { ac_try='test -s conftest.$ac_objext'
63125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63126   (eval $ac_try) 2>&5
63127   ac_status=$?
63128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63129   (exit $ac_status); }; }; then
63130   glibcxx_cv_func___builtin_cosl_use=yes
63131 else
63132   echo "$as_me: failed program was:" >&5
63133 sed 's/^/| /' conftest.$ac_ext >&5
63134
63135 glibcxx_cv_func___builtin_cosl_use=no
63136 fi
63137 rm -f conftest.$ac_objext conftest.$ac_ext
63138       ac_ext=c
63139 ac_cpp='$CPP $CPPFLAGS'
63140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63143
63144
63145 fi
63146
63147   fi
63148   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63149 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63150   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63151     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63152 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63153     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63154       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
63155   echo $ECHO_N "(cached) $ECHO_C" >&6
63156 else
63157
63158         if test x$gcc_no_link = xyes; then
63159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63161    { (exit 1); exit 1; }; }
63162 fi
63163 cat >conftest.$ac_ext <<_ACEOF
63164 #line $LINENO "configure"
63165 /* confdefs.h.  */
63166 _ACEOF
63167 cat confdefs.h >>conftest.$ac_ext
63168 cat >>conftest.$ac_ext <<_ACEOF
63169 /* end confdefs.h.  */
63170 #include <math.h>
63171 int
63172 main ()
63173 {
63174  __builtin_cosl(0);
63175   ;
63176   return 0;
63177 }
63178 _ACEOF
63179 rm -f conftest.$ac_objext conftest$ac_exeext
63180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63181   (eval $ac_link) 2>&5
63182   ac_status=$?
63183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63184   (exit $ac_status); } &&
63185          { ac_try='test -s conftest$ac_exeext'
63186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63187   (eval $ac_try) 2>&5
63188   ac_status=$?
63189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63190   (exit $ac_status); }; }; then
63191   glibcxx_cv_func___builtin_cosl_link=yes
63192 else
63193   echo "$as_me: failed program was:" >&5
63194 sed 's/^/| /' conftest.$ac_ext >&5
63195
63196 glibcxx_cv_func___builtin_cosl_link=no
63197 fi
63198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63199
63200 fi
63201
63202     fi
63203     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63204 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63205     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63206       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
63207
63208 cat >>confdefs.h <<_ACEOF
63209 #define ${ac_tr_func} 1
63210 _ACEOF
63211
63212     fi
63213   fi
63214
63215
63216
63217
63218 echo "$as_me:$LINENO: checking for main in -lm" >&5
63219 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63220 if test "${ac_cv_lib_m_main+set}" = set; then
63221   echo $ECHO_N "(cached) $ECHO_C" >&6
63222 else
63223   ac_check_lib_save_LIBS=$LIBS
63224 LIBS="-lm  $LIBS"
63225 if test x$gcc_no_link = xyes; then
63226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63228    { (exit 1); exit 1; }; }
63229 fi
63230 cat >conftest.$ac_ext <<_ACEOF
63231 #line $LINENO "configure"
63232 /* confdefs.h.  */
63233 _ACEOF
63234 cat confdefs.h >>conftest.$ac_ext
63235 cat >>conftest.$ac_ext <<_ACEOF
63236 /* end confdefs.h.  */
63237
63238
63239 int
63240 main ()
63241 {
63242 main ();
63243   ;
63244   return 0;
63245 }
63246 _ACEOF
63247 rm -f conftest.$ac_objext conftest$ac_exeext
63248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63249   (eval $ac_link) 2>&5
63250   ac_status=$?
63251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63252   (exit $ac_status); } &&
63253          { ac_try='test -s conftest$ac_exeext'
63254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63255   (eval $ac_try) 2>&5
63256   ac_status=$?
63257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63258   (exit $ac_status); }; }; then
63259   ac_cv_lib_m_main=yes
63260 else
63261   echo "$as_me: failed program was:" >&5
63262 sed 's/^/| /' conftest.$ac_ext >&5
63263
63264 ac_cv_lib_m_main=no
63265 fi
63266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63267 LIBS=$ac_check_lib_save_LIBS
63268 fi
63269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63270 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63271 if test $ac_cv_lib_m_main = yes; then
63272   cat >>confdefs.h <<_ACEOF
63273 #define HAVE_LIBM 1
63274 _ACEOF
63275
63276   LIBS="-lm $LIBS"
63277
63278 fi
63279
63280
63281 for ac_func in copysignf
63282 do
63283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63284 echo "$as_me:$LINENO: checking for $ac_func" >&5
63285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63286 if eval "test \"\${$as_ac_var+set}\" = set"; then
63287   echo $ECHO_N "(cached) $ECHO_C" >&6
63288 else
63289   if test x$gcc_no_link = xyes; then
63290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63292    { (exit 1); exit 1; }; }
63293 fi
63294 cat >conftest.$ac_ext <<_ACEOF
63295 #line $LINENO "configure"
63296 /* confdefs.h.  */
63297 _ACEOF
63298 cat confdefs.h >>conftest.$ac_ext
63299 cat >>conftest.$ac_ext <<_ACEOF
63300 /* end confdefs.h.  */
63301 /* System header to define __stub macros and hopefully few prototypes,
63302     which can conflict with char $ac_func (); below.
63303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63304     <limits.h> exists even on freestanding compilers.  */
63305 #ifdef __STDC__
63306 # include <limits.h>
63307 #else
63308 # include <assert.h>
63309 #endif
63310 /* Override any gcc2 internal prototype to avoid an error.  */
63311 #ifdef __cplusplus
63312 extern "C"
63313 {
63314 #endif
63315 /* We use char because int might match the return type of a gcc2
63316    builtin and then its argument prototype would still apply.  */
63317 char $ac_func ();
63318 /* The GNU C library defines this for functions which it implements
63319     to always fail with ENOSYS.  Some functions are actually named
63320     something starting with __ and the normal name is an alias.  */
63321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63322 choke me
63323 #else
63324 char (*f) () = $ac_func;
63325 #endif
63326 #ifdef __cplusplus
63327 }
63328 #endif
63329
63330 int
63331 main ()
63332 {
63333 return f != $ac_func;
63334   ;
63335   return 0;
63336 }
63337 _ACEOF
63338 rm -f conftest.$ac_objext conftest$ac_exeext
63339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63340   (eval $ac_link) 2>&5
63341   ac_status=$?
63342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63343   (exit $ac_status); } &&
63344          { ac_try='test -s conftest$ac_exeext'
63345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63346   (eval $ac_try) 2>&5
63347   ac_status=$?
63348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63349   (exit $ac_status); }; }; then
63350   eval "$as_ac_var=yes"
63351 else
63352   echo "$as_me: failed program was:" >&5
63353 sed 's/^/| /' conftest.$ac_ext >&5
63354
63355 eval "$as_ac_var=no"
63356 fi
63357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63358 fi
63359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63361 if test `eval echo '${'$as_ac_var'}'` = yes; then
63362   cat >>confdefs.h <<_ACEOF
63363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63364 _ACEOF
63365
63366 else
63367   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63368 fi
63369 done
63370
63371
63372
63373 for ac_func in __signbit
63374 do
63375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63376 echo "$as_me:$LINENO: checking for $ac_func" >&5
63377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63378 if eval "test \"\${$as_ac_var+set}\" = set"; then
63379   echo $ECHO_N "(cached) $ECHO_C" >&6
63380 else
63381   if test x$gcc_no_link = xyes; then
63382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63384    { (exit 1); exit 1; }; }
63385 fi
63386 cat >conftest.$ac_ext <<_ACEOF
63387 #line $LINENO "configure"
63388 /* confdefs.h.  */
63389 _ACEOF
63390 cat confdefs.h >>conftest.$ac_ext
63391 cat >>conftest.$ac_ext <<_ACEOF
63392 /* end confdefs.h.  */
63393 /* System header to define __stub macros and hopefully few prototypes,
63394     which can conflict with char $ac_func (); below.
63395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63396     <limits.h> exists even on freestanding compilers.  */
63397 #ifdef __STDC__
63398 # include <limits.h>
63399 #else
63400 # include <assert.h>
63401 #endif
63402 /* Override any gcc2 internal prototype to avoid an error.  */
63403 #ifdef __cplusplus
63404 extern "C"
63405 {
63406 #endif
63407 /* We use char because int might match the return type of a gcc2
63408    builtin and then its argument prototype would still apply.  */
63409 char $ac_func ();
63410 /* The GNU C library defines this for functions which it implements
63411     to always fail with ENOSYS.  Some functions are actually named
63412     something starting with __ and the normal name is an alias.  */
63413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63414 choke me
63415 #else
63416 char (*f) () = $ac_func;
63417 #endif
63418 #ifdef __cplusplus
63419 }
63420 #endif
63421
63422 int
63423 main ()
63424 {
63425 return f != $ac_func;
63426   ;
63427   return 0;
63428 }
63429 _ACEOF
63430 rm -f conftest.$ac_objext conftest$ac_exeext
63431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63432   (eval $ac_link) 2>&5
63433   ac_status=$?
63434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63435   (exit $ac_status); } &&
63436          { ac_try='test -s conftest$ac_exeext'
63437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63438   (eval $ac_try) 2>&5
63439   ac_status=$?
63440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63441   (exit $ac_status); }; }; then
63442   eval "$as_ac_var=yes"
63443 else
63444   echo "$as_me: failed program was:" >&5
63445 sed 's/^/| /' conftest.$ac_ext >&5
63446
63447 eval "$as_ac_var=no"
63448 fi
63449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63450 fi
63451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63453 if test `eval echo '${'$as_ac_var'}'` = yes; then
63454   cat >>confdefs.h <<_ACEOF
63455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63456 _ACEOF
63457
63458 else
63459   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63460 fi
63461 done
63462
63463
63464
63465 for ac_func in __signbitf
63466 do
63467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63468 echo "$as_me:$LINENO: checking for $ac_func" >&5
63469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63470 if eval "test \"\${$as_ac_var+set}\" = set"; then
63471   echo $ECHO_N "(cached) $ECHO_C" >&6
63472 else
63473   if test x$gcc_no_link = xyes; then
63474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63476    { (exit 1); exit 1; }; }
63477 fi
63478 cat >conftest.$ac_ext <<_ACEOF
63479 #line $LINENO "configure"
63480 /* confdefs.h.  */
63481 _ACEOF
63482 cat confdefs.h >>conftest.$ac_ext
63483 cat >>conftest.$ac_ext <<_ACEOF
63484 /* end confdefs.h.  */
63485 /* System header to define __stub macros and hopefully few prototypes,
63486     which can conflict with char $ac_func (); below.
63487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63488     <limits.h> exists even on freestanding compilers.  */
63489 #ifdef __STDC__
63490 # include <limits.h>
63491 #else
63492 # include <assert.h>
63493 #endif
63494 /* Override any gcc2 internal prototype to avoid an error.  */
63495 #ifdef __cplusplus
63496 extern "C"
63497 {
63498 #endif
63499 /* We use char because int might match the return type of a gcc2
63500    builtin and then its argument prototype would still apply.  */
63501 char $ac_func ();
63502 /* The GNU C library defines this for functions which it implements
63503     to always fail with ENOSYS.  Some functions are actually named
63504     something starting with __ and the normal name is an alias.  */
63505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63506 choke me
63507 #else
63508 char (*f) () = $ac_func;
63509 #endif
63510 #ifdef __cplusplus
63511 }
63512 #endif
63513
63514 int
63515 main ()
63516 {
63517 return f != $ac_func;
63518   ;
63519   return 0;
63520 }
63521 _ACEOF
63522 rm -f conftest.$ac_objext conftest$ac_exeext
63523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63524   (eval $ac_link) 2>&5
63525   ac_status=$?
63526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63527   (exit $ac_status); } &&
63528          { ac_try='test -s conftest$ac_exeext'
63529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63530   (eval $ac_try) 2>&5
63531   ac_status=$?
63532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63533   (exit $ac_status); }; }; then
63534   eval "$as_ac_var=yes"
63535 else
63536   echo "$as_me: failed program was:" >&5
63537 sed 's/^/| /' conftest.$ac_ext >&5
63538
63539 eval "$as_ac_var=no"
63540 fi
63541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63542 fi
63543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63545 if test `eval echo '${'$as_ac_var'}'` = yes; then
63546   cat >>confdefs.h <<_ACEOF
63547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63548 _ACEOF
63549
63550 else
63551   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63552 fi
63553 done
63554
63555
63556           if test x$ac_cv_func_copysignl = x"yes"; then
63557
63558 for ac_func in __signbitl
63559 do
63560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63561 echo "$as_me:$LINENO: checking for $ac_func" >&5
63562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63563 if eval "test \"\${$as_ac_var+set}\" = set"; then
63564   echo $ECHO_N "(cached) $ECHO_C" >&6
63565 else
63566   if test x$gcc_no_link = xyes; then
63567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63569    { (exit 1); exit 1; }; }
63570 fi
63571 cat >conftest.$ac_ext <<_ACEOF
63572 #line $LINENO "configure"
63573 /* confdefs.h.  */
63574 _ACEOF
63575 cat confdefs.h >>conftest.$ac_ext
63576 cat >>conftest.$ac_ext <<_ACEOF
63577 /* end confdefs.h.  */
63578 /* System header to define __stub macros and hopefully few prototypes,
63579     which can conflict with char $ac_func (); below.
63580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63581     <limits.h> exists even on freestanding compilers.  */
63582 #ifdef __STDC__
63583 # include <limits.h>
63584 #else
63585 # include <assert.h>
63586 #endif
63587 /* Override any gcc2 internal prototype to avoid an error.  */
63588 #ifdef __cplusplus
63589 extern "C"
63590 {
63591 #endif
63592 /* We use char because int might match the return type of a gcc2
63593    builtin and then its argument prototype would still apply.  */
63594 char $ac_func ();
63595 /* The GNU C library defines this for functions which it implements
63596     to always fail with ENOSYS.  Some functions are actually named
63597     something starting with __ and the normal name is an alias.  */
63598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63599 choke me
63600 #else
63601 char (*f) () = $ac_func;
63602 #endif
63603 #ifdef __cplusplus
63604 }
63605 #endif
63606
63607 int
63608 main ()
63609 {
63610 return f != $ac_func;
63611   ;
63612   return 0;
63613 }
63614 _ACEOF
63615 rm -f conftest.$ac_objext conftest$ac_exeext
63616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63617   (eval $ac_link) 2>&5
63618   ac_status=$?
63619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63620   (exit $ac_status); } &&
63621          { ac_try='test -s conftest$ac_exeext'
63622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63623   (eval $ac_try) 2>&5
63624   ac_status=$?
63625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63626   (exit $ac_status); }; }; then
63627   eval "$as_ac_var=yes"
63628 else
63629   echo "$as_me: failed program was:" >&5
63630 sed 's/^/| /' conftest.$ac_ext >&5
63631
63632 eval "$as_ac_var=no"
63633 fi
63634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63635 fi
63636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63638 if test `eval echo '${'$as_ac_var'}'` = yes; then
63639   cat >>confdefs.h <<_ACEOF
63640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63641 _ACEOF
63642
63643 else
63644   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63645 fi
63646 done
63647
63648   fi
63649
63650   # Used in libmath/Makefile.am.
63651   if test -n "$LIBMATHOBJS"; then
63652     need_libmath=yes
63653   fi
63654
63655
63656
63657   # Test wchar.h for mbstate_t, which is needed for char_traits and
63658   # others even if wchar_t support is not on.
63659   echo "$as_me:$LINENO: checking for mbstate_t" >&5
63660 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
63661   cat >conftest.$ac_ext <<_ACEOF
63662 #line $LINENO "configure"
63663 /* confdefs.h.  */
63664 _ACEOF
63665 cat confdefs.h >>conftest.$ac_ext
63666 cat >>conftest.$ac_ext <<_ACEOF
63667 /* end confdefs.h.  */
63668 #include <wchar.h>
63669 int
63670 main ()
63671 {
63672 mbstate_t teststate;
63673   ;
63674   return 0;
63675 }
63676 _ACEOF
63677 rm -f conftest.$ac_objext
63678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63679   (eval $ac_compile) 2>&5
63680   ac_status=$?
63681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63682   (exit $ac_status); } &&
63683          { ac_try='test -s conftest.$ac_objext'
63684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63685   (eval $ac_try) 2>&5
63686   ac_status=$?
63687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63688   (exit $ac_status); }; }; then
63689   have_mbstate_t=yes
63690 else
63691   echo "$as_me: failed program was:" >&5
63692 sed 's/^/| /' conftest.$ac_ext >&5
63693
63694 have_mbstate_t=no
63695 fi
63696 rm -f conftest.$ac_objext conftest.$ac_ext
63697   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
63698 echo "${ECHO_T}$have_mbstate_t" >&6
63699   if test x"$have_mbstate_t" = xyes; then
63700     cat >>confdefs.h <<\_ACEOF
63701 #define HAVE_MBSTATE_T 1
63702 _ACEOF
63703
63704   fi
63705
63706   # Sanity check for existence of ISO C99 headers for extended encoding.
63707
63708 for ac_header in wchar.h
63709 do
63710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63712   echo "$as_me:$LINENO: checking for $ac_header" >&5
63713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63715   echo $ECHO_N "(cached) $ECHO_C" >&6
63716 fi
63717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63719 else
63720   # Is the header compilable?
63721 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63722 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63723 cat >conftest.$ac_ext <<_ACEOF
63724 #line $LINENO "configure"
63725 /* confdefs.h.  */
63726 _ACEOF
63727 cat confdefs.h >>conftest.$ac_ext
63728 cat >>conftest.$ac_ext <<_ACEOF
63729 /* end confdefs.h.  */
63730 $ac_includes_default
63731 #include <$ac_header>
63732 _ACEOF
63733 rm -f conftest.$ac_objext
63734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63735   (eval $ac_compile) 2>&5
63736   ac_status=$?
63737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738   (exit $ac_status); } &&
63739          { ac_try='test -s conftest.$ac_objext'
63740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63741   (eval $ac_try) 2>&5
63742   ac_status=$?
63743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63744   (exit $ac_status); }; }; then
63745   ac_header_compiler=yes
63746 else
63747   echo "$as_me: failed program was:" >&5
63748 sed 's/^/| /' conftest.$ac_ext >&5
63749
63750 ac_header_compiler=no
63751 fi
63752 rm -f conftest.$ac_objext conftest.$ac_ext
63753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63754 echo "${ECHO_T}$ac_header_compiler" >&6
63755
63756 # Is the header present?
63757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63759 cat >conftest.$ac_ext <<_ACEOF
63760 #line $LINENO "configure"
63761 /* confdefs.h.  */
63762 _ACEOF
63763 cat confdefs.h >>conftest.$ac_ext
63764 cat >>conftest.$ac_ext <<_ACEOF
63765 /* end confdefs.h.  */
63766 #include <$ac_header>
63767 _ACEOF
63768 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63769   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63770   ac_status=$?
63771   grep -v '^ *+' conftest.er1 >conftest.err
63772   rm -f conftest.er1
63773   cat conftest.err >&5
63774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63775   (exit $ac_status); } >/dev/null; then
63776   if test -s conftest.err; then
63777     ac_cpp_err=$ac_c_preproc_warn_flag
63778   else
63779     ac_cpp_err=
63780   fi
63781 else
63782   ac_cpp_err=yes
63783 fi
63784 if test -z "$ac_cpp_err"; then
63785   ac_header_preproc=yes
63786 else
63787   echo "$as_me: failed program was:" >&5
63788 sed 's/^/| /' conftest.$ac_ext >&5
63789
63790   ac_header_preproc=no
63791 fi
63792 rm -f conftest.err conftest.$ac_ext
63793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63794 echo "${ECHO_T}$ac_header_preproc" >&6
63795
63796 # So?  What about this header?
63797 case $ac_header_compiler:$ac_header_preproc in
63798   yes:no )
63799     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63803     (
63804       cat <<\_ASBOX
63805 ## ------------------------------------ ##
63806 ## Report this to bug-autoconf@gnu.org. ##
63807 ## ------------------------------------ ##
63808 _ASBOX
63809     ) |
63810       sed "s/^/$as_me: WARNING:     /" >&2
63811     ;;
63812   no:yes )
63813     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63815     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63817     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63819     (
63820       cat <<\_ASBOX
63821 ## ------------------------------------ ##
63822 ## Report this to bug-autoconf@gnu.org. ##
63823 ## ------------------------------------ ##
63824 _ASBOX
63825     ) |
63826       sed "s/^/$as_me: WARNING:     /" >&2
63827     ;;
63828 esac
63829 echo "$as_me:$LINENO: checking for $ac_header" >&5
63830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63832   echo $ECHO_N "(cached) $ECHO_C" >&6
63833 else
63834   eval "$as_ac_Header=$ac_header_preproc"
63835 fi
63836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63838
63839 fi
63840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63841   cat >>confdefs.h <<_ACEOF
63842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63843 _ACEOF
63844  ac_has_wchar_h=yes
63845 else
63846   ac_has_wchar_h=no
63847 fi
63848
63849 done
63850
63851
63852 for ac_header in wctype.h
63853 do
63854 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63856   echo "$as_me:$LINENO: checking for $ac_header" >&5
63857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63859   echo $ECHO_N "(cached) $ECHO_C" >&6
63860 fi
63861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63863 else
63864   # Is the header compilable?
63865 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63866 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63867 cat >conftest.$ac_ext <<_ACEOF
63868 #line $LINENO "configure"
63869 /* confdefs.h.  */
63870 _ACEOF
63871 cat confdefs.h >>conftest.$ac_ext
63872 cat >>conftest.$ac_ext <<_ACEOF
63873 /* end confdefs.h.  */
63874 $ac_includes_default
63875 #include <$ac_header>
63876 _ACEOF
63877 rm -f conftest.$ac_objext
63878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63879   (eval $ac_compile) 2>&5
63880   ac_status=$?
63881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63882   (exit $ac_status); } &&
63883          { ac_try='test -s conftest.$ac_objext'
63884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63885   (eval $ac_try) 2>&5
63886   ac_status=$?
63887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63888   (exit $ac_status); }; }; then
63889   ac_header_compiler=yes
63890 else
63891   echo "$as_me: failed program was:" >&5
63892 sed 's/^/| /' conftest.$ac_ext >&5
63893
63894 ac_header_compiler=no
63895 fi
63896 rm -f conftest.$ac_objext conftest.$ac_ext
63897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63898 echo "${ECHO_T}$ac_header_compiler" >&6
63899
63900 # Is the header present?
63901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63903 cat >conftest.$ac_ext <<_ACEOF
63904 #line $LINENO "configure"
63905 /* confdefs.h.  */
63906 _ACEOF
63907 cat confdefs.h >>conftest.$ac_ext
63908 cat >>conftest.$ac_ext <<_ACEOF
63909 /* end confdefs.h.  */
63910 #include <$ac_header>
63911 _ACEOF
63912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63913   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63914   ac_status=$?
63915   grep -v '^ *+' conftest.er1 >conftest.err
63916   rm -f conftest.er1
63917   cat conftest.err >&5
63918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63919   (exit $ac_status); } >/dev/null; then
63920   if test -s conftest.err; then
63921     ac_cpp_err=$ac_c_preproc_warn_flag
63922   else
63923     ac_cpp_err=
63924   fi
63925 else
63926   ac_cpp_err=yes
63927 fi
63928 if test -z "$ac_cpp_err"; then
63929   ac_header_preproc=yes
63930 else
63931   echo "$as_me: failed program was:" >&5
63932 sed 's/^/| /' conftest.$ac_ext >&5
63933
63934   ac_header_preproc=no
63935 fi
63936 rm -f conftest.err conftest.$ac_ext
63937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63938 echo "${ECHO_T}$ac_header_preproc" >&6
63939
63940 # So?  What about this header?
63941 case $ac_header_compiler:$ac_header_preproc in
63942   yes:no )
63943     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63945     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63947     (
63948       cat <<\_ASBOX
63949 ## ------------------------------------ ##
63950 ## Report this to bug-autoconf@gnu.org. ##
63951 ## ------------------------------------ ##
63952 _ASBOX
63953     ) |
63954       sed "s/^/$as_me: WARNING:     /" >&2
63955     ;;
63956   no:yes )
63957     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63958 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63959     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63960 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63961     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63963     (
63964       cat <<\_ASBOX
63965 ## ------------------------------------ ##
63966 ## Report this to bug-autoconf@gnu.org. ##
63967 ## ------------------------------------ ##
63968 _ASBOX
63969     ) |
63970       sed "s/^/$as_me: WARNING:     /" >&2
63971     ;;
63972 esac
63973 echo "$as_me:$LINENO: checking for $ac_header" >&5
63974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63976   echo $ECHO_N "(cached) $ECHO_C" >&6
63977 else
63978   eval "$as_ac_Header=$ac_header_preproc"
63979 fi
63980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63982
63983 fi
63984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63985   cat >>confdefs.h <<_ACEOF
63986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63987 _ACEOF
63988  ac_has_wctype_h=yes
63989 else
63990   ac_has_wctype_h=no
63991 fi
63992
63993 done
63994
63995
63996   # Only continue checking if the ISO C99 headers exist and support is on.
63997   if test x"$ac_has_wchar_h" = xyes &&
63998      test x"$ac_has_wctype_h" = xyes &&
63999      test x"$enable_c_mbchar" != xno; then
64000
64001     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
64002     # numeric_limits can instantiate type_traits<wchar_t>
64003     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
64004 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
64005     cat >conftest.$ac_ext <<_ACEOF
64006 #line $LINENO "configure"
64007 /* confdefs.h.  */
64008 _ACEOF
64009 cat confdefs.h >>conftest.$ac_ext
64010 cat >>conftest.$ac_ext <<_ACEOF
64011 /* end confdefs.h.  */
64012 #include <wchar.h>
64013 int
64014 main ()
64015 {
64016 int i = WCHAR_MIN; int j = WCHAR_MAX;
64017   ;
64018   return 0;
64019 }
64020 _ACEOF
64021 rm -f conftest.$ac_objext
64022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64023   (eval $ac_compile) 2>&5
64024   ac_status=$?
64025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64026   (exit $ac_status); } &&
64027          { ac_try='test -s conftest.$ac_objext'
64028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64029   (eval $ac_try) 2>&5
64030   ac_status=$?
64031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64032   (exit $ac_status); }; }; then
64033   has_wchar_minmax=yes
64034 else
64035   echo "$as_me: failed program was:" >&5
64036 sed 's/^/| /' conftest.$ac_ext >&5
64037
64038 has_wchar_minmax=no
64039 fi
64040 rm -f conftest.$ac_objext conftest.$ac_ext
64041     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
64042 echo "${ECHO_T}$has_wchar_minmax" >&6
64043
64044     # Test wchar.h for WEOF, which is what we use to determine whether
64045     # to specialize for char_traits<wchar_t> or not.
64046     echo "$as_me:$LINENO: checking for WEOF" >&5
64047 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
64048     cat >conftest.$ac_ext <<_ACEOF
64049 #line $LINENO "configure"
64050 /* confdefs.h.  */
64051 _ACEOF
64052 cat confdefs.h >>conftest.$ac_ext
64053 cat >>conftest.$ac_ext <<_ACEOF
64054 /* end confdefs.h.  */
64055
64056       #include <wchar.h>
64057       #include <stddef.h>
64058 int
64059 main ()
64060 {
64061 wint_t i = WEOF;
64062   ;
64063   return 0;
64064 }
64065 _ACEOF
64066 rm -f conftest.$ac_objext
64067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64068   (eval $ac_compile) 2>&5
64069   ac_status=$?
64070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64071   (exit $ac_status); } &&
64072          { ac_try='test -s conftest.$ac_objext'
64073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64074   (eval $ac_try) 2>&5
64075   ac_status=$?
64076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64077   (exit $ac_status); }; }; then
64078   has_weof=yes
64079 else
64080   echo "$as_me: failed program was:" >&5
64081 sed 's/^/| /' conftest.$ac_ext >&5
64082
64083 has_weof=no
64084 fi
64085 rm -f conftest.$ac_objext conftest.$ac_ext
64086     echo "$as_me:$LINENO: result: $has_weof" >&5
64087 echo "${ECHO_T}$has_weof" >&6
64088
64089     # Tests for wide character functions used in char_traits<wchar_t>.
64090     ac_wfuncs=yes
64091
64092
64093
64094
64095
64096
64097 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
64098 do
64099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64100 echo "$as_me:$LINENO: checking for $ac_func" >&5
64101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64102 if eval "test \"\${$as_ac_var+set}\" = set"; then
64103   echo $ECHO_N "(cached) $ECHO_C" >&6
64104 else
64105   if test x$gcc_no_link = xyes; then
64106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64108    { (exit 1); exit 1; }; }
64109 fi
64110 cat >conftest.$ac_ext <<_ACEOF
64111 #line $LINENO "configure"
64112 /* confdefs.h.  */
64113 _ACEOF
64114 cat confdefs.h >>conftest.$ac_ext
64115 cat >>conftest.$ac_ext <<_ACEOF
64116 /* end confdefs.h.  */
64117 /* System header to define __stub macros and hopefully few prototypes,
64118     which can conflict with char $ac_func (); below.
64119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64120     <limits.h> exists even on freestanding compilers.  */
64121 #ifdef __STDC__
64122 # include <limits.h>
64123 #else
64124 # include <assert.h>
64125 #endif
64126 /* Override any gcc2 internal prototype to avoid an error.  */
64127 #ifdef __cplusplus
64128 extern "C"
64129 {
64130 #endif
64131 /* We use char because int might match the return type of a gcc2
64132    builtin and then its argument prototype would still apply.  */
64133 char $ac_func ();
64134 /* The GNU C library defines this for functions which it implements
64135     to always fail with ENOSYS.  Some functions are actually named
64136     something starting with __ and the normal name is an alias.  */
64137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64138 choke me
64139 #else
64140 char (*f) () = $ac_func;
64141 #endif
64142 #ifdef __cplusplus
64143 }
64144 #endif
64145
64146 int
64147 main ()
64148 {
64149 return f != $ac_func;
64150   ;
64151   return 0;
64152 }
64153 _ACEOF
64154 rm -f conftest.$ac_objext conftest$ac_exeext
64155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64156   (eval $ac_link) 2>&5
64157   ac_status=$?
64158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64159   (exit $ac_status); } &&
64160          { ac_try='test -s conftest$ac_exeext'
64161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162   (eval $ac_try) 2>&5
64163   ac_status=$?
64164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165   (exit $ac_status); }; }; then
64166   eval "$as_ac_var=yes"
64167 else
64168   echo "$as_me: failed program was:" >&5
64169 sed 's/^/| /' conftest.$ac_ext >&5
64170
64171 eval "$as_ac_var=no"
64172 fi
64173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64174 fi
64175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64177 if test `eval echo '${'$as_ac_var'}'` = yes; then
64178   cat >>confdefs.h <<_ACEOF
64179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64180 _ACEOF
64181
64182 else
64183   ac_wfuncs=no
64184 fi
64185 done
64186
64187
64188     # Checks for names injected into std:: by the c_std headers.
64189
64190
64191
64192
64193
64194
64195
64196
64197
64198
64199
64200
64201
64202
64203
64204
64205
64206
64207
64208
64209
64210
64211
64212
64213
64214
64215
64216
64217
64218
64219
64220
64221
64222
64223
64224
64225
64226
64227
64228
64229
64230
64231
64232
64233
64234
64235 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
64236     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
64237     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
64238     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
64239     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
64240     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
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 #line $LINENO "configure"
64255 /* confdefs.h.  */
64256 _ACEOF
64257 cat confdefs.h >>conftest.$ac_ext
64258 cat >>conftest.$ac_ext <<_ACEOF
64259 /* end confdefs.h.  */
64260 /* System header to define __stub macros and hopefully few prototypes,
64261     which can conflict with char $ac_func (); below.
64262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64263     <limits.h> exists even on freestanding compilers.  */
64264 #ifdef __STDC__
64265 # include <limits.h>
64266 #else
64267 # include <assert.h>
64268 #endif
64269 /* Override any gcc2 internal prototype to avoid an error.  */
64270 #ifdef __cplusplus
64271 extern "C"
64272 {
64273 #endif
64274 /* We use char because int might match the return type of a gcc2
64275    builtin and then its argument prototype would still apply.  */
64276 char $ac_func ();
64277 /* The GNU C library defines this for functions which it implements
64278     to always fail with ENOSYS.  Some functions are actually named
64279     something starting with __ and the normal name is an alias.  */
64280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64281 choke me
64282 #else
64283 char (*f) () = $ac_func;
64284 #endif
64285 #ifdef __cplusplus
64286 }
64287 #endif
64288
64289 int
64290 main ()
64291 {
64292 return f != $ac_func;
64293   ;
64294   return 0;
64295 }
64296 _ACEOF
64297 rm -f conftest.$ac_objext conftest$ac_exeext
64298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64299   (eval $ac_link) 2>&5
64300   ac_status=$?
64301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64302   (exit $ac_status); } &&
64303          { ac_try='test -s conftest$ac_exeext'
64304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64305   (eval $ac_try) 2>&5
64306   ac_status=$?
64307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64308   (exit $ac_status); }; }; then
64309   eval "$as_ac_var=yes"
64310 else
64311   echo "$as_me: failed program was:" >&5
64312 sed 's/^/| /' conftest.$ac_ext >&5
64313
64314 eval "$as_ac_var=no"
64315 fi
64316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64317 fi
64318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64320 if test `eval echo '${'$as_ac_var'}'` = yes; then
64321   cat >>confdefs.h <<_ACEOF
64322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64323 _ACEOF
64324
64325 else
64326   ac_wfuncs=no
64327 fi
64328 done
64329
64330
64331     # Checks for wide character functions that are not required
64332     # for basic wchar_t support.  Don't disable support if they are missing.
64333     # Injection of these is wrapped with guard macros.
64334
64335
64336
64337
64338
64339 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
64340 do
64341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64342 echo "$as_me:$LINENO: checking for $ac_func" >&5
64343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64344 if eval "test \"\${$as_ac_var+set}\" = set"; then
64345   echo $ECHO_N "(cached) $ECHO_C" >&6
64346 else
64347   if test x$gcc_no_link = xyes; then
64348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64350    { (exit 1); exit 1; }; }
64351 fi
64352 cat >conftest.$ac_ext <<_ACEOF
64353 #line $LINENO "configure"
64354 /* confdefs.h.  */
64355 _ACEOF
64356 cat confdefs.h >>conftest.$ac_ext
64357 cat >>conftest.$ac_ext <<_ACEOF
64358 /* end confdefs.h.  */
64359 /* System header to define __stub macros and hopefully few prototypes,
64360     which can conflict with char $ac_func (); below.
64361     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64362     <limits.h> exists even on freestanding compilers.  */
64363 #ifdef __STDC__
64364 # include <limits.h>
64365 #else
64366 # include <assert.h>
64367 #endif
64368 /* Override any gcc2 internal prototype to avoid an error.  */
64369 #ifdef __cplusplus
64370 extern "C"
64371 {
64372 #endif
64373 /* We use char because int might match the return type of a gcc2
64374    builtin and then its argument prototype would still apply.  */
64375 char $ac_func ();
64376 /* The GNU C library defines this for functions which it implements
64377     to always fail with ENOSYS.  Some functions are actually named
64378     something starting with __ and the normal name is an alias.  */
64379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64380 choke me
64381 #else
64382 char (*f) () = $ac_func;
64383 #endif
64384 #ifdef __cplusplus
64385 }
64386 #endif
64387
64388 int
64389 main ()
64390 {
64391 return f != $ac_func;
64392   ;
64393   return 0;
64394 }
64395 _ACEOF
64396 rm -f conftest.$ac_objext conftest$ac_exeext
64397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64398   (eval $ac_link) 2>&5
64399   ac_status=$?
64400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64401   (exit $ac_status); } &&
64402          { ac_try='test -s conftest$ac_exeext'
64403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64404   (eval $ac_try) 2>&5
64405   ac_status=$?
64406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64407   (exit $ac_status); }; }; then
64408   eval "$as_ac_var=yes"
64409 else
64410   echo "$as_me: failed program was:" >&5
64411 sed 's/^/| /' conftest.$ac_ext >&5
64412
64413 eval "$as_ac_var=no"
64414 fi
64415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64416 fi
64417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64419 if test `eval echo '${'$as_ac_var'}'` = yes; then
64420   cat >>confdefs.h <<_ACEOF
64421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64422 _ACEOF
64423
64424 fi
64425 done
64426
64427
64428     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
64429 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
64430     if test x"$has_weof" = xyes &&
64431        test x"$has_wchar_minmax" = xyes &&
64432        test x"$ac_wfuncs" = xyes;
64433     then
64434       ac_isoC99_wchar_t=yes
64435     else
64436       ac_isoC99_wchar_t=no
64437     fi
64438     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
64439 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
64440
64441     # Use iconv for wchar_t to char conversions. As such, check for
64442     # X/Open Portability Guide, version 2 features (XPG2).
64443     if test "${ac_cv_header_iconv_h+set}" = set; then
64444   echo "$as_me:$LINENO: checking for iconv.h" >&5
64445 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64446 if test "${ac_cv_header_iconv_h+set}" = set; then
64447   echo $ECHO_N "(cached) $ECHO_C" >&6
64448 fi
64449 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64450 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64451 else
64452   # Is the header compilable?
64453 echo "$as_me:$LINENO: checking iconv.h usability" >&5
64454 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
64455 cat >conftest.$ac_ext <<_ACEOF
64456 #line $LINENO "configure"
64457 /* confdefs.h.  */
64458 _ACEOF
64459 cat confdefs.h >>conftest.$ac_ext
64460 cat >>conftest.$ac_ext <<_ACEOF
64461 /* end confdefs.h.  */
64462 $ac_includes_default
64463 #include <iconv.h>
64464 _ACEOF
64465 rm -f conftest.$ac_objext
64466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64467   (eval $ac_compile) 2>&5
64468   ac_status=$?
64469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470   (exit $ac_status); } &&
64471          { ac_try='test -s conftest.$ac_objext'
64472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64473   (eval $ac_try) 2>&5
64474   ac_status=$?
64475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64476   (exit $ac_status); }; }; then
64477   ac_header_compiler=yes
64478 else
64479   echo "$as_me: failed program was:" >&5
64480 sed 's/^/| /' conftest.$ac_ext >&5
64481
64482 ac_header_compiler=no
64483 fi
64484 rm -f conftest.$ac_objext conftest.$ac_ext
64485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64486 echo "${ECHO_T}$ac_header_compiler" >&6
64487
64488 # Is the header present?
64489 echo "$as_me:$LINENO: checking iconv.h presence" >&5
64490 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
64491 cat >conftest.$ac_ext <<_ACEOF
64492 #line $LINENO "configure"
64493 /* confdefs.h.  */
64494 _ACEOF
64495 cat confdefs.h >>conftest.$ac_ext
64496 cat >>conftest.$ac_ext <<_ACEOF
64497 /* end confdefs.h.  */
64498 #include <iconv.h>
64499 _ACEOF
64500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64501   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64502   ac_status=$?
64503   grep -v '^ *+' conftest.er1 >conftest.err
64504   rm -f conftest.er1
64505   cat conftest.err >&5
64506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64507   (exit $ac_status); } >/dev/null; then
64508   if test -s conftest.err; then
64509     ac_cpp_err=$ac_c_preproc_warn_flag
64510   else
64511     ac_cpp_err=
64512   fi
64513 else
64514   ac_cpp_err=yes
64515 fi
64516 if test -z "$ac_cpp_err"; then
64517   ac_header_preproc=yes
64518 else
64519   echo "$as_me: failed program was:" >&5
64520 sed 's/^/| /' conftest.$ac_ext >&5
64521
64522   ac_header_preproc=no
64523 fi
64524 rm -f conftest.err conftest.$ac_ext
64525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64526 echo "${ECHO_T}$ac_header_preproc" >&6
64527
64528 # So?  What about this header?
64529 case $ac_header_compiler:$ac_header_preproc in
64530   yes:no )
64531     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
64532 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64533     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
64534 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
64535     (
64536       cat <<\_ASBOX
64537 ## ------------------------------------ ##
64538 ## Report this to bug-autoconf@gnu.org. ##
64539 ## ------------------------------------ ##
64540 _ASBOX
64541     ) |
64542       sed "s/^/$as_me: WARNING:     /" >&2
64543     ;;
64544   no:yes )
64545     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
64546 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
64547     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
64548 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
64549     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
64550 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
64551     (
64552       cat <<\_ASBOX
64553 ## ------------------------------------ ##
64554 ## Report this to bug-autoconf@gnu.org. ##
64555 ## ------------------------------------ ##
64556 _ASBOX
64557     ) |
64558       sed "s/^/$as_me: WARNING:     /" >&2
64559     ;;
64560 esac
64561 echo "$as_me:$LINENO: checking for iconv.h" >&5
64562 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
64563 if test "${ac_cv_header_iconv_h+set}" = set; then
64564   echo $ECHO_N "(cached) $ECHO_C" >&6
64565 else
64566   ac_cv_header_iconv_h=$ac_header_preproc
64567 fi
64568 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
64569 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
64570
64571 fi
64572 if test $ac_cv_header_iconv_h = yes; then
64573   ac_has_iconv_h=yes
64574 else
64575   ac_has_iconv_h=no
64576 fi
64577
64578
64579     if test "${ac_cv_header_langinfo_h+set}" = set; then
64580   echo "$as_me:$LINENO: checking for langinfo.h" >&5
64581 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64582 if test "${ac_cv_header_langinfo_h+set}" = set; then
64583   echo $ECHO_N "(cached) $ECHO_C" >&6
64584 fi
64585 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64586 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64587 else
64588   # Is the header compilable?
64589 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
64590 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
64591 cat >conftest.$ac_ext <<_ACEOF
64592 #line $LINENO "configure"
64593 /* confdefs.h.  */
64594 _ACEOF
64595 cat confdefs.h >>conftest.$ac_ext
64596 cat >>conftest.$ac_ext <<_ACEOF
64597 /* end confdefs.h.  */
64598 $ac_includes_default
64599 #include <langinfo.h>
64600 _ACEOF
64601 rm -f conftest.$ac_objext
64602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64603   (eval $ac_compile) 2>&5
64604   ac_status=$?
64605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64606   (exit $ac_status); } &&
64607          { ac_try='test -s conftest.$ac_objext'
64608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64609   (eval $ac_try) 2>&5
64610   ac_status=$?
64611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64612   (exit $ac_status); }; }; then
64613   ac_header_compiler=yes
64614 else
64615   echo "$as_me: failed program was:" >&5
64616 sed 's/^/| /' conftest.$ac_ext >&5
64617
64618 ac_header_compiler=no
64619 fi
64620 rm -f conftest.$ac_objext conftest.$ac_ext
64621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64622 echo "${ECHO_T}$ac_header_compiler" >&6
64623
64624 # Is the header present?
64625 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
64626 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
64627 cat >conftest.$ac_ext <<_ACEOF
64628 #line $LINENO "configure"
64629 /* confdefs.h.  */
64630 _ACEOF
64631 cat confdefs.h >>conftest.$ac_ext
64632 cat >>conftest.$ac_ext <<_ACEOF
64633 /* end confdefs.h.  */
64634 #include <langinfo.h>
64635 _ACEOF
64636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64637   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64638   ac_status=$?
64639   grep -v '^ *+' conftest.er1 >conftest.err
64640   rm -f conftest.er1
64641   cat conftest.err >&5
64642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64643   (exit $ac_status); } >/dev/null; then
64644   if test -s conftest.err; then
64645     ac_cpp_err=$ac_c_preproc_warn_flag
64646   else
64647     ac_cpp_err=
64648   fi
64649 else
64650   ac_cpp_err=yes
64651 fi
64652 if test -z "$ac_cpp_err"; then
64653   ac_header_preproc=yes
64654 else
64655   echo "$as_me: failed program was:" >&5
64656 sed 's/^/| /' conftest.$ac_ext >&5
64657
64658   ac_header_preproc=no
64659 fi
64660 rm -f conftest.err conftest.$ac_ext
64661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64662 echo "${ECHO_T}$ac_header_preproc" >&6
64663
64664 # So?  What about this header?
64665 case $ac_header_compiler:$ac_header_preproc in
64666   yes:no )
64667     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
64668 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
64669     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
64670 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
64671     (
64672       cat <<\_ASBOX
64673 ## ------------------------------------ ##
64674 ## Report this to bug-autoconf@gnu.org. ##
64675 ## ------------------------------------ ##
64676 _ASBOX
64677     ) |
64678       sed "s/^/$as_me: WARNING:     /" >&2
64679     ;;
64680   no:yes )
64681     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
64682 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
64683     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
64684 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
64685     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
64686 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
64687     (
64688       cat <<\_ASBOX
64689 ## ------------------------------------ ##
64690 ## Report this to bug-autoconf@gnu.org. ##
64691 ## ------------------------------------ ##
64692 _ASBOX
64693     ) |
64694       sed "s/^/$as_me: WARNING:     /" >&2
64695     ;;
64696 esac
64697 echo "$as_me:$LINENO: checking for langinfo.h" >&5
64698 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
64699 if test "${ac_cv_header_langinfo_h+set}" = set; then
64700   echo $ECHO_N "(cached) $ECHO_C" >&6
64701 else
64702   ac_cv_header_langinfo_h=$ac_header_preproc
64703 fi
64704 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
64705 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
64706
64707 fi
64708 if test $ac_cv_header_langinfo_h = yes; then
64709   ac_has_langinfo_h=yes
64710 else
64711   ac_has_langinfo_h=no
64712 fi
64713
64714
64715
64716     # Check for existence of libiconv.a providing XPG2 wchar_t support.
64717     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
64718 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
64719 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
64720   echo $ECHO_N "(cached) $ECHO_C" >&6
64721 else
64722   ac_check_lib_save_LIBS=$LIBS
64723 LIBS="-liconv  $LIBS"
64724 if test x$gcc_no_link = xyes; then
64725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64727    { (exit 1); exit 1; }; }
64728 fi
64729 cat >conftest.$ac_ext <<_ACEOF
64730 #line $LINENO "configure"
64731 /* confdefs.h.  */
64732 _ACEOF
64733 cat confdefs.h >>conftest.$ac_ext
64734 cat >>conftest.$ac_ext <<_ACEOF
64735 /* end confdefs.h.  */
64736
64737 /* Override any gcc2 internal prototype to avoid an error.  */
64738 #ifdef __cplusplus
64739 extern "C"
64740 #endif
64741 /* We use char because int might match the return type of a gcc2
64742    builtin and then its argument prototype would still apply.  */
64743 char iconv ();
64744 int
64745 main ()
64746 {
64747 iconv ();
64748   ;
64749   return 0;
64750 }
64751 _ACEOF
64752 rm -f conftest.$ac_objext conftest$ac_exeext
64753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64754   (eval $ac_link) 2>&5
64755   ac_status=$?
64756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64757   (exit $ac_status); } &&
64758          { ac_try='test -s conftest$ac_exeext'
64759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64760   (eval $ac_try) 2>&5
64761   ac_status=$?
64762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64763   (exit $ac_status); }; }; then
64764   ac_cv_lib_iconv_iconv=yes
64765 else
64766   echo "$as_me: failed program was:" >&5
64767 sed 's/^/| /' conftest.$ac_ext >&5
64768
64769 ac_cv_lib_iconv_iconv=no
64770 fi
64771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64772 LIBS=$ac_check_lib_save_LIBS
64773 fi
64774 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
64775 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
64776 if test $ac_cv_lib_iconv_iconv = yes; then
64777   libiconv="-liconv"
64778 fi
64779
64780     ac_save_LIBS="$LIBS"
64781     LIBS="$LIBS $libiconv"
64782
64783
64784
64785
64786
64787 for ac_func in iconv_open iconv_close iconv nl_langinfo
64788 do
64789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64790 echo "$as_me:$LINENO: checking for $ac_func" >&5
64791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64792 if eval "test \"\${$as_ac_var+set}\" = set"; then
64793   echo $ECHO_N "(cached) $ECHO_C" >&6
64794 else
64795   if test x$gcc_no_link = xyes; then
64796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64798    { (exit 1); exit 1; }; }
64799 fi
64800 cat >conftest.$ac_ext <<_ACEOF
64801 #line $LINENO "configure"
64802 /* confdefs.h.  */
64803 _ACEOF
64804 cat confdefs.h >>conftest.$ac_ext
64805 cat >>conftest.$ac_ext <<_ACEOF
64806 /* end confdefs.h.  */
64807 /* System header to define __stub macros and hopefully few prototypes,
64808     which can conflict with char $ac_func (); below.
64809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64810     <limits.h> exists even on freestanding compilers.  */
64811 #ifdef __STDC__
64812 # include <limits.h>
64813 #else
64814 # include <assert.h>
64815 #endif
64816 /* Override any gcc2 internal prototype to avoid an error.  */
64817 #ifdef __cplusplus
64818 extern "C"
64819 {
64820 #endif
64821 /* We use char because int might match the return type of a gcc2
64822    builtin and then its argument prototype would still apply.  */
64823 char $ac_func ();
64824 /* The GNU C library defines this for functions which it implements
64825     to always fail with ENOSYS.  Some functions are actually named
64826     something starting with __ and the normal name is an alias.  */
64827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64828 choke me
64829 #else
64830 char (*f) () = $ac_func;
64831 #endif
64832 #ifdef __cplusplus
64833 }
64834 #endif
64835
64836 int
64837 main ()
64838 {
64839 return f != $ac_func;
64840   ;
64841   return 0;
64842 }
64843 _ACEOF
64844 rm -f conftest.$ac_objext conftest$ac_exeext
64845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64846   (eval $ac_link) 2>&5
64847   ac_status=$?
64848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64849   (exit $ac_status); } &&
64850          { ac_try='test -s conftest$ac_exeext'
64851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64852   (eval $ac_try) 2>&5
64853   ac_status=$?
64854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64855   (exit $ac_status); }; }; then
64856   eval "$as_ac_var=yes"
64857 else
64858   echo "$as_me: failed program was:" >&5
64859 sed 's/^/| /' conftest.$ac_ext >&5
64860
64861 eval "$as_ac_var=no"
64862 fi
64863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64864 fi
64865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64867 if test `eval echo '${'$as_ac_var'}'` = yes; then
64868   cat >>confdefs.h <<_ACEOF
64869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64870 _ACEOF
64871  ac_XPG2funcs=yes
64872 else
64873   ac_XPG2funcs=no
64874 fi
64875 done
64876
64877
64878     LIBS="$ac_save_LIBS"
64879
64880     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
64881 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
64882     if test x"$ac_has_iconv_h" = xyes &&
64883        test x"$ac_has_langinfo_h" = xyes &&
64884        test x"$ac_XPG2funcs" = xyes;
64885     then
64886       ac_XPG2_wchar_t=yes
64887     else
64888       ac_XPG2_wchar_t=no
64889     fi
64890     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
64891 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
64892
64893     # At the moment, only enable wchar_t specializations if all the
64894     # above support is present.
64895     if test x"$ac_isoC99_wchar_t" = xyes &&
64896        test x"$ac_XPG2_wchar_t" = xyes;
64897     then
64898       cat >>confdefs.h <<\_ACEOF
64899 #define _GLIBCXX_USE_WCHAR_T 1
64900 _ACEOF
64901
64902       enable_wchar_t=yes
64903     fi
64904   fi
64905   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
64906 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
64907   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
64908 echo "${ECHO_T}$enable_wchar_t" >&6
64909
64910
64911   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64912   ac_save_CXXFLAGS="$CXXFLAGS"
64913   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64914
64915
64916   echo "$as_me:$LINENO: checking for strtold declaration" >&5
64917 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
64918   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64919     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
64920   echo $ECHO_N "(cached) $ECHO_C" >&6
64921 else
64922
64923
64924
64925       ac_ext=cc
64926 ac_cpp='$CXXCPP $CPPFLAGS'
64927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64930
64931       cat >conftest.$ac_ext <<_ACEOF
64932 #line $LINENO "configure"
64933 /* confdefs.h.  */
64934 _ACEOF
64935 cat confdefs.h >>conftest.$ac_ext
64936 cat >>conftest.$ac_ext <<_ACEOF
64937 /* end confdefs.h.  */
64938 #include <stdlib.h>
64939 int
64940 main ()
64941 {
64942  strtold(0, 0);
64943   ;
64944   return 0;
64945 }
64946 _ACEOF
64947 rm -f conftest.$ac_objext
64948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64949   (eval $ac_compile) 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_strtold_use=yes
64960 else
64961   echo "$as_me: failed program was:" >&5
64962 sed 's/^/| /' conftest.$ac_ext >&5
64963
64964 glibcxx_cv_func_strtold_use=no
64965 fi
64966 rm -f 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_strtold_use" >&5
64978 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
64979   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64980
64981 for ac_func in strtold
64982 do
64983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64984 echo "$as_me:$LINENO: checking for $ac_func" >&5
64985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64986 if eval "test \"\${$as_ac_var+set}\" = set"; then
64987   echo $ECHO_N "(cached) $ECHO_C" >&6
64988 else
64989   if test x$gcc_no_link = xyes; then
64990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64992    { (exit 1); exit 1; }; }
64993 fi
64994 cat >conftest.$ac_ext <<_ACEOF
64995 #line $LINENO "configure"
64996 /* confdefs.h.  */
64997 _ACEOF
64998 cat confdefs.h >>conftest.$ac_ext
64999 cat >>conftest.$ac_ext <<_ACEOF
65000 /* end confdefs.h.  */
65001 /* System header to define __stub macros and hopefully few prototypes,
65002     which can conflict with char $ac_func (); below.
65003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65004     <limits.h> exists even on freestanding compilers.  */
65005 #ifdef __STDC__
65006 # include <limits.h>
65007 #else
65008 # include <assert.h>
65009 #endif
65010 /* Override any gcc2 internal prototype to avoid an error.  */
65011 #ifdef __cplusplus
65012 extern "C"
65013 {
65014 #endif
65015 /* We use char because int might match the return type of a gcc2
65016    builtin and then its argument prototype would still apply.  */
65017 char $ac_func ();
65018 /* The GNU C library defines this for functions which it implements
65019     to always fail with ENOSYS.  Some functions are actually named
65020     something starting with __ and the normal name is an alias.  */
65021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65022 choke me
65023 #else
65024 char (*f) () = $ac_func;
65025 #endif
65026 #ifdef __cplusplus
65027 }
65028 #endif
65029
65030 int
65031 main ()
65032 {
65033 return f != $ac_func;
65034   ;
65035   return 0;
65036 }
65037 _ACEOF
65038 rm -f conftest.$ac_objext conftest$ac_exeext
65039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65040   (eval $ac_link) 2>&5
65041   ac_status=$?
65042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65043   (exit $ac_status); } &&
65044          { ac_try='test -s conftest$ac_exeext'
65045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65046   (eval $ac_try) 2>&5
65047   ac_status=$?
65048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65049   (exit $ac_status); }; }; then
65050   eval "$as_ac_var=yes"
65051 else
65052   echo "$as_me: failed program was:" >&5
65053 sed 's/^/| /' conftest.$ac_ext >&5
65054
65055 eval "$as_ac_var=no"
65056 fi
65057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65058 fi
65059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65061 if test `eval echo '${'$as_ac_var'}'` = yes; then
65062   cat >>confdefs.h <<_ACEOF
65063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65064 _ACEOF
65065
65066 fi
65067 done
65068
65069   fi
65070
65071
65072   echo "$as_me:$LINENO: checking for strtof declaration" >&5
65073 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
65074   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65075     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
65076   echo $ECHO_N "(cached) $ECHO_C" >&6
65077 else
65078
65079
65080
65081       ac_ext=cc
65082 ac_cpp='$CXXCPP $CPPFLAGS'
65083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65086
65087       cat >conftest.$ac_ext <<_ACEOF
65088 #line $LINENO "configure"
65089 /* confdefs.h.  */
65090 _ACEOF
65091 cat confdefs.h >>conftest.$ac_ext
65092 cat >>conftest.$ac_ext <<_ACEOF
65093 /* end confdefs.h.  */
65094 #include <stdlib.h>
65095 int
65096 main ()
65097 {
65098  strtof(0, 0);
65099   ;
65100   return 0;
65101 }
65102 _ACEOF
65103 rm -f conftest.$ac_objext
65104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65105   (eval $ac_compile) 2>&5
65106   ac_status=$?
65107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65108   (exit $ac_status); } &&
65109          { ac_try='test -s conftest.$ac_objext'
65110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65111   (eval $ac_try) 2>&5
65112   ac_status=$?
65113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65114   (exit $ac_status); }; }; then
65115   glibcxx_cv_func_strtof_use=yes
65116 else
65117   echo "$as_me: failed program was:" >&5
65118 sed 's/^/| /' conftest.$ac_ext >&5
65119
65120 glibcxx_cv_func_strtof_use=no
65121 fi
65122 rm -f conftest.$ac_objext conftest.$ac_ext
65123       ac_ext=c
65124 ac_cpp='$CPP $CPPFLAGS'
65125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65128
65129
65130 fi
65131
65132   fi
65133   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
65134 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
65135   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65136
65137 for ac_func in strtof
65138 do
65139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65140 echo "$as_me:$LINENO: checking for $ac_func" >&5
65141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65142 if eval "test \"\${$as_ac_var+set}\" = set"; then
65143   echo $ECHO_N "(cached) $ECHO_C" >&6
65144 else
65145   if test x$gcc_no_link = xyes; then
65146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65148    { (exit 1); exit 1; }; }
65149 fi
65150 cat >conftest.$ac_ext <<_ACEOF
65151 #line $LINENO "configure"
65152 /* confdefs.h.  */
65153 _ACEOF
65154 cat confdefs.h >>conftest.$ac_ext
65155 cat >>conftest.$ac_ext <<_ACEOF
65156 /* end confdefs.h.  */
65157 /* System header to define __stub macros and hopefully few prototypes,
65158     which can conflict with char $ac_func (); below.
65159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65160     <limits.h> exists even on freestanding compilers.  */
65161 #ifdef __STDC__
65162 # include <limits.h>
65163 #else
65164 # include <assert.h>
65165 #endif
65166 /* Override any gcc2 internal prototype to avoid an error.  */
65167 #ifdef __cplusplus
65168 extern "C"
65169 {
65170 #endif
65171 /* We use char because int might match the return type of a gcc2
65172    builtin and then its argument prototype would still apply.  */
65173 char $ac_func ();
65174 /* The GNU C library defines this for functions which it implements
65175     to always fail with ENOSYS.  Some functions are actually named
65176     something starting with __ and the normal name is an alias.  */
65177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65178 choke me
65179 #else
65180 char (*f) () = $ac_func;
65181 #endif
65182 #ifdef __cplusplus
65183 }
65184 #endif
65185
65186 int
65187 main ()
65188 {
65189 return f != $ac_func;
65190   ;
65191   return 0;
65192 }
65193 _ACEOF
65194 rm -f conftest.$ac_objext conftest$ac_exeext
65195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65196   (eval $ac_link) 2>&5
65197   ac_status=$?
65198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65199   (exit $ac_status); } &&
65200          { ac_try='test -s conftest$ac_exeext'
65201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65202   (eval $ac_try) 2>&5
65203   ac_status=$?
65204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65205   (exit $ac_status); }; }; then
65206   eval "$as_ac_var=yes"
65207 else
65208   echo "$as_me: failed program was:" >&5
65209 sed 's/^/| /' conftest.$ac_ext >&5
65210
65211 eval "$as_ac_var=no"
65212 fi
65213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65214 fi
65215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65217 if test `eval echo '${'$as_ac_var'}'` = yes; then
65218   cat >>confdefs.h <<_ACEOF
65219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65220 _ACEOF
65221
65222 fi
65223 done
65224
65225   fi
65226
65227
65228   CXXFLAGS="$ac_save_CXXFLAGS"
65229
65230
65231   if test "${glibcxx_cv_S_ISREG+set}" = set; then
65232   echo $ECHO_N "(cached) $ECHO_C" >&6
65233 else
65234
65235     if test x$gcc_no_link = xyes; then
65236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65238    { (exit 1); exit 1; }; }
65239 fi
65240 cat >conftest.$ac_ext <<_ACEOF
65241 #line $LINENO "configure"
65242 /* confdefs.h.  */
65243 _ACEOF
65244 cat confdefs.h >>conftest.$ac_ext
65245 cat >>conftest.$ac_ext <<_ACEOF
65246 /* end confdefs.h.  */
65247 #include <sys/stat.h>
65248 int
65249 main ()
65250 {
65251 struct stat buffer;
65252        fstat(0, &buffer);
65253        S_ISREG(buffer.st_mode);
65254   ;
65255   return 0;
65256 }
65257 _ACEOF
65258 rm -f conftest.$ac_objext conftest$ac_exeext
65259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65260   (eval $ac_link) 2>&5
65261   ac_status=$?
65262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65263   (exit $ac_status); } &&
65264          { ac_try='test -s conftest$ac_exeext'
65265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65266   (eval $ac_try) 2>&5
65267   ac_status=$?
65268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65269   (exit $ac_status); }; }; then
65270   glibcxx_cv_S_ISREG=yes
65271 else
65272   echo "$as_me: failed program was:" >&5
65273 sed 's/^/| /' conftest.$ac_ext >&5
65274
65275 glibcxx_cv_S_ISREG=no
65276 fi
65277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65278
65279 fi
65280
65281   if test "${glibcxx_cv_S_IFREG+set}" = set; then
65282   echo $ECHO_N "(cached) $ECHO_C" >&6
65283 else
65284
65285     if test x$gcc_no_link = xyes; then
65286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65288    { (exit 1); exit 1; }; }
65289 fi
65290 cat >conftest.$ac_ext <<_ACEOF
65291 #line $LINENO "configure"
65292 /* confdefs.h.  */
65293 _ACEOF
65294 cat confdefs.h >>conftest.$ac_ext
65295 cat >>conftest.$ac_ext <<_ACEOF
65296 /* end confdefs.h.  */
65297 #include <sys/stat.h>
65298 int
65299 main ()
65300 {
65301 struct stat buffer;
65302        fstat(0, &buffer);
65303        S_IFREG & buffer.st_mode;
65304   ;
65305   return 0;
65306 }
65307 _ACEOF
65308 rm -f conftest.$ac_objext conftest$ac_exeext
65309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65310   (eval $ac_link) 2>&5
65311   ac_status=$?
65312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65313   (exit $ac_status); } &&
65314          { ac_try='test -s conftest$ac_exeext'
65315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65316   (eval $ac_try) 2>&5
65317   ac_status=$?
65318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65319   (exit $ac_status); }; }; then
65320   glibcxx_cv_S_IFREG=yes
65321 else
65322   echo "$as_me: failed program was:" >&5
65323 sed 's/^/| /' conftest.$ac_ext >&5
65324
65325 glibcxx_cv_S_IFREG=no
65326 fi
65327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65328
65329 fi
65330
65331   if test $glibcxx_cv_S_ISREG = yes; then
65332     cat >>confdefs.h <<\_ACEOF
65333 #define HAVE_S_ISREG 1
65334 _ACEOF
65335
65336   elif test $glibcxx_cv_S_IFREG = yes; then
65337     cat >>confdefs.h <<\_ACEOF
65338 #define HAVE_S_IFREG 1
65339 _ACEOF
65340
65341   fi
65342
65343     cat >>confdefs.h <<\_ACEOF
65344 #define HAVE_WRITEV 1
65345 _ACEOF
65346
65347     ;;
65348
65349   *-freebsd*)
65350
65351
65352
65353
65354
65355
65356
65357
65358
65359
65360
65361
65362
65363
65364
65365
65366 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
65367       machine/endian.h machine/param.h sys/machine.h sys/types.h \
65368       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
65369       sys/time.h unistd.h
65370 do
65371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
65372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65373   echo "$as_me:$LINENO: checking for $ac_header" >&5
65374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65376   echo $ECHO_N "(cached) $ECHO_C" >&6
65377 fi
65378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65380 else
65381   # Is the header compilable?
65382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
65383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
65384 cat >conftest.$ac_ext <<_ACEOF
65385 #line $LINENO "configure"
65386 /* confdefs.h.  */
65387 _ACEOF
65388 cat confdefs.h >>conftest.$ac_ext
65389 cat >>conftest.$ac_ext <<_ACEOF
65390 /* end confdefs.h.  */
65391 $ac_includes_default
65392 #include <$ac_header>
65393 _ACEOF
65394 rm -f conftest.$ac_objext
65395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65396   (eval $ac_compile) 2>&5
65397   ac_status=$?
65398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65399   (exit $ac_status); } &&
65400          { ac_try='test -s conftest.$ac_objext'
65401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65402   (eval $ac_try) 2>&5
65403   ac_status=$?
65404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65405   (exit $ac_status); }; }; then
65406   ac_header_compiler=yes
65407 else
65408   echo "$as_me: failed program was:" >&5
65409 sed 's/^/| /' conftest.$ac_ext >&5
65410
65411 ac_header_compiler=no
65412 fi
65413 rm -f conftest.$ac_objext conftest.$ac_ext
65414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
65415 echo "${ECHO_T}$ac_header_compiler" >&6
65416
65417 # Is the header present?
65418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
65419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
65420 cat >conftest.$ac_ext <<_ACEOF
65421 #line $LINENO "configure"
65422 /* confdefs.h.  */
65423 _ACEOF
65424 cat confdefs.h >>conftest.$ac_ext
65425 cat >>conftest.$ac_ext <<_ACEOF
65426 /* end confdefs.h.  */
65427 #include <$ac_header>
65428 _ACEOF
65429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
65430   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
65431   ac_status=$?
65432   grep -v '^ *+' conftest.er1 >conftest.err
65433   rm -f conftest.er1
65434   cat conftest.err >&5
65435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65436   (exit $ac_status); } >/dev/null; then
65437   if test -s conftest.err; then
65438     ac_cpp_err=$ac_c_preproc_warn_flag
65439   else
65440     ac_cpp_err=
65441   fi
65442 else
65443   ac_cpp_err=yes
65444 fi
65445 if test -z "$ac_cpp_err"; then
65446   ac_header_preproc=yes
65447 else
65448   echo "$as_me: failed program was:" >&5
65449 sed 's/^/| /' conftest.$ac_ext >&5
65450
65451   ac_header_preproc=no
65452 fi
65453 rm -f conftest.err conftest.$ac_ext
65454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65455 echo "${ECHO_T}$ac_header_preproc" >&6
65456
65457 # So?  What about this header?
65458 case $ac_header_compiler:$ac_header_preproc in
65459   yes:no )
65460     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65462     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65464     (
65465       cat <<\_ASBOX
65466 ## ------------------------------------ ##
65467 ## Report this to bug-autoconf@gnu.org. ##
65468 ## ------------------------------------ ##
65469 _ASBOX
65470     ) |
65471       sed "s/^/$as_me: WARNING:     /" >&2
65472     ;;
65473   no:yes )
65474     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65476     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65478     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65480     (
65481       cat <<\_ASBOX
65482 ## ------------------------------------ ##
65483 ## Report this to bug-autoconf@gnu.org. ##
65484 ## ------------------------------------ ##
65485 _ASBOX
65486     ) |
65487       sed "s/^/$as_me: WARNING:     /" >&2
65488     ;;
65489 esac
65490 echo "$as_me:$LINENO: checking for $ac_header" >&5
65491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65493   echo $ECHO_N "(cached) $ECHO_C" >&6
65494 else
65495   eval "$as_ac_Header=$ac_header_preproc"
65496 fi
65497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65499
65500 fi
65501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65502   cat >>confdefs.h <<_ACEOF
65503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65504 _ACEOF
65505
65506 fi
65507
65508 done
65509
65510     SECTION_FLAGS='-ffunction-sections -fdata-sections'
65511
65512
65513   # If we're not using GNU ld, then there's no point in even trying these
65514   # tests.  Check for that first.  We should have already tested for gld
65515   # by now (in libtool), but require it now just to be safe...
65516   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65517   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65518
65519
65520
65521   # The name set by libtool depends on the version of libtool.  Shame on us
65522   # for depending on an impl detail, but c'est la vie.  Older versions used
65523   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65524   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65525   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
65526   # set (hence we're using an older libtool), then set it.
65527   if test x${with_gnu_ld+set} != xset; then
65528     if test x${ac_cv_prog_gnu_ld+set} != xset; then
65529       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
65530       with_gnu_ld=no
65531     else
65532       with_gnu_ld=$ac_cv_prog_gnu_ld
65533     fi
65534   fi
65535
65536   # Start by getting the version number.  I think the libtool test already
65537   # does some of this, but throws away the result.
65538
65539   ldver=`$LD --version 2>/dev/null | head -1 | \
65540          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
65541
65542   glibcxx_gnu_ld_version=`echo $ldver | \
65543          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65544
65545   # Set --gc-sections.
65546   if test "$with_gnu_ld" = "notbroken"; then
65547     # GNU ld it is!  Joy and bunny rabbits!
65548
65549     # All these tests are for C++; save the language and the compiler flags.
65550     # Need to do this so that g++ won't try to link in libstdc++
65551     ac_test_CFLAGS="${CFLAGS+set}"
65552     ac_save_CFLAGS="$CFLAGS"
65553     CFLAGS='-x c++  -Wl,--gc-sections'
65554
65555     # Check for -Wl,--gc-sections
65556     # XXX This test is broken at the moment, as symbols required for linking
65557     # are now in libsupc++ (not built yet).  In addition, this test has
65558     # cored on solaris in the past.  In addition, --gc-sections doesn't
65559     # really work at the moment (keeps on discarding used sections, first
65560     # .eh_frame and now some of the glibc sections for iconv).
65561     # Bzzzzt.  Thanks for playing, maybe next time.
65562     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65563 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65564     if test "$cross_compiling" = yes; then
65565   ac_sectionLDflags=yes
65566 else
65567   cat >conftest.$ac_ext <<_ACEOF
65568 #line $LINENO "configure"
65569 /* confdefs.h.  */
65570 _ACEOF
65571 cat confdefs.h >>conftest.$ac_ext
65572 cat >>conftest.$ac_ext <<_ACEOF
65573 /* end confdefs.h.  */
65574
65575      int main(void)
65576      {
65577        try { throw 1; }
65578        catch (...) { };
65579        return 0;
65580      }
65581
65582 _ACEOF
65583 rm -f conftest$ac_exeext
65584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65585   (eval $ac_link) 2>&5
65586   ac_status=$?
65587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65588   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
65589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65590   (eval $ac_try) 2>&5
65591   ac_status=$?
65592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65593   (exit $ac_status); }; }; then
65594   ac_sectionLDflags=yes
65595 else
65596   echo "$as_me: program exited with status $ac_status" >&5
65597 echo "$as_me: failed program was:" >&5
65598 sed 's/^/| /' conftest.$ac_ext >&5
65599
65600 ( exit $ac_status )
65601 ac_sectionLDflags=no
65602 fi
65603 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
65604 fi
65605     if test "$ac_test_CFLAGS" = set; then
65606       CFLAGS="$ac_save_CFLAGS"
65607     else
65608       # this is the suspicious part
65609       CFLAGS=''
65610     fi
65611     if test "$ac_sectionLDflags" = "yes"; then
65612       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65613     fi
65614     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
65615 echo "${ECHO_T}$ac_sectionLDflags" >&6
65616   fi
65617
65618   # Set linker optimization flags.
65619   if test x"$with_gnu_ld" = x"yes"; then
65620     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65621   fi
65622
65623
65624
65625
65626
65627
65628 echo "$as_me:$LINENO: checking for main in -lm" >&5
65629 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
65630 if test "${ac_cv_lib_m_main+set}" = set; then
65631   echo $ECHO_N "(cached) $ECHO_C" >&6
65632 else
65633   ac_check_lib_save_LIBS=$LIBS
65634 LIBS="-lm  $LIBS"
65635 if test x$gcc_no_link = xyes; then
65636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65638    { (exit 1); exit 1; }; }
65639 fi
65640 cat >conftest.$ac_ext <<_ACEOF
65641 #line $LINENO "configure"
65642 /* confdefs.h.  */
65643 _ACEOF
65644 cat confdefs.h >>conftest.$ac_ext
65645 cat >>conftest.$ac_ext <<_ACEOF
65646 /* end confdefs.h.  */
65647
65648
65649 int
65650 main ()
65651 {
65652 main ();
65653   ;
65654   return 0;
65655 }
65656 _ACEOF
65657 rm -f conftest.$ac_objext conftest$ac_exeext
65658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65659   (eval $ac_link) 2>&5
65660   ac_status=$?
65661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662   (exit $ac_status); } &&
65663          { ac_try='test -s conftest$ac_exeext'
65664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65665   (eval $ac_try) 2>&5
65666   ac_status=$?
65667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65668   (exit $ac_status); }; }; then
65669   ac_cv_lib_m_main=yes
65670 else
65671   echo "$as_me: failed program was:" >&5
65672 sed 's/^/| /' conftest.$ac_ext >&5
65673
65674 ac_cv_lib_m_main=no
65675 fi
65676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65677 LIBS=$ac_check_lib_save_LIBS
65678 fi
65679 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
65680 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
65681 if test $ac_cv_lib_m_main = yes; then
65682   cat >>confdefs.h <<_ACEOF
65683 #define HAVE_LIBM 1
65684 _ACEOF
65685
65686   LIBS="-lm $LIBS"
65687
65688 fi
65689
65690
65691 for ac_func in copysignf
65692 do
65693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65694 echo "$as_me:$LINENO: checking for $ac_func" >&5
65695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65696 if eval "test \"\${$as_ac_var+set}\" = set"; then
65697   echo $ECHO_N "(cached) $ECHO_C" >&6
65698 else
65699   if test x$gcc_no_link = xyes; then
65700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65702    { (exit 1); exit 1; }; }
65703 fi
65704 cat >conftest.$ac_ext <<_ACEOF
65705 #line $LINENO "configure"
65706 /* confdefs.h.  */
65707 _ACEOF
65708 cat confdefs.h >>conftest.$ac_ext
65709 cat >>conftest.$ac_ext <<_ACEOF
65710 /* end confdefs.h.  */
65711 /* System header to define __stub macros and hopefully few prototypes,
65712     which can conflict with char $ac_func (); below.
65713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65714     <limits.h> exists even on freestanding compilers.  */
65715 #ifdef __STDC__
65716 # include <limits.h>
65717 #else
65718 # include <assert.h>
65719 #endif
65720 /* Override any gcc2 internal prototype to avoid an error.  */
65721 #ifdef __cplusplus
65722 extern "C"
65723 {
65724 #endif
65725 /* We use char because int might match the return type of a gcc2
65726    builtin and then its argument prototype would still apply.  */
65727 char $ac_func ();
65728 /* The GNU C library defines this for functions which it implements
65729     to always fail with ENOSYS.  Some functions are actually named
65730     something starting with __ and the normal name is an alias.  */
65731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65732 choke me
65733 #else
65734 char (*f) () = $ac_func;
65735 #endif
65736 #ifdef __cplusplus
65737 }
65738 #endif
65739
65740 int
65741 main ()
65742 {
65743 return f != $ac_func;
65744   ;
65745   return 0;
65746 }
65747 _ACEOF
65748 rm -f conftest.$ac_objext conftest$ac_exeext
65749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65750   (eval $ac_link) 2>&5
65751   ac_status=$?
65752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65753   (exit $ac_status); } &&
65754          { ac_try='test -s conftest$ac_exeext'
65755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65756   (eval $ac_try) 2>&5
65757   ac_status=$?
65758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65759   (exit $ac_status); }; }; then
65760   eval "$as_ac_var=yes"
65761 else
65762   echo "$as_me: failed program was:" >&5
65763 sed 's/^/| /' conftest.$ac_ext >&5
65764
65765 eval "$as_ac_var=no"
65766 fi
65767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65768 fi
65769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65771 if test `eval echo '${'$as_ac_var'}'` = yes; then
65772   cat >>confdefs.h <<_ACEOF
65773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65774 _ACEOF
65775
65776 else
65777   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
65778 fi
65779 done
65780
65781
65782
65783 for ac_func in __signbit
65784 do
65785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65786 echo "$as_me:$LINENO: checking for $ac_func" >&5
65787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65788 if eval "test \"\${$as_ac_var+set}\" = set"; then
65789   echo $ECHO_N "(cached) $ECHO_C" >&6
65790 else
65791   if test x$gcc_no_link = xyes; then
65792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65794    { (exit 1); exit 1; }; }
65795 fi
65796 cat >conftest.$ac_ext <<_ACEOF
65797 #line $LINENO "configure"
65798 /* confdefs.h.  */
65799 _ACEOF
65800 cat confdefs.h >>conftest.$ac_ext
65801 cat >>conftest.$ac_ext <<_ACEOF
65802 /* end confdefs.h.  */
65803 /* System header to define __stub macros and hopefully few prototypes,
65804     which can conflict with char $ac_func (); below.
65805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65806     <limits.h> exists even on freestanding compilers.  */
65807 #ifdef __STDC__
65808 # include <limits.h>
65809 #else
65810 # include <assert.h>
65811 #endif
65812 /* Override any gcc2 internal prototype to avoid an error.  */
65813 #ifdef __cplusplus
65814 extern "C"
65815 {
65816 #endif
65817 /* We use char because int might match the return type of a gcc2
65818    builtin and then its argument prototype would still apply.  */
65819 char $ac_func ();
65820 /* The GNU C library defines this for functions which it implements
65821     to always fail with ENOSYS.  Some functions are actually named
65822     something starting with __ and the normal name is an alias.  */
65823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65824 choke me
65825 #else
65826 char (*f) () = $ac_func;
65827 #endif
65828 #ifdef __cplusplus
65829 }
65830 #endif
65831
65832 int
65833 main ()
65834 {
65835 return f != $ac_func;
65836   ;
65837   return 0;
65838 }
65839 _ACEOF
65840 rm -f conftest.$ac_objext conftest$ac_exeext
65841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65842   (eval $ac_link) 2>&5
65843   ac_status=$?
65844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65845   (exit $ac_status); } &&
65846          { ac_try='test -s conftest$ac_exeext'
65847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65848   (eval $ac_try) 2>&5
65849   ac_status=$?
65850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65851   (exit $ac_status); }; }; then
65852   eval "$as_ac_var=yes"
65853 else
65854   echo "$as_me: failed program was:" >&5
65855 sed 's/^/| /' conftest.$ac_ext >&5
65856
65857 eval "$as_ac_var=no"
65858 fi
65859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65860 fi
65861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65863 if test `eval echo '${'$as_ac_var'}'` = yes; then
65864   cat >>confdefs.h <<_ACEOF
65865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65866 _ACEOF
65867
65868 else
65869   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
65870 fi
65871 done
65872
65873
65874
65875 for ac_func in __signbitf
65876 do
65877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65878 echo "$as_me:$LINENO: checking for $ac_func" >&5
65879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65880 if eval "test \"\${$as_ac_var+set}\" = set"; then
65881   echo $ECHO_N "(cached) $ECHO_C" >&6
65882 else
65883   if test x$gcc_no_link = xyes; then
65884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65886    { (exit 1); exit 1; }; }
65887 fi
65888 cat >conftest.$ac_ext <<_ACEOF
65889 #line $LINENO "configure"
65890 /* confdefs.h.  */
65891 _ACEOF
65892 cat confdefs.h >>conftest.$ac_ext
65893 cat >>conftest.$ac_ext <<_ACEOF
65894 /* end confdefs.h.  */
65895 /* System header to define __stub macros and hopefully few prototypes,
65896     which can conflict with char $ac_func (); below.
65897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65898     <limits.h> exists even on freestanding compilers.  */
65899 #ifdef __STDC__
65900 # include <limits.h>
65901 #else
65902 # include <assert.h>
65903 #endif
65904 /* Override any gcc2 internal prototype to avoid an error.  */
65905 #ifdef __cplusplus
65906 extern "C"
65907 {
65908 #endif
65909 /* We use char because int might match the return type of a gcc2
65910    builtin and then its argument prototype would still apply.  */
65911 char $ac_func ();
65912 /* The GNU C library defines this for functions which it implements
65913     to always fail with ENOSYS.  Some functions are actually named
65914     something starting with __ and the normal name is an alias.  */
65915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65916 choke me
65917 #else
65918 char (*f) () = $ac_func;
65919 #endif
65920 #ifdef __cplusplus
65921 }
65922 #endif
65923
65924 int
65925 main ()
65926 {
65927 return f != $ac_func;
65928   ;
65929   return 0;
65930 }
65931 _ACEOF
65932 rm -f conftest.$ac_objext conftest$ac_exeext
65933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65934   (eval $ac_link) 2>&5
65935   ac_status=$?
65936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937   (exit $ac_status); } &&
65938          { ac_try='test -s conftest$ac_exeext'
65939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65940   (eval $ac_try) 2>&5
65941   ac_status=$?
65942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943   (exit $ac_status); }; }; then
65944   eval "$as_ac_var=yes"
65945 else
65946   echo "$as_me: failed program was:" >&5
65947 sed 's/^/| /' conftest.$ac_ext >&5
65948
65949 eval "$as_ac_var=no"
65950 fi
65951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
65952 fi
65953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65955 if test `eval echo '${'$as_ac_var'}'` = yes; then
65956   cat >>confdefs.h <<_ACEOF
65957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65958 _ACEOF
65959
65960 else
65961   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
65962 fi
65963 done
65964
65965
65966           if test x$ac_cv_func_copysignl = x"yes"; then
65967
65968 for ac_func in __signbitl
65969 do
65970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65971 echo "$as_me:$LINENO: checking for $ac_func" >&5
65972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65973 if eval "test \"\${$as_ac_var+set}\" = set"; then
65974   echo $ECHO_N "(cached) $ECHO_C" >&6
65975 else
65976   if test x$gcc_no_link = xyes; then
65977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65979    { (exit 1); exit 1; }; }
65980 fi
65981 cat >conftest.$ac_ext <<_ACEOF
65982 #line $LINENO "configure"
65983 /* confdefs.h.  */
65984 _ACEOF
65985 cat confdefs.h >>conftest.$ac_ext
65986 cat >>conftest.$ac_ext <<_ACEOF
65987 /* end confdefs.h.  */
65988 /* System header to define __stub macros and hopefully few prototypes,
65989     which can conflict with char $ac_func (); below.
65990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65991     <limits.h> exists even on freestanding compilers.  */
65992 #ifdef __STDC__
65993 # include <limits.h>
65994 #else
65995 # include <assert.h>
65996 #endif
65997 /* Override any gcc2 internal prototype to avoid an error.  */
65998 #ifdef __cplusplus
65999 extern "C"
66000 {
66001 #endif
66002 /* We use char because int might match the return type of a gcc2
66003    builtin and then its argument prototype would still apply.  */
66004 char $ac_func ();
66005 /* The GNU C library defines this for functions which it implements
66006     to always fail with ENOSYS.  Some functions are actually named
66007     something starting with __ and the normal name is an alias.  */
66008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66009 choke me
66010 #else
66011 char (*f) () = $ac_func;
66012 #endif
66013 #ifdef __cplusplus
66014 }
66015 #endif
66016
66017 int
66018 main ()
66019 {
66020 return f != $ac_func;
66021   ;
66022   return 0;
66023 }
66024 _ACEOF
66025 rm -f conftest.$ac_objext conftest$ac_exeext
66026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66027   (eval $ac_link) 2>&5
66028   ac_status=$?
66029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66030   (exit $ac_status); } &&
66031          { ac_try='test -s conftest$ac_exeext'
66032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66033   (eval $ac_try) 2>&5
66034   ac_status=$?
66035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66036   (exit $ac_status); }; }; then
66037   eval "$as_ac_var=yes"
66038 else
66039   echo "$as_me: failed program was:" >&5
66040 sed 's/^/| /' conftest.$ac_ext >&5
66041
66042 eval "$as_ac_var=no"
66043 fi
66044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66045 fi
66046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66048 if test `eval echo '${'$as_ac_var'}'` = yes; then
66049   cat >>confdefs.h <<_ACEOF
66050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66051 _ACEOF
66052
66053 else
66054   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
66055 fi
66056 done
66057
66058   fi
66059
66060   # Used in libmath/Makefile.am.
66061   if test -n "$LIBMATHOBJS"; then
66062     need_libmath=yes
66063   fi
66064
66065
66066
66067   # Test wchar.h for mbstate_t, which is needed for char_traits and
66068   # others even if wchar_t support is not on.
66069   echo "$as_me:$LINENO: checking for mbstate_t" >&5
66070 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
66071   cat >conftest.$ac_ext <<_ACEOF
66072 #line $LINENO "configure"
66073 /* confdefs.h.  */
66074 _ACEOF
66075 cat confdefs.h >>conftest.$ac_ext
66076 cat >>conftest.$ac_ext <<_ACEOF
66077 /* end confdefs.h.  */
66078 #include <wchar.h>
66079 int
66080 main ()
66081 {
66082 mbstate_t teststate;
66083   ;
66084   return 0;
66085 }
66086 _ACEOF
66087 rm -f conftest.$ac_objext
66088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66089   (eval $ac_compile) 2>&5
66090   ac_status=$?
66091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66092   (exit $ac_status); } &&
66093          { ac_try='test -s conftest.$ac_objext'
66094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66095   (eval $ac_try) 2>&5
66096   ac_status=$?
66097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66098   (exit $ac_status); }; }; then
66099   have_mbstate_t=yes
66100 else
66101   echo "$as_me: failed program was:" >&5
66102 sed 's/^/| /' conftest.$ac_ext >&5
66103
66104 have_mbstate_t=no
66105 fi
66106 rm -f conftest.$ac_objext conftest.$ac_ext
66107   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
66108 echo "${ECHO_T}$have_mbstate_t" >&6
66109   if test x"$have_mbstate_t" = xyes; then
66110     cat >>confdefs.h <<\_ACEOF
66111 #define HAVE_MBSTATE_T 1
66112 _ACEOF
66113
66114   fi
66115
66116   # Sanity check for existence of ISO C99 headers for extended encoding.
66117
66118 for ac_header in wchar.h
66119 do
66120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66122   echo "$as_me:$LINENO: checking for $ac_header" >&5
66123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66125   echo $ECHO_N "(cached) $ECHO_C" >&6
66126 fi
66127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66129 else
66130   # Is the header compilable?
66131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66133 cat >conftest.$ac_ext <<_ACEOF
66134 #line $LINENO "configure"
66135 /* confdefs.h.  */
66136 _ACEOF
66137 cat confdefs.h >>conftest.$ac_ext
66138 cat >>conftest.$ac_ext <<_ACEOF
66139 /* end confdefs.h.  */
66140 $ac_includes_default
66141 #include <$ac_header>
66142 _ACEOF
66143 rm -f conftest.$ac_objext
66144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66145   (eval $ac_compile) 2>&5
66146   ac_status=$?
66147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66148   (exit $ac_status); } &&
66149          { ac_try='test -s conftest.$ac_objext'
66150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66151   (eval $ac_try) 2>&5
66152   ac_status=$?
66153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66154   (exit $ac_status); }; }; then
66155   ac_header_compiler=yes
66156 else
66157   echo "$as_me: failed program was:" >&5
66158 sed 's/^/| /' conftest.$ac_ext >&5
66159
66160 ac_header_compiler=no
66161 fi
66162 rm -f conftest.$ac_objext conftest.$ac_ext
66163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66164 echo "${ECHO_T}$ac_header_compiler" >&6
66165
66166 # Is the header present?
66167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66169 cat >conftest.$ac_ext <<_ACEOF
66170 #line $LINENO "configure"
66171 /* confdefs.h.  */
66172 _ACEOF
66173 cat confdefs.h >>conftest.$ac_ext
66174 cat >>conftest.$ac_ext <<_ACEOF
66175 /* end confdefs.h.  */
66176 #include <$ac_header>
66177 _ACEOF
66178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66179   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66180   ac_status=$?
66181   grep -v '^ *+' conftest.er1 >conftest.err
66182   rm -f conftest.er1
66183   cat conftest.err >&5
66184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66185   (exit $ac_status); } >/dev/null; then
66186   if test -s conftest.err; then
66187     ac_cpp_err=$ac_c_preproc_warn_flag
66188   else
66189     ac_cpp_err=
66190   fi
66191 else
66192   ac_cpp_err=yes
66193 fi
66194 if test -z "$ac_cpp_err"; then
66195   ac_header_preproc=yes
66196 else
66197   echo "$as_me: failed program was:" >&5
66198 sed 's/^/| /' conftest.$ac_ext >&5
66199
66200   ac_header_preproc=no
66201 fi
66202 rm -f conftest.err conftest.$ac_ext
66203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66204 echo "${ECHO_T}$ac_header_preproc" >&6
66205
66206 # So?  What about this header?
66207 case $ac_header_compiler:$ac_header_preproc in
66208   yes:no )
66209     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66211     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66213     (
66214       cat <<\_ASBOX
66215 ## ------------------------------------ ##
66216 ## Report this to bug-autoconf@gnu.org. ##
66217 ## ------------------------------------ ##
66218 _ASBOX
66219     ) |
66220       sed "s/^/$as_me: WARNING:     /" >&2
66221     ;;
66222   no:yes )
66223     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66225     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
66226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
66227     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66229     (
66230       cat <<\_ASBOX
66231 ## ------------------------------------ ##
66232 ## Report this to bug-autoconf@gnu.org. ##
66233 ## ------------------------------------ ##
66234 _ASBOX
66235     ) |
66236       sed "s/^/$as_me: WARNING:     /" >&2
66237     ;;
66238 esac
66239 echo "$as_me:$LINENO: checking for $ac_header" >&5
66240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66242   echo $ECHO_N "(cached) $ECHO_C" >&6
66243 else
66244   eval "$as_ac_Header=$ac_header_preproc"
66245 fi
66246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66248
66249 fi
66250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66251   cat >>confdefs.h <<_ACEOF
66252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66253 _ACEOF
66254  ac_has_wchar_h=yes
66255 else
66256   ac_has_wchar_h=no
66257 fi
66258
66259 done
66260
66261
66262 for ac_header in wctype.h
66263 do
66264 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
66265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66266   echo "$as_me:$LINENO: checking for $ac_header" >&5
66267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66269   echo $ECHO_N "(cached) $ECHO_C" >&6
66270 fi
66271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66273 else
66274   # Is the header compilable?
66275 echo "$as_me:$LINENO: checking $ac_header usability" >&5
66276 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
66277 cat >conftest.$ac_ext <<_ACEOF
66278 #line $LINENO "configure"
66279 /* confdefs.h.  */
66280 _ACEOF
66281 cat confdefs.h >>conftest.$ac_ext
66282 cat >>conftest.$ac_ext <<_ACEOF
66283 /* end confdefs.h.  */
66284 $ac_includes_default
66285 #include <$ac_header>
66286 _ACEOF
66287 rm -f conftest.$ac_objext
66288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66289   (eval $ac_compile) 2>&5
66290   ac_status=$?
66291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66292   (exit $ac_status); } &&
66293          { ac_try='test -s conftest.$ac_objext'
66294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66295   (eval $ac_try) 2>&5
66296   ac_status=$?
66297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66298   (exit $ac_status); }; }; then
66299   ac_header_compiler=yes
66300 else
66301   echo "$as_me: failed program was:" >&5
66302 sed 's/^/| /' conftest.$ac_ext >&5
66303
66304 ac_header_compiler=no
66305 fi
66306 rm -f conftest.$ac_objext conftest.$ac_ext
66307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66308 echo "${ECHO_T}$ac_header_compiler" >&6
66309
66310 # Is the header present?
66311 echo "$as_me:$LINENO: checking $ac_header presence" >&5
66312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
66313 cat >conftest.$ac_ext <<_ACEOF
66314 #line $LINENO "configure"
66315 /* confdefs.h.  */
66316 _ACEOF
66317 cat confdefs.h >>conftest.$ac_ext
66318 cat >>conftest.$ac_ext <<_ACEOF
66319 /* end confdefs.h.  */
66320 #include <$ac_header>
66321 _ACEOF
66322 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66323   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66324   ac_status=$?
66325   grep -v '^ *+' conftest.er1 >conftest.err
66326   rm -f conftest.er1
66327   cat conftest.err >&5
66328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66329   (exit $ac_status); } >/dev/null; then
66330   if test -s conftest.err; then
66331     ac_cpp_err=$ac_c_preproc_warn_flag
66332   else
66333     ac_cpp_err=
66334   fi
66335 else
66336   ac_cpp_err=yes
66337 fi
66338 if test -z "$ac_cpp_err"; then
66339   ac_header_preproc=yes
66340 else
66341   echo "$as_me: failed program was:" >&5
66342 sed 's/^/| /' conftest.$ac_ext >&5
66343
66344   ac_header_preproc=no
66345 fi
66346 rm -f conftest.err conftest.$ac_ext
66347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66348 echo "${ECHO_T}$ac_header_preproc" >&6
66349
66350 # So?  What about this header?
66351 case $ac_header_compiler:$ac_header_preproc in
66352   yes:no )
66353     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
66354 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
66355     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66357     (
66358       cat <<\_ASBOX
66359 ## ------------------------------------ ##
66360 ## Report this to bug-autoconf@gnu.org. ##
66361 ## ------------------------------------ ##
66362 _ASBOX
66363     ) |
66364       sed "s/^/$as_me: WARNING:     /" >&2
66365     ;;
66366   no:yes )
66367     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
66368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
66369     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
66370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
66371     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
66372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
66373     (
66374       cat <<\_ASBOX
66375 ## ------------------------------------ ##
66376 ## Report this to bug-autoconf@gnu.org. ##
66377 ## ------------------------------------ ##
66378 _ASBOX
66379     ) |
66380       sed "s/^/$as_me: WARNING:     /" >&2
66381     ;;
66382 esac
66383 echo "$as_me:$LINENO: checking for $ac_header" >&5
66384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
66385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
66386   echo $ECHO_N "(cached) $ECHO_C" >&6
66387 else
66388   eval "$as_ac_Header=$ac_header_preproc"
66389 fi
66390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
66391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
66392
66393 fi
66394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
66395   cat >>confdefs.h <<_ACEOF
66396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
66397 _ACEOF
66398  ac_has_wctype_h=yes
66399 else
66400   ac_has_wctype_h=no
66401 fi
66402
66403 done
66404
66405
66406   # Only continue checking if the ISO C99 headers exist and support is on.
66407   if test x"$ac_has_wchar_h" = xyes &&
66408      test x"$ac_has_wctype_h" = xyes &&
66409      test x"$enable_c_mbchar" != xno; then
66410
66411     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
66412     # numeric_limits can instantiate type_traits<wchar_t>
66413     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
66414 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
66415     cat >conftest.$ac_ext <<_ACEOF
66416 #line $LINENO "configure"
66417 /* confdefs.h.  */
66418 _ACEOF
66419 cat confdefs.h >>conftest.$ac_ext
66420 cat >>conftest.$ac_ext <<_ACEOF
66421 /* end confdefs.h.  */
66422 #include <wchar.h>
66423 int
66424 main ()
66425 {
66426 int i = WCHAR_MIN; int j = WCHAR_MAX;
66427   ;
66428   return 0;
66429 }
66430 _ACEOF
66431 rm -f conftest.$ac_objext
66432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66433   (eval $ac_compile) 2>&5
66434   ac_status=$?
66435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66436   (exit $ac_status); } &&
66437          { ac_try='test -s conftest.$ac_objext'
66438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66439   (eval $ac_try) 2>&5
66440   ac_status=$?
66441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66442   (exit $ac_status); }; }; then
66443   has_wchar_minmax=yes
66444 else
66445   echo "$as_me: failed program was:" >&5
66446 sed 's/^/| /' conftest.$ac_ext >&5
66447
66448 has_wchar_minmax=no
66449 fi
66450 rm -f conftest.$ac_objext conftest.$ac_ext
66451     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
66452 echo "${ECHO_T}$has_wchar_minmax" >&6
66453
66454     # Test wchar.h for WEOF, which is what we use to determine whether
66455     # to specialize for char_traits<wchar_t> or not.
66456     echo "$as_me:$LINENO: checking for WEOF" >&5
66457 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
66458     cat >conftest.$ac_ext <<_ACEOF
66459 #line $LINENO "configure"
66460 /* confdefs.h.  */
66461 _ACEOF
66462 cat confdefs.h >>conftest.$ac_ext
66463 cat >>conftest.$ac_ext <<_ACEOF
66464 /* end confdefs.h.  */
66465
66466       #include <wchar.h>
66467       #include <stddef.h>
66468 int
66469 main ()
66470 {
66471 wint_t i = WEOF;
66472   ;
66473   return 0;
66474 }
66475 _ACEOF
66476 rm -f conftest.$ac_objext
66477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66478   (eval $ac_compile) 2>&5
66479   ac_status=$?
66480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66481   (exit $ac_status); } &&
66482          { ac_try='test -s conftest.$ac_objext'
66483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66484   (eval $ac_try) 2>&5
66485   ac_status=$?
66486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66487   (exit $ac_status); }; }; then
66488   has_weof=yes
66489 else
66490   echo "$as_me: failed program was:" >&5
66491 sed 's/^/| /' conftest.$ac_ext >&5
66492
66493 has_weof=no
66494 fi
66495 rm -f conftest.$ac_objext conftest.$ac_ext
66496     echo "$as_me:$LINENO: result: $has_weof" >&5
66497 echo "${ECHO_T}$has_weof" >&6
66498
66499     # Tests for wide character functions used in char_traits<wchar_t>.
66500     ac_wfuncs=yes
66501
66502
66503
66504
66505
66506
66507 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
66508 do
66509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66510 echo "$as_me:$LINENO: checking for $ac_func" >&5
66511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66512 if eval "test \"\${$as_ac_var+set}\" = set"; then
66513   echo $ECHO_N "(cached) $ECHO_C" >&6
66514 else
66515   if test x$gcc_no_link = xyes; then
66516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66518    { (exit 1); exit 1; }; }
66519 fi
66520 cat >conftest.$ac_ext <<_ACEOF
66521 #line $LINENO "configure"
66522 /* confdefs.h.  */
66523 _ACEOF
66524 cat confdefs.h >>conftest.$ac_ext
66525 cat >>conftest.$ac_ext <<_ACEOF
66526 /* end confdefs.h.  */
66527 /* System header to define __stub macros and hopefully few prototypes,
66528     which can conflict with char $ac_func (); below.
66529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66530     <limits.h> exists even on freestanding compilers.  */
66531 #ifdef __STDC__
66532 # include <limits.h>
66533 #else
66534 # include <assert.h>
66535 #endif
66536 /* Override any gcc2 internal prototype to avoid an error.  */
66537 #ifdef __cplusplus
66538 extern "C"
66539 {
66540 #endif
66541 /* We use char because int might match the return type of a gcc2
66542    builtin and then its argument prototype would still apply.  */
66543 char $ac_func ();
66544 /* The GNU C library defines this for functions which it implements
66545     to always fail with ENOSYS.  Some functions are actually named
66546     something starting with __ and the normal name is an alias.  */
66547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66548 choke me
66549 #else
66550 char (*f) () = $ac_func;
66551 #endif
66552 #ifdef __cplusplus
66553 }
66554 #endif
66555
66556 int
66557 main ()
66558 {
66559 return f != $ac_func;
66560   ;
66561   return 0;
66562 }
66563 _ACEOF
66564 rm -f conftest.$ac_objext conftest$ac_exeext
66565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66566   (eval $ac_link) 2>&5
66567   ac_status=$?
66568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66569   (exit $ac_status); } &&
66570          { ac_try='test -s conftest$ac_exeext'
66571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66572   (eval $ac_try) 2>&5
66573   ac_status=$?
66574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66575   (exit $ac_status); }; }; then
66576   eval "$as_ac_var=yes"
66577 else
66578   echo "$as_me: failed program was:" >&5
66579 sed 's/^/| /' conftest.$ac_ext >&5
66580
66581 eval "$as_ac_var=no"
66582 fi
66583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66584 fi
66585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66587 if test `eval echo '${'$as_ac_var'}'` = yes; then
66588   cat >>confdefs.h <<_ACEOF
66589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66590 _ACEOF
66591
66592 else
66593   ac_wfuncs=no
66594 fi
66595 done
66596
66597
66598     # Checks for names injected into std:: by the c_std headers.
66599
66600
66601
66602
66603
66604
66605
66606
66607
66608
66609
66610
66611
66612
66613
66614
66615
66616
66617
66618
66619
66620
66621
66622
66623
66624
66625
66626
66627
66628
66629
66630
66631
66632
66633
66634
66635
66636
66637
66638
66639
66640
66641
66642
66643
66644
66645 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
66646     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
66647     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
66648     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
66649     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
66650     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
66651 do
66652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66653 echo "$as_me:$LINENO: checking for $ac_func" >&5
66654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66655 if eval "test \"\${$as_ac_var+set}\" = set"; then
66656   echo $ECHO_N "(cached) $ECHO_C" >&6
66657 else
66658   if test x$gcc_no_link = xyes; then
66659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66661    { (exit 1); exit 1; }; }
66662 fi
66663 cat >conftest.$ac_ext <<_ACEOF
66664 #line $LINENO "configure"
66665 /* confdefs.h.  */
66666 _ACEOF
66667 cat confdefs.h >>conftest.$ac_ext
66668 cat >>conftest.$ac_ext <<_ACEOF
66669 /* end confdefs.h.  */
66670 /* System header to define __stub macros and hopefully few prototypes,
66671     which can conflict with char $ac_func (); below.
66672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66673     <limits.h> exists even on freestanding compilers.  */
66674 #ifdef __STDC__
66675 # include <limits.h>
66676 #else
66677 # include <assert.h>
66678 #endif
66679 /* Override any gcc2 internal prototype to avoid an error.  */
66680 #ifdef __cplusplus
66681 extern "C"
66682 {
66683 #endif
66684 /* We use char because int might match the return type of a gcc2
66685    builtin and then its argument prototype would still apply.  */
66686 char $ac_func ();
66687 /* The GNU C library defines this for functions which it implements
66688     to always fail with ENOSYS.  Some functions are actually named
66689     something starting with __ and the normal name is an alias.  */
66690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66691 choke me
66692 #else
66693 char (*f) () = $ac_func;
66694 #endif
66695 #ifdef __cplusplus
66696 }
66697 #endif
66698
66699 int
66700 main ()
66701 {
66702 return f != $ac_func;
66703   ;
66704   return 0;
66705 }
66706 _ACEOF
66707 rm -f conftest.$ac_objext conftest$ac_exeext
66708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66709   (eval $ac_link) 2>&5
66710   ac_status=$?
66711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66712   (exit $ac_status); } &&
66713          { ac_try='test -s conftest$ac_exeext'
66714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66715   (eval $ac_try) 2>&5
66716   ac_status=$?
66717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66718   (exit $ac_status); }; }; then
66719   eval "$as_ac_var=yes"
66720 else
66721   echo "$as_me: failed program was:" >&5
66722 sed 's/^/| /' conftest.$ac_ext >&5
66723
66724 eval "$as_ac_var=no"
66725 fi
66726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66727 fi
66728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66730 if test `eval echo '${'$as_ac_var'}'` = yes; then
66731   cat >>confdefs.h <<_ACEOF
66732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66733 _ACEOF
66734
66735 else
66736   ac_wfuncs=no
66737 fi
66738 done
66739
66740
66741     # Checks for wide character functions that are not required
66742     # for basic wchar_t support.  Don't disable support if they are missing.
66743     # Injection of these is wrapped with guard macros.
66744
66745
66746
66747
66748
66749 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
66750 do
66751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66752 echo "$as_me:$LINENO: checking for $ac_func" >&5
66753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66754 if eval "test \"\${$as_ac_var+set}\" = set"; then
66755   echo $ECHO_N "(cached) $ECHO_C" >&6
66756 else
66757   if test x$gcc_no_link = xyes; then
66758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66760    { (exit 1); exit 1; }; }
66761 fi
66762 cat >conftest.$ac_ext <<_ACEOF
66763 #line $LINENO "configure"
66764 /* confdefs.h.  */
66765 _ACEOF
66766 cat confdefs.h >>conftest.$ac_ext
66767 cat >>conftest.$ac_ext <<_ACEOF
66768 /* end confdefs.h.  */
66769 /* System header to define __stub macros and hopefully few prototypes,
66770     which can conflict with char $ac_func (); below.
66771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66772     <limits.h> exists even on freestanding compilers.  */
66773 #ifdef __STDC__
66774 # include <limits.h>
66775 #else
66776 # include <assert.h>
66777 #endif
66778 /* Override any gcc2 internal prototype to avoid an error.  */
66779 #ifdef __cplusplus
66780 extern "C"
66781 {
66782 #endif
66783 /* We use char because int might match the return type of a gcc2
66784    builtin and then its argument prototype would still apply.  */
66785 char $ac_func ();
66786 /* The GNU C library defines this for functions which it implements
66787     to always fail with ENOSYS.  Some functions are actually named
66788     something starting with __ and the normal name is an alias.  */
66789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66790 choke me
66791 #else
66792 char (*f) () = $ac_func;
66793 #endif
66794 #ifdef __cplusplus
66795 }
66796 #endif
66797
66798 int
66799 main ()
66800 {
66801 return f != $ac_func;
66802   ;
66803   return 0;
66804 }
66805 _ACEOF
66806 rm -f conftest.$ac_objext conftest$ac_exeext
66807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66808   (eval $ac_link) 2>&5
66809   ac_status=$?
66810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66811   (exit $ac_status); } &&
66812          { ac_try='test -s conftest$ac_exeext'
66813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66814   (eval $ac_try) 2>&5
66815   ac_status=$?
66816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66817   (exit $ac_status); }; }; then
66818   eval "$as_ac_var=yes"
66819 else
66820   echo "$as_me: failed program was:" >&5
66821 sed 's/^/| /' conftest.$ac_ext >&5
66822
66823 eval "$as_ac_var=no"
66824 fi
66825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
66826 fi
66827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66829 if test `eval echo '${'$as_ac_var'}'` = yes; then
66830   cat >>confdefs.h <<_ACEOF
66831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66832 _ACEOF
66833
66834 fi
66835 done
66836
66837
66838     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
66839 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
66840     if test x"$has_weof" = xyes &&
66841        test x"$has_wchar_minmax" = xyes &&
66842        test x"$ac_wfuncs" = xyes;
66843     then
66844       ac_isoC99_wchar_t=yes
66845     else
66846       ac_isoC99_wchar_t=no
66847     fi
66848     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
66849 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
66850
66851     # Use iconv for wchar_t to char conversions. As such, check for
66852     # X/Open Portability Guide, version 2 features (XPG2).
66853     if test "${ac_cv_header_iconv_h+set}" = set; then
66854   echo "$as_me:$LINENO: checking for iconv.h" >&5
66855 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66856 if test "${ac_cv_header_iconv_h+set}" = set; then
66857   echo $ECHO_N "(cached) $ECHO_C" >&6
66858 fi
66859 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66860 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66861 else
66862   # Is the header compilable?
66863 echo "$as_me:$LINENO: checking iconv.h usability" >&5
66864 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
66865 cat >conftest.$ac_ext <<_ACEOF
66866 #line $LINENO "configure"
66867 /* confdefs.h.  */
66868 _ACEOF
66869 cat confdefs.h >>conftest.$ac_ext
66870 cat >>conftest.$ac_ext <<_ACEOF
66871 /* end confdefs.h.  */
66872 $ac_includes_default
66873 #include <iconv.h>
66874 _ACEOF
66875 rm -f conftest.$ac_objext
66876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66877   (eval $ac_compile) 2>&5
66878   ac_status=$?
66879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66880   (exit $ac_status); } &&
66881          { ac_try='test -s conftest.$ac_objext'
66882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66883   (eval $ac_try) 2>&5
66884   ac_status=$?
66885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886   (exit $ac_status); }; }; then
66887   ac_header_compiler=yes
66888 else
66889   echo "$as_me: failed program was:" >&5
66890 sed 's/^/| /' conftest.$ac_ext >&5
66891
66892 ac_header_compiler=no
66893 fi
66894 rm -f conftest.$ac_objext conftest.$ac_ext
66895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
66896 echo "${ECHO_T}$ac_header_compiler" >&6
66897
66898 # Is the header present?
66899 echo "$as_me:$LINENO: checking iconv.h presence" >&5
66900 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
66901 cat >conftest.$ac_ext <<_ACEOF
66902 #line $LINENO "configure"
66903 /* confdefs.h.  */
66904 _ACEOF
66905 cat confdefs.h >>conftest.$ac_ext
66906 cat >>conftest.$ac_ext <<_ACEOF
66907 /* end confdefs.h.  */
66908 #include <iconv.h>
66909 _ACEOF
66910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
66911   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
66912   ac_status=$?
66913   grep -v '^ *+' conftest.er1 >conftest.err
66914   rm -f conftest.er1
66915   cat conftest.err >&5
66916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66917   (exit $ac_status); } >/dev/null; then
66918   if test -s conftest.err; then
66919     ac_cpp_err=$ac_c_preproc_warn_flag
66920   else
66921     ac_cpp_err=
66922   fi
66923 else
66924   ac_cpp_err=yes
66925 fi
66926 if test -z "$ac_cpp_err"; then
66927   ac_header_preproc=yes
66928 else
66929   echo "$as_me: failed program was:" >&5
66930 sed 's/^/| /' conftest.$ac_ext >&5
66931
66932   ac_header_preproc=no
66933 fi
66934 rm -f conftest.err conftest.$ac_ext
66935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
66936 echo "${ECHO_T}$ac_header_preproc" >&6
66937
66938 # So?  What about this header?
66939 case $ac_header_compiler:$ac_header_preproc in
66940   yes:no )
66941     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
66942 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
66943     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
66944 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
66945     (
66946       cat <<\_ASBOX
66947 ## ------------------------------------ ##
66948 ## Report this to bug-autoconf@gnu.org. ##
66949 ## ------------------------------------ ##
66950 _ASBOX
66951     ) |
66952       sed "s/^/$as_me: WARNING:     /" >&2
66953     ;;
66954   no:yes )
66955     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
66956 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
66957     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
66958 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
66959     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
66960 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
66961     (
66962       cat <<\_ASBOX
66963 ## ------------------------------------ ##
66964 ## Report this to bug-autoconf@gnu.org. ##
66965 ## ------------------------------------ ##
66966 _ASBOX
66967     ) |
66968       sed "s/^/$as_me: WARNING:     /" >&2
66969     ;;
66970 esac
66971 echo "$as_me:$LINENO: checking for iconv.h" >&5
66972 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
66973 if test "${ac_cv_header_iconv_h+set}" = set; then
66974   echo $ECHO_N "(cached) $ECHO_C" >&6
66975 else
66976   ac_cv_header_iconv_h=$ac_header_preproc
66977 fi
66978 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
66979 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
66980
66981 fi
66982 if test $ac_cv_header_iconv_h = yes; then
66983   ac_has_iconv_h=yes
66984 else
66985   ac_has_iconv_h=no
66986 fi
66987
66988
66989     if test "${ac_cv_header_langinfo_h+set}" = set; then
66990   echo "$as_me:$LINENO: checking for langinfo.h" >&5
66991 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
66992 if test "${ac_cv_header_langinfo_h+set}" = set; then
66993   echo $ECHO_N "(cached) $ECHO_C" >&6
66994 fi
66995 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
66996 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
66997 else
66998   # Is the header compilable?
66999 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
67000 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
67001 cat >conftest.$ac_ext <<_ACEOF
67002 #line $LINENO "configure"
67003 /* confdefs.h.  */
67004 _ACEOF
67005 cat confdefs.h >>conftest.$ac_ext
67006 cat >>conftest.$ac_ext <<_ACEOF
67007 /* end confdefs.h.  */
67008 $ac_includes_default
67009 #include <langinfo.h>
67010 _ACEOF
67011 rm -f conftest.$ac_objext
67012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67013   (eval $ac_compile) 2>&5
67014   ac_status=$?
67015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67016   (exit $ac_status); } &&
67017          { ac_try='test -s conftest.$ac_objext'
67018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67019   (eval $ac_try) 2>&5
67020   ac_status=$?
67021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67022   (exit $ac_status); }; }; then
67023   ac_header_compiler=yes
67024 else
67025   echo "$as_me: failed program was:" >&5
67026 sed 's/^/| /' conftest.$ac_ext >&5
67027
67028 ac_header_compiler=no
67029 fi
67030 rm -f conftest.$ac_objext conftest.$ac_ext
67031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67032 echo "${ECHO_T}$ac_header_compiler" >&6
67033
67034 # Is the header present?
67035 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
67036 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
67037 cat >conftest.$ac_ext <<_ACEOF
67038 #line $LINENO "configure"
67039 /* confdefs.h.  */
67040 _ACEOF
67041 cat confdefs.h >>conftest.$ac_ext
67042 cat >>conftest.$ac_ext <<_ACEOF
67043 /* end confdefs.h.  */
67044 #include <langinfo.h>
67045 _ACEOF
67046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67047   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67048   ac_status=$?
67049   grep -v '^ *+' conftest.er1 >conftest.err
67050   rm -f conftest.er1
67051   cat conftest.err >&5
67052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67053   (exit $ac_status); } >/dev/null; then
67054   if test -s conftest.err; then
67055     ac_cpp_err=$ac_c_preproc_warn_flag
67056   else
67057     ac_cpp_err=
67058   fi
67059 else
67060   ac_cpp_err=yes
67061 fi
67062 if test -z "$ac_cpp_err"; then
67063   ac_header_preproc=yes
67064 else
67065   echo "$as_me: failed program was:" >&5
67066 sed 's/^/| /' conftest.$ac_ext >&5
67067
67068   ac_header_preproc=no
67069 fi
67070 rm -f conftest.err conftest.$ac_ext
67071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67072 echo "${ECHO_T}$ac_header_preproc" >&6
67073
67074 # So?  What about this header?
67075 case $ac_header_compiler:$ac_header_preproc in
67076   yes:no )
67077     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
67078 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
67079     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
67080 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
67081     (
67082       cat <<\_ASBOX
67083 ## ------------------------------------ ##
67084 ## Report this to bug-autoconf@gnu.org. ##
67085 ## ------------------------------------ ##
67086 _ASBOX
67087     ) |
67088       sed "s/^/$as_me: WARNING:     /" >&2
67089     ;;
67090   no:yes )
67091     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
67092 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
67093     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
67094 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
67095     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
67096 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
67097     (
67098       cat <<\_ASBOX
67099 ## ------------------------------------ ##
67100 ## Report this to bug-autoconf@gnu.org. ##
67101 ## ------------------------------------ ##
67102 _ASBOX
67103     ) |
67104       sed "s/^/$as_me: WARNING:     /" >&2
67105     ;;
67106 esac
67107 echo "$as_me:$LINENO: checking for langinfo.h" >&5
67108 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
67109 if test "${ac_cv_header_langinfo_h+set}" = set; then
67110   echo $ECHO_N "(cached) $ECHO_C" >&6
67111 else
67112   ac_cv_header_langinfo_h=$ac_header_preproc
67113 fi
67114 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
67115 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
67116
67117 fi
67118 if test $ac_cv_header_langinfo_h = yes; then
67119   ac_has_langinfo_h=yes
67120 else
67121   ac_has_langinfo_h=no
67122 fi
67123
67124
67125
67126     # Check for existence of libiconv.a providing XPG2 wchar_t support.
67127     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
67128 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
67129 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
67130   echo $ECHO_N "(cached) $ECHO_C" >&6
67131 else
67132   ac_check_lib_save_LIBS=$LIBS
67133 LIBS="-liconv  $LIBS"
67134 if test x$gcc_no_link = xyes; then
67135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67137    { (exit 1); exit 1; }; }
67138 fi
67139 cat >conftest.$ac_ext <<_ACEOF
67140 #line $LINENO "configure"
67141 /* confdefs.h.  */
67142 _ACEOF
67143 cat confdefs.h >>conftest.$ac_ext
67144 cat >>conftest.$ac_ext <<_ACEOF
67145 /* end confdefs.h.  */
67146
67147 /* Override any gcc2 internal prototype to avoid an error.  */
67148 #ifdef __cplusplus
67149 extern "C"
67150 #endif
67151 /* We use char because int might match the return type of a gcc2
67152    builtin and then its argument prototype would still apply.  */
67153 char iconv ();
67154 int
67155 main ()
67156 {
67157 iconv ();
67158   ;
67159   return 0;
67160 }
67161 _ACEOF
67162 rm -f conftest.$ac_objext conftest$ac_exeext
67163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67164   (eval $ac_link) 2>&5
67165   ac_status=$?
67166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67167   (exit $ac_status); } &&
67168          { ac_try='test -s conftest$ac_exeext'
67169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67170   (eval $ac_try) 2>&5
67171   ac_status=$?
67172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67173   (exit $ac_status); }; }; then
67174   ac_cv_lib_iconv_iconv=yes
67175 else
67176   echo "$as_me: failed program was:" >&5
67177 sed 's/^/| /' conftest.$ac_ext >&5
67178
67179 ac_cv_lib_iconv_iconv=no
67180 fi
67181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67182 LIBS=$ac_check_lib_save_LIBS
67183 fi
67184 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
67185 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
67186 if test $ac_cv_lib_iconv_iconv = yes; then
67187   libiconv="-liconv"
67188 fi
67189
67190     ac_save_LIBS="$LIBS"
67191     LIBS="$LIBS $libiconv"
67192
67193
67194
67195
67196
67197 for ac_func in iconv_open iconv_close iconv nl_langinfo
67198 do
67199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67200 echo "$as_me:$LINENO: checking for $ac_func" >&5
67201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67202 if eval "test \"\${$as_ac_var+set}\" = set"; then
67203   echo $ECHO_N "(cached) $ECHO_C" >&6
67204 else
67205   if test x$gcc_no_link = xyes; then
67206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67208    { (exit 1); exit 1; }; }
67209 fi
67210 cat >conftest.$ac_ext <<_ACEOF
67211 #line $LINENO "configure"
67212 /* confdefs.h.  */
67213 _ACEOF
67214 cat confdefs.h >>conftest.$ac_ext
67215 cat >>conftest.$ac_ext <<_ACEOF
67216 /* end confdefs.h.  */
67217 /* System header to define __stub macros and hopefully few prototypes,
67218     which can conflict with char $ac_func (); below.
67219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67220     <limits.h> exists even on freestanding compilers.  */
67221 #ifdef __STDC__
67222 # include <limits.h>
67223 #else
67224 # include <assert.h>
67225 #endif
67226 /* Override any gcc2 internal prototype to avoid an error.  */
67227 #ifdef __cplusplus
67228 extern "C"
67229 {
67230 #endif
67231 /* We use char because int might match the return type of a gcc2
67232    builtin and then its argument prototype would still apply.  */
67233 char $ac_func ();
67234 /* The GNU C library defines this for functions which it implements
67235     to always fail with ENOSYS.  Some functions are actually named
67236     something starting with __ and the normal name is an alias.  */
67237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67238 choke me
67239 #else
67240 char (*f) () = $ac_func;
67241 #endif
67242 #ifdef __cplusplus
67243 }
67244 #endif
67245
67246 int
67247 main ()
67248 {
67249 return f != $ac_func;
67250   ;
67251   return 0;
67252 }
67253 _ACEOF
67254 rm -f conftest.$ac_objext conftest$ac_exeext
67255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67256   (eval $ac_link) 2>&5
67257   ac_status=$?
67258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67259   (exit $ac_status); } &&
67260          { ac_try='test -s conftest$ac_exeext'
67261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67262   (eval $ac_try) 2>&5
67263   ac_status=$?
67264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67265   (exit $ac_status); }; }; then
67266   eval "$as_ac_var=yes"
67267 else
67268   echo "$as_me: failed program was:" >&5
67269 sed 's/^/| /' conftest.$ac_ext >&5
67270
67271 eval "$as_ac_var=no"
67272 fi
67273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67274 fi
67275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67277 if test `eval echo '${'$as_ac_var'}'` = yes; then
67278   cat >>confdefs.h <<_ACEOF
67279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67280 _ACEOF
67281  ac_XPG2funcs=yes
67282 else
67283   ac_XPG2funcs=no
67284 fi
67285 done
67286
67287
67288     LIBS="$ac_save_LIBS"
67289
67290     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
67291 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
67292     if test x"$ac_has_iconv_h" = xyes &&
67293        test x"$ac_has_langinfo_h" = xyes &&
67294        test x"$ac_XPG2funcs" = xyes;
67295     then
67296       ac_XPG2_wchar_t=yes
67297     else
67298       ac_XPG2_wchar_t=no
67299     fi
67300     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
67301 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
67302
67303     # At the moment, only enable wchar_t specializations if all the
67304     # above support is present.
67305     if test x"$ac_isoC99_wchar_t" = xyes &&
67306        test x"$ac_XPG2_wchar_t" = xyes;
67307     then
67308       cat >>confdefs.h <<\_ACEOF
67309 #define _GLIBCXX_USE_WCHAR_T 1
67310 _ACEOF
67311
67312       enable_wchar_t=yes
67313     fi
67314   fi
67315   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
67316 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
67317   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
67318 echo "${ECHO_T}$enable_wchar_t" >&6
67319
67320     cat >>confdefs.h <<\_ACEOF
67321 #define HAVE_LC_MESSAGES 1
67322 _ACEOF
67323
67324     cat >>confdefs.h <<\_ACEOF
67325 #define HAVE_GETPAGESIZE 1
67326 _ACEOF
67327
67328     cat >>confdefs.h <<\_ACEOF
67329 #define HAVE_SETENV 1
67330 _ACEOF
67331
67332     cat >>confdefs.h <<\_ACEOF
67333 #define HAVE_SIGSETJMP 1
67334 _ACEOF
67335
67336     cat >>confdefs.h <<\_ACEOF
67337 #define HAVE_COPYSIGN 1
67338 _ACEOF
67339
67340     cat >>confdefs.h <<\_ACEOF
67341 #define HAVE_COPYSIGNF 1
67342 _ACEOF
67343
67344     cat >>confdefs.h <<\_ACEOF
67345 #define HAVE_FINITEF 1
67346 _ACEOF
67347
67348     cat >>confdefs.h <<\_ACEOF
67349 #define HAVE_FINITE 1
67350 _ACEOF
67351
67352     cat >>confdefs.h <<\_ACEOF
67353 #define HAVE_FREXPF 1
67354 _ACEOF
67355
67356     cat >>confdefs.h <<\_ACEOF
67357 #define HAVE_HYPOT 1
67358 _ACEOF
67359
67360     cat >>confdefs.h <<\_ACEOF
67361 #define HAVE_HYPOTF 1
67362 _ACEOF
67363
67364     cat >>confdefs.h <<\_ACEOF
67365 #define HAVE_ISINF 1
67366 _ACEOF
67367
67368     cat >>confdefs.h <<\_ACEOF
67369 #define HAVE_ISNAN 1
67370 _ACEOF
67371
67372     cat >>confdefs.h <<\_ACEOF
67373 #define HAVE_ISNANF 1
67374 _ACEOF
67375
67376
67377     cat >>confdefs.h <<\_ACEOF
67378 #define HAVE_MMAP 1
67379 _ACEOF
67380
67381     cat >>confdefs.h <<\_ACEOF
67382 #define HAVE_ACOSF 1
67383 _ACEOF
67384
67385     cat >>confdefs.h <<\_ACEOF
67386 #define HAVE_ASINF 1
67387 _ACEOF
67388
67389     cat >>confdefs.h <<\_ACEOF
67390 #define HAVE_ATAN2F 1
67391 _ACEOF
67392
67393     cat >>confdefs.h <<\_ACEOF
67394 #define HAVE_ATANF 1
67395 _ACEOF
67396
67397     cat >>confdefs.h <<\_ACEOF
67398 #define HAVE_CEILF 1
67399 _ACEOF
67400
67401     cat >>confdefs.h <<\_ACEOF
67402 #define HAVE_COPYSIGN 1
67403 _ACEOF
67404
67405     cat >>confdefs.h <<\_ACEOF
67406 #define HAVE_COPYSIGNF 1
67407 _ACEOF
67408
67409     cat >>confdefs.h <<\_ACEOF
67410 #define HAVE_COSF 1
67411 _ACEOF
67412
67413     cat >>confdefs.h <<\_ACEOF
67414 #define HAVE_COSHF 1
67415 _ACEOF
67416
67417     cat >>confdefs.h <<\_ACEOF
67418 #define HAVE_EXPF 1
67419 _ACEOF
67420
67421     cat >>confdefs.h <<\_ACEOF
67422 #define HAVE_FABSF 1
67423 _ACEOF
67424
67425     cat >>confdefs.h <<\_ACEOF
67426 #define HAVE_FLOORF 1
67427 _ACEOF
67428
67429     cat >>confdefs.h <<\_ACEOF
67430 #define HAVE_FMODF 1
67431 _ACEOF
67432
67433     cat >>confdefs.h <<\_ACEOF
67434 #define HAVE_FREXPF 1
67435 _ACEOF
67436
67437     cat >>confdefs.h <<\_ACEOF
67438 #define HAVE_LDEXPF 1
67439 _ACEOF
67440
67441     cat >>confdefs.h <<\_ACEOF
67442 #define HAVE_LOG10F 1
67443 _ACEOF
67444
67445     cat >>confdefs.h <<\_ACEOF
67446 #define HAVE_LOGF 1
67447 _ACEOF
67448
67449     cat >>confdefs.h <<\_ACEOF
67450 #define HAVE_MODFF 1
67451 _ACEOF
67452
67453     cat >>confdefs.h <<\_ACEOF
67454 #define HAVE_POWF 1
67455 _ACEOF
67456
67457     cat >>confdefs.h <<\_ACEOF
67458 #define HAVE_SINF 1
67459 _ACEOF
67460
67461     cat >>confdefs.h <<\_ACEOF
67462 #define HAVE_SINHF 1
67463 _ACEOF
67464
67465     cat >>confdefs.h <<\_ACEOF
67466 #define HAVE_SQRTF 1
67467 _ACEOF
67468
67469     cat >>confdefs.h <<\_ACEOF
67470 #define HAVE_TANF 1
67471 _ACEOF
67472
67473     cat >>confdefs.h <<\_ACEOF
67474 #define HAVE_TANHF 1
67475 _ACEOF
67476
67477     if test x"long_double_math_on_this_cpu" = x"yes"; then
67478       cat >>confdefs.h <<\_ACEOF
67479 #define HAVE_FINITEL 1
67480 _ACEOF
67481
67482       cat >>confdefs.h <<\_ACEOF
67483 #define HAVE_ISINFL 1
67484 _ACEOF
67485
67486       cat >>confdefs.h <<\_ACEOF
67487 #define HAVE_ISNANL 1
67488 _ACEOF
67489
67490     fi
67491     ;;
67492   *-hpux*)
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
67506       machine/endian.h machine/param.h sys/machine.h sys/types.h \
67507       fp.h locale.h float.h inttypes.h
67508 do
67509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
67510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67511   echo "$as_me:$LINENO: checking for $ac_header" >&5
67512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67514   echo $ECHO_N "(cached) $ECHO_C" >&6
67515 fi
67516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67518 else
67519   # Is the header compilable?
67520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
67521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
67522 cat >conftest.$ac_ext <<_ACEOF
67523 #line $LINENO "configure"
67524 /* confdefs.h.  */
67525 _ACEOF
67526 cat confdefs.h >>conftest.$ac_ext
67527 cat >>conftest.$ac_ext <<_ACEOF
67528 /* end confdefs.h.  */
67529 $ac_includes_default
67530 #include <$ac_header>
67531 _ACEOF
67532 rm -f conftest.$ac_objext
67533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67534   (eval $ac_compile) 2>&5
67535   ac_status=$?
67536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67537   (exit $ac_status); } &&
67538          { ac_try='test -s conftest.$ac_objext'
67539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67540   (eval $ac_try) 2>&5
67541   ac_status=$?
67542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67543   (exit $ac_status); }; }; then
67544   ac_header_compiler=yes
67545 else
67546   echo "$as_me: failed program was:" >&5
67547 sed 's/^/| /' conftest.$ac_ext >&5
67548
67549 ac_header_compiler=no
67550 fi
67551 rm -f conftest.$ac_objext conftest.$ac_ext
67552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
67553 echo "${ECHO_T}$ac_header_compiler" >&6
67554
67555 # Is the header present?
67556 echo "$as_me:$LINENO: checking $ac_header presence" >&5
67557 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
67558 cat >conftest.$ac_ext <<_ACEOF
67559 #line $LINENO "configure"
67560 /* confdefs.h.  */
67561 _ACEOF
67562 cat confdefs.h >>conftest.$ac_ext
67563 cat >>conftest.$ac_ext <<_ACEOF
67564 /* end confdefs.h.  */
67565 #include <$ac_header>
67566 _ACEOF
67567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
67568   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
67569   ac_status=$?
67570   grep -v '^ *+' conftest.er1 >conftest.err
67571   rm -f conftest.er1
67572   cat conftest.err >&5
67573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67574   (exit $ac_status); } >/dev/null; then
67575   if test -s conftest.err; then
67576     ac_cpp_err=$ac_c_preproc_warn_flag
67577   else
67578     ac_cpp_err=
67579   fi
67580 else
67581   ac_cpp_err=yes
67582 fi
67583 if test -z "$ac_cpp_err"; then
67584   ac_header_preproc=yes
67585 else
67586   echo "$as_me: failed program was:" >&5
67587 sed 's/^/| /' conftest.$ac_ext >&5
67588
67589   ac_header_preproc=no
67590 fi
67591 rm -f conftest.err conftest.$ac_ext
67592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
67593 echo "${ECHO_T}$ac_header_preproc" >&6
67594
67595 # So?  What about this header?
67596 case $ac_header_compiler:$ac_header_preproc in
67597   yes:no )
67598     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
67599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
67600     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67602     (
67603       cat <<\_ASBOX
67604 ## ------------------------------------ ##
67605 ## Report this to bug-autoconf@gnu.org. ##
67606 ## ------------------------------------ ##
67607 _ASBOX
67608     ) |
67609       sed "s/^/$as_me: WARNING:     /" >&2
67610     ;;
67611   no:yes )
67612     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
67613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
67614     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
67615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
67616     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
67617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
67618     (
67619       cat <<\_ASBOX
67620 ## ------------------------------------ ##
67621 ## Report this to bug-autoconf@gnu.org. ##
67622 ## ------------------------------------ ##
67623 _ASBOX
67624     ) |
67625       sed "s/^/$as_me: WARNING:     /" >&2
67626     ;;
67627 esac
67628 echo "$as_me:$LINENO: checking for $ac_header" >&5
67629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
67630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
67631   echo $ECHO_N "(cached) $ECHO_C" >&6
67632 else
67633   eval "$as_ac_Header=$ac_header_preproc"
67634 fi
67635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
67636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
67637
67638 fi
67639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
67640   cat >>confdefs.h <<_ACEOF
67641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
67642 _ACEOF
67643
67644 fi
67645
67646 done
67647
67648     SECTION_FLAGS='-ffunction-sections -fdata-sections'
67649
67650
67651   # If we're not using GNU ld, then there's no point in even trying these
67652   # tests.  Check for that first.  We should have already tested for gld
67653   # by now (in libtool), but require it now just to be safe...
67654   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
67655   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
67656
67657
67658
67659   # The name set by libtool depends on the version of libtool.  Shame on us
67660   # for depending on an impl detail, but c'est la vie.  Older versions used
67661   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
67662   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
67663   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
67664   # set (hence we're using an older libtool), then set it.
67665   if test x${with_gnu_ld+set} != xset; then
67666     if test x${ac_cv_prog_gnu_ld+set} != xset; then
67667       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
67668       with_gnu_ld=no
67669     else
67670       with_gnu_ld=$ac_cv_prog_gnu_ld
67671     fi
67672   fi
67673
67674   # Start by getting the version number.  I think the libtool test already
67675   # does some of this, but throws away the result.
67676
67677   ldver=`$LD --version 2>/dev/null | head -1 | \
67678          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
67679
67680   glibcxx_gnu_ld_version=`echo $ldver | \
67681          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
67682
67683   # Set --gc-sections.
67684   if test "$with_gnu_ld" = "notbroken"; then
67685     # GNU ld it is!  Joy and bunny rabbits!
67686
67687     # All these tests are for C++; save the language and the compiler flags.
67688     # Need to do this so that g++ won't try to link in libstdc++
67689     ac_test_CFLAGS="${CFLAGS+set}"
67690     ac_save_CFLAGS="$CFLAGS"
67691     CFLAGS='-x c++  -Wl,--gc-sections'
67692
67693     # Check for -Wl,--gc-sections
67694     # XXX This test is broken at the moment, as symbols required for linking
67695     # are now in libsupc++ (not built yet).  In addition, this test has
67696     # cored on solaris in the past.  In addition, --gc-sections doesn't
67697     # really work at the moment (keeps on discarding used sections, first
67698     # .eh_frame and now some of the glibc sections for iconv).
67699     # Bzzzzt.  Thanks for playing, maybe next time.
67700     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
67701 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
67702     if test "$cross_compiling" = yes; then
67703   ac_sectionLDflags=yes
67704 else
67705   cat >conftest.$ac_ext <<_ACEOF
67706 #line $LINENO "configure"
67707 /* confdefs.h.  */
67708 _ACEOF
67709 cat confdefs.h >>conftest.$ac_ext
67710 cat >>conftest.$ac_ext <<_ACEOF
67711 /* end confdefs.h.  */
67712
67713      int main(void)
67714      {
67715        try { throw 1; }
67716        catch (...) { };
67717        return 0;
67718      }
67719
67720 _ACEOF
67721 rm -f conftest$ac_exeext
67722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67723   (eval $ac_link) 2>&5
67724   ac_status=$?
67725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67726   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
67727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67728   (eval $ac_try) 2>&5
67729   ac_status=$?
67730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67731   (exit $ac_status); }; }; then
67732   ac_sectionLDflags=yes
67733 else
67734   echo "$as_me: program exited with status $ac_status" >&5
67735 echo "$as_me: failed program was:" >&5
67736 sed 's/^/| /' conftest.$ac_ext >&5
67737
67738 ( exit $ac_status )
67739 ac_sectionLDflags=no
67740 fi
67741 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
67742 fi
67743     if test "$ac_test_CFLAGS" = set; then
67744       CFLAGS="$ac_save_CFLAGS"
67745     else
67746       # this is the suspicious part
67747       CFLAGS=''
67748     fi
67749     if test "$ac_sectionLDflags" = "yes"; then
67750       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
67751     fi
67752     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
67753 echo "${ECHO_T}$ac_sectionLDflags" >&6
67754   fi
67755
67756   # Set linker optimization flags.
67757   if test x"$with_gnu_ld" = x"yes"; then
67758     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
67759   fi
67760
67761
67762
67763
67764
67765
67766 echo "$as_me:$LINENO: checking for main in -lm" >&5
67767 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
67768 if test "${ac_cv_lib_m_main+set}" = set; then
67769   echo $ECHO_N "(cached) $ECHO_C" >&6
67770 else
67771   ac_check_lib_save_LIBS=$LIBS
67772 LIBS="-lm  $LIBS"
67773 if test x$gcc_no_link = xyes; then
67774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67776    { (exit 1); exit 1; }; }
67777 fi
67778 cat >conftest.$ac_ext <<_ACEOF
67779 #line $LINENO "configure"
67780 /* confdefs.h.  */
67781 _ACEOF
67782 cat confdefs.h >>conftest.$ac_ext
67783 cat >>conftest.$ac_ext <<_ACEOF
67784 /* end confdefs.h.  */
67785
67786
67787 int
67788 main ()
67789 {
67790 main ();
67791   ;
67792   return 0;
67793 }
67794 _ACEOF
67795 rm -f conftest.$ac_objext conftest$ac_exeext
67796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67797   (eval $ac_link) 2>&5
67798   ac_status=$?
67799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800   (exit $ac_status); } &&
67801          { ac_try='test -s conftest$ac_exeext'
67802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67803   (eval $ac_try) 2>&5
67804   ac_status=$?
67805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67806   (exit $ac_status); }; }; then
67807   ac_cv_lib_m_main=yes
67808 else
67809   echo "$as_me: failed program was:" >&5
67810 sed 's/^/| /' conftest.$ac_ext >&5
67811
67812 ac_cv_lib_m_main=no
67813 fi
67814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67815 LIBS=$ac_check_lib_save_LIBS
67816 fi
67817 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
67818 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
67819 if test $ac_cv_lib_m_main = yes; then
67820   cat >>confdefs.h <<_ACEOF
67821 #define HAVE_LIBM 1
67822 _ACEOF
67823
67824   LIBS="-lm $LIBS"
67825
67826 fi
67827
67828
67829 for ac_func in copysignf
67830 do
67831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67832 echo "$as_me:$LINENO: checking for $ac_func" >&5
67833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67834 if eval "test \"\${$as_ac_var+set}\" = set"; then
67835   echo $ECHO_N "(cached) $ECHO_C" >&6
67836 else
67837   if test x$gcc_no_link = xyes; then
67838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67840    { (exit 1); exit 1; }; }
67841 fi
67842 cat >conftest.$ac_ext <<_ACEOF
67843 #line $LINENO "configure"
67844 /* confdefs.h.  */
67845 _ACEOF
67846 cat confdefs.h >>conftest.$ac_ext
67847 cat >>conftest.$ac_ext <<_ACEOF
67848 /* end confdefs.h.  */
67849 /* System header to define __stub macros and hopefully few prototypes,
67850     which can conflict with char $ac_func (); below.
67851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67852     <limits.h> exists even on freestanding compilers.  */
67853 #ifdef __STDC__
67854 # include <limits.h>
67855 #else
67856 # include <assert.h>
67857 #endif
67858 /* Override any gcc2 internal prototype to avoid an error.  */
67859 #ifdef __cplusplus
67860 extern "C"
67861 {
67862 #endif
67863 /* We use char because int might match the return type of a gcc2
67864    builtin and then its argument prototype would still apply.  */
67865 char $ac_func ();
67866 /* The GNU C library defines this for functions which it implements
67867     to always fail with ENOSYS.  Some functions are actually named
67868     something starting with __ and the normal name is an alias.  */
67869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67870 choke me
67871 #else
67872 char (*f) () = $ac_func;
67873 #endif
67874 #ifdef __cplusplus
67875 }
67876 #endif
67877
67878 int
67879 main ()
67880 {
67881 return f != $ac_func;
67882   ;
67883   return 0;
67884 }
67885 _ACEOF
67886 rm -f conftest.$ac_objext conftest$ac_exeext
67887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67888   (eval $ac_link) 2>&5
67889   ac_status=$?
67890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67891   (exit $ac_status); } &&
67892          { ac_try='test -s conftest$ac_exeext'
67893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67894   (eval $ac_try) 2>&5
67895   ac_status=$?
67896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67897   (exit $ac_status); }; }; then
67898   eval "$as_ac_var=yes"
67899 else
67900   echo "$as_me: failed program was:" >&5
67901 sed 's/^/| /' conftest.$ac_ext >&5
67902
67903 eval "$as_ac_var=no"
67904 fi
67905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67906 fi
67907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67909 if test `eval echo '${'$as_ac_var'}'` = yes; then
67910   cat >>confdefs.h <<_ACEOF
67911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67912 _ACEOF
67913
67914 else
67915   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
67916 fi
67917 done
67918
67919
67920
67921 for ac_func in __signbit
67922 do
67923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67924 echo "$as_me:$LINENO: checking for $ac_func" >&5
67925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67926 if eval "test \"\${$as_ac_var+set}\" = set"; then
67927   echo $ECHO_N "(cached) $ECHO_C" >&6
67928 else
67929   if test x$gcc_no_link = xyes; then
67930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67932    { (exit 1); exit 1; }; }
67933 fi
67934 cat >conftest.$ac_ext <<_ACEOF
67935 #line $LINENO "configure"
67936 /* confdefs.h.  */
67937 _ACEOF
67938 cat confdefs.h >>conftest.$ac_ext
67939 cat >>conftest.$ac_ext <<_ACEOF
67940 /* end confdefs.h.  */
67941 /* System header to define __stub macros and hopefully few prototypes,
67942     which can conflict with char $ac_func (); below.
67943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67944     <limits.h> exists even on freestanding compilers.  */
67945 #ifdef __STDC__
67946 # include <limits.h>
67947 #else
67948 # include <assert.h>
67949 #endif
67950 /* Override any gcc2 internal prototype to avoid an error.  */
67951 #ifdef __cplusplus
67952 extern "C"
67953 {
67954 #endif
67955 /* We use char because int might match the return type of a gcc2
67956    builtin and then its argument prototype would still apply.  */
67957 char $ac_func ();
67958 /* The GNU C library defines this for functions which it implements
67959     to always fail with ENOSYS.  Some functions are actually named
67960     something starting with __ and the normal name is an alias.  */
67961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67962 choke me
67963 #else
67964 char (*f) () = $ac_func;
67965 #endif
67966 #ifdef __cplusplus
67967 }
67968 #endif
67969
67970 int
67971 main ()
67972 {
67973 return f != $ac_func;
67974   ;
67975   return 0;
67976 }
67977 _ACEOF
67978 rm -f conftest.$ac_objext conftest$ac_exeext
67979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67980   (eval $ac_link) 2>&5
67981   ac_status=$?
67982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67983   (exit $ac_status); } &&
67984          { ac_try='test -s conftest$ac_exeext'
67985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67986   (eval $ac_try) 2>&5
67987   ac_status=$?
67988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67989   (exit $ac_status); }; }; then
67990   eval "$as_ac_var=yes"
67991 else
67992   echo "$as_me: failed program was:" >&5
67993 sed 's/^/| /' conftest.$ac_ext >&5
67994
67995 eval "$as_ac_var=no"
67996 fi
67997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
67998 fi
67999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68001 if test `eval echo '${'$as_ac_var'}'` = yes; then
68002   cat >>confdefs.h <<_ACEOF
68003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68004 _ACEOF
68005
68006 else
68007   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
68008 fi
68009 done
68010
68011
68012
68013 for ac_func in __signbitf
68014 do
68015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68016 echo "$as_me:$LINENO: checking for $ac_func" >&5
68017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68018 if eval "test \"\${$as_ac_var+set}\" = set"; then
68019   echo $ECHO_N "(cached) $ECHO_C" >&6
68020 else
68021   if test x$gcc_no_link = xyes; then
68022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68024    { (exit 1); exit 1; }; }
68025 fi
68026 cat >conftest.$ac_ext <<_ACEOF
68027 #line $LINENO "configure"
68028 /* confdefs.h.  */
68029 _ACEOF
68030 cat confdefs.h >>conftest.$ac_ext
68031 cat >>conftest.$ac_ext <<_ACEOF
68032 /* end confdefs.h.  */
68033 /* System header to define __stub macros and hopefully few prototypes,
68034     which can conflict with char $ac_func (); below.
68035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68036     <limits.h> exists even on freestanding compilers.  */
68037 #ifdef __STDC__
68038 # include <limits.h>
68039 #else
68040 # include <assert.h>
68041 #endif
68042 /* Override any gcc2 internal prototype to avoid an error.  */
68043 #ifdef __cplusplus
68044 extern "C"
68045 {
68046 #endif
68047 /* We use char because int might match the return type of a gcc2
68048    builtin and then its argument prototype would still apply.  */
68049 char $ac_func ();
68050 /* The GNU C library defines this for functions which it implements
68051     to always fail with ENOSYS.  Some functions are actually named
68052     something starting with __ and the normal name is an alias.  */
68053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68054 choke me
68055 #else
68056 char (*f) () = $ac_func;
68057 #endif
68058 #ifdef __cplusplus
68059 }
68060 #endif
68061
68062 int
68063 main ()
68064 {
68065 return f != $ac_func;
68066   ;
68067   return 0;
68068 }
68069 _ACEOF
68070 rm -f conftest.$ac_objext conftest$ac_exeext
68071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68072   (eval $ac_link) 2>&5
68073   ac_status=$?
68074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68075   (exit $ac_status); } &&
68076          { ac_try='test -s conftest$ac_exeext'
68077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68078   (eval $ac_try) 2>&5
68079   ac_status=$?
68080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68081   (exit $ac_status); }; }; then
68082   eval "$as_ac_var=yes"
68083 else
68084   echo "$as_me: failed program was:" >&5
68085 sed 's/^/| /' conftest.$ac_ext >&5
68086
68087 eval "$as_ac_var=no"
68088 fi
68089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68090 fi
68091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68093 if test `eval echo '${'$as_ac_var'}'` = yes; then
68094   cat >>confdefs.h <<_ACEOF
68095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68096 _ACEOF
68097
68098 else
68099   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
68100 fi
68101 done
68102
68103
68104           if test x$ac_cv_func_copysignl = x"yes"; then
68105
68106 for ac_func in __signbitl
68107 do
68108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68109 echo "$as_me:$LINENO: checking for $ac_func" >&5
68110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68111 if eval "test \"\${$as_ac_var+set}\" = set"; then
68112   echo $ECHO_N "(cached) $ECHO_C" >&6
68113 else
68114   if test x$gcc_no_link = xyes; then
68115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68117    { (exit 1); exit 1; }; }
68118 fi
68119 cat >conftest.$ac_ext <<_ACEOF
68120 #line $LINENO "configure"
68121 /* confdefs.h.  */
68122 _ACEOF
68123 cat confdefs.h >>conftest.$ac_ext
68124 cat >>conftest.$ac_ext <<_ACEOF
68125 /* end confdefs.h.  */
68126 /* System header to define __stub macros and hopefully few prototypes,
68127     which can conflict with char $ac_func (); below.
68128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68129     <limits.h> exists even on freestanding compilers.  */
68130 #ifdef __STDC__
68131 # include <limits.h>
68132 #else
68133 # include <assert.h>
68134 #endif
68135 /* Override any gcc2 internal prototype to avoid an error.  */
68136 #ifdef __cplusplus
68137 extern "C"
68138 {
68139 #endif
68140 /* We use char because int might match the return type of a gcc2
68141    builtin and then its argument prototype would still apply.  */
68142 char $ac_func ();
68143 /* The GNU C library defines this for functions which it implements
68144     to always fail with ENOSYS.  Some functions are actually named
68145     something starting with __ and the normal name is an alias.  */
68146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68147 choke me
68148 #else
68149 char (*f) () = $ac_func;
68150 #endif
68151 #ifdef __cplusplus
68152 }
68153 #endif
68154
68155 int
68156 main ()
68157 {
68158 return f != $ac_func;
68159   ;
68160   return 0;
68161 }
68162 _ACEOF
68163 rm -f conftest.$ac_objext conftest$ac_exeext
68164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68165   (eval $ac_link) 2>&5
68166   ac_status=$?
68167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68168   (exit $ac_status); } &&
68169          { ac_try='test -s conftest$ac_exeext'
68170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68171   (eval $ac_try) 2>&5
68172   ac_status=$?
68173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174   (exit $ac_status); }; }; then
68175   eval "$as_ac_var=yes"
68176 else
68177   echo "$as_me: failed program was:" >&5
68178 sed 's/^/| /' conftest.$ac_ext >&5
68179
68180 eval "$as_ac_var=no"
68181 fi
68182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68183 fi
68184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68186 if test `eval echo '${'$as_ac_var'}'` = yes; then
68187   cat >>confdefs.h <<_ACEOF
68188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68189 _ACEOF
68190
68191 else
68192   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
68193 fi
68194 done
68195
68196   fi
68197
68198   # Used in libmath/Makefile.am.
68199   if test -n "$LIBMATHOBJS"; then
68200     need_libmath=yes
68201   fi
68202
68203
68204
68205   # Test wchar.h for mbstate_t, which is needed for char_traits and
68206   # others even if wchar_t support is not on.
68207   echo "$as_me:$LINENO: checking for mbstate_t" >&5
68208 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
68209   cat >conftest.$ac_ext <<_ACEOF
68210 #line $LINENO "configure"
68211 /* confdefs.h.  */
68212 _ACEOF
68213 cat confdefs.h >>conftest.$ac_ext
68214 cat >>conftest.$ac_ext <<_ACEOF
68215 /* end confdefs.h.  */
68216 #include <wchar.h>
68217 int
68218 main ()
68219 {
68220 mbstate_t teststate;
68221   ;
68222   return 0;
68223 }
68224 _ACEOF
68225 rm -f conftest.$ac_objext
68226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68227   (eval $ac_compile) 2>&5
68228   ac_status=$?
68229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68230   (exit $ac_status); } &&
68231          { ac_try='test -s conftest.$ac_objext'
68232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68233   (eval $ac_try) 2>&5
68234   ac_status=$?
68235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68236   (exit $ac_status); }; }; then
68237   have_mbstate_t=yes
68238 else
68239   echo "$as_me: failed program was:" >&5
68240 sed 's/^/| /' conftest.$ac_ext >&5
68241
68242 have_mbstate_t=no
68243 fi
68244 rm -f conftest.$ac_objext conftest.$ac_ext
68245   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
68246 echo "${ECHO_T}$have_mbstate_t" >&6
68247   if test x"$have_mbstate_t" = xyes; then
68248     cat >>confdefs.h <<\_ACEOF
68249 #define HAVE_MBSTATE_T 1
68250 _ACEOF
68251
68252   fi
68253
68254   # Sanity check for existence of ISO C99 headers for extended encoding.
68255
68256 for ac_header in wchar.h
68257 do
68258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
68259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68260   echo "$as_me:$LINENO: checking for $ac_header" >&5
68261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68263   echo $ECHO_N "(cached) $ECHO_C" >&6
68264 fi
68265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68267 else
68268   # Is the header compilable?
68269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
68270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
68271 cat >conftest.$ac_ext <<_ACEOF
68272 #line $LINENO "configure"
68273 /* confdefs.h.  */
68274 _ACEOF
68275 cat confdefs.h >>conftest.$ac_ext
68276 cat >>conftest.$ac_ext <<_ACEOF
68277 /* end confdefs.h.  */
68278 $ac_includes_default
68279 #include <$ac_header>
68280 _ACEOF
68281 rm -f conftest.$ac_objext
68282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68283   (eval $ac_compile) 2>&5
68284   ac_status=$?
68285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68286   (exit $ac_status); } &&
68287          { ac_try='test -s conftest.$ac_objext'
68288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68289   (eval $ac_try) 2>&5
68290   ac_status=$?
68291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68292   (exit $ac_status); }; }; then
68293   ac_header_compiler=yes
68294 else
68295   echo "$as_me: failed program was:" >&5
68296 sed 's/^/| /' conftest.$ac_ext >&5
68297
68298 ac_header_compiler=no
68299 fi
68300 rm -f conftest.$ac_objext conftest.$ac_ext
68301 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68302 echo "${ECHO_T}$ac_header_compiler" >&6
68303
68304 # Is the header present?
68305 echo "$as_me:$LINENO: checking $ac_header presence" >&5
68306 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
68307 cat >conftest.$ac_ext <<_ACEOF
68308 #line $LINENO "configure"
68309 /* confdefs.h.  */
68310 _ACEOF
68311 cat confdefs.h >>conftest.$ac_ext
68312 cat >>conftest.$ac_ext <<_ACEOF
68313 /* end confdefs.h.  */
68314 #include <$ac_header>
68315 _ACEOF
68316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68318   ac_status=$?
68319   grep -v '^ *+' conftest.er1 >conftest.err
68320   rm -f conftest.er1
68321   cat conftest.err >&5
68322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68323   (exit $ac_status); } >/dev/null; then
68324   if test -s conftest.err; then
68325     ac_cpp_err=$ac_c_preproc_warn_flag
68326   else
68327     ac_cpp_err=
68328   fi
68329 else
68330   ac_cpp_err=yes
68331 fi
68332 if test -z "$ac_cpp_err"; then
68333   ac_header_preproc=yes
68334 else
68335   echo "$as_me: failed program was:" >&5
68336 sed 's/^/| /' conftest.$ac_ext >&5
68337
68338   ac_header_preproc=no
68339 fi
68340 rm -f conftest.err conftest.$ac_ext
68341 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68342 echo "${ECHO_T}$ac_header_preproc" >&6
68343
68344 # So?  What about this header?
68345 case $ac_header_compiler:$ac_header_preproc in
68346   yes:no )
68347     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68348 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68349     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68351     (
68352       cat <<\_ASBOX
68353 ## ------------------------------------ ##
68354 ## Report this to bug-autoconf@gnu.org. ##
68355 ## ------------------------------------ ##
68356 _ASBOX
68357     ) |
68358       sed "s/^/$as_me: WARNING:     /" >&2
68359     ;;
68360   no:yes )
68361     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68363     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
68364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
68365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68367     (
68368       cat <<\_ASBOX
68369 ## ------------------------------------ ##
68370 ## Report this to bug-autoconf@gnu.org. ##
68371 ## ------------------------------------ ##
68372 _ASBOX
68373     ) |
68374       sed "s/^/$as_me: WARNING:     /" >&2
68375     ;;
68376 esac
68377 echo "$as_me:$LINENO: checking for $ac_header" >&5
68378 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68380   echo $ECHO_N "(cached) $ECHO_C" >&6
68381 else
68382   eval "$as_ac_Header=$ac_header_preproc"
68383 fi
68384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68386
68387 fi
68388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68389   cat >>confdefs.h <<_ACEOF
68390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68391 _ACEOF
68392  ac_has_wchar_h=yes
68393 else
68394   ac_has_wchar_h=no
68395 fi
68396
68397 done
68398
68399
68400 for ac_header in wctype.h
68401 do
68402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
68403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68404   echo "$as_me:$LINENO: checking for $ac_header" >&5
68405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68407   echo $ECHO_N "(cached) $ECHO_C" >&6
68408 fi
68409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68411 else
68412   # Is the header compilable?
68413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
68414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
68415 cat >conftest.$ac_ext <<_ACEOF
68416 #line $LINENO "configure"
68417 /* confdefs.h.  */
68418 _ACEOF
68419 cat confdefs.h >>conftest.$ac_ext
68420 cat >>conftest.$ac_ext <<_ACEOF
68421 /* end confdefs.h.  */
68422 $ac_includes_default
68423 #include <$ac_header>
68424 _ACEOF
68425 rm -f conftest.$ac_objext
68426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68427   (eval $ac_compile) 2>&5
68428   ac_status=$?
68429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68430   (exit $ac_status); } &&
68431          { ac_try='test -s conftest.$ac_objext'
68432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433   (eval $ac_try) 2>&5
68434   ac_status=$?
68435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436   (exit $ac_status); }; }; then
68437   ac_header_compiler=yes
68438 else
68439   echo "$as_me: failed program was:" >&5
68440 sed 's/^/| /' conftest.$ac_ext >&5
68441
68442 ac_header_compiler=no
68443 fi
68444 rm -f conftest.$ac_objext conftest.$ac_ext
68445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
68446 echo "${ECHO_T}$ac_header_compiler" >&6
68447
68448 # Is the header present?
68449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
68450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
68451 cat >conftest.$ac_ext <<_ACEOF
68452 #line $LINENO "configure"
68453 /* confdefs.h.  */
68454 _ACEOF
68455 cat confdefs.h >>conftest.$ac_ext
68456 cat >>conftest.$ac_ext <<_ACEOF
68457 /* end confdefs.h.  */
68458 #include <$ac_header>
68459 _ACEOF
68460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
68461   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
68462   ac_status=$?
68463   grep -v '^ *+' conftest.er1 >conftest.err
68464   rm -f conftest.er1
68465   cat conftest.err >&5
68466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68467   (exit $ac_status); } >/dev/null; then
68468   if test -s conftest.err; then
68469     ac_cpp_err=$ac_c_preproc_warn_flag
68470   else
68471     ac_cpp_err=
68472   fi
68473 else
68474   ac_cpp_err=yes
68475 fi
68476 if test -z "$ac_cpp_err"; then
68477   ac_header_preproc=yes
68478 else
68479   echo "$as_me: failed program was:" >&5
68480 sed 's/^/| /' conftest.$ac_ext >&5
68481
68482   ac_header_preproc=no
68483 fi
68484 rm -f conftest.err conftest.$ac_ext
68485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
68486 echo "${ECHO_T}$ac_header_preproc" >&6
68487
68488 # So?  What about this header?
68489 case $ac_header_compiler:$ac_header_preproc in
68490   yes:no )
68491     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
68492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
68493     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68495     (
68496       cat <<\_ASBOX
68497 ## ------------------------------------ ##
68498 ## Report this to bug-autoconf@gnu.org. ##
68499 ## ------------------------------------ ##
68500 _ASBOX
68501     ) |
68502       sed "s/^/$as_me: WARNING:     /" >&2
68503     ;;
68504   no:yes )
68505     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
68506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
68507     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
68508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
68509     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
68510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
68511     (
68512       cat <<\_ASBOX
68513 ## ------------------------------------ ##
68514 ## Report this to bug-autoconf@gnu.org. ##
68515 ## ------------------------------------ ##
68516 _ASBOX
68517     ) |
68518       sed "s/^/$as_me: WARNING:     /" >&2
68519     ;;
68520 esac
68521 echo "$as_me:$LINENO: checking for $ac_header" >&5
68522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
68523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
68524   echo $ECHO_N "(cached) $ECHO_C" >&6
68525 else
68526   eval "$as_ac_Header=$ac_header_preproc"
68527 fi
68528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
68529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
68530
68531 fi
68532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
68533   cat >>confdefs.h <<_ACEOF
68534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
68535 _ACEOF
68536  ac_has_wctype_h=yes
68537 else
68538   ac_has_wctype_h=no
68539 fi
68540
68541 done
68542
68543
68544   # Only continue checking if the ISO C99 headers exist and support is on.
68545   if test x"$ac_has_wchar_h" = xyes &&
68546      test x"$ac_has_wctype_h" = xyes &&
68547      test x"$enable_c_mbchar" != xno; then
68548
68549     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
68550     # numeric_limits can instantiate type_traits<wchar_t>
68551     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
68552 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
68553     cat >conftest.$ac_ext <<_ACEOF
68554 #line $LINENO "configure"
68555 /* confdefs.h.  */
68556 _ACEOF
68557 cat confdefs.h >>conftest.$ac_ext
68558 cat >>conftest.$ac_ext <<_ACEOF
68559 /* end confdefs.h.  */
68560 #include <wchar.h>
68561 int
68562 main ()
68563 {
68564 int i = WCHAR_MIN; int j = WCHAR_MAX;
68565   ;
68566   return 0;
68567 }
68568 _ACEOF
68569 rm -f conftest.$ac_objext
68570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68571   (eval $ac_compile) 2>&5
68572   ac_status=$?
68573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68574   (exit $ac_status); } &&
68575          { ac_try='test -s conftest.$ac_objext'
68576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68577   (eval $ac_try) 2>&5
68578   ac_status=$?
68579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68580   (exit $ac_status); }; }; then
68581   has_wchar_minmax=yes
68582 else
68583   echo "$as_me: failed program was:" >&5
68584 sed 's/^/| /' conftest.$ac_ext >&5
68585
68586 has_wchar_minmax=no
68587 fi
68588 rm -f conftest.$ac_objext conftest.$ac_ext
68589     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
68590 echo "${ECHO_T}$has_wchar_minmax" >&6
68591
68592     # Test wchar.h for WEOF, which is what we use to determine whether
68593     # to specialize for char_traits<wchar_t> or not.
68594     echo "$as_me:$LINENO: checking for WEOF" >&5
68595 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
68596     cat >conftest.$ac_ext <<_ACEOF
68597 #line $LINENO "configure"
68598 /* confdefs.h.  */
68599 _ACEOF
68600 cat confdefs.h >>conftest.$ac_ext
68601 cat >>conftest.$ac_ext <<_ACEOF
68602 /* end confdefs.h.  */
68603
68604       #include <wchar.h>
68605       #include <stddef.h>
68606 int
68607 main ()
68608 {
68609 wint_t i = WEOF;
68610   ;
68611   return 0;
68612 }
68613 _ACEOF
68614 rm -f conftest.$ac_objext
68615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68616   (eval $ac_compile) 2>&5
68617   ac_status=$?
68618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68619   (exit $ac_status); } &&
68620          { ac_try='test -s conftest.$ac_objext'
68621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68622   (eval $ac_try) 2>&5
68623   ac_status=$?
68624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625   (exit $ac_status); }; }; then
68626   has_weof=yes
68627 else
68628   echo "$as_me: failed program was:" >&5
68629 sed 's/^/| /' conftest.$ac_ext >&5
68630
68631 has_weof=no
68632 fi
68633 rm -f conftest.$ac_objext conftest.$ac_ext
68634     echo "$as_me:$LINENO: result: $has_weof" >&5
68635 echo "${ECHO_T}$has_weof" >&6
68636
68637     # Tests for wide character functions used in char_traits<wchar_t>.
68638     ac_wfuncs=yes
68639
68640
68641
68642
68643
68644
68645 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
68646 do
68647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68648 echo "$as_me:$LINENO: checking for $ac_func" >&5
68649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68650 if eval "test \"\${$as_ac_var+set}\" = set"; then
68651   echo $ECHO_N "(cached) $ECHO_C" >&6
68652 else
68653   if test x$gcc_no_link = xyes; then
68654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68656    { (exit 1); exit 1; }; }
68657 fi
68658 cat >conftest.$ac_ext <<_ACEOF
68659 #line $LINENO "configure"
68660 /* confdefs.h.  */
68661 _ACEOF
68662 cat confdefs.h >>conftest.$ac_ext
68663 cat >>conftest.$ac_ext <<_ACEOF
68664 /* end confdefs.h.  */
68665 /* System header to define __stub macros and hopefully few prototypes,
68666     which can conflict with char $ac_func (); below.
68667     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68668     <limits.h> exists even on freestanding compilers.  */
68669 #ifdef __STDC__
68670 # include <limits.h>
68671 #else
68672 # include <assert.h>
68673 #endif
68674 /* Override any gcc2 internal prototype to avoid an error.  */
68675 #ifdef __cplusplus
68676 extern "C"
68677 {
68678 #endif
68679 /* We use char because int might match the return type of a gcc2
68680    builtin and then its argument prototype would still apply.  */
68681 char $ac_func ();
68682 /* The GNU C library defines this for functions which it implements
68683     to always fail with ENOSYS.  Some functions are actually named
68684     something starting with __ and the normal name is an alias.  */
68685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68686 choke me
68687 #else
68688 char (*f) () = $ac_func;
68689 #endif
68690 #ifdef __cplusplus
68691 }
68692 #endif
68693
68694 int
68695 main ()
68696 {
68697 return f != $ac_func;
68698   ;
68699   return 0;
68700 }
68701 _ACEOF
68702 rm -f conftest.$ac_objext conftest$ac_exeext
68703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68704   (eval $ac_link) 2>&5
68705   ac_status=$?
68706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707   (exit $ac_status); } &&
68708          { ac_try='test -s conftest$ac_exeext'
68709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68710   (eval $ac_try) 2>&5
68711   ac_status=$?
68712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713   (exit $ac_status); }; }; then
68714   eval "$as_ac_var=yes"
68715 else
68716   echo "$as_me: failed program was:" >&5
68717 sed 's/^/| /' conftest.$ac_ext >&5
68718
68719 eval "$as_ac_var=no"
68720 fi
68721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68722 fi
68723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68725 if test `eval echo '${'$as_ac_var'}'` = yes; then
68726   cat >>confdefs.h <<_ACEOF
68727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68728 _ACEOF
68729
68730 else
68731   ac_wfuncs=no
68732 fi
68733 done
68734
68735
68736     # Checks for names injected into std:: by the c_std headers.
68737
68738
68739
68740
68741
68742
68743
68744
68745
68746
68747
68748
68749
68750
68751
68752
68753
68754
68755
68756
68757
68758
68759
68760
68761
68762
68763
68764
68765
68766
68767
68768
68769
68770
68771
68772
68773
68774
68775
68776
68777
68778
68779
68780
68781
68782
68783 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
68784     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
68785     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
68786     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
68787     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
68788     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
68789 do
68790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68791 echo "$as_me:$LINENO: checking for $ac_func" >&5
68792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68793 if eval "test \"\${$as_ac_var+set}\" = set"; then
68794   echo $ECHO_N "(cached) $ECHO_C" >&6
68795 else
68796   if test x$gcc_no_link = xyes; then
68797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68799    { (exit 1); exit 1; }; }
68800 fi
68801 cat >conftest.$ac_ext <<_ACEOF
68802 #line $LINENO "configure"
68803 /* confdefs.h.  */
68804 _ACEOF
68805 cat confdefs.h >>conftest.$ac_ext
68806 cat >>conftest.$ac_ext <<_ACEOF
68807 /* end confdefs.h.  */
68808 /* System header to define __stub macros and hopefully few prototypes,
68809     which can conflict with char $ac_func (); below.
68810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68811     <limits.h> exists even on freestanding compilers.  */
68812 #ifdef __STDC__
68813 # include <limits.h>
68814 #else
68815 # include <assert.h>
68816 #endif
68817 /* Override any gcc2 internal prototype to avoid an error.  */
68818 #ifdef __cplusplus
68819 extern "C"
68820 {
68821 #endif
68822 /* We use char because int might match the return type of a gcc2
68823    builtin and then its argument prototype would still apply.  */
68824 char $ac_func ();
68825 /* The GNU C library defines this for functions which it implements
68826     to always fail with ENOSYS.  Some functions are actually named
68827     something starting with __ and the normal name is an alias.  */
68828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68829 choke me
68830 #else
68831 char (*f) () = $ac_func;
68832 #endif
68833 #ifdef __cplusplus
68834 }
68835 #endif
68836
68837 int
68838 main ()
68839 {
68840 return f != $ac_func;
68841   ;
68842   return 0;
68843 }
68844 _ACEOF
68845 rm -f conftest.$ac_objext conftest$ac_exeext
68846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68847   (eval $ac_link) 2>&5
68848   ac_status=$?
68849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850   (exit $ac_status); } &&
68851          { ac_try='test -s conftest$ac_exeext'
68852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853   (eval $ac_try) 2>&5
68854   ac_status=$?
68855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856   (exit $ac_status); }; }; then
68857   eval "$as_ac_var=yes"
68858 else
68859   echo "$as_me: failed program was:" >&5
68860 sed 's/^/| /' conftest.$ac_ext >&5
68861
68862 eval "$as_ac_var=no"
68863 fi
68864 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68865 fi
68866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68868 if test `eval echo '${'$as_ac_var'}'` = yes; then
68869   cat >>confdefs.h <<_ACEOF
68870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68871 _ACEOF
68872
68873 else
68874   ac_wfuncs=no
68875 fi
68876 done
68877
68878
68879     # Checks for wide character functions that are not required
68880     # for basic wchar_t support.  Don't disable support if they are missing.
68881     # Injection of these is wrapped with guard macros.
68882
68883
68884
68885
68886
68887 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
68888 do
68889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68890 echo "$as_me:$LINENO: checking for $ac_func" >&5
68891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68892 if eval "test \"\${$as_ac_var+set}\" = set"; then
68893   echo $ECHO_N "(cached) $ECHO_C" >&6
68894 else
68895   if test x$gcc_no_link = xyes; then
68896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68898    { (exit 1); exit 1; }; }
68899 fi
68900 cat >conftest.$ac_ext <<_ACEOF
68901 #line $LINENO "configure"
68902 /* confdefs.h.  */
68903 _ACEOF
68904 cat confdefs.h >>conftest.$ac_ext
68905 cat >>conftest.$ac_ext <<_ACEOF
68906 /* end confdefs.h.  */
68907 /* System header to define __stub macros and hopefully few prototypes,
68908     which can conflict with char $ac_func (); below.
68909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68910     <limits.h> exists even on freestanding compilers.  */
68911 #ifdef __STDC__
68912 # include <limits.h>
68913 #else
68914 # include <assert.h>
68915 #endif
68916 /* Override any gcc2 internal prototype to avoid an error.  */
68917 #ifdef __cplusplus
68918 extern "C"
68919 {
68920 #endif
68921 /* We use char because int might match the return type of a gcc2
68922    builtin and then its argument prototype would still apply.  */
68923 char $ac_func ();
68924 /* The GNU C library defines this for functions which it implements
68925     to always fail with ENOSYS.  Some functions are actually named
68926     something starting with __ and the normal name is an alias.  */
68927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68928 choke me
68929 #else
68930 char (*f) () = $ac_func;
68931 #endif
68932 #ifdef __cplusplus
68933 }
68934 #endif
68935
68936 int
68937 main ()
68938 {
68939 return f != $ac_func;
68940   ;
68941   return 0;
68942 }
68943 _ACEOF
68944 rm -f conftest.$ac_objext conftest$ac_exeext
68945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68946   (eval $ac_link) 2>&5
68947   ac_status=$?
68948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68949   (exit $ac_status); } &&
68950          { ac_try='test -s conftest$ac_exeext'
68951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68952   (eval $ac_try) 2>&5
68953   ac_status=$?
68954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68955   (exit $ac_status); }; }; then
68956   eval "$as_ac_var=yes"
68957 else
68958   echo "$as_me: failed program was:" >&5
68959 sed 's/^/| /' conftest.$ac_ext >&5
68960
68961 eval "$as_ac_var=no"
68962 fi
68963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
68964 fi
68965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68967 if test `eval echo '${'$as_ac_var'}'` = yes; then
68968   cat >>confdefs.h <<_ACEOF
68969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68970 _ACEOF
68971
68972 fi
68973 done
68974
68975
68976     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
68977 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
68978     if test x"$has_weof" = xyes &&
68979        test x"$has_wchar_minmax" = xyes &&
68980        test x"$ac_wfuncs" = xyes;
68981     then
68982       ac_isoC99_wchar_t=yes
68983     else
68984       ac_isoC99_wchar_t=no
68985     fi
68986     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
68987 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
68988
68989     # Use iconv for wchar_t to char conversions. As such, check for
68990     # X/Open Portability Guide, version 2 features (XPG2).
68991     if test "${ac_cv_header_iconv_h+set}" = set; then
68992   echo "$as_me:$LINENO: checking for iconv.h" >&5
68993 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
68994 if test "${ac_cv_header_iconv_h+set}" = set; then
68995   echo $ECHO_N "(cached) $ECHO_C" >&6
68996 fi
68997 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
68998 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
68999 else
69000   # Is the header compilable?
69001 echo "$as_me:$LINENO: checking iconv.h usability" >&5
69002 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
69003 cat >conftest.$ac_ext <<_ACEOF
69004 #line $LINENO "configure"
69005 /* confdefs.h.  */
69006 _ACEOF
69007 cat confdefs.h >>conftest.$ac_ext
69008 cat >>conftest.$ac_ext <<_ACEOF
69009 /* end confdefs.h.  */
69010 $ac_includes_default
69011 #include <iconv.h>
69012 _ACEOF
69013 rm -f conftest.$ac_objext
69014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69015   (eval $ac_compile) 2>&5
69016   ac_status=$?
69017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69018   (exit $ac_status); } &&
69019          { ac_try='test -s conftest.$ac_objext'
69020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69021   (eval $ac_try) 2>&5
69022   ac_status=$?
69023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69024   (exit $ac_status); }; }; then
69025   ac_header_compiler=yes
69026 else
69027   echo "$as_me: failed program was:" >&5
69028 sed 's/^/| /' conftest.$ac_ext >&5
69029
69030 ac_header_compiler=no
69031 fi
69032 rm -f conftest.$ac_objext conftest.$ac_ext
69033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69034 echo "${ECHO_T}$ac_header_compiler" >&6
69035
69036 # Is the header present?
69037 echo "$as_me:$LINENO: checking iconv.h presence" >&5
69038 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
69039 cat >conftest.$ac_ext <<_ACEOF
69040 #line $LINENO "configure"
69041 /* confdefs.h.  */
69042 _ACEOF
69043 cat confdefs.h >>conftest.$ac_ext
69044 cat >>conftest.$ac_ext <<_ACEOF
69045 /* end confdefs.h.  */
69046 #include <iconv.h>
69047 _ACEOF
69048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69049   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69050   ac_status=$?
69051   grep -v '^ *+' conftest.er1 >conftest.err
69052   rm -f conftest.er1
69053   cat conftest.err >&5
69054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69055   (exit $ac_status); } >/dev/null; then
69056   if test -s conftest.err; then
69057     ac_cpp_err=$ac_c_preproc_warn_flag
69058   else
69059     ac_cpp_err=
69060   fi
69061 else
69062   ac_cpp_err=yes
69063 fi
69064 if test -z "$ac_cpp_err"; then
69065   ac_header_preproc=yes
69066 else
69067   echo "$as_me: failed program was:" >&5
69068 sed 's/^/| /' conftest.$ac_ext >&5
69069
69070   ac_header_preproc=no
69071 fi
69072 rm -f conftest.err conftest.$ac_ext
69073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69074 echo "${ECHO_T}$ac_header_preproc" >&6
69075
69076 # So?  What about this header?
69077 case $ac_header_compiler:$ac_header_preproc in
69078   yes:no )
69079     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
69080 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
69081     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
69082 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
69083     (
69084       cat <<\_ASBOX
69085 ## ------------------------------------ ##
69086 ## Report this to bug-autoconf@gnu.org. ##
69087 ## ------------------------------------ ##
69088 _ASBOX
69089     ) |
69090       sed "s/^/$as_me: WARNING:     /" >&2
69091     ;;
69092   no:yes )
69093     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
69094 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
69095     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
69096 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
69097     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
69098 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
69099     (
69100       cat <<\_ASBOX
69101 ## ------------------------------------ ##
69102 ## Report this to bug-autoconf@gnu.org. ##
69103 ## ------------------------------------ ##
69104 _ASBOX
69105     ) |
69106       sed "s/^/$as_me: WARNING:     /" >&2
69107     ;;
69108 esac
69109 echo "$as_me:$LINENO: checking for iconv.h" >&5
69110 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
69111 if test "${ac_cv_header_iconv_h+set}" = set; then
69112   echo $ECHO_N "(cached) $ECHO_C" >&6
69113 else
69114   ac_cv_header_iconv_h=$ac_header_preproc
69115 fi
69116 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
69117 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
69118
69119 fi
69120 if test $ac_cv_header_iconv_h = yes; then
69121   ac_has_iconv_h=yes
69122 else
69123   ac_has_iconv_h=no
69124 fi
69125
69126
69127     if test "${ac_cv_header_langinfo_h+set}" = set; then
69128   echo "$as_me:$LINENO: checking for langinfo.h" >&5
69129 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
69130 if test "${ac_cv_header_langinfo_h+set}" = set; then
69131   echo $ECHO_N "(cached) $ECHO_C" >&6
69132 fi
69133 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
69134 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
69135 else
69136   # Is the header compilable?
69137 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
69138 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
69139 cat >conftest.$ac_ext <<_ACEOF
69140 #line $LINENO "configure"
69141 /* confdefs.h.  */
69142 _ACEOF
69143 cat confdefs.h >>conftest.$ac_ext
69144 cat >>conftest.$ac_ext <<_ACEOF
69145 /* end confdefs.h.  */
69146 $ac_includes_default
69147 #include <langinfo.h>
69148 _ACEOF
69149 rm -f conftest.$ac_objext
69150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69151   (eval $ac_compile) 2>&5
69152   ac_status=$?
69153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69154   (exit $ac_status); } &&
69155          { ac_try='test -s conftest.$ac_objext'
69156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69157   (eval $ac_try) 2>&5
69158   ac_status=$?
69159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69160   (exit $ac_status); }; }; then
69161   ac_header_compiler=yes
69162 else
69163   echo "$as_me: failed program was:" >&5
69164 sed 's/^/| /' conftest.$ac_ext >&5
69165
69166 ac_header_compiler=no
69167 fi
69168 rm -f conftest.$ac_objext conftest.$ac_ext
69169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69170 echo "${ECHO_T}$ac_header_compiler" >&6
69171
69172 # Is the header present?
69173 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
69174 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
69175 cat >conftest.$ac_ext <<_ACEOF
69176 #line $LINENO "configure"
69177 /* confdefs.h.  */
69178 _ACEOF
69179 cat confdefs.h >>conftest.$ac_ext
69180 cat >>conftest.$ac_ext <<_ACEOF
69181 /* end confdefs.h.  */
69182 #include <langinfo.h>
69183 _ACEOF
69184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69185   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69186   ac_status=$?
69187   grep -v '^ *+' conftest.er1 >conftest.err
69188   rm -f conftest.er1
69189   cat conftest.err >&5
69190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191   (exit $ac_status); } >/dev/null; then
69192   if test -s conftest.err; then
69193     ac_cpp_err=$ac_c_preproc_warn_flag
69194   else
69195     ac_cpp_err=
69196   fi
69197 else
69198   ac_cpp_err=yes
69199 fi
69200 if test -z "$ac_cpp_err"; then
69201   ac_header_preproc=yes
69202 else
69203   echo "$as_me: failed program was:" >&5
69204 sed 's/^/| /' conftest.$ac_ext >&5
69205
69206   ac_header_preproc=no
69207 fi
69208 rm -f conftest.err conftest.$ac_ext
69209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69210 echo "${ECHO_T}$ac_header_preproc" >&6
69211
69212 # So?  What about this header?
69213 case $ac_header_compiler:$ac_header_preproc in
69214   yes:no )
69215     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
69216 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
69217     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
69218 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
69219     (
69220       cat <<\_ASBOX
69221 ## ------------------------------------ ##
69222 ## Report this to bug-autoconf@gnu.org. ##
69223 ## ------------------------------------ ##
69224 _ASBOX
69225     ) |
69226       sed "s/^/$as_me: WARNING:     /" >&2
69227     ;;
69228   no:yes )
69229     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
69230 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
69231     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
69232 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
69233     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
69234 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
69235     (
69236       cat <<\_ASBOX
69237 ## ------------------------------------ ##
69238 ## Report this to bug-autoconf@gnu.org. ##
69239 ## ------------------------------------ ##
69240 _ASBOX
69241     ) |
69242       sed "s/^/$as_me: WARNING:     /" >&2
69243     ;;
69244 esac
69245 echo "$as_me:$LINENO: checking for langinfo.h" >&5
69246 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
69247 if test "${ac_cv_header_langinfo_h+set}" = set; then
69248   echo $ECHO_N "(cached) $ECHO_C" >&6
69249 else
69250   ac_cv_header_langinfo_h=$ac_header_preproc
69251 fi
69252 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
69253 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
69254
69255 fi
69256 if test $ac_cv_header_langinfo_h = yes; then
69257   ac_has_langinfo_h=yes
69258 else
69259   ac_has_langinfo_h=no
69260 fi
69261
69262
69263
69264     # Check for existence of libiconv.a providing XPG2 wchar_t support.
69265     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
69266 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
69267 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
69268   echo $ECHO_N "(cached) $ECHO_C" >&6
69269 else
69270   ac_check_lib_save_LIBS=$LIBS
69271 LIBS="-liconv  $LIBS"
69272 if test x$gcc_no_link = xyes; then
69273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69275    { (exit 1); exit 1; }; }
69276 fi
69277 cat >conftest.$ac_ext <<_ACEOF
69278 #line $LINENO "configure"
69279 /* confdefs.h.  */
69280 _ACEOF
69281 cat confdefs.h >>conftest.$ac_ext
69282 cat >>conftest.$ac_ext <<_ACEOF
69283 /* end confdefs.h.  */
69284
69285 /* Override any gcc2 internal prototype to avoid an error.  */
69286 #ifdef __cplusplus
69287 extern "C"
69288 #endif
69289 /* We use char because int might match the return type of a gcc2
69290    builtin and then its argument prototype would still apply.  */
69291 char iconv ();
69292 int
69293 main ()
69294 {
69295 iconv ();
69296   ;
69297   return 0;
69298 }
69299 _ACEOF
69300 rm -f conftest.$ac_objext conftest$ac_exeext
69301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69302   (eval $ac_link) 2>&5
69303   ac_status=$?
69304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69305   (exit $ac_status); } &&
69306          { ac_try='test -s conftest$ac_exeext'
69307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69308   (eval $ac_try) 2>&5
69309   ac_status=$?
69310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69311   (exit $ac_status); }; }; then
69312   ac_cv_lib_iconv_iconv=yes
69313 else
69314   echo "$as_me: failed program was:" >&5
69315 sed 's/^/| /' conftest.$ac_ext >&5
69316
69317 ac_cv_lib_iconv_iconv=no
69318 fi
69319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69320 LIBS=$ac_check_lib_save_LIBS
69321 fi
69322 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
69323 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
69324 if test $ac_cv_lib_iconv_iconv = yes; then
69325   libiconv="-liconv"
69326 fi
69327
69328     ac_save_LIBS="$LIBS"
69329     LIBS="$LIBS $libiconv"
69330
69331
69332
69333
69334
69335 for ac_func in iconv_open iconv_close iconv nl_langinfo
69336 do
69337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69338 echo "$as_me:$LINENO: checking for $ac_func" >&5
69339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69340 if eval "test \"\${$as_ac_var+set}\" = set"; then
69341   echo $ECHO_N "(cached) $ECHO_C" >&6
69342 else
69343   if test x$gcc_no_link = xyes; then
69344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69346    { (exit 1); exit 1; }; }
69347 fi
69348 cat >conftest.$ac_ext <<_ACEOF
69349 #line $LINENO "configure"
69350 /* confdefs.h.  */
69351 _ACEOF
69352 cat confdefs.h >>conftest.$ac_ext
69353 cat >>conftest.$ac_ext <<_ACEOF
69354 /* end confdefs.h.  */
69355 /* System header to define __stub macros and hopefully few prototypes,
69356     which can conflict with char $ac_func (); below.
69357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69358     <limits.h> exists even on freestanding compilers.  */
69359 #ifdef __STDC__
69360 # include <limits.h>
69361 #else
69362 # include <assert.h>
69363 #endif
69364 /* Override any gcc2 internal prototype to avoid an error.  */
69365 #ifdef __cplusplus
69366 extern "C"
69367 {
69368 #endif
69369 /* We use char because int might match the return type of a gcc2
69370    builtin and then its argument prototype would still apply.  */
69371 char $ac_func ();
69372 /* The GNU C library defines this for functions which it implements
69373     to always fail with ENOSYS.  Some functions are actually named
69374     something starting with __ and the normal name is an alias.  */
69375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69376 choke me
69377 #else
69378 char (*f) () = $ac_func;
69379 #endif
69380 #ifdef __cplusplus
69381 }
69382 #endif
69383
69384 int
69385 main ()
69386 {
69387 return f != $ac_func;
69388   ;
69389   return 0;
69390 }
69391 _ACEOF
69392 rm -f conftest.$ac_objext conftest$ac_exeext
69393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69394   (eval $ac_link) 2>&5
69395   ac_status=$?
69396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69397   (exit $ac_status); } &&
69398          { ac_try='test -s conftest$ac_exeext'
69399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69400   (eval $ac_try) 2>&5
69401   ac_status=$?
69402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69403   (exit $ac_status); }; }; then
69404   eval "$as_ac_var=yes"
69405 else
69406   echo "$as_me: failed program was:" >&5
69407 sed 's/^/| /' conftest.$ac_ext >&5
69408
69409 eval "$as_ac_var=no"
69410 fi
69411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69412 fi
69413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69415 if test `eval echo '${'$as_ac_var'}'` = yes; then
69416   cat >>confdefs.h <<_ACEOF
69417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69418 _ACEOF
69419  ac_XPG2funcs=yes
69420 else
69421   ac_XPG2funcs=no
69422 fi
69423 done
69424
69425
69426     LIBS="$ac_save_LIBS"
69427
69428     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
69429 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
69430     if test x"$ac_has_iconv_h" = xyes &&
69431        test x"$ac_has_langinfo_h" = xyes &&
69432        test x"$ac_XPG2funcs" = xyes;
69433     then
69434       ac_XPG2_wchar_t=yes
69435     else
69436       ac_XPG2_wchar_t=no
69437     fi
69438     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
69439 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
69440
69441     # At the moment, only enable wchar_t specializations if all the
69442     # above support is present.
69443     if test x"$ac_isoC99_wchar_t" = xyes &&
69444        test x"$ac_XPG2_wchar_t" = xyes;
69445     then
69446       cat >>confdefs.h <<\_ACEOF
69447 #define _GLIBCXX_USE_WCHAR_T 1
69448 _ACEOF
69449
69450       enable_wchar_t=yes
69451     fi
69452   fi
69453   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
69454 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
69455   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
69456 echo "${ECHO_T}$enable_wchar_t" >&6
69457
69458     cat >>confdefs.h <<\_ACEOF
69459 #define HAVE_COPYSIGN 1
69460 _ACEOF
69461
69462     cat >>confdefs.h <<\_ACEOF
69463 #define HAVE_COPYSIGNF 1
69464 _ACEOF
69465
69466     cat >>confdefs.h <<\_ACEOF
69467 #define HAVE_FREXPF 1
69468 _ACEOF
69469
69470     cat >>confdefs.h <<\_ACEOF
69471 #define HAVE_HYPOT 1
69472 _ACEOF
69473
69474     case "$target" in
69475       *-hpux10*)
69476         cat >>confdefs.h <<\_ACEOF
69477 #define HAVE_FINITE 1
69478 _ACEOF
69479
69480         cat >>confdefs.h <<\_ACEOF
69481 #define HAVE_FINITEF 1
69482 _ACEOF
69483
69484         cat >>confdefs.h <<\_ACEOF
69485 #define HAVE_ISINF 1
69486 _ACEOF
69487
69488         cat >>confdefs.h <<\_ACEOF
69489 #define HAVE_ISINFF 1
69490 _ACEOF
69491
69492         cat >>confdefs.h <<\_ACEOF
69493 #define HAVE_ISNAN 1
69494 _ACEOF
69495
69496         cat >>confdefs.h <<\_ACEOF
69497 #define HAVE_ISNANF 1
69498 _ACEOF
69499
69500         ;;
69501     esac
69502     ;;
69503   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
69504
69505
69506
69507
69508
69509
69510
69511
69512
69513
69514
69515
69516
69517
69518
69519 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
69520       machine/endian.h machine/param.h sys/machine.h sys/types.h \
69521       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
69522 do
69523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
69524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69525   echo "$as_me:$LINENO: checking for $ac_header" >&5
69526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69528   echo $ECHO_N "(cached) $ECHO_C" >&6
69529 fi
69530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69532 else
69533   # Is the header compilable?
69534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
69535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
69536 cat >conftest.$ac_ext <<_ACEOF
69537 #line $LINENO "configure"
69538 /* confdefs.h.  */
69539 _ACEOF
69540 cat confdefs.h >>conftest.$ac_ext
69541 cat >>conftest.$ac_ext <<_ACEOF
69542 /* end confdefs.h.  */
69543 $ac_includes_default
69544 #include <$ac_header>
69545 _ACEOF
69546 rm -f conftest.$ac_objext
69547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69548   (eval $ac_compile) 2>&5
69549   ac_status=$?
69550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69551   (exit $ac_status); } &&
69552          { ac_try='test -s conftest.$ac_objext'
69553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69554   (eval $ac_try) 2>&5
69555   ac_status=$?
69556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69557   (exit $ac_status); }; }; then
69558   ac_header_compiler=yes
69559 else
69560   echo "$as_me: failed program was:" >&5
69561 sed 's/^/| /' conftest.$ac_ext >&5
69562
69563 ac_header_compiler=no
69564 fi
69565 rm -f conftest.$ac_objext conftest.$ac_ext
69566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
69567 echo "${ECHO_T}$ac_header_compiler" >&6
69568
69569 # Is the header present?
69570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
69571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
69572 cat >conftest.$ac_ext <<_ACEOF
69573 #line $LINENO "configure"
69574 /* confdefs.h.  */
69575 _ACEOF
69576 cat confdefs.h >>conftest.$ac_ext
69577 cat >>conftest.$ac_ext <<_ACEOF
69578 /* end confdefs.h.  */
69579 #include <$ac_header>
69580 _ACEOF
69581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
69582   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
69583   ac_status=$?
69584   grep -v '^ *+' conftest.er1 >conftest.err
69585   rm -f conftest.er1
69586   cat conftest.err >&5
69587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69588   (exit $ac_status); } >/dev/null; then
69589   if test -s conftest.err; then
69590     ac_cpp_err=$ac_c_preproc_warn_flag
69591   else
69592     ac_cpp_err=
69593   fi
69594 else
69595   ac_cpp_err=yes
69596 fi
69597 if test -z "$ac_cpp_err"; then
69598   ac_header_preproc=yes
69599 else
69600   echo "$as_me: failed program was:" >&5
69601 sed 's/^/| /' conftest.$ac_ext >&5
69602
69603   ac_header_preproc=no
69604 fi
69605 rm -f conftest.err conftest.$ac_ext
69606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
69607 echo "${ECHO_T}$ac_header_preproc" >&6
69608
69609 # So?  What about this header?
69610 case $ac_header_compiler:$ac_header_preproc in
69611   yes:no )
69612     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
69613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
69614     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69616     (
69617       cat <<\_ASBOX
69618 ## ------------------------------------ ##
69619 ## Report this to bug-autoconf@gnu.org. ##
69620 ## ------------------------------------ ##
69621 _ASBOX
69622     ) |
69623       sed "s/^/$as_me: WARNING:     /" >&2
69624     ;;
69625   no:yes )
69626     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
69627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
69628     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
69629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
69630     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
69631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
69632     (
69633       cat <<\_ASBOX
69634 ## ------------------------------------ ##
69635 ## Report this to bug-autoconf@gnu.org. ##
69636 ## ------------------------------------ ##
69637 _ASBOX
69638     ) |
69639       sed "s/^/$as_me: WARNING:     /" >&2
69640     ;;
69641 esac
69642 echo "$as_me:$LINENO: checking for $ac_header" >&5
69643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
69644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
69645   echo $ECHO_N "(cached) $ECHO_C" >&6
69646 else
69647   eval "$as_ac_Header=$ac_header_preproc"
69648 fi
69649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
69650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
69651
69652 fi
69653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
69654   cat >>confdefs.h <<_ACEOF
69655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
69656 _ACEOF
69657
69658 fi
69659
69660 done
69661
69662     SECTION_FLAGS='-ffunction-sections -fdata-sections'
69663
69664
69665   # If we're not using GNU ld, then there's no point in even trying these
69666   # tests.  Check for that first.  We should have already tested for gld
69667   # by now (in libtool), but require it now just to be safe...
69668   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
69669   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
69670
69671
69672
69673   # The name set by libtool depends on the version of libtool.  Shame on us
69674   # for depending on an impl detail, but c'est la vie.  Older versions used
69675   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
69676   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
69677   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
69678   # set (hence we're using an older libtool), then set it.
69679   if test x${with_gnu_ld+set} != xset; then
69680     if test x${ac_cv_prog_gnu_ld+set} != xset; then
69681       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
69682       with_gnu_ld=no
69683     else
69684       with_gnu_ld=$ac_cv_prog_gnu_ld
69685     fi
69686   fi
69687
69688   # Start by getting the version number.  I think the libtool test already
69689   # does some of this, but throws away the result.
69690
69691   ldver=`$LD --version 2>/dev/null | head -1 | \
69692          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
69693
69694   glibcxx_gnu_ld_version=`echo $ldver | \
69695          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
69696
69697   # Set --gc-sections.
69698   if test "$with_gnu_ld" = "notbroken"; then
69699     # GNU ld it is!  Joy and bunny rabbits!
69700
69701     # All these tests are for C++; save the language and the compiler flags.
69702     # Need to do this so that g++ won't try to link in libstdc++
69703     ac_test_CFLAGS="${CFLAGS+set}"
69704     ac_save_CFLAGS="$CFLAGS"
69705     CFLAGS='-x c++  -Wl,--gc-sections'
69706
69707     # Check for -Wl,--gc-sections
69708     # XXX This test is broken at the moment, as symbols required for linking
69709     # are now in libsupc++ (not built yet).  In addition, this test has
69710     # cored on solaris in the past.  In addition, --gc-sections doesn't
69711     # really work at the moment (keeps on discarding used sections, first
69712     # .eh_frame and now some of the glibc sections for iconv).
69713     # Bzzzzt.  Thanks for playing, maybe next time.
69714     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
69715 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
69716     if test "$cross_compiling" = yes; then
69717   ac_sectionLDflags=yes
69718 else
69719   cat >conftest.$ac_ext <<_ACEOF
69720 #line $LINENO "configure"
69721 /* confdefs.h.  */
69722 _ACEOF
69723 cat confdefs.h >>conftest.$ac_ext
69724 cat >>conftest.$ac_ext <<_ACEOF
69725 /* end confdefs.h.  */
69726
69727      int main(void)
69728      {
69729        try { throw 1; }
69730        catch (...) { };
69731        return 0;
69732      }
69733
69734 _ACEOF
69735 rm -f conftest$ac_exeext
69736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69737   (eval $ac_link) 2>&5
69738   ac_status=$?
69739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69740   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
69741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69742   (eval $ac_try) 2>&5
69743   ac_status=$?
69744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69745   (exit $ac_status); }; }; then
69746   ac_sectionLDflags=yes
69747 else
69748   echo "$as_me: program exited with status $ac_status" >&5
69749 echo "$as_me: failed program was:" >&5
69750 sed 's/^/| /' conftest.$ac_ext >&5
69751
69752 ( exit $ac_status )
69753 ac_sectionLDflags=no
69754 fi
69755 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
69756 fi
69757     if test "$ac_test_CFLAGS" = set; then
69758       CFLAGS="$ac_save_CFLAGS"
69759     else
69760       # this is the suspicious part
69761       CFLAGS=''
69762     fi
69763     if test "$ac_sectionLDflags" = "yes"; then
69764       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
69765     fi
69766     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
69767 echo "${ECHO_T}$ac_sectionLDflags" >&6
69768   fi
69769
69770   # Set linker optimization flags.
69771   if test x"$with_gnu_ld" = x"yes"; then
69772     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
69773   fi
69774
69775
69776
69777
69778
69779
69780 echo "$as_me:$LINENO: checking for main in -lm" >&5
69781 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
69782 if test "${ac_cv_lib_m_main+set}" = set; then
69783   echo $ECHO_N "(cached) $ECHO_C" >&6
69784 else
69785   ac_check_lib_save_LIBS=$LIBS
69786 LIBS="-lm  $LIBS"
69787 if test x$gcc_no_link = xyes; then
69788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69790    { (exit 1); exit 1; }; }
69791 fi
69792 cat >conftest.$ac_ext <<_ACEOF
69793 #line $LINENO "configure"
69794 /* confdefs.h.  */
69795 _ACEOF
69796 cat confdefs.h >>conftest.$ac_ext
69797 cat >>conftest.$ac_ext <<_ACEOF
69798 /* end confdefs.h.  */
69799
69800
69801 int
69802 main ()
69803 {
69804 main ();
69805   ;
69806   return 0;
69807 }
69808 _ACEOF
69809 rm -f conftest.$ac_objext conftest$ac_exeext
69810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69811   (eval $ac_link) 2>&5
69812   ac_status=$?
69813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69814   (exit $ac_status); } &&
69815          { ac_try='test -s conftest$ac_exeext'
69816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69817   (eval $ac_try) 2>&5
69818   ac_status=$?
69819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69820   (exit $ac_status); }; }; then
69821   ac_cv_lib_m_main=yes
69822 else
69823   echo "$as_me: failed program was:" >&5
69824 sed 's/^/| /' conftest.$ac_ext >&5
69825
69826 ac_cv_lib_m_main=no
69827 fi
69828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69829 LIBS=$ac_check_lib_save_LIBS
69830 fi
69831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
69832 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
69833 if test $ac_cv_lib_m_main = yes; then
69834   cat >>confdefs.h <<_ACEOF
69835 #define HAVE_LIBM 1
69836 _ACEOF
69837
69838   LIBS="-lm $LIBS"
69839
69840 fi
69841
69842
69843 for ac_func in copysignf
69844 do
69845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69846 echo "$as_me:$LINENO: checking for $ac_func" >&5
69847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69848 if eval "test \"\${$as_ac_var+set}\" = set"; then
69849   echo $ECHO_N "(cached) $ECHO_C" >&6
69850 else
69851   if test x$gcc_no_link = xyes; then
69852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69854    { (exit 1); exit 1; }; }
69855 fi
69856 cat >conftest.$ac_ext <<_ACEOF
69857 #line $LINENO "configure"
69858 /* confdefs.h.  */
69859 _ACEOF
69860 cat confdefs.h >>conftest.$ac_ext
69861 cat >>conftest.$ac_ext <<_ACEOF
69862 /* end confdefs.h.  */
69863 /* System header to define __stub macros and hopefully few prototypes,
69864     which can conflict with char $ac_func (); below.
69865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69866     <limits.h> exists even on freestanding compilers.  */
69867 #ifdef __STDC__
69868 # include <limits.h>
69869 #else
69870 # include <assert.h>
69871 #endif
69872 /* Override any gcc2 internal prototype to avoid an error.  */
69873 #ifdef __cplusplus
69874 extern "C"
69875 {
69876 #endif
69877 /* We use char because int might match the return type of a gcc2
69878    builtin and then its argument prototype would still apply.  */
69879 char $ac_func ();
69880 /* The GNU C library defines this for functions which it implements
69881     to always fail with ENOSYS.  Some functions are actually named
69882     something starting with __ and the normal name is an alias.  */
69883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69884 choke me
69885 #else
69886 char (*f) () = $ac_func;
69887 #endif
69888 #ifdef __cplusplus
69889 }
69890 #endif
69891
69892 int
69893 main ()
69894 {
69895 return f != $ac_func;
69896   ;
69897   return 0;
69898 }
69899 _ACEOF
69900 rm -f conftest.$ac_objext conftest$ac_exeext
69901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69902   (eval $ac_link) 2>&5
69903   ac_status=$?
69904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69905   (exit $ac_status); } &&
69906          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
69912   eval "$as_ac_var=yes"
69913 else
69914   echo "$as_me: failed program was:" >&5
69915 sed 's/^/| /' conftest.$ac_ext >&5
69916
69917 eval "$as_ac_var=no"
69918 fi
69919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
69920 fi
69921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69923 if test `eval echo '${'$as_ac_var'}'` = yes; then
69924   cat >>confdefs.h <<_ACEOF
69925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69926 _ACEOF
69927
69928 else
69929   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
69930 fi
69931 done
69932
69933
69934
69935 for ac_func in __signbit
69936 do
69937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69938 echo "$as_me:$LINENO: checking for $ac_func" >&5
69939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69940 if eval "test \"\${$as_ac_var+set}\" = set"; then
69941   echo $ECHO_N "(cached) $ECHO_C" >&6
69942 else
69943   if test x$gcc_no_link = xyes; then
69944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69946    { (exit 1); exit 1; }; }
69947 fi
69948 cat >conftest.$ac_ext <<_ACEOF
69949 #line $LINENO "configure"
69950 /* confdefs.h.  */
69951 _ACEOF
69952 cat confdefs.h >>conftest.$ac_ext
69953 cat >>conftest.$ac_ext <<_ACEOF
69954 /* end confdefs.h.  */
69955 /* System header to define __stub macros and hopefully few prototypes,
69956     which can conflict with char $ac_func (); below.
69957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69958     <limits.h> exists even on freestanding compilers.  */
69959 #ifdef __STDC__
69960 # include <limits.h>
69961 #else
69962 # include <assert.h>
69963 #endif
69964 /* Override any gcc2 internal prototype to avoid an error.  */
69965 #ifdef __cplusplus
69966 extern "C"
69967 {
69968 #endif
69969 /* We use char because int might match the return type of a gcc2
69970    builtin and then its argument prototype would still apply.  */
69971 char $ac_func ();
69972 /* The GNU C library defines this for functions which it implements
69973     to always fail with ENOSYS.  Some functions are actually named
69974     something starting with __ and the normal name is an alias.  */
69975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69976 choke me
69977 #else
69978 char (*f) () = $ac_func;
69979 #endif
69980 #ifdef __cplusplus
69981 }
69982 #endif
69983
69984 int
69985 main ()
69986 {
69987 return f != $ac_func;
69988   ;
69989   return 0;
69990 }
69991 _ACEOF
69992 rm -f conftest.$ac_objext conftest$ac_exeext
69993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69994   (eval $ac_link) 2>&5
69995   ac_status=$?
69996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69997   (exit $ac_status); } &&
69998          { ac_try='test -s conftest$ac_exeext'
69999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70000   (eval $ac_try) 2>&5
70001   ac_status=$?
70002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70003   (exit $ac_status); }; }; then
70004   eval "$as_ac_var=yes"
70005 else
70006   echo "$as_me: failed program was:" >&5
70007 sed 's/^/| /' conftest.$ac_ext >&5
70008
70009 eval "$as_ac_var=no"
70010 fi
70011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70012 fi
70013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70015 if test `eval echo '${'$as_ac_var'}'` = yes; then
70016   cat >>confdefs.h <<_ACEOF
70017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70018 _ACEOF
70019
70020 else
70021   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
70022 fi
70023 done
70024
70025
70026
70027 for ac_func in __signbitf
70028 do
70029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70030 echo "$as_me:$LINENO: checking for $ac_func" >&5
70031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70032 if eval "test \"\${$as_ac_var+set}\" = set"; then
70033   echo $ECHO_N "(cached) $ECHO_C" >&6
70034 else
70035   if test x$gcc_no_link = xyes; then
70036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70038    { (exit 1); exit 1; }; }
70039 fi
70040 cat >conftest.$ac_ext <<_ACEOF
70041 #line $LINENO "configure"
70042 /* confdefs.h.  */
70043 _ACEOF
70044 cat confdefs.h >>conftest.$ac_ext
70045 cat >>conftest.$ac_ext <<_ACEOF
70046 /* end confdefs.h.  */
70047 /* System header to define __stub macros and hopefully few prototypes,
70048     which can conflict with char $ac_func (); below.
70049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70050     <limits.h> exists even on freestanding compilers.  */
70051 #ifdef __STDC__
70052 # include <limits.h>
70053 #else
70054 # include <assert.h>
70055 #endif
70056 /* Override any gcc2 internal prototype to avoid an error.  */
70057 #ifdef __cplusplus
70058 extern "C"
70059 {
70060 #endif
70061 /* We use char because int might match the return type of a gcc2
70062    builtin and then its argument prototype would still apply.  */
70063 char $ac_func ();
70064 /* The GNU C library defines this for functions which it implements
70065     to always fail with ENOSYS.  Some functions are actually named
70066     something starting with __ and the normal name is an alias.  */
70067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70068 choke me
70069 #else
70070 char (*f) () = $ac_func;
70071 #endif
70072 #ifdef __cplusplus
70073 }
70074 #endif
70075
70076 int
70077 main ()
70078 {
70079 return f != $ac_func;
70080   ;
70081   return 0;
70082 }
70083 _ACEOF
70084 rm -f conftest.$ac_objext conftest$ac_exeext
70085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70086   (eval $ac_link) 2>&5
70087   ac_status=$?
70088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70089   (exit $ac_status); } &&
70090          { ac_try='test -s conftest$ac_exeext'
70091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70092   (eval $ac_try) 2>&5
70093   ac_status=$?
70094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70095   (exit $ac_status); }; }; then
70096   eval "$as_ac_var=yes"
70097 else
70098   echo "$as_me: failed program was:" >&5
70099 sed 's/^/| /' conftest.$ac_ext >&5
70100
70101 eval "$as_ac_var=no"
70102 fi
70103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70104 fi
70105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70107 if test `eval echo '${'$as_ac_var'}'` = yes; then
70108   cat >>confdefs.h <<_ACEOF
70109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70110 _ACEOF
70111
70112 else
70113   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
70114 fi
70115 done
70116
70117
70118           if test x$ac_cv_func_copysignl = x"yes"; then
70119
70120 for ac_func in __signbitl
70121 do
70122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70123 echo "$as_me:$LINENO: checking for $ac_func" >&5
70124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70125 if eval "test \"\${$as_ac_var+set}\" = set"; then
70126   echo $ECHO_N "(cached) $ECHO_C" >&6
70127 else
70128   if test x$gcc_no_link = xyes; then
70129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70131    { (exit 1); exit 1; }; }
70132 fi
70133 cat >conftest.$ac_ext <<_ACEOF
70134 #line $LINENO "configure"
70135 /* confdefs.h.  */
70136 _ACEOF
70137 cat confdefs.h >>conftest.$ac_ext
70138 cat >>conftest.$ac_ext <<_ACEOF
70139 /* end confdefs.h.  */
70140 /* System header to define __stub macros and hopefully few prototypes,
70141     which can conflict with char $ac_func (); below.
70142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70143     <limits.h> exists even on freestanding compilers.  */
70144 #ifdef __STDC__
70145 # include <limits.h>
70146 #else
70147 # include <assert.h>
70148 #endif
70149 /* Override any gcc2 internal prototype to avoid an error.  */
70150 #ifdef __cplusplus
70151 extern "C"
70152 {
70153 #endif
70154 /* We use char because int might match the return type of a gcc2
70155    builtin and then its argument prototype would still apply.  */
70156 char $ac_func ();
70157 /* The GNU C library defines this for functions which it implements
70158     to always fail with ENOSYS.  Some functions are actually named
70159     something starting with __ and the normal name is an alias.  */
70160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70161 choke me
70162 #else
70163 char (*f) () = $ac_func;
70164 #endif
70165 #ifdef __cplusplus
70166 }
70167 #endif
70168
70169 int
70170 main ()
70171 {
70172 return f != $ac_func;
70173   ;
70174   return 0;
70175 }
70176 _ACEOF
70177 rm -f conftest.$ac_objext conftest$ac_exeext
70178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70179   (eval $ac_link) 2>&5
70180   ac_status=$?
70181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70182   (exit $ac_status); } &&
70183          { ac_try='test -s conftest$ac_exeext'
70184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70185   (eval $ac_try) 2>&5
70186   ac_status=$?
70187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70188   (exit $ac_status); }; }; then
70189   eval "$as_ac_var=yes"
70190 else
70191   echo "$as_me: failed program was:" >&5
70192 sed 's/^/| /' conftest.$ac_ext >&5
70193
70194 eval "$as_ac_var=no"
70195 fi
70196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70197 fi
70198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70200 if test `eval echo '${'$as_ac_var'}'` = yes; then
70201   cat >>confdefs.h <<_ACEOF
70202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70203 _ACEOF
70204
70205 else
70206   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
70207 fi
70208 done
70209
70210   fi
70211
70212   # Used in libmath/Makefile.am.
70213   if test -n "$LIBMATHOBJS"; then
70214     need_libmath=yes
70215   fi
70216
70217
70218
70219   # Test wchar.h for mbstate_t, which is needed for char_traits and
70220   # others even if wchar_t support is not on.
70221   echo "$as_me:$LINENO: checking for mbstate_t" >&5
70222 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
70223   cat >conftest.$ac_ext <<_ACEOF
70224 #line $LINENO "configure"
70225 /* confdefs.h.  */
70226 _ACEOF
70227 cat confdefs.h >>conftest.$ac_ext
70228 cat >>conftest.$ac_ext <<_ACEOF
70229 /* end confdefs.h.  */
70230 #include <wchar.h>
70231 int
70232 main ()
70233 {
70234 mbstate_t teststate;
70235   ;
70236   return 0;
70237 }
70238 _ACEOF
70239 rm -f conftest.$ac_objext
70240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70241   (eval $ac_compile) 2>&5
70242   ac_status=$?
70243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70244   (exit $ac_status); } &&
70245          { ac_try='test -s conftest.$ac_objext'
70246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70247   (eval $ac_try) 2>&5
70248   ac_status=$?
70249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70250   (exit $ac_status); }; }; then
70251   have_mbstate_t=yes
70252 else
70253   echo "$as_me: failed program was:" >&5
70254 sed 's/^/| /' conftest.$ac_ext >&5
70255
70256 have_mbstate_t=no
70257 fi
70258 rm -f conftest.$ac_objext conftest.$ac_ext
70259   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
70260 echo "${ECHO_T}$have_mbstate_t" >&6
70261   if test x"$have_mbstate_t" = xyes; then
70262     cat >>confdefs.h <<\_ACEOF
70263 #define HAVE_MBSTATE_T 1
70264 _ACEOF
70265
70266   fi
70267
70268   # Sanity check for existence of ISO C99 headers for extended encoding.
70269
70270 for ac_header in wchar.h
70271 do
70272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70274   echo "$as_me:$LINENO: checking for $ac_header" >&5
70275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70277   echo $ECHO_N "(cached) $ECHO_C" >&6
70278 fi
70279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70281 else
70282   # Is the header compilable?
70283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70285 cat >conftest.$ac_ext <<_ACEOF
70286 #line $LINENO "configure"
70287 /* confdefs.h.  */
70288 _ACEOF
70289 cat confdefs.h >>conftest.$ac_ext
70290 cat >>conftest.$ac_ext <<_ACEOF
70291 /* end confdefs.h.  */
70292 $ac_includes_default
70293 #include <$ac_header>
70294 _ACEOF
70295 rm -f conftest.$ac_objext
70296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70297   (eval $ac_compile) 2>&5
70298   ac_status=$?
70299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70300   (exit $ac_status); } &&
70301          { ac_try='test -s conftest.$ac_objext'
70302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70303   (eval $ac_try) 2>&5
70304   ac_status=$?
70305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70306   (exit $ac_status); }; }; then
70307   ac_header_compiler=yes
70308 else
70309   echo "$as_me: failed program was:" >&5
70310 sed 's/^/| /' conftest.$ac_ext >&5
70311
70312 ac_header_compiler=no
70313 fi
70314 rm -f conftest.$ac_objext conftest.$ac_ext
70315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70316 echo "${ECHO_T}$ac_header_compiler" >&6
70317
70318 # Is the header present?
70319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70321 cat >conftest.$ac_ext <<_ACEOF
70322 #line $LINENO "configure"
70323 /* confdefs.h.  */
70324 _ACEOF
70325 cat confdefs.h >>conftest.$ac_ext
70326 cat >>conftest.$ac_ext <<_ACEOF
70327 /* end confdefs.h.  */
70328 #include <$ac_header>
70329 _ACEOF
70330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70331   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70332   ac_status=$?
70333   grep -v '^ *+' conftest.er1 >conftest.err
70334   rm -f conftest.er1
70335   cat conftest.err >&5
70336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337   (exit $ac_status); } >/dev/null; then
70338   if test -s conftest.err; then
70339     ac_cpp_err=$ac_c_preproc_warn_flag
70340   else
70341     ac_cpp_err=
70342   fi
70343 else
70344   ac_cpp_err=yes
70345 fi
70346 if test -z "$ac_cpp_err"; then
70347   ac_header_preproc=yes
70348 else
70349   echo "$as_me: failed program was:" >&5
70350 sed 's/^/| /' conftest.$ac_ext >&5
70351
70352   ac_header_preproc=no
70353 fi
70354 rm -f conftest.err conftest.$ac_ext
70355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70356 echo "${ECHO_T}$ac_header_preproc" >&6
70357
70358 # So?  What about this header?
70359 case $ac_header_compiler:$ac_header_preproc in
70360   yes:no )
70361     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70363     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70365     (
70366       cat <<\_ASBOX
70367 ## ------------------------------------ ##
70368 ## Report this to bug-autoconf@gnu.org. ##
70369 ## ------------------------------------ ##
70370 _ASBOX
70371     ) |
70372       sed "s/^/$as_me: WARNING:     /" >&2
70373     ;;
70374   no:yes )
70375     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70377     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
70378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
70379     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70381     (
70382       cat <<\_ASBOX
70383 ## ------------------------------------ ##
70384 ## Report this to bug-autoconf@gnu.org. ##
70385 ## ------------------------------------ ##
70386 _ASBOX
70387     ) |
70388       sed "s/^/$as_me: WARNING:     /" >&2
70389     ;;
70390 esac
70391 echo "$as_me:$LINENO: checking for $ac_header" >&5
70392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70394   echo $ECHO_N "(cached) $ECHO_C" >&6
70395 else
70396   eval "$as_ac_Header=$ac_header_preproc"
70397 fi
70398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70400
70401 fi
70402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70403   cat >>confdefs.h <<_ACEOF
70404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70405 _ACEOF
70406  ac_has_wchar_h=yes
70407 else
70408   ac_has_wchar_h=no
70409 fi
70410
70411 done
70412
70413
70414 for ac_header in wctype.h
70415 do
70416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
70417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70418   echo "$as_me:$LINENO: checking for $ac_header" >&5
70419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70421   echo $ECHO_N "(cached) $ECHO_C" >&6
70422 fi
70423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70425 else
70426   # Is the header compilable?
70427 echo "$as_me:$LINENO: checking $ac_header usability" >&5
70428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
70429 cat >conftest.$ac_ext <<_ACEOF
70430 #line $LINENO "configure"
70431 /* confdefs.h.  */
70432 _ACEOF
70433 cat confdefs.h >>conftest.$ac_ext
70434 cat >>conftest.$ac_ext <<_ACEOF
70435 /* end confdefs.h.  */
70436 $ac_includes_default
70437 #include <$ac_header>
70438 _ACEOF
70439 rm -f conftest.$ac_objext
70440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70441   (eval $ac_compile) 2>&5
70442   ac_status=$?
70443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70444   (exit $ac_status); } &&
70445          { ac_try='test -s conftest.$ac_objext'
70446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70447   (eval $ac_try) 2>&5
70448   ac_status=$?
70449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70450   (exit $ac_status); }; }; then
70451   ac_header_compiler=yes
70452 else
70453   echo "$as_me: failed program was:" >&5
70454 sed 's/^/| /' conftest.$ac_ext >&5
70455
70456 ac_header_compiler=no
70457 fi
70458 rm -f conftest.$ac_objext conftest.$ac_ext
70459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
70460 echo "${ECHO_T}$ac_header_compiler" >&6
70461
70462 # Is the header present?
70463 echo "$as_me:$LINENO: checking $ac_header presence" >&5
70464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
70465 cat >conftest.$ac_ext <<_ACEOF
70466 #line $LINENO "configure"
70467 /* confdefs.h.  */
70468 _ACEOF
70469 cat confdefs.h >>conftest.$ac_ext
70470 cat >>conftest.$ac_ext <<_ACEOF
70471 /* end confdefs.h.  */
70472 #include <$ac_header>
70473 _ACEOF
70474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
70475   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
70476   ac_status=$?
70477   grep -v '^ *+' conftest.er1 >conftest.err
70478   rm -f conftest.er1
70479   cat conftest.err >&5
70480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70481   (exit $ac_status); } >/dev/null; then
70482   if test -s conftest.err; then
70483     ac_cpp_err=$ac_c_preproc_warn_flag
70484   else
70485     ac_cpp_err=
70486   fi
70487 else
70488   ac_cpp_err=yes
70489 fi
70490 if test -z "$ac_cpp_err"; then
70491   ac_header_preproc=yes
70492 else
70493   echo "$as_me: failed program was:" >&5
70494 sed 's/^/| /' conftest.$ac_ext >&5
70495
70496   ac_header_preproc=no
70497 fi
70498 rm -f conftest.err conftest.$ac_ext
70499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
70500 echo "${ECHO_T}$ac_header_preproc" >&6
70501
70502 # So?  What about this header?
70503 case $ac_header_compiler:$ac_header_preproc in
70504   yes:no )
70505     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
70506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
70507     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70509     (
70510       cat <<\_ASBOX
70511 ## ------------------------------------ ##
70512 ## Report this to bug-autoconf@gnu.org. ##
70513 ## ------------------------------------ ##
70514 _ASBOX
70515     ) |
70516       sed "s/^/$as_me: WARNING:     /" >&2
70517     ;;
70518   no:yes )
70519     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
70520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
70521     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
70522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
70523     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
70524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
70525     (
70526       cat <<\_ASBOX
70527 ## ------------------------------------ ##
70528 ## Report this to bug-autoconf@gnu.org. ##
70529 ## ------------------------------------ ##
70530 _ASBOX
70531     ) |
70532       sed "s/^/$as_me: WARNING:     /" >&2
70533     ;;
70534 esac
70535 echo "$as_me:$LINENO: checking for $ac_header" >&5
70536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
70537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
70538   echo $ECHO_N "(cached) $ECHO_C" >&6
70539 else
70540   eval "$as_ac_Header=$ac_header_preproc"
70541 fi
70542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
70543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
70544
70545 fi
70546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
70547   cat >>confdefs.h <<_ACEOF
70548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
70549 _ACEOF
70550  ac_has_wctype_h=yes
70551 else
70552   ac_has_wctype_h=no
70553 fi
70554
70555 done
70556
70557
70558   # Only continue checking if the ISO C99 headers exist and support is on.
70559   if test x"$ac_has_wchar_h" = xyes &&
70560      test x"$ac_has_wctype_h" = xyes &&
70561      test x"$enable_c_mbchar" != xno; then
70562
70563     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
70564     # numeric_limits can instantiate type_traits<wchar_t>
70565     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
70566 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
70567     cat >conftest.$ac_ext <<_ACEOF
70568 #line $LINENO "configure"
70569 /* confdefs.h.  */
70570 _ACEOF
70571 cat confdefs.h >>conftest.$ac_ext
70572 cat >>conftest.$ac_ext <<_ACEOF
70573 /* end confdefs.h.  */
70574 #include <wchar.h>
70575 int
70576 main ()
70577 {
70578 int i = WCHAR_MIN; int j = WCHAR_MAX;
70579   ;
70580   return 0;
70581 }
70582 _ACEOF
70583 rm -f conftest.$ac_objext
70584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70585   (eval $ac_compile) 2>&5
70586   ac_status=$?
70587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588   (exit $ac_status); } &&
70589          { ac_try='test -s conftest.$ac_objext'
70590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70591   (eval $ac_try) 2>&5
70592   ac_status=$?
70593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70594   (exit $ac_status); }; }; then
70595   has_wchar_minmax=yes
70596 else
70597   echo "$as_me: failed program was:" >&5
70598 sed 's/^/| /' conftest.$ac_ext >&5
70599
70600 has_wchar_minmax=no
70601 fi
70602 rm -f conftest.$ac_objext conftest.$ac_ext
70603     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
70604 echo "${ECHO_T}$has_wchar_minmax" >&6
70605
70606     # Test wchar.h for WEOF, which is what we use to determine whether
70607     # to specialize for char_traits<wchar_t> or not.
70608     echo "$as_me:$LINENO: checking for WEOF" >&5
70609 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
70610     cat >conftest.$ac_ext <<_ACEOF
70611 #line $LINENO "configure"
70612 /* confdefs.h.  */
70613 _ACEOF
70614 cat confdefs.h >>conftest.$ac_ext
70615 cat >>conftest.$ac_ext <<_ACEOF
70616 /* end confdefs.h.  */
70617
70618       #include <wchar.h>
70619       #include <stddef.h>
70620 int
70621 main ()
70622 {
70623 wint_t i = WEOF;
70624   ;
70625   return 0;
70626 }
70627 _ACEOF
70628 rm -f conftest.$ac_objext
70629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70630   (eval $ac_compile) 2>&5
70631   ac_status=$?
70632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70633   (exit $ac_status); } &&
70634          { ac_try='test -s conftest.$ac_objext'
70635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70636   (eval $ac_try) 2>&5
70637   ac_status=$?
70638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70639   (exit $ac_status); }; }; then
70640   has_weof=yes
70641 else
70642   echo "$as_me: failed program was:" >&5
70643 sed 's/^/| /' conftest.$ac_ext >&5
70644
70645 has_weof=no
70646 fi
70647 rm -f conftest.$ac_objext conftest.$ac_ext
70648     echo "$as_me:$LINENO: result: $has_weof" >&5
70649 echo "${ECHO_T}$has_weof" >&6
70650
70651     # Tests for wide character functions used in char_traits<wchar_t>.
70652     ac_wfuncs=yes
70653
70654
70655
70656
70657
70658
70659 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
70660 do
70661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70662 echo "$as_me:$LINENO: checking for $ac_func" >&5
70663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70664 if eval "test \"\${$as_ac_var+set}\" = set"; then
70665   echo $ECHO_N "(cached) $ECHO_C" >&6
70666 else
70667   if test x$gcc_no_link = xyes; then
70668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70670    { (exit 1); exit 1; }; }
70671 fi
70672 cat >conftest.$ac_ext <<_ACEOF
70673 #line $LINENO "configure"
70674 /* confdefs.h.  */
70675 _ACEOF
70676 cat confdefs.h >>conftest.$ac_ext
70677 cat >>conftest.$ac_ext <<_ACEOF
70678 /* end confdefs.h.  */
70679 /* System header to define __stub macros and hopefully few prototypes,
70680     which can conflict with char $ac_func (); below.
70681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70682     <limits.h> exists even on freestanding compilers.  */
70683 #ifdef __STDC__
70684 # include <limits.h>
70685 #else
70686 # include <assert.h>
70687 #endif
70688 /* Override any gcc2 internal prototype to avoid an error.  */
70689 #ifdef __cplusplus
70690 extern "C"
70691 {
70692 #endif
70693 /* We use char because int might match the return type of a gcc2
70694    builtin and then its argument prototype would still apply.  */
70695 char $ac_func ();
70696 /* The GNU C library defines this for functions which it implements
70697     to always fail with ENOSYS.  Some functions are actually named
70698     something starting with __ and the normal name is an alias.  */
70699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70700 choke me
70701 #else
70702 char (*f) () = $ac_func;
70703 #endif
70704 #ifdef __cplusplus
70705 }
70706 #endif
70707
70708 int
70709 main ()
70710 {
70711 return f != $ac_func;
70712   ;
70713   return 0;
70714 }
70715 _ACEOF
70716 rm -f conftest.$ac_objext conftest$ac_exeext
70717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70718   (eval $ac_link) 2>&5
70719   ac_status=$?
70720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70721   (exit $ac_status); } &&
70722          { ac_try='test -s conftest$ac_exeext'
70723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70724   (eval $ac_try) 2>&5
70725   ac_status=$?
70726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70727   (exit $ac_status); }; }; then
70728   eval "$as_ac_var=yes"
70729 else
70730   echo "$as_me: failed program was:" >&5
70731 sed 's/^/| /' conftest.$ac_ext >&5
70732
70733 eval "$as_ac_var=no"
70734 fi
70735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70736 fi
70737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70739 if test `eval echo '${'$as_ac_var'}'` = yes; then
70740   cat >>confdefs.h <<_ACEOF
70741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70742 _ACEOF
70743
70744 else
70745   ac_wfuncs=no
70746 fi
70747 done
70748
70749
70750     # Checks for names injected into std:: by the c_std headers.
70751
70752
70753
70754
70755
70756
70757
70758
70759
70760
70761
70762
70763
70764
70765
70766
70767
70768
70769
70770
70771
70772
70773
70774
70775
70776
70777
70778
70779
70780
70781
70782
70783
70784
70785
70786
70787
70788
70789
70790
70791
70792
70793
70794
70795
70796
70797 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
70798     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
70799     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
70800     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
70801     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
70802     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
70803 do
70804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70805 echo "$as_me:$LINENO: checking for $ac_func" >&5
70806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70807 if eval "test \"\${$as_ac_var+set}\" = set"; then
70808   echo $ECHO_N "(cached) $ECHO_C" >&6
70809 else
70810   if test x$gcc_no_link = xyes; then
70811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70813    { (exit 1); exit 1; }; }
70814 fi
70815 cat >conftest.$ac_ext <<_ACEOF
70816 #line $LINENO "configure"
70817 /* confdefs.h.  */
70818 _ACEOF
70819 cat confdefs.h >>conftest.$ac_ext
70820 cat >>conftest.$ac_ext <<_ACEOF
70821 /* end confdefs.h.  */
70822 /* System header to define __stub macros and hopefully few prototypes,
70823     which can conflict with char $ac_func (); below.
70824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70825     <limits.h> exists even on freestanding compilers.  */
70826 #ifdef __STDC__
70827 # include <limits.h>
70828 #else
70829 # include <assert.h>
70830 #endif
70831 /* Override any gcc2 internal prototype to avoid an error.  */
70832 #ifdef __cplusplus
70833 extern "C"
70834 {
70835 #endif
70836 /* We use char because int might match the return type of a gcc2
70837    builtin and then its argument prototype would still apply.  */
70838 char $ac_func ();
70839 /* The GNU C library defines this for functions which it implements
70840     to always fail with ENOSYS.  Some functions are actually named
70841     something starting with __ and the normal name is an alias.  */
70842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70843 choke me
70844 #else
70845 char (*f) () = $ac_func;
70846 #endif
70847 #ifdef __cplusplus
70848 }
70849 #endif
70850
70851 int
70852 main ()
70853 {
70854 return f != $ac_func;
70855   ;
70856   return 0;
70857 }
70858 _ACEOF
70859 rm -f conftest.$ac_objext conftest$ac_exeext
70860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70861   (eval $ac_link) 2>&5
70862   ac_status=$?
70863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70864   (exit $ac_status); } &&
70865          { ac_try='test -s conftest$ac_exeext'
70866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70867   (eval $ac_try) 2>&5
70868   ac_status=$?
70869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870   (exit $ac_status); }; }; then
70871   eval "$as_ac_var=yes"
70872 else
70873   echo "$as_me: failed program was:" >&5
70874 sed 's/^/| /' conftest.$ac_ext >&5
70875
70876 eval "$as_ac_var=no"
70877 fi
70878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70879 fi
70880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70882 if test `eval echo '${'$as_ac_var'}'` = yes; then
70883   cat >>confdefs.h <<_ACEOF
70884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70885 _ACEOF
70886
70887 else
70888   ac_wfuncs=no
70889 fi
70890 done
70891
70892
70893     # Checks for wide character functions that are not required
70894     # for basic wchar_t support.  Don't disable support if they are missing.
70895     # Injection of these is wrapped with guard macros.
70896
70897
70898
70899
70900
70901 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
70902 do
70903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70904 echo "$as_me:$LINENO: checking for $ac_func" >&5
70905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70906 if eval "test \"\${$as_ac_var+set}\" = set"; then
70907   echo $ECHO_N "(cached) $ECHO_C" >&6
70908 else
70909   if test x$gcc_no_link = xyes; then
70910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70912    { (exit 1); exit 1; }; }
70913 fi
70914 cat >conftest.$ac_ext <<_ACEOF
70915 #line $LINENO "configure"
70916 /* confdefs.h.  */
70917 _ACEOF
70918 cat confdefs.h >>conftest.$ac_ext
70919 cat >>conftest.$ac_ext <<_ACEOF
70920 /* end confdefs.h.  */
70921 /* System header to define __stub macros and hopefully few prototypes,
70922     which can conflict with char $ac_func (); below.
70923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70924     <limits.h> exists even on freestanding compilers.  */
70925 #ifdef __STDC__
70926 # include <limits.h>
70927 #else
70928 # include <assert.h>
70929 #endif
70930 /* Override any gcc2 internal prototype to avoid an error.  */
70931 #ifdef __cplusplus
70932 extern "C"
70933 {
70934 #endif
70935 /* We use char because int might match the return type of a gcc2
70936    builtin and then its argument prototype would still apply.  */
70937 char $ac_func ();
70938 /* The GNU C library defines this for functions which it implements
70939     to always fail with ENOSYS.  Some functions are actually named
70940     something starting with __ and the normal name is an alias.  */
70941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70942 choke me
70943 #else
70944 char (*f) () = $ac_func;
70945 #endif
70946 #ifdef __cplusplus
70947 }
70948 #endif
70949
70950 int
70951 main ()
70952 {
70953 return f != $ac_func;
70954   ;
70955   return 0;
70956 }
70957 _ACEOF
70958 rm -f conftest.$ac_objext conftest$ac_exeext
70959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70960   (eval $ac_link) 2>&5
70961   ac_status=$?
70962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70963   (exit $ac_status); } &&
70964          { ac_try='test -s conftest$ac_exeext'
70965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70966   (eval $ac_try) 2>&5
70967   ac_status=$?
70968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70969   (exit $ac_status); }; }; then
70970   eval "$as_ac_var=yes"
70971 else
70972   echo "$as_me: failed program was:" >&5
70973 sed 's/^/| /' conftest.$ac_ext >&5
70974
70975 eval "$as_ac_var=no"
70976 fi
70977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
70978 fi
70979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70981 if test `eval echo '${'$as_ac_var'}'` = yes; then
70982   cat >>confdefs.h <<_ACEOF
70983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70984 _ACEOF
70985
70986 fi
70987 done
70988
70989
70990     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
70991 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
70992     if test x"$has_weof" = xyes &&
70993        test x"$has_wchar_minmax" = xyes &&
70994        test x"$ac_wfuncs" = xyes;
70995     then
70996       ac_isoC99_wchar_t=yes
70997     else
70998       ac_isoC99_wchar_t=no
70999     fi
71000     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
71001 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
71002
71003     # Use iconv for wchar_t to char conversions. As such, check for
71004     # X/Open Portability Guide, version 2 features (XPG2).
71005     if test "${ac_cv_header_iconv_h+set}" = set; then
71006   echo "$as_me:$LINENO: checking for iconv.h" >&5
71007 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71008 if test "${ac_cv_header_iconv_h+set}" = set; then
71009   echo $ECHO_N "(cached) $ECHO_C" >&6
71010 fi
71011 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71012 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71013 else
71014   # Is the header compilable?
71015 echo "$as_me:$LINENO: checking iconv.h usability" >&5
71016 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
71017 cat >conftest.$ac_ext <<_ACEOF
71018 #line $LINENO "configure"
71019 /* confdefs.h.  */
71020 _ACEOF
71021 cat confdefs.h >>conftest.$ac_ext
71022 cat >>conftest.$ac_ext <<_ACEOF
71023 /* end confdefs.h.  */
71024 $ac_includes_default
71025 #include <iconv.h>
71026 _ACEOF
71027 rm -f conftest.$ac_objext
71028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71029   (eval $ac_compile) 2>&5
71030   ac_status=$?
71031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032   (exit $ac_status); } &&
71033          { ac_try='test -s conftest.$ac_objext'
71034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71035   (eval $ac_try) 2>&5
71036   ac_status=$?
71037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71038   (exit $ac_status); }; }; then
71039   ac_header_compiler=yes
71040 else
71041   echo "$as_me: failed program was:" >&5
71042 sed 's/^/| /' conftest.$ac_ext >&5
71043
71044 ac_header_compiler=no
71045 fi
71046 rm -f conftest.$ac_objext conftest.$ac_ext
71047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71048 echo "${ECHO_T}$ac_header_compiler" >&6
71049
71050 # Is the header present?
71051 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71052 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71053 cat >conftest.$ac_ext <<_ACEOF
71054 #line $LINENO "configure"
71055 /* confdefs.h.  */
71056 _ACEOF
71057 cat confdefs.h >>conftest.$ac_ext
71058 cat >>conftest.$ac_ext <<_ACEOF
71059 /* end confdefs.h.  */
71060 #include <iconv.h>
71061 _ACEOF
71062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71063   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71064   ac_status=$?
71065   grep -v '^ *+' conftest.er1 >conftest.err
71066   rm -f conftest.er1
71067   cat conftest.err >&5
71068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069   (exit $ac_status); } >/dev/null; then
71070   if test -s conftest.err; then
71071     ac_cpp_err=$ac_c_preproc_warn_flag
71072   else
71073     ac_cpp_err=
71074   fi
71075 else
71076   ac_cpp_err=yes
71077 fi
71078 if test -z "$ac_cpp_err"; then
71079   ac_header_preproc=yes
71080 else
71081   echo "$as_me: failed program was:" >&5
71082 sed 's/^/| /' conftest.$ac_ext >&5
71083
71084   ac_header_preproc=no
71085 fi
71086 rm -f conftest.err conftest.$ac_ext
71087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71088 echo "${ECHO_T}$ac_header_preproc" >&6
71089
71090 # So?  What about this header?
71091 case $ac_header_compiler:$ac_header_preproc in
71092   yes:no )
71093     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71094 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71095     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71096 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71097     (
71098       cat <<\_ASBOX
71099 ## ------------------------------------ ##
71100 ## Report this to bug-autoconf@gnu.org. ##
71101 ## ------------------------------------ ##
71102 _ASBOX
71103     ) |
71104       sed "s/^/$as_me: WARNING:     /" >&2
71105     ;;
71106   no:yes )
71107     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71108 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71109     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
71110 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
71111     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71112 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71113     (
71114       cat <<\_ASBOX
71115 ## ------------------------------------ ##
71116 ## Report this to bug-autoconf@gnu.org. ##
71117 ## ------------------------------------ ##
71118 _ASBOX
71119     ) |
71120       sed "s/^/$as_me: WARNING:     /" >&2
71121     ;;
71122 esac
71123 echo "$as_me:$LINENO: checking for iconv.h" >&5
71124 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71125 if test "${ac_cv_header_iconv_h+set}" = set; then
71126   echo $ECHO_N "(cached) $ECHO_C" >&6
71127 else
71128   ac_cv_header_iconv_h=$ac_header_preproc
71129 fi
71130 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71131 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71132
71133 fi
71134 if test $ac_cv_header_iconv_h = yes; then
71135   ac_has_iconv_h=yes
71136 else
71137   ac_has_iconv_h=no
71138 fi
71139
71140
71141     if test "${ac_cv_header_langinfo_h+set}" = set; then
71142   echo "$as_me:$LINENO: checking for langinfo.h" >&5
71143 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71144 if test "${ac_cv_header_langinfo_h+set}" = set; then
71145   echo $ECHO_N "(cached) $ECHO_C" >&6
71146 fi
71147 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71148 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71149 else
71150   # Is the header compilable?
71151 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71152 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71153 cat >conftest.$ac_ext <<_ACEOF
71154 #line $LINENO "configure"
71155 /* confdefs.h.  */
71156 _ACEOF
71157 cat confdefs.h >>conftest.$ac_ext
71158 cat >>conftest.$ac_ext <<_ACEOF
71159 /* end confdefs.h.  */
71160 $ac_includes_default
71161 #include <langinfo.h>
71162 _ACEOF
71163 rm -f conftest.$ac_objext
71164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71165   (eval $ac_compile) 2>&5
71166   ac_status=$?
71167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71168   (exit $ac_status); } &&
71169          { ac_try='test -s conftest.$ac_objext'
71170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71171   (eval $ac_try) 2>&5
71172   ac_status=$?
71173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71174   (exit $ac_status); }; }; then
71175   ac_header_compiler=yes
71176 else
71177   echo "$as_me: failed program was:" >&5
71178 sed 's/^/| /' conftest.$ac_ext >&5
71179
71180 ac_header_compiler=no
71181 fi
71182 rm -f conftest.$ac_objext conftest.$ac_ext
71183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71184 echo "${ECHO_T}$ac_header_compiler" >&6
71185
71186 # Is the header present?
71187 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71188 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71189 cat >conftest.$ac_ext <<_ACEOF
71190 #line $LINENO "configure"
71191 /* confdefs.h.  */
71192 _ACEOF
71193 cat confdefs.h >>conftest.$ac_ext
71194 cat >>conftest.$ac_ext <<_ACEOF
71195 /* end confdefs.h.  */
71196 #include <langinfo.h>
71197 _ACEOF
71198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71199   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71200   ac_status=$?
71201   grep -v '^ *+' conftest.er1 >conftest.err
71202   rm -f conftest.er1
71203   cat conftest.err >&5
71204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71205   (exit $ac_status); } >/dev/null; then
71206   if test -s conftest.err; then
71207     ac_cpp_err=$ac_c_preproc_warn_flag
71208   else
71209     ac_cpp_err=
71210   fi
71211 else
71212   ac_cpp_err=yes
71213 fi
71214 if test -z "$ac_cpp_err"; then
71215   ac_header_preproc=yes
71216 else
71217   echo "$as_me: failed program was:" >&5
71218 sed 's/^/| /' conftest.$ac_ext >&5
71219
71220   ac_header_preproc=no
71221 fi
71222 rm -f conftest.err conftest.$ac_ext
71223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71224 echo "${ECHO_T}$ac_header_preproc" >&6
71225
71226 # So?  What about this header?
71227 case $ac_header_compiler:$ac_header_preproc in
71228   yes:no )
71229     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71230 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71231     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71232 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71233     (
71234       cat <<\_ASBOX
71235 ## ------------------------------------ ##
71236 ## Report this to bug-autoconf@gnu.org. ##
71237 ## ------------------------------------ ##
71238 _ASBOX
71239     ) |
71240       sed "s/^/$as_me: WARNING:     /" >&2
71241     ;;
71242   no:yes )
71243     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71244 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71245     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
71246 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
71247     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71248 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71249     (
71250       cat <<\_ASBOX
71251 ## ------------------------------------ ##
71252 ## Report this to bug-autoconf@gnu.org. ##
71253 ## ------------------------------------ ##
71254 _ASBOX
71255     ) |
71256       sed "s/^/$as_me: WARNING:     /" >&2
71257     ;;
71258 esac
71259 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71260 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71261 if test "${ac_cv_header_langinfo_h+set}" = set; then
71262   echo $ECHO_N "(cached) $ECHO_C" >&6
71263 else
71264   ac_cv_header_langinfo_h=$ac_header_preproc
71265 fi
71266 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71267 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71268
71269 fi
71270 if test $ac_cv_header_langinfo_h = yes; then
71271   ac_has_langinfo_h=yes
71272 else
71273   ac_has_langinfo_h=no
71274 fi
71275
71276
71277
71278     # Check for existence of libiconv.a providing XPG2 wchar_t support.
71279     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71280 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71281 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71282   echo $ECHO_N "(cached) $ECHO_C" >&6
71283 else
71284   ac_check_lib_save_LIBS=$LIBS
71285 LIBS="-liconv  $LIBS"
71286 if test x$gcc_no_link = xyes; then
71287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71289    { (exit 1); exit 1; }; }
71290 fi
71291 cat >conftest.$ac_ext <<_ACEOF
71292 #line $LINENO "configure"
71293 /* confdefs.h.  */
71294 _ACEOF
71295 cat confdefs.h >>conftest.$ac_ext
71296 cat >>conftest.$ac_ext <<_ACEOF
71297 /* end confdefs.h.  */
71298
71299 /* Override any gcc2 internal prototype to avoid an error.  */
71300 #ifdef __cplusplus
71301 extern "C"
71302 #endif
71303 /* We use char because int might match the return type of a gcc2
71304    builtin and then its argument prototype would still apply.  */
71305 char iconv ();
71306 int
71307 main ()
71308 {
71309 iconv ();
71310   ;
71311   return 0;
71312 }
71313 _ACEOF
71314 rm -f conftest.$ac_objext conftest$ac_exeext
71315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71316   (eval $ac_link) 2>&5
71317   ac_status=$?
71318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71319   (exit $ac_status); } &&
71320          { ac_try='test -s conftest$ac_exeext'
71321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71322   (eval $ac_try) 2>&5
71323   ac_status=$?
71324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325   (exit $ac_status); }; }; then
71326   ac_cv_lib_iconv_iconv=yes
71327 else
71328   echo "$as_me: failed program was:" >&5
71329 sed 's/^/| /' conftest.$ac_ext >&5
71330
71331 ac_cv_lib_iconv_iconv=no
71332 fi
71333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71334 LIBS=$ac_check_lib_save_LIBS
71335 fi
71336 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71337 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71338 if test $ac_cv_lib_iconv_iconv = yes; then
71339   libiconv="-liconv"
71340 fi
71341
71342     ac_save_LIBS="$LIBS"
71343     LIBS="$LIBS $libiconv"
71344
71345
71346
71347
71348
71349 for ac_func in iconv_open iconv_close iconv nl_langinfo
71350 do
71351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71352 echo "$as_me:$LINENO: checking for $ac_func" >&5
71353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71354 if eval "test \"\${$as_ac_var+set}\" = set"; then
71355   echo $ECHO_N "(cached) $ECHO_C" >&6
71356 else
71357   if test x$gcc_no_link = xyes; then
71358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71360    { (exit 1); exit 1; }; }
71361 fi
71362 cat >conftest.$ac_ext <<_ACEOF
71363 #line $LINENO "configure"
71364 /* confdefs.h.  */
71365 _ACEOF
71366 cat confdefs.h >>conftest.$ac_ext
71367 cat >>conftest.$ac_ext <<_ACEOF
71368 /* end confdefs.h.  */
71369 /* System header to define __stub macros and hopefully few prototypes,
71370     which can conflict with char $ac_func (); below.
71371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71372     <limits.h> exists even on freestanding compilers.  */
71373 #ifdef __STDC__
71374 # include <limits.h>
71375 #else
71376 # include <assert.h>
71377 #endif
71378 /* Override any gcc2 internal prototype to avoid an error.  */
71379 #ifdef __cplusplus
71380 extern "C"
71381 {
71382 #endif
71383 /* We use char because int might match the return type of a gcc2
71384    builtin and then its argument prototype would still apply.  */
71385 char $ac_func ();
71386 /* The GNU C library defines this for functions which it implements
71387     to always fail with ENOSYS.  Some functions are actually named
71388     something starting with __ and the normal name is an alias.  */
71389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71390 choke me
71391 #else
71392 char (*f) () = $ac_func;
71393 #endif
71394 #ifdef __cplusplus
71395 }
71396 #endif
71397
71398 int
71399 main ()
71400 {
71401 return f != $ac_func;
71402   ;
71403   return 0;
71404 }
71405 _ACEOF
71406 rm -f conftest.$ac_objext conftest$ac_exeext
71407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71408   (eval $ac_link) 2>&5
71409   ac_status=$?
71410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71411   (exit $ac_status); } &&
71412          { ac_try='test -s conftest$ac_exeext'
71413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71414   (eval $ac_try) 2>&5
71415   ac_status=$?
71416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71417   (exit $ac_status); }; }; then
71418   eval "$as_ac_var=yes"
71419 else
71420   echo "$as_me: failed program was:" >&5
71421 sed 's/^/| /' conftest.$ac_ext >&5
71422
71423 eval "$as_ac_var=no"
71424 fi
71425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71426 fi
71427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71429 if test `eval echo '${'$as_ac_var'}'` = yes; then
71430   cat >>confdefs.h <<_ACEOF
71431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71432 _ACEOF
71433  ac_XPG2funcs=yes
71434 else
71435   ac_XPG2funcs=no
71436 fi
71437 done
71438
71439
71440     LIBS="$ac_save_LIBS"
71441
71442     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
71443 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
71444     if test x"$ac_has_iconv_h" = xyes &&
71445        test x"$ac_has_langinfo_h" = xyes &&
71446        test x"$ac_XPG2funcs" = xyes;
71447     then
71448       ac_XPG2_wchar_t=yes
71449     else
71450       ac_XPG2_wchar_t=no
71451     fi
71452     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
71453 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
71454
71455     # At the moment, only enable wchar_t specializations if all the
71456     # above support is present.
71457     if test x"$ac_isoC99_wchar_t" = xyes &&
71458        test x"$ac_XPG2_wchar_t" = xyes;
71459     then
71460       cat >>confdefs.h <<\_ACEOF
71461 #define _GLIBCXX_USE_WCHAR_T 1
71462 _ACEOF
71463
71464       enable_wchar_t=yes
71465     fi
71466   fi
71467   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
71468 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
71469   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
71470 echo "${ECHO_T}$enable_wchar_t" >&6
71471
71472
71473     # For LFS.
71474     cat >>confdefs.h <<\_ACEOF
71475 #define HAVE_INT64_T 1
71476 _ACEOF
71477
71478     case "$target" in
71479       *-uclinux*)
71480         # Don't enable LFS with uClibc
71481         ;;
71482       *)
71483         cat >>confdefs.h <<\_ACEOF
71484 #define _GLIBCXX_USE_LFS 1
71485 _ACEOF
71486
71487     esac
71488
71489     # For showmanyc_helper().
71490
71491
71492 for ac_header in sys/ioctl.h sys/filio.h
71493 do
71494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
71495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71496   echo "$as_me:$LINENO: checking for $ac_header" >&5
71497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71499   echo $ECHO_N "(cached) $ECHO_C" >&6
71500 fi
71501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71503 else
71504   # Is the header compilable?
71505 echo "$as_me:$LINENO: checking $ac_header usability" >&5
71506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
71507 cat >conftest.$ac_ext <<_ACEOF
71508 #line $LINENO "configure"
71509 /* confdefs.h.  */
71510 _ACEOF
71511 cat confdefs.h >>conftest.$ac_ext
71512 cat >>conftest.$ac_ext <<_ACEOF
71513 /* end confdefs.h.  */
71514 $ac_includes_default
71515 #include <$ac_header>
71516 _ACEOF
71517 rm -f conftest.$ac_objext
71518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71519   (eval $ac_compile) 2>&5
71520   ac_status=$?
71521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522   (exit $ac_status); } &&
71523          { ac_try='test -s conftest.$ac_objext'
71524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71525   (eval $ac_try) 2>&5
71526   ac_status=$?
71527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71528   (exit $ac_status); }; }; then
71529   ac_header_compiler=yes
71530 else
71531   echo "$as_me: failed program was:" >&5
71532 sed 's/^/| /' conftest.$ac_ext >&5
71533
71534 ac_header_compiler=no
71535 fi
71536 rm -f conftest.$ac_objext conftest.$ac_ext
71537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71538 echo "${ECHO_T}$ac_header_compiler" >&6
71539
71540 # Is the header present?
71541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
71542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
71543 cat >conftest.$ac_ext <<_ACEOF
71544 #line $LINENO "configure"
71545 /* confdefs.h.  */
71546 _ACEOF
71547 cat confdefs.h >>conftest.$ac_ext
71548 cat >>conftest.$ac_ext <<_ACEOF
71549 /* end confdefs.h.  */
71550 #include <$ac_header>
71551 _ACEOF
71552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71553   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71554   ac_status=$?
71555   grep -v '^ *+' conftest.er1 >conftest.err
71556   rm -f conftest.er1
71557   cat conftest.err >&5
71558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559   (exit $ac_status); } >/dev/null; then
71560   if test -s conftest.err; then
71561     ac_cpp_err=$ac_c_preproc_warn_flag
71562   else
71563     ac_cpp_err=
71564   fi
71565 else
71566   ac_cpp_err=yes
71567 fi
71568 if test -z "$ac_cpp_err"; then
71569   ac_header_preproc=yes
71570 else
71571   echo "$as_me: failed program was:" >&5
71572 sed 's/^/| /' conftest.$ac_ext >&5
71573
71574   ac_header_preproc=no
71575 fi
71576 rm -f conftest.err conftest.$ac_ext
71577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71578 echo "${ECHO_T}$ac_header_preproc" >&6
71579
71580 # So?  What about this header?
71581 case $ac_header_compiler:$ac_header_preproc in
71582   yes:no )
71583     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
71584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
71585     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71587     (
71588       cat <<\_ASBOX
71589 ## ------------------------------------ ##
71590 ## Report this to bug-autoconf@gnu.org. ##
71591 ## ------------------------------------ ##
71592 _ASBOX
71593     ) |
71594       sed "s/^/$as_me: WARNING:     /" >&2
71595     ;;
71596   no:yes )
71597     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
71598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
71599     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
71600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
71601     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71603     (
71604       cat <<\_ASBOX
71605 ## ------------------------------------ ##
71606 ## Report this to bug-autoconf@gnu.org. ##
71607 ## ------------------------------------ ##
71608 _ASBOX
71609     ) |
71610       sed "s/^/$as_me: WARNING:     /" >&2
71611     ;;
71612 esac
71613 echo "$as_me:$LINENO: checking for $ac_header" >&5
71614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71616   echo $ECHO_N "(cached) $ECHO_C" >&6
71617 else
71618   eval "$as_ac_Header=$ac_header_preproc"
71619 fi
71620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71622
71623 fi
71624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
71625   cat >>confdefs.h <<_ACEOF
71626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
71627 _ACEOF
71628
71629 fi
71630
71631 done
71632
71633
71634   if test "${glibcxx_cv_POLL+set}" = set; then
71635   echo $ECHO_N "(cached) $ECHO_C" >&6
71636 else
71637
71638     if test x$gcc_no_link = xyes; then
71639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71641    { (exit 1); exit 1; }; }
71642 fi
71643 cat >conftest.$ac_ext <<_ACEOF
71644 #line $LINENO "configure"
71645 /* confdefs.h.  */
71646 _ACEOF
71647 cat confdefs.h >>conftest.$ac_ext
71648 cat >>conftest.$ac_ext <<_ACEOF
71649 /* end confdefs.h.  */
71650 #include <poll.h>
71651 int
71652 main ()
71653 {
71654 struct pollfd pfd[1];
71655        pfd[0].events = POLLIN;
71656        poll(pfd, 1, 0);
71657   ;
71658   return 0;
71659 }
71660 _ACEOF
71661 rm -f conftest.$ac_objext conftest$ac_exeext
71662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71663   (eval $ac_link) 2>&5
71664   ac_status=$?
71665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71666   (exit $ac_status); } &&
71667          { ac_try='test -s conftest$ac_exeext'
71668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71669   (eval $ac_try) 2>&5
71670   ac_status=$?
71671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71672   (exit $ac_status); }; }; then
71673   glibcxx_cv_POLL=yes
71674 else
71675   echo "$as_me: failed program was:" >&5
71676 sed 's/^/| /' conftest.$ac_ext >&5
71677
71678 glibcxx_cv_POLL=no
71679 fi
71680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71681
71682 fi
71683
71684   if test $glibcxx_cv_POLL = yes; then
71685     cat >>confdefs.h <<\_ACEOF
71686 #define HAVE_POLL 1
71687 _ACEOF
71688
71689   fi
71690
71691
71692   if test "${glibcxx_cv_S_ISREG+set}" = set; then
71693   echo $ECHO_N "(cached) $ECHO_C" >&6
71694 else
71695
71696     if test x$gcc_no_link = xyes; then
71697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71699    { (exit 1); exit 1; }; }
71700 fi
71701 cat >conftest.$ac_ext <<_ACEOF
71702 #line $LINENO "configure"
71703 /* confdefs.h.  */
71704 _ACEOF
71705 cat confdefs.h >>conftest.$ac_ext
71706 cat >>conftest.$ac_ext <<_ACEOF
71707 /* end confdefs.h.  */
71708 #include <sys/stat.h>
71709 int
71710 main ()
71711 {
71712 struct stat buffer;
71713        fstat(0, &buffer);
71714        S_ISREG(buffer.st_mode);
71715   ;
71716   return 0;
71717 }
71718 _ACEOF
71719 rm -f conftest.$ac_objext conftest$ac_exeext
71720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71721   (eval $ac_link) 2>&5
71722   ac_status=$?
71723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71724   (exit $ac_status); } &&
71725          { ac_try='test -s conftest$ac_exeext'
71726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71727   (eval $ac_try) 2>&5
71728   ac_status=$?
71729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71730   (exit $ac_status); }; }; then
71731   glibcxx_cv_S_ISREG=yes
71732 else
71733   echo "$as_me: failed program was:" >&5
71734 sed 's/^/| /' conftest.$ac_ext >&5
71735
71736 glibcxx_cv_S_ISREG=no
71737 fi
71738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71739
71740 fi
71741
71742   if test "${glibcxx_cv_S_IFREG+set}" = set; then
71743   echo $ECHO_N "(cached) $ECHO_C" >&6
71744 else
71745
71746     if test x$gcc_no_link = xyes; then
71747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71749    { (exit 1); exit 1; }; }
71750 fi
71751 cat >conftest.$ac_ext <<_ACEOF
71752 #line $LINENO "configure"
71753 /* confdefs.h.  */
71754 _ACEOF
71755 cat confdefs.h >>conftest.$ac_ext
71756 cat >>conftest.$ac_ext <<_ACEOF
71757 /* end confdefs.h.  */
71758 #include <sys/stat.h>
71759 int
71760 main ()
71761 {
71762 struct stat buffer;
71763        fstat(0, &buffer);
71764        S_IFREG & buffer.st_mode;
71765   ;
71766   return 0;
71767 }
71768 _ACEOF
71769 rm -f conftest.$ac_objext conftest$ac_exeext
71770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71771   (eval $ac_link) 2>&5
71772   ac_status=$?
71773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71774   (exit $ac_status); } &&
71775          { ac_try='test -s conftest$ac_exeext'
71776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71777   (eval $ac_try) 2>&5
71778   ac_status=$?
71779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71780   (exit $ac_status); }; }; then
71781   glibcxx_cv_S_IFREG=yes
71782 else
71783   echo "$as_me: failed program was:" >&5
71784 sed 's/^/| /' conftest.$ac_ext >&5
71785
71786 glibcxx_cv_S_IFREG=no
71787 fi
71788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71789
71790 fi
71791
71792   if test $glibcxx_cv_S_ISREG = yes; then
71793     cat >>confdefs.h <<\_ACEOF
71794 #define HAVE_S_ISREG 1
71795 _ACEOF
71796
71797   elif test $glibcxx_cv_S_IFREG = yes; then
71798     cat >>confdefs.h <<\_ACEOF
71799 #define HAVE_S_IFREG 1
71800 _ACEOF
71801
71802   fi
71803
71804
71805     # For xsputn_2().
71806
71807 for ac_header in sys/uio.h
71808 do
71809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
71810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71811   echo "$as_me:$LINENO: checking for $ac_header" >&5
71812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71814   echo $ECHO_N "(cached) $ECHO_C" >&6
71815 fi
71816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71818 else
71819   # Is the header compilable?
71820 echo "$as_me:$LINENO: checking $ac_header usability" >&5
71821 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
71822 cat >conftest.$ac_ext <<_ACEOF
71823 #line $LINENO "configure"
71824 /* confdefs.h.  */
71825 _ACEOF
71826 cat confdefs.h >>conftest.$ac_ext
71827 cat >>conftest.$ac_ext <<_ACEOF
71828 /* end confdefs.h.  */
71829 $ac_includes_default
71830 #include <$ac_header>
71831 _ACEOF
71832 rm -f conftest.$ac_objext
71833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71834   (eval $ac_compile) 2>&5
71835   ac_status=$?
71836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71837   (exit $ac_status); } &&
71838          { ac_try='test -s conftest.$ac_objext'
71839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71840   (eval $ac_try) 2>&5
71841   ac_status=$?
71842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71843   (exit $ac_status); }; }; then
71844   ac_header_compiler=yes
71845 else
71846   echo "$as_me: failed program was:" >&5
71847 sed 's/^/| /' conftest.$ac_ext >&5
71848
71849 ac_header_compiler=no
71850 fi
71851 rm -f conftest.$ac_objext conftest.$ac_ext
71852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71853 echo "${ECHO_T}$ac_header_compiler" >&6
71854
71855 # Is the header present?
71856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
71857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
71858 cat >conftest.$ac_ext <<_ACEOF
71859 #line $LINENO "configure"
71860 /* confdefs.h.  */
71861 _ACEOF
71862 cat confdefs.h >>conftest.$ac_ext
71863 cat >>conftest.$ac_ext <<_ACEOF
71864 /* end confdefs.h.  */
71865 #include <$ac_header>
71866 _ACEOF
71867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71868   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71869   ac_status=$?
71870   grep -v '^ *+' conftest.er1 >conftest.err
71871   rm -f conftest.er1
71872   cat conftest.err >&5
71873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71874   (exit $ac_status); } >/dev/null; then
71875   if test -s conftest.err; then
71876     ac_cpp_err=$ac_c_preproc_warn_flag
71877   else
71878     ac_cpp_err=
71879   fi
71880 else
71881   ac_cpp_err=yes
71882 fi
71883 if test -z "$ac_cpp_err"; then
71884   ac_header_preproc=yes
71885 else
71886   echo "$as_me: failed program was:" >&5
71887 sed 's/^/| /' conftest.$ac_ext >&5
71888
71889   ac_header_preproc=no
71890 fi
71891 rm -f conftest.err conftest.$ac_ext
71892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71893 echo "${ECHO_T}$ac_header_preproc" >&6
71894
71895 # So?  What about this header?
71896 case $ac_header_compiler:$ac_header_preproc in
71897   yes:no )
71898     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
71899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
71900     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71902     (
71903       cat <<\_ASBOX
71904 ## ------------------------------------ ##
71905 ## Report this to bug-autoconf@gnu.org. ##
71906 ## ------------------------------------ ##
71907 _ASBOX
71908     ) |
71909       sed "s/^/$as_me: WARNING:     /" >&2
71910     ;;
71911   no:yes )
71912     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
71913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
71914     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
71915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
71916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
71917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
71918     (
71919       cat <<\_ASBOX
71920 ## ------------------------------------ ##
71921 ## Report this to bug-autoconf@gnu.org. ##
71922 ## ------------------------------------ ##
71923 _ASBOX
71924     ) |
71925       sed "s/^/$as_me: WARNING:     /" >&2
71926     ;;
71927 esac
71928 echo "$as_me:$LINENO: checking for $ac_header" >&5
71929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
71930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
71931   echo $ECHO_N "(cached) $ECHO_C" >&6
71932 else
71933   eval "$as_ac_Header=$ac_header_preproc"
71934 fi
71935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
71936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
71937
71938 fi
71939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
71940   cat >>confdefs.h <<_ACEOF
71941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
71942 _ACEOF
71943
71944 fi
71945
71946 done
71947
71948
71949   if test "${glibcxx_cv_WRITEV+set}" = set; then
71950   echo $ECHO_N "(cached) $ECHO_C" >&6
71951 else
71952
71953     if test x$gcc_no_link = xyes; then
71954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71956    { (exit 1); exit 1; }; }
71957 fi
71958 cat >conftest.$ac_ext <<_ACEOF
71959 #line $LINENO "configure"
71960 /* confdefs.h.  */
71961 _ACEOF
71962 cat confdefs.h >>conftest.$ac_ext
71963 cat >>conftest.$ac_ext <<_ACEOF
71964 /* end confdefs.h.  */
71965 #include <sys/uio.h>
71966 int
71967 main ()
71968 {
71969 struct iovec iov[2];
71970        writev(0, iov, 0);
71971   ;
71972   return 0;
71973 }
71974 _ACEOF
71975 rm -f conftest.$ac_objext conftest$ac_exeext
71976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71977   (eval $ac_link) 2>&5
71978   ac_status=$?
71979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71980   (exit $ac_status); } &&
71981          { ac_try='test -s conftest$ac_exeext'
71982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71983   (eval $ac_try) 2>&5
71984   ac_status=$?
71985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71986   (exit $ac_status); }; }; then
71987   glibcxx_cv_WRITEV=yes
71988 else
71989   echo "$as_me: failed program was:" >&5
71990 sed 's/^/| /' conftest.$ac_ext >&5
71991
71992 glibcxx_cv_WRITEV=no
71993 fi
71994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
71995
71996 fi
71997
71998   if test $glibcxx_cv_WRITEV = yes; then
71999     cat >>confdefs.h <<\_ACEOF
72000 #define HAVE_WRITEV 1
72001 _ACEOF
72002
72003   fi
72004
72005
72006     cat >>confdefs.h <<\_ACEOF
72007 #define HAVE_ACOSF 1
72008 _ACEOF
72009
72010     cat >>confdefs.h <<\_ACEOF
72011 #define HAVE_ASINF 1
72012 _ACEOF
72013
72014     cat >>confdefs.h <<\_ACEOF
72015 #define HAVE_ATANF 1
72016 _ACEOF
72017
72018     cat >>confdefs.h <<\_ACEOF
72019 #define HAVE_ATAN2F 1
72020 _ACEOF
72021
72022     cat >>confdefs.h <<\_ACEOF
72023 #define HAVE_CEILF 1
72024 _ACEOF
72025
72026     cat >>confdefs.h <<\_ACEOF
72027 #define HAVE_COPYSIGN 1
72028 _ACEOF
72029
72030     cat >>confdefs.h <<\_ACEOF
72031 #define HAVE_COPYSIGNF 1
72032 _ACEOF
72033
72034     cat >>confdefs.h <<\_ACEOF
72035 #define HAVE_COSF 1
72036 _ACEOF
72037
72038     cat >>confdefs.h <<\_ACEOF
72039 #define HAVE_COSHF 1
72040 _ACEOF
72041
72042     cat >>confdefs.h <<\_ACEOF
72043 #define HAVE_EXPF 1
72044 _ACEOF
72045
72046     cat >>confdefs.h <<\_ACEOF
72047 #define HAVE_FABSF 1
72048 _ACEOF
72049
72050     cat >>confdefs.h <<\_ACEOF
72051 #define HAVE_FINITE 1
72052 _ACEOF
72053
72054     cat >>confdefs.h <<\_ACEOF
72055 #define HAVE_FINITEF 1
72056 _ACEOF
72057
72058     cat >>confdefs.h <<\_ACEOF
72059 #define HAVE_FLOORF 1
72060 _ACEOF
72061
72062     cat >>confdefs.h <<\_ACEOF
72063 #define HAVE_FMODF 1
72064 _ACEOF
72065
72066     cat >>confdefs.h <<\_ACEOF
72067 #define HAVE_FREXPF 1
72068 _ACEOF
72069
72070     cat >>confdefs.h <<\_ACEOF
72071 #define HAVE_HYPOT 1
72072 _ACEOF
72073
72074     cat >>confdefs.h <<\_ACEOF
72075 #define HAVE_HYPOTF 1
72076 _ACEOF
72077
72078     cat >>confdefs.h <<\_ACEOF
72079 #define HAVE_ISINF 1
72080 _ACEOF
72081
72082     cat >>confdefs.h <<\_ACEOF
72083 #define HAVE_ISINFF 1
72084 _ACEOF
72085
72086     cat >>confdefs.h <<\_ACEOF
72087 #define HAVE_ISNAN 1
72088 _ACEOF
72089
72090     cat >>confdefs.h <<\_ACEOF
72091 #define HAVE_ISNANF 1
72092 _ACEOF
72093
72094     cat >>confdefs.h <<\_ACEOF
72095 #define HAVE_LOGF 1
72096 _ACEOF
72097
72098     cat >>confdefs.h <<\_ACEOF
72099 #define HAVE_LOG10F 1
72100 _ACEOF
72101
72102     cat >>confdefs.h <<\_ACEOF
72103 #define HAVE_MODFF 1
72104 _ACEOF
72105
72106     cat >>confdefs.h <<\_ACEOF
72107 #define HAVE_SINF 1
72108 _ACEOF
72109
72110     cat >>confdefs.h <<\_ACEOF
72111 #define HAVE_SINHF 1
72112 _ACEOF
72113
72114     cat >>confdefs.h <<\_ACEOF
72115 #define HAVE_SINCOS 1
72116 _ACEOF
72117
72118     cat >>confdefs.h <<\_ACEOF
72119 #define HAVE_SINCOSF 1
72120 _ACEOF
72121
72122     cat >>confdefs.h <<\_ACEOF
72123 #define HAVE_SQRTF 1
72124 _ACEOF
72125
72126     cat >>confdefs.h <<\_ACEOF
72127 #define HAVE_TANF 1
72128 _ACEOF
72129
72130     cat >>confdefs.h <<\_ACEOF
72131 #define HAVE_TANHF 1
72132 _ACEOF
72133
72134     if test x"long_double_math_on_this_cpu" = x"yes"; then
72135       cat >>confdefs.h <<\_ACEOF
72136 #define HAVE_ACOSL 1
72137 _ACEOF
72138
72139       cat >>confdefs.h <<\_ACEOF
72140 #define HAVE_ASINL 1
72141 _ACEOF
72142
72143       cat >>confdefs.h <<\_ACEOF
72144 #define HAVE_ATANL 1
72145 _ACEOF
72146
72147       cat >>confdefs.h <<\_ACEOF
72148 #define HAVE_ATAN2L 1
72149 _ACEOF
72150
72151       cat >>confdefs.h <<\_ACEOF
72152 #define HAVE_CEILL 1
72153 _ACEOF
72154
72155       cat >>confdefs.h <<\_ACEOF
72156 #define HAVE_COPYSIGNL 1
72157 _ACEOF
72158
72159       cat >>confdefs.h <<\_ACEOF
72160 #define HAVE_COSL 1
72161 _ACEOF
72162
72163       cat >>confdefs.h <<\_ACEOF
72164 #define HAVE_COSHL 1
72165 _ACEOF
72166
72167       cat >>confdefs.h <<\_ACEOF
72168 #define HAVE_EXPL 1
72169 _ACEOF
72170
72171       cat >>confdefs.h <<\_ACEOF
72172 #define HAVE_FABSL 1
72173 _ACEOF
72174
72175       cat >>confdefs.h <<\_ACEOF
72176 #define HAVE_FINITEL 1
72177 _ACEOF
72178
72179       cat >>confdefs.h <<\_ACEOF
72180 #define HAVE_FLOORL 1
72181 _ACEOF
72182
72183       cat >>confdefs.h <<\_ACEOF
72184 #define HAVE_FMODL 1
72185 _ACEOF
72186
72187       cat >>confdefs.h <<\_ACEOF
72188 #define HAVE_FREXPL 1
72189 _ACEOF
72190
72191       cat >>confdefs.h <<\_ACEOF
72192 #define HAVE_HYPOTL 1
72193 _ACEOF
72194
72195       cat >>confdefs.h <<\_ACEOF
72196 #define HAVE_ISINFL 1
72197 _ACEOF
72198
72199       cat >>confdefs.h <<\_ACEOF
72200 #define HAVE_ISNANL 1
72201 _ACEOF
72202
72203       cat >>confdefs.h <<\_ACEOF
72204 #define HAVE_LOGL 1
72205 _ACEOF
72206
72207       cat >>confdefs.h <<\_ACEOF
72208 #define HAVE_LOG10L 1
72209 _ACEOF
72210
72211       cat >>confdefs.h <<\_ACEOF
72212 #define HAVE_MODFL 1
72213 _ACEOF
72214
72215       cat >>confdefs.h <<\_ACEOF
72216 #define HAVE_POWL 1
72217 _ACEOF
72218
72219       cat >>confdefs.h <<\_ACEOF
72220 #define HAVE_SINL 1
72221 _ACEOF
72222
72223       cat >>confdefs.h <<\_ACEOF
72224 #define HAVE_SINHL 1
72225 _ACEOF
72226
72227       cat >>confdefs.h <<\_ACEOF
72228 #define HAVE_SINCOSL 1
72229 _ACEOF
72230
72231       cat >>confdefs.h <<\_ACEOF
72232 #define HAVE_SQRTL 1
72233 _ACEOF
72234
72235       cat >>confdefs.h <<\_ACEOF
72236 #define HAVE_TANL 1
72237 _ACEOF
72238
72239       cat >>confdefs.h <<\_ACEOF
72240 #define HAVE_TANHL 1
72241 _ACEOF
72242
72243     fi
72244     ;;
72245   *-mingw32*)
72246
72247
72248
72249 for ac_header in sys/types.h locale.h float.h
72250 do
72251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72253   echo "$as_me:$LINENO: checking for $ac_header" >&5
72254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72256   echo $ECHO_N "(cached) $ECHO_C" >&6
72257 fi
72258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72260 else
72261   # Is the header compilable?
72262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72264 cat >conftest.$ac_ext <<_ACEOF
72265 #line $LINENO "configure"
72266 /* confdefs.h.  */
72267 _ACEOF
72268 cat confdefs.h >>conftest.$ac_ext
72269 cat >>conftest.$ac_ext <<_ACEOF
72270 /* end confdefs.h.  */
72271 $ac_includes_default
72272 #include <$ac_header>
72273 _ACEOF
72274 rm -f conftest.$ac_objext
72275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72276   (eval $ac_compile) 2>&5
72277   ac_status=$?
72278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72279   (exit $ac_status); } &&
72280          { ac_try='test -s conftest.$ac_objext'
72281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72282   (eval $ac_try) 2>&5
72283   ac_status=$?
72284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72285   (exit $ac_status); }; }; then
72286   ac_header_compiler=yes
72287 else
72288   echo "$as_me: failed program was:" >&5
72289 sed 's/^/| /' conftest.$ac_ext >&5
72290
72291 ac_header_compiler=no
72292 fi
72293 rm -f conftest.$ac_objext conftest.$ac_ext
72294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72295 echo "${ECHO_T}$ac_header_compiler" >&6
72296
72297 # Is the header present?
72298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72300 cat >conftest.$ac_ext <<_ACEOF
72301 #line $LINENO "configure"
72302 /* confdefs.h.  */
72303 _ACEOF
72304 cat confdefs.h >>conftest.$ac_ext
72305 cat >>conftest.$ac_ext <<_ACEOF
72306 /* end confdefs.h.  */
72307 #include <$ac_header>
72308 _ACEOF
72309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72310   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72311   ac_status=$?
72312   grep -v '^ *+' conftest.er1 >conftest.err
72313   rm -f conftest.er1
72314   cat conftest.err >&5
72315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72316   (exit $ac_status); } >/dev/null; then
72317   if test -s conftest.err; then
72318     ac_cpp_err=$ac_c_preproc_warn_flag
72319   else
72320     ac_cpp_err=
72321   fi
72322 else
72323   ac_cpp_err=yes
72324 fi
72325 if test -z "$ac_cpp_err"; then
72326   ac_header_preproc=yes
72327 else
72328   echo "$as_me: failed program was:" >&5
72329 sed 's/^/| /' conftest.$ac_ext >&5
72330
72331   ac_header_preproc=no
72332 fi
72333 rm -f conftest.err conftest.$ac_ext
72334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72335 echo "${ECHO_T}$ac_header_preproc" >&6
72336
72337 # So?  What about this header?
72338 case $ac_header_compiler:$ac_header_preproc in
72339   yes:no )
72340     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72342     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72344     (
72345       cat <<\_ASBOX
72346 ## ------------------------------------ ##
72347 ## Report this to bug-autoconf@gnu.org. ##
72348 ## ------------------------------------ ##
72349 _ASBOX
72350     ) |
72351       sed "s/^/$as_me: WARNING:     /" >&2
72352     ;;
72353   no:yes )
72354     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72356     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72358     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72360     (
72361       cat <<\_ASBOX
72362 ## ------------------------------------ ##
72363 ## Report this to bug-autoconf@gnu.org. ##
72364 ## ------------------------------------ ##
72365 _ASBOX
72366     ) |
72367       sed "s/^/$as_me: WARNING:     /" >&2
72368     ;;
72369 esac
72370 echo "$as_me:$LINENO: checking for $ac_header" >&5
72371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72373   echo $ECHO_N "(cached) $ECHO_C" >&6
72374 else
72375   eval "$as_ac_Header=$ac_header_preproc"
72376 fi
72377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72379
72380 fi
72381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72382   cat >>confdefs.h <<_ACEOF
72383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72384 _ACEOF
72385
72386 fi
72387
72388 done
72389
72390
72391   # If we're not using GNU ld, then there's no point in even trying these
72392   # tests.  Check for that first.  We should have already tested for gld
72393   # by now (in libtool), but require it now just to be safe...
72394   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72395   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72396
72397
72398
72399   # The name set by libtool depends on the version of libtool.  Shame on us
72400   # for depending on an impl detail, but c'est la vie.  Older versions used
72401   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72402   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72403   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
72404   # set (hence we're using an older libtool), then set it.
72405   if test x${with_gnu_ld+set} != xset; then
72406     if test x${ac_cv_prog_gnu_ld+set} != xset; then
72407       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
72408       with_gnu_ld=no
72409     else
72410       with_gnu_ld=$ac_cv_prog_gnu_ld
72411     fi
72412   fi
72413
72414   # Start by getting the version number.  I think the libtool test already
72415   # does some of this, but throws away the result.
72416
72417   ldver=`$LD --version 2>/dev/null | head -1 | \
72418          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
72419
72420   glibcxx_gnu_ld_version=`echo $ldver | \
72421          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72422
72423   # Set --gc-sections.
72424   if test "$with_gnu_ld" = "notbroken"; then
72425     # GNU ld it is!  Joy and bunny rabbits!
72426
72427     # All these tests are for C++; save the language and the compiler flags.
72428     # Need to do this so that g++ won't try to link in libstdc++
72429     ac_test_CFLAGS="${CFLAGS+set}"
72430     ac_save_CFLAGS="$CFLAGS"
72431     CFLAGS='-x c++  -Wl,--gc-sections'
72432
72433     # Check for -Wl,--gc-sections
72434     # XXX This test is broken at the moment, as symbols required for linking
72435     # are now in libsupc++ (not built yet).  In addition, this test has
72436     # cored on solaris in the past.  In addition, --gc-sections doesn't
72437     # really work at the moment (keeps on discarding used sections, first
72438     # .eh_frame and now some of the glibc sections for iconv).
72439     # Bzzzzt.  Thanks for playing, maybe next time.
72440     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
72441 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
72442     if test "$cross_compiling" = yes; then
72443   ac_sectionLDflags=yes
72444 else
72445   cat >conftest.$ac_ext <<_ACEOF
72446 #line $LINENO "configure"
72447 /* confdefs.h.  */
72448 _ACEOF
72449 cat confdefs.h >>conftest.$ac_ext
72450 cat >>conftest.$ac_ext <<_ACEOF
72451 /* end confdefs.h.  */
72452
72453      int main(void)
72454      {
72455        try { throw 1; }
72456        catch (...) { };
72457        return 0;
72458      }
72459
72460 _ACEOF
72461 rm -f conftest$ac_exeext
72462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72463   (eval $ac_link) 2>&5
72464   ac_status=$?
72465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72466   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72468   (eval $ac_try) 2>&5
72469   ac_status=$?
72470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72471   (exit $ac_status); }; }; then
72472   ac_sectionLDflags=yes
72473 else
72474   echo "$as_me: program exited with status $ac_status" >&5
72475 echo "$as_me: failed program was:" >&5
72476 sed 's/^/| /' conftest.$ac_ext >&5
72477
72478 ( exit $ac_status )
72479 ac_sectionLDflags=no
72480 fi
72481 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72482 fi
72483     if test "$ac_test_CFLAGS" = set; then
72484       CFLAGS="$ac_save_CFLAGS"
72485     else
72486       # this is the suspicious part
72487       CFLAGS=''
72488     fi
72489     if test "$ac_sectionLDflags" = "yes"; then
72490       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72491     fi
72492     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
72493 echo "${ECHO_T}$ac_sectionLDflags" >&6
72494   fi
72495
72496   # Set linker optimization flags.
72497   if test x"$with_gnu_ld" = x"yes"; then
72498     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72499   fi
72500
72501
72502
72503
72504
72505
72506 echo "$as_me:$LINENO: checking for main in -lm" >&5
72507 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72508 if test "${ac_cv_lib_m_main+set}" = set; then
72509   echo $ECHO_N "(cached) $ECHO_C" >&6
72510 else
72511   ac_check_lib_save_LIBS=$LIBS
72512 LIBS="-lm  $LIBS"
72513 if test x$gcc_no_link = xyes; then
72514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72516    { (exit 1); exit 1; }; }
72517 fi
72518 cat >conftest.$ac_ext <<_ACEOF
72519 #line $LINENO "configure"
72520 /* confdefs.h.  */
72521 _ACEOF
72522 cat confdefs.h >>conftest.$ac_ext
72523 cat >>conftest.$ac_ext <<_ACEOF
72524 /* end confdefs.h.  */
72525
72526
72527 int
72528 main ()
72529 {
72530 main ();
72531   ;
72532   return 0;
72533 }
72534 _ACEOF
72535 rm -f conftest.$ac_objext conftest$ac_exeext
72536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72537   (eval $ac_link) 2>&5
72538   ac_status=$?
72539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72540   (exit $ac_status); } &&
72541          { ac_try='test -s conftest$ac_exeext'
72542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72543   (eval $ac_try) 2>&5
72544   ac_status=$?
72545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72546   (exit $ac_status); }; }; then
72547   ac_cv_lib_m_main=yes
72548 else
72549   echo "$as_me: failed program was:" >&5
72550 sed 's/^/| /' conftest.$ac_ext >&5
72551
72552 ac_cv_lib_m_main=no
72553 fi
72554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72555 LIBS=$ac_check_lib_save_LIBS
72556 fi
72557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72558 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72559 if test $ac_cv_lib_m_main = yes; then
72560   cat >>confdefs.h <<_ACEOF
72561 #define HAVE_LIBM 1
72562 _ACEOF
72563
72564   LIBS="-lm $LIBS"
72565
72566 fi
72567
72568
72569 for ac_func in copysignf
72570 do
72571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72572 echo "$as_me:$LINENO: checking for $ac_func" >&5
72573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72574 if eval "test \"\${$as_ac_var+set}\" = set"; then
72575   echo $ECHO_N "(cached) $ECHO_C" >&6
72576 else
72577   if test x$gcc_no_link = xyes; then
72578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72580    { (exit 1); exit 1; }; }
72581 fi
72582 cat >conftest.$ac_ext <<_ACEOF
72583 #line $LINENO "configure"
72584 /* confdefs.h.  */
72585 _ACEOF
72586 cat confdefs.h >>conftest.$ac_ext
72587 cat >>conftest.$ac_ext <<_ACEOF
72588 /* end confdefs.h.  */
72589 /* System header to define __stub macros and hopefully few prototypes,
72590     which can conflict with char $ac_func (); below.
72591     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72592     <limits.h> exists even on freestanding compilers.  */
72593 #ifdef __STDC__
72594 # include <limits.h>
72595 #else
72596 # include <assert.h>
72597 #endif
72598 /* Override any gcc2 internal prototype to avoid an error.  */
72599 #ifdef __cplusplus
72600 extern "C"
72601 {
72602 #endif
72603 /* We use char because int might match the return type of a gcc2
72604    builtin and then its argument prototype would still apply.  */
72605 char $ac_func ();
72606 /* The GNU C library defines this for functions which it implements
72607     to always fail with ENOSYS.  Some functions are actually named
72608     something starting with __ and the normal name is an alias.  */
72609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72610 choke me
72611 #else
72612 char (*f) () = $ac_func;
72613 #endif
72614 #ifdef __cplusplus
72615 }
72616 #endif
72617
72618 int
72619 main ()
72620 {
72621 return f != $ac_func;
72622   ;
72623   return 0;
72624 }
72625 _ACEOF
72626 rm -f conftest.$ac_objext conftest$ac_exeext
72627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72628   (eval $ac_link) 2>&5
72629   ac_status=$?
72630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72631   (exit $ac_status); } &&
72632          { ac_try='test -s conftest$ac_exeext'
72633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72634   (eval $ac_try) 2>&5
72635   ac_status=$?
72636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72637   (exit $ac_status); }; }; then
72638   eval "$as_ac_var=yes"
72639 else
72640   echo "$as_me: failed program was:" >&5
72641 sed 's/^/| /' conftest.$ac_ext >&5
72642
72643 eval "$as_ac_var=no"
72644 fi
72645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72646 fi
72647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72649 if test `eval echo '${'$as_ac_var'}'` = yes; then
72650   cat >>confdefs.h <<_ACEOF
72651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72652 _ACEOF
72653
72654 else
72655   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72656 fi
72657 done
72658
72659
72660
72661 for ac_func in __signbit
72662 do
72663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72664 echo "$as_me:$LINENO: checking for $ac_func" >&5
72665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72666 if eval "test \"\${$as_ac_var+set}\" = set"; then
72667   echo $ECHO_N "(cached) $ECHO_C" >&6
72668 else
72669   if test x$gcc_no_link = xyes; then
72670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72672    { (exit 1); exit 1; }; }
72673 fi
72674 cat >conftest.$ac_ext <<_ACEOF
72675 #line $LINENO "configure"
72676 /* confdefs.h.  */
72677 _ACEOF
72678 cat confdefs.h >>conftest.$ac_ext
72679 cat >>conftest.$ac_ext <<_ACEOF
72680 /* end confdefs.h.  */
72681 /* System header to define __stub macros and hopefully few prototypes,
72682     which can conflict with char $ac_func (); below.
72683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72684     <limits.h> exists even on freestanding compilers.  */
72685 #ifdef __STDC__
72686 # include <limits.h>
72687 #else
72688 # include <assert.h>
72689 #endif
72690 /* Override any gcc2 internal prototype to avoid an error.  */
72691 #ifdef __cplusplus
72692 extern "C"
72693 {
72694 #endif
72695 /* We use char because int might match the return type of a gcc2
72696    builtin and then its argument prototype would still apply.  */
72697 char $ac_func ();
72698 /* The GNU C library defines this for functions which it implements
72699     to always fail with ENOSYS.  Some functions are actually named
72700     something starting with __ and the normal name is an alias.  */
72701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72702 choke me
72703 #else
72704 char (*f) () = $ac_func;
72705 #endif
72706 #ifdef __cplusplus
72707 }
72708 #endif
72709
72710 int
72711 main ()
72712 {
72713 return f != $ac_func;
72714   ;
72715   return 0;
72716 }
72717 _ACEOF
72718 rm -f conftest.$ac_objext conftest$ac_exeext
72719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72720   (eval $ac_link) 2>&5
72721   ac_status=$?
72722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72723   (exit $ac_status); } &&
72724          { ac_try='test -s conftest$ac_exeext'
72725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72726   (eval $ac_try) 2>&5
72727   ac_status=$?
72728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72729   (exit $ac_status); }; }; then
72730   eval "$as_ac_var=yes"
72731 else
72732   echo "$as_me: failed program was:" >&5
72733 sed 's/^/| /' conftest.$ac_ext >&5
72734
72735 eval "$as_ac_var=no"
72736 fi
72737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72738 fi
72739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72741 if test `eval echo '${'$as_ac_var'}'` = yes; then
72742   cat >>confdefs.h <<_ACEOF
72743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72744 _ACEOF
72745
72746 else
72747   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72748 fi
72749 done
72750
72751
72752
72753 for ac_func in __signbitf
72754 do
72755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72756 echo "$as_me:$LINENO: checking for $ac_func" >&5
72757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72758 if eval "test \"\${$as_ac_var+set}\" = set"; then
72759   echo $ECHO_N "(cached) $ECHO_C" >&6
72760 else
72761   if test x$gcc_no_link = xyes; then
72762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72764    { (exit 1); exit 1; }; }
72765 fi
72766 cat >conftest.$ac_ext <<_ACEOF
72767 #line $LINENO "configure"
72768 /* confdefs.h.  */
72769 _ACEOF
72770 cat confdefs.h >>conftest.$ac_ext
72771 cat >>conftest.$ac_ext <<_ACEOF
72772 /* end confdefs.h.  */
72773 /* System header to define __stub macros and hopefully few prototypes,
72774     which can conflict with char $ac_func (); below.
72775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72776     <limits.h> exists even on freestanding compilers.  */
72777 #ifdef __STDC__
72778 # include <limits.h>
72779 #else
72780 # include <assert.h>
72781 #endif
72782 /* Override any gcc2 internal prototype to avoid an error.  */
72783 #ifdef __cplusplus
72784 extern "C"
72785 {
72786 #endif
72787 /* We use char because int might match the return type of a gcc2
72788    builtin and then its argument prototype would still apply.  */
72789 char $ac_func ();
72790 /* The GNU C library defines this for functions which it implements
72791     to always fail with ENOSYS.  Some functions are actually named
72792     something starting with __ and the normal name is an alias.  */
72793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72794 choke me
72795 #else
72796 char (*f) () = $ac_func;
72797 #endif
72798 #ifdef __cplusplus
72799 }
72800 #endif
72801
72802 int
72803 main ()
72804 {
72805 return f != $ac_func;
72806   ;
72807   return 0;
72808 }
72809 _ACEOF
72810 rm -f conftest.$ac_objext conftest$ac_exeext
72811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72812   (eval $ac_link) 2>&5
72813   ac_status=$?
72814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72815   (exit $ac_status); } &&
72816          { ac_try='test -s conftest$ac_exeext'
72817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72818   (eval $ac_try) 2>&5
72819   ac_status=$?
72820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72821   (exit $ac_status); }; }; then
72822   eval "$as_ac_var=yes"
72823 else
72824   echo "$as_me: failed program was:" >&5
72825 sed 's/^/| /' conftest.$ac_ext >&5
72826
72827 eval "$as_ac_var=no"
72828 fi
72829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72830 fi
72831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72833 if test `eval echo '${'$as_ac_var'}'` = yes; then
72834   cat >>confdefs.h <<_ACEOF
72835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72836 _ACEOF
72837
72838 else
72839   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72840 fi
72841 done
72842
72843
72844           if test x$ac_cv_func_copysignl = x"yes"; then
72845
72846 for ac_func in __signbitl
72847 do
72848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72849 echo "$as_me:$LINENO: checking for $ac_func" >&5
72850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72851 if eval "test \"\${$as_ac_var+set}\" = set"; then
72852   echo $ECHO_N "(cached) $ECHO_C" >&6
72853 else
72854   if test x$gcc_no_link = xyes; then
72855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72857    { (exit 1); exit 1; }; }
72858 fi
72859 cat >conftest.$ac_ext <<_ACEOF
72860 #line $LINENO "configure"
72861 /* confdefs.h.  */
72862 _ACEOF
72863 cat confdefs.h >>conftest.$ac_ext
72864 cat >>conftest.$ac_ext <<_ACEOF
72865 /* end confdefs.h.  */
72866 /* System header to define __stub macros and hopefully few prototypes,
72867     which can conflict with char $ac_func (); below.
72868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72869     <limits.h> exists even on freestanding compilers.  */
72870 #ifdef __STDC__
72871 # include <limits.h>
72872 #else
72873 # include <assert.h>
72874 #endif
72875 /* Override any gcc2 internal prototype to avoid an error.  */
72876 #ifdef __cplusplus
72877 extern "C"
72878 {
72879 #endif
72880 /* We use char because int might match the return type of a gcc2
72881    builtin and then its argument prototype would still apply.  */
72882 char $ac_func ();
72883 /* The GNU C library defines this for functions which it implements
72884     to always fail with ENOSYS.  Some functions are actually named
72885     something starting with __ and the normal name is an alias.  */
72886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72887 choke me
72888 #else
72889 char (*f) () = $ac_func;
72890 #endif
72891 #ifdef __cplusplus
72892 }
72893 #endif
72894
72895 int
72896 main ()
72897 {
72898 return f != $ac_func;
72899   ;
72900   return 0;
72901 }
72902 _ACEOF
72903 rm -f conftest.$ac_objext conftest$ac_exeext
72904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72905   (eval $ac_link) 2>&5
72906   ac_status=$?
72907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72908   (exit $ac_status); } &&
72909          { ac_try='test -s conftest$ac_exeext'
72910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72911   (eval $ac_try) 2>&5
72912   ac_status=$?
72913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72914   (exit $ac_status); }; }; then
72915   eval "$as_ac_var=yes"
72916 else
72917   echo "$as_me: failed program was:" >&5
72918 sed 's/^/| /' conftest.$ac_ext >&5
72919
72920 eval "$as_ac_var=no"
72921 fi
72922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
72923 fi
72924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72926 if test `eval echo '${'$as_ac_var'}'` = yes; then
72927   cat >>confdefs.h <<_ACEOF
72928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72929 _ACEOF
72930
72931 else
72932   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72933 fi
72934 done
72935
72936   fi
72937
72938   # Used in libmath/Makefile.am.
72939   if test -n "$LIBMATHOBJS"; then
72940     need_libmath=yes
72941   fi
72942
72943
72944
72945   # Test wchar.h for mbstate_t, which is needed for char_traits and
72946   # others even if wchar_t support is not on.
72947   echo "$as_me:$LINENO: checking for mbstate_t" >&5
72948 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
72949   cat >conftest.$ac_ext <<_ACEOF
72950 #line $LINENO "configure"
72951 /* confdefs.h.  */
72952 _ACEOF
72953 cat confdefs.h >>conftest.$ac_ext
72954 cat >>conftest.$ac_ext <<_ACEOF
72955 /* end confdefs.h.  */
72956 #include <wchar.h>
72957 int
72958 main ()
72959 {
72960 mbstate_t teststate;
72961   ;
72962   return 0;
72963 }
72964 _ACEOF
72965 rm -f conftest.$ac_objext
72966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72967   (eval $ac_compile) 2>&5
72968   ac_status=$?
72969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970   (exit $ac_status); } &&
72971          { ac_try='test -s conftest.$ac_objext'
72972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973   (eval $ac_try) 2>&5
72974   ac_status=$?
72975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976   (exit $ac_status); }; }; then
72977   have_mbstate_t=yes
72978 else
72979   echo "$as_me: failed program was:" >&5
72980 sed 's/^/| /' conftest.$ac_ext >&5
72981
72982 have_mbstate_t=no
72983 fi
72984 rm -f conftest.$ac_objext conftest.$ac_ext
72985   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
72986 echo "${ECHO_T}$have_mbstate_t" >&6
72987   if test x"$have_mbstate_t" = xyes; then
72988     cat >>confdefs.h <<\_ACEOF
72989 #define HAVE_MBSTATE_T 1
72990 _ACEOF
72991
72992   fi
72993
72994   # Sanity check for existence of ISO C99 headers for extended encoding.
72995
72996 for ac_header in wchar.h
72997 do
72998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73000   echo "$as_me:$LINENO: checking for $ac_header" >&5
73001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73003   echo $ECHO_N "(cached) $ECHO_C" >&6
73004 fi
73005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73007 else
73008   # Is the header compilable?
73009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73011 cat >conftest.$ac_ext <<_ACEOF
73012 #line $LINENO "configure"
73013 /* confdefs.h.  */
73014 _ACEOF
73015 cat confdefs.h >>conftest.$ac_ext
73016 cat >>conftest.$ac_ext <<_ACEOF
73017 /* end confdefs.h.  */
73018 $ac_includes_default
73019 #include <$ac_header>
73020 _ACEOF
73021 rm -f conftest.$ac_objext
73022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73023   (eval $ac_compile) 2>&5
73024   ac_status=$?
73025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73026   (exit $ac_status); } &&
73027          { ac_try='test -s conftest.$ac_objext'
73028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73029   (eval $ac_try) 2>&5
73030   ac_status=$?
73031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73032   (exit $ac_status); }; }; then
73033   ac_header_compiler=yes
73034 else
73035   echo "$as_me: failed program was:" >&5
73036 sed 's/^/| /' conftest.$ac_ext >&5
73037
73038 ac_header_compiler=no
73039 fi
73040 rm -f conftest.$ac_objext conftest.$ac_ext
73041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73042 echo "${ECHO_T}$ac_header_compiler" >&6
73043
73044 # Is the header present?
73045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73047 cat >conftest.$ac_ext <<_ACEOF
73048 #line $LINENO "configure"
73049 /* confdefs.h.  */
73050 _ACEOF
73051 cat confdefs.h >>conftest.$ac_ext
73052 cat >>conftest.$ac_ext <<_ACEOF
73053 /* end confdefs.h.  */
73054 #include <$ac_header>
73055 _ACEOF
73056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73057   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73058   ac_status=$?
73059   grep -v '^ *+' conftest.er1 >conftest.err
73060   rm -f conftest.er1
73061   cat conftest.err >&5
73062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063   (exit $ac_status); } >/dev/null; then
73064   if test -s conftest.err; then
73065     ac_cpp_err=$ac_c_preproc_warn_flag
73066   else
73067     ac_cpp_err=
73068   fi
73069 else
73070   ac_cpp_err=yes
73071 fi
73072 if test -z "$ac_cpp_err"; then
73073   ac_header_preproc=yes
73074 else
73075   echo "$as_me: failed program was:" >&5
73076 sed 's/^/| /' conftest.$ac_ext >&5
73077
73078   ac_header_preproc=no
73079 fi
73080 rm -f conftest.err conftest.$ac_ext
73081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73082 echo "${ECHO_T}$ac_header_preproc" >&6
73083
73084 # So?  What about this header?
73085 case $ac_header_compiler:$ac_header_preproc in
73086   yes:no )
73087     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73089     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73091     (
73092       cat <<\_ASBOX
73093 ## ------------------------------------ ##
73094 ## Report this to bug-autoconf@gnu.org. ##
73095 ## ------------------------------------ ##
73096 _ASBOX
73097     ) |
73098       sed "s/^/$as_me: WARNING:     /" >&2
73099     ;;
73100   no:yes )
73101     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73103     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73105     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73107     (
73108       cat <<\_ASBOX
73109 ## ------------------------------------ ##
73110 ## Report this to bug-autoconf@gnu.org. ##
73111 ## ------------------------------------ ##
73112 _ASBOX
73113     ) |
73114       sed "s/^/$as_me: WARNING:     /" >&2
73115     ;;
73116 esac
73117 echo "$as_me:$LINENO: checking for $ac_header" >&5
73118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73120   echo $ECHO_N "(cached) $ECHO_C" >&6
73121 else
73122   eval "$as_ac_Header=$ac_header_preproc"
73123 fi
73124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73126
73127 fi
73128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73129   cat >>confdefs.h <<_ACEOF
73130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73131 _ACEOF
73132  ac_has_wchar_h=yes
73133 else
73134   ac_has_wchar_h=no
73135 fi
73136
73137 done
73138
73139
73140 for ac_header in wctype.h
73141 do
73142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73144   echo "$as_me:$LINENO: checking for $ac_header" >&5
73145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73147   echo $ECHO_N "(cached) $ECHO_C" >&6
73148 fi
73149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73151 else
73152   # Is the header compilable?
73153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73155 cat >conftest.$ac_ext <<_ACEOF
73156 #line $LINENO "configure"
73157 /* confdefs.h.  */
73158 _ACEOF
73159 cat confdefs.h >>conftest.$ac_ext
73160 cat >>conftest.$ac_ext <<_ACEOF
73161 /* end confdefs.h.  */
73162 $ac_includes_default
73163 #include <$ac_header>
73164 _ACEOF
73165 rm -f conftest.$ac_objext
73166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73167   (eval $ac_compile) 2>&5
73168   ac_status=$?
73169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73170   (exit $ac_status); } &&
73171          { ac_try='test -s conftest.$ac_objext'
73172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73173   (eval $ac_try) 2>&5
73174   ac_status=$?
73175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73176   (exit $ac_status); }; }; then
73177   ac_header_compiler=yes
73178 else
73179   echo "$as_me: failed program was:" >&5
73180 sed 's/^/| /' conftest.$ac_ext >&5
73181
73182 ac_header_compiler=no
73183 fi
73184 rm -f conftest.$ac_objext conftest.$ac_ext
73185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73186 echo "${ECHO_T}$ac_header_compiler" >&6
73187
73188 # Is the header present?
73189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73191 cat >conftest.$ac_ext <<_ACEOF
73192 #line $LINENO "configure"
73193 /* confdefs.h.  */
73194 _ACEOF
73195 cat confdefs.h >>conftest.$ac_ext
73196 cat >>conftest.$ac_ext <<_ACEOF
73197 /* end confdefs.h.  */
73198 #include <$ac_header>
73199 _ACEOF
73200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73201   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73202   ac_status=$?
73203   grep -v '^ *+' conftest.er1 >conftest.err
73204   rm -f conftest.er1
73205   cat conftest.err >&5
73206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73207   (exit $ac_status); } >/dev/null; then
73208   if test -s conftest.err; then
73209     ac_cpp_err=$ac_c_preproc_warn_flag
73210   else
73211     ac_cpp_err=
73212   fi
73213 else
73214   ac_cpp_err=yes
73215 fi
73216 if test -z "$ac_cpp_err"; then
73217   ac_header_preproc=yes
73218 else
73219   echo "$as_me: failed program was:" >&5
73220 sed 's/^/| /' conftest.$ac_ext >&5
73221
73222   ac_header_preproc=no
73223 fi
73224 rm -f conftest.err conftest.$ac_ext
73225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73226 echo "${ECHO_T}$ac_header_preproc" >&6
73227
73228 # So?  What about this header?
73229 case $ac_header_compiler:$ac_header_preproc in
73230   yes:no )
73231     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73233     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73234 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73235     (
73236       cat <<\_ASBOX
73237 ## ------------------------------------ ##
73238 ## Report this to bug-autoconf@gnu.org. ##
73239 ## ------------------------------------ ##
73240 _ASBOX
73241     ) |
73242       sed "s/^/$as_me: WARNING:     /" >&2
73243     ;;
73244   no:yes )
73245     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73247     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73249     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73251     (
73252       cat <<\_ASBOX
73253 ## ------------------------------------ ##
73254 ## Report this to bug-autoconf@gnu.org. ##
73255 ## ------------------------------------ ##
73256 _ASBOX
73257     ) |
73258       sed "s/^/$as_me: WARNING:     /" >&2
73259     ;;
73260 esac
73261 echo "$as_me:$LINENO: checking for $ac_header" >&5
73262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73264   echo $ECHO_N "(cached) $ECHO_C" >&6
73265 else
73266   eval "$as_ac_Header=$ac_header_preproc"
73267 fi
73268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73270
73271 fi
73272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73273   cat >>confdefs.h <<_ACEOF
73274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73275 _ACEOF
73276  ac_has_wctype_h=yes
73277 else
73278   ac_has_wctype_h=no
73279 fi
73280
73281 done
73282
73283
73284   # Only continue checking if the ISO C99 headers exist and support is on.
73285   if test x"$ac_has_wchar_h" = xyes &&
73286      test x"$ac_has_wctype_h" = xyes &&
73287      test x"$enable_c_mbchar" != xno; then
73288
73289     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73290     # numeric_limits can instantiate type_traits<wchar_t>
73291     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73292 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73293     cat >conftest.$ac_ext <<_ACEOF
73294 #line $LINENO "configure"
73295 /* confdefs.h.  */
73296 _ACEOF
73297 cat confdefs.h >>conftest.$ac_ext
73298 cat >>conftest.$ac_ext <<_ACEOF
73299 /* end confdefs.h.  */
73300 #include <wchar.h>
73301 int
73302 main ()
73303 {
73304 int i = WCHAR_MIN; int j = WCHAR_MAX;
73305   ;
73306   return 0;
73307 }
73308 _ACEOF
73309 rm -f conftest.$ac_objext
73310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73311   (eval $ac_compile) 2>&5
73312   ac_status=$?
73313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73314   (exit $ac_status); } &&
73315          { ac_try='test -s conftest.$ac_objext'
73316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73317   (eval $ac_try) 2>&5
73318   ac_status=$?
73319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73320   (exit $ac_status); }; }; then
73321   has_wchar_minmax=yes
73322 else
73323   echo "$as_me: failed program was:" >&5
73324 sed 's/^/| /' conftest.$ac_ext >&5
73325
73326 has_wchar_minmax=no
73327 fi
73328 rm -f conftest.$ac_objext conftest.$ac_ext
73329     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73330 echo "${ECHO_T}$has_wchar_minmax" >&6
73331
73332     # Test wchar.h for WEOF, which is what we use to determine whether
73333     # to specialize for char_traits<wchar_t> or not.
73334     echo "$as_me:$LINENO: checking for WEOF" >&5
73335 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73336     cat >conftest.$ac_ext <<_ACEOF
73337 #line $LINENO "configure"
73338 /* confdefs.h.  */
73339 _ACEOF
73340 cat confdefs.h >>conftest.$ac_ext
73341 cat >>conftest.$ac_ext <<_ACEOF
73342 /* end confdefs.h.  */
73343
73344       #include <wchar.h>
73345       #include <stddef.h>
73346 int
73347 main ()
73348 {
73349 wint_t i = WEOF;
73350   ;
73351   return 0;
73352 }
73353 _ACEOF
73354 rm -f conftest.$ac_objext
73355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73356   (eval $ac_compile) 2>&5
73357   ac_status=$?
73358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73359   (exit $ac_status); } &&
73360          { ac_try='test -s conftest.$ac_objext'
73361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73362   (eval $ac_try) 2>&5
73363   ac_status=$?
73364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73365   (exit $ac_status); }; }; then
73366   has_weof=yes
73367 else
73368   echo "$as_me: failed program was:" >&5
73369 sed 's/^/| /' conftest.$ac_ext >&5
73370
73371 has_weof=no
73372 fi
73373 rm -f conftest.$ac_objext conftest.$ac_ext
73374     echo "$as_me:$LINENO: result: $has_weof" >&5
73375 echo "${ECHO_T}$has_weof" >&6
73376
73377     # Tests for wide character functions used in char_traits<wchar_t>.
73378     ac_wfuncs=yes
73379
73380
73381
73382
73383
73384
73385 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73386 do
73387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73388 echo "$as_me:$LINENO: checking for $ac_func" >&5
73389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73390 if eval "test \"\${$as_ac_var+set}\" = set"; then
73391   echo $ECHO_N "(cached) $ECHO_C" >&6
73392 else
73393   if test x$gcc_no_link = xyes; then
73394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73396    { (exit 1); exit 1; }; }
73397 fi
73398 cat >conftest.$ac_ext <<_ACEOF
73399 #line $LINENO "configure"
73400 /* confdefs.h.  */
73401 _ACEOF
73402 cat confdefs.h >>conftest.$ac_ext
73403 cat >>conftest.$ac_ext <<_ACEOF
73404 /* end confdefs.h.  */
73405 /* System header to define __stub macros and hopefully few prototypes,
73406     which can conflict with char $ac_func (); below.
73407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73408     <limits.h> exists even on freestanding compilers.  */
73409 #ifdef __STDC__
73410 # include <limits.h>
73411 #else
73412 # include <assert.h>
73413 #endif
73414 /* Override any gcc2 internal prototype to avoid an error.  */
73415 #ifdef __cplusplus
73416 extern "C"
73417 {
73418 #endif
73419 /* We use char because int might match the return type of a gcc2
73420    builtin and then its argument prototype would still apply.  */
73421 char $ac_func ();
73422 /* The GNU C library defines this for functions which it implements
73423     to always fail with ENOSYS.  Some functions are actually named
73424     something starting with __ and the normal name is an alias.  */
73425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73426 choke me
73427 #else
73428 char (*f) () = $ac_func;
73429 #endif
73430 #ifdef __cplusplus
73431 }
73432 #endif
73433
73434 int
73435 main ()
73436 {
73437 return f != $ac_func;
73438   ;
73439   return 0;
73440 }
73441 _ACEOF
73442 rm -f conftest.$ac_objext conftest$ac_exeext
73443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73444   (eval $ac_link) 2>&5
73445   ac_status=$?
73446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73447   (exit $ac_status); } &&
73448          { ac_try='test -s conftest$ac_exeext'
73449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73450   (eval $ac_try) 2>&5
73451   ac_status=$?
73452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73453   (exit $ac_status); }; }; then
73454   eval "$as_ac_var=yes"
73455 else
73456   echo "$as_me: failed program was:" >&5
73457 sed 's/^/| /' conftest.$ac_ext >&5
73458
73459 eval "$as_ac_var=no"
73460 fi
73461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73462 fi
73463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73465 if test `eval echo '${'$as_ac_var'}'` = yes; then
73466   cat >>confdefs.h <<_ACEOF
73467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73468 _ACEOF
73469
73470 else
73471   ac_wfuncs=no
73472 fi
73473 done
73474
73475
73476     # Checks for names injected into std:: by the c_std headers.
73477
73478
73479
73480
73481
73482
73483
73484
73485
73486
73487
73488
73489
73490
73491
73492
73493
73494
73495
73496
73497
73498
73499
73500
73501
73502
73503
73504
73505
73506
73507
73508
73509
73510
73511
73512
73513
73514
73515
73516
73517
73518
73519
73520
73521
73522
73523 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73524     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73525     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73526     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73527     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73528     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73529 do
73530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73531 echo "$as_me:$LINENO: checking for $ac_func" >&5
73532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73533 if eval "test \"\${$as_ac_var+set}\" = set"; then
73534   echo $ECHO_N "(cached) $ECHO_C" >&6
73535 else
73536   if test x$gcc_no_link = xyes; then
73537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73539    { (exit 1); exit 1; }; }
73540 fi
73541 cat >conftest.$ac_ext <<_ACEOF
73542 #line $LINENO "configure"
73543 /* confdefs.h.  */
73544 _ACEOF
73545 cat confdefs.h >>conftest.$ac_ext
73546 cat >>conftest.$ac_ext <<_ACEOF
73547 /* end confdefs.h.  */
73548 /* System header to define __stub macros and hopefully few prototypes,
73549     which can conflict with char $ac_func (); below.
73550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73551     <limits.h> exists even on freestanding compilers.  */
73552 #ifdef __STDC__
73553 # include <limits.h>
73554 #else
73555 # include <assert.h>
73556 #endif
73557 /* Override any gcc2 internal prototype to avoid an error.  */
73558 #ifdef __cplusplus
73559 extern "C"
73560 {
73561 #endif
73562 /* We use char because int might match the return type of a gcc2
73563    builtin and then its argument prototype would still apply.  */
73564 char $ac_func ();
73565 /* The GNU C library defines this for functions which it implements
73566     to always fail with ENOSYS.  Some functions are actually named
73567     something starting with __ and the normal name is an alias.  */
73568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73569 choke me
73570 #else
73571 char (*f) () = $ac_func;
73572 #endif
73573 #ifdef __cplusplus
73574 }
73575 #endif
73576
73577 int
73578 main ()
73579 {
73580 return f != $ac_func;
73581   ;
73582   return 0;
73583 }
73584 _ACEOF
73585 rm -f conftest.$ac_objext conftest$ac_exeext
73586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73587   (eval $ac_link) 2>&5
73588   ac_status=$?
73589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73590   (exit $ac_status); } &&
73591          { ac_try='test -s conftest$ac_exeext'
73592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73593   (eval $ac_try) 2>&5
73594   ac_status=$?
73595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73596   (exit $ac_status); }; }; then
73597   eval "$as_ac_var=yes"
73598 else
73599   echo "$as_me: failed program was:" >&5
73600 sed 's/^/| /' conftest.$ac_ext >&5
73601
73602 eval "$as_ac_var=no"
73603 fi
73604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73605 fi
73606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73608 if test `eval echo '${'$as_ac_var'}'` = yes; then
73609   cat >>confdefs.h <<_ACEOF
73610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73611 _ACEOF
73612
73613 else
73614   ac_wfuncs=no
73615 fi
73616 done
73617
73618
73619     # Checks for wide character functions that are not required
73620     # for basic wchar_t support.  Don't disable support if they are missing.
73621     # Injection of these is wrapped with guard macros.
73622
73623
73624
73625
73626
73627 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73628 do
73629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73630 echo "$as_me:$LINENO: checking for $ac_func" >&5
73631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73632 if eval "test \"\${$as_ac_var+set}\" = set"; then
73633   echo $ECHO_N "(cached) $ECHO_C" >&6
73634 else
73635   if test x$gcc_no_link = xyes; then
73636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73638    { (exit 1); exit 1; }; }
73639 fi
73640 cat >conftest.$ac_ext <<_ACEOF
73641 #line $LINENO "configure"
73642 /* confdefs.h.  */
73643 _ACEOF
73644 cat confdefs.h >>conftest.$ac_ext
73645 cat >>conftest.$ac_ext <<_ACEOF
73646 /* end confdefs.h.  */
73647 /* System header to define __stub macros and hopefully few prototypes,
73648     which can conflict with char $ac_func (); below.
73649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73650     <limits.h> exists even on freestanding compilers.  */
73651 #ifdef __STDC__
73652 # include <limits.h>
73653 #else
73654 # include <assert.h>
73655 #endif
73656 /* Override any gcc2 internal prototype to avoid an error.  */
73657 #ifdef __cplusplus
73658 extern "C"
73659 {
73660 #endif
73661 /* We use char because int might match the return type of a gcc2
73662    builtin and then its argument prototype would still apply.  */
73663 char $ac_func ();
73664 /* The GNU C library defines this for functions which it implements
73665     to always fail with ENOSYS.  Some functions are actually named
73666     something starting with __ and the normal name is an alias.  */
73667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73668 choke me
73669 #else
73670 char (*f) () = $ac_func;
73671 #endif
73672 #ifdef __cplusplus
73673 }
73674 #endif
73675
73676 int
73677 main ()
73678 {
73679 return f != $ac_func;
73680   ;
73681   return 0;
73682 }
73683 _ACEOF
73684 rm -f conftest.$ac_objext conftest$ac_exeext
73685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73686   (eval $ac_link) 2>&5
73687   ac_status=$?
73688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73689   (exit $ac_status); } &&
73690          { ac_try='test -s conftest$ac_exeext'
73691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73692   (eval $ac_try) 2>&5
73693   ac_status=$?
73694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73695   (exit $ac_status); }; }; then
73696   eval "$as_ac_var=yes"
73697 else
73698   echo "$as_me: failed program was:" >&5
73699 sed 's/^/| /' conftest.$ac_ext >&5
73700
73701 eval "$as_ac_var=no"
73702 fi
73703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
73704 fi
73705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73707 if test `eval echo '${'$as_ac_var'}'` = yes; then
73708   cat >>confdefs.h <<_ACEOF
73709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73710 _ACEOF
73711
73712 fi
73713 done
73714
73715
73716     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73717 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73718     if test x"$has_weof" = xyes &&
73719        test x"$has_wchar_minmax" = xyes &&
73720        test x"$ac_wfuncs" = xyes;
73721     then
73722       ac_isoC99_wchar_t=yes
73723     else
73724       ac_isoC99_wchar_t=no
73725     fi
73726     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73727 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73728
73729     # Use iconv for wchar_t to char conversions. As such, check for
73730     # X/Open Portability Guide, version 2 features (XPG2).
73731     if test "${ac_cv_header_iconv_h+set}" = set; then
73732   echo "$as_me:$LINENO: checking for iconv.h" >&5
73733 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73734 if test "${ac_cv_header_iconv_h+set}" = set; then
73735   echo $ECHO_N "(cached) $ECHO_C" >&6
73736 fi
73737 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73738 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73739 else
73740   # Is the header compilable?
73741 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73742 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73743 cat >conftest.$ac_ext <<_ACEOF
73744 #line $LINENO "configure"
73745 /* confdefs.h.  */
73746 _ACEOF
73747 cat confdefs.h >>conftest.$ac_ext
73748 cat >>conftest.$ac_ext <<_ACEOF
73749 /* end confdefs.h.  */
73750 $ac_includes_default
73751 #include <iconv.h>
73752 _ACEOF
73753 rm -f conftest.$ac_objext
73754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73755   (eval $ac_compile) 2>&5
73756   ac_status=$?
73757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73758   (exit $ac_status); } &&
73759          { ac_try='test -s conftest.$ac_objext'
73760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73761   (eval $ac_try) 2>&5
73762   ac_status=$?
73763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73764   (exit $ac_status); }; }; then
73765   ac_header_compiler=yes
73766 else
73767   echo "$as_me: failed program was:" >&5
73768 sed 's/^/| /' conftest.$ac_ext >&5
73769
73770 ac_header_compiler=no
73771 fi
73772 rm -f conftest.$ac_objext conftest.$ac_ext
73773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73774 echo "${ECHO_T}$ac_header_compiler" >&6
73775
73776 # Is the header present?
73777 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73778 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73779 cat >conftest.$ac_ext <<_ACEOF
73780 #line $LINENO "configure"
73781 /* confdefs.h.  */
73782 _ACEOF
73783 cat confdefs.h >>conftest.$ac_ext
73784 cat >>conftest.$ac_ext <<_ACEOF
73785 /* end confdefs.h.  */
73786 #include <iconv.h>
73787 _ACEOF
73788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73789   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73790   ac_status=$?
73791   grep -v '^ *+' conftest.er1 >conftest.err
73792   rm -f conftest.er1
73793   cat conftest.err >&5
73794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73795   (exit $ac_status); } >/dev/null; then
73796   if test -s conftest.err; then
73797     ac_cpp_err=$ac_c_preproc_warn_flag
73798   else
73799     ac_cpp_err=
73800   fi
73801 else
73802   ac_cpp_err=yes
73803 fi
73804 if test -z "$ac_cpp_err"; then
73805   ac_header_preproc=yes
73806 else
73807   echo "$as_me: failed program was:" >&5
73808 sed 's/^/| /' conftest.$ac_ext >&5
73809
73810   ac_header_preproc=no
73811 fi
73812 rm -f conftest.err conftest.$ac_ext
73813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73814 echo "${ECHO_T}$ac_header_preproc" >&6
73815
73816 # So?  What about this header?
73817 case $ac_header_compiler:$ac_header_preproc in
73818   yes:no )
73819     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73820 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73821     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73822 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73823     (
73824       cat <<\_ASBOX
73825 ## ------------------------------------ ##
73826 ## Report this to bug-autoconf@gnu.org. ##
73827 ## ------------------------------------ ##
73828 _ASBOX
73829     ) |
73830       sed "s/^/$as_me: WARNING:     /" >&2
73831     ;;
73832   no:yes )
73833     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73834 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73835     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73836 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73837     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73838 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73839     (
73840       cat <<\_ASBOX
73841 ## ------------------------------------ ##
73842 ## Report this to bug-autoconf@gnu.org. ##
73843 ## ------------------------------------ ##
73844 _ASBOX
73845     ) |
73846       sed "s/^/$as_me: WARNING:     /" >&2
73847     ;;
73848 esac
73849 echo "$as_me:$LINENO: checking for iconv.h" >&5
73850 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73851 if test "${ac_cv_header_iconv_h+set}" = set; then
73852   echo $ECHO_N "(cached) $ECHO_C" >&6
73853 else
73854   ac_cv_header_iconv_h=$ac_header_preproc
73855 fi
73856 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73857 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73858
73859 fi
73860 if test $ac_cv_header_iconv_h = yes; then
73861   ac_has_iconv_h=yes
73862 else
73863   ac_has_iconv_h=no
73864 fi
73865
73866
73867     if test "${ac_cv_header_langinfo_h+set}" = set; then
73868   echo "$as_me:$LINENO: checking for langinfo.h" >&5
73869 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73870 if test "${ac_cv_header_langinfo_h+set}" = set; then
73871   echo $ECHO_N "(cached) $ECHO_C" >&6
73872 fi
73873 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73874 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73875 else
73876   # Is the header compilable?
73877 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73878 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73879 cat >conftest.$ac_ext <<_ACEOF
73880 #line $LINENO "configure"
73881 /* confdefs.h.  */
73882 _ACEOF
73883 cat confdefs.h >>conftest.$ac_ext
73884 cat >>conftest.$ac_ext <<_ACEOF
73885 /* end confdefs.h.  */
73886 $ac_includes_default
73887 #include <langinfo.h>
73888 _ACEOF
73889 rm -f conftest.$ac_objext
73890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73891   (eval $ac_compile) 2>&5
73892   ac_status=$?
73893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73894   (exit $ac_status); } &&
73895          { ac_try='test -s conftest.$ac_objext'
73896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73897   (eval $ac_try) 2>&5
73898   ac_status=$?
73899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73900   (exit $ac_status); }; }; then
73901   ac_header_compiler=yes
73902 else
73903   echo "$as_me: failed program was:" >&5
73904 sed 's/^/| /' conftest.$ac_ext >&5
73905
73906 ac_header_compiler=no
73907 fi
73908 rm -f conftest.$ac_objext conftest.$ac_ext
73909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73910 echo "${ECHO_T}$ac_header_compiler" >&6
73911
73912 # Is the header present?
73913 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73914 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73915 cat >conftest.$ac_ext <<_ACEOF
73916 #line $LINENO "configure"
73917 /* confdefs.h.  */
73918 _ACEOF
73919 cat confdefs.h >>conftest.$ac_ext
73920 cat >>conftest.$ac_ext <<_ACEOF
73921 /* end confdefs.h.  */
73922 #include <langinfo.h>
73923 _ACEOF
73924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73925   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73926   ac_status=$?
73927   grep -v '^ *+' conftest.er1 >conftest.err
73928   rm -f conftest.er1
73929   cat conftest.err >&5
73930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73931   (exit $ac_status); } >/dev/null; then
73932   if test -s conftest.err; then
73933     ac_cpp_err=$ac_c_preproc_warn_flag
73934   else
73935     ac_cpp_err=
73936   fi
73937 else
73938   ac_cpp_err=yes
73939 fi
73940 if test -z "$ac_cpp_err"; then
73941   ac_header_preproc=yes
73942 else
73943   echo "$as_me: failed program was:" >&5
73944 sed 's/^/| /' conftest.$ac_ext >&5
73945
73946   ac_header_preproc=no
73947 fi
73948 rm -f conftest.err conftest.$ac_ext
73949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73950 echo "${ECHO_T}$ac_header_preproc" >&6
73951
73952 # So?  What about this header?
73953 case $ac_header_compiler:$ac_header_preproc in
73954   yes:no )
73955     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73956 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73957     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73958 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73959     (
73960       cat <<\_ASBOX
73961 ## ------------------------------------ ##
73962 ## Report this to bug-autoconf@gnu.org. ##
73963 ## ------------------------------------ ##
73964 _ASBOX
73965     ) |
73966       sed "s/^/$as_me: WARNING:     /" >&2
73967     ;;
73968   no:yes )
73969     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73970 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73971     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73972 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73973     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73974 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73975     (
73976       cat <<\_ASBOX
73977 ## ------------------------------------ ##
73978 ## Report this to bug-autoconf@gnu.org. ##
73979 ## ------------------------------------ ##
73980 _ASBOX
73981     ) |
73982       sed "s/^/$as_me: WARNING:     /" >&2
73983     ;;
73984 esac
73985 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73986 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73987 if test "${ac_cv_header_langinfo_h+set}" = set; then
73988   echo $ECHO_N "(cached) $ECHO_C" >&6
73989 else
73990   ac_cv_header_langinfo_h=$ac_header_preproc
73991 fi
73992 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73993 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73994
73995 fi
73996 if test $ac_cv_header_langinfo_h = yes; then
73997   ac_has_langinfo_h=yes
73998 else
73999   ac_has_langinfo_h=no
74000 fi
74001
74002
74003
74004     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74005     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74006 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74007 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74008   echo $ECHO_N "(cached) $ECHO_C" >&6
74009 else
74010   ac_check_lib_save_LIBS=$LIBS
74011 LIBS="-liconv  $LIBS"
74012 if test x$gcc_no_link = xyes; then
74013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74015    { (exit 1); exit 1; }; }
74016 fi
74017 cat >conftest.$ac_ext <<_ACEOF
74018 #line $LINENO "configure"
74019 /* confdefs.h.  */
74020 _ACEOF
74021 cat confdefs.h >>conftest.$ac_ext
74022 cat >>conftest.$ac_ext <<_ACEOF
74023 /* end confdefs.h.  */
74024
74025 /* Override any gcc2 internal prototype to avoid an error.  */
74026 #ifdef __cplusplus
74027 extern "C"
74028 #endif
74029 /* We use char because int might match the return type of a gcc2
74030    builtin and then its argument prototype would still apply.  */
74031 char iconv ();
74032 int
74033 main ()
74034 {
74035 iconv ();
74036   ;
74037   return 0;
74038 }
74039 _ACEOF
74040 rm -f conftest.$ac_objext conftest$ac_exeext
74041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74042   (eval $ac_link) 2>&5
74043   ac_status=$?
74044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74045   (exit $ac_status); } &&
74046          { ac_try='test -s conftest$ac_exeext'
74047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74048   (eval $ac_try) 2>&5
74049   ac_status=$?
74050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74051   (exit $ac_status); }; }; then
74052   ac_cv_lib_iconv_iconv=yes
74053 else
74054   echo "$as_me: failed program was:" >&5
74055 sed 's/^/| /' conftest.$ac_ext >&5
74056
74057 ac_cv_lib_iconv_iconv=no
74058 fi
74059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74060 LIBS=$ac_check_lib_save_LIBS
74061 fi
74062 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74063 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74064 if test $ac_cv_lib_iconv_iconv = yes; then
74065   libiconv="-liconv"
74066 fi
74067
74068     ac_save_LIBS="$LIBS"
74069     LIBS="$LIBS $libiconv"
74070
74071
74072
74073
74074
74075 for ac_func in iconv_open iconv_close iconv nl_langinfo
74076 do
74077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74078 echo "$as_me:$LINENO: checking for $ac_func" >&5
74079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74080 if eval "test \"\${$as_ac_var+set}\" = set"; then
74081   echo $ECHO_N "(cached) $ECHO_C" >&6
74082 else
74083   if test x$gcc_no_link = xyes; then
74084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74086    { (exit 1); exit 1; }; }
74087 fi
74088 cat >conftest.$ac_ext <<_ACEOF
74089 #line $LINENO "configure"
74090 /* confdefs.h.  */
74091 _ACEOF
74092 cat confdefs.h >>conftest.$ac_ext
74093 cat >>conftest.$ac_ext <<_ACEOF
74094 /* end confdefs.h.  */
74095 /* System header to define __stub macros and hopefully few prototypes,
74096     which can conflict with char $ac_func (); below.
74097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74098     <limits.h> exists even on freestanding compilers.  */
74099 #ifdef __STDC__
74100 # include <limits.h>
74101 #else
74102 # include <assert.h>
74103 #endif
74104 /* Override any gcc2 internal prototype to avoid an error.  */
74105 #ifdef __cplusplus
74106 extern "C"
74107 {
74108 #endif
74109 /* We use char because int might match the return type of a gcc2
74110    builtin and then its argument prototype would still apply.  */
74111 char $ac_func ();
74112 /* The GNU C library defines this for functions which it implements
74113     to always fail with ENOSYS.  Some functions are actually named
74114     something starting with __ and the normal name is an alias.  */
74115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74116 choke me
74117 #else
74118 char (*f) () = $ac_func;
74119 #endif
74120 #ifdef __cplusplus
74121 }
74122 #endif
74123
74124 int
74125 main ()
74126 {
74127 return f != $ac_func;
74128   ;
74129   return 0;
74130 }
74131 _ACEOF
74132 rm -f conftest.$ac_objext conftest$ac_exeext
74133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74134   (eval $ac_link) 2>&5
74135   ac_status=$?
74136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74137   (exit $ac_status); } &&
74138          { ac_try='test -s conftest$ac_exeext'
74139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74140   (eval $ac_try) 2>&5
74141   ac_status=$?
74142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74143   (exit $ac_status); }; }; then
74144   eval "$as_ac_var=yes"
74145 else
74146   echo "$as_me: failed program was:" >&5
74147 sed 's/^/| /' conftest.$ac_ext >&5
74148
74149 eval "$as_ac_var=no"
74150 fi
74151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74152 fi
74153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74155 if test `eval echo '${'$as_ac_var'}'` = yes; then
74156   cat >>confdefs.h <<_ACEOF
74157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74158 _ACEOF
74159  ac_XPG2funcs=yes
74160 else
74161   ac_XPG2funcs=no
74162 fi
74163 done
74164
74165
74166     LIBS="$ac_save_LIBS"
74167
74168     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74169 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74170     if test x"$ac_has_iconv_h" = xyes &&
74171        test x"$ac_has_langinfo_h" = xyes &&
74172        test x"$ac_XPG2funcs" = xyes;
74173     then
74174       ac_XPG2_wchar_t=yes
74175     else
74176       ac_XPG2_wchar_t=no
74177     fi
74178     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74179 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74180
74181     # At the moment, only enable wchar_t specializations if all the
74182     # above support is present.
74183     if test x"$ac_isoC99_wchar_t" = xyes &&
74184        test x"$ac_XPG2_wchar_t" = xyes;
74185     then
74186       cat >>confdefs.h <<\_ACEOF
74187 #define _GLIBCXX_USE_WCHAR_T 1
74188 _ACEOF
74189
74190       enable_wchar_t=yes
74191     fi
74192   fi
74193   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74194 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74195   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74196 echo "${ECHO_T}$enable_wchar_t" >&6
74197
74198     ;;
74199   *-netbsd*)
74200
74201
74202
74203
74204
74205
74206
74207
74208
74209
74210
74211
74212 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74213       machine/endian.h machine/param.h sys/machine.h sys/types.h \
74214       fp.h locale.h float.h inttypes.h
74215 do
74216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74218   echo "$as_me:$LINENO: checking for $ac_header" >&5
74219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74221   echo $ECHO_N "(cached) $ECHO_C" >&6
74222 fi
74223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74225 else
74226   # Is the header compilable?
74227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74229 cat >conftest.$ac_ext <<_ACEOF
74230 #line $LINENO "configure"
74231 /* confdefs.h.  */
74232 _ACEOF
74233 cat confdefs.h >>conftest.$ac_ext
74234 cat >>conftest.$ac_ext <<_ACEOF
74235 /* end confdefs.h.  */
74236 $ac_includes_default
74237 #include <$ac_header>
74238 _ACEOF
74239 rm -f conftest.$ac_objext
74240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74241   (eval $ac_compile) 2>&5
74242   ac_status=$?
74243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74244   (exit $ac_status); } &&
74245          { ac_try='test -s conftest.$ac_objext'
74246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74247   (eval $ac_try) 2>&5
74248   ac_status=$?
74249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250   (exit $ac_status); }; }; then
74251   ac_header_compiler=yes
74252 else
74253   echo "$as_me: failed program was:" >&5
74254 sed 's/^/| /' conftest.$ac_ext >&5
74255
74256 ac_header_compiler=no
74257 fi
74258 rm -f conftest.$ac_objext conftest.$ac_ext
74259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74260 echo "${ECHO_T}$ac_header_compiler" >&6
74261
74262 # Is the header present?
74263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74265 cat >conftest.$ac_ext <<_ACEOF
74266 #line $LINENO "configure"
74267 /* confdefs.h.  */
74268 _ACEOF
74269 cat confdefs.h >>conftest.$ac_ext
74270 cat >>conftest.$ac_ext <<_ACEOF
74271 /* end confdefs.h.  */
74272 #include <$ac_header>
74273 _ACEOF
74274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74275   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74276   ac_status=$?
74277   grep -v '^ *+' conftest.er1 >conftest.err
74278   rm -f conftest.er1
74279   cat conftest.err >&5
74280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74281   (exit $ac_status); } >/dev/null; then
74282   if test -s conftest.err; then
74283     ac_cpp_err=$ac_c_preproc_warn_flag
74284   else
74285     ac_cpp_err=
74286   fi
74287 else
74288   ac_cpp_err=yes
74289 fi
74290 if test -z "$ac_cpp_err"; then
74291   ac_header_preproc=yes
74292 else
74293   echo "$as_me: failed program was:" >&5
74294 sed 's/^/| /' conftest.$ac_ext >&5
74295
74296   ac_header_preproc=no
74297 fi
74298 rm -f conftest.err conftest.$ac_ext
74299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74300 echo "${ECHO_T}$ac_header_preproc" >&6
74301
74302 # So?  What about this header?
74303 case $ac_header_compiler:$ac_header_preproc in
74304   yes:no )
74305     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74307     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74309     (
74310       cat <<\_ASBOX
74311 ## ------------------------------------ ##
74312 ## Report this to bug-autoconf@gnu.org. ##
74313 ## ------------------------------------ ##
74314 _ASBOX
74315     ) |
74316       sed "s/^/$as_me: WARNING:     /" >&2
74317     ;;
74318   no:yes )
74319     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74321     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74323     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74325     (
74326       cat <<\_ASBOX
74327 ## ------------------------------------ ##
74328 ## Report this to bug-autoconf@gnu.org. ##
74329 ## ------------------------------------ ##
74330 _ASBOX
74331     ) |
74332       sed "s/^/$as_me: WARNING:     /" >&2
74333     ;;
74334 esac
74335 echo "$as_me:$LINENO: checking for $ac_header" >&5
74336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74338   echo $ECHO_N "(cached) $ECHO_C" >&6
74339 else
74340   eval "$as_ac_Header=$ac_header_preproc"
74341 fi
74342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74344
74345 fi
74346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74347   cat >>confdefs.h <<_ACEOF
74348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74349 _ACEOF
74350
74351 fi
74352
74353 done
74354
74355     SECTION_FLAGS='-ffunction-sections -fdata-sections'
74356
74357
74358   # If we're not using GNU ld, then there's no point in even trying these
74359   # tests.  Check for that first.  We should have already tested for gld
74360   # by now (in libtool), but require it now just to be safe...
74361   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74362   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74363
74364
74365
74366   # The name set by libtool depends on the version of libtool.  Shame on us
74367   # for depending on an impl detail, but c'est la vie.  Older versions used
74368   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74369   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74370   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
74371   # set (hence we're using an older libtool), then set it.
74372   if test x${with_gnu_ld+set} != xset; then
74373     if test x${ac_cv_prog_gnu_ld+set} != xset; then
74374       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
74375       with_gnu_ld=no
74376     else
74377       with_gnu_ld=$ac_cv_prog_gnu_ld
74378     fi
74379   fi
74380
74381   # Start by getting the version number.  I think the libtool test already
74382   # does some of this, but throws away the result.
74383
74384   ldver=`$LD --version 2>/dev/null | head -1 | \
74385          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74386
74387   glibcxx_gnu_ld_version=`echo $ldver | \
74388          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74389
74390   # Set --gc-sections.
74391   if test "$with_gnu_ld" = "notbroken"; then
74392     # GNU ld it is!  Joy and bunny rabbits!
74393
74394     # All these tests are for C++; save the language and the compiler flags.
74395     # Need to do this so that g++ won't try to link in libstdc++
74396     ac_test_CFLAGS="${CFLAGS+set}"
74397     ac_save_CFLAGS="$CFLAGS"
74398     CFLAGS='-x c++  -Wl,--gc-sections'
74399
74400     # Check for -Wl,--gc-sections
74401     # XXX This test is broken at the moment, as symbols required for linking
74402     # are now in libsupc++ (not built yet).  In addition, this test has
74403     # cored on solaris in the past.  In addition, --gc-sections doesn't
74404     # really work at the moment (keeps on discarding used sections, first
74405     # .eh_frame and now some of the glibc sections for iconv).
74406     # Bzzzzt.  Thanks for playing, maybe next time.
74407     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74408 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74409     if test "$cross_compiling" = yes; then
74410   ac_sectionLDflags=yes
74411 else
74412   cat >conftest.$ac_ext <<_ACEOF
74413 #line $LINENO "configure"
74414 /* confdefs.h.  */
74415 _ACEOF
74416 cat confdefs.h >>conftest.$ac_ext
74417 cat >>conftest.$ac_ext <<_ACEOF
74418 /* end confdefs.h.  */
74419
74420      int main(void)
74421      {
74422        try { throw 1; }
74423        catch (...) { };
74424        return 0;
74425      }
74426
74427 _ACEOF
74428 rm -f conftest$ac_exeext
74429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74430   (eval $ac_link) 2>&5
74431   ac_status=$?
74432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74433   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74435   (eval $ac_try) 2>&5
74436   ac_status=$?
74437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74438   (exit $ac_status); }; }; then
74439   ac_sectionLDflags=yes
74440 else
74441   echo "$as_me: program exited with status $ac_status" >&5
74442 echo "$as_me: failed program was:" >&5
74443 sed 's/^/| /' conftest.$ac_ext >&5
74444
74445 ( exit $ac_status )
74446 ac_sectionLDflags=no
74447 fi
74448 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74449 fi
74450     if test "$ac_test_CFLAGS" = set; then
74451       CFLAGS="$ac_save_CFLAGS"
74452     else
74453       # this is the suspicious part
74454       CFLAGS=''
74455     fi
74456     if test "$ac_sectionLDflags" = "yes"; then
74457       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74458     fi
74459     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74460 echo "${ECHO_T}$ac_sectionLDflags" >&6
74461   fi
74462
74463   # Set linker optimization flags.
74464   if test x"$with_gnu_ld" = x"yes"; then
74465     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74466   fi
74467
74468
74469
74470
74471
74472
74473 echo "$as_me:$LINENO: checking for main in -lm" >&5
74474 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74475 if test "${ac_cv_lib_m_main+set}" = set; then
74476   echo $ECHO_N "(cached) $ECHO_C" >&6
74477 else
74478   ac_check_lib_save_LIBS=$LIBS
74479 LIBS="-lm  $LIBS"
74480 if test x$gcc_no_link = xyes; then
74481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74483    { (exit 1); exit 1; }; }
74484 fi
74485 cat >conftest.$ac_ext <<_ACEOF
74486 #line $LINENO "configure"
74487 /* confdefs.h.  */
74488 _ACEOF
74489 cat confdefs.h >>conftest.$ac_ext
74490 cat >>conftest.$ac_ext <<_ACEOF
74491 /* end confdefs.h.  */
74492
74493
74494 int
74495 main ()
74496 {
74497 main ();
74498   ;
74499   return 0;
74500 }
74501 _ACEOF
74502 rm -f conftest.$ac_objext conftest$ac_exeext
74503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74504   (eval $ac_link) 2>&5
74505   ac_status=$?
74506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74507   (exit $ac_status); } &&
74508          { ac_try='test -s conftest$ac_exeext'
74509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74510   (eval $ac_try) 2>&5
74511   ac_status=$?
74512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74513   (exit $ac_status); }; }; then
74514   ac_cv_lib_m_main=yes
74515 else
74516   echo "$as_me: failed program was:" >&5
74517 sed 's/^/| /' conftest.$ac_ext >&5
74518
74519 ac_cv_lib_m_main=no
74520 fi
74521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74522 LIBS=$ac_check_lib_save_LIBS
74523 fi
74524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74525 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74526 if test $ac_cv_lib_m_main = yes; then
74527   cat >>confdefs.h <<_ACEOF
74528 #define HAVE_LIBM 1
74529 _ACEOF
74530
74531   LIBS="-lm $LIBS"
74532
74533 fi
74534
74535
74536 for ac_func in copysignf
74537 do
74538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74539 echo "$as_me:$LINENO: checking for $ac_func" >&5
74540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74541 if eval "test \"\${$as_ac_var+set}\" = set"; then
74542   echo $ECHO_N "(cached) $ECHO_C" >&6
74543 else
74544   if test x$gcc_no_link = xyes; then
74545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74547    { (exit 1); exit 1; }; }
74548 fi
74549 cat >conftest.$ac_ext <<_ACEOF
74550 #line $LINENO "configure"
74551 /* confdefs.h.  */
74552 _ACEOF
74553 cat confdefs.h >>conftest.$ac_ext
74554 cat >>conftest.$ac_ext <<_ACEOF
74555 /* end confdefs.h.  */
74556 /* System header to define __stub macros and hopefully few prototypes,
74557     which can conflict with char $ac_func (); below.
74558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74559     <limits.h> exists even on freestanding compilers.  */
74560 #ifdef __STDC__
74561 # include <limits.h>
74562 #else
74563 # include <assert.h>
74564 #endif
74565 /* Override any gcc2 internal prototype to avoid an error.  */
74566 #ifdef __cplusplus
74567 extern "C"
74568 {
74569 #endif
74570 /* We use char because int might match the return type of a gcc2
74571    builtin and then its argument prototype would still apply.  */
74572 char $ac_func ();
74573 /* The GNU C library defines this for functions which it implements
74574     to always fail with ENOSYS.  Some functions are actually named
74575     something starting with __ and the normal name is an alias.  */
74576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74577 choke me
74578 #else
74579 char (*f) () = $ac_func;
74580 #endif
74581 #ifdef __cplusplus
74582 }
74583 #endif
74584
74585 int
74586 main ()
74587 {
74588 return f != $ac_func;
74589   ;
74590   return 0;
74591 }
74592 _ACEOF
74593 rm -f conftest.$ac_objext conftest$ac_exeext
74594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74595   (eval $ac_link) 2>&5
74596   ac_status=$?
74597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74598   (exit $ac_status); } &&
74599          { ac_try='test -s conftest$ac_exeext'
74600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74601   (eval $ac_try) 2>&5
74602   ac_status=$?
74603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74604   (exit $ac_status); }; }; then
74605   eval "$as_ac_var=yes"
74606 else
74607   echo "$as_me: failed program was:" >&5
74608 sed 's/^/| /' conftest.$ac_ext >&5
74609
74610 eval "$as_ac_var=no"
74611 fi
74612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74613 fi
74614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74616 if test `eval echo '${'$as_ac_var'}'` = yes; then
74617   cat >>confdefs.h <<_ACEOF
74618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74619 _ACEOF
74620
74621 else
74622   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74623 fi
74624 done
74625
74626
74627
74628 for ac_func in __signbit
74629 do
74630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74631 echo "$as_me:$LINENO: checking for $ac_func" >&5
74632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74633 if eval "test \"\${$as_ac_var+set}\" = set"; then
74634   echo $ECHO_N "(cached) $ECHO_C" >&6
74635 else
74636   if test x$gcc_no_link = xyes; then
74637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74639    { (exit 1); exit 1; }; }
74640 fi
74641 cat >conftest.$ac_ext <<_ACEOF
74642 #line $LINENO "configure"
74643 /* confdefs.h.  */
74644 _ACEOF
74645 cat confdefs.h >>conftest.$ac_ext
74646 cat >>conftest.$ac_ext <<_ACEOF
74647 /* end confdefs.h.  */
74648 /* System header to define __stub macros and hopefully few prototypes,
74649     which can conflict with char $ac_func (); below.
74650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74651     <limits.h> exists even on freestanding compilers.  */
74652 #ifdef __STDC__
74653 # include <limits.h>
74654 #else
74655 # include <assert.h>
74656 #endif
74657 /* Override any gcc2 internal prototype to avoid an error.  */
74658 #ifdef __cplusplus
74659 extern "C"
74660 {
74661 #endif
74662 /* We use char because int might match the return type of a gcc2
74663    builtin and then its argument prototype would still apply.  */
74664 char $ac_func ();
74665 /* The GNU C library defines this for functions which it implements
74666     to always fail with ENOSYS.  Some functions are actually named
74667     something starting with __ and the normal name is an alias.  */
74668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74669 choke me
74670 #else
74671 char (*f) () = $ac_func;
74672 #endif
74673 #ifdef __cplusplus
74674 }
74675 #endif
74676
74677 int
74678 main ()
74679 {
74680 return f != $ac_func;
74681   ;
74682   return 0;
74683 }
74684 _ACEOF
74685 rm -f conftest.$ac_objext conftest$ac_exeext
74686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74687   (eval $ac_link) 2>&5
74688   ac_status=$?
74689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74690   (exit $ac_status); } &&
74691          { ac_try='test -s conftest$ac_exeext'
74692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74693   (eval $ac_try) 2>&5
74694   ac_status=$?
74695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74696   (exit $ac_status); }; }; then
74697   eval "$as_ac_var=yes"
74698 else
74699   echo "$as_me: failed program was:" >&5
74700 sed 's/^/| /' conftest.$ac_ext >&5
74701
74702 eval "$as_ac_var=no"
74703 fi
74704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74705 fi
74706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74708 if test `eval echo '${'$as_ac_var'}'` = yes; then
74709   cat >>confdefs.h <<_ACEOF
74710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74711 _ACEOF
74712
74713 else
74714   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74715 fi
74716 done
74717
74718
74719
74720 for ac_func in __signbitf
74721 do
74722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74723 echo "$as_me:$LINENO: checking for $ac_func" >&5
74724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74725 if eval "test \"\${$as_ac_var+set}\" = set"; then
74726   echo $ECHO_N "(cached) $ECHO_C" >&6
74727 else
74728   if test x$gcc_no_link = xyes; then
74729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74731    { (exit 1); exit 1; }; }
74732 fi
74733 cat >conftest.$ac_ext <<_ACEOF
74734 #line $LINENO "configure"
74735 /* confdefs.h.  */
74736 _ACEOF
74737 cat confdefs.h >>conftest.$ac_ext
74738 cat >>conftest.$ac_ext <<_ACEOF
74739 /* end confdefs.h.  */
74740 /* System header to define __stub macros and hopefully few prototypes,
74741     which can conflict with char $ac_func (); below.
74742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74743     <limits.h> exists even on freestanding compilers.  */
74744 #ifdef __STDC__
74745 # include <limits.h>
74746 #else
74747 # include <assert.h>
74748 #endif
74749 /* Override any gcc2 internal prototype to avoid an error.  */
74750 #ifdef __cplusplus
74751 extern "C"
74752 {
74753 #endif
74754 /* We use char because int might match the return type of a gcc2
74755    builtin and then its argument prototype would still apply.  */
74756 char $ac_func ();
74757 /* The GNU C library defines this for functions which it implements
74758     to always fail with ENOSYS.  Some functions are actually named
74759     something starting with __ and the normal name is an alias.  */
74760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74761 choke me
74762 #else
74763 char (*f) () = $ac_func;
74764 #endif
74765 #ifdef __cplusplus
74766 }
74767 #endif
74768
74769 int
74770 main ()
74771 {
74772 return f != $ac_func;
74773   ;
74774   return 0;
74775 }
74776 _ACEOF
74777 rm -f conftest.$ac_objext conftest$ac_exeext
74778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74779   (eval $ac_link) 2>&5
74780   ac_status=$?
74781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74782   (exit $ac_status); } &&
74783          { ac_try='test -s conftest$ac_exeext'
74784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74785   (eval $ac_try) 2>&5
74786   ac_status=$?
74787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74788   (exit $ac_status); }; }; then
74789   eval "$as_ac_var=yes"
74790 else
74791   echo "$as_me: failed program was:" >&5
74792 sed 's/^/| /' conftest.$ac_ext >&5
74793
74794 eval "$as_ac_var=no"
74795 fi
74796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74797 fi
74798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74800 if test `eval echo '${'$as_ac_var'}'` = yes; then
74801   cat >>confdefs.h <<_ACEOF
74802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74803 _ACEOF
74804
74805 else
74806   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74807 fi
74808 done
74809
74810
74811           if test x$ac_cv_func_copysignl = x"yes"; then
74812
74813 for ac_func in __signbitl
74814 do
74815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74816 echo "$as_me:$LINENO: checking for $ac_func" >&5
74817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74818 if eval "test \"\${$as_ac_var+set}\" = set"; then
74819   echo $ECHO_N "(cached) $ECHO_C" >&6
74820 else
74821   if test x$gcc_no_link = xyes; then
74822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74824    { (exit 1); exit 1; }; }
74825 fi
74826 cat >conftest.$ac_ext <<_ACEOF
74827 #line $LINENO "configure"
74828 /* confdefs.h.  */
74829 _ACEOF
74830 cat confdefs.h >>conftest.$ac_ext
74831 cat >>conftest.$ac_ext <<_ACEOF
74832 /* end confdefs.h.  */
74833 /* System header to define __stub macros and hopefully few prototypes,
74834     which can conflict with char $ac_func (); below.
74835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74836     <limits.h> exists even on freestanding compilers.  */
74837 #ifdef __STDC__
74838 # include <limits.h>
74839 #else
74840 # include <assert.h>
74841 #endif
74842 /* Override any gcc2 internal prototype to avoid an error.  */
74843 #ifdef __cplusplus
74844 extern "C"
74845 {
74846 #endif
74847 /* We use char because int might match the return type of a gcc2
74848    builtin and then its argument prototype would still apply.  */
74849 char $ac_func ();
74850 /* The GNU C library defines this for functions which it implements
74851     to always fail with ENOSYS.  Some functions are actually named
74852     something starting with __ and the normal name is an alias.  */
74853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74854 choke me
74855 #else
74856 char (*f) () = $ac_func;
74857 #endif
74858 #ifdef __cplusplus
74859 }
74860 #endif
74861
74862 int
74863 main ()
74864 {
74865 return f != $ac_func;
74866   ;
74867   return 0;
74868 }
74869 _ACEOF
74870 rm -f conftest.$ac_objext conftest$ac_exeext
74871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74872   (eval $ac_link) 2>&5
74873   ac_status=$?
74874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74875   (exit $ac_status); } &&
74876          { ac_try='test -s conftest$ac_exeext'
74877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74878   (eval $ac_try) 2>&5
74879   ac_status=$?
74880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74881   (exit $ac_status); }; }; then
74882   eval "$as_ac_var=yes"
74883 else
74884   echo "$as_me: failed program was:" >&5
74885 sed 's/^/| /' conftest.$ac_ext >&5
74886
74887 eval "$as_ac_var=no"
74888 fi
74889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
74890 fi
74891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74893 if test `eval echo '${'$as_ac_var'}'` = yes; then
74894   cat >>confdefs.h <<_ACEOF
74895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74896 _ACEOF
74897
74898 else
74899   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74900 fi
74901 done
74902
74903   fi
74904
74905   # Used in libmath/Makefile.am.
74906   if test -n "$LIBMATHOBJS"; then
74907     need_libmath=yes
74908   fi
74909
74910
74911
74912   # Test wchar.h for mbstate_t, which is needed for char_traits and
74913   # others even if wchar_t support is not on.
74914   echo "$as_me:$LINENO: checking for mbstate_t" >&5
74915 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
74916   cat >conftest.$ac_ext <<_ACEOF
74917 #line $LINENO "configure"
74918 /* confdefs.h.  */
74919 _ACEOF
74920 cat confdefs.h >>conftest.$ac_ext
74921 cat >>conftest.$ac_ext <<_ACEOF
74922 /* end confdefs.h.  */
74923 #include <wchar.h>
74924 int
74925 main ()
74926 {
74927 mbstate_t teststate;
74928   ;
74929   return 0;
74930 }
74931 _ACEOF
74932 rm -f conftest.$ac_objext
74933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74934   (eval $ac_compile) 2>&5
74935   ac_status=$?
74936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74937   (exit $ac_status); } &&
74938          { ac_try='test -s conftest.$ac_objext'
74939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74940   (eval $ac_try) 2>&5
74941   ac_status=$?
74942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74943   (exit $ac_status); }; }; then
74944   have_mbstate_t=yes
74945 else
74946   echo "$as_me: failed program was:" >&5
74947 sed 's/^/| /' conftest.$ac_ext >&5
74948
74949 have_mbstate_t=no
74950 fi
74951 rm -f conftest.$ac_objext conftest.$ac_ext
74952   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
74953 echo "${ECHO_T}$have_mbstate_t" >&6
74954   if test x"$have_mbstate_t" = xyes; then
74955     cat >>confdefs.h <<\_ACEOF
74956 #define HAVE_MBSTATE_T 1
74957 _ACEOF
74958
74959   fi
74960
74961   # Sanity check for existence of ISO C99 headers for extended encoding.
74962
74963 for ac_header in wchar.h
74964 do
74965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74967   echo "$as_me:$LINENO: checking for $ac_header" >&5
74968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74970   echo $ECHO_N "(cached) $ECHO_C" >&6
74971 fi
74972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74974 else
74975   # Is the header compilable?
74976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74978 cat >conftest.$ac_ext <<_ACEOF
74979 #line $LINENO "configure"
74980 /* confdefs.h.  */
74981 _ACEOF
74982 cat confdefs.h >>conftest.$ac_ext
74983 cat >>conftest.$ac_ext <<_ACEOF
74984 /* end confdefs.h.  */
74985 $ac_includes_default
74986 #include <$ac_header>
74987 _ACEOF
74988 rm -f conftest.$ac_objext
74989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74990   (eval $ac_compile) 2>&5
74991   ac_status=$?
74992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74993   (exit $ac_status); } &&
74994          { ac_try='test -s conftest.$ac_objext'
74995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74996   (eval $ac_try) 2>&5
74997   ac_status=$?
74998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74999   (exit $ac_status); }; }; then
75000   ac_header_compiler=yes
75001 else
75002   echo "$as_me: failed program was:" >&5
75003 sed 's/^/| /' conftest.$ac_ext >&5
75004
75005 ac_header_compiler=no
75006 fi
75007 rm -f conftest.$ac_objext conftest.$ac_ext
75008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75009 echo "${ECHO_T}$ac_header_compiler" >&6
75010
75011 # Is the header present?
75012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75014 cat >conftest.$ac_ext <<_ACEOF
75015 #line $LINENO "configure"
75016 /* confdefs.h.  */
75017 _ACEOF
75018 cat confdefs.h >>conftest.$ac_ext
75019 cat >>conftest.$ac_ext <<_ACEOF
75020 /* end confdefs.h.  */
75021 #include <$ac_header>
75022 _ACEOF
75023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75024   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75025   ac_status=$?
75026   grep -v '^ *+' conftest.er1 >conftest.err
75027   rm -f conftest.er1
75028   cat conftest.err >&5
75029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75030   (exit $ac_status); } >/dev/null; then
75031   if test -s conftest.err; then
75032     ac_cpp_err=$ac_c_preproc_warn_flag
75033   else
75034     ac_cpp_err=
75035   fi
75036 else
75037   ac_cpp_err=yes
75038 fi
75039 if test -z "$ac_cpp_err"; then
75040   ac_header_preproc=yes
75041 else
75042   echo "$as_me: failed program was:" >&5
75043 sed 's/^/| /' conftest.$ac_ext >&5
75044
75045   ac_header_preproc=no
75046 fi
75047 rm -f conftest.err conftest.$ac_ext
75048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75049 echo "${ECHO_T}$ac_header_preproc" >&6
75050
75051 # So?  What about this header?
75052 case $ac_header_compiler:$ac_header_preproc in
75053   yes:no )
75054     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75056     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75058     (
75059       cat <<\_ASBOX
75060 ## ------------------------------------ ##
75061 ## Report this to bug-autoconf@gnu.org. ##
75062 ## ------------------------------------ ##
75063 _ASBOX
75064     ) |
75065       sed "s/^/$as_me: WARNING:     /" >&2
75066     ;;
75067   no:yes )
75068     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75070     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75072     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75074     (
75075       cat <<\_ASBOX
75076 ## ------------------------------------ ##
75077 ## Report this to bug-autoconf@gnu.org. ##
75078 ## ------------------------------------ ##
75079 _ASBOX
75080     ) |
75081       sed "s/^/$as_me: WARNING:     /" >&2
75082     ;;
75083 esac
75084 echo "$as_me:$LINENO: checking for $ac_header" >&5
75085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75087   echo $ECHO_N "(cached) $ECHO_C" >&6
75088 else
75089   eval "$as_ac_Header=$ac_header_preproc"
75090 fi
75091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75093
75094 fi
75095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75096   cat >>confdefs.h <<_ACEOF
75097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75098 _ACEOF
75099  ac_has_wchar_h=yes
75100 else
75101   ac_has_wchar_h=no
75102 fi
75103
75104 done
75105
75106
75107 for ac_header in wctype.h
75108 do
75109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75111   echo "$as_me:$LINENO: checking for $ac_header" >&5
75112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75114   echo $ECHO_N "(cached) $ECHO_C" >&6
75115 fi
75116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75118 else
75119   # Is the header compilable?
75120 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75121 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75122 cat >conftest.$ac_ext <<_ACEOF
75123 #line $LINENO "configure"
75124 /* confdefs.h.  */
75125 _ACEOF
75126 cat confdefs.h >>conftest.$ac_ext
75127 cat >>conftest.$ac_ext <<_ACEOF
75128 /* end confdefs.h.  */
75129 $ac_includes_default
75130 #include <$ac_header>
75131 _ACEOF
75132 rm -f conftest.$ac_objext
75133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75134   (eval $ac_compile) 2>&5
75135   ac_status=$?
75136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75137   (exit $ac_status); } &&
75138          { ac_try='test -s conftest.$ac_objext'
75139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75140   (eval $ac_try) 2>&5
75141   ac_status=$?
75142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75143   (exit $ac_status); }; }; then
75144   ac_header_compiler=yes
75145 else
75146   echo "$as_me: failed program was:" >&5
75147 sed 's/^/| /' conftest.$ac_ext >&5
75148
75149 ac_header_compiler=no
75150 fi
75151 rm -f conftest.$ac_objext conftest.$ac_ext
75152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75153 echo "${ECHO_T}$ac_header_compiler" >&6
75154
75155 # Is the header present?
75156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75158 cat >conftest.$ac_ext <<_ACEOF
75159 #line $LINENO "configure"
75160 /* confdefs.h.  */
75161 _ACEOF
75162 cat confdefs.h >>conftest.$ac_ext
75163 cat >>conftest.$ac_ext <<_ACEOF
75164 /* end confdefs.h.  */
75165 #include <$ac_header>
75166 _ACEOF
75167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75168   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75169   ac_status=$?
75170   grep -v '^ *+' conftest.er1 >conftest.err
75171   rm -f conftest.er1
75172   cat conftest.err >&5
75173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75174   (exit $ac_status); } >/dev/null; then
75175   if test -s conftest.err; then
75176     ac_cpp_err=$ac_c_preproc_warn_flag
75177   else
75178     ac_cpp_err=
75179   fi
75180 else
75181   ac_cpp_err=yes
75182 fi
75183 if test -z "$ac_cpp_err"; then
75184   ac_header_preproc=yes
75185 else
75186   echo "$as_me: failed program was:" >&5
75187 sed 's/^/| /' conftest.$ac_ext >&5
75188
75189   ac_header_preproc=no
75190 fi
75191 rm -f conftest.err conftest.$ac_ext
75192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75193 echo "${ECHO_T}$ac_header_preproc" >&6
75194
75195 # So?  What about this header?
75196 case $ac_header_compiler:$ac_header_preproc in
75197   yes:no )
75198     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75200     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75202     (
75203       cat <<\_ASBOX
75204 ## ------------------------------------ ##
75205 ## Report this to bug-autoconf@gnu.org. ##
75206 ## ------------------------------------ ##
75207 _ASBOX
75208     ) |
75209       sed "s/^/$as_me: WARNING:     /" >&2
75210     ;;
75211   no:yes )
75212     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75213 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75214     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75215 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75216     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75218     (
75219       cat <<\_ASBOX
75220 ## ------------------------------------ ##
75221 ## Report this to bug-autoconf@gnu.org. ##
75222 ## ------------------------------------ ##
75223 _ASBOX
75224     ) |
75225       sed "s/^/$as_me: WARNING:     /" >&2
75226     ;;
75227 esac
75228 echo "$as_me:$LINENO: checking for $ac_header" >&5
75229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75231   echo $ECHO_N "(cached) $ECHO_C" >&6
75232 else
75233   eval "$as_ac_Header=$ac_header_preproc"
75234 fi
75235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75237
75238 fi
75239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75240   cat >>confdefs.h <<_ACEOF
75241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75242 _ACEOF
75243  ac_has_wctype_h=yes
75244 else
75245   ac_has_wctype_h=no
75246 fi
75247
75248 done
75249
75250
75251   # Only continue checking if the ISO C99 headers exist and support is on.
75252   if test x"$ac_has_wchar_h" = xyes &&
75253      test x"$ac_has_wctype_h" = xyes &&
75254      test x"$enable_c_mbchar" != xno; then
75255
75256     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
75257     # numeric_limits can instantiate type_traits<wchar_t>
75258     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
75259 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
75260     cat >conftest.$ac_ext <<_ACEOF
75261 #line $LINENO "configure"
75262 /* confdefs.h.  */
75263 _ACEOF
75264 cat confdefs.h >>conftest.$ac_ext
75265 cat >>conftest.$ac_ext <<_ACEOF
75266 /* end confdefs.h.  */
75267 #include <wchar.h>
75268 int
75269 main ()
75270 {
75271 int i = WCHAR_MIN; int j = WCHAR_MAX;
75272   ;
75273   return 0;
75274 }
75275 _ACEOF
75276 rm -f conftest.$ac_objext
75277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75278   (eval $ac_compile) 2>&5
75279   ac_status=$?
75280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75281   (exit $ac_status); } &&
75282          { ac_try='test -s conftest.$ac_objext'
75283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75284   (eval $ac_try) 2>&5
75285   ac_status=$?
75286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75287   (exit $ac_status); }; }; then
75288   has_wchar_minmax=yes
75289 else
75290   echo "$as_me: failed program was:" >&5
75291 sed 's/^/| /' conftest.$ac_ext >&5
75292
75293 has_wchar_minmax=no
75294 fi
75295 rm -f conftest.$ac_objext conftest.$ac_ext
75296     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
75297 echo "${ECHO_T}$has_wchar_minmax" >&6
75298
75299     # Test wchar.h for WEOF, which is what we use to determine whether
75300     # to specialize for char_traits<wchar_t> or not.
75301     echo "$as_me:$LINENO: checking for WEOF" >&5
75302 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
75303     cat >conftest.$ac_ext <<_ACEOF
75304 #line $LINENO "configure"
75305 /* confdefs.h.  */
75306 _ACEOF
75307 cat confdefs.h >>conftest.$ac_ext
75308 cat >>conftest.$ac_ext <<_ACEOF
75309 /* end confdefs.h.  */
75310
75311       #include <wchar.h>
75312       #include <stddef.h>
75313 int
75314 main ()
75315 {
75316 wint_t i = WEOF;
75317   ;
75318   return 0;
75319 }
75320 _ACEOF
75321 rm -f conftest.$ac_objext
75322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75323   (eval $ac_compile) 2>&5
75324   ac_status=$?
75325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75326   (exit $ac_status); } &&
75327          { ac_try='test -s conftest.$ac_objext'
75328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75329   (eval $ac_try) 2>&5
75330   ac_status=$?
75331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75332   (exit $ac_status); }; }; then
75333   has_weof=yes
75334 else
75335   echo "$as_me: failed program was:" >&5
75336 sed 's/^/| /' conftest.$ac_ext >&5
75337
75338 has_weof=no
75339 fi
75340 rm -f conftest.$ac_objext conftest.$ac_ext
75341     echo "$as_me:$LINENO: result: $has_weof" >&5
75342 echo "${ECHO_T}$has_weof" >&6
75343
75344     # Tests for wide character functions used in char_traits<wchar_t>.
75345     ac_wfuncs=yes
75346
75347
75348
75349
75350
75351
75352 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
75353 do
75354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75355 echo "$as_me:$LINENO: checking for $ac_func" >&5
75356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75357 if eval "test \"\${$as_ac_var+set}\" = set"; then
75358   echo $ECHO_N "(cached) $ECHO_C" >&6
75359 else
75360   if test x$gcc_no_link = xyes; then
75361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75363    { (exit 1); exit 1; }; }
75364 fi
75365 cat >conftest.$ac_ext <<_ACEOF
75366 #line $LINENO "configure"
75367 /* confdefs.h.  */
75368 _ACEOF
75369 cat confdefs.h >>conftest.$ac_ext
75370 cat >>conftest.$ac_ext <<_ACEOF
75371 /* end confdefs.h.  */
75372 /* System header to define __stub macros and hopefully few prototypes,
75373     which can conflict with char $ac_func (); below.
75374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75375     <limits.h> exists even on freestanding compilers.  */
75376 #ifdef __STDC__
75377 # include <limits.h>
75378 #else
75379 # include <assert.h>
75380 #endif
75381 /* Override any gcc2 internal prototype to avoid an error.  */
75382 #ifdef __cplusplus
75383 extern "C"
75384 {
75385 #endif
75386 /* We use char because int might match the return type of a gcc2
75387    builtin and then its argument prototype would still apply.  */
75388 char $ac_func ();
75389 /* The GNU C library defines this for functions which it implements
75390     to always fail with ENOSYS.  Some functions are actually named
75391     something starting with __ and the normal name is an alias.  */
75392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75393 choke me
75394 #else
75395 char (*f) () = $ac_func;
75396 #endif
75397 #ifdef __cplusplus
75398 }
75399 #endif
75400
75401 int
75402 main ()
75403 {
75404 return f != $ac_func;
75405   ;
75406   return 0;
75407 }
75408 _ACEOF
75409 rm -f conftest.$ac_objext conftest$ac_exeext
75410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75411   (eval $ac_link) 2>&5
75412   ac_status=$?
75413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75414   (exit $ac_status); } &&
75415          { ac_try='test -s conftest$ac_exeext'
75416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75417   (eval $ac_try) 2>&5
75418   ac_status=$?
75419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75420   (exit $ac_status); }; }; then
75421   eval "$as_ac_var=yes"
75422 else
75423   echo "$as_me: failed program was:" >&5
75424 sed 's/^/| /' conftest.$ac_ext >&5
75425
75426 eval "$as_ac_var=no"
75427 fi
75428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75429 fi
75430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75432 if test `eval echo '${'$as_ac_var'}'` = yes; then
75433   cat >>confdefs.h <<_ACEOF
75434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75435 _ACEOF
75436
75437 else
75438   ac_wfuncs=no
75439 fi
75440 done
75441
75442
75443     # Checks for names injected into std:: by the c_std headers.
75444
75445
75446
75447
75448
75449
75450
75451
75452
75453
75454
75455
75456
75457
75458
75459
75460
75461
75462
75463
75464
75465
75466
75467
75468
75469
75470
75471
75472
75473
75474
75475
75476
75477
75478
75479
75480
75481
75482
75483
75484
75485
75486
75487
75488
75489
75490 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
75491     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
75492     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
75493     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
75494     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
75495     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
75496 do
75497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75498 echo "$as_me:$LINENO: checking for $ac_func" >&5
75499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75500 if eval "test \"\${$as_ac_var+set}\" = set"; then
75501   echo $ECHO_N "(cached) $ECHO_C" >&6
75502 else
75503   if test x$gcc_no_link = xyes; then
75504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75506    { (exit 1); exit 1; }; }
75507 fi
75508 cat >conftest.$ac_ext <<_ACEOF
75509 #line $LINENO "configure"
75510 /* confdefs.h.  */
75511 _ACEOF
75512 cat confdefs.h >>conftest.$ac_ext
75513 cat >>conftest.$ac_ext <<_ACEOF
75514 /* end confdefs.h.  */
75515 /* System header to define __stub macros and hopefully few prototypes,
75516     which can conflict with char $ac_func (); below.
75517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75518     <limits.h> exists even on freestanding compilers.  */
75519 #ifdef __STDC__
75520 # include <limits.h>
75521 #else
75522 # include <assert.h>
75523 #endif
75524 /* Override any gcc2 internal prototype to avoid an error.  */
75525 #ifdef __cplusplus
75526 extern "C"
75527 {
75528 #endif
75529 /* We use char because int might match the return type of a gcc2
75530    builtin and then its argument prototype would still apply.  */
75531 char $ac_func ();
75532 /* The GNU C library defines this for functions which it implements
75533     to always fail with ENOSYS.  Some functions are actually named
75534     something starting with __ and the normal name is an alias.  */
75535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75536 choke me
75537 #else
75538 char (*f) () = $ac_func;
75539 #endif
75540 #ifdef __cplusplus
75541 }
75542 #endif
75543
75544 int
75545 main ()
75546 {
75547 return f != $ac_func;
75548   ;
75549   return 0;
75550 }
75551 _ACEOF
75552 rm -f conftest.$ac_objext conftest$ac_exeext
75553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75554   (eval $ac_link) 2>&5
75555   ac_status=$?
75556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75557   (exit $ac_status); } &&
75558          { ac_try='test -s conftest$ac_exeext'
75559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75560   (eval $ac_try) 2>&5
75561   ac_status=$?
75562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75563   (exit $ac_status); }; }; then
75564   eval "$as_ac_var=yes"
75565 else
75566   echo "$as_me: failed program was:" >&5
75567 sed 's/^/| /' conftest.$ac_ext >&5
75568
75569 eval "$as_ac_var=no"
75570 fi
75571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75572 fi
75573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75575 if test `eval echo '${'$as_ac_var'}'` = yes; then
75576   cat >>confdefs.h <<_ACEOF
75577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75578 _ACEOF
75579
75580 else
75581   ac_wfuncs=no
75582 fi
75583 done
75584
75585
75586     # Checks for wide character functions that are not required
75587     # for basic wchar_t support.  Don't disable support if they are missing.
75588     # Injection of these is wrapped with guard macros.
75589
75590
75591
75592
75593
75594 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
75595 do
75596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75597 echo "$as_me:$LINENO: checking for $ac_func" >&5
75598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75599 if eval "test \"\${$as_ac_var+set}\" = set"; then
75600   echo $ECHO_N "(cached) $ECHO_C" >&6
75601 else
75602   if test x$gcc_no_link = xyes; then
75603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75605    { (exit 1); exit 1; }; }
75606 fi
75607 cat >conftest.$ac_ext <<_ACEOF
75608 #line $LINENO "configure"
75609 /* confdefs.h.  */
75610 _ACEOF
75611 cat confdefs.h >>conftest.$ac_ext
75612 cat >>conftest.$ac_ext <<_ACEOF
75613 /* end confdefs.h.  */
75614 /* System header to define __stub macros and hopefully few prototypes,
75615     which can conflict with char $ac_func (); below.
75616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75617     <limits.h> exists even on freestanding compilers.  */
75618 #ifdef __STDC__
75619 # include <limits.h>
75620 #else
75621 # include <assert.h>
75622 #endif
75623 /* Override any gcc2 internal prototype to avoid an error.  */
75624 #ifdef __cplusplus
75625 extern "C"
75626 {
75627 #endif
75628 /* We use char because int might match the return type of a gcc2
75629    builtin and then its argument prototype would still apply.  */
75630 char $ac_func ();
75631 /* The GNU C library defines this for functions which it implements
75632     to always fail with ENOSYS.  Some functions are actually named
75633     something starting with __ and the normal name is an alias.  */
75634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75635 choke me
75636 #else
75637 char (*f) () = $ac_func;
75638 #endif
75639 #ifdef __cplusplus
75640 }
75641 #endif
75642
75643 int
75644 main ()
75645 {
75646 return f != $ac_func;
75647   ;
75648   return 0;
75649 }
75650 _ACEOF
75651 rm -f conftest.$ac_objext conftest$ac_exeext
75652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75653   (eval $ac_link) 2>&5
75654   ac_status=$?
75655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75656   (exit $ac_status); } &&
75657          { ac_try='test -s conftest$ac_exeext'
75658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75659   (eval $ac_try) 2>&5
75660   ac_status=$?
75661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75662   (exit $ac_status); }; }; then
75663   eval "$as_ac_var=yes"
75664 else
75665   echo "$as_me: failed program was:" >&5
75666 sed 's/^/| /' conftest.$ac_ext >&5
75667
75668 eval "$as_ac_var=no"
75669 fi
75670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
75671 fi
75672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75674 if test `eval echo '${'$as_ac_var'}'` = yes; then
75675   cat >>confdefs.h <<_ACEOF
75676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75677 _ACEOF
75678
75679 fi
75680 done
75681
75682
75683     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
75684 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
75685     if test x"$has_weof" = xyes &&
75686        test x"$has_wchar_minmax" = xyes &&
75687        test x"$ac_wfuncs" = xyes;
75688     then
75689       ac_isoC99_wchar_t=yes
75690     else
75691       ac_isoC99_wchar_t=no
75692     fi
75693     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
75694 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
75695
75696     # Use iconv for wchar_t to char conversions. As such, check for
75697     # X/Open Portability Guide, version 2 features (XPG2).
75698     if test "${ac_cv_header_iconv_h+set}" = set; then
75699   echo "$as_me:$LINENO: checking for iconv.h" >&5
75700 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75701 if test "${ac_cv_header_iconv_h+set}" = set; then
75702   echo $ECHO_N "(cached) $ECHO_C" >&6
75703 fi
75704 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75705 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75706 else
75707   # Is the header compilable?
75708 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75709 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75710 cat >conftest.$ac_ext <<_ACEOF
75711 #line $LINENO "configure"
75712 /* confdefs.h.  */
75713 _ACEOF
75714 cat confdefs.h >>conftest.$ac_ext
75715 cat >>conftest.$ac_ext <<_ACEOF
75716 /* end confdefs.h.  */
75717 $ac_includes_default
75718 #include <iconv.h>
75719 _ACEOF
75720 rm -f conftest.$ac_objext
75721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75722   (eval $ac_compile) 2>&5
75723   ac_status=$?
75724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75725   (exit $ac_status); } &&
75726          { ac_try='test -s conftest.$ac_objext'
75727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75728   (eval $ac_try) 2>&5
75729   ac_status=$?
75730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75731   (exit $ac_status); }; }; then
75732   ac_header_compiler=yes
75733 else
75734   echo "$as_me: failed program was:" >&5
75735 sed 's/^/| /' conftest.$ac_ext >&5
75736
75737 ac_header_compiler=no
75738 fi
75739 rm -f conftest.$ac_objext conftest.$ac_ext
75740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75741 echo "${ECHO_T}$ac_header_compiler" >&6
75742
75743 # Is the header present?
75744 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75745 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75746 cat >conftest.$ac_ext <<_ACEOF
75747 #line $LINENO "configure"
75748 /* confdefs.h.  */
75749 _ACEOF
75750 cat confdefs.h >>conftest.$ac_ext
75751 cat >>conftest.$ac_ext <<_ACEOF
75752 /* end confdefs.h.  */
75753 #include <iconv.h>
75754 _ACEOF
75755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75756   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75757   ac_status=$?
75758   grep -v '^ *+' conftest.er1 >conftest.err
75759   rm -f conftest.er1
75760   cat conftest.err >&5
75761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75762   (exit $ac_status); } >/dev/null; then
75763   if test -s conftest.err; then
75764     ac_cpp_err=$ac_c_preproc_warn_flag
75765   else
75766     ac_cpp_err=
75767   fi
75768 else
75769   ac_cpp_err=yes
75770 fi
75771 if test -z "$ac_cpp_err"; then
75772   ac_header_preproc=yes
75773 else
75774   echo "$as_me: failed program was:" >&5
75775 sed 's/^/| /' conftest.$ac_ext >&5
75776
75777   ac_header_preproc=no
75778 fi
75779 rm -f conftest.err conftest.$ac_ext
75780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75781 echo "${ECHO_T}$ac_header_preproc" >&6
75782
75783 # So?  What about this header?
75784 case $ac_header_compiler:$ac_header_preproc in
75785   yes:no )
75786     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75787 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75788     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75789 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75790     (
75791       cat <<\_ASBOX
75792 ## ------------------------------------ ##
75793 ## Report this to bug-autoconf@gnu.org. ##
75794 ## ------------------------------------ ##
75795 _ASBOX
75796     ) |
75797       sed "s/^/$as_me: WARNING:     /" >&2
75798     ;;
75799   no:yes )
75800     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75801 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75802     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75803 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75804     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75805 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75806     (
75807       cat <<\_ASBOX
75808 ## ------------------------------------ ##
75809 ## Report this to bug-autoconf@gnu.org. ##
75810 ## ------------------------------------ ##
75811 _ASBOX
75812     ) |
75813       sed "s/^/$as_me: WARNING:     /" >&2
75814     ;;
75815 esac
75816 echo "$as_me:$LINENO: checking for iconv.h" >&5
75817 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75818 if test "${ac_cv_header_iconv_h+set}" = set; then
75819   echo $ECHO_N "(cached) $ECHO_C" >&6
75820 else
75821   ac_cv_header_iconv_h=$ac_header_preproc
75822 fi
75823 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75824 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75825
75826 fi
75827 if test $ac_cv_header_iconv_h = yes; then
75828   ac_has_iconv_h=yes
75829 else
75830   ac_has_iconv_h=no
75831 fi
75832
75833
75834     if test "${ac_cv_header_langinfo_h+set}" = set; then
75835   echo "$as_me:$LINENO: checking for langinfo.h" >&5
75836 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75837 if test "${ac_cv_header_langinfo_h+set}" = set; then
75838   echo $ECHO_N "(cached) $ECHO_C" >&6
75839 fi
75840 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75841 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75842 else
75843   # Is the header compilable?
75844 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75845 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75846 cat >conftest.$ac_ext <<_ACEOF
75847 #line $LINENO "configure"
75848 /* confdefs.h.  */
75849 _ACEOF
75850 cat confdefs.h >>conftest.$ac_ext
75851 cat >>conftest.$ac_ext <<_ACEOF
75852 /* end confdefs.h.  */
75853 $ac_includes_default
75854 #include <langinfo.h>
75855 _ACEOF
75856 rm -f conftest.$ac_objext
75857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75858   (eval $ac_compile) 2>&5
75859   ac_status=$?
75860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75861   (exit $ac_status); } &&
75862          { ac_try='test -s conftest.$ac_objext'
75863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75864   (eval $ac_try) 2>&5
75865   ac_status=$?
75866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75867   (exit $ac_status); }; }; then
75868   ac_header_compiler=yes
75869 else
75870   echo "$as_me: failed program was:" >&5
75871 sed 's/^/| /' conftest.$ac_ext >&5
75872
75873 ac_header_compiler=no
75874 fi
75875 rm -f conftest.$ac_objext conftest.$ac_ext
75876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75877 echo "${ECHO_T}$ac_header_compiler" >&6
75878
75879 # Is the header present?
75880 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75881 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75882 cat >conftest.$ac_ext <<_ACEOF
75883 #line $LINENO "configure"
75884 /* confdefs.h.  */
75885 _ACEOF
75886 cat confdefs.h >>conftest.$ac_ext
75887 cat >>conftest.$ac_ext <<_ACEOF
75888 /* end confdefs.h.  */
75889 #include <langinfo.h>
75890 _ACEOF
75891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75892   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75893   ac_status=$?
75894   grep -v '^ *+' conftest.er1 >conftest.err
75895   rm -f conftest.er1
75896   cat conftest.err >&5
75897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75898   (exit $ac_status); } >/dev/null; then
75899   if test -s conftest.err; then
75900     ac_cpp_err=$ac_c_preproc_warn_flag
75901   else
75902     ac_cpp_err=
75903   fi
75904 else
75905   ac_cpp_err=yes
75906 fi
75907 if test -z "$ac_cpp_err"; then
75908   ac_header_preproc=yes
75909 else
75910   echo "$as_me: failed program was:" >&5
75911 sed 's/^/| /' conftest.$ac_ext >&5
75912
75913   ac_header_preproc=no
75914 fi
75915 rm -f conftest.err conftest.$ac_ext
75916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75917 echo "${ECHO_T}$ac_header_preproc" >&6
75918
75919 # So?  What about this header?
75920 case $ac_header_compiler:$ac_header_preproc in
75921   yes:no )
75922     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75923 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75924     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75925 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75926     (
75927       cat <<\_ASBOX
75928 ## ------------------------------------ ##
75929 ## Report this to bug-autoconf@gnu.org. ##
75930 ## ------------------------------------ ##
75931 _ASBOX
75932     ) |
75933       sed "s/^/$as_me: WARNING:     /" >&2
75934     ;;
75935   no:yes )
75936     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75937 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75938     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75939 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75940     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75941 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75942     (
75943       cat <<\_ASBOX
75944 ## ------------------------------------ ##
75945 ## Report this to bug-autoconf@gnu.org. ##
75946 ## ------------------------------------ ##
75947 _ASBOX
75948     ) |
75949       sed "s/^/$as_me: WARNING:     /" >&2
75950     ;;
75951 esac
75952 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75953 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75954 if test "${ac_cv_header_langinfo_h+set}" = set; then
75955   echo $ECHO_N "(cached) $ECHO_C" >&6
75956 else
75957   ac_cv_header_langinfo_h=$ac_header_preproc
75958 fi
75959 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75960 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75961
75962 fi
75963 if test $ac_cv_header_langinfo_h = yes; then
75964   ac_has_langinfo_h=yes
75965 else
75966   ac_has_langinfo_h=no
75967 fi
75968
75969
75970
75971     # Check for existence of libiconv.a providing XPG2 wchar_t support.
75972     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75973 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75974 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75975   echo $ECHO_N "(cached) $ECHO_C" >&6
75976 else
75977   ac_check_lib_save_LIBS=$LIBS
75978 LIBS="-liconv  $LIBS"
75979 if test x$gcc_no_link = xyes; then
75980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75982    { (exit 1); exit 1; }; }
75983 fi
75984 cat >conftest.$ac_ext <<_ACEOF
75985 #line $LINENO "configure"
75986 /* confdefs.h.  */
75987 _ACEOF
75988 cat confdefs.h >>conftest.$ac_ext
75989 cat >>conftest.$ac_ext <<_ACEOF
75990 /* end confdefs.h.  */
75991
75992 /* Override any gcc2 internal prototype to avoid an error.  */
75993 #ifdef __cplusplus
75994 extern "C"
75995 #endif
75996 /* We use char because int might match the return type of a gcc2
75997    builtin and then its argument prototype would still apply.  */
75998 char iconv ();
75999 int
76000 main ()
76001 {
76002 iconv ();
76003   ;
76004   return 0;
76005 }
76006 _ACEOF
76007 rm -f conftest.$ac_objext conftest$ac_exeext
76008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76009   (eval $ac_link) 2>&5
76010   ac_status=$?
76011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76012   (exit $ac_status); } &&
76013          { ac_try='test -s conftest$ac_exeext'
76014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76015   (eval $ac_try) 2>&5
76016   ac_status=$?
76017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76018   (exit $ac_status); }; }; then
76019   ac_cv_lib_iconv_iconv=yes
76020 else
76021   echo "$as_me: failed program was:" >&5
76022 sed 's/^/| /' conftest.$ac_ext >&5
76023
76024 ac_cv_lib_iconv_iconv=no
76025 fi
76026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76027 LIBS=$ac_check_lib_save_LIBS
76028 fi
76029 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76030 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76031 if test $ac_cv_lib_iconv_iconv = yes; then
76032   libiconv="-liconv"
76033 fi
76034
76035     ac_save_LIBS="$LIBS"
76036     LIBS="$LIBS $libiconv"
76037
76038
76039
76040
76041
76042 for ac_func in iconv_open iconv_close iconv nl_langinfo
76043 do
76044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76045 echo "$as_me:$LINENO: checking for $ac_func" >&5
76046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76047 if eval "test \"\${$as_ac_var+set}\" = set"; then
76048   echo $ECHO_N "(cached) $ECHO_C" >&6
76049 else
76050   if test x$gcc_no_link = xyes; then
76051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76053    { (exit 1); exit 1; }; }
76054 fi
76055 cat >conftest.$ac_ext <<_ACEOF
76056 #line $LINENO "configure"
76057 /* confdefs.h.  */
76058 _ACEOF
76059 cat confdefs.h >>conftest.$ac_ext
76060 cat >>conftest.$ac_ext <<_ACEOF
76061 /* end confdefs.h.  */
76062 /* System header to define __stub macros and hopefully few prototypes,
76063     which can conflict with char $ac_func (); below.
76064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76065     <limits.h> exists even on freestanding compilers.  */
76066 #ifdef __STDC__
76067 # include <limits.h>
76068 #else
76069 # include <assert.h>
76070 #endif
76071 /* Override any gcc2 internal prototype to avoid an error.  */
76072 #ifdef __cplusplus
76073 extern "C"
76074 {
76075 #endif
76076 /* We use char because int might match the return type of a gcc2
76077    builtin and then its argument prototype would still apply.  */
76078 char $ac_func ();
76079 /* The GNU C library defines this for functions which it implements
76080     to always fail with ENOSYS.  Some functions are actually named
76081     something starting with __ and the normal name is an alias.  */
76082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76083 choke me
76084 #else
76085 char (*f) () = $ac_func;
76086 #endif
76087 #ifdef __cplusplus
76088 }
76089 #endif
76090
76091 int
76092 main ()
76093 {
76094 return f != $ac_func;
76095   ;
76096   return 0;
76097 }
76098 _ACEOF
76099 rm -f conftest.$ac_objext conftest$ac_exeext
76100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76101   (eval $ac_link) 2>&5
76102   ac_status=$?
76103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76104   (exit $ac_status); } &&
76105          { ac_try='test -s conftest$ac_exeext'
76106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76107   (eval $ac_try) 2>&5
76108   ac_status=$?
76109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76110   (exit $ac_status); }; }; then
76111   eval "$as_ac_var=yes"
76112 else
76113   echo "$as_me: failed program was:" >&5
76114 sed 's/^/| /' conftest.$ac_ext >&5
76115
76116 eval "$as_ac_var=no"
76117 fi
76118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76119 fi
76120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76122 if test `eval echo '${'$as_ac_var'}'` = yes; then
76123   cat >>confdefs.h <<_ACEOF
76124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76125 _ACEOF
76126  ac_XPG2funcs=yes
76127 else
76128   ac_XPG2funcs=no
76129 fi
76130 done
76131
76132
76133     LIBS="$ac_save_LIBS"
76134
76135     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
76136 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
76137     if test x"$ac_has_iconv_h" = xyes &&
76138        test x"$ac_has_langinfo_h" = xyes &&
76139        test x"$ac_XPG2funcs" = xyes;
76140     then
76141       ac_XPG2_wchar_t=yes
76142     else
76143       ac_XPG2_wchar_t=no
76144     fi
76145     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
76146 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
76147
76148     # At the moment, only enable wchar_t specializations if all the
76149     # above support is present.
76150     if test x"$ac_isoC99_wchar_t" = xyes &&
76151        test x"$ac_XPG2_wchar_t" = xyes;
76152     then
76153       cat >>confdefs.h <<\_ACEOF
76154 #define _GLIBCXX_USE_WCHAR_T 1
76155 _ACEOF
76156
76157       enable_wchar_t=yes
76158     fi
76159   fi
76160   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
76161 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
76162   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
76163 echo "${ECHO_T}$enable_wchar_t" >&6
76164
76165     cat >>confdefs.h <<\_ACEOF
76166 #define HAVE_COPYSIGN 1
76167 _ACEOF
76168
76169     cat >>confdefs.h <<\_ACEOF
76170 #define HAVE_COPYSIGNF 1
76171 _ACEOF
76172
76173     cat >>confdefs.h <<\_ACEOF
76174 #define HAVE_FINITEF 1
76175 _ACEOF
76176
76177     cat >>confdefs.h <<\_ACEOF
76178 #define HAVE_FINITE 1
76179 _ACEOF
76180
76181     cat >>confdefs.h <<\_ACEOF
76182 #define HAVE_FREXPF 1
76183 _ACEOF
76184
76185     cat >>confdefs.h <<\_ACEOF
76186 #define HAVE_HYPOTF 1
76187 _ACEOF
76188
76189     cat >>confdefs.h <<\_ACEOF
76190 #define HAVE_ISINF 1
76191 _ACEOF
76192
76193     cat >>confdefs.h <<\_ACEOF
76194 #define HAVE_ISINFF 1
76195 _ACEOF
76196
76197     cat >>confdefs.h <<\_ACEOF
76198 #define HAVE_ISNAN 1
76199 _ACEOF
76200
76201     cat >>confdefs.h <<\_ACEOF
76202 #define HAVE_ISNANF 1
76203 _ACEOF
76204
76205     if test x"long_double_math_on_this_cpu" = x"yes"; then
76206       cat >>confdefs.h <<\_ACEOF
76207 #define HAVE_FINITEL 1
76208 _ACEOF
76209
76210       cat >>confdefs.h <<\_ACEOF
76211 #define HAVE_ISINFL 1
76212 _ACEOF
76213
76214       cat >>confdefs.h <<\_ACEOF
76215 #define HAVE_ISNANL 1
76216 _ACEOF
76217
76218     fi
76219     ;;
76220   *-qnx6.1* | *-qnx6.2*)
76221     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76222
76223
76224   # If we're not using GNU ld, then there's no point in even trying these
76225   # tests.  Check for that first.  We should have already tested for gld
76226   # by now (in libtool), but require it now just to be safe...
76227   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76228   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76229
76230
76231
76232   # The name set by libtool depends on the version of libtool.  Shame on us
76233   # for depending on an impl detail, but c'est la vie.  Older versions used
76234   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76235   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76236   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
76237   # set (hence we're using an older libtool), then set it.
76238   if test x${with_gnu_ld+set} != xset; then
76239     if test x${ac_cv_prog_gnu_ld+set} != xset; then
76240       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
76241       with_gnu_ld=no
76242     else
76243       with_gnu_ld=$ac_cv_prog_gnu_ld
76244     fi
76245   fi
76246
76247   # Start by getting the version number.  I think the libtool test already
76248   # does some of this, but throws away the result.
76249
76250   ldver=`$LD --version 2>/dev/null | head -1 | \
76251          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76252
76253   glibcxx_gnu_ld_version=`echo $ldver | \
76254          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76255
76256   # Set --gc-sections.
76257   if test "$with_gnu_ld" = "notbroken"; then
76258     # GNU ld it is!  Joy and bunny rabbits!
76259
76260     # All these tests are for C++; save the language and the compiler flags.
76261     # Need to do this so that g++ won't try to link in libstdc++
76262     ac_test_CFLAGS="${CFLAGS+set}"
76263     ac_save_CFLAGS="$CFLAGS"
76264     CFLAGS='-x c++  -Wl,--gc-sections'
76265
76266     # Check for -Wl,--gc-sections
76267     # XXX This test is broken at the moment, as symbols required for linking
76268     # are now in libsupc++ (not built yet).  In addition, this test has
76269     # cored on solaris in the past.  In addition, --gc-sections doesn't
76270     # really work at the moment (keeps on discarding used sections, first
76271     # .eh_frame and now some of the glibc sections for iconv).
76272     # Bzzzzt.  Thanks for playing, maybe next time.
76273     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76274 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76275     if test "$cross_compiling" = yes; then
76276   ac_sectionLDflags=yes
76277 else
76278   cat >conftest.$ac_ext <<_ACEOF
76279 #line $LINENO "configure"
76280 /* confdefs.h.  */
76281 _ACEOF
76282 cat confdefs.h >>conftest.$ac_ext
76283 cat >>conftest.$ac_ext <<_ACEOF
76284 /* end confdefs.h.  */
76285
76286      int main(void)
76287      {
76288        try { throw 1; }
76289        catch (...) { };
76290        return 0;
76291      }
76292
76293 _ACEOF
76294 rm -f conftest$ac_exeext
76295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76296   (eval $ac_link) 2>&5
76297   ac_status=$?
76298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76299   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76301   (eval $ac_try) 2>&5
76302   ac_status=$?
76303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76304   (exit $ac_status); }; }; then
76305   ac_sectionLDflags=yes
76306 else
76307   echo "$as_me: program exited with status $ac_status" >&5
76308 echo "$as_me: failed program was:" >&5
76309 sed 's/^/| /' conftest.$ac_ext >&5
76310
76311 ( exit $ac_status )
76312 ac_sectionLDflags=no
76313 fi
76314 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76315 fi
76316     if test "$ac_test_CFLAGS" = set; then
76317       CFLAGS="$ac_save_CFLAGS"
76318     else
76319       # this is the suspicious part
76320       CFLAGS=''
76321     fi
76322     if test "$ac_sectionLDflags" = "yes"; then
76323       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76324     fi
76325     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
76326 echo "${ECHO_T}$ac_sectionLDflags" >&6
76327   fi
76328
76329   # Set linker optimization flags.
76330   if test x"$with_gnu_ld" = x"yes"; then
76331     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76332   fi
76333
76334
76335
76336
76337
76338
76339 echo "$as_me:$LINENO: checking for main in -lm" >&5
76340 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76341 if test "${ac_cv_lib_m_main+set}" = set; then
76342   echo $ECHO_N "(cached) $ECHO_C" >&6
76343 else
76344   ac_check_lib_save_LIBS=$LIBS
76345 LIBS="-lm  $LIBS"
76346 if test x$gcc_no_link = xyes; then
76347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76349    { (exit 1); exit 1; }; }
76350 fi
76351 cat >conftest.$ac_ext <<_ACEOF
76352 #line $LINENO "configure"
76353 /* confdefs.h.  */
76354 _ACEOF
76355 cat confdefs.h >>conftest.$ac_ext
76356 cat >>conftest.$ac_ext <<_ACEOF
76357 /* end confdefs.h.  */
76358
76359
76360 int
76361 main ()
76362 {
76363 main ();
76364   ;
76365   return 0;
76366 }
76367 _ACEOF
76368 rm -f conftest.$ac_objext conftest$ac_exeext
76369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76370   (eval $ac_link) 2>&5
76371   ac_status=$?
76372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76373   (exit $ac_status); } &&
76374          { ac_try='test -s conftest$ac_exeext'
76375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76376   (eval $ac_try) 2>&5
76377   ac_status=$?
76378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76379   (exit $ac_status); }; }; then
76380   ac_cv_lib_m_main=yes
76381 else
76382   echo "$as_me: failed program was:" >&5
76383 sed 's/^/| /' conftest.$ac_ext >&5
76384
76385 ac_cv_lib_m_main=no
76386 fi
76387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76388 LIBS=$ac_check_lib_save_LIBS
76389 fi
76390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76391 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76392 if test $ac_cv_lib_m_main = yes; then
76393   cat >>confdefs.h <<_ACEOF
76394 #define HAVE_LIBM 1
76395 _ACEOF
76396
76397   LIBS="-lm $LIBS"
76398
76399 fi
76400
76401
76402 for ac_func in copysignf
76403 do
76404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76405 echo "$as_me:$LINENO: checking for $ac_func" >&5
76406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76407 if eval "test \"\${$as_ac_var+set}\" = set"; then
76408   echo $ECHO_N "(cached) $ECHO_C" >&6
76409 else
76410   if test x$gcc_no_link = xyes; then
76411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76413    { (exit 1); exit 1; }; }
76414 fi
76415 cat >conftest.$ac_ext <<_ACEOF
76416 #line $LINENO "configure"
76417 /* confdefs.h.  */
76418 _ACEOF
76419 cat confdefs.h >>conftest.$ac_ext
76420 cat >>conftest.$ac_ext <<_ACEOF
76421 /* end confdefs.h.  */
76422 /* System header to define __stub macros and hopefully few prototypes,
76423     which can conflict with char $ac_func (); below.
76424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76425     <limits.h> exists even on freestanding compilers.  */
76426 #ifdef __STDC__
76427 # include <limits.h>
76428 #else
76429 # include <assert.h>
76430 #endif
76431 /* Override any gcc2 internal prototype to avoid an error.  */
76432 #ifdef __cplusplus
76433 extern "C"
76434 {
76435 #endif
76436 /* We use char because int might match the return type of a gcc2
76437    builtin and then its argument prototype would still apply.  */
76438 char $ac_func ();
76439 /* The GNU C library defines this for functions which it implements
76440     to always fail with ENOSYS.  Some functions are actually named
76441     something starting with __ and the normal name is an alias.  */
76442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76443 choke me
76444 #else
76445 char (*f) () = $ac_func;
76446 #endif
76447 #ifdef __cplusplus
76448 }
76449 #endif
76450
76451 int
76452 main ()
76453 {
76454 return f != $ac_func;
76455   ;
76456   return 0;
76457 }
76458 _ACEOF
76459 rm -f conftest.$ac_objext conftest$ac_exeext
76460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76461   (eval $ac_link) 2>&5
76462   ac_status=$?
76463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76464   (exit $ac_status); } &&
76465          { ac_try='test -s conftest$ac_exeext'
76466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76467   (eval $ac_try) 2>&5
76468   ac_status=$?
76469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76470   (exit $ac_status); }; }; then
76471   eval "$as_ac_var=yes"
76472 else
76473   echo "$as_me: failed program was:" >&5
76474 sed 's/^/| /' conftest.$ac_ext >&5
76475
76476 eval "$as_ac_var=no"
76477 fi
76478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76479 fi
76480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76482 if test `eval echo '${'$as_ac_var'}'` = yes; then
76483   cat >>confdefs.h <<_ACEOF
76484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76485 _ACEOF
76486
76487 else
76488   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76489 fi
76490 done
76491
76492
76493
76494 for ac_func in __signbit
76495 do
76496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76497 echo "$as_me:$LINENO: checking for $ac_func" >&5
76498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76499 if eval "test \"\${$as_ac_var+set}\" = set"; then
76500   echo $ECHO_N "(cached) $ECHO_C" >&6
76501 else
76502   if test x$gcc_no_link = xyes; then
76503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76505    { (exit 1); exit 1; }; }
76506 fi
76507 cat >conftest.$ac_ext <<_ACEOF
76508 #line $LINENO "configure"
76509 /* confdefs.h.  */
76510 _ACEOF
76511 cat confdefs.h >>conftest.$ac_ext
76512 cat >>conftest.$ac_ext <<_ACEOF
76513 /* end confdefs.h.  */
76514 /* System header to define __stub macros and hopefully few prototypes,
76515     which can conflict with char $ac_func (); below.
76516     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76517     <limits.h> exists even on freestanding compilers.  */
76518 #ifdef __STDC__
76519 # include <limits.h>
76520 #else
76521 # include <assert.h>
76522 #endif
76523 /* Override any gcc2 internal prototype to avoid an error.  */
76524 #ifdef __cplusplus
76525 extern "C"
76526 {
76527 #endif
76528 /* We use char because int might match the return type of a gcc2
76529    builtin and then its argument prototype would still apply.  */
76530 char $ac_func ();
76531 /* The GNU C library defines this for functions which it implements
76532     to always fail with ENOSYS.  Some functions are actually named
76533     something starting with __ and the normal name is an alias.  */
76534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76535 choke me
76536 #else
76537 char (*f) () = $ac_func;
76538 #endif
76539 #ifdef __cplusplus
76540 }
76541 #endif
76542
76543 int
76544 main ()
76545 {
76546 return f != $ac_func;
76547   ;
76548   return 0;
76549 }
76550 _ACEOF
76551 rm -f conftest.$ac_objext conftest$ac_exeext
76552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76553   (eval $ac_link) 2>&5
76554   ac_status=$?
76555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76556   (exit $ac_status); } &&
76557          { ac_try='test -s conftest$ac_exeext'
76558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76559   (eval $ac_try) 2>&5
76560   ac_status=$?
76561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76562   (exit $ac_status); }; }; then
76563   eval "$as_ac_var=yes"
76564 else
76565   echo "$as_me: failed program was:" >&5
76566 sed 's/^/| /' conftest.$ac_ext >&5
76567
76568 eval "$as_ac_var=no"
76569 fi
76570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76571 fi
76572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76574 if test `eval echo '${'$as_ac_var'}'` = yes; then
76575   cat >>confdefs.h <<_ACEOF
76576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76577 _ACEOF
76578
76579 else
76580   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76581 fi
76582 done
76583
76584
76585
76586 for ac_func in __signbitf
76587 do
76588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76589 echo "$as_me:$LINENO: checking for $ac_func" >&5
76590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76591 if eval "test \"\${$as_ac_var+set}\" = set"; then
76592   echo $ECHO_N "(cached) $ECHO_C" >&6
76593 else
76594   if test x$gcc_no_link = xyes; then
76595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76597    { (exit 1); exit 1; }; }
76598 fi
76599 cat >conftest.$ac_ext <<_ACEOF
76600 #line $LINENO "configure"
76601 /* confdefs.h.  */
76602 _ACEOF
76603 cat confdefs.h >>conftest.$ac_ext
76604 cat >>conftest.$ac_ext <<_ACEOF
76605 /* end confdefs.h.  */
76606 /* System header to define __stub macros and hopefully few prototypes,
76607     which can conflict with char $ac_func (); below.
76608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76609     <limits.h> exists even on freestanding compilers.  */
76610 #ifdef __STDC__
76611 # include <limits.h>
76612 #else
76613 # include <assert.h>
76614 #endif
76615 /* Override any gcc2 internal prototype to avoid an error.  */
76616 #ifdef __cplusplus
76617 extern "C"
76618 {
76619 #endif
76620 /* We use char because int might match the return type of a gcc2
76621    builtin and then its argument prototype would still apply.  */
76622 char $ac_func ();
76623 /* The GNU C library defines this for functions which it implements
76624     to always fail with ENOSYS.  Some functions are actually named
76625     something starting with __ and the normal name is an alias.  */
76626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76627 choke me
76628 #else
76629 char (*f) () = $ac_func;
76630 #endif
76631 #ifdef __cplusplus
76632 }
76633 #endif
76634
76635 int
76636 main ()
76637 {
76638 return f != $ac_func;
76639   ;
76640   return 0;
76641 }
76642 _ACEOF
76643 rm -f conftest.$ac_objext conftest$ac_exeext
76644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76645   (eval $ac_link) 2>&5
76646   ac_status=$?
76647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76648   (exit $ac_status); } &&
76649          { ac_try='test -s conftest$ac_exeext'
76650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76651   (eval $ac_try) 2>&5
76652   ac_status=$?
76653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76654   (exit $ac_status); }; }; then
76655   eval "$as_ac_var=yes"
76656 else
76657   echo "$as_me: failed program was:" >&5
76658 sed 's/^/| /' conftest.$ac_ext >&5
76659
76660 eval "$as_ac_var=no"
76661 fi
76662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76663 fi
76664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76666 if test `eval echo '${'$as_ac_var'}'` = yes; then
76667   cat >>confdefs.h <<_ACEOF
76668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76669 _ACEOF
76670
76671 else
76672   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76673 fi
76674 done
76675
76676
76677           if test x$ac_cv_func_copysignl = x"yes"; then
76678
76679 for ac_func in __signbitl
76680 do
76681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76682 echo "$as_me:$LINENO: checking for $ac_func" >&5
76683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76684 if eval "test \"\${$as_ac_var+set}\" = set"; then
76685   echo $ECHO_N "(cached) $ECHO_C" >&6
76686 else
76687   if test x$gcc_no_link = xyes; then
76688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76690    { (exit 1); exit 1; }; }
76691 fi
76692 cat >conftest.$ac_ext <<_ACEOF
76693 #line $LINENO "configure"
76694 /* confdefs.h.  */
76695 _ACEOF
76696 cat confdefs.h >>conftest.$ac_ext
76697 cat >>conftest.$ac_ext <<_ACEOF
76698 /* end confdefs.h.  */
76699 /* System header to define __stub macros and hopefully few prototypes,
76700     which can conflict with char $ac_func (); below.
76701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76702     <limits.h> exists even on freestanding compilers.  */
76703 #ifdef __STDC__
76704 # include <limits.h>
76705 #else
76706 # include <assert.h>
76707 #endif
76708 /* Override any gcc2 internal prototype to avoid an error.  */
76709 #ifdef __cplusplus
76710 extern "C"
76711 {
76712 #endif
76713 /* We use char because int might match the return type of a gcc2
76714    builtin and then its argument prototype would still apply.  */
76715 char $ac_func ();
76716 /* The GNU C library defines this for functions which it implements
76717     to always fail with ENOSYS.  Some functions are actually named
76718     something starting with __ and the normal name is an alias.  */
76719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76720 choke me
76721 #else
76722 char (*f) () = $ac_func;
76723 #endif
76724 #ifdef __cplusplus
76725 }
76726 #endif
76727
76728 int
76729 main ()
76730 {
76731 return f != $ac_func;
76732   ;
76733   return 0;
76734 }
76735 _ACEOF
76736 rm -f conftest.$ac_objext conftest$ac_exeext
76737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76738   (eval $ac_link) 2>&5
76739   ac_status=$?
76740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76741   (exit $ac_status); } &&
76742          { ac_try='test -s conftest$ac_exeext'
76743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76744   (eval $ac_try) 2>&5
76745   ac_status=$?
76746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76747   (exit $ac_status); }; }; then
76748   eval "$as_ac_var=yes"
76749 else
76750   echo "$as_me: failed program was:" >&5
76751 sed 's/^/| /' conftest.$ac_ext >&5
76752
76753 eval "$as_ac_var=no"
76754 fi
76755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
76756 fi
76757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76759 if test `eval echo '${'$as_ac_var'}'` = yes; then
76760   cat >>confdefs.h <<_ACEOF
76761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76762 _ACEOF
76763
76764 else
76765   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76766 fi
76767 done
76768
76769   fi
76770
76771   # Used in libmath/Makefile.am.
76772   if test -n "$LIBMATHOBJS"; then
76773     need_libmath=yes
76774   fi
76775
76776
76777
76778   # Test wchar.h for mbstate_t, which is needed for char_traits and
76779   # others even if wchar_t support is not on.
76780   echo "$as_me:$LINENO: checking for mbstate_t" >&5
76781 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
76782   cat >conftest.$ac_ext <<_ACEOF
76783 #line $LINENO "configure"
76784 /* confdefs.h.  */
76785 _ACEOF
76786 cat confdefs.h >>conftest.$ac_ext
76787 cat >>conftest.$ac_ext <<_ACEOF
76788 /* end confdefs.h.  */
76789 #include <wchar.h>
76790 int
76791 main ()
76792 {
76793 mbstate_t teststate;
76794   ;
76795   return 0;
76796 }
76797 _ACEOF
76798 rm -f conftest.$ac_objext
76799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76800   (eval $ac_compile) 2>&5
76801   ac_status=$?
76802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76803   (exit $ac_status); } &&
76804          { ac_try='test -s conftest.$ac_objext'
76805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76806   (eval $ac_try) 2>&5
76807   ac_status=$?
76808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76809   (exit $ac_status); }; }; then
76810   have_mbstate_t=yes
76811 else
76812   echo "$as_me: failed program was:" >&5
76813 sed 's/^/| /' conftest.$ac_ext >&5
76814
76815 have_mbstate_t=no
76816 fi
76817 rm -f conftest.$ac_objext conftest.$ac_ext
76818   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
76819 echo "${ECHO_T}$have_mbstate_t" >&6
76820   if test x"$have_mbstate_t" = xyes; then
76821     cat >>confdefs.h <<\_ACEOF
76822 #define HAVE_MBSTATE_T 1
76823 _ACEOF
76824
76825   fi
76826
76827   # Sanity check for existence of ISO C99 headers for extended encoding.
76828
76829 for ac_header in wchar.h
76830 do
76831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76833   echo "$as_me:$LINENO: checking for $ac_header" >&5
76834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76836   echo $ECHO_N "(cached) $ECHO_C" >&6
76837 fi
76838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76840 else
76841   # Is the header compilable?
76842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76844 cat >conftest.$ac_ext <<_ACEOF
76845 #line $LINENO "configure"
76846 /* confdefs.h.  */
76847 _ACEOF
76848 cat confdefs.h >>conftest.$ac_ext
76849 cat >>conftest.$ac_ext <<_ACEOF
76850 /* end confdefs.h.  */
76851 $ac_includes_default
76852 #include <$ac_header>
76853 _ACEOF
76854 rm -f conftest.$ac_objext
76855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76856   (eval $ac_compile) 2>&5
76857   ac_status=$?
76858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76859   (exit $ac_status); } &&
76860          { ac_try='test -s conftest.$ac_objext'
76861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76862   (eval $ac_try) 2>&5
76863   ac_status=$?
76864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76865   (exit $ac_status); }; }; then
76866   ac_header_compiler=yes
76867 else
76868   echo "$as_me: failed program was:" >&5
76869 sed 's/^/| /' conftest.$ac_ext >&5
76870
76871 ac_header_compiler=no
76872 fi
76873 rm -f conftest.$ac_objext conftest.$ac_ext
76874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76875 echo "${ECHO_T}$ac_header_compiler" >&6
76876
76877 # Is the header present?
76878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76880 cat >conftest.$ac_ext <<_ACEOF
76881 #line $LINENO "configure"
76882 /* confdefs.h.  */
76883 _ACEOF
76884 cat confdefs.h >>conftest.$ac_ext
76885 cat >>conftest.$ac_ext <<_ACEOF
76886 /* end confdefs.h.  */
76887 #include <$ac_header>
76888 _ACEOF
76889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76890   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76891   ac_status=$?
76892   grep -v '^ *+' conftest.er1 >conftest.err
76893   rm -f conftest.er1
76894   cat conftest.err >&5
76895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76896   (exit $ac_status); } >/dev/null; then
76897   if test -s conftest.err; then
76898     ac_cpp_err=$ac_c_preproc_warn_flag
76899   else
76900     ac_cpp_err=
76901   fi
76902 else
76903   ac_cpp_err=yes
76904 fi
76905 if test -z "$ac_cpp_err"; then
76906   ac_header_preproc=yes
76907 else
76908   echo "$as_me: failed program was:" >&5
76909 sed 's/^/| /' conftest.$ac_ext >&5
76910
76911   ac_header_preproc=no
76912 fi
76913 rm -f conftest.err conftest.$ac_ext
76914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76915 echo "${ECHO_T}$ac_header_preproc" >&6
76916
76917 # So?  What about this header?
76918 case $ac_header_compiler:$ac_header_preproc in
76919   yes:no )
76920     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76922     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76924     (
76925       cat <<\_ASBOX
76926 ## ------------------------------------ ##
76927 ## Report this to bug-autoconf@gnu.org. ##
76928 ## ------------------------------------ ##
76929 _ASBOX
76930     ) |
76931       sed "s/^/$as_me: WARNING:     /" >&2
76932     ;;
76933   no:yes )
76934     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76936     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76938     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76940     (
76941       cat <<\_ASBOX
76942 ## ------------------------------------ ##
76943 ## Report this to bug-autoconf@gnu.org. ##
76944 ## ------------------------------------ ##
76945 _ASBOX
76946     ) |
76947       sed "s/^/$as_me: WARNING:     /" >&2
76948     ;;
76949 esac
76950 echo "$as_me:$LINENO: checking for $ac_header" >&5
76951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76953   echo $ECHO_N "(cached) $ECHO_C" >&6
76954 else
76955   eval "$as_ac_Header=$ac_header_preproc"
76956 fi
76957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76959
76960 fi
76961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76962   cat >>confdefs.h <<_ACEOF
76963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76964 _ACEOF
76965  ac_has_wchar_h=yes
76966 else
76967   ac_has_wchar_h=no
76968 fi
76969
76970 done
76971
76972
76973 for ac_header in wctype.h
76974 do
76975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76977   echo "$as_me:$LINENO: checking for $ac_header" >&5
76978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76980   echo $ECHO_N "(cached) $ECHO_C" >&6
76981 fi
76982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76984 else
76985   # Is the header compilable?
76986 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76987 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76988 cat >conftest.$ac_ext <<_ACEOF
76989 #line $LINENO "configure"
76990 /* confdefs.h.  */
76991 _ACEOF
76992 cat confdefs.h >>conftest.$ac_ext
76993 cat >>conftest.$ac_ext <<_ACEOF
76994 /* end confdefs.h.  */
76995 $ac_includes_default
76996 #include <$ac_header>
76997 _ACEOF
76998 rm -f conftest.$ac_objext
76999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77000   (eval $ac_compile) 2>&5
77001   ac_status=$?
77002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77003   (exit $ac_status); } &&
77004          { ac_try='test -s conftest.$ac_objext'
77005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77006   (eval $ac_try) 2>&5
77007   ac_status=$?
77008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77009   (exit $ac_status); }; }; then
77010   ac_header_compiler=yes
77011 else
77012   echo "$as_me: failed program was:" >&5
77013 sed 's/^/| /' conftest.$ac_ext >&5
77014
77015 ac_header_compiler=no
77016 fi
77017 rm -f conftest.$ac_objext conftest.$ac_ext
77018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77019 echo "${ECHO_T}$ac_header_compiler" >&6
77020
77021 # Is the header present?
77022 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77023 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77024 cat >conftest.$ac_ext <<_ACEOF
77025 #line $LINENO "configure"
77026 /* confdefs.h.  */
77027 _ACEOF
77028 cat confdefs.h >>conftest.$ac_ext
77029 cat >>conftest.$ac_ext <<_ACEOF
77030 /* end confdefs.h.  */
77031 #include <$ac_header>
77032 _ACEOF
77033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77034   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77035   ac_status=$?
77036   grep -v '^ *+' conftest.er1 >conftest.err
77037   rm -f conftest.er1
77038   cat conftest.err >&5
77039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77040   (exit $ac_status); } >/dev/null; then
77041   if test -s conftest.err; then
77042     ac_cpp_err=$ac_c_preproc_warn_flag
77043   else
77044     ac_cpp_err=
77045   fi
77046 else
77047   ac_cpp_err=yes
77048 fi
77049 if test -z "$ac_cpp_err"; then
77050   ac_header_preproc=yes
77051 else
77052   echo "$as_me: failed program was:" >&5
77053 sed 's/^/| /' conftest.$ac_ext >&5
77054
77055   ac_header_preproc=no
77056 fi
77057 rm -f conftest.err conftest.$ac_ext
77058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77059 echo "${ECHO_T}$ac_header_preproc" >&6
77060
77061 # So?  What about this header?
77062 case $ac_header_compiler:$ac_header_preproc in
77063   yes:no )
77064     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77068     (
77069       cat <<\_ASBOX
77070 ## ------------------------------------ ##
77071 ## Report this to bug-autoconf@gnu.org. ##
77072 ## ------------------------------------ ##
77073 _ASBOX
77074     ) |
77075       sed "s/^/$as_me: WARNING:     /" >&2
77076     ;;
77077   no:yes )
77078     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77080     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77082     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77084     (
77085       cat <<\_ASBOX
77086 ## ------------------------------------ ##
77087 ## Report this to bug-autoconf@gnu.org. ##
77088 ## ------------------------------------ ##
77089 _ASBOX
77090     ) |
77091       sed "s/^/$as_me: WARNING:     /" >&2
77092     ;;
77093 esac
77094 echo "$as_me:$LINENO: checking for $ac_header" >&5
77095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77097   echo $ECHO_N "(cached) $ECHO_C" >&6
77098 else
77099   eval "$as_ac_Header=$ac_header_preproc"
77100 fi
77101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77103
77104 fi
77105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77106   cat >>confdefs.h <<_ACEOF
77107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77108 _ACEOF
77109  ac_has_wctype_h=yes
77110 else
77111   ac_has_wctype_h=no
77112 fi
77113
77114 done
77115
77116
77117   # Only continue checking if the ISO C99 headers exist and support is on.
77118   if test x"$ac_has_wchar_h" = xyes &&
77119      test x"$ac_has_wctype_h" = xyes &&
77120      test x"$enable_c_mbchar" != xno; then
77121
77122     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
77123     # numeric_limits can instantiate type_traits<wchar_t>
77124     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
77125 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
77126     cat >conftest.$ac_ext <<_ACEOF
77127 #line $LINENO "configure"
77128 /* confdefs.h.  */
77129 _ACEOF
77130 cat confdefs.h >>conftest.$ac_ext
77131 cat >>conftest.$ac_ext <<_ACEOF
77132 /* end confdefs.h.  */
77133 #include <wchar.h>
77134 int
77135 main ()
77136 {
77137 int i = WCHAR_MIN; int j = WCHAR_MAX;
77138   ;
77139   return 0;
77140 }
77141 _ACEOF
77142 rm -f conftest.$ac_objext
77143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77144   (eval $ac_compile) 2>&5
77145   ac_status=$?
77146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77147   (exit $ac_status); } &&
77148          { ac_try='test -s conftest.$ac_objext'
77149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77150   (eval $ac_try) 2>&5
77151   ac_status=$?
77152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77153   (exit $ac_status); }; }; then
77154   has_wchar_minmax=yes
77155 else
77156   echo "$as_me: failed program was:" >&5
77157 sed 's/^/| /' conftest.$ac_ext >&5
77158
77159 has_wchar_minmax=no
77160 fi
77161 rm -f conftest.$ac_objext conftest.$ac_ext
77162     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
77163 echo "${ECHO_T}$has_wchar_minmax" >&6
77164
77165     # Test wchar.h for WEOF, which is what we use to determine whether
77166     # to specialize for char_traits<wchar_t> or not.
77167     echo "$as_me:$LINENO: checking for WEOF" >&5
77168 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
77169     cat >conftest.$ac_ext <<_ACEOF
77170 #line $LINENO "configure"
77171 /* confdefs.h.  */
77172 _ACEOF
77173 cat confdefs.h >>conftest.$ac_ext
77174 cat >>conftest.$ac_ext <<_ACEOF
77175 /* end confdefs.h.  */
77176
77177       #include <wchar.h>
77178       #include <stddef.h>
77179 int
77180 main ()
77181 {
77182 wint_t i = WEOF;
77183   ;
77184   return 0;
77185 }
77186 _ACEOF
77187 rm -f conftest.$ac_objext
77188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77189   (eval $ac_compile) 2>&5
77190   ac_status=$?
77191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77192   (exit $ac_status); } &&
77193          { ac_try='test -s conftest.$ac_objext'
77194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77195   (eval $ac_try) 2>&5
77196   ac_status=$?
77197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77198   (exit $ac_status); }; }; then
77199   has_weof=yes
77200 else
77201   echo "$as_me: failed program was:" >&5
77202 sed 's/^/| /' conftest.$ac_ext >&5
77203
77204 has_weof=no
77205 fi
77206 rm -f conftest.$ac_objext conftest.$ac_ext
77207     echo "$as_me:$LINENO: result: $has_weof" >&5
77208 echo "${ECHO_T}$has_weof" >&6
77209
77210     # Tests for wide character functions used in char_traits<wchar_t>.
77211     ac_wfuncs=yes
77212
77213
77214
77215
77216
77217
77218 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
77219 do
77220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77221 echo "$as_me:$LINENO: checking for $ac_func" >&5
77222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77223 if eval "test \"\${$as_ac_var+set}\" = set"; then
77224   echo $ECHO_N "(cached) $ECHO_C" >&6
77225 else
77226   if test x$gcc_no_link = xyes; then
77227   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77229    { (exit 1); exit 1; }; }
77230 fi
77231 cat >conftest.$ac_ext <<_ACEOF
77232 #line $LINENO "configure"
77233 /* confdefs.h.  */
77234 _ACEOF
77235 cat confdefs.h >>conftest.$ac_ext
77236 cat >>conftest.$ac_ext <<_ACEOF
77237 /* end confdefs.h.  */
77238 /* System header to define __stub macros and hopefully few prototypes,
77239     which can conflict with char $ac_func (); below.
77240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77241     <limits.h> exists even on freestanding compilers.  */
77242 #ifdef __STDC__
77243 # include <limits.h>
77244 #else
77245 # include <assert.h>
77246 #endif
77247 /* Override any gcc2 internal prototype to avoid an error.  */
77248 #ifdef __cplusplus
77249 extern "C"
77250 {
77251 #endif
77252 /* We use char because int might match the return type of a gcc2
77253    builtin and then its argument prototype would still apply.  */
77254 char $ac_func ();
77255 /* The GNU C library defines this for functions which it implements
77256     to always fail with ENOSYS.  Some functions are actually named
77257     something starting with __ and the normal name is an alias.  */
77258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77259 choke me
77260 #else
77261 char (*f) () = $ac_func;
77262 #endif
77263 #ifdef __cplusplus
77264 }
77265 #endif
77266
77267 int
77268 main ()
77269 {
77270 return f != $ac_func;
77271   ;
77272   return 0;
77273 }
77274 _ACEOF
77275 rm -f conftest.$ac_objext conftest$ac_exeext
77276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77277   (eval $ac_link) 2>&5
77278   ac_status=$?
77279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77280   (exit $ac_status); } &&
77281          { ac_try='test -s conftest$ac_exeext'
77282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77283   (eval $ac_try) 2>&5
77284   ac_status=$?
77285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77286   (exit $ac_status); }; }; then
77287   eval "$as_ac_var=yes"
77288 else
77289   echo "$as_me: failed program was:" >&5
77290 sed 's/^/| /' conftest.$ac_ext >&5
77291
77292 eval "$as_ac_var=no"
77293 fi
77294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77295 fi
77296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77298 if test `eval echo '${'$as_ac_var'}'` = yes; then
77299   cat >>confdefs.h <<_ACEOF
77300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77301 _ACEOF
77302
77303 else
77304   ac_wfuncs=no
77305 fi
77306 done
77307
77308
77309     # Checks for names injected into std:: by the c_std headers.
77310
77311
77312
77313
77314
77315
77316
77317
77318
77319
77320
77321
77322
77323
77324
77325
77326
77327
77328
77329
77330
77331
77332
77333
77334
77335
77336
77337
77338
77339
77340
77341
77342
77343
77344
77345
77346
77347
77348
77349
77350
77351
77352
77353
77354
77355
77356 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
77357     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
77358     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
77359     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
77360     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
77361     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
77362 do
77363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77364 echo "$as_me:$LINENO: checking for $ac_func" >&5
77365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77366 if eval "test \"\${$as_ac_var+set}\" = set"; then
77367   echo $ECHO_N "(cached) $ECHO_C" >&6
77368 else
77369   if test x$gcc_no_link = xyes; then
77370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77372    { (exit 1); exit 1; }; }
77373 fi
77374 cat >conftest.$ac_ext <<_ACEOF
77375 #line $LINENO "configure"
77376 /* confdefs.h.  */
77377 _ACEOF
77378 cat confdefs.h >>conftest.$ac_ext
77379 cat >>conftest.$ac_ext <<_ACEOF
77380 /* end confdefs.h.  */
77381 /* System header to define __stub macros and hopefully few prototypes,
77382     which can conflict with char $ac_func (); below.
77383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77384     <limits.h> exists even on freestanding compilers.  */
77385 #ifdef __STDC__
77386 # include <limits.h>
77387 #else
77388 # include <assert.h>
77389 #endif
77390 /* Override any gcc2 internal prototype to avoid an error.  */
77391 #ifdef __cplusplus
77392 extern "C"
77393 {
77394 #endif
77395 /* We use char because int might match the return type of a gcc2
77396    builtin and then its argument prototype would still apply.  */
77397 char $ac_func ();
77398 /* The GNU C library defines this for functions which it implements
77399     to always fail with ENOSYS.  Some functions are actually named
77400     something starting with __ and the normal name is an alias.  */
77401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77402 choke me
77403 #else
77404 char (*f) () = $ac_func;
77405 #endif
77406 #ifdef __cplusplus
77407 }
77408 #endif
77409
77410 int
77411 main ()
77412 {
77413 return f != $ac_func;
77414   ;
77415   return 0;
77416 }
77417 _ACEOF
77418 rm -f conftest.$ac_objext conftest$ac_exeext
77419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77420   (eval $ac_link) 2>&5
77421   ac_status=$?
77422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77423   (exit $ac_status); } &&
77424          { ac_try='test -s conftest$ac_exeext'
77425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77426   (eval $ac_try) 2>&5
77427   ac_status=$?
77428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77429   (exit $ac_status); }; }; then
77430   eval "$as_ac_var=yes"
77431 else
77432   echo "$as_me: failed program was:" >&5
77433 sed 's/^/| /' conftest.$ac_ext >&5
77434
77435 eval "$as_ac_var=no"
77436 fi
77437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77438 fi
77439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77441 if test `eval echo '${'$as_ac_var'}'` = yes; then
77442   cat >>confdefs.h <<_ACEOF
77443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77444 _ACEOF
77445
77446 else
77447   ac_wfuncs=no
77448 fi
77449 done
77450
77451
77452     # Checks for wide character functions that are not required
77453     # for basic wchar_t support.  Don't disable support if they are missing.
77454     # Injection of these is wrapped with guard macros.
77455
77456
77457
77458
77459
77460 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
77461 do
77462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77463 echo "$as_me:$LINENO: checking for $ac_func" >&5
77464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77465 if eval "test \"\${$as_ac_var+set}\" = set"; then
77466   echo $ECHO_N "(cached) $ECHO_C" >&6
77467 else
77468   if test x$gcc_no_link = xyes; then
77469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77471    { (exit 1); exit 1; }; }
77472 fi
77473 cat >conftest.$ac_ext <<_ACEOF
77474 #line $LINENO "configure"
77475 /* confdefs.h.  */
77476 _ACEOF
77477 cat confdefs.h >>conftest.$ac_ext
77478 cat >>conftest.$ac_ext <<_ACEOF
77479 /* end confdefs.h.  */
77480 /* System header to define __stub macros and hopefully few prototypes,
77481     which can conflict with char $ac_func (); below.
77482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77483     <limits.h> exists even on freestanding compilers.  */
77484 #ifdef __STDC__
77485 # include <limits.h>
77486 #else
77487 # include <assert.h>
77488 #endif
77489 /* Override any gcc2 internal prototype to avoid an error.  */
77490 #ifdef __cplusplus
77491 extern "C"
77492 {
77493 #endif
77494 /* We use char because int might match the return type of a gcc2
77495    builtin and then its argument prototype would still apply.  */
77496 char $ac_func ();
77497 /* The GNU C library defines this for functions which it implements
77498     to always fail with ENOSYS.  Some functions are actually named
77499     something starting with __ and the normal name is an alias.  */
77500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77501 choke me
77502 #else
77503 char (*f) () = $ac_func;
77504 #endif
77505 #ifdef __cplusplus
77506 }
77507 #endif
77508
77509 int
77510 main ()
77511 {
77512 return f != $ac_func;
77513   ;
77514   return 0;
77515 }
77516 _ACEOF
77517 rm -f conftest.$ac_objext conftest$ac_exeext
77518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77519   (eval $ac_link) 2>&5
77520   ac_status=$?
77521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77522   (exit $ac_status); } &&
77523          { ac_try='test -s conftest$ac_exeext'
77524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77525   (eval $ac_try) 2>&5
77526   ac_status=$?
77527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77528   (exit $ac_status); }; }; then
77529   eval "$as_ac_var=yes"
77530 else
77531   echo "$as_me: failed program was:" >&5
77532 sed 's/^/| /' conftest.$ac_ext >&5
77533
77534 eval "$as_ac_var=no"
77535 fi
77536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77537 fi
77538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77540 if test `eval echo '${'$as_ac_var'}'` = yes; then
77541   cat >>confdefs.h <<_ACEOF
77542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77543 _ACEOF
77544
77545 fi
77546 done
77547
77548
77549     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
77550 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
77551     if test x"$has_weof" = xyes &&
77552        test x"$has_wchar_minmax" = xyes &&
77553        test x"$ac_wfuncs" = xyes;
77554     then
77555       ac_isoC99_wchar_t=yes
77556     else
77557       ac_isoC99_wchar_t=no
77558     fi
77559     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
77560 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
77561
77562     # Use iconv for wchar_t to char conversions. As such, check for
77563     # X/Open Portability Guide, version 2 features (XPG2).
77564     if test "${ac_cv_header_iconv_h+set}" = set; then
77565   echo "$as_me:$LINENO: checking for iconv.h" >&5
77566 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77567 if test "${ac_cv_header_iconv_h+set}" = set; then
77568   echo $ECHO_N "(cached) $ECHO_C" >&6
77569 fi
77570 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77571 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77572 else
77573   # Is the header compilable?
77574 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77575 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77576 cat >conftest.$ac_ext <<_ACEOF
77577 #line $LINENO "configure"
77578 /* confdefs.h.  */
77579 _ACEOF
77580 cat confdefs.h >>conftest.$ac_ext
77581 cat >>conftest.$ac_ext <<_ACEOF
77582 /* end confdefs.h.  */
77583 $ac_includes_default
77584 #include <iconv.h>
77585 _ACEOF
77586 rm -f conftest.$ac_objext
77587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77588   (eval $ac_compile) 2>&5
77589   ac_status=$?
77590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77591   (exit $ac_status); } &&
77592          { ac_try='test -s conftest.$ac_objext'
77593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77594   (eval $ac_try) 2>&5
77595   ac_status=$?
77596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77597   (exit $ac_status); }; }; then
77598   ac_header_compiler=yes
77599 else
77600   echo "$as_me: failed program was:" >&5
77601 sed 's/^/| /' conftest.$ac_ext >&5
77602
77603 ac_header_compiler=no
77604 fi
77605 rm -f conftest.$ac_objext conftest.$ac_ext
77606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77607 echo "${ECHO_T}$ac_header_compiler" >&6
77608
77609 # Is the header present?
77610 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77611 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77612 cat >conftest.$ac_ext <<_ACEOF
77613 #line $LINENO "configure"
77614 /* confdefs.h.  */
77615 _ACEOF
77616 cat confdefs.h >>conftest.$ac_ext
77617 cat >>conftest.$ac_ext <<_ACEOF
77618 /* end confdefs.h.  */
77619 #include <iconv.h>
77620 _ACEOF
77621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77622   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77623   ac_status=$?
77624   grep -v '^ *+' conftest.er1 >conftest.err
77625   rm -f conftest.er1
77626   cat conftest.err >&5
77627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77628   (exit $ac_status); } >/dev/null; then
77629   if test -s conftest.err; then
77630     ac_cpp_err=$ac_c_preproc_warn_flag
77631   else
77632     ac_cpp_err=
77633   fi
77634 else
77635   ac_cpp_err=yes
77636 fi
77637 if test -z "$ac_cpp_err"; then
77638   ac_header_preproc=yes
77639 else
77640   echo "$as_me: failed program was:" >&5
77641 sed 's/^/| /' conftest.$ac_ext >&5
77642
77643   ac_header_preproc=no
77644 fi
77645 rm -f conftest.err conftest.$ac_ext
77646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77647 echo "${ECHO_T}$ac_header_preproc" >&6
77648
77649 # So?  What about this header?
77650 case $ac_header_compiler:$ac_header_preproc in
77651   yes:no )
77652     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77653 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77654     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77655 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77656     (
77657       cat <<\_ASBOX
77658 ## ------------------------------------ ##
77659 ## Report this to bug-autoconf@gnu.org. ##
77660 ## ------------------------------------ ##
77661 _ASBOX
77662     ) |
77663       sed "s/^/$as_me: WARNING:     /" >&2
77664     ;;
77665   no:yes )
77666     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77667 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77668     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77669 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77670     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77671 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77672     (
77673       cat <<\_ASBOX
77674 ## ------------------------------------ ##
77675 ## Report this to bug-autoconf@gnu.org. ##
77676 ## ------------------------------------ ##
77677 _ASBOX
77678     ) |
77679       sed "s/^/$as_me: WARNING:     /" >&2
77680     ;;
77681 esac
77682 echo "$as_me:$LINENO: checking for iconv.h" >&5
77683 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77684 if test "${ac_cv_header_iconv_h+set}" = set; then
77685   echo $ECHO_N "(cached) $ECHO_C" >&6
77686 else
77687   ac_cv_header_iconv_h=$ac_header_preproc
77688 fi
77689 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77690 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77691
77692 fi
77693 if test $ac_cv_header_iconv_h = yes; then
77694   ac_has_iconv_h=yes
77695 else
77696   ac_has_iconv_h=no
77697 fi
77698
77699
77700     if test "${ac_cv_header_langinfo_h+set}" = set; then
77701   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77702 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77703 if test "${ac_cv_header_langinfo_h+set}" = set; then
77704   echo $ECHO_N "(cached) $ECHO_C" >&6
77705 fi
77706 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77707 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77708 else
77709   # Is the header compilable?
77710 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77711 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77712 cat >conftest.$ac_ext <<_ACEOF
77713 #line $LINENO "configure"
77714 /* confdefs.h.  */
77715 _ACEOF
77716 cat confdefs.h >>conftest.$ac_ext
77717 cat >>conftest.$ac_ext <<_ACEOF
77718 /* end confdefs.h.  */
77719 $ac_includes_default
77720 #include <langinfo.h>
77721 _ACEOF
77722 rm -f conftest.$ac_objext
77723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77724   (eval $ac_compile) 2>&5
77725   ac_status=$?
77726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77727   (exit $ac_status); } &&
77728          { ac_try='test -s conftest.$ac_objext'
77729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77730   (eval $ac_try) 2>&5
77731   ac_status=$?
77732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77733   (exit $ac_status); }; }; then
77734   ac_header_compiler=yes
77735 else
77736   echo "$as_me: failed program was:" >&5
77737 sed 's/^/| /' conftest.$ac_ext >&5
77738
77739 ac_header_compiler=no
77740 fi
77741 rm -f conftest.$ac_objext conftest.$ac_ext
77742 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77743 echo "${ECHO_T}$ac_header_compiler" >&6
77744
77745 # Is the header present?
77746 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77747 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77748 cat >conftest.$ac_ext <<_ACEOF
77749 #line $LINENO "configure"
77750 /* confdefs.h.  */
77751 _ACEOF
77752 cat confdefs.h >>conftest.$ac_ext
77753 cat >>conftest.$ac_ext <<_ACEOF
77754 /* end confdefs.h.  */
77755 #include <langinfo.h>
77756 _ACEOF
77757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77758   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77759   ac_status=$?
77760   grep -v '^ *+' conftest.er1 >conftest.err
77761   rm -f conftest.er1
77762   cat conftest.err >&5
77763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77764   (exit $ac_status); } >/dev/null; then
77765   if test -s conftest.err; then
77766     ac_cpp_err=$ac_c_preproc_warn_flag
77767   else
77768     ac_cpp_err=
77769   fi
77770 else
77771   ac_cpp_err=yes
77772 fi
77773 if test -z "$ac_cpp_err"; then
77774   ac_header_preproc=yes
77775 else
77776   echo "$as_me: failed program was:" >&5
77777 sed 's/^/| /' conftest.$ac_ext >&5
77778
77779   ac_header_preproc=no
77780 fi
77781 rm -f conftest.err conftest.$ac_ext
77782 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77783 echo "${ECHO_T}$ac_header_preproc" >&6
77784
77785 # So?  What about this header?
77786 case $ac_header_compiler:$ac_header_preproc in
77787   yes:no )
77788     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77789 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77790     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77791 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77792     (
77793       cat <<\_ASBOX
77794 ## ------------------------------------ ##
77795 ## Report this to bug-autoconf@gnu.org. ##
77796 ## ------------------------------------ ##
77797 _ASBOX
77798     ) |
77799       sed "s/^/$as_me: WARNING:     /" >&2
77800     ;;
77801   no:yes )
77802     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77803 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77804     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
77805 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
77806     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77807 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77808     (
77809       cat <<\_ASBOX
77810 ## ------------------------------------ ##
77811 ## Report this to bug-autoconf@gnu.org. ##
77812 ## ------------------------------------ ##
77813 _ASBOX
77814     ) |
77815       sed "s/^/$as_me: WARNING:     /" >&2
77816     ;;
77817 esac
77818 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77819 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77820 if test "${ac_cv_header_langinfo_h+set}" = set; then
77821   echo $ECHO_N "(cached) $ECHO_C" >&6
77822 else
77823   ac_cv_header_langinfo_h=$ac_header_preproc
77824 fi
77825 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77826 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77827
77828 fi
77829 if test $ac_cv_header_langinfo_h = yes; then
77830   ac_has_langinfo_h=yes
77831 else
77832   ac_has_langinfo_h=no
77833 fi
77834
77835
77836
77837     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77838     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77839 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77840 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77841   echo $ECHO_N "(cached) $ECHO_C" >&6
77842 else
77843   ac_check_lib_save_LIBS=$LIBS
77844 LIBS="-liconv  $LIBS"
77845 if test x$gcc_no_link = xyes; then
77846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77848    { (exit 1); exit 1; }; }
77849 fi
77850 cat >conftest.$ac_ext <<_ACEOF
77851 #line $LINENO "configure"
77852 /* confdefs.h.  */
77853 _ACEOF
77854 cat confdefs.h >>conftest.$ac_ext
77855 cat >>conftest.$ac_ext <<_ACEOF
77856 /* end confdefs.h.  */
77857
77858 /* Override any gcc2 internal prototype to avoid an error.  */
77859 #ifdef __cplusplus
77860 extern "C"
77861 #endif
77862 /* We use char because int might match the return type of a gcc2
77863    builtin and then its argument prototype would still apply.  */
77864 char iconv ();
77865 int
77866 main ()
77867 {
77868 iconv ();
77869   ;
77870   return 0;
77871 }
77872 _ACEOF
77873 rm -f conftest.$ac_objext conftest$ac_exeext
77874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77875   (eval $ac_link) 2>&5
77876   ac_status=$?
77877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77878   (exit $ac_status); } &&
77879          { ac_try='test -s conftest$ac_exeext'
77880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77881   (eval $ac_try) 2>&5
77882   ac_status=$?
77883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77884   (exit $ac_status); }; }; then
77885   ac_cv_lib_iconv_iconv=yes
77886 else
77887   echo "$as_me: failed program was:" >&5
77888 sed 's/^/| /' conftest.$ac_ext >&5
77889
77890 ac_cv_lib_iconv_iconv=no
77891 fi
77892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77893 LIBS=$ac_check_lib_save_LIBS
77894 fi
77895 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77896 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77897 if test $ac_cv_lib_iconv_iconv = yes; then
77898   libiconv="-liconv"
77899 fi
77900
77901     ac_save_LIBS="$LIBS"
77902     LIBS="$LIBS $libiconv"
77903
77904
77905
77906
77907
77908 for ac_func in iconv_open iconv_close iconv nl_langinfo
77909 do
77910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77911 echo "$as_me:$LINENO: checking for $ac_func" >&5
77912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77913 if eval "test \"\${$as_ac_var+set}\" = set"; then
77914   echo $ECHO_N "(cached) $ECHO_C" >&6
77915 else
77916   if test x$gcc_no_link = xyes; then
77917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77919    { (exit 1); exit 1; }; }
77920 fi
77921 cat >conftest.$ac_ext <<_ACEOF
77922 #line $LINENO "configure"
77923 /* confdefs.h.  */
77924 _ACEOF
77925 cat confdefs.h >>conftest.$ac_ext
77926 cat >>conftest.$ac_ext <<_ACEOF
77927 /* end confdefs.h.  */
77928 /* System header to define __stub macros and hopefully few prototypes,
77929     which can conflict with char $ac_func (); below.
77930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77931     <limits.h> exists even on freestanding compilers.  */
77932 #ifdef __STDC__
77933 # include <limits.h>
77934 #else
77935 # include <assert.h>
77936 #endif
77937 /* Override any gcc2 internal prototype to avoid an error.  */
77938 #ifdef __cplusplus
77939 extern "C"
77940 {
77941 #endif
77942 /* We use char because int might match the return type of a gcc2
77943    builtin and then its argument prototype would still apply.  */
77944 char $ac_func ();
77945 /* The GNU C library defines this for functions which it implements
77946     to always fail with ENOSYS.  Some functions are actually named
77947     something starting with __ and the normal name is an alias.  */
77948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77949 choke me
77950 #else
77951 char (*f) () = $ac_func;
77952 #endif
77953 #ifdef __cplusplus
77954 }
77955 #endif
77956
77957 int
77958 main ()
77959 {
77960 return f != $ac_func;
77961   ;
77962   return 0;
77963 }
77964 _ACEOF
77965 rm -f conftest.$ac_objext conftest$ac_exeext
77966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77967   (eval $ac_link) 2>&5
77968   ac_status=$?
77969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970   (exit $ac_status); } &&
77971          { ac_try='test -s conftest$ac_exeext'
77972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77973   (eval $ac_try) 2>&5
77974   ac_status=$?
77975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976   (exit $ac_status); }; }; then
77977   eval "$as_ac_var=yes"
77978 else
77979   echo "$as_me: failed program was:" >&5
77980 sed 's/^/| /' conftest.$ac_ext >&5
77981
77982 eval "$as_ac_var=no"
77983 fi
77984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77985 fi
77986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77988 if test `eval echo '${'$as_ac_var'}'` = yes; then
77989   cat >>confdefs.h <<_ACEOF
77990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77991 _ACEOF
77992  ac_XPG2funcs=yes
77993 else
77994   ac_XPG2funcs=no
77995 fi
77996 done
77997
77998
77999     LIBS="$ac_save_LIBS"
78000
78001     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
78002 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
78003     if test x"$ac_has_iconv_h" = xyes &&
78004        test x"$ac_has_langinfo_h" = xyes &&
78005        test x"$ac_XPG2funcs" = xyes;
78006     then
78007       ac_XPG2_wchar_t=yes
78008     else
78009       ac_XPG2_wchar_t=no
78010     fi
78011     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
78012 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
78013
78014     # At the moment, only enable wchar_t specializations if all the
78015     # above support is present.
78016     if test x"$ac_isoC99_wchar_t" = xyes &&
78017        test x"$ac_XPG2_wchar_t" = xyes;
78018     then
78019       cat >>confdefs.h <<\_ACEOF
78020 #define _GLIBCXX_USE_WCHAR_T 1
78021 _ACEOF
78022
78023       enable_wchar_t=yes
78024     fi
78025   fi
78026   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
78027 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
78028   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
78029 echo "${ECHO_T}$enable_wchar_t" >&6
78030
78031     cat >>confdefs.h <<\_ACEOF
78032 #define HAVE_COSF 1
78033 _ACEOF
78034
78035     cat >>confdefs.h <<\_ACEOF
78036 #define HAVE_COSL 1
78037 _ACEOF
78038
78039     cat >>confdefs.h <<\_ACEOF
78040 #define HAVE_COSHF 1
78041 _ACEOF
78042
78043     cat >>confdefs.h <<\_ACEOF
78044 #define HAVE_COSHL 1
78045 _ACEOF
78046
78047     cat >>confdefs.h <<\_ACEOF
78048 #define HAVE_LOGF 1
78049 _ACEOF
78050
78051     cat >>confdefs.h <<\_ACEOF
78052 #define HAVE_LOGL 1
78053 _ACEOF
78054
78055     cat >>confdefs.h <<\_ACEOF
78056 #define HAVE_LOG10F 1
78057 _ACEOF
78058
78059     cat >>confdefs.h <<\_ACEOF
78060 #define HAVE_LOG10L 1
78061 _ACEOF
78062
78063     cat >>confdefs.h <<\_ACEOF
78064 #define HAVE_SINF 1
78065 _ACEOF
78066
78067     cat >>confdefs.h <<\_ACEOF
78068 #define HAVE_SINL 1
78069 _ACEOF
78070
78071     cat >>confdefs.h <<\_ACEOF
78072 #define HAVE_SINHF 1
78073 _ACEOF
78074
78075     cat >>confdefs.h <<\_ACEOF
78076 #define HAVE_SINHL 1
78077 _ACEOF
78078
78079     ;;
78080   *-solaris*)
78081     case "$target" in
78082     #  *-solaris2.5)
78083     #    os_include_dir="os/solaris/solaris2.5"
78084     #    ;;
78085     #  *-solaris2.6)
78086     #    os_include_dir="os/solaris/solaris2.6"
78087     #    ;;
78088       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
78089          cat >>confdefs.h <<\_ACEOF
78090 #define HAVE_GETPAGESIZE 1
78091 _ACEOF
78092
78093          cat >>confdefs.h <<\_ACEOF
78094 #define HAVE_SIGSETJMP 1
78095 _ACEOF
78096
78097          cat >>confdefs.h <<\_ACEOF
78098 #define HAVE_MBSTATE_T 1
78099 _ACEOF
78100
78101          cat >>confdefs.h <<\_ACEOF
78102 #define HAVE_POLL 1
78103 _ACEOF
78104
78105          cat >>confdefs.h <<\_ACEOF
78106 #define HAVE_S_ISREG 1
78107 _ACEOF
78108
78109          cat >>confdefs.h <<\_ACEOF
78110 #define HAVE_LC_MESSAGES 1
78111 _ACEOF
78112
78113          cat >>confdefs.h <<\_ACEOF
78114 #define HAVE_BTOWC 1
78115 _ACEOF
78116
78117          cat >>confdefs.h <<\_ACEOF
78118 #define HAVE_FGETWC 1
78119 _ACEOF
78120
78121          cat >>confdefs.h <<\_ACEOF
78122 #define HAVE_FGETWS 1
78123 _ACEOF
78124
78125          cat >>confdefs.h <<\_ACEOF
78126 #define HAVE_FINITE 1
78127 _ACEOF
78128
78129          cat >>confdefs.h <<\_ACEOF
78130 #define HAVE_FPCLASS 1
78131 _ACEOF
78132
78133          cat >>confdefs.h <<\_ACEOF
78134 #define HAVE_FPUTWC 1
78135 _ACEOF
78136
78137          cat >>confdefs.h <<\_ACEOF
78138 #define HAVE_FPUTWS 1
78139 _ACEOF
78140
78141          cat >>confdefs.h <<\_ACEOF
78142 #define HAVE_FWIDE 1
78143 _ACEOF
78144
78145          cat >>confdefs.h <<\_ACEOF
78146 #define HAVE_FWPRINTF 1
78147 _ACEOF
78148
78149          cat >>confdefs.h <<\_ACEOF
78150 #define HAVE_FWSCANF 1
78151 _ACEOF
78152
78153          cat >>confdefs.h <<\_ACEOF
78154 #define HAVE_GETPAGESIZE 1
78155 _ACEOF
78156
78157          cat >>confdefs.h <<\_ACEOF
78158 #define HAVE_GETWC 1
78159 _ACEOF
78160
78161          cat >>confdefs.h <<\_ACEOF
78162 #define HAVE_GETWCHAR 1
78163 _ACEOF
78164
78165          cat >>confdefs.h <<\_ACEOF
78166 #define HAVE_MBRLEN 1
78167 _ACEOF
78168
78169          cat >>confdefs.h <<\_ACEOF
78170 #define HAVE_MBRTOWC 1
78171 _ACEOF
78172
78173          cat >>confdefs.h <<\_ACEOF
78174 #define HAVE_MBSINIT 1
78175 _ACEOF
78176
78177          cat >>confdefs.h <<\_ACEOF
78178 #define HAVE_MBSRTOWCS 1
78179 _ACEOF
78180
78181          cat >>confdefs.h <<\_ACEOF
78182 #define HAVE_NL_LANGINFO 1
78183 _ACEOF
78184
78185          cat >>confdefs.h <<\_ACEOF
78186 #define HAVE_PUTWC 1
78187 _ACEOF
78188
78189          cat >>confdefs.h <<\_ACEOF
78190 #define HAVE_PUTWCHAR 1
78191 _ACEOF
78192
78193          cat >>confdefs.h <<\_ACEOF
78194 #define HAVE_SWPRINTF 1
78195 _ACEOF
78196
78197          cat >>confdefs.h <<\_ACEOF
78198 #define HAVE_SWSCANF 1
78199 _ACEOF
78200
78201          cat >>confdefs.h <<\_ACEOF
78202 #define HAVE_UNGETWC 1
78203 _ACEOF
78204
78205          cat >>confdefs.h <<\_ACEOF
78206 #define HAVE_VFWPRINTF 1
78207 _ACEOF
78208
78209          cat >>confdefs.h <<\_ACEOF
78210 #define HAVE_VSWPRINTF 1
78211 _ACEOF
78212
78213          cat >>confdefs.h <<\_ACEOF
78214 #define HAVE_VWPRINTF 1
78215 _ACEOF
78216
78217          cat >>confdefs.h <<\_ACEOF
78218 #define HAVE_WCRTOMB 1
78219 _ACEOF
78220
78221          cat >>confdefs.h <<\_ACEOF
78222 #define HAVE_WCSCAT 1
78223 _ACEOF
78224
78225          cat >>confdefs.h <<\_ACEOF
78226 #define HAVE_WCSCHR 1
78227 _ACEOF
78228
78229          cat >>confdefs.h <<\_ACEOF
78230 #define HAVE_WCSCMP 1
78231 _ACEOF
78232
78233          cat >>confdefs.h <<\_ACEOF
78234 #define HAVE_WCSCOLL 1
78235 _ACEOF
78236
78237          cat >>confdefs.h <<\_ACEOF
78238 #define HAVE_WCSCPY 1
78239 _ACEOF
78240
78241          cat >>confdefs.h <<\_ACEOF
78242 #define HAVE_WCSCSPN 1
78243 _ACEOF
78244
78245          cat >>confdefs.h <<\_ACEOF
78246 #define HAVE_WCSFTIME 1
78247 _ACEOF
78248
78249          cat >>confdefs.h <<\_ACEOF
78250 #define HAVE_WCSLEN 1
78251 _ACEOF
78252
78253          cat >>confdefs.h <<\_ACEOF
78254 #define HAVE_WCSNCAT 1
78255 _ACEOF
78256
78257          cat >>confdefs.h <<\_ACEOF
78258 #define HAVE_WCSNCMP 1
78259 _ACEOF
78260
78261          cat >>confdefs.h <<\_ACEOF
78262 #define HAVE_WCSNCPY 1
78263 _ACEOF
78264
78265          cat >>confdefs.h <<\_ACEOF
78266 #define HAVE_WCSPBRK 1
78267 _ACEOF
78268
78269          cat >>confdefs.h <<\_ACEOF
78270 #define HAVE_WCSRCHR 1
78271 _ACEOF
78272
78273          cat >>confdefs.h <<\_ACEOF
78274 #define HAVE_WCSRTOMBS 1
78275 _ACEOF
78276
78277          cat >>confdefs.h <<\_ACEOF
78278 #define HAVE_WCSSPN 1
78279 _ACEOF
78280
78281          cat >>confdefs.h <<\_ACEOF
78282 #define HAVE_WCSSTR 1
78283 _ACEOF
78284
78285          cat >>confdefs.h <<\_ACEOF
78286 #define HAVE_WCSTOD 1
78287 _ACEOF
78288
78289          cat >>confdefs.h <<\_ACEOF
78290 #define HAVE_WCSTOK 1
78291 _ACEOF
78292
78293          cat >>confdefs.h <<\_ACEOF
78294 #define HAVE_WCSTOL 1
78295 _ACEOF
78296
78297          cat >>confdefs.h <<\_ACEOF
78298 #define HAVE_WCSTOUL 1
78299 _ACEOF
78300
78301          cat >>confdefs.h <<\_ACEOF
78302 #define HAVE_WCSXFRM 1
78303 _ACEOF
78304
78305          cat >>confdefs.h <<\_ACEOF
78306 #define HAVE_WCTOB 1
78307 _ACEOF
78308
78309          cat >>confdefs.h <<\_ACEOF
78310 #define HAVE_WMEMCHR 1
78311 _ACEOF
78312
78313          cat >>confdefs.h <<\_ACEOF
78314 #define HAVE_WMEMCMP 1
78315 _ACEOF
78316
78317          cat >>confdefs.h <<\_ACEOF
78318 #define HAVE_WMEMCPY 1
78319 _ACEOF
78320
78321          cat >>confdefs.h <<\_ACEOF
78322 #define HAVE_WMEMMOVE 1
78323 _ACEOF
78324
78325          cat >>confdefs.h <<\_ACEOF
78326 #define HAVE_WMEMSET 1
78327 _ACEOF
78328
78329          cat >>confdefs.h <<\_ACEOF
78330 #define HAVE_WPRINTF 1
78331 _ACEOF
78332
78333          cat >>confdefs.h <<\_ACEOF
78334 #define HAVE_WSCANF 1
78335 _ACEOF
78336
78337          cat >>confdefs.h <<\_ACEOF
78338 #define HAVE_ICONV 1
78339 _ACEOF
78340
78341          cat >>confdefs.h <<\_ACEOF
78342 #define HAVE_ICONV_CLOSE 1
78343 _ACEOF
78344
78345          cat >>confdefs.h <<\_ACEOF
78346 #define HAVE_ICONV_OPEN 1
78347 _ACEOF
78348
78349          # Look for the pieces required for wchar_t support in order to
78350          # get all the right HAVE_* macros defined.
78351
78352   # Test wchar.h for mbstate_t, which is needed for char_traits and
78353   # others even if wchar_t support is not on.
78354   echo "$as_me:$LINENO: checking for mbstate_t" >&5
78355 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78356   cat >conftest.$ac_ext <<_ACEOF
78357 #line $LINENO "configure"
78358 /* confdefs.h.  */
78359 _ACEOF
78360 cat confdefs.h >>conftest.$ac_ext
78361 cat >>conftest.$ac_ext <<_ACEOF
78362 /* end confdefs.h.  */
78363 #include <wchar.h>
78364 int
78365 main ()
78366 {
78367 mbstate_t teststate;
78368   ;
78369   return 0;
78370 }
78371 _ACEOF
78372 rm -f conftest.$ac_objext
78373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78374   (eval $ac_compile) 2>&5
78375   ac_status=$?
78376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78377   (exit $ac_status); } &&
78378          { ac_try='test -s conftest.$ac_objext'
78379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78380   (eval $ac_try) 2>&5
78381   ac_status=$?
78382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78383   (exit $ac_status); }; }; then
78384   have_mbstate_t=yes
78385 else
78386   echo "$as_me: failed program was:" >&5
78387 sed 's/^/| /' conftest.$ac_ext >&5
78388
78389 have_mbstate_t=no
78390 fi
78391 rm -f conftest.$ac_objext conftest.$ac_ext
78392   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78393 echo "${ECHO_T}$have_mbstate_t" >&6
78394   if test x"$have_mbstate_t" = xyes; then
78395     cat >>confdefs.h <<\_ACEOF
78396 #define HAVE_MBSTATE_T 1
78397 _ACEOF
78398
78399   fi
78400
78401   # Sanity check for existence of ISO C99 headers for extended encoding.
78402
78403 for ac_header in wchar.h
78404 do
78405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78407   echo "$as_me:$LINENO: checking for $ac_header" >&5
78408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78410   echo $ECHO_N "(cached) $ECHO_C" >&6
78411 fi
78412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78414 else
78415   # Is the header compilable?
78416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78418 cat >conftest.$ac_ext <<_ACEOF
78419 #line $LINENO "configure"
78420 /* confdefs.h.  */
78421 _ACEOF
78422 cat confdefs.h >>conftest.$ac_ext
78423 cat >>conftest.$ac_ext <<_ACEOF
78424 /* end confdefs.h.  */
78425 $ac_includes_default
78426 #include <$ac_header>
78427 _ACEOF
78428 rm -f conftest.$ac_objext
78429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78430   (eval $ac_compile) 2>&5
78431   ac_status=$?
78432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78433   (exit $ac_status); } &&
78434          { ac_try='test -s conftest.$ac_objext'
78435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78436   (eval $ac_try) 2>&5
78437   ac_status=$?
78438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78439   (exit $ac_status); }; }; then
78440   ac_header_compiler=yes
78441 else
78442   echo "$as_me: failed program was:" >&5
78443 sed 's/^/| /' conftest.$ac_ext >&5
78444
78445 ac_header_compiler=no
78446 fi
78447 rm -f conftest.$ac_objext conftest.$ac_ext
78448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78449 echo "${ECHO_T}$ac_header_compiler" >&6
78450
78451 # Is the header present?
78452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78454 cat >conftest.$ac_ext <<_ACEOF
78455 #line $LINENO "configure"
78456 /* confdefs.h.  */
78457 _ACEOF
78458 cat confdefs.h >>conftest.$ac_ext
78459 cat >>conftest.$ac_ext <<_ACEOF
78460 /* end confdefs.h.  */
78461 #include <$ac_header>
78462 _ACEOF
78463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78464   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78465   ac_status=$?
78466   grep -v '^ *+' conftest.er1 >conftest.err
78467   rm -f conftest.er1
78468   cat conftest.err >&5
78469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78470   (exit $ac_status); } >/dev/null; then
78471   if test -s conftest.err; then
78472     ac_cpp_err=$ac_c_preproc_warn_flag
78473   else
78474     ac_cpp_err=
78475   fi
78476 else
78477   ac_cpp_err=yes
78478 fi
78479 if test -z "$ac_cpp_err"; then
78480   ac_header_preproc=yes
78481 else
78482   echo "$as_me: failed program was:" >&5
78483 sed 's/^/| /' conftest.$ac_ext >&5
78484
78485   ac_header_preproc=no
78486 fi
78487 rm -f conftest.err conftest.$ac_ext
78488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78489 echo "${ECHO_T}$ac_header_preproc" >&6
78490
78491 # So?  What about this header?
78492 case $ac_header_compiler:$ac_header_preproc in
78493   yes:no )
78494     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78496     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78498     (
78499       cat <<\_ASBOX
78500 ## ------------------------------------ ##
78501 ## Report this to bug-autoconf@gnu.org. ##
78502 ## ------------------------------------ ##
78503 _ASBOX
78504     ) |
78505       sed "s/^/$as_me: WARNING:     /" >&2
78506     ;;
78507   no:yes )
78508     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78510     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78512     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78514     (
78515       cat <<\_ASBOX
78516 ## ------------------------------------ ##
78517 ## Report this to bug-autoconf@gnu.org. ##
78518 ## ------------------------------------ ##
78519 _ASBOX
78520     ) |
78521       sed "s/^/$as_me: WARNING:     /" >&2
78522     ;;
78523 esac
78524 echo "$as_me:$LINENO: checking for $ac_header" >&5
78525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78527   echo $ECHO_N "(cached) $ECHO_C" >&6
78528 else
78529   eval "$as_ac_Header=$ac_header_preproc"
78530 fi
78531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78533
78534 fi
78535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78536   cat >>confdefs.h <<_ACEOF
78537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78538 _ACEOF
78539  ac_has_wchar_h=yes
78540 else
78541   ac_has_wchar_h=no
78542 fi
78543
78544 done
78545
78546
78547 for ac_header in wctype.h
78548 do
78549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78551   echo "$as_me:$LINENO: checking for $ac_header" >&5
78552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78554   echo $ECHO_N "(cached) $ECHO_C" >&6
78555 fi
78556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78558 else
78559   # Is the header compilable?
78560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78562 cat >conftest.$ac_ext <<_ACEOF
78563 #line $LINENO "configure"
78564 /* confdefs.h.  */
78565 _ACEOF
78566 cat confdefs.h >>conftest.$ac_ext
78567 cat >>conftest.$ac_ext <<_ACEOF
78568 /* end confdefs.h.  */
78569 $ac_includes_default
78570 #include <$ac_header>
78571 _ACEOF
78572 rm -f conftest.$ac_objext
78573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78574   (eval $ac_compile) 2>&5
78575   ac_status=$?
78576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577   (exit $ac_status); } &&
78578          { ac_try='test -s conftest.$ac_objext'
78579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78580   (eval $ac_try) 2>&5
78581   ac_status=$?
78582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78583   (exit $ac_status); }; }; then
78584   ac_header_compiler=yes
78585 else
78586   echo "$as_me: failed program was:" >&5
78587 sed 's/^/| /' conftest.$ac_ext >&5
78588
78589 ac_header_compiler=no
78590 fi
78591 rm -f conftest.$ac_objext conftest.$ac_ext
78592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78593 echo "${ECHO_T}$ac_header_compiler" >&6
78594
78595 # Is the header present?
78596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78598 cat >conftest.$ac_ext <<_ACEOF
78599 #line $LINENO "configure"
78600 /* confdefs.h.  */
78601 _ACEOF
78602 cat confdefs.h >>conftest.$ac_ext
78603 cat >>conftest.$ac_ext <<_ACEOF
78604 /* end confdefs.h.  */
78605 #include <$ac_header>
78606 _ACEOF
78607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78608   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78609   ac_status=$?
78610   grep -v '^ *+' conftest.er1 >conftest.err
78611   rm -f conftest.er1
78612   cat conftest.err >&5
78613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614   (exit $ac_status); } >/dev/null; then
78615   if test -s conftest.err; then
78616     ac_cpp_err=$ac_c_preproc_warn_flag
78617   else
78618     ac_cpp_err=
78619   fi
78620 else
78621   ac_cpp_err=yes
78622 fi
78623 if test -z "$ac_cpp_err"; then
78624   ac_header_preproc=yes
78625 else
78626   echo "$as_me: failed program was:" >&5
78627 sed 's/^/| /' conftest.$ac_ext >&5
78628
78629   ac_header_preproc=no
78630 fi
78631 rm -f conftest.err conftest.$ac_ext
78632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78633 echo "${ECHO_T}$ac_header_preproc" >&6
78634
78635 # So?  What about this header?
78636 case $ac_header_compiler:$ac_header_preproc in
78637   yes:no )
78638     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78640     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78642     (
78643       cat <<\_ASBOX
78644 ## ------------------------------------ ##
78645 ## Report this to bug-autoconf@gnu.org. ##
78646 ## ------------------------------------ ##
78647 _ASBOX
78648     ) |
78649       sed "s/^/$as_me: WARNING:     /" >&2
78650     ;;
78651   no:yes )
78652     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78654     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78656     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78658     (
78659       cat <<\_ASBOX
78660 ## ------------------------------------ ##
78661 ## Report this to bug-autoconf@gnu.org. ##
78662 ## ------------------------------------ ##
78663 _ASBOX
78664     ) |
78665       sed "s/^/$as_me: WARNING:     /" >&2
78666     ;;
78667 esac
78668 echo "$as_me:$LINENO: checking for $ac_header" >&5
78669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78671   echo $ECHO_N "(cached) $ECHO_C" >&6
78672 else
78673   eval "$as_ac_Header=$ac_header_preproc"
78674 fi
78675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78677
78678 fi
78679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78680   cat >>confdefs.h <<_ACEOF
78681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78682 _ACEOF
78683  ac_has_wctype_h=yes
78684 else
78685   ac_has_wctype_h=no
78686 fi
78687
78688 done
78689
78690
78691   # Only continue checking if the ISO C99 headers exist and support is on.
78692   if test x"$ac_has_wchar_h" = xyes &&
78693      test x"$ac_has_wctype_h" = xyes &&
78694      test x"$enable_c_mbchar" != xno; then
78695
78696     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78697     # numeric_limits can instantiate type_traits<wchar_t>
78698     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78699 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78700     cat >conftest.$ac_ext <<_ACEOF
78701 #line $LINENO "configure"
78702 /* confdefs.h.  */
78703 _ACEOF
78704 cat confdefs.h >>conftest.$ac_ext
78705 cat >>conftest.$ac_ext <<_ACEOF
78706 /* end confdefs.h.  */
78707 #include <wchar.h>
78708 int
78709 main ()
78710 {
78711 int i = WCHAR_MIN; int j = WCHAR_MAX;
78712   ;
78713   return 0;
78714 }
78715 _ACEOF
78716 rm -f conftest.$ac_objext
78717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78718   (eval $ac_compile) 2>&5
78719   ac_status=$?
78720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78721   (exit $ac_status); } &&
78722          { ac_try='test -s conftest.$ac_objext'
78723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78724   (eval $ac_try) 2>&5
78725   ac_status=$?
78726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78727   (exit $ac_status); }; }; then
78728   has_wchar_minmax=yes
78729 else
78730   echo "$as_me: failed program was:" >&5
78731 sed 's/^/| /' conftest.$ac_ext >&5
78732
78733 has_wchar_minmax=no
78734 fi
78735 rm -f conftest.$ac_objext conftest.$ac_ext
78736     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78737 echo "${ECHO_T}$has_wchar_minmax" >&6
78738
78739     # Test wchar.h for WEOF, which is what we use to determine whether
78740     # to specialize for char_traits<wchar_t> or not.
78741     echo "$as_me:$LINENO: checking for WEOF" >&5
78742 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78743     cat >conftest.$ac_ext <<_ACEOF
78744 #line $LINENO "configure"
78745 /* confdefs.h.  */
78746 _ACEOF
78747 cat confdefs.h >>conftest.$ac_ext
78748 cat >>conftest.$ac_ext <<_ACEOF
78749 /* end confdefs.h.  */
78750
78751       #include <wchar.h>
78752       #include <stddef.h>
78753 int
78754 main ()
78755 {
78756 wint_t i = WEOF;
78757   ;
78758   return 0;
78759 }
78760 _ACEOF
78761 rm -f conftest.$ac_objext
78762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78763   (eval $ac_compile) 2>&5
78764   ac_status=$?
78765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78766   (exit $ac_status); } &&
78767          { ac_try='test -s conftest.$ac_objext'
78768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78769   (eval $ac_try) 2>&5
78770   ac_status=$?
78771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78772   (exit $ac_status); }; }; then
78773   has_weof=yes
78774 else
78775   echo "$as_me: failed program was:" >&5
78776 sed 's/^/| /' conftest.$ac_ext >&5
78777
78778 has_weof=no
78779 fi
78780 rm -f conftest.$ac_objext conftest.$ac_ext
78781     echo "$as_me:$LINENO: result: $has_weof" >&5
78782 echo "${ECHO_T}$has_weof" >&6
78783
78784     # Tests for wide character functions used in char_traits<wchar_t>.
78785     ac_wfuncs=yes
78786
78787
78788
78789
78790
78791
78792 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78793 do
78794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78795 echo "$as_me:$LINENO: checking for $ac_func" >&5
78796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78797 if eval "test \"\${$as_ac_var+set}\" = set"; then
78798   echo $ECHO_N "(cached) $ECHO_C" >&6
78799 else
78800   if test x$gcc_no_link = xyes; then
78801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78803    { (exit 1); exit 1; }; }
78804 fi
78805 cat >conftest.$ac_ext <<_ACEOF
78806 #line $LINENO "configure"
78807 /* confdefs.h.  */
78808 _ACEOF
78809 cat confdefs.h >>conftest.$ac_ext
78810 cat >>conftest.$ac_ext <<_ACEOF
78811 /* end confdefs.h.  */
78812 /* System header to define __stub macros and hopefully few prototypes,
78813     which can conflict with char $ac_func (); below.
78814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78815     <limits.h> exists even on freestanding compilers.  */
78816 #ifdef __STDC__
78817 # include <limits.h>
78818 #else
78819 # include <assert.h>
78820 #endif
78821 /* Override any gcc2 internal prototype to avoid an error.  */
78822 #ifdef __cplusplus
78823 extern "C"
78824 {
78825 #endif
78826 /* We use char because int might match the return type of a gcc2
78827    builtin and then its argument prototype would still apply.  */
78828 char $ac_func ();
78829 /* The GNU C library defines this for functions which it implements
78830     to always fail with ENOSYS.  Some functions are actually named
78831     something starting with __ and the normal name is an alias.  */
78832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78833 choke me
78834 #else
78835 char (*f) () = $ac_func;
78836 #endif
78837 #ifdef __cplusplus
78838 }
78839 #endif
78840
78841 int
78842 main ()
78843 {
78844 return f != $ac_func;
78845   ;
78846   return 0;
78847 }
78848 _ACEOF
78849 rm -f conftest.$ac_objext conftest$ac_exeext
78850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78851   (eval $ac_link) 2>&5
78852   ac_status=$?
78853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854   (exit $ac_status); } &&
78855          { ac_try='test -s conftest$ac_exeext'
78856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78857   (eval $ac_try) 2>&5
78858   ac_status=$?
78859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78860   (exit $ac_status); }; }; then
78861   eval "$as_ac_var=yes"
78862 else
78863   echo "$as_me: failed program was:" >&5
78864 sed 's/^/| /' conftest.$ac_ext >&5
78865
78866 eval "$as_ac_var=no"
78867 fi
78868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
78869 fi
78870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78872 if test `eval echo '${'$as_ac_var'}'` = yes; then
78873   cat >>confdefs.h <<_ACEOF
78874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78875 _ACEOF
78876
78877 else
78878   ac_wfuncs=no
78879 fi
78880 done
78881
78882
78883     # Checks for names injected into std:: by the c_std headers.
78884
78885
78886
78887
78888
78889
78890
78891
78892
78893
78894
78895
78896
78897
78898
78899
78900
78901
78902
78903
78904
78905
78906
78907
78908
78909
78910
78911
78912
78913
78914
78915
78916
78917
78918
78919
78920
78921
78922
78923
78924
78925
78926
78927
78928
78929
78930 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78931     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78932     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78933     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78934     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78935     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78936 do
78937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78938 echo "$as_me:$LINENO: checking for $ac_func" >&5
78939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78940 if eval "test \"\${$as_ac_var+set}\" = set"; then
78941   echo $ECHO_N "(cached) $ECHO_C" >&6
78942 else
78943   if test x$gcc_no_link = xyes; then
78944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78946    { (exit 1); exit 1; }; }
78947 fi
78948 cat >conftest.$ac_ext <<_ACEOF
78949 #line $LINENO "configure"
78950 /* confdefs.h.  */
78951 _ACEOF
78952 cat confdefs.h >>conftest.$ac_ext
78953 cat >>conftest.$ac_ext <<_ACEOF
78954 /* end confdefs.h.  */
78955 /* System header to define __stub macros and hopefully few prototypes,
78956     which can conflict with char $ac_func (); below.
78957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78958     <limits.h> exists even on freestanding compilers.  */
78959 #ifdef __STDC__
78960 # include <limits.h>
78961 #else
78962 # include <assert.h>
78963 #endif
78964 /* Override any gcc2 internal prototype to avoid an error.  */
78965 #ifdef __cplusplus
78966 extern "C"
78967 {
78968 #endif
78969 /* We use char because int might match the return type of a gcc2
78970    builtin and then its argument prototype would still apply.  */
78971 char $ac_func ();
78972 /* The GNU C library defines this for functions which it implements
78973     to always fail with ENOSYS.  Some functions are actually named
78974     something starting with __ and the normal name is an alias.  */
78975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78976 choke me
78977 #else
78978 char (*f) () = $ac_func;
78979 #endif
78980 #ifdef __cplusplus
78981 }
78982 #endif
78983
78984 int
78985 main ()
78986 {
78987 return f != $ac_func;
78988   ;
78989   return 0;
78990 }
78991 _ACEOF
78992 rm -f conftest.$ac_objext conftest$ac_exeext
78993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78994   (eval $ac_link) 2>&5
78995   ac_status=$?
78996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78997   (exit $ac_status); } &&
78998          { ac_try='test -s conftest$ac_exeext'
78999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79000   (eval $ac_try) 2>&5
79001   ac_status=$?
79002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79003   (exit $ac_status); }; }; then
79004   eval "$as_ac_var=yes"
79005 else
79006   echo "$as_me: failed program was:" >&5
79007 sed 's/^/| /' conftest.$ac_ext >&5
79008
79009 eval "$as_ac_var=no"
79010 fi
79011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79012 fi
79013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79015 if test `eval echo '${'$as_ac_var'}'` = yes; then
79016   cat >>confdefs.h <<_ACEOF
79017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79018 _ACEOF
79019
79020 else
79021   ac_wfuncs=no
79022 fi
79023 done
79024
79025
79026     # Checks for wide character functions that are not required
79027     # for basic wchar_t support.  Don't disable support if they are missing.
79028     # Injection of these is wrapped with guard macros.
79029
79030
79031
79032
79033
79034 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
79035 do
79036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79037 echo "$as_me:$LINENO: checking for $ac_func" >&5
79038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79039 if eval "test \"\${$as_ac_var+set}\" = set"; then
79040   echo $ECHO_N "(cached) $ECHO_C" >&6
79041 else
79042   if test x$gcc_no_link = xyes; then
79043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79045    { (exit 1); exit 1; }; }
79046 fi
79047 cat >conftest.$ac_ext <<_ACEOF
79048 #line $LINENO "configure"
79049 /* confdefs.h.  */
79050 _ACEOF
79051 cat confdefs.h >>conftest.$ac_ext
79052 cat >>conftest.$ac_ext <<_ACEOF
79053 /* end confdefs.h.  */
79054 /* System header to define __stub macros and hopefully few prototypes,
79055     which can conflict with char $ac_func (); below.
79056     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79057     <limits.h> exists even on freestanding compilers.  */
79058 #ifdef __STDC__
79059 # include <limits.h>
79060 #else
79061 # include <assert.h>
79062 #endif
79063 /* Override any gcc2 internal prototype to avoid an error.  */
79064 #ifdef __cplusplus
79065 extern "C"
79066 {
79067 #endif
79068 /* We use char because int might match the return type of a gcc2
79069    builtin and then its argument prototype would still apply.  */
79070 char $ac_func ();
79071 /* The GNU C library defines this for functions which it implements
79072     to always fail with ENOSYS.  Some functions are actually named
79073     something starting with __ and the normal name is an alias.  */
79074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79075 choke me
79076 #else
79077 char (*f) () = $ac_func;
79078 #endif
79079 #ifdef __cplusplus
79080 }
79081 #endif
79082
79083 int
79084 main ()
79085 {
79086 return f != $ac_func;
79087   ;
79088   return 0;
79089 }
79090 _ACEOF
79091 rm -f conftest.$ac_objext conftest$ac_exeext
79092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79093   (eval $ac_link) 2>&5
79094   ac_status=$?
79095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79096   (exit $ac_status); } &&
79097          { ac_try='test -s conftest$ac_exeext'
79098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79099   (eval $ac_try) 2>&5
79100   ac_status=$?
79101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79102   (exit $ac_status); }; }; then
79103   eval "$as_ac_var=yes"
79104 else
79105   echo "$as_me: failed program was:" >&5
79106 sed 's/^/| /' conftest.$ac_ext >&5
79107
79108 eval "$as_ac_var=no"
79109 fi
79110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79111 fi
79112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79114 if test `eval echo '${'$as_ac_var'}'` = yes; then
79115   cat >>confdefs.h <<_ACEOF
79116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79117 _ACEOF
79118
79119 fi
79120 done
79121
79122
79123     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79124 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79125     if test x"$has_weof" = xyes &&
79126        test x"$has_wchar_minmax" = xyes &&
79127        test x"$ac_wfuncs" = xyes;
79128     then
79129       ac_isoC99_wchar_t=yes
79130     else
79131       ac_isoC99_wchar_t=no
79132     fi
79133     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79134 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79135
79136     # Use iconv for wchar_t to char conversions. As such, check for
79137     # X/Open Portability Guide, version 2 features (XPG2).
79138     if test "${ac_cv_header_iconv_h+set}" = set; then
79139   echo "$as_me:$LINENO: checking for iconv.h" >&5
79140 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79141 if test "${ac_cv_header_iconv_h+set}" = set; then
79142   echo $ECHO_N "(cached) $ECHO_C" >&6
79143 fi
79144 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79145 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79146 else
79147   # Is the header compilable?
79148 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79149 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79150 cat >conftest.$ac_ext <<_ACEOF
79151 #line $LINENO "configure"
79152 /* confdefs.h.  */
79153 _ACEOF
79154 cat confdefs.h >>conftest.$ac_ext
79155 cat >>conftest.$ac_ext <<_ACEOF
79156 /* end confdefs.h.  */
79157 $ac_includes_default
79158 #include <iconv.h>
79159 _ACEOF
79160 rm -f conftest.$ac_objext
79161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79162   (eval $ac_compile) 2>&5
79163   ac_status=$?
79164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79165   (exit $ac_status); } &&
79166          { ac_try='test -s conftest.$ac_objext'
79167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79168   (eval $ac_try) 2>&5
79169   ac_status=$?
79170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79171   (exit $ac_status); }; }; then
79172   ac_header_compiler=yes
79173 else
79174   echo "$as_me: failed program was:" >&5
79175 sed 's/^/| /' conftest.$ac_ext >&5
79176
79177 ac_header_compiler=no
79178 fi
79179 rm -f conftest.$ac_objext conftest.$ac_ext
79180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79181 echo "${ECHO_T}$ac_header_compiler" >&6
79182
79183 # Is the header present?
79184 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79185 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79186 cat >conftest.$ac_ext <<_ACEOF
79187 #line $LINENO "configure"
79188 /* confdefs.h.  */
79189 _ACEOF
79190 cat confdefs.h >>conftest.$ac_ext
79191 cat >>conftest.$ac_ext <<_ACEOF
79192 /* end confdefs.h.  */
79193 #include <iconv.h>
79194 _ACEOF
79195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79196   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79197   ac_status=$?
79198   grep -v '^ *+' conftest.er1 >conftest.err
79199   rm -f conftest.er1
79200   cat conftest.err >&5
79201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79202   (exit $ac_status); } >/dev/null; then
79203   if test -s conftest.err; then
79204     ac_cpp_err=$ac_c_preproc_warn_flag
79205   else
79206     ac_cpp_err=
79207   fi
79208 else
79209   ac_cpp_err=yes
79210 fi
79211 if test -z "$ac_cpp_err"; then
79212   ac_header_preproc=yes
79213 else
79214   echo "$as_me: failed program was:" >&5
79215 sed 's/^/| /' conftest.$ac_ext >&5
79216
79217   ac_header_preproc=no
79218 fi
79219 rm -f conftest.err conftest.$ac_ext
79220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79221 echo "${ECHO_T}$ac_header_preproc" >&6
79222
79223 # So?  What about this header?
79224 case $ac_header_compiler:$ac_header_preproc in
79225   yes:no )
79226     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79227 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79228     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79229 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79230     (
79231       cat <<\_ASBOX
79232 ## ------------------------------------ ##
79233 ## Report this to bug-autoconf@gnu.org. ##
79234 ## ------------------------------------ ##
79235 _ASBOX
79236     ) |
79237       sed "s/^/$as_me: WARNING:     /" >&2
79238     ;;
79239   no:yes )
79240     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79241 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79242     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79243 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79244     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79245 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79246     (
79247       cat <<\_ASBOX
79248 ## ------------------------------------ ##
79249 ## Report this to bug-autoconf@gnu.org. ##
79250 ## ------------------------------------ ##
79251 _ASBOX
79252     ) |
79253       sed "s/^/$as_me: WARNING:     /" >&2
79254     ;;
79255 esac
79256 echo "$as_me:$LINENO: checking for iconv.h" >&5
79257 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79258 if test "${ac_cv_header_iconv_h+set}" = set; then
79259   echo $ECHO_N "(cached) $ECHO_C" >&6
79260 else
79261   ac_cv_header_iconv_h=$ac_header_preproc
79262 fi
79263 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79264 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79265
79266 fi
79267 if test $ac_cv_header_iconv_h = yes; then
79268   ac_has_iconv_h=yes
79269 else
79270   ac_has_iconv_h=no
79271 fi
79272
79273
79274     if test "${ac_cv_header_langinfo_h+set}" = set; then
79275   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79276 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79277 if test "${ac_cv_header_langinfo_h+set}" = set; then
79278   echo $ECHO_N "(cached) $ECHO_C" >&6
79279 fi
79280 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79281 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79282 else
79283   # Is the header compilable?
79284 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79285 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79286 cat >conftest.$ac_ext <<_ACEOF
79287 #line $LINENO "configure"
79288 /* confdefs.h.  */
79289 _ACEOF
79290 cat confdefs.h >>conftest.$ac_ext
79291 cat >>conftest.$ac_ext <<_ACEOF
79292 /* end confdefs.h.  */
79293 $ac_includes_default
79294 #include <langinfo.h>
79295 _ACEOF
79296 rm -f conftest.$ac_objext
79297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79298   (eval $ac_compile) 2>&5
79299   ac_status=$?
79300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79301   (exit $ac_status); } &&
79302          { ac_try='test -s conftest.$ac_objext'
79303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79304   (eval $ac_try) 2>&5
79305   ac_status=$?
79306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79307   (exit $ac_status); }; }; then
79308   ac_header_compiler=yes
79309 else
79310   echo "$as_me: failed program was:" >&5
79311 sed 's/^/| /' conftest.$ac_ext >&5
79312
79313 ac_header_compiler=no
79314 fi
79315 rm -f conftest.$ac_objext conftest.$ac_ext
79316 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79317 echo "${ECHO_T}$ac_header_compiler" >&6
79318
79319 # Is the header present?
79320 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79321 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79322 cat >conftest.$ac_ext <<_ACEOF
79323 #line $LINENO "configure"
79324 /* confdefs.h.  */
79325 _ACEOF
79326 cat confdefs.h >>conftest.$ac_ext
79327 cat >>conftest.$ac_ext <<_ACEOF
79328 /* end confdefs.h.  */
79329 #include <langinfo.h>
79330 _ACEOF
79331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79332   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79333   ac_status=$?
79334   grep -v '^ *+' conftest.er1 >conftest.err
79335   rm -f conftest.er1
79336   cat conftest.err >&5
79337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338   (exit $ac_status); } >/dev/null; then
79339   if test -s conftest.err; then
79340     ac_cpp_err=$ac_c_preproc_warn_flag
79341   else
79342     ac_cpp_err=
79343   fi
79344 else
79345   ac_cpp_err=yes
79346 fi
79347 if test -z "$ac_cpp_err"; then
79348   ac_header_preproc=yes
79349 else
79350   echo "$as_me: failed program was:" >&5
79351 sed 's/^/| /' conftest.$ac_ext >&5
79352
79353   ac_header_preproc=no
79354 fi
79355 rm -f conftest.err conftest.$ac_ext
79356 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79357 echo "${ECHO_T}$ac_header_preproc" >&6
79358
79359 # So?  What about this header?
79360 case $ac_header_compiler:$ac_header_preproc in
79361   yes:no )
79362     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79363 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79364     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79365 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79366     (
79367       cat <<\_ASBOX
79368 ## ------------------------------------ ##
79369 ## Report this to bug-autoconf@gnu.org. ##
79370 ## ------------------------------------ ##
79371 _ASBOX
79372     ) |
79373       sed "s/^/$as_me: WARNING:     /" >&2
79374     ;;
79375   no:yes )
79376     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79377 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79378     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79379 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79380     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79381 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79382     (
79383       cat <<\_ASBOX
79384 ## ------------------------------------ ##
79385 ## Report this to bug-autoconf@gnu.org. ##
79386 ## ------------------------------------ ##
79387 _ASBOX
79388     ) |
79389       sed "s/^/$as_me: WARNING:     /" >&2
79390     ;;
79391 esac
79392 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79393 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79394 if test "${ac_cv_header_langinfo_h+set}" = set; then
79395   echo $ECHO_N "(cached) $ECHO_C" >&6
79396 else
79397   ac_cv_header_langinfo_h=$ac_header_preproc
79398 fi
79399 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79400 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79401
79402 fi
79403 if test $ac_cv_header_langinfo_h = yes; then
79404   ac_has_langinfo_h=yes
79405 else
79406   ac_has_langinfo_h=no
79407 fi
79408
79409
79410
79411     # Check for existence of libiconv.a providing XPG2 wchar_t support.
79412     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79413 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79414 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79415   echo $ECHO_N "(cached) $ECHO_C" >&6
79416 else
79417   ac_check_lib_save_LIBS=$LIBS
79418 LIBS="-liconv  $LIBS"
79419 if test x$gcc_no_link = xyes; then
79420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79422    { (exit 1); exit 1; }; }
79423 fi
79424 cat >conftest.$ac_ext <<_ACEOF
79425 #line $LINENO "configure"
79426 /* confdefs.h.  */
79427 _ACEOF
79428 cat confdefs.h >>conftest.$ac_ext
79429 cat >>conftest.$ac_ext <<_ACEOF
79430 /* end confdefs.h.  */
79431
79432 /* Override any gcc2 internal prototype to avoid an error.  */
79433 #ifdef __cplusplus
79434 extern "C"
79435 #endif
79436 /* We use char because int might match the return type of a gcc2
79437    builtin and then its argument prototype would still apply.  */
79438 char iconv ();
79439 int
79440 main ()
79441 {
79442 iconv ();
79443   ;
79444   return 0;
79445 }
79446 _ACEOF
79447 rm -f conftest.$ac_objext conftest$ac_exeext
79448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79449   (eval $ac_link) 2>&5
79450   ac_status=$?
79451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79452   (exit $ac_status); } &&
79453          { ac_try='test -s conftest$ac_exeext'
79454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79455   (eval $ac_try) 2>&5
79456   ac_status=$?
79457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79458   (exit $ac_status); }; }; then
79459   ac_cv_lib_iconv_iconv=yes
79460 else
79461   echo "$as_me: failed program was:" >&5
79462 sed 's/^/| /' conftest.$ac_ext >&5
79463
79464 ac_cv_lib_iconv_iconv=no
79465 fi
79466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79467 LIBS=$ac_check_lib_save_LIBS
79468 fi
79469 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79470 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79471 if test $ac_cv_lib_iconv_iconv = yes; then
79472   libiconv="-liconv"
79473 fi
79474
79475     ac_save_LIBS="$LIBS"
79476     LIBS="$LIBS $libiconv"
79477
79478
79479
79480
79481
79482 for ac_func in iconv_open iconv_close iconv nl_langinfo
79483 do
79484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79485 echo "$as_me:$LINENO: checking for $ac_func" >&5
79486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79487 if eval "test \"\${$as_ac_var+set}\" = set"; then
79488   echo $ECHO_N "(cached) $ECHO_C" >&6
79489 else
79490   if test x$gcc_no_link = xyes; then
79491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79493    { (exit 1); exit 1; }; }
79494 fi
79495 cat >conftest.$ac_ext <<_ACEOF
79496 #line $LINENO "configure"
79497 /* confdefs.h.  */
79498 _ACEOF
79499 cat confdefs.h >>conftest.$ac_ext
79500 cat >>conftest.$ac_ext <<_ACEOF
79501 /* end confdefs.h.  */
79502 /* System header to define __stub macros and hopefully few prototypes,
79503     which can conflict with char $ac_func (); below.
79504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79505     <limits.h> exists even on freestanding compilers.  */
79506 #ifdef __STDC__
79507 # include <limits.h>
79508 #else
79509 # include <assert.h>
79510 #endif
79511 /* Override any gcc2 internal prototype to avoid an error.  */
79512 #ifdef __cplusplus
79513 extern "C"
79514 {
79515 #endif
79516 /* We use char because int might match the return type of a gcc2
79517    builtin and then its argument prototype would still apply.  */
79518 char $ac_func ();
79519 /* The GNU C library defines this for functions which it implements
79520     to always fail with ENOSYS.  Some functions are actually named
79521     something starting with __ and the normal name is an alias.  */
79522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79523 choke me
79524 #else
79525 char (*f) () = $ac_func;
79526 #endif
79527 #ifdef __cplusplus
79528 }
79529 #endif
79530
79531 int
79532 main ()
79533 {
79534 return f != $ac_func;
79535   ;
79536   return 0;
79537 }
79538 _ACEOF
79539 rm -f conftest.$ac_objext conftest$ac_exeext
79540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79541   (eval $ac_link) 2>&5
79542   ac_status=$?
79543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79544   (exit $ac_status); } &&
79545          { ac_try='test -s conftest$ac_exeext'
79546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79547   (eval $ac_try) 2>&5
79548   ac_status=$?
79549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79550   (exit $ac_status); }; }; then
79551   eval "$as_ac_var=yes"
79552 else
79553   echo "$as_me: failed program was:" >&5
79554 sed 's/^/| /' conftest.$ac_ext >&5
79555
79556 eval "$as_ac_var=no"
79557 fi
79558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
79559 fi
79560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79562 if test `eval echo '${'$as_ac_var'}'` = yes; then
79563   cat >>confdefs.h <<_ACEOF
79564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79565 _ACEOF
79566  ac_XPG2funcs=yes
79567 else
79568   ac_XPG2funcs=no
79569 fi
79570 done
79571
79572
79573     LIBS="$ac_save_LIBS"
79574
79575     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79576 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79577     if test x"$ac_has_iconv_h" = xyes &&
79578        test x"$ac_has_langinfo_h" = xyes &&
79579        test x"$ac_XPG2funcs" = xyes;
79580     then
79581       ac_XPG2_wchar_t=yes
79582     else
79583       ac_XPG2_wchar_t=no
79584     fi
79585     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79586 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79587
79588     # At the moment, only enable wchar_t specializations if all the
79589     # above support is present.
79590     if test x"$ac_isoC99_wchar_t" = xyes &&
79591        test x"$ac_XPG2_wchar_t" = xyes;
79592     then
79593       cat >>confdefs.h <<\_ACEOF
79594 #define _GLIBCXX_USE_WCHAR_T 1
79595 _ACEOF
79596
79597       enable_wchar_t=yes
79598     fi
79599   fi
79600   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79601 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79602   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79603 echo "${ECHO_T}$enable_wchar_t" >&6
79604
79605          # All of the dependencies for wide character support are here, so
79606          # turn it on.  This requires some syncronization with the
79607          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
79608          cat >>confdefs.h <<\_ACEOF
79609 #define _GLIBCXX_USE_WCHAR_T 1
79610 _ACEOF
79611
79612          # Are these tested for even when cross?
79613          cat >>confdefs.h <<\_ACEOF
79614 #define HAVE_FLOAT_H 1
79615 _ACEOF
79616
79617          cat >>confdefs.h <<\_ACEOF
79618 #define HAVE_IEEEFP_H 1
79619 _ACEOF
79620
79621          cat >>confdefs.h <<\_ACEOF
79622 #define HAVE_INTTYPES_H 1
79623 _ACEOF
79624
79625          cat >>confdefs.h <<\_ACEOF
79626 #define HAVE_LOCALE_H 1
79627 _ACEOF
79628
79629          cat >>confdefs.h <<\_ACEOF
79630 #define HAVE_NAN_H 1
79631 _ACEOF
79632
79633          cat >>confdefs.h <<\_ACEOF
79634 #define HAVE_SYS_FILIO_H 1
79635 _ACEOF
79636
79637          cat >>confdefs.h <<\_ACEOF
79638 #define HAVE_SYS_IOCTL_H 1
79639 _ACEOF
79640
79641          cat >>confdefs.h <<\_ACEOF
79642 #define HAVE_SYS_ISA_DEFS_H 1
79643 _ACEOF
79644
79645          cat >>confdefs.h <<\_ACEOF
79646 #define HAVE_SYS_RESOURCE_H 1
79647 _ACEOF
79648
79649          cat >>confdefs.h <<\_ACEOF
79650 #define HAVE_SYS_TIME_H 1
79651 _ACEOF
79652
79653          cat >>confdefs.h <<\_ACEOF
79654 #define HAVE_SYS_TYPES_H 1
79655 _ACEOF
79656
79657          cat >>confdefs.h <<\_ACEOF
79658 #define HAVE_UNISTD_H 1
79659 _ACEOF
79660
79661          cat >>confdefs.h <<\_ACEOF
79662 #define HAVE_WCHAR_H 1
79663 _ACEOF
79664
79665          cat >>confdefs.h <<\_ACEOF
79666 #define HAVE_WCTYPE_H 1
79667 _ACEOF
79668
79669          cat >>confdefs.h <<\_ACEOF
79670 #define HAVE_LIBM 1
79671 _ACEOF
79672
79673         ;;
79674     esac
79675     case "$target" in
79676       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
79677         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
79678         cat >>confdefs.h <<\_ACEOF
79679 #define HAVE___BUILTIN_ABS 1
79680 _ACEOF
79681
79682         cat >>confdefs.h <<\_ACEOF
79683 #define HAVE___BUILTIN_LABS 1
79684 _ACEOF
79685
79686         cat >>confdefs.h <<\_ACEOF
79687 #define HAVE___BUILTIN_FABS 1
79688 _ACEOF
79689
79690         cat >>confdefs.h <<\_ACEOF
79691 #define HAVE___BUILTIN_FABSF 1
79692 _ACEOF
79693
79694         cat >>confdefs.h <<\_ACEOF
79695 #define HAVE___BUILTIN_FABSL 1
79696 _ACEOF
79697
79698         cat >>confdefs.h <<\_ACEOF
79699 #define HAVE___BUILTIN_COS 1
79700 _ACEOF
79701
79702         cat >>confdefs.h <<\_ACEOF
79703 #define HAVE___BUILTIN_COSF 1
79704 _ACEOF
79705
79706         cat >>confdefs.h <<\_ACEOF
79707 #define HAVE___BUILTIN_SIN 1
79708 _ACEOF
79709
79710         cat >>confdefs.h <<\_ACEOF
79711 #define HAVE___BUILTIN_SINF 1
79712 _ACEOF
79713
79714        ;;
79715     esac
79716     cat >>confdefs.h <<\_ACEOF
79717 #define HAVE_STRTOF 1
79718 _ACEOF
79719
79720     cat >>confdefs.h <<\_ACEOF
79721 #define HAVE_STRTOLD 1
79722 _ACEOF
79723
79724     cat >>confdefs.h <<\_ACEOF
79725 #define HAVE_MMAP 1
79726 _ACEOF
79727
79728     cat >>confdefs.h <<\_ACEOF
79729 #define HAVE_COPYSIGN 1
79730 _ACEOF
79731
79732     cat >>confdefs.h <<\_ACEOF
79733 #define HAVE_ISNAN 1
79734 _ACEOF
79735
79736     cat >>confdefs.h <<\_ACEOF
79737 #define HAVE_ISNANF 1
79738 _ACEOF
79739
79740     cat >>confdefs.h <<\_ACEOF
79741 #define HAVE_MODFF 1
79742 _ACEOF
79743
79744     cat >>confdefs.h <<\_ACEOF
79745 #define HAVE_HYPOT 1
79746 _ACEOF
79747
79748     ;;
79749   *-tpf)
79750
79751
79752
79753
79754
79755
79756
79757
79758 for ac_header in nan.h endian.h machine/endian.h  \
79759       sys/param.h sys/types.h locale.h float.h inttypes.h
79760 do
79761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79763   echo "$as_me:$LINENO: checking for $ac_header" >&5
79764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79766   echo $ECHO_N "(cached) $ECHO_C" >&6
79767 fi
79768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79770 else
79771   # Is the header compilable?
79772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79774 cat >conftest.$ac_ext <<_ACEOF
79775 #line $LINENO "configure"
79776 /* confdefs.h.  */
79777 _ACEOF
79778 cat confdefs.h >>conftest.$ac_ext
79779 cat >>conftest.$ac_ext <<_ACEOF
79780 /* end confdefs.h.  */
79781 $ac_includes_default
79782 #include <$ac_header>
79783 _ACEOF
79784 rm -f conftest.$ac_objext
79785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79786   (eval $ac_compile) 2>&5
79787   ac_status=$?
79788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79789   (exit $ac_status); } &&
79790          { ac_try='test -s conftest.$ac_objext'
79791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79792   (eval $ac_try) 2>&5
79793   ac_status=$?
79794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79795   (exit $ac_status); }; }; then
79796   ac_header_compiler=yes
79797 else
79798   echo "$as_me: failed program was:" >&5
79799 sed 's/^/| /' conftest.$ac_ext >&5
79800
79801 ac_header_compiler=no
79802 fi
79803 rm -f conftest.$ac_objext conftest.$ac_ext
79804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79805 echo "${ECHO_T}$ac_header_compiler" >&6
79806
79807 # Is the header present?
79808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79810 cat >conftest.$ac_ext <<_ACEOF
79811 #line $LINENO "configure"
79812 /* confdefs.h.  */
79813 _ACEOF
79814 cat confdefs.h >>conftest.$ac_ext
79815 cat >>conftest.$ac_ext <<_ACEOF
79816 /* end confdefs.h.  */
79817 #include <$ac_header>
79818 _ACEOF
79819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79820   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79821   ac_status=$?
79822   grep -v '^ *+' conftest.er1 >conftest.err
79823   rm -f conftest.er1
79824   cat conftest.err >&5
79825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79826   (exit $ac_status); } >/dev/null; then
79827   if test -s conftest.err; then
79828     ac_cpp_err=$ac_c_preproc_warn_flag
79829   else
79830     ac_cpp_err=
79831   fi
79832 else
79833   ac_cpp_err=yes
79834 fi
79835 if test -z "$ac_cpp_err"; then
79836   ac_header_preproc=yes
79837 else
79838   echo "$as_me: failed program was:" >&5
79839 sed 's/^/| /' conftest.$ac_ext >&5
79840
79841   ac_header_preproc=no
79842 fi
79843 rm -f conftest.err conftest.$ac_ext
79844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79845 echo "${ECHO_T}$ac_header_preproc" >&6
79846
79847 # So?  What about this header?
79848 case $ac_header_compiler:$ac_header_preproc in
79849   yes:no )
79850     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79852     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79854     (
79855       cat <<\_ASBOX
79856 ## ------------------------------------ ##
79857 ## Report this to bug-autoconf@gnu.org. ##
79858 ## ------------------------------------ ##
79859 _ASBOX
79860     ) |
79861       sed "s/^/$as_me: WARNING:     /" >&2
79862     ;;
79863   no:yes )
79864     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79866     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79868     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79870     (
79871       cat <<\_ASBOX
79872 ## ------------------------------------ ##
79873 ## Report this to bug-autoconf@gnu.org. ##
79874 ## ------------------------------------ ##
79875 _ASBOX
79876     ) |
79877       sed "s/^/$as_me: WARNING:     /" >&2
79878     ;;
79879 esac
79880 echo "$as_me:$LINENO: checking for $ac_header" >&5
79881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79883   echo $ECHO_N "(cached) $ECHO_C" >&6
79884 else
79885   eval "$as_ac_Header=$ac_header_preproc"
79886 fi
79887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79889
79890 fi
79891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79892   cat >>confdefs.h <<_ACEOF
79893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79894 _ACEOF
79895
79896 fi
79897
79898 done
79899
79900     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79901
79902
79903   # If we're not using GNU ld, then there's no point in even trying these
79904   # tests.  Check for that first.  We should have already tested for gld
79905   # by now (in libtool), but require it now just to be safe...
79906   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79907   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79908
79909
79910
79911   # The name set by libtool depends on the version of libtool.  Shame on us
79912   # for depending on an impl detail, but c'est la vie.  Older versions used
79913   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79914   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79915   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79916   # set (hence we're using an older libtool), then set it.
79917   if test x${with_gnu_ld+set} != xset; then
79918     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79919       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79920       with_gnu_ld=no
79921     else
79922       with_gnu_ld=$ac_cv_prog_gnu_ld
79923     fi
79924   fi
79925
79926   # Start by getting the version number.  I think the libtool test already
79927   # does some of this, but throws away the result.
79928
79929   ldver=`$LD --version 2>/dev/null | head -1 | \
79930          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79931
79932   glibcxx_gnu_ld_version=`echo $ldver | \
79933          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79934
79935   # Set --gc-sections.
79936   if test "$with_gnu_ld" = "notbroken"; then
79937     # GNU ld it is!  Joy and bunny rabbits!
79938
79939     # All these tests are for C++; save the language and the compiler flags.
79940     # Need to do this so that g++ won't try to link in libstdc++
79941     ac_test_CFLAGS="${CFLAGS+set}"
79942     ac_save_CFLAGS="$CFLAGS"
79943     CFLAGS='-x c++  -Wl,--gc-sections'
79944
79945     # Check for -Wl,--gc-sections
79946     # XXX This test is broken at the moment, as symbols required for linking
79947     # are now in libsupc++ (not built yet).  In addition, this test has
79948     # cored on solaris in the past.  In addition, --gc-sections doesn't
79949     # really work at the moment (keeps on discarding used sections, first
79950     # .eh_frame and now some of the glibc sections for iconv).
79951     # Bzzzzt.  Thanks for playing, maybe next time.
79952     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79953 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79954     if test "$cross_compiling" = yes; then
79955   ac_sectionLDflags=yes
79956 else
79957   cat >conftest.$ac_ext <<_ACEOF
79958 #line $LINENO "configure"
79959 /* confdefs.h.  */
79960 _ACEOF
79961 cat confdefs.h >>conftest.$ac_ext
79962 cat >>conftest.$ac_ext <<_ACEOF
79963 /* end confdefs.h.  */
79964
79965      int main(void)
79966      {
79967        try { throw 1; }
79968        catch (...) { };
79969        return 0;
79970      }
79971
79972 _ACEOF
79973 rm -f conftest$ac_exeext
79974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79975   (eval $ac_link) 2>&5
79976   ac_status=$?
79977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79980   (eval $ac_try) 2>&5
79981   ac_status=$?
79982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79983   (exit $ac_status); }; }; then
79984   ac_sectionLDflags=yes
79985 else
79986   echo "$as_me: program exited with status $ac_status" >&5
79987 echo "$as_me: failed program was:" >&5
79988 sed 's/^/| /' conftest.$ac_ext >&5
79989
79990 ( exit $ac_status )
79991 ac_sectionLDflags=no
79992 fi
79993 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79994 fi
79995     if test "$ac_test_CFLAGS" = set; then
79996       CFLAGS="$ac_save_CFLAGS"
79997     else
79998       # this is the suspicious part
79999       CFLAGS=''
80000     fi
80001     if test "$ac_sectionLDflags" = "yes"; then
80002       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80003     fi
80004     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80005 echo "${ECHO_T}$ac_sectionLDflags" >&6
80006   fi
80007
80008   # Set linker optimization flags.
80009   if test x"$with_gnu_ld" = x"yes"; then
80010     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80011   fi
80012
80013
80014
80015
80016
80017
80018 echo "$as_me:$LINENO: checking for main in -lm" >&5
80019 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80020 if test "${ac_cv_lib_m_main+set}" = set; then
80021   echo $ECHO_N "(cached) $ECHO_C" >&6
80022 else
80023   ac_check_lib_save_LIBS=$LIBS
80024 LIBS="-lm  $LIBS"
80025 if test x$gcc_no_link = xyes; then
80026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80028    { (exit 1); exit 1; }; }
80029 fi
80030 cat >conftest.$ac_ext <<_ACEOF
80031 #line $LINENO "configure"
80032 /* confdefs.h.  */
80033 _ACEOF
80034 cat confdefs.h >>conftest.$ac_ext
80035 cat >>conftest.$ac_ext <<_ACEOF
80036 /* end confdefs.h.  */
80037
80038
80039 int
80040 main ()
80041 {
80042 main ();
80043   ;
80044   return 0;
80045 }
80046 _ACEOF
80047 rm -f conftest.$ac_objext conftest$ac_exeext
80048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80049   (eval $ac_link) 2>&5
80050   ac_status=$?
80051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80052   (exit $ac_status); } &&
80053          { ac_try='test -s conftest$ac_exeext'
80054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80055   (eval $ac_try) 2>&5
80056   ac_status=$?
80057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80058   (exit $ac_status); }; }; then
80059   ac_cv_lib_m_main=yes
80060 else
80061   echo "$as_me: failed program was:" >&5
80062 sed 's/^/| /' conftest.$ac_ext >&5
80063
80064 ac_cv_lib_m_main=no
80065 fi
80066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80067 LIBS=$ac_check_lib_save_LIBS
80068 fi
80069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80070 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80071 if test $ac_cv_lib_m_main = yes; then
80072   cat >>confdefs.h <<_ACEOF
80073 #define HAVE_LIBM 1
80074 _ACEOF
80075
80076   LIBS="-lm $LIBS"
80077
80078 fi
80079
80080
80081 for ac_func in copysignf
80082 do
80083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80084 echo "$as_me:$LINENO: checking for $ac_func" >&5
80085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80086 if eval "test \"\${$as_ac_var+set}\" = set"; then
80087   echo $ECHO_N "(cached) $ECHO_C" >&6
80088 else
80089   if test x$gcc_no_link = xyes; then
80090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80092    { (exit 1); exit 1; }; }
80093 fi
80094 cat >conftest.$ac_ext <<_ACEOF
80095 #line $LINENO "configure"
80096 /* confdefs.h.  */
80097 _ACEOF
80098 cat confdefs.h >>conftest.$ac_ext
80099 cat >>conftest.$ac_ext <<_ACEOF
80100 /* end confdefs.h.  */
80101 /* System header to define __stub macros and hopefully few prototypes,
80102     which can conflict with char $ac_func (); below.
80103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80104     <limits.h> exists even on freestanding compilers.  */
80105 #ifdef __STDC__
80106 # include <limits.h>
80107 #else
80108 # include <assert.h>
80109 #endif
80110 /* Override any gcc2 internal prototype to avoid an error.  */
80111 #ifdef __cplusplus
80112 extern "C"
80113 {
80114 #endif
80115 /* We use char because int might match the return type of a gcc2
80116    builtin and then its argument prototype would still apply.  */
80117 char $ac_func ();
80118 /* The GNU C library defines this for functions which it implements
80119     to always fail with ENOSYS.  Some functions are actually named
80120     something starting with __ and the normal name is an alias.  */
80121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80122 choke me
80123 #else
80124 char (*f) () = $ac_func;
80125 #endif
80126 #ifdef __cplusplus
80127 }
80128 #endif
80129
80130 int
80131 main ()
80132 {
80133 return f != $ac_func;
80134   ;
80135   return 0;
80136 }
80137 _ACEOF
80138 rm -f conftest.$ac_objext conftest$ac_exeext
80139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80140   (eval $ac_link) 2>&5
80141   ac_status=$?
80142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80143   (exit $ac_status); } &&
80144          { ac_try='test -s conftest$ac_exeext'
80145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80146   (eval $ac_try) 2>&5
80147   ac_status=$?
80148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80149   (exit $ac_status); }; }; then
80150   eval "$as_ac_var=yes"
80151 else
80152   echo "$as_me: failed program was:" >&5
80153 sed 's/^/| /' conftest.$ac_ext >&5
80154
80155 eval "$as_ac_var=no"
80156 fi
80157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80158 fi
80159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80161 if test `eval echo '${'$as_ac_var'}'` = yes; then
80162   cat >>confdefs.h <<_ACEOF
80163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80164 _ACEOF
80165
80166 else
80167   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80168 fi
80169 done
80170
80171
80172
80173 for ac_func in __signbit
80174 do
80175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80176 echo "$as_me:$LINENO: checking for $ac_func" >&5
80177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80178 if eval "test \"\${$as_ac_var+set}\" = set"; then
80179   echo $ECHO_N "(cached) $ECHO_C" >&6
80180 else
80181   if test x$gcc_no_link = xyes; then
80182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80184    { (exit 1); exit 1; }; }
80185 fi
80186 cat >conftest.$ac_ext <<_ACEOF
80187 #line $LINENO "configure"
80188 /* confdefs.h.  */
80189 _ACEOF
80190 cat confdefs.h >>conftest.$ac_ext
80191 cat >>conftest.$ac_ext <<_ACEOF
80192 /* end confdefs.h.  */
80193 /* System header to define __stub macros and hopefully few prototypes,
80194     which can conflict with char $ac_func (); below.
80195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80196     <limits.h> exists even on freestanding compilers.  */
80197 #ifdef __STDC__
80198 # include <limits.h>
80199 #else
80200 # include <assert.h>
80201 #endif
80202 /* Override any gcc2 internal prototype to avoid an error.  */
80203 #ifdef __cplusplus
80204 extern "C"
80205 {
80206 #endif
80207 /* We use char because int might match the return type of a gcc2
80208    builtin and then its argument prototype would still apply.  */
80209 char $ac_func ();
80210 /* The GNU C library defines this for functions which it implements
80211     to always fail with ENOSYS.  Some functions are actually named
80212     something starting with __ and the normal name is an alias.  */
80213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80214 choke me
80215 #else
80216 char (*f) () = $ac_func;
80217 #endif
80218 #ifdef __cplusplus
80219 }
80220 #endif
80221
80222 int
80223 main ()
80224 {
80225 return f != $ac_func;
80226   ;
80227   return 0;
80228 }
80229 _ACEOF
80230 rm -f conftest.$ac_objext conftest$ac_exeext
80231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80232   (eval $ac_link) 2>&5
80233   ac_status=$?
80234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235   (exit $ac_status); } &&
80236          { ac_try='test -s conftest$ac_exeext'
80237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80238   (eval $ac_try) 2>&5
80239   ac_status=$?
80240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80241   (exit $ac_status); }; }; then
80242   eval "$as_ac_var=yes"
80243 else
80244   echo "$as_me: failed program was:" >&5
80245 sed 's/^/| /' conftest.$ac_ext >&5
80246
80247 eval "$as_ac_var=no"
80248 fi
80249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80250 fi
80251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80253 if test `eval echo '${'$as_ac_var'}'` = yes; then
80254   cat >>confdefs.h <<_ACEOF
80255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80256 _ACEOF
80257
80258 else
80259   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80260 fi
80261 done
80262
80263
80264
80265 for ac_func in __signbitf
80266 do
80267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80268 echo "$as_me:$LINENO: checking for $ac_func" >&5
80269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80270 if eval "test \"\${$as_ac_var+set}\" = set"; then
80271   echo $ECHO_N "(cached) $ECHO_C" >&6
80272 else
80273   if test x$gcc_no_link = xyes; then
80274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80276    { (exit 1); exit 1; }; }
80277 fi
80278 cat >conftest.$ac_ext <<_ACEOF
80279 #line $LINENO "configure"
80280 /* confdefs.h.  */
80281 _ACEOF
80282 cat confdefs.h >>conftest.$ac_ext
80283 cat >>conftest.$ac_ext <<_ACEOF
80284 /* end confdefs.h.  */
80285 /* System header to define __stub macros and hopefully few prototypes,
80286     which can conflict with char $ac_func (); below.
80287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80288     <limits.h> exists even on freestanding compilers.  */
80289 #ifdef __STDC__
80290 # include <limits.h>
80291 #else
80292 # include <assert.h>
80293 #endif
80294 /* Override any gcc2 internal prototype to avoid an error.  */
80295 #ifdef __cplusplus
80296 extern "C"
80297 {
80298 #endif
80299 /* We use char because int might match the return type of a gcc2
80300    builtin and then its argument prototype would still apply.  */
80301 char $ac_func ();
80302 /* The GNU C library defines this for functions which it implements
80303     to always fail with ENOSYS.  Some functions are actually named
80304     something starting with __ and the normal name is an alias.  */
80305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80306 choke me
80307 #else
80308 char (*f) () = $ac_func;
80309 #endif
80310 #ifdef __cplusplus
80311 }
80312 #endif
80313
80314 int
80315 main ()
80316 {
80317 return f != $ac_func;
80318   ;
80319   return 0;
80320 }
80321 _ACEOF
80322 rm -f conftest.$ac_objext conftest$ac_exeext
80323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80324   (eval $ac_link) 2>&5
80325   ac_status=$?
80326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80327   (exit $ac_status); } &&
80328          { ac_try='test -s conftest$ac_exeext'
80329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80330   (eval $ac_try) 2>&5
80331   ac_status=$?
80332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80333   (exit $ac_status); }; }; then
80334   eval "$as_ac_var=yes"
80335 else
80336   echo "$as_me: failed program was:" >&5
80337 sed 's/^/| /' conftest.$ac_ext >&5
80338
80339 eval "$as_ac_var=no"
80340 fi
80341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80342 fi
80343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80345 if test `eval echo '${'$as_ac_var'}'` = yes; then
80346   cat >>confdefs.h <<_ACEOF
80347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80348 _ACEOF
80349
80350 else
80351   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80352 fi
80353 done
80354
80355
80356           if test x$ac_cv_func_copysignl = x"yes"; then
80357
80358 for ac_func in __signbitl
80359 do
80360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80361 echo "$as_me:$LINENO: checking for $ac_func" >&5
80362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80363 if eval "test \"\${$as_ac_var+set}\" = set"; then
80364   echo $ECHO_N "(cached) $ECHO_C" >&6
80365 else
80366   if test x$gcc_no_link = xyes; then
80367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80369    { (exit 1); exit 1; }; }
80370 fi
80371 cat >conftest.$ac_ext <<_ACEOF
80372 #line $LINENO "configure"
80373 /* confdefs.h.  */
80374 _ACEOF
80375 cat confdefs.h >>conftest.$ac_ext
80376 cat >>conftest.$ac_ext <<_ACEOF
80377 /* end confdefs.h.  */
80378 /* System header to define __stub macros and hopefully few prototypes,
80379     which can conflict with char $ac_func (); below.
80380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80381     <limits.h> exists even on freestanding compilers.  */
80382 #ifdef __STDC__
80383 # include <limits.h>
80384 #else
80385 # include <assert.h>
80386 #endif
80387 /* Override any gcc2 internal prototype to avoid an error.  */
80388 #ifdef __cplusplus
80389 extern "C"
80390 {
80391 #endif
80392 /* We use char because int might match the return type of a gcc2
80393    builtin and then its argument prototype would still apply.  */
80394 char $ac_func ();
80395 /* The GNU C library defines this for functions which it implements
80396     to always fail with ENOSYS.  Some functions are actually named
80397     something starting with __ and the normal name is an alias.  */
80398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80399 choke me
80400 #else
80401 char (*f) () = $ac_func;
80402 #endif
80403 #ifdef __cplusplus
80404 }
80405 #endif
80406
80407 int
80408 main ()
80409 {
80410 return f != $ac_func;
80411   ;
80412   return 0;
80413 }
80414 _ACEOF
80415 rm -f conftest.$ac_objext conftest$ac_exeext
80416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80417   (eval $ac_link) 2>&5
80418   ac_status=$?
80419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80420   (exit $ac_status); } &&
80421          { ac_try='test -s conftest$ac_exeext'
80422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80423   (eval $ac_try) 2>&5
80424   ac_status=$?
80425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80426   (exit $ac_status); }; }; then
80427   eval "$as_ac_var=yes"
80428 else
80429   echo "$as_me: failed program was:" >&5
80430 sed 's/^/| /' conftest.$ac_ext >&5
80431
80432 eval "$as_ac_var=no"
80433 fi
80434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80435 fi
80436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80438 if test `eval echo '${'$as_ac_var'}'` = yes; then
80439   cat >>confdefs.h <<_ACEOF
80440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80441 _ACEOF
80442
80443 else
80444   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80445 fi
80446 done
80447
80448   fi
80449
80450   # Used in libmath/Makefile.am.
80451   if test -n "$LIBMATHOBJS"; then
80452     need_libmath=yes
80453   fi
80454
80455
80456
80457   # Test wchar.h for mbstate_t, which is needed for char_traits and
80458   # others even if wchar_t support is not on.
80459   echo "$as_me:$LINENO: checking for mbstate_t" >&5
80460 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80461   cat >conftest.$ac_ext <<_ACEOF
80462 #line $LINENO "configure"
80463 /* confdefs.h.  */
80464 _ACEOF
80465 cat confdefs.h >>conftest.$ac_ext
80466 cat >>conftest.$ac_ext <<_ACEOF
80467 /* end confdefs.h.  */
80468 #include <wchar.h>
80469 int
80470 main ()
80471 {
80472 mbstate_t teststate;
80473   ;
80474   return 0;
80475 }
80476 _ACEOF
80477 rm -f conftest.$ac_objext
80478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80479   (eval $ac_compile) 2>&5
80480   ac_status=$?
80481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80482   (exit $ac_status); } &&
80483          { ac_try='test -s conftest.$ac_objext'
80484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80485   (eval $ac_try) 2>&5
80486   ac_status=$?
80487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488   (exit $ac_status); }; }; then
80489   have_mbstate_t=yes
80490 else
80491   echo "$as_me: failed program was:" >&5
80492 sed 's/^/| /' conftest.$ac_ext >&5
80493
80494 have_mbstate_t=no
80495 fi
80496 rm -f conftest.$ac_objext conftest.$ac_ext
80497   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80498 echo "${ECHO_T}$have_mbstate_t" >&6
80499   if test x"$have_mbstate_t" = xyes; then
80500     cat >>confdefs.h <<\_ACEOF
80501 #define HAVE_MBSTATE_T 1
80502 _ACEOF
80503
80504   fi
80505
80506   # Sanity check for existence of ISO C99 headers for extended encoding.
80507
80508 for ac_header in wchar.h
80509 do
80510 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80512   echo "$as_me:$LINENO: checking for $ac_header" >&5
80513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80515   echo $ECHO_N "(cached) $ECHO_C" >&6
80516 fi
80517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80519 else
80520   # Is the header compilable?
80521 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80523 cat >conftest.$ac_ext <<_ACEOF
80524 #line $LINENO "configure"
80525 /* confdefs.h.  */
80526 _ACEOF
80527 cat confdefs.h >>conftest.$ac_ext
80528 cat >>conftest.$ac_ext <<_ACEOF
80529 /* end confdefs.h.  */
80530 $ac_includes_default
80531 #include <$ac_header>
80532 _ACEOF
80533 rm -f conftest.$ac_objext
80534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80535   (eval $ac_compile) 2>&5
80536   ac_status=$?
80537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80538   (exit $ac_status); } &&
80539          { ac_try='test -s conftest.$ac_objext'
80540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80541   (eval $ac_try) 2>&5
80542   ac_status=$?
80543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80544   (exit $ac_status); }; }; then
80545   ac_header_compiler=yes
80546 else
80547   echo "$as_me: failed program was:" >&5
80548 sed 's/^/| /' conftest.$ac_ext >&5
80549
80550 ac_header_compiler=no
80551 fi
80552 rm -f conftest.$ac_objext conftest.$ac_ext
80553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80554 echo "${ECHO_T}$ac_header_compiler" >&6
80555
80556 # Is the header present?
80557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80559 cat >conftest.$ac_ext <<_ACEOF
80560 #line $LINENO "configure"
80561 /* confdefs.h.  */
80562 _ACEOF
80563 cat confdefs.h >>conftest.$ac_ext
80564 cat >>conftest.$ac_ext <<_ACEOF
80565 /* end confdefs.h.  */
80566 #include <$ac_header>
80567 _ACEOF
80568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80569   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80570   ac_status=$?
80571   grep -v '^ *+' conftest.er1 >conftest.err
80572   rm -f conftest.er1
80573   cat conftest.err >&5
80574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80575   (exit $ac_status); } >/dev/null; then
80576   if test -s conftest.err; then
80577     ac_cpp_err=$ac_c_preproc_warn_flag
80578   else
80579     ac_cpp_err=
80580   fi
80581 else
80582   ac_cpp_err=yes
80583 fi
80584 if test -z "$ac_cpp_err"; then
80585   ac_header_preproc=yes
80586 else
80587   echo "$as_me: failed program was:" >&5
80588 sed 's/^/| /' conftest.$ac_ext >&5
80589
80590   ac_header_preproc=no
80591 fi
80592 rm -f conftest.err conftest.$ac_ext
80593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80594 echo "${ECHO_T}$ac_header_preproc" >&6
80595
80596 # So?  What about this header?
80597 case $ac_header_compiler:$ac_header_preproc in
80598   yes:no )
80599     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80601     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80602 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80603     (
80604       cat <<\_ASBOX
80605 ## ------------------------------------ ##
80606 ## Report this to bug-autoconf@gnu.org. ##
80607 ## ------------------------------------ ##
80608 _ASBOX
80609     ) |
80610       sed "s/^/$as_me: WARNING:     /" >&2
80611     ;;
80612   no:yes )
80613     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80615     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80617     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80619     (
80620       cat <<\_ASBOX
80621 ## ------------------------------------ ##
80622 ## Report this to bug-autoconf@gnu.org. ##
80623 ## ------------------------------------ ##
80624 _ASBOX
80625     ) |
80626       sed "s/^/$as_me: WARNING:     /" >&2
80627     ;;
80628 esac
80629 echo "$as_me:$LINENO: checking for $ac_header" >&5
80630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80632   echo $ECHO_N "(cached) $ECHO_C" >&6
80633 else
80634   eval "$as_ac_Header=$ac_header_preproc"
80635 fi
80636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80638
80639 fi
80640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80641   cat >>confdefs.h <<_ACEOF
80642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80643 _ACEOF
80644  ac_has_wchar_h=yes
80645 else
80646   ac_has_wchar_h=no
80647 fi
80648
80649 done
80650
80651
80652 for ac_header in wctype.h
80653 do
80654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80656   echo "$as_me:$LINENO: checking for $ac_header" >&5
80657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80659   echo $ECHO_N "(cached) $ECHO_C" >&6
80660 fi
80661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80663 else
80664   # Is the header compilable?
80665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80667 cat >conftest.$ac_ext <<_ACEOF
80668 #line $LINENO "configure"
80669 /* confdefs.h.  */
80670 _ACEOF
80671 cat confdefs.h >>conftest.$ac_ext
80672 cat >>conftest.$ac_ext <<_ACEOF
80673 /* end confdefs.h.  */
80674 $ac_includes_default
80675 #include <$ac_header>
80676 _ACEOF
80677 rm -f conftest.$ac_objext
80678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80679   (eval $ac_compile) 2>&5
80680   ac_status=$?
80681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80682   (exit $ac_status); } &&
80683          { ac_try='test -s conftest.$ac_objext'
80684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80685   (eval $ac_try) 2>&5
80686   ac_status=$?
80687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80688   (exit $ac_status); }; }; then
80689   ac_header_compiler=yes
80690 else
80691   echo "$as_me: failed program was:" >&5
80692 sed 's/^/| /' conftest.$ac_ext >&5
80693
80694 ac_header_compiler=no
80695 fi
80696 rm -f conftest.$ac_objext conftest.$ac_ext
80697 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80698 echo "${ECHO_T}$ac_header_compiler" >&6
80699
80700 # Is the header present?
80701 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80703 cat >conftest.$ac_ext <<_ACEOF
80704 #line $LINENO "configure"
80705 /* confdefs.h.  */
80706 _ACEOF
80707 cat confdefs.h >>conftest.$ac_ext
80708 cat >>conftest.$ac_ext <<_ACEOF
80709 /* end confdefs.h.  */
80710 #include <$ac_header>
80711 _ACEOF
80712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80713   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80714   ac_status=$?
80715   grep -v '^ *+' conftest.er1 >conftest.err
80716   rm -f conftest.er1
80717   cat conftest.err >&5
80718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80719   (exit $ac_status); } >/dev/null; then
80720   if test -s conftest.err; then
80721     ac_cpp_err=$ac_c_preproc_warn_flag
80722   else
80723     ac_cpp_err=
80724   fi
80725 else
80726   ac_cpp_err=yes
80727 fi
80728 if test -z "$ac_cpp_err"; then
80729   ac_header_preproc=yes
80730 else
80731   echo "$as_me: failed program was:" >&5
80732 sed 's/^/| /' conftest.$ac_ext >&5
80733
80734   ac_header_preproc=no
80735 fi
80736 rm -f conftest.err conftest.$ac_ext
80737 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80738 echo "${ECHO_T}$ac_header_preproc" >&6
80739
80740 # So?  What about this header?
80741 case $ac_header_compiler:$ac_header_preproc in
80742   yes:no )
80743     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80745     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80747     (
80748       cat <<\_ASBOX
80749 ## ------------------------------------ ##
80750 ## Report this to bug-autoconf@gnu.org. ##
80751 ## ------------------------------------ ##
80752 _ASBOX
80753     ) |
80754       sed "s/^/$as_me: WARNING:     /" >&2
80755     ;;
80756   no:yes )
80757     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80759     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80761     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80763     (
80764       cat <<\_ASBOX
80765 ## ------------------------------------ ##
80766 ## Report this to bug-autoconf@gnu.org. ##
80767 ## ------------------------------------ ##
80768 _ASBOX
80769     ) |
80770       sed "s/^/$as_me: WARNING:     /" >&2
80771     ;;
80772 esac
80773 echo "$as_me:$LINENO: checking for $ac_header" >&5
80774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80776   echo $ECHO_N "(cached) $ECHO_C" >&6
80777 else
80778   eval "$as_ac_Header=$ac_header_preproc"
80779 fi
80780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80782
80783 fi
80784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80785   cat >>confdefs.h <<_ACEOF
80786 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80787 _ACEOF
80788  ac_has_wctype_h=yes
80789 else
80790   ac_has_wctype_h=no
80791 fi
80792
80793 done
80794
80795
80796   # Only continue checking if the ISO C99 headers exist and support is on.
80797   if test x"$ac_has_wchar_h" = xyes &&
80798      test x"$ac_has_wctype_h" = xyes &&
80799      test x"$enable_c_mbchar" != xno; then
80800
80801     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80802     # numeric_limits can instantiate type_traits<wchar_t>
80803     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80804 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80805     cat >conftest.$ac_ext <<_ACEOF
80806 #line $LINENO "configure"
80807 /* confdefs.h.  */
80808 _ACEOF
80809 cat confdefs.h >>conftest.$ac_ext
80810 cat >>conftest.$ac_ext <<_ACEOF
80811 /* end confdefs.h.  */
80812 #include <wchar.h>
80813 int
80814 main ()
80815 {
80816 int i = WCHAR_MIN; int j = WCHAR_MAX;
80817   ;
80818   return 0;
80819 }
80820 _ACEOF
80821 rm -f conftest.$ac_objext
80822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80823   (eval $ac_compile) 2>&5
80824   ac_status=$?
80825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80826   (exit $ac_status); } &&
80827          { ac_try='test -s conftest.$ac_objext'
80828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80829   (eval $ac_try) 2>&5
80830   ac_status=$?
80831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80832   (exit $ac_status); }; }; then
80833   has_wchar_minmax=yes
80834 else
80835   echo "$as_me: failed program was:" >&5
80836 sed 's/^/| /' conftest.$ac_ext >&5
80837
80838 has_wchar_minmax=no
80839 fi
80840 rm -f conftest.$ac_objext conftest.$ac_ext
80841     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80842 echo "${ECHO_T}$has_wchar_minmax" >&6
80843
80844     # Test wchar.h for WEOF, which is what we use to determine whether
80845     # to specialize for char_traits<wchar_t> or not.
80846     echo "$as_me:$LINENO: checking for WEOF" >&5
80847 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80848     cat >conftest.$ac_ext <<_ACEOF
80849 #line $LINENO "configure"
80850 /* confdefs.h.  */
80851 _ACEOF
80852 cat confdefs.h >>conftest.$ac_ext
80853 cat >>conftest.$ac_ext <<_ACEOF
80854 /* end confdefs.h.  */
80855
80856       #include <wchar.h>
80857       #include <stddef.h>
80858 int
80859 main ()
80860 {
80861 wint_t i = WEOF;
80862   ;
80863   return 0;
80864 }
80865 _ACEOF
80866 rm -f conftest.$ac_objext
80867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80868   (eval $ac_compile) 2>&5
80869   ac_status=$?
80870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80871   (exit $ac_status); } &&
80872          { ac_try='test -s conftest.$ac_objext'
80873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80874   (eval $ac_try) 2>&5
80875   ac_status=$?
80876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80877   (exit $ac_status); }; }; then
80878   has_weof=yes
80879 else
80880   echo "$as_me: failed program was:" >&5
80881 sed 's/^/| /' conftest.$ac_ext >&5
80882
80883 has_weof=no
80884 fi
80885 rm -f conftest.$ac_objext conftest.$ac_ext
80886     echo "$as_me:$LINENO: result: $has_weof" >&5
80887 echo "${ECHO_T}$has_weof" >&6
80888
80889     # Tests for wide character functions used in char_traits<wchar_t>.
80890     ac_wfuncs=yes
80891
80892
80893
80894
80895
80896
80897 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80898 do
80899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80900 echo "$as_me:$LINENO: checking for $ac_func" >&5
80901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80902 if eval "test \"\${$as_ac_var+set}\" = set"; then
80903   echo $ECHO_N "(cached) $ECHO_C" >&6
80904 else
80905   if test x$gcc_no_link = xyes; then
80906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80908    { (exit 1); exit 1; }; }
80909 fi
80910 cat >conftest.$ac_ext <<_ACEOF
80911 #line $LINENO "configure"
80912 /* confdefs.h.  */
80913 _ACEOF
80914 cat confdefs.h >>conftest.$ac_ext
80915 cat >>conftest.$ac_ext <<_ACEOF
80916 /* end confdefs.h.  */
80917 /* System header to define __stub macros and hopefully few prototypes,
80918     which can conflict with char $ac_func (); below.
80919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80920     <limits.h> exists even on freestanding compilers.  */
80921 #ifdef __STDC__
80922 # include <limits.h>
80923 #else
80924 # include <assert.h>
80925 #endif
80926 /* Override any gcc2 internal prototype to avoid an error.  */
80927 #ifdef __cplusplus
80928 extern "C"
80929 {
80930 #endif
80931 /* We use char because int might match the return type of a gcc2
80932    builtin and then its argument prototype would still apply.  */
80933 char $ac_func ();
80934 /* The GNU C library defines this for functions which it implements
80935     to always fail with ENOSYS.  Some functions are actually named
80936     something starting with __ and the normal name is an alias.  */
80937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80938 choke me
80939 #else
80940 char (*f) () = $ac_func;
80941 #endif
80942 #ifdef __cplusplus
80943 }
80944 #endif
80945
80946 int
80947 main ()
80948 {
80949 return f != $ac_func;
80950   ;
80951   return 0;
80952 }
80953 _ACEOF
80954 rm -f conftest.$ac_objext conftest$ac_exeext
80955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80956   (eval $ac_link) 2>&5
80957   ac_status=$?
80958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80959   (exit $ac_status); } &&
80960          { ac_try='test -s conftest$ac_exeext'
80961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80962   (eval $ac_try) 2>&5
80963   ac_status=$?
80964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80965   (exit $ac_status); }; }; then
80966   eval "$as_ac_var=yes"
80967 else
80968   echo "$as_me: failed program was:" >&5
80969 sed 's/^/| /' conftest.$ac_ext >&5
80970
80971 eval "$as_ac_var=no"
80972 fi
80973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
80974 fi
80975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80977 if test `eval echo '${'$as_ac_var'}'` = yes; then
80978   cat >>confdefs.h <<_ACEOF
80979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80980 _ACEOF
80981
80982 else
80983   ac_wfuncs=no
80984 fi
80985 done
80986
80987
80988     # Checks for names injected into std:: by the c_std headers.
80989
80990
80991
80992
80993
80994
80995
80996
80997
80998
80999
81000
81001
81002
81003
81004
81005
81006
81007
81008
81009
81010
81011
81012
81013
81014
81015
81016
81017
81018
81019
81020
81021
81022
81023
81024
81025
81026
81027
81028
81029
81030
81031
81032
81033
81034
81035 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81036     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81037     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81038     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81039     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81040     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81041 do
81042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81043 echo "$as_me:$LINENO: checking for $ac_func" >&5
81044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81045 if eval "test \"\${$as_ac_var+set}\" = set"; then
81046   echo $ECHO_N "(cached) $ECHO_C" >&6
81047 else
81048   if test x$gcc_no_link = xyes; then
81049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81051    { (exit 1); exit 1; }; }
81052 fi
81053 cat >conftest.$ac_ext <<_ACEOF
81054 #line $LINENO "configure"
81055 /* confdefs.h.  */
81056 _ACEOF
81057 cat confdefs.h >>conftest.$ac_ext
81058 cat >>conftest.$ac_ext <<_ACEOF
81059 /* end confdefs.h.  */
81060 /* System header to define __stub macros and hopefully few prototypes,
81061     which can conflict with char $ac_func (); below.
81062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81063     <limits.h> exists even on freestanding compilers.  */
81064 #ifdef __STDC__
81065 # include <limits.h>
81066 #else
81067 # include <assert.h>
81068 #endif
81069 /* Override any gcc2 internal prototype to avoid an error.  */
81070 #ifdef __cplusplus
81071 extern "C"
81072 {
81073 #endif
81074 /* We use char because int might match the return type of a gcc2
81075    builtin and then its argument prototype would still apply.  */
81076 char $ac_func ();
81077 /* The GNU C library defines this for functions which it implements
81078     to always fail with ENOSYS.  Some functions are actually named
81079     something starting with __ and the normal name is an alias.  */
81080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81081 choke me
81082 #else
81083 char (*f) () = $ac_func;
81084 #endif
81085 #ifdef __cplusplus
81086 }
81087 #endif
81088
81089 int
81090 main ()
81091 {
81092 return f != $ac_func;
81093   ;
81094   return 0;
81095 }
81096 _ACEOF
81097 rm -f conftest.$ac_objext conftest$ac_exeext
81098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81099   (eval $ac_link) 2>&5
81100   ac_status=$?
81101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81102   (exit $ac_status); } &&
81103          { ac_try='test -s conftest$ac_exeext'
81104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81105   (eval $ac_try) 2>&5
81106   ac_status=$?
81107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81108   (exit $ac_status); }; }; then
81109   eval "$as_ac_var=yes"
81110 else
81111   echo "$as_me: failed program was:" >&5
81112 sed 's/^/| /' conftest.$ac_ext >&5
81113
81114 eval "$as_ac_var=no"
81115 fi
81116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81117 fi
81118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81120 if test `eval echo '${'$as_ac_var'}'` = yes; then
81121   cat >>confdefs.h <<_ACEOF
81122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81123 _ACEOF
81124
81125 else
81126   ac_wfuncs=no
81127 fi
81128 done
81129
81130
81131     # Checks for wide character functions that are not required
81132     # for basic wchar_t support.  Don't disable support if they are missing.
81133     # Injection of these is wrapped with guard macros.
81134
81135
81136
81137
81138
81139 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81140 do
81141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81142 echo "$as_me:$LINENO: checking for $ac_func" >&5
81143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81144 if eval "test \"\${$as_ac_var+set}\" = set"; then
81145   echo $ECHO_N "(cached) $ECHO_C" >&6
81146 else
81147   if test x$gcc_no_link = xyes; then
81148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81150    { (exit 1); exit 1; }; }
81151 fi
81152 cat >conftest.$ac_ext <<_ACEOF
81153 #line $LINENO "configure"
81154 /* confdefs.h.  */
81155 _ACEOF
81156 cat confdefs.h >>conftest.$ac_ext
81157 cat >>conftest.$ac_ext <<_ACEOF
81158 /* end confdefs.h.  */
81159 /* System header to define __stub macros and hopefully few prototypes,
81160     which can conflict with char $ac_func (); below.
81161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81162     <limits.h> exists even on freestanding compilers.  */
81163 #ifdef __STDC__
81164 # include <limits.h>
81165 #else
81166 # include <assert.h>
81167 #endif
81168 /* Override any gcc2 internal prototype to avoid an error.  */
81169 #ifdef __cplusplus
81170 extern "C"
81171 {
81172 #endif
81173 /* We use char because int might match the return type of a gcc2
81174    builtin and then its argument prototype would still apply.  */
81175 char $ac_func ();
81176 /* The GNU C library defines this for functions which it implements
81177     to always fail with ENOSYS.  Some functions are actually named
81178     something starting with __ and the normal name is an alias.  */
81179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81180 choke me
81181 #else
81182 char (*f) () = $ac_func;
81183 #endif
81184 #ifdef __cplusplus
81185 }
81186 #endif
81187
81188 int
81189 main ()
81190 {
81191 return f != $ac_func;
81192   ;
81193   return 0;
81194 }
81195 _ACEOF
81196 rm -f conftest.$ac_objext conftest$ac_exeext
81197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81198   (eval $ac_link) 2>&5
81199   ac_status=$?
81200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81201   (exit $ac_status); } &&
81202          { ac_try='test -s conftest$ac_exeext'
81203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81204   (eval $ac_try) 2>&5
81205   ac_status=$?
81206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81207   (exit $ac_status); }; }; then
81208   eval "$as_ac_var=yes"
81209 else
81210   echo "$as_me: failed program was:" >&5
81211 sed 's/^/| /' conftest.$ac_ext >&5
81212
81213 eval "$as_ac_var=no"
81214 fi
81215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81216 fi
81217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81219 if test `eval echo '${'$as_ac_var'}'` = yes; then
81220   cat >>confdefs.h <<_ACEOF
81221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81222 _ACEOF
81223
81224 fi
81225 done
81226
81227
81228     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81229 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81230     if test x"$has_weof" = xyes &&
81231        test x"$has_wchar_minmax" = xyes &&
81232        test x"$ac_wfuncs" = xyes;
81233     then
81234       ac_isoC99_wchar_t=yes
81235     else
81236       ac_isoC99_wchar_t=no
81237     fi
81238     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81239 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81240
81241     # Use iconv for wchar_t to char conversions. As such, check for
81242     # X/Open Portability Guide, version 2 features (XPG2).
81243     if test "${ac_cv_header_iconv_h+set}" = set; then
81244   echo "$as_me:$LINENO: checking for iconv.h" >&5
81245 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81246 if test "${ac_cv_header_iconv_h+set}" = set; then
81247   echo $ECHO_N "(cached) $ECHO_C" >&6
81248 fi
81249 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81250 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81251 else
81252   # Is the header compilable?
81253 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81254 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81255 cat >conftest.$ac_ext <<_ACEOF
81256 #line $LINENO "configure"
81257 /* confdefs.h.  */
81258 _ACEOF
81259 cat confdefs.h >>conftest.$ac_ext
81260 cat >>conftest.$ac_ext <<_ACEOF
81261 /* end confdefs.h.  */
81262 $ac_includes_default
81263 #include <iconv.h>
81264 _ACEOF
81265 rm -f conftest.$ac_objext
81266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81267   (eval $ac_compile) 2>&5
81268   ac_status=$?
81269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81270   (exit $ac_status); } &&
81271          { ac_try='test -s conftest.$ac_objext'
81272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81273   (eval $ac_try) 2>&5
81274   ac_status=$?
81275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81276   (exit $ac_status); }; }; then
81277   ac_header_compiler=yes
81278 else
81279   echo "$as_me: failed program was:" >&5
81280 sed 's/^/| /' conftest.$ac_ext >&5
81281
81282 ac_header_compiler=no
81283 fi
81284 rm -f conftest.$ac_objext conftest.$ac_ext
81285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81286 echo "${ECHO_T}$ac_header_compiler" >&6
81287
81288 # Is the header present?
81289 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81290 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81291 cat >conftest.$ac_ext <<_ACEOF
81292 #line $LINENO "configure"
81293 /* confdefs.h.  */
81294 _ACEOF
81295 cat confdefs.h >>conftest.$ac_ext
81296 cat >>conftest.$ac_ext <<_ACEOF
81297 /* end confdefs.h.  */
81298 #include <iconv.h>
81299 _ACEOF
81300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81301   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81302   ac_status=$?
81303   grep -v '^ *+' conftest.er1 >conftest.err
81304   rm -f conftest.er1
81305   cat conftest.err >&5
81306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307   (exit $ac_status); } >/dev/null; then
81308   if test -s conftest.err; then
81309     ac_cpp_err=$ac_c_preproc_warn_flag
81310   else
81311     ac_cpp_err=
81312   fi
81313 else
81314   ac_cpp_err=yes
81315 fi
81316 if test -z "$ac_cpp_err"; then
81317   ac_header_preproc=yes
81318 else
81319   echo "$as_me: failed program was:" >&5
81320 sed 's/^/| /' conftest.$ac_ext >&5
81321
81322   ac_header_preproc=no
81323 fi
81324 rm -f conftest.err conftest.$ac_ext
81325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81326 echo "${ECHO_T}$ac_header_preproc" >&6
81327
81328 # So?  What about this header?
81329 case $ac_header_compiler:$ac_header_preproc in
81330   yes:no )
81331     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81332 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81333     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81334 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81335     (
81336       cat <<\_ASBOX
81337 ## ------------------------------------ ##
81338 ## Report this to bug-autoconf@gnu.org. ##
81339 ## ------------------------------------ ##
81340 _ASBOX
81341     ) |
81342       sed "s/^/$as_me: WARNING:     /" >&2
81343     ;;
81344   no:yes )
81345     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81346 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81347     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81348 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81349     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81350 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81351     (
81352       cat <<\_ASBOX
81353 ## ------------------------------------ ##
81354 ## Report this to bug-autoconf@gnu.org. ##
81355 ## ------------------------------------ ##
81356 _ASBOX
81357     ) |
81358       sed "s/^/$as_me: WARNING:     /" >&2
81359     ;;
81360 esac
81361 echo "$as_me:$LINENO: checking for iconv.h" >&5
81362 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81363 if test "${ac_cv_header_iconv_h+set}" = set; then
81364   echo $ECHO_N "(cached) $ECHO_C" >&6
81365 else
81366   ac_cv_header_iconv_h=$ac_header_preproc
81367 fi
81368 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81369 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81370
81371 fi
81372 if test $ac_cv_header_iconv_h = yes; then
81373   ac_has_iconv_h=yes
81374 else
81375   ac_has_iconv_h=no
81376 fi
81377
81378
81379     if test "${ac_cv_header_langinfo_h+set}" = set; then
81380   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81381 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81382 if test "${ac_cv_header_langinfo_h+set}" = set; then
81383   echo $ECHO_N "(cached) $ECHO_C" >&6
81384 fi
81385 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81386 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81387 else
81388   # Is the header compilable?
81389 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81390 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81391 cat >conftest.$ac_ext <<_ACEOF
81392 #line $LINENO "configure"
81393 /* confdefs.h.  */
81394 _ACEOF
81395 cat confdefs.h >>conftest.$ac_ext
81396 cat >>conftest.$ac_ext <<_ACEOF
81397 /* end confdefs.h.  */
81398 $ac_includes_default
81399 #include <langinfo.h>
81400 _ACEOF
81401 rm -f conftest.$ac_objext
81402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81403   (eval $ac_compile) 2>&5
81404   ac_status=$?
81405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81406   (exit $ac_status); } &&
81407          { ac_try='test -s conftest.$ac_objext'
81408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81409   (eval $ac_try) 2>&5
81410   ac_status=$?
81411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81412   (exit $ac_status); }; }; then
81413   ac_header_compiler=yes
81414 else
81415   echo "$as_me: failed program was:" >&5
81416 sed 's/^/| /' conftest.$ac_ext >&5
81417
81418 ac_header_compiler=no
81419 fi
81420 rm -f conftest.$ac_objext conftest.$ac_ext
81421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81422 echo "${ECHO_T}$ac_header_compiler" >&6
81423
81424 # Is the header present?
81425 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81426 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81427 cat >conftest.$ac_ext <<_ACEOF
81428 #line $LINENO "configure"
81429 /* confdefs.h.  */
81430 _ACEOF
81431 cat confdefs.h >>conftest.$ac_ext
81432 cat >>conftest.$ac_ext <<_ACEOF
81433 /* end confdefs.h.  */
81434 #include <langinfo.h>
81435 _ACEOF
81436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81437   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81438   ac_status=$?
81439   grep -v '^ *+' conftest.er1 >conftest.err
81440   rm -f conftest.er1
81441   cat conftest.err >&5
81442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81443   (exit $ac_status); } >/dev/null; then
81444   if test -s conftest.err; then
81445     ac_cpp_err=$ac_c_preproc_warn_flag
81446   else
81447     ac_cpp_err=
81448   fi
81449 else
81450   ac_cpp_err=yes
81451 fi
81452 if test -z "$ac_cpp_err"; then
81453   ac_header_preproc=yes
81454 else
81455   echo "$as_me: failed program was:" >&5
81456 sed 's/^/| /' conftest.$ac_ext >&5
81457
81458   ac_header_preproc=no
81459 fi
81460 rm -f conftest.err conftest.$ac_ext
81461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81462 echo "${ECHO_T}$ac_header_preproc" >&6
81463
81464 # So?  What about this header?
81465 case $ac_header_compiler:$ac_header_preproc in
81466   yes:no )
81467     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81468 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81469     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81470 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81471     (
81472       cat <<\_ASBOX
81473 ## ------------------------------------ ##
81474 ## Report this to bug-autoconf@gnu.org. ##
81475 ## ------------------------------------ ##
81476 _ASBOX
81477     ) |
81478       sed "s/^/$as_me: WARNING:     /" >&2
81479     ;;
81480   no:yes )
81481     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81482 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81483     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81484 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81485     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81486 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81487     (
81488       cat <<\_ASBOX
81489 ## ------------------------------------ ##
81490 ## Report this to bug-autoconf@gnu.org. ##
81491 ## ------------------------------------ ##
81492 _ASBOX
81493     ) |
81494       sed "s/^/$as_me: WARNING:     /" >&2
81495     ;;
81496 esac
81497 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81498 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81499 if test "${ac_cv_header_langinfo_h+set}" = set; then
81500   echo $ECHO_N "(cached) $ECHO_C" >&6
81501 else
81502   ac_cv_header_langinfo_h=$ac_header_preproc
81503 fi
81504 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81505 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81506
81507 fi
81508 if test $ac_cv_header_langinfo_h = yes; then
81509   ac_has_langinfo_h=yes
81510 else
81511   ac_has_langinfo_h=no
81512 fi
81513
81514
81515
81516     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81517     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81518 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81519 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81520   echo $ECHO_N "(cached) $ECHO_C" >&6
81521 else
81522   ac_check_lib_save_LIBS=$LIBS
81523 LIBS="-liconv  $LIBS"
81524 if test x$gcc_no_link = xyes; then
81525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81527    { (exit 1); exit 1; }; }
81528 fi
81529 cat >conftest.$ac_ext <<_ACEOF
81530 #line $LINENO "configure"
81531 /* confdefs.h.  */
81532 _ACEOF
81533 cat confdefs.h >>conftest.$ac_ext
81534 cat >>conftest.$ac_ext <<_ACEOF
81535 /* end confdefs.h.  */
81536
81537 /* Override any gcc2 internal prototype to avoid an error.  */
81538 #ifdef __cplusplus
81539 extern "C"
81540 #endif
81541 /* We use char because int might match the return type of a gcc2
81542    builtin and then its argument prototype would still apply.  */
81543 char iconv ();
81544 int
81545 main ()
81546 {
81547 iconv ();
81548   ;
81549   return 0;
81550 }
81551 _ACEOF
81552 rm -f conftest.$ac_objext conftest$ac_exeext
81553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81554   (eval $ac_link) 2>&5
81555   ac_status=$?
81556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81557   (exit $ac_status); } &&
81558          { ac_try='test -s conftest$ac_exeext'
81559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81560   (eval $ac_try) 2>&5
81561   ac_status=$?
81562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81563   (exit $ac_status); }; }; then
81564   ac_cv_lib_iconv_iconv=yes
81565 else
81566   echo "$as_me: failed program was:" >&5
81567 sed 's/^/| /' conftest.$ac_ext >&5
81568
81569 ac_cv_lib_iconv_iconv=no
81570 fi
81571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81572 LIBS=$ac_check_lib_save_LIBS
81573 fi
81574 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81575 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81576 if test $ac_cv_lib_iconv_iconv = yes; then
81577   libiconv="-liconv"
81578 fi
81579
81580     ac_save_LIBS="$LIBS"
81581     LIBS="$LIBS $libiconv"
81582
81583
81584
81585
81586
81587 for ac_func in iconv_open iconv_close iconv nl_langinfo
81588 do
81589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81590 echo "$as_me:$LINENO: checking for $ac_func" >&5
81591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81592 if eval "test \"\${$as_ac_var+set}\" = set"; then
81593   echo $ECHO_N "(cached) $ECHO_C" >&6
81594 else
81595   if test x$gcc_no_link = xyes; then
81596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81598    { (exit 1); exit 1; }; }
81599 fi
81600 cat >conftest.$ac_ext <<_ACEOF
81601 #line $LINENO "configure"
81602 /* confdefs.h.  */
81603 _ACEOF
81604 cat confdefs.h >>conftest.$ac_ext
81605 cat >>conftest.$ac_ext <<_ACEOF
81606 /* end confdefs.h.  */
81607 /* System header to define __stub macros and hopefully few prototypes,
81608     which can conflict with char $ac_func (); below.
81609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81610     <limits.h> exists even on freestanding compilers.  */
81611 #ifdef __STDC__
81612 # include <limits.h>
81613 #else
81614 # include <assert.h>
81615 #endif
81616 /* Override any gcc2 internal prototype to avoid an error.  */
81617 #ifdef __cplusplus
81618 extern "C"
81619 {
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 $ac_func ();
81624 /* The GNU C library defines this for functions which it implements
81625     to always fail with ENOSYS.  Some functions are actually named
81626     something starting with __ and the normal name is an alias.  */
81627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81628 choke me
81629 #else
81630 char (*f) () = $ac_func;
81631 #endif
81632 #ifdef __cplusplus
81633 }
81634 #endif
81635
81636 int
81637 main ()
81638 {
81639 return f != $ac_func;
81640   ;
81641   return 0;
81642 }
81643 _ACEOF
81644 rm -f conftest.$ac_objext conftest$ac_exeext
81645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81646   (eval $ac_link) 2>&5
81647   ac_status=$?
81648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81649   (exit $ac_status); } &&
81650          { ac_try='test -s conftest$ac_exeext'
81651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81652   (eval $ac_try) 2>&5
81653   ac_status=$?
81654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81655   (exit $ac_status); }; }; then
81656   eval "$as_ac_var=yes"
81657 else
81658   echo "$as_me: failed program was:" >&5
81659 sed 's/^/| /' conftest.$ac_ext >&5
81660
81661 eval "$as_ac_var=no"
81662 fi
81663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
81664 fi
81665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81667 if test `eval echo '${'$as_ac_var'}'` = yes; then
81668   cat >>confdefs.h <<_ACEOF
81669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81670 _ACEOF
81671  ac_XPG2funcs=yes
81672 else
81673   ac_XPG2funcs=no
81674 fi
81675 done
81676
81677
81678     LIBS="$ac_save_LIBS"
81679
81680     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81681 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81682     if test x"$ac_has_iconv_h" = xyes &&
81683        test x"$ac_has_langinfo_h" = xyes &&
81684        test x"$ac_XPG2funcs" = xyes;
81685     then
81686       ac_XPG2_wchar_t=yes
81687     else
81688       ac_XPG2_wchar_t=no
81689     fi
81690     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81691 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81692
81693     # At the moment, only enable wchar_t specializations if all the
81694     # above support is present.
81695     if test x"$ac_isoC99_wchar_t" = xyes &&
81696        test x"$ac_XPG2_wchar_t" = xyes;
81697     then
81698       cat >>confdefs.h <<\_ACEOF
81699 #define _GLIBCXX_USE_WCHAR_T 1
81700 _ACEOF
81701
81702       enable_wchar_t=yes
81703     fi
81704   fi
81705   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81706 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81707   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81708 echo "${ECHO_T}$enable_wchar_t" >&6
81709
81710     cat >>confdefs.h <<\_ACEOF
81711 #define HAVE_COPYSIGN 1
81712 _ACEOF
81713
81714     cat >>confdefs.h <<\_ACEOF
81715 #define HAVE_COPYSIGNF 1
81716 _ACEOF
81717
81718     cat >>confdefs.h <<\_ACEOF
81719 #define HAVE_FINITE 1
81720 _ACEOF
81721
81722     cat >>confdefs.h <<\_ACEOF
81723 #define HAVE_FINITEF 1
81724 _ACEOF
81725
81726     cat >>confdefs.h <<\_ACEOF
81727 #define HAVE_FREXPF 1
81728 _ACEOF
81729
81730     cat >>confdefs.h <<\_ACEOF
81731 #define HAVE_HYPOTF 1
81732 _ACEOF
81733
81734     cat >>confdefs.h <<\_ACEOF
81735 #define HAVE_ISINF 1
81736 _ACEOF
81737
81738     cat >>confdefs.h <<\_ACEOF
81739 #define HAVE_ISINFF 1
81740 _ACEOF
81741
81742     cat >>confdefs.h <<\_ACEOF
81743 #define HAVE_ISNAN 1
81744 _ACEOF
81745
81746     cat >>confdefs.h <<\_ACEOF
81747 #define HAVE_ISNANF 1
81748 _ACEOF
81749
81750     cat >>confdefs.h <<\_ACEOF
81751 #define HAVE_SINCOS 1
81752 _ACEOF
81753
81754     cat >>confdefs.h <<\_ACEOF
81755 #define HAVE_SINCOSF 1
81756 _ACEOF
81757
81758     if test x"long_double_math_on_this_cpu" = x"yes"; then
81759       cat >>confdefs.h <<\_ACEOF
81760 #define HAVE_FINITEL 1
81761 _ACEOF
81762
81763       cat >>confdefs.h <<\_ACEOF
81764 #define HAVE_HYPOTL 1
81765 _ACEOF
81766
81767       cat >>confdefs.h <<\_ACEOF
81768 #define HAVE_ISINFL 1
81769 _ACEOF
81770
81771       cat >>confdefs.h <<\_ACEOF
81772 #define HAVE_ISNANL 1
81773 _ACEOF
81774
81775     fi
81776     ;;
81777   *-vxworks)
81778     cat >>confdefs.h <<\_ACEOF
81779 #define HAVE_MMAP 1
81780 _ACEOF
81781
81782     cat >>confdefs.h <<\_ACEOF
81783 #define HAVE_ACOSF 1
81784 _ACEOF
81785
81786     cat >>confdefs.h <<\_ACEOF
81787 #define HAVE_ASINF 1
81788 _ACEOF
81789
81790     cat >>confdefs.h <<\_ACEOF
81791 #define HAVE_ATAN2F 1
81792 _ACEOF
81793
81794     cat >>confdefs.h <<\_ACEOF
81795 #define HAVE_ATANF 1
81796 _ACEOF
81797
81798     cat >>confdefs.h <<\_ACEOF
81799 #define HAVE_CEILF 1
81800 _ACEOF
81801
81802     cat >>confdefs.h <<\_ACEOF
81803 #define HAVE_COSF 1
81804 _ACEOF
81805
81806     cat >>confdefs.h <<\_ACEOF
81807 #define HAVE_COSHF 1
81808 _ACEOF
81809
81810     cat >>confdefs.h <<\_ACEOF
81811 #define HAVE_EXPF 1
81812 _ACEOF
81813
81814     cat >>confdefs.h <<\_ACEOF
81815 #define HAVE_FABSF 1
81816 _ACEOF
81817
81818     cat >>confdefs.h <<\_ACEOF
81819 #define HAVE_FLOORF 1
81820 _ACEOF
81821
81822     cat >>confdefs.h <<\_ACEOF
81823 #define HAVE_FMODF 1
81824 _ACEOF
81825
81826     cat >>confdefs.h <<\_ACEOF
81827 #define HAVE_HYPOT 1
81828 _ACEOF
81829
81830     cat >>confdefs.h <<\_ACEOF
81831 #define HAVE_LOG10F 1
81832 _ACEOF
81833
81834     cat >>confdefs.h <<\_ACEOF
81835 #define HAVE_LOGF 1
81836 _ACEOF
81837
81838     cat >>confdefs.h <<\_ACEOF
81839 #define HAVE_POWF 1
81840 _ACEOF
81841
81842     cat >>confdefs.h <<\_ACEOF
81843 #define HAVE_SINF 1
81844 _ACEOF
81845
81846     cat >>confdefs.h <<\_ACEOF
81847 #define HAVE_SINHF 1
81848 _ACEOF
81849
81850     cat >>confdefs.h <<\_ACEOF
81851 #define HAVE_SQRTF 1
81852 _ACEOF
81853
81854     cat >>confdefs.h <<\_ACEOF
81855 #define HAVE_TANF 1
81856 _ACEOF
81857
81858     cat >>confdefs.h <<\_ACEOF
81859 #define HAVE_TANHF 1
81860 _ACEOF
81861
81862     ;;
81863   *-windiss*)
81864     cat >>confdefs.h <<\_ACEOF
81865 #define HAVE_ACOSF 1
81866 _ACEOF
81867
81868     cat >>confdefs.h <<\_ACEOF
81869 #define HAVE_ACOSL 1
81870 _ACEOF
81871
81872     cat >>confdefs.h <<\_ACEOF
81873 #define HAVE_ASINF 1
81874 _ACEOF
81875
81876     cat >>confdefs.h <<\_ACEOF
81877 #define HAVE_ASINL 1
81878 _ACEOF
81879
81880     cat >>confdefs.h <<\_ACEOF
81881 #define HAVE_ATAN2F 1
81882 _ACEOF
81883
81884     cat >>confdefs.h <<\_ACEOF
81885 #define HAVE_ATAN2L 1
81886 _ACEOF
81887
81888     cat >>confdefs.h <<\_ACEOF
81889 #define HAVE_ATANF 1
81890 _ACEOF
81891
81892     cat >>confdefs.h <<\_ACEOF
81893 #define HAVE_ATANL 1
81894 _ACEOF
81895
81896     cat >>confdefs.h <<\_ACEOF
81897 #define HAVE_CEILF 1
81898 _ACEOF
81899
81900     cat >>confdefs.h <<\_ACEOF
81901 #define HAVE_CEILL 1
81902 _ACEOF
81903
81904     cat >>confdefs.h <<\_ACEOF
81905 #define HAVE_COPYSIGN 1
81906 _ACEOF
81907
81908     cat >>confdefs.h <<\_ACEOF
81909 #define HAVE_COPYSIGNF 1
81910 _ACEOF
81911
81912     cat >>confdefs.h <<\_ACEOF
81913 #define HAVE_COSF 1
81914 _ACEOF
81915
81916     cat >>confdefs.h <<\_ACEOF
81917 #define HAVE_COSL 1
81918 _ACEOF
81919
81920     cat >>confdefs.h <<\_ACEOF
81921 #define HAVE_COSHF 1
81922 _ACEOF
81923
81924     cat >>confdefs.h <<\_ACEOF
81925 #define HAVE_COSHL 1
81926 _ACEOF
81927
81928     cat >>confdefs.h <<\_ACEOF
81929 #define HAVE_EXPF 1
81930 _ACEOF
81931
81932     cat >>confdefs.h <<\_ACEOF
81933 #define HAVE_EXPL 1
81934 _ACEOF
81935
81936     cat >>confdefs.h <<\_ACEOF
81937 #define HAVE_FABSF 1
81938 _ACEOF
81939
81940     cat >>confdefs.h <<\_ACEOF
81941 #define HAVE_FABSL 1
81942 _ACEOF
81943
81944     cat >>confdefs.h <<\_ACEOF
81945 #define HAVE_FLOORF 1
81946 _ACEOF
81947
81948     cat >>confdefs.h <<\_ACEOF
81949 #define HAVE_FLOORL 1
81950 _ACEOF
81951
81952     cat >>confdefs.h <<\_ACEOF
81953 #define HAVE_FMODF 1
81954 _ACEOF
81955
81956     cat >>confdefs.h <<\_ACEOF
81957 #define HAVE_FMODL 1
81958 _ACEOF
81959
81960     cat >>confdefs.h <<\_ACEOF
81961 #define HAVE_FREXPF 1
81962 _ACEOF
81963
81964     cat >>confdefs.h <<\_ACEOF
81965 #define HAVE_FREXPL 1
81966 _ACEOF
81967
81968     cat >>confdefs.h <<\_ACEOF
81969 #define HAVE_LDEXPF 1
81970 _ACEOF
81971
81972     cat >>confdefs.h <<\_ACEOF
81973 #define HAVE_LDEXPL 1
81974 _ACEOF
81975
81976     cat >>confdefs.h <<\_ACEOF
81977 #define HAVE_LOG10F 1
81978 _ACEOF
81979
81980     cat >>confdefs.h <<\_ACEOF
81981 #define HAVE_LOG10L 1
81982 _ACEOF
81983
81984     cat >>confdefs.h <<\_ACEOF
81985 #define HAVE_LOGF 1
81986 _ACEOF
81987
81988     cat >>confdefs.h <<\_ACEOF
81989 #define HAVE_MODFF 1
81990 _ACEOF
81991
81992     cat >>confdefs.h <<\_ACEOF
81993 #define HAVE_MODFL 1
81994 _ACEOF
81995
81996     cat >>confdefs.h <<\_ACEOF
81997 #define HAVE_POWF 1
81998 _ACEOF
81999
82000     cat >>confdefs.h <<\_ACEOF
82001 #define HAVE_POWL 1
82002 _ACEOF
82003
82004     cat >>confdefs.h <<\_ACEOF
82005 #define HAVE_SINF 1
82006 _ACEOF
82007
82008     cat >>confdefs.h <<\_ACEOF
82009 #define HAVE_SINL 1
82010 _ACEOF
82011
82012     cat >>confdefs.h <<\_ACEOF
82013 #define HAVE_SINHF 1
82014 _ACEOF
82015
82016     cat >>confdefs.h <<\_ACEOF
82017 #define HAVE_SINHL 1
82018 _ACEOF
82019
82020     cat >>confdefs.h <<\_ACEOF
82021 #define HAVE_SQRTF 1
82022 _ACEOF
82023
82024     cat >>confdefs.h <<\_ACEOF
82025 #define HAVE_SQRTL 1
82026 _ACEOF
82027
82028     cat >>confdefs.h <<\_ACEOF
82029 #define HAVE_TANF 1
82030 _ACEOF
82031
82032     cat >>confdefs.h <<\_ACEOF
82033 #define HAVE_TANL 1
82034 _ACEOF
82035
82036     cat >>confdefs.h <<\_ACEOF
82037 #define HAVE_TANHF 1
82038 _ACEOF
82039
82040     cat >>confdefs.h <<\_ACEOF
82041 #define HAVE_TANHL 1
82042 _ACEOF
82043
82044     ;;
82045   *)
82046     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
82047 echo "$as_me: error: No support for this host/target combination." >&2;}
82048    { (exit 1); exit 1; }; }
82049    ;;
82050 esac
82051
82052
82053   fi
82054
82055   # At some point, we should differentiate between architectures
82056   # like x86, which have long double versions, and alpha/powerpc/etc.,
82057   # which don't. For the time being, punt.
82058   if test x"long_double_math_on_this_cpu" = x"yes"; then
82059     cat >>confdefs.h <<\_ACEOF
82060 #define HAVE_ACOSL 1
82061 _ACEOF
82062
82063     cat >>confdefs.h <<\_ACEOF
82064 #define HAVE_ASINL 1
82065 _ACEOF
82066
82067     cat >>confdefs.h <<\_ACEOF
82068 #define HAVE_ATAN2L 1
82069 _ACEOF
82070
82071     cat >>confdefs.h <<\_ACEOF
82072 #define HAVE_ATANL 1
82073 _ACEOF
82074
82075     cat >>confdefs.h <<\_ACEOF
82076 #define HAVE_CEILL 1
82077 _ACEOF
82078
82079     cat >>confdefs.h <<\_ACEOF
82080 #define HAVE_COPYSIGNL 1
82081 _ACEOF
82082
82083     cat >>confdefs.h <<\_ACEOF
82084 #define HAVE_COSL 1
82085 _ACEOF
82086
82087     cat >>confdefs.h <<\_ACEOF
82088 #define HAVE_COSHL 1
82089 _ACEOF
82090
82091     cat >>confdefs.h <<\_ACEOF
82092 #define HAVE_EXPL 1
82093 _ACEOF
82094
82095     cat >>confdefs.h <<\_ACEOF
82096 #define HAVE_FABSL 1
82097 _ACEOF
82098
82099     cat >>confdefs.h <<\_ACEOF
82100 #define HAVE_FLOORL 1
82101 _ACEOF
82102
82103     cat >>confdefs.h <<\_ACEOF
82104 #define HAVE_FMODL 1
82105 _ACEOF
82106
82107     cat >>confdefs.h <<\_ACEOF
82108 #define HAVE_FREXPL 1
82109 _ACEOF
82110
82111     cat >>confdefs.h <<\_ACEOF
82112 #define HAVE_LDEXPL 1
82113 _ACEOF
82114
82115     cat >>confdefs.h <<\_ACEOF
82116 #define HAVE_LOG10L 1
82117 _ACEOF
82118
82119     cat >>confdefs.h <<\_ACEOF
82120 #define HAVE_LOGL 1
82121 _ACEOF
82122
82123     cat >>confdefs.h <<\_ACEOF
82124 #define HAVE_MODFL 1
82125 _ACEOF
82126
82127     cat >>confdefs.h <<\_ACEOF
82128 #define HAVE_POWL 1
82129 _ACEOF
82130
82131     cat >>confdefs.h <<\_ACEOF
82132 #define HAVE_SINCOSL 1
82133 _ACEOF
82134
82135     cat >>confdefs.h <<\_ACEOF
82136 #define HAVE_SINL 1
82137 _ACEOF
82138
82139     cat >>confdefs.h <<\_ACEOF
82140 #define HAVE_SINHL 1
82141 _ACEOF
82142
82143     cat >>confdefs.h <<\_ACEOF
82144 #define HAVE_SQRTL 1
82145 _ACEOF
82146
82147     cat >>confdefs.h <<\_ACEOF
82148 #define HAVE_TANL 1
82149 _ACEOF
82150
82151     cat >>confdefs.h <<\_ACEOF
82152 #define HAVE_TANHL 1
82153 _ACEOF
82154
82155   fi
82156
82157 fi
82158
82159 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
82160
82161
82162  # Check whether --enable-symvers or --disable-symvers was given.
82163 if test "${enable_symvers+set}" = set; then
82164   enableval="$enable_symvers"
82165
82166       case "$enableval" in
82167        yes|no|gnu) ;;
82168        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
82169 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
82170    { (exit 1); exit 1; }; } ;;
82171                           esac
82172
82173 else
82174   enable_symvers=yes
82175 fi;
82176
82177
82178 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
82179 # don't know enough about $LD to do tricks...
82180
82181 # FIXME  The following test is too strict, in theory.
82182 if test $enable_shared = no ||
82183         test "x$LD" = x ||
82184         test x$glibcxx_gnu_ld_version = x; then
82185   enable_symvers=no
82186 fi
82187
82188 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
82189 if test $enable_symvers != no; then
82190   echo "$as_me:$LINENO: checking for shared libgcc" >&5
82191 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
82192   ac_save_CFLAGS="$CFLAGS"
82193   CFLAGS=' -lgcc_s'
82194   if test x$gcc_no_link = xyes; then
82195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82197    { (exit 1); exit 1; }; }
82198 fi
82199 cat >conftest.$ac_ext <<_ACEOF
82200 #line $LINENO "configure"
82201 /* confdefs.h.  */
82202 _ACEOF
82203 cat confdefs.h >>conftest.$ac_ext
82204 cat >>conftest.$ac_ext <<_ACEOF
82205 /* end confdefs.h.  */
82206
82207 int
82208 main ()
82209 {
82210 return 0;
82211   ;
82212   return 0;
82213 }
82214 _ACEOF
82215 rm -f conftest.$ac_objext conftest$ac_exeext
82216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82217   (eval $ac_link) 2>&5
82218   ac_status=$?
82219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82220   (exit $ac_status); } &&
82221          { ac_try='test -s conftest$ac_exeext'
82222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82223   (eval $ac_try) 2>&5
82224   ac_status=$?
82225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226   (exit $ac_status); }; }; then
82227   glibcxx_shared_libgcc=yes
82228 else
82229   echo "$as_me: failed program was:" >&5
82230 sed 's/^/| /' conftest.$ac_ext >&5
82231
82232 glibcxx_shared_libgcc=no
82233 fi
82234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
82235   CFLAGS="$ac_save_CFLAGS"
82236   if test $glibcxx_shared_libgcc = no; then
82237     cat > conftest.c <<EOF
82238 int main (void) { return 0; }
82239 EOF
82240     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
82241                              -shared -shared-libgcc -o conftest.so \
82242                              conftest.c -v 2>&1 >/dev/null \
82243                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
82244     rm -f conftest.c conftest.so
82245     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
82246       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
82247       if test x$gcc_no_link = xyes; then
82248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82250    { (exit 1); exit 1; }; }
82251 fi
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
82259 int
82260 main ()
82261 {
82262 return 0;
82263   ;
82264   return 0;
82265 }
82266 _ACEOF
82267 rm -f conftest.$ac_objext conftest$ac_exeext
82268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82269   (eval $ac_link) 2>conftest.er1
82270   ac_status=$?
82271   grep -v '^ *+' conftest.er1 >conftest.err
82272   rm -f conftest.er1
82273   cat conftest.err >&5
82274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82275   (exit $ac_status); } &&
82276          { ac_try='test -z "$ac_c_werror_flag"
82277                          || test ! -s conftest.err'
82278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82279   (eval $ac_try) 2>&5
82280   ac_status=$?
82281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82282   (exit $ac_status); }; } &&
82283          { ac_try='test -s conftest$ac_exeext'
82284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82285   (eval $ac_try) 2>&5
82286   ac_status=$?
82287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82288   (exit $ac_status); }; }; then
82289   glibcxx_shared_libgcc=yes
82290 else
82291   echo "$as_me: failed program was:" >&5
82292 sed 's/^/| /' conftest.$ac_ext >&5
82293
82294 fi
82295 rm -f conftest.err conftest.$ac_objext \
82296       conftest$ac_exeext conftest.$ac_ext
82297       CFLAGS="$ac_save_CFLAGS"
82298     fi
82299   fi
82300   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
82301 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
82302 fi
82303
82304 # For GNU ld, we need at least this version.  The format is described in
82305 # GLIBCXX_CHECK_LINKER_FEATURES above.
82306 glibcxx_min_gnu_ld_version=21400
82307 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
82308
82309 # Check to see if unspecified "yes" value can win, given results above.
82310 # Change "yes" into either "no" or a style name.
82311 if test $enable_symvers = yes; then
82312   if test $with_gnu_ld = yes &&
82313      test $glibcxx_shared_libgcc = yes;
82314   then
82315     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
82316       enable_symvers=gnu
82317     else
82318       # The right tools, the right setup, but too old.  Fallbacks?
82319       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
82320 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
82321       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
82322 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
82323       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
82324 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
82325       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
82326 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
82327       if test $glibcxx_gnu_ld_version -ge 21200 ; then
82328         # Globbing fix is present, proper block support is not.
82329                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
82330 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
82331         enable_symvers=no
82332       else
82333         # 2.11 or older.
82334         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
82335 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
82336         enable_symvers=no
82337       fi
82338     fi
82339   else
82340     # just fail for now
82341     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
82342 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
82343     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
82344 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
82345     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
82346 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
82347     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
82348 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
82349     enable_symvers=no
82350   fi
82351 fi
82352
82353 # Everything parsed; figure out what file to use.
82354 case $enable_symvers in
82355   no)
82356     SYMVER_MAP=config/linker-map.dummy
82357     ;;
82358   gnu)
82359     SYMVER_MAP=config/linker-map.gnu
82360     cat >>confdefs.h <<\_ACEOF
82361 #define _GLIBCXX_SYMVER 1
82362 _ACEOF
82363
82364     ;;
82365 esac
82366
82367
82368
82369
82370 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
82371 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
82372
82373
82374 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
82375
82376   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
82377     # Do checks for resource limit functions.
82378
82379   setrlimit_have_headers=yes
82380
82381
82382
82383 for ac_header in unistd.h sys/time.h sys/resource.h
82384 do
82385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82387   echo "$as_me:$LINENO: checking for $ac_header" >&5
82388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82390   echo $ECHO_N "(cached) $ECHO_C" >&6
82391 fi
82392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82394 else
82395   # Is the header compilable?
82396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82398 cat >conftest.$ac_ext <<_ACEOF
82399 #line $LINENO "configure"
82400 /* confdefs.h.  */
82401 _ACEOF
82402 cat confdefs.h >>conftest.$ac_ext
82403 cat >>conftest.$ac_ext <<_ACEOF
82404 /* end confdefs.h.  */
82405 $ac_includes_default
82406 #include <$ac_header>
82407 _ACEOF
82408 rm -f conftest.$ac_objext
82409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82410   (eval $ac_compile) 2>&5
82411   ac_status=$?
82412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413   (exit $ac_status); } &&
82414          { ac_try='test -s conftest.$ac_objext'
82415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82416   (eval $ac_try) 2>&5
82417   ac_status=$?
82418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82419   (exit $ac_status); }; }; then
82420   ac_header_compiler=yes
82421 else
82422   echo "$as_me: failed program was:" >&5
82423 sed 's/^/| /' conftest.$ac_ext >&5
82424
82425 ac_header_compiler=no
82426 fi
82427 rm -f conftest.$ac_objext conftest.$ac_ext
82428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82429 echo "${ECHO_T}$ac_header_compiler" >&6
82430
82431 # Is the header present?
82432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82434 cat >conftest.$ac_ext <<_ACEOF
82435 #line $LINENO "configure"
82436 /* confdefs.h.  */
82437 _ACEOF
82438 cat confdefs.h >>conftest.$ac_ext
82439 cat >>conftest.$ac_ext <<_ACEOF
82440 /* end confdefs.h.  */
82441 #include <$ac_header>
82442 _ACEOF
82443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82444   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82445   ac_status=$?
82446   grep -v '^ *+' conftest.er1 >conftest.err
82447   rm -f conftest.er1
82448   cat conftest.err >&5
82449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82450   (exit $ac_status); } >/dev/null; then
82451   if test -s conftest.err; then
82452     ac_cpp_err=$ac_c_preproc_warn_flag
82453   else
82454     ac_cpp_err=
82455   fi
82456 else
82457   ac_cpp_err=yes
82458 fi
82459 if test -z "$ac_cpp_err"; then
82460   ac_header_preproc=yes
82461 else
82462   echo "$as_me: failed program was:" >&5
82463 sed 's/^/| /' conftest.$ac_ext >&5
82464
82465   ac_header_preproc=no
82466 fi
82467 rm -f conftest.err conftest.$ac_ext
82468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82469 echo "${ECHO_T}$ac_header_preproc" >&6
82470
82471 # So?  What about this header?
82472 case $ac_header_compiler:$ac_header_preproc in
82473   yes:no )
82474     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82476     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82478     (
82479       cat <<\_ASBOX
82480 ## ------------------------------------ ##
82481 ## Report this to bug-autoconf@gnu.org. ##
82482 ## ------------------------------------ ##
82483 _ASBOX
82484     ) |
82485       sed "s/^/$as_me: WARNING:     /" >&2
82486     ;;
82487   no:yes )
82488     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82490     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82492     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82494     (
82495       cat <<\_ASBOX
82496 ## ------------------------------------ ##
82497 ## Report this to bug-autoconf@gnu.org. ##
82498 ## ------------------------------------ ##
82499 _ASBOX
82500     ) |
82501       sed "s/^/$as_me: WARNING:     /" >&2
82502     ;;
82503 esac
82504 echo "$as_me:$LINENO: checking for $ac_header" >&5
82505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82507   echo $ECHO_N "(cached) $ECHO_C" >&6
82508 else
82509   eval "$as_ac_Header=$ac_header_preproc"
82510 fi
82511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82513
82514 fi
82515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82516   cat >>confdefs.h <<_ACEOF
82517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82518 _ACEOF
82519
82520 else
82521   setrlimit_have_headers=no
82522 fi
82523
82524 done
82525
82526   # If don't have the headers, then we can't run the tests now, and we
82527   # won't be seeing any of these during testsuite compilation.
82528   if test $setrlimit_have_headers = yes; then
82529     # Can't do these in a loop, else the resulting syntax is wrong.
82530
82531   cat >conftest.$ac_ext <<_ACEOF
82532 #line $LINENO "configure"
82533 /* confdefs.h.  */
82534 _ACEOF
82535 cat confdefs.h >>conftest.$ac_ext
82536 cat >>conftest.$ac_ext <<_ACEOF
82537 /* end confdefs.h.  */
82538 #include <unistd.h>
82539      #include <sys/time.h>
82540      #include <sys/resource.h>
82541
82542 int
82543 main ()
82544 {
82545  int f = RLIMIT_DATA ;
82546   ;
82547   return 0;
82548 }
82549 _ACEOF
82550 rm -f conftest.$ac_objext
82551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82552   (eval $ac_compile) 2>&5
82553   ac_status=$?
82554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82555   (exit $ac_status); } &&
82556          { ac_try='test -s conftest.$ac_objext'
82557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82558   (eval $ac_try) 2>&5
82559   ac_status=$?
82560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82561   (exit $ac_status); }; }; then
82562   glibcxx_mresult=1
82563 else
82564   echo "$as_me: failed program was:" >&5
82565 sed 's/^/| /' conftest.$ac_ext >&5
82566
82567 glibcxx_mresult=0
82568 fi
82569 rm -f conftest.$ac_objext conftest.$ac_ext
82570
82571 cat >>confdefs.h <<_ACEOF
82572 #define HAVE_LIMIT_DATA $glibcxx_mresult
82573 _ACEOF
82574
82575
82576
82577   cat >conftest.$ac_ext <<_ACEOF
82578 #line $LINENO "configure"
82579 /* confdefs.h.  */
82580 _ACEOF
82581 cat confdefs.h >>conftest.$ac_ext
82582 cat >>conftest.$ac_ext <<_ACEOF
82583 /* end confdefs.h.  */
82584 #include <unistd.h>
82585      #include <sys/time.h>
82586      #include <sys/resource.h>
82587
82588 int
82589 main ()
82590 {
82591  int f = RLIMIT_RSS ;
82592   ;
82593   return 0;
82594 }
82595 _ACEOF
82596 rm -f conftest.$ac_objext
82597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82598   (eval $ac_compile) 2>&5
82599   ac_status=$?
82600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82601   (exit $ac_status); } &&
82602          { ac_try='test -s conftest.$ac_objext'
82603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82604   (eval $ac_try) 2>&5
82605   ac_status=$?
82606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82607   (exit $ac_status); }; }; then
82608   glibcxx_mresult=1
82609 else
82610   echo "$as_me: failed program was:" >&5
82611 sed 's/^/| /' conftest.$ac_ext >&5
82612
82613 glibcxx_mresult=0
82614 fi
82615 rm -f conftest.$ac_objext conftest.$ac_ext
82616
82617 cat >>confdefs.h <<_ACEOF
82618 #define HAVE_LIMIT_RSS $glibcxx_mresult
82619 _ACEOF
82620
82621
82622
82623   cat >conftest.$ac_ext <<_ACEOF
82624 #line $LINENO "configure"
82625 /* confdefs.h.  */
82626 _ACEOF
82627 cat confdefs.h >>conftest.$ac_ext
82628 cat >>conftest.$ac_ext <<_ACEOF
82629 /* end confdefs.h.  */
82630 #include <unistd.h>
82631      #include <sys/time.h>
82632      #include <sys/resource.h>
82633
82634 int
82635 main ()
82636 {
82637  int f = RLIMIT_VMEM ;
82638   ;
82639   return 0;
82640 }
82641 _ACEOF
82642 rm -f conftest.$ac_objext
82643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82644   (eval $ac_compile) 2>&5
82645   ac_status=$?
82646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82647   (exit $ac_status); } &&
82648          { ac_try='test -s conftest.$ac_objext'
82649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82650   (eval $ac_try) 2>&5
82651   ac_status=$?
82652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82653   (exit $ac_status); }; }; then
82654   glibcxx_mresult=1
82655 else
82656   echo "$as_me: failed program was:" >&5
82657 sed 's/^/| /' conftest.$ac_ext >&5
82658
82659 glibcxx_mresult=0
82660 fi
82661 rm -f conftest.$ac_objext conftest.$ac_ext
82662
82663 cat >>confdefs.h <<_ACEOF
82664 #define HAVE_LIMIT_VMEM $glibcxx_mresult
82665 _ACEOF
82666
82667
82668
82669   cat >conftest.$ac_ext <<_ACEOF
82670 #line $LINENO "configure"
82671 /* confdefs.h.  */
82672 _ACEOF
82673 cat confdefs.h >>conftest.$ac_ext
82674 cat >>conftest.$ac_ext <<_ACEOF
82675 /* end confdefs.h.  */
82676 #include <unistd.h>
82677      #include <sys/time.h>
82678      #include <sys/resource.h>
82679
82680 int
82681 main ()
82682 {
82683  int f = RLIMIT_AS ;
82684   ;
82685   return 0;
82686 }
82687 _ACEOF
82688 rm -f conftest.$ac_objext
82689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82690   (eval $ac_compile) 2>&5
82691   ac_status=$?
82692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82693   (exit $ac_status); } &&
82694          { ac_try='test -s conftest.$ac_objext'
82695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82696   (eval $ac_try) 2>&5
82697   ac_status=$?
82698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82699   (exit $ac_status); }; }; then
82700   glibcxx_mresult=1
82701 else
82702   echo "$as_me: failed program was:" >&5
82703 sed 's/^/| /' conftest.$ac_ext >&5
82704
82705 glibcxx_mresult=0
82706 fi
82707 rm -f conftest.$ac_objext conftest.$ac_ext
82708
82709 cat >>confdefs.h <<_ACEOF
82710 #define HAVE_LIMIT_AS $glibcxx_mresult
82711 _ACEOF
82712
82713
82714
82715   cat >conftest.$ac_ext <<_ACEOF
82716 #line $LINENO "configure"
82717 /* confdefs.h.  */
82718 _ACEOF
82719 cat confdefs.h >>conftest.$ac_ext
82720 cat >>conftest.$ac_ext <<_ACEOF
82721 /* end confdefs.h.  */
82722 #include <unistd.h>
82723      #include <sys/time.h>
82724      #include <sys/resource.h>
82725
82726 int
82727 main ()
82728 {
82729  int f = RLIMIT_FSIZE ;
82730   ;
82731   return 0;
82732 }
82733 _ACEOF
82734 rm -f conftest.$ac_objext
82735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82736   (eval $ac_compile) 2>&5
82737   ac_status=$?
82738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82739   (exit $ac_status); } &&
82740          { ac_try='test -s conftest.$ac_objext'
82741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82742   (eval $ac_try) 2>&5
82743   ac_status=$?
82744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82745   (exit $ac_status); }; }; then
82746   glibcxx_mresult=1
82747 else
82748   echo "$as_me: failed program was:" >&5
82749 sed 's/^/| /' conftest.$ac_ext >&5
82750
82751 glibcxx_mresult=0
82752 fi
82753 rm -f conftest.$ac_objext conftest.$ac_ext
82754
82755 cat >>confdefs.h <<_ACEOF
82756 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
82757 _ACEOF
82758
82759
82760
82761     # Check for rlimit, setrlimit.
82762     if test "${ac_setrlimit+set}" = set; then
82763   echo $ECHO_N "(cached) $ECHO_C" >&6
82764 else
82765
82766       cat >conftest.$ac_ext <<_ACEOF
82767 #line $LINENO "configure"
82768 /* confdefs.h.  */
82769 _ACEOF
82770 cat confdefs.h >>conftest.$ac_ext
82771 cat >>conftest.$ac_ext <<_ACEOF
82772 /* end confdefs.h.  */
82773 #include <unistd.h>
82774          #include <sys/time.h>
82775          #include <sys/resource.h>
82776
82777 int
82778 main ()
82779 {
82780 struct rlimit r;
82781          setrlimit(0, &r);
82782   ;
82783   return 0;
82784 }
82785 _ACEOF
82786 rm -f conftest.$ac_objext
82787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82788   (eval $ac_compile) 2>&5
82789   ac_status=$?
82790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791   (exit $ac_status); } &&
82792          { ac_try='test -s conftest.$ac_objext'
82793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82794   (eval $ac_try) 2>&5
82795   ac_status=$?
82796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82797   (exit $ac_status); }; }; then
82798   ac_setrlimit=yes
82799 else
82800   echo "$as_me: failed program was:" >&5
82801 sed 's/^/| /' conftest.$ac_ext >&5
82802
82803 ac_setrlimit=no
82804 fi
82805 rm -f conftest.$ac_objext conftest.$ac_ext
82806
82807 fi
82808
82809   fi
82810
82811   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
82812 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
82813   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
82814     ac_res_limits=yes
82815     cat >>confdefs.h <<\_ACEOF
82816 #define _GLIBCXX_RES_LIMITS 1
82817 _ACEOF
82818
82819   else
82820     ac_res_limits=no
82821   fi
82822   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
82823 echo "${ECHO_T}$ac_res_limits" >&6
82824
82825
82826     # Look for setenv, so that extended locale tests can be performed.
82827
82828   echo "$as_me:$LINENO: checking for setenv declaration" >&5
82829 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
82830   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
82831     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
82832   echo $ECHO_N "(cached) $ECHO_C" >&6
82833 else
82834
82835
82836
82837       ac_ext=cc
82838 ac_cpp='$CXXCPP $CPPFLAGS'
82839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82842
82843       cat >conftest.$ac_ext <<_ACEOF
82844 #line $LINENO "configure"
82845 /* confdefs.h.  */
82846 _ACEOF
82847 cat confdefs.h >>conftest.$ac_ext
82848 cat >>conftest.$ac_ext <<_ACEOF
82849 /* end confdefs.h.  */
82850 #include <stdlib.h>
82851 int
82852 main ()
82853 {
82854  setenv(0, 0, 0);
82855   ;
82856   return 0;
82857 }
82858 _ACEOF
82859 rm -f conftest.$ac_objext
82860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82861   (eval $ac_compile) 2>&5
82862   ac_status=$?
82863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82864   (exit $ac_status); } &&
82865          { ac_try='test -s conftest.$ac_objext'
82866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82867   (eval $ac_try) 2>&5
82868   ac_status=$?
82869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82870   (exit $ac_status); }; }; then
82871   glibcxx_cv_func_setenv_use=yes
82872 else
82873   echo "$as_me: failed program was:" >&5
82874 sed 's/^/| /' conftest.$ac_ext >&5
82875
82876 glibcxx_cv_func_setenv_use=no
82877 fi
82878 rm -f conftest.$ac_objext conftest.$ac_ext
82879       ac_ext=c
82880 ac_cpp='$CPP $CPPFLAGS'
82881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82884
82885
82886 fi
82887
82888   fi
82889   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
82890 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
82891   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
82892
82893 for ac_func in setenv
82894 do
82895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82896 echo "$as_me:$LINENO: checking for $ac_func" >&5
82897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82898 if eval "test \"\${$as_ac_var+set}\" = set"; then
82899   echo $ECHO_N "(cached) $ECHO_C" >&6
82900 else
82901   if test x$gcc_no_link = xyes; then
82902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82904    { (exit 1); exit 1; }; }
82905 fi
82906 cat >conftest.$ac_ext <<_ACEOF
82907 #line $LINENO "configure"
82908 /* confdefs.h.  */
82909 _ACEOF
82910 cat confdefs.h >>conftest.$ac_ext
82911 cat >>conftest.$ac_ext <<_ACEOF
82912 /* end confdefs.h.  */
82913 /* System header to define __stub macros and hopefully few prototypes,
82914     which can conflict with char $ac_func (); below.
82915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82916     <limits.h> exists even on freestanding compilers.  */
82917 #ifdef __STDC__
82918 # include <limits.h>
82919 #else
82920 # include <assert.h>
82921 #endif
82922 /* Override any gcc2 internal prototype to avoid an error.  */
82923 #ifdef __cplusplus
82924 extern "C"
82925 {
82926 #endif
82927 /* We use char because int might match the return type of a gcc2
82928    builtin and then its argument prototype would still apply.  */
82929 char $ac_func ();
82930 /* The GNU C library defines this for functions which it implements
82931     to always fail with ENOSYS.  Some functions are actually named
82932     something starting with __ and the normal name is an alias.  */
82933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82934 choke me
82935 #else
82936 char (*f) () = $ac_func;
82937 #endif
82938 #ifdef __cplusplus
82939 }
82940 #endif
82941
82942 int
82943 main ()
82944 {
82945 return f != $ac_func;
82946   ;
82947   return 0;
82948 }
82949 _ACEOF
82950 rm -f conftest.$ac_objext conftest$ac_exeext
82951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82952   (eval $ac_link) 2>&5
82953   ac_status=$?
82954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82955   (exit $ac_status); } &&
82956          { ac_try='test -s conftest$ac_exeext'
82957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82958   (eval $ac_try) 2>&5
82959   ac_status=$?
82960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82961   (exit $ac_status); }; }; then
82962   eval "$as_ac_var=yes"
82963 else
82964   echo "$as_me: failed program was:" >&5
82965 sed 's/^/| /' conftest.$ac_ext >&5
82966
82967 eval "$as_ac_var=no"
82968 fi
82969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
82970 fi
82971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82973 if test `eval echo '${'$as_ac_var'}'` = yes; then
82974   cat >>confdefs.h <<_ACEOF
82975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82976 _ACEOF
82977
82978 fi
82979 done
82980
82981   fi
82982
82983
82984     if test $enable_symvers = no; then
82985       enable_abi_check=no
82986     else
82987       case "$host" in
82988         *-*-cygwin*)
82989           enable_abi_check=no ;;
82990         *)
82991           enable_abi_check=yes ;;
82992       esac
82993     fi
82994   else
82995     # Only build this as native, since automake does not understand
82996     # CXX_FOR_BUILD.
82997     enable_abi_check=no
82998   fi
82999
83000   # Export file names for ABI checking.
83001   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
83002
83003
83004
83005
83006
83007
83008 # Propagate the target-specific source directories through the build chain.
83009 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
83010 # uses it, and it only gets used in this file.)
83011 ATOMICITY_SRCDIR=config/${atomicity_dir}
83012 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
83013 OS_INC_SRCDIR=config/${os_include_dir}
83014
83015
83016
83017
83018 # Determine cross-compile flags and AM_CONDITIONALs.
83019 #AC_SUBST(GLIBCXX_IS_NATIVE)
83020 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
83021 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
83022 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
83023
83024
83025 if test $is_hosted = yes; then
83026   GLIBCXX_HOSTED_TRUE=
83027   GLIBCXX_HOSTED_FALSE='#'
83028 else
83029   GLIBCXX_HOSTED_TRUE='#'
83030   GLIBCXX_HOSTED_FALSE=
83031 fi
83032
83033
83034
83035
83036 if test $enable_libstdcxx_pch = yes; then
83037   GLIBCXX_BUILD_PCH_TRUE=
83038   GLIBCXX_BUILD_PCH_FALSE='#'
83039 else
83040   GLIBCXX_BUILD_PCH_TRUE='#'
83041   GLIBCXX_BUILD_PCH_FALSE=
83042 fi
83043
83044
83045
83046
83047 if test $enable_cheaders = c; then
83048   GLIBCXX_C_HEADERS_C_TRUE=
83049   GLIBCXX_C_HEADERS_C_FALSE='#'
83050 else
83051   GLIBCXX_C_HEADERS_C_TRUE='#'
83052   GLIBCXX_C_HEADERS_C_FALSE=
83053 fi
83054
83055
83056
83057
83058 if test $enable_cheaders = c_std; then
83059   GLIBCXX_C_HEADERS_C_STD_TRUE=
83060   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
83061 else
83062   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
83063   GLIBCXX_C_HEADERS_C_STD_FALSE=
83064 fi
83065
83066
83067
83068
83069 if test $c_compatibility = yes; then
83070   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
83071   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
83072 else
83073   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
83074   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
83075 fi
83076
83077
83078
83079
83080 if test $enable_libstdcxx_debug = yes; then
83081   GLIBCXX_BUILD_DEBUG_TRUE=
83082   GLIBCXX_BUILD_DEBUG_FALSE='#'
83083 else
83084   GLIBCXX_BUILD_DEBUG_TRUE='#'
83085   GLIBCXX_BUILD_DEBUG_FALSE=
83086 fi
83087
83088
83089
83090
83091 if test $enable_symvers != no; then
83092   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
83093   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
83094 else
83095   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
83096   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
83097 fi
83098
83099
83100
83101
83102 if test $enable_wchar_t = yes; then
83103   GLIBCXX_TEST_WCHAR_T_TRUE=
83104   GLIBCXX_TEST_WCHAR_T_FALSE='#'
83105 else
83106   GLIBCXX_TEST_WCHAR_T_TRUE='#'
83107   GLIBCXX_TEST_WCHAR_T_FALSE=
83108 fi
83109
83110
83111
83112
83113 if test $enable_abi_check = yes; then
83114   GLIBCXX_TEST_ABI_TRUE=
83115   GLIBCXX_TEST_ABI_FALSE='#'
83116 else
83117   GLIBCXX_TEST_ABI_TRUE='#'
83118   GLIBCXX_TEST_ABI_FALSE=
83119 fi
83120
83121
83122
83123
83124 cat >confcache <<\_ACEOF
83125 # This file is a shell script that caches the results of configure
83126 # tests run on this system so they can be shared between configure
83127 # scripts and configure runs, see configure's option --config-cache.
83128 # It is not useful on other systems.  If it contains results you don't
83129 # want to keep, you may remove or edit it.
83130 #
83131 # config.status only pays attention to the cache file if you give it
83132 # the --recheck option to rerun configure.
83133 #
83134 # `ac_cv_env_foo' variables (set or unset) will be overridden when
83135 # loading this file, other *unset* `ac_cv_foo' will be assigned the
83136 # following values.
83137
83138 _ACEOF
83139
83140 # The following way of writing the cache mishandles newlines in values,
83141 # but we know of no workaround that is simple, portable, and efficient.
83142 # So, don't put newlines in cache variables' values.
83143 # Ultrix sh set writes to stderr and can't be redirected directly,
83144 # and sets the high bit in the cache file unless we assign to the vars.
83145 {
83146   (set) 2>&1 |
83147     case `(ac_space=' '; set | grep ac_space) 2>&1` in
83148     *ac_space=\ *)
83149       # `set' does not quote correctly, so add quotes (double-quote
83150       # substitution turns \\\\ into \\, and sed turns \\ into \).
83151       sed -n \
83152         "s/'/'\\\\''/g;
83153           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
83154       ;;
83155     *)
83156       # `set' quotes correctly as required by POSIX, so do not add quotes.
83157       sed -n \
83158         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
83159       ;;
83160     esac;
83161 } |
83162   sed '
83163      t clear
83164      : clear
83165      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
83166      t end
83167      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
83168      : end' >>confcache
83169 if diff $cache_file confcache >/dev/null 2>&1; then :; else
83170   if test -w $cache_file; then
83171     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
83172     cat confcache >$cache_file
83173   else
83174     echo "not updating unwritable cache $cache_file"
83175   fi
83176 fi
83177 rm -f confcache
83178
83179 if test ${multilib} = yes; then
83180   multilib_arg="--enable-multilib"
83181 else
83182   multilib_arg=
83183 fi
83184
83185 # Export all the install information.
83186
83187   glibcxx_toolexecdir=no
83188   glibcxx_toolexeclibdir=no
83189   glibcxx_prefixdir=$prefix
83190
83191   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
83192 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
83193
83194 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
83195 if test "${with_gxx_include_dir+set}" = set; then
83196   withval="$with_gxx_include_dir"
83197   case "$withval" in
83198       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
83199 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
83200    { (exit 1); exit 1; }; } ;;
83201       no)  gxx_include_dir=no ;;
83202       *)   gxx_include_dir=$withval ;;
83203      esac
83204 else
83205   gxx_include_dir=no
83206 fi;
83207   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
83208 echo "${ECHO_T}$gxx_include_dir" >&6
83209
83210   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
83211 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
83212   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
83213 if test "${enable_version_specific_runtime_libs+set}" = set; then
83214   enableval="$enable_version_specific_runtime_libs"
83215   case "$enableval" in
83216       yes) version_specific_libs=yes ;;
83217       no)  version_specific_libs=no ;;
83218       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
83219 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
83220    { (exit 1); exit 1; }; };;
83221      esac
83222 else
83223   version_specific_libs=no
83224 fi;
83225   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
83226 echo "${ECHO_T}$version_specific_libs" >&6
83227
83228   # Default case for install directory for include files.
83229   if test $version_specific_libs = no && test $gxx_include_dir = no; then
83230     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
83231   fi
83232
83233   # Version-specific runtime libs processing.
83234   if test $version_specific_libs = yes; then
83235     # Need the gcc compiler version to know where to install libraries
83236     # and header files if --enable-version-specific-runtime-libs option
83237     # is selected.  FIXME: these variables are misnamed, there are
83238     # no executables installed in _toolexecdir or _toolexeclibdir.
83239     if test x"$gxx_include_dir" = x"no"; then
83240       gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
83241     fi
83242     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
83243     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
83244   fi
83245
83246   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
83247   # Install a library built with a cross compiler in tooldir, not libdir.
83248   if test x"$glibcxx_toolexecdir" = x"no"; then
83249     if test -n "$with_cross_host" &&
83250        test x"$with_cross_host" != x"no"; then
83251       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
83252       glibcxx_toolexeclibdir='${toolexecdir}/lib'
83253     else
83254       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
83255       glibcxx_toolexeclibdir='${libdir}'
83256     fi
83257     multi_os_directory=`$CXX -print-multi-os-directory`
83258     case $multi_os_directory in
83259       .) ;; # Avoid trailing /.
83260       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
83261     esac
83262   fi
83263
83264   echo "$as_me:$LINENO: checking for install location" >&5
83265 echo $ECHO_N "checking for install location... $ECHO_C" >&6
83266   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
83267 echo "${ECHO_T}$gxx_include_dir" >&6
83268
83269
83270
83271
83272
83273
83274
83275 # Export all the include and flag information to Makefiles.
83276
83277   # Used for every C++ compile we perform.
83278   GLIBCXX_INCLUDES="\
83279 -I$glibcxx_builddir/include/$host_alias \
83280 -I$glibcxx_builddir/include \
83281 -I$glibcxx_srcdir/libsupc++"
83282
83283   # For Canadian crosses, pick this up too.
83284   if test $CANADIAN = yes; then
83285     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
83286   fi
83287
83288   # Stuff in the actual top level.  Currently only used by libsupc++ to
83289   # get unwind* headers from the gcc dir.
83290   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
83291   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
83292
83293   # Now, export this to all the little Makefiles....
83294
83295
83296
83297
83298   # Optimization flags that are probably a good idea for thrill-seekers. Just
83299   # uncomment the lines below and make, everything else is ready to go...
83300   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
83301   OPTIMIZE_CXXFLAGS=
83302
83303
83304   WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
83305
83306
83307
83308 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
83309    grep "enable shared" > /dev/null;
83310 then
83311   LIBSUPCXX_PICFLAGS=-prefer-pic
83312 else
83313   LIBSUPCXX_PICFLAGS=
83314 fi
83315
83316
83317                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
83318
83319           ac_config_files="$ac_config_files scripts/check_survey"
83320
83321           ac_config_files="$ac_config_files scripts/testsuite_flags"
83322
83323
83324           ac_config_commands="$ac_config_commands default"
83325
83326
83327 cat >confcache <<\_ACEOF
83328 # This file is a shell script that caches the results of configure
83329 # tests run on this system so they can be shared between configure
83330 # scripts and configure runs, see configure's option --config-cache.
83331 # It is not useful on other systems.  If it contains results you don't
83332 # want to keep, you may remove or edit it.
83333 #
83334 # config.status only pays attention to the cache file if you give it
83335 # the --recheck option to rerun configure.
83336 #
83337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
83338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
83339 # following values.
83340
83341 _ACEOF
83342
83343 # The following way of writing the cache mishandles newlines in values,
83344 # but we know of no workaround that is simple, portable, and efficient.
83345 # So, don't put newlines in cache variables' values.
83346 # Ultrix sh set writes to stderr and can't be redirected directly,
83347 # and sets the high bit in the cache file unless we assign to the vars.
83348 {
83349   (set) 2>&1 |
83350     case `(ac_space=' '; set | grep ac_space) 2>&1` in
83351     *ac_space=\ *)
83352       # `set' does not quote correctly, so add quotes (double-quote
83353       # substitution turns \\\\ into \\, and sed turns \\ into \).
83354       sed -n \
83355         "s/'/'\\\\''/g;
83356           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
83357       ;;
83358     *)
83359       # `set' quotes correctly as required by POSIX, so do not add quotes.
83360       sed -n \
83361         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
83362       ;;
83363     esac;
83364 } |
83365   sed '
83366      t clear
83367      : clear
83368      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
83369      t end
83370      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
83371      : end' >>confcache
83372 if diff $cache_file confcache >/dev/null 2>&1; then :; else
83373   if test -w $cache_file; then
83374     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
83375     cat confcache >$cache_file
83376   else
83377     echo "not updating unwritable cache $cache_file"
83378   fi
83379 fi
83380 rm -f confcache
83381
83382 test "x$prefix" = xNONE && prefix=$ac_default_prefix
83383 # Let make expand exec_prefix.
83384 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
83385
83386 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83387 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83388 # trailing colons and then remove the whole line if VPATH becomes empty
83389 # (actually we leave an empty line to preserve line numbers).
83390 if test "x$srcdir" = x.; then
83391   ac_vpsub='/^[         ]*VPATH[        ]*=/{
83392 s/:*\$(srcdir):*/:/;
83393 s/:*\${srcdir}:*/:/;
83394 s/:*@srcdir@:*/:/;
83395 s/^\([^=]*=[    ]*\):*/\1/;
83396 s/:*$//;
83397 s/^[^=]*=[      ]*$//;
83398 }'
83399 fi
83400
83401 DEFS=-DHAVE_CONFIG_H
83402
83403 ac_libobjs=
83404 ac_ltlibobjs=
83405 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
83406   # 1. Remove the extension, and $U if already installed.
83407   ac_i=`echo "$ac_i" |
83408          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
83409   # 2. Add them.
83410   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
83411   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
83412 done
83413 LIBOBJS=$ac_libobjs
83414
83415 LTLIBOBJS=$ac_ltlibobjs
83416
83417
83418 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
83419   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
83420 Usually this means the macro was only invoked conditionally." >&5
83421 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
83422 Usually this means the macro was only invoked conditionally." >&2;}
83423    { (exit 1); exit 1; }; }
83424 fi
83425 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
83426   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
83427 Usually this means the macro was only invoked conditionally." >&5
83428 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
83429 Usually this means the macro was only invoked conditionally." >&2;}
83430    { (exit 1); exit 1; }; }
83431 fi
83432 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
83433   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
83434 Usually this means the macro was only invoked conditionally." >&5
83435 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
83436 Usually this means the macro was only invoked conditionally." >&2;}
83437    { (exit 1); exit 1; }; }
83438 fi
83439 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
83440   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
83441 Usually this means the macro was only invoked conditionally." >&5
83442 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
83443 Usually this means the macro was only invoked conditionally." >&2;}
83444    { (exit 1); exit 1; }; }
83445 fi
83446 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
83447   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
83448 Usually this means the macro was only invoked conditionally." >&5
83449 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
83450 Usually this means the macro was only invoked conditionally." >&2;}
83451    { (exit 1); exit 1; }; }
83452 fi
83453 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
83454   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
83455 Usually this means the macro was only invoked conditionally." >&5
83456 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
83457 Usually this means the macro was only invoked conditionally." >&2;}
83458    { (exit 1); exit 1; }; }
83459 fi
83460 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
83461   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
83462 Usually this means the macro was only invoked conditionally." >&5
83463 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
83464 Usually this means the macro was only invoked conditionally." >&2;}
83465    { (exit 1); exit 1; }; }
83466 fi
83467 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
83468   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
83469 Usually this means the macro was only invoked conditionally." >&5
83470 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
83471 Usually this means the macro was only invoked conditionally." >&2;}
83472    { (exit 1); exit 1; }; }
83473 fi
83474 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
83475   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
83476 Usually this means the macro was only invoked conditionally." >&5
83477 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
83478 Usually this means the macro was only invoked conditionally." >&2;}
83479    { (exit 1); exit 1; }; }
83480 fi
83481 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
83482   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
83483 Usually this means the macro was only invoked conditionally." >&5
83484 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
83485 Usually this means the macro was only invoked conditionally." >&2;}
83486    { (exit 1); exit 1; }; }
83487 fi
83488
83489 : ${CONFIG_STATUS=./config.status}
83490 ac_clean_files_save=$ac_clean_files
83491 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
83492 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
83493 echo "$as_me: creating $CONFIG_STATUS" >&6;}
83494 cat >$CONFIG_STATUS <<_ACEOF
83495 #! $SHELL
83496 # Generated by $as_me.
83497 # Run this file to recreate the current configuration.
83498 # Compiler output produced by configure, useful for debugging
83499 # configure, is in config.log if it exists.
83500
83501 debug=false
83502 ac_cs_recheck=false
83503 ac_cs_silent=false
83504 SHELL=\${CONFIG_SHELL-$SHELL}
83505 _ACEOF
83506
83507 cat >>$CONFIG_STATUS <<\_ACEOF
83508 ## --------------------- ##
83509 ## M4sh Initialization.  ##
83510 ## --------------------- ##
83511
83512 # Be Bourne compatible
83513 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
83514   emulate sh
83515   NULLCMD=:
83516   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
83517   # is contrary to our usage.  Disable this feature.
83518   alias -g '${1+"$@"}'='"$@"'
83519 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
83520   set -o posix
83521 fi
83522
83523 # Support unset when possible.
83524 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
83525   as_unset=unset
83526 else
83527   as_unset=false
83528 fi
83529
83530
83531 # Work around bugs in pre-3.0 UWIN ksh.
83532 $as_unset ENV MAIL MAILPATH
83533 PS1='$ '
83534 PS2='> '
83535 PS4='+ '
83536
83537 # NLS nuisances.
83538 for as_var in \
83539   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
83540   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
83541   LC_TELEPHONE LC_TIME
83542 do
83543   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
83544     eval $as_var=C; export $as_var
83545   else
83546     $as_unset $as_var
83547   fi
83548 done
83549
83550 # Required to use basename.
83551 if expr a : '\(a\)' >/dev/null 2>&1; then
83552   as_expr=expr
83553 else
83554   as_expr=false
83555 fi
83556
83557 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
83558   as_basename=basename
83559 else
83560   as_basename=false
83561 fi
83562
83563
83564 # Name of the executable.
83565 as_me=`$as_basename "$0" ||
83566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
83567          X"$0" : 'X\(//\)$' \| \
83568          X"$0" : 'X\(/\)$' \| \
83569          .     : '\(.\)' 2>/dev/null ||
83570 echo X/"$0" |
83571     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
83572           /^X\/\(\/\/\)$/{ s//\1/; q; }
83573           /^X\/\(\/\).*/{ s//\1/; q; }
83574           s/.*/./; q'`
83575
83576
83577 # PATH needs CR, and LINENO needs CR and PATH.
83578 # Avoid depending upon Character Ranges.
83579 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83580 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83581 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83582 as_cr_digits='0123456789'
83583 as_cr_alnum=$as_cr_Letters$as_cr_digits
83584
83585 # The user is always right.
83586 if test "${PATH_SEPARATOR+set}" != set; then
83587   echo "#! /bin/sh" >conf$$.sh
83588   echo  "exit 0"   >>conf$$.sh
83589   chmod +x conf$$.sh
83590   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
83591     PATH_SEPARATOR=';'
83592   else
83593     PATH_SEPARATOR=:
83594   fi
83595   rm -f conf$$.sh
83596 fi
83597
83598
83599   as_lineno_1=$LINENO
83600   as_lineno_2=$LINENO
83601   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
83602   test "x$as_lineno_1" != "x$as_lineno_2" &&
83603   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
83604   # Find who we are.  Look in the path if we contain no path at all
83605   # relative or not.
83606   case $0 in
83607     *[\\/]* ) as_myself=$0 ;;
83608     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83609 for as_dir in $PATH
83610 do
83611   IFS=$as_save_IFS
83612   test -z "$as_dir" && as_dir=.
83613   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
83614 done
83615
83616        ;;
83617   esac
83618   # We did not find ourselves, most probably we were run as `sh COMMAND'
83619   # in which case we are not to be found in the path.
83620   if test "x$as_myself" = x; then
83621     as_myself=$0
83622   fi
83623   if test ! -f "$as_myself"; then
83624     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
83625 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
83626    { (exit 1); exit 1; }; }
83627   fi
83628   case $CONFIG_SHELL in
83629   '')
83630     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
83631 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
83632 do
83633   IFS=$as_save_IFS
83634   test -z "$as_dir" && as_dir=.
83635   for as_base in sh bash ksh sh5; do
83636          case $as_dir in
83637          /*)
83638            if ("$as_dir/$as_base" -c '
83639   as_lineno_1=$LINENO
83640   as_lineno_2=$LINENO
83641   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
83642   test "x$as_lineno_1" != "x$as_lineno_2" &&
83643   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
83644              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
83645              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
83646              CONFIG_SHELL=$as_dir/$as_base
83647              export CONFIG_SHELL
83648              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
83649            fi;;
83650          esac
83651        done
83652 done
83653 ;;
83654   esac
83655
83656   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
83657   # uniformly replaced by the line number.  The first 'sed' inserts a
83658   # line-number line before each line; the second 'sed' does the real
83659   # work.  The second script uses 'N' to pair each line-number line
83660   # with the numbered line, and appends trailing '-' during
83661   # substitution so that $LINENO is not a special case at line end.
83662   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
83663   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
83664   sed '=' <$as_myself |
83665     sed '
83666       N
83667       s,$,-,
83668       : loop
83669       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
83670       t loop
83671       s,-$,,
83672       s,^['$as_cr_digits']*\n,,
83673     ' >$as_me.lineno &&
83674   chmod +x $as_me.lineno ||
83675     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
83676 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
83677    { (exit 1); exit 1; }; }
83678
83679   # Don't try to exec as it changes $[0], causing all sort of problems
83680   # (the dirname of $[0] is not the place where we might find the
83681   # original and so on.  Autoconf is especially sensible to this).
83682   . ./$as_me.lineno
83683   # Exit status is that of the last command.
83684   exit
83685 }
83686
83687
83688 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
83689   *c*,-n*) ECHO_N= ECHO_C='
83690 ' ECHO_T='      ' ;;
83691   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
83692   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
83693 esac
83694
83695 if expr a : '\(a\)' >/dev/null 2>&1; then
83696   as_expr=expr
83697 else
83698   as_expr=false
83699 fi
83700
83701 rm -f conf$$ conf$$.exe conf$$.file
83702 echo >conf$$.file
83703 if ln -s conf$$.file conf$$ 2>/dev/null; then
83704   # We could just check for DJGPP; but this test a) works b) is more generic
83705   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
83706   if test -f conf$$.exe; then
83707     # Don't use ln at all; we don't have any links
83708     as_ln_s='cp -p'
83709   else
83710     as_ln_s='ln -s'
83711   fi
83712 elif ln conf$$.file conf$$ 2>/dev/null; then
83713   as_ln_s=ln
83714 else
83715   as_ln_s='cp -p'
83716 fi
83717 rm -f conf$$ conf$$.exe conf$$.file
83718
83719 if mkdir -p . 2>/dev/null; then
83720   as_mkdir_p=:
83721 else
83722   as_mkdir_p=false
83723 fi
83724
83725 as_executable_p="test -f"
83726
83727 # Sed expression to map a string onto a valid CPP name.
83728 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
83729
83730 # Sed expression to map a string onto a valid variable name.
83731 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
83732
83733
83734 # IFS
83735 # We need space, tab and new line, in precisely that order.
83736 as_nl='
83737 '
83738 IFS="   $as_nl"
83739
83740 # CDPATH.
83741 $as_unset CDPATH
83742
83743 exec 6>&1
83744
83745 # Open the log real soon, to keep \$[0] and so on meaningful, and to
83746 # report actual input values of CONFIG_FILES etc. instead of their
83747 # values after options handling.  Logging --version etc. is OK.
83748 exec 5>>config.log
83749 {
83750   echo
83751   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83752 ## Running $as_me. ##
83753 _ASBOX
83754 } >&5
83755 cat >&5 <<_CSEOF
83756
83757 This file was extended by package-unused $as_me version-unused, which was
83758 generated by GNU Autoconf 2.57.  Invocation command line was
83759
83760   CONFIG_FILES    = $CONFIG_FILES
83761   CONFIG_HEADERS  = $CONFIG_HEADERS
83762   CONFIG_LINKS    = $CONFIG_LINKS
83763   CONFIG_COMMANDS = $CONFIG_COMMANDS
83764   $ $0 $@
83765
83766 _CSEOF
83767 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
83768 echo >&5
83769 _ACEOF
83770
83771 # Files that config.status was made for.
83772 if test -n "$ac_config_files"; then
83773   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
83774 fi
83775
83776 if test -n "$ac_config_headers"; then
83777   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
83778 fi
83779
83780 if test -n "$ac_config_links"; then
83781   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
83782 fi
83783
83784 if test -n "$ac_config_commands"; then
83785   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
83786 fi
83787
83788 cat >>$CONFIG_STATUS <<\_ACEOF
83789
83790 ac_cs_usage="\
83791 \`$as_me' instantiates files from templates according to the
83792 current configuration.
83793
83794 Usage: $0 [OPTIONS] [FILE]...
83795
83796   -h, --help       print this help, then exit
83797   -V, --version    print version number, then exit
83798   -q, --quiet      do not print progress messages
83799   -d, --debug      don't remove temporary files
83800       --recheck    update $as_me by reconfiguring in the same conditions
83801   --file=FILE[:TEMPLATE]
83802                    instantiate the configuration file FILE
83803   --header=FILE[:TEMPLATE]
83804                    instantiate the configuration header FILE
83805
83806 Configuration files:
83807 $config_files
83808
83809 Configuration headers:
83810 $config_headers
83811
83812 Configuration commands:
83813 $config_commands
83814
83815 Report bugs to <bug-autoconf@gnu.org>."
83816 _ACEOF
83817
83818 cat >>$CONFIG_STATUS <<_ACEOF
83819 ac_cs_version="\\
83820 package-unused config.status version-unused
83821 configured by $0, generated by GNU Autoconf 2.57,
83822   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
83823
83824 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
83825 Free Software Foundation, Inc.
83826 This config.status script is free software; the Free Software Foundation
83827 gives unlimited permission to copy, distribute and modify it."
83828 srcdir=$srcdir
83829 INSTALL="$INSTALL"
83830 _ACEOF
83831
83832 cat >>$CONFIG_STATUS <<\_ACEOF
83833 # If no file are specified by the user, then we need to provide default
83834 # value.  By we need to know if files were specified by the user.
83835 ac_need_defaults=:
83836 while test $# != 0
83837 do
83838   case $1 in
83839   --*=*)
83840     ac_option=`expr "x$1" : 'x\([^=]*\)='`
83841     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
83842     ac_shift=:
83843     ;;
83844   -*)
83845     ac_option=$1
83846     ac_optarg=$2
83847     ac_shift=shift
83848     ;;
83849   *) # This is not an option, so the user has probably given explicit
83850      # arguments.
83851      ac_option=$1
83852      ac_need_defaults=false;;
83853   esac
83854
83855   case $ac_option in
83856   # Handling of the options.
83857 _ACEOF
83858 cat >>$CONFIG_STATUS <<\_ACEOF
83859   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83860     ac_cs_recheck=: ;;
83861   --version | --vers* | -V )
83862     echo "$ac_cs_version"; exit 0 ;;
83863   --he | --h)
83864     # Conflict between --help and --header
83865     { { echo "$as_me:$LINENO: error: ambiguous option: $1
83866 Try \`$0 --help' for more information." >&5
83867 echo "$as_me: error: ambiguous option: $1
83868 Try \`$0 --help' for more information." >&2;}
83869    { (exit 1); exit 1; }; };;
83870   --help | --hel | -h )
83871     echo "$ac_cs_usage"; exit 0 ;;
83872   --debug | --d* | -d )
83873     debug=: ;;
83874   --file | --fil | --fi | --f )
83875     $ac_shift
83876     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
83877     ac_need_defaults=false;;
83878   --header | --heade | --head | --hea )
83879     $ac_shift
83880     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
83881     ac_need_defaults=false;;
83882   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83883   | -silent | --silent | --silen | --sile | --sil | --si | --s)
83884     ac_cs_silent=: ;;
83885
83886   # This is an error.
83887   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
83888 Try \`$0 --help' for more information." >&5
83889 echo "$as_me: error: unrecognized option: $1
83890 Try \`$0 --help' for more information." >&2;}
83891    { (exit 1); exit 1; }; } ;;
83892
83893   *) ac_config_targets="$ac_config_targets $1" ;;
83894
83895   esac
83896   shift
83897 done
83898
83899 ac_configure_extra_args=
83900
83901 if $ac_cs_silent; then
83902   exec 6>/dev/null
83903   ac_configure_extra_args="$ac_configure_extra_args --silent"
83904 fi
83905
83906 _ACEOF
83907 cat >>$CONFIG_STATUS <<_ACEOF
83908 if \$ac_cs_recheck; then
83909   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
83910   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83911 fi
83912
83913 _ACEOF
83914
83915 cat >>$CONFIG_STATUS <<_ACEOF
83916 #
83917 # INIT-COMMANDS section.
83918 #
83919
83920
83921 srcdir="$srcdir"
83922 host="$host"
83923 target="$target"
83924 with_multisubdir="$with_multisubdir"
83925 with_multisrctop="$with_multisrctop"
83926 with_target_subdir="$with_target_subdir"
83927 ac_configure_args="${multilib_arg} ${ac_configure_args}"
83928 multi_basedir="$multi_basedir"
83929 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83930 CC="$CC"
83931
83932 # Variables needed in config.status (file generation) which aren't already
83933 # passed by autoconf.
83934 SUBDIRS="$SUBDIRS"
83935
83936
83937 _ACEOF
83938
83939
83940
83941 cat >>$CONFIG_STATUS <<\_ACEOF
83942 for ac_config_target in $ac_config_targets
83943 do
83944   case "$ac_config_target" in
83945   # Handling of arguments.
83946   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83947   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83948   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
83949   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83950   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83951   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83952   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83953   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
83954   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83955   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83956   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
83957   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83958   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
83959 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
83960    { (exit 1); exit 1; }; };;
83961   esac
83962 done
83963
83964 # If the user did not use the arguments to specify the items to instantiate,
83965 # then the envvar interface is used.  Set only those that are not.
83966 # We use the long form for the default assignment because of an extremely
83967 # bizarre bug on SunOS 4.1.3.
83968 if $ac_need_defaults; then
83969   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83970   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83971   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83972 fi
83973
83974 # Have a temporary directory for convenience.  Make it in the build tree
83975 # simply because there is no reason to put it here, and in addition,
83976 # creating and moving files from /tmp can sometimes cause problems.
83977 # Create a temporary directory, and hook for its removal unless debugging.
83978 $debug ||
83979 {
83980   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
83981   trap '{ (exit 1); exit 1; }' 1 2 13 15
83982 }
83983
83984 # Create a (secure) tmp directory for tmp files.
83985
83986 {
83987   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
83988   test -n "$tmp" && test -d "$tmp"
83989 }  ||
83990 {
83991   tmp=./confstat$$-$RANDOM
83992   (umask 077 && mkdir $tmp)
83993 } ||
83994 {
83995    echo "$me: cannot create a temporary directory in ." >&2
83996    { (exit 1); exit 1; }
83997 }
83998
83999 _ACEOF
84000
84001 cat >>$CONFIG_STATUS <<_ACEOF
84002
84003 #
84004 # CONFIG_FILES section.
84005 #
84006
84007 # No need to generate the scripts if there are no CONFIG_FILES.
84008 # This happens for instance when ./config.status config.h
84009 if test -n "\$CONFIG_FILES"; then
84010   # Protect against being on the right side of a sed subst in config.status.
84011   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
84012    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
84013 s,@SHELL@,$SHELL,;t t
84014 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
84015 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
84016 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
84017 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
84018 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
84019 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
84020 s,@exec_prefix@,$exec_prefix,;t t
84021 s,@prefix@,$prefix,;t t
84022 s,@program_transform_name@,$program_transform_name,;t t
84023 s,@bindir@,$bindir,;t t
84024 s,@sbindir@,$sbindir,;t t
84025 s,@libexecdir@,$libexecdir,;t t
84026 s,@datadir@,$datadir,;t t
84027 s,@sysconfdir@,$sysconfdir,;t t
84028 s,@sharedstatedir@,$sharedstatedir,;t t
84029 s,@localstatedir@,$localstatedir,;t t
84030 s,@libdir@,$libdir,;t t
84031 s,@includedir@,$includedir,;t t
84032 s,@oldincludedir@,$oldincludedir,;t t
84033 s,@infodir@,$infodir,;t t
84034 s,@mandir@,$mandir,;t t
84035 s,@build_alias@,$build_alias,;t t
84036 s,@host_alias@,$host_alias,;t t
84037 s,@target_alias@,$target_alias,;t t
84038 s,@DEFS@,$DEFS,;t t
84039 s,@ECHO_C@,$ECHO_C,;t t
84040 s,@ECHO_N@,$ECHO_N,;t t
84041 s,@ECHO_T@,$ECHO_T,;t t
84042 s,@LIBS@,$LIBS,;t t
84043 s,@libtool_VERSION@,$libtool_VERSION,;t t
84044 s,@multi_basedir@,$multi_basedir,;t t
84045 s,@build@,$build,;t t
84046 s,@build_cpu@,$build_cpu,;t t
84047 s,@build_vendor@,$build_vendor,;t t
84048 s,@build_os@,$build_os,;t t
84049 s,@host@,$host,;t t
84050 s,@host_cpu@,$host_cpu,;t t
84051 s,@host_vendor@,$host_vendor,;t t
84052 s,@host_os@,$host_os,;t t
84053 s,@target@,$target,;t t
84054 s,@target_cpu@,$target_cpu,;t t
84055 s,@target_vendor@,$target_vendor,;t t
84056 s,@target_os@,$target_os,;t t
84057 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
84058 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
84059 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
84060 s,@CYGPATH_W@,$CYGPATH_W,;t t
84061 s,@PACKAGE@,$PACKAGE,;t t
84062 s,@VERSION@,$VERSION,;t t
84063 s,@ACLOCAL@,$ACLOCAL,;t t
84064 s,@AUTOCONF@,$AUTOCONF,;t t
84065 s,@AUTOMAKE@,$AUTOMAKE,;t t
84066 s,@AUTOHEADER@,$AUTOHEADER,;t t
84067 s,@MAKEINFO@,$MAKEINFO,;t t
84068 s,@AMTAR@,$AMTAR,;t t
84069 s,@install_sh@,$install_sh,;t t
84070 s,@STRIP@,$STRIP,;t t
84071 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
84072 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
84073 s,@AWK@,$AWK,;t t
84074 s,@SET_MAKE@,$SET_MAKE,;t t
84075 s,@am__leading_dot@,$am__leading_dot,;t t
84076 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
84077 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
84078 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
84079 s,@CC@,$CC,;t t
84080 s,@ac_ct_CC@,$ac_ct_CC,;t t
84081 s,@EXEEXT@,$EXEEXT,;t t
84082 s,@OBJEXT@,$OBJEXT,;t t
84083 s,@CXX@,$CXX,;t t
84084 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
84085 s,@CFLAGS@,$CFLAGS,;t t
84086 s,@CXXFLAGS@,$CXXFLAGS,;t t
84087 s,@LN_S@,$LN_S,;t t
84088 s,@AS@,$AS,;t t
84089 s,@ac_ct_AS@,$ac_ct_AS,;t t
84090 s,@AR@,$AR,;t t
84091 s,@ac_ct_AR@,$ac_ct_AR,;t t
84092 s,@RANLIB@,$RANLIB,;t t
84093 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
84094 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
84095 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
84096 s,@MAINT@,$MAINT,;t t
84097 s,@LIBTOOL@,$LIBTOOL,;t t
84098 s,@CXXCPP@,$CXXCPP,;t t
84099 s,@CPPFLAGS@,$CPPFLAGS,;t t
84100 s,@enable_shared@,$enable_shared,;t t
84101 s,@enable_static@,$enable_static,;t t
84102 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
84103 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
84104 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
84105 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
84106 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
84107 s,@CSTDIO_H@,$CSTDIO_H,;t t
84108 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
84109 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
84110 s,@CPP@,$CPP,;t t
84111 s,@EGREP@,$EGREP,;t t
84112 s,@check_msgfmt@,$check_msgfmt,;t t
84113 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
84114 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
84115 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
84116 s,@USE_NLS@,$USE_NLS,;t t
84117 s,@CLOCALE_H@,$CLOCALE_H,;t t
84118 s,@CCODECVT_H@,$CCODECVT_H,;t t
84119 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
84120 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
84121 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
84122 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
84123 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
84124 s,@CMONEY_CC@,$CMONEY_CC,;t t
84125 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
84126 s,@CTIME_H@,$CTIME_H,;t t
84127 s,@CTIME_CC@,$CTIME_CC,;t t
84128 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
84129 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
84130 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
84131 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
84132 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
84133 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
84134 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
84135 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
84136 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
84137 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
84138 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
84139 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
84140 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
84141 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
84142 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
84143 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
84144 s,@WERROR@,$WERROR,;t t
84145 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
84146 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
84147 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
84148 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
84149 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
84150 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
84151 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
84152 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
84153 s,@baseline_dir@,$baseline_dir,;t t
84154 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
84155 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
84156 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
84157 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
84158 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
84159 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
84160 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
84161 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
84162 s,@gxx_include_dir@,$gxx_include_dir,;t t
84163 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
84164 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
84165 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
84166 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
84167 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
84168 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
84169 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
84170 s,@LIBOBJS@,$LIBOBJS,;t t
84171 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
84172 CEOF
84173
84174 _ACEOF
84175
84176   cat >>$CONFIG_STATUS <<\_ACEOF
84177   # Split the substitutions into bite-sized pieces for seds with
84178   # small command number limits, like on Digital OSF/1 and HP-UX.
84179   ac_max_sed_lines=48
84180   ac_sed_frag=1 # Number of current file.
84181   ac_beg=1 # First line for current file.
84182   ac_end=$ac_max_sed_lines # Line after last line for current file.
84183   ac_more_lines=:
84184   ac_sed_cmds=
84185   while $ac_more_lines; do
84186     if test $ac_beg -gt 1; then
84187       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
84188     else
84189       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
84190     fi
84191     if test ! -s $tmp/subs.frag; then
84192       ac_more_lines=false
84193     else
84194       # The purpose of the label and of the branching condition is to
84195       # speed up the sed processing (if there are no `@' at all, there
84196       # is no need to browse any of the substitutions).
84197       # These are the two extra sed commands mentioned above.
84198       (echo ':t
84199   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
84200       if test -z "$ac_sed_cmds"; then
84201         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
84202       else
84203         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
84204       fi
84205       ac_sed_frag=`expr $ac_sed_frag + 1`
84206       ac_beg=$ac_end
84207       ac_end=`expr $ac_end + $ac_max_sed_lines`
84208     fi
84209   done
84210   if test -z "$ac_sed_cmds"; then
84211     ac_sed_cmds=cat
84212   fi
84213 fi # test -n "$CONFIG_FILES"
84214
84215 _ACEOF
84216 cat >>$CONFIG_STATUS <<\_ACEOF
84217 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
84218   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
84219   case $ac_file in
84220   - | *:- | *:-:* ) # input from stdin
84221         cat >$tmp/stdin
84222         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84223         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84224   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84225         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84226   * )   ac_file_in=$ac_file.in ;;
84227   esac
84228
84229   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
84230   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
84231 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84232          X"$ac_file" : 'X\(//\)[^/]' \| \
84233          X"$ac_file" : 'X\(//\)$' \| \
84234          X"$ac_file" : 'X\(/\)' \| \
84235          .     : '\(.\)' 2>/dev/null ||
84236 echo X"$ac_file" |
84237     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84238           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84239           /^X\(\/\/\)$/{ s//\1/; q; }
84240           /^X\(\/\).*/{ s//\1/; q; }
84241           s/.*/./; q'`
84242   { if $as_mkdir_p; then
84243     mkdir -p "$ac_dir"
84244   else
84245     as_dir="$ac_dir"
84246     as_dirs=
84247     while test ! -d "$as_dir"; do
84248       as_dirs="$as_dir $as_dirs"
84249       as_dir=`(dirname "$as_dir") 2>/dev/null ||
84250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84251          X"$as_dir" : 'X\(//\)[^/]' \| \
84252          X"$as_dir" : 'X\(//\)$' \| \
84253          X"$as_dir" : 'X\(/\)' \| \
84254          .     : '\(.\)' 2>/dev/null ||
84255 echo X"$as_dir" |
84256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84257           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84258           /^X\(\/\/\)$/{ s//\1/; q; }
84259           /^X\(\/\).*/{ s//\1/; q; }
84260           s/.*/./; q'`
84261     done
84262     test ! -n "$as_dirs" || mkdir $as_dirs
84263   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
84264 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
84265    { (exit 1); exit 1; }; }; }
84266
84267   ac_builddir=.
84268
84269 if test "$ac_dir" != .; then
84270   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
84271   # A "../" for each directory in $ac_dir_suffix.
84272   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
84273 else
84274   ac_dir_suffix= ac_top_builddir=
84275 fi
84276
84277 case $srcdir in
84278   .)  # No --srcdir option.  We are building in place.
84279     ac_srcdir=.
84280     if test -z "$ac_top_builddir"; then
84281        ac_top_srcdir=.
84282     else
84283        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
84284     fi ;;
84285   [\\/]* | ?:[\\/]* )  # Absolute path.
84286     ac_srcdir=$srcdir$ac_dir_suffix;
84287     ac_top_srcdir=$srcdir ;;
84288   *) # Relative path.
84289     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
84290     ac_top_srcdir=$ac_top_builddir$srcdir ;;
84291 esac
84292 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
84293 # absolute.
84294 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
84295 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
84296 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
84297 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
84298
84299
84300   case $INSTALL in
84301   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84302   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
84303   esac
84304
84305   if test x"$ac_file" != x-; then
84306     { echo "$as_me:$LINENO: creating $ac_file" >&5
84307 echo "$as_me: creating $ac_file" >&6;}
84308     rm -f "$ac_file"
84309   fi
84310   # Let's still pretend it is `configure' which instantiates (i.e., don't
84311   # use $as_me), people would be surprised to read:
84312   #    /* config.h.  Generated by config.status.  */
84313   if test x"$ac_file" = x-; then
84314     configure_input=
84315   else
84316     configure_input="$ac_file.  "
84317   fi
84318   configure_input=$configure_input"Generated from `echo $ac_file_in |
84319                                      sed 's,.*/,,'` by configure."
84320
84321   # First look for the input files in the build tree, otherwise in the
84322   # src tree.
84323   ac_file_inputs=`IFS=:
84324     for f in $ac_file_in; do
84325       case $f in
84326       -) echo $tmp/stdin ;;
84327       [\\/$]*)
84328          # Absolute (can't be DOS-style, as IFS=:)
84329          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84330 echo "$as_me: error: cannot find input file: $f" >&2;}
84331    { (exit 1); exit 1; }; }
84332          echo $f;;
84333       *) # Relative
84334          if test -f "$f"; then
84335            # Build tree
84336            echo $f
84337          elif test -f "$srcdir/$f"; then
84338            # Source tree
84339            echo $srcdir/$f
84340          else
84341            # /dev/null tree
84342            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84343 echo "$as_me: error: cannot find input file: $f" >&2;}
84344    { (exit 1); exit 1; }; }
84345          fi;;
84346       esac
84347     done` || { (exit 1); exit 1; }
84348 _ACEOF
84349 cat >>$CONFIG_STATUS <<_ACEOF
84350   sed "$ac_vpsub
84351 $extrasub
84352 _ACEOF
84353 cat >>$CONFIG_STATUS <<\_ACEOF
84354 :t
84355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84356 s,@configure_input@,$configure_input,;t t
84357 s,@srcdir@,$ac_srcdir,;t t
84358 s,@abs_srcdir@,$ac_abs_srcdir,;t t
84359 s,@top_srcdir@,$ac_top_srcdir,;t t
84360 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
84361 s,@builddir@,$ac_builddir,;t t
84362 s,@abs_builddir@,$ac_abs_builddir,;t t
84363 s,@top_builddir@,$ac_top_builddir,;t t
84364 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
84365 s,@INSTALL@,$ac_INSTALL,;t t
84366 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
84367   rm -f $tmp/stdin
84368   if test x"$ac_file" != x-; then
84369     mv $tmp/out $ac_file
84370   else
84371     cat $tmp/out
84372     rm -f $tmp/out
84373   fi
84374
84375   # Run the commands associated with the file.
84376   case $ac_file in
84377     scripts/check_survey ) chmod +x scripts/check_survey ;;
84378     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
84379   esac
84380 done
84381 _ACEOF
84382 cat >>$CONFIG_STATUS <<\_ACEOF
84383
84384 #
84385 # CONFIG_HEADER section.
84386 #
84387
84388 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
84389 # NAME is the cpp macro being defined and VALUE is the value it is being given.
84390 #
84391 # ac_d sets the value in "#define NAME VALUE" lines.
84392 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
84393 ac_dB='[        ].*$,\1#\2'
84394 ac_dC=' '
84395 ac_dD=',;t'
84396 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
84397 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
84398 ac_uB='$,\1#\2define\3'
84399 ac_uC=' '
84400 ac_uD=',;t'
84401
84402 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
84403   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
84404   case $ac_file in
84405   - | *:- | *:-:* ) # input from stdin
84406         cat >$tmp/stdin
84407         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84408         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84409   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
84410         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
84411   * )   ac_file_in=$ac_file.in ;;
84412   esac
84413
84414   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
84415 echo "$as_me: creating $ac_file" >&6;}
84416
84417   # First look for the input files in the build tree, otherwise in the
84418   # src tree.
84419   ac_file_inputs=`IFS=:
84420     for f in $ac_file_in; do
84421       case $f in
84422       -) echo $tmp/stdin ;;
84423       [\\/$]*)
84424          # Absolute (can't be DOS-style, as IFS=:)
84425          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84426 echo "$as_me: error: cannot find input file: $f" >&2;}
84427    { (exit 1); exit 1; }; }
84428          echo $f;;
84429       *) # Relative
84430          if test -f "$f"; then
84431            # Build tree
84432            echo $f
84433          elif test -f "$srcdir/$f"; then
84434            # Source tree
84435            echo $srcdir/$f
84436          else
84437            # /dev/null tree
84438            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
84439 echo "$as_me: error: cannot find input file: $f" >&2;}
84440    { (exit 1); exit 1; }; }
84441          fi;;
84442       esac
84443     done` || { (exit 1); exit 1; }
84444   # Remove the trailing spaces.
84445   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
84446
84447 _ACEOF
84448
84449 # Transform confdefs.h into two sed scripts, `conftest.defines' and
84450 # `conftest.undefs', that substitutes the proper values into
84451 # config.h.in to produce config.h.  The first handles `#define'
84452 # templates, and the second `#undef' templates.
84453 # And first: Protect against being on the right side of a sed subst in
84454 # config.status.  Protect against being in an unquoted here document
84455 # in config.status.
84456 rm -f conftest.defines conftest.undefs
84457 # Using a here document instead of a string reduces the quoting nightmare.
84458 # Putting comments in sed scripts is not portable.
84459 #
84460 # `end' is used to avoid that the second main sed command (meant for
84461 # 0-ary CPP macros) applies to n-ary macro definitions.
84462 # See the Autoconf documentation for `clear'.
84463 cat >confdef2sed.sed <<\_ACEOF
84464 s/[\\&,]/\\&/g
84465 s,[\\$`],\\&,g
84466 t clear
84467 : clear
84468 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
84469 t end
84470 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
84471 : end
84472 _ACEOF
84473 # If some macros were called several times there might be several times
84474 # the same #defines, which is useless.  Nevertheless, we may not want to
84475 # sort them, since we want the *last* AC-DEFINE to be honored.
84476 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
84477 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
84478 rm -f confdef2sed.sed
84479
84480 # This sed command replaces #undef with comments.  This is necessary, for
84481 # example, in the case of _POSIX_SOURCE, which is predefined and required
84482 # on some systems where configure will not decide to define it.
84483 cat >>conftest.undefs <<\_ACEOF
84484 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
84485 _ACEOF
84486
84487 # Break up conftest.defines because some shells have a limit on the size
84488 # of here documents, and old seds have small limits too (100 cmds).
84489 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
84490 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
84491 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
84492 echo '  :' >>$CONFIG_STATUS
84493 rm -f conftest.tail
84494 while grep . conftest.defines >/dev/null
84495 do
84496   # Write a limited-size here document to $tmp/defines.sed.
84497   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
84498   # Speed up: don't consider the non `#define' lines.
84499   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
84500   # Work around the forget-to-reset-the-flag bug.
84501   echo 't clr' >>$CONFIG_STATUS
84502   echo ': clr' >>$CONFIG_STATUS
84503   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
84504   echo 'CEOF
84505   sed -f $tmp/defines.sed $tmp/in >$tmp/out
84506   rm -f $tmp/in
84507   mv $tmp/out $tmp/in
84508 ' >>$CONFIG_STATUS
84509   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
84510   rm -f conftest.defines
84511   mv conftest.tail conftest.defines
84512 done
84513 rm -f conftest.defines
84514 echo '  fi # grep' >>$CONFIG_STATUS
84515 echo >>$CONFIG_STATUS
84516
84517 # Break up conftest.undefs because some shells have a limit on the size
84518 # of here documents, and old seds have small limits too (100 cmds).
84519 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
84520 rm -f conftest.tail
84521 while grep . conftest.undefs >/dev/null
84522 do
84523   # Write a limited-size here document to $tmp/undefs.sed.
84524   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
84525   # Speed up: don't consider the non `#undef'
84526   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
84527   # Work around the forget-to-reset-the-flag bug.
84528   echo 't clr' >>$CONFIG_STATUS
84529   echo ': clr' >>$CONFIG_STATUS
84530   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
84531   echo 'CEOF
84532   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
84533   rm -f $tmp/in
84534   mv $tmp/out $tmp/in
84535 ' >>$CONFIG_STATUS
84536   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
84537   rm -f conftest.undefs
84538   mv conftest.tail conftest.undefs
84539 done
84540 rm -f conftest.undefs
84541
84542 cat >>$CONFIG_STATUS <<\_ACEOF
84543   # Let's still pretend it is `configure' which instantiates (i.e., don't
84544   # use $as_me), people would be surprised to read:
84545   #    /* config.h.  Generated by config.status.  */
84546   if test x"$ac_file" = x-; then
84547     echo "/* Generated by configure.  */" >$tmp/config.h
84548   else
84549     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
84550   fi
84551   cat $tmp/in >>$tmp/config.h
84552   rm -f $tmp/in
84553   if test x"$ac_file" != x-; then
84554     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
84555       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
84556 echo "$as_me: $ac_file is unchanged" >&6;}
84557     else
84558       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
84559 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84560          X"$ac_file" : 'X\(//\)[^/]' \| \
84561          X"$ac_file" : 'X\(//\)$' \| \
84562          X"$ac_file" : 'X\(/\)' \| \
84563          .     : '\(.\)' 2>/dev/null ||
84564 echo X"$ac_file" |
84565     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84566           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84567           /^X\(\/\/\)$/{ s//\1/; q; }
84568           /^X\(\/\).*/{ s//\1/; q; }
84569           s/.*/./; q'`
84570       { if $as_mkdir_p; then
84571     mkdir -p "$ac_dir"
84572   else
84573     as_dir="$ac_dir"
84574     as_dirs=
84575     while test ! -d "$as_dir"; do
84576       as_dirs="$as_dir $as_dirs"
84577       as_dir=`(dirname "$as_dir") 2>/dev/null ||
84578 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84579          X"$as_dir" : 'X\(//\)[^/]' \| \
84580          X"$as_dir" : 'X\(//\)$' \| \
84581          X"$as_dir" : 'X\(/\)' \| \
84582          .     : '\(.\)' 2>/dev/null ||
84583 echo X"$as_dir" |
84584     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84585           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84586           /^X\(\/\/\)$/{ s//\1/; q; }
84587           /^X\(\/\).*/{ s//\1/; q; }
84588           s/.*/./; q'`
84589     done
84590     test ! -n "$as_dirs" || mkdir $as_dirs
84591   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
84592 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
84593    { (exit 1); exit 1; }; }; }
84594
84595       rm -f $ac_file
84596       mv $tmp/config.h $ac_file
84597     fi
84598   else
84599     cat $tmp/config.h
84600     rm -f $tmp/config.h
84601   fi
84602 # Compute $ac_file's index in $config_headers.
84603 _am_stamp_count=1
84604 for _am_header in $config_headers :; do
84605   case $_am_header in
84606     $ac_file | $ac_file:* )
84607       break ;;
84608     * )
84609       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84610   esac
84611 done
84612 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
84613 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84614          X$ac_file : 'X\(//\)[^/]' \| \
84615          X$ac_file : 'X\(//\)$' \| \
84616          X$ac_file : 'X\(/\)' \| \
84617          .     : '\(.\)' 2>/dev/null ||
84618 echo X$ac_file |
84619     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84620           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84621           /^X\(\/\/\)$/{ s//\1/; q; }
84622           /^X\(\/\).*/{ s//\1/; q; }
84623           s/.*/./; q'`/stamp-h$_am_stamp_count
84624 done
84625 _ACEOF
84626 cat >>$CONFIG_STATUS <<\_ACEOF
84627
84628 #
84629 # CONFIG_COMMANDS section.
84630 #
84631 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
84632   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
84633   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
84634   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
84635 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84636          X"$ac_dest" : 'X\(//\)[^/]' \| \
84637          X"$ac_dest" : 'X\(//\)$' \| \
84638          X"$ac_dest" : 'X\(/\)' \| \
84639          .     : '\(.\)' 2>/dev/null ||
84640 echo X"$ac_dest" |
84641     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
84642           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
84643           /^X\(\/\/\)$/{ s//\1/; q; }
84644           /^X\(\/\).*/{ s//\1/; q; }
84645           s/.*/./; q'`
84646   ac_builddir=.
84647
84648 if test "$ac_dir" != .; then
84649   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
84650   # A "../" for each directory in $ac_dir_suffix.
84651   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
84652 else
84653   ac_dir_suffix= ac_top_builddir=
84654 fi
84655
84656 case $srcdir in
84657   .)  # No --srcdir option.  We are building in place.
84658     ac_srcdir=.
84659     if test -z "$ac_top_builddir"; then
84660        ac_top_srcdir=.
84661     else
84662        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
84663     fi ;;
84664   [\\/]* | ?:[\\/]* )  # Absolute path.
84665     ac_srcdir=$srcdir$ac_dir_suffix;
84666     ac_top_srcdir=$srcdir ;;
84667   *) # Relative path.
84668     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
84669     ac_top_srcdir=$ac_top_builddir$srcdir ;;
84670 esac
84671 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
84672 # absolute.
84673 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
84674 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
84675 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
84676 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
84677
84678
84679   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
84680 echo "$as_me: executing $ac_dest commands" >&6;}
84681   case $ac_dest in
84682     default-1 )
84683 # Only add multilib support code if we just rebuilt the top-level
84684 # Makefile.
84685 case " $CONFIG_FILES " in
84686  *" Makefile "*)
84687    ac_file=Makefile . ${multi_basedir}/config-ml.in
84688    ;;
84689 esac ;;
84690     default ) if test -n "$CONFIG_FILES"; then
84691    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
84692    # that multilib installs will end up installed in the correct place.
84693    # The testsuite needs it for multilib-aware ABI baseline files.
84694    # To work around this not being passed down from config-ml.in ->
84695    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
84696    # append it here.  Only modify Makefiles that have just been created.
84697    #
84698    # Also, get rid of this simulated-VPATH thing that automake does.
84699    cat > vpsed << \_EOF
84700 s!`test -f '$<' || echo '$(srcdir)/'`!!
84701 _EOF
84702    for i in $SUBDIRS; do
84703     case $CONFIG_FILES in
84704      *${i}/Makefile*)
84705        #echo "Adding MULTISUBDIR to $i/Makefile"
84706        sed -f vpsed $i/Makefile > tmp
84707        grep '^MULTISUBDIR =' Makefile >> tmp
84708        mv tmp $i/Makefile
84709        ;;
84710     esac
84711    done
84712    rm vpsed
84713  fi
84714  (cd include && ${MAKE-make})
84715  ;;
84716   esac
84717 done
84718 _ACEOF
84719
84720 cat >>$CONFIG_STATUS <<\_ACEOF
84721
84722 { (exit 0); exit 0; }
84723 _ACEOF
84724 chmod +x $CONFIG_STATUS
84725 ac_clean_files=$ac_clean_files_save
84726
84727
84728 # configure is writing to config.log, and then calls config.status.
84729 # config.status does its own redirection, appending to config.log.
84730 # Unfortunately, on DOS this fails, as config.log is still kept open
84731 # by configure, so config.status won't be able to write to it; its
84732 # output is simply discarded.  So we exec the FD to /dev/null,
84733 # effectively closing config.log, so it can be properly (re)opened and
84734 # appended to by config.status.  When coming back to configure, we
84735 # need to make the FD available again.
84736 if test "$no_create" != yes; then
84737   ac_cs_success=:
84738   ac_config_status_args=
84739   test "$silent" = yes &&
84740     ac_config_status_args="$ac_config_status_args --quiet"
84741   exec 5>/dev/null
84742   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84743   exec 5>>config.log
84744   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84745   # would make configure fail if this is the last instruction.
84746   $ac_cs_success || { (exit 1); exit 1; }
84747 fi
84748