OSDN Git Service

2004-01-11 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.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 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_INC_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-cheaders=KIND  construct "C" headers for g++
867                           [default=$c_model]
868   --enable-c-mbchar       enable multibyte (wide) characters
869                           [default=yes]
870   --enable-c99            turns on ISO/IEC 9899:1999 support
871                           [default=yes]
872   --enable-long-long      enables I/O support for 'long long'
873                           [default=yes]
874   --enable-concept-checks use Boost-derived template checks [default=no]
875   --enable-libstdcxx-debug-flags=FLAGS
876                           pass compiler FLAGS when building debug library
877                           [default="-g3 -O0"]
878   --enable-libstdcxx-debug
879                           build extra debug library [default=no]
880   --enable-cxx-flags=FLAGS
881                           pass compiler FLAGS when building library
882                           [default=]
883   --enable-symvers=STYLE  enables symbol versioning of the shared library
884                           [default=yes]
885   --enable-version-specific-runtime-libs
886                           Specify that runtime libraries should be installed
887                           in a compiler-specific directory
888
889 Optional Packages:
890   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
891   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
892   --with-target-subdir=SUBDIR
893                           configuring in a subdirectory
894   --with-cross-host=HOST  configuring with a cross compiler
895   --with-newlib           assume newlib as a system C library
896   --with-gnu-ld           assume the C compiler uses GNU ld default=no
897   --with-pic              try to use only PIC/non-PIC objects default=use both
898   --with-gxx-include-dir=DIR
899                           installation directory for include files
900
901 Some influential environment variables:
902   CC          C compiler command
903   CFLAGS      C compiler flags
904   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
905               nonstandard directory <lib dir>
906   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
907               headers in a nonstandard directory <include dir>
908   CXX         C++ compiler command
909   CXXFLAGS    C++ compiler flags
910   CXXCPP      C++ preprocessor
911   CPP         C preprocessor
912
913 Use these variables to override the choices made by `configure' or to help
914 it to find libraries and programs with nonstandard names/locations.
915
916 _ACEOF
917 fi
918
919 if test "$ac_init_help" = "recursive"; then
920   # If there are subdirs, report their specific --help.
921   ac_popdir=`pwd`
922   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
923     test -d $ac_dir || continue
924     ac_builddir=.
925
926 if test "$ac_dir" != .; then
927   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
928   # A "../" for each directory in $ac_dir_suffix.
929   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
930 else
931   ac_dir_suffix= ac_top_builddir=
932 fi
933
934 case $srcdir in
935   .)  # No --srcdir option.  We are building in place.
936     ac_srcdir=.
937     if test -z "$ac_top_builddir"; then
938        ac_top_srcdir=.
939     else
940        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
941     fi ;;
942   [\\/]* | ?:[\\/]* )  # Absolute path.
943     ac_srcdir=$srcdir$ac_dir_suffix;
944     ac_top_srcdir=$srcdir ;;
945   *) # Relative path.
946     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
947     ac_top_srcdir=$ac_top_builddir$srcdir ;;
948 esac
949 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
950 # absolute.
951 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
952 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
953 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
954 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
955
956     cd $ac_dir
957     # Check for guested configure; otherwise get Cygnus style configure.
958     if test -f $ac_srcdir/configure.gnu; then
959       echo
960       $SHELL $ac_srcdir/configure.gnu  --help=recursive
961     elif test -f $ac_srcdir/configure; then
962       echo
963       $SHELL $ac_srcdir/configure  --help=recursive
964     elif test -f $ac_srcdir/configure.ac ||
965            test -f $ac_srcdir/configure.in; then
966       echo
967       $ac_configure --help
968     else
969       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970     fi
971     cd $ac_popdir
972   done
973 fi
974
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
977   cat <<\_ACEOF
978 package-unused configure version-unused
979 generated by GNU Autoconf 2.57
980
981 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
982 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
985 _ACEOF
986   exit 0
987 fi
988 exec 5>config.log
989 cat >&5 <<_ACEOF
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
992
993 It was created by package-unused $as_me version-unused, which was
994 generated by GNU Autoconf 2.57.  Invocation command line was
995
996   $ $0 $@
997
998 _ACEOF
999 {
1000 cat <<_ASUNAME
1001 ## --------- ##
1002 ## Platform. ##
1003 ## --------- ##
1004
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1010
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1013
1014 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1015 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1018 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1019 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1020 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1021
1022 _ASUNAME
1023
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 for as_dir in $PATH
1026 do
1027   IFS=$as_save_IFS
1028   test -z "$as_dir" && as_dir=.
1029   echo "PATH: $as_dir"
1030 done
1031
1032 } >&5
1033
1034 cat >&5 <<_ACEOF
1035
1036
1037 ## ----------- ##
1038 ## Core tests. ##
1039 ## ----------- ##
1040
1041 _ACEOF
1042
1043
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_configure_args=
1050 ac_configure_args0=
1051 ac_configure_args1=
1052 ac_sep=
1053 ac_must_keep_next=false
1054 for ac_pass in 1 2
1055 do
1056   for ac_arg
1057   do
1058     case $ac_arg in
1059     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061     | -silent | --silent | --silen | --sile | --sil)
1062       continue ;;
1063     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065     esac
1066     case $ac_pass in
1067     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068     2)
1069       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070       if test $ac_must_keep_next = true; then
1071         ac_must_keep_next=false # Got value, back to normal.
1072       else
1073         case $ac_arg in
1074           *=* | --config-cache | -C | -disable-* | --disable-* \
1075           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077           | -with-* | --with-* | -without-* | --without-* | --x)
1078             case "$ac_configure_args0 " in
1079               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080             esac
1081             ;;
1082           -* ) ac_must_keep_next=true ;;
1083         esac
1084       fi
1085       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086       # Get rid of the leading space.
1087       ac_sep=" "
1088       ;;
1089     esac
1090   done
1091 done
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log.  We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101   # Save into config.log some information that might help in debugging.
1102   {
1103     echo
1104
1105     cat <<\_ASBOX
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1109 _ASBOX
1110     echo
1111     # The following way of writing the cache mishandles newlines in values,
1112 {
1113   (set) 2>&1 |
1114     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115     *ac_space=\ *)
1116       sed -n \
1117         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119       ;;
1120     *)
1121       sed -n \
1122         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123       ;;
1124     esac;
1125 }
1126     echo
1127
1128     cat <<\_ASBOX
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1132 _ASBOX
1133     echo
1134     for ac_var in $ac_subst_vars
1135     do
1136       eval ac_val=$`echo $ac_var`
1137       echo "$ac_var='"'"'$ac_val'"'"'"
1138     done | sort
1139     echo
1140
1141     if test -n "$ac_subst_files"; then
1142       cat <<\_ASBOX
1143 ## ------------- ##
1144 ## Output files. ##
1145 ## ------------- ##
1146 _ASBOX
1147       echo
1148       for ac_var in $ac_subst_files
1149       do
1150         eval ac_val=$`echo $ac_var`
1151         echo "$ac_var='"'"'$ac_val'"'"'"
1152       done | sort
1153       echo
1154     fi
1155
1156     if test -s confdefs.h; then
1157       cat <<\_ASBOX
1158 ## ----------- ##
1159 ## confdefs.h. ##
1160 ## ----------- ##
1161 _ASBOX
1162       echo
1163       sed "/^$/d" confdefs.h | sort
1164       echo
1165     fi
1166     test "$ac_signal" != 0 &&
1167       echo "$as_me: caught signal $ac_signal"
1168     echo "$as_me: exit $exit_status"
1169   } >&5
1170   rm -f core core.* *.core &&
1171   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172     exit $exit_status
1173      ' 0
1174 for ac_signal in 1 2 13 15; do
1175   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 done
1177 ac_signal=0
1178
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 echo >confdefs.h
1183
1184 # Predefined preprocessor variables.
1185
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 _ACEOF
1189
1190
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 _ACEOF
1194
1195
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 _ACEOF
1199
1200
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 _ACEOF
1204
1205
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 _ACEOF
1209
1210
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214   if test "x$prefix" != xNONE; then
1215     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216   else
1217     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218   fi
1219 fi
1220 for ac_site_file in $CONFIG_SITE; do
1221   if test -r "$ac_site_file"; then
1222     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224     sed 's/^/| /' "$ac_site_file" >&5
1225     . "$ac_site_file"
1226   fi
1227 done
1228
1229 if test -r "$cache_file"; then
1230   # Some versions of bash will fail to source /dev/null (special
1231   # files actually), so we avoid doing that.
1232   if test -f "$cache_file"; then
1233     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1235     case $cache_file in
1236       [\\/]* | ?:[\\/]* ) . $cache_file;;
1237       *)                      . ./$cache_file;;
1238     esac
1239   fi
1240 else
1241   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1243   >$cache_file
1244 fi
1245
1246 # Check that the precious variables saved in the cache have kept the same
1247 # value.
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252   eval ac_new_set=\$ac_env_${ac_var}_set
1253   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254   eval ac_new_val="\$ac_env_${ac_var}_value"
1255   case $ac_old_set,$ac_new_set in
1256     set,)
1257       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259       ac_cache_corrupted=: ;;
1260     ,set)
1261       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263       ac_cache_corrupted=: ;;
1264     ,);;
1265     *)
1266       if test "x$ac_old_val" != "x$ac_new_val"; then
1267         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1270 echo "$as_me:   former value:  $ac_old_val" >&2;}
1271         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1272 echo "$as_me:   current value: $ac_new_val" >&2;}
1273         ac_cache_corrupted=:
1274       fi;;
1275   esac
1276   # Pass precious variables to config.status.
1277   if test "$ac_new_set" = set; then
1278     case $ac_new_val in
1279     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281     *) ac_arg=$ac_var=$ac_new_val ;;
1282     esac
1283     case " $ac_configure_args " in
1284       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1285       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286     esac
1287   fi
1288 done
1289 if $ac_cache_corrupted; then
1290   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294    { (exit 1); exit 1; }; }
1295 fi
1296
1297 ac_ext=c
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1302
1303
1304
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           ac_config_headers="$ac_config_headers config.h"
1331
1332
1333 # This works around the fact that libtool configuration may change LD
1334 # for this particular configuration, but some shells, instead of
1335 # keeping the changes in LD private, export them just because LD is
1336 # exported.  Only used at the end of this file.
1337 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1338
1339 # For libtool versioning info, format is CURRENT:REVISION:AGE
1340 libtool_VERSION=6:0:0
1341
1342
1343 # Find the rest of the source tree framework.
1344
1345   # Sets up multi_basedir, which is srcdir/.. plus the usual
1346   # "multi_source_toprel_bottom_adjust" lunacy as needed.
1347   # Default to --enable-multilib
1348 # Check whether --enable-multilib or --disable-multilib was given.
1349 if test "${enable_multilib+set}" = set; then
1350   enableval="$enable_multilib"
1351   case "$enableval" in
1352   yes) multilib=yes ;;
1353   no)  multilib=no ;;
1354   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1355 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1356    { (exit 1); exit 1; }; } ;;
1357  esac
1358 else
1359   multilib=yes
1360 fi;
1361
1362 # We may get other options which we leave undocumented:
1363 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1364 # See config-ml.in if you want the gory details.
1365
1366 if test "$srcdir" = "."; then
1367   if test "$with_target_subdir" != "."; then
1368     multi_basedir="$srcdir/$with_multisrctop../.."
1369   else
1370     multi_basedir="$srcdir/$with_multisrctop.."
1371   fi
1372 else
1373   multi_basedir="$srcdir/.."
1374 fi
1375
1376
1377           ac_config_commands="$ac_config_commands default-1"
1378
1379
1380   # The generated code is exactly the same, except that automake's looks in
1381   # ".. $srcdir/.." and autoconf's looks in multi_basedir.  Apparently other
1382   # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1383   # know what they are or what the other differences might be (and they keep
1384   # changing anyhow).
1385   #
1386   # Looking in multi_basedir seems smarter, so actually execute that branch.
1387   if false; then
1388     # this is for automake
1389     ac_aux_dir=
1390 for ac_dir in .. $srcdir/..; do
1391   if test -f $ac_dir/install-sh; then
1392     ac_aux_dir=$ac_dir
1393     ac_install_sh="$ac_aux_dir/install-sh -c"
1394     break
1395   elif test -f $ac_dir/install.sh; then
1396     ac_aux_dir=$ac_dir
1397     ac_install_sh="$ac_aux_dir/install.sh -c"
1398     break
1399   elif test -f $ac_dir/shtool; then
1400     ac_aux_dir=$ac_dir
1401     ac_install_sh="$ac_aux_dir/shtool install -c"
1402     break
1403   fi
1404 done
1405 if test -z "$ac_aux_dir"; then
1406   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1407 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1408    { (exit 1); exit 1; }; }
1409 fi
1410 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1411 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1412 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1413
1414   else
1415     # this is for autoconf
1416     ac_aux_dir=
1417 for ac_dir in ${multi_basedir}; do
1418   if test -f $ac_dir/install-sh; then
1419     ac_aux_dir=$ac_dir
1420     ac_install_sh="$ac_aux_dir/install-sh -c"
1421     break
1422   elif test -f $ac_dir/install.sh; then
1423     ac_aux_dir=$ac_dir
1424     ac_install_sh="$ac_aux_dir/install.sh -c"
1425     break
1426   elif test -f $ac_dir/shtool; then
1427     ac_aux_dir=$ac_dir
1428     ac_install_sh="$ac_aux_dir/shtool install -c"
1429     break
1430   fi
1431 done
1432 if test -z "$ac_aux_dir"; then
1433   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1434 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1435    { (exit 1); exit 1; }; }
1436 fi
1437 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1438 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1439 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1440
1441   fi
1442
1443
1444
1445 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1446 #
1447 # You will slowly go insane if you do not grok the following fact:  when
1448 # building v3 as part of the compiler, the top-level /target/ becomes the
1449 # library's /host/.  configure then causes --target to default to --host,
1450 # exactly like any other package using autoconf.  Therefore, 'target' and
1451 # 'host' will always be the same.  This makes sense both for native and
1452 # cross compilers, just think about it for a little while.  :-)
1453 #
1454 # Also, if v3 is being configured as part of a cross compiler, the top-level
1455 # configure script will pass the "real" host as $with_cross_host.
1456 #
1457 # Do not delete or change the following two lines.  For why, see
1458 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1459 # Make sure we can run config.sub.
1460 $ac_config_sub sun4 >/dev/null 2>&1 ||
1461   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1462 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1463    { (exit 1); exit 1; }; }
1464
1465 echo "$as_me:$LINENO: checking build system type" >&5
1466 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1467 if test "${ac_cv_build+set}" = set; then
1468   echo $ECHO_N "(cached) $ECHO_C" >&6
1469 else
1470   ac_cv_build_alias=$build_alias
1471 test -z "$ac_cv_build_alias" &&
1472   ac_cv_build_alias=`$ac_config_guess`
1473 test -z "$ac_cv_build_alias" &&
1474   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1475 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1476    { (exit 1); exit 1; }; }
1477 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1478   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1479 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1480    { (exit 1); exit 1; }; }
1481
1482 fi
1483 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1484 echo "${ECHO_T}$ac_cv_build" >&6
1485 build=$ac_cv_build
1486 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1487 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1488 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1489
1490
1491 echo "$as_me:$LINENO: checking host system type" >&5
1492 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1493 if test "${ac_cv_host+set}" = set; then
1494   echo $ECHO_N "(cached) $ECHO_C" >&6
1495 else
1496   ac_cv_host_alias=$host_alias
1497 test -z "$ac_cv_host_alias" &&
1498   ac_cv_host_alias=$ac_cv_build_alias
1499 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1500   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1501 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1502    { (exit 1); exit 1; }; }
1503
1504 fi
1505 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1506 echo "${ECHO_T}$ac_cv_host" >&6
1507 host=$ac_cv_host
1508 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1509 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1510 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1511
1512
1513 echo "$as_me:$LINENO: checking target system type" >&5
1514 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1515 if test "${ac_cv_target+set}" = set; then
1516   echo $ECHO_N "(cached) $ECHO_C" >&6
1517 else
1518   ac_cv_target_alias=$target_alias
1519 test "x$ac_cv_target_alias" = "x" &&
1520   ac_cv_target_alias=$ac_cv_host_alias
1521 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1522   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1523 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1524    { (exit 1); exit 1; }; }
1525
1526 fi
1527 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1528 echo "${ECHO_T}$ac_cv_target" >&6
1529 target=$ac_cv_target
1530 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1531 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1532 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1533
1534
1535 # The aliases save the names the user supplied, while $host etc.
1536 # will get canonicalized.
1537 test -n "$target_alias" &&
1538   test "$program_prefix$program_suffix$program_transform_name" = \
1539     NONENONEs,x,x, &&
1540   program_prefix=${target_alias}-
1541 target_alias=${target_alias-$host_alias}
1542
1543 # Handy for debugging:
1544 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1545
1546 if test "$build" != "$host"; then
1547   # We are being configured with some form of cross compiler.
1548   GLIBCXX_IS_NATIVE=false
1549
1550 else
1551   GLIBCXX_IS_NATIVE=true
1552 fi
1553
1554 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1555 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1556 #  1.x:  minimum required version
1557 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1558 #              of other PACKAGE_* variables will, however, and there's nothing
1559 #              we can do about that; they come from AC_INIT).
1560 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1561 #            file in the top srcdir, etc, etc), so stop complaining.
1562 #  no-dependencies:  turns off auto dependency generation (just for now)
1563 #  -Wall:  turns on all automake warnings...
1564 #  -Wno-portability:  ...except this one, since GNU make is now required.
1565 am__api_version="1.7"
1566 # Find a good install program.  We prefer a C program (faster),
1567 # so one script is as good as another.  But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1572 # AIX /bin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # ./install, which can be erroneously created by make from ./install.sh.
1578 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1579 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1580 if test -z "$INSTALL"; then
1581 if test "${ac_cv_path_install+set}" = set; then
1582   echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1585 for as_dir in $PATH
1586 do
1587   IFS=$as_save_IFS
1588   test -z "$as_dir" && as_dir=.
1589   # Account for people who put trailing slashes in PATH elements.
1590 case $as_dir/ in
1591   ./ | .// | /cC/* | \
1592   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1593   /usr/ucb/* ) ;;
1594   *)
1595     # OSF1 and SCO ODT 3.0 have their own names for install.
1596     # Don't use installbsd from OSF since it installs stuff as root
1597     # by default.
1598     for ac_prog in ginstall scoinst install; do
1599       for ac_exec_ext in '' $ac_executable_extensions; do
1600         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1601           if test $ac_prog = install &&
1602             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1603             # AIX install.  It has an incompatible calling convention.
1604             :
1605           elif test $ac_prog = install &&
1606             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1607             # program-specific install script used by HP pwplus--don't use.
1608             :
1609           else
1610             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1611             break 3
1612           fi
1613         fi
1614       done
1615     done
1616     ;;
1617 esac
1618 done
1619
1620
1621 fi
1622   if test "${ac_cv_path_install+set}" = set; then
1623     INSTALL=$ac_cv_path_install
1624   else
1625     # As a last resort, use the slow shell script.  We don't cache a
1626     # path for INSTALL within a source directory, because that will
1627     # break other packages using the cache if that directory is
1628     # removed, or if the path is relative.
1629     INSTALL=$ac_install_sh
1630   fi
1631 fi
1632 echo "$as_me:$LINENO: result: $INSTALL" >&5
1633 echo "${ECHO_T}$INSTALL" >&6
1634
1635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1636 # It thinks the first close brace ends the variable substitution.
1637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1638
1639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1640
1641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1642
1643 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1644 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1645 # Just in case
1646 sleep 1
1647 echo timestamp > conftest.file
1648 # Do `set' in a subshell so we don't clobber the current shell's
1649 # arguments.  Must try -L first in case configure is actually a
1650 # symlink; some systems play weird games with the mod time of symlinks
1651 # (eg FreeBSD returns the mod time of the symlink's containing
1652 # directory).
1653 if (
1654    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1655    if test "$*" = "X"; then
1656       # -L didn't work.
1657       set X `ls -t $srcdir/configure conftest.file`
1658    fi
1659    rm -f conftest.file
1660    if test "$*" != "X $srcdir/configure conftest.file" \
1661       && test "$*" != "X conftest.file $srcdir/configure"; then
1662
1663       # If neither matched, then we have a broken ls.  This can happen
1664       # if, for instance, CONFIG_SHELL is bash and it inherits a
1665       # broken ls alias from the environment.  This has actually
1666       # happened.  Such a system could not be considered "sane".
1667       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&5
1669 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1670 alias in your environment" >&2;}
1671    { (exit 1); exit 1; }; }
1672    fi
1673
1674    test "$2" = conftest.file
1675    )
1676 then
1677    # Ok.
1678    :
1679 else
1680    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1681 Check your system clock" >&5
1682 echo "$as_me: error: newly created file is older than distributed files!
1683 Check your system clock" >&2;}
1684    { (exit 1); exit 1; }; }
1685 fi
1686 echo "$as_me:$LINENO: result: yes" >&5
1687 echo "${ECHO_T}yes" >&6
1688 test "$program_prefix" != NONE &&
1689   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1690 # Use a double $ so make ignores it.
1691 test "$program_suffix" != NONE &&
1692   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1693 # Double any \ or $.  echo might interpret backslashes.
1694 # By default was `s,x,x', remove it if useless.
1695 cat <<\_ACEOF >conftest.sed
1696 s/[\\$]/&&/g;s/;s,x,x,$//
1697 _ACEOF
1698 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1699 rm conftest.sed
1700
1701
1702 # expand $ac_aux_dir to an absolute path
1703 am_aux_dir=`cd $ac_aux_dir && pwd`
1704
1705 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1706 # Use eval to expand $SHELL
1707 if eval "$MISSING --run true"; then
1708   am_missing_run="$MISSING --run "
1709 else
1710   am_missing_run=
1711   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1712 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1713 fi
1714
1715 for ac_prog in gawk mawk nawk awk
1716 do
1717   # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy $ac_prog; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_AWK+set}" = set; then
1722   echo $ECHO_N "(cached) $ECHO_C" >&6
1723 else
1724   if test -n "$AWK"; then
1725   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1726 else
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 for as_dir in $PATH
1729 do
1730   IFS=$as_save_IFS
1731   test -z "$as_dir" && as_dir=.
1732   for ac_exec_ext in '' $ac_executable_extensions; do
1733   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734     ac_cv_prog_AWK="$ac_prog"
1735     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736     break 2
1737   fi
1738 done
1739 done
1740
1741 fi
1742 fi
1743 AWK=$ac_cv_prog_AWK
1744 if test -n "$AWK"; then
1745   echo "$as_me:$LINENO: result: $AWK" >&5
1746 echo "${ECHO_T}$AWK" >&6
1747 else
1748   echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1750 fi
1751
1752   test -n "$AWK" && break
1753 done
1754
1755 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1757 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1758 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1759   echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761   cat >conftest.make <<\_ACEOF
1762 all:
1763         @echo 'ac_maketemp="$(MAKE)"'
1764 _ACEOF
1765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1766 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1767 if test -n "$ac_maketemp"; then
1768   eval ac_cv_prog_make_${ac_make}_set=yes
1769 else
1770   eval ac_cv_prog_make_${ac_make}_set=no
1771 fi
1772 rm -f conftest.make
1773 fi
1774 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1775   echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1777   SET_MAKE=
1778 else
1779   echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781   SET_MAKE="MAKE=${MAKE-make}"
1782 fi
1783
1784 rm -rf .tst 2>/dev/null
1785 mkdir .tst 2>/dev/null
1786 if test -d .tst; then
1787   am__leading_dot=.
1788 else
1789   am__leading_dot=_
1790 fi
1791 rmdir .tst 2>/dev/null
1792
1793  # test to see if srcdir already configured
1794 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1795    test -f $srcdir/config.status; then
1796   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1797 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1798    { (exit 1); exit 1; }; }
1799 fi
1800
1801 # test whether we have cygpath
1802 if test -z "$CYGPATH_W"; then
1803   if (cygpath --version) >/dev/null 2>/dev/null; then
1804     CYGPATH_W='cygpath -w'
1805   else
1806     CYGPATH_W=echo
1807   fi
1808 fi
1809
1810
1811 # Define the identity of the package.
1812  PACKAGE='libstdc++'
1813  VERSION='version-unused'
1814
1815
1816 # Some tools Automake needs.
1817
1818 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1819
1820
1821 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1822
1823
1824 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1825
1826
1827 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1828
1829
1830 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1831
1832
1833 AMTAR=${AMTAR-"${am_missing_run}tar"}
1834
1835 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1836
1837 # Installed binaries are usually stripped using `strip' when the user
1838 # run `make install-strip'.  However `strip' might not be the right
1839 # tool to use in cross-compilation environments, therefore Automake
1840 # will honor the `STRIP' environment variable to overrule this program.
1841 if test "$cross_compiling" != no; then
1842   if test -n "$ac_tool_prefix"; then
1843   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1844 set dummy ${ac_tool_prefix}strip; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_STRIP+set}" = set; then
1848   echo $ECHO_N "(cached) $ECHO_C" >&6
1849 else
1850   if test -n "$STRIP"; then
1851   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1852 else
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 for as_dir in $PATH
1855 do
1856   IFS=$as_save_IFS
1857   test -z "$as_dir" && as_dir=.
1858   for ac_exec_ext in '' $ac_executable_extensions; do
1859   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1861     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862     break 2
1863   fi
1864 done
1865 done
1866
1867 fi
1868 fi
1869 STRIP=$ac_cv_prog_STRIP
1870 if test -n "$STRIP"; then
1871   echo "$as_me:$LINENO: result: $STRIP" >&5
1872 echo "${ECHO_T}$STRIP" >&6
1873 else
1874   echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1876 fi
1877
1878 fi
1879 if test -z "$ac_cv_prog_STRIP"; then
1880   ac_ct_STRIP=$STRIP
1881   # Extract the first word of "strip", so it can be a program name with args.
1882 set dummy strip; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1886   echo $ECHO_N "(cached) $ECHO_C" >&6
1887 else
1888   if test -n "$ac_ct_STRIP"; then
1889   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1890 else
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892 for as_dir in $PATH
1893 do
1894   IFS=$as_save_IFS
1895   test -z "$as_dir" && as_dir=.
1896   for ac_exec_ext in '' $ac_executable_extensions; do
1897   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898     ac_cv_prog_ac_ct_STRIP="strip"
1899     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1900     break 2
1901   fi
1902 done
1903 done
1904
1905   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1906 fi
1907 fi
1908 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1909 if test -n "$ac_ct_STRIP"; then
1910   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1911 echo "${ECHO_T}$ac_ct_STRIP" >&6
1912 else
1913   echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1915 fi
1916
1917   STRIP=$ac_ct_STRIP
1918 else
1919   STRIP="$ac_cv_prog_STRIP"
1920 fi
1921
1922 fi
1923 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1924
1925 # We need awk for the "check" target.  The system "awk" is bad on
1926 # some platforms.
1927
1928
1929
1930
1931 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1932 # up critical shell variables.
1933
1934   # Keep these sync'd with the list in Makefile.am.  The first provides an
1935   # expandable list at autoconf time; the second provides an expandable list
1936   # (i.e., shell variable) at configure time.
1937
1938   SUBDIRS='include libmath libsupc++ src po testsuite'
1939
1940   # These need to be absolute paths, yet at the same time need to
1941   # canonicalize only relative paths, because then amd will not unmount
1942   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1943   glibcxx_builddir=`${PWDCMD-pwd}`
1944   case $srcdir in
1945     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1946     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1947   esac
1948   toplevel_srcdir=${glibcxx_srcdir}/..
1949
1950
1951
1952
1953   # We use these options to decide which functions to include.  They are
1954   # set from the top level.
1955
1956 # Check whether --with-target-subdir or --without-target-subdir was given.
1957 if test "${with_target_subdir+set}" = set; then
1958   withval="$with_target_subdir"
1959
1960 fi;
1961
1962
1963 # Check whether --with-cross-host or --without-cross-host was given.
1964 if test "${with_cross_host+set}" = set; then
1965   withval="$with_cross_host"
1966
1967 fi;
1968
1969
1970 # Check whether --with-newlib or --without-newlib was given.
1971 if test "${with_newlib+set}" = set; then
1972   withval="$with_newlib"
1973
1974 fi;
1975
1976   # We're almost certainly being configured before anything else which uses
1977   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
1978   # we not cache the value of CXX that we "discover" here, because it's set
1979   # to something unique for us and libjava.  Other target libraries need to
1980   # find CXX for themselves.  We yank the rug out from under the normal AC_*
1981   # process by sneakily renaming the cache variable.  This also lets us debug
1982   # the value of "our" CXX in postmortems.
1983   #
1984   # We must also force CXX to /not/ be a precious variable, otherwise the
1985   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
1986   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
1987   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1988   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1989   #
1990   # -fno-builtin must be present here so that a non-conflicting form of
1991   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1992
1993
1994
1995
1996   save_CXXFLAGS="$CXXFLAGS"
1997   CXXFLAGS="$CXXFLAGS -fno-builtin"
1998   ac_ext=c
1999 ac_cpp='$CPP $CPPFLAGS'
2000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003 if test -n "$ac_tool_prefix"; then
2004   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2005 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008 if test "${ac_cv_prog_CC+set}" = set; then
2009   echo $ECHO_N "(cached) $ECHO_C" >&6
2010 else
2011   if test -n "$CC"; then
2012   ac_cv_prog_CC="$CC" # Let the user override the test.
2013 else
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 for as_dir in $PATH
2016 do
2017   IFS=$as_save_IFS
2018   test -z "$as_dir" && as_dir=.
2019   for ac_exec_ext in '' $ac_executable_extensions; do
2020   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023     break 2
2024   fi
2025 done
2026 done
2027
2028 fi
2029 fi
2030 CC=$ac_cv_prog_CC
2031 if test -n "$CC"; then
2032   echo "$as_me:$LINENO: result: $CC" >&5
2033 echo "${ECHO_T}$CC" >&6
2034 else
2035   echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2037 fi
2038
2039 fi
2040 if test -z "$ac_cv_prog_CC"; then
2041   ac_ct_CC=$CC
2042   # Extract the first word of "gcc", so it can be a program name with args.
2043 set dummy gcc; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2047   echo $ECHO_N "(cached) $ECHO_C" >&6
2048 else
2049   if test -n "$ac_ct_CC"; then
2050   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055   IFS=$as_save_IFS
2056   test -z "$as_dir" && as_dir=.
2057   for ac_exec_ext in '' $ac_executable_extensions; do
2058   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059     ac_cv_prog_ac_ct_CC="gcc"
2060     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061     break 2
2062   fi
2063 done
2064 done
2065
2066 fi
2067 fi
2068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2069 if test -n "$ac_ct_CC"; then
2070   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2071 echo "${ECHO_T}$ac_ct_CC" >&6
2072 else
2073   echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2075 fi
2076
2077   CC=$ac_ct_CC
2078 else
2079   CC="$ac_cv_prog_CC"
2080 fi
2081
2082 if test -z "$CC"; then
2083   if test -n "$ac_tool_prefix"; then
2084   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2085 set dummy ${ac_tool_prefix}cc; ac_word=$2
2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088 if test "${ac_cv_prog_CC+set}" = set; then
2089   echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091   if test -n "$CC"; then
2092   ac_cv_prog_CC="$CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2096 do
2097   IFS=$as_save_IFS
2098   test -z "$as_dir" && as_dir=.
2099   for ac_exec_ext in '' $ac_executable_extensions; do
2100   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101     ac_cv_prog_CC="${ac_tool_prefix}cc"
2102     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103     break 2
2104   fi
2105 done
2106 done
2107
2108 fi
2109 fi
2110 CC=$ac_cv_prog_CC
2111 if test -n "$CC"; then
2112   echo "$as_me:$LINENO: result: $CC" >&5
2113 echo "${ECHO_T}$CC" >&6
2114 else
2115   echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2117 fi
2118
2119 fi
2120 if test -z "$ac_cv_prog_CC"; then
2121   ac_ct_CC=$CC
2122   # Extract the first word of "cc", so it can be a program name with args.
2123 set dummy cc; ac_word=$2
2124 echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2127   echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129   if test -n "$ac_ct_CC"; then
2130   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2134 do
2135   IFS=$as_save_IFS
2136   test -z "$as_dir" && as_dir=.
2137   for ac_exec_ext in '' $ac_executable_extensions; do
2138   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139     ac_cv_prog_ac_ct_CC="cc"
2140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141     break 2
2142   fi
2143 done
2144 done
2145
2146 fi
2147 fi
2148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2149 if test -n "$ac_ct_CC"; then
2150   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2151 echo "${ECHO_T}$ac_ct_CC" >&6
2152 else
2153   echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2155 fi
2156
2157   CC=$ac_ct_CC
2158 else
2159   CC="$ac_cv_prog_CC"
2160 fi
2161
2162 fi
2163 if test -z "$CC"; then
2164   # Extract the first word of "cc", so it can be a program name with args.
2165 set dummy cc; ac_word=$2
2166 echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169   echo $ECHO_N "(cached) $ECHO_C" >&6
2170 else
2171   if test -n "$CC"; then
2172   ac_cv_prog_CC="$CC" # Let the user override the test.
2173 else
2174   ac_prog_rejected=no
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 for as_dir in $PATH
2177 do
2178   IFS=$as_save_IFS
2179   test -z "$as_dir" && as_dir=.
2180   for ac_exec_ext in '' $ac_executable_extensions; do
2181   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2183        ac_prog_rejected=yes
2184        continue
2185      fi
2186     ac_cv_prog_CC="cc"
2187     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188     break 2
2189   fi
2190 done
2191 done
2192
2193 if test $ac_prog_rejected = yes; then
2194   # We found a bogon in the path, so make sure we never use it.
2195   set dummy $ac_cv_prog_CC
2196   shift
2197   if test $# != 0; then
2198     # We chose a different compiler from the bogus one.
2199     # However, it has the same basename, so the bogon will be chosen
2200     # first if we set CC to just the basename; use the full file name.
2201     shift
2202     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2203   fi
2204 fi
2205 fi
2206 fi
2207 CC=$ac_cv_prog_CC
2208 if test -n "$CC"; then
2209   echo "$as_me:$LINENO: result: $CC" >&5
2210 echo "${ECHO_T}$CC" >&6
2211 else
2212   echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2214 fi
2215
2216 fi
2217 if test -z "$CC"; then
2218   if test -n "$ac_tool_prefix"; then
2219   for ac_prog in cl
2220   do
2221     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226   echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228   if test -n "$CC"; then
2229   ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2233 do
2234   IFS=$as_save_IFS
2235   test -z "$as_dir" && as_dir=.
2236   for ac_exec_ext in '' $ac_executable_extensions; do
2237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2240     break 2
2241   fi
2242 done
2243 done
2244
2245 fi
2246 fi
2247 CC=$ac_cv_prog_CC
2248 if test -n "$CC"; then
2249   echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6
2251 else
2252   echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6
2254 fi
2255
2256     test -n "$CC" && break
2257   done
2258 fi
2259 if test -z "$CC"; then
2260   ac_ct_CC=$CC
2261   for ac_prog in cl
2262 do
2263   # Extract the first word of "$ac_prog", so it can be a program name with args.
2264 set dummy $ac_prog; ac_word=$2
2265 echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2268   echo $ECHO_N "(cached) $ECHO_C" >&6
2269 else
2270   if test -n "$ac_ct_CC"; then
2271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2272 else
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 for as_dir in $PATH
2275 do
2276   IFS=$as_save_IFS
2277   test -z "$as_dir" && as_dir=.
2278   for ac_exec_ext in '' $ac_executable_extensions; do
2279   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280     ac_cv_prog_ac_ct_CC="$ac_prog"
2281     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282     break 2
2283   fi
2284 done
2285 done
2286
2287 fi
2288 fi
2289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2290 if test -n "$ac_ct_CC"; then
2291   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2292 echo "${ECHO_T}$ac_ct_CC" >&6
2293 else
2294   echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6
2296 fi
2297
2298   test -n "$ac_ct_CC" && break
2299 done
2300
2301   CC=$ac_ct_CC
2302 fi
2303
2304 fi
2305
2306
2307 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2308 See \`config.log' for more details." >&5
2309 echo "$as_me: error: no acceptable C compiler found in \$PATH
2310 See \`config.log' for more details." >&2;}
2311    { (exit 1); exit 1; }; }
2312
2313 # Provide some information about the compiler.
2314 echo "$as_me:$LINENO:" \
2315      "checking for C compiler version" >&5
2316 ac_compiler=`set X $ac_compile; echo $2`
2317 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2318   (eval $ac_compiler --version </dev/null >&5) 2>&5
2319   ac_status=$?
2320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321   (exit $ac_status); }
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2323   (eval $ac_compiler -v </dev/null >&5) 2>&5
2324   ac_status=$?
2325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326   (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2328   (eval $ac_compiler -V </dev/null >&5) 2>&5
2329   ac_status=$?
2330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331   (exit $ac_status); }
2332
2333 cat >conftest.$ac_ext <<_ACEOF
2334 #line $LINENO "configure"
2335 /* confdefs.h.  */
2336 _ACEOF
2337 cat confdefs.h >>conftest.$ac_ext
2338 cat >>conftest.$ac_ext <<_ACEOF
2339 /* end confdefs.h.  */
2340
2341 int
2342 main ()
2343 {
2344
2345   ;
2346   return 0;
2347 }
2348 _ACEOF
2349 # FIXME: Cleanup?
2350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2351   (eval $ac_link) 2>&5
2352   ac_status=$?
2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354   (exit $ac_status); }; then
2355   gcc_no_link=no
2356 else
2357   gcc_no_link=yes
2358 fi
2359
2360 if test x$gcc_no_link = xyes; then
2361   # Setting cross_compile will disable run tests; it will
2362   # also disable AC_CHECK_FILE but that's generally
2363   # correct if we can't link.
2364   cross_compiling=yes
2365   EXEEXT=
2366 else
2367   cat >conftest.$ac_ext <<_ACEOF
2368 #line $LINENO "configure"
2369 /* confdefs.h.  */
2370 _ACEOF
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h.  */
2374
2375 int
2376 main ()
2377 {
2378
2379   ;
2380   return 0;
2381 }
2382 _ACEOF
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2387 # of exeext.
2388 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2389 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2391 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2392   (eval $ac_link_default) 2>&5
2393   ac_status=$?
2394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395   (exit $ac_status); }; then
2396   # Find the output, starting from the most likely.  This scheme is
2397 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2398 # resort.
2399
2400 # Be careful to initialize this variable, since it used to be cached.
2401 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2402 ac_cv_exeext=
2403 # b.out is created by i960 compilers.
2404 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2405 do
2406   test -f "$ac_file" || continue
2407   case $ac_file in
2408     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2409         ;;
2410     conftest.$ac_ext )
2411         # This is the source file.
2412         ;;
2413     [ab].out )
2414         # We found the default executable, but exeext='' is most
2415         # certainly right.
2416         break;;
2417     *.* )
2418         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2419         # FIXME: I believe we export ac_cv_exeext for Libtool,
2420         # but it would be cool to find out if it's true.  Does anybody
2421         # maintain Libtool? --akim.
2422         export ac_cv_exeext
2423         break;;
2424     * )
2425         break;;
2426   esac
2427 done
2428 else
2429   echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2431
2432 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&2;}
2436    { (exit 77); exit 77; }; }
2437 fi
2438
2439 ac_exeext=$ac_cv_exeext
2440 echo "$as_me:$LINENO: result: $ac_file" >&5
2441 echo "${ECHO_T}$ac_file" >&6
2442
2443 # Check the compiler produces executables we can run.  If not, either
2444 # the compiler is broken, or we cross compile.
2445 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2446 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2447 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2448 # If not cross compiling, check that we can run a simple program.
2449 if test "$cross_compiling" != yes; then
2450   if { ac_try='./$ac_file'
2451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452   (eval $ac_try) 2>&5
2453   ac_status=$?
2454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455   (exit $ac_status); }; }; then
2456     cross_compiling=no
2457   else
2458     if test "$cross_compiling" = maybe; then
2459         cross_compiling=yes
2460     else
2461         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2462 If you meant to cross compile, use \`--host'.
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&2;}
2467    { (exit 1); exit 1; }; }
2468     fi
2469   fi
2470 fi
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2473
2474 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2475 ac_clean_files=$ac_clean_files_save
2476 # Check the compiler produces executables we can run.  If not, either
2477 # the compiler is broken, or we cross compile.
2478 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2479 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2480 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2481 echo "${ECHO_T}$cross_compiling" >&6
2482
2483 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2484 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2486   (eval $ac_link) 2>&5
2487   ac_status=$?
2488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489   (exit $ac_status); }; then
2490   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2491 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2492 # work properly (i.e., refer to `conftest.exe'), while it won't with
2493 # `rm'.
2494 for ac_file in conftest.exe conftest conftest.*; do
2495   test -f "$ac_file" || continue
2496   case $ac_file in
2497     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2498     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2499           export ac_cv_exeext
2500           break;;
2501     * ) break;;
2502   esac
2503 done
2504 else
2505   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2506 See \`config.log' for more details." >&5
2507 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&2;}
2509    { (exit 1); exit 1; }; }
2510 fi
2511
2512 rm -f conftest$ac_cv_exeext
2513 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2514 echo "${ECHO_T}$ac_cv_exeext" >&6
2515
2516 rm -f conftest.$ac_ext
2517 EXEEXT=$ac_cv_exeext
2518 ac_exeext=$EXEEXT
2519 fi
2520 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2521 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2522 if test "${ac_cv_objext+set}" = set; then
2523   echo $ECHO_N "(cached) $ECHO_C" >&6
2524 else
2525   cat >conftest.$ac_ext <<_ACEOF
2526 #line $LINENO "configure"
2527 /* confdefs.h.  */
2528 _ACEOF
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h.  */
2532
2533 int
2534 main ()
2535 {
2536
2537   ;
2538   return 0;
2539 }
2540 _ACEOF
2541 rm -f conftest.o conftest.obj
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543   (eval $ac_compile) 2>&5
2544   ac_status=$?
2545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546   (exit $ac_status); }; then
2547   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2548   case $ac_file in
2549     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2550     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2551        break;;
2552   esac
2553 done
2554 else
2555   echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2557
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&2;}
2562    { (exit 1); exit 1; }; }
2563 fi
2564
2565 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2566 fi
2567 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2568 echo "${ECHO_T}$ac_cv_objext" >&6
2569 OBJEXT=$ac_cv_objext
2570 ac_objext=$OBJEXT
2571 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2572 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2573 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2574   echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576   cat >conftest.$ac_ext <<_ACEOF
2577 #line $LINENO "configure"
2578 /* confdefs.h.  */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h.  */
2583
2584 int
2585 main ()
2586 {
2587 #ifndef __GNUC__
2588        choke me
2589 #endif
2590
2591   ;
2592   return 0;
2593 }
2594 _ACEOF
2595 rm -f conftest.$ac_objext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597   (eval $ac_compile) 2>&5
2598   ac_status=$?
2599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600   (exit $ac_status); } &&
2601          { ac_try='test -s conftest.$ac_objext'
2602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603   (eval $ac_try) 2>&5
2604   ac_status=$?
2605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606   (exit $ac_status); }; }; then
2607   ac_compiler_gnu=yes
2608 else
2609   echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 ac_compiler_gnu=no
2613 fi
2614 rm -f conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2616
2617 fi
2618 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2619 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2620 GCC=`test $ac_compiler_gnu = yes && echo yes`
2621 ac_test_CFLAGS=${CFLAGS+set}
2622 ac_save_CFLAGS=$CFLAGS
2623 CFLAGS="-g"
2624 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2625 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2626 if test "${ac_cv_prog_cc_g+set}" = set; then
2627   echo $ECHO_N "(cached) $ECHO_C" >&6
2628 else
2629   cat >conftest.$ac_ext <<_ACEOF
2630 #line $LINENO "configure"
2631 /* confdefs.h.  */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h.  */
2636
2637 int
2638 main ()
2639 {
2640
2641   ;
2642   return 0;
2643 }
2644 _ACEOF
2645 rm -f conftest.$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647   (eval $ac_compile) 2>&5
2648   ac_status=$?
2649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650   (exit $ac_status); } &&
2651          { ac_try='test -s conftest.$ac_objext'
2652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653   (eval $ac_try) 2>&5
2654   ac_status=$?
2655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656   (exit $ac_status); }; }; then
2657   ac_cv_prog_cc_g=yes
2658 else
2659   echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2661
2662 ac_cv_prog_cc_g=no
2663 fi
2664 rm -f conftest.$ac_objext conftest.$ac_ext
2665 fi
2666 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2667 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2668 if test "$ac_test_CFLAGS" = set; then
2669   CFLAGS=$ac_save_CFLAGS
2670 elif test $ac_cv_prog_cc_g = yes; then
2671   if test "$GCC" = yes; then
2672     CFLAGS="-g -O2"
2673   else
2674     CFLAGS="-g"
2675   fi
2676 else
2677   if test "$GCC" = yes; then
2678     CFLAGS="-O2"
2679   else
2680     CFLAGS=
2681   fi
2682 fi
2683 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2684 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2685 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2686   echo $ECHO_N "(cached) $ECHO_C" >&6
2687 else
2688   ac_cv_prog_cc_stdc=no
2689 ac_save_CC=$CC
2690 cat >conftest.$ac_ext <<_ACEOF
2691 #line $LINENO "configure"
2692 /* confdefs.h.  */
2693 _ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h.  */
2697 #include <stdarg.h>
2698 #include <stdio.h>
2699 #include <sys/types.h>
2700 #include <sys/stat.h>
2701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2702 struct buf { int x; };
2703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2704 static char *e (p, i)
2705      char **p;
2706      int i;
2707 {
2708   return p[i];
2709 }
2710 static char *f (char * (*g) (char **, int), char **p, ...)
2711 {
2712   char *s;
2713   va_list v;
2714   va_start (v,p);
2715   s = g (p, va_arg (v,int));
2716   va_end (v);
2717   return s;
2718 }
2719 int test (int i, double x);
2720 struct s1 {int (*f) (int a);};
2721 struct s2 {int (*f) (double a);};
2722 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2723 int argc;
2724 char **argv;
2725 int
2726 main ()
2727 {
2728 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2729   ;
2730   return 0;
2731 }
2732 _ACEOF
2733 # Don't try gcc -ansi; that turns off useful extensions and
2734 # breaks some systems' header files.
2735 # AIX                   -qlanglvl=ansi
2736 # Ultrix and OSF/1      -std1
2737 # HP-UX 10.20 and later -Ae
2738 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2739 # SVR4                  -Xc -D__EXTENSIONS__
2740 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2741 do
2742   CC="$ac_save_CC $ac_arg"
2743   rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745   (eval $ac_compile) 2>&5
2746   ac_status=$?
2747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748   (exit $ac_status); } &&
2749          { ac_try='test -s conftest.$ac_objext'
2750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751   (eval $ac_try) 2>&5
2752   ac_status=$?
2753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754   (exit $ac_status); }; }; then
2755   ac_cv_prog_cc_stdc=$ac_arg
2756 break
2757 else
2758   echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2760
2761 fi
2762 rm -f conftest.$ac_objext
2763 done
2764 rm -f conftest.$ac_ext conftest.$ac_objext
2765 CC=$ac_save_CC
2766
2767 fi
2768
2769 case "x$ac_cv_prog_cc_stdc" in
2770   x|xno)
2771     echo "$as_me:$LINENO: result: none needed" >&5
2772 echo "${ECHO_T}none needed" >&6 ;;
2773   *)
2774     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2775 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2776     CC="$CC $ac_cv_prog_cc_stdc" ;;
2777 esac
2778
2779 # Some people use a C++ compiler to compile C.  Since we use `exit',
2780 # in C++ we need to declare it.  In case someone uses the same compiler
2781 # for both compiling C and C++ we need to have the C++ compiler decide
2782 # the declaration of exit, since it's the most demanding environment.
2783 cat >conftest.$ac_ext <<_ACEOF
2784 #ifndef __cplusplus
2785   choke me
2786 #endif
2787 _ACEOF
2788 rm -f conftest.$ac_objext
2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790   (eval $ac_compile) 2>&5
2791   ac_status=$?
2792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793   (exit $ac_status); } &&
2794          { ac_try='test -s conftest.$ac_objext'
2795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796   (eval $ac_try) 2>&5
2797   ac_status=$?
2798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799   (exit $ac_status); }; }; then
2800   for ac_declaration in \
2801    ''\
2802    '#include <stdlib.h>' \
2803    'extern "C" void std::exit (int) throw (); using std::exit;' \
2804    'extern "C" void std::exit (int); using std::exit;' \
2805    'extern "C" void exit (int) throw ();' \
2806    'extern "C" void exit (int);' \
2807    'void exit (int);'
2808 do
2809   cat >conftest.$ac_ext <<_ACEOF
2810 #line $LINENO "configure"
2811 /* confdefs.h.  */
2812 _ACEOF
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h.  */
2816 #include <stdlib.h>
2817 $ac_declaration
2818 int
2819 main ()
2820 {
2821 exit (42);
2822   ;
2823   return 0;
2824 }
2825 _ACEOF
2826 rm -f conftest.$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828   (eval $ac_compile) 2>&5
2829   ac_status=$?
2830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831   (exit $ac_status); } &&
2832          { ac_try='test -s conftest.$ac_objext'
2833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834   (eval $ac_try) 2>&5
2835   ac_status=$?
2836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837   (exit $ac_status); }; }; then
2838   :
2839 else
2840   echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2842
2843 continue
2844 fi
2845 rm -f conftest.$ac_objext conftest.$ac_ext
2846   cat >conftest.$ac_ext <<_ACEOF
2847 #line $LINENO "configure"
2848 /* confdefs.h.  */
2849 _ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h.  */
2853 $ac_declaration
2854 int
2855 main ()
2856 {
2857 exit (42);
2858   ;
2859   return 0;
2860 }
2861 _ACEOF
2862 rm -f conftest.$ac_objext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2864   (eval $ac_compile) 2>&5
2865   ac_status=$?
2866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867   (exit $ac_status); } &&
2868          { ac_try='test -s conftest.$ac_objext'
2869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870   (eval $ac_try) 2>&5
2871   ac_status=$?
2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873   (exit $ac_status); }; }; then
2874   break
2875 else
2876   echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2878
2879 fi
2880 rm -f conftest.$ac_objext conftest.$ac_ext
2881 done
2882 rm -f conftest*
2883 if test -n "$ac_declaration"; then
2884   echo '#ifdef __cplusplus' >>confdefs.h
2885   echo $ac_declaration      >>confdefs.h
2886   echo '#endif'             >>confdefs.h
2887 fi
2888
2889 else
2890   echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2892
2893 fi
2894 rm -f conftest.$ac_objext conftest.$ac_ext
2895 ac_ext=c
2896 ac_cpp='$CPP $CPPFLAGS'
2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2900
2901   ac_ext=cc
2902 ac_cpp='$CXXCPP $CPPFLAGS'
2903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2906 if test -n "$ac_tool_prefix"; then
2907   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2908   do
2909     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2914   echo $ECHO_N "(cached) $ECHO_C" >&6
2915 else
2916   if test -n "$CXX"; then
2917   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2918 else
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920 for as_dir in $PATH
2921 do
2922   IFS=$as_save_IFS
2923   test -z "$as_dir" && as_dir=.
2924   for ac_exec_ext in '' $ac_executable_extensions; do
2925   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2927     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2928     break 2
2929   fi
2930 done
2931 done
2932
2933 fi
2934 fi
2935 CXX=$glibcxx_cv_prog_CXX
2936 if test -n "$CXX"; then
2937   echo "$as_me:$LINENO: result: $CXX" >&5
2938 echo "${ECHO_T}$CXX" >&6
2939 else
2940   echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2942 fi
2943
2944     test -n "$CXX" && break
2945   done
2946 fi
2947 if test -z "$CXX"; then
2948   ac_ct_CXX=$CXX
2949   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2950 do
2951   # Extract the first word of "$ac_prog", so it can be a program name with args.
2952 set dummy $ac_prog; ac_word=$2
2953 echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2955 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2956   echo $ECHO_N "(cached) $ECHO_C" >&6
2957 else
2958   if test -n "$ac_ct_CXX"; then
2959   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2960 else
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2963 do
2964   IFS=$as_save_IFS
2965   test -z "$as_dir" && as_dir=.
2966   for ac_exec_ext in '' $ac_executable_extensions; do
2967   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968     ac_cv_prog_ac_ct_CXX="$ac_prog"
2969     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2970     break 2
2971   fi
2972 done
2973 done
2974
2975 fi
2976 fi
2977 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2978 if test -n "$ac_ct_CXX"; then
2979   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2980 echo "${ECHO_T}$ac_ct_CXX" >&6
2981 else
2982   echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 fi
2985
2986   test -n "$ac_ct_CXX" && break
2987 done
2988 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2989
2990   CXX=$ac_ct_CXX
2991 fi
2992
2993
2994 # Provide some information about the compiler.
2995 echo "$as_me:$LINENO:" \
2996      "checking for C++ compiler version" >&5
2997 ac_compiler=`set X $ac_compile; echo $2`
2998 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2999   (eval $ac_compiler --version </dev/null >&5) 2>&5
3000   ac_status=$?
3001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002   (exit $ac_status); }
3003 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3004   (eval $ac_compiler -v </dev/null >&5) 2>&5
3005   ac_status=$?
3006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007   (exit $ac_status); }
3008 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3009   (eval $ac_compiler -V </dev/null >&5) 2>&5
3010   ac_status=$?
3011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012   (exit $ac_status); }
3013
3014 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3015 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3016 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3017   echo $ECHO_N "(cached) $ECHO_C" >&6
3018 else
3019   cat >conftest.$ac_ext <<_ACEOF
3020 #line $LINENO "configure"
3021 /* confdefs.h.  */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h.  */
3026
3027 int
3028 main ()
3029 {
3030 #ifndef __GNUC__
3031        choke me
3032 #endif
3033
3034   ;
3035   return 0;
3036 }
3037 _ACEOF
3038 rm -f conftest.$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040   (eval $ac_compile) 2>&5
3041   ac_status=$?
3042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043   (exit $ac_status); } &&
3044          { ac_try='test -s conftest.$ac_objext'
3045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046   (eval $ac_try) 2>&5
3047   ac_status=$?
3048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049   (exit $ac_status); }; }; then
3050   ac_compiler_gnu=yes
3051 else
3052   echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3054
3055 ac_compiler_gnu=no
3056 fi
3057 rm -f conftest.$ac_objext conftest.$ac_ext
3058 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3059
3060 fi
3061 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3062 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3063 GXX=`test $ac_compiler_gnu = yes && echo yes`
3064 ac_test_CXXFLAGS=${CXXFLAGS+set}
3065 ac_save_CXXFLAGS=$CXXFLAGS
3066 CXXFLAGS="-g"
3067 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3068 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3069 if test "${ac_cv_prog_cxx_g+set}" = set; then
3070   echo $ECHO_N "(cached) $ECHO_C" >&6
3071 else
3072   cat >conftest.$ac_ext <<_ACEOF
3073 #line $LINENO "configure"
3074 /* confdefs.h.  */
3075 _ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h.  */
3079
3080 int
3081 main ()
3082 {
3083
3084   ;
3085   return 0;
3086 }
3087 _ACEOF
3088 rm -f conftest.$ac_objext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090   (eval $ac_compile) 2>&5
3091   ac_status=$?
3092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093   (exit $ac_status); } &&
3094          { ac_try='test -s conftest.$ac_objext'
3095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096   (eval $ac_try) 2>&5
3097   ac_status=$?
3098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099   (exit $ac_status); }; }; then
3100   ac_cv_prog_cxx_g=yes
3101 else
3102   echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3104
3105 ac_cv_prog_cxx_g=no
3106 fi
3107 rm -f conftest.$ac_objext conftest.$ac_ext
3108 fi
3109 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3110 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3111 if test "$ac_test_CXXFLAGS" = set; then
3112   CXXFLAGS=$ac_save_CXXFLAGS
3113 elif test $ac_cv_prog_cxx_g = yes; then
3114   if test "$GXX" = yes; then
3115     CXXFLAGS="-g -O2"
3116   else
3117     CXXFLAGS="-g"
3118   fi
3119 else
3120   if test "$GXX" = yes; then
3121     CXXFLAGS="-O2"
3122   else
3123     CXXFLAGS=
3124   fi
3125 fi
3126 for ac_declaration in \
3127    ''\
3128    '#include <stdlib.h>' \
3129    'extern "C" void std::exit (int) throw (); using std::exit;' \
3130    'extern "C" void std::exit (int); using std::exit;' \
3131    'extern "C" void exit (int) throw ();' \
3132    'extern "C" void exit (int);' \
3133    'void exit (int);'
3134 do
3135   cat >conftest.$ac_ext <<_ACEOF
3136 #line $LINENO "configure"
3137 /* confdefs.h.  */
3138 _ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h.  */
3142 #include <stdlib.h>
3143 $ac_declaration
3144 int
3145 main ()
3146 {
3147 exit (42);
3148   ;
3149   return 0;
3150 }
3151 _ACEOF
3152 rm -f conftest.$ac_objext
3153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3154   (eval $ac_compile) 2>&5
3155   ac_status=$?
3156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157   (exit $ac_status); } &&
3158          { ac_try='test -s conftest.$ac_objext'
3159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160   (eval $ac_try) 2>&5
3161   ac_status=$?
3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163   (exit $ac_status); }; }; then
3164   :
3165 else
3166   echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3168
3169 continue
3170 fi
3171 rm -f conftest.$ac_objext conftest.$ac_ext
3172   cat >conftest.$ac_ext <<_ACEOF
3173 #line $LINENO "configure"
3174 /* confdefs.h.  */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h.  */
3179 $ac_declaration
3180 int
3181 main ()
3182 {
3183 exit (42);
3184   ;
3185   return 0;
3186 }
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190   (eval $ac_compile) 2>&5
3191   ac_status=$?
3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193   (exit $ac_status); } &&
3194          { ac_try='test -s conftest.$ac_objext'
3195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196   (eval $ac_try) 2>&5
3197   ac_status=$?
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); }; }; then
3200   break
3201 else
3202   echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3204
3205 fi
3206 rm -f conftest.$ac_objext conftest.$ac_ext
3207 done
3208 rm -f conftest*
3209 if test -n "$ac_declaration"; then
3210   echo '#ifdef __cplusplus' >>confdefs.h
3211   echo $ac_declaration      >>confdefs.h
3212   echo '#endif'             >>confdefs.h
3213 fi
3214
3215 ac_ext=c
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3220
3221   CXXFLAGS="$save_CXXFLAGS"
3222
3223
3224
3225
3226   # For directory versioning (e.g., headers) and other variables.
3227   echo "$as_me:$LINENO: checking for GCC version number" >&5
3228 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3229   gcc_version=`$CXX -dumpversion`
3230   echo "$as_me:$LINENO: result: $gcc_version" >&5
3231 echo "${ECHO_T}$gcc_version" >&6
3232
3233   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3234   # available).  Uncomment the next line to force a particular method.
3235   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3236 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3237 LN_S=$as_ln_s
3238 if test "$LN_S" = "ln -s"; then
3239   echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3241 else
3242   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3243 echo "${ECHO_T}no, using $LN_S" >&6
3244 fi
3245
3246   #LN_S='cp -p'
3247
3248   if test -n "$ac_tool_prefix"; then
3249   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}as; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_AS+set}" = set; then
3254   echo $ECHO_N "(cached) $ECHO_C" >&6
3255 else
3256   if test -n "$AS"; then
3257   ac_cv_prog_AS="$AS" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262   IFS=$as_save_IFS
3263   test -z "$as_dir" && as_dir=.
3264   for ac_exec_ext in '' $ac_executable_extensions; do
3265   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266     ac_cv_prog_AS="${ac_tool_prefix}as"
3267     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268     break 2
3269   fi
3270 done
3271 done
3272
3273 fi
3274 fi
3275 AS=$ac_cv_prog_AS
3276 if test -n "$AS"; then
3277   echo "$as_me:$LINENO: result: $AS" >&5
3278 echo "${ECHO_T}$AS" >&6
3279 else
3280   echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3282 fi
3283
3284 fi
3285 if test -z "$ac_cv_prog_AS"; then
3286   ac_ct_AS=$AS
3287   # Extract the first word of "as", so it can be a program name with args.
3288 set dummy as; ac_word=$2
3289 echo "$as_me:$LINENO: checking for $ac_word" >&5
3290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3291 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3292   echo $ECHO_N "(cached) $ECHO_C" >&6
3293 else
3294   if test -n "$ac_ct_AS"; then
3295   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3296 else
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH
3299 do
3300   IFS=$as_save_IFS
3301   test -z "$as_dir" && as_dir=.
3302   for ac_exec_ext in '' $ac_executable_extensions; do
3303   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304     ac_cv_prog_ac_ct_AS="as"
3305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3306     break 2
3307   fi
3308 done
3309 done
3310
3311 fi
3312 fi
3313 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3314 if test -n "$ac_ct_AS"; then
3315   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3316 echo "${ECHO_T}$ac_ct_AS" >&6
3317 else
3318   echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3320 fi
3321
3322   AS=$ac_ct_AS
3323 else
3324   AS="$ac_cv_prog_AS"
3325 fi
3326
3327   if test -n "$ac_tool_prefix"; then
3328   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3329 set dummy ${ac_tool_prefix}ar; ac_word=$2
3330 echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3332 if test "${ac_cv_prog_AR+set}" = set; then
3333   echo $ECHO_N "(cached) $ECHO_C" >&6
3334 else
3335   if test -n "$AR"; then
3336   ac_cv_prog_AR="$AR" # Let the user override the test.
3337 else
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 for as_dir in $PATH
3340 do
3341   IFS=$as_save_IFS
3342   test -z "$as_dir" && as_dir=.
3343   for ac_exec_ext in '' $ac_executable_extensions; do
3344   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345     ac_cv_prog_AR="${ac_tool_prefix}ar"
3346     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3347     break 2
3348   fi
3349 done
3350 done
3351
3352 fi
3353 fi
3354 AR=$ac_cv_prog_AR
3355 if test -n "$AR"; then
3356   echo "$as_me:$LINENO: result: $AR" >&5
3357 echo "${ECHO_T}$AR" >&6
3358 else
3359   echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3361 fi
3362
3363 fi
3364 if test -z "$ac_cv_prog_AR"; then
3365   ac_ct_AR=$AR
3366   # Extract the first word of "ar", so it can be a program name with args.
3367 set dummy ar; ac_word=$2
3368 echo "$as_me:$LINENO: checking for $ac_word" >&5
3369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3370 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3371   echo $ECHO_N "(cached) $ECHO_C" >&6
3372 else
3373   if test -n "$ac_ct_AR"; then
3374   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3375 else
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 for as_dir in $PATH
3378 do
3379   IFS=$as_save_IFS
3380   test -z "$as_dir" && as_dir=.
3381   for ac_exec_ext in '' $ac_executable_extensions; do
3382   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383     ac_cv_prog_ac_ct_AR="ar"
3384     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3385     break 2
3386   fi
3387 done
3388 done
3389
3390 fi
3391 fi
3392 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3393 if test -n "$ac_ct_AR"; then
3394   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3395 echo "${ECHO_T}$ac_ct_AR" >&6
3396 else
3397   echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3399 fi
3400
3401   AR=$ac_ct_AR
3402 else
3403   AR="$ac_cv_prog_AR"
3404 fi
3405
3406   if test -n "$ac_tool_prefix"; then
3407   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3408 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_RANLIB+set}" = set; then
3412   echo $ECHO_N "(cached) $ECHO_C" >&6
3413 else
3414   if test -n "$RANLIB"; then
3415   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3416 else
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 for as_dir in $PATH
3419 do
3420   IFS=$as_save_IFS
3421   test -z "$as_dir" && as_dir=.
3422   for ac_exec_ext in '' $ac_executable_extensions; do
3423   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3425     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3426     break 2
3427   fi
3428 done
3429 done
3430
3431 fi
3432 fi
3433 RANLIB=$ac_cv_prog_RANLIB
3434 if test -n "$RANLIB"; then
3435   echo "$as_me:$LINENO: result: $RANLIB" >&5
3436 echo "${ECHO_T}$RANLIB" >&6
3437 else
3438   echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6
3440 fi
3441
3442 fi
3443 if test -z "$ac_cv_prog_RANLIB"; then
3444   ac_ct_RANLIB=$RANLIB
3445   # Extract the first word of "ranlib", so it can be a program name with args.
3446 set dummy ranlib; ac_word=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3450   echo $ECHO_N "(cached) $ECHO_C" >&6
3451 else
3452   if test -n "$ac_ct_RANLIB"; then
3453   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3454 else
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3456 for as_dir in $PATH
3457 do
3458   IFS=$as_save_IFS
3459   test -z "$as_dir" && as_dir=.
3460   for ac_exec_ext in '' $ac_executable_extensions; do
3461   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462     ac_cv_prog_ac_ct_RANLIB="ranlib"
3463     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3464     break 2
3465   fi
3466 done
3467 done
3468
3469   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3470 fi
3471 fi
3472 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3473 if test -n "$ac_ct_RANLIB"; then
3474   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3475 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3476 else
3477   echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3479 fi
3480
3481   RANLIB=$ac_ct_RANLIB
3482 else
3483   RANLIB="$ac_cv_prog_RANLIB"
3484 fi
3485
3486
3487   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3488 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3489     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3490 if test "${enable_maintainer_mode+set}" = set; then
3491   enableval="$enable_maintainer_mode"
3492   USE_MAINTAINER_MODE=$enableval
3493 else
3494   USE_MAINTAINER_MODE=no
3495 fi;
3496   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3497 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3498
3499
3500 if test $USE_MAINTAINER_MODE = yes; then
3501   MAINTAINER_MODE_TRUE=
3502   MAINTAINER_MODE_FALSE='#'
3503 else
3504   MAINTAINER_MODE_TRUE='#'
3505   MAINTAINER_MODE_FALSE=
3506 fi
3507
3508   MAINT=$MAINTAINER_MODE_TRUE
3509
3510
3511
3512   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3513   # which are themselves conditionally expanded.
3514   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3515   ## other macros from doing the same.  This should be automated.)  -pme
3516   need_libmath=no
3517   enable_wchar_t=no
3518   #enable_libstdcxx_debug=no
3519   #enable_libstdcxx_pch=no
3520   #enable_cheaders=c
3521   #c_compatibility=no
3522   #enable_abi_check=no
3523   #enable_symvers=no
3524   #enable_hosted_libstdcxx=yes
3525
3526   # Find platform-specific directories containing configuration info.
3527   # Also possibly modify flags used elsewhere, as needed by the platform.
3528
3529   . $glibcxx_srcdir/configure.host
3530   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3531 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3532   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3533 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3534
3535
3536
3537 #AC_MSG_NOTICE([====== Starting libtool configuration])
3538
3539 # Check whether --enable-shared or --disable-shared was given.
3540 if test "${enable_shared+set}" = set; then
3541   enableval="$enable_shared"
3542   p=${PACKAGE-default}
3543 case $enableval in
3544 yes) enable_shared=yes ;;
3545 no) enable_shared=no ;;
3546 *)
3547   enable_shared=no
3548   # Look at the argument we got.  We use all the common list separators.
3549   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3550   for pkg in $enableval; do
3551     if test "X$pkg" = "X$p"; then
3552       enable_shared=yes
3553     fi
3554   done
3555   IFS="$ac_save_ifs"
3556   ;;
3557 esac
3558 else
3559   enable_shared=yes
3560 fi;
3561 # Check whether --enable-static or --disable-static was given.
3562 if test "${enable_static+set}" = set; then
3563   enableval="$enable_static"
3564   p=${PACKAGE-default}
3565 case $enableval in
3566 yes) enable_static=yes ;;
3567 no) enable_static=no ;;
3568 *)
3569   enable_static=no
3570   # Look at the argument we got.  We use all the common list separators.
3571   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3572   for pkg in $enableval; do
3573     if test "X$pkg" = "X$p"; then
3574       enable_static=yes
3575     fi
3576   done
3577   IFS="$ac_save_ifs"
3578   ;;
3579 esac
3580 else
3581   enable_static=yes
3582 fi;
3583 # Check whether --enable-fast-install or --disable-fast-install was given.
3584 if test "${enable_fast_install+set}" = set; then
3585   enableval="$enable_fast_install"
3586   p=${PACKAGE-default}
3587 case $enableval in
3588 yes) enable_fast_install=yes ;;
3589 no) enable_fast_install=no ;;
3590 *)
3591   enable_fast_install=no
3592   # Look at the argument we got.  We use all the common list separators.
3593   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3594   for pkg in $enableval; do
3595     if test "X$pkg" = "X$p"; then
3596       enable_fast_install=yes
3597     fi
3598   done
3599   IFS="$ac_save_ifs"
3600   ;;
3601 esac
3602 else
3603   enable_fast_install=yes
3604 fi;
3605
3606 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3607 if test "${with_gnu_ld+set}" = set; then
3608   withval="$with_gnu_ld"
3609   test "$withval" = no || with_gnu_ld=yes
3610 else
3611   with_gnu_ld=no
3612 fi;
3613 ac_prog=ld
3614 if test "$GCC" = yes; then
3615   # Check if gcc -print-prog-name=ld gives a path.
3616   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3617 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3618   case $host in
3619   *-*-mingw*)
3620     # gcc leaves a trailing carriage return which upsets mingw
3621     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3622   *)
3623     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3624   esac
3625   case $ac_prog in
3626     # Accept absolute paths.
3627     [\\/]* | [A-Za-z]:[\\/]*)
3628       re_direlt='/[^/][^/]*/\.\./'
3629       # Canonicalize the path of ld
3630       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3631       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3632         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3633       done
3634       test -z "$LD" && LD="$ac_prog"
3635       ;;
3636   "")
3637     # If it fails, then pretend we aren't using GCC.
3638     ac_prog=ld
3639     ;;
3640   *)
3641     # If it is relative, then search for the first ld in PATH.
3642     with_gnu_ld=unknown
3643     ;;
3644   esac
3645 elif test "$with_gnu_ld" = yes; then
3646   echo "$as_me:$LINENO: checking for GNU ld" >&5
3647 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3648 else
3649   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3650 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3651 fi
3652 if test "${lt_cv_path_LD+set}" = set; then
3653   echo $ECHO_N "(cached) $ECHO_C" >&6
3654 else
3655   if test -z "$LD"; then
3656   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3657   for ac_dir in $PATH; do
3658     test -z "$ac_dir" && ac_dir=.
3659     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3660       lt_cv_path_LD="$ac_dir/$ac_prog"
3661       # Check to see if the program is GNU ld.  I'd rather use --version,
3662       # but apparently some GNU ld's only accept -v.
3663       # Break only if it was the GNU/non-GNU ld that we prefer.
3664       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3665         test "$with_gnu_ld" != no && break
3666       else
3667         test "$with_gnu_ld" != yes && break
3668       fi
3669     fi
3670   done
3671   IFS="$ac_save_ifs"
3672 else
3673   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3674 fi
3675 fi
3676
3677 LD="$lt_cv_path_LD"
3678 if test -n "$LD"; then
3679   echo "$as_me:$LINENO: result: $LD" >&5
3680 echo "${ECHO_T}$LD" >&6
3681 else
3682   echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3684 fi
3685 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3686 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3687    { (exit 1); exit 1; }; }
3688 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3689 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3690 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3691   echo $ECHO_N "(cached) $ECHO_C" >&6
3692 else
3693   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3694 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3695   lt_cv_prog_gnu_ld=yes
3696 else
3697   lt_cv_prog_gnu_ld=no
3698 fi
3699 fi
3700 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3701 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3702 with_gnu_ld=$lt_cv_prog_gnu_ld
3703
3704
3705 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3706 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3707 if test "${lt_cv_ld_reload_flag+set}" = set; then
3708   echo $ECHO_N "(cached) $ECHO_C" >&6
3709 else
3710   lt_cv_ld_reload_flag='-r'
3711 fi
3712 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3713 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3714 reload_flag=$lt_cv_ld_reload_flag
3715 test -n "$reload_flag" && reload_flag=" $reload_flag"
3716
3717 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3718 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3719 if test "${lt_cv_path_NM+set}" = set; then
3720   echo $ECHO_N "(cached) $ECHO_C" >&6
3721 else
3722   if test -n "$NM"; then
3723   # Let the user override the test.
3724   lt_cv_path_NM="$NM"
3725 else
3726   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3727   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3728     test -z "$ac_dir" && ac_dir=.
3729     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3730     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3731       # Check to see if the nm accepts a BSD-compat flag.
3732       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3733       #   nm: unknown option "B" ignored
3734       # Tru64's nm complains that /dev/null is an invalid object file
3735       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3736         lt_cv_path_NM="$tmp_nm -B"
3737         break
3738       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3739         lt_cv_path_NM="$tmp_nm -p"
3740         break
3741       else
3742         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3743         continue # so that we can try to find one that supports BSD flags
3744       fi
3745     fi
3746   done
3747   IFS="$ac_save_ifs"
3748   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3749 fi
3750 fi
3751
3752 NM="$lt_cv_path_NM"
3753 echo "$as_me:$LINENO: result: $NM" >&5
3754 echo "${ECHO_T}$NM" >&6
3755
3756 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3757 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3758 if test "${lt_cv_deplibs_check_method+set}" = set; then
3759   echo $ECHO_N "(cached) $ECHO_C" >&6
3760 else
3761   lt_cv_file_magic_cmd='$MAGIC_CMD'
3762 lt_cv_file_magic_test_file=
3763 lt_cv_deplibs_check_method='unknown'
3764 # Need to set the preceding variable on all platforms that support
3765 # interlibrary dependencies.
3766 # 'none' -- dependencies not supported.
3767 # `unknown' -- same as none, but documents that we really don't know.
3768 # 'pass_all' -- all dependencies passed with no checks.
3769 # 'test_compile' -- check by making test program.
3770 # 'file_magic [regex]' -- check by looking for files in library path
3771 # which responds to the $file_magic_cmd with a given egrep regex.
3772 # If you have `file' or equivalent on your system and you're not sure
3773 # whether `pass_all' will *always* work, you probably want this one.
3774
3775 case $host_os in
3776 aix*)
3777   lt_cv_deplibs_check_method=pass_all
3778   ;;
3779
3780 beos*)
3781   lt_cv_deplibs_check_method=pass_all
3782   ;;
3783
3784 bsdi4*)
3785   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3786   lt_cv_file_magic_cmd='/usr/bin/file -L'
3787   lt_cv_file_magic_test_file=/shlib/libc.so
3788   ;;
3789
3790 cygwin* | mingw* |pw32*)
3791   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3792   lt_cv_file_magic_cmd='$OBJDUMP -f'
3793   ;;
3794
3795 darwin* | rhapsody*)
3796   # this will be overwritten by pass_all, but leave it in just in case
3797   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3798   lt_cv_file_magic_cmd='/usr/bin/file -L'
3799   case "$host_os" in
3800   rhapsody* | darwin1.012)
3801     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3802     ;;
3803   *) # Darwin 1.3 on
3804     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3805     ;;
3806   esac
3807   lt_cv_deplibs_check_method=pass_all
3808   ;;
3809
3810 freebsd* )
3811   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3812     case $host_cpu in
3813     i*86 )
3814       # Not sure whether the presence of OpenBSD here was a mistake.
3815       # Let's accept both of them until this is cleared up.
3816       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3817       lt_cv_file_magic_cmd=/usr/bin/file
3818       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3819       ;;
3820     esac
3821   else
3822     lt_cv_deplibs_check_method=pass_all
3823   fi
3824   ;;
3825
3826 gnu*)
3827   lt_cv_deplibs_check_method=pass_all
3828   ;;
3829
3830 hpux10.20*|hpux11*)
3831   case $host_cpu in
3832   hppa*)
3833     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3834     lt_cv_file_magic_cmd=/usr/bin/file
3835     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3836     ;;
3837   ia64*)
3838     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3839     lt_cv_file_magic_cmd=/usr/bin/file
3840     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3841     ;;
3842   esac
3843   ;;
3844
3845 irix5* | irix6*)
3846   case $host_os in
3847   irix5*)
3848     # this will be overridden with pass_all, but let us keep it just in case
3849     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3850     ;;
3851   *)
3852     case $LD in
3853     *-32|*"-32 ") libmagic=32-bit;;
3854     *-n32|*"-n32 ") libmagic=N32;;
3855     *-64|*"-64 ") libmagic=64-bit;;
3856     *) libmagic=never-match;;
3857     esac
3858     # this will be overridden with pass_all, but let us keep it just in case
3859     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3860     ;;
3861   esac
3862   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3863   lt_cv_deplibs_check_method=pass_all
3864   ;;
3865
3866 # This must be Linux ELF.
3867 linux-gnu*)
3868   case $host_cpu in
3869   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3870     lt_cv_deplibs_check_method=pass_all ;;
3871   *)
3872     # glibc up to 2.1.1 does not perform some relocations on ARM
3873     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3874   esac
3875   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3876   ;;
3877
3878 netbsd*)
3879   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3880     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3881   else
3882     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3883   fi
3884   ;;
3885
3886 newsos6)
3887   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3888   lt_cv_file_magic_cmd=/usr/bin/file
3889   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3890   ;;
3891
3892 osf3* | osf4* | osf5*)
3893   # this will be overridden with pass_all, but let us keep it just in case
3894   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3895   lt_cv_file_magic_test_file=/shlib/libc.so
3896   lt_cv_deplibs_check_method=pass_all
3897   ;;
3898
3899 sco3.2v5*)
3900   lt_cv_deplibs_check_method=pass_all
3901   ;;
3902
3903 solaris*)
3904   lt_cv_deplibs_check_method=pass_all
3905   lt_cv_file_magic_test_file=/lib/libc.so
3906   ;;
3907
3908 sysv5uw[78]* | sysv4*uw2*)
3909   lt_cv_deplibs_check_method=pass_all
3910   ;;
3911
3912 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3913   case $host_vendor in
3914   ncr)
3915     lt_cv_deplibs_check_method=pass_all
3916     ;;
3917   motorola)
3918     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]'
3919     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3920     ;;
3921   esac
3922   ;;
3923 esac
3924
3925 fi
3926 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3927 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3928 file_magic_cmd=$lt_cv_file_magic_cmd
3929 deplibs_check_method=$lt_cv_deplibs_check_method
3930
3931
3932
3933
3934
3935 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3936
3937 # Only perform the check for file, if the check method requires it
3938 case $deplibs_check_method in
3939 file_magic*)
3940   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3941     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3942 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3944   echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946   case $MAGIC_CMD in
3947   /*)
3948   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3949   ;;
3950   ?:/*)
3951   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3952   ;;
3953   *)
3954   ac_save_MAGIC_CMD="$MAGIC_CMD"
3955   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3956   ac_dummy="/usr/bin:$PATH"
3957   for ac_dir in $ac_dummy; do
3958     test -z "$ac_dir" && ac_dir=.
3959     if test -f $ac_dir/${ac_tool_prefix}file; then
3960       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3961       if test -n "$file_magic_test_file"; then
3962         case $deplibs_check_method in
3963         "file_magic "*)
3964           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3965           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3966           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3967             egrep "$file_magic_regex" > /dev/null; then
3968             :
3969           else
3970             cat <<EOF 1>&2
3971
3972 *** Warning: the command libtool uses to detect shared libraries,
3973 *** $file_magic_cmd, produces output that libtool cannot recognize.
3974 *** The result is that libtool may fail to recognize shared libraries
3975 *** as such.  This will affect the creation of libtool libraries that
3976 *** depend on shared libraries, but programs linked with such libtool
3977 *** libraries will work regardless of this problem.  Nevertheless, you
3978 *** may want to report the problem to your system manager and/or to
3979 *** bug-libtool@gnu.org
3980
3981 EOF
3982           fi ;;
3983         esac
3984       fi
3985       break
3986     fi
3987   done
3988   IFS="$ac_save_ifs"
3989   MAGIC_CMD="$ac_save_MAGIC_CMD"
3990   ;;
3991 esac
3992 fi
3993
3994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3995 if test -n "$MAGIC_CMD"; then
3996   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3997 echo "${ECHO_T}$MAGIC_CMD" >&6
3998 else
3999   echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6
4001 fi
4002
4003 if test -z "$lt_cv_path_MAGIC_CMD"; then
4004   if test -n "$ac_tool_prefix"; then
4005     echo "$as_me:$LINENO: checking for file" >&5
4006 echo $ECHO_N "checking for file... $ECHO_C" >&6
4007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4008   echo $ECHO_N "(cached) $ECHO_C" >&6
4009 else
4010   case $MAGIC_CMD in
4011   /*)
4012   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4013   ;;
4014   ?:/*)
4015   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4016   ;;
4017   *)
4018   ac_save_MAGIC_CMD="$MAGIC_CMD"
4019   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4020   ac_dummy="/usr/bin:$PATH"
4021   for ac_dir in $ac_dummy; do
4022     test -z "$ac_dir" && ac_dir=.
4023     if test -f $ac_dir/file; then
4024       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4025       if test -n "$file_magic_test_file"; then
4026         case $deplibs_check_method in
4027         "file_magic "*)
4028           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4029           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4030           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4031             egrep "$file_magic_regex" > /dev/null; then
4032             :
4033           else
4034             cat <<EOF 1>&2
4035
4036 *** Warning: the command libtool uses to detect shared libraries,
4037 *** $file_magic_cmd, produces output that libtool cannot recognize.
4038 *** The result is that libtool may fail to recognize shared libraries
4039 *** as such.  This will affect the creation of libtool libraries that
4040 *** depend on shared libraries, but programs linked with such libtool
4041 *** libraries will work regardless of this problem.  Nevertheless, you
4042 *** may want to report the problem to your system manager and/or to
4043 *** bug-libtool@gnu.org
4044
4045 EOF
4046           fi ;;
4047         esac
4048       fi
4049       break
4050     fi
4051   done
4052   IFS="$ac_save_ifs"
4053   MAGIC_CMD="$ac_save_MAGIC_CMD"
4054   ;;
4055 esac
4056 fi
4057
4058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4059 if test -n "$MAGIC_CMD"; then
4060   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4061 echo "${ECHO_T}$MAGIC_CMD" >&6
4062 else
4063   echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4065 fi
4066
4067   else
4068     MAGIC_CMD=:
4069   fi
4070 fi
4071
4072   fi
4073   ;;
4074 esac
4075
4076 if test -n "$ac_tool_prefix"; then
4077   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4078 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_RANLIB+set}" = set; then
4082   echo $ECHO_N "(cached) $ECHO_C" >&6
4083 else
4084   if test -n "$RANLIB"; then
4085   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4086 else
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4089 do
4090   IFS=$as_save_IFS
4091   test -z "$as_dir" && as_dir=.
4092   for ac_exec_ext in '' $ac_executable_extensions; do
4093   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4095     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4096     break 2
4097   fi
4098 done
4099 done
4100
4101 fi
4102 fi
4103 RANLIB=$ac_cv_prog_RANLIB
4104 if test -n "$RANLIB"; then
4105   echo "$as_me:$LINENO: result: $RANLIB" >&5
4106 echo "${ECHO_T}$RANLIB" >&6
4107 else
4108   echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4110 fi
4111
4112 fi
4113 if test -z "$ac_cv_prog_RANLIB"; then
4114   ac_ct_RANLIB=$RANLIB
4115   # Extract the first word of "ranlib", so it can be a program name with args.
4116 set dummy ranlib; ac_word=$2
4117 echo "$as_me:$LINENO: checking for $ac_word" >&5
4118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4119 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4120   echo $ECHO_N "(cached) $ECHO_C" >&6
4121 else
4122   if test -n "$ac_ct_RANLIB"; then
4123   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4124 else
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4126 for as_dir in $PATH
4127 do
4128   IFS=$as_save_IFS
4129   test -z "$as_dir" && as_dir=.
4130   for ac_exec_ext in '' $ac_executable_extensions; do
4131   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132     ac_cv_prog_ac_ct_RANLIB="ranlib"
4133     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4134     break 2
4135   fi
4136 done
4137 done
4138
4139   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4140 fi
4141 fi
4142 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4143 if test -n "$ac_ct_RANLIB"; then
4144   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4145 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4146 else
4147   echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4149 fi
4150
4151   RANLIB=$ac_ct_RANLIB
4152 else
4153   RANLIB="$ac_cv_prog_RANLIB"
4154 fi
4155
4156 if test -n "$ac_tool_prefix"; then
4157   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}strip; ac_word=$2
4159 echo "$as_me:$LINENO: checking for $ac_word" >&5
4160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4161 if test "${ac_cv_prog_STRIP+set}" = set; then
4162   echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164   if test -n "$STRIP"; then
4165   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4169 do
4170   IFS=$as_save_IFS
4171   test -z "$as_dir" && as_dir=.
4172   for ac_exec_ext in '' $ac_executable_extensions; do
4173   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4175     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176     break 2
4177   fi
4178 done
4179 done
4180
4181 fi
4182 fi
4183 STRIP=$ac_cv_prog_STRIP
4184 if test -n "$STRIP"; then
4185   echo "$as_me:$LINENO: result: $STRIP" >&5
4186 echo "${ECHO_T}$STRIP" >&6
4187 else
4188   echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4190 fi
4191
4192 fi
4193 if test -z "$ac_cv_prog_STRIP"; then
4194   ac_ct_STRIP=$STRIP
4195   # Extract the first word of "strip", so it can be a program name with args.
4196 set dummy strip; ac_word=$2
4197 echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4200   echo $ECHO_N "(cached) $ECHO_C" >&6
4201 else
4202   if test -n "$ac_ct_STRIP"; then
4203   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4204 else
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH
4207 do
4208   IFS=$as_save_IFS
4209   test -z "$as_dir" && as_dir=.
4210   for ac_exec_ext in '' $ac_executable_extensions; do
4211   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212     ac_cv_prog_ac_ct_STRIP="strip"
4213     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4214     break 2
4215   fi
4216 done
4217 done
4218
4219   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4220 fi
4221 fi
4222 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4223 if test -n "$ac_ct_STRIP"; then
4224   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4225 echo "${ECHO_T}$ac_ct_STRIP" >&6
4226 else
4227   echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4229 fi
4230
4231   STRIP=$ac_ct_STRIP
4232 else
4233   STRIP="$ac_cv_prog_STRIP"
4234 fi
4235
4236
4237 # Check for any special flags to pass to ltconfig.
4238 libtool_flags="--cache-file=$cache_file"
4239 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4240 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4241 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4242 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4243 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4244
4245
4246 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4247 if test "${enable_libtool_lock+set}" = set; then
4248   enableval="$enable_libtool_lock"
4249
4250 fi;
4251 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4252 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4253
4254
4255 # Check whether --with-pic or --without-pic was given.
4256 if test "${with_pic+set}" = set; then
4257   withval="$with_pic"
4258   pic_mode="$withval"
4259 else
4260   pic_mode=default
4261 fi;
4262 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4263 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4264
4265 # Some flags need to be propagated to the compiler or linker for good
4266 # libtool support.
4267 case $host in
4268 *-*-irix6*)
4269   # Find out which ABI we are using.
4270   echo '#line 4270 "configure"' > conftest.$ac_ext
4271   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272   (eval $ac_compile) 2>&5
4273   ac_status=$?
4274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275   (exit $ac_status); }; then
4276    if test "$lt_cv_prog_gnu_ld" = yes; then
4277     case `/usr/bin/file conftest.$ac_objext` in
4278     *32-bit*)
4279       LD="${LD-ld} -melf32bsmip"
4280       ;;
4281     *N32*)
4282       LD="${LD-ld} -melf32bmipn32"
4283       ;;
4284     *64-bit*)
4285       LD="${LD-ld} -melf64bmip"
4286       ;;
4287     esac
4288    else
4289     case `/usr/bin/file conftest.$ac_objext` in
4290     *32-bit*)
4291       LD="${LD-ld} -32"
4292       ;;
4293     *N32*)
4294       LD="${LD-ld} -n32"
4295       ;;
4296     *64-bit*)
4297       LD="${LD-ld} -64"
4298       ;;
4299     esac
4300    fi
4301   fi
4302   rm -rf conftest*
4303   ;;
4304
4305 ia64-*-hpux*)
4306   # Find out which ABI we are using.
4307   echo 'int i;' > conftest.$ac_ext
4308   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309   (eval $ac_compile) 2>&5
4310   ac_status=$?
4311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312   (exit $ac_status); }; then
4313     case "`/usr/bin/file conftest.o`" in
4314     *ELF-32*)
4315       HPUX_IA64_MODE="32"
4316       ;;
4317     *ELF-64*)
4318       HPUX_IA64_MODE="64"
4319       ;;
4320     esac
4321   fi
4322   rm -rf conftest*
4323   ;;
4324
4325 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4326   # Find out which ABI we are using.
4327   echo 'int i;' > conftest.$ac_ext
4328   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329   (eval $ac_compile) 2>&5
4330   ac_status=$?
4331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332   (exit $ac_status); }; then
4333     case "`/usr/bin/file conftest.o`" in
4334     *32-bit*)
4335       case $host in
4336         x86_64-*linux*)
4337           LD="${LD-ld} -m elf_i386"
4338           ;;
4339         ppc64-*linux*|powerpc64-*linux*)
4340           LD="${LD-ld} -m elf32ppclinux"
4341           ;;
4342         s390x-*linux*)
4343           LD="${LD-ld} -m elf_s390"
4344           ;;
4345         sparc64-*linux*)
4346           LD="${LD-ld} -m elf32_sparc"
4347           ;;
4348       esac
4349       ;;
4350     *64-bit*)
4351       case $host in
4352         x86_64-*linux*)
4353           LD="${LD-ld} -m elf_x86_64"
4354           ;;
4355         ppc*-*linux*|powerpc*-*linux*)
4356           LD="${LD-ld} -m elf64ppc"
4357           ;;
4358         s390*-*linux*)
4359           LD="${LD-ld} -m elf64_s390"
4360           ;;
4361         sparc*-*linux*)
4362           LD="${LD-ld} -m elf64_sparc"
4363           ;;
4364       esac
4365       ;;
4366     esac
4367   fi
4368   rm -rf conftest*
4369   ;;
4370
4371 *-*-sco3.2v5*)
4372   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4373   SAVE_CFLAGS="$CFLAGS"
4374   CFLAGS="$CFLAGS -belf"
4375   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4376 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4377 if test "${lt_cv_cc_needs_belf+set}" = set; then
4378   echo $ECHO_N "(cached) $ECHO_C" >&6
4379 else
4380
4381
4382      ac_ext=c
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387
4388      if test x$gcc_no_link = xyes; then
4389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4391    { (exit 1); exit 1; }; }
4392 fi
4393 cat >conftest.$ac_ext <<_ACEOF
4394 #line $LINENO "configure"
4395 /* confdefs.h.  */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h.  */
4400
4401 int
4402 main ()
4403 {
4404
4405   ;
4406   return 0;
4407 }
4408 _ACEOF
4409 rm -f conftest.$ac_objext conftest$ac_exeext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4411   (eval $ac_link) 2>&5
4412   ac_status=$?
4413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414   (exit $ac_status); } &&
4415          { ac_try='test -s conftest$ac_exeext'
4416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417   (eval $ac_try) 2>&5
4418   ac_status=$?
4419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420   (exit $ac_status); }; }; then
4421   lt_cv_cc_needs_belf=yes
4422 else
4423   echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4425
4426 lt_cv_cc_needs_belf=no
4427 fi
4428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4429      ac_ext=c
4430 ac_cpp='$CPP $CPPFLAGS'
4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434
4435 fi
4436 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4437 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4438   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4439     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4440     CFLAGS="$SAVE_CFLAGS"
4441   fi
4442   ;;
4443
4444
4445 esac
4446
4447
4448 # Save cache, so that ltconfig can load it
4449 cat >confcache <<\_ACEOF
4450 # This file is a shell script that caches the results of configure
4451 # tests run on this system so they can be shared between configure
4452 # scripts and configure runs, see configure's option --config-cache.
4453 # It is not useful on other systems.  If it contains results you don't
4454 # want to keep, you may remove or edit it.
4455 #
4456 # config.status only pays attention to the cache file if you give it
4457 # the --recheck option to rerun configure.
4458 #
4459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4461 # following values.
4462
4463 _ACEOF
4464
4465 # The following way of writing the cache mishandles newlines in values,
4466 # but we know of no workaround that is simple, portable, and efficient.
4467 # So, don't put newlines in cache variables' values.
4468 # Ultrix sh set writes to stderr and can't be redirected directly,
4469 # and sets the high bit in the cache file unless we assign to the vars.
4470 {
4471   (set) 2>&1 |
4472     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4473     *ac_space=\ *)
4474       # `set' does not quote correctly, so add quotes (double-quote
4475       # substitution turns \\\\ into \\, and sed turns \\ into \).
4476       sed -n \
4477         "s/'/'\\\\''/g;
4478           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4479       ;;
4480     *)
4481       # `set' quotes correctly as required by POSIX, so do not add quotes.
4482       sed -n \
4483         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4484       ;;
4485     esac;
4486 } |
4487   sed '
4488      t clear
4489      : clear
4490      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4491      t end
4492      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4493      : end' >>confcache
4494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4495   if test -w $cache_file; then
4496     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4497     cat confcache >$cache_file
4498   else
4499     echo "not updating unwritable cache $cache_file"
4500   fi
4501 fi
4502 rm -f confcache
4503
4504 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4505 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4506 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4507 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4508 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4509 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4510 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4511 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4512 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4513 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4514 echo "$as_me: error: libtool configure failed" >&2;}
4515    { (exit 1); exit 1; }; }
4516
4517 # Reload cache, that may have been modified by ltconfig
4518 if test -r "$cache_file"; then
4519   # Some versions of bash will fail to source /dev/null (special
4520   # files actually), so we avoid doing that.
4521   if test -f "$cache_file"; then
4522     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4523 echo "$as_me: loading cache $cache_file" >&6;}
4524     case $cache_file in
4525       [\\/]* | ?:[\\/]* ) . $cache_file;;
4526       *)                      . ./$cache_file;;
4527     esac
4528   fi
4529 else
4530   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4531 echo "$as_me: creating cache $cache_file" >&6;}
4532   >$cache_file
4533 fi
4534
4535
4536 # This can be used to rebuild libtool when needed
4537 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4538
4539 # Always use our own libtool.
4540 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4541
4542 # Redirect the config.log output again, so that the ltconfig log is not
4543 # clobbered by the next message.
4544 exec 5>>./config.log
4545
4546 ac_ext=cc
4547 ac_cpp='$CXXCPP $CPPFLAGS'
4548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4553 if test -z "$CXXCPP"; then
4554   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4555   echo $ECHO_N "(cached) $ECHO_C" >&6
4556 else
4557       # Double quotes because CXXCPP needs to be expanded
4558     for CXXCPP in "$CXX -E" "/lib/cpp"
4559     do
4560       ac_preproc_ok=false
4561 for ac_cxx_preproc_warn_flag in '' yes
4562 do
4563   # Use a header file that comes with gcc, so configuring glibc
4564   # with a fresh cross-compiler works.
4565   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4566   # <limits.h> exists even on freestanding compilers.
4567   # On the NeXT, cc -E runs the code through the compiler's parser,
4568   # not just through cpp. "Syntax error" is here to catch this case.
4569   cat >conftest.$ac_ext <<_ACEOF
4570 #line $LINENO "configure"
4571 /* confdefs.h.  */
4572 _ACEOF
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h.  */
4576 #ifdef __STDC__
4577 # include <limits.h>
4578 #else
4579 # include <assert.h>
4580 #endif
4581                      Syntax error
4582 _ACEOF
4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4584   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4585   ac_status=$?
4586   grep -v '^ *+' conftest.er1 >conftest.err
4587   rm -f conftest.er1
4588   cat conftest.err >&5
4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590   (exit $ac_status); } >/dev/null; then
4591   if test -s conftest.err; then
4592     ac_cpp_err=$ac_cxx_preproc_warn_flag
4593   else
4594     ac_cpp_err=
4595   fi
4596 else
4597   ac_cpp_err=yes
4598 fi
4599 if test -z "$ac_cpp_err"; then
4600   :
4601 else
4602   echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4604
4605   # Broken: fails on valid input.
4606 continue
4607 fi
4608 rm -f conftest.err conftest.$ac_ext
4609
4610   # OK, works on sane cases.  Now check whether non-existent headers
4611   # can be detected and how.
4612   cat >conftest.$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4614 /* confdefs.h.  */
4615 _ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h.  */
4619 #include <ac_nonexistent.h>
4620 _ACEOF
4621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4622   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4623   ac_status=$?
4624   grep -v '^ *+' conftest.er1 >conftest.err
4625   rm -f conftest.er1
4626   cat conftest.err >&5
4627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628   (exit $ac_status); } >/dev/null; then
4629   if test -s conftest.err; then
4630     ac_cpp_err=$ac_cxx_preproc_warn_flag
4631   else
4632     ac_cpp_err=
4633   fi
4634 else
4635   ac_cpp_err=yes
4636 fi
4637 if test -z "$ac_cpp_err"; then
4638   # Broken: success on invalid input.
4639 continue
4640 else
4641   echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.$ac_ext >&5
4643
4644   # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4647 fi
4648 rm -f conftest.err conftest.$ac_ext
4649
4650 done
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then
4654   break
4655 fi
4656
4657     done
4658     ac_cv_prog_CXXCPP=$CXXCPP
4659
4660 fi
4661   CXXCPP=$ac_cv_prog_CXXCPP
4662 else
4663   ac_cv_prog_CXXCPP=$CXXCPP
4664 fi
4665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4666 echo "${ECHO_T}$CXXCPP" >&6
4667 ac_preproc_ok=false
4668 for ac_cxx_preproc_warn_flag in '' yes
4669 do
4670   # Use a header file that comes with gcc, so configuring glibc
4671   # with a fresh cross-compiler works.
4672   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673   # <limits.h> exists even on freestanding compilers.
4674   # On the NeXT, cc -E runs the code through the compiler's parser,
4675   # not just through cpp. "Syntax error" is here to catch this case.
4676   cat >conftest.$ac_ext <<_ACEOF
4677 #line $LINENO "configure"
4678 /* confdefs.h.  */
4679 _ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h.  */
4683 #ifdef __STDC__
4684 # include <limits.h>
4685 #else
4686 # include <assert.h>
4687 #endif
4688                      Syntax error
4689 _ACEOF
4690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4692   ac_status=$?
4693   grep -v '^ *+' conftest.er1 >conftest.err
4694   rm -f conftest.er1
4695   cat conftest.err >&5
4696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697   (exit $ac_status); } >/dev/null; then
4698   if test -s conftest.err; then
4699     ac_cpp_err=$ac_cxx_preproc_warn_flag
4700   else
4701     ac_cpp_err=
4702   fi
4703 else
4704   ac_cpp_err=yes
4705 fi
4706 if test -z "$ac_cpp_err"; then
4707   :
4708 else
4709   echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4711
4712   # Broken: fails on valid input.
4713 continue
4714 fi
4715 rm -f conftest.err conftest.$ac_ext
4716
4717   # OK, works on sane cases.  Now check whether non-existent headers
4718   # can be detected and how.
4719   cat >conftest.$ac_ext <<_ACEOF
4720 #line $LINENO "configure"
4721 /* confdefs.h.  */
4722 _ACEOF
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h.  */
4726 #include <ac_nonexistent.h>
4727 _ACEOF
4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4729   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4730   ac_status=$?
4731   grep -v '^ *+' conftest.er1 >conftest.err
4732   rm -f conftest.er1
4733   cat conftest.err >&5
4734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735   (exit $ac_status); } >/dev/null; then
4736   if test -s conftest.err; then
4737     ac_cpp_err=$ac_cxx_preproc_warn_flag
4738   else
4739     ac_cpp_err=
4740   fi
4741 else
4742   ac_cpp_err=yes
4743 fi
4744 if test -z "$ac_cpp_err"; then
4745   # Broken: success on invalid input.
4746 continue
4747 else
4748   echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4750
4751   # Passes both tests.
4752 ac_preproc_ok=:
4753 break
4754 fi
4755 rm -f conftest.err conftest.$ac_ext
4756
4757 done
4758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4759 rm -f conftest.err conftest.$ac_ext
4760 if $ac_preproc_ok; then
4761   :
4762 else
4763   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4764 See \`config.log' for more details." >&5
4765 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4766 See \`config.log' for more details." >&2;}
4767    { (exit 1); exit 1; }; }
4768 fi
4769
4770 ac_ext=c
4771 ac_cpp='$CPP $CPPFLAGS'
4772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4775
4776
4777
4778 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4779 lt_save_CC="$CC"
4780 lt_save_CFLAGS="$CFLAGS"
4781 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4782 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4783 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4784 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4785 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4786 deplibs_check_method="$deplibs_check_method" \
4787 file_magic_cmd="$file_magic_cmd" \
4788 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4789 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4790 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4791 echo "$as_me: error: libtool tag configuration failed" >&2;}
4792    { (exit 1); exit 1; }; }
4793 CC="$lt_save_CC"
4794 CFLAGS="$lt_save_CFLAGS"
4795
4796 # Redirect the config.log output again, so that the ltconfig log is not
4797 # clobbered by the next message.
4798 exec 5>>./config.log
4799
4800
4801
4802
4803
4804
4805
4806
4807 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4808
4809 # Possibly disable most of the library.
4810 ## XXX Consider skipping unncessary tests altogether in this case, rather
4811 ## than just ignoring the results.  Faster /and/ more correct, win win.
4812
4813   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4814 if test "${enable_hosted_libstdcxx+set}" = set; then
4815   enableval="$enable_hosted_libstdcxx"
4816
4817 else
4818   enable_hosted_libstdcxx=yes
4819 fi;
4820   if test "$enable_hosted_libstdcxx" = no; then
4821     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4822 echo "$as_me: Only freestanding libraries will be built" >&6;}
4823     is_hosted=no
4824     hosted_define=0
4825     enable_abi_check=no
4826     enable_libstdcxx_pch=no
4827   else
4828     is_hosted=yes
4829     hosted_define=1
4830   fi
4831
4832
4833 cat >>confdefs.h <<_ACEOF
4834 #define _GLIBCXX_HOSTED $hosted_define
4835 _ACEOF
4836
4837
4838
4839 # Check for support bits and g++ features that don't require linking.
4840
4841   echo "$as_me:$LINENO: checking for exception model to use" >&5
4842 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4843
4844
4845   ac_ext=cc
4846 ac_cpp='$CXXCPP $CPPFLAGS'
4847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4850
4851    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4852 if test "${enable_sjlj_exceptions+set}" = set; then
4853   enableval="$enable_sjlj_exceptions"
4854
4855       case "$enableval" in
4856        yes|no|auto) ;;
4857        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4858 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4859    { (exit 1); exit 1; }; } ;;
4860                           esac
4861
4862 else
4863   enable_sjlj_exceptions=auto
4864 fi;
4865
4866
4867   if test $enable_sjlj_exceptions = auto; then
4868     # Botheration.  Now we've got to detect the exception model.  Link tests
4869     # against libgcc.a are problematic since we've not been given proper -L
4870     # bits for single-tree newlib and libgloss.
4871     #
4872     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
4873     cat > conftest.$ac_ext << EOF
4874 #line 4874 "configure"
4875 struct S { ~S(); };
4876 void bar();
4877 void foo()
4878 {
4879   S s;
4880   bar();
4881 }
4882 EOF
4883     old_CXXFLAGS="$CXXFLAGS"
4884     CXXFLAGS=-S
4885     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4886   (eval $ac_compile) 2>&5
4887   ac_status=$?
4888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889   (exit $ac_status); }; then
4890       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4891         enable_sjlj_exceptions=yes
4892       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4893         enable_sjlj_exceptions=no
4894       fi
4895     fi
4896     CXXFLAGS="$old_CXXFLAGS"
4897     rm -f conftest*
4898   fi
4899
4900   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
4901   # to two different models.
4902   case $enable_sjlj_exceptions in
4903     yes)
4904
4905 cat >>confdefs.h <<\_ACEOF
4906 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4907 _ACEOF
4908
4909       ac_exception_model_name=sjlj
4910       ;;
4911     no)
4912       ac_exception_model_name="call frame"
4913       ;;
4914     *)
4915       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4916 echo "$as_me: error: unable to detect exception model" >&2;}
4917    { (exit 1); exit 1; }; }
4918       ;;
4919   esac
4920  ac_ext=c
4921 ac_cpp='$CPP $CPPFLAGS'
4922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4925
4926  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4927 echo "${ECHO_T}$ac_exception_model_name" >&6
4928
4929
4930   echo "$as_me:$LINENO: checking for enabled PCH" >&5
4931 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4932    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4933 if test "${enable_libstdcxx_pch+set}" = set; then
4934   enableval="$enable_libstdcxx_pch"
4935
4936       case "$enableval" in
4937        yes|no) ;;
4938        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4939 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4940    { (exit 1); exit 1; }; } ;;
4941       esac
4942
4943 else
4944   enable_libstdcxx_pch=$is_hosted
4945 fi;
4946
4947   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4949
4950   if test $enable_libstdcxx_pch = yes; then
4951     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4952 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4953 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4954   echo $ECHO_N "(cached) $ECHO_C" >&6
4955 else
4956   ac_save_CXXFLAGS="$CXXFLAGS"
4957        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4958
4959
4960        ac_ext=cc
4961 ac_cpp='$CXXCPP $CPPFLAGS'
4962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4965
4966        echo '#include <math.h>' > conftest.h
4967        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4968                           -o conftest.h.gch 1>&5 2>&1 &&
4969                 echo '#error "pch failed"' > conftest.h &&
4970           echo '#include "conftest.h"' > conftest.cc &&
4971                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4972        then
4973          glibcxx_cv_prog_CXX_pch=yes
4974        else
4975          glibcxx_cv_prog_CXX_pch=no
4976        fi
4977        rm -f conftest*
4978        CXXFLAGS=$ac_save_CXXFLAGS
4979        ac_ext=c
4980 ac_cpp='$CPP $CPPFLAGS'
4981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4984
4985
4986 fi
4987 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4988 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4989     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
4990   fi
4991
4992
4993   if test $enable_libstdcxx_pch = yes; then
4994     glibcxx_PCHFLAGS="-include bits/stdc++.h"
4995   else
4996     glibcxx_PCHFLAGS=""
4997   fi
4998
4999
5000
5001 # Enable all the variable C++ runtime options.
5002 # NB: C_MBCHAR must come early.
5003
5004   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5005 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5006    # Check whether --enable-cstdio or --disable-cstdio was given.
5007 if test "${enable_cstdio+set}" = set; then
5008   enableval="$enable_cstdio"
5009
5010       case "$enableval" in
5011        stdio) ;;
5012        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5013 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5014    { (exit 1); exit 1; }; } ;;
5015                           esac
5016
5017 else
5018   enable_cstdio=stdio
5019 fi;
5020
5021
5022   # Now that libio has been removed, you can have any color you want as long
5023   # as it's black.  This is one big no-op until other packages are added, but
5024   # showing the framework never hurts.
5025   case ${enable_cstdio} in
5026     stdio)
5027       CSTDIO_H=config/io/c_io_stdio.h
5028       BASIC_FILE_H=config/io/basic_file_stdio.h
5029       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5030       echo "$as_me:$LINENO: result: stdio" >&5
5031 echo "${ECHO_T}stdio" >&6
5032       ;;
5033   esac
5034
5035
5036
5037
5038
5039 ac_ext=c
5040 ac_cpp='$CPP $CPPFLAGS'
5041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5044 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5045 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5046 # On Suns, sometimes $CPP names a directory.
5047 if test -n "$CPP" && test -d "$CPP"; then
5048   CPP=
5049 fi
5050 if test -z "$CPP"; then
5051   if test "${ac_cv_prog_CPP+set}" = set; then
5052   echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054       # Double quotes because CPP needs to be expanded
5055     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5056     do
5057       ac_preproc_ok=false
5058 for ac_c_preproc_warn_flag in '' yes
5059 do
5060   # Use a header file that comes with gcc, so configuring glibc
5061   # with a fresh cross-compiler works.
5062   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5063   # <limits.h> exists even on freestanding compilers.
5064   # On the NeXT, cc -E runs the code through the compiler's parser,
5065   # not just through cpp. "Syntax error" is here to catch this case.
5066   cat >conftest.$ac_ext <<_ACEOF
5067 #line $LINENO "configure"
5068 /* confdefs.h.  */
5069 _ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h.  */
5073 #ifdef __STDC__
5074 # include <limits.h>
5075 #else
5076 # include <assert.h>
5077 #endif
5078                      Syntax error
5079 _ACEOF
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5082   ac_status=$?
5083   grep -v '^ *+' conftest.er1 >conftest.err
5084   rm -f conftest.er1
5085   cat conftest.err >&5
5086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087   (exit $ac_status); } >/dev/null; then
5088   if test -s conftest.err; then
5089     ac_cpp_err=$ac_c_preproc_warn_flag
5090   else
5091     ac_cpp_err=
5092   fi
5093 else
5094   ac_cpp_err=yes
5095 fi
5096 if test -z "$ac_cpp_err"; then
5097   :
5098 else
5099   echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5
5101
5102   # Broken: fails on valid input.
5103 continue
5104 fi
5105 rm -f conftest.err conftest.$ac_ext
5106
5107   # OK, works on sane cases.  Now check whether non-existent headers
5108   # can be detected and how.
5109   cat >conftest.$ac_ext <<_ACEOF
5110 #line $LINENO "configure"
5111 /* confdefs.h.  */
5112 _ACEOF
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h.  */
5116 #include <ac_nonexistent.h>
5117 _ACEOF
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120   ac_status=$?
5121   grep -v '^ *+' conftest.er1 >conftest.err
5122   rm -f conftest.er1
5123   cat conftest.err >&5
5124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125   (exit $ac_status); } >/dev/null; then
5126   if test -s conftest.err; then
5127     ac_cpp_err=$ac_c_preproc_warn_flag
5128   else
5129     ac_cpp_err=
5130   fi
5131 else
5132   ac_cpp_err=yes
5133 fi
5134 if test -z "$ac_cpp_err"; then
5135   # Broken: success on invalid input.
5136 continue
5137 else
5138   echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5140
5141   # Passes both tests.
5142 ac_preproc_ok=:
5143 break
5144 fi
5145 rm -f conftest.err conftest.$ac_ext
5146
5147 done
5148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5149 rm -f conftest.err conftest.$ac_ext
5150 if $ac_preproc_ok; then
5151   break
5152 fi
5153
5154     done
5155     ac_cv_prog_CPP=$CPP
5156
5157 fi
5158   CPP=$ac_cv_prog_CPP
5159 else
5160   ac_cv_prog_CPP=$CPP
5161 fi
5162 echo "$as_me:$LINENO: result: $CPP" >&5
5163 echo "${ECHO_T}$CPP" >&6
5164 ac_preproc_ok=false
5165 for ac_c_preproc_warn_flag in '' yes
5166 do
5167   # Use a header file that comes with gcc, so configuring glibc
5168   # with a fresh cross-compiler works.
5169   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5170   # <limits.h> exists even on freestanding compilers.
5171   # On the NeXT, cc -E runs the code through the compiler's parser,
5172   # not just through cpp. "Syntax error" is here to catch this case.
5173   cat >conftest.$ac_ext <<_ACEOF
5174 #line $LINENO "configure"
5175 /* confdefs.h.  */
5176 _ACEOF
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h.  */
5180 #ifdef __STDC__
5181 # include <limits.h>
5182 #else
5183 # include <assert.h>
5184 #endif
5185                      Syntax error
5186 _ACEOF
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5189   ac_status=$?
5190   grep -v '^ *+' conftest.er1 >conftest.err
5191   rm -f conftest.er1
5192   cat conftest.err >&5
5193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194   (exit $ac_status); } >/dev/null; then
5195   if test -s conftest.err; then
5196     ac_cpp_err=$ac_c_preproc_warn_flag
5197   else
5198     ac_cpp_err=
5199   fi
5200 else
5201   ac_cpp_err=yes
5202 fi
5203 if test -z "$ac_cpp_err"; then
5204   :
5205 else
5206   echo "$as_me: failed program was:" >&5
5207 sed 's/^/| /' conftest.$ac_ext >&5
5208
5209   # Broken: fails on valid input.
5210 continue
5211 fi
5212 rm -f conftest.err conftest.$ac_ext
5213
5214   # OK, works on sane cases.  Now check whether non-existent headers
5215   # can be detected and how.
5216   cat >conftest.$ac_ext <<_ACEOF
5217 #line $LINENO "configure"
5218 /* confdefs.h.  */
5219 _ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h.  */
5223 #include <ac_nonexistent.h>
5224 _ACEOF
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5227   ac_status=$?
5228   grep -v '^ *+' conftest.er1 >conftest.err
5229   rm -f conftest.er1
5230   cat conftest.err >&5
5231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232   (exit $ac_status); } >/dev/null; then
5233   if test -s conftest.err; then
5234     ac_cpp_err=$ac_c_preproc_warn_flag
5235   else
5236     ac_cpp_err=
5237   fi
5238 else
5239   ac_cpp_err=yes
5240 fi
5241 if test -z "$ac_cpp_err"; then
5242   # Broken: success on invalid input.
5243 continue
5244 else
5245   echo "$as_me: failed program was:" >&5
5246 sed 's/^/| /' conftest.$ac_ext >&5
5247
5248   # Passes both tests.
5249 ac_preproc_ok=:
5250 break
5251 fi
5252 rm -f conftest.err conftest.$ac_ext
5253
5254 done
5255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5256 rm -f conftest.err conftest.$ac_ext
5257 if $ac_preproc_ok; then
5258   :
5259 else
5260   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5261 See \`config.log' for more details." >&5
5262 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5263 See \`config.log' for more details." >&2;}
5264    { (exit 1); exit 1; }; }
5265 fi
5266
5267 ac_ext=c
5268 ac_cpp='$CPP $CPPFLAGS'
5269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5272
5273
5274 echo "$as_me:$LINENO: checking for egrep" >&5
5275 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5276 if test "${ac_cv_prog_egrep+set}" = set; then
5277   echo $ECHO_N "(cached) $ECHO_C" >&6
5278 else
5279   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5280     then ac_cv_prog_egrep='grep -E'
5281     else ac_cv_prog_egrep='egrep'
5282     fi
5283 fi
5284 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5285 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5286  EGREP=$ac_cv_prog_egrep
5287
5288
5289 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5290 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5291 if test "${ac_cv_header_stdc+set}" = set; then
5292   echo $ECHO_N "(cached) $ECHO_C" >&6
5293 else
5294   cat >conftest.$ac_ext <<_ACEOF
5295 #line $LINENO "configure"
5296 /* confdefs.h.  */
5297 _ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h.  */
5301 #include <stdlib.h>
5302 #include <stdarg.h>
5303 #include <string.h>
5304 #include <float.h>
5305
5306 int
5307 main ()
5308 {
5309
5310   ;
5311   return 0;
5312 }
5313 _ACEOF
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316   (eval $ac_compile) 2>&5
5317   ac_status=$?
5318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319   (exit $ac_status); } &&
5320          { ac_try='test -s conftest.$ac_objext'
5321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322   (eval $ac_try) 2>&5
5323   ac_status=$?
5324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325   (exit $ac_status); }; }; then
5326   ac_cv_header_stdc=yes
5327 else
5328   echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5330
5331 ac_cv_header_stdc=no
5332 fi
5333 rm -f conftest.$ac_objext conftest.$ac_ext
5334
5335 if test $ac_cv_header_stdc = yes; then
5336   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5337   cat >conftest.$ac_ext <<_ACEOF
5338 #line $LINENO "configure"
5339 /* confdefs.h.  */
5340 _ACEOF
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h.  */
5344 #include <string.h>
5345
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348   $EGREP "memchr" >/dev/null 2>&1; then
5349   :
5350 else
5351   ac_cv_header_stdc=no
5352 fi
5353 rm -f conftest*
5354
5355 fi
5356
5357 if test $ac_cv_header_stdc = yes; then
5358   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5359   cat >conftest.$ac_ext <<_ACEOF
5360 #line $LINENO "configure"
5361 /* confdefs.h.  */
5362 _ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h.  */
5366 #include <stdlib.h>
5367
5368 _ACEOF
5369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5370   $EGREP "free" >/dev/null 2>&1; then
5371   :
5372 else
5373   ac_cv_header_stdc=no
5374 fi
5375 rm -f conftest*
5376
5377 fi
5378
5379 if test $ac_cv_header_stdc = yes; then
5380   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5381   if test "$cross_compiling" = yes; then
5382   :
5383 else
5384   cat >conftest.$ac_ext <<_ACEOF
5385 #line $LINENO "configure"
5386 /* confdefs.h.  */
5387 _ACEOF
5388 cat confdefs.h >>conftest.$ac_ext
5389 cat >>conftest.$ac_ext <<_ACEOF
5390 /* end confdefs.h.  */
5391 #include <ctype.h>
5392 #if ((' ' & 0x0FF) == 0x020)
5393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5395 #else
5396 # define ISLOWER(c) \
5397                    (('a' <= (c) && (c) <= 'i') \
5398                      || ('j' <= (c) && (c) <= 'r') \
5399                      || ('s' <= (c) && (c) <= 'z'))
5400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5401 #endif
5402
5403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5404 int
5405 main ()
5406 {
5407   int i;
5408   for (i = 0; i < 256; i++)
5409     if (XOR (islower (i), ISLOWER (i))
5410         || toupper (i) != TOUPPER (i))
5411       exit(2);
5412   exit (0);
5413 }
5414 _ACEOF
5415 rm -f conftest$ac_exeext
5416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5417   (eval $ac_link) 2>&5
5418   ac_status=$?
5419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422   (eval $ac_try) 2>&5
5423   ac_status=$?
5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425   (exit $ac_status); }; }; then
5426   :
5427 else
5428   echo "$as_me: program exited with status $ac_status" >&5
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5431
5432 ( exit $ac_status )
5433 ac_cv_header_stdc=no
5434 fi
5435 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5436 fi
5437 fi
5438 fi
5439 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5440 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5441 if test $ac_cv_header_stdc = yes; then
5442
5443 cat >>confdefs.h <<\_ACEOF
5444 #define STDC_HEADERS 1
5445 _ACEOF
5446
5447 fi
5448
5449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5460                   inttypes.h stdint.h unistd.h
5461 do
5462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5463 echo "$as_me:$LINENO: checking for $ac_header" >&5
5464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5466   echo $ECHO_N "(cached) $ECHO_C" >&6
5467 else
5468   cat >conftest.$ac_ext <<_ACEOF
5469 #line $LINENO "configure"
5470 /* confdefs.h.  */
5471 _ACEOF
5472 cat confdefs.h >>conftest.$ac_ext
5473 cat >>conftest.$ac_ext <<_ACEOF
5474 /* end confdefs.h.  */
5475 $ac_includes_default
5476
5477 #include <$ac_header>
5478 _ACEOF
5479 rm -f conftest.$ac_objext
5480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5481   (eval $ac_compile) 2>&5
5482   ac_status=$?
5483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484   (exit $ac_status); } &&
5485          { ac_try='test -s conftest.$ac_objext'
5486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5487   (eval $ac_try) 2>&5
5488   ac_status=$?
5489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490   (exit $ac_status); }; }; then
5491   eval "$as_ac_Header=yes"
5492 else
5493   echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5495
5496 eval "$as_ac_Header=no"
5497 fi
5498 rm -f conftest.$ac_objext conftest.$ac_ext
5499 fi
5500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5503   cat >>confdefs.h <<_ACEOF
5504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5505 _ACEOF
5506
5507 fi
5508
5509 done
5510
5511
5512
5513   echo "$as_me:$LINENO: checking for C locale to use" >&5
5514 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5515    # Check whether --enable-clocale or --disable-clocale was given.
5516 if test "${enable_clocale+set}" = set; then
5517   enableval="$enable_clocale"
5518
5519       case "$enableval" in
5520        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5521        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5522 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5523    { (exit 1); exit 1; }; } ;;
5524                           esac
5525
5526 else
5527   enable_clocale=auto
5528 fi;
5529
5530
5531   # If they didn't use this option switch, or if they specified --enable
5532   # with no specific model, we'll have to look for one.  If they
5533   # specified --disable (???), do likewise.
5534   if test $enable_clocale = no || test $enable_clocale = yes; then
5535      enable_clocale=auto
5536   fi
5537
5538   # Either a known package, or "auto"
5539   enable_clocale_flag=$enable_clocale
5540
5541   # Probe for locale support if no specific model is specified.
5542   # Default to "generic".
5543   if test $enable_clocale_flag = auto; then
5544     case x${target_os} in
5545       xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5546         cat >conftest.$ac_ext <<_ACEOF
5547 #line $LINENO "configure"
5548 /* confdefs.h.  */
5549 _ACEOF
5550 cat confdefs.h >>conftest.$ac_ext
5551 cat >>conftest.$ac_ext <<_ACEOF
5552 /* end confdefs.h.  */
5553
5554         #include <features.h>
5555         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5556           _GLIBCXX_ok
5557         #endif
5558
5559 _ACEOF
5560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5561   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5562   enable_clocale_flag=gnu
5563 else
5564   enable_clocale_flag=generic
5565 fi
5566 rm -f conftest*
5567
5568
5569         # Test for bugs early in glibc-2.2.x series
5570           if test x$enable_clocale_flag = xgnu; then
5571           if test "$cross_compiling" = yes; then
5572   enable_clocale_flag=generic
5573 else
5574   cat >conftest.$ac_ext <<_ACEOF
5575 #line $LINENO "configure"
5576 /* confdefs.h.  */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h.  */
5581
5582           #define _GNU_SOURCE 1
5583           #include <locale.h>
5584           #include <string.h>
5585           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5586           extern __typeof(newlocale) __newlocale;
5587           extern __typeof(duplocale) __duplocale;
5588           extern __typeof(strcoll_l) __strcoll_l;
5589           #endif
5590           int main()
5591           {
5592               const char __one[] = "Äuglein Augmen";
5593               const char __two[] = "Äuglein";
5594               int i;
5595               int j;
5596               __locale_t        loc;
5597                __locale_t        loc_dup;
5598               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5599               loc_dup = __duplocale(loc);
5600               i = __strcoll_l(__one, __two, loc);
5601               j = __strcoll_l(__one, __two, loc_dup);
5602               return 0;
5603           }
5604
5605 _ACEOF
5606 rm -f conftest$ac_exeext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5608   (eval $ac_link) 2>&5
5609   ac_status=$?
5610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613   (eval $ac_try) 2>&5
5614   ac_status=$?
5615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616   (exit $ac_status); }; }; then
5617   enable_clocale_flag=gnu
5618 else
5619   echo "$as_me: program exited with status $ac_status" >&5
5620 echo "$as_me: failed program was:" >&5
5621 sed 's/^/| /' conftest.$ac_ext >&5
5622
5623 ( exit $ac_status )
5624 enable_clocale_flag=generic
5625 fi
5626 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5627 fi
5628           fi
5629
5630         # ... at some point put __strxfrm_l tests in as well.
5631         ;;
5632       *)
5633         enable_clocale_flag=generic
5634         ;;
5635     esac
5636   fi
5637
5638   # Deal with gettext issues.  Default to not using it (=no) until we detect
5639   # support for it later.  Let the user turn it off via --e/d, but let that
5640   # default to on for easier handling.
5641   USE_NLS=no
5642   # Check whether --enable-nls or --disable-nls was given.
5643 if test "${enable_nls+set}" = set; then
5644   enableval="$enable_nls"
5645
5646 else
5647   enable_nls=yes
5648 fi;
5649
5650   # Set configure bits for specified locale package
5651   case ${enable_clocale_flag} in
5652     generic)
5653       echo "$as_me:$LINENO: result: generic" >&5
5654 echo "${ECHO_T}generic" >&6
5655
5656       CLOCALE_H=config/locale/generic/c_locale.h
5657       CLOCALE_CC=config/locale/generic/c_locale.cc
5658       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5659       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5660       CCOLLATE_CC=config/locale/generic/collate_members.cc
5661       CCTYPE_CC=config/locale/generic/ctype_members.cc
5662       CMESSAGES_H=config/locale/generic/messages_members.h
5663       CMESSAGES_CC=config/locale/generic/messages_members.cc
5664       CMONEY_CC=config/locale/generic/monetary_members.cc
5665       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5666       CTIME_H=config/locale/generic/time_members.h
5667       CTIME_CC=config/locale/generic/time_members.cc
5668       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5669       ;;
5670     gnu)
5671       echo "$as_me:$LINENO: result: gnu" >&5
5672 echo "${ECHO_T}gnu" >&6
5673
5674       # Declare intention to use gettext, and add support for specific
5675       # languages.
5676       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5677       ALL_LINGUAS="de fr"
5678
5679       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5680       # Extract the first word of "msgfmt", so it can be a program name with args.
5681 set dummy msgfmt; ac_word=$2
5682 echo "$as_me:$LINENO: checking for $ac_word" >&5
5683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5684 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5685   echo $ECHO_N "(cached) $ECHO_C" >&6
5686 else
5687   if test -n "$check_msgfmt"; then
5688   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5692 do
5693   IFS=$as_save_IFS
5694   test -z "$as_dir" && as_dir=.
5695   for ac_exec_ext in '' $ac_executable_extensions; do
5696   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697     ac_cv_prog_check_msgfmt="yes"
5698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5699     break 2
5700   fi
5701 done
5702 done
5703
5704   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5705 fi
5706 fi
5707 check_msgfmt=$ac_cv_prog_check_msgfmt
5708 if test -n "$check_msgfmt"; then
5709   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5710 echo "${ECHO_T}$check_msgfmt" >&6
5711 else
5712   echo "$as_me:$LINENO: result: no" >&5
5713 echo "${ECHO_T}no" >&6
5714 fi
5715
5716       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5717         USE_NLS=yes
5718       fi
5719       # Export the build objects.
5720       for ling in $ALL_LINGUAS; do \
5721         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5722         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5723       done
5724
5725
5726
5727       CLOCALE_H=config/locale/gnu/c_locale.h
5728       CLOCALE_CC=config/locale/gnu/c_locale.cc
5729       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5730       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5731       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5732       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5733       CMESSAGES_H=config/locale/gnu/messages_members.h
5734       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5735       CMONEY_CC=config/locale/gnu/monetary_members.cc
5736       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5737       CTIME_H=config/locale/gnu/time_members.h
5738       CTIME_CC=config/locale/gnu/time_members.cc
5739       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5740       ;;
5741     ieee_1003.1-2001)
5742       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5743 echo "${ECHO_T}IEEE 1003.1" >&6
5744
5745       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5746       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5747       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5748       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5749       CCOLLATE_CC=config/locale/generic/collate_members.cc
5750       CCTYPE_CC=config/locale/generic/ctype_members.cc
5751       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5752       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5753       CMONEY_CC=config/locale/generic/monetary_members.cc
5754       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5755       CTIME_H=config/locale/generic/time_members.h
5756       CTIME_CC=config/locale/generic/time_members.cc
5757       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5758       ;;
5759   esac
5760
5761   # This is where the testsuite looks for locale catalogs, using the
5762   # -DLOCALEDIR define during testsuite compilation.
5763   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5764
5765
5766   # A standalone libintl (e.g., GNU libintl) may be in use.
5767   if test $USE_NLS = yes; then
5768
5769 for ac_header in libintl.h
5770 do
5771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5773   echo "$as_me:$LINENO: checking for $ac_header" >&5
5774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5776   echo $ECHO_N "(cached) $ECHO_C" >&6
5777 fi
5778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5780 else
5781   # Is the header compilable?
5782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5784 cat >conftest.$ac_ext <<_ACEOF
5785 #line $LINENO "configure"
5786 /* confdefs.h.  */
5787 _ACEOF
5788 cat confdefs.h >>conftest.$ac_ext
5789 cat >>conftest.$ac_ext <<_ACEOF
5790 /* end confdefs.h.  */
5791 $ac_includes_default
5792 #include <$ac_header>
5793 _ACEOF
5794 rm -f conftest.$ac_objext
5795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5796   (eval $ac_compile) 2>&5
5797   ac_status=$?
5798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799   (exit $ac_status); } &&
5800          { ac_try='test -s conftest.$ac_objext'
5801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802   (eval $ac_try) 2>&5
5803   ac_status=$?
5804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805   (exit $ac_status); }; }; then
5806   ac_header_compiler=yes
5807 else
5808   echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.$ac_ext >&5
5810
5811 ac_header_compiler=no
5812 fi
5813 rm -f conftest.$ac_objext conftest.$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5815 echo "${ECHO_T}$ac_header_compiler" >&6
5816
5817 # Is the header present?
5818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5820 cat >conftest.$ac_ext <<_ACEOF
5821 #line $LINENO "configure"
5822 /* confdefs.h.  */
5823 _ACEOF
5824 cat confdefs.h >>conftest.$ac_ext
5825 cat >>conftest.$ac_ext <<_ACEOF
5826 /* end confdefs.h.  */
5827 #include <$ac_header>
5828 _ACEOF
5829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5830   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5831   ac_status=$?
5832   grep -v '^ *+' conftest.er1 >conftest.err
5833   rm -f conftest.er1
5834   cat conftest.err >&5
5835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836   (exit $ac_status); } >/dev/null; then
5837   if test -s conftest.err; then
5838     ac_cpp_err=$ac_c_preproc_warn_flag
5839   else
5840     ac_cpp_err=
5841   fi
5842 else
5843   ac_cpp_err=yes
5844 fi
5845 if test -z "$ac_cpp_err"; then
5846   ac_header_preproc=yes
5847 else
5848   echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.$ac_ext >&5
5850
5851   ac_header_preproc=no
5852 fi
5853 rm -f conftest.err conftest.$ac_ext
5854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5855 echo "${ECHO_T}$ac_header_preproc" >&6
5856
5857 # So?  What about this header?
5858 case $ac_header_compiler:$ac_header_preproc in
5859   yes:no )
5860     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5862     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5864     (
5865       cat <<\_ASBOX
5866 ## ------------------------------------ ##
5867 ## Report this to bug-autoconf@gnu.org. ##
5868 ## ------------------------------------ ##
5869 _ASBOX
5870     ) |
5871       sed "s/^/$as_me: WARNING:     /" >&2
5872     ;;
5873   no:yes )
5874     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5876     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5878     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5880     (
5881       cat <<\_ASBOX
5882 ## ------------------------------------ ##
5883 ## Report this to bug-autoconf@gnu.org. ##
5884 ## ------------------------------------ ##
5885 _ASBOX
5886     ) |
5887       sed "s/^/$as_me: WARNING:     /" >&2
5888     ;;
5889 esac
5890 echo "$as_me:$LINENO: checking for $ac_header" >&5
5891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5893   echo $ECHO_N "(cached) $ECHO_C" >&6
5894 else
5895   eval "$as_ac_Header=$ac_header_preproc"
5896 fi
5897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5899
5900 fi
5901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5902   cat >>confdefs.h <<_ACEOF
5903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5904 _ACEOF
5905
5906 else
5907   USE_NLS=no
5908 fi
5909
5910 done
5911
5912     echo "$as_me:$LINENO: checking for library containing gettext" >&5
5913 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5914 if test "${ac_cv_search_gettext+set}" = set; then
5915   echo $ECHO_N "(cached) $ECHO_C" >&6
5916 else
5917   ac_func_search_save_LIBS=$LIBS
5918 ac_cv_search_gettext=no
5919 if test x$gcc_no_link = xyes; then
5920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5922    { (exit 1); exit 1; }; }
5923 fi
5924 cat >conftest.$ac_ext <<_ACEOF
5925 #line $LINENO "configure"
5926 /* confdefs.h.  */
5927 _ACEOF
5928 cat confdefs.h >>conftest.$ac_ext
5929 cat >>conftest.$ac_ext <<_ACEOF
5930 /* end confdefs.h.  */
5931
5932 /* Override any gcc2 internal prototype to avoid an error.  */
5933 #ifdef __cplusplus
5934 extern "C"
5935 #endif
5936 /* We use char because int might match the return type of a gcc2
5937    builtin and then its argument prototype would still apply.  */
5938 char gettext ();
5939 int
5940 main ()
5941 {
5942 gettext ();
5943   ;
5944   return 0;
5945 }
5946 _ACEOF
5947 rm -f conftest.$ac_objext conftest$ac_exeext
5948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5949   (eval $ac_link) 2>&5
5950   ac_status=$?
5951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952   (exit $ac_status); } &&
5953          { ac_try='test -s conftest$ac_exeext'
5954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5955   (eval $ac_try) 2>&5
5956   ac_status=$?
5957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958   (exit $ac_status); }; }; then
5959   ac_cv_search_gettext="none required"
5960 else
5961   echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5963
5964 fi
5965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5966 if test "$ac_cv_search_gettext" = no; then
5967   for ac_lib in intl; do
5968     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5969     if test x$gcc_no_link = xyes; then
5970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5972    { (exit 1); exit 1; }; }
5973 fi
5974 cat >conftest.$ac_ext <<_ACEOF
5975 #line $LINENO "configure"
5976 /* confdefs.h.  */
5977 _ACEOF
5978 cat confdefs.h >>conftest.$ac_ext
5979 cat >>conftest.$ac_ext <<_ACEOF
5980 /* end confdefs.h.  */
5981
5982 /* Override any gcc2 internal prototype to avoid an error.  */
5983 #ifdef __cplusplus
5984 extern "C"
5985 #endif
5986 /* We use char because int might match the return type of a gcc2
5987    builtin and then its argument prototype would still apply.  */
5988 char gettext ();
5989 int
5990 main ()
5991 {
5992 gettext ();
5993   ;
5994   return 0;
5995 }
5996 _ACEOF
5997 rm -f conftest.$ac_objext conftest$ac_exeext
5998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5999   (eval $ac_link) 2>&5
6000   ac_status=$?
6001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002   (exit $ac_status); } &&
6003          { ac_try='test -s conftest$ac_exeext'
6004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005   (eval $ac_try) 2>&5
6006   ac_status=$?
6007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008   (exit $ac_status); }; }; then
6009   ac_cv_search_gettext="-l$ac_lib"
6010 break
6011 else
6012   echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6014
6015 fi
6016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6017   done
6018 fi
6019 LIBS=$ac_func_search_save_LIBS
6020 fi
6021 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6022 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6023 if test "$ac_cv_search_gettext" != no; then
6024   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6025
6026 else
6027   USE_NLS=no
6028 fi
6029
6030   fi
6031   if test $USE_NLS = yes; then
6032     cat >>confdefs.h <<\_ACEOF
6033 #define _GLIBCXX_USE_NLS 1
6034 _ACEOF
6035
6036   fi
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054    # Check whether --enable-cheaders or --disable-cheaders was given.
6055 if test "${enable_cheaders+set}" = set; then
6056   enableval="$enable_cheaders"
6057
6058       case "$enableval" in
6059        c|c_std) ;;
6060        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6061 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6062    { (exit 1); exit 1; }; } ;;
6063                           esac
6064
6065 else
6066   enable_cheaders=$c_model
6067 fi;
6068
6069   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6070 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6071
6072   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6073
6074
6075
6076
6077
6078
6079    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6080 if test "${enable_c_mbchar+set}" = set; then
6081   enableval="$enable_c_mbchar"
6082
6083       case "$enableval" in
6084        yes|no) ;;
6085        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6086 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6087    { (exit 1); exit 1; }; } ;;
6088       esac
6089
6090 else
6091   enable_c_mbchar=yes
6092 fi;
6093
6094   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6095
6096
6097
6098    # Check whether --enable-c99 or --disable-c99 was given.
6099 if test "${enable_c99+set}" = set; then
6100   enableval="$enable_c99"
6101
6102       case "$enableval" in
6103        yes|no) ;;
6104        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6105 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6106    { (exit 1); exit 1; }; } ;;
6107       esac
6108
6109 else
6110   enable_c99=yes
6111 fi;
6112
6113
6114
6115
6116   ac_ext=cc
6117 ac_cpp='$CXXCPP $CPPFLAGS'
6118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6121
6122
6123   # Check for the existence of <math.h> functions used if C99 is enabled.
6124   ac_c99_math=yes;
6125   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6126 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6127   cat >conftest.$ac_ext <<_ACEOF
6128 #line $LINENO "configure"
6129 /* confdefs.h.  */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
6133 /* end confdefs.h.  */
6134 #include <math.h>
6135 int
6136 main ()
6137 {
6138 fpclassify(0.0);
6139   ;
6140   return 0;
6141 }
6142 _ACEOF
6143 rm -f conftest.$ac_objext
6144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6145   (eval $ac_compile) 2>&5
6146   ac_status=$?
6147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148   (exit $ac_status); } &&
6149          { ac_try='test -s conftest.$ac_objext'
6150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151   (eval $ac_try) 2>&5
6152   ac_status=$?
6153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154   (exit $ac_status); }; }; then
6155   :
6156 else
6157   echo "$as_me: failed program was:" >&5
6158 sed 's/^/| /' conftest.$ac_ext >&5
6159
6160 ac_c99_math=no
6161 fi
6162 rm -f conftest.$ac_objext conftest.$ac_ext
6163   cat >conftest.$ac_ext <<_ACEOF
6164 #line $LINENO "configure"
6165 /* confdefs.h.  */
6166 _ACEOF
6167 cat confdefs.h >>conftest.$ac_ext
6168 cat >>conftest.$ac_ext <<_ACEOF
6169 /* end confdefs.h.  */
6170 #include <math.h>
6171 int
6172 main ()
6173 {
6174 isfinite(0.0);
6175   ;
6176   return 0;
6177 }
6178 _ACEOF
6179 rm -f conftest.$ac_objext
6180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6181   (eval $ac_compile) 2>&5
6182   ac_status=$?
6183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184   (exit $ac_status); } &&
6185          { ac_try='test -s conftest.$ac_objext'
6186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6187   (eval $ac_try) 2>&5
6188   ac_status=$?
6189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190   (exit $ac_status); }; }; then
6191   :
6192 else
6193   echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6195
6196 ac_c99_math=no
6197 fi
6198 rm -f conftest.$ac_objext conftest.$ac_ext
6199   cat >conftest.$ac_ext <<_ACEOF
6200 #line $LINENO "configure"
6201 /* confdefs.h.  */
6202 _ACEOF
6203 cat confdefs.h >>conftest.$ac_ext
6204 cat >>conftest.$ac_ext <<_ACEOF
6205 /* end confdefs.h.  */
6206 #include <math.h>
6207 int
6208 main ()
6209 {
6210 isinf(0.0);
6211   ;
6212   return 0;
6213 }
6214 _ACEOF
6215 rm -f conftest.$ac_objext
6216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6217   (eval $ac_compile) 2>&5
6218   ac_status=$?
6219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220   (exit $ac_status); } &&
6221          { ac_try='test -s conftest.$ac_objext'
6222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6223   (eval $ac_try) 2>&5
6224   ac_status=$?
6225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226   (exit $ac_status); }; }; then
6227   :
6228 else
6229   echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6231
6232 ac_c99_math=no
6233 fi
6234 rm -f conftest.$ac_objext conftest.$ac_ext
6235   cat >conftest.$ac_ext <<_ACEOF
6236 #line $LINENO "configure"
6237 /* confdefs.h.  */
6238 _ACEOF
6239 cat confdefs.h >>conftest.$ac_ext
6240 cat >>conftest.$ac_ext <<_ACEOF
6241 /* end confdefs.h.  */
6242 #include <math.h>
6243 int
6244 main ()
6245 {
6246 isnan(0.0);
6247   ;
6248   return 0;
6249 }
6250 _ACEOF
6251 rm -f conftest.$ac_objext
6252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6253   (eval $ac_compile) 2>&5
6254   ac_status=$?
6255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256   (exit $ac_status); } &&
6257          { ac_try='test -s conftest.$ac_objext'
6258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259   (eval $ac_try) 2>&5
6260   ac_status=$?
6261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262   (exit $ac_status); }; }; then
6263   :
6264 else
6265   echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6267
6268 ac_c99_math=no
6269 fi
6270 rm -f conftest.$ac_objext conftest.$ac_ext
6271   cat >conftest.$ac_ext <<_ACEOF
6272 #line $LINENO "configure"
6273 /* confdefs.h.  */
6274 _ACEOF
6275 cat confdefs.h >>conftest.$ac_ext
6276 cat >>conftest.$ac_ext <<_ACEOF
6277 /* end confdefs.h.  */
6278 #include <math.h>
6279 int
6280 main ()
6281 {
6282 isnormal(0.0);
6283   ;
6284   return 0;
6285 }
6286 _ACEOF
6287 rm -f conftest.$ac_objext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6289   (eval $ac_compile) 2>&5
6290   ac_status=$?
6291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292   (exit $ac_status); } &&
6293          { ac_try='test -s conftest.$ac_objext'
6294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295   (eval $ac_try) 2>&5
6296   ac_status=$?
6297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298   (exit $ac_status); }; }; then
6299   :
6300 else
6301   echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.$ac_ext >&5
6303
6304 ac_c99_math=no
6305 fi
6306 rm -f conftest.$ac_objext conftest.$ac_ext
6307   cat >conftest.$ac_ext <<_ACEOF
6308 #line $LINENO "configure"
6309 /* confdefs.h.  */
6310 _ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h.  */
6314 #include <math.h>
6315 int
6316 main ()
6317 {
6318 signbit(0.0);
6319   ;
6320   return 0;
6321 }
6322 _ACEOF
6323 rm -f conftest.$ac_objext
6324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6325   (eval $ac_compile) 2>&5
6326   ac_status=$?
6327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328   (exit $ac_status); } &&
6329          { ac_try='test -s conftest.$ac_objext'
6330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6331   (eval $ac_try) 2>&5
6332   ac_status=$?
6333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334   (exit $ac_status); }; }; then
6335   :
6336 else
6337   echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.$ac_ext >&5
6339
6340 ac_c99_math=no
6341 fi
6342 rm -f conftest.$ac_objext conftest.$ac_ext
6343   cat >conftest.$ac_ext <<_ACEOF
6344 #line $LINENO "configure"
6345 /* confdefs.h.  */
6346 _ACEOF
6347 cat confdefs.h >>conftest.$ac_ext
6348 cat >>conftest.$ac_ext <<_ACEOF
6349 /* end confdefs.h.  */
6350 #include <math.h>
6351 int
6352 main ()
6353 {
6354 isgreater(0.0,0.0);
6355   ;
6356   return 0;
6357 }
6358 _ACEOF
6359 rm -f conftest.$ac_objext
6360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6361   (eval $ac_compile) 2>&5
6362   ac_status=$?
6363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364   (exit $ac_status); } &&
6365          { ac_try='test -s conftest.$ac_objext'
6366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367   (eval $ac_try) 2>&5
6368   ac_status=$?
6369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370   (exit $ac_status); }; }; then
6371   :
6372 else
6373   echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6375
6376 ac_c99_math=no
6377 fi
6378 rm -f conftest.$ac_objext conftest.$ac_ext
6379   cat >conftest.$ac_ext <<_ACEOF
6380 #line $LINENO "configure"
6381 /* confdefs.h.  */
6382 _ACEOF
6383 cat confdefs.h >>conftest.$ac_ext
6384 cat >>conftest.$ac_ext <<_ACEOF
6385 /* end confdefs.h.  */
6386 #include <math.h>
6387 int
6388 main ()
6389 {
6390 isgreaterequal(0.0,0.0);
6391   ;
6392   return 0;
6393 }
6394 _ACEOF
6395 rm -f conftest.$ac_objext
6396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6397   (eval $ac_compile) 2>&5
6398   ac_status=$?
6399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400   (exit $ac_status); } &&
6401          { ac_try='test -s conftest.$ac_objext'
6402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403   (eval $ac_try) 2>&5
6404   ac_status=$?
6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406   (exit $ac_status); }; }; then
6407   :
6408 else
6409   echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5
6411
6412 ac_c99_math=no
6413 fi
6414 rm -f conftest.$ac_objext conftest.$ac_ext
6415   cat >conftest.$ac_ext <<_ACEOF
6416 #line $LINENO "configure"
6417 /* confdefs.h.  */
6418 _ACEOF
6419 cat confdefs.h >>conftest.$ac_ext
6420 cat >>conftest.$ac_ext <<_ACEOF
6421 /* end confdefs.h.  */
6422 #include <math.h>
6423 int
6424 main ()
6425 {
6426 isless(0.0,0.0);
6427   ;
6428   return 0;
6429 }
6430 _ACEOF
6431 rm -f conftest.$ac_objext
6432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6433   (eval $ac_compile) 2>&5
6434   ac_status=$?
6435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436   (exit $ac_status); } &&
6437          { ac_try='test -s conftest.$ac_objext'
6438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439   (eval $ac_try) 2>&5
6440   ac_status=$?
6441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442   (exit $ac_status); }; }; then
6443   :
6444 else
6445   echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6447
6448 ac_c99_math=no
6449 fi
6450 rm -f conftest.$ac_objext conftest.$ac_ext
6451   cat >conftest.$ac_ext <<_ACEOF
6452 #line $LINENO "configure"
6453 /* confdefs.h.  */
6454 _ACEOF
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h.  */
6458 #include <math.h>
6459 int
6460 main ()
6461 {
6462 islessequal(0.0,0.0);
6463   ;
6464   return 0;
6465 }
6466 _ACEOF
6467 rm -f conftest.$ac_objext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6469   (eval $ac_compile) 2>&5
6470   ac_status=$?
6471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472   (exit $ac_status); } &&
6473          { ac_try='test -s conftest.$ac_objext'
6474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475   (eval $ac_try) 2>&5
6476   ac_status=$?
6477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478   (exit $ac_status); }; }; then
6479   :
6480 else
6481   echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.$ac_ext >&5
6483
6484 ac_c99_math=no
6485 fi
6486 rm -f conftest.$ac_objext conftest.$ac_ext
6487   cat >conftest.$ac_ext <<_ACEOF
6488 #line $LINENO "configure"
6489 /* confdefs.h.  */
6490 _ACEOF
6491 cat confdefs.h >>conftest.$ac_ext
6492 cat >>conftest.$ac_ext <<_ACEOF
6493 /* end confdefs.h.  */
6494 #include <math.h>
6495 int
6496 main ()
6497 {
6498 islessgreater(0.0,0.0);
6499   ;
6500   return 0;
6501 }
6502 _ACEOF
6503 rm -f conftest.$ac_objext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6505   (eval $ac_compile) 2>&5
6506   ac_status=$?
6507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508   (exit $ac_status); } &&
6509          { ac_try='test -s conftest.$ac_objext'
6510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511   (eval $ac_try) 2>&5
6512   ac_status=$?
6513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514   (exit $ac_status); }; }; then
6515   :
6516 else
6517   echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6519
6520 ac_c99_math=no
6521 fi
6522 rm -f conftest.$ac_objext conftest.$ac_ext
6523   cat >conftest.$ac_ext <<_ACEOF
6524 #line $LINENO "configure"
6525 /* confdefs.h.  */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h.  */
6530 #include <math.h>
6531 int
6532 main ()
6533 {
6534 isunordered(0.0,0.0);
6535   ;
6536   return 0;
6537 }
6538 _ACEOF
6539 rm -f conftest.$ac_objext
6540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6541   (eval $ac_compile) 2>&5
6542   ac_status=$?
6543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544   (exit $ac_status); } &&
6545          { ac_try='test -s conftest.$ac_objext'
6546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6547   (eval $ac_try) 2>&5
6548   ac_status=$?
6549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550   (exit $ac_status); }; }; then
6551   :
6552 else
6553   echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6555
6556 ac_c99_math=no
6557 fi
6558 rm -f conftest.$ac_objext conftest.$ac_ext
6559   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6560 echo "${ECHO_T}$ac_c99_math" >&6
6561
6562   if test x"$ac_c99_math" = x"yes"; then
6563     cat >>confdefs.h <<\_ACEOF
6564 #define _GLIBCXX_USE_C99_MATH 1
6565 _ACEOF
6566
6567   fi
6568
6569   # Check for the existence in <stdio.h> of vscanf, et. al.
6570   ac_c99_stdio=yes;
6571   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6572 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6573   cat >conftest.$ac_ext <<_ACEOF
6574 #line $LINENO "configure"
6575 /* confdefs.h.  */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h.  */
6580 #include <stdio.h>
6581 int
6582 main ()
6583 {
6584 snprintf("12", 0, "%i");
6585   ;
6586   return 0;
6587 }
6588 _ACEOF
6589 rm -f conftest.$ac_objext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6591   (eval $ac_compile) 2>&5
6592   ac_status=$?
6593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594   (exit $ac_status); } &&
6595          { ac_try='test -s conftest.$ac_objext'
6596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597   (eval $ac_try) 2>&5
6598   ac_status=$?
6599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600   (exit $ac_status); }; }; then
6601   :
6602 else
6603   echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.$ac_ext >&5
6605
6606 ac_c99_stdio=no
6607 fi
6608 rm -f conftest.$ac_objext conftest.$ac_ext
6609   cat >conftest.$ac_ext <<_ACEOF
6610 #line $LINENO "configure"
6611 /* confdefs.h.  */
6612 _ACEOF
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h.  */
6616 #include <stdio.h>
6617                   #include <stdarg.h>
6618                   void foo(char* fmt, ...)
6619                   {va_list args; va_start(args, fmt);
6620                   vfscanf(stderr, "%i", args);}
6621 int
6622 main ()
6623 {
6624
6625   ;
6626   return 0;
6627 }
6628 _ACEOF
6629 rm -f conftest.$ac_objext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631   (eval $ac_compile) 2>&5
6632   ac_status=$?
6633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634   (exit $ac_status); } &&
6635          { ac_try='test -s conftest.$ac_objext'
6636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6637   (eval $ac_try) 2>&5
6638   ac_status=$?
6639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640   (exit $ac_status); }; }; then
6641   :
6642 else
6643   echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6645
6646 ac_c99_stdio=no
6647 fi
6648 rm -f conftest.$ac_objext conftest.$ac_ext
6649   cat >conftest.$ac_ext <<_ACEOF
6650 #line $LINENO "configure"
6651 /* confdefs.h.  */
6652 _ACEOF
6653 cat confdefs.h >>conftest.$ac_ext
6654 cat >>conftest.$ac_ext <<_ACEOF
6655 /* end confdefs.h.  */
6656 #include <stdio.h>
6657                   #include <stdarg.h>
6658                   void foo(char* fmt, ...)
6659                   {va_list args; va_start(args, fmt);
6660                   vscanf("%i", args);}
6661 int
6662 main ()
6663 {
6664
6665   ;
6666   return 0;
6667 }
6668 _ACEOF
6669 rm -f conftest.$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671   (eval $ac_compile) 2>&5
6672   ac_status=$?
6673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674   (exit $ac_status); } &&
6675          { ac_try='test -s conftest.$ac_objext'
6676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677   (eval $ac_try) 2>&5
6678   ac_status=$?
6679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680   (exit $ac_status); }; }; then
6681   :
6682 else
6683   echo "$as_me: failed program was:" >&5
6684 sed 's/^/| /' conftest.$ac_ext >&5
6685
6686 ac_c99_stdio=no
6687 fi
6688 rm -f conftest.$ac_objext conftest.$ac_ext
6689   cat >conftest.$ac_ext <<_ACEOF
6690 #line $LINENO "configure"
6691 /* confdefs.h.  */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h.  */
6696 #include <stdio.h>
6697                   #include <stdarg.h>
6698                   void foo(char* fmt, ...)
6699                   {va_list args; va_start(args, fmt);
6700                   vsnprintf(fmt, 0, "%i", args);}
6701 int
6702 main ()
6703 {
6704
6705   ;
6706   return 0;
6707 }
6708 _ACEOF
6709 rm -f conftest.$ac_objext
6710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6711   (eval $ac_compile) 2>&5
6712   ac_status=$?
6713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714   (exit $ac_status); } &&
6715          { ac_try='test -s conftest.$ac_objext'
6716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717   (eval $ac_try) 2>&5
6718   ac_status=$?
6719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720   (exit $ac_status); }; }; then
6721   :
6722 else
6723   echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6725
6726 ac_c99_stdio=no
6727 fi
6728 rm -f conftest.$ac_objext conftest.$ac_ext
6729   cat >conftest.$ac_ext <<_ACEOF
6730 #line $LINENO "configure"
6731 /* confdefs.h.  */
6732 _ACEOF
6733 cat confdefs.h >>conftest.$ac_ext
6734 cat >>conftest.$ac_ext <<_ACEOF
6735 /* end confdefs.h.  */
6736 #include <stdio.h>
6737                   #include <stdarg.h>
6738                   void foo(char* fmt, ...)
6739                   {va_list args; va_start(args, fmt);
6740                   vsscanf(fmt, "%i", args);}
6741 int
6742 main ()
6743 {
6744
6745   ;
6746   return 0;
6747 }
6748 _ACEOF
6749 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751   (eval $ac_compile) 2>&5
6752   ac_status=$?
6753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754   (exit $ac_status); } &&
6755          { ac_try='test -s conftest.$ac_objext'
6756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757   (eval $ac_try) 2>&5
6758   ac_status=$?
6759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760   (exit $ac_status); }; }; then
6761   :
6762 else
6763   echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6765
6766 ac_c99_stdio=no
6767 fi
6768 rm -f conftest.$ac_objext conftest.$ac_ext
6769   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6770 echo "${ECHO_T}$ac_c99_stdio" >&6
6771
6772   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6773   ac_c99_stdlib=yes;
6774   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6775 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6776   if test "${ac_c99_lldiv_t+set}" = set; then
6777   echo $ECHO_N "(cached) $ECHO_C" >&6
6778 else
6779
6780   cat >conftest.$ac_ext <<_ACEOF
6781 #line $LINENO "configure"
6782 /* confdefs.h.  */
6783 _ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h.  */
6787 #include <stdlib.h>
6788 int
6789 main ()
6790 {
6791  lldiv_t mydivt;
6792   ;
6793   return 0;
6794 }
6795 _ACEOF
6796 rm -f conftest.$ac_objext
6797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6798   (eval $ac_compile) 2>&5
6799   ac_status=$?
6800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801   (exit $ac_status); } &&
6802          { ac_try='test -s conftest.$ac_objext'
6803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6804   (eval $ac_try) 2>&5
6805   ac_status=$?
6806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807   (exit $ac_status); }; }; then
6808   ac_c99_lldiv_t=yes
6809 else
6810   echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.$ac_ext >&5
6812
6813 ac_c99_lldiv_t=no
6814 fi
6815 rm -f conftest.$ac_objext conftest.$ac_ext
6816
6817 fi
6818
6819   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6820 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6821
6822   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6823 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6824   cat >conftest.$ac_ext <<_ACEOF
6825 #line $LINENO "configure"
6826 /* confdefs.h.  */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
6830 /* end confdefs.h.  */
6831 #include <stdlib.h>
6832 int
6833 main ()
6834 {
6835 char* tmp; strtof("gnu", &tmp);
6836   ;
6837   return 0;
6838 }
6839 _ACEOF
6840 rm -f conftest.$ac_objext
6841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6842   (eval $ac_compile) 2>&5
6843   ac_status=$?
6844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845   (exit $ac_status); } &&
6846          { ac_try='test -s conftest.$ac_objext'
6847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848   (eval $ac_try) 2>&5
6849   ac_status=$?
6850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851   (exit $ac_status); }; }; then
6852   :
6853 else
6854   echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6856
6857 ac_c99_stdlib=no
6858 fi
6859 rm -f conftest.$ac_objext conftest.$ac_ext
6860   cat >conftest.$ac_ext <<_ACEOF
6861 #line $LINENO "configure"
6862 /* confdefs.h.  */
6863 _ACEOF
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h.  */
6867 #include <stdlib.h>
6868 int
6869 main ()
6870 {
6871 char* tmp; strtold("gnu", &tmp);
6872   ;
6873   return 0;
6874 }
6875 _ACEOF
6876 rm -f conftest.$ac_objext
6877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6878   (eval $ac_compile) 2>&5
6879   ac_status=$?
6880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881   (exit $ac_status); } &&
6882          { ac_try='test -s conftest.$ac_objext'
6883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884   (eval $ac_try) 2>&5
6885   ac_status=$?
6886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887   (exit $ac_status); }; }; then
6888   :
6889 else
6890   echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6892
6893 ac_c99_stdlib=no
6894 fi
6895 rm -f conftest.$ac_objext conftest.$ac_ext
6896   cat >conftest.$ac_ext <<_ACEOF
6897 #line $LINENO "configure"
6898 /* confdefs.h.  */
6899 _ACEOF
6900 cat confdefs.h >>conftest.$ac_ext
6901 cat >>conftest.$ac_ext <<_ACEOF
6902 /* end confdefs.h.  */
6903 #include <stdlib.h>
6904 int
6905 main ()
6906 {
6907 llabs(10);
6908   ;
6909   return 0;
6910 }
6911 _ACEOF
6912 rm -f conftest.$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914   (eval $ac_compile) 2>&5
6915   ac_status=$?
6916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917   (exit $ac_status); } &&
6918          { ac_try='test -s conftest.$ac_objext'
6919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6920   (eval $ac_try) 2>&5
6921   ac_status=$?
6922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923   (exit $ac_status); }; }; then
6924   :
6925 else
6926   echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6928
6929 ac_c99_stdlib=no
6930 fi
6931 rm -f conftest.$ac_objext conftest.$ac_ext
6932   cat >conftest.$ac_ext <<_ACEOF
6933 #line $LINENO "configure"
6934 /* confdefs.h.  */
6935 _ACEOF
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h.  */
6939 #include <stdlib.h>
6940 int
6941 main ()
6942 {
6943 lldiv(10,1);
6944   ;
6945   return 0;
6946 }
6947 _ACEOF
6948 rm -f conftest.$ac_objext
6949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6950   (eval $ac_compile) 2>&5
6951   ac_status=$?
6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953   (exit $ac_status); } &&
6954          { ac_try='test -s conftest.$ac_objext'
6955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956   (eval $ac_try) 2>&5
6957   ac_status=$?
6958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959   (exit $ac_status); }; }; then
6960   :
6961 else
6962   echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6964
6965 ac_c99_stdlib=no
6966 fi
6967 rm -f conftest.$ac_objext conftest.$ac_ext
6968   cat >conftest.$ac_ext <<_ACEOF
6969 #line $LINENO "configure"
6970 /* confdefs.h.  */
6971 _ACEOF
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h.  */
6975 #include <stdlib.h>
6976 int
6977 main ()
6978 {
6979 atoll("10");
6980   ;
6981   return 0;
6982 }
6983 _ACEOF
6984 rm -f conftest.$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986   (eval $ac_compile) 2>&5
6987   ac_status=$?
6988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989   (exit $ac_status); } &&
6990          { ac_try='test -s conftest.$ac_objext'
6991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992   (eval $ac_try) 2>&5
6993   ac_status=$?
6994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995   (exit $ac_status); }; }; then
6996   :
6997 else
6998   echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7000
7001 ac_c99_stdlib=no
7002 fi
7003 rm -f conftest.$ac_objext conftest.$ac_ext
7004   cat >conftest.$ac_ext <<_ACEOF
7005 #line $LINENO "configure"
7006 /* confdefs.h.  */
7007 _ACEOF
7008 cat confdefs.h >>conftest.$ac_ext
7009 cat >>conftest.$ac_ext <<_ACEOF
7010 /* end confdefs.h.  */
7011 #include <stdlib.h>
7012 int
7013 main ()
7014 {
7015 _Exit(0);
7016   ;
7017   return 0;
7018 }
7019 _ACEOF
7020 rm -f conftest.$ac_objext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7022   (eval $ac_compile) 2>&5
7023   ac_status=$?
7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025   (exit $ac_status); } &&
7026          { ac_try='test -s conftest.$ac_objext'
7027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028   (eval $ac_try) 2>&5
7029   ac_status=$?
7030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031   (exit $ac_status); }; }; then
7032   :
7033 else
7034   echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.$ac_ext >&5
7036
7037 ac_c99_stdlib=no
7038 fi
7039 rm -f conftest.$ac_objext conftest.$ac_ext
7040   if test x"$ac_c99_lldiv_t" = x"no"; then
7041     ac_c99_stdlib=no;
7042   fi;
7043   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7044 echo "${ECHO_T}$ac_c99_stdlib" >&6
7045
7046   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7047   # XXX the wchar.h checks should be rolled into the general C99 bits.
7048   ac_c99_wchar=yes;
7049   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7050 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7051   cat >conftest.$ac_ext <<_ACEOF
7052 #line $LINENO "configure"
7053 /* confdefs.h.  */
7054 _ACEOF
7055 cat confdefs.h >>conftest.$ac_ext
7056 cat >>conftest.$ac_ext <<_ACEOF
7057 /* end confdefs.h.  */
7058 #include <wchar.h>
7059 int
7060 main ()
7061 {
7062 wcstold(L"10.0", NULL);
7063   ;
7064   return 0;
7065 }
7066 _ACEOF
7067 rm -f conftest.$ac_objext
7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7069   (eval $ac_compile) 2>&5
7070   ac_status=$?
7071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072   (exit $ac_status); } &&
7073          { ac_try='test -s conftest.$ac_objext'
7074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075   (eval $ac_try) 2>&5
7076   ac_status=$?
7077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078   (exit $ac_status); }; }; then
7079   :
7080 else
7081   echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7083
7084 ac_c99_wchar=no
7085 fi
7086 rm -f conftest.$ac_objext conftest.$ac_ext
7087   cat >conftest.$ac_ext <<_ACEOF
7088 #line $LINENO "configure"
7089 /* confdefs.h.  */
7090 _ACEOF
7091 cat confdefs.h >>conftest.$ac_ext
7092 cat >>conftest.$ac_ext <<_ACEOF
7093 /* end confdefs.h.  */
7094 #include <wchar.h>
7095 int
7096 main ()
7097 {
7098 wcstoll(L"10", NULL, 10);
7099   ;
7100   return 0;
7101 }
7102 _ACEOF
7103 rm -f conftest.$ac_objext
7104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7105   (eval $ac_compile) 2>&5
7106   ac_status=$?
7107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108   (exit $ac_status); } &&
7109          { ac_try='test -s conftest.$ac_objext'
7110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111   (eval $ac_try) 2>&5
7112   ac_status=$?
7113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114   (exit $ac_status); }; }; then
7115   :
7116 else
7117   echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.$ac_ext >&5
7119
7120 ac_c99_wchar=no
7121 fi
7122 rm -f conftest.$ac_objext conftest.$ac_ext
7123   cat >conftest.$ac_ext <<_ACEOF
7124 #line $LINENO "configure"
7125 /* confdefs.h.  */
7126 _ACEOF
7127 cat confdefs.h >>conftest.$ac_ext
7128 cat >>conftest.$ac_ext <<_ACEOF
7129 /* end confdefs.h.  */
7130 #include <wchar.h>
7131 int
7132 main ()
7133 {
7134 wcstoull(L"10", NULL, 10);
7135   ;
7136   return 0;
7137 }
7138 _ACEOF
7139 rm -f conftest.$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141   (eval $ac_compile) 2>&5
7142   ac_status=$?
7143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144   (exit $ac_status); } &&
7145          { ac_try='test -s conftest.$ac_objext'
7146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147   (eval $ac_try) 2>&5
7148   ac_status=$?
7149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150   (exit $ac_status); }; }; then
7151   :
7152 else
7153   echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.$ac_ext >&5
7155
7156 ac_c99_wchar=no
7157 fi
7158 rm -f conftest.$ac_objext conftest.$ac_ext
7159   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7160 echo "${ECHO_T}$ac_c99_wchar" >&6
7161
7162   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7163 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7164   if test x"$ac_c99_math" = x"no" ||
7165      test x"$ac_c99_stdio" = x"no" ||
7166      test x"$ac_c99_stdlib" = x"no" ||
7167      test x"$ac_c99_wchar" = x"no"; then
7168     enable_c99=no;
7169   fi;
7170   echo "$as_me:$LINENO: result: $enable_c99" >&5
7171 echo "${ECHO_T}$enable_c99" >&6
7172
7173   if test x"$ac_99_math" = x"yes"; then
7174     cat >>confdefs.h <<\_ACEOF
7175 #define _GLIBCXX_USE_C99_MATH 1
7176 _ACEOF
7177
7178   fi
7179
7180   # Option parsed, now set things appropriately
7181   if test x"$enable_c99" = x"yes"; then
7182     cat >>confdefs.h <<\_ACEOF
7183 #define _GLIBCXX_USE_C99 1
7184 _ACEOF
7185
7186   fi
7187
7188   ac_ext=c
7189 ac_cpp='$CPP $CPPFLAGS'
7190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193
7194
7195
7196    # Check whether --enable-long-long or --disable-long-long was given.
7197 if test "${enable_long_long+set}" = set; then
7198   enableval="$enable_long_long"
7199
7200       case "$enableval" in
7201        yes|no) ;;
7202        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7203 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7204    { (exit 1); exit 1; }; } ;;
7205       esac
7206
7207 else
7208   enable_long_long=yes
7209 fi;
7210
7211
7212
7213
7214   ac_ext=cc
7215 ac_cpp='$CXXCPP $CPPFLAGS'
7216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7219
7220
7221   echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7222 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7223   # iostreams require strtoll, strtoull to compile
7224   cat >conftest.$ac_ext <<_ACEOF
7225 #line $LINENO "configure"
7226 /* confdefs.h.  */
7227 _ACEOF
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h.  */
7231 #include <stdlib.h>
7232 int
7233 main ()
7234 {
7235 char* tmp; strtoll("gnu", &tmp, 10);
7236   ;
7237   return 0;
7238 }
7239 _ACEOF
7240 rm -f conftest.$ac_objext
7241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7242   (eval $ac_compile) 2>&5
7243   ac_status=$?
7244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245   (exit $ac_status); } &&
7246          { ac_try='test -s conftest.$ac_objext'
7247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248   (eval $ac_try) 2>&5
7249   ac_status=$?
7250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251   (exit $ac_status); }; }; then
7252   :
7253 else
7254   echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.$ac_ext >&5
7256
7257 enable_long_long=no
7258 fi
7259 rm -f conftest.$ac_objext conftest.$ac_ext
7260   cat >conftest.$ac_ext <<_ACEOF
7261 #line $LINENO "configure"
7262 /* confdefs.h.  */
7263 _ACEOF
7264 cat confdefs.h >>conftest.$ac_ext
7265 cat >>conftest.$ac_ext <<_ACEOF
7266 /* end confdefs.h.  */
7267 #include <stdlib.h>
7268 int
7269 main ()
7270 {
7271 char* tmp; strtoull("gnu", &tmp, 10);
7272   ;
7273   return 0;
7274 }
7275 _ACEOF
7276 rm -f conftest.$ac_objext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278   (eval $ac_compile) 2>&5
7279   ac_status=$?
7280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281   (exit $ac_status); } &&
7282          { ac_try='test -s conftest.$ac_objext'
7283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284   (eval $ac_try) 2>&5
7285   ac_status=$?
7286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287   (exit $ac_status); }; }; then
7288   :
7289 else
7290   echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7292
7293 enable_long_long=no
7294 fi
7295 rm -f conftest.$ac_objext conftest.$ac_ext
7296
7297   # Option parsed, now set things appropriately
7298   if test $enable_long_long = yes; then
7299     cat >>confdefs.h <<\_ACEOF
7300 #define _GLIBCXX_USE_LONG_LONG 1
7301 _ACEOF
7302
7303   fi
7304   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7305 echo "${ECHO_T}$enable_long_long" >&6
7306
7307   ac_ext=c
7308 ac_cpp='$CPP $CPPFLAGS'
7309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7312
7313
7314
7315   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7316 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7317   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7318   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7319 echo "${ECHO_T}$target_thread_file" >&6
7320
7321   if test $target_thread_file != single; then
7322     cat >>confdefs.h <<\_ACEOF
7323 #define HAVE_GTHR_DEFAULT 1
7324 _ACEOF
7325
7326     cat >>confdefs.h <<\_ACEOF
7327 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7328 _ACEOF
7329
7330   fi
7331
7332   glibcxx_thread_h=gthr-$target_thread_file.h
7333
7334
7335
7336    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7337 if test "${enable_concept_checks+set}" = set; then
7338   enableval="$enable_concept_checks"
7339
7340       case "$enableval" in
7341        yes|no) ;;
7342        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7343 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7344    { (exit 1); exit 1; }; } ;;
7345       esac
7346
7347 else
7348   enable_concept_checks=no
7349 fi;
7350
7351   if test $enable_concept_checks = yes; then
7352     cat >>confdefs.h <<\_ACEOF
7353 #define _GLIBCXX_CONCEPT_CHECKS 1
7354 _ACEOF
7355
7356   fi
7357
7358
7359    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7360 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7361   enableval="$enable_libstdcxx_debug_flags"
7362   case "x$enable_libstdcxx_debug_flags" in
7363       xno | x)    enable_libstdcxx_debug_flags= ;;
7364       x-*)        ;;
7365       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7366 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7367    { (exit 1); exit 1; }; } ;;
7368      esac
7369 else
7370   enable_libstdcxx_debug_flags="-g3 -O0"
7371 fi;
7372
7373
7374   # Option parsed, now set things appropriately
7375   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7376
7377
7378   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7379 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7380
7381
7382   echo "$as_me:$LINENO: checking for additional debug build" >&5
7383 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7384    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7385 if test "${enable_libstdcxx_debug+set}" = set; then
7386   enableval="$enable_libstdcxx_debug"
7387
7388       case "$enableval" in
7389        yes|no) ;;
7390        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7391 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7392    { (exit 1); exit 1; }; } ;;
7393       esac
7394
7395 else
7396   enable_libstdcxx_debug=no
7397 fi;
7398
7399   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7400 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7401
7402
7403   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7404 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7405    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7406 if test "${enable_cxx_flags+set}" = set; then
7407   enableval="$enable_cxx_flags"
7408   case "x$enable_cxx_flags" in
7409       xno | x)   enable_cxx_flags= ;;
7410       x-*)       ;;
7411       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7412 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7413    { (exit 1); exit 1; }; } ;;
7414      esac
7415 else
7416   enable_cxx_flags=
7417 fi;
7418
7419
7420   # Run through flags (either default or command-line) and set anything
7421   # extra (e.g., #defines) that must accompany particular g++ options.
7422   if test -n "$enable_cxx_flags"; then
7423     for f in $enable_cxx_flags; do
7424       case "$f" in
7425         -fhonor-std)  ;;
7426         -*)  ;;
7427         *)   # and we're trying to pass /what/ exactly?
7428              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7429 echo "$as_me: error: compiler flags start with a -" >&2;}
7430    { (exit 1); exit 1; }; } ;;
7431       esac
7432     done
7433   fi
7434
7435   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7436   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7437 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7438
7439
7440
7441 # No surprises, no surprises...
7442 if test $atomicity_include_dir = cpu/generic ; then
7443   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7444 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7445   if test $target_thread_file = single; then
7446     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7447 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7448     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7449 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7450   else
7451     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7452 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7453     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7454 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7455   fi
7456 fi
7457
7458
7459 if $GLIBCXX_IS_NATIVE; then
7460
7461   # We can do more elaborate tests that assume a working linker.
7462   CANADIAN=no
7463
7464   # Check for available headers.
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7479   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7480   sys/types.h
7481 do
7482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7484   echo "$as_me:$LINENO: checking for $ac_header" >&5
7485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7487   echo $ECHO_N "(cached) $ECHO_C" >&6
7488 fi
7489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7491 else
7492   # Is the header compilable?
7493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7495 cat >conftest.$ac_ext <<_ACEOF
7496 #line $LINENO "configure"
7497 /* confdefs.h.  */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h.  */
7502 $ac_includes_default
7503 #include <$ac_header>
7504 _ACEOF
7505 rm -f conftest.$ac_objext
7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7507   (eval $ac_compile) 2>&5
7508   ac_status=$?
7509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510   (exit $ac_status); } &&
7511          { ac_try='test -s conftest.$ac_objext'
7512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513   (eval $ac_try) 2>&5
7514   ac_status=$?
7515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516   (exit $ac_status); }; }; then
7517   ac_header_compiler=yes
7518 else
7519   echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.$ac_ext >&5
7521
7522 ac_header_compiler=no
7523 fi
7524 rm -f conftest.$ac_objext conftest.$ac_ext
7525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7526 echo "${ECHO_T}$ac_header_compiler" >&6
7527
7528 # Is the header present?
7529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7531 cat >conftest.$ac_ext <<_ACEOF
7532 #line $LINENO "configure"
7533 /* confdefs.h.  */
7534 _ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h.  */
7538 #include <$ac_header>
7539 _ACEOF
7540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7541   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7542   ac_status=$?
7543   grep -v '^ *+' conftest.er1 >conftest.err
7544   rm -f conftest.er1
7545   cat conftest.err >&5
7546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547   (exit $ac_status); } >/dev/null; then
7548   if test -s conftest.err; then
7549     ac_cpp_err=$ac_c_preproc_warn_flag
7550   else
7551     ac_cpp_err=
7552   fi
7553 else
7554   ac_cpp_err=yes
7555 fi
7556 if test -z "$ac_cpp_err"; then
7557   ac_header_preproc=yes
7558 else
7559   echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7561
7562   ac_header_preproc=no
7563 fi
7564 rm -f conftest.err conftest.$ac_ext
7565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7566 echo "${ECHO_T}$ac_header_preproc" >&6
7567
7568 # So?  What about this header?
7569 case $ac_header_compiler:$ac_header_preproc in
7570   yes:no )
7571     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7573     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7575     (
7576       cat <<\_ASBOX
7577 ## ------------------------------------ ##
7578 ## Report this to bug-autoconf@gnu.org. ##
7579 ## ------------------------------------ ##
7580 _ASBOX
7581     ) |
7582       sed "s/^/$as_me: WARNING:     /" >&2
7583     ;;
7584   no:yes )
7585     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7587     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7589     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7591     (
7592       cat <<\_ASBOX
7593 ## ------------------------------------ ##
7594 ## Report this to bug-autoconf@gnu.org. ##
7595 ## ------------------------------------ ##
7596 _ASBOX
7597     ) |
7598       sed "s/^/$as_me: WARNING:     /" >&2
7599     ;;
7600 esac
7601 echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7604   echo $ECHO_N "(cached) $ECHO_C" >&6
7605 else
7606   eval "$as_ac_Header=$ac_header_preproc"
7607 fi
7608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7610
7611 fi
7612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7613   cat >>confdefs.h <<_ACEOF
7614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7615 _ACEOF
7616
7617 fi
7618
7619 done
7620
7621
7622
7623   # All these tests are for C++; save the language and the compiler flags.
7624   # The CXXFLAGS thing is suspicious, but based on similar bits previously
7625   # found in GLIBCXX_CONFIGURE.
7626
7627
7628   ac_ext=cc
7629 ac_cpp='$CXXCPP $CPPFLAGS'
7630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7633
7634   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7635   ac_save_CXXFLAGS="$CXXFLAGS"
7636
7637   # Check for maintainer-mode bits.
7638   if test x"$USE_MAINTAINER_MODE" = xno; then
7639     WERROR=''
7640   else
7641     WERROR='-Werror'
7642   fi
7643
7644   # Check for -ffunction-sections -fdata-sections
7645   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7646 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7647   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7648   cat >conftest.$ac_ext <<_ACEOF
7649 #line $LINENO "configure"
7650 /* confdefs.h.  */
7651 _ACEOF
7652 cat confdefs.h >>conftest.$ac_ext
7653 cat >>conftest.$ac_ext <<_ACEOF
7654 /* end confdefs.h.  */
7655
7656 int
7657 main ()
7658 {
7659 int foo;
7660   ;
7661   return 0;
7662 }
7663 _ACEOF
7664 rm -f conftest.$ac_objext
7665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7666   (eval $ac_compile) 2>&5
7667   ac_status=$?
7668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669   (exit $ac_status); } &&
7670          { ac_try='test -s conftest.$ac_objext'
7671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672   (eval $ac_try) 2>&5
7673   ac_status=$?
7674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675   (exit $ac_status); }; }; then
7676   ac_fdsections=yes
7677 else
7678   echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.$ac_ext >&5
7680
7681 ac_fdsections=no
7682 fi
7683 rm -f conftest.$ac_objext conftest.$ac_ext
7684   if test "$ac_test_CXXFLAGS" = set; then
7685     CXXFLAGS="$ac_save_CXXFLAGS"
7686   else
7687     # this is the suspicious part
7688     CXXFLAGS=''
7689   fi
7690   if test x"$ac_fdsections" = x"yes"; then
7691     SECTION_FLAGS='-ffunction-sections -fdata-sections'
7692   fi
7693   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7694 echo "${ECHO_T}$ac_fdsections" >&6
7695
7696   ac_ext=c
7697 ac_cpp='$CPP $CPPFLAGS'
7698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7701
7702
7703
7704
7705
7706   # If we're not using GNU ld, then there's no point in even trying these
7707   # tests.  Check for that first.  We should have already tested for gld
7708   # by now (in libtool), but require it now just to be safe...
7709   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7710   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7711
7712
7713
7714   # The name set by libtool depends on the version of libtool.  Shame on us
7715   # for depending on an impl detail, but c'est la vie.  Older versions used
7716   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7717   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7718   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
7719   # set (hence we're using an older libtool), then set it.
7720   if test x${with_gnu_ld+set} != xset; then
7721     if test x${ac_cv_prog_gnu_ld+set} != xset; then
7722       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
7723       with_gnu_ld=no
7724     else
7725       with_gnu_ld=$ac_cv_prog_gnu_ld
7726     fi
7727   fi
7728
7729   # Start by getting the version number.  I think the libtool test already
7730   # does some of this, but throws away the result.
7731
7732   ldver=`$LD --version 2>/dev/null | head -1 | \
7733          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7734
7735   glibcxx_gnu_ld_version=`echo $ldver | \
7736          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7737
7738   # Set --gc-sections.
7739   if test "$with_gnu_ld" = "notbroken"; then
7740     # GNU ld it is!  Joy and bunny rabbits!
7741
7742     # All these tests are for C++; save the language and the compiler flags.
7743     # Need to do this so that g++ won't try to link in libstdc++
7744     ac_test_CFLAGS="${CFLAGS+set}"
7745     ac_save_CFLAGS="$CFLAGS"
7746     CFLAGS='-x c++  -Wl,--gc-sections'
7747
7748     # Check for -Wl,--gc-sections
7749     # XXX This test is broken at the moment, as symbols required for linking
7750     # are now in libsupc++ (not built yet).  In addition, this test has
7751     # cored on solaris in the past.  In addition, --gc-sections doesn't
7752     # really work at the moment (keeps on discarding used sections, first
7753     # .eh_frame and now some of the glibc sections for iconv).
7754     # Bzzzzt.  Thanks for playing, maybe next time.
7755     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7756 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7757     if test "$cross_compiling" = yes; then
7758   ac_sectionLDflags=yes
7759 else
7760   cat >conftest.$ac_ext <<_ACEOF
7761 #line $LINENO "configure"
7762 /* confdefs.h.  */
7763 _ACEOF
7764 cat confdefs.h >>conftest.$ac_ext
7765 cat >>conftest.$ac_ext <<_ACEOF
7766 /* end confdefs.h.  */
7767
7768      int main(void)
7769      {
7770        try { throw 1; }
7771        catch (...) { };
7772        return 0;
7773      }
7774
7775 _ACEOF
7776 rm -f conftest$ac_exeext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7778   (eval $ac_link) 2>&5
7779   ac_status=$?
7780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7783   (eval $ac_try) 2>&5
7784   ac_status=$?
7785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786   (exit $ac_status); }; }; then
7787   ac_sectionLDflags=yes
7788 else
7789   echo "$as_me: program exited with status $ac_status" >&5
7790 echo "$as_me: failed program was:" >&5
7791 sed 's/^/| /' conftest.$ac_ext >&5
7792
7793 ( exit $ac_status )
7794 ac_sectionLDflags=no
7795 fi
7796 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7797 fi
7798     if test "$ac_test_CFLAGS" = set; then
7799       CFLAGS="$ac_save_CFLAGS"
7800     else
7801       # this is the suspicious part
7802       CFLAGS=''
7803     fi
7804     if test "$ac_sectionLDflags" = "yes"; then
7805       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7806     fi
7807     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7808 echo "${ECHO_T}$ac_sectionLDflags" >&6
7809   fi
7810
7811   # Set linker optimization flags.
7812   if test x"$with_gnu_ld" = x"yes"; then
7813     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7814   fi
7815
7816
7817
7818
7819
7820   ac_test_CXXFLAGS="${CXXFLAGS+set}"
7821   ac_save_CXXFLAGS="$CXXFLAGS"
7822   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7823
7824     echo "$as_me:$LINENO: checking for sin in -lm" >&5
7825 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7826 if test "${ac_cv_lib_m_sin+set}" = set; then
7827   echo $ECHO_N "(cached) $ECHO_C" >&6
7828 else
7829   ac_check_lib_save_LIBS=$LIBS
7830 LIBS="-lm  $LIBS"
7831 if test x$gcc_no_link = xyes; then
7832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7834    { (exit 1); exit 1; }; }
7835 fi
7836 cat >conftest.$ac_ext <<_ACEOF
7837 #line $LINENO "configure"
7838 /* confdefs.h.  */
7839 _ACEOF
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h.  */
7843
7844 /* Override any gcc2 internal prototype to avoid an error.  */
7845 #ifdef __cplusplus
7846 extern "C"
7847 #endif
7848 /* We use char because int might match the return type of a gcc2
7849    builtin and then its argument prototype would still apply.  */
7850 char sin ();
7851 int
7852 main ()
7853 {
7854 sin ();
7855   ;
7856   return 0;
7857 }
7858 _ACEOF
7859 rm -f conftest.$ac_objext conftest$ac_exeext
7860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7861   (eval $ac_link) 2>&5
7862   ac_status=$?
7863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864   (exit $ac_status); } &&
7865          { ac_try='test -s conftest$ac_exeext'
7866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7867   (eval $ac_try) 2>&5
7868   ac_status=$?
7869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870   (exit $ac_status); }; }; then
7871   ac_cv_lib_m_sin=yes
7872 else
7873   echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7875
7876 ac_cv_lib_m_sin=no
7877 fi
7878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7880 fi
7881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7882 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7883 if test $ac_cv_lib_m_sin = yes; then
7884   libm="-lm"
7885 fi
7886
7887   ac_save_LIBS="$LIBS"
7888   LIBS="$LIBS $libm"
7889
7890
7891
7892   echo "$as_me:$LINENO: checking for isinf declaration" >&5
7893 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7894   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7895     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7896   echo $ECHO_N "(cached) $ECHO_C" >&6
7897 else
7898
7899
7900
7901       ac_ext=cc
7902 ac_cpp='$CXXCPP $CPPFLAGS'
7903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7906
7907       cat >conftest.$ac_ext <<_ACEOF
7908 #line $LINENO "configure"
7909 /* confdefs.h.  */
7910 _ACEOF
7911 cat confdefs.h >>conftest.$ac_ext
7912 cat >>conftest.$ac_ext <<_ACEOF
7913 /* end confdefs.h.  */
7914 #include <math.h>
7915                       #ifdef HAVE_IEEEFP_H
7916                       #include <ieeefp.h>
7917                       #endif
7918
7919 int
7920 main ()
7921 {
7922  isinf(0);
7923   ;
7924   return 0;
7925 }
7926 _ACEOF
7927 rm -f conftest.$ac_objext
7928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7929   (eval $ac_compile) 2>&5
7930   ac_status=$?
7931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932   (exit $ac_status); } &&
7933          { ac_try='test -s conftest.$ac_objext'
7934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7935   (eval $ac_try) 2>&5
7936   ac_status=$?
7937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938   (exit $ac_status); }; }; then
7939   glibcxx_cv_func_isinf_use=yes
7940 else
7941   echo "$as_me: failed program was:" >&5
7942 sed 's/^/| /' conftest.$ac_ext >&5
7943
7944 glibcxx_cv_func_isinf_use=no
7945 fi
7946 rm -f conftest.$ac_objext conftest.$ac_ext
7947       ac_ext=c
7948 ac_cpp='$CPP $CPPFLAGS'
7949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7952
7953
7954 fi
7955
7956   fi
7957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7958 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7959
7960   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7961
7962 for ac_func in isinf
7963 do
7964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7965 echo "$as_me:$LINENO: checking for $ac_func" >&5
7966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7967 if eval "test \"\${$as_ac_var+set}\" = set"; then
7968   echo $ECHO_N "(cached) $ECHO_C" >&6
7969 else
7970   if test x$gcc_no_link = xyes; then
7971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7973    { (exit 1); exit 1; }; }
7974 fi
7975 cat >conftest.$ac_ext <<_ACEOF
7976 #line $LINENO "configure"
7977 /* confdefs.h.  */
7978 _ACEOF
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h.  */
7982 /* System header to define __stub macros and hopefully few prototypes,
7983     which can conflict with char $ac_func (); below.
7984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7985     <limits.h> exists even on freestanding compilers.  */
7986 #ifdef __STDC__
7987 # include <limits.h>
7988 #else
7989 # include <assert.h>
7990 #endif
7991 /* Override any gcc2 internal prototype to avoid an error.  */
7992 #ifdef __cplusplus
7993 extern "C"
7994 {
7995 #endif
7996 /* We use char because int might match the return type of a gcc2
7997    builtin and then its argument prototype would still apply.  */
7998 char $ac_func ();
7999 /* The GNU C library defines this for functions which it implements
8000     to always fail with ENOSYS.  Some functions are actually named
8001     something starting with __ and the normal name is an alias.  */
8002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8003 choke me
8004 #else
8005 char (*f) () = $ac_func;
8006 #endif
8007 #ifdef __cplusplus
8008 }
8009 #endif
8010
8011 int
8012 main ()
8013 {
8014 return f != $ac_func;
8015   ;
8016   return 0;
8017 }
8018 _ACEOF
8019 rm -f conftest.$ac_objext conftest$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021   (eval $ac_link) 2>&5
8022   ac_status=$?
8023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024   (exit $ac_status); } &&
8025          { ac_try='test -s conftest$ac_exeext'
8026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027   (eval $ac_try) 2>&5
8028   ac_status=$?
8029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030   (exit $ac_status); }; }; then
8031   eval "$as_ac_var=yes"
8032 else
8033   echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.$ac_ext >&5
8035
8036 eval "$as_ac_var=no"
8037 fi
8038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8039 fi
8040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8042 if test `eval echo '${'$as_ac_var'}'` = yes; then
8043   cat >>confdefs.h <<_ACEOF
8044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8045 _ACEOF
8046
8047 fi
8048 done
8049
8050   else
8051
8052   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8053 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8054   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8055     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8056   echo $ECHO_N "(cached) $ECHO_C" >&6
8057 else
8058
8059
8060
8061       ac_ext=cc
8062 ac_cpp='$CXXCPP $CPPFLAGS'
8063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8066
8067       cat >conftest.$ac_ext <<_ACEOF
8068 #line $LINENO "configure"
8069 /* confdefs.h.  */
8070 _ACEOF
8071 cat confdefs.h >>conftest.$ac_ext
8072 cat >>conftest.$ac_ext <<_ACEOF
8073 /* end confdefs.h.  */
8074 #include <math.h>
8075                       #ifdef HAVE_IEEEFP_H
8076                       #include <ieeefp.h>
8077                       #endif
8078
8079 int
8080 main ()
8081 {
8082  _isinf(0);
8083   ;
8084   return 0;
8085 }
8086 _ACEOF
8087 rm -f conftest.$ac_objext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8089   (eval $ac_compile) 2>&5
8090   ac_status=$?
8091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092   (exit $ac_status); } &&
8093          { ac_try='test -s conftest.$ac_objext'
8094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095   (eval $ac_try) 2>&5
8096   ac_status=$?
8097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098   (exit $ac_status); }; }; then
8099   glibcxx_cv_func__isinf_use=yes
8100 else
8101   echo "$as_me: failed program was:" >&5
8102 sed 's/^/| /' conftest.$ac_ext >&5
8103
8104 glibcxx_cv_func__isinf_use=no
8105 fi
8106 rm -f conftest.$ac_objext conftest.$ac_ext
8107       ac_ext=c
8108 ac_cpp='$CPP $CPPFLAGS'
8109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8112
8113
8114 fi
8115
8116   fi
8117   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8118 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8119
8120     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8121
8122 for ac_func in _isinf
8123 do
8124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8125 echo "$as_me:$LINENO: checking for $ac_func" >&5
8126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8127 if eval "test \"\${$as_ac_var+set}\" = set"; then
8128   echo $ECHO_N "(cached) $ECHO_C" >&6
8129 else
8130   if test x$gcc_no_link = xyes; then
8131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8133    { (exit 1); exit 1; }; }
8134 fi
8135 cat >conftest.$ac_ext <<_ACEOF
8136 #line $LINENO "configure"
8137 /* confdefs.h.  */
8138 _ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h.  */
8142 /* System header to define __stub macros and hopefully few prototypes,
8143     which can conflict with char $ac_func (); below.
8144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8145     <limits.h> exists even on freestanding compilers.  */
8146 #ifdef __STDC__
8147 # include <limits.h>
8148 #else
8149 # include <assert.h>
8150 #endif
8151 /* Override any gcc2 internal prototype to avoid an error.  */
8152 #ifdef __cplusplus
8153 extern "C"
8154 {
8155 #endif
8156 /* We use char because int might match the return type of a gcc2
8157    builtin and then its argument prototype would still apply.  */
8158 char $ac_func ();
8159 /* The GNU C library defines this for functions which it implements
8160     to always fail with ENOSYS.  Some functions are actually named
8161     something starting with __ and the normal name is an alias.  */
8162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8163 choke me
8164 #else
8165 char (*f) () = $ac_func;
8166 #endif
8167 #ifdef __cplusplus
8168 }
8169 #endif
8170
8171 int
8172 main ()
8173 {
8174 return f != $ac_func;
8175   ;
8176   return 0;
8177 }
8178 _ACEOF
8179 rm -f conftest.$ac_objext conftest$ac_exeext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181   (eval $ac_link) 2>&5
8182   ac_status=$?
8183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184   (exit $ac_status); } &&
8185          { ac_try='test -s conftest$ac_exeext'
8186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187   (eval $ac_try) 2>&5
8188   ac_status=$?
8189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190   (exit $ac_status); }; }; then
8191   eval "$as_ac_var=yes"
8192 else
8193   echo "$as_me: failed program was:" >&5
8194 sed 's/^/| /' conftest.$ac_ext >&5
8195
8196 eval "$as_ac_var=no"
8197 fi
8198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8199 fi
8200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8202 if test `eval echo '${'$as_ac_var'}'` = yes; then
8203   cat >>confdefs.h <<_ACEOF
8204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8205 _ACEOF
8206
8207 fi
8208 done
8209
8210     fi
8211   fi
8212
8213
8214
8215   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8216 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8217   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8218     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8219   echo $ECHO_N "(cached) $ECHO_C" >&6
8220 else
8221
8222
8223
8224       ac_ext=cc
8225 ac_cpp='$CXXCPP $CPPFLAGS'
8226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8229
8230       cat >conftest.$ac_ext <<_ACEOF
8231 #line $LINENO "configure"
8232 /* confdefs.h.  */
8233 _ACEOF
8234 cat confdefs.h >>conftest.$ac_ext
8235 cat >>conftest.$ac_ext <<_ACEOF
8236 /* end confdefs.h.  */
8237 #include <math.h>
8238                       #ifdef HAVE_IEEEFP_H
8239                       #include <ieeefp.h>
8240                       #endif
8241
8242 int
8243 main ()
8244 {
8245  isnan(0);
8246   ;
8247   return 0;
8248 }
8249 _ACEOF
8250 rm -f conftest.$ac_objext
8251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8252   (eval $ac_compile) 2>&5
8253   ac_status=$?
8254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255   (exit $ac_status); } &&
8256          { ac_try='test -s conftest.$ac_objext'
8257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258   (eval $ac_try) 2>&5
8259   ac_status=$?
8260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261   (exit $ac_status); }; }; then
8262   glibcxx_cv_func_isnan_use=yes
8263 else
8264   echo "$as_me: failed program was:" >&5
8265 sed 's/^/| /' conftest.$ac_ext >&5
8266
8267 glibcxx_cv_func_isnan_use=no
8268 fi
8269 rm -f conftest.$ac_objext conftest.$ac_ext
8270       ac_ext=c
8271 ac_cpp='$CPP $CPPFLAGS'
8272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8275
8276
8277 fi
8278
8279   fi
8280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8281 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8282
8283   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8284
8285 for ac_func in isnan
8286 do
8287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8288 echo "$as_me:$LINENO: checking for $ac_func" >&5
8289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8290 if eval "test \"\${$as_ac_var+set}\" = set"; then
8291   echo $ECHO_N "(cached) $ECHO_C" >&6
8292 else
8293   if test x$gcc_no_link = xyes; then
8294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8296    { (exit 1); exit 1; }; }
8297 fi
8298 cat >conftest.$ac_ext <<_ACEOF
8299 #line $LINENO "configure"
8300 /* confdefs.h.  */
8301 _ACEOF
8302 cat confdefs.h >>conftest.$ac_ext
8303 cat >>conftest.$ac_ext <<_ACEOF
8304 /* end confdefs.h.  */
8305 /* System header to define __stub macros and hopefully few prototypes,
8306     which can conflict with char $ac_func (); below.
8307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308     <limits.h> exists even on freestanding compilers.  */
8309 #ifdef __STDC__
8310 # include <limits.h>
8311 #else
8312 # include <assert.h>
8313 #endif
8314 /* Override any gcc2 internal prototype to avoid an error.  */
8315 #ifdef __cplusplus
8316 extern "C"
8317 {
8318 #endif
8319 /* We use char because int might match the return type of a gcc2
8320    builtin and then its argument prototype would still apply.  */
8321 char $ac_func ();
8322 /* The GNU C library defines this for functions which it implements
8323     to always fail with ENOSYS.  Some functions are actually named
8324     something starting with __ and the normal name is an alias.  */
8325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8326 choke me
8327 #else
8328 char (*f) () = $ac_func;
8329 #endif
8330 #ifdef __cplusplus
8331 }
8332 #endif
8333
8334 int
8335 main ()
8336 {
8337 return f != $ac_func;
8338   ;
8339   return 0;
8340 }
8341 _ACEOF
8342 rm -f conftest.$ac_objext conftest$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344   (eval $ac_link) 2>&5
8345   ac_status=$?
8346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347   (exit $ac_status); } &&
8348          { ac_try='test -s conftest$ac_exeext'
8349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350   (eval $ac_try) 2>&5
8351   ac_status=$?
8352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353   (exit $ac_status); }; }; then
8354   eval "$as_ac_var=yes"
8355 else
8356   echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8358
8359 eval "$as_ac_var=no"
8360 fi
8361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8362 fi
8363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8365 if test `eval echo '${'$as_ac_var'}'` = yes; then
8366   cat >>confdefs.h <<_ACEOF
8367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8368 _ACEOF
8369
8370 fi
8371 done
8372
8373   else
8374
8375   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8376 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8377   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8378     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8379   echo $ECHO_N "(cached) $ECHO_C" >&6
8380 else
8381
8382
8383
8384       ac_ext=cc
8385 ac_cpp='$CXXCPP $CPPFLAGS'
8386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8389
8390       cat >conftest.$ac_ext <<_ACEOF
8391 #line $LINENO "configure"
8392 /* confdefs.h.  */
8393 _ACEOF
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h.  */
8397 #include <math.h>
8398                       #ifdef HAVE_IEEEFP_H
8399                       #include <ieeefp.h>
8400                       #endif
8401
8402 int
8403 main ()
8404 {
8405  _isnan(0);
8406   ;
8407   return 0;
8408 }
8409 _ACEOF
8410 rm -f conftest.$ac_objext
8411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8412   (eval $ac_compile) 2>&5
8413   ac_status=$?
8414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415   (exit $ac_status); } &&
8416          { ac_try='test -s conftest.$ac_objext'
8417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418   (eval $ac_try) 2>&5
8419   ac_status=$?
8420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421   (exit $ac_status); }; }; then
8422   glibcxx_cv_func__isnan_use=yes
8423 else
8424   echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.$ac_ext >&5
8426
8427 glibcxx_cv_func__isnan_use=no
8428 fi
8429 rm -f conftest.$ac_objext conftest.$ac_ext
8430       ac_ext=c
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8435
8436
8437 fi
8438
8439   fi
8440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8441 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8442
8443     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8444
8445 for ac_func in _isnan
8446 do
8447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8448 echo "$as_me:$LINENO: checking for $ac_func" >&5
8449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8450 if eval "test \"\${$as_ac_var+set}\" = set"; then
8451   echo $ECHO_N "(cached) $ECHO_C" >&6
8452 else
8453   if test x$gcc_no_link = xyes; then
8454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8456    { (exit 1); exit 1; }; }
8457 fi
8458 cat >conftest.$ac_ext <<_ACEOF
8459 #line $LINENO "configure"
8460 /* confdefs.h.  */
8461 _ACEOF
8462 cat confdefs.h >>conftest.$ac_ext
8463 cat >>conftest.$ac_ext <<_ACEOF
8464 /* end confdefs.h.  */
8465 /* System header to define __stub macros and hopefully few prototypes,
8466     which can conflict with char $ac_func (); below.
8467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8468     <limits.h> exists even on freestanding compilers.  */
8469 #ifdef __STDC__
8470 # include <limits.h>
8471 #else
8472 # include <assert.h>
8473 #endif
8474 /* Override any gcc2 internal prototype to avoid an error.  */
8475 #ifdef __cplusplus
8476 extern "C"
8477 {
8478 #endif
8479 /* We use char because int might match the return type of a gcc2
8480    builtin and then its argument prototype would still apply.  */
8481 char $ac_func ();
8482 /* The GNU C library defines this for functions which it implements
8483     to always fail with ENOSYS.  Some functions are actually named
8484     something starting with __ and the normal name is an alias.  */
8485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8486 choke me
8487 #else
8488 char (*f) () = $ac_func;
8489 #endif
8490 #ifdef __cplusplus
8491 }
8492 #endif
8493
8494 int
8495 main ()
8496 {
8497 return f != $ac_func;
8498   ;
8499   return 0;
8500 }
8501 _ACEOF
8502 rm -f conftest.$ac_objext conftest$ac_exeext
8503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8504   (eval $ac_link) 2>&5
8505   ac_status=$?
8506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507   (exit $ac_status); } &&
8508          { ac_try='test -s conftest$ac_exeext'
8509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510   (eval $ac_try) 2>&5
8511   ac_status=$?
8512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513   (exit $ac_status); }; }; then
8514   eval "$as_ac_var=yes"
8515 else
8516   echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.$ac_ext >&5
8518
8519 eval "$as_ac_var=no"
8520 fi
8521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8522 fi
8523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8525 if test `eval echo '${'$as_ac_var'}'` = yes; then
8526   cat >>confdefs.h <<_ACEOF
8527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8528 _ACEOF
8529
8530 fi
8531 done
8532
8533     fi
8534   fi
8535
8536
8537
8538   echo "$as_me:$LINENO: checking for finite declaration" >&5
8539 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8540   if test x${glibcxx_cv_func_finite_use+set} != xset; then
8541     if test "${glibcxx_cv_func_finite_use+set}" = set; then
8542   echo $ECHO_N "(cached) $ECHO_C" >&6
8543 else
8544
8545
8546
8547       ac_ext=cc
8548 ac_cpp='$CXXCPP $CPPFLAGS'
8549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8552
8553       cat >conftest.$ac_ext <<_ACEOF
8554 #line $LINENO "configure"
8555 /* confdefs.h.  */
8556 _ACEOF
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h.  */
8560 #include <math.h>
8561                       #ifdef HAVE_IEEEFP_H
8562                       #include <ieeefp.h>
8563                       #endif
8564
8565 int
8566 main ()
8567 {
8568  finite(0);
8569   ;
8570   return 0;
8571 }
8572 _ACEOF
8573 rm -f conftest.$ac_objext
8574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8575   (eval $ac_compile) 2>&5
8576   ac_status=$?
8577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578   (exit $ac_status); } &&
8579          { ac_try='test -s conftest.$ac_objext'
8580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8581   (eval $ac_try) 2>&5
8582   ac_status=$?
8583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584   (exit $ac_status); }; }; then
8585   glibcxx_cv_func_finite_use=yes
8586 else
8587   echo "$as_me: failed program was:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8589
8590 glibcxx_cv_func_finite_use=no
8591 fi
8592 rm -f conftest.$ac_objext conftest.$ac_ext
8593       ac_ext=c
8594 ac_cpp='$CPP $CPPFLAGS'
8595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8598
8599
8600 fi
8601
8602   fi
8603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8604 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8605
8606   if test x$glibcxx_cv_func_finite_use = x"yes"; then
8607
8608 for ac_func in finite
8609 do
8610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8611 echo "$as_me:$LINENO: checking for $ac_func" >&5
8612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8613 if eval "test \"\${$as_ac_var+set}\" = set"; then
8614   echo $ECHO_N "(cached) $ECHO_C" >&6
8615 else
8616   if test x$gcc_no_link = xyes; then
8617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8619    { (exit 1); exit 1; }; }
8620 fi
8621 cat >conftest.$ac_ext <<_ACEOF
8622 #line $LINENO "configure"
8623 /* confdefs.h.  */
8624 _ACEOF
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h.  */
8628 /* System header to define __stub macros and hopefully few prototypes,
8629     which can conflict with char $ac_func (); below.
8630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631     <limits.h> exists even on freestanding compilers.  */
8632 #ifdef __STDC__
8633 # include <limits.h>
8634 #else
8635 # include <assert.h>
8636 #endif
8637 /* Override any gcc2 internal prototype to avoid an error.  */
8638 #ifdef __cplusplus
8639 extern "C"
8640 {
8641 #endif
8642 /* We use char because int might match the return type of a gcc2
8643    builtin and then its argument prototype would still apply.  */
8644 char $ac_func ();
8645 /* The GNU C library defines this for functions which it implements
8646     to always fail with ENOSYS.  Some functions are actually named
8647     something starting with __ and the normal name is an alias.  */
8648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8649 choke me
8650 #else
8651 char (*f) () = $ac_func;
8652 #endif
8653 #ifdef __cplusplus
8654 }
8655 #endif
8656
8657 int
8658 main ()
8659 {
8660 return f != $ac_func;
8661   ;
8662   return 0;
8663 }
8664 _ACEOF
8665 rm -f conftest.$ac_objext conftest$ac_exeext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8667   (eval $ac_link) 2>&5
8668   ac_status=$?
8669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670   (exit $ac_status); } &&
8671          { ac_try='test -s conftest$ac_exeext'
8672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673   (eval $ac_try) 2>&5
8674   ac_status=$?
8675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676   (exit $ac_status); }; }; then
8677   eval "$as_ac_var=yes"
8678 else
8679   echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8681
8682 eval "$as_ac_var=no"
8683 fi
8684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8685 fi
8686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8688 if test `eval echo '${'$as_ac_var'}'` = yes; then
8689   cat >>confdefs.h <<_ACEOF
8690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8691 _ACEOF
8692
8693 fi
8694 done
8695
8696   else
8697
8698   echo "$as_me:$LINENO: checking for _finite declaration" >&5
8699 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8700   if test x${glibcxx_cv_func__finite_use+set} != xset; then
8701     if test "${glibcxx_cv_func__finite_use+set}" = set; then
8702   echo $ECHO_N "(cached) $ECHO_C" >&6
8703 else
8704
8705
8706
8707       ac_ext=cc
8708 ac_cpp='$CXXCPP $CPPFLAGS'
8709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8712
8713       cat >conftest.$ac_ext <<_ACEOF
8714 #line $LINENO "configure"
8715 /* confdefs.h.  */
8716 _ACEOF
8717 cat confdefs.h >>conftest.$ac_ext
8718 cat >>conftest.$ac_ext <<_ACEOF
8719 /* end confdefs.h.  */
8720 #include <math.h>
8721                       #ifdef HAVE_IEEEFP_H
8722                       #include <ieeefp.h>
8723                       #endif
8724
8725 int
8726 main ()
8727 {
8728  _finite(0);
8729   ;
8730   return 0;
8731 }
8732 _ACEOF
8733 rm -f conftest.$ac_objext
8734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8735   (eval $ac_compile) 2>&5
8736   ac_status=$?
8737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738   (exit $ac_status); } &&
8739          { ac_try='test -s conftest.$ac_objext'
8740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741   (eval $ac_try) 2>&5
8742   ac_status=$?
8743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744   (exit $ac_status); }; }; then
8745   glibcxx_cv_func__finite_use=yes
8746 else
8747   echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.$ac_ext >&5
8749
8750 glibcxx_cv_func__finite_use=no
8751 fi
8752 rm -f conftest.$ac_objext conftest.$ac_ext
8753       ac_ext=c
8754 ac_cpp='$CPP $CPPFLAGS'
8755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8758
8759
8760 fi
8761
8762   fi
8763   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8764 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8765
8766     if test x$glibcxx_cv_func__finite_use = x"yes"; then
8767
8768 for ac_func in _finite
8769 do
8770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8771 echo "$as_me:$LINENO: checking for $ac_func" >&5
8772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8773 if eval "test \"\${$as_ac_var+set}\" = set"; then
8774   echo $ECHO_N "(cached) $ECHO_C" >&6
8775 else
8776   if test x$gcc_no_link = xyes; then
8777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8779    { (exit 1); exit 1; }; }
8780 fi
8781 cat >conftest.$ac_ext <<_ACEOF
8782 #line $LINENO "configure"
8783 /* confdefs.h.  */
8784 _ACEOF
8785 cat confdefs.h >>conftest.$ac_ext
8786 cat >>conftest.$ac_ext <<_ACEOF
8787 /* end confdefs.h.  */
8788 /* System header to define __stub macros and hopefully few prototypes,
8789     which can conflict with char $ac_func (); below.
8790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8791     <limits.h> exists even on freestanding compilers.  */
8792 #ifdef __STDC__
8793 # include <limits.h>
8794 #else
8795 # include <assert.h>
8796 #endif
8797 /* Override any gcc2 internal prototype to avoid an error.  */
8798 #ifdef __cplusplus
8799 extern "C"
8800 {
8801 #endif
8802 /* We use char because int might match the return type of a gcc2
8803    builtin and then its argument prototype would still apply.  */
8804 char $ac_func ();
8805 /* The GNU C library defines this for functions which it implements
8806     to always fail with ENOSYS.  Some functions are actually named
8807     something starting with __ and the normal name is an alias.  */
8808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8809 choke me
8810 #else
8811 char (*f) () = $ac_func;
8812 #endif
8813 #ifdef __cplusplus
8814 }
8815 #endif
8816
8817 int
8818 main ()
8819 {
8820 return f != $ac_func;
8821   ;
8822   return 0;
8823 }
8824 _ACEOF
8825 rm -f conftest.$ac_objext conftest$ac_exeext
8826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8827   (eval $ac_link) 2>&5
8828   ac_status=$?
8829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830   (exit $ac_status); } &&
8831          { ac_try='test -s conftest$ac_exeext'
8832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833   (eval $ac_try) 2>&5
8834   ac_status=$?
8835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836   (exit $ac_status); }; }; then
8837   eval "$as_ac_var=yes"
8838 else
8839   echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.$ac_ext >&5
8841
8842 eval "$as_ac_var=no"
8843 fi
8844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8845 fi
8846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8848 if test `eval echo '${'$as_ac_var'}'` = yes; then
8849   cat >>confdefs.h <<_ACEOF
8850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8851 _ACEOF
8852
8853 fi
8854 done
8855
8856     fi
8857   fi
8858
8859
8860
8861   echo "$as_me:$LINENO: checking for copysign declaration" >&5
8862 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8863   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8864     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8865   echo $ECHO_N "(cached) $ECHO_C" >&6
8866 else
8867
8868
8869
8870       ac_ext=cc
8871 ac_cpp='$CXXCPP $CPPFLAGS'
8872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8875
8876       cat >conftest.$ac_ext <<_ACEOF
8877 #line $LINENO "configure"
8878 /* confdefs.h.  */
8879 _ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h.  */
8883 #include <math.h>
8884 int
8885 main ()
8886 {
8887  copysign(0, 0);
8888   ;
8889   return 0;
8890 }
8891 _ACEOF
8892 rm -f conftest.$ac_objext
8893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8894   (eval $ac_compile) 2>&5
8895   ac_status=$?
8896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897   (exit $ac_status); } &&
8898          { ac_try='test -s conftest.$ac_objext'
8899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900   (eval $ac_try) 2>&5
8901   ac_status=$?
8902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903   (exit $ac_status); }; }; then
8904   glibcxx_cv_func_copysign_use=yes
8905 else
8906   echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8908
8909 glibcxx_cv_func_copysign_use=no
8910 fi
8911 rm -f conftest.$ac_objext conftest.$ac_ext
8912       ac_ext=c
8913 ac_cpp='$CPP $CPPFLAGS'
8914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8917
8918
8919 fi
8920
8921   fi
8922   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8923 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8924
8925   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8926
8927 for ac_func in copysign
8928 do
8929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8930 echo "$as_me:$LINENO: checking for $ac_func" >&5
8931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8932 if eval "test \"\${$as_ac_var+set}\" = set"; then
8933   echo $ECHO_N "(cached) $ECHO_C" >&6
8934 else
8935   if test x$gcc_no_link = xyes; then
8936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8938    { (exit 1); exit 1; }; }
8939 fi
8940 cat >conftest.$ac_ext <<_ACEOF
8941 #line $LINENO "configure"
8942 /* confdefs.h.  */
8943 _ACEOF
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h.  */
8947 /* System header to define __stub macros and hopefully few prototypes,
8948     which can conflict with char $ac_func (); below.
8949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8950     <limits.h> exists even on freestanding compilers.  */
8951 #ifdef __STDC__
8952 # include <limits.h>
8953 #else
8954 # include <assert.h>
8955 #endif
8956 /* Override any gcc2 internal prototype to avoid an error.  */
8957 #ifdef __cplusplus
8958 extern "C"
8959 {
8960 #endif
8961 /* We use char because int might match the return type of a gcc2
8962    builtin and then its argument prototype would still apply.  */
8963 char $ac_func ();
8964 /* The GNU C library defines this for functions which it implements
8965     to always fail with ENOSYS.  Some functions are actually named
8966     something starting with __ and the normal name is an alias.  */
8967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8968 choke me
8969 #else
8970 char (*f) () = $ac_func;
8971 #endif
8972 #ifdef __cplusplus
8973 }
8974 #endif
8975
8976 int
8977 main ()
8978 {
8979 return f != $ac_func;
8980   ;
8981   return 0;
8982 }
8983 _ACEOF
8984 rm -f conftest.$ac_objext conftest$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986   (eval $ac_link) 2>&5
8987   ac_status=$?
8988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989   (exit $ac_status); } &&
8990          { ac_try='test -s conftest$ac_exeext'
8991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992   (eval $ac_try) 2>&5
8993   ac_status=$?
8994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995   (exit $ac_status); }; }; then
8996   eval "$as_ac_var=yes"
8997 else
8998   echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9000
9001 eval "$as_ac_var=no"
9002 fi
9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9004 fi
9005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9007 if test `eval echo '${'$as_ac_var'}'` = yes; then
9008   cat >>confdefs.h <<_ACEOF
9009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9010 _ACEOF
9011
9012 fi
9013 done
9014
9015   else
9016
9017   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9018 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9019   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9020     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9021   echo $ECHO_N "(cached) $ECHO_C" >&6
9022 else
9023
9024
9025
9026       ac_ext=cc
9027 ac_cpp='$CXXCPP $CPPFLAGS'
9028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9031
9032       cat >conftest.$ac_ext <<_ACEOF
9033 #line $LINENO "configure"
9034 /* confdefs.h.  */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h.  */
9039 #include <math.h>
9040 int
9041 main ()
9042 {
9043  _copysign(0, 0);
9044   ;
9045   return 0;
9046 }
9047 _ACEOF
9048 rm -f conftest.$ac_objext
9049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9050   (eval $ac_compile) 2>&5
9051   ac_status=$?
9052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053   (exit $ac_status); } &&
9054          { ac_try='test -s conftest.$ac_objext'
9055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9056   (eval $ac_try) 2>&5
9057   ac_status=$?
9058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059   (exit $ac_status); }; }; then
9060   glibcxx_cv_func__copysign_use=yes
9061 else
9062   echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.$ac_ext >&5
9064
9065 glibcxx_cv_func__copysign_use=no
9066 fi
9067 rm -f conftest.$ac_objext conftest.$ac_ext
9068       ac_ext=c
9069 ac_cpp='$CPP $CPPFLAGS'
9070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9073
9074
9075 fi
9076
9077   fi
9078   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9079 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9080
9081     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9082
9083 for ac_func in _copysign
9084 do
9085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9086 echo "$as_me:$LINENO: checking for $ac_func" >&5
9087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9088 if eval "test \"\${$as_ac_var+set}\" = set"; then
9089   echo $ECHO_N "(cached) $ECHO_C" >&6
9090 else
9091   if test x$gcc_no_link = xyes; then
9092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9094    { (exit 1); exit 1; }; }
9095 fi
9096 cat >conftest.$ac_ext <<_ACEOF
9097 #line $LINENO "configure"
9098 /* confdefs.h.  */
9099 _ACEOF
9100 cat confdefs.h >>conftest.$ac_ext
9101 cat >>conftest.$ac_ext <<_ACEOF
9102 /* end confdefs.h.  */
9103 /* System header to define __stub macros and hopefully few prototypes,
9104     which can conflict with char $ac_func (); below.
9105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9106     <limits.h> exists even on freestanding compilers.  */
9107 #ifdef __STDC__
9108 # include <limits.h>
9109 #else
9110 # include <assert.h>
9111 #endif
9112 /* Override any gcc2 internal prototype to avoid an error.  */
9113 #ifdef __cplusplus
9114 extern "C"
9115 {
9116 #endif
9117 /* We use char because int might match the return type of a gcc2
9118    builtin and then its argument prototype would still apply.  */
9119 char $ac_func ();
9120 /* The GNU C library defines this for functions which it implements
9121     to always fail with ENOSYS.  Some functions are actually named
9122     something starting with __ and the normal name is an alias.  */
9123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9124 choke me
9125 #else
9126 char (*f) () = $ac_func;
9127 #endif
9128 #ifdef __cplusplus
9129 }
9130 #endif
9131
9132 int
9133 main ()
9134 {
9135 return f != $ac_func;
9136   ;
9137   return 0;
9138 }
9139 _ACEOF
9140 rm -f conftest.$ac_objext conftest$ac_exeext
9141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9142   (eval $ac_link) 2>&5
9143   ac_status=$?
9144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145   (exit $ac_status); } &&
9146          { ac_try='test -s conftest$ac_exeext'
9147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148   (eval $ac_try) 2>&5
9149   ac_status=$?
9150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151   (exit $ac_status); }; }; then
9152   eval "$as_ac_var=yes"
9153 else
9154   echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9156
9157 eval "$as_ac_var=no"
9158 fi
9159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9160 fi
9161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9163 if test `eval echo '${'$as_ac_var'}'` = yes; then
9164   cat >>confdefs.h <<_ACEOF
9165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9166 _ACEOF
9167
9168 fi
9169 done
9170
9171     fi
9172   fi
9173
9174
9175
9176   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9177 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9178   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9179     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9180   echo $ECHO_N "(cached) $ECHO_C" >&6
9181 else
9182
9183
9184
9185       ac_ext=cc
9186 ac_cpp='$CXXCPP $CPPFLAGS'
9187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9190
9191       cat >conftest.$ac_ext <<_ACEOF
9192 #line $LINENO "configure"
9193 /* confdefs.h.  */
9194 _ACEOF
9195 cat confdefs.h >>conftest.$ac_ext
9196 cat >>conftest.$ac_ext <<_ACEOF
9197 /* end confdefs.h.  */
9198 #include <math.h>
9199 int
9200 main ()
9201 {
9202  sincos(0, 0, 0);
9203   ;
9204   return 0;
9205 }
9206 _ACEOF
9207 rm -f conftest.$ac_objext
9208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9209   (eval $ac_compile) 2>&5
9210   ac_status=$?
9211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212   (exit $ac_status); } &&
9213          { ac_try='test -s conftest.$ac_objext'
9214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9215   (eval $ac_try) 2>&5
9216   ac_status=$?
9217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218   (exit $ac_status); }; }; then
9219   glibcxx_cv_func_sincos_use=yes
9220 else
9221   echo "$as_me: failed program was:" >&5
9222 sed 's/^/| /' conftest.$ac_ext >&5
9223
9224 glibcxx_cv_func_sincos_use=no
9225 fi
9226 rm -f conftest.$ac_objext conftest.$ac_ext
9227       ac_ext=c
9228 ac_cpp='$CPP $CPPFLAGS'
9229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9232
9233
9234 fi
9235
9236   fi
9237   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9238 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9239
9240   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9241
9242 for ac_func in sincos
9243 do
9244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9245 echo "$as_me:$LINENO: checking for $ac_func" >&5
9246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9247 if eval "test \"\${$as_ac_var+set}\" = set"; then
9248   echo $ECHO_N "(cached) $ECHO_C" >&6
9249 else
9250   if test x$gcc_no_link = xyes; then
9251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9253    { (exit 1); exit 1; }; }
9254 fi
9255 cat >conftest.$ac_ext <<_ACEOF
9256 #line $LINENO "configure"
9257 /* confdefs.h.  */
9258 _ACEOF
9259 cat confdefs.h >>conftest.$ac_ext
9260 cat >>conftest.$ac_ext <<_ACEOF
9261 /* end confdefs.h.  */
9262 /* System header to define __stub macros and hopefully few prototypes,
9263     which can conflict with char $ac_func (); below.
9264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9265     <limits.h> exists even on freestanding compilers.  */
9266 #ifdef __STDC__
9267 # include <limits.h>
9268 #else
9269 # include <assert.h>
9270 #endif
9271 /* Override any gcc2 internal prototype to avoid an error.  */
9272 #ifdef __cplusplus
9273 extern "C"
9274 {
9275 #endif
9276 /* We use char because int might match the return type of a gcc2
9277    builtin and then its argument prototype would still apply.  */
9278 char $ac_func ();
9279 /* The GNU C library defines this for functions which it implements
9280     to always fail with ENOSYS.  Some functions are actually named
9281     something starting with __ and the normal name is an alias.  */
9282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9283 choke me
9284 #else
9285 char (*f) () = $ac_func;
9286 #endif
9287 #ifdef __cplusplus
9288 }
9289 #endif
9290
9291 int
9292 main ()
9293 {
9294 return f != $ac_func;
9295   ;
9296   return 0;
9297 }
9298 _ACEOF
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9301   (eval $ac_link) 2>&5
9302   ac_status=$?
9303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304   (exit $ac_status); } &&
9305          { ac_try='test -s conftest$ac_exeext'
9306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9307   (eval $ac_try) 2>&5
9308   ac_status=$?
9309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310   (exit $ac_status); }; }; then
9311   eval "$as_ac_var=yes"
9312 else
9313   echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.$ac_ext >&5
9315
9316 eval "$as_ac_var=no"
9317 fi
9318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9319 fi
9320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9322 if test `eval echo '${'$as_ac_var'}'` = yes; then
9323   cat >>confdefs.h <<_ACEOF
9324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9325 _ACEOF
9326
9327 fi
9328 done
9329
9330   else
9331
9332   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9333 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9334   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9335     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9336   echo $ECHO_N "(cached) $ECHO_C" >&6
9337 else
9338
9339
9340
9341       ac_ext=cc
9342 ac_cpp='$CXXCPP $CPPFLAGS'
9343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9346
9347       cat >conftest.$ac_ext <<_ACEOF
9348 #line $LINENO "configure"
9349 /* confdefs.h.  */
9350 _ACEOF
9351 cat confdefs.h >>conftest.$ac_ext
9352 cat >>conftest.$ac_ext <<_ACEOF
9353 /* end confdefs.h.  */
9354 #include <math.h>
9355 int
9356 main ()
9357 {
9358  _sincos(0, 0, 0);
9359   ;
9360   return 0;
9361 }
9362 _ACEOF
9363 rm -f conftest.$ac_objext
9364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9365   (eval $ac_compile) 2>&5
9366   ac_status=$?
9367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368   (exit $ac_status); } &&
9369          { ac_try='test -s conftest.$ac_objext'
9370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9371   (eval $ac_try) 2>&5
9372   ac_status=$?
9373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374   (exit $ac_status); }; }; then
9375   glibcxx_cv_func__sincos_use=yes
9376 else
9377   echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9379
9380 glibcxx_cv_func__sincos_use=no
9381 fi
9382 rm -f conftest.$ac_objext conftest.$ac_ext
9383       ac_ext=c
9384 ac_cpp='$CPP $CPPFLAGS'
9385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9388
9389
9390 fi
9391
9392   fi
9393   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9394 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9395
9396     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9397
9398 for ac_func in _sincos
9399 do
9400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9401 echo "$as_me:$LINENO: checking for $ac_func" >&5
9402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9403 if eval "test \"\${$as_ac_var+set}\" = set"; then
9404   echo $ECHO_N "(cached) $ECHO_C" >&6
9405 else
9406   if test x$gcc_no_link = xyes; then
9407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9409    { (exit 1); exit 1; }; }
9410 fi
9411 cat >conftest.$ac_ext <<_ACEOF
9412 #line $LINENO "configure"
9413 /* confdefs.h.  */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h.  */
9418 /* System header to define __stub macros and hopefully few prototypes,
9419     which can conflict with char $ac_func (); below.
9420     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9421     <limits.h> exists even on freestanding compilers.  */
9422 #ifdef __STDC__
9423 # include <limits.h>
9424 #else
9425 # include <assert.h>
9426 #endif
9427 /* Override any gcc2 internal prototype to avoid an error.  */
9428 #ifdef __cplusplus
9429 extern "C"
9430 {
9431 #endif
9432 /* We use char because int might match the return type of a gcc2
9433    builtin and then its argument prototype would still apply.  */
9434 char $ac_func ();
9435 /* The GNU C library defines this for functions which it implements
9436     to always fail with ENOSYS.  Some functions are actually named
9437     something starting with __ and the normal name is an alias.  */
9438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9439 choke me
9440 #else
9441 char (*f) () = $ac_func;
9442 #endif
9443 #ifdef __cplusplus
9444 }
9445 #endif
9446
9447 int
9448 main ()
9449 {
9450 return f != $ac_func;
9451   ;
9452   return 0;
9453 }
9454 _ACEOF
9455 rm -f conftest.$ac_objext conftest$ac_exeext
9456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9457   (eval $ac_link) 2>&5
9458   ac_status=$?
9459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460   (exit $ac_status); } &&
9461          { ac_try='test -s conftest$ac_exeext'
9462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9463   (eval $ac_try) 2>&5
9464   ac_status=$?
9465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466   (exit $ac_status); }; }; then
9467   eval "$as_ac_var=yes"
9468 else
9469   echo "$as_me: failed program was:" >&5
9470 sed 's/^/| /' conftest.$ac_ext >&5
9471
9472 eval "$as_ac_var=no"
9473 fi
9474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9475 fi
9476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9478 if test `eval echo '${'$as_ac_var'}'` = yes; then
9479   cat >>confdefs.h <<_ACEOF
9480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9481 _ACEOF
9482
9483 fi
9484 done
9485
9486     fi
9487   fi
9488
9489
9490
9491   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9492 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9493   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9494     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9495   echo $ECHO_N "(cached) $ECHO_C" >&6
9496 else
9497
9498
9499
9500       ac_ext=cc
9501 ac_cpp='$CXXCPP $CPPFLAGS'
9502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9505
9506       cat >conftest.$ac_ext <<_ACEOF
9507 #line $LINENO "configure"
9508 /* confdefs.h.  */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h.  */
9513 #include <math.h>
9514                       #ifdef HAVE_IEEEFP_H
9515                       #include <ieeefp.h>
9516                       #endif
9517
9518 int
9519 main ()
9520 {
9521  fpclass(0);
9522   ;
9523   return 0;
9524 }
9525 _ACEOF
9526 rm -f conftest.$ac_objext
9527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9528   (eval $ac_compile) 2>&5
9529   ac_status=$?
9530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531   (exit $ac_status); } &&
9532          { ac_try='test -s conftest.$ac_objext'
9533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534   (eval $ac_try) 2>&5
9535   ac_status=$?
9536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537   (exit $ac_status); }; }; then
9538   glibcxx_cv_func_fpclass_use=yes
9539 else
9540   echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9542
9543 glibcxx_cv_func_fpclass_use=no
9544 fi
9545 rm -f conftest.$ac_objext conftest.$ac_ext
9546       ac_ext=c
9547 ac_cpp='$CPP $CPPFLAGS'
9548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9551
9552
9553 fi
9554
9555   fi
9556   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9557 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9558
9559   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9560
9561 for ac_func in fpclass
9562 do
9563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9564 echo "$as_me:$LINENO: checking for $ac_func" >&5
9565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9566 if eval "test \"\${$as_ac_var+set}\" = set"; then
9567   echo $ECHO_N "(cached) $ECHO_C" >&6
9568 else
9569   if test x$gcc_no_link = xyes; then
9570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9572    { (exit 1); exit 1; }; }
9573 fi
9574 cat >conftest.$ac_ext <<_ACEOF
9575 #line $LINENO "configure"
9576 /* confdefs.h.  */
9577 _ACEOF
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h.  */
9581 /* System header to define __stub macros and hopefully few prototypes,
9582     which can conflict with char $ac_func (); below.
9583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9584     <limits.h> exists even on freestanding compilers.  */
9585 #ifdef __STDC__
9586 # include <limits.h>
9587 #else
9588 # include <assert.h>
9589 #endif
9590 /* Override any gcc2 internal prototype to avoid an error.  */
9591 #ifdef __cplusplus
9592 extern "C"
9593 {
9594 #endif
9595 /* We use char because int might match the return type of a gcc2
9596    builtin and then its argument prototype would still apply.  */
9597 char $ac_func ();
9598 /* The GNU C library defines this for functions which it implements
9599     to always fail with ENOSYS.  Some functions are actually named
9600     something starting with __ and the normal name is an alias.  */
9601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9602 choke me
9603 #else
9604 char (*f) () = $ac_func;
9605 #endif
9606 #ifdef __cplusplus
9607 }
9608 #endif
9609
9610 int
9611 main ()
9612 {
9613 return f != $ac_func;
9614   ;
9615   return 0;
9616 }
9617 _ACEOF
9618 rm -f conftest.$ac_objext conftest$ac_exeext
9619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9620   (eval $ac_link) 2>&5
9621   ac_status=$?
9622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623   (exit $ac_status); } &&
9624          { ac_try='test -s conftest$ac_exeext'
9625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626   (eval $ac_try) 2>&5
9627   ac_status=$?
9628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629   (exit $ac_status); }; }; then
9630   eval "$as_ac_var=yes"
9631 else
9632   echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9634
9635 eval "$as_ac_var=no"
9636 fi
9637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9638 fi
9639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9641 if test `eval echo '${'$as_ac_var'}'` = yes; then
9642   cat >>confdefs.h <<_ACEOF
9643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9644 _ACEOF
9645
9646 fi
9647 done
9648
9649   else
9650
9651   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9652 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9653   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9654     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9655   echo $ECHO_N "(cached) $ECHO_C" >&6
9656 else
9657
9658
9659
9660       ac_ext=cc
9661 ac_cpp='$CXXCPP $CPPFLAGS'
9662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9665
9666       cat >conftest.$ac_ext <<_ACEOF
9667 #line $LINENO "configure"
9668 /* confdefs.h.  */
9669 _ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h.  */
9673 #include <math.h>
9674                       #ifdef HAVE_IEEEFP_H
9675                       #include <ieeefp.h>
9676                       #endif
9677
9678 int
9679 main ()
9680 {
9681  _fpclass(0);
9682   ;
9683   return 0;
9684 }
9685 _ACEOF
9686 rm -f conftest.$ac_objext
9687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9688   (eval $ac_compile) 2>&5
9689   ac_status=$?
9690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691   (exit $ac_status); } &&
9692          { ac_try='test -s conftest.$ac_objext'
9693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694   (eval $ac_try) 2>&5
9695   ac_status=$?
9696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697   (exit $ac_status); }; }; then
9698   glibcxx_cv_func__fpclass_use=yes
9699 else
9700   echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.$ac_ext >&5
9702
9703 glibcxx_cv_func__fpclass_use=no
9704 fi
9705 rm -f conftest.$ac_objext conftest.$ac_ext
9706       ac_ext=c
9707 ac_cpp='$CPP $CPPFLAGS'
9708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9711
9712
9713 fi
9714
9715   fi
9716   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9717 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9718
9719     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9720
9721 for ac_func in _fpclass
9722 do
9723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9724 echo "$as_me:$LINENO: checking for $ac_func" >&5
9725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9726 if eval "test \"\${$as_ac_var+set}\" = set"; then
9727   echo $ECHO_N "(cached) $ECHO_C" >&6
9728 else
9729   if test x$gcc_no_link = xyes; then
9730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9732    { (exit 1); exit 1; }; }
9733 fi
9734 cat >conftest.$ac_ext <<_ACEOF
9735 #line $LINENO "configure"
9736 /* confdefs.h.  */
9737 _ACEOF
9738 cat confdefs.h >>conftest.$ac_ext
9739 cat >>conftest.$ac_ext <<_ACEOF
9740 /* end confdefs.h.  */
9741 /* System header to define __stub macros and hopefully few prototypes,
9742     which can conflict with char $ac_func (); below.
9743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9744     <limits.h> exists even on freestanding compilers.  */
9745 #ifdef __STDC__
9746 # include <limits.h>
9747 #else
9748 # include <assert.h>
9749 #endif
9750 /* Override any gcc2 internal prototype to avoid an error.  */
9751 #ifdef __cplusplus
9752 extern "C"
9753 {
9754 #endif
9755 /* We use char because int might match the return type of a gcc2
9756    builtin and then its argument prototype would still apply.  */
9757 char $ac_func ();
9758 /* The GNU C library defines this for functions which it implements
9759     to always fail with ENOSYS.  Some functions are actually named
9760     something starting with __ and the normal name is an alias.  */
9761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9762 choke me
9763 #else
9764 char (*f) () = $ac_func;
9765 #endif
9766 #ifdef __cplusplus
9767 }
9768 #endif
9769
9770 int
9771 main ()
9772 {
9773 return f != $ac_func;
9774   ;
9775   return 0;
9776 }
9777 _ACEOF
9778 rm -f conftest.$ac_objext conftest$ac_exeext
9779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9780   (eval $ac_link) 2>&5
9781   ac_status=$?
9782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783   (exit $ac_status); } &&
9784          { ac_try='test -s conftest$ac_exeext'
9785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786   (eval $ac_try) 2>&5
9787   ac_status=$?
9788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789   (exit $ac_status); }; }; then
9790   eval "$as_ac_var=yes"
9791 else
9792   echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9794
9795 eval "$as_ac_var=no"
9796 fi
9797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9798 fi
9799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9801 if test `eval echo '${'$as_ac_var'}'` = yes; then
9802   cat >>confdefs.h <<_ACEOF
9803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9804 _ACEOF
9805
9806 fi
9807 done
9808
9809     fi
9810   fi
9811
9812
9813
9814   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9815 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9816   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9817     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9818   echo $ECHO_N "(cached) $ECHO_C" >&6
9819 else
9820
9821
9822
9823       ac_ext=cc
9824 ac_cpp='$CXXCPP $CPPFLAGS'
9825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9828
9829       cat >conftest.$ac_ext <<_ACEOF
9830 #line $LINENO "configure"
9831 /* confdefs.h.  */
9832 _ACEOF
9833 cat confdefs.h >>conftest.$ac_ext
9834 cat >>conftest.$ac_ext <<_ACEOF
9835 /* end confdefs.h.  */
9836 #include <math.h>
9837                       #ifdef HAVE_IEEEFP_H
9838                       #include <ieeefp.h>
9839                       #endif
9840
9841 int
9842 main ()
9843 {
9844  qfpclass(0);
9845   ;
9846   return 0;
9847 }
9848 _ACEOF
9849 rm -f conftest.$ac_objext
9850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9851   (eval $ac_compile) 2>&5
9852   ac_status=$?
9853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854   (exit $ac_status); } &&
9855          { ac_try='test -s conftest.$ac_objext'
9856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857   (eval $ac_try) 2>&5
9858   ac_status=$?
9859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860   (exit $ac_status); }; }; then
9861   glibcxx_cv_func_qfpclass_use=yes
9862 else
9863   echo "$as_me: failed program was:" >&5
9864 sed 's/^/| /' conftest.$ac_ext >&5
9865
9866 glibcxx_cv_func_qfpclass_use=no
9867 fi
9868 rm -f conftest.$ac_objext conftest.$ac_ext
9869       ac_ext=c
9870 ac_cpp='$CPP $CPPFLAGS'
9871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9874
9875
9876 fi
9877
9878   fi
9879   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9880 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9881
9882   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9883
9884 for ac_func in qfpclass
9885 do
9886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9887 echo "$as_me:$LINENO: checking for $ac_func" >&5
9888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9889 if eval "test \"\${$as_ac_var+set}\" = set"; then
9890   echo $ECHO_N "(cached) $ECHO_C" >&6
9891 else
9892   if test x$gcc_no_link = xyes; then
9893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9895    { (exit 1); exit 1; }; }
9896 fi
9897 cat >conftest.$ac_ext <<_ACEOF
9898 #line $LINENO "configure"
9899 /* confdefs.h.  */
9900 _ACEOF
9901 cat confdefs.h >>conftest.$ac_ext
9902 cat >>conftest.$ac_ext <<_ACEOF
9903 /* end confdefs.h.  */
9904 /* System header to define __stub macros and hopefully few prototypes,
9905     which can conflict with char $ac_func (); below.
9906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9907     <limits.h> exists even on freestanding compilers.  */
9908 #ifdef __STDC__
9909 # include <limits.h>
9910 #else
9911 # include <assert.h>
9912 #endif
9913 /* Override any gcc2 internal prototype to avoid an error.  */
9914 #ifdef __cplusplus
9915 extern "C"
9916 {
9917 #endif
9918 /* We use char because int might match the return type of a gcc2
9919    builtin and then its argument prototype would still apply.  */
9920 char $ac_func ();
9921 /* The GNU C library defines this for functions which it implements
9922     to always fail with ENOSYS.  Some functions are actually named
9923     something starting with __ and the normal name is an alias.  */
9924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9925 choke me
9926 #else
9927 char (*f) () = $ac_func;
9928 #endif
9929 #ifdef __cplusplus
9930 }
9931 #endif
9932
9933 int
9934 main ()
9935 {
9936 return f != $ac_func;
9937   ;
9938   return 0;
9939 }
9940 _ACEOF
9941 rm -f conftest.$ac_objext conftest$ac_exeext
9942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9943   (eval $ac_link) 2>&5
9944   ac_status=$?
9945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946   (exit $ac_status); } &&
9947          { ac_try='test -s conftest$ac_exeext'
9948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949   (eval $ac_try) 2>&5
9950   ac_status=$?
9951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952   (exit $ac_status); }; }; then
9953   eval "$as_ac_var=yes"
9954 else
9955   echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9957
9958 eval "$as_ac_var=no"
9959 fi
9960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9961 fi
9962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9964 if test `eval echo '${'$as_ac_var'}'` = yes; then
9965   cat >>confdefs.h <<_ACEOF
9966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9967 _ACEOF
9968
9969 fi
9970 done
9971
9972   else
9973
9974   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9975 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9976   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9977     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9978   echo $ECHO_N "(cached) $ECHO_C" >&6
9979 else
9980
9981
9982
9983       ac_ext=cc
9984 ac_cpp='$CXXCPP $CPPFLAGS'
9985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9988
9989       cat >conftest.$ac_ext <<_ACEOF
9990 #line $LINENO "configure"
9991 /* confdefs.h.  */
9992 _ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h.  */
9996 #include <math.h>
9997                       #ifdef HAVE_IEEEFP_H
9998                       #include <ieeefp.h>
9999                       #endif
10000
10001 int
10002 main ()
10003 {
10004  _qfpclass(0);
10005   ;
10006   return 0;
10007 }
10008 _ACEOF
10009 rm -f conftest.$ac_objext
10010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10011   (eval $ac_compile) 2>&5
10012   ac_status=$?
10013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014   (exit $ac_status); } &&
10015          { ac_try='test -s conftest.$ac_objext'
10016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017   (eval $ac_try) 2>&5
10018   ac_status=$?
10019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020   (exit $ac_status); }; }; then
10021   glibcxx_cv_func__qfpclass_use=yes
10022 else
10023   echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10025
10026 glibcxx_cv_func__qfpclass_use=no
10027 fi
10028 rm -f conftest.$ac_objext conftest.$ac_ext
10029       ac_ext=c
10030 ac_cpp='$CPP $CPPFLAGS'
10031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10034
10035
10036 fi
10037
10038   fi
10039   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10040 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10041
10042     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10043
10044 for ac_func in _qfpclass
10045 do
10046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10047 echo "$as_me:$LINENO: checking for $ac_func" >&5
10048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10049 if eval "test \"\${$as_ac_var+set}\" = set"; then
10050   echo $ECHO_N "(cached) $ECHO_C" >&6
10051 else
10052   if test x$gcc_no_link = xyes; then
10053   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10055    { (exit 1); exit 1; }; }
10056 fi
10057 cat >conftest.$ac_ext <<_ACEOF
10058 #line $LINENO "configure"
10059 /* confdefs.h.  */
10060 _ACEOF
10061 cat confdefs.h >>conftest.$ac_ext
10062 cat >>conftest.$ac_ext <<_ACEOF
10063 /* end confdefs.h.  */
10064 /* System header to define __stub macros and hopefully few prototypes,
10065     which can conflict with char $ac_func (); below.
10066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10067     <limits.h> exists even on freestanding compilers.  */
10068 #ifdef __STDC__
10069 # include <limits.h>
10070 #else
10071 # include <assert.h>
10072 #endif
10073 /* Override any gcc2 internal prototype to avoid an error.  */
10074 #ifdef __cplusplus
10075 extern "C"
10076 {
10077 #endif
10078 /* We use char because int might match the return type of a gcc2
10079    builtin and then its argument prototype would still apply.  */
10080 char $ac_func ();
10081 /* The GNU C library defines this for functions which it implements
10082     to always fail with ENOSYS.  Some functions are actually named
10083     something starting with __ and the normal name is an alias.  */
10084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10085 choke me
10086 #else
10087 char (*f) () = $ac_func;
10088 #endif
10089 #ifdef __cplusplus
10090 }
10091 #endif
10092
10093 int
10094 main ()
10095 {
10096 return f != $ac_func;
10097   ;
10098   return 0;
10099 }
10100 _ACEOF
10101 rm -f conftest.$ac_objext conftest$ac_exeext
10102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10103   (eval $ac_link) 2>&5
10104   ac_status=$?
10105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106   (exit $ac_status); } &&
10107          { ac_try='test -s conftest$ac_exeext'
10108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109   (eval $ac_try) 2>&5
10110   ac_status=$?
10111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112   (exit $ac_status); }; }; then
10113   eval "$as_ac_var=yes"
10114 else
10115   echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.$ac_ext >&5
10117
10118 eval "$as_ac_var=no"
10119 fi
10120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10121 fi
10122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10124 if test `eval echo '${'$as_ac_var'}'` = yes; then
10125   cat >>confdefs.h <<_ACEOF
10126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10127 _ACEOF
10128
10129 fi
10130 done
10131
10132     fi
10133   fi
10134
10135
10136
10137   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10138 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10139   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10140     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10141   echo $ECHO_N "(cached) $ECHO_C" >&6
10142 else
10143
10144
10145
10146       ac_ext=cc
10147 ac_cpp='$CXXCPP $CPPFLAGS'
10148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10151
10152       cat >conftest.$ac_ext <<_ACEOF
10153 #line $LINENO "configure"
10154 /* confdefs.h.  */
10155 _ACEOF
10156 cat confdefs.h >>conftest.$ac_ext
10157 cat >>conftest.$ac_ext <<_ACEOF
10158 /* end confdefs.h.  */
10159 #include <math.h>
10160 int
10161 main ()
10162 {
10163  hypot(0, 0);
10164   ;
10165   return 0;
10166 }
10167 _ACEOF
10168 rm -f conftest.$ac_objext
10169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10170   (eval $ac_compile) 2>&5
10171   ac_status=$?
10172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173   (exit $ac_status); } &&
10174          { ac_try='test -s conftest.$ac_objext'
10175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176   (eval $ac_try) 2>&5
10177   ac_status=$?
10178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179   (exit $ac_status); }; }; then
10180   glibcxx_cv_func_hypot_use=yes
10181 else
10182   echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10184
10185 glibcxx_cv_func_hypot_use=no
10186 fi
10187 rm -f conftest.$ac_objext conftest.$ac_ext
10188       ac_ext=c
10189 ac_cpp='$CPP $CPPFLAGS'
10190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10193
10194
10195 fi
10196
10197   fi
10198   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10199 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10200
10201   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10202
10203 for ac_func in hypot
10204 do
10205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10206 echo "$as_me:$LINENO: checking for $ac_func" >&5
10207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10208 if eval "test \"\${$as_ac_var+set}\" = set"; then
10209   echo $ECHO_N "(cached) $ECHO_C" >&6
10210 else
10211   if test x$gcc_no_link = xyes; then
10212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10214    { (exit 1); exit 1; }; }
10215 fi
10216 cat >conftest.$ac_ext <<_ACEOF
10217 #line $LINENO "configure"
10218 /* confdefs.h.  */
10219 _ACEOF
10220 cat confdefs.h >>conftest.$ac_ext
10221 cat >>conftest.$ac_ext <<_ACEOF
10222 /* end confdefs.h.  */
10223 /* System header to define __stub macros and hopefully few prototypes,
10224     which can conflict with char $ac_func (); below.
10225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10226     <limits.h> exists even on freestanding compilers.  */
10227 #ifdef __STDC__
10228 # include <limits.h>
10229 #else
10230 # include <assert.h>
10231 #endif
10232 /* Override any gcc2 internal prototype to avoid an error.  */
10233 #ifdef __cplusplus
10234 extern "C"
10235 {
10236 #endif
10237 /* We use char because int might match the return type of a gcc2
10238    builtin and then its argument prototype would still apply.  */
10239 char $ac_func ();
10240 /* The GNU C library defines this for functions which it implements
10241     to always fail with ENOSYS.  Some functions are actually named
10242     something starting with __ and the normal name is an alias.  */
10243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10244 choke me
10245 #else
10246 char (*f) () = $ac_func;
10247 #endif
10248 #ifdef __cplusplus
10249 }
10250 #endif
10251
10252 int
10253 main ()
10254 {
10255 return f != $ac_func;
10256   ;
10257   return 0;
10258 }
10259 _ACEOF
10260 rm -f conftest.$ac_objext conftest$ac_exeext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10262   (eval $ac_link) 2>&5
10263   ac_status=$?
10264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265   (exit $ac_status); } &&
10266          { ac_try='test -s conftest$ac_exeext'
10267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268   (eval $ac_try) 2>&5
10269   ac_status=$?
10270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271   (exit $ac_status); }; }; then
10272   eval "$as_ac_var=yes"
10273 else
10274   echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10276
10277 eval "$as_ac_var=no"
10278 fi
10279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10280 fi
10281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10283 if test `eval echo '${'$as_ac_var'}'` = yes; then
10284   cat >>confdefs.h <<_ACEOF
10285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10286 _ACEOF
10287
10288 fi
10289 done
10290
10291   else
10292
10293   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10294 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10295   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10296     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10297   echo $ECHO_N "(cached) $ECHO_C" >&6
10298 else
10299
10300
10301
10302       ac_ext=cc
10303 ac_cpp='$CXXCPP $CPPFLAGS'
10304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10307
10308       cat >conftest.$ac_ext <<_ACEOF
10309 #line $LINENO "configure"
10310 /* confdefs.h.  */
10311 _ACEOF
10312 cat confdefs.h >>conftest.$ac_ext
10313 cat >>conftest.$ac_ext <<_ACEOF
10314 /* end confdefs.h.  */
10315 #include <math.h>
10316 int
10317 main ()
10318 {
10319  _hypot(0, 0);
10320   ;
10321   return 0;
10322 }
10323 _ACEOF
10324 rm -f conftest.$ac_objext
10325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10326   (eval $ac_compile) 2>&5
10327   ac_status=$?
10328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329   (exit $ac_status); } &&
10330          { ac_try='test -s conftest.$ac_objext'
10331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332   (eval $ac_try) 2>&5
10333   ac_status=$?
10334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335   (exit $ac_status); }; }; then
10336   glibcxx_cv_func__hypot_use=yes
10337 else
10338   echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10340
10341 glibcxx_cv_func__hypot_use=no
10342 fi
10343 rm -f conftest.$ac_objext conftest.$ac_ext
10344       ac_ext=c
10345 ac_cpp='$CPP $CPPFLAGS'
10346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10349
10350
10351 fi
10352
10353   fi
10354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10355 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10356
10357     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10358
10359 for ac_func in _hypot
10360 do
10361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10362 echo "$as_me:$LINENO: checking for $ac_func" >&5
10363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10364 if eval "test \"\${$as_ac_var+set}\" = set"; then
10365   echo $ECHO_N "(cached) $ECHO_C" >&6
10366 else
10367   if test x$gcc_no_link = xyes; then
10368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10370    { (exit 1); exit 1; }; }
10371 fi
10372 cat >conftest.$ac_ext <<_ACEOF
10373 #line $LINENO "configure"
10374 /* confdefs.h.  */
10375 _ACEOF
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h.  */
10379 /* System header to define __stub macros and hopefully few prototypes,
10380     which can conflict with char $ac_func (); below.
10381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10382     <limits.h> exists even on freestanding compilers.  */
10383 #ifdef __STDC__
10384 # include <limits.h>
10385 #else
10386 # include <assert.h>
10387 #endif
10388 /* Override any gcc2 internal prototype to avoid an error.  */
10389 #ifdef __cplusplus
10390 extern "C"
10391 {
10392 #endif
10393 /* We use char because int might match the return type of a gcc2
10394    builtin and then its argument prototype would still apply.  */
10395 char $ac_func ();
10396 /* The GNU C library defines this for functions which it implements
10397     to always fail with ENOSYS.  Some functions are actually named
10398     something starting with __ and the normal name is an alias.  */
10399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10400 choke me
10401 #else
10402 char (*f) () = $ac_func;
10403 #endif
10404 #ifdef __cplusplus
10405 }
10406 #endif
10407
10408 int
10409 main ()
10410 {
10411 return f != $ac_func;
10412   ;
10413   return 0;
10414 }
10415 _ACEOF
10416 rm -f conftest.$ac_objext conftest$ac_exeext
10417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10418   (eval $ac_link) 2>&5
10419   ac_status=$?
10420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421   (exit $ac_status); } &&
10422          { ac_try='test -s conftest$ac_exeext'
10423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10424   (eval $ac_try) 2>&5
10425   ac_status=$?
10426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427   (exit $ac_status); }; }; then
10428   eval "$as_ac_var=yes"
10429 else
10430   echo "$as_me: failed program was:" >&5
10431 sed 's/^/| /' conftest.$ac_ext >&5
10432
10433 eval "$as_ac_var=no"
10434 fi
10435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10436 fi
10437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10439 if test `eval echo '${'$as_ac_var'}'` = yes; then
10440   cat >>confdefs.h <<_ACEOF
10441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10442 _ACEOF
10443
10444 fi
10445 done
10446
10447     fi
10448   fi
10449
10450
10451
10452   echo "$as_me:$LINENO: checking for float trig functions" >&5
10453 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10454   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10455   echo $ECHO_N "(cached) $ECHO_C" >&6
10456 else
10457
10458
10459
10460     ac_ext=cc
10461 ac_cpp='$CXXCPP $CPPFLAGS'
10462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10465
10466     cat >conftest.$ac_ext <<_ACEOF
10467 #line $LINENO "configure"
10468 /* confdefs.h.  */
10469 _ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h.  */
10473 #include <math.h>
10474 int
10475 main ()
10476 {
10477  `for x in acosf asinf atanf \
10478                                           cosf sinf tanf \
10479                                           coshf sinhf tanhf; do echo "$x (0);"; done`
10480   ;
10481   return 0;
10482 }
10483 _ACEOF
10484 rm -f conftest.$ac_objext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10486   (eval $ac_compile) 2>&5
10487   ac_status=$?
10488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489   (exit $ac_status); } &&
10490          { ac_try='test -s conftest.$ac_objext'
10491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492   (eval $ac_try) 2>&5
10493   ac_status=$?
10494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495   (exit $ac_status); }; }; then
10496   glibcxx_cv_func_float_trig_use=yes
10497 else
10498   echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.$ac_ext >&5
10500
10501 glibcxx_cv_func_float_trig_use=no
10502 fi
10503 rm -f conftest.$ac_objext conftest.$ac_ext
10504     ac_ext=c
10505 ac_cpp='$CPP $CPPFLAGS'
10506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10509
10510 fi
10511
10512   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10513 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10514   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524 for ac_func in acosf asinf atanf \
10525                                           cosf sinf tanf \
10526                                           coshf sinhf tanhf
10527 do
10528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10529 echo "$as_me:$LINENO: checking for $ac_func" >&5
10530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10531 if eval "test \"\${$as_ac_var+set}\" = set"; then
10532   echo $ECHO_N "(cached) $ECHO_C" >&6
10533 else
10534   if test x$gcc_no_link = xyes; then
10535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10537    { (exit 1); exit 1; }; }
10538 fi
10539 cat >conftest.$ac_ext <<_ACEOF
10540 #line $LINENO "configure"
10541 /* confdefs.h.  */
10542 _ACEOF
10543 cat confdefs.h >>conftest.$ac_ext
10544 cat >>conftest.$ac_ext <<_ACEOF
10545 /* end confdefs.h.  */
10546 /* System header to define __stub macros and hopefully few prototypes,
10547     which can conflict with char $ac_func (); below.
10548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549     <limits.h> exists even on freestanding compilers.  */
10550 #ifdef __STDC__
10551 # include <limits.h>
10552 #else
10553 # include <assert.h>
10554 #endif
10555 /* Override any gcc2 internal prototype to avoid an error.  */
10556 #ifdef __cplusplus
10557 extern "C"
10558 {
10559 #endif
10560 /* We use char because int might match the return type of a gcc2
10561    builtin and then its argument prototype would still apply.  */
10562 char $ac_func ();
10563 /* The GNU C library defines this for functions which it implements
10564     to always fail with ENOSYS.  Some functions are actually named
10565     something starting with __ and the normal name is an alias.  */
10566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10567 choke me
10568 #else
10569 char (*f) () = $ac_func;
10570 #endif
10571 #ifdef __cplusplus
10572 }
10573 #endif
10574
10575 int
10576 main ()
10577 {
10578 return f != $ac_func;
10579   ;
10580   return 0;
10581 }
10582 _ACEOF
10583 rm -f conftest.$ac_objext conftest$ac_exeext
10584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10585   (eval $ac_link) 2>&5
10586   ac_status=$?
10587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588   (exit $ac_status); } &&
10589          { ac_try='test -s conftest$ac_exeext'
10590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591   (eval $ac_try) 2>&5
10592   ac_status=$?
10593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594   (exit $ac_status); }; }; then
10595   eval "$as_ac_var=yes"
10596 else
10597   echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.$ac_ext >&5
10599
10600 eval "$as_ac_var=no"
10601 fi
10602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10603 fi
10604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10606 if test `eval echo '${'$as_ac_var'}'` = yes; then
10607   cat >>confdefs.h <<_ACEOF
10608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10609 _ACEOF
10610
10611 fi
10612 done
10613
10614   fi
10615
10616
10617   echo "$as_me:$LINENO: checking for float round functions" >&5
10618 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10619   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10620   echo $ECHO_N "(cached) $ECHO_C" >&6
10621 else
10622
10623
10624
10625     ac_ext=cc
10626 ac_cpp='$CXXCPP $CPPFLAGS'
10627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10630
10631     cat >conftest.$ac_ext <<_ACEOF
10632 #line $LINENO "configure"
10633 /* confdefs.h.  */
10634 _ACEOF
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h.  */
10638 #include <math.h>
10639 int
10640 main ()
10641 {
10642  `for x in ceilf floorf; do echo "$x (0);"; done`
10643   ;
10644   return 0;
10645 }
10646 _ACEOF
10647 rm -f conftest.$ac_objext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649   (eval $ac_compile) 2>&5
10650   ac_status=$?
10651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652   (exit $ac_status); } &&
10653          { ac_try='test -s conftest.$ac_objext'
10654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655   (eval $ac_try) 2>&5
10656   ac_status=$?
10657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658   (exit $ac_status); }; }; then
10659   glibcxx_cv_func_float_round_use=yes
10660 else
10661   echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.$ac_ext >&5
10663
10664 glibcxx_cv_func_float_round_use=no
10665 fi
10666 rm -f conftest.$ac_objext conftest.$ac_ext
10667     ac_ext=c
10668 ac_cpp='$CPP $CPPFLAGS'
10669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10672
10673 fi
10674
10675   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10676 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10677   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10678
10679
10680 for ac_func in ceilf floorf
10681 do
10682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10683 echo "$as_me:$LINENO: checking for $ac_func" >&5
10684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_var+set}\" = set"; then
10686   echo $ECHO_N "(cached) $ECHO_C" >&6
10687 else
10688   if test x$gcc_no_link = xyes; then
10689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10691    { (exit 1); exit 1; }; }
10692 fi
10693 cat >conftest.$ac_ext <<_ACEOF
10694 #line $LINENO "configure"
10695 /* confdefs.h.  */
10696 _ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h.  */
10700 /* System header to define __stub macros and hopefully few prototypes,
10701     which can conflict with char $ac_func (); below.
10702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10703     <limits.h> exists even on freestanding compilers.  */
10704 #ifdef __STDC__
10705 # include <limits.h>
10706 #else
10707 # include <assert.h>
10708 #endif
10709 /* Override any gcc2 internal prototype to avoid an error.  */
10710 #ifdef __cplusplus
10711 extern "C"
10712 {
10713 #endif
10714 /* We use char because int might match the return type of a gcc2
10715    builtin and then its argument prototype would still apply.  */
10716 char $ac_func ();
10717 /* The GNU C library defines this for functions which it implements
10718     to always fail with ENOSYS.  Some functions are actually named
10719     something starting with __ and the normal name is an alias.  */
10720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10721 choke me
10722 #else
10723 char (*f) () = $ac_func;
10724 #endif
10725 #ifdef __cplusplus
10726 }
10727 #endif
10728
10729 int
10730 main ()
10731 {
10732 return f != $ac_func;
10733   ;
10734   return 0;
10735 }
10736 _ACEOF
10737 rm -f conftest.$ac_objext conftest$ac_exeext
10738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10739   (eval $ac_link) 2>&5
10740   ac_status=$?
10741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742   (exit $ac_status); } &&
10743          { ac_try='test -s conftest$ac_exeext'
10744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10745   (eval $ac_try) 2>&5
10746   ac_status=$?
10747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748   (exit $ac_status); }; }; then
10749   eval "$as_ac_var=yes"
10750 else
10751   echo "$as_me: failed program was:" >&5
10752 sed 's/^/| /' conftest.$ac_ext >&5
10753
10754 eval "$as_ac_var=no"
10755 fi
10756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10757 fi
10758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10760 if test `eval echo '${'$as_ac_var'}'` = yes; then
10761   cat >>confdefs.h <<_ACEOF
10762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10763 _ACEOF
10764
10765 fi
10766 done
10767
10768   fi
10769
10770
10771
10772   echo "$as_me:$LINENO: checking for expf declaration" >&5
10773 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10774   if test x${glibcxx_cv_func_expf_use+set} != xset; then
10775     if test "${glibcxx_cv_func_expf_use+set}" = set; then
10776   echo $ECHO_N "(cached) $ECHO_C" >&6
10777 else
10778
10779
10780
10781       ac_ext=cc
10782 ac_cpp='$CXXCPP $CPPFLAGS'
10783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10786
10787       cat >conftest.$ac_ext <<_ACEOF
10788 #line $LINENO "configure"
10789 /* confdefs.h.  */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h.  */
10794 #include <math.h>
10795                       #ifdef HAVE_IEEEFP_H
10796                       #include <ieeefp.h>
10797                       #endif
10798
10799 int
10800 main ()
10801 {
10802  expf(0);
10803   ;
10804   return 0;
10805 }
10806 _ACEOF
10807 rm -f conftest.$ac_objext
10808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10809   (eval $ac_compile) 2>&5
10810   ac_status=$?
10811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812   (exit $ac_status); } &&
10813          { ac_try='test -s conftest.$ac_objext'
10814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815   (eval $ac_try) 2>&5
10816   ac_status=$?
10817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818   (exit $ac_status); }; }; then
10819   glibcxx_cv_func_expf_use=yes
10820 else
10821   echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.$ac_ext >&5
10823
10824 glibcxx_cv_func_expf_use=no
10825 fi
10826 rm -f conftest.$ac_objext conftest.$ac_ext
10827       ac_ext=c
10828 ac_cpp='$CPP $CPPFLAGS'
10829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10832
10833
10834 fi
10835
10836   fi
10837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10838 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10839
10840   if test x$glibcxx_cv_func_expf_use = x"yes"; then
10841
10842 for ac_func in expf
10843 do
10844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10845 echo "$as_me:$LINENO: checking for $ac_func" >&5
10846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10847 if eval "test \"\${$as_ac_var+set}\" = set"; then
10848   echo $ECHO_N "(cached) $ECHO_C" >&6
10849 else
10850   if test x$gcc_no_link = xyes; then
10851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10853    { (exit 1); exit 1; }; }
10854 fi
10855 cat >conftest.$ac_ext <<_ACEOF
10856 #line $LINENO "configure"
10857 /* confdefs.h.  */
10858 _ACEOF
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h.  */
10862 /* System header to define __stub macros and hopefully few prototypes,
10863     which can conflict with char $ac_func (); below.
10864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10865     <limits.h> exists even on freestanding compilers.  */
10866 #ifdef __STDC__
10867 # include <limits.h>
10868 #else
10869 # include <assert.h>
10870 #endif
10871 /* Override any gcc2 internal prototype to avoid an error.  */
10872 #ifdef __cplusplus
10873 extern "C"
10874 {
10875 #endif
10876 /* We use char because int might match the return type of a gcc2
10877    builtin and then its argument prototype would still apply.  */
10878 char $ac_func ();
10879 /* The GNU C library defines this for functions which it implements
10880     to always fail with ENOSYS.  Some functions are actually named
10881     something starting with __ and the normal name is an alias.  */
10882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10883 choke me
10884 #else
10885 char (*f) () = $ac_func;
10886 #endif
10887 #ifdef __cplusplus
10888 }
10889 #endif
10890
10891 int
10892 main ()
10893 {
10894 return f != $ac_func;
10895   ;
10896   return 0;
10897 }
10898 _ACEOF
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10901   (eval $ac_link) 2>&5
10902   ac_status=$?
10903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904   (exit $ac_status); } &&
10905          { ac_try='test -s conftest$ac_exeext'
10906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907   (eval $ac_try) 2>&5
10908   ac_status=$?
10909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910   (exit $ac_status); }; }; then
10911   eval "$as_ac_var=yes"
10912 else
10913   echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10915
10916 eval "$as_ac_var=no"
10917 fi
10918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10919 fi
10920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10922 if test `eval echo '${'$as_ac_var'}'` = yes; then
10923   cat >>confdefs.h <<_ACEOF
10924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10925 _ACEOF
10926
10927 fi
10928 done
10929
10930   else
10931
10932   echo "$as_me:$LINENO: checking for _expf declaration" >&5
10933 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10934   if test x${glibcxx_cv_func__expf_use+set} != xset; then
10935     if test "${glibcxx_cv_func__expf_use+set}" = set; then
10936   echo $ECHO_N "(cached) $ECHO_C" >&6
10937 else
10938
10939
10940
10941       ac_ext=cc
10942 ac_cpp='$CXXCPP $CPPFLAGS'
10943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10946
10947       cat >conftest.$ac_ext <<_ACEOF
10948 #line $LINENO "configure"
10949 /* confdefs.h.  */
10950 _ACEOF
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h.  */
10954 #include <math.h>
10955                       #ifdef HAVE_IEEEFP_H
10956                       #include <ieeefp.h>
10957                       #endif
10958
10959 int
10960 main ()
10961 {
10962  _expf(0);
10963   ;
10964   return 0;
10965 }
10966 _ACEOF
10967 rm -f conftest.$ac_objext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969   (eval $ac_compile) 2>&5
10970   ac_status=$?
10971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972   (exit $ac_status); } &&
10973          { ac_try='test -s conftest.$ac_objext'
10974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975   (eval $ac_try) 2>&5
10976   ac_status=$?
10977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978   (exit $ac_status); }; }; then
10979   glibcxx_cv_func__expf_use=yes
10980 else
10981   echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10983
10984 glibcxx_cv_func__expf_use=no
10985 fi
10986 rm -f conftest.$ac_objext conftest.$ac_ext
10987       ac_ext=c
10988 ac_cpp='$CPP $CPPFLAGS'
10989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10992
10993
10994 fi
10995
10996   fi
10997   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10998 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
10999
11000     if test x$glibcxx_cv_func__expf_use = x"yes"; then
11001
11002 for ac_func in _expf
11003 do
11004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11005 echo "$as_me:$LINENO: checking for $ac_func" >&5
11006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11007 if eval "test \"\${$as_ac_var+set}\" = set"; then
11008   echo $ECHO_N "(cached) $ECHO_C" >&6
11009 else
11010   if test x$gcc_no_link = xyes; then
11011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11013    { (exit 1); exit 1; }; }
11014 fi
11015 cat >conftest.$ac_ext <<_ACEOF
11016 #line $LINENO "configure"
11017 /* confdefs.h.  */
11018 _ACEOF
11019 cat confdefs.h >>conftest.$ac_ext
11020 cat >>conftest.$ac_ext <<_ACEOF
11021 /* end confdefs.h.  */
11022 /* System header to define __stub macros and hopefully few prototypes,
11023     which can conflict with char $ac_func (); below.
11024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11025     <limits.h> exists even on freestanding compilers.  */
11026 #ifdef __STDC__
11027 # include <limits.h>
11028 #else
11029 # include <assert.h>
11030 #endif
11031 /* Override any gcc2 internal prototype to avoid an error.  */
11032 #ifdef __cplusplus
11033 extern "C"
11034 {
11035 #endif
11036 /* We use char because int might match the return type of a gcc2
11037    builtin and then its argument prototype would still apply.  */
11038 char $ac_func ();
11039 /* The GNU C library defines this for functions which it implements
11040     to always fail with ENOSYS.  Some functions are actually named
11041     something starting with __ and the normal name is an alias.  */
11042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11043 choke me
11044 #else
11045 char (*f) () = $ac_func;
11046 #endif
11047 #ifdef __cplusplus
11048 }
11049 #endif
11050
11051 int
11052 main ()
11053 {
11054 return f != $ac_func;
11055   ;
11056   return 0;
11057 }
11058 _ACEOF
11059 rm -f conftest.$ac_objext conftest$ac_exeext
11060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11061   (eval $ac_link) 2>&5
11062   ac_status=$?
11063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064   (exit $ac_status); } &&
11065          { ac_try='test -s conftest$ac_exeext'
11066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067   (eval $ac_try) 2>&5
11068   ac_status=$?
11069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070   (exit $ac_status); }; }; then
11071   eval "$as_ac_var=yes"
11072 else
11073   echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.$ac_ext >&5
11075
11076 eval "$as_ac_var=no"
11077 fi
11078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11079 fi
11080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11082 if test `eval echo '${'$as_ac_var'}'` = yes; then
11083   cat >>confdefs.h <<_ACEOF
11084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11085 _ACEOF
11086
11087 fi
11088 done
11089
11090     fi
11091   fi
11092
11093
11094
11095   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11096 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11097   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11098     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11099   echo $ECHO_N "(cached) $ECHO_C" >&6
11100 else
11101
11102
11103
11104       ac_ext=cc
11105 ac_cpp='$CXXCPP $CPPFLAGS'
11106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11109
11110       cat >conftest.$ac_ext <<_ACEOF
11111 #line $LINENO "configure"
11112 /* confdefs.h.  */
11113 _ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h.  */
11117 #include <math.h>
11118                       #ifdef HAVE_IEEEFP_H
11119                       #include <ieeefp.h>
11120                       #endif
11121
11122 int
11123 main ()
11124 {
11125  isnanf(0);
11126   ;
11127   return 0;
11128 }
11129 _ACEOF
11130 rm -f conftest.$ac_objext
11131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11132   (eval $ac_compile) 2>&5
11133   ac_status=$?
11134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135   (exit $ac_status); } &&
11136          { ac_try='test -s conftest.$ac_objext'
11137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138   (eval $ac_try) 2>&5
11139   ac_status=$?
11140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141   (exit $ac_status); }; }; then
11142   glibcxx_cv_func_isnanf_use=yes
11143 else
11144   echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.$ac_ext >&5
11146
11147 glibcxx_cv_func_isnanf_use=no
11148 fi
11149 rm -f conftest.$ac_objext conftest.$ac_ext
11150       ac_ext=c
11151 ac_cpp='$CPP $CPPFLAGS'
11152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11155
11156
11157 fi
11158
11159   fi
11160   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11161 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11162
11163   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11164
11165 for ac_func in isnanf
11166 do
11167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11168 echo "$as_me:$LINENO: checking for $ac_func" >&5
11169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11170 if eval "test \"\${$as_ac_var+set}\" = set"; then
11171   echo $ECHO_N "(cached) $ECHO_C" >&6
11172 else
11173   if test x$gcc_no_link = xyes; then
11174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11176    { (exit 1); exit 1; }; }
11177 fi
11178 cat >conftest.$ac_ext <<_ACEOF
11179 #line $LINENO "configure"
11180 /* confdefs.h.  */
11181 _ACEOF
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h.  */
11185 /* System header to define __stub macros and hopefully few prototypes,
11186     which can conflict with char $ac_func (); below.
11187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11188     <limits.h> exists even on freestanding compilers.  */
11189 #ifdef __STDC__
11190 # include <limits.h>
11191 #else
11192 # include <assert.h>
11193 #endif
11194 /* Override any gcc2 internal prototype to avoid an error.  */
11195 #ifdef __cplusplus
11196 extern "C"
11197 {
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200    builtin and then its argument prototype would still apply.  */
11201 char $ac_func ();
11202 /* The GNU C library defines this for functions which it implements
11203     to always fail with ENOSYS.  Some functions are actually named
11204     something starting with __ and the normal name is an alias.  */
11205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11206 choke me
11207 #else
11208 char (*f) () = $ac_func;
11209 #endif
11210 #ifdef __cplusplus
11211 }
11212 #endif
11213
11214 int
11215 main ()
11216 {
11217 return f != $ac_func;
11218   ;
11219   return 0;
11220 }
11221 _ACEOF
11222 rm -f conftest.$ac_objext conftest$ac_exeext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224   (eval $ac_link) 2>&5
11225   ac_status=$?
11226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227   (exit $ac_status); } &&
11228          { ac_try='test -s conftest$ac_exeext'
11229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230   (eval $ac_try) 2>&5
11231   ac_status=$?
11232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233   (exit $ac_status); }; }; then
11234   eval "$as_ac_var=yes"
11235 else
11236   echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11238
11239 eval "$as_ac_var=no"
11240 fi
11241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11242 fi
11243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11245 if test `eval echo '${'$as_ac_var'}'` = yes; then
11246   cat >>confdefs.h <<_ACEOF
11247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11248 _ACEOF
11249
11250 fi
11251 done
11252
11253   else
11254
11255   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11256 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11257   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11258     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11259   echo $ECHO_N "(cached) $ECHO_C" >&6
11260 else
11261
11262
11263
11264       ac_ext=cc
11265 ac_cpp='$CXXCPP $CPPFLAGS'
11266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11269
11270       cat >conftest.$ac_ext <<_ACEOF
11271 #line $LINENO "configure"
11272 /* confdefs.h.  */
11273 _ACEOF
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h.  */
11277 #include <math.h>
11278                       #ifdef HAVE_IEEEFP_H
11279                       #include <ieeefp.h>
11280                       #endif
11281
11282 int
11283 main ()
11284 {
11285  _isnanf(0);
11286   ;
11287   return 0;
11288 }
11289 _ACEOF
11290 rm -f conftest.$ac_objext
11291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11292   (eval $ac_compile) 2>&5
11293   ac_status=$?
11294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295   (exit $ac_status); } &&
11296          { ac_try='test -s conftest.$ac_objext'
11297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11298   (eval $ac_try) 2>&5
11299   ac_status=$?
11300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301   (exit $ac_status); }; }; then
11302   glibcxx_cv_func__isnanf_use=yes
11303 else
11304   echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11306
11307 glibcxx_cv_func__isnanf_use=no
11308 fi
11309 rm -f conftest.$ac_objext conftest.$ac_ext
11310       ac_ext=c
11311 ac_cpp='$CPP $CPPFLAGS'
11312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11315
11316
11317 fi
11318
11319   fi
11320   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11321 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11322
11323     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11324
11325 for ac_func in _isnanf
11326 do
11327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11328 echo "$as_me:$LINENO: checking for $ac_func" >&5
11329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11330 if eval "test \"\${$as_ac_var+set}\" = set"; then
11331   echo $ECHO_N "(cached) $ECHO_C" >&6
11332 else
11333   if test x$gcc_no_link = xyes; then
11334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11336    { (exit 1); exit 1; }; }
11337 fi
11338 cat >conftest.$ac_ext <<_ACEOF
11339 #line $LINENO "configure"
11340 /* confdefs.h.  */
11341 _ACEOF
11342 cat confdefs.h >>conftest.$ac_ext
11343 cat >>conftest.$ac_ext <<_ACEOF
11344 /* end confdefs.h.  */
11345 /* System header to define __stub macros and hopefully few prototypes,
11346     which can conflict with char $ac_func (); below.
11347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11348     <limits.h> exists even on freestanding compilers.  */
11349 #ifdef __STDC__
11350 # include <limits.h>
11351 #else
11352 # include <assert.h>
11353 #endif
11354 /* Override any gcc2 internal prototype to avoid an error.  */
11355 #ifdef __cplusplus
11356 extern "C"
11357 {
11358 #endif
11359 /* We use char because int might match the return type of a gcc2
11360    builtin and then its argument prototype would still apply.  */
11361 char $ac_func ();
11362 /* The GNU C library defines this for functions which it implements
11363     to always fail with ENOSYS.  Some functions are actually named
11364     something starting with __ and the normal name is an alias.  */
11365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11366 choke me
11367 #else
11368 char (*f) () = $ac_func;
11369 #endif
11370 #ifdef __cplusplus
11371 }
11372 #endif
11373
11374 int
11375 main ()
11376 {
11377 return f != $ac_func;
11378   ;
11379   return 0;
11380 }
11381 _ACEOF
11382 rm -f conftest.$ac_objext conftest$ac_exeext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11384   (eval $ac_link) 2>&5
11385   ac_status=$?
11386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387   (exit $ac_status); } &&
11388          { ac_try='test -s conftest$ac_exeext'
11389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390   (eval $ac_try) 2>&5
11391   ac_status=$?
11392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393   (exit $ac_status); }; }; then
11394   eval "$as_ac_var=yes"
11395 else
11396   echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11398
11399 eval "$as_ac_var=no"
11400 fi
11401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11402 fi
11403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11405 if test `eval echo '${'$as_ac_var'}'` = yes; then
11406   cat >>confdefs.h <<_ACEOF
11407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11408 _ACEOF
11409
11410 fi
11411 done
11412
11413     fi
11414   fi
11415
11416
11417
11418   echo "$as_me:$LINENO: checking for isinff declaration" >&5
11419 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11420   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11421     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11422   echo $ECHO_N "(cached) $ECHO_C" >&6
11423 else
11424
11425
11426
11427       ac_ext=cc
11428 ac_cpp='$CXXCPP $CPPFLAGS'
11429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11432
11433       cat >conftest.$ac_ext <<_ACEOF
11434 #line $LINENO "configure"
11435 /* confdefs.h.  */
11436 _ACEOF
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h.  */
11440 #include <math.h>
11441                       #ifdef HAVE_IEEEFP_H
11442                       #include <ieeefp.h>
11443                       #endif
11444
11445 int
11446 main ()
11447 {
11448  isinff(0);
11449   ;
11450   return 0;
11451 }
11452 _ACEOF
11453 rm -f conftest.$ac_objext
11454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11455   (eval $ac_compile) 2>&5
11456   ac_status=$?
11457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458   (exit $ac_status); } &&
11459          { ac_try='test -s conftest.$ac_objext'
11460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461   (eval $ac_try) 2>&5
11462   ac_status=$?
11463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464   (exit $ac_status); }; }; then
11465   glibcxx_cv_func_isinff_use=yes
11466 else
11467   echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.$ac_ext >&5
11469
11470 glibcxx_cv_func_isinff_use=no
11471 fi
11472 rm -f conftest.$ac_objext conftest.$ac_ext
11473       ac_ext=c
11474 ac_cpp='$CPP $CPPFLAGS'
11475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11478
11479
11480 fi
11481
11482   fi
11483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11484 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11485
11486   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11487
11488 for ac_func in isinff
11489 do
11490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11491 echo "$as_me:$LINENO: checking for $ac_func" >&5
11492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11493 if eval "test \"\${$as_ac_var+set}\" = set"; then
11494   echo $ECHO_N "(cached) $ECHO_C" >&6
11495 else
11496   if test x$gcc_no_link = xyes; then
11497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11499    { (exit 1); exit 1; }; }
11500 fi
11501 cat >conftest.$ac_ext <<_ACEOF
11502 #line $LINENO "configure"
11503 /* confdefs.h.  */
11504 _ACEOF
11505 cat confdefs.h >>conftest.$ac_ext
11506 cat >>conftest.$ac_ext <<_ACEOF
11507 /* end confdefs.h.  */
11508 /* System header to define __stub macros and hopefully few prototypes,
11509     which can conflict with char $ac_func (); below.
11510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11511     <limits.h> exists even on freestanding compilers.  */
11512 #ifdef __STDC__
11513 # include <limits.h>
11514 #else
11515 # include <assert.h>
11516 #endif
11517 /* Override any gcc2 internal prototype to avoid an error.  */
11518 #ifdef __cplusplus
11519 extern "C"
11520 {
11521 #endif
11522 /* We use char because int might match the return type of a gcc2
11523    builtin and then its argument prototype would still apply.  */
11524 char $ac_func ();
11525 /* The GNU C library defines this for functions which it implements
11526     to always fail with ENOSYS.  Some functions are actually named
11527     something starting with __ and the normal name is an alias.  */
11528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11529 choke me
11530 #else
11531 char (*f) () = $ac_func;
11532 #endif
11533 #ifdef __cplusplus
11534 }
11535 #endif
11536
11537 int
11538 main ()
11539 {
11540 return f != $ac_func;
11541   ;
11542   return 0;
11543 }
11544 _ACEOF
11545 rm -f conftest.$ac_objext conftest$ac_exeext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11547   (eval $ac_link) 2>&5
11548   ac_status=$?
11549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550   (exit $ac_status); } &&
11551          { ac_try='test -s conftest$ac_exeext'
11552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553   (eval $ac_try) 2>&5
11554   ac_status=$?
11555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556   (exit $ac_status); }; }; then
11557   eval "$as_ac_var=yes"
11558 else
11559   echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11561
11562 eval "$as_ac_var=no"
11563 fi
11564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11565 fi
11566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11568 if test `eval echo '${'$as_ac_var'}'` = yes; then
11569   cat >>confdefs.h <<_ACEOF
11570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11571 _ACEOF
11572
11573 fi
11574 done
11575
11576   else
11577
11578   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11579 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11580   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11581     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11582   echo $ECHO_N "(cached) $ECHO_C" >&6
11583 else
11584
11585
11586
11587       ac_ext=cc
11588 ac_cpp='$CXXCPP $CPPFLAGS'
11589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11592
11593       cat >conftest.$ac_ext <<_ACEOF
11594 #line $LINENO "configure"
11595 /* confdefs.h.  */
11596 _ACEOF
11597 cat confdefs.h >>conftest.$ac_ext
11598 cat >>conftest.$ac_ext <<_ACEOF
11599 /* end confdefs.h.  */
11600 #include <math.h>
11601                       #ifdef HAVE_IEEEFP_H
11602                       #include <ieeefp.h>
11603                       #endif
11604
11605 int
11606 main ()
11607 {
11608  _isinff(0);
11609   ;
11610   return 0;
11611 }
11612 _ACEOF
11613 rm -f conftest.$ac_objext
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11615   (eval $ac_compile) 2>&5
11616   ac_status=$?
11617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618   (exit $ac_status); } &&
11619          { ac_try='test -s conftest.$ac_objext'
11620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621   (eval $ac_try) 2>&5
11622   ac_status=$?
11623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624   (exit $ac_status); }; }; then
11625   glibcxx_cv_func__isinff_use=yes
11626 else
11627   echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11629
11630 glibcxx_cv_func__isinff_use=no
11631 fi
11632 rm -f conftest.$ac_objext conftest.$ac_ext
11633       ac_ext=c
11634 ac_cpp='$CPP $CPPFLAGS'
11635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11638
11639
11640 fi
11641
11642   fi
11643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11644 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11645
11646     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11647
11648 for ac_func in _isinff
11649 do
11650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11651 echo "$as_me:$LINENO: checking for $ac_func" >&5
11652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11653 if eval "test \"\${$as_ac_var+set}\" = set"; then
11654   echo $ECHO_N "(cached) $ECHO_C" >&6
11655 else
11656   if test x$gcc_no_link = xyes; then
11657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11659    { (exit 1); exit 1; }; }
11660 fi
11661 cat >conftest.$ac_ext <<_ACEOF
11662 #line $LINENO "configure"
11663 /* confdefs.h.  */
11664 _ACEOF
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h.  */
11668 /* System header to define __stub macros and hopefully few prototypes,
11669     which can conflict with char $ac_func (); below.
11670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11671     <limits.h> exists even on freestanding compilers.  */
11672 #ifdef __STDC__
11673 # include <limits.h>
11674 #else
11675 # include <assert.h>
11676 #endif
11677 /* Override any gcc2 internal prototype to avoid an error.  */
11678 #ifdef __cplusplus
11679 extern "C"
11680 {
11681 #endif
11682 /* We use char because int might match the return type of a gcc2
11683    builtin and then its argument prototype would still apply.  */
11684 char $ac_func ();
11685 /* The GNU C library defines this for functions which it implements
11686     to always fail with ENOSYS.  Some functions are actually named
11687     something starting with __ and the normal name is an alias.  */
11688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11689 choke me
11690 #else
11691 char (*f) () = $ac_func;
11692 #endif
11693 #ifdef __cplusplus
11694 }
11695 #endif
11696
11697 int
11698 main ()
11699 {
11700 return f != $ac_func;
11701   ;
11702   return 0;
11703 }
11704 _ACEOF
11705 rm -f conftest.$ac_objext conftest$ac_exeext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11707   (eval $ac_link) 2>&5
11708   ac_status=$?
11709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710   (exit $ac_status); } &&
11711          { ac_try='test -s conftest$ac_exeext'
11712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713   (eval $ac_try) 2>&5
11714   ac_status=$?
11715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716   (exit $ac_status); }; }; then
11717   eval "$as_ac_var=yes"
11718 else
11719   echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.$ac_ext >&5
11721
11722 eval "$as_ac_var=no"
11723 fi
11724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11725 fi
11726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11728 if test `eval echo '${'$as_ac_var'}'` = yes; then
11729   cat >>confdefs.h <<_ACEOF
11730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11731 _ACEOF
11732
11733 fi
11734 done
11735
11736     fi
11737   fi
11738
11739
11740
11741   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11742 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11743   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11744     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11745   echo $ECHO_N "(cached) $ECHO_C" >&6
11746 else
11747
11748
11749
11750       ac_ext=cc
11751 ac_cpp='$CXXCPP $CPPFLAGS'
11752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11755
11756       cat >conftest.$ac_ext <<_ACEOF
11757 #line $LINENO "configure"
11758 /* confdefs.h.  */
11759 _ACEOF
11760 cat confdefs.h >>conftest.$ac_ext
11761 cat >>conftest.$ac_ext <<_ACEOF
11762 /* end confdefs.h.  */
11763 #include <math.h>
11764 int
11765 main ()
11766 {
11767  atan2f(0, 0);
11768   ;
11769   return 0;
11770 }
11771 _ACEOF
11772 rm -f conftest.$ac_objext
11773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11774   (eval $ac_compile) 2>&5
11775   ac_status=$?
11776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777   (exit $ac_status); } &&
11778          { ac_try='test -s conftest.$ac_objext'
11779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780   (eval $ac_try) 2>&5
11781   ac_status=$?
11782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783   (exit $ac_status); }; }; then
11784   glibcxx_cv_func_atan2f_use=yes
11785 else
11786   echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.$ac_ext >&5
11788
11789 glibcxx_cv_func_atan2f_use=no
11790 fi
11791 rm -f conftest.$ac_objext conftest.$ac_ext
11792       ac_ext=c
11793 ac_cpp='$CPP $CPPFLAGS'
11794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11797
11798
11799 fi
11800
11801   fi
11802   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11803 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11804
11805   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11806
11807 for ac_func in atan2f
11808 do
11809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11810 echo "$as_me:$LINENO: checking for $ac_func" >&5
11811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11812 if eval "test \"\${$as_ac_var+set}\" = set"; then
11813   echo $ECHO_N "(cached) $ECHO_C" >&6
11814 else
11815   if test x$gcc_no_link = xyes; then
11816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11818    { (exit 1); exit 1; }; }
11819 fi
11820 cat >conftest.$ac_ext <<_ACEOF
11821 #line $LINENO "configure"
11822 /* confdefs.h.  */
11823 _ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h.  */
11827 /* System header to define __stub macros and hopefully few prototypes,
11828     which can conflict with char $ac_func (); below.
11829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11830     <limits.h> exists even on freestanding compilers.  */
11831 #ifdef __STDC__
11832 # include <limits.h>
11833 #else
11834 # include <assert.h>
11835 #endif
11836 /* Override any gcc2 internal prototype to avoid an error.  */
11837 #ifdef __cplusplus
11838 extern "C"
11839 {
11840 #endif
11841 /* We use char because int might match the return type of a gcc2
11842    builtin and then its argument prototype would still apply.  */
11843 char $ac_func ();
11844 /* The GNU C library defines this for functions which it implements
11845     to always fail with ENOSYS.  Some functions are actually named
11846     something starting with __ and the normal name is an alias.  */
11847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11848 choke me
11849 #else
11850 char (*f) () = $ac_func;
11851 #endif
11852 #ifdef __cplusplus
11853 }
11854 #endif
11855
11856 int
11857 main ()
11858 {
11859 return f != $ac_func;
11860   ;
11861   return 0;
11862 }
11863 _ACEOF
11864 rm -f conftest.$ac_objext conftest$ac_exeext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11866   (eval $ac_link) 2>&5
11867   ac_status=$?
11868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869   (exit $ac_status); } &&
11870          { ac_try='test -s conftest$ac_exeext'
11871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872   (eval $ac_try) 2>&5
11873   ac_status=$?
11874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875   (exit $ac_status); }; }; then
11876   eval "$as_ac_var=yes"
11877 else
11878   echo "$as_me: failed program was:" >&5
11879 sed 's/^/| /' conftest.$ac_ext >&5
11880
11881 eval "$as_ac_var=no"
11882 fi
11883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11884 fi
11885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11887 if test `eval echo '${'$as_ac_var'}'` = yes; then
11888   cat >>confdefs.h <<_ACEOF
11889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11890 _ACEOF
11891
11892 fi
11893 done
11894
11895   else
11896
11897   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11898 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11899   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11900     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11901   echo $ECHO_N "(cached) $ECHO_C" >&6
11902 else
11903
11904
11905
11906       ac_ext=cc
11907 ac_cpp='$CXXCPP $CPPFLAGS'
11908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11911
11912       cat >conftest.$ac_ext <<_ACEOF
11913 #line $LINENO "configure"
11914 /* confdefs.h.  */
11915 _ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h.  */
11919 #include <math.h>
11920 int
11921 main ()
11922 {
11923  _atan2f(0, 0);
11924   ;
11925   return 0;
11926 }
11927 _ACEOF
11928 rm -f conftest.$ac_objext
11929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11930   (eval $ac_compile) 2>&5
11931   ac_status=$?
11932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933   (exit $ac_status); } &&
11934          { ac_try='test -s conftest.$ac_objext'
11935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936   (eval $ac_try) 2>&5
11937   ac_status=$?
11938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939   (exit $ac_status); }; }; then
11940   glibcxx_cv_func__atan2f_use=yes
11941 else
11942   echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11944
11945 glibcxx_cv_func__atan2f_use=no
11946 fi
11947 rm -f conftest.$ac_objext conftest.$ac_ext
11948       ac_ext=c
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11953
11954
11955 fi
11956
11957   fi
11958   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11959 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11960
11961     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11962
11963 for ac_func in _atan2f
11964 do
11965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11966 echo "$as_me:$LINENO: checking for $ac_func" >&5
11967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11968 if eval "test \"\${$as_ac_var+set}\" = set"; then
11969   echo $ECHO_N "(cached) $ECHO_C" >&6
11970 else
11971   if test x$gcc_no_link = xyes; then
11972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11974    { (exit 1); exit 1; }; }
11975 fi
11976 cat >conftest.$ac_ext <<_ACEOF
11977 #line $LINENO "configure"
11978 /* confdefs.h.  */
11979 _ACEOF
11980 cat confdefs.h >>conftest.$ac_ext
11981 cat >>conftest.$ac_ext <<_ACEOF
11982 /* end confdefs.h.  */
11983 /* System header to define __stub macros and hopefully few prototypes,
11984     which can conflict with char $ac_func (); below.
11985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11986     <limits.h> exists even on freestanding compilers.  */
11987 #ifdef __STDC__
11988 # include <limits.h>
11989 #else
11990 # include <assert.h>
11991 #endif
11992 /* Override any gcc2 internal prototype to avoid an error.  */
11993 #ifdef __cplusplus
11994 extern "C"
11995 {
11996 #endif
11997 /* We use char because int might match the return type of a gcc2
11998    builtin and then its argument prototype would still apply.  */
11999 char $ac_func ();
12000 /* The GNU C library defines this for functions which it implements
12001     to always fail with ENOSYS.  Some functions are actually named
12002     something starting with __ and the normal name is an alias.  */
12003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12004 choke me
12005 #else
12006 char (*f) () = $ac_func;
12007 #endif
12008 #ifdef __cplusplus
12009 }
12010 #endif
12011
12012 int
12013 main ()
12014 {
12015 return f != $ac_func;
12016   ;
12017   return 0;
12018 }
12019 _ACEOF
12020 rm -f conftest.$ac_objext conftest$ac_exeext
12021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12022   (eval $ac_link) 2>&5
12023   ac_status=$?
12024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025   (exit $ac_status); } &&
12026          { ac_try='test -s conftest$ac_exeext'
12027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028   (eval $ac_try) 2>&5
12029   ac_status=$?
12030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031   (exit $ac_status); }; }; then
12032   eval "$as_ac_var=yes"
12033 else
12034   echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.$ac_ext >&5
12036
12037 eval "$as_ac_var=no"
12038 fi
12039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12040 fi
12041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12043 if test `eval echo '${'$as_ac_var'}'` = yes; then
12044   cat >>confdefs.h <<_ACEOF
12045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12046 _ACEOF
12047
12048 fi
12049 done
12050
12051     fi
12052   fi
12053
12054
12055
12056   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12057 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12058   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12059     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12060   echo $ECHO_N "(cached) $ECHO_C" >&6
12061 else
12062
12063
12064
12065       ac_ext=cc
12066 ac_cpp='$CXXCPP $CPPFLAGS'
12067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12070
12071       cat >conftest.$ac_ext <<_ACEOF
12072 #line $LINENO "configure"
12073 /* confdefs.h.  */
12074 _ACEOF
12075 cat confdefs.h >>conftest.$ac_ext
12076 cat >>conftest.$ac_ext <<_ACEOF
12077 /* end confdefs.h.  */
12078 #include <math.h>
12079                       #ifdef HAVE_IEEEFP_H
12080                       #include <ieeefp.h>
12081                       #endif
12082
12083 int
12084 main ()
12085 {
12086  fabsf(0);
12087   ;
12088   return 0;
12089 }
12090 _ACEOF
12091 rm -f conftest.$ac_objext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12093   (eval $ac_compile) 2>&5
12094   ac_status=$?
12095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096   (exit $ac_status); } &&
12097          { ac_try='test -s conftest.$ac_objext'
12098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099   (eval $ac_try) 2>&5
12100   ac_status=$?
12101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102   (exit $ac_status); }; }; then
12103   glibcxx_cv_func_fabsf_use=yes
12104 else
12105   echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.$ac_ext >&5
12107
12108 glibcxx_cv_func_fabsf_use=no
12109 fi
12110 rm -f conftest.$ac_objext conftest.$ac_ext
12111       ac_ext=c
12112 ac_cpp='$CPP $CPPFLAGS'
12113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12116
12117
12118 fi
12119
12120   fi
12121   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12122 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12123
12124   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12125
12126 for ac_func in fabsf
12127 do
12128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12129 echo "$as_me:$LINENO: checking for $ac_func" >&5
12130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12131 if eval "test \"\${$as_ac_var+set}\" = set"; then
12132   echo $ECHO_N "(cached) $ECHO_C" >&6
12133 else
12134   if test x$gcc_no_link = xyes; then
12135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12137    { (exit 1); exit 1; }; }
12138 fi
12139 cat >conftest.$ac_ext <<_ACEOF
12140 #line $LINENO "configure"
12141 /* confdefs.h.  */
12142 _ACEOF
12143 cat confdefs.h >>conftest.$ac_ext
12144 cat >>conftest.$ac_ext <<_ACEOF
12145 /* end confdefs.h.  */
12146 /* System header to define __stub macros and hopefully few prototypes,
12147     which can conflict with char $ac_func (); below.
12148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12149     <limits.h> exists even on freestanding compilers.  */
12150 #ifdef __STDC__
12151 # include <limits.h>
12152 #else
12153 # include <assert.h>
12154 #endif
12155 /* Override any gcc2 internal prototype to avoid an error.  */
12156 #ifdef __cplusplus
12157 extern "C"
12158 {
12159 #endif
12160 /* We use char because int might match the return type of a gcc2
12161    builtin and then its argument prototype would still apply.  */
12162 char $ac_func ();
12163 /* The GNU C library defines this for functions which it implements
12164     to always fail with ENOSYS.  Some functions are actually named
12165     something starting with __ and the normal name is an alias.  */
12166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12167 choke me
12168 #else
12169 char (*f) () = $ac_func;
12170 #endif
12171 #ifdef __cplusplus
12172 }
12173 #endif
12174
12175 int
12176 main ()
12177 {
12178 return f != $ac_func;
12179   ;
12180   return 0;
12181 }
12182 _ACEOF
12183 rm -f conftest.$ac_objext conftest$ac_exeext
12184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12185   (eval $ac_link) 2>&5
12186   ac_status=$?
12187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188   (exit $ac_status); } &&
12189          { ac_try='test -s conftest$ac_exeext'
12190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191   (eval $ac_try) 2>&5
12192   ac_status=$?
12193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194   (exit $ac_status); }; }; then
12195   eval "$as_ac_var=yes"
12196 else
12197   echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12199
12200 eval "$as_ac_var=no"
12201 fi
12202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12203 fi
12204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12206 if test `eval echo '${'$as_ac_var'}'` = yes; then
12207   cat >>confdefs.h <<_ACEOF
12208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12209 _ACEOF
12210
12211 fi
12212 done
12213
12214   else
12215
12216   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12217 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12218   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12219     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12220   echo $ECHO_N "(cached) $ECHO_C" >&6
12221 else
12222
12223
12224
12225       ac_ext=cc
12226 ac_cpp='$CXXCPP $CPPFLAGS'
12227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12230
12231       cat >conftest.$ac_ext <<_ACEOF
12232 #line $LINENO "configure"
12233 /* confdefs.h.  */
12234 _ACEOF
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h.  */
12238 #include <math.h>
12239                       #ifdef HAVE_IEEEFP_H
12240                       #include <ieeefp.h>
12241                       #endif
12242
12243 int
12244 main ()
12245 {
12246  _fabsf(0);
12247   ;
12248   return 0;
12249 }
12250 _ACEOF
12251 rm -f conftest.$ac_objext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12253   (eval $ac_compile) 2>&5
12254   ac_status=$?
12255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256   (exit $ac_status); } &&
12257          { ac_try='test -s conftest.$ac_objext'
12258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259   (eval $ac_try) 2>&5
12260   ac_status=$?
12261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262   (exit $ac_status); }; }; then
12263   glibcxx_cv_func__fabsf_use=yes
12264 else
12265   echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12267
12268 glibcxx_cv_func__fabsf_use=no
12269 fi
12270 rm -f conftest.$ac_objext conftest.$ac_ext
12271       ac_ext=c
12272 ac_cpp='$CPP $CPPFLAGS'
12273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12276
12277
12278 fi
12279
12280   fi
12281   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12282 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12283
12284     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12285
12286 for ac_func in _fabsf
12287 do
12288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292   echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12294   if test x$gcc_no_link = xyes; then
12295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12297    { (exit 1); exit 1; }; }
12298 fi
12299 cat >conftest.$ac_ext <<_ACEOF
12300 #line $LINENO "configure"
12301 /* confdefs.h.  */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h.  */
12306 /* System header to define __stub macros and hopefully few prototypes,
12307     which can conflict with char $ac_func (); below.
12308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12309     <limits.h> exists even on freestanding compilers.  */
12310 #ifdef __STDC__
12311 # include <limits.h>
12312 #else
12313 # include <assert.h>
12314 #endif
12315 /* Override any gcc2 internal prototype to avoid an error.  */
12316 #ifdef __cplusplus
12317 extern "C"
12318 {
12319 #endif
12320 /* We use char because int might match the return type of a gcc2
12321    builtin and then its argument prototype would still apply.  */
12322 char $ac_func ();
12323 /* The GNU C library defines this for functions which it implements
12324     to always fail with ENOSYS.  Some functions are actually named
12325     something starting with __ and the normal name is an alias.  */
12326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12327 choke me
12328 #else
12329 char (*f) () = $ac_func;
12330 #endif
12331 #ifdef __cplusplus
12332 }
12333 #endif
12334
12335 int
12336 main ()
12337 {
12338 return f != $ac_func;
12339   ;
12340   return 0;
12341 }
12342 _ACEOF
12343 rm -f conftest.$ac_objext conftest$ac_exeext
12344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12345   (eval $ac_link) 2>&5
12346   ac_status=$?
12347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348   (exit $ac_status); } &&
12349          { ac_try='test -s conftest$ac_exeext'
12350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351   (eval $ac_try) 2>&5
12352   ac_status=$?
12353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354   (exit $ac_status); }; }; then
12355   eval "$as_ac_var=yes"
12356 else
12357   echo "$as_me: failed program was:" >&5
12358 sed 's/^/| /' conftest.$ac_ext >&5
12359
12360 eval "$as_ac_var=no"
12361 fi
12362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12363 fi
12364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12366 if test `eval echo '${'$as_ac_var'}'` = yes; then
12367   cat >>confdefs.h <<_ACEOF
12368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12369 _ACEOF
12370
12371 fi
12372 done
12373
12374     fi
12375   fi
12376
12377
12378
12379   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12380 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12381   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12382     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12383   echo $ECHO_N "(cached) $ECHO_C" >&6
12384 else
12385
12386
12387
12388       ac_ext=cc
12389 ac_cpp='$CXXCPP $CPPFLAGS'
12390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12393
12394       cat >conftest.$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12396 /* confdefs.h.  */
12397 _ACEOF
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h.  */
12401 #include <math.h>
12402 int
12403 main ()
12404 {
12405  fmodf(0, 0);
12406   ;
12407   return 0;
12408 }
12409 _ACEOF
12410 rm -f conftest.$ac_objext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412   (eval $ac_compile) 2>&5
12413   ac_status=$?
12414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415   (exit $ac_status); } &&
12416          { ac_try='test -s conftest.$ac_objext'
12417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418   (eval $ac_try) 2>&5
12419   ac_status=$?
12420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421   (exit $ac_status); }; }; then
12422   glibcxx_cv_func_fmodf_use=yes
12423 else
12424   echo "$as_me: failed program was:" >&5
12425 sed 's/^/| /' conftest.$ac_ext >&5
12426
12427 glibcxx_cv_func_fmodf_use=no
12428 fi
12429 rm -f conftest.$ac_objext conftest.$ac_ext
12430       ac_ext=c
12431 ac_cpp='$CPP $CPPFLAGS'
12432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12435
12436
12437 fi
12438
12439   fi
12440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12441 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12442
12443   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12444
12445 for ac_func in fmodf
12446 do
12447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12448 echo "$as_me:$LINENO: checking for $ac_func" >&5
12449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12450 if eval "test \"\${$as_ac_var+set}\" = set"; then
12451   echo $ECHO_N "(cached) $ECHO_C" >&6
12452 else
12453   if test x$gcc_no_link = xyes; then
12454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12456    { (exit 1); exit 1; }; }
12457 fi
12458 cat >conftest.$ac_ext <<_ACEOF
12459 #line $LINENO "configure"
12460 /* confdefs.h.  */
12461 _ACEOF
12462 cat confdefs.h >>conftest.$ac_ext
12463 cat >>conftest.$ac_ext <<_ACEOF
12464 /* end confdefs.h.  */
12465 /* System header to define __stub macros and hopefully few prototypes,
12466     which can conflict with char $ac_func (); below.
12467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12468     <limits.h> exists even on freestanding compilers.  */
12469 #ifdef __STDC__
12470 # include <limits.h>
12471 #else
12472 # include <assert.h>
12473 #endif
12474 /* Override any gcc2 internal prototype to avoid an error.  */
12475 #ifdef __cplusplus
12476 extern "C"
12477 {
12478 #endif
12479 /* We use char because int might match the return type of a gcc2
12480    builtin and then its argument prototype would still apply.  */
12481 char $ac_func ();
12482 /* The GNU C library defines this for functions which it implements
12483     to always fail with ENOSYS.  Some functions are actually named
12484     something starting with __ and the normal name is an alias.  */
12485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12486 choke me
12487 #else
12488 char (*f) () = $ac_func;
12489 #endif
12490 #ifdef __cplusplus
12491 }
12492 #endif
12493
12494 int
12495 main ()
12496 {
12497 return f != $ac_func;
12498   ;
12499   return 0;
12500 }
12501 _ACEOF
12502 rm -f conftest.$ac_objext conftest$ac_exeext
12503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12504   (eval $ac_link) 2>&5
12505   ac_status=$?
12506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507   (exit $ac_status); } &&
12508          { ac_try='test -s conftest$ac_exeext'
12509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510   (eval $ac_try) 2>&5
12511   ac_status=$?
12512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513   (exit $ac_status); }; }; then
12514   eval "$as_ac_var=yes"
12515 else
12516   echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12518
12519 eval "$as_ac_var=no"
12520 fi
12521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12522 fi
12523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12525 if test `eval echo '${'$as_ac_var'}'` = yes; then
12526   cat >>confdefs.h <<_ACEOF
12527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12528 _ACEOF
12529
12530 fi
12531 done
12532
12533   else
12534
12535   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12536 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12537   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12538     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12539   echo $ECHO_N "(cached) $ECHO_C" >&6
12540 else
12541
12542
12543
12544       ac_ext=cc
12545 ac_cpp='$CXXCPP $CPPFLAGS'
12546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12549
12550       cat >conftest.$ac_ext <<_ACEOF
12551 #line $LINENO "configure"
12552 /* confdefs.h.  */
12553 _ACEOF
12554 cat confdefs.h >>conftest.$ac_ext
12555 cat >>conftest.$ac_ext <<_ACEOF
12556 /* end confdefs.h.  */
12557 #include <math.h>
12558 int
12559 main ()
12560 {
12561  _fmodf(0, 0);
12562   ;
12563   return 0;
12564 }
12565 _ACEOF
12566 rm -f conftest.$ac_objext
12567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12568   (eval $ac_compile) 2>&5
12569   ac_status=$?
12570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571   (exit $ac_status); } &&
12572          { ac_try='test -s conftest.$ac_objext'
12573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574   (eval $ac_try) 2>&5
12575   ac_status=$?
12576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577   (exit $ac_status); }; }; then
12578   glibcxx_cv_func__fmodf_use=yes
12579 else
12580   echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12582
12583 glibcxx_cv_func__fmodf_use=no
12584 fi
12585 rm -f conftest.$ac_objext conftest.$ac_ext
12586       ac_ext=c
12587 ac_cpp='$CPP $CPPFLAGS'
12588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12591
12592
12593 fi
12594
12595   fi
12596   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12597 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12598
12599     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12600
12601 for ac_func in _fmodf
12602 do
12603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12604 echo "$as_me:$LINENO: checking for $ac_func" >&5
12605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12606 if eval "test \"\${$as_ac_var+set}\" = set"; then
12607   echo $ECHO_N "(cached) $ECHO_C" >&6
12608 else
12609   if test x$gcc_no_link = xyes; then
12610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12612    { (exit 1); exit 1; }; }
12613 fi
12614 cat >conftest.$ac_ext <<_ACEOF
12615 #line $LINENO "configure"
12616 /* confdefs.h.  */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h.  */
12621 /* System header to define __stub macros and hopefully few prototypes,
12622     which can conflict with char $ac_func (); below.
12623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12624     <limits.h> exists even on freestanding compilers.  */
12625 #ifdef __STDC__
12626 # include <limits.h>
12627 #else
12628 # include <assert.h>
12629 #endif
12630 /* Override any gcc2 internal prototype to avoid an error.  */
12631 #ifdef __cplusplus
12632 extern "C"
12633 {
12634 #endif
12635 /* We use char because int might match the return type of a gcc2
12636    builtin and then its argument prototype would still apply.  */
12637 char $ac_func ();
12638 /* The GNU C library defines this for functions which it implements
12639     to always fail with ENOSYS.  Some functions are actually named
12640     something starting with __ and the normal name is an alias.  */
12641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12642 choke me
12643 #else
12644 char (*f) () = $ac_func;
12645 #endif
12646 #ifdef __cplusplus
12647 }
12648 #endif
12649
12650 int
12651 main ()
12652 {
12653 return f != $ac_func;
12654   ;
12655   return 0;
12656 }
12657 _ACEOF
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660   (eval $ac_link) 2>&5
12661   ac_status=$?
12662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663   (exit $ac_status); } &&
12664          { ac_try='test -s conftest$ac_exeext'
12665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666   (eval $ac_try) 2>&5
12667   ac_status=$?
12668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669   (exit $ac_status); }; }; then
12670   eval "$as_ac_var=yes"
12671 else
12672   echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12674
12675 eval "$as_ac_var=no"
12676 fi
12677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12678 fi
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12681 if test `eval echo '${'$as_ac_var'}'` = yes; then
12682   cat >>confdefs.h <<_ACEOF
12683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12684 _ACEOF
12685
12686 fi
12687 done
12688
12689     fi
12690   fi
12691
12692
12693
12694   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12695 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12696   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12697     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12698   echo $ECHO_N "(cached) $ECHO_C" >&6
12699 else
12700
12701
12702
12703       ac_ext=cc
12704 ac_cpp='$CXXCPP $CPPFLAGS'
12705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12708
12709       cat >conftest.$ac_ext <<_ACEOF
12710 #line $LINENO "configure"
12711 /* confdefs.h.  */
12712 _ACEOF
12713 cat confdefs.h >>conftest.$ac_ext
12714 cat >>conftest.$ac_ext <<_ACEOF
12715 /* end confdefs.h.  */
12716 #include <math.h>
12717 int
12718 main ()
12719 {
12720  frexpf(0, 0);
12721   ;
12722   return 0;
12723 }
12724 _ACEOF
12725 rm -f conftest.$ac_objext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12727   (eval $ac_compile) 2>&5
12728   ac_status=$?
12729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730   (exit $ac_status); } &&
12731          { ac_try='test -s conftest.$ac_objext'
12732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733   (eval $ac_try) 2>&5
12734   ac_status=$?
12735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736   (exit $ac_status); }; }; then
12737   glibcxx_cv_func_frexpf_use=yes
12738 else
12739   echo "$as_me: failed program was:" >&5
12740 sed 's/^/| /' conftest.$ac_ext >&5
12741
12742 glibcxx_cv_func_frexpf_use=no
12743 fi
12744 rm -f conftest.$ac_objext conftest.$ac_ext
12745       ac_ext=c
12746 ac_cpp='$CPP $CPPFLAGS'
12747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12750
12751
12752 fi
12753
12754   fi
12755   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12756 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12757
12758   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12759
12760 for ac_func in frexpf
12761 do
12762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12763 echo "$as_me:$LINENO: checking for $ac_func" >&5
12764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_var+set}\" = set"; then
12766   echo $ECHO_N "(cached) $ECHO_C" >&6
12767 else
12768   if test x$gcc_no_link = xyes; then
12769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12771    { (exit 1); exit 1; }; }
12772 fi
12773 cat >conftest.$ac_ext <<_ACEOF
12774 #line $LINENO "configure"
12775 /* confdefs.h.  */
12776 _ACEOF
12777 cat confdefs.h >>conftest.$ac_ext
12778 cat >>conftest.$ac_ext <<_ACEOF
12779 /* end confdefs.h.  */
12780 /* System header to define __stub macros and hopefully few prototypes,
12781     which can conflict with char $ac_func (); below.
12782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12783     <limits.h> exists even on freestanding compilers.  */
12784 #ifdef __STDC__
12785 # include <limits.h>
12786 #else
12787 # include <assert.h>
12788 #endif
12789 /* Override any gcc2 internal prototype to avoid an error.  */
12790 #ifdef __cplusplus
12791 extern "C"
12792 {
12793 #endif
12794 /* We use char because int might match the return type of a gcc2
12795    builtin and then its argument prototype would still apply.  */
12796 char $ac_func ();
12797 /* The GNU C library defines this for functions which it implements
12798     to always fail with ENOSYS.  Some functions are actually named
12799     something starting with __ and the normal name is an alias.  */
12800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12801 choke me
12802 #else
12803 char (*f) () = $ac_func;
12804 #endif
12805 #ifdef __cplusplus
12806 }
12807 #endif
12808
12809 int
12810 main ()
12811 {
12812 return f != $ac_func;
12813   ;
12814   return 0;
12815 }
12816 _ACEOF
12817 rm -f conftest.$ac_objext conftest$ac_exeext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12819   (eval $ac_link) 2>&5
12820   ac_status=$?
12821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822   (exit $ac_status); } &&
12823          { ac_try='test -s conftest$ac_exeext'
12824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825   (eval $ac_try) 2>&5
12826   ac_status=$?
12827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828   (exit $ac_status); }; }; then
12829   eval "$as_ac_var=yes"
12830 else
12831   echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12833
12834 eval "$as_ac_var=no"
12835 fi
12836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12837 fi
12838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12840 if test `eval echo '${'$as_ac_var'}'` = yes; then
12841   cat >>confdefs.h <<_ACEOF
12842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12843 _ACEOF
12844
12845 fi
12846 done
12847
12848   else
12849
12850   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12851 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12852   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12853     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12854   echo $ECHO_N "(cached) $ECHO_C" >&6
12855 else
12856
12857
12858
12859       ac_ext=cc
12860 ac_cpp='$CXXCPP $CPPFLAGS'
12861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12864
12865       cat >conftest.$ac_ext <<_ACEOF
12866 #line $LINENO "configure"
12867 /* confdefs.h.  */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h.  */
12872 #include <math.h>
12873 int
12874 main ()
12875 {
12876  _frexpf(0, 0);
12877   ;
12878   return 0;
12879 }
12880 _ACEOF
12881 rm -f conftest.$ac_objext
12882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12883   (eval $ac_compile) 2>&5
12884   ac_status=$?
12885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886   (exit $ac_status); } &&
12887          { ac_try='test -s conftest.$ac_objext'
12888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889   (eval $ac_try) 2>&5
12890   ac_status=$?
12891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892   (exit $ac_status); }; }; then
12893   glibcxx_cv_func__frexpf_use=yes
12894 else
12895   echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.$ac_ext >&5
12897
12898 glibcxx_cv_func__frexpf_use=no
12899 fi
12900 rm -f conftest.$ac_objext conftest.$ac_ext
12901       ac_ext=c
12902 ac_cpp='$CPP $CPPFLAGS'
12903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12906
12907
12908 fi
12909
12910   fi
12911   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12912 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12913
12914     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12915
12916 for ac_func in _frexpf
12917 do
12918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12919 echo "$as_me:$LINENO: checking for $ac_func" >&5
12920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_var+set}\" = set"; then
12922   echo $ECHO_N "(cached) $ECHO_C" >&6
12923 else
12924   if test x$gcc_no_link = xyes; then
12925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12927    { (exit 1); exit 1; }; }
12928 fi
12929 cat >conftest.$ac_ext <<_ACEOF
12930 #line $LINENO "configure"
12931 /* confdefs.h.  */
12932 _ACEOF
12933 cat confdefs.h >>conftest.$ac_ext
12934 cat >>conftest.$ac_ext <<_ACEOF
12935 /* end confdefs.h.  */
12936 /* System header to define __stub macros and hopefully few prototypes,
12937     which can conflict with char $ac_func (); below.
12938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12939     <limits.h> exists even on freestanding compilers.  */
12940 #ifdef __STDC__
12941 # include <limits.h>
12942 #else
12943 # include <assert.h>
12944 #endif
12945 /* Override any gcc2 internal prototype to avoid an error.  */
12946 #ifdef __cplusplus
12947 extern "C"
12948 {
12949 #endif
12950 /* We use char because int might match the return type of a gcc2
12951    builtin and then its argument prototype would still apply.  */
12952 char $ac_func ();
12953 /* The GNU C library defines this for functions which it implements
12954     to always fail with ENOSYS.  Some functions are actually named
12955     something starting with __ and the normal name is an alias.  */
12956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12957 choke me
12958 #else
12959 char (*f) () = $ac_func;
12960 #endif
12961 #ifdef __cplusplus
12962 }
12963 #endif
12964
12965 int
12966 main ()
12967 {
12968 return f != $ac_func;
12969   ;
12970   return 0;
12971 }
12972 _ACEOF
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12975   (eval $ac_link) 2>&5
12976   ac_status=$?
12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978   (exit $ac_status); } &&
12979          { ac_try='test -s conftest$ac_exeext'
12980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981   (eval $ac_try) 2>&5
12982   ac_status=$?
12983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984   (exit $ac_status); }; }; then
12985   eval "$as_ac_var=yes"
12986 else
12987   echo "$as_me: failed program was:" >&5
12988 sed 's/^/| /' conftest.$ac_ext >&5
12989
12990 eval "$as_ac_var=no"
12991 fi
12992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12993 fi
12994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12996 if test `eval echo '${'$as_ac_var'}'` = yes; then
12997   cat >>confdefs.h <<_ACEOF
12998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12999 _ACEOF
13000
13001 fi
13002 done
13003
13004     fi
13005   fi
13006
13007
13008
13009   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13010 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13011   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13012     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13013   echo $ECHO_N "(cached) $ECHO_C" >&6
13014 else
13015
13016
13017
13018       ac_ext=cc
13019 ac_cpp='$CXXCPP $CPPFLAGS'
13020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13023
13024       cat >conftest.$ac_ext <<_ACEOF
13025 #line $LINENO "configure"
13026 /* confdefs.h.  */
13027 _ACEOF
13028 cat confdefs.h >>conftest.$ac_ext
13029 cat >>conftest.$ac_ext <<_ACEOF
13030 /* end confdefs.h.  */
13031 #include <math.h>
13032 int
13033 main ()
13034 {
13035  hypotf(0, 0);
13036   ;
13037   return 0;
13038 }
13039 _ACEOF
13040 rm -f conftest.$ac_objext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13042   (eval $ac_compile) 2>&5
13043   ac_status=$?
13044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045   (exit $ac_status); } &&
13046          { ac_try='test -s conftest.$ac_objext'
13047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048   (eval $ac_try) 2>&5
13049   ac_status=$?
13050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051   (exit $ac_status); }; }; then
13052   glibcxx_cv_func_hypotf_use=yes
13053 else
13054   echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13056
13057 glibcxx_cv_func_hypotf_use=no
13058 fi
13059 rm -f conftest.$ac_objext conftest.$ac_ext
13060       ac_ext=c
13061 ac_cpp='$CPP $CPPFLAGS'
13062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13065
13066
13067 fi
13068
13069   fi
13070   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13071 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13072
13073   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13074
13075 for ac_func in hypotf
13076 do
13077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13078 echo "$as_me:$LINENO: checking for $ac_func" >&5
13079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13080 if eval "test \"\${$as_ac_var+set}\" = set"; then
13081   echo $ECHO_N "(cached) $ECHO_C" >&6
13082 else
13083   if test x$gcc_no_link = xyes; then
13084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13086    { (exit 1); exit 1; }; }
13087 fi
13088 cat >conftest.$ac_ext <<_ACEOF
13089 #line $LINENO "configure"
13090 /* confdefs.h.  */
13091 _ACEOF
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h.  */
13095 /* System header to define __stub macros and hopefully few prototypes,
13096     which can conflict with char $ac_func (); below.
13097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13098     <limits.h> exists even on freestanding compilers.  */
13099 #ifdef __STDC__
13100 # include <limits.h>
13101 #else
13102 # include <assert.h>
13103 #endif
13104 /* Override any gcc2 internal prototype to avoid an error.  */
13105 #ifdef __cplusplus
13106 extern "C"
13107 {
13108 #endif
13109 /* We use char because int might match the return type of a gcc2
13110    builtin and then its argument prototype would still apply.  */
13111 char $ac_func ();
13112 /* The GNU C library defines this for functions which it implements
13113     to always fail with ENOSYS.  Some functions are actually named
13114     something starting with __ and the normal name is an alias.  */
13115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13116 choke me
13117 #else
13118 char (*f) () = $ac_func;
13119 #endif
13120 #ifdef __cplusplus
13121 }
13122 #endif
13123
13124 int
13125 main ()
13126 {
13127 return f != $ac_func;
13128   ;
13129   return 0;
13130 }
13131 _ACEOF
13132 rm -f conftest.$ac_objext conftest$ac_exeext
13133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13134   (eval $ac_link) 2>&5
13135   ac_status=$?
13136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137   (exit $ac_status); } &&
13138          { ac_try='test -s conftest$ac_exeext'
13139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140   (eval $ac_try) 2>&5
13141   ac_status=$?
13142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143   (exit $ac_status); }; }; then
13144   eval "$as_ac_var=yes"
13145 else
13146   echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13148
13149 eval "$as_ac_var=no"
13150 fi
13151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13152 fi
13153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13155 if test `eval echo '${'$as_ac_var'}'` = yes; then
13156   cat >>confdefs.h <<_ACEOF
13157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13158 _ACEOF
13159
13160 fi
13161 done
13162
13163   else
13164
13165   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13166 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13167   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13168     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13169   echo $ECHO_N "(cached) $ECHO_C" >&6
13170 else
13171
13172
13173
13174       ac_ext=cc
13175 ac_cpp='$CXXCPP $CPPFLAGS'
13176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13179
13180       cat >conftest.$ac_ext <<_ACEOF
13181 #line $LINENO "configure"
13182 /* confdefs.h.  */
13183 _ACEOF
13184 cat confdefs.h >>conftest.$ac_ext
13185 cat >>conftest.$ac_ext <<_ACEOF
13186 /* end confdefs.h.  */
13187 #include <math.h>
13188 int
13189 main ()
13190 {
13191  _hypotf(0, 0);
13192   ;
13193   return 0;
13194 }
13195 _ACEOF
13196 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198   (eval $ac_compile) 2>&5
13199   ac_status=$?
13200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201   (exit $ac_status); } &&
13202          { ac_try='test -s conftest.$ac_objext'
13203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204   (eval $ac_try) 2>&5
13205   ac_status=$?
13206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207   (exit $ac_status); }; }; then
13208   glibcxx_cv_func__hypotf_use=yes
13209 else
13210   echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.$ac_ext >&5
13212
13213 glibcxx_cv_func__hypotf_use=no
13214 fi
13215 rm -f conftest.$ac_objext conftest.$ac_ext
13216       ac_ext=c
13217 ac_cpp='$CPP $CPPFLAGS'
13218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13221
13222
13223 fi
13224
13225   fi
13226   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13227 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13228
13229     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13230
13231 for ac_func in _hypotf
13232 do
13233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13234 echo "$as_me:$LINENO: checking for $ac_func" >&5
13235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_var+set}\" = set"; then
13237   echo $ECHO_N "(cached) $ECHO_C" >&6
13238 else
13239   if test x$gcc_no_link = xyes; then
13240   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13242    { (exit 1); exit 1; }; }
13243 fi
13244 cat >conftest.$ac_ext <<_ACEOF
13245 #line $LINENO "configure"
13246 /* confdefs.h.  */
13247 _ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h.  */
13251 /* System header to define __stub macros and hopefully few prototypes,
13252     which can conflict with char $ac_func (); below.
13253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13254     <limits.h> exists even on freestanding compilers.  */
13255 #ifdef __STDC__
13256 # include <limits.h>
13257 #else
13258 # include <assert.h>
13259 #endif
13260 /* Override any gcc2 internal prototype to avoid an error.  */
13261 #ifdef __cplusplus
13262 extern "C"
13263 {
13264 #endif
13265 /* We use char because int might match the return type of a gcc2
13266    builtin and then its argument prototype would still apply.  */
13267 char $ac_func ();
13268 /* The GNU C library defines this for functions which it implements
13269     to always fail with ENOSYS.  Some functions are actually named
13270     something starting with __ and the normal name is an alias.  */
13271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13272 choke me
13273 #else
13274 char (*f) () = $ac_func;
13275 #endif
13276 #ifdef __cplusplus
13277 }
13278 #endif
13279
13280 int
13281 main ()
13282 {
13283 return f != $ac_func;
13284   ;
13285   return 0;
13286 }
13287 _ACEOF
13288 rm -f conftest.$ac_objext conftest$ac_exeext
13289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13290   (eval $ac_link) 2>&5
13291   ac_status=$?
13292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293   (exit $ac_status); } &&
13294          { ac_try='test -s conftest$ac_exeext'
13295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296   (eval $ac_try) 2>&5
13297   ac_status=$?
13298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299   (exit $ac_status); }; }; then
13300   eval "$as_ac_var=yes"
13301 else
13302   echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13304
13305 eval "$as_ac_var=no"
13306 fi
13307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13308 fi
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13311 if test `eval echo '${'$as_ac_var'}'` = yes; then
13312   cat >>confdefs.h <<_ACEOF
13313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13314 _ACEOF
13315
13316 fi
13317 done
13318
13319     fi
13320   fi
13321
13322
13323
13324   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13325 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13326   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13327     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13328   echo $ECHO_N "(cached) $ECHO_C" >&6
13329 else
13330
13331
13332
13333       ac_ext=cc
13334 ac_cpp='$CXXCPP $CPPFLAGS'
13335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13338
13339       cat >conftest.$ac_ext <<_ACEOF
13340 #line $LINENO "configure"
13341 /* confdefs.h.  */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h.  */
13346 #include <math.h>
13347 int
13348 main ()
13349 {
13350  ldexpf(0, 0);
13351   ;
13352   return 0;
13353 }
13354 _ACEOF
13355 rm -f conftest.$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357   (eval $ac_compile) 2>&5
13358   ac_status=$?
13359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360   (exit $ac_status); } &&
13361          { ac_try='test -s conftest.$ac_objext'
13362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363   (eval $ac_try) 2>&5
13364   ac_status=$?
13365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366   (exit $ac_status); }; }; then
13367   glibcxx_cv_func_ldexpf_use=yes
13368 else
13369   echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13371
13372 glibcxx_cv_func_ldexpf_use=no
13373 fi
13374 rm -f conftest.$ac_objext conftest.$ac_ext
13375       ac_ext=c
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13380
13381
13382 fi
13383
13384   fi
13385   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13386 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13387
13388   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13389
13390 for ac_func in ldexpf
13391 do
13392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13393 echo "$as_me:$LINENO: checking for $ac_func" >&5
13394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13395 if eval "test \"\${$as_ac_var+set}\" = set"; then
13396   echo $ECHO_N "(cached) $ECHO_C" >&6
13397 else
13398   if test x$gcc_no_link = xyes; then
13399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13401    { (exit 1); exit 1; }; }
13402 fi
13403 cat >conftest.$ac_ext <<_ACEOF
13404 #line $LINENO "configure"
13405 /* confdefs.h.  */
13406 _ACEOF
13407 cat confdefs.h >>conftest.$ac_ext
13408 cat >>conftest.$ac_ext <<_ACEOF
13409 /* end confdefs.h.  */
13410 /* System header to define __stub macros and hopefully few prototypes,
13411     which can conflict with char $ac_func (); below.
13412     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13413     <limits.h> exists even on freestanding compilers.  */
13414 #ifdef __STDC__
13415 # include <limits.h>
13416 #else
13417 # include <assert.h>
13418 #endif
13419 /* Override any gcc2 internal prototype to avoid an error.  */
13420 #ifdef __cplusplus
13421 extern "C"
13422 {
13423 #endif
13424 /* We use char because int might match the return type of a gcc2
13425    builtin and then its argument prototype would still apply.  */
13426 char $ac_func ();
13427 /* The GNU C library defines this for functions which it implements
13428     to always fail with ENOSYS.  Some functions are actually named
13429     something starting with __ and the normal name is an alias.  */
13430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13431 choke me
13432 #else
13433 char (*f) () = $ac_func;
13434 #endif
13435 #ifdef __cplusplus
13436 }
13437 #endif
13438
13439 int
13440 main ()
13441 {
13442 return f != $ac_func;
13443   ;
13444   return 0;
13445 }
13446 _ACEOF
13447 rm -f conftest.$ac_objext conftest$ac_exeext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13449   (eval $ac_link) 2>&5
13450   ac_status=$?
13451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452   (exit $ac_status); } &&
13453          { ac_try='test -s conftest$ac_exeext'
13454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455   (eval $ac_try) 2>&5
13456   ac_status=$?
13457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458   (exit $ac_status); }; }; then
13459   eval "$as_ac_var=yes"
13460 else
13461   echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13463
13464 eval "$as_ac_var=no"
13465 fi
13466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13467 fi
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13470 if test `eval echo '${'$as_ac_var'}'` = yes; then
13471   cat >>confdefs.h <<_ACEOF
13472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13473 _ACEOF
13474
13475 fi
13476 done
13477
13478   else
13479
13480   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13481 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13482   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13483     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13484   echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486
13487
13488
13489       ac_ext=cc
13490 ac_cpp='$CXXCPP $CPPFLAGS'
13491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13494
13495       cat >conftest.$ac_ext <<_ACEOF
13496 #line $LINENO "configure"
13497 /* confdefs.h.  */
13498 _ACEOF
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h.  */
13502 #include <math.h>
13503 int
13504 main ()
13505 {
13506  _ldexpf(0, 0);
13507   ;
13508   return 0;
13509 }
13510 _ACEOF
13511 rm -f conftest.$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513   (eval $ac_compile) 2>&5
13514   ac_status=$?
13515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516   (exit $ac_status); } &&
13517          { ac_try='test -s conftest.$ac_objext'
13518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519   (eval $ac_try) 2>&5
13520   ac_status=$?
13521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522   (exit $ac_status); }; }; then
13523   glibcxx_cv_func__ldexpf_use=yes
13524 else
13525   echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13527
13528 glibcxx_cv_func__ldexpf_use=no
13529 fi
13530 rm -f conftest.$ac_objext conftest.$ac_ext
13531       ac_ext=c
13532 ac_cpp='$CPP $CPPFLAGS'
13533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13536
13537
13538 fi
13539
13540   fi
13541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13542 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13543
13544     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13545
13546 for ac_func in _ldexpf
13547 do
13548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13549 echo "$as_me:$LINENO: checking for $ac_func" >&5
13550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_var+set}\" = set"; then
13552   echo $ECHO_N "(cached) $ECHO_C" >&6
13553 else
13554   if test x$gcc_no_link = xyes; then
13555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13557    { (exit 1); exit 1; }; }
13558 fi
13559 cat >conftest.$ac_ext <<_ACEOF
13560 #line $LINENO "configure"
13561 /* confdefs.h.  */
13562 _ACEOF
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h.  */
13566 /* System header to define __stub macros and hopefully few prototypes,
13567     which can conflict with char $ac_func (); below.
13568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13569     <limits.h> exists even on freestanding compilers.  */
13570 #ifdef __STDC__
13571 # include <limits.h>
13572 #else
13573 # include <assert.h>
13574 #endif
13575 /* Override any gcc2 internal prototype to avoid an error.  */
13576 #ifdef __cplusplus
13577 extern "C"
13578 {
13579 #endif
13580 /* We use char because int might match the return type of a gcc2
13581    builtin and then its argument prototype would still apply.  */
13582 char $ac_func ();
13583 /* The GNU C library defines this for functions which it implements
13584     to always fail with ENOSYS.  Some functions are actually named
13585     something starting with __ and the normal name is an alias.  */
13586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13587 choke me
13588 #else
13589 char (*f) () = $ac_func;
13590 #endif
13591 #ifdef __cplusplus
13592 }
13593 #endif
13594
13595 int
13596 main ()
13597 {
13598 return f != $ac_func;
13599   ;
13600   return 0;
13601 }
13602 _ACEOF
13603 rm -f conftest.$ac_objext conftest$ac_exeext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605   (eval $ac_link) 2>&5
13606   ac_status=$?
13607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608   (exit $ac_status); } &&
13609          { ac_try='test -s conftest$ac_exeext'
13610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13611   (eval $ac_try) 2>&5
13612   ac_status=$?
13613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614   (exit $ac_status); }; }; then
13615   eval "$as_ac_var=yes"
13616 else
13617   echo "$as_me: failed program was:" >&5
13618 sed 's/^/| /' conftest.$ac_ext >&5
13619
13620 eval "$as_ac_var=no"
13621 fi
13622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13623 fi
13624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13626 if test `eval echo '${'$as_ac_var'}'` = yes; then
13627   cat >>confdefs.h <<_ACEOF
13628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13629 _ACEOF
13630
13631 fi
13632 done
13633
13634     fi
13635   fi
13636
13637
13638
13639   echo "$as_me:$LINENO: checking for logf declaration" >&5
13640 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13641   if test x${glibcxx_cv_func_logf_use+set} != xset; then
13642     if test "${glibcxx_cv_func_logf_use+set}" = set; then
13643   echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645
13646
13647
13648       ac_ext=cc
13649 ac_cpp='$CXXCPP $CPPFLAGS'
13650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13653
13654       cat >conftest.$ac_ext <<_ACEOF
13655 #line $LINENO "configure"
13656 /* confdefs.h.  */
13657 _ACEOF
13658 cat confdefs.h >>conftest.$ac_ext
13659 cat >>conftest.$ac_ext <<_ACEOF
13660 /* end confdefs.h.  */
13661 #include <math.h>
13662                       #ifdef HAVE_IEEEFP_H
13663                       #include <ieeefp.h>
13664                       #endif
13665
13666 int
13667 main ()
13668 {
13669  logf(0);
13670   ;
13671   return 0;
13672 }
13673 _ACEOF
13674 rm -f conftest.$ac_objext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13676   (eval $ac_compile) 2>&5
13677   ac_status=$?
13678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679   (exit $ac_status); } &&
13680          { ac_try='test -s conftest.$ac_objext'
13681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682   (eval $ac_try) 2>&5
13683   ac_status=$?
13684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685   (exit $ac_status); }; }; then
13686   glibcxx_cv_func_logf_use=yes
13687 else
13688   echo "$as_me: failed program was:" >&5
13689 sed 's/^/| /' conftest.$ac_ext >&5
13690
13691 glibcxx_cv_func_logf_use=no
13692 fi
13693 rm -f conftest.$ac_objext conftest.$ac_ext
13694       ac_ext=c
13695 ac_cpp='$CPP $CPPFLAGS'
13696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13699
13700
13701 fi
13702
13703   fi
13704   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13705 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13706
13707   if test x$glibcxx_cv_func_logf_use = x"yes"; then
13708
13709 for ac_func in logf
13710 do
13711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13712 echo "$as_me:$LINENO: checking for $ac_func" >&5
13713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13714 if eval "test \"\${$as_ac_var+set}\" = set"; then
13715   echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717   if test x$gcc_no_link = xyes; then
13718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13720    { (exit 1); exit 1; }; }
13721 fi
13722 cat >conftest.$ac_ext <<_ACEOF
13723 #line $LINENO "configure"
13724 /* confdefs.h.  */
13725 _ACEOF
13726 cat confdefs.h >>conftest.$ac_ext
13727 cat >>conftest.$ac_ext <<_ACEOF
13728 /* end confdefs.h.  */
13729 /* System header to define __stub macros and hopefully few prototypes,
13730     which can conflict with char $ac_func (); below.
13731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13732     <limits.h> exists even on freestanding compilers.  */
13733 #ifdef __STDC__
13734 # include <limits.h>
13735 #else
13736 # include <assert.h>
13737 #endif
13738 /* Override any gcc2 internal prototype to avoid an error.  */
13739 #ifdef __cplusplus
13740 extern "C"
13741 {
13742 #endif
13743 /* We use char because int might match the return type of a gcc2
13744    builtin and then its argument prototype would still apply.  */
13745 char $ac_func ();
13746 /* The GNU C library defines this for functions which it implements
13747     to always fail with ENOSYS.  Some functions are actually named
13748     something starting with __ and the normal name is an alias.  */
13749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13750 choke me
13751 #else
13752 char (*f) () = $ac_func;
13753 #endif
13754 #ifdef __cplusplus
13755 }
13756 #endif
13757
13758 int
13759 main ()
13760 {
13761 return f != $ac_func;
13762   ;
13763   return 0;
13764 }
13765 _ACEOF
13766 rm -f conftest.$ac_objext conftest$ac_exeext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13768   (eval $ac_link) 2>&5
13769   ac_status=$?
13770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771   (exit $ac_status); } &&
13772          { ac_try='test -s conftest$ac_exeext'
13773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774   (eval $ac_try) 2>&5
13775   ac_status=$?
13776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777   (exit $ac_status); }; }; then
13778   eval "$as_ac_var=yes"
13779 else
13780   echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13782
13783 eval "$as_ac_var=no"
13784 fi
13785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13786 fi
13787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13789 if test `eval echo '${'$as_ac_var'}'` = yes; then
13790   cat >>confdefs.h <<_ACEOF
13791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13792 _ACEOF
13793
13794 fi
13795 done
13796
13797   else
13798
13799   echo "$as_me:$LINENO: checking for _logf declaration" >&5
13800 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13801   if test x${glibcxx_cv_func__logf_use+set} != xset; then
13802     if test "${glibcxx_cv_func__logf_use+set}" = set; then
13803   echo $ECHO_N "(cached) $ECHO_C" >&6
13804 else
13805
13806
13807
13808       ac_ext=cc
13809 ac_cpp='$CXXCPP $CPPFLAGS'
13810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13813
13814       cat >conftest.$ac_ext <<_ACEOF
13815 #line $LINENO "configure"
13816 /* confdefs.h.  */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h.  */
13821 #include <math.h>
13822                       #ifdef HAVE_IEEEFP_H
13823                       #include <ieeefp.h>
13824                       #endif
13825
13826 int
13827 main ()
13828 {
13829  _logf(0);
13830   ;
13831   return 0;
13832 }
13833 _ACEOF
13834 rm -f conftest.$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836   (eval $ac_compile) 2>&5
13837   ac_status=$?
13838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839   (exit $ac_status); } &&
13840          { ac_try='test -s conftest.$ac_objext'
13841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842   (eval $ac_try) 2>&5
13843   ac_status=$?
13844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845   (exit $ac_status); }; }; then
13846   glibcxx_cv_func__logf_use=yes
13847 else
13848   echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13850
13851 glibcxx_cv_func__logf_use=no
13852 fi
13853 rm -f conftest.$ac_objext conftest.$ac_ext
13854       ac_ext=c
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13859
13860
13861 fi
13862
13863   fi
13864   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13865 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13866
13867     if test x$glibcxx_cv_func__logf_use = x"yes"; then
13868
13869 for ac_func in _logf
13870 do
13871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13872 echo "$as_me:$LINENO: checking for $ac_func" >&5
13873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13874 if eval "test \"\${$as_ac_var+set}\" = set"; then
13875   echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877   if test x$gcc_no_link = xyes; then
13878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13880    { (exit 1); exit 1; }; }
13881 fi
13882 cat >conftest.$ac_ext <<_ACEOF
13883 #line $LINENO "configure"
13884 /* confdefs.h.  */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h.  */
13889 /* System header to define __stub macros and hopefully few prototypes,
13890     which can conflict with char $ac_func (); below.
13891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13892     <limits.h> exists even on freestanding compilers.  */
13893 #ifdef __STDC__
13894 # include <limits.h>
13895 #else
13896 # include <assert.h>
13897 #endif
13898 /* Override any gcc2 internal prototype to avoid an error.  */
13899 #ifdef __cplusplus
13900 extern "C"
13901 {
13902 #endif
13903 /* We use char because int might match the return type of a gcc2
13904    builtin and then its argument prototype would still apply.  */
13905 char $ac_func ();
13906 /* The GNU C library defines this for functions which it implements
13907     to always fail with ENOSYS.  Some functions are actually named
13908     something starting with __ and the normal name is an alias.  */
13909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13910 choke me
13911 #else
13912 char (*f) () = $ac_func;
13913 #endif
13914 #ifdef __cplusplus
13915 }
13916 #endif
13917
13918 int
13919 main ()
13920 {
13921 return f != $ac_func;
13922   ;
13923   return 0;
13924 }
13925 _ACEOF
13926 rm -f conftest.$ac_objext conftest$ac_exeext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928   (eval $ac_link) 2>&5
13929   ac_status=$?
13930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931   (exit $ac_status); } &&
13932          { ac_try='test -s conftest$ac_exeext'
13933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934   (eval $ac_try) 2>&5
13935   ac_status=$?
13936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937   (exit $ac_status); }; }; then
13938   eval "$as_ac_var=yes"
13939 else
13940   echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13942
13943 eval "$as_ac_var=no"
13944 fi
13945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13946 fi
13947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13949 if test `eval echo '${'$as_ac_var'}'` = yes; then
13950   cat >>confdefs.h <<_ACEOF
13951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13952 _ACEOF
13953
13954 fi
13955 done
13956
13957     fi
13958   fi
13959
13960
13961
13962   echo "$as_me:$LINENO: checking for log10f declaration" >&5
13963 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13964   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13965     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13966   echo $ECHO_N "(cached) $ECHO_C" >&6
13967 else
13968
13969
13970
13971       ac_ext=cc
13972 ac_cpp='$CXXCPP $CPPFLAGS'
13973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13976
13977       cat >conftest.$ac_ext <<_ACEOF
13978 #line $LINENO "configure"
13979 /* confdefs.h.  */
13980 _ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h.  */
13984 #include <math.h>
13985                       #ifdef HAVE_IEEEFP_H
13986                       #include <ieeefp.h>
13987                       #endif
13988
13989 int
13990 main ()
13991 {
13992  log10f(0);
13993   ;
13994   return 0;
13995 }
13996 _ACEOF
13997 rm -f conftest.$ac_objext
13998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13999   (eval $ac_compile) 2>&5
14000   ac_status=$?
14001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002   (exit $ac_status); } &&
14003          { ac_try='test -s conftest.$ac_objext'
14004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005   (eval $ac_try) 2>&5
14006   ac_status=$?
14007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008   (exit $ac_status); }; }; then
14009   glibcxx_cv_func_log10f_use=yes
14010 else
14011   echo "$as_me: failed program was:" >&5
14012 sed 's/^/| /' conftest.$ac_ext >&5
14013
14014 glibcxx_cv_func_log10f_use=no
14015 fi
14016 rm -f conftest.$ac_objext conftest.$ac_ext
14017       ac_ext=c
14018 ac_cpp='$CPP $CPPFLAGS'
14019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14022
14023
14024 fi
14025
14026   fi
14027   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14028 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14029
14030   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14031
14032 for ac_func in log10f
14033 do
14034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14035 echo "$as_me:$LINENO: checking for $ac_func" >&5
14036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14037 if eval "test \"\${$as_ac_var+set}\" = set"; then
14038   echo $ECHO_N "(cached) $ECHO_C" >&6
14039 else
14040   if test x$gcc_no_link = xyes; then
14041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14043    { (exit 1); exit 1; }; }
14044 fi
14045 cat >conftest.$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14047 /* confdefs.h.  */
14048 _ACEOF
14049 cat confdefs.h >>conftest.$ac_ext
14050 cat >>conftest.$ac_ext <<_ACEOF
14051 /* end confdefs.h.  */
14052 /* System header to define __stub macros and hopefully few prototypes,
14053     which can conflict with char $ac_func (); below.
14054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14055     <limits.h> exists even on freestanding compilers.  */
14056 #ifdef __STDC__
14057 # include <limits.h>
14058 #else
14059 # include <assert.h>
14060 #endif
14061 /* Override any gcc2 internal prototype to avoid an error.  */
14062 #ifdef __cplusplus
14063 extern "C"
14064 {
14065 #endif
14066 /* We use char because int might match the return type of a gcc2
14067    builtin and then its argument prototype would still apply.  */
14068 char $ac_func ();
14069 /* The GNU C library defines this for functions which it implements
14070     to always fail with ENOSYS.  Some functions are actually named
14071     something starting with __ and the normal name is an alias.  */
14072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14073 choke me
14074 #else
14075 char (*f) () = $ac_func;
14076 #endif
14077 #ifdef __cplusplus
14078 }
14079 #endif
14080
14081 int
14082 main ()
14083 {
14084 return f != $ac_func;
14085   ;
14086   return 0;
14087 }
14088 _ACEOF
14089 rm -f conftest.$ac_objext conftest$ac_exeext
14090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14091   (eval $ac_link) 2>&5
14092   ac_status=$?
14093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094   (exit $ac_status); } &&
14095          { ac_try='test -s conftest$ac_exeext'
14096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097   (eval $ac_try) 2>&5
14098   ac_status=$?
14099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100   (exit $ac_status); }; }; then
14101   eval "$as_ac_var=yes"
14102 else
14103   echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.$ac_ext >&5
14105
14106 eval "$as_ac_var=no"
14107 fi
14108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14109 fi
14110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14112 if test `eval echo '${'$as_ac_var'}'` = yes; then
14113   cat >>confdefs.h <<_ACEOF
14114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14115 _ACEOF
14116
14117 fi
14118 done
14119
14120   else
14121
14122   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14123 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14124   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14125     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14126   echo $ECHO_N "(cached) $ECHO_C" >&6
14127 else
14128
14129
14130
14131       ac_ext=cc
14132 ac_cpp='$CXXCPP $CPPFLAGS'
14133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14136
14137       cat >conftest.$ac_ext <<_ACEOF
14138 #line $LINENO "configure"
14139 /* confdefs.h.  */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h.  */
14144 #include <math.h>
14145                       #ifdef HAVE_IEEEFP_H
14146                       #include <ieeefp.h>
14147                       #endif
14148
14149 int
14150 main ()
14151 {
14152  _log10f(0);
14153   ;
14154   return 0;
14155 }
14156 _ACEOF
14157 rm -f conftest.$ac_objext
14158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14159   (eval $ac_compile) 2>&5
14160   ac_status=$?
14161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162   (exit $ac_status); } &&
14163          { ac_try='test -s conftest.$ac_objext'
14164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165   (eval $ac_try) 2>&5
14166   ac_status=$?
14167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168   (exit $ac_status); }; }; then
14169   glibcxx_cv_func__log10f_use=yes
14170 else
14171   echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14173
14174 glibcxx_cv_func__log10f_use=no
14175 fi
14176 rm -f conftest.$ac_objext conftest.$ac_ext
14177       ac_ext=c
14178 ac_cpp='$CPP $CPPFLAGS'
14179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14182
14183
14184 fi
14185
14186   fi
14187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14188 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14189
14190     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14191
14192 for ac_func in _log10f
14193 do
14194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14195 echo "$as_me:$LINENO: checking for $ac_func" >&5
14196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14197 if eval "test \"\${$as_ac_var+set}\" = set"; then
14198   echo $ECHO_N "(cached) $ECHO_C" >&6
14199 else
14200   if test x$gcc_no_link = xyes; then
14201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14203    { (exit 1); exit 1; }; }
14204 fi
14205 cat >conftest.$ac_ext <<_ACEOF
14206 #line $LINENO "configure"
14207 /* confdefs.h.  */
14208 _ACEOF
14209 cat confdefs.h >>conftest.$ac_ext
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h.  */
14212 /* System header to define __stub macros and hopefully few prototypes,
14213     which can conflict with char $ac_func (); below.
14214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14215     <limits.h> exists even on freestanding compilers.  */
14216 #ifdef __STDC__
14217 # include <limits.h>
14218 #else
14219 # include <assert.h>
14220 #endif
14221 /* Override any gcc2 internal prototype to avoid an error.  */
14222 #ifdef __cplusplus
14223 extern "C"
14224 {
14225 #endif
14226 /* We use char because int might match the return type of a gcc2
14227    builtin and then its argument prototype would still apply.  */
14228 char $ac_func ();
14229 /* The GNU C library defines this for functions which it implements
14230     to always fail with ENOSYS.  Some functions are actually named
14231     something starting with __ and the normal name is an alias.  */
14232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14233 choke me
14234 #else
14235 char (*f) () = $ac_func;
14236 #endif
14237 #ifdef __cplusplus
14238 }
14239 #endif
14240
14241 int
14242 main ()
14243 {
14244 return f != $ac_func;
14245   ;
14246   return 0;
14247 }
14248 _ACEOF
14249 rm -f conftest.$ac_objext conftest$ac_exeext
14250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14251   (eval $ac_link) 2>&5
14252   ac_status=$?
14253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254   (exit $ac_status); } &&
14255          { ac_try='test -s conftest$ac_exeext'
14256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257   (eval $ac_try) 2>&5
14258   ac_status=$?
14259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260   (exit $ac_status); }; }; then
14261   eval "$as_ac_var=yes"
14262 else
14263   echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14265
14266 eval "$as_ac_var=no"
14267 fi
14268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14269 fi
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14272 if test `eval echo '${'$as_ac_var'}'` = yes; then
14273   cat >>confdefs.h <<_ACEOF
14274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14275 _ACEOF
14276
14277 fi
14278 done
14279
14280     fi
14281   fi
14282
14283
14284
14285   echo "$as_me:$LINENO: checking for modff declaration" >&5
14286 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14287   if test x${glibcxx_cv_func_modff_use+set} != xset; then
14288     if test "${glibcxx_cv_func_modff_use+set}" = set; then
14289   echo $ECHO_N "(cached) $ECHO_C" >&6
14290 else
14291
14292
14293
14294       ac_ext=cc
14295 ac_cpp='$CXXCPP $CPPFLAGS'
14296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14299
14300       cat >conftest.$ac_ext <<_ACEOF
14301 #line $LINENO "configure"
14302 /* confdefs.h.  */
14303 _ACEOF
14304 cat confdefs.h >>conftest.$ac_ext
14305 cat >>conftest.$ac_ext <<_ACEOF
14306 /* end confdefs.h.  */
14307 #include <math.h>
14308 int
14309 main ()
14310 {
14311  modff(0, 0);
14312   ;
14313   return 0;
14314 }
14315 _ACEOF
14316 rm -f conftest.$ac_objext
14317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14318   (eval $ac_compile) 2>&5
14319   ac_status=$?
14320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321   (exit $ac_status); } &&
14322          { ac_try='test -s conftest.$ac_objext'
14323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14324   (eval $ac_try) 2>&5
14325   ac_status=$?
14326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327   (exit $ac_status); }; }; then
14328   glibcxx_cv_func_modff_use=yes
14329 else
14330   echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.$ac_ext >&5
14332
14333 glibcxx_cv_func_modff_use=no
14334 fi
14335 rm -f conftest.$ac_objext conftest.$ac_ext
14336       ac_ext=c
14337 ac_cpp='$CPP $CPPFLAGS'
14338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14341
14342
14343 fi
14344
14345   fi
14346   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14347 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14348
14349   if test x$glibcxx_cv_func_modff_use = x"yes"; then
14350
14351 for ac_func in modff
14352 do
14353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14354 echo "$as_me:$LINENO: checking for $ac_func" >&5
14355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14356 if eval "test \"\${$as_ac_var+set}\" = set"; then
14357   echo $ECHO_N "(cached) $ECHO_C" >&6
14358 else
14359   if test x$gcc_no_link = xyes; then
14360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14362    { (exit 1); exit 1; }; }
14363 fi
14364 cat >conftest.$ac_ext <<_ACEOF
14365 #line $LINENO "configure"
14366 /* confdefs.h.  */
14367 _ACEOF
14368 cat confdefs.h >>conftest.$ac_ext
14369 cat >>conftest.$ac_ext <<_ACEOF
14370 /* end confdefs.h.  */
14371 /* System header to define __stub macros and hopefully few prototypes,
14372     which can conflict with char $ac_func (); below.
14373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14374     <limits.h> exists even on freestanding compilers.  */
14375 #ifdef __STDC__
14376 # include <limits.h>
14377 #else
14378 # include <assert.h>
14379 #endif
14380 /* Override any gcc2 internal prototype to avoid an error.  */
14381 #ifdef __cplusplus
14382 extern "C"
14383 {
14384 #endif
14385 /* We use char because int might match the return type of a gcc2
14386    builtin and then its argument prototype would still apply.  */
14387 char $ac_func ();
14388 /* The GNU C library defines this for functions which it implements
14389     to always fail with ENOSYS.  Some functions are actually named
14390     something starting with __ and the normal name is an alias.  */
14391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14392 choke me
14393 #else
14394 char (*f) () = $ac_func;
14395 #endif
14396 #ifdef __cplusplus
14397 }
14398 #endif
14399
14400 int
14401 main ()
14402 {
14403 return f != $ac_func;
14404   ;
14405   return 0;
14406 }
14407 _ACEOF
14408 rm -f conftest.$ac_objext conftest$ac_exeext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14410   (eval $ac_link) 2>&5
14411   ac_status=$?
14412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413   (exit $ac_status); } &&
14414          { ac_try='test -s conftest$ac_exeext'
14415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416   (eval $ac_try) 2>&5
14417   ac_status=$?
14418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419   (exit $ac_status); }; }; then
14420   eval "$as_ac_var=yes"
14421 else
14422   echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14424
14425 eval "$as_ac_var=no"
14426 fi
14427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14428 fi
14429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14431 if test `eval echo '${'$as_ac_var'}'` = yes; then
14432   cat >>confdefs.h <<_ACEOF
14433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 _ACEOF
14435
14436 fi
14437 done
14438
14439   else
14440
14441   echo "$as_me:$LINENO: checking for _modff declaration" >&5
14442 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14443   if test x${glibcxx_cv_func__modff_use+set} != xset; then
14444     if test "${glibcxx_cv_func__modff_use+set}" = set; then
14445   echo $ECHO_N "(cached) $ECHO_C" >&6
14446 else
14447
14448
14449
14450       ac_ext=cc
14451 ac_cpp='$CXXCPP $CPPFLAGS'
14452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14455
14456       cat >conftest.$ac_ext <<_ACEOF
14457 #line $LINENO "configure"
14458 /* confdefs.h.  */
14459 _ACEOF
14460 cat confdefs.h >>conftest.$ac_ext
14461 cat >>conftest.$ac_ext <<_ACEOF
14462 /* end confdefs.h.  */
14463 #include <math.h>
14464 int
14465 main ()
14466 {
14467  _modff(0, 0);
14468   ;
14469   return 0;
14470 }
14471 _ACEOF
14472 rm -f conftest.$ac_objext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474   (eval $ac_compile) 2>&5
14475   ac_status=$?
14476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477   (exit $ac_status); } &&
14478          { ac_try='test -s conftest.$ac_objext'
14479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480   (eval $ac_try) 2>&5
14481   ac_status=$?
14482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483   (exit $ac_status); }; }; then
14484   glibcxx_cv_func__modff_use=yes
14485 else
14486   echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14488
14489 glibcxx_cv_func__modff_use=no
14490 fi
14491 rm -f conftest.$ac_objext conftest.$ac_ext
14492       ac_ext=c
14493 ac_cpp='$CPP $CPPFLAGS'
14494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14497
14498
14499 fi
14500
14501   fi
14502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14503 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14504
14505     if test x$glibcxx_cv_func__modff_use = x"yes"; then
14506
14507 for ac_func in _modff
14508 do
14509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14510 echo "$as_me:$LINENO: checking for $ac_func" >&5
14511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14512 if eval "test \"\${$as_ac_var+set}\" = set"; then
14513   echo $ECHO_N "(cached) $ECHO_C" >&6
14514 else
14515   if test x$gcc_no_link = xyes; then
14516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14518    { (exit 1); exit 1; }; }
14519 fi
14520 cat >conftest.$ac_ext <<_ACEOF
14521 #line $LINENO "configure"
14522 /* confdefs.h.  */
14523 _ACEOF
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h.  */
14527 /* System header to define __stub macros and hopefully few prototypes,
14528     which can conflict with char $ac_func (); below.
14529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14530     <limits.h> exists even on freestanding compilers.  */
14531 #ifdef __STDC__
14532 # include <limits.h>
14533 #else
14534 # include <assert.h>
14535 #endif
14536 /* Override any gcc2 internal prototype to avoid an error.  */
14537 #ifdef __cplusplus
14538 extern "C"
14539 {
14540 #endif
14541 /* We use char because int might match the return type of a gcc2
14542    builtin and then its argument prototype would still apply.  */
14543 char $ac_func ();
14544 /* The GNU C library defines this for functions which it implements
14545     to always fail with ENOSYS.  Some functions are actually named
14546     something starting with __ and the normal name is an alias.  */
14547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14548 choke me
14549 #else
14550 char (*f) () = $ac_func;
14551 #endif
14552 #ifdef __cplusplus
14553 }
14554 #endif
14555
14556 int
14557 main ()
14558 {
14559 return f != $ac_func;
14560   ;
14561   return 0;
14562 }
14563 _ACEOF
14564 rm -f conftest.$ac_objext conftest$ac_exeext
14565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14566   (eval $ac_link) 2>&5
14567   ac_status=$?
14568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569   (exit $ac_status); } &&
14570          { ac_try='test -s conftest$ac_exeext'
14571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572   (eval $ac_try) 2>&5
14573   ac_status=$?
14574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575   (exit $ac_status); }; }; then
14576   eval "$as_ac_var=yes"
14577 else
14578   echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14580
14581 eval "$as_ac_var=no"
14582 fi
14583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14584 fi
14585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14587 if test `eval echo '${'$as_ac_var'}'` = yes; then
14588   cat >>confdefs.h <<_ACEOF
14589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14590 _ACEOF
14591
14592 fi
14593 done
14594
14595     fi
14596   fi
14597
14598
14599
14600   echo "$as_me:$LINENO: checking for powf declaration" >&5
14601 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14602   if test x${glibcxx_cv_func_powf_use+set} != xset; then
14603     if test "${glibcxx_cv_func_powf_use+set}" = set; then
14604   echo $ECHO_N "(cached) $ECHO_C" >&6
14605 else
14606
14607
14608
14609       ac_ext=cc
14610 ac_cpp='$CXXCPP $CPPFLAGS'
14611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14614
14615       cat >conftest.$ac_ext <<_ACEOF
14616 #line $LINENO "configure"
14617 /* confdefs.h.  */
14618 _ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h.  */
14622 #include <math.h>
14623 int
14624 main ()
14625 {
14626  powf(0, 0);
14627   ;
14628   return 0;
14629 }
14630 _ACEOF
14631 rm -f conftest.$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633   (eval $ac_compile) 2>&5
14634   ac_status=$?
14635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636   (exit $ac_status); } &&
14637          { ac_try='test -s conftest.$ac_objext'
14638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639   (eval $ac_try) 2>&5
14640   ac_status=$?
14641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642   (exit $ac_status); }; }; then
14643   glibcxx_cv_func_powf_use=yes
14644 else
14645   echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.$ac_ext >&5
14647
14648 glibcxx_cv_func_powf_use=no
14649 fi
14650 rm -f conftest.$ac_objext conftest.$ac_ext
14651       ac_ext=c
14652 ac_cpp='$CPP $CPPFLAGS'
14653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14656
14657
14658 fi
14659
14660   fi
14661   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14662 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14663
14664   if test x$glibcxx_cv_func_powf_use = x"yes"; then
14665
14666 for ac_func in powf
14667 do
14668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14669 echo "$as_me:$LINENO: checking for $ac_func" >&5
14670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14671 if eval "test \"\${$as_ac_var+set}\" = set"; then
14672   echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674   if test x$gcc_no_link = xyes; then
14675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14677    { (exit 1); exit 1; }; }
14678 fi
14679 cat >conftest.$ac_ext <<_ACEOF
14680 #line $LINENO "configure"
14681 /* confdefs.h.  */
14682 _ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h.  */
14686 /* System header to define __stub macros and hopefully few prototypes,
14687     which can conflict with char $ac_func (); below.
14688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14689     <limits.h> exists even on freestanding compilers.  */
14690 #ifdef __STDC__
14691 # include <limits.h>
14692 #else
14693 # include <assert.h>
14694 #endif
14695 /* Override any gcc2 internal prototype to avoid an error.  */
14696 #ifdef __cplusplus
14697 extern "C"
14698 {
14699 #endif
14700 /* We use char because int might match the return type of a gcc2
14701    builtin and then its argument prototype would still apply.  */
14702 char $ac_func ();
14703 /* The GNU C library defines this for functions which it implements
14704     to always fail with ENOSYS.  Some functions are actually named
14705     something starting with __ and the normal name is an alias.  */
14706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14707 choke me
14708 #else
14709 char (*f) () = $ac_func;
14710 #endif
14711 #ifdef __cplusplus
14712 }
14713 #endif
14714
14715 int
14716 main ()
14717 {
14718 return f != $ac_func;
14719   ;
14720   return 0;
14721 }
14722 _ACEOF
14723 rm -f conftest.$ac_objext conftest$ac_exeext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14725   (eval $ac_link) 2>&5
14726   ac_status=$?
14727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728   (exit $ac_status); } &&
14729          { ac_try='test -s conftest$ac_exeext'
14730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731   (eval $ac_try) 2>&5
14732   ac_status=$?
14733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734   (exit $ac_status); }; }; then
14735   eval "$as_ac_var=yes"
14736 else
14737   echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 eval "$as_ac_var=no"
14741 fi
14742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14743 fi
14744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14746 if test `eval echo '${'$as_ac_var'}'` = yes; then
14747   cat >>confdefs.h <<_ACEOF
14748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14749 _ACEOF
14750
14751 fi
14752 done
14753
14754   else
14755
14756   echo "$as_me:$LINENO: checking for _powf declaration" >&5
14757 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14758   if test x${glibcxx_cv_func__powf_use+set} != xset; then
14759     if test "${glibcxx_cv_func__powf_use+set}" = set; then
14760   echo $ECHO_N "(cached) $ECHO_C" >&6
14761 else
14762
14763
14764
14765       ac_ext=cc
14766 ac_cpp='$CXXCPP $CPPFLAGS'
14767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14770
14771       cat >conftest.$ac_ext <<_ACEOF
14772 #line $LINENO "configure"
14773 /* confdefs.h.  */
14774 _ACEOF
14775 cat confdefs.h >>conftest.$ac_ext
14776 cat >>conftest.$ac_ext <<_ACEOF
14777 /* end confdefs.h.  */
14778 #include <math.h>
14779 int
14780 main ()
14781 {
14782  _powf(0, 0);
14783   ;
14784   return 0;
14785 }
14786 _ACEOF
14787 rm -f conftest.$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789   (eval $ac_compile) 2>&5
14790   ac_status=$?
14791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792   (exit $ac_status); } &&
14793          { ac_try='test -s conftest.$ac_objext'
14794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795   (eval $ac_try) 2>&5
14796   ac_status=$?
14797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798   (exit $ac_status); }; }; then
14799   glibcxx_cv_func__powf_use=yes
14800 else
14801   echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14803
14804 glibcxx_cv_func__powf_use=no
14805 fi
14806 rm -f conftest.$ac_objext conftest.$ac_ext
14807       ac_ext=c
14808 ac_cpp='$CPP $CPPFLAGS'
14809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14812
14813
14814 fi
14815
14816   fi
14817   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14818 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14819
14820     if test x$glibcxx_cv_func__powf_use = x"yes"; then
14821
14822 for ac_func in _powf
14823 do
14824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14825 echo "$as_me:$LINENO: checking for $ac_func" >&5
14826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14827 if eval "test \"\${$as_ac_var+set}\" = set"; then
14828   echo $ECHO_N "(cached) $ECHO_C" >&6
14829 else
14830   if test x$gcc_no_link = xyes; then
14831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14833    { (exit 1); exit 1; }; }
14834 fi
14835 cat >conftest.$ac_ext <<_ACEOF
14836 #line $LINENO "configure"
14837 /* confdefs.h.  */
14838 _ACEOF
14839 cat confdefs.h >>conftest.$ac_ext
14840 cat >>conftest.$ac_ext <<_ACEOF
14841 /* end confdefs.h.  */
14842 /* System header to define __stub macros and hopefully few prototypes,
14843     which can conflict with char $ac_func (); below.
14844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14845     <limits.h> exists even on freestanding compilers.  */
14846 #ifdef __STDC__
14847 # include <limits.h>
14848 #else
14849 # include <assert.h>
14850 #endif
14851 /* Override any gcc2 internal prototype to avoid an error.  */
14852 #ifdef __cplusplus
14853 extern "C"
14854 {
14855 #endif
14856 /* We use char because int might match the return type of a gcc2
14857    builtin and then its argument prototype would still apply.  */
14858 char $ac_func ();
14859 /* The GNU C library defines this for functions which it implements
14860     to always fail with ENOSYS.  Some functions are actually named
14861     something starting with __ and the normal name is an alias.  */
14862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14863 choke me
14864 #else
14865 char (*f) () = $ac_func;
14866 #endif
14867 #ifdef __cplusplus
14868 }
14869 #endif
14870
14871 int
14872 main ()
14873 {
14874 return f != $ac_func;
14875   ;
14876   return 0;
14877 }
14878 _ACEOF
14879 rm -f conftest.$ac_objext conftest$ac_exeext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14881   (eval $ac_link) 2>&5
14882   ac_status=$?
14883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884   (exit $ac_status); } &&
14885          { ac_try='test -s conftest$ac_exeext'
14886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887   (eval $ac_try) 2>&5
14888   ac_status=$?
14889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890   (exit $ac_status); }; }; then
14891   eval "$as_ac_var=yes"
14892 else
14893   echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14895
14896 eval "$as_ac_var=no"
14897 fi
14898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14899 fi
14900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14902 if test `eval echo '${'$as_ac_var'}'` = yes; then
14903   cat >>confdefs.h <<_ACEOF
14904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14905 _ACEOF
14906
14907 fi
14908 done
14909
14910     fi
14911   fi
14912
14913
14914
14915   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14916 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14917   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14918     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14919   echo $ECHO_N "(cached) $ECHO_C" >&6
14920 else
14921
14922
14923
14924       ac_ext=cc
14925 ac_cpp='$CXXCPP $CPPFLAGS'
14926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14929
14930       cat >conftest.$ac_ext <<_ACEOF
14931 #line $LINENO "configure"
14932 /* confdefs.h.  */
14933 _ACEOF
14934 cat confdefs.h >>conftest.$ac_ext
14935 cat >>conftest.$ac_ext <<_ACEOF
14936 /* end confdefs.h.  */
14937 #include <math.h>
14938                       #ifdef HAVE_IEEEFP_H
14939                       #include <ieeefp.h>
14940                       #endif
14941
14942 int
14943 main ()
14944 {
14945  sqrtf(0);
14946   ;
14947   return 0;
14948 }
14949 _ACEOF
14950 rm -f conftest.$ac_objext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14952   (eval $ac_compile) 2>&5
14953   ac_status=$?
14954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955   (exit $ac_status); } &&
14956          { ac_try='test -s conftest.$ac_objext'
14957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958   (eval $ac_try) 2>&5
14959   ac_status=$?
14960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961   (exit $ac_status); }; }; then
14962   glibcxx_cv_func_sqrtf_use=yes
14963 else
14964   echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14966
14967 glibcxx_cv_func_sqrtf_use=no
14968 fi
14969 rm -f conftest.$ac_objext conftest.$ac_ext
14970       ac_ext=c
14971 ac_cpp='$CPP $CPPFLAGS'
14972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14975
14976
14977 fi
14978
14979   fi
14980   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14981 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14982
14983   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14984
14985 for ac_func in sqrtf
14986 do
14987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14988 echo "$as_me:$LINENO: checking for $ac_func" >&5
14989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14990 if eval "test \"\${$as_ac_var+set}\" = set"; then
14991   echo $ECHO_N "(cached) $ECHO_C" >&6
14992 else
14993   if test x$gcc_no_link = xyes; then
14994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14996    { (exit 1); exit 1; }; }
14997 fi
14998 cat >conftest.$ac_ext <<_ACEOF
14999 #line $LINENO "configure"
15000 /* confdefs.h.  */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h.  */
15005 /* System header to define __stub macros and hopefully few prototypes,
15006     which can conflict with char $ac_func (); below.
15007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15008     <limits.h> exists even on freestanding compilers.  */
15009 #ifdef __STDC__
15010 # include <limits.h>
15011 #else
15012 # include <assert.h>
15013 #endif
15014 /* Override any gcc2 internal prototype to avoid an error.  */
15015 #ifdef __cplusplus
15016 extern "C"
15017 {
15018 #endif
15019 /* We use char because int might match the return type of a gcc2
15020    builtin and then its argument prototype would still apply.  */
15021 char $ac_func ();
15022 /* The GNU C library defines this for functions which it implements
15023     to always fail with ENOSYS.  Some functions are actually named
15024     something starting with __ and the normal name is an alias.  */
15025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15026 choke me
15027 #else
15028 char (*f) () = $ac_func;
15029 #endif
15030 #ifdef __cplusplus
15031 }
15032 #endif
15033
15034 int
15035 main ()
15036 {
15037 return f != $ac_func;
15038   ;
15039   return 0;
15040 }
15041 _ACEOF
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15044   (eval $ac_link) 2>&5
15045   ac_status=$?
15046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047   (exit $ac_status); } &&
15048          { ac_try='test -s conftest$ac_exeext'
15049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050   (eval $ac_try) 2>&5
15051   ac_status=$?
15052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053   (exit $ac_status); }; }; then
15054   eval "$as_ac_var=yes"
15055 else
15056   echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15058
15059 eval "$as_ac_var=no"
15060 fi
15061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15062 fi
15063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15065 if test `eval echo '${'$as_ac_var'}'` = yes; then
15066   cat >>confdefs.h <<_ACEOF
15067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15068 _ACEOF
15069
15070 fi
15071 done
15072
15073   else
15074
15075   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15076 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15077   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15078     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15079   echo $ECHO_N "(cached) $ECHO_C" >&6
15080 else
15081
15082
15083
15084       ac_ext=cc
15085 ac_cpp='$CXXCPP $CPPFLAGS'
15086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15089
15090       cat >conftest.$ac_ext <<_ACEOF
15091 #line $LINENO "configure"
15092 /* confdefs.h.  */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h.  */
15097 #include <math.h>
15098                       #ifdef HAVE_IEEEFP_H
15099                       #include <ieeefp.h>
15100                       #endif
15101
15102 int
15103 main ()
15104 {
15105  _sqrtf(0);
15106   ;
15107   return 0;
15108 }
15109 _ACEOF
15110 rm -f conftest.$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112   (eval $ac_compile) 2>&5
15113   ac_status=$?
15114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115   (exit $ac_status); } &&
15116          { ac_try='test -s conftest.$ac_objext'
15117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118   (eval $ac_try) 2>&5
15119   ac_status=$?
15120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121   (exit $ac_status); }; }; then
15122   glibcxx_cv_func__sqrtf_use=yes
15123 else
15124   echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15126
15127 glibcxx_cv_func__sqrtf_use=no
15128 fi
15129 rm -f conftest.$ac_objext conftest.$ac_ext
15130       ac_ext=c
15131 ac_cpp='$CPP $CPPFLAGS'
15132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15135
15136
15137 fi
15138
15139   fi
15140   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15141 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15142
15143     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15144
15145 for ac_func in _sqrtf
15146 do
15147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15148 echo "$as_me:$LINENO: checking for $ac_func" >&5
15149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15150 if eval "test \"\${$as_ac_var+set}\" = set"; then
15151   echo $ECHO_N "(cached) $ECHO_C" >&6
15152 else
15153   if test x$gcc_no_link = xyes; then
15154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15156    { (exit 1); exit 1; }; }
15157 fi
15158 cat >conftest.$ac_ext <<_ACEOF
15159 #line $LINENO "configure"
15160 /* confdefs.h.  */
15161 _ACEOF
15162 cat confdefs.h >>conftest.$ac_ext
15163 cat >>conftest.$ac_ext <<_ACEOF
15164 /* end confdefs.h.  */
15165 /* System header to define __stub macros and hopefully few prototypes,
15166     which can conflict with char $ac_func (); below.
15167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15168     <limits.h> exists even on freestanding compilers.  */
15169 #ifdef __STDC__
15170 # include <limits.h>
15171 #else
15172 # include <assert.h>
15173 #endif
15174 /* Override any gcc2 internal prototype to avoid an error.  */
15175 #ifdef __cplusplus
15176 extern "C"
15177 {
15178 #endif
15179 /* We use char because int might match the return type of a gcc2
15180    builtin and then its argument prototype would still apply.  */
15181 char $ac_func ();
15182 /* The GNU C library defines this for functions which it implements
15183     to always fail with ENOSYS.  Some functions are actually named
15184     something starting with __ and the normal name is an alias.  */
15185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15186 choke me
15187 #else
15188 char (*f) () = $ac_func;
15189 #endif
15190 #ifdef __cplusplus
15191 }
15192 #endif
15193
15194 int
15195 main ()
15196 {
15197 return f != $ac_func;
15198   ;
15199   return 0;
15200 }
15201 _ACEOF
15202 rm -f conftest.$ac_objext conftest$ac_exeext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15204   (eval $ac_link) 2>&5
15205   ac_status=$?
15206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207   (exit $ac_status); } &&
15208          { ac_try='test -s conftest$ac_exeext'
15209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210   (eval $ac_try) 2>&5
15211   ac_status=$?
15212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213   (exit $ac_status); }; }; then
15214   eval "$as_ac_var=yes"
15215 else
15216   echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15218
15219 eval "$as_ac_var=no"
15220 fi
15221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15222 fi
15223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15225 if test `eval echo '${'$as_ac_var'}'` = yes; then
15226   cat >>confdefs.h <<_ACEOF
15227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15228 _ACEOF
15229
15230 fi
15231 done
15232
15233     fi
15234   fi
15235
15236
15237
15238   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15239 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15240   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15241     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15242   echo $ECHO_N "(cached) $ECHO_C" >&6
15243 else
15244
15245
15246
15247       ac_ext=cc
15248 ac_cpp='$CXXCPP $CPPFLAGS'
15249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15252
15253       cat >conftest.$ac_ext <<_ACEOF
15254 #line $LINENO "configure"
15255 /* confdefs.h.  */
15256 _ACEOF
15257 cat confdefs.h >>conftest.$ac_ext
15258 cat >>conftest.$ac_ext <<_ACEOF
15259 /* end confdefs.h.  */
15260 #include <math.h>
15261 int
15262 main ()
15263 {
15264  sincosf(0, 0, 0);
15265   ;
15266   return 0;
15267 }
15268 _ACEOF
15269 rm -f conftest.$ac_objext
15270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15271   (eval $ac_compile) 2>&5
15272   ac_status=$?
15273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274   (exit $ac_status); } &&
15275          { ac_try='test -s conftest.$ac_objext'
15276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277   (eval $ac_try) 2>&5
15278   ac_status=$?
15279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280   (exit $ac_status); }; }; then
15281   glibcxx_cv_func_sincosf_use=yes
15282 else
15283   echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15285
15286 glibcxx_cv_func_sincosf_use=no
15287 fi
15288 rm -f conftest.$ac_objext conftest.$ac_ext
15289       ac_ext=c
15290 ac_cpp='$CPP $CPPFLAGS'
15291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15294
15295
15296 fi
15297
15298   fi
15299   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15300 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15301
15302   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15303
15304 for ac_func in sincosf
15305 do
15306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15307 echo "$as_me:$LINENO: checking for $ac_func" >&5
15308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15309 if eval "test \"\${$as_ac_var+set}\" = set"; then
15310   echo $ECHO_N "(cached) $ECHO_C" >&6
15311 else
15312   if test x$gcc_no_link = xyes; then
15313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15315    { (exit 1); exit 1; }; }
15316 fi
15317 cat >conftest.$ac_ext <<_ACEOF
15318 #line $LINENO "configure"
15319 /* confdefs.h.  */
15320 _ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h.  */
15324 /* System header to define __stub macros and hopefully few prototypes,
15325     which can conflict with char $ac_func (); below.
15326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15327     <limits.h> exists even on freestanding compilers.  */
15328 #ifdef __STDC__
15329 # include <limits.h>
15330 #else
15331 # include <assert.h>
15332 #endif
15333 /* Override any gcc2 internal prototype to avoid an error.  */
15334 #ifdef __cplusplus
15335 extern "C"
15336 {
15337 #endif
15338 /* We use char because int might match the return type of a gcc2
15339    builtin and then its argument prototype would still apply.  */
15340 char $ac_func ();
15341 /* The GNU C library defines this for functions which it implements
15342     to always fail with ENOSYS.  Some functions are actually named
15343     something starting with __ and the normal name is an alias.  */
15344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15345 choke me
15346 #else
15347 char (*f) () = $ac_func;
15348 #endif
15349 #ifdef __cplusplus
15350 }
15351 #endif
15352
15353 int
15354 main ()
15355 {
15356 return f != $ac_func;
15357   ;
15358   return 0;
15359 }
15360 _ACEOF
15361 rm -f conftest.$ac_objext conftest$ac_exeext
15362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15363   (eval $ac_link) 2>&5
15364   ac_status=$?
15365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366   (exit $ac_status); } &&
15367          { ac_try='test -s conftest$ac_exeext'
15368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369   (eval $ac_try) 2>&5
15370   ac_status=$?
15371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372   (exit $ac_status); }; }; then
15373   eval "$as_ac_var=yes"
15374 else
15375   echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15377
15378 eval "$as_ac_var=no"
15379 fi
15380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15381 fi
15382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15384 if test `eval echo '${'$as_ac_var'}'` = yes; then
15385   cat >>confdefs.h <<_ACEOF
15386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15387 _ACEOF
15388
15389 fi
15390 done
15391
15392   else
15393
15394   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15395 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15396   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15397     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15398   echo $ECHO_N "(cached) $ECHO_C" >&6
15399 else
15400
15401
15402
15403       ac_ext=cc
15404 ac_cpp='$CXXCPP $CPPFLAGS'
15405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15408
15409       cat >conftest.$ac_ext <<_ACEOF
15410 #line $LINENO "configure"
15411 /* confdefs.h.  */
15412 _ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h.  */
15416 #include <math.h>
15417 int
15418 main ()
15419 {
15420  _sincosf(0, 0, 0);
15421   ;
15422   return 0;
15423 }
15424 _ACEOF
15425 rm -f conftest.$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427   (eval $ac_compile) 2>&5
15428   ac_status=$?
15429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430   (exit $ac_status); } &&
15431          { ac_try='test -s conftest.$ac_objext'
15432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433   (eval $ac_try) 2>&5
15434   ac_status=$?
15435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436   (exit $ac_status); }; }; then
15437   glibcxx_cv_func__sincosf_use=yes
15438 else
15439   echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.$ac_ext >&5
15441
15442 glibcxx_cv_func__sincosf_use=no
15443 fi
15444 rm -f conftest.$ac_objext conftest.$ac_ext
15445       ac_ext=c
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15450
15451
15452 fi
15453
15454   fi
15455   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15456 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15457
15458     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15459
15460 for ac_func in _sincosf
15461 do
15462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15463 echo "$as_me:$LINENO: checking for $ac_func" >&5
15464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15465 if eval "test \"\${$as_ac_var+set}\" = set"; then
15466   echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468   if test x$gcc_no_link = xyes; then
15469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15471    { (exit 1); exit 1; }; }
15472 fi
15473 cat >conftest.$ac_ext <<_ACEOF
15474 #line $LINENO "configure"
15475 /* confdefs.h.  */
15476 _ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h.  */
15480 /* System header to define __stub macros and hopefully few prototypes,
15481     which can conflict with char $ac_func (); below.
15482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15483     <limits.h> exists even on freestanding compilers.  */
15484 #ifdef __STDC__
15485 # include <limits.h>
15486 #else
15487 # include <assert.h>
15488 #endif
15489 /* Override any gcc2 internal prototype to avoid an error.  */
15490 #ifdef __cplusplus
15491 extern "C"
15492 {
15493 #endif
15494 /* We use char because int might match the return type of a gcc2
15495    builtin and then its argument prototype would still apply.  */
15496 char $ac_func ();
15497 /* The GNU C library defines this for functions which it implements
15498     to always fail with ENOSYS.  Some functions are actually named
15499     something starting with __ and the normal name is an alias.  */
15500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15501 choke me
15502 #else
15503 char (*f) () = $ac_func;
15504 #endif
15505 #ifdef __cplusplus
15506 }
15507 #endif
15508
15509 int
15510 main ()
15511 {
15512 return f != $ac_func;
15513   ;
15514   return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext conftest$ac_exeext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15519   (eval $ac_link) 2>&5
15520   ac_status=$?
15521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522   (exit $ac_status); } &&
15523          { ac_try='test -s conftest$ac_exeext'
15524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525   (eval $ac_try) 2>&5
15526   ac_status=$?
15527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528   (exit $ac_status); }; }; then
15529   eval "$as_ac_var=yes"
15530 else
15531   echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15533
15534 eval "$as_ac_var=no"
15535 fi
15536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15537 fi
15538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15540 if test `eval echo '${'$as_ac_var'}'` = yes; then
15541   cat >>confdefs.h <<_ACEOF
15542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15543 _ACEOF
15544
15545 fi
15546 done
15547
15548     fi
15549   fi
15550
15551
15552
15553   echo "$as_me:$LINENO: checking for finitef declaration" >&5
15554 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15555   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15556     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15557   echo $ECHO_N "(cached) $ECHO_C" >&6
15558 else
15559
15560
15561
15562       ac_ext=cc
15563 ac_cpp='$CXXCPP $CPPFLAGS'
15564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15567
15568       cat >conftest.$ac_ext <<_ACEOF
15569 #line $LINENO "configure"
15570 /* confdefs.h.  */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h.  */
15575 #include <math.h>
15576                       #ifdef HAVE_IEEEFP_H
15577                       #include <ieeefp.h>
15578                       #endif
15579
15580 int
15581 main ()
15582 {
15583  finitef(0);
15584   ;
15585   return 0;
15586 }
15587 _ACEOF
15588 rm -f conftest.$ac_objext
15589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15590   (eval $ac_compile) 2>&5
15591   ac_status=$?
15592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593   (exit $ac_status); } &&
15594          { ac_try='test -s conftest.$ac_objext'
15595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596   (eval $ac_try) 2>&5
15597   ac_status=$?
15598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599   (exit $ac_status); }; }; then
15600   glibcxx_cv_func_finitef_use=yes
15601 else
15602   echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15604
15605 glibcxx_cv_func_finitef_use=no
15606 fi
15607 rm -f conftest.$ac_objext conftest.$ac_ext
15608       ac_ext=c
15609 ac_cpp='$CPP $CPPFLAGS'
15610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15613
15614
15615 fi
15616
15617   fi
15618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15619 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15620
15621   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15622
15623 for ac_func in finitef
15624 do
15625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15626 echo "$as_me:$LINENO: checking for $ac_func" >&5
15627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15628 if eval "test \"\${$as_ac_var+set}\" = set"; then
15629   echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631   if test x$gcc_no_link = xyes; then
15632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15634    { (exit 1); exit 1; }; }
15635 fi
15636 cat >conftest.$ac_ext <<_ACEOF
15637 #line $LINENO "configure"
15638 /* confdefs.h.  */
15639 _ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h.  */
15643 /* System header to define __stub macros and hopefully few prototypes,
15644     which can conflict with char $ac_func (); below.
15645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15646     <limits.h> exists even on freestanding compilers.  */
15647 #ifdef __STDC__
15648 # include <limits.h>
15649 #else
15650 # include <assert.h>
15651 #endif
15652 /* Override any gcc2 internal prototype to avoid an error.  */
15653 #ifdef __cplusplus
15654 extern "C"
15655 {
15656 #endif
15657 /* We use char because int might match the return type of a gcc2
15658    builtin and then its argument prototype would still apply.  */
15659 char $ac_func ();
15660 /* The GNU C library defines this for functions which it implements
15661     to always fail with ENOSYS.  Some functions are actually named
15662     something starting with __ and the normal name is an alias.  */
15663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15664 choke me
15665 #else
15666 char (*f) () = $ac_func;
15667 #endif
15668 #ifdef __cplusplus
15669 }
15670 #endif
15671
15672 int
15673 main ()
15674 {
15675 return f != $ac_func;
15676   ;
15677   return 0;
15678 }
15679 _ACEOF
15680 rm -f conftest.$ac_objext conftest$ac_exeext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15682   (eval $ac_link) 2>&5
15683   ac_status=$?
15684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685   (exit $ac_status); } &&
15686          { ac_try='test -s conftest$ac_exeext'
15687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688   (eval $ac_try) 2>&5
15689   ac_status=$?
15690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691   (exit $ac_status); }; }; then
15692   eval "$as_ac_var=yes"
15693 else
15694   echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 eval "$as_ac_var=no"
15698 fi
15699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15700 fi
15701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15703 if test `eval echo '${'$as_ac_var'}'` = yes; then
15704   cat >>confdefs.h <<_ACEOF
15705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15706 _ACEOF
15707
15708 fi
15709 done
15710
15711   else
15712
15713   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15714 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15715   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15716     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15717   echo $ECHO_N "(cached) $ECHO_C" >&6
15718 else
15719
15720
15721
15722       ac_ext=cc
15723 ac_cpp='$CXXCPP $CPPFLAGS'
15724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15727
15728       cat >conftest.$ac_ext <<_ACEOF
15729 #line $LINENO "configure"
15730 /* confdefs.h.  */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h.  */
15735 #include <math.h>
15736                       #ifdef HAVE_IEEEFP_H
15737                       #include <ieeefp.h>
15738                       #endif
15739
15740 int
15741 main ()
15742 {
15743  _finitef(0);
15744   ;
15745   return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750   (eval $ac_compile) 2>&5
15751   ac_status=$?
15752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753   (exit $ac_status); } &&
15754          { ac_try='test -s conftest.$ac_objext'
15755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756   (eval $ac_try) 2>&5
15757   ac_status=$?
15758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759   (exit $ac_status); }; }; then
15760   glibcxx_cv_func__finitef_use=yes
15761 else
15762   echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15764
15765 glibcxx_cv_func__finitef_use=no
15766 fi
15767 rm -f conftest.$ac_objext conftest.$ac_ext
15768       ac_ext=c
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15773
15774
15775 fi
15776
15777   fi
15778   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15779 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15780
15781     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15782
15783 for ac_func in _finitef
15784 do
15785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15786 echo "$as_me:$LINENO: checking for $ac_func" >&5
15787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15788 if eval "test \"\${$as_ac_var+set}\" = set"; then
15789   echo $ECHO_N "(cached) $ECHO_C" >&6
15790 else
15791   if test x$gcc_no_link = xyes; then
15792   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15794    { (exit 1); exit 1; }; }
15795 fi
15796 cat >conftest.$ac_ext <<_ACEOF
15797 #line $LINENO "configure"
15798 /* confdefs.h.  */
15799 _ACEOF
15800 cat confdefs.h >>conftest.$ac_ext
15801 cat >>conftest.$ac_ext <<_ACEOF
15802 /* end confdefs.h.  */
15803 /* System header to define __stub macros and hopefully few prototypes,
15804     which can conflict with char $ac_func (); below.
15805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15806     <limits.h> exists even on freestanding compilers.  */
15807 #ifdef __STDC__
15808 # include <limits.h>
15809 #else
15810 # include <assert.h>
15811 #endif
15812 /* Override any gcc2 internal prototype to avoid an error.  */
15813 #ifdef __cplusplus
15814 extern "C"
15815 {
15816 #endif
15817 /* We use char because int might match the return type of a gcc2
15818    builtin and then its argument prototype would still apply.  */
15819 char $ac_func ();
15820 /* The GNU C library defines this for functions which it implements
15821     to always fail with ENOSYS.  Some functions are actually named
15822     something starting with __ and the normal name is an alias.  */
15823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15824 choke me
15825 #else
15826 char (*f) () = $ac_func;
15827 #endif
15828 #ifdef __cplusplus
15829 }
15830 #endif
15831
15832 int
15833 main ()
15834 {
15835 return f != $ac_func;
15836   ;
15837   return 0;
15838 }
15839 _ACEOF
15840 rm -f conftest.$ac_objext conftest$ac_exeext
15841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15842   (eval $ac_link) 2>&5
15843   ac_status=$?
15844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845   (exit $ac_status); } &&
15846          { ac_try='test -s conftest$ac_exeext'
15847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848   (eval $ac_try) 2>&5
15849   ac_status=$?
15850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851   (exit $ac_status); }; }; then
15852   eval "$as_ac_var=yes"
15853 else
15854   echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 eval "$as_ac_var=no"
15858 fi
15859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15860 fi
15861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15863 if test `eval echo '${'$as_ac_var'}'` = yes; then
15864   cat >>confdefs.h <<_ACEOF
15865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15866 _ACEOF
15867
15868 fi
15869 done
15870
15871     fi
15872   fi
15873
15874
15875
15876   echo "$as_me:$LINENO: checking for long double trig functions" >&5
15877 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15878   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15879   echo $ECHO_N "(cached) $ECHO_C" >&6
15880 else
15881
15882
15883
15884     ac_ext=cc
15885 ac_cpp='$CXXCPP $CPPFLAGS'
15886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15889
15890     cat >conftest.$ac_ext <<_ACEOF
15891 #line $LINENO "configure"
15892 /* confdefs.h.  */
15893 _ACEOF
15894 cat confdefs.h >>conftest.$ac_ext
15895 cat >>conftest.$ac_ext <<_ACEOF
15896 /* end confdefs.h.  */
15897 #include <math.h>
15898 int
15899 main ()
15900 {
15901  `for x in acosl asinl atanl \
15902                                           cosl sinl tanl \
15903                                           coshl sinhl tanhl; do echo "$x (0);"; done`
15904   ;
15905   return 0;
15906 }
15907 _ACEOF
15908 rm -f conftest.$ac_objext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15910   (eval $ac_compile) 2>&5
15911   ac_status=$?
15912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913   (exit $ac_status); } &&
15914          { ac_try='test -s conftest.$ac_objext'
15915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916   (eval $ac_try) 2>&5
15917   ac_status=$?
15918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919   (exit $ac_status); }; }; then
15920   glibcxx_cv_func_long_double_trig_use=yes
15921 else
15922   echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15924
15925 glibcxx_cv_func_long_double_trig_use=no
15926 fi
15927 rm -f conftest.$ac_objext conftest.$ac_ext
15928     ac_ext=c
15929 ac_cpp='$CPP $CPPFLAGS'
15930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933
15934 fi
15935
15936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15937 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15938   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948 for ac_func in acosl asinl atanl \
15949                                           cosl sinl tanl \
15950                                           coshl sinhl tanhl
15951 do
15952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15953 echo "$as_me:$LINENO: checking for $ac_func" >&5
15954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15955 if eval "test \"\${$as_ac_var+set}\" = set"; then
15956   echo $ECHO_N "(cached) $ECHO_C" >&6
15957 else
15958   if test x$gcc_no_link = xyes; then
15959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15961    { (exit 1); exit 1; }; }
15962 fi
15963 cat >conftest.$ac_ext <<_ACEOF
15964 #line $LINENO "configure"
15965 /* confdefs.h.  */
15966 _ACEOF
15967 cat confdefs.h >>conftest.$ac_ext
15968 cat >>conftest.$ac_ext <<_ACEOF
15969 /* end confdefs.h.  */
15970 /* System header to define __stub macros and hopefully few prototypes,
15971     which can conflict with char $ac_func (); below.
15972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15973     <limits.h> exists even on freestanding compilers.  */
15974 #ifdef __STDC__
15975 # include <limits.h>
15976 #else
15977 # include <assert.h>
15978 #endif
15979 /* Override any gcc2 internal prototype to avoid an error.  */
15980 #ifdef __cplusplus
15981 extern "C"
15982 {
15983 #endif
15984 /* We use char because int might match the return type of a gcc2
15985    builtin and then its argument prototype would still apply.  */
15986 char $ac_func ();
15987 /* The GNU C library defines this for functions which it implements
15988     to always fail with ENOSYS.  Some functions are actually named
15989     something starting with __ and the normal name is an alias.  */
15990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15991 choke me
15992 #else
15993 char (*f) () = $ac_func;
15994 #endif
15995 #ifdef __cplusplus
15996 }
15997 #endif
15998
15999 int
16000 main ()
16001 {
16002 return f != $ac_func;
16003   ;
16004   return 0;
16005 }
16006 _ACEOF
16007 rm -f conftest.$ac_objext conftest$ac_exeext
16008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16009   (eval $ac_link) 2>&5
16010   ac_status=$?
16011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012   (exit $ac_status); } &&
16013          { ac_try='test -s conftest$ac_exeext'
16014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015   (eval $ac_try) 2>&5
16016   ac_status=$?
16017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018   (exit $ac_status); }; }; then
16019   eval "$as_ac_var=yes"
16020 else
16021   echo "$as_me: failed program was:" >&5
16022 sed 's/^/| /' conftest.$ac_ext >&5
16023
16024 eval "$as_ac_var=no"
16025 fi
16026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16027 fi
16028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16030 if test `eval echo '${'$as_ac_var'}'` = yes; then
16031   cat >>confdefs.h <<_ACEOF
16032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16033 _ACEOF
16034
16035 fi
16036 done
16037
16038   fi
16039
16040
16041   echo "$as_me:$LINENO: checking for long double round functions" >&5
16042 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16043   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16044   echo $ECHO_N "(cached) $ECHO_C" >&6
16045 else
16046
16047
16048
16049     ac_ext=cc
16050 ac_cpp='$CXXCPP $CPPFLAGS'
16051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16054
16055     cat >conftest.$ac_ext <<_ACEOF
16056 #line $LINENO "configure"
16057 /* confdefs.h.  */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h.  */
16062 #include <math.h>
16063 int
16064 main ()
16065 {
16066  `for x in ceill floorl; do echo "$x (0);"; done`
16067   ;
16068   return 0;
16069 }
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073   (eval $ac_compile) 2>&5
16074   ac_status=$?
16075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076   (exit $ac_status); } &&
16077          { ac_try='test -s conftest.$ac_objext'
16078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079   (eval $ac_try) 2>&5
16080   ac_status=$?
16081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082   (exit $ac_status); }; }; then
16083   glibcxx_cv_func_long_double_round_use=yes
16084 else
16085   echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 glibcxx_cv_func_long_double_round_use=no
16089 fi
16090 rm -f conftest.$ac_objext conftest.$ac_ext
16091     ac_ext=c
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096
16097 fi
16098
16099   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16100 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16101   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16102
16103
16104 for ac_func in ceill floorl
16105 do
16106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16107 echo "$as_me:$LINENO: checking for $ac_func" >&5
16108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16109 if eval "test \"\${$as_ac_var+set}\" = set"; then
16110   echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112   if test x$gcc_no_link = xyes; then
16113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16115    { (exit 1); exit 1; }; }
16116 fi
16117 cat >conftest.$ac_ext <<_ACEOF
16118 #line $LINENO "configure"
16119 /* confdefs.h.  */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h.  */
16124 /* System header to define __stub macros and hopefully few prototypes,
16125     which can conflict with char $ac_func (); below.
16126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16127     <limits.h> exists even on freestanding compilers.  */
16128 #ifdef __STDC__
16129 # include <limits.h>
16130 #else
16131 # include <assert.h>
16132 #endif
16133 /* Override any gcc2 internal prototype to avoid an error.  */
16134 #ifdef __cplusplus
16135 extern "C"
16136 {
16137 #endif
16138 /* We use char because int might match the return type of a gcc2
16139    builtin and then its argument prototype would still apply.  */
16140 char $ac_func ();
16141 /* The GNU C library defines this for functions which it implements
16142     to always fail with ENOSYS.  Some functions are actually named
16143     something starting with __ and the normal name is an alias.  */
16144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16145 choke me
16146 #else
16147 char (*f) () = $ac_func;
16148 #endif
16149 #ifdef __cplusplus
16150 }
16151 #endif
16152
16153 int
16154 main ()
16155 {
16156 return f != $ac_func;
16157   ;
16158   return 0;
16159 }
16160 _ACEOF
16161 rm -f conftest.$ac_objext conftest$ac_exeext
16162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16163   (eval $ac_link) 2>&5
16164   ac_status=$?
16165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166   (exit $ac_status); } &&
16167          { ac_try='test -s conftest$ac_exeext'
16168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169   (eval $ac_try) 2>&5
16170   ac_status=$?
16171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172   (exit $ac_status); }; }; then
16173   eval "$as_ac_var=yes"
16174 else
16175   echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16177
16178 eval "$as_ac_var=no"
16179 fi
16180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16181 fi
16182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16184 if test `eval echo '${'$as_ac_var'}'` = yes; then
16185   cat >>confdefs.h <<_ACEOF
16186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16187 _ACEOF
16188
16189 fi
16190 done
16191
16192   fi
16193
16194
16195
16196   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16197 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16198   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16199     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16200   echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202
16203
16204
16205       ac_ext=cc
16206 ac_cpp='$CXXCPP $CPPFLAGS'
16207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16210
16211       cat >conftest.$ac_ext <<_ACEOF
16212 #line $LINENO "configure"
16213 /* confdefs.h.  */
16214 _ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h.  */
16218 #include <math.h>
16219                       #ifdef HAVE_IEEEFP_H
16220                       #include <ieeefp.h>
16221                       #endif
16222
16223 int
16224 main ()
16225 {
16226  isnanl(0);
16227   ;
16228   return 0;
16229 }
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233   (eval $ac_compile) 2>&5
16234   ac_status=$?
16235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236   (exit $ac_status); } &&
16237          { ac_try='test -s conftest.$ac_objext'
16238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239   (eval $ac_try) 2>&5
16240   ac_status=$?
16241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242   (exit $ac_status); }; }; then
16243   glibcxx_cv_func_isnanl_use=yes
16244 else
16245   echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.$ac_ext >&5
16247
16248 glibcxx_cv_func_isnanl_use=no
16249 fi
16250 rm -f conftest.$ac_objext conftest.$ac_ext
16251       ac_ext=c
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16256
16257
16258 fi
16259
16260   fi
16261   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16262 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16263
16264   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16265
16266 for ac_func in isnanl
16267 do
16268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16269 echo "$as_me:$LINENO: checking for $ac_func" >&5
16270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16271 if eval "test \"\${$as_ac_var+set}\" = set"; then
16272   echo $ECHO_N "(cached) $ECHO_C" >&6
16273 else
16274   if test x$gcc_no_link = xyes; then
16275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16277    { (exit 1); exit 1; }; }
16278 fi
16279 cat >conftest.$ac_ext <<_ACEOF
16280 #line $LINENO "configure"
16281 /* confdefs.h.  */
16282 _ACEOF
16283 cat confdefs.h >>conftest.$ac_ext
16284 cat >>conftest.$ac_ext <<_ACEOF
16285 /* end confdefs.h.  */
16286 /* System header to define __stub macros and hopefully few prototypes,
16287     which can conflict with char $ac_func (); below.
16288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16289     <limits.h> exists even on freestanding compilers.  */
16290 #ifdef __STDC__
16291 # include <limits.h>
16292 #else
16293 # include <assert.h>
16294 #endif
16295 /* Override any gcc2 internal prototype to avoid an error.  */
16296 #ifdef __cplusplus
16297 extern "C"
16298 {
16299 #endif
16300 /* We use char because int might match the return type of a gcc2
16301    builtin and then its argument prototype would still apply.  */
16302 char $ac_func ();
16303 /* The GNU C library defines this for functions which it implements
16304     to always fail with ENOSYS.  Some functions are actually named
16305     something starting with __ and the normal name is an alias.  */
16306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16307 choke me
16308 #else
16309 char (*f) () = $ac_func;
16310 #endif
16311 #ifdef __cplusplus
16312 }
16313 #endif
16314
16315 int
16316 main ()
16317 {
16318 return f != $ac_func;
16319   ;
16320   return 0;
16321 }
16322 _ACEOF
16323 rm -f conftest.$ac_objext conftest$ac_exeext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16325   (eval $ac_link) 2>&5
16326   ac_status=$?
16327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328   (exit $ac_status); } &&
16329          { ac_try='test -s conftest$ac_exeext'
16330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331   (eval $ac_try) 2>&5
16332   ac_status=$?
16333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334   (exit $ac_status); }; }; then
16335   eval "$as_ac_var=yes"
16336 else
16337   echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16339
16340 eval "$as_ac_var=no"
16341 fi
16342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16343 fi
16344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16346 if test `eval echo '${'$as_ac_var'}'` = yes; then
16347   cat >>confdefs.h <<_ACEOF
16348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16349 _ACEOF
16350
16351 fi
16352 done
16353
16354   else
16355
16356   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16357 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16358   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16359     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16360   echo $ECHO_N "(cached) $ECHO_C" >&6
16361 else
16362
16363
16364
16365       ac_ext=cc
16366 ac_cpp='$CXXCPP $CPPFLAGS'
16367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16370
16371       cat >conftest.$ac_ext <<_ACEOF
16372 #line $LINENO "configure"
16373 /* confdefs.h.  */
16374 _ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h.  */
16378 #include <math.h>
16379                       #ifdef HAVE_IEEEFP_H
16380                       #include <ieeefp.h>
16381                       #endif
16382
16383 int
16384 main ()
16385 {
16386  _isnanl(0);
16387   ;
16388   return 0;
16389 }
16390 _ACEOF
16391 rm -f conftest.$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393   (eval $ac_compile) 2>&5
16394   ac_status=$?
16395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396   (exit $ac_status); } &&
16397          { ac_try='test -s conftest.$ac_objext'
16398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399   (eval $ac_try) 2>&5
16400   ac_status=$?
16401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402   (exit $ac_status); }; }; then
16403   glibcxx_cv_func__isnanl_use=yes
16404 else
16405   echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 glibcxx_cv_func__isnanl_use=no
16409 fi
16410 rm -f conftest.$ac_objext conftest.$ac_ext
16411       ac_ext=c
16412 ac_cpp='$CPP $CPPFLAGS'
16413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16416
16417
16418 fi
16419
16420   fi
16421   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16422 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16423
16424     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16425
16426 for ac_func in _isnanl
16427 do
16428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16429 echo "$as_me:$LINENO: checking for $ac_func" >&5
16430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16431 if eval "test \"\${$as_ac_var+set}\" = set"; then
16432   echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16434   if test x$gcc_no_link = xyes; then
16435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16437    { (exit 1); exit 1; }; }
16438 fi
16439 cat >conftest.$ac_ext <<_ACEOF
16440 #line $LINENO "configure"
16441 /* confdefs.h.  */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h.  */
16446 /* System header to define __stub macros and hopefully few prototypes,
16447     which can conflict with char $ac_func (); below.
16448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16449     <limits.h> exists even on freestanding compilers.  */
16450 #ifdef __STDC__
16451 # include <limits.h>
16452 #else
16453 # include <assert.h>
16454 #endif
16455 /* Override any gcc2 internal prototype to avoid an error.  */
16456 #ifdef __cplusplus
16457 extern "C"
16458 {
16459 #endif
16460 /* We use char because int might match the return type of a gcc2
16461    builtin and then its argument prototype would still apply.  */
16462 char $ac_func ();
16463 /* The GNU C library defines this for functions which it implements
16464     to always fail with ENOSYS.  Some functions are actually named
16465     something starting with __ and the normal name is an alias.  */
16466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16467 choke me
16468 #else
16469 char (*f) () = $ac_func;
16470 #endif
16471 #ifdef __cplusplus
16472 }
16473 #endif
16474
16475 int
16476 main ()
16477 {
16478 return f != $ac_func;
16479   ;
16480   return 0;
16481 }
16482 _ACEOF
16483 rm -f conftest.$ac_objext conftest$ac_exeext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16485   (eval $ac_link) 2>&5
16486   ac_status=$?
16487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488   (exit $ac_status); } &&
16489          { ac_try='test -s conftest$ac_exeext'
16490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491   (eval $ac_try) 2>&5
16492   ac_status=$?
16493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494   (exit $ac_status); }; }; then
16495   eval "$as_ac_var=yes"
16496 else
16497   echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16499
16500 eval "$as_ac_var=no"
16501 fi
16502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16503 fi
16504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16506 if test `eval echo '${'$as_ac_var'}'` = yes; then
16507   cat >>confdefs.h <<_ACEOF
16508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16509 _ACEOF
16510
16511 fi
16512 done
16513
16514     fi
16515   fi
16516
16517
16518
16519   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16521   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16522     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16523   echo $ECHO_N "(cached) $ECHO_C" >&6
16524 else
16525
16526
16527
16528       ac_ext=cc
16529 ac_cpp='$CXXCPP $CPPFLAGS'
16530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16533
16534       cat >conftest.$ac_ext <<_ACEOF
16535 #line $LINENO "configure"
16536 /* confdefs.h.  */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h.  */
16541 #include <math.h>
16542                       #ifdef HAVE_IEEEFP_H
16543                       #include <ieeefp.h>
16544                       #endif
16545
16546 int
16547 main ()
16548 {
16549  isinfl(0);
16550   ;
16551   return 0;
16552 }
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556   (eval $ac_compile) 2>&5
16557   ac_status=$?
16558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559   (exit $ac_status); } &&
16560          { ac_try='test -s conftest.$ac_objext'
16561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562   (eval $ac_try) 2>&5
16563   ac_status=$?
16564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565   (exit $ac_status); }; }; then
16566   glibcxx_cv_func_isinfl_use=yes
16567 else
16568   echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16570
16571 glibcxx_cv_func_isinfl_use=no
16572 fi
16573 rm -f conftest.$ac_objext conftest.$ac_ext
16574       ac_ext=c
16575 ac_cpp='$CPP $CPPFLAGS'
16576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16579
16580
16581 fi
16582
16583   fi
16584   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16585 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16586
16587   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16588
16589 for ac_func in isinfl
16590 do
16591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16592 echo "$as_me:$LINENO: checking for $ac_func" >&5
16593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16594 if eval "test \"\${$as_ac_var+set}\" = set"; then
16595   echo $ECHO_N "(cached) $ECHO_C" >&6
16596 else
16597   if test x$gcc_no_link = xyes; then
16598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16600    { (exit 1); exit 1; }; }
16601 fi
16602 cat >conftest.$ac_ext <<_ACEOF
16603 #line $LINENO "configure"
16604 /* confdefs.h.  */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h.  */
16609 /* System header to define __stub macros and hopefully few prototypes,
16610     which can conflict with char $ac_func (); below.
16611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16612     <limits.h> exists even on freestanding compilers.  */
16613 #ifdef __STDC__
16614 # include <limits.h>
16615 #else
16616 # include <assert.h>
16617 #endif
16618 /* Override any gcc2 internal prototype to avoid an error.  */
16619 #ifdef __cplusplus
16620 extern "C"
16621 {
16622 #endif
16623 /* We use char because int might match the return type of a gcc2
16624    builtin and then its argument prototype would still apply.  */
16625 char $ac_func ();
16626 /* The GNU C library defines this for functions which it implements
16627     to always fail with ENOSYS.  Some functions are actually named
16628     something starting with __ and the normal name is an alias.  */
16629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16630 choke me
16631 #else
16632 char (*f) () = $ac_func;
16633 #endif
16634 #ifdef __cplusplus
16635 }
16636 #endif
16637
16638 int
16639 main ()
16640 {
16641 return f != $ac_func;
16642   ;
16643   return 0;
16644 }
16645 _ACEOF
16646 rm -f conftest.$ac_objext conftest$ac_exeext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16648   (eval $ac_link) 2>&5
16649   ac_status=$?
16650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651   (exit $ac_status); } &&
16652          { ac_try='test -s conftest$ac_exeext'
16653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654   (eval $ac_try) 2>&5
16655   ac_status=$?
16656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657   (exit $ac_status); }; }; then
16658   eval "$as_ac_var=yes"
16659 else
16660   echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16662
16663 eval "$as_ac_var=no"
16664 fi
16665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16666 fi
16667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16669 if test `eval echo '${'$as_ac_var'}'` = yes; then
16670   cat >>confdefs.h <<_ACEOF
16671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16672 _ACEOF
16673
16674 fi
16675 done
16676
16677   else
16678
16679   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16680 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16681   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16682     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16683   echo $ECHO_N "(cached) $ECHO_C" >&6
16684 else
16685
16686
16687
16688       ac_ext=cc
16689 ac_cpp='$CXXCPP $CPPFLAGS'
16690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16693
16694       cat >conftest.$ac_ext <<_ACEOF
16695 #line $LINENO "configure"
16696 /* confdefs.h.  */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h.  */
16701 #include <math.h>
16702                       #ifdef HAVE_IEEEFP_H
16703                       #include <ieeefp.h>
16704                       #endif
16705
16706 int
16707 main ()
16708 {
16709  _isinfl(0);
16710   ;
16711   return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716   (eval $ac_compile) 2>&5
16717   ac_status=$?
16718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719   (exit $ac_status); } &&
16720          { ac_try='test -s conftest.$ac_objext'
16721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722   (eval $ac_try) 2>&5
16723   ac_status=$?
16724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725   (exit $ac_status); }; }; then
16726   glibcxx_cv_func__isinfl_use=yes
16727 else
16728   echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 glibcxx_cv_func__isinfl_use=no
16732 fi
16733 rm -f conftest.$ac_objext conftest.$ac_ext
16734       ac_ext=c
16735 ac_cpp='$CPP $CPPFLAGS'
16736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16739
16740
16741 fi
16742
16743   fi
16744   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16745 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16746
16747     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16748
16749 for ac_func in _isinfl
16750 do
16751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16752 echo "$as_me:$LINENO: checking for $ac_func" >&5
16753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16754 if eval "test \"\${$as_ac_var+set}\" = set"; then
16755   echo $ECHO_N "(cached) $ECHO_C" >&6
16756 else
16757   if test x$gcc_no_link = xyes; then
16758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16760    { (exit 1); exit 1; }; }
16761 fi
16762 cat >conftest.$ac_ext <<_ACEOF
16763 #line $LINENO "configure"
16764 /* confdefs.h.  */
16765 _ACEOF
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h.  */
16769 /* System header to define __stub macros and hopefully few prototypes,
16770     which can conflict with char $ac_func (); below.
16771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16772     <limits.h> exists even on freestanding compilers.  */
16773 #ifdef __STDC__
16774 # include <limits.h>
16775 #else
16776 # include <assert.h>
16777 #endif
16778 /* Override any gcc2 internal prototype to avoid an error.  */
16779 #ifdef __cplusplus
16780 extern "C"
16781 {
16782 #endif
16783 /* We use char because int might match the return type of a gcc2
16784    builtin and then its argument prototype would still apply.  */
16785 char $ac_func ();
16786 /* The GNU C library defines this for functions which it implements
16787     to always fail with ENOSYS.  Some functions are actually named
16788     something starting with __ and the normal name is an alias.  */
16789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16790 choke me
16791 #else
16792 char (*f) () = $ac_func;
16793 #endif
16794 #ifdef __cplusplus
16795 }
16796 #endif
16797
16798 int
16799 main ()
16800 {
16801 return f != $ac_func;
16802   ;
16803   return 0;
16804 }
16805 _ACEOF
16806 rm -f conftest.$ac_objext conftest$ac_exeext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16808   (eval $ac_link) 2>&5
16809   ac_status=$?
16810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811   (exit $ac_status); } &&
16812          { ac_try='test -s conftest$ac_exeext'
16813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814   (eval $ac_try) 2>&5
16815   ac_status=$?
16816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817   (exit $ac_status); }; }; then
16818   eval "$as_ac_var=yes"
16819 else
16820   echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16822
16823 eval "$as_ac_var=no"
16824 fi
16825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16826 fi
16827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16829 if test `eval echo '${'$as_ac_var'}'` = yes; then
16830   cat >>confdefs.h <<_ACEOF
16831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16832 _ACEOF
16833
16834 fi
16835 done
16836
16837     fi
16838   fi
16839
16840
16841
16842   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16843 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16844   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16845     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16846   echo $ECHO_N "(cached) $ECHO_C" >&6
16847 else
16848
16849
16850
16851       ac_ext=cc
16852 ac_cpp='$CXXCPP $CPPFLAGS'
16853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16856
16857       cat >conftest.$ac_ext <<_ACEOF
16858 #line $LINENO "configure"
16859 /* confdefs.h.  */
16860 _ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h.  */
16864 #include <math.h>
16865 int
16866 main ()
16867 {
16868  copysignl(0, 0);
16869   ;
16870   return 0;
16871 }
16872 _ACEOF
16873 rm -f conftest.$ac_objext
16874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16875   (eval $ac_compile) 2>&5
16876   ac_status=$?
16877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878   (exit $ac_status); } &&
16879          { ac_try='test -s conftest.$ac_objext'
16880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881   (eval $ac_try) 2>&5
16882   ac_status=$?
16883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884   (exit $ac_status); }; }; then
16885   glibcxx_cv_func_copysignl_use=yes
16886 else
16887   echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.$ac_ext >&5
16889
16890 glibcxx_cv_func_copysignl_use=no
16891 fi
16892 rm -f conftest.$ac_objext conftest.$ac_ext
16893       ac_ext=c
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16898
16899
16900 fi
16901
16902   fi
16903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16904 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16905
16906   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16907
16908 for ac_func in copysignl
16909 do
16910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16911 echo "$as_me:$LINENO: checking for $ac_func" >&5
16912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16913 if eval "test \"\${$as_ac_var+set}\" = set"; then
16914   echo $ECHO_N "(cached) $ECHO_C" >&6
16915 else
16916   if test x$gcc_no_link = xyes; then
16917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16919    { (exit 1); exit 1; }; }
16920 fi
16921 cat >conftest.$ac_ext <<_ACEOF
16922 #line $LINENO "configure"
16923 /* confdefs.h.  */
16924 _ACEOF
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h.  */
16928 /* System header to define __stub macros and hopefully few prototypes,
16929     which can conflict with char $ac_func (); below.
16930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16931     <limits.h> exists even on freestanding compilers.  */
16932 #ifdef __STDC__
16933 # include <limits.h>
16934 #else
16935 # include <assert.h>
16936 #endif
16937 /* Override any gcc2 internal prototype to avoid an error.  */
16938 #ifdef __cplusplus
16939 extern "C"
16940 {
16941 #endif
16942 /* We use char because int might match the return type of a gcc2
16943    builtin and then its argument prototype would still apply.  */
16944 char $ac_func ();
16945 /* The GNU C library defines this for functions which it implements
16946     to always fail with ENOSYS.  Some functions are actually named
16947     something starting with __ and the normal name is an alias.  */
16948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16949 choke me
16950 #else
16951 char (*f) () = $ac_func;
16952 #endif
16953 #ifdef __cplusplus
16954 }
16955 #endif
16956
16957 int
16958 main ()
16959 {
16960 return f != $ac_func;
16961   ;
16962   return 0;
16963 }
16964 _ACEOF
16965 rm -f conftest.$ac_objext conftest$ac_exeext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16967   (eval $ac_link) 2>&5
16968   ac_status=$?
16969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970   (exit $ac_status); } &&
16971          { ac_try='test -s conftest$ac_exeext'
16972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973   (eval $ac_try) 2>&5
16974   ac_status=$?
16975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976   (exit $ac_status); }; }; then
16977   eval "$as_ac_var=yes"
16978 else
16979   echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16981
16982 eval "$as_ac_var=no"
16983 fi
16984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16985 fi
16986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16988 if test `eval echo '${'$as_ac_var'}'` = yes; then
16989   cat >>confdefs.h <<_ACEOF
16990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16991 _ACEOF
16992
16993 fi
16994 done
16995
16996   else
16997
16998   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16999 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17000   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17001     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17002   echo $ECHO_N "(cached) $ECHO_C" >&6
17003 else
17004
17005
17006
17007       ac_ext=cc
17008 ac_cpp='$CXXCPP $CPPFLAGS'
17009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17012
17013       cat >conftest.$ac_ext <<_ACEOF
17014 #line $LINENO "configure"
17015 /* confdefs.h.  */
17016 _ACEOF
17017 cat confdefs.h >>conftest.$ac_ext
17018 cat >>conftest.$ac_ext <<_ACEOF
17019 /* end confdefs.h.  */
17020 #include <math.h>
17021 int
17022 main ()
17023 {
17024  _copysignl(0, 0);
17025   ;
17026   return 0;
17027 }
17028 _ACEOF
17029 rm -f conftest.$ac_objext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17031   (eval $ac_compile) 2>&5
17032   ac_status=$?
17033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034   (exit $ac_status); } &&
17035          { ac_try='test -s conftest.$ac_objext'
17036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037   (eval $ac_try) 2>&5
17038   ac_status=$?
17039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040   (exit $ac_status); }; }; then
17041   glibcxx_cv_func__copysignl_use=yes
17042 else
17043   echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17045
17046 glibcxx_cv_func__copysignl_use=no
17047 fi
17048 rm -f conftest.$ac_objext conftest.$ac_ext
17049       ac_ext=c
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17054
17055
17056 fi
17057
17058   fi
17059   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17060 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17061
17062     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17063
17064 for ac_func in _copysignl
17065 do
17066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17067 echo "$as_me:$LINENO: checking for $ac_func" >&5
17068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17069 if eval "test \"\${$as_ac_var+set}\" = set"; then
17070   echo $ECHO_N "(cached) $ECHO_C" >&6
17071 else
17072   if test x$gcc_no_link = xyes; then
17073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17075    { (exit 1); exit 1; }; }
17076 fi
17077 cat >conftest.$ac_ext <<_ACEOF
17078 #line $LINENO "configure"
17079 /* confdefs.h.  */
17080 _ACEOF
17081 cat confdefs.h >>conftest.$ac_ext
17082 cat >>conftest.$ac_ext <<_ACEOF
17083 /* end confdefs.h.  */
17084 /* System header to define __stub macros and hopefully few prototypes,
17085     which can conflict with char $ac_func (); below.
17086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17087     <limits.h> exists even on freestanding compilers.  */
17088 #ifdef __STDC__
17089 # include <limits.h>
17090 #else
17091 # include <assert.h>
17092 #endif
17093 /* Override any gcc2 internal prototype to avoid an error.  */
17094 #ifdef __cplusplus
17095 extern "C"
17096 {
17097 #endif
17098 /* We use char because int might match the return type of a gcc2
17099    builtin and then its argument prototype would still apply.  */
17100 char $ac_func ();
17101 /* The GNU C library defines this for functions which it implements
17102     to always fail with ENOSYS.  Some functions are actually named
17103     something starting with __ and the normal name is an alias.  */
17104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17105 choke me
17106 #else
17107 char (*f) () = $ac_func;
17108 #endif
17109 #ifdef __cplusplus
17110 }
17111 #endif
17112
17113 int
17114 main ()
17115 {
17116 return f != $ac_func;
17117   ;
17118   return 0;
17119 }
17120 _ACEOF
17121 rm -f conftest.$ac_objext conftest$ac_exeext
17122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17123   (eval $ac_link) 2>&5
17124   ac_status=$?
17125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126   (exit $ac_status); } &&
17127          { ac_try='test -s conftest$ac_exeext'
17128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129   (eval $ac_try) 2>&5
17130   ac_status=$?
17131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132   (exit $ac_status); }; }; then
17133   eval "$as_ac_var=yes"
17134 else
17135   echo "$as_me: failed program was:" >&5
17136 sed 's/^/| /' conftest.$ac_ext >&5
17137
17138 eval "$as_ac_var=no"
17139 fi
17140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17141 fi
17142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17144 if test `eval echo '${'$as_ac_var'}'` = yes; then
17145   cat >>confdefs.h <<_ACEOF
17146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17147 _ACEOF
17148
17149 fi
17150 done
17151
17152     fi
17153   fi
17154
17155
17156
17157   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17158 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17159   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17160     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17161   echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163
17164
17165
17166       ac_ext=cc
17167 ac_cpp='$CXXCPP $CPPFLAGS'
17168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17171
17172       cat >conftest.$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17174 /* confdefs.h.  */
17175 _ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h.  */
17179 #include <math.h>
17180 int
17181 main ()
17182 {
17183  atan2l(0, 0);
17184   ;
17185   return 0;
17186 }
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190   (eval $ac_compile) 2>&5
17191   ac_status=$?
17192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193   (exit $ac_status); } &&
17194          { ac_try='test -s conftest.$ac_objext'
17195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196   (eval $ac_try) 2>&5
17197   ac_status=$?
17198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199   (exit $ac_status); }; }; then
17200   glibcxx_cv_func_atan2l_use=yes
17201 else
17202   echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205 glibcxx_cv_func_atan2l_use=no
17206 fi
17207 rm -f conftest.$ac_objext conftest.$ac_ext
17208       ac_ext=c
17209 ac_cpp='$CPP $CPPFLAGS'
17210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17213
17214
17215 fi
17216
17217   fi
17218   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17219 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17220
17221   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17222
17223 for ac_func in atan2l
17224 do
17225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17226 echo "$as_me:$LINENO: checking for $ac_func" >&5
17227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17228 if eval "test \"\${$as_ac_var+set}\" = set"; then
17229   echo $ECHO_N "(cached) $ECHO_C" >&6
17230 else
17231   if test x$gcc_no_link = xyes; then
17232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17234    { (exit 1); exit 1; }; }
17235 fi
17236 cat >conftest.$ac_ext <<_ACEOF
17237 #line $LINENO "configure"
17238 /* confdefs.h.  */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h.  */
17243 /* System header to define __stub macros and hopefully few prototypes,
17244     which can conflict with char $ac_func (); below.
17245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17246     <limits.h> exists even on freestanding compilers.  */
17247 #ifdef __STDC__
17248 # include <limits.h>
17249 #else
17250 # include <assert.h>
17251 #endif
17252 /* Override any gcc2 internal prototype to avoid an error.  */
17253 #ifdef __cplusplus
17254 extern "C"
17255 {
17256 #endif
17257 /* We use char because int might match the return type of a gcc2
17258    builtin and then its argument prototype would still apply.  */
17259 char $ac_func ();
17260 /* The GNU C library defines this for functions which it implements
17261     to always fail with ENOSYS.  Some functions are actually named
17262     something starting with __ and the normal name is an alias.  */
17263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17264 choke me
17265 #else
17266 char (*f) () = $ac_func;
17267 #endif
17268 #ifdef __cplusplus
17269 }
17270 #endif
17271
17272 int
17273 main ()
17274 {
17275 return f != $ac_func;
17276   ;
17277   return 0;
17278 }
17279 _ACEOF
17280 rm -f conftest.$ac_objext conftest$ac_exeext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17282   (eval $ac_link) 2>&5
17283   ac_status=$?
17284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285   (exit $ac_status); } &&
17286          { ac_try='test -s conftest$ac_exeext'
17287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288   (eval $ac_try) 2>&5
17289   ac_status=$?
17290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291   (exit $ac_status); }; }; then
17292   eval "$as_ac_var=yes"
17293 else
17294   echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17296
17297 eval "$as_ac_var=no"
17298 fi
17299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17300 fi
17301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17303 if test `eval echo '${'$as_ac_var'}'` = yes; then
17304   cat >>confdefs.h <<_ACEOF
17305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17306 _ACEOF
17307
17308 fi
17309 done
17310
17311   else
17312
17313   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17314 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17315   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17316     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17317   echo $ECHO_N "(cached) $ECHO_C" >&6
17318 else
17319
17320
17321
17322       ac_ext=cc
17323 ac_cpp='$CXXCPP $CPPFLAGS'
17324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17327
17328       cat >conftest.$ac_ext <<_ACEOF
17329 #line $LINENO "configure"
17330 /* confdefs.h.  */
17331 _ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h.  */
17335 #include <math.h>
17336 int
17337 main ()
17338 {
17339  _atan2l(0, 0);
17340   ;
17341   return 0;
17342 }
17343 _ACEOF
17344 rm -f conftest.$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346   (eval $ac_compile) 2>&5
17347   ac_status=$?
17348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349   (exit $ac_status); } &&
17350          { ac_try='test -s conftest.$ac_objext'
17351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352   (eval $ac_try) 2>&5
17353   ac_status=$?
17354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355   (exit $ac_status); }; }; then
17356   glibcxx_cv_func__atan2l_use=yes
17357 else
17358   echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17360
17361 glibcxx_cv_func__atan2l_use=no
17362 fi
17363 rm -f conftest.$ac_objext conftest.$ac_ext
17364       ac_ext=c
17365 ac_cpp='$CPP $CPPFLAGS'
17366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17369
17370
17371 fi
17372
17373   fi
17374   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17375 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17376
17377     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17378
17379 for ac_func in _atan2l
17380 do
17381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17382 echo "$as_me:$LINENO: checking for $ac_func" >&5
17383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17384 if eval "test \"\${$as_ac_var+set}\" = set"; then
17385   echo $ECHO_N "(cached) $ECHO_C" >&6
17386 else
17387   if test x$gcc_no_link = xyes; then
17388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17390    { (exit 1); exit 1; }; }
17391 fi
17392 cat >conftest.$ac_ext <<_ACEOF
17393 #line $LINENO "configure"
17394 /* confdefs.h.  */
17395 _ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h.  */
17399 /* System header to define __stub macros and hopefully few prototypes,
17400     which can conflict with char $ac_func (); below.
17401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17402     <limits.h> exists even on freestanding compilers.  */
17403 #ifdef __STDC__
17404 # include <limits.h>
17405 #else
17406 # include <assert.h>
17407 #endif
17408 /* Override any gcc2 internal prototype to avoid an error.  */
17409 #ifdef __cplusplus
17410 extern "C"
17411 {
17412 #endif
17413 /* We use char because int might match the return type of a gcc2
17414    builtin and then its argument prototype would still apply.  */
17415 char $ac_func ();
17416 /* The GNU C library defines this for functions which it implements
17417     to always fail with ENOSYS.  Some functions are actually named
17418     something starting with __ and the normal name is an alias.  */
17419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17420 choke me
17421 #else
17422 char (*f) () = $ac_func;
17423 #endif
17424 #ifdef __cplusplus
17425 }
17426 #endif
17427
17428 int
17429 main ()
17430 {
17431 return f != $ac_func;
17432   ;
17433   return 0;
17434 }
17435 _ACEOF
17436 rm -f conftest.$ac_objext conftest$ac_exeext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17438   (eval $ac_link) 2>&5
17439   ac_status=$?
17440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441   (exit $ac_status); } &&
17442          { ac_try='test -s conftest$ac_exeext'
17443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444   (eval $ac_try) 2>&5
17445   ac_status=$?
17446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447   (exit $ac_status); }; }; then
17448   eval "$as_ac_var=yes"
17449 else
17450   echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17452
17453 eval "$as_ac_var=no"
17454 fi
17455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17456 fi
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17459 if test `eval echo '${'$as_ac_var'}'` = yes; then
17460   cat >>confdefs.h <<_ACEOF
17461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17462 _ACEOF
17463
17464 fi
17465 done
17466
17467     fi
17468   fi
17469
17470
17471
17472   echo "$as_me:$LINENO: checking for expl declaration" >&5
17473 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17474   if test x${glibcxx_cv_func_expl_use+set} != xset; then
17475     if test "${glibcxx_cv_func_expl_use+set}" = set; then
17476   echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478
17479
17480
17481       ac_ext=cc
17482 ac_cpp='$CXXCPP $CPPFLAGS'
17483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17486
17487       cat >conftest.$ac_ext <<_ACEOF
17488 #line $LINENO "configure"
17489 /* confdefs.h.  */
17490 _ACEOF
17491 cat confdefs.h >>conftest.$ac_ext
17492 cat >>conftest.$ac_ext <<_ACEOF
17493 /* end confdefs.h.  */
17494 #include <math.h>
17495                       #ifdef HAVE_IEEEFP_H
17496                       #include <ieeefp.h>
17497                       #endif
17498
17499 int
17500 main ()
17501 {
17502  expl(0);
17503   ;
17504   return 0;
17505 }
17506 _ACEOF
17507 rm -f conftest.$ac_objext
17508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17509   (eval $ac_compile) 2>&5
17510   ac_status=$?
17511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512   (exit $ac_status); } &&
17513          { ac_try='test -s conftest.$ac_objext'
17514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515   (eval $ac_try) 2>&5
17516   ac_status=$?
17517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518   (exit $ac_status); }; }; then
17519   glibcxx_cv_func_expl_use=yes
17520 else
17521   echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17523
17524 glibcxx_cv_func_expl_use=no
17525 fi
17526 rm -f conftest.$ac_objext conftest.$ac_ext
17527       ac_ext=c
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17532
17533
17534 fi
17535
17536   fi
17537   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17538 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17539
17540   if test x$glibcxx_cv_func_expl_use = x"yes"; then
17541
17542 for ac_func in expl
17543 do
17544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17545 echo "$as_me:$LINENO: checking for $ac_func" >&5
17546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17547 if eval "test \"\${$as_ac_var+set}\" = set"; then
17548   echo $ECHO_N "(cached) $ECHO_C" >&6
17549 else
17550   if test x$gcc_no_link = xyes; then
17551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17553    { (exit 1); exit 1; }; }
17554 fi
17555 cat >conftest.$ac_ext <<_ACEOF
17556 #line $LINENO "configure"
17557 /* confdefs.h.  */
17558 _ACEOF
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h.  */
17562 /* System header to define __stub macros and hopefully few prototypes,
17563     which can conflict with char $ac_func (); below.
17564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17565     <limits.h> exists even on freestanding compilers.  */
17566 #ifdef __STDC__
17567 # include <limits.h>
17568 #else
17569 # include <assert.h>
17570 #endif
17571 /* Override any gcc2 internal prototype to avoid an error.  */
17572 #ifdef __cplusplus
17573 extern "C"
17574 {
17575 #endif
17576 /* We use char because int might match the return type of a gcc2
17577    builtin and then its argument prototype would still apply.  */
17578 char $ac_func ();
17579 /* The GNU C library defines this for functions which it implements
17580     to always fail with ENOSYS.  Some functions are actually named
17581     something starting with __ and the normal name is an alias.  */
17582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17583 choke me
17584 #else
17585 char (*f) () = $ac_func;
17586 #endif
17587 #ifdef __cplusplus
17588 }
17589 #endif
17590
17591 int
17592 main ()
17593 {
17594 return f != $ac_func;
17595   ;
17596   return 0;
17597 }
17598 _ACEOF
17599 rm -f conftest.$ac_objext conftest$ac_exeext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17601   (eval $ac_link) 2>&5
17602   ac_status=$?
17603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604   (exit $ac_status); } &&
17605          { ac_try='test -s conftest$ac_exeext'
17606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607   (eval $ac_try) 2>&5
17608   ac_status=$?
17609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610   (exit $ac_status); }; }; then
17611   eval "$as_ac_var=yes"
17612 else
17613   echo "$as_me: failed program was:" >&5
17614 sed 's/^/| /' conftest.$ac_ext >&5
17615
17616 eval "$as_ac_var=no"
17617 fi
17618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17619 fi
17620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17622 if test `eval echo '${'$as_ac_var'}'` = yes; then
17623   cat >>confdefs.h <<_ACEOF
17624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17625 _ACEOF
17626
17627 fi
17628 done
17629
17630   else
17631
17632   echo "$as_me:$LINENO: checking for _expl declaration" >&5
17633 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17634   if test x${glibcxx_cv_func__expl_use+set} != xset; then
17635     if test "${glibcxx_cv_func__expl_use+set}" = set; then
17636   echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638
17639
17640
17641       ac_ext=cc
17642 ac_cpp='$CXXCPP $CPPFLAGS'
17643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17646
17647       cat >conftest.$ac_ext <<_ACEOF
17648 #line $LINENO "configure"
17649 /* confdefs.h.  */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h.  */
17654 #include <math.h>
17655                       #ifdef HAVE_IEEEFP_H
17656                       #include <ieeefp.h>
17657                       #endif
17658
17659 int
17660 main ()
17661 {
17662  _expl(0);
17663   ;
17664   return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest.$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669   (eval $ac_compile) 2>&5
17670   ac_status=$?
17671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672   (exit $ac_status); } &&
17673          { ac_try='test -s conftest.$ac_objext'
17674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675   (eval $ac_try) 2>&5
17676   ac_status=$?
17677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678   (exit $ac_status); }; }; then
17679   glibcxx_cv_func__expl_use=yes
17680 else
17681   echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17683
17684 glibcxx_cv_func__expl_use=no
17685 fi
17686 rm -f conftest.$ac_objext conftest.$ac_ext
17687       ac_ext=c
17688 ac_cpp='$CPP $CPPFLAGS'
17689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17692
17693
17694 fi
17695
17696   fi
17697   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17698 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17699
17700     if test x$glibcxx_cv_func__expl_use = x"yes"; then
17701
17702 for ac_func in _expl
17703 do
17704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17705 echo "$as_me:$LINENO: checking for $ac_func" >&5
17706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17707 if eval "test \"\${$as_ac_var+set}\" = set"; then
17708   echo $ECHO_N "(cached) $ECHO_C" >&6
17709 else
17710   if test x$gcc_no_link = xyes; then
17711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17713    { (exit 1); exit 1; }; }
17714 fi
17715 cat >conftest.$ac_ext <<_ACEOF
17716 #line $LINENO "configure"
17717 /* confdefs.h.  */
17718 _ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h.  */
17722 /* System header to define __stub macros and hopefully few prototypes,
17723     which can conflict with char $ac_func (); below.
17724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17725     <limits.h> exists even on freestanding compilers.  */
17726 #ifdef __STDC__
17727 # include <limits.h>
17728 #else
17729 # include <assert.h>
17730 #endif
17731 /* Override any gcc2 internal prototype to avoid an error.  */
17732 #ifdef __cplusplus
17733 extern "C"
17734 {
17735 #endif
17736 /* We use char because int might match the return type of a gcc2
17737    builtin and then its argument prototype would still apply.  */
17738 char $ac_func ();
17739 /* The GNU C library defines this for functions which it implements
17740     to always fail with ENOSYS.  Some functions are actually named
17741     something starting with __ and the normal name is an alias.  */
17742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17743 choke me
17744 #else
17745 char (*f) () = $ac_func;
17746 #endif
17747 #ifdef __cplusplus
17748 }
17749 #endif
17750
17751 int
17752 main ()
17753 {
17754 return f != $ac_func;
17755   ;
17756   return 0;
17757 }
17758 _ACEOF
17759 rm -f conftest.$ac_objext conftest$ac_exeext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17761   (eval $ac_link) 2>&5
17762   ac_status=$?
17763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764   (exit $ac_status); } &&
17765          { ac_try='test -s conftest$ac_exeext'
17766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767   (eval $ac_try) 2>&5
17768   ac_status=$?
17769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770   (exit $ac_status); }; }; then
17771   eval "$as_ac_var=yes"
17772 else
17773   echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 eval "$as_ac_var=no"
17777 fi
17778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17779 fi
17780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17782 if test `eval echo '${'$as_ac_var'}'` = yes; then
17783   cat >>confdefs.h <<_ACEOF
17784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17785 _ACEOF
17786
17787 fi
17788 done
17789
17790     fi
17791   fi
17792
17793
17794
17795   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17796 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17797   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17798     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17799   echo $ECHO_N "(cached) $ECHO_C" >&6
17800 else
17801
17802
17803
17804       ac_ext=cc
17805 ac_cpp='$CXXCPP $CPPFLAGS'
17806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17809
17810       cat >conftest.$ac_ext <<_ACEOF
17811 #line $LINENO "configure"
17812 /* confdefs.h.  */
17813 _ACEOF
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h.  */
17817 #include <math.h>
17818                       #ifdef HAVE_IEEEFP_H
17819                       #include <ieeefp.h>
17820                       #endif
17821
17822 int
17823 main ()
17824 {
17825  fabsl(0);
17826   ;
17827   return 0;
17828 }
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832   (eval $ac_compile) 2>&5
17833   ac_status=$?
17834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835   (exit $ac_status); } &&
17836          { ac_try='test -s conftest.$ac_objext'
17837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838   (eval $ac_try) 2>&5
17839   ac_status=$?
17840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841   (exit $ac_status); }; }; then
17842   glibcxx_cv_func_fabsl_use=yes
17843 else
17844   echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17846
17847 glibcxx_cv_func_fabsl_use=no
17848 fi
17849 rm -f conftest.$ac_objext conftest.$ac_ext
17850       ac_ext=c
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17855
17856
17857 fi
17858
17859   fi
17860   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17861 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17862
17863   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17864
17865 for ac_func in fabsl
17866 do
17867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17868 echo "$as_me:$LINENO: checking for $ac_func" >&5
17869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17870 if eval "test \"\${$as_ac_var+set}\" = set"; then
17871   echo $ECHO_N "(cached) $ECHO_C" >&6
17872 else
17873   if test x$gcc_no_link = xyes; then
17874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17876    { (exit 1); exit 1; }; }
17877 fi
17878 cat >conftest.$ac_ext <<_ACEOF
17879 #line $LINENO "configure"
17880 /* confdefs.h.  */
17881 _ACEOF
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h.  */
17885 /* System header to define __stub macros and hopefully few prototypes,
17886     which can conflict with char $ac_func (); below.
17887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17888     <limits.h> exists even on freestanding compilers.  */
17889 #ifdef __STDC__
17890 # include <limits.h>
17891 #else
17892 # include <assert.h>
17893 #endif
17894 /* Override any gcc2 internal prototype to avoid an error.  */
17895 #ifdef __cplusplus
17896 extern "C"
17897 {
17898 #endif
17899 /* We use char because int might match the return type of a gcc2
17900    builtin and then its argument prototype would still apply.  */
17901 char $ac_func ();
17902 /* The GNU C library defines this for functions which it implements
17903     to always fail with ENOSYS.  Some functions are actually named
17904     something starting with __ and the normal name is an alias.  */
17905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17906 choke me
17907 #else
17908 char (*f) () = $ac_func;
17909 #endif
17910 #ifdef __cplusplus
17911 }
17912 #endif
17913
17914 int
17915 main ()
17916 {
17917 return f != $ac_func;
17918   ;
17919   return 0;
17920 }
17921 _ACEOF
17922 rm -f conftest.$ac_objext conftest$ac_exeext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17924   (eval $ac_link) 2>&5
17925   ac_status=$?
17926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927   (exit $ac_status); } &&
17928          { ac_try='test -s conftest$ac_exeext'
17929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930   (eval $ac_try) 2>&5
17931   ac_status=$?
17932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933   (exit $ac_status); }; }; then
17934   eval "$as_ac_var=yes"
17935 else
17936   echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 eval "$as_ac_var=no"
17940 fi
17941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17942 fi
17943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17945 if test `eval echo '${'$as_ac_var'}'` = yes; then
17946   cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17948 _ACEOF
17949
17950 fi
17951 done
17952
17953   else
17954
17955   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17956 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17957   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17958     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17959   echo $ECHO_N "(cached) $ECHO_C" >&6
17960 else
17961
17962
17963
17964       ac_ext=cc
17965 ac_cpp='$CXXCPP $CPPFLAGS'
17966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17969
17970       cat >conftest.$ac_ext <<_ACEOF
17971 #line $LINENO "configure"
17972 /* confdefs.h.  */
17973 _ACEOF
17974 cat confdefs.h >>conftest.$ac_ext
17975 cat >>conftest.$ac_ext <<_ACEOF
17976 /* end confdefs.h.  */
17977 #include <math.h>
17978                       #ifdef HAVE_IEEEFP_H
17979                       #include <ieeefp.h>
17980                       #endif
17981
17982 int
17983 main ()
17984 {
17985  _fabsl(0);
17986   ;
17987   return 0;
17988 }
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17992   (eval $ac_compile) 2>&5
17993   ac_status=$?
17994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995   (exit $ac_status); } &&
17996          { ac_try='test -s conftest.$ac_objext'
17997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998   (eval $ac_try) 2>&5
17999   ac_status=$?
18000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001   (exit $ac_status); }; }; then
18002   glibcxx_cv_func__fabsl_use=yes
18003 else
18004   echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18006
18007 glibcxx_cv_func__fabsl_use=no
18008 fi
18009 rm -f conftest.$ac_objext conftest.$ac_ext
18010       ac_ext=c
18011 ac_cpp='$CPP $CPPFLAGS'
18012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18015
18016
18017 fi
18018
18019   fi
18020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18021 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18022
18023     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18024
18025 for ac_func in _fabsl
18026 do
18027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18028 echo "$as_me:$LINENO: checking for $ac_func" >&5
18029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18030 if eval "test \"\${$as_ac_var+set}\" = set"; then
18031   echo $ECHO_N "(cached) $ECHO_C" >&6
18032 else
18033   if test x$gcc_no_link = xyes; then
18034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18036    { (exit 1); exit 1; }; }
18037 fi
18038 cat >conftest.$ac_ext <<_ACEOF
18039 #line $LINENO "configure"
18040 /* confdefs.h.  */
18041 _ACEOF
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h.  */
18045 /* System header to define __stub macros and hopefully few prototypes,
18046     which can conflict with char $ac_func (); below.
18047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18048     <limits.h> exists even on freestanding compilers.  */
18049 #ifdef __STDC__
18050 # include <limits.h>
18051 #else
18052 # include <assert.h>
18053 #endif
18054 /* Override any gcc2 internal prototype to avoid an error.  */
18055 #ifdef __cplusplus
18056 extern "C"
18057 {
18058 #endif
18059 /* We use char because int might match the return type of a gcc2
18060    builtin and then its argument prototype would still apply.  */
18061 char $ac_func ();
18062 /* The GNU C library defines this for functions which it implements
18063     to always fail with ENOSYS.  Some functions are actually named
18064     something starting with __ and the normal name is an alias.  */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18066 choke me
18067 #else
18068 char (*f) () = $ac_func;
18069 #endif
18070 #ifdef __cplusplus
18071 }
18072 #endif
18073
18074 int
18075 main ()
18076 {
18077 return f != $ac_func;
18078   ;
18079   return 0;
18080 }
18081 _ACEOF
18082 rm -f conftest.$ac_objext conftest$ac_exeext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18084   (eval $ac_link) 2>&5
18085   ac_status=$?
18086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087   (exit $ac_status); } &&
18088          { ac_try='test -s conftest$ac_exeext'
18089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090   (eval $ac_try) 2>&5
18091   ac_status=$?
18092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093   (exit $ac_status); }; }; then
18094   eval "$as_ac_var=yes"
18095 else
18096   echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18098
18099 eval "$as_ac_var=no"
18100 fi
18101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18102 fi
18103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18105 if test `eval echo '${'$as_ac_var'}'` = yes; then
18106   cat >>confdefs.h <<_ACEOF
18107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18108 _ACEOF
18109
18110 fi
18111 done
18112
18113     fi
18114   fi
18115
18116
18117
18118   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18119 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18120   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18121     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18122   echo $ECHO_N "(cached) $ECHO_C" >&6
18123 else
18124
18125
18126
18127       ac_ext=cc
18128 ac_cpp='$CXXCPP $CPPFLAGS'
18129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18132
18133       cat >conftest.$ac_ext <<_ACEOF
18134 #line $LINENO "configure"
18135 /* confdefs.h.  */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h.  */
18140 #include <math.h>
18141 int
18142 main ()
18143 {
18144  fmodl(0, 0);
18145   ;
18146   return 0;
18147 }
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151   (eval $ac_compile) 2>&5
18152   ac_status=$?
18153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154   (exit $ac_status); } &&
18155          { ac_try='test -s conftest.$ac_objext'
18156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157   (eval $ac_try) 2>&5
18158   ac_status=$?
18159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160   (exit $ac_status); }; }; then
18161   glibcxx_cv_func_fmodl_use=yes
18162 else
18163   echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 glibcxx_cv_func_fmodl_use=no
18167 fi
18168 rm -f conftest.$ac_objext conftest.$ac_ext
18169       ac_ext=c
18170 ac_cpp='$CPP $CPPFLAGS'
18171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18174
18175
18176 fi
18177
18178   fi
18179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18180 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18181
18182   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18183
18184 for ac_func in fmodl
18185 do
18186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18187 echo "$as_me:$LINENO: checking for $ac_func" >&5
18188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18189 if eval "test \"\${$as_ac_var+set}\" = set"; then
18190   echo $ECHO_N "(cached) $ECHO_C" >&6
18191 else
18192   if test x$gcc_no_link = xyes; then
18193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18195    { (exit 1); exit 1; }; }
18196 fi
18197 cat >conftest.$ac_ext <<_ACEOF
18198 #line $LINENO "configure"
18199 /* confdefs.h.  */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h.  */
18204 /* System header to define __stub macros and hopefully few prototypes,
18205     which can conflict with char $ac_func (); below.
18206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18207     <limits.h> exists even on freestanding compilers.  */
18208 #ifdef __STDC__
18209 # include <limits.h>
18210 #else
18211 # include <assert.h>
18212 #endif
18213 /* Override any gcc2 internal prototype to avoid an error.  */
18214 #ifdef __cplusplus
18215 extern "C"
18216 {
18217 #endif
18218 /* We use char because int might match the return type of a gcc2
18219    builtin and then its argument prototype would still apply.  */
18220 char $ac_func ();
18221 /* The GNU C library defines this for functions which it implements
18222     to always fail with ENOSYS.  Some functions are actually named
18223     something starting with __ and the normal name is an alias.  */
18224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18225 choke me
18226 #else
18227 char (*f) () = $ac_func;
18228 #endif
18229 #ifdef __cplusplus
18230 }
18231 #endif
18232
18233 int
18234 main ()
18235 {
18236 return f != $ac_func;
18237   ;
18238   return 0;
18239 }
18240 _ACEOF
18241 rm -f conftest.$ac_objext conftest$ac_exeext
18242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18243   (eval $ac_link) 2>&5
18244   ac_status=$?
18245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246   (exit $ac_status); } &&
18247          { ac_try='test -s conftest$ac_exeext'
18248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249   (eval $ac_try) 2>&5
18250   ac_status=$?
18251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252   (exit $ac_status); }; }; then
18253   eval "$as_ac_var=yes"
18254 else
18255   echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18257
18258 eval "$as_ac_var=no"
18259 fi
18260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18261 fi
18262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18264 if test `eval echo '${'$as_ac_var'}'` = yes; then
18265   cat >>confdefs.h <<_ACEOF
18266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18267 _ACEOF
18268
18269 fi
18270 done
18271
18272   else
18273
18274   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18275 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18276   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18277     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18278   echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280
18281
18282
18283       ac_ext=cc
18284 ac_cpp='$CXXCPP $CPPFLAGS'
18285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18288
18289       cat >conftest.$ac_ext <<_ACEOF
18290 #line $LINENO "configure"
18291 /* confdefs.h.  */
18292 _ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h.  */
18296 #include <math.h>
18297 int
18298 main ()
18299 {
18300  _fmodl(0, 0);
18301   ;
18302   return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307   (eval $ac_compile) 2>&5
18308   ac_status=$?
18309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310   (exit $ac_status); } &&
18311          { ac_try='test -s conftest.$ac_objext'
18312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313   (eval $ac_try) 2>&5
18314   ac_status=$?
18315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316   (exit $ac_status); }; }; then
18317   glibcxx_cv_func__fmodl_use=yes
18318 else
18319   echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18321
18322 glibcxx_cv_func__fmodl_use=no
18323 fi
18324 rm -f conftest.$ac_objext conftest.$ac_ext
18325       ac_ext=c
18326 ac_cpp='$CPP $CPPFLAGS'
18327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18330
18331
18332 fi
18333
18334   fi
18335   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18336 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18337
18338     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18339
18340 for ac_func in _fmodl
18341 do
18342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18343 echo "$as_me:$LINENO: checking for $ac_func" >&5
18344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18345 if eval "test \"\${$as_ac_var+set}\" = set"; then
18346   echo $ECHO_N "(cached) $ECHO_C" >&6
18347 else
18348   if test x$gcc_no_link = xyes; then
18349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18351    { (exit 1); exit 1; }; }
18352 fi
18353 cat >conftest.$ac_ext <<_ACEOF
18354 #line $LINENO "configure"
18355 /* confdefs.h.  */
18356 _ACEOF
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h.  */
18360 /* System header to define __stub macros and hopefully few prototypes,
18361     which can conflict with char $ac_func (); below.
18362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18363     <limits.h> exists even on freestanding compilers.  */
18364 #ifdef __STDC__
18365 # include <limits.h>
18366 #else
18367 # include <assert.h>
18368 #endif
18369 /* Override any gcc2 internal prototype to avoid an error.  */
18370 #ifdef __cplusplus
18371 extern "C"
18372 {
18373 #endif
18374 /* We use char because int might match the return type of a gcc2
18375    builtin and then its argument prototype would still apply.  */
18376 char $ac_func ();
18377 /* The GNU C library defines this for functions which it implements
18378     to always fail with ENOSYS.  Some functions are actually named
18379     something starting with __ and the normal name is an alias.  */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18381 choke me
18382 #else
18383 char (*f) () = $ac_func;
18384 #endif
18385 #ifdef __cplusplus
18386 }
18387 #endif
18388
18389 int
18390 main ()
18391 {
18392 return f != $ac_func;
18393   ;
18394   return 0;
18395 }
18396 _ACEOF
18397 rm -f conftest.$ac_objext conftest$ac_exeext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399   (eval $ac_link) 2>&5
18400   ac_status=$?
18401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402   (exit $ac_status); } &&
18403          { ac_try='test -s conftest$ac_exeext'
18404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405   (eval $ac_try) 2>&5
18406   ac_status=$?
18407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408   (exit $ac_status); }; }; then
18409   eval "$as_ac_var=yes"
18410 else
18411   echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18413
18414 eval "$as_ac_var=no"
18415 fi
18416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18417 fi
18418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18420 if test `eval echo '${'$as_ac_var'}'` = yes; then
18421   cat >>confdefs.h <<_ACEOF
18422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18423 _ACEOF
18424
18425 fi
18426 done
18427
18428     fi
18429   fi
18430
18431
18432
18433   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18434 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18435   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18436     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18437   echo $ECHO_N "(cached) $ECHO_C" >&6
18438 else
18439
18440
18441
18442       ac_ext=cc
18443 ac_cpp='$CXXCPP $CPPFLAGS'
18444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18447
18448       cat >conftest.$ac_ext <<_ACEOF
18449 #line $LINENO "configure"
18450 /* confdefs.h.  */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h.  */
18455 #include <math.h>
18456 int
18457 main ()
18458 {
18459  frexpl(0, 0);
18460   ;
18461   return 0;
18462 }
18463 _ACEOF
18464 rm -f conftest.$ac_objext
18465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18466   (eval $ac_compile) 2>&5
18467   ac_status=$?
18468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469   (exit $ac_status); } &&
18470          { ac_try='test -s conftest.$ac_objext'
18471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472   (eval $ac_try) 2>&5
18473   ac_status=$?
18474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475   (exit $ac_status); }; }; then
18476   glibcxx_cv_func_frexpl_use=yes
18477 else
18478   echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 glibcxx_cv_func_frexpl_use=no
18482 fi
18483 rm -f conftest.$ac_objext conftest.$ac_ext
18484       ac_ext=c
18485 ac_cpp='$CPP $CPPFLAGS'
18486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18489
18490
18491 fi
18492
18493   fi
18494   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18495 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18496
18497   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18498
18499 for ac_func in frexpl
18500 do
18501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18502 echo "$as_me:$LINENO: checking for $ac_func" >&5
18503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18504 if eval "test \"\${$as_ac_var+set}\" = set"; then
18505   echo $ECHO_N "(cached) $ECHO_C" >&6
18506 else
18507   if test x$gcc_no_link = xyes; then
18508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18510    { (exit 1); exit 1; }; }
18511 fi
18512 cat >conftest.$ac_ext <<_ACEOF
18513 #line $LINENO "configure"
18514 /* confdefs.h.  */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h.  */
18519 /* System header to define __stub macros and hopefully few prototypes,
18520     which can conflict with char $ac_func (); below.
18521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18522     <limits.h> exists even on freestanding compilers.  */
18523 #ifdef __STDC__
18524 # include <limits.h>
18525 #else
18526 # include <assert.h>
18527 #endif
18528 /* Override any gcc2 internal prototype to avoid an error.  */
18529 #ifdef __cplusplus
18530 extern "C"
18531 {
18532 #endif
18533 /* We use char because int might match the return type of a gcc2
18534    builtin and then its argument prototype would still apply.  */
18535 char $ac_func ();
18536 /* The GNU C library defines this for functions which it implements
18537     to always fail with ENOSYS.  Some functions are actually named
18538     something starting with __ and the normal name is an alias.  */
18539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18540 choke me
18541 #else
18542 char (*f) () = $ac_func;
18543 #endif
18544 #ifdef __cplusplus
18545 }
18546 #endif
18547
18548 int
18549 main ()
18550 {
18551 return f != $ac_func;
18552   ;
18553   return 0;
18554 }
18555 _ACEOF
18556 rm -f conftest.$ac_objext conftest$ac_exeext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18558   (eval $ac_link) 2>&5
18559   ac_status=$?
18560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561   (exit $ac_status); } &&
18562          { ac_try='test -s conftest$ac_exeext'
18563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564   (eval $ac_try) 2>&5
18565   ac_status=$?
18566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567   (exit $ac_status); }; }; then
18568   eval "$as_ac_var=yes"
18569 else
18570   echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.$ac_ext >&5
18572
18573 eval "$as_ac_var=no"
18574 fi
18575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18576 fi
18577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18579 if test `eval echo '${'$as_ac_var'}'` = yes; then
18580   cat >>confdefs.h <<_ACEOF
18581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18582 _ACEOF
18583
18584 fi
18585 done
18586
18587   else
18588
18589   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18590 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18591   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18592     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18593   echo $ECHO_N "(cached) $ECHO_C" >&6
18594 else
18595
18596
18597
18598       ac_ext=cc
18599 ac_cpp='$CXXCPP $CPPFLAGS'
18600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18603
18604       cat >conftest.$ac_ext <<_ACEOF
18605 #line $LINENO "configure"
18606 /* confdefs.h.  */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h.  */
18611 #include <math.h>
18612 int
18613 main ()
18614 {
18615  _frexpl(0, 0);
18616   ;
18617   return 0;
18618 }
18619 _ACEOF
18620 rm -f conftest.$ac_objext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18622   (eval $ac_compile) 2>&5
18623   ac_status=$?
18624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625   (exit $ac_status); } &&
18626          { ac_try='test -s conftest.$ac_objext'
18627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628   (eval $ac_try) 2>&5
18629   ac_status=$?
18630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631   (exit $ac_status); }; }; then
18632   glibcxx_cv_func__frexpl_use=yes
18633 else
18634   echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18636
18637 glibcxx_cv_func__frexpl_use=no
18638 fi
18639 rm -f conftest.$ac_objext conftest.$ac_ext
18640       ac_ext=c
18641 ac_cpp='$CPP $CPPFLAGS'
18642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18645
18646
18647 fi
18648
18649   fi
18650   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18651 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18652
18653     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18654
18655 for ac_func in _frexpl
18656 do
18657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18658 echo "$as_me:$LINENO: checking for $ac_func" >&5
18659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18660 if eval "test \"\${$as_ac_var+set}\" = set"; then
18661   echo $ECHO_N "(cached) $ECHO_C" >&6
18662 else
18663   if test x$gcc_no_link = xyes; then
18664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18666    { (exit 1); exit 1; }; }
18667 fi
18668 cat >conftest.$ac_ext <<_ACEOF
18669 #line $LINENO "configure"
18670 /* confdefs.h.  */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h.  */
18675 /* System header to define __stub macros and hopefully few prototypes,
18676     which can conflict with char $ac_func (); below.
18677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18678     <limits.h> exists even on freestanding compilers.  */
18679 #ifdef __STDC__
18680 # include <limits.h>
18681 #else
18682 # include <assert.h>
18683 #endif
18684 /* Override any gcc2 internal prototype to avoid an error.  */
18685 #ifdef __cplusplus
18686 extern "C"
18687 {
18688 #endif
18689 /* We use char because int might match the return type of a gcc2
18690    builtin and then its argument prototype would still apply.  */
18691 char $ac_func ();
18692 /* The GNU C library defines this for functions which it implements
18693     to always fail with ENOSYS.  Some functions are actually named
18694     something starting with __ and the normal name is an alias.  */
18695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18696 choke me
18697 #else
18698 char (*f) () = $ac_func;
18699 #endif
18700 #ifdef __cplusplus
18701 }
18702 #endif
18703
18704 int
18705 main ()
18706 {
18707 return f != $ac_func;
18708   ;
18709   return 0;
18710 }
18711 _ACEOF
18712 rm -f conftest.$ac_objext conftest$ac_exeext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18714   (eval $ac_link) 2>&5
18715   ac_status=$?
18716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717   (exit $ac_status); } &&
18718          { ac_try='test -s conftest$ac_exeext'
18719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720   (eval $ac_try) 2>&5
18721   ac_status=$?
18722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723   (exit $ac_status); }; }; then
18724   eval "$as_ac_var=yes"
18725 else
18726   echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18728
18729 eval "$as_ac_var=no"
18730 fi
18731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18732 fi
18733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18735 if test `eval echo '${'$as_ac_var'}'` = yes; then
18736   cat >>confdefs.h <<_ACEOF
18737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18738 _ACEOF
18739
18740 fi
18741 done
18742
18743     fi
18744   fi
18745
18746
18747
18748   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18749 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18750   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18751     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18752   echo $ECHO_N "(cached) $ECHO_C" >&6
18753 else
18754
18755
18756
18757       ac_ext=cc
18758 ac_cpp='$CXXCPP $CPPFLAGS'
18759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18762
18763       cat >conftest.$ac_ext <<_ACEOF
18764 #line $LINENO "configure"
18765 /* confdefs.h.  */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h.  */
18770 #include <math.h>
18771 int
18772 main ()
18773 {
18774  hypotl(0, 0);
18775   ;
18776   return 0;
18777 }
18778 _ACEOF
18779 rm -f conftest.$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781   (eval $ac_compile) 2>&5
18782   ac_status=$?
18783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784   (exit $ac_status); } &&
18785          { ac_try='test -s conftest.$ac_objext'
18786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787   (eval $ac_try) 2>&5
18788   ac_status=$?
18789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790   (exit $ac_status); }; }; then
18791   glibcxx_cv_func_hypotl_use=yes
18792 else
18793   echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18795
18796 glibcxx_cv_func_hypotl_use=no
18797 fi
18798 rm -f conftest.$ac_objext conftest.$ac_ext
18799       ac_ext=c
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18804
18805
18806 fi
18807
18808   fi
18809   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18810 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18811
18812   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18813
18814 for ac_func in hypotl
18815 do
18816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18817 echo "$as_me:$LINENO: checking for $ac_func" >&5
18818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18819 if eval "test \"\${$as_ac_var+set}\" = set"; then
18820   echo $ECHO_N "(cached) $ECHO_C" >&6
18821 else
18822   if test x$gcc_no_link = xyes; then
18823   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18825    { (exit 1); exit 1; }; }
18826 fi
18827 cat >conftest.$ac_ext <<_ACEOF
18828 #line $LINENO "configure"
18829 /* confdefs.h.  */
18830 _ACEOF
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h.  */
18834 /* System header to define __stub macros and hopefully few prototypes,
18835     which can conflict with char $ac_func (); below.
18836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18837     <limits.h> exists even on freestanding compilers.  */
18838 #ifdef __STDC__
18839 # include <limits.h>
18840 #else
18841 # include <assert.h>
18842 #endif
18843 /* Override any gcc2 internal prototype to avoid an error.  */
18844 #ifdef __cplusplus
18845 extern "C"
18846 {
18847 #endif
18848 /* We use char because int might match the return type of a gcc2
18849    builtin and then its argument prototype would still apply.  */
18850 char $ac_func ();
18851 /* The GNU C library defines this for functions which it implements
18852     to always fail with ENOSYS.  Some functions are actually named
18853     something starting with __ and the normal name is an alias.  */
18854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18855 choke me
18856 #else
18857 char (*f) () = $ac_func;
18858 #endif
18859 #ifdef __cplusplus
18860 }
18861 #endif
18862
18863 int
18864 main ()
18865 {
18866 return f != $ac_func;
18867   ;
18868   return 0;
18869 }
18870 _ACEOF
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18873   (eval $ac_link) 2>&5
18874   ac_status=$?
18875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876   (exit $ac_status); } &&
18877          { ac_try='test -s conftest$ac_exeext'
18878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879   (eval $ac_try) 2>&5
18880   ac_status=$?
18881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882   (exit $ac_status); }; }; then
18883   eval "$as_ac_var=yes"
18884 else
18885   echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18887
18888 eval "$as_ac_var=no"
18889 fi
18890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18891 fi
18892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18894 if test `eval echo '${'$as_ac_var'}'` = yes; then
18895   cat >>confdefs.h <<_ACEOF
18896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18897 _ACEOF
18898
18899 fi
18900 done
18901
18902   else
18903
18904   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18905 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18906   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18907     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18908   echo $ECHO_N "(cached) $ECHO_C" >&6
18909 else
18910
18911
18912
18913       ac_ext=cc
18914 ac_cpp='$CXXCPP $CPPFLAGS'
18915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18918
18919       cat >conftest.$ac_ext <<_ACEOF
18920 #line $LINENO "configure"
18921 /* confdefs.h.  */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h.  */
18926 #include <math.h>
18927 int
18928 main ()
18929 {
18930  _hypotl(0, 0);
18931   ;
18932   return 0;
18933 }
18934 _ACEOF
18935 rm -f conftest.$ac_objext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18937   (eval $ac_compile) 2>&5
18938   ac_status=$?
18939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940   (exit $ac_status); } &&
18941          { ac_try='test -s conftest.$ac_objext'
18942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943   (eval $ac_try) 2>&5
18944   ac_status=$?
18945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946   (exit $ac_status); }; }; then
18947   glibcxx_cv_func__hypotl_use=yes
18948 else
18949   echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18951
18952 glibcxx_cv_func__hypotl_use=no
18953 fi
18954 rm -f conftest.$ac_objext conftest.$ac_ext
18955       ac_ext=c
18956 ac_cpp='$CPP $CPPFLAGS'
18957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18960
18961
18962 fi
18963
18964   fi
18965   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18966 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18967
18968     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18969
18970 for ac_func in _hypotl
18971 do
18972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18973 echo "$as_me:$LINENO: checking for $ac_func" >&5
18974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18975 if eval "test \"\${$as_ac_var+set}\" = set"; then
18976   echo $ECHO_N "(cached) $ECHO_C" >&6
18977 else
18978   if test x$gcc_no_link = xyes; then
18979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18981    { (exit 1); exit 1; }; }
18982 fi
18983 cat >conftest.$ac_ext <<_ACEOF
18984 #line $LINENO "configure"
18985 /* confdefs.h.  */
18986 _ACEOF
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h.  */
18990 /* System header to define __stub macros and hopefully few prototypes,
18991     which can conflict with char $ac_func (); below.
18992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18993     <limits.h> exists even on freestanding compilers.  */
18994 #ifdef __STDC__
18995 # include <limits.h>
18996 #else
18997 # include <assert.h>
18998 #endif
18999 /* Override any gcc2 internal prototype to avoid an error.  */
19000 #ifdef __cplusplus
19001 extern "C"
19002 {
19003 #endif
19004 /* We use char because int might match the return type of a gcc2
19005    builtin and then its argument prototype would still apply.  */
19006 char $ac_func ();
19007 /* The GNU C library defines this for functions which it implements
19008     to always fail with ENOSYS.  Some functions are actually named
19009     something starting with __ and the normal name is an alias.  */
19010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19011 choke me
19012 #else
19013 char (*f) () = $ac_func;
19014 #endif
19015 #ifdef __cplusplus
19016 }
19017 #endif
19018
19019 int
19020 main ()
19021 {
19022 return f != $ac_func;
19023   ;
19024   return 0;
19025 }
19026 _ACEOF
19027 rm -f conftest.$ac_objext conftest$ac_exeext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19029   (eval $ac_link) 2>&5
19030   ac_status=$?
19031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032   (exit $ac_status); } &&
19033          { ac_try='test -s conftest$ac_exeext'
19034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035   (eval $ac_try) 2>&5
19036   ac_status=$?
19037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038   (exit $ac_status); }; }; then
19039   eval "$as_ac_var=yes"
19040 else
19041   echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19043
19044 eval "$as_ac_var=no"
19045 fi
19046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19047 fi
19048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19050 if test `eval echo '${'$as_ac_var'}'` = yes; then
19051   cat >>confdefs.h <<_ACEOF
19052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19053 _ACEOF
19054
19055 fi
19056 done
19057
19058     fi
19059   fi
19060
19061
19062
19063   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19064 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19065   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19066     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19067   echo $ECHO_N "(cached) $ECHO_C" >&6
19068 else
19069
19070
19071
19072       ac_ext=cc
19073 ac_cpp='$CXXCPP $CPPFLAGS'
19074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19077
19078       cat >conftest.$ac_ext <<_ACEOF
19079 #line $LINENO "configure"
19080 /* confdefs.h.  */
19081 _ACEOF
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h.  */
19085 #include <math.h>
19086 int
19087 main ()
19088 {
19089  ldexpl(0, 0);
19090   ;
19091   return 0;
19092 }
19093 _ACEOF
19094 rm -f conftest.$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096   (eval $ac_compile) 2>&5
19097   ac_status=$?
19098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099   (exit $ac_status); } &&
19100          { ac_try='test -s conftest.$ac_objext'
19101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102   (eval $ac_try) 2>&5
19103   ac_status=$?
19104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105   (exit $ac_status); }; }; then
19106   glibcxx_cv_func_ldexpl_use=yes
19107 else
19108   echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19110
19111 glibcxx_cv_func_ldexpl_use=no
19112 fi
19113 rm -f conftest.$ac_objext conftest.$ac_ext
19114       ac_ext=c
19115 ac_cpp='$CPP $CPPFLAGS'
19116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19119
19120
19121 fi
19122
19123   fi
19124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19125 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19126
19127   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19128
19129 for ac_func in ldexpl
19130 do
19131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19132 echo "$as_me:$LINENO: checking for $ac_func" >&5
19133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19134 if eval "test \"\${$as_ac_var+set}\" = set"; then
19135   echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19137   if test x$gcc_no_link = xyes; then
19138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19140    { (exit 1); exit 1; }; }
19141 fi
19142 cat >conftest.$ac_ext <<_ACEOF
19143 #line $LINENO "configure"
19144 /* confdefs.h.  */
19145 _ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h.  */
19149 /* System header to define __stub macros and hopefully few prototypes,
19150     which can conflict with char $ac_func (); below.
19151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19152     <limits.h> exists even on freestanding compilers.  */
19153 #ifdef __STDC__
19154 # include <limits.h>
19155 #else
19156 # include <assert.h>
19157 #endif
19158 /* Override any gcc2 internal prototype to avoid an error.  */
19159 #ifdef __cplusplus
19160 extern "C"
19161 {
19162 #endif
19163 /* We use char because int might match the return type of a gcc2
19164    builtin and then its argument prototype would still apply.  */
19165 char $ac_func ();
19166 /* The GNU C library defines this for functions which it implements
19167     to always fail with ENOSYS.  Some functions are actually named
19168     something starting with __ and the normal name is an alias.  */
19169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19170 choke me
19171 #else
19172 char (*f) () = $ac_func;
19173 #endif
19174 #ifdef __cplusplus
19175 }
19176 #endif
19177
19178 int
19179 main ()
19180 {
19181 return f != $ac_func;
19182   ;
19183   return 0;
19184 }
19185 _ACEOF
19186 rm -f conftest.$ac_objext conftest$ac_exeext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19188   (eval $ac_link) 2>&5
19189   ac_status=$?
19190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191   (exit $ac_status); } &&
19192          { ac_try='test -s conftest$ac_exeext'
19193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194   (eval $ac_try) 2>&5
19195   ac_status=$?
19196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197   (exit $ac_status); }; }; then
19198   eval "$as_ac_var=yes"
19199 else
19200   echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19202
19203 eval "$as_ac_var=no"
19204 fi
19205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19206 fi
19207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19209 if test `eval echo '${'$as_ac_var'}'` = yes; then
19210   cat >>confdefs.h <<_ACEOF
19211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19212 _ACEOF
19213
19214 fi
19215 done
19216
19217   else
19218
19219   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19220 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19221   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19222     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19223   echo $ECHO_N "(cached) $ECHO_C" >&6
19224 else
19225
19226
19227
19228       ac_ext=cc
19229 ac_cpp='$CXXCPP $CPPFLAGS'
19230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19233
19234       cat >conftest.$ac_ext <<_ACEOF
19235 #line $LINENO "configure"
19236 /* confdefs.h.  */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h.  */
19241 #include <math.h>
19242 int
19243 main ()
19244 {
19245  _ldexpl(0, 0);
19246   ;
19247   return 0;
19248 }
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252   (eval $ac_compile) 2>&5
19253   ac_status=$?
19254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255   (exit $ac_status); } &&
19256          { ac_try='test -s conftest.$ac_objext'
19257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258   (eval $ac_try) 2>&5
19259   ac_status=$?
19260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261   (exit $ac_status); }; }; then
19262   glibcxx_cv_func__ldexpl_use=yes
19263 else
19264   echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19266
19267 glibcxx_cv_func__ldexpl_use=no
19268 fi
19269 rm -f conftest.$ac_objext conftest.$ac_ext
19270       ac_ext=c
19271 ac_cpp='$CPP $CPPFLAGS'
19272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19275
19276
19277 fi
19278
19279   fi
19280   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19281 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19282
19283     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19284
19285 for ac_func in _ldexpl
19286 do
19287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288 echo "$as_me:$LINENO: checking for $ac_func" >&5
19289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19290 if eval "test \"\${$as_ac_var+set}\" = set"; then
19291   echo $ECHO_N "(cached) $ECHO_C" >&6
19292 else
19293   if test x$gcc_no_link = xyes; then
19294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296    { (exit 1); exit 1; }; }
19297 fi
19298 cat >conftest.$ac_ext <<_ACEOF
19299 #line $LINENO "configure"
19300 /* confdefs.h.  */
19301 _ACEOF
19302 cat confdefs.h >>conftest.$ac_ext
19303 cat >>conftest.$ac_ext <<_ACEOF
19304 /* end confdefs.h.  */
19305 /* System header to define __stub macros and hopefully few prototypes,
19306     which can conflict with char $ac_func (); below.
19307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19308     <limits.h> exists even on freestanding compilers.  */
19309 #ifdef __STDC__
19310 # include <limits.h>
19311 #else
19312 # include <assert.h>
19313 #endif
19314 /* Override any gcc2 internal prototype to avoid an error.  */
19315 #ifdef __cplusplus
19316 extern "C"
19317 {
19318 #endif
19319 /* We use char because int might match the return type of a gcc2
19320    builtin and then its argument prototype would still apply.  */
19321 char $ac_func ();
19322 /* The GNU C library defines this for functions which it implements
19323     to always fail with ENOSYS.  Some functions are actually named
19324     something starting with __ and the normal name is an alias.  */
19325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19326 choke me
19327 #else
19328 char (*f) () = $ac_func;
19329 #endif
19330 #ifdef __cplusplus
19331 }
19332 #endif
19333
19334 int
19335 main ()
19336 {
19337 return f != $ac_func;
19338   ;
19339   return 0;
19340 }
19341 _ACEOF
19342 rm -f conftest.$ac_objext conftest$ac_exeext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19344   (eval $ac_link) 2>&5
19345   ac_status=$?
19346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347   (exit $ac_status); } &&
19348          { ac_try='test -s conftest$ac_exeext'
19349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19350   (eval $ac_try) 2>&5
19351   ac_status=$?
19352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353   (exit $ac_status); }; }; then
19354   eval "$as_ac_var=yes"
19355 else
19356   echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19358
19359 eval "$as_ac_var=no"
19360 fi
19361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19362 fi
19363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19365 if test `eval echo '${'$as_ac_var'}'` = yes; then
19366   cat >>confdefs.h <<_ACEOF
19367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19368 _ACEOF
19369
19370 fi
19371 done
19372
19373     fi
19374   fi
19375
19376
19377
19378   echo "$as_me:$LINENO: checking for logl declaration" >&5
19379 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19380   if test x${glibcxx_cv_func_logl_use+set} != xset; then
19381     if test "${glibcxx_cv_func_logl_use+set}" = set; then
19382   echo $ECHO_N "(cached) $ECHO_C" >&6
19383 else
19384
19385
19386
19387       ac_ext=cc
19388 ac_cpp='$CXXCPP $CPPFLAGS'
19389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19392
19393       cat >conftest.$ac_ext <<_ACEOF
19394 #line $LINENO "configure"
19395 /* confdefs.h.  */
19396 _ACEOF
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h.  */
19400 #include <math.h>
19401                       #ifdef HAVE_IEEEFP_H
19402                       #include <ieeefp.h>
19403                       #endif
19404
19405 int
19406 main ()
19407 {
19408  logl(0);
19409   ;
19410   return 0;
19411 }
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415   (eval $ac_compile) 2>&5
19416   ac_status=$?
19417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418   (exit $ac_status); } &&
19419          { ac_try='test -s conftest.$ac_objext'
19420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421   (eval $ac_try) 2>&5
19422   ac_status=$?
19423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424   (exit $ac_status); }; }; then
19425   glibcxx_cv_func_logl_use=yes
19426 else
19427   echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.$ac_ext >&5
19429
19430 glibcxx_cv_func_logl_use=no
19431 fi
19432 rm -f conftest.$ac_objext conftest.$ac_ext
19433       ac_ext=c
19434 ac_cpp='$CPP $CPPFLAGS'
19435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19438
19439
19440 fi
19441
19442   fi
19443   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19444 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19445
19446   if test x$glibcxx_cv_func_logl_use = x"yes"; then
19447
19448 for ac_func in logl
19449 do
19450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19451 echo "$as_me:$LINENO: checking for $ac_func" >&5
19452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19453 if eval "test \"\${$as_ac_var+set}\" = set"; then
19454   echo $ECHO_N "(cached) $ECHO_C" >&6
19455 else
19456   if test x$gcc_no_link = xyes; then
19457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19459    { (exit 1); exit 1; }; }
19460 fi
19461 cat >conftest.$ac_ext <<_ACEOF
19462 #line $LINENO "configure"
19463 /* confdefs.h.  */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h.  */
19468 /* System header to define __stub macros and hopefully few prototypes,
19469     which can conflict with char $ac_func (); below.
19470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19471     <limits.h> exists even on freestanding compilers.  */
19472 #ifdef __STDC__
19473 # include <limits.h>
19474 #else
19475 # include <assert.h>
19476 #endif
19477 /* Override any gcc2 internal prototype to avoid an error.  */
19478 #ifdef __cplusplus
19479 extern "C"
19480 {
19481 #endif
19482 /* We use char because int might match the return type of a gcc2
19483    builtin and then its argument prototype would still apply.  */
19484 char $ac_func ();
19485 /* The GNU C library defines this for functions which it implements
19486     to always fail with ENOSYS.  Some functions are actually named
19487     something starting with __ and the normal name is an alias.  */
19488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19489 choke me
19490 #else
19491 char (*f) () = $ac_func;
19492 #endif
19493 #ifdef __cplusplus
19494 }
19495 #endif
19496
19497 int
19498 main ()
19499 {
19500 return f != $ac_func;
19501   ;
19502   return 0;
19503 }
19504 _ACEOF
19505 rm -f conftest.$ac_objext conftest$ac_exeext
19506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19507   (eval $ac_link) 2>&5
19508   ac_status=$?
19509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510   (exit $ac_status); } &&
19511          { ac_try='test -s conftest$ac_exeext'
19512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513   (eval $ac_try) 2>&5
19514   ac_status=$?
19515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516   (exit $ac_status); }; }; then
19517   eval "$as_ac_var=yes"
19518 else
19519   echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 eval "$as_ac_var=no"
19523 fi
19524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19525 fi
19526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19528 if test `eval echo '${'$as_ac_var'}'` = yes; then
19529   cat >>confdefs.h <<_ACEOF
19530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19531 _ACEOF
19532
19533 fi
19534 done
19535
19536   else
19537
19538   echo "$as_me:$LINENO: checking for _logl declaration" >&5
19539 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19540   if test x${glibcxx_cv_func__logl_use+set} != xset; then
19541     if test "${glibcxx_cv_func__logl_use+set}" = set; then
19542   echo $ECHO_N "(cached) $ECHO_C" >&6
19543 else
19544
19545
19546
19547       ac_ext=cc
19548 ac_cpp='$CXXCPP $CPPFLAGS'
19549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19552
19553       cat >conftest.$ac_ext <<_ACEOF
19554 #line $LINENO "configure"
19555 /* confdefs.h.  */
19556 _ACEOF
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h.  */
19560 #include <math.h>
19561                       #ifdef HAVE_IEEEFP_H
19562                       #include <ieeefp.h>
19563                       #endif
19564
19565 int
19566 main ()
19567 {
19568  _logl(0);
19569   ;
19570   return 0;
19571 }
19572 _ACEOF
19573 rm -f conftest.$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575   (eval $ac_compile) 2>&5
19576   ac_status=$?
19577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578   (exit $ac_status); } &&
19579          { ac_try='test -s conftest.$ac_objext'
19580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581   (eval $ac_try) 2>&5
19582   ac_status=$?
19583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584   (exit $ac_status); }; }; then
19585   glibcxx_cv_func__logl_use=yes
19586 else
19587   echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19589
19590 glibcxx_cv_func__logl_use=no
19591 fi
19592 rm -f conftest.$ac_objext conftest.$ac_ext
19593       ac_ext=c
19594 ac_cpp='$CPP $CPPFLAGS'
19595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19598
19599
19600 fi
19601
19602   fi
19603   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19604 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19605
19606     if test x$glibcxx_cv_func__logl_use = x"yes"; then
19607
19608 for ac_func in _logl
19609 do
19610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19611 echo "$as_me:$LINENO: checking for $ac_func" >&5
19612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19613 if eval "test \"\${$as_ac_var+set}\" = set"; then
19614   echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19616   if test x$gcc_no_link = xyes; then
19617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19619    { (exit 1); exit 1; }; }
19620 fi
19621 cat >conftest.$ac_ext <<_ACEOF
19622 #line $LINENO "configure"
19623 /* confdefs.h.  */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h.  */
19628 /* System header to define __stub macros and hopefully few prototypes,
19629     which can conflict with char $ac_func (); below.
19630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19631     <limits.h> exists even on freestanding compilers.  */
19632 #ifdef __STDC__
19633 # include <limits.h>
19634 #else
19635 # include <assert.h>
19636 #endif
19637 /* Override any gcc2 internal prototype to avoid an error.  */
19638 #ifdef __cplusplus
19639 extern "C"
19640 {
19641 #endif
19642 /* We use char because int might match the return type of a gcc2
19643    builtin and then its argument prototype would still apply.  */
19644 char $ac_func ();
19645 /* The GNU C library defines this for functions which it implements
19646     to always fail with ENOSYS.  Some functions are actually named
19647     something starting with __ and the normal name is an alias.  */
19648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19649 choke me
19650 #else
19651 char (*f) () = $ac_func;
19652 #endif
19653 #ifdef __cplusplus
19654 }
19655 #endif
19656
19657 int
19658 main ()
19659 {
19660 return f != $ac_func;
19661   ;
19662   return 0;
19663 }
19664 _ACEOF
19665 rm -f conftest.$ac_objext conftest$ac_exeext
19666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19667   (eval $ac_link) 2>&5
19668   ac_status=$?
19669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670   (exit $ac_status); } &&
19671          { ac_try='test -s conftest$ac_exeext'
19672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673   (eval $ac_try) 2>&5
19674   ac_status=$?
19675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676   (exit $ac_status); }; }; then
19677   eval "$as_ac_var=yes"
19678 else
19679   echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 eval "$as_ac_var=no"
19683 fi
19684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19685 fi
19686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19688 if test `eval echo '${'$as_ac_var'}'` = yes; then
19689   cat >>confdefs.h <<_ACEOF
19690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19691 _ACEOF
19692
19693 fi
19694 done
19695
19696     fi
19697   fi
19698
19699
19700
19701   echo "$as_me:$LINENO: checking for log10l declaration" >&5
19702 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19703   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19704     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19705   echo $ECHO_N "(cached) $ECHO_C" >&6
19706 else
19707
19708
19709
19710       ac_ext=cc
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19715
19716       cat >conftest.$ac_ext <<_ACEOF
19717 #line $LINENO "configure"
19718 /* confdefs.h.  */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h.  */
19723 #include <math.h>
19724                       #ifdef HAVE_IEEEFP_H
19725                       #include <ieeefp.h>
19726                       #endif
19727
19728 int
19729 main ()
19730 {
19731  log10l(0);
19732   ;
19733   return 0;
19734 }
19735 _ACEOF
19736 rm -f conftest.$ac_objext
19737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19738   (eval $ac_compile) 2>&5
19739   ac_status=$?
19740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741   (exit $ac_status); } &&
19742          { ac_try='test -s conftest.$ac_objext'
19743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744   (eval $ac_try) 2>&5
19745   ac_status=$?
19746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747   (exit $ac_status); }; }; then
19748   glibcxx_cv_func_log10l_use=yes
19749 else
19750   echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19752
19753 glibcxx_cv_func_log10l_use=no
19754 fi
19755 rm -f conftest.$ac_objext conftest.$ac_ext
19756       ac_ext=c
19757 ac_cpp='$CPP $CPPFLAGS'
19758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19761
19762
19763 fi
19764
19765   fi
19766   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19767 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19768
19769   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19770
19771 for ac_func in log10l
19772 do
19773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19774 echo "$as_me:$LINENO: checking for $ac_func" >&5
19775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19776 if eval "test \"\${$as_ac_var+set}\" = set"; then
19777   echo $ECHO_N "(cached) $ECHO_C" >&6
19778 else
19779   if test x$gcc_no_link = xyes; then
19780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19782    { (exit 1); exit 1; }; }
19783 fi
19784 cat >conftest.$ac_ext <<_ACEOF
19785 #line $LINENO "configure"
19786 /* confdefs.h.  */
19787 _ACEOF
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h.  */
19791 /* System header to define __stub macros and hopefully few prototypes,
19792     which can conflict with char $ac_func (); below.
19793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19794     <limits.h> exists even on freestanding compilers.  */
19795 #ifdef __STDC__
19796 # include <limits.h>
19797 #else
19798 # include <assert.h>
19799 #endif
19800 /* Override any gcc2 internal prototype to avoid an error.  */
19801 #ifdef __cplusplus
19802 extern "C"
19803 {
19804 #endif
19805 /* We use char because int might match the return type of a gcc2
19806    builtin and then its argument prototype would still apply.  */
19807 char $ac_func ();
19808 /* The GNU C library defines this for functions which it implements
19809     to always fail with ENOSYS.  Some functions are actually named
19810     something starting with __ and the normal name is an alias.  */
19811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19812 choke me
19813 #else
19814 char (*f) () = $ac_func;
19815 #endif
19816 #ifdef __cplusplus
19817 }
19818 #endif
19819
19820 int
19821 main ()
19822 {
19823 return f != $ac_func;
19824   ;
19825   return 0;
19826 }
19827 _ACEOF
19828 rm -f conftest.$ac_objext conftest$ac_exeext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19830   (eval $ac_link) 2>&5
19831   ac_status=$?
19832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833   (exit $ac_status); } &&
19834          { ac_try='test -s conftest$ac_exeext'
19835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836   (eval $ac_try) 2>&5
19837   ac_status=$?
19838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839   (exit $ac_status); }; }; then
19840   eval "$as_ac_var=yes"
19841 else
19842   echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19844
19845 eval "$as_ac_var=no"
19846 fi
19847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19848 fi
19849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19851 if test `eval echo '${'$as_ac_var'}'` = yes; then
19852   cat >>confdefs.h <<_ACEOF
19853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19854 _ACEOF
19855
19856 fi
19857 done
19858
19859   else
19860
19861   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19862 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19863   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19864     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19865   echo $ECHO_N "(cached) $ECHO_C" >&6
19866 else
19867
19868
19869
19870       ac_ext=cc
19871 ac_cpp='$CXXCPP $CPPFLAGS'
19872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19875
19876       cat >conftest.$ac_ext <<_ACEOF
19877 #line $LINENO "configure"
19878 /* confdefs.h.  */
19879 _ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h.  */
19883 #include <math.h>
19884                       #ifdef HAVE_IEEEFP_H
19885                       #include <ieeefp.h>
19886                       #endif
19887
19888 int
19889 main ()
19890 {
19891  _log10l(0);
19892   ;
19893   return 0;
19894 }
19895 _ACEOF
19896 rm -f conftest.$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898   (eval $ac_compile) 2>&5
19899   ac_status=$?
19900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901   (exit $ac_status); } &&
19902          { ac_try='test -s conftest.$ac_objext'
19903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904   (eval $ac_try) 2>&5
19905   ac_status=$?
19906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907   (exit $ac_status); }; }; then
19908   glibcxx_cv_func__log10l_use=yes
19909 else
19910   echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 glibcxx_cv_func__log10l_use=no
19914 fi
19915 rm -f conftest.$ac_objext conftest.$ac_ext
19916       ac_ext=c
19917 ac_cpp='$CPP $CPPFLAGS'
19918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19921
19922
19923 fi
19924
19925   fi
19926   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19927 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19928
19929     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19930
19931 for ac_func in _log10l
19932 do
19933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19934 echo "$as_me:$LINENO: checking for $ac_func" >&5
19935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19936 if eval "test \"\${$as_ac_var+set}\" = set"; then
19937   echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939   if test x$gcc_no_link = xyes; then
19940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19942    { (exit 1); exit 1; }; }
19943 fi
19944 cat >conftest.$ac_ext <<_ACEOF
19945 #line $LINENO "configure"
19946 /* confdefs.h.  */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h.  */
19951 /* System header to define __stub macros and hopefully few prototypes,
19952     which can conflict with char $ac_func (); below.
19953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19954     <limits.h> exists even on freestanding compilers.  */
19955 #ifdef __STDC__
19956 # include <limits.h>
19957 #else
19958 # include <assert.h>
19959 #endif
19960 /* Override any gcc2 internal prototype to avoid an error.  */
19961 #ifdef __cplusplus
19962 extern "C"
19963 {
19964 #endif
19965 /* We use char because int might match the return type of a gcc2
19966    builtin and then its argument prototype would still apply.  */
19967 char $ac_func ();
19968 /* The GNU C library defines this for functions which it implements
19969     to always fail with ENOSYS.  Some functions are actually named
19970     something starting with __ and the normal name is an alias.  */
19971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19972 choke me
19973 #else
19974 char (*f) () = $ac_func;
19975 #endif
19976 #ifdef __cplusplus
19977 }
19978 #endif
19979
19980 int
19981 main ()
19982 {
19983 return f != $ac_func;
19984   ;
19985   return 0;
19986 }
19987 _ACEOF
19988 rm -f conftest.$ac_objext conftest$ac_exeext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19990   (eval $ac_link) 2>&5
19991   ac_status=$?
19992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993   (exit $ac_status); } &&
19994          { ac_try='test -s conftest$ac_exeext'
19995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996   (eval $ac_try) 2>&5
19997   ac_status=$?
19998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999   (exit $ac_status); }; }; then
20000   eval "$as_ac_var=yes"
20001 else
20002   echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20004
20005 eval "$as_ac_var=no"
20006 fi
20007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20008 fi
20009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20011 if test `eval echo '${'$as_ac_var'}'` = yes; then
20012   cat >>confdefs.h <<_ACEOF
20013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20014 _ACEOF
20015
20016 fi
20017 done
20018
20019     fi
20020   fi
20021
20022
20023
20024   echo "$as_me:$LINENO: checking for modfl declaration" >&5
20025 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20026   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20027     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20028   echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20030
20031
20032
20033       ac_ext=cc
20034 ac_cpp='$CXXCPP $CPPFLAGS'
20035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20038
20039       cat >conftest.$ac_ext <<_ACEOF
20040 #line $LINENO "configure"
20041 /* confdefs.h.  */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h.  */
20046 #include <math.h>
20047 int
20048 main ()
20049 {
20050  modfl(0, 0);
20051   ;
20052   return 0;
20053 }
20054 _ACEOF
20055 rm -f conftest.$ac_objext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20057   (eval $ac_compile) 2>&5
20058   ac_status=$?
20059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060   (exit $ac_status); } &&
20061          { ac_try='test -s conftest.$ac_objext'
20062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063   (eval $ac_try) 2>&5
20064   ac_status=$?
20065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066   (exit $ac_status); }; }; then
20067   glibcxx_cv_func_modfl_use=yes
20068 else
20069   echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20071
20072 glibcxx_cv_func_modfl_use=no
20073 fi
20074 rm -f conftest.$ac_objext conftest.$ac_ext
20075       ac_ext=c
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081
20082 fi
20083
20084   fi
20085   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20086 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20087
20088   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20089
20090 for ac_func in modfl
20091 do
20092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20093 echo "$as_me:$LINENO: checking for $ac_func" >&5
20094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20095 if eval "test \"\${$as_ac_var+set}\" = set"; then
20096   echo $ECHO_N "(cached) $ECHO_C" >&6
20097 else
20098   if test x$gcc_no_link = xyes; then
20099   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20101    { (exit 1); exit 1; }; }
20102 fi
20103 cat >conftest.$ac_ext <<_ACEOF
20104 #line $LINENO "configure"
20105 /* confdefs.h.  */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h.  */
20110 /* System header to define __stub macros and hopefully few prototypes,
20111     which can conflict with char $ac_func (); below.
20112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20113     <limits.h> exists even on freestanding compilers.  */
20114 #ifdef __STDC__
20115 # include <limits.h>
20116 #else
20117 # include <assert.h>
20118 #endif
20119 /* Override any gcc2 internal prototype to avoid an error.  */
20120 #ifdef __cplusplus
20121 extern "C"
20122 {
20123 #endif
20124 /* We use char because int might match the return type of a gcc2
20125    builtin and then its argument prototype would still apply.  */
20126 char $ac_func ();
20127 /* The GNU C library defines this for functions which it implements
20128     to always fail with ENOSYS.  Some functions are actually named
20129     something starting with __ and the normal name is an alias.  */
20130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20131 choke me
20132 #else
20133 char (*f) () = $ac_func;
20134 #endif
20135 #ifdef __cplusplus
20136 }
20137 #endif
20138
20139 int
20140 main ()
20141 {
20142 return f != $ac_func;
20143   ;
20144   return 0;
20145 }
20146 _ACEOF
20147 rm -f conftest.$ac_objext conftest$ac_exeext
20148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20149   (eval $ac_link) 2>&5
20150   ac_status=$?
20151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152   (exit $ac_status); } &&
20153          { ac_try='test -s conftest$ac_exeext'
20154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155   (eval $ac_try) 2>&5
20156   ac_status=$?
20157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158   (exit $ac_status); }; }; then
20159   eval "$as_ac_var=yes"
20160 else
20161   echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20163
20164 eval "$as_ac_var=no"
20165 fi
20166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20167 fi
20168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20170 if test `eval echo '${'$as_ac_var'}'` = yes; then
20171   cat >>confdefs.h <<_ACEOF
20172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20173 _ACEOF
20174
20175 fi
20176 done
20177
20178   else
20179
20180   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20181 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20182   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20183     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20184   echo $ECHO_N "(cached) $ECHO_C" >&6
20185 else
20186
20187
20188
20189       ac_ext=cc
20190 ac_cpp='$CXXCPP $CPPFLAGS'
20191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20194
20195       cat >conftest.$ac_ext <<_ACEOF
20196 #line $LINENO "configure"
20197 /* confdefs.h.  */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h.  */
20202 #include <math.h>
20203 int
20204 main ()
20205 {
20206  _modfl(0, 0);
20207   ;
20208   return 0;
20209 }
20210 _ACEOF
20211 rm -f conftest.$ac_objext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20213   (eval $ac_compile) 2>&5
20214   ac_status=$?
20215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216   (exit $ac_status); } &&
20217          { ac_try='test -s conftest.$ac_objext'
20218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219   (eval $ac_try) 2>&5
20220   ac_status=$?
20221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222   (exit $ac_status); }; }; then
20223   glibcxx_cv_func__modfl_use=yes
20224 else
20225   echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20227
20228 glibcxx_cv_func__modfl_use=no
20229 fi
20230 rm -f conftest.$ac_objext conftest.$ac_ext
20231       ac_ext=c
20232 ac_cpp='$CPP $CPPFLAGS'
20233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20236
20237
20238 fi
20239
20240   fi
20241   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20242 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20243
20244     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20245
20246 for ac_func in _modfl
20247 do
20248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20249 echo "$as_me:$LINENO: checking for $ac_func" >&5
20250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20251 if eval "test \"\${$as_ac_var+set}\" = set"; then
20252   echo $ECHO_N "(cached) $ECHO_C" >&6
20253 else
20254   if test x$gcc_no_link = xyes; then
20255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20257    { (exit 1); exit 1; }; }
20258 fi
20259 cat >conftest.$ac_ext <<_ACEOF
20260 #line $LINENO "configure"
20261 /* confdefs.h.  */
20262 _ACEOF
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h.  */
20266 /* System header to define __stub macros and hopefully few prototypes,
20267     which can conflict with char $ac_func (); below.
20268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20269     <limits.h> exists even on freestanding compilers.  */
20270 #ifdef __STDC__
20271 # include <limits.h>
20272 #else
20273 # include <assert.h>
20274 #endif
20275 /* Override any gcc2 internal prototype to avoid an error.  */
20276 #ifdef __cplusplus
20277 extern "C"
20278 {
20279 #endif
20280 /* We use char because int might match the return type of a gcc2
20281    builtin and then its argument prototype would still apply.  */
20282 char $ac_func ();
20283 /* The GNU C library defines this for functions which it implements
20284     to always fail with ENOSYS.  Some functions are actually named
20285     something starting with __ and the normal name is an alias.  */
20286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20287 choke me
20288 #else
20289 char (*f) () = $ac_func;
20290 #endif
20291 #ifdef __cplusplus
20292 }
20293 #endif
20294
20295 int
20296 main ()
20297 {
20298 return f != $ac_func;
20299   ;
20300   return 0;
20301 }
20302 _ACEOF
20303 rm -f conftest.$ac_objext conftest$ac_exeext
20304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20305   (eval $ac_link) 2>&5
20306   ac_status=$?
20307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308   (exit $ac_status); } &&
20309          { ac_try='test -s conftest$ac_exeext'
20310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311   (eval $ac_try) 2>&5
20312   ac_status=$?
20313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314   (exit $ac_status); }; }; then
20315   eval "$as_ac_var=yes"
20316 else
20317   echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20319
20320 eval "$as_ac_var=no"
20321 fi
20322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20323 fi
20324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20326 if test `eval echo '${'$as_ac_var'}'` = yes; then
20327   cat >>confdefs.h <<_ACEOF
20328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20329 _ACEOF
20330
20331 fi
20332 done
20333
20334     fi
20335   fi
20336
20337
20338
20339   echo "$as_me:$LINENO: checking for powl declaration" >&5
20340 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20341   if test x${glibcxx_cv_func_powl_use+set} != xset; then
20342     if test "${glibcxx_cv_func_powl_use+set}" = set; then
20343   echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345
20346
20347
20348       ac_ext=cc
20349 ac_cpp='$CXXCPP $CPPFLAGS'
20350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20353
20354       cat >conftest.$ac_ext <<_ACEOF
20355 #line $LINENO "configure"
20356 /* confdefs.h.  */
20357 _ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h.  */
20361 #include <math.h>
20362 int
20363 main ()
20364 {
20365  powl(0, 0);
20366   ;
20367   return 0;
20368 }
20369 _ACEOF
20370 rm -f conftest.$ac_objext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20372   (eval $ac_compile) 2>&5
20373   ac_status=$?
20374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375   (exit $ac_status); } &&
20376          { ac_try='test -s conftest.$ac_objext'
20377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378   (eval $ac_try) 2>&5
20379   ac_status=$?
20380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381   (exit $ac_status); }; }; then
20382   glibcxx_cv_func_powl_use=yes
20383 else
20384   echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.$ac_ext >&5
20386
20387 glibcxx_cv_func_powl_use=no
20388 fi
20389 rm -f conftest.$ac_objext conftest.$ac_ext
20390       ac_ext=c
20391 ac_cpp='$CPP $CPPFLAGS'
20392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20395
20396
20397 fi
20398
20399   fi
20400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20401 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20402
20403   if test x$glibcxx_cv_func_powl_use = x"yes"; then
20404
20405 for ac_func in powl
20406 do
20407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20408 echo "$as_me:$LINENO: checking for $ac_func" >&5
20409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20410 if eval "test \"\${$as_ac_var+set}\" = set"; then
20411   echo $ECHO_N "(cached) $ECHO_C" >&6
20412 else
20413   if test x$gcc_no_link = xyes; then
20414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20416    { (exit 1); exit 1; }; }
20417 fi
20418 cat >conftest.$ac_ext <<_ACEOF
20419 #line $LINENO "configure"
20420 /* confdefs.h.  */
20421 _ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h.  */
20425 /* System header to define __stub macros and hopefully few prototypes,
20426     which can conflict with char $ac_func (); below.
20427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20428     <limits.h> exists even on freestanding compilers.  */
20429 #ifdef __STDC__
20430 # include <limits.h>
20431 #else
20432 # include <assert.h>
20433 #endif
20434 /* Override any gcc2 internal prototype to avoid an error.  */
20435 #ifdef __cplusplus
20436 extern "C"
20437 {
20438 #endif
20439 /* We use char because int might match the return type of a gcc2
20440    builtin and then its argument prototype would still apply.  */
20441 char $ac_func ();
20442 /* The GNU C library defines this for functions which it implements
20443     to always fail with ENOSYS.  Some functions are actually named
20444     something starting with __ and the normal name is an alias.  */
20445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20446 choke me
20447 #else
20448 char (*f) () = $ac_func;
20449 #endif
20450 #ifdef __cplusplus
20451 }
20452 #endif
20453
20454 int
20455 main ()
20456 {
20457 return f != $ac_func;
20458   ;
20459   return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest.$ac_objext conftest$ac_exeext
20463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20464   (eval $ac_link) 2>&5
20465   ac_status=$?
20466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467   (exit $ac_status); } &&
20468          { ac_try='test -s conftest$ac_exeext'
20469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470   (eval $ac_try) 2>&5
20471   ac_status=$?
20472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473   (exit $ac_status); }; }; then
20474   eval "$as_ac_var=yes"
20475 else
20476   echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.$ac_ext >&5
20478
20479 eval "$as_ac_var=no"
20480 fi
20481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20482 fi
20483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20485 if test `eval echo '${'$as_ac_var'}'` = yes; then
20486   cat >>confdefs.h <<_ACEOF
20487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20488 _ACEOF
20489
20490 fi
20491 done
20492
20493   else
20494
20495   echo "$as_me:$LINENO: checking for _powl declaration" >&5
20496 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20497   if test x${glibcxx_cv_func__powl_use+set} != xset; then
20498     if test "${glibcxx_cv_func__powl_use+set}" = set; then
20499   echo $ECHO_N "(cached) $ECHO_C" >&6
20500 else
20501
20502
20503
20504       ac_ext=cc
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509
20510       cat >conftest.$ac_ext <<_ACEOF
20511 #line $LINENO "configure"
20512 /* confdefs.h.  */
20513 _ACEOF
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h.  */
20517 #include <math.h>
20518 int
20519 main ()
20520 {
20521  _powl(0, 0);
20522   ;
20523   return 0;
20524 }
20525 _ACEOF
20526 rm -f conftest.$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528   (eval $ac_compile) 2>&5
20529   ac_status=$?
20530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531   (exit $ac_status); } &&
20532          { ac_try='test -s conftest.$ac_objext'
20533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534   (eval $ac_try) 2>&5
20535   ac_status=$?
20536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537   (exit $ac_status); }; }; then
20538   glibcxx_cv_func__powl_use=yes
20539 else
20540   echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.$ac_ext >&5
20542
20543 glibcxx_cv_func__powl_use=no
20544 fi
20545 rm -f conftest.$ac_objext conftest.$ac_ext
20546       ac_ext=c
20547 ac_cpp='$CPP $CPPFLAGS'
20548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20551
20552
20553 fi
20554
20555   fi
20556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20557 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20558
20559     if test x$glibcxx_cv_func__powl_use = x"yes"; then
20560
20561 for ac_func in _powl
20562 do
20563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20564 echo "$as_me:$LINENO: checking for $ac_func" >&5
20565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20566 if eval "test \"\${$as_ac_var+set}\" = set"; then
20567   echo $ECHO_N "(cached) $ECHO_C" >&6
20568 else
20569   if test x$gcc_no_link = xyes; then
20570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20572    { (exit 1); exit 1; }; }
20573 fi
20574 cat >conftest.$ac_ext <<_ACEOF
20575 #line $LINENO "configure"
20576 /* confdefs.h.  */
20577 _ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h.  */
20581 /* System header to define __stub macros and hopefully few prototypes,
20582     which can conflict with char $ac_func (); below.
20583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20584     <limits.h> exists even on freestanding compilers.  */
20585 #ifdef __STDC__
20586 # include <limits.h>
20587 #else
20588 # include <assert.h>
20589 #endif
20590 /* Override any gcc2 internal prototype to avoid an error.  */
20591 #ifdef __cplusplus
20592 extern "C"
20593 {
20594 #endif
20595 /* We use char because int might match the return type of a gcc2
20596    builtin and then its argument prototype would still apply.  */
20597 char $ac_func ();
20598 /* The GNU C library defines this for functions which it implements
20599     to always fail with ENOSYS.  Some functions are actually named
20600     something starting with __ and the normal name is an alias.  */
20601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20602 choke me
20603 #else
20604 char (*f) () = $ac_func;
20605 #endif
20606 #ifdef __cplusplus
20607 }
20608 #endif
20609
20610 int
20611 main ()
20612 {
20613 return f != $ac_func;
20614   ;
20615   return 0;
20616 }
20617 _ACEOF
20618 rm -f conftest.$ac_objext conftest$ac_exeext
20619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20620   (eval $ac_link) 2>&5
20621   ac_status=$?
20622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623   (exit $ac_status); } &&
20624          { ac_try='test -s conftest$ac_exeext'
20625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626   (eval $ac_try) 2>&5
20627   ac_status=$?
20628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629   (exit $ac_status); }; }; then
20630   eval "$as_ac_var=yes"
20631 else
20632   echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 eval "$as_ac_var=no"
20636 fi
20637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20638 fi
20639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20641 if test `eval echo '${'$as_ac_var'}'` = yes; then
20642   cat >>confdefs.h <<_ACEOF
20643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20644 _ACEOF
20645
20646 fi
20647 done
20648
20649     fi
20650   fi
20651
20652
20653
20654   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20655 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20656   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20657     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20658   echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660
20661
20662
20663       ac_ext=cc
20664 ac_cpp='$CXXCPP $CPPFLAGS'
20665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20668
20669       cat >conftest.$ac_ext <<_ACEOF
20670 #line $LINENO "configure"
20671 /* confdefs.h.  */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h.  */
20676 #include <math.h>
20677                       #ifdef HAVE_IEEEFP_H
20678                       #include <ieeefp.h>
20679                       #endif
20680
20681 int
20682 main ()
20683 {
20684  sqrtl(0);
20685   ;
20686   return 0;
20687 }
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691   (eval $ac_compile) 2>&5
20692   ac_status=$?
20693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694   (exit $ac_status); } &&
20695          { ac_try='test -s conftest.$ac_objext'
20696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697   (eval $ac_try) 2>&5
20698   ac_status=$?
20699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700   (exit $ac_status); }; }; then
20701   glibcxx_cv_func_sqrtl_use=yes
20702 else
20703   echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20705
20706 glibcxx_cv_func_sqrtl_use=no
20707 fi
20708 rm -f conftest.$ac_objext conftest.$ac_ext
20709       ac_ext=c
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20714
20715
20716 fi
20717
20718   fi
20719   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20720 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20721
20722   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20723
20724 for ac_func in sqrtl
20725 do
20726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 echo "$as_me:$LINENO: checking for $ac_func" >&5
20728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20729 if eval "test \"\${$as_ac_var+set}\" = set"; then
20730   echo $ECHO_N "(cached) $ECHO_C" >&6
20731 else
20732   if test x$gcc_no_link = xyes; then
20733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20735    { (exit 1); exit 1; }; }
20736 fi
20737 cat >conftest.$ac_ext <<_ACEOF
20738 #line $LINENO "configure"
20739 /* confdefs.h.  */
20740 _ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h.  */
20744 /* System header to define __stub macros and hopefully few prototypes,
20745     which can conflict with char $ac_func (); below.
20746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20747     <limits.h> exists even on freestanding compilers.  */
20748 #ifdef __STDC__
20749 # include <limits.h>
20750 #else
20751 # include <assert.h>
20752 #endif
20753 /* Override any gcc2 internal prototype to avoid an error.  */
20754 #ifdef __cplusplus
20755 extern "C"
20756 {
20757 #endif
20758 /* We use char because int might match the return type of a gcc2
20759    builtin and then its argument prototype would still apply.  */
20760 char $ac_func ();
20761 /* The GNU C library defines this for functions which it implements
20762     to always fail with ENOSYS.  Some functions are actually named
20763     something starting with __ and the normal name is an alias.  */
20764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20765 choke me
20766 #else
20767 char (*f) () = $ac_func;
20768 #endif
20769 #ifdef __cplusplus
20770 }
20771 #endif
20772
20773 int
20774 main ()
20775 {
20776 return f != $ac_func;
20777   ;
20778   return 0;
20779 }
20780 _ACEOF
20781 rm -f conftest.$ac_objext conftest$ac_exeext
20782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20783   (eval $ac_link) 2>&5
20784   ac_status=$?
20785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786   (exit $ac_status); } &&
20787          { ac_try='test -s conftest$ac_exeext'
20788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789   (eval $ac_try) 2>&5
20790   ac_status=$?
20791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792   (exit $ac_status); }; }; then
20793   eval "$as_ac_var=yes"
20794 else
20795   echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20797
20798 eval "$as_ac_var=no"
20799 fi
20800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20801 fi
20802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20804 if test `eval echo '${'$as_ac_var'}'` = yes; then
20805   cat >>confdefs.h <<_ACEOF
20806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20807 _ACEOF
20808
20809 fi
20810 done
20811
20812   else
20813
20814   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20815 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20816   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20817     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20818   echo $ECHO_N "(cached) $ECHO_C" >&6
20819 else
20820
20821
20822
20823       ac_ext=cc
20824 ac_cpp='$CXXCPP $CPPFLAGS'
20825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20828
20829       cat >conftest.$ac_ext <<_ACEOF
20830 #line $LINENO "configure"
20831 /* confdefs.h.  */
20832 _ACEOF
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h.  */
20836 #include <math.h>
20837                       #ifdef HAVE_IEEEFP_H
20838                       #include <ieeefp.h>
20839                       #endif
20840
20841 int
20842 main ()
20843 {
20844  _sqrtl(0);
20845   ;
20846   return 0;
20847 }
20848 _ACEOF
20849 rm -f conftest.$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851   (eval $ac_compile) 2>&5
20852   ac_status=$?
20853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854   (exit $ac_status); } &&
20855          { ac_try='test -s conftest.$ac_objext'
20856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857   (eval $ac_try) 2>&5
20858   ac_status=$?
20859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860   (exit $ac_status); }; }; then
20861   glibcxx_cv_func__sqrtl_use=yes
20862 else
20863   echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.$ac_ext >&5
20865
20866 glibcxx_cv_func__sqrtl_use=no
20867 fi
20868 rm -f conftest.$ac_objext conftest.$ac_ext
20869       ac_ext=c
20870 ac_cpp='$CPP $CPPFLAGS'
20871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20874
20875
20876 fi
20877
20878   fi
20879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20880 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20881
20882     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20883
20884 for ac_func in _sqrtl
20885 do
20886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20887 echo "$as_me:$LINENO: checking for $ac_func" >&5
20888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20889 if eval "test \"\${$as_ac_var+set}\" = set"; then
20890   echo $ECHO_N "(cached) $ECHO_C" >&6
20891 else
20892   if test x$gcc_no_link = xyes; then
20893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20895    { (exit 1); exit 1; }; }
20896 fi
20897 cat >conftest.$ac_ext <<_ACEOF
20898 #line $LINENO "configure"
20899 /* confdefs.h.  */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h.  */
20904 /* System header to define __stub macros and hopefully few prototypes,
20905     which can conflict with char $ac_func (); below.
20906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20907     <limits.h> exists even on freestanding compilers.  */
20908 #ifdef __STDC__
20909 # include <limits.h>
20910 #else
20911 # include <assert.h>
20912 #endif
20913 /* Override any gcc2 internal prototype to avoid an error.  */
20914 #ifdef __cplusplus
20915 extern "C"
20916 {
20917 #endif
20918 /* We use char because int might match the return type of a gcc2
20919    builtin and then its argument prototype would still apply.  */
20920 char $ac_func ();
20921 /* The GNU C library defines this for functions which it implements
20922     to always fail with ENOSYS.  Some functions are actually named
20923     something starting with __ and the normal name is an alias.  */
20924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20925 choke me
20926 #else
20927 char (*f) () = $ac_func;
20928 #endif
20929 #ifdef __cplusplus
20930 }
20931 #endif
20932
20933 int
20934 main ()
20935 {
20936 return f != $ac_func;
20937   ;
20938   return 0;
20939 }
20940 _ACEOF
20941 rm -f conftest.$ac_objext conftest$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943   (eval $ac_link) 2>&5
20944   ac_status=$?
20945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946   (exit $ac_status); } &&
20947          { ac_try='test -s conftest$ac_exeext'
20948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949   (eval $ac_try) 2>&5
20950   ac_status=$?
20951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952   (exit $ac_status); }; }; then
20953   eval "$as_ac_var=yes"
20954 else
20955   echo "$as_me: failed program was:" >&5
20956 sed 's/^/| /' conftest.$ac_ext >&5
20957
20958 eval "$as_ac_var=no"
20959 fi
20960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20961 fi
20962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20964 if test `eval echo '${'$as_ac_var'}'` = yes; then
20965   cat >>confdefs.h <<_ACEOF
20966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20967 _ACEOF
20968
20969 fi
20970 done
20971
20972     fi
20973   fi
20974
20975
20976
20977   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20978 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20979   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20980     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20981   echo $ECHO_N "(cached) $ECHO_C" >&6
20982 else
20983
20984
20985
20986       ac_ext=cc
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992       cat >conftest.$ac_ext <<_ACEOF
20993 #line $LINENO "configure"
20994 /* confdefs.h.  */
20995 _ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h.  */
20999 #include <math.h>
21000 int
21001 main ()
21002 {
21003  sincosl(0, 0, 0);
21004   ;
21005   return 0;
21006 }
21007 _ACEOF
21008 rm -f conftest.$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010   (eval $ac_compile) 2>&5
21011   ac_status=$?
21012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013   (exit $ac_status); } &&
21014          { ac_try='test -s conftest.$ac_objext'
21015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016   (eval $ac_try) 2>&5
21017   ac_status=$?
21018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019   (exit $ac_status); }; }; then
21020   glibcxx_cv_func_sincosl_use=yes
21021 else
21022   echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 glibcxx_cv_func_sincosl_use=no
21026 fi
21027 rm -f conftest.$ac_objext conftest.$ac_ext
21028       ac_ext=c
21029 ac_cpp='$CPP $CPPFLAGS'
21030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21033
21034
21035 fi
21036
21037   fi
21038   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21039 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21040
21041   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21042
21043 for ac_func in sincosl
21044 do
21045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21046 echo "$as_me:$LINENO: checking for $ac_func" >&5
21047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21048 if eval "test \"\${$as_ac_var+set}\" = set"; then
21049   echo $ECHO_N "(cached) $ECHO_C" >&6
21050 else
21051   if test x$gcc_no_link = xyes; then
21052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21054    { (exit 1); exit 1; }; }
21055 fi
21056 cat >conftest.$ac_ext <<_ACEOF
21057 #line $LINENO "configure"
21058 /* confdefs.h.  */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h.  */
21063 /* System header to define __stub macros and hopefully few prototypes,
21064     which can conflict with char $ac_func (); below.
21065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21066     <limits.h> exists even on freestanding compilers.  */
21067 #ifdef __STDC__
21068 # include <limits.h>
21069 #else
21070 # include <assert.h>
21071 #endif
21072 /* Override any gcc2 internal prototype to avoid an error.  */
21073 #ifdef __cplusplus
21074 extern "C"
21075 {
21076 #endif
21077 /* We use char because int might match the return type of a gcc2
21078    builtin and then its argument prototype would still apply.  */
21079 char $ac_func ();
21080 /* The GNU C library defines this for functions which it implements
21081     to always fail with ENOSYS.  Some functions are actually named
21082     something starting with __ and the normal name is an alias.  */
21083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21084 choke me
21085 #else
21086 char (*f) () = $ac_func;
21087 #endif
21088 #ifdef __cplusplus
21089 }
21090 #endif
21091
21092 int
21093 main ()
21094 {
21095 return f != $ac_func;
21096   ;
21097   return 0;
21098 }
21099 _ACEOF
21100 rm -f conftest.$ac_objext conftest$ac_exeext
21101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21102   (eval $ac_link) 2>&5
21103   ac_status=$?
21104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105   (exit $ac_status); } &&
21106          { ac_try='test -s conftest$ac_exeext'
21107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108   (eval $ac_try) 2>&5
21109   ac_status=$?
21110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111   (exit $ac_status); }; }; then
21112   eval "$as_ac_var=yes"
21113 else
21114   echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.$ac_ext >&5
21116
21117 eval "$as_ac_var=no"
21118 fi
21119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21120 fi
21121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21123 if test `eval echo '${'$as_ac_var'}'` = yes; then
21124   cat >>confdefs.h <<_ACEOF
21125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21126 _ACEOF
21127
21128 fi
21129 done
21130
21131   else
21132
21133   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21134 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21135   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21136     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21137   echo $ECHO_N "(cached) $ECHO_C" >&6
21138 else
21139
21140
21141
21142       ac_ext=cc
21143 ac_cpp='$CXXCPP $CPPFLAGS'
21144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21147
21148       cat >conftest.$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21150 /* confdefs.h.  */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h.  */
21155 #include <math.h>
21156 int
21157 main ()
21158 {
21159  _sincosl(0, 0, 0);
21160   ;
21161   return 0;
21162 }
21163 _ACEOF
21164 rm -f conftest.$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166   (eval $ac_compile) 2>&5
21167   ac_status=$?
21168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169   (exit $ac_status); } &&
21170          { ac_try='test -s conftest.$ac_objext'
21171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172   (eval $ac_try) 2>&5
21173   ac_status=$?
21174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175   (exit $ac_status); }; }; then
21176   glibcxx_cv_func__sincosl_use=yes
21177 else
21178   echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21180
21181 glibcxx_cv_func__sincosl_use=no
21182 fi
21183 rm -f conftest.$ac_objext conftest.$ac_ext
21184       ac_ext=c
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189
21190
21191 fi
21192
21193   fi
21194   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21195 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21196
21197     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21198
21199 for ac_func in _sincosl
21200 do
21201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21202 echo "$as_me:$LINENO: checking for $ac_func" >&5
21203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21204 if eval "test \"\${$as_ac_var+set}\" = set"; then
21205   echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21207   if test x$gcc_no_link = xyes; then
21208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21210    { (exit 1); exit 1; }; }
21211 fi
21212 cat >conftest.$ac_ext <<_ACEOF
21213 #line $LINENO "configure"
21214 /* confdefs.h.  */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h.  */
21219 /* System header to define __stub macros and hopefully few prototypes,
21220     which can conflict with char $ac_func (); below.
21221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21222     <limits.h> exists even on freestanding compilers.  */
21223 #ifdef __STDC__
21224 # include <limits.h>
21225 #else
21226 # include <assert.h>
21227 #endif
21228 /* Override any gcc2 internal prototype to avoid an error.  */
21229 #ifdef __cplusplus
21230 extern "C"
21231 {
21232 #endif
21233 /* We use char because int might match the return type of a gcc2
21234    builtin and then its argument prototype would still apply.  */
21235 char $ac_func ();
21236 /* The GNU C library defines this for functions which it implements
21237     to always fail with ENOSYS.  Some functions are actually named
21238     something starting with __ and the normal name is an alias.  */
21239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21240 choke me
21241 #else
21242 char (*f) () = $ac_func;
21243 #endif
21244 #ifdef __cplusplus
21245 }
21246 #endif
21247
21248 int
21249 main ()
21250 {
21251 return f != $ac_func;
21252   ;
21253   return 0;
21254 }
21255 _ACEOF
21256 rm -f conftest.$ac_objext conftest$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258   (eval $ac_link) 2>&5
21259   ac_status=$?
21260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261   (exit $ac_status); } &&
21262          { ac_try='test -s conftest$ac_exeext'
21263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264   (eval $ac_try) 2>&5
21265   ac_status=$?
21266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267   (exit $ac_status); }; }; then
21268   eval "$as_ac_var=yes"
21269 else
21270   echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21272
21273 eval "$as_ac_var=no"
21274 fi
21275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21276 fi
21277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21279 if test `eval echo '${'$as_ac_var'}'` = yes; then
21280   cat >>confdefs.h <<_ACEOF
21281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21282 _ACEOF
21283
21284 fi
21285 done
21286
21287     fi
21288   fi
21289
21290
21291
21292   echo "$as_me:$LINENO: checking for finitel declaration" >&5
21293 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21294   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21295     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21296   echo $ECHO_N "(cached) $ECHO_C" >&6
21297 else
21298
21299
21300
21301       ac_ext=cc
21302 ac_cpp='$CXXCPP $CPPFLAGS'
21303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306
21307       cat >conftest.$ac_ext <<_ACEOF
21308 #line $LINENO "configure"
21309 /* confdefs.h.  */
21310 _ACEOF
21311 cat confdefs.h >>conftest.$ac_ext
21312 cat >>conftest.$ac_ext <<_ACEOF
21313 /* end confdefs.h.  */
21314 #include <math.h>
21315                       #ifdef HAVE_IEEEFP_H
21316                       #include <ieeefp.h>
21317                       #endif
21318
21319 int
21320 main ()
21321 {
21322  finitel(0);
21323   ;
21324   return 0;
21325 }
21326 _ACEOF
21327 rm -f conftest.$ac_objext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21329   (eval $ac_compile) 2>&5
21330   ac_status=$?
21331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332   (exit $ac_status); } &&
21333          { ac_try='test -s conftest.$ac_objext'
21334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335   (eval $ac_try) 2>&5
21336   ac_status=$?
21337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338   (exit $ac_status); }; }; then
21339   glibcxx_cv_func_finitel_use=yes
21340 else
21341   echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21343
21344 glibcxx_cv_func_finitel_use=no
21345 fi
21346 rm -f conftest.$ac_objext conftest.$ac_ext
21347       ac_ext=c
21348 ac_cpp='$CPP $CPPFLAGS'
21349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21352
21353
21354 fi
21355
21356   fi
21357   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21358 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21359
21360   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21361
21362 for ac_func in finitel
21363 do
21364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21365 echo "$as_me:$LINENO: checking for $ac_func" >&5
21366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21367 if eval "test \"\${$as_ac_var+set}\" = set"; then
21368   echo $ECHO_N "(cached) $ECHO_C" >&6
21369 else
21370   if test x$gcc_no_link = xyes; then
21371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21373    { (exit 1); exit 1; }; }
21374 fi
21375 cat >conftest.$ac_ext <<_ACEOF
21376 #line $LINENO "configure"
21377 /* confdefs.h.  */
21378 _ACEOF
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h.  */
21382 /* System header to define __stub macros and hopefully few prototypes,
21383     which can conflict with char $ac_func (); below.
21384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21385     <limits.h> exists even on freestanding compilers.  */
21386 #ifdef __STDC__
21387 # include <limits.h>
21388 #else
21389 # include <assert.h>
21390 #endif
21391 /* Override any gcc2 internal prototype to avoid an error.  */
21392 #ifdef __cplusplus
21393 extern "C"
21394 {
21395 #endif
21396 /* We use char because int might match the return type of a gcc2
21397    builtin and then its argument prototype would still apply.  */
21398 char $ac_func ();
21399 /* The GNU C library defines this for functions which it implements
21400     to always fail with ENOSYS.  Some functions are actually named
21401     something starting with __ and the normal name is an alias.  */
21402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21403 choke me
21404 #else
21405 char (*f) () = $ac_func;
21406 #endif
21407 #ifdef __cplusplus
21408 }
21409 #endif
21410
21411 int
21412 main ()
21413 {
21414 return f != $ac_func;
21415   ;
21416   return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext conftest$ac_exeext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21421   (eval $ac_link) 2>&5
21422   ac_status=$?
21423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424   (exit $ac_status); } &&
21425          { ac_try='test -s conftest$ac_exeext'
21426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21427   (eval $ac_try) 2>&5
21428   ac_status=$?
21429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430   (exit $ac_status); }; }; then
21431   eval "$as_ac_var=yes"
21432 else
21433   echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21435
21436 eval "$as_ac_var=no"
21437 fi
21438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21439 fi
21440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21442 if test `eval echo '${'$as_ac_var'}'` = yes; then
21443   cat >>confdefs.h <<_ACEOF
21444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21445 _ACEOF
21446
21447 fi
21448 done
21449
21450   else
21451
21452   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21453 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21454   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21455     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21456   echo $ECHO_N "(cached) $ECHO_C" >&6
21457 else
21458
21459
21460
21461       ac_ext=cc
21462 ac_cpp='$CXXCPP $CPPFLAGS'
21463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21466
21467       cat >conftest.$ac_ext <<_ACEOF
21468 #line $LINENO "configure"
21469 /* confdefs.h.  */
21470 _ACEOF
21471 cat confdefs.h >>conftest.$ac_ext
21472 cat >>conftest.$ac_ext <<_ACEOF
21473 /* end confdefs.h.  */
21474 #include <math.h>
21475                       #ifdef HAVE_IEEEFP_H
21476                       #include <ieeefp.h>
21477                       #endif
21478
21479 int
21480 main ()
21481 {
21482  _finitel(0);
21483   ;
21484   return 0;
21485 }
21486 _ACEOF
21487 rm -f conftest.$ac_objext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21489   (eval $ac_compile) 2>&5
21490   ac_status=$?
21491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492   (exit $ac_status); } &&
21493          { ac_try='test -s conftest.$ac_objext'
21494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495   (eval $ac_try) 2>&5
21496   ac_status=$?
21497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498   (exit $ac_status); }; }; then
21499   glibcxx_cv_func__finitel_use=yes
21500 else
21501   echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 glibcxx_cv_func__finitel_use=no
21505 fi
21506 rm -f conftest.$ac_objext conftest.$ac_ext
21507       ac_ext=c
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21512
21513
21514 fi
21515
21516   fi
21517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21518 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21519
21520     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21521
21522 for ac_func in _finitel
21523 do
21524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21525 echo "$as_me:$LINENO: checking for $ac_func" >&5
21526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21527 if eval "test \"\${$as_ac_var+set}\" = set"; then
21528   echo $ECHO_N "(cached) $ECHO_C" >&6
21529 else
21530   if test x$gcc_no_link = xyes; then
21531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21533    { (exit 1); exit 1; }; }
21534 fi
21535 cat >conftest.$ac_ext <<_ACEOF
21536 #line $LINENO "configure"
21537 /* confdefs.h.  */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h.  */
21542 /* System header to define __stub macros and hopefully few prototypes,
21543     which can conflict with char $ac_func (); below.
21544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21545     <limits.h> exists even on freestanding compilers.  */
21546 #ifdef __STDC__
21547 # include <limits.h>
21548 #else
21549 # include <assert.h>
21550 #endif
21551 /* Override any gcc2 internal prototype to avoid an error.  */
21552 #ifdef __cplusplus
21553 extern "C"
21554 {
21555 #endif
21556 /* We use char because int might match the return type of a gcc2
21557    builtin and then its argument prototype would still apply.  */
21558 char $ac_func ();
21559 /* The GNU C library defines this for functions which it implements
21560     to always fail with ENOSYS.  Some functions are actually named
21561     something starting with __ and the normal name is an alias.  */
21562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21563 choke me
21564 #else
21565 char (*f) () = $ac_func;
21566 #endif
21567 #ifdef __cplusplus
21568 }
21569 #endif
21570
21571 int
21572 main ()
21573 {
21574 return f != $ac_func;
21575   ;
21576   return 0;
21577 }
21578 _ACEOF
21579 rm -f conftest.$ac_objext conftest$ac_exeext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21581   (eval $ac_link) 2>&5
21582   ac_status=$?
21583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584   (exit $ac_status); } &&
21585          { ac_try='test -s conftest$ac_exeext'
21586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587   (eval $ac_try) 2>&5
21588   ac_status=$?
21589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590   (exit $ac_status); }; }; then
21591   eval "$as_ac_var=yes"
21592 else
21593   echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.$ac_ext >&5
21595
21596 eval "$as_ac_var=no"
21597 fi
21598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21599 fi
21600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21602 if test `eval echo '${'$as_ac_var'}'` = yes; then
21603   cat >>confdefs.h <<_ACEOF
21604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21605 _ACEOF
21606
21607 fi
21608 done
21609
21610     fi
21611   fi
21612
21613
21614
21615
21616   echo "$as_me:$LINENO: checking for _float trig functions" >&5
21617 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21618   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21619   echo $ECHO_N "(cached) $ECHO_C" >&6
21620 else
21621
21622
21623
21624     ac_ext=cc
21625 ac_cpp='$CXXCPP $CPPFLAGS'
21626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21629
21630     cat >conftest.$ac_ext <<_ACEOF
21631 #line $LINENO "configure"
21632 /* confdefs.h.  */
21633 _ACEOF
21634 cat confdefs.h >>conftest.$ac_ext
21635 cat >>conftest.$ac_ext <<_ACEOF
21636 /* end confdefs.h.  */
21637 #include <math.h>
21638 int
21639 main ()
21640 {
21641  `for x in _acosf _asinf _atanf \
21642                                           _cosf _sinf _tanf \
21643                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21644   ;
21645   return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest.$ac_objext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21650   (eval $ac_compile) 2>&5
21651   ac_status=$?
21652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653   (exit $ac_status); } &&
21654          { ac_try='test -s conftest.$ac_objext'
21655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656   (eval $ac_try) 2>&5
21657   ac_status=$?
21658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659   (exit $ac_status); }; }; then
21660   glibcxx_cv_func__float_trig_use=yes
21661 else
21662   echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 glibcxx_cv_func__float_trig_use=no
21666 fi
21667 rm -f conftest.$ac_objext conftest.$ac_ext
21668     ac_ext=c
21669 ac_cpp='$CPP $CPPFLAGS'
21670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21673
21674 fi
21675
21676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21677 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21678   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688 for ac_func in _acosf _asinf _atanf \
21689                                           _cosf _sinf _tanf \
21690                                           _coshf _sinhf _tanhf
21691 do
21692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21693 echo "$as_me:$LINENO: checking for $ac_func" >&5
21694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21695 if eval "test \"\${$as_ac_var+set}\" = set"; then
21696   echo $ECHO_N "(cached) $ECHO_C" >&6
21697 else
21698   if test x$gcc_no_link = xyes; then
21699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21701    { (exit 1); exit 1; }; }
21702 fi
21703 cat >conftest.$ac_ext <<_ACEOF
21704 #line $LINENO "configure"
21705 /* confdefs.h.  */
21706 _ACEOF
21707 cat confdefs.h >>conftest.$ac_ext
21708 cat >>conftest.$ac_ext <<_ACEOF
21709 /* end confdefs.h.  */
21710 /* System header to define __stub macros and hopefully few prototypes,
21711     which can conflict with char $ac_func (); below.
21712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21713     <limits.h> exists even on freestanding compilers.  */
21714 #ifdef __STDC__
21715 # include <limits.h>
21716 #else
21717 # include <assert.h>
21718 #endif
21719 /* Override any gcc2 internal prototype to avoid an error.  */
21720 #ifdef __cplusplus
21721 extern "C"
21722 {
21723 #endif
21724 /* We use char because int might match the return type of a gcc2
21725    builtin and then its argument prototype would still apply.  */
21726 char $ac_func ();
21727 /* The GNU C library defines this for functions which it implements
21728     to always fail with ENOSYS.  Some functions are actually named
21729     something starting with __ and the normal name is an alias.  */
21730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21731 choke me
21732 #else
21733 char (*f) () = $ac_func;
21734 #endif
21735 #ifdef __cplusplus
21736 }
21737 #endif
21738
21739 int
21740 main ()
21741 {
21742 return f != $ac_func;
21743   ;
21744   return 0;
21745 }
21746 _ACEOF
21747 rm -f conftest.$ac_objext conftest$ac_exeext
21748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21749   (eval $ac_link) 2>&5
21750   ac_status=$?
21751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752   (exit $ac_status); } &&
21753          { ac_try='test -s conftest$ac_exeext'
21754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755   (eval $ac_try) 2>&5
21756   ac_status=$?
21757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758   (exit $ac_status); }; }; then
21759   eval "$as_ac_var=yes"
21760 else
21761   echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 eval "$as_ac_var=no"
21765 fi
21766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21767 fi
21768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21770 if test `eval echo '${'$as_ac_var'}'` = yes; then
21771   cat >>confdefs.h <<_ACEOF
21772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21773 _ACEOF
21774
21775 fi
21776 done
21777
21778   fi
21779
21780
21781   echo "$as_me:$LINENO: checking for _float round functions" >&5
21782 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21783   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21784   echo $ECHO_N "(cached) $ECHO_C" >&6
21785 else
21786
21787
21788
21789     ac_ext=cc
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794
21795     cat >conftest.$ac_ext <<_ACEOF
21796 #line $LINENO "configure"
21797 /* confdefs.h.  */
21798 _ACEOF
21799 cat confdefs.h >>conftest.$ac_ext
21800 cat >>conftest.$ac_ext <<_ACEOF
21801 /* end confdefs.h.  */
21802 #include <math.h>
21803 int
21804 main ()
21805 {
21806  `for x in _ceilf _floorf; do echo "$x (0);"; done`
21807   ;
21808   return 0;
21809 }
21810 _ACEOF
21811 rm -f conftest.$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813   (eval $ac_compile) 2>&5
21814   ac_status=$?
21815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816   (exit $ac_status); } &&
21817          { ac_try='test -s conftest.$ac_objext'
21818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819   (eval $ac_try) 2>&5
21820   ac_status=$?
21821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822   (exit $ac_status); }; }; then
21823   glibcxx_cv_func__float_round_use=yes
21824 else
21825   echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21827
21828 glibcxx_cv_func__float_round_use=no
21829 fi
21830 rm -f conftest.$ac_objext conftest.$ac_ext
21831     ac_ext=c
21832 ac_cpp='$CPP $CPPFLAGS'
21833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21836
21837 fi
21838
21839   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21840 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21841   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21842
21843
21844 for ac_func in _ceilf _floorf
21845 do
21846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21847 echo "$as_me:$LINENO: checking for $ac_func" >&5
21848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21849 if eval "test \"\${$as_ac_var+set}\" = set"; then
21850   echo $ECHO_N "(cached) $ECHO_C" >&6
21851 else
21852   if test x$gcc_no_link = xyes; then
21853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21855    { (exit 1); exit 1; }; }
21856 fi
21857 cat >conftest.$ac_ext <<_ACEOF
21858 #line $LINENO "configure"
21859 /* confdefs.h.  */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h.  */
21864 /* System header to define __stub macros and hopefully few prototypes,
21865     which can conflict with char $ac_func (); below.
21866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21867     <limits.h> exists even on freestanding compilers.  */
21868 #ifdef __STDC__
21869 # include <limits.h>
21870 #else
21871 # include <assert.h>
21872 #endif
21873 /* Override any gcc2 internal prototype to avoid an error.  */
21874 #ifdef __cplusplus
21875 extern "C"
21876 {
21877 #endif
21878 /* We use char because int might match the return type of a gcc2
21879    builtin and then its argument prototype would still apply.  */
21880 char $ac_func ();
21881 /* The GNU C library defines this for functions which it implements
21882     to always fail with ENOSYS.  Some functions are actually named
21883     something starting with __ and the normal name is an alias.  */
21884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21885 choke me
21886 #else
21887 char (*f) () = $ac_func;
21888 #endif
21889 #ifdef __cplusplus
21890 }
21891 #endif
21892
21893 int
21894 main ()
21895 {
21896 return f != $ac_func;
21897   ;
21898   return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext conftest$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903   (eval $ac_link) 2>&5
21904   ac_status=$?
21905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906   (exit $ac_status); } &&
21907          { ac_try='test -s conftest$ac_exeext'
21908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909   (eval $ac_try) 2>&5
21910   ac_status=$?
21911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912   (exit $ac_status); }; }; then
21913   eval "$as_ac_var=yes"
21914 else
21915   echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.$ac_ext >&5
21917
21918 eval "$as_ac_var=no"
21919 fi
21920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21921 fi
21922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21924 if test `eval echo '${'$as_ac_var'}'` = yes; then
21925   cat >>confdefs.h <<_ACEOF
21926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21927 _ACEOF
21928
21929 fi
21930 done
21931
21932   fi
21933
21934
21935
21936   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21937 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21938   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21939   echo $ECHO_N "(cached) $ECHO_C" >&6
21940 else
21941
21942
21943
21944     ac_ext=cc
21945 ac_cpp='$CXXCPP $CPPFLAGS'
21946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21949
21950     cat >conftest.$ac_ext <<_ACEOF
21951 #line $LINENO "configure"
21952 /* confdefs.h.  */
21953 _ACEOF
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h.  */
21957 #include <math.h>
21958 int
21959 main ()
21960 {
21961  `for x in _acosl _asinl _atanl \
21962                                           _cosl _sinl _tanl \
21963                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21964   ;
21965   return 0;
21966 }
21967 _ACEOF
21968 rm -f conftest.$ac_objext
21969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21970   (eval $ac_compile) 2>&5
21971   ac_status=$?
21972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973   (exit $ac_status); } &&
21974          { ac_try='test -s conftest.$ac_objext'
21975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976   (eval $ac_try) 2>&5
21977   ac_status=$?
21978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979   (exit $ac_status); }; }; then
21980   glibcxx_cv_func__long_double_trig_use=yes
21981 else
21982   echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 glibcxx_cv_func__long_double_trig_use=no
21986 fi
21987 rm -f conftest.$ac_objext conftest.$ac_ext
21988     ac_ext=c
21989 ac_cpp='$CPP $CPPFLAGS'
21990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21993
21994 fi
21995
21996   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21997 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21998   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008 for ac_func in _acosl _asinl _atanl \
22009                                           _cosl _sinl _tanl \
22010                                           _coshl _sinhl _tanhl
22011 do
22012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22013 echo "$as_me:$LINENO: checking for $ac_func" >&5
22014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22015 if eval "test \"\${$as_ac_var+set}\" = set"; then
22016   echo $ECHO_N "(cached) $ECHO_C" >&6
22017 else
22018   if test x$gcc_no_link = xyes; then
22019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22021    { (exit 1); exit 1; }; }
22022 fi
22023 cat >conftest.$ac_ext <<_ACEOF
22024 #line $LINENO "configure"
22025 /* confdefs.h.  */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h.  */
22030 /* System header to define __stub macros and hopefully few prototypes,
22031     which can conflict with char $ac_func (); below.
22032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22033     <limits.h> exists even on freestanding compilers.  */
22034 #ifdef __STDC__
22035 # include <limits.h>
22036 #else
22037 # include <assert.h>
22038 #endif
22039 /* Override any gcc2 internal prototype to avoid an error.  */
22040 #ifdef __cplusplus
22041 extern "C"
22042 {
22043 #endif
22044 /* We use char because int might match the return type of a gcc2
22045    builtin and then its argument prototype would still apply.  */
22046 char $ac_func ();
22047 /* The GNU C library defines this for functions which it implements
22048     to always fail with ENOSYS.  Some functions are actually named
22049     something starting with __ and the normal name is an alias.  */
22050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22051 choke me
22052 #else
22053 char (*f) () = $ac_func;
22054 #endif
22055 #ifdef __cplusplus
22056 }
22057 #endif
22058
22059 int
22060 main ()
22061 {
22062 return f != $ac_func;
22063   ;
22064   return 0;
22065 }
22066 _ACEOF
22067 rm -f conftest.$ac_objext conftest$ac_exeext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22069   (eval $ac_link) 2>&5
22070   ac_status=$?
22071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072   (exit $ac_status); } &&
22073          { ac_try='test -s conftest$ac_exeext'
22074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075   (eval $ac_try) 2>&5
22076   ac_status=$?
22077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078   (exit $ac_status); }; }; then
22079   eval "$as_ac_var=yes"
22080 else
22081   echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.$ac_ext >&5
22083
22084 eval "$as_ac_var=no"
22085 fi
22086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22087 fi
22088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22090 if test `eval echo '${'$as_ac_var'}'` = yes; then
22091   cat >>confdefs.h <<_ACEOF
22092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22093 _ACEOF
22094
22095 fi
22096 done
22097
22098   fi
22099
22100
22101   echo "$as_me:$LINENO: checking for _long double round functions" >&5
22102 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22103   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22104   echo $ECHO_N "(cached) $ECHO_C" >&6
22105 else
22106
22107
22108
22109     ac_ext=cc
22110 ac_cpp='$CXXCPP $CPPFLAGS'
22111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22114
22115     cat >conftest.$ac_ext <<_ACEOF
22116 #line $LINENO "configure"
22117 /* confdefs.h.  */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h.  */
22122 #include <math.h>
22123 int
22124 main ()
22125 {
22126  `for x in _ceill _floorl; do echo "$x (0);"; done`
22127   ;
22128   return 0;
22129 }
22130 _ACEOF
22131 rm -f conftest.$ac_objext
22132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22133   (eval $ac_compile) 2>&5
22134   ac_status=$?
22135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136   (exit $ac_status); } &&
22137          { ac_try='test -s conftest.$ac_objext'
22138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22139   (eval $ac_try) 2>&5
22140   ac_status=$?
22141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142   (exit $ac_status); }; }; then
22143   glibcxx_cv_func__long_double_round_use=yes
22144 else
22145   echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.$ac_ext >&5
22147
22148 glibcxx_cv_func__long_double_round_use=no
22149 fi
22150 rm -f conftest.$ac_objext conftest.$ac_ext
22151     ac_ext=c
22152 ac_cpp='$CPP $CPPFLAGS'
22153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22156
22157 fi
22158
22159   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22160 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22161   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22162
22163
22164 for ac_func in _ceill _floorl
22165 do
22166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22167 echo "$as_me:$LINENO: checking for $ac_func" >&5
22168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22169 if eval "test \"\${$as_ac_var+set}\" = set"; then
22170   echo $ECHO_N "(cached) $ECHO_C" >&6
22171 else
22172   if test x$gcc_no_link = xyes; then
22173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22175    { (exit 1); exit 1; }; }
22176 fi
22177 cat >conftest.$ac_ext <<_ACEOF
22178 #line $LINENO "configure"
22179 /* confdefs.h.  */
22180 _ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h.  */
22184 /* System header to define __stub macros and hopefully few prototypes,
22185     which can conflict with char $ac_func (); below.
22186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22187     <limits.h> exists even on freestanding compilers.  */
22188 #ifdef __STDC__
22189 # include <limits.h>
22190 #else
22191 # include <assert.h>
22192 #endif
22193 /* Override any gcc2 internal prototype to avoid an error.  */
22194 #ifdef __cplusplus
22195 extern "C"
22196 {
22197 #endif
22198 /* We use char because int might match the return type of a gcc2
22199    builtin and then its argument prototype would still apply.  */
22200 char $ac_func ();
22201 /* The GNU C library defines this for functions which it implements
22202     to always fail with ENOSYS.  Some functions are actually named
22203     something starting with __ and the normal name is an alias.  */
22204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22205 choke me
22206 #else
22207 char (*f) () = $ac_func;
22208 #endif
22209 #ifdef __cplusplus
22210 }
22211 #endif
22212
22213 int
22214 main ()
22215 {
22216 return f != $ac_func;
22217   ;
22218   return 0;
22219 }
22220 _ACEOF
22221 rm -f conftest.$ac_objext conftest$ac_exeext
22222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22223   (eval $ac_link) 2>&5
22224   ac_status=$?
22225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226   (exit $ac_status); } &&
22227          { ac_try='test -s conftest$ac_exeext'
22228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229   (eval $ac_try) 2>&5
22230   ac_status=$?
22231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232   (exit $ac_status); }; }; then
22233   eval "$as_ac_var=yes"
22234 else
22235   echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22237
22238 eval "$as_ac_var=no"
22239 fi
22240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22241 fi
22242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22244 if test `eval echo '${'$as_ac_var'}'` = yes; then
22245   cat >>confdefs.h <<_ACEOF
22246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22247 _ACEOF
22248
22249 fi
22250 done
22251
22252   fi
22253
22254
22255   LIBS="$ac_save_LIBS"
22256   CXXFLAGS="$ac_save_CXXFLAGS"
22257
22258
22259
22260   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22261 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22262   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22263     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22264   echo $ECHO_N "(cached) $ECHO_C" >&6
22265 else
22266
22267
22268
22269       ac_ext=cc
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22274
22275       cat >conftest.$ac_ext <<_ACEOF
22276 #line $LINENO "configure"
22277 /* confdefs.h.  */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h.  */
22282 #include <math.h>
22283 int
22284 main ()
22285 {
22286  __builtin_abs(0);
22287   ;
22288   return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22293   (eval $ac_compile) 2>&5
22294   ac_status=$?
22295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296   (exit $ac_status); } &&
22297          { ac_try='test -s conftest.$ac_objext'
22298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299   (eval $ac_try) 2>&5
22300   ac_status=$?
22301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302   (exit $ac_status); }; }; then
22303   glibcxx_cv_func___builtin_abs_use=yes
22304 else
22305   echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22307
22308 glibcxx_cv_func___builtin_abs_use=no
22309 fi
22310 rm -f conftest.$ac_objext conftest.$ac_ext
22311       ac_ext=c
22312 ac_cpp='$CPP $CPPFLAGS'
22313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22316
22317
22318 fi
22319
22320   fi
22321   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22322 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22323   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22324     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22325 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22326     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22327       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22328   echo $ECHO_N "(cached) $ECHO_C" >&6
22329 else
22330
22331         if test x$gcc_no_link = xyes; then
22332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22334    { (exit 1); exit 1; }; }
22335 fi
22336 cat >conftest.$ac_ext <<_ACEOF
22337 #line $LINENO "configure"
22338 /* confdefs.h.  */
22339 _ACEOF
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h.  */
22343 #include <math.h>
22344 int
22345 main ()
22346 {
22347  __builtin_abs(0);
22348   ;
22349   return 0;
22350 }
22351 _ACEOF
22352 rm -f conftest.$ac_objext conftest$ac_exeext
22353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22354   (eval $ac_link) 2>&5
22355   ac_status=$?
22356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357   (exit $ac_status); } &&
22358          { ac_try='test -s conftest$ac_exeext'
22359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360   (eval $ac_try) 2>&5
22361   ac_status=$?
22362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363   (exit $ac_status); }; }; then
22364   glibcxx_cv_func___builtin_abs_link=yes
22365 else
22366   echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22368
22369 glibcxx_cv_func___builtin_abs_link=no
22370 fi
22371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22372
22373 fi
22374
22375     fi
22376     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22377 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22378     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22379       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22380       cat >>confdefs.h <<_ACEOF
22381 #define ${ac_tr_func} 1
22382 _ACEOF
22383
22384     fi
22385   fi
22386
22387
22388   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22389 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22390   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22391     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22392   echo $ECHO_N "(cached) $ECHO_C" >&6
22393 else
22394
22395
22396
22397       ac_ext=cc
22398 ac_cpp='$CXXCPP $CPPFLAGS'
22399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22402
22403       cat >conftest.$ac_ext <<_ACEOF
22404 #line $LINENO "configure"
22405 /* confdefs.h.  */
22406 _ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h.  */
22410 #include <math.h>
22411 int
22412 main ()
22413 {
22414  __builtin_fabsf(0);
22415   ;
22416   return 0;
22417 }
22418 _ACEOF
22419 rm -f conftest.$ac_objext
22420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22421   (eval $ac_compile) 2>&5
22422   ac_status=$?
22423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424   (exit $ac_status); } &&
22425          { ac_try='test -s conftest.$ac_objext'
22426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427   (eval $ac_try) 2>&5
22428   ac_status=$?
22429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430   (exit $ac_status); }; }; then
22431   glibcxx_cv_func___builtin_fabsf_use=yes
22432 else
22433   echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.$ac_ext >&5
22435
22436 glibcxx_cv_func___builtin_fabsf_use=no
22437 fi
22438 rm -f conftest.$ac_objext conftest.$ac_ext
22439       ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444
22445
22446 fi
22447
22448   fi
22449   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22450 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22451   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22452     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22453 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22454     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22455       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22456   echo $ECHO_N "(cached) $ECHO_C" >&6
22457 else
22458
22459         if test x$gcc_no_link = xyes; then
22460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22462    { (exit 1); exit 1; }; }
22463 fi
22464 cat >conftest.$ac_ext <<_ACEOF
22465 #line $LINENO "configure"
22466 /* confdefs.h.  */
22467 _ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h.  */
22471 #include <math.h>
22472 int
22473 main ()
22474 {
22475  __builtin_fabsf(0);
22476   ;
22477   return 0;
22478 }
22479 _ACEOF
22480 rm -f conftest.$ac_objext conftest$ac_exeext
22481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22482   (eval $ac_link) 2>&5
22483   ac_status=$?
22484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485   (exit $ac_status); } &&
22486          { ac_try='test -s conftest$ac_exeext'
22487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488   (eval $ac_try) 2>&5
22489   ac_status=$?
22490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491   (exit $ac_status); }; }; then
22492   glibcxx_cv_func___builtin_fabsf_link=yes
22493 else
22494   echo "$as_me: failed program was:" >&5
22495 sed 's/^/| /' conftest.$ac_ext >&5
22496
22497 glibcxx_cv_func___builtin_fabsf_link=no
22498 fi
22499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22500
22501 fi
22502
22503     fi
22504     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22505 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22506     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22507       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22508       cat >>confdefs.h <<_ACEOF
22509 #define ${ac_tr_func} 1
22510 _ACEOF
22511
22512     fi
22513   fi
22514
22515
22516   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22517 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22518   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22519     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22520   echo $ECHO_N "(cached) $ECHO_C" >&6
22521 else
22522
22523
22524
22525       ac_ext=cc
22526 ac_cpp='$CXXCPP $CPPFLAGS'
22527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22530
22531       cat >conftest.$ac_ext <<_ACEOF
22532 #line $LINENO "configure"
22533 /* confdefs.h.  */
22534 _ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h.  */
22538 #include <math.h>
22539 int
22540 main ()
22541 {
22542  __builtin_fabs(0);
22543   ;
22544   return 0;
22545 }
22546 _ACEOF
22547 rm -f conftest.$ac_objext
22548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22549   (eval $ac_compile) 2>&5
22550   ac_status=$?
22551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552   (exit $ac_status); } &&
22553          { ac_try='test -s conftest.$ac_objext'
22554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555   (eval $ac_try) 2>&5
22556   ac_status=$?
22557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558   (exit $ac_status); }; }; then
22559   glibcxx_cv_func___builtin_fabs_use=yes
22560 else
22561   echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.$ac_ext >&5
22563
22564 glibcxx_cv_func___builtin_fabs_use=no
22565 fi
22566 rm -f conftest.$ac_objext conftest.$ac_ext
22567       ac_ext=c
22568 ac_cpp='$CPP $CPPFLAGS'
22569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22572
22573
22574 fi
22575
22576   fi
22577   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22578 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22579   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22580     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22581 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22582     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22583       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22584   echo $ECHO_N "(cached) $ECHO_C" >&6
22585 else
22586
22587         if test x$gcc_no_link = xyes; then
22588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22590    { (exit 1); exit 1; }; }
22591 fi
22592 cat >conftest.$ac_ext <<_ACEOF
22593 #line $LINENO "configure"
22594 /* confdefs.h.  */
22595 _ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h.  */
22599 #include <math.h>
22600 int
22601 main ()
22602 {
22603  __builtin_fabs(0);
22604   ;
22605   return 0;
22606 }
22607 _ACEOF
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22610   (eval $ac_link) 2>&5
22611   ac_status=$?
22612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613   (exit $ac_status); } &&
22614          { ac_try='test -s conftest$ac_exeext'
22615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616   (eval $ac_try) 2>&5
22617   ac_status=$?
22618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619   (exit $ac_status); }; }; then
22620   glibcxx_cv_func___builtin_fabs_link=yes
22621 else
22622   echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.$ac_ext >&5
22624
22625 glibcxx_cv_func___builtin_fabs_link=no
22626 fi
22627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22628
22629 fi
22630
22631     fi
22632     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22633 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22634     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22635       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22636       cat >>confdefs.h <<_ACEOF
22637 #define ${ac_tr_func} 1
22638 _ACEOF
22639
22640     fi
22641   fi
22642
22643
22644   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22645 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22646   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22647     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22648   echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650
22651
22652
22653       ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659       cat >conftest.$ac_ext <<_ACEOF
22660 #line $LINENO "configure"
22661 /* confdefs.h.  */
22662 _ACEOF
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h.  */
22666 #include <math.h>
22667 int
22668 main ()
22669 {
22670  __builtin_fabsl(0);
22671   ;
22672   return 0;
22673 }
22674 _ACEOF
22675 rm -f conftest.$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677   (eval $ac_compile) 2>&5
22678   ac_status=$?
22679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680   (exit $ac_status); } &&
22681          { ac_try='test -s conftest.$ac_objext'
22682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683   (eval $ac_try) 2>&5
22684   ac_status=$?
22685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686   (exit $ac_status); }; }; then
22687   glibcxx_cv_func___builtin_fabsl_use=yes
22688 else
22689   echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22691
22692 glibcxx_cv_func___builtin_fabsl_use=no
22693 fi
22694 rm -f conftest.$ac_objext conftest.$ac_ext
22695       ac_ext=c
22696 ac_cpp='$CPP $CPPFLAGS'
22697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22700
22701
22702 fi
22703
22704   fi
22705   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22706 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22707   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22708     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22709 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22710     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22711       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22712   echo $ECHO_N "(cached) $ECHO_C" >&6
22713 else
22714
22715         if test x$gcc_no_link = xyes; then
22716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22718    { (exit 1); exit 1; }; }
22719 fi
22720 cat >conftest.$ac_ext <<_ACEOF
22721 #line $LINENO "configure"
22722 /* confdefs.h.  */
22723 _ACEOF
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h.  */
22727 #include <math.h>
22728 int
22729 main ()
22730 {
22731  __builtin_fabsl(0);
22732   ;
22733   return 0;
22734 }
22735 _ACEOF
22736 rm -f conftest.$ac_objext conftest$ac_exeext
22737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22738   (eval $ac_link) 2>&5
22739   ac_status=$?
22740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741   (exit $ac_status); } &&
22742          { ac_try='test -s conftest$ac_exeext'
22743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744   (eval $ac_try) 2>&5
22745   ac_status=$?
22746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747   (exit $ac_status); }; }; then
22748   glibcxx_cv_func___builtin_fabsl_link=yes
22749 else
22750   echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22752
22753 glibcxx_cv_func___builtin_fabsl_link=no
22754 fi
22755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22756
22757 fi
22758
22759     fi
22760     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22761 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22762     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22763       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22764       cat >>confdefs.h <<_ACEOF
22765 #define ${ac_tr_func} 1
22766 _ACEOF
22767
22768     fi
22769   fi
22770
22771
22772   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22773 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22774   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22775     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22776   echo $ECHO_N "(cached) $ECHO_C" >&6
22777 else
22778
22779
22780
22781       ac_ext=cc
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786
22787       cat >conftest.$ac_ext <<_ACEOF
22788 #line $LINENO "configure"
22789 /* confdefs.h.  */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h.  */
22794 #include <math.h>
22795 int
22796 main ()
22797 {
22798  __builtin_labs(0);
22799   ;
22800   return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22805   (eval $ac_compile) 2>&5
22806   ac_status=$?
22807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808   (exit $ac_status); } &&
22809          { ac_try='test -s conftest.$ac_objext'
22810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811   (eval $ac_try) 2>&5
22812   ac_status=$?
22813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814   (exit $ac_status); }; }; then
22815   glibcxx_cv_func___builtin_labs_use=yes
22816 else
22817   echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 glibcxx_cv_func___builtin_labs_use=no
22821 fi
22822 rm -f conftest.$ac_objext conftest.$ac_ext
22823       ac_ext=c
22824 ac_cpp='$CPP $CPPFLAGS'
22825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22828
22829
22830 fi
22831
22832   fi
22833   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22834 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22835   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22836     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22837 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22838     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22839       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22840   echo $ECHO_N "(cached) $ECHO_C" >&6
22841 else
22842
22843         if test x$gcc_no_link = xyes; then
22844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22846    { (exit 1); exit 1; }; }
22847 fi
22848 cat >conftest.$ac_ext <<_ACEOF
22849 #line $LINENO "configure"
22850 /* confdefs.h.  */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h.  */
22855 #include <math.h>
22856 int
22857 main ()
22858 {
22859  __builtin_labs(0);
22860   ;
22861   return 0;
22862 }
22863 _ACEOF
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866   (eval $ac_link) 2>&5
22867   ac_status=$?
22868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869   (exit $ac_status); } &&
22870          { ac_try='test -s conftest$ac_exeext'
22871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872   (eval $ac_try) 2>&5
22873   ac_status=$?
22874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875   (exit $ac_status); }; }; then
22876   glibcxx_cv_func___builtin_labs_link=yes
22877 else
22878   echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22880
22881 glibcxx_cv_func___builtin_labs_link=no
22882 fi
22883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22884
22885 fi
22886
22887     fi
22888     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22889 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22890     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22891       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22892       cat >>confdefs.h <<_ACEOF
22893 #define ${ac_tr_func} 1
22894 _ACEOF
22895
22896     fi
22897   fi
22898
22899
22900
22901   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22902 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22903   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22904     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22905   echo $ECHO_N "(cached) $ECHO_C" >&6
22906 else
22907
22908
22909
22910       ac_ext=cc
22911 ac_cpp='$CXXCPP $CPPFLAGS'
22912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915
22916       cat >conftest.$ac_ext <<_ACEOF
22917 #line $LINENO "configure"
22918 /* confdefs.h.  */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h.  */
22923 #include <math.h>
22924 int
22925 main ()
22926 {
22927  __builtin_sqrtf(0);
22928   ;
22929   return 0;
22930 }
22931 _ACEOF
22932 rm -f conftest.$ac_objext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22934   (eval $ac_compile) 2>&5
22935   ac_status=$?
22936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937   (exit $ac_status); } &&
22938          { ac_try='test -s conftest.$ac_objext'
22939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940   (eval $ac_try) 2>&5
22941   ac_status=$?
22942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943   (exit $ac_status); }; }; then
22944   glibcxx_cv_func___builtin_sqrtf_use=yes
22945 else
22946   echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22948
22949 glibcxx_cv_func___builtin_sqrtf_use=no
22950 fi
22951 rm -f conftest.$ac_objext conftest.$ac_ext
22952       ac_ext=c
22953 ac_cpp='$CPP $CPPFLAGS'
22954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22957
22958
22959 fi
22960
22961   fi
22962   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22963 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22964   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22965     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22966 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22967     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22968       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22969   echo $ECHO_N "(cached) $ECHO_C" >&6
22970 else
22971
22972         if test x$gcc_no_link = xyes; then
22973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22975    { (exit 1); exit 1; }; }
22976 fi
22977 cat >conftest.$ac_ext <<_ACEOF
22978 #line $LINENO "configure"
22979 /* confdefs.h.  */
22980 _ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h.  */
22984 #include <math.h>
22985 int
22986 main ()
22987 {
22988  __builtin_sqrtf(0);
22989   ;
22990   return 0;
22991 }
22992 _ACEOF
22993 rm -f conftest.$ac_objext conftest$ac_exeext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22995   (eval $ac_link) 2>&5
22996   ac_status=$?
22997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998   (exit $ac_status); } &&
22999          { ac_try='test -s conftest$ac_exeext'
23000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001   (eval $ac_try) 2>&5
23002   ac_status=$?
23003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004   (exit $ac_status); }; }; then
23005   glibcxx_cv_func___builtin_sqrtf_link=yes
23006 else
23007   echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23009
23010 glibcxx_cv_func___builtin_sqrtf_link=no
23011 fi
23012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23013
23014 fi
23015
23016     fi
23017     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23018 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23019     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23020       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23021       cat >>confdefs.h <<_ACEOF
23022 #define ${ac_tr_func} 1
23023 _ACEOF
23024
23025     fi
23026   fi
23027
23028
23029   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23030 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23031   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23032     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23033   echo $ECHO_N "(cached) $ECHO_C" >&6
23034 else
23035
23036
23037
23038       ac_ext=cc
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043
23044       cat >conftest.$ac_ext <<_ACEOF
23045 #line $LINENO "configure"
23046 /* confdefs.h.  */
23047 _ACEOF
23048 cat confdefs.h >>conftest.$ac_ext
23049 cat >>conftest.$ac_ext <<_ACEOF
23050 /* end confdefs.h.  */
23051 #include <math.h>
23052 int
23053 main ()
23054 {
23055  __builtin_sqrt(0);
23056   ;
23057   return 0;
23058 }
23059 _ACEOF
23060 rm -f conftest.$ac_objext
23061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23062   (eval $ac_compile) 2>&5
23063   ac_status=$?
23064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065   (exit $ac_status); } &&
23066          { ac_try='test -s conftest.$ac_objext'
23067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068   (eval $ac_try) 2>&5
23069   ac_status=$?
23070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071   (exit $ac_status); }; }; then
23072   glibcxx_cv_func___builtin_sqrt_use=yes
23073 else
23074   echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23076
23077 glibcxx_cv_func___builtin_sqrt_use=no
23078 fi
23079 rm -f conftest.$ac_objext conftest.$ac_ext
23080       ac_ext=c
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23085
23086
23087 fi
23088
23089   fi
23090   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23091 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23092   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23093     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23094 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23095     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23096       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23097   echo $ECHO_N "(cached) $ECHO_C" >&6
23098 else
23099
23100         if test x$gcc_no_link = xyes; then
23101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23103    { (exit 1); exit 1; }; }
23104 fi
23105 cat >conftest.$ac_ext <<_ACEOF
23106 #line $LINENO "configure"
23107 /* confdefs.h.  */
23108 _ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h.  */
23112 #include <math.h>
23113 int
23114 main ()
23115 {
23116  __builtin_sqrt(0);
23117   ;
23118   return 0;
23119 }
23120 _ACEOF
23121 rm -f conftest.$ac_objext conftest$ac_exeext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23123   (eval $ac_link) 2>&5
23124   ac_status=$?
23125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126   (exit $ac_status); } &&
23127          { ac_try='test -s conftest$ac_exeext'
23128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129   (eval $ac_try) 2>&5
23130   ac_status=$?
23131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132   (exit $ac_status); }; }; then
23133   glibcxx_cv_func___builtin_sqrt_link=yes
23134 else
23135   echo "$as_me: failed program was:" >&5
23136 sed 's/^/| /' conftest.$ac_ext >&5
23137
23138 glibcxx_cv_func___builtin_sqrt_link=no
23139 fi
23140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23141
23142 fi
23143
23144     fi
23145     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23147     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23148       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23149       cat >>confdefs.h <<_ACEOF
23150 #define ${ac_tr_func} 1
23151 _ACEOF
23152
23153     fi
23154   fi
23155
23156
23157   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23158 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23159   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23160     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23161   echo $ECHO_N "(cached) $ECHO_C" >&6
23162 else
23163
23164
23165
23166       ac_ext=cc
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23171
23172       cat >conftest.$ac_ext <<_ACEOF
23173 #line $LINENO "configure"
23174 /* confdefs.h.  */
23175 _ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h.  */
23179 #include <math.h>
23180 int
23181 main ()
23182 {
23183  __builtin_sqrtl(0);
23184   ;
23185   return 0;
23186 }
23187 _ACEOF
23188 rm -f conftest.$ac_objext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23190   (eval $ac_compile) 2>&5
23191   ac_status=$?
23192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193   (exit $ac_status); } &&
23194          { ac_try='test -s conftest.$ac_objext'
23195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196   (eval $ac_try) 2>&5
23197   ac_status=$?
23198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199   (exit $ac_status); }; }; then
23200   glibcxx_cv_func___builtin_sqrtl_use=yes
23201 else
23202   echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23204
23205 glibcxx_cv_func___builtin_sqrtl_use=no
23206 fi
23207 rm -f conftest.$ac_objext conftest.$ac_ext
23208       ac_ext=c
23209 ac_cpp='$CPP $CPPFLAGS'
23210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23213
23214
23215 fi
23216
23217   fi
23218   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23219 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23220   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23221     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23222 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23223     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23224       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23225   echo $ECHO_N "(cached) $ECHO_C" >&6
23226 else
23227
23228         if test x$gcc_no_link = xyes; then
23229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23231    { (exit 1); exit 1; }; }
23232 fi
23233 cat >conftest.$ac_ext <<_ACEOF
23234 #line $LINENO "configure"
23235 /* confdefs.h.  */
23236 _ACEOF
23237 cat confdefs.h >>conftest.$ac_ext
23238 cat >>conftest.$ac_ext <<_ACEOF
23239 /* end confdefs.h.  */
23240 #include <math.h>
23241 int
23242 main ()
23243 {
23244  __builtin_sqrtl(0);
23245   ;
23246   return 0;
23247 }
23248 _ACEOF
23249 rm -f conftest.$ac_objext conftest$ac_exeext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23251   (eval $ac_link) 2>&5
23252   ac_status=$?
23253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254   (exit $ac_status); } &&
23255          { ac_try='test -s conftest$ac_exeext'
23256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257   (eval $ac_try) 2>&5
23258   ac_status=$?
23259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260   (exit $ac_status); }; }; then
23261   glibcxx_cv_func___builtin_sqrtl_link=yes
23262 else
23263   echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23265
23266 glibcxx_cv_func___builtin_sqrtl_link=no
23267 fi
23268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23269
23270 fi
23271
23272     fi
23273     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23275     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23276       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23277       cat >>confdefs.h <<_ACEOF
23278 #define ${ac_tr_func} 1
23279 _ACEOF
23280
23281     fi
23282   fi
23283
23284
23285
23286   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23287 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23288   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23289     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23290   echo $ECHO_N "(cached) $ECHO_C" >&6
23291 else
23292
23293
23294
23295       ac_ext=cc
23296 ac_cpp='$CXXCPP $CPPFLAGS'
23297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23300
23301       cat >conftest.$ac_ext <<_ACEOF
23302 #line $LINENO "configure"
23303 /* confdefs.h.  */
23304 _ACEOF
23305 cat confdefs.h >>conftest.$ac_ext
23306 cat >>conftest.$ac_ext <<_ACEOF
23307 /* end confdefs.h.  */
23308 #include <math.h>
23309 int
23310 main ()
23311 {
23312  __builtin_sinf(0);
23313   ;
23314   return 0;
23315 }
23316 _ACEOF
23317 rm -f conftest.$ac_objext
23318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23319   (eval $ac_compile) 2>&5
23320   ac_status=$?
23321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322   (exit $ac_status); } &&
23323          { ac_try='test -s conftest.$ac_objext'
23324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23325   (eval $ac_try) 2>&5
23326   ac_status=$?
23327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328   (exit $ac_status); }; }; then
23329   glibcxx_cv_func___builtin_sinf_use=yes
23330 else
23331   echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23333
23334 glibcxx_cv_func___builtin_sinf_use=no
23335 fi
23336 rm -f conftest.$ac_objext conftest.$ac_ext
23337       ac_ext=c
23338 ac_cpp='$CPP $CPPFLAGS'
23339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23342
23343
23344 fi
23345
23346   fi
23347   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23349   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23350     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23351 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23352     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23353       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23354   echo $ECHO_N "(cached) $ECHO_C" >&6
23355 else
23356
23357         if test x$gcc_no_link = xyes; then
23358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23360    { (exit 1); exit 1; }; }
23361 fi
23362 cat >conftest.$ac_ext <<_ACEOF
23363 #line $LINENO "configure"
23364 /* confdefs.h.  */
23365 _ACEOF
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h.  */
23369 #include <math.h>
23370 int
23371 main ()
23372 {
23373  __builtin_sinf(0);
23374   ;
23375   return 0;
23376 }
23377 _ACEOF
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380   (eval $ac_link) 2>&5
23381   ac_status=$?
23382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383   (exit $ac_status); } &&
23384          { ac_try='test -s conftest$ac_exeext'
23385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386   (eval $ac_try) 2>&5
23387   ac_status=$?
23388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389   (exit $ac_status); }; }; then
23390   glibcxx_cv_func___builtin_sinf_link=yes
23391 else
23392   echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23394
23395 glibcxx_cv_func___builtin_sinf_link=no
23396 fi
23397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23398
23399 fi
23400
23401     fi
23402     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23404     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23405       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23406       cat >>confdefs.h <<_ACEOF
23407 #define ${ac_tr_func} 1
23408 _ACEOF
23409
23410     fi
23411   fi
23412
23413
23414   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23415 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23416   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23417     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23418   echo $ECHO_N "(cached) $ECHO_C" >&6
23419 else
23420
23421
23422
23423       ac_ext=cc
23424 ac_cpp='$CXXCPP $CPPFLAGS'
23425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23428
23429       cat >conftest.$ac_ext <<_ACEOF
23430 #line $LINENO "configure"
23431 /* confdefs.h.  */
23432 _ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h.  */
23436 #include <math.h>
23437 int
23438 main ()
23439 {
23440  __builtin_sin(0);
23441   ;
23442   return 0;
23443 }
23444 _ACEOF
23445 rm -f conftest.$ac_objext
23446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23447   (eval $ac_compile) 2>&5
23448   ac_status=$?
23449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450   (exit $ac_status); } &&
23451          { ac_try='test -s conftest.$ac_objext'
23452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453   (eval $ac_try) 2>&5
23454   ac_status=$?
23455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456   (exit $ac_status); }; }; then
23457   glibcxx_cv_func___builtin_sin_use=yes
23458 else
23459   echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 glibcxx_cv_func___builtin_sin_use=no
23463 fi
23464 rm -f conftest.$ac_objext conftest.$ac_ext
23465       ac_ext=c
23466 ac_cpp='$CPP $CPPFLAGS'
23467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23470
23471
23472 fi
23473
23474   fi
23475   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23476 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23477   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23478     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23479 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23480     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23481       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23482   echo $ECHO_N "(cached) $ECHO_C" >&6
23483 else
23484
23485         if test x$gcc_no_link = xyes; then
23486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23488    { (exit 1); exit 1; }; }
23489 fi
23490 cat >conftest.$ac_ext <<_ACEOF
23491 #line $LINENO "configure"
23492 /* confdefs.h.  */
23493 _ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h.  */
23497 #include <math.h>
23498 int
23499 main ()
23500 {
23501  __builtin_sin(0);
23502   ;
23503   return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext conftest$ac_exeext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23508   (eval $ac_link) 2>&5
23509   ac_status=$?
23510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511   (exit $ac_status); } &&
23512          { ac_try='test -s conftest$ac_exeext'
23513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514   (eval $ac_try) 2>&5
23515   ac_status=$?
23516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517   (exit $ac_status); }; }; then
23518   glibcxx_cv_func___builtin_sin_link=yes
23519 else
23520   echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.$ac_ext >&5
23522
23523 glibcxx_cv_func___builtin_sin_link=no
23524 fi
23525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23526
23527 fi
23528
23529     fi
23530     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23531 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23532     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23533       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23534       cat >>confdefs.h <<_ACEOF
23535 #define ${ac_tr_func} 1
23536 _ACEOF
23537
23538     fi
23539   fi
23540
23541
23542   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23543 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23544   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23545     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23546   echo $ECHO_N "(cached) $ECHO_C" >&6
23547 else
23548
23549
23550
23551       ac_ext=cc
23552 ac_cpp='$CXXCPP $CPPFLAGS'
23553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23556
23557       cat >conftest.$ac_ext <<_ACEOF
23558 #line $LINENO "configure"
23559 /* confdefs.h.  */
23560 _ACEOF
23561 cat confdefs.h >>conftest.$ac_ext
23562 cat >>conftest.$ac_ext <<_ACEOF
23563 /* end confdefs.h.  */
23564 #include <math.h>
23565 int
23566 main ()
23567 {
23568  __builtin_sinl(0);
23569   ;
23570   return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575   (eval $ac_compile) 2>&5
23576   ac_status=$?
23577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578   (exit $ac_status); } &&
23579          { ac_try='test -s conftest.$ac_objext'
23580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581   (eval $ac_try) 2>&5
23582   ac_status=$?
23583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584   (exit $ac_status); }; }; then
23585   glibcxx_cv_func___builtin_sinl_use=yes
23586 else
23587   echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23589
23590 glibcxx_cv_func___builtin_sinl_use=no
23591 fi
23592 rm -f conftest.$ac_objext conftest.$ac_ext
23593       ac_ext=c
23594 ac_cpp='$CPP $CPPFLAGS'
23595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23598
23599
23600 fi
23601
23602   fi
23603   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23604 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23605   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23606     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23607 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23608     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23609       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23610   echo $ECHO_N "(cached) $ECHO_C" >&6
23611 else
23612
23613         if test x$gcc_no_link = xyes; then
23614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23616    { (exit 1); exit 1; }; }
23617 fi
23618 cat >conftest.$ac_ext <<_ACEOF
23619 #line $LINENO "configure"
23620 /* confdefs.h.  */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h.  */
23625 #include <math.h>
23626 int
23627 main ()
23628 {
23629  __builtin_sinl(0);
23630   ;
23631   return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext conftest$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636   (eval $ac_link) 2>&5
23637   ac_status=$?
23638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639   (exit $ac_status); } &&
23640          { ac_try='test -s conftest$ac_exeext'
23641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642   (eval $ac_try) 2>&5
23643   ac_status=$?
23644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645   (exit $ac_status); }; }; then
23646   glibcxx_cv_func___builtin_sinl_link=yes
23647 else
23648   echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.$ac_ext >&5
23650
23651 glibcxx_cv_func___builtin_sinl_link=no
23652 fi
23653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23654
23655 fi
23656
23657     fi
23658     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23660     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23661       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23662       cat >>confdefs.h <<_ACEOF
23663 #define ${ac_tr_func} 1
23664 _ACEOF
23665
23666     fi
23667   fi
23668
23669
23670
23671   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23672 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23673   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23674     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23675   echo $ECHO_N "(cached) $ECHO_C" >&6
23676 else
23677
23678
23679
23680       ac_ext=cc
23681 ac_cpp='$CXXCPP $CPPFLAGS'
23682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23685
23686       cat >conftest.$ac_ext <<_ACEOF
23687 #line $LINENO "configure"
23688 /* confdefs.h.  */
23689 _ACEOF
23690 cat confdefs.h >>conftest.$ac_ext
23691 cat >>conftest.$ac_ext <<_ACEOF
23692 /* end confdefs.h.  */
23693 #include <math.h>
23694 int
23695 main ()
23696 {
23697  __builtin_cosf(0);
23698   ;
23699   return 0;
23700 }
23701 _ACEOF
23702 rm -f conftest.$ac_objext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23704   (eval $ac_compile) 2>&5
23705   ac_status=$?
23706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707   (exit $ac_status); } &&
23708          { ac_try='test -s conftest.$ac_objext'
23709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710   (eval $ac_try) 2>&5
23711   ac_status=$?
23712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713   (exit $ac_status); }; }; then
23714   glibcxx_cv_func___builtin_cosf_use=yes
23715 else
23716   echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23718
23719 glibcxx_cv_func___builtin_cosf_use=no
23720 fi
23721 rm -f conftest.$ac_objext conftest.$ac_ext
23722       ac_ext=c
23723 ac_cpp='$CPP $CPPFLAGS'
23724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23727
23728
23729 fi
23730
23731   fi
23732   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23733 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23734   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23735     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23736 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23737     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23738       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23739   echo $ECHO_N "(cached) $ECHO_C" >&6
23740 else
23741
23742         if test x$gcc_no_link = xyes; then
23743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23745    { (exit 1); exit 1; }; }
23746 fi
23747 cat >conftest.$ac_ext <<_ACEOF
23748 #line $LINENO "configure"
23749 /* confdefs.h.  */
23750 _ACEOF
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h.  */
23754 #include <math.h>
23755 int
23756 main ()
23757 {
23758  __builtin_cosf(0);
23759   ;
23760   return 0;
23761 }
23762 _ACEOF
23763 rm -f conftest.$ac_objext conftest$ac_exeext
23764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23765   (eval $ac_link) 2>&5
23766   ac_status=$?
23767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768   (exit $ac_status); } &&
23769          { ac_try='test -s conftest$ac_exeext'
23770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771   (eval $ac_try) 2>&5
23772   ac_status=$?
23773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774   (exit $ac_status); }; }; then
23775   glibcxx_cv_func___builtin_cosf_link=yes
23776 else
23777   echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23779
23780 glibcxx_cv_func___builtin_cosf_link=no
23781 fi
23782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23783
23784 fi
23785
23786     fi
23787     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23788 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23789     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23790       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23791       cat >>confdefs.h <<_ACEOF
23792 #define ${ac_tr_func} 1
23793 _ACEOF
23794
23795     fi
23796   fi
23797
23798
23799   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23800 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23801   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23802     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23803   echo $ECHO_N "(cached) $ECHO_C" >&6
23804 else
23805
23806
23807
23808       ac_ext=cc
23809 ac_cpp='$CXXCPP $CPPFLAGS'
23810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23813
23814       cat >conftest.$ac_ext <<_ACEOF
23815 #line $LINENO "configure"
23816 /* confdefs.h.  */
23817 _ACEOF
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h.  */
23821 #include <math.h>
23822 int
23823 main ()
23824 {
23825  __builtin_cos(0);
23826   ;
23827   return 0;
23828 }
23829 _ACEOF
23830 rm -f conftest.$ac_objext
23831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23832   (eval $ac_compile) 2>&5
23833   ac_status=$?
23834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835   (exit $ac_status); } &&
23836          { ac_try='test -s conftest.$ac_objext'
23837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838   (eval $ac_try) 2>&5
23839   ac_status=$?
23840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841   (exit $ac_status); }; }; then
23842   glibcxx_cv_func___builtin_cos_use=yes
23843 else
23844   echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23846
23847 glibcxx_cv_func___builtin_cos_use=no
23848 fi
23849 rm -f conftest.$ac_objext conftest.$ac_ext
23850       ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855
23856
23857 fi
23858
23859   fi
23860   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23861 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23862   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23863     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23864 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23865     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23866       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23867   echo $ECHO_N "(cached) $ECHO_C" >&6
23868 else
23869
23870         if test x$gcc_no_link = xyes; then
23871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23873    { (exit 1); exit 1; }; }
23874 fi
23875 cat >conftest.$ac_ext <<_ACEOF
23876 #line $LINENO "configure"
23877 /* confdefs.h.  */
23878 _ACEOF
23879 cat confdefs.h >>conftest.$ac_ext
23880 cat >>conftest.$ac_ext <<_ACEOF
23881 /* end confdefs.h.  */
23882 #include <math.h>
23883 int
23884 main ()
23885 {
23886  __builtin_cos(0);
23887   ;
23888   return 0;
23889 }
23890 _ACEOF
23891 rm -f conftest.$ac_objext conftest$ac_exeext
23892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23893   (eval $ac_link) 2>&5
23894   ac_status=$?
23895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896   (exit $ac_status); } &&
23897          { ac_try='test -s conftest$ac_exeext'
23898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899   (eval $ac_try) 2>&5
23900   ac_status=$?
23901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902   (exit $ac_status); }; }; then
23903   glibcxx_cv_func___builtin_cos_link=yes
23904 else
23905   echo "$as_me: failed program was:" >&5
23906 sed 's/^/| /' conftest.$ac_ext >&5
23907
23908 glibcxx_cv_func___builtin_cos_link=no
23909 fi
23910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23911
23912 fi
23913
23914     fi
23915     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23916 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23917     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23918       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23919       cat >>confdefs.h <<_ACEOF
23920 #define ${ac_tr_func} 1
23921 _ACEOF
23922
23923     fi
23924   fi
23925
23926
23927   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23928 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23929   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23930     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23931   echo $ECHO_N "(cached) $ECHO_C" >&6
23932 else
23933
23934
23935
23936       ac_ext=cc
23937 ac_cpp='$CXXCPP $CPPFLAGS'
23938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23941
23942       cat >conftest.$ac_ext <<_ACEOF
23943 #line $LINENO "configure"
23944 /* confdefs.h.  */
23945 _ACEOF
23946 cat confdefs.h >>conftest.$ac_ext
23947 cat >>conftest.$ac_ext <<_ACEOF
23948 /* end confdefs.h.  */
23949 #include <math.h>
23950 int
23951 main ()
23952 {
23953  __builtin_cosl(0);
23954   ;
23955   return 0;
23956 }
23957 _ACEOF
23958 rm -f conftest.$ac_objext
23959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23960   (eval $ac_compile) 2>&5
23961   ac_status=$?
23962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963   (exit $ac_status); } &&
23964          { ac_try='test -s conftest.$ac_objext'
23965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966   (eval $ac_try) 2>&5
23967   ac_status=$?
23968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969   (exit $ac_status); }; }; then
23970   glibcxx_cv_func___builtin_cosl_use=yes
23971 else
23972   echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.$ac_ext >&5
23974
23975 glibcxx_cv_func___builtin_cosl_use=no
23976 fi
23977 rm -f conftest.$ac_objext conftest.$ac_ext
23978       ac_ext=c
23979 ac_cpp='$CPP $CPPFLAGS'
23980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23983
23984
23985 fi
23986
23987   fi
23988   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23989 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23990   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
23991     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23992 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23993     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
23994       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23995   echo $ECHO_N "(cached) $ECHO_C" >&6
23996 else
23997
23998         if test x$gcc_no_link = xyes; then
23999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24001    { (exit 1); exit 1; }; }
24002 fi
24003 cat >conftest.$ac_ext <<_ACEOF
24004 #line $LINENO "configure"
24005 /* confdefs.h.  */
24006 _ACEOF
24007 cat confdefs.h >>conftest.$ac_ext
24008 cat >>conftest.$ac_ext <<_ACEOF
24009 /* end confdefs.h.  */
24010 #include <math.h>
24011 int
24012 main ()
24013 {
24014  __builtin_cosl(0);
24015   ;
24016   return 0;
24017 }
24018 _ACEOF
24019 rm -f conftest.$ac_objext conftest$ac_exeext
24020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24021   (eval $ac_link) 2>&5
24022   ac_status=$?
24023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024   (exit $ac_status); } &&
24025          { ac_try='test -s conftest$ac_exeext'
24026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027   (eval $ac_try) 2>&5
24028   ac_status=$?
24029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030   (exit $ac_status); }; }; then
24031   glibcxx_cv_func___builtin_cosl_link=yes
24032 else
24033   echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24035
24036 glibcxx_cv_func___builtin_cosl_link=no
24037 fi
24038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24039
24040 fi
24041
24042     fi
24043     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24044 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24045     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24046       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24047       cat >>confdefs.h <<_ACEOF
24048 #define ${ac_tr_func} 1
24049 _ACEOF
24050
24051     fi
24052   fi
24053
24054
24055               dummyvar=no
24056   if test x$dummyvar = x"yes"; then
24057     cat >>confdefs.h <<\_ACEOF
24058 #define HAVE___BUILTIN_ABS 1
24059 _ACEOF
24060
24061     cat >>confdefs.h <<\_ACEOF
24062 #define HAVE___BUILTIN_LABS 1
24063 _ACEOF
24064
24065     cat >>confdefs.h <<\_ACEOF
24066 #define HAVE___BUILTIN_COS 1
24067 _ACEOF
24068
24069     cat >>confdefs.h <<\_ACEOF
24070 #define HAVE___BUILTIN_COSF 1
24071 _ACEOF
24072
24073     cat >>confdefs.h <<\_ACEOF
24074 #define HAVE___BUILTIN_COSL 1
24075 _ACEOF
24076
24077     cat >>confdefs.h <<\_ACEOF
24078 #define HAVE___BUILTIN_FABS 1
24079 _ACEOF
24080
24081     cat >>confdefs.h <<\_ACEOF
24082 #define HAVE___BUILTIN_FABSF 1
24083 _ACEOF
24084
24085     cat >>confdefs.h <<\_ACEOF
24086 #define HAVE___BUILTIN_FABSL 1
24087 _ACEOF
24088
24089     cat >>confdefs.h <<\_ACEOF
24090 #define HAVE___BUILTIN_SIN 1
24091 _ACEOF
24092
24093     cat >>confdefs.h <<\_ACEOF
24094 #define HAVE___BUILTIN_SINF 1
24095 _ACEOF
24096
24097     cat >>confdefs.h <<\_ACEOF
24098 #define HAVE___BUILTIN_SINL 1
24099 _ACEOF
24100
24101     cat >>confdefs.h <<\_ACEOF
24102 #define HAVE___BUILTIN_SQRT 1
24103 _ACEOF
24104
24105     cat >>confdefs.h <<\_ACEOF
24106 #define HAVE___BUILTIN_SQRTF 1
24107 _ACEOF
24108
24109     cat >>confdefs.h <<\_ACEOF
24110 #define HAVE___BUILTIN_SQRTL 1
24111 _ACEOF
24112
24113   fi
24114
24115
24116
24117 echo "$as_me:$LINENO: checking for main in -lm" >&5
24118 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24119 if test "${ac_cv_lib_m_main+set}" = set; then
24120   echo $ECHO_N "(cached) $ECHO_C" >&6
24121 else
24122   ac_check_lib_save_LIBS=$LIBS
24123 LIBS="-lm  $LIBS"
24124 if test x$gcc_no_link = xyes; then
24125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24127    { (exit 1); exit 1; }; }
24128 fi
24129 cat >conftest.$ac_ext <<_ACEOF
24130 #line $LINENO "configure"
24131 /* confdefs.h.  */
24132 _ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h.  */
24136
24137
24138 int
24139 main ()
24140 {
24141 main ();
24142   ;
24143   return 0;
24144 }
24145 _ACEOF
24146 rm -f conftest.$ac_objext conftest$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148   (eval $ac_link) 2>&5
24149   ac_status=$?
24150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151   (exit $ac_status); } &&
24152          { ac_try='test -s conftest$ac_exeext'
24153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154   (eval $ac_try) 2>&5
24155   ac_status=$?
24156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157   (exit $ac_status); }; }; then
24158   ac_cv_lib_m_main=yes
24159 else
24160   echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.$ac_ext >&5
24162
24163 ac_cv_lib_m_main=no
24164 fi
24165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24166 LIBS=$ac_check_lib_save_LIBS
24167 fi
24168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24169 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24170 if test $ac_cv_lib_m_main = yes; then
24171   cat >>confdefs.h <<_ACEOF
24172 #define HAVE_LIBM 1
24173 _ACEOF
24174
24175   LIBS="-lm $LIBS"
24176
24177 fi
24178
24179
24180
24181 for ac_func in nan copysignf
24182 do
24183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24184 echo "$as_me:$LINENO: checking for $ac_func" >&5
24185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24186 if eval "test \"\${$as_ac_var+set}\" = set"; then
24187   echo $ECHO_N "(cached) $ECHO_C" >&6
24188 else
24189   if test x$gcc_no_link = xyes; then
24190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24192    { (exit 1); exit 1; }; }
24193 fi
24194 cat >conftest.$ac_ext <<_ACEOF
24195 #line $LINENO "configure"
24196 /* confdefs.h.  */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h.  */
24201 /* System header to define __stub macros and hopefully few prototypes,
24202     which can conflict with char $ac_func (); below.
24203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24204     <limits.h> exists even on freestanding compilers.  */
24205 #ifdef __STDC__
24206 # include <limits.h>
24207 #else
24208 # include <assert.h>
24209 #endif
24210 /* Override any gcc2 internal prototype to avoid an error.  */
24211 #ifdef __cplusplus
24212 extern "C"
24213 {
24214 #endif
24215 /* We use char because int might match the return type of a gcc2
24216    builtin and then its argument prototype would still apply.  */
24217 char $ac_func ();
24218 /* The GNU C library defines this for functions which it implements
24219     to always fail with ENOSYS.  Some functions are actually named
24220     something starting with __ and the normal name is an alias.  */
24221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24222 choke me
24223 #else
24224 char (*f) () = $ac_func;
24225 #endif
24226 #ifdef __cplusplus
24227 }
24228 #endif
24229
24230 int
24231 main ()
24232 {
24233 return f != $ac_func;
24234   ;
24235   return 0;
24236 }
24237 _ACEOF
24238 rm -f conftest.$ac_objext conftest$ac_exeext
24239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24240   (eval $ac_link) 2>&5
24241   ac_status=$?
24242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243   (exit $ac_status); } &&
24244          { ac_try='test -s conftest$ac_exeext'
24245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246   (eval $ac_try) 2>&5
24247   ac_status=$?
24248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249   (exit $ac_status); }; }; then
24250   eval "$as_ac_var=yes"
24251 else
24252   echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.$ac_ext >&5
24254
24255 eval "$as_ac_var=no"
24256 fi
24257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24258 fi
24259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24261 if test `eval echo '${'$as_ac_var'}'` = yes; then
24262   cat >>confdefs.h <<_ACEOF
24263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24264 _ACEOF
24265
24266 else
24267   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24268 fi
24269 done
24270
24271
24272
24273 for ac_func in __signbit
24274 do
24275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24276 echo "$as_me:$LINENO: checking for $ac_func" >&5
24277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24278 if eval "test \"\${$as_ac_var+set}\" = set"; then
24279   echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281   if test x$gcc_no_link = xyes; then
24282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24284    { (exit 1); exit 1; }; }
24285 fi
24286 cat >conftest.$ac_ext <<_ACEOF
24287 #line $LINENO "configure"
24288 /* confdefs.h.  */
24289 _ACEOF
24290 cat confdefs.h >>conftest.$ac_ext
24291 cat >>conftest.$ac_ext <<_ACEOF
24292 /* end confdefs.h.  */
24293 /* System header to define __stub macros and hopefully few prototypes,
24294     which can conflict with char $ac_func (); below.
24295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24296     <limits.h> exists even on freestanding compilers.  */
24297 #ifdef __STDC__
24298 # include <limits.h>
24299 #else
24300 # include <assert.h>
24301 #endif
24302 /* Override any gcc2 internal prototype to avoid an error.  */
24303 #ifdef __cplusplus
24304 extern "C"
24305 {
24306 #endif
24307 /* We use char because int might match the return type of a gcc2
24308    builtin and then its argument prototype would still apply.  */
24309 char $ac_func ();
24310 /* The GNU C library defines this for functions which it implements
24311     to always fail with ENOSYS.  Some functions are actually named
24312     something starting with __ and the normal name is an alias.  */
24313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24314 choke me
24315 #else
24316 char (*f) () = $ac_func;
24317 #endif
24318 #ifdef __cplusplus
24319 }
24320 #endif
24321
24322 int
24323 main ()
24324 {
24325 return f != $ac_func;
24326   ;
24327   return 0;
24328 }
24329 _ACEOF
24330 rm -f conftest.$ac_objext conftest$ac_exeext
24331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24332   (eval $ac_link) 2>&5
24333   ac_status=$?
24334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335   (exit $ac_status); } &&
24336          { ac_try='test -s conftest$ac_exeext'
24337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338   (eval $ac_try) 2>&5
24339   ac_status=$?
24340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341   (exit $ac_status); }; }; then
24342   eval "$as_ac_var=yes"
24343 else
24344   echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.$ac_ext >&5
24346
24347 eval "$as_ac_var=no"
24348 fi
24349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24350 fi
24351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24353 if test `eval echo '${'$as_ac_var'}'` = yes; then
24354   cat >>confdefs.h <<_ACEOF
24355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24356 _ACEOF
24357
24358 else
24359   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24360 fi
24361 done
24362
24363
24364 for ac_func in __signbitf
24365 do
24366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24367 echo "$as_me:$LINENO: checking for $ac_func" >&5
24368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24369 if eval "test \"\${$as_ac_var+set}\" = set"; then
24370   echo $ECHO_N "(cached) $ECHO_C" >&6
24371 else
24372   if test x$gcc_no_link = xyes; then
24373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24375    { (exit 1); exit 1; }; }
24376 fi
24377 cat >conftest.$ac_ext <<_ACEOF
24378 #line $LINENO "configure"
24379 /* confdefs.h.  */
24380 _ACEOF
24381 cat confdefs.h >>conftest.$ac_ext
24382 cat >>conftest.$ac_ext <<_ACEOF
24383 /* end confdefs.h.  */
24384 /* System header to define __stub macros and hopefully few prototypes,
24385     which can conflict with char $ac_func (); below.
24386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24387     <limits.h> exists even on freestanding compilers.  */
24388 #ifdef __STDC__
24389 # include <limits.h>
24390 #else
24391 # include <assert.h>
24392 #endif
24393 /* Override any gcc2 internal prototype to avoid an error.  */
24394 #ifdef __cplusplus
24395 extern "C"
24396 {
24397 #endif
24398 /* We use char because int might match the return type of a gcc2
24399    builtin and then its argument prototype would still apply.  */
24400 char $ac_func ();
24401 /* The GNU C library defines this for functions which it implements
24402     to always fail with ENOSYS.  Some functions are actually named
24403     something starting with __ and the normal name is an alias.  */
24404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24405 choke me
24406 #else
24407 char (*f) () = $ac_func;
24408 #endif
24409 #ifdef __cplusplus
24410 }
24411 #endif
24412
24413 int
24414 main ()
24415 {
24416 return f != $ac_func;
24417   ;
24418   return 0;
24419 }
24420 _ACEOF
24421 rm -f conftest.$ac_objext conftest$ac_exeext
24422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24423   (eval $ac_link) 2>&5
24424   ac_status=$?
24425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426   (exit $ac_status); } &&
24427          { ac_try='test -s conftest$ac_exeext'
24428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24429   (eval $ac_try) 2>&5
24430   ac_status=$?
24431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24432   (exit $ac_status); }; }; then
24433   eval "$as_ac_var=yes"
24434 else
24435   echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24437
24438 eval "$as_ac_var=no"
24439 fi
24440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24441 fi
24442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24444 if test `eval echo '${'$as_ac_var'}'` = yes; then
24445   cat >>confdefs.h <<_ACEOF
24446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24447 _ACEOF
24448
24449 else
24450   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24451 fi
24452 done
24453
24454
24455           if test x$ac_cv_func_copysignl = x"yes"; then
24456
24457 for ac_func in __signbitl
24458 do
24459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24460 echo "$as_me:$LINENO: checking for $ac_func" >&5
24461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24462 if eval "test \"\${$as_ac_var+set}\" = set"; then
24463   echo $ECHO_N "(cached) $ECHO_C" >&6
24464 else
24465   if test x$gcc_no_link = xyes; then
24466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24468    { (exit 1); exit 1; }; }
24469 fi
24470 cat >conftest.$ac_ext <<_ACEOF
24471 #line $LINENO "configure"
24472 /* confdefs.h.  */
24473 _ACEOF
24474 cat confdefs.h >>conftest.$ac_ext
24475 cat >>conftest.$ac_ext <<_ACEOF
24476 /* end confdefs.h.  */
24477 /* System header to define __stub macros and hopefully few prototypes,
24478     which can conflict with char $ac_func (); below.
24479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24480     <limits.h> exists even on freestanding compilers.  */
24481 #ifdef __STDC__
24482 # include <limits.h>
24483 #else
24484 # include <assert.h>
24485 #endif
24486 /* Override any gcc2 internal prototype to avoid an error.  */
24487 #ifdef __cplusplus
24488 extern "C"
24489 {
24490 #endif
24491 /* We use char because int might match the return type of a gcc2
24492    builtin and then its argument prototype would still apply.  */
24493 char $ac_func ();
24494 /* The GNU C library defines this for functions which it implements
24495     to always fail with ENOSYS.  Some functions are actually named
24496     something starting with __ and the normal name is an alias.  */
24497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24498 choke me
24499 #else
24500 char (*f) () = $ac_func;
24501 #endif
24502 #ifdef __cplusplus
24503 }
24504 #endif
24505
24506 int
24507 main ()
24508 {
24509 return f != $ac_func;
24510   ;
24511   return 0;
24512 }
24513 _ACEOF
24514 rm -f conftest.$ac_objext conftest$ac_exeext
24515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24516   (eval $ac_link) 2>&5
24517   ac_status=$?
24518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519   (exit $ac_status); } &&
24520          { ac_try='test -s conftest$ac_exeext'
24521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522   (eval $ac_try) 2>&5
24523   ac_status=$?
24524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525   (exit $ac_status); }; }; then
24526   eval "$as_ac_var=yes"
24527 else
24528   echo "$as_me: failed program was:" >&5
24529 sed 's/^/| /' conftest.$ac_ext >&5
24530
24531 eval "$as_ac_var=no"
24532 fi
24533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24534 fi
24535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24537 if test `eval echo '${'$as_ac_var'}'` = yes; then
24538   cat >>confdefs.h <<_ACEOF
24539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24540 _ACEOF
24541
24542 else
24543   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24544 fi
24545 done
24546
24547   fi
24548
24549   # XXX Review this.  Nothing uses it.
24550   if test -n "$LIBMATHOBJS"; then
24551     need_libmath=yes
24552   fi
24553
24554
24555
24556   # Test wchar.h for mbstate_t, which is needed for char_traits and
24557   # others even if wchar_t support is not on.
24558   echo "$as_me:$LINENO: checking for mbstate_t" >&5
24559 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24560   cat >conftest.$ac_ext <<_ACEOF
24561 #line $LINENO "configure"
24562 /* confdefs.h.  */
24563 _ACEOF
24564 cat confdefs.h >>conftest.$ac_ext
24565 cat >>conftest.$ac_ext <<_ACEOF
24566 /* end confdefs.h.  */
24567 #include <wchar.h>
24568 int
24569 main ()
24570 {
24571 mbstate_t teststate;
24572   ;
24573   return 0;
24574 }
24575 _ACEOF
24576 rm -f conftest.$ac_objext
24577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24578   (eval $ac_compile) 2>&5
24579   ac_status=$?
24580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24581   (exit $ac_status); } &&
24582          { ac_try='test -s conftest.$ac_objext'
24583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24584   (eval $ac_try) 2>&5
24585   ac_status=$?
24586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587   (exit $ac_status); }; }; then
24588   have_mbstate_t=yes
24589 else
24590   echo "$as_me: failed program was:" >&5
24591 sed 's/^/| /' conftest.$ac_ext >&5
24592
24593 have_mbstate_t=no
24594 fi
24595 rm -f conftest.$ac_objext conftest.$ac_ext
24596   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24597 echo "${ECHO_T}$have_mbstate_t" >&6
24598   if test x"$have_mbstate_t" = xyes; then
24599     cat >>confdefs.h <<\_ACEOF
24600 #define HAVE_MBSTATE_T 1
24601 _ACEOF
24602
24603   fi
24604
24605   # Sanity check for existence of ISO C99 headers for extended encoding.
24606
24607 for ac_header in wchar.h
24608 do
24609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24611   echo "$as_me:$LINENO: checking for $ac_header" >&5
24612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24614   echo $ECHO_N "(cached) $ECHO_C" >&6
24615 fi
24616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24618 else
24619   # Is the header compilable?
24620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24622 cat >conftest.$ac_ext <<_ACEOF
24623 #line $LINENO "configure"
24624 /* confdefs.h.  */
24625 _ACEOF
24626 cat confdefs.h >>conftest.$ac_ext
24627 cat >>conftest.$ac_ext <<_ACEOF
24628 /* end confdefs.h.  */
24629 $ac_includes_default
24630 #include <$ac_header>
24631 _ACEOF
24632 rm -f conftest.$ac_objext
24633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24634   (eval $ac_compile) 2>&5
24635   ac_status=$?
24636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637   (exit $ac_status); } &&
24638          { ac_try='test -s conftest.$ac_objext'
24639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640   (eval $ac_try) 2>&5
24641   ac_status=$?
24642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643   (exit $ac_status); }; }; then
24644   ac_header_compiler=yes
24645 else
24646   echo "$as_me: failed program was:" >&5
24647 sed 's/^/| /' conftest.$ac_ext >&5
24648
24649 ac_header_compiler=no
24650 fi
24651 rm -f conftest.$ac_objext conftest.$ac_ext
24652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24653 echo "${ECHO_T}$ac_header_compiler" >&6
24654
24655 # Is the header present?
24656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24658 cat >conftest.$ac_ext <<_ACEOF
24659 #line $LINENO "configure"
24660 /* confdefs.h.  */
24661 _ACEOF
24662 cat confdefs.h >>conftest.$ac_ext
24663 cat >>conftest.$ac_ext <<_ACEOF
24664 /* end confdefs.h.  */
24665 #include <$ac_header>
24666 _ACEOF
24667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24668   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24669   ac_status=$?
24670   grep -v '^ *+' conftest.er1 >conftest.err
24671   rm -f conftest.er1
24672   cat conftest.err >&5
24673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674   (exit $ac_status); } >/dev/null; then
24675   if test -s conftest.err; then
24676     ac_cpp_err=$ac_c_preproc_warn_flag
24677   else
24678     ac_cpp_err=
24679   fi
24680 else
24681   ac_cpp_err=yes
24682 fi
24683 if test -z "$ac_cpp_err"; then
24684   ac_header_preproc=yes
24685 else
24686   echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24688
24689   ac_header_preproc=no
24690 fi
24691 rm -f conftest.err conftest.$ac_ext
24692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24693 echo "${ECHO_T}$ac_header_preproc" >&6
24694
24695 # So?  What about this header?
24696 case $ac_header_compiler:$ac_header_preproc in
24697   yes:no )
24698     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24700     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24702     (
24703       cat <<\_ASBOX
24704 ## ------------------------------------ ##
24705 ## Report this to bug-autoconf@gnu.org. ##
24706 ## ------------------------------------ ##
24707 _ASBOX
24708     ) |
24709       sed "s/^/$as_me: WARNING:     /" >&2
24710     ;;
24711   no:yes )
24712     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24714     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24716     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24718     (
24719       cat <<\_ASBOX
24720 ## ------------------------------------ ##
24721 ## Report this to bug-autoconf@gnu.org. ##
24722 ## ------------------------------------ ##
24723 _ASBOX
24724     ) |
24725       sed "s/^/$as_me: WARNING:     /" >&2
24726     ;;
24727 esac
24728 echo "$as_me:$LINENO: checking for $ac_header" >&5
24729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24731   echo $ECHO_N "(cached) $ECHO_C" >&6
24732 else
24733   eval "$as_ac_Header=$ac_header_preproc"
24734 fi
24735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24737
24738 fi
24739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24740   cat >>confdefs.h <<_ACEOF
24741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24742 _ACEOF
24743  ac_has_wchar_h=yes
24744 else
24745   ac_has_wchar_h=no
24746 fi
24747
24748 done
24749
24750
24751 for ac_header in wctype.h
24752 do
24753 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24755   echo "$as_me:$LINENO: checking for $ac_header" >&5
24756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24758   echo $ECHO_N "(cached) $ECHO_C" >&6
24759 fi
24760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24762 else
24763   # Is the header compilable?
24764 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24765 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24766 cat >conftest.$ac_ext <<_ACEOF
24767 #line $LINENO "configure"
24768 /* confdefs.h.  */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h.  */
24773 $ac_includes_default
24774 #include <$ac_header>
24775 _ACEOF
24776 rm -f conftest.$ac_objext
24777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24778   (eval $ac_compile) 2>&5
24779   ac_status=$?
24780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781   (exit $ac_status); } &&
24782          { ac_try='test -s conftest.$ac_objext'
24783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24784   (eval $ac_try) 2>&5
24785   ac_status=$?
24786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787   (exit $ac_status); }; }; then
24788   ac_header_compiler=yes
24789 else
24790   echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.$ac_ext >&5
24792
24793 ac_header_compiler=no
24794 fi
24795 rm -f conftest.$ac_objext conftest.$ac_ext
24796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24797 echo "${ECHO_T}$ac_header_compiler" >&6
24798
24799 # Is the header present?
24800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24802 cat >conftest.$ac_ext <<_ACEOF
24803 #line $LINENO "configure"
24804 /* confdefs.h.  */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h.  */
24809 #include <$ac_header>
24810 _ACEOF
24811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24812   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24813   ac_status=$?
24814   grep -v '^ *+' conftest.er1 >conftest.err
24815   rm -f conftest.er1
24816   cat conftest.err >&5
24817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24818   (exit $ac_status); } >/dev/null; then
24819   if test -s conftest.err; then
24820     ac_cpp_err=$ac_c_preproc_warn_flag
24821   else
24822     ac_cpp_err=
24823   fi
24824 else
24825   ac_cpp_err=yes
24826 fi
24827 if test -z "$ac_cpp_err"; then
24828   ac_header_preproc=yes
24829 else
24830   echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24832
24833   ac_header_preproc=no
24834 fi
24835 rm -f conftest.err conftest.$ac_ext
24836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24837 echo "${ECHO_T}$ac_header_preproc" >&6
24838
24839 # So?  What about this header?
24840 case $ac_header_compiler:$ac_header_preproc in
24841   yes:no )
24842     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24844     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24846     (
24847       cat <<\_ASBOX
24848 ## ------------------------------------ ##
24849 ## Report this to bug-autoconf@gnu.org. ##
24850 ## ------------------------------------ ##
24851 _ASBOX
24852     ) |
24853       sed "s/^/$as_me: WARNING:     /" >&2
24854     ;;
24855   no:yes )
24856     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24857 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24858     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24859 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24860     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24862     (
24863       cat <<\_ASBOX
24864 ## ------------------------------------ ##
24865 ## Report this to bug-autoconf@gnu.org. ##
24866 ## ------------------------------------ ##
24867 _ASBOX
24868     ) |
24869       sed "s/^/$as_me: WARNING:     /" >&2
24870     ;;
24871 esac
24872 echo "$as_me:$LINENO: checking for $ac_header" >&5
24873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24875   echo $ECHO_N "(cached) $ECHO_C" >&6
24876 else
24877   eval "$as_ac_Header=$ac_header_preproc"
24878 fi
24879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24881
24882 fi
24883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24884   cat >>confdefs.h <<_ACEOF
24885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24886 _ACEOF
24887  ac_has_wctype_h=yes
24888 else
24889   ac_has_wctype_h=no
24890 fi
24891
24892 done
24893
24894
24895   # Only continue checking if the ISO C99 headers exist and support is on.
24896   if test x"$ac_has_wchar_h" = xyes &&
24897      test x"$ac_has_wctype_h" = xyes &&
24898      test x"$enable_c_mbchar" != xno; then
24899
24900     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24901     # numeric_limits can instantiate type_traits<wchar_t>
24902     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24903 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24904     cat >conftest.$ac_ext <<_ACEOF
24905 #line $LINENO "configure"
24906 /* confdefs.h.  */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h.  */
24911 #include <wchar.h>
24912 int
24913 main ()
24914 {
24915 int i = WCHAR_MIN; int j = WCHAR_MAX;
24916   ;
24917   return 0;
24918 }
24919 _ACEOF
24920 rm -f conftest.$ac_objext
24921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24922   (eval $ac_compile) 2>&5
24923   ac_status=$?
24924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925   (exit $ac_status); } &&
24926          { ac_try='test -s conftest.$ac_objext'
24927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928   (eval $ac_try) 2>&5
24929   ac_status=$?
24930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931   (exit $ac_status); }; }; then
24932   has_wchar_minmax=yes
24933 else
24934   echo "$as_me: failed program was:" >&5
24935 sed 's/^/| /' conftest.$ac_ext >&5
24936
24937 has_wchar_minmax=no
24938 fi
24939 rm -f conftest.$ac_objext conftest.$ac_ext
24940     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24941 echo "${ECHO_T}$has_wchar_minmax" >&6
24942
24943     # Test wchar.h for WEOF, which is what we use to determine whether
24944     # to specialize for char_traits<wchar_t> or not.
24945     echo "$as_me:$LINENO: checking for WEOF" >&5
24946 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24947     cat >conftest.$ac_ext <<_ACEOF
24948 #line $LINENO "configure"
24949 /* confdefs.h.  */
24950 _ACEOF
24951 cat confdefs.h >>conftest.$ac_ext
24952 cat >>conftest.$ac_ext <<_ACEOF
24953 /* end confdefs.h.  */
24954
24955       #include <wchar.h>
24956       #include <stddef.h>
24957 int
24958 main ()
24959 {
24960 wint_t i = WEOF;
24961   ;
24962   return 0;
24963 }
24964 _ACEOF
24965 rm -f conftest.$ac_objext
24966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24967   (eval $ac_compile) 2>&5
24968   ac_status=$?
24969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970   (exit $ac_status); } &&
24971          { ac_try='test -s conftest.$ac_objext'
24972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973   (eval $ac_try) 2>&5
24974   ac_status=$?
24975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976   (exit $ac_status); }; }; then
24977   has_weof=yes
24978 else
24979   echo "$as_me: failed program was:" >&5
24980 sed 's/^/| /' conftest.$ac_ext >&5
24981
24982 has_weof=no
24983 fi
24984 rm -f conftest.$ac_objext conftest.$ac_ext
24985     echo "$as_me:$LINENO: result: $has_weof" >&5
24986 echo "${ECHO_T}$has_weof" >&6
24987
24988     # Tests for wide character functions used in char_traits<wchar_t>.
24989     ac_wfuncs=yes
24990
24991
24992
24993
24994
24995
24996 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24997 do
24998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24999 echo "$as_me:$LINENO: checking for $ac_func" >&5
25000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25001 if eval "test \"\${$as_ac_var+set}\" = set"; then
25002   echo $ECHO_N "(cached) $ECHO_C" >&6
25003 else
25004   if test x$gcc_no_link = xyes; then
25005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25007    { (exit 1); exit 1; }; }
25008 fi
25009 cat >conftest.$ac_ext <<_ACEOF
25010 #line $LINENO "configure"
25011 /* confdefs.h.  */
25012 _ACEOF
25013 cat confdefs.h >>conftest.$ac_ext
25014 cat >>conftest.$ac_ext <<_ACEOF
25015 /* end confdefs.h.  */
25016 /* System header to define __stub macros and hopefully few prototypes,
25017     which can conflict with char $ac_func (); below.
25018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25019     <limits.h> exists even on freestanding compilers.  */
25020 #ifdef __STDC__
25021 # include <limits.h>
25022 #else
25023 # include <assert.h>
25024 #endif
25025 /* Override any gcc2 internal prototype to avoid an error.  */
25026 #ifdef __cplusplus
25027 extern "C"
25028 {
25029 #endif
25030 /* We use char because int might match the return type of a gcc2
25031    builtin and then its argument prototype would still apply.  */
25032 char $ac_func ();
25033 /* The GNU C library defines this for functions which it implements
25034     to always fail with ENOSYS.  Some functions are actually named
25035     something starting with __ and the normal name is an alias.  */
25036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25037 choke me
25038 #else
25039 char (*f) () = $ac_func;
25040 #endif
25041 #ifdef __cplusplus
25042 }
25043 #endif
25044
25045 int
25046 main ()
25047 {
25048 return f != $ac_func;
25049   ;
25050   return 0;
25051 }
25052 _ACEOF
25053 rm -f conftest.$ac_objext conftest$ac_exeext
25054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25055   (eval $ac_link) 2>&5
25056   ac_status=$?
25057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058   (exit $ac_status); } &&
25059          { ac_try='test -s conftest$ac_exeext'
25060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061   (eval $ac_try) 2>&5
25062   ac_status=$?
25063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064   (exit $ac_status); }; }; then
25065   eval "$as_ac_var=yes"
25066 else
25067   echo "$as_me: failed program was:" >&5
25068 sed 's/^/| /' conftest.$ac_ext >&5
25069
25070 eval "$as_ac_var=no"
25071 fi
25072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25073 fi
25074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25076 if test `eval echo '${'$as_ac_var'}'` = yes; then
25077   cat >>confdefs.h <<_ACEOF
25078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25079 _ACEOF
25080
25081 else
25082   ac_wfuncs=no
25083 fi
25084 done
25085
25086
25087     # Checks for names injected into std:: by the c_std headers.
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25135     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25136     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25137     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25138     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25139     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25140 do
25141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25142 echo "$as_me:$LINENO: checking for $ac_func" >&5
25143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25144 if eval "test \"\${$as_ac_var+set}\" = set"; then
25145   echo $ECHO_N "(cached) $ECHO_C" >&6
25146 else
25147   if test x$gcc_no_link = xyes; then
25148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25150    { (exit 1); exit 1; }; }
25151 fi
25152 cat >conftest.$ac_ext <<_ACEOF
25153 #line $LINENO "configure"
25154 /* confdefs.h.  */
25155 _ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h.  */
25159 /* System header to define __stub macros and hopefully few prototypes,
25160     which can conflict with char $ac_func (); below.
25161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25162     <limits.h> exists even on freestanding compilers.  */
25163 #ifdef __STDC__
25164 # include <limits.h>
25165 #else
25166 # include <assert.h>
25167 #endif
25168 /* Override any gcc2 internal prototype to avoid an error.  */
25169 #ifdef __cplusplus
25170 extern "C"
25171 {
25172 #endif
25173 /* We use char because int might match the return type of a gcc2
25174    builtin and then its argument prototype would still apply.  */
25175 char $ac_func ();
25176 /* The GNU C library defines this for functions which it implements
25177     to always fail with ENOSYS.  Some functions are actually named
25178     something starting with __ and the normal name is an alias.  */
25179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25180 choke me
25181 #else
25182 char (*f) () = $ac_func;
25183 #endif
25184 #ifdef __cplusplus
25185 }
25186 #endif
25187
25188 int
25189 main ()
25190 {
25191 return f != $ac_func;
25192   ;
25193   return 0;
25194 }
25195 _ACEOF
25196 rm -f conftest.$ac_objext conftest$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198   (eval $ac_link) 2>&5
25199   ac_status=$?
25200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201   (exit $ac_status); } &&
25202          { ac_try='test -s conftest$ac_exeext'
25203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204   (eval $ac_try) 2>&5
25205   ac_status=$?
25206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207   (exit $ac_status); }; }; then
25208   eval "$as_ac_var=yes"
25209 else
25210   echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.$ac_ext >&5
25212
25213 eval "$as_ac_var=no"
25214 fi
25215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25216 fi
25217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25219 if test `eval echo '${'$as_ac_var'}'` = yes; then
25220   cat >>confdefs.h <<_ACEOF
25221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25222 _ACEOF
25223
25224 else
25225   ac_wfuncs=no
25226 fi
25227 done
25228
25229
25230     # Checks for wide character functions that are not required
25231     # for basic wchar_t support.  Don't disable support if they are missing.
25232     # Injection of these is wrapped with guard macros.
25233
25234
25235
25236
25237
25238 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25239 do
25240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25241 echo "$as_me:$LINENO: checking for $ac_func" >&5
25242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25243 if eval "test \"\${$as_ac_var+set}\" = set"; then
25244   echo $ECHO_N "(cached) $ECHO_C" >&6
25245 else
25246   if test x$gcc_no_link = xyes; then
25247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25249    { (exit 1); exit 1; }; }
25250 fi
25251 cat >conftest.$ac_ext <<_ACEOF
25252 #line $LINENO "configure"
25253 /* confdefs.h.  */
25254 _ACEOF
25255 cat confdefs.h >>conftest.$ac_ext
25256 cat >>conftest.$ac_ext <<_ACEOF
25257 /* end confdefs.h.  */
25258 /* System header to define __stub macros and hopefully few prototypes,
25259     which can conflict with char $ac_func (); below.
25260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25261     <limits.h> exists even on freestanding compilers.  */
25262 #ifdef __STDC__
25263 # include <limits.h>
25264 #else
25265 # include <assert.h>
25266 #endif
25267 /* Override any gcc2 internal prototype to avoid an error.  */
25268 #ifdef __cplusplus
25269 extern "C"
25270 {
25271 #endif
25272 /* We use char because int might match the return type of a gcc2
25273    builtin and then its argument prototype would still apply.  */
25274 char $ac_func ();
25275 /* The GNU C library defines this for functions which it implements
25276     to always fail with ENOSYS.  Some functions are actually named
25277     something starting with __ and the normal name is an alias.  */
25278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25279 choke me
25280 #else
25281 char (*f) () = $ac_func;
25282 #endif
25283 #ifdef __cplusplus
25284 }
25285 #endif
25286
25287 int
25288 main ()
25289 {
25290 return f != $ac_func;
25291   ;
25292   return 0;
25293 }
25294 _ACEOF
25295 rm -f conftest.$ac_objext conftest$ac_exeext
25296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25297   (eval $ac_link) 2>&5
25298   ac_status=$?
25299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300   (exit $ac_status); } &&
25301          { ac_try='test -s conftest$ac_exeext'
25302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25303   (eval $ac_try) 2>&5
25304   ac_status=$?
25305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306   (exit $ac_status); }; }; then
25307   eval "$as_ac_var=yes"
25308 else
25309   echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25311
25312 eval "$as_ac_var=no"
25313 fi
25314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25315 fi
25316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25318 if test `eval echo '${'$as_ac_var'}'` = yes; then
25319   cat >>confdefs.h <<_ACEOF
25320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25321 _ACEOF
25322
25323 fi
25324 done
25325
25326
25327     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25328 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25329     if test x"$has_weof" = xyes &&
25330        test x"$has_wchar_minmax" = xyes &&
25331        test x"$ac_wfuncs" = xyes;
25332     then
25333       ac_isoC99_wchar_t=yes
25334     else
25335       ac_isoC99_wchar_t=no
25336     fi
25337     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25338 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25339
25340     # Use iconv for wchar_t to char conversions. As such, check for
25341     # X/Open Portability Guide, version 2 features (XPG2).
25342     if test "${ac_cv_header_iconv_h+set}" = set; then
25343   echo "$as_me:$LINENO: checking for iconv.h" >&5
25344 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25345 if test "${ac_cv_header_iconv_h+set}" = set; then
25346   echo $ECHO_N "(cached) $ECHO_C" >&6
25347 fi
25348 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25349 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25350 else
25351   # Is the header compilable?
25352 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25353 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25354 cat >conftest.$ac_ext <<_ACEOF
25355 #line $LINENO "configure"
25356 /* confdefs.h.  */
25357 _ACEOF
25358 cat confdefs.h >>conftest.$ac_ext
25359 cat >>conftest.$ac_ext <<_ACEOF
25360 /* end confdefs.h.  */
25361 $ac_includes_default
25362 #include <iconv.h>
25363 _ACEOF
25364 rm -f conftest.$ac_objext
25365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25366   (eval $ac_compile) 2>&5
25367   ac_status=$?
25368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369   (exit $ac_status); } &&
25370          { ac_try='test -s conftest.$ac_objext'
25371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25372   (eval $ac_try) 2>&5
25373   ac_status=$?
25374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375   (exit $ac_status); }; }; then
25376   ac_header_compiler=yes
25377 else
25378   echo "$as_me: failed program was:" >&5
25379 sed 's/^/| /' conftest.$ac_ext >&5
25380
25381 ac_header_compiler=no
25382 fi
25383 rm -f conftest.$ac_objext conftest.$ac_ext
25384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25385 echo "${ECHO_T}$ac_header_compiler" >&6
25386
25387 # Is the header present?
25388 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25389 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25390 cat >conftest.$ac_ext <<_ACEOF
25391 #line $LINENO "configure"
25392 /* confdefs.h.  */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h.  */
25397 #include <iconv.h>
25398 _ACEOF
25399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25400   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25401   ac_status=$?
25402   grep -v '^ *+' conftest.er1 >conftest.err
25403   rm -f conftest.er1
25404   cat conftest.err >&5
25405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406   (exit $ac_status); } >/dev/null; then
25407   if test -s conftest.err; then
25408     ac_cpp_err=$ac_c_preproc_warn_flag
25409   else
25410     ac_cpp_err=
25411   fi
25412 else
25413   ac_cpp_err=yes
25414 fi
25415 if test -z "$ac_cpp_err"; then
25416   ac_header_preproc=yes
25417 else
25418   echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.$ac_ext >&5
25420
25421   ac_header_preproc=no
25422 fi
25423 rm -f conftest.err conftest.$ac_ext
25424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25425 echo "${ECHO_T}$ac_header_preproc" >&6
25426
25427 # So?  What about this header?
25428 case $ac_header_compiler:$ac_header_preproc in
25429   yes:no )
25430     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25431 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25432     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25433 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25434     (
25435       cat <<\_ASBOX
25436 ## ------------------------------------ ##
25437 ## Report this to bug-autoconf@gnu.org. ##
25438 ## ------------------------------------ ##
25439 _ASBOX
25440     ) |
25441       sed "s/^/$as_me: WARNING:     /" >&2
25442     ;;
25443   no:yes )
25444     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25445 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25446     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25447 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25448     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25449 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25450     (
25451       cat <<\_ASBOX
25452 ## ------------------------------------ ##
25453 ## Report this to bug-autoconf@gnu.org. ##
25454 ## ------------------------------------ ##
25455 _ASBOX
25456     ) |
25457       sed "s/^/$as_me: WARNING:     /" >&2
25458     ;;
25459 esac
25460 echo "$as_me:$LINENO: checking for iconv.h" >&5
25461 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25462 if test "${ac_cv_header_iconv_h+set}" = set; then
25463   echo $ECHO_N "(cached) $ECHO_C" >&6
25464 else
25465   ac_cv_header_iconv_h=$ac_header_preproc
25466 fi
25467 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25468 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25469
25470 fi
25471 if test $ac_cv_header_iconv_h = yes; then
25472   ac_has_iconv_h=yes
25473 else
25474   ac_has_iconv_h=no
25475 fi
25476
25477
25478     if test "${ac_cv_header_langinfo_h+set}" = set; then
25479   echo "$as_me:$LINENO: checking for langinfo.h" >&5
25480 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25481 if test "${ac_cv_header_langinfo_h+set}" = set; then
25482   echo $ECHO_N "(cached) $ECHO_C" >&6
25483 fi
25484 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25485 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25486 else
25487   # Is the header compilable?
25488 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25489 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25490 cat >conftest.$ac_ext <<_ACEOF
25491 #line $LINENO "configure"
25492 /* confdefs.h.  */
25493 _ACEOF
25494 cat confdefs.h >>conftest.$ac_ext
25495 cat >>conftest.$ac_ext <<_ACEOF
25496 /* end confdefs.h.  */
25497 $ac_includes_default
25498 #include <langinfo.h>
25499 _ACEOF
25500 rm -f conftest.$ac_objext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25502   (eval $ac_compile) 2>&5
25503   ac_status=$?
25504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505   (exit $ac_status); } &&
25506          { ac_try='test -s conftest.$ac_objext'
25507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508   (eval $ac_try) 2>&5
25509   ac_status=$?
25510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511   (exit $ac_status); }; }; then
25512   ac_header_compiler=yes
25513 else
25514   echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.$ac_ext >&5
25516
25517 ac_header_compiler=no
25518 fi
25519 rm -f conftest.$ac_objext conftest.$ac_ext
25520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25521 echo "${ECHO_T}$ac_header_compiler" >&6
25522
25523 # Is the header present?
25524 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25525 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25526 cat >conftest.$ac_ext <<_ACEOF
25527 #line $LINENO "configure"
25528 /* confdefs.h.  */
25529 _ACEOF
25530 cat confdefs.h >>conftest.$ac_ext
25531 cat >>conftest.$ac_ext <<_ACEOF
25532 /* end confdefs.h.  */
25533 #include <langinfo.h>
25534 _ACEOF
25535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25536   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25537   ac_status=$?
25538   grep -v '^ *+' conftest.er1 >conftest.err
25539   rm -f conftest.er1
25540   cat conftest.err >&5
25541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542   (exit $ac_status); } >/dev/null; then
25543   if test -s conftest.err; then
25544     ac_cpp_err=$ac_c_preproc_warn_flag
25545   else
25546     ac_cpp_err=
25547   fi
25548 else
25549   ac_cpp_err=yes
25550 fi
25551 if test -z "$ac_cpp_err"; then
25552   ac_header_preproc=yes
25553 else
25554   echo "$as_me: failed program was:" >&5
25555 sed 's/^/| /' conftest.$ac_ext >&5
25556
25557   ac_header_preproc=no
25558 fi
25559 rm -f conftest.err conftest.$ac_ext
25560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25561 echo "${ECHO_T}$ac_header_preproc" >&6
25562
25563 # So?  What about this header?
25564 case $ac_header_compiler:$ac_header_preproc in
25565   yes:no )
25566     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25567 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25568     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25569 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25570     (
25571       cat <<\_ASBOX
25572 ## ------------------------------------ ##
25573 ## Report this to bug-autoconf@gnu.org. ##
25574 ## ------------------------------------ ##
25575 _ASBOX
25576     ) |
25577       sed "s/^/$as_me: WARNING:     /" >&2
25578     ;;
25579   no:yes )
25580     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25581 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25582     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25583 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25584     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25585 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25586     (
25587       cat <<\_ASBOX
25588 ## ------------------------------------ ##
25589 ## Report this to bug-autoconf@gnu.org. ##
25590 ## ------------------------------------ ##
25591 _ASBOX
25592     ) |
25593       sed "s/^/$as_me: WARNING:     /" >&2
25594     ;;
25595 esac
25596 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25597 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25598 if test "${ac_cv_header_langinfo_h+set}" = set; then
25599   echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25601   ac_cv_header_langinfo_h=$ac_header_preproc
25602 fi
25603 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25605
25606 fi
25607 if test $ac_cv_header_langinfo_h = yes; then
25608   ac_has_langinfo_h=yes
25609 else
25610   ac_has_langinfo_h=no
25611 fi
25612
25613
25614
25615     # Check for existence of libiconv.a providing XPG2 wchar_t support.
25616     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25617 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25618 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25619   echo $ECHO_N "(cached) $ECHO_C" >&6
25620 else
25621   ac_check_lib_save_LIBS=$LIBS
25622 LIBS="-liconv  $LIBS"
25623 if test x$gcc_no_link = xyes; then
25624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25626    { (exit 1); exit 1; }; }
25627 fi
25628 cat >conftest.$ac_ext <<_ACEOF
25629 #line $LINENO "configure"
25630 /* confdefs.h.  */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h.  */
25635
25636 /* Override any gcc2 internal prototype to avoid an error.  */
25637 #ifdef __cplusplus
25638 extern "C"
25639 #endif
25640 /* We use char because int might match the return type of a gcc2
25641    builtin and then its argument prototype would still apply.  */
25642 char iconv ();
25643 int
25644 main ()
25645 {
25646 iconv ();
25647   ;
25648   return 0;
25649 }
25650 _ACEOF
25651 rm -f conftest.$ac_objext conftest$ac_exeext
25652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25653   (eval $ac_link) 2>&5
25654   ac_status=$?
25655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656   (exit $ac_status); } &&
25657          { ac_try='test -s conftest$ac_exeext'
25658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25659   (eval $ac_try) 2>&5
25660   ac_status=$?
25661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662   (exit $ac_status); }; }; then
25663   ac_cv_lib_iconv_iconv=yes
25664 else
25665   echo "$as_me: failed program was:" >&5
25666 sed 's/^/| /' conftest.$ac_ext >&5
25667
25668 ac_cv_lib_iconv_iconv=no
25669 fi
25670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25671 LIBS=$ac_check_lib_save_LIBS
25672 fi
25673 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25674 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25675 if test $ac_cv_lib_iconv_iconv = yes; then
25676   libiconv="-liconv"
25677 fi
25678
25679     ac_save_LIBS="$LIBS"
25680     LIBS="$LIBS $libiconv"
25681
25682
25683
25684
25685
25686 for ac_func in iconv_open iconv_close iconv nl_langinfo
25687 do
25688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25689 echo "$as_me:$LINENO: checking for $ac_func" >&5
25690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25691 if eval "test \"\${$as_ac_var+set}\" = set"; then
25692   echo $ECHO_N "(cached) $ECHO_C" >&6
25693 else
25694   if test x$gcc_no_link = xyes; then
25695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25697    { (exit 1); exit 1; }; }
25698 fi
25699 cat >conftest.$ac_ext <<_ACEOF
25700 #line $LINENO "configure"
25701 /* confdefs.h.  */
25702 _ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h.  */
25706 /* System header to define __stub macros and hopefully few prototypes,
25707     which can conflict with char $ac_func (); below.
25708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25709     <limits.h> exists even on freestanding compilers.  */
25710 #ifdef __STDC__
25711 # include <limits.h>
25712 #else
25713 # include <assert.h>
25714 #endif
25715 /* Override any gcc2 internal prototype to avoid an error.  */
25716 #ifdef __cplusplus
25717 extern "C"
25718 {
25719 #endif
25720 /* We use char because int might match the return type of a gcc2
25721    builtin and then its argument prototype would still apply.  */
25722 char $ac_func ();
25723 /* The GNU C library defines this for functions which it implements
25724     to always fail with ENOSYS.  Some functions are actually named
25725     something starting with __ and the normal name is an alias.  */
25726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25727 choke me
25728 #else
25729 char (*f) () = $ac_func;
25730 #endif
25731 #ifdef __cplusplus
25732 }
25733 #endif
25734
25735 int
25736 main ()
25737 {
25738 return f != $ac_func;
25739   ;
25740   return 0;
25741 }
25742 _ACEOF
25743 rm -f conftest.$ac_objext conftest$ac_exeext
25744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25745   (eval $ac_link) 2>&5
25746   ac_status=$?
25747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748   (exit $ac_status); } &&
25749          { ac_try='test -s conftest$ac_exeext'
25750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25751   (eval $ac_try) 2>&5
25752   ac_status=$?
25753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754   (exit $ac_status); }; }; then
25755   eval "$as_ac_var=yes"
25756 else
25757   echo "$as_me: failed program was:" >&5
25758 sed 's/^/| /' conftest.$ac_ext >&5
25759
25760 eval "$as_ac_var=no"
25761 fi
25762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25763 fi
25764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25766 if test `eval echo '${'$as_ac_var'}'` = yes; then
25767   cat >>confdefs.h <<_ACEOF
25768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25769 _ACEOF
25770  ac_XPG2funcs=yes
25771 else
25772   ac_XPG2funcs=no
25773 fi
25774 done
25775
25776
25777     LIBS="$ac_save_LIBS"
25778
25779     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25780 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25781     if test x"$ac_has_iconv_h" = xyes &&
25782        test x"$ac_has_langinfo_h" = xyes &&
25783        test x"$ac_XPG2funcs" = xyes;
25784     then
25785       ac_XPG2_wchar_t=yes
25786     else
25787       ac_XPG2_wchar_t=no
25788     fi
25789     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25790 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25791
25792     # At the moment, only enable wchar_t specializations if all the
25793     # above support is present.
25794     if test x"$ac_isoC99_wchar_t" = xyes &&
25795        test x"$ac_XPG2_wchar_t" = xyes;
25796     then
25797       cat >>confdefs.h <<\_ACEOF
25798 #define _GLIBCXX_USE_WCHAR_T 1
25799 _ACEOF
25800
25801       enable_wchar_t=yes
25802     fi
25803   fi
25804   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25805 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25806   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25807 echo "${ECHO_T}$enable_wchar_t" >&6
25808
25809
25810   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25811   ac_save_CXXFLAGS="$CXXFLAGS"
25812   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25813
25814
25815   echo "$as_me:$LINENO: checking for strtold declaration" >&5
25816 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25817   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25818     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25819   echo $ECHO_N "(cached) $ECHO_C" >&6
25820 else
25821
25822
25823
25824       ac_ext=cc
25825 ac_cpp='$CXXCPP $CPPFLAGS'
25826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25829
25830       cat >conftest.$ac_ext <<_ACEOF
25831 #line $LINENO "configure"
25832 /* confdefs.h.  */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h.  */
25837 #include <stdlib.h>
25838 int
25839 main ()
25840 {
25841  strtold(0, 0);
25842   ;
25843   return 0;
25844 }
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848   (eval $ac_compile) 2>&5
25849   ac_status=$?
25850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25851   (exit $ac_status); } &&
25852          { ac_try='test -s conftest.$ac_objext'
25853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25854   (eval $ac_try) 2>&5
25855   ac_status=$?
25856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857   (exit $ac_status); }; }; then
25858   glibcxx_cv_func_strtold_use=yes
25859 else
25860   echo "$as_me: failed program was:" >&5
25861 sed 's/^/| /' conftest.$ac_ext >&5
25862
25863 glibcxx_cv_func_strtold_use=no
25864 fi
25865 rm -f conftest.$ac_objext conftest.$ac_ext
25866       ac_ext=c
25867 ac_cpp='$CPP $CPPFLAGS'
25868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25871
25872
25873 fi
25874
25875   fi
25876   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25877 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25878   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25879
25880 for ac_func in strtold
25881 do
25882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25883 echo "$as_me:$LINENO: checking for $ac_func" >&5
25884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25885 if eval "test \"\${$as_ac_var+set}\" = set"; then
25886   echo $ECHO_N "(cached) $ECHO_C" >&6
25887 else
25888   if test x$gcc_no_link = xyes; then
25889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25891    { (exit 1); exit 1; }; }
25892 fi
25893 cat >conftest.$ac_ext <<_ACEOF
25894 #line $LINENO "configure"
25895 /* confdefs.h.  */
25896 _ACEOF
25897 cat confdefs.h >>conftest.$ac_ext
25898 cat >>conftest.$ac_ext <<_ACEOF
25899 /* end confdefs.h.  */
25900 /* System header to define __stub macros and hopefully few prototypes,
25901     which can conflict with char $ac_func (); below.
25902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25903     <limits.h> exists even on freestanding compilers.  */
25904 #ifdef __STDC__
25905 # include <limits.h>
25906 #else
25907 # include <assert.h>
25908 #endif
25909 /* Override any gcc2 internal prototype to avoid an error.  */
25910 #ifdef __cplusplus
25911 extern "C"
25912 {
25913 #endif
25914 /* We use char because int might match the return type of a gcc2
25915    builtin and then its argument prototype would still apply.  */
25916 char $ac_func ();
25917 /* The GNU C library defines this for functions which it implements
25918     to always fail with ENOSYS.  Some functions are actually named
25919     something starting with __ and the normal name is an alias.  */
25920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25921 choke me
25922 #else
25923 char (*f) () = $ac_func;
25924 #endif
25925 #ifdef __cplusplus
25926 }
25927 #endif
25928
25929 int
25930 main ()
25931 {
25932 return f != $ac_func;
25933   ;
25934   return 0;
25935 }
25936 _ACEOF
25937 rm -f conftest.$ac_objext conftest$ac_exeext
25938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25939   (eval $ac_link) 2>&5
25940   ac_status=$?
25941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942   (exit $ac_status); } &&
25943          { ac_try='test -s conftest$ac_exeext'
25944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945   (eval $ac_try) 2>&5
25946   ac_status=$?
25947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948   (exit $ac_status); }; }; then
25949   eval "$as_ac_var=yes"
25950 else
25951   echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 eval "$as_ac_var=no"
25955 fi
25956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25957 fi
25958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25960 if test `eval echo '${'$as_ac_var'}'` = yes; then
25961   cat >>confdefs.h <<_ACEOF
25962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25963 _ACEOF
25964
25965 fi
25966 done
25967
25968   fi
25969
25970
25971   echo "$as_me:$LINENO: checking for strtof declaration" >&5
25972 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25973   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25974     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25975   echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25977
25978
25979
25980       ac_ext=cc
25981 ac_cpp='$CXXCPP $CPPFLAGS'
25982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25985
25986       cat >conftest.$ac_ext <<_ACEOF
25987 #line $LINENO "configure"
25988 /* confdefs.h.  */
25989 _ACEOF
25990 cat confdefs.h >>conftest.$ac_ext
25991 cat >>conftest.$ac_ext <<_ACEOF
25992 /* end confdefs.h.  */
25993 #include <stdlib.h>
25994 int
25995 main ()
25996 {
25997  strtof(0, 0);
25998   ;
25999   return 0;
26000 }
26001 _ACEOF
26002 rm -f conftest.$ac_objext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26004   (eval $ac_compile) 2>&5
26005   ac_status=$?
26006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007   (exit $ac_status); } &&
26008          { ac_try='test -s conftest.$ac_objext'
26009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010   (eval $ac_try) 2>&5
26011   ac_status=$?
26012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013   (exit $ac_status); }; }; then
26014   glibcxx_cv_func_strtof_use=yes
26015 else
26016   echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 glibcxx_cv_func_strtof_use=no
26020 fi
26021 rm -f conftest.$ac_objext conftest.$ac_ext
26022       ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027
26028
26029 fi
26030
26031   fi
26032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
26033 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
26034   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26035
26036 for ac_func in strtof
26037 do
26038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26039 echo "$as_me:$LINENO: checking for $ac_func" >&5
26040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26041 if eval "test \"\${$as_ac_var+set}\" = set"; then
26042   echo $ECHO_N "(cached) $ECHO_C" >&6
26043 else
26044   if test x$gcc_no_link = xyes; then
26045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26047    { (exit 1); exit 1; }; }
26048 fi
26049 cat >conftest.$ac_ext <<_ACEOF
26050 #line $LINENO "configure"
26051 /* confdefs.h.  */
26052 _ACEOF
26053 cat confdefs.h >>conftest.$ac_ext
26054 cat >>conftest.$ac_ext <<_ACEOF
26055 /* end confdefs.h.  */
26056 /* System header to define __stub macros and hopefully few prototypes,
26057     which can conflict with char $ac_func (); below.
26058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26059     <limits.h> exists even on freestanding compilers.  */
26060 #ifdef __STDC__
26061 # include <limits.h>
26062 #else
26063 # include <assert.h>
26064 #endif
26065 /* Override any gcc2 internal prototype to avoid an error.  */
26066 #ifdef __cplusplus
26067 extern "C"
26068 {
26069 #endif
26070 /* We use char because int might match the return type of a gcc2
26071    builtin and then its argument prototype would still apply.  */
26072 char $ac_func ();
26073 /* The GNU C library defines this for functions which it implements
26074     to always fail with ENOSYS.  Some functions are actually named
26075     something starting with __ and the normal name is an alias.  */
26076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26077 choke me
26078 #else
26079 char (*f) () = $ac_func;
26080 #endif
26081 #ifdef __cplusplus
26082 }
26083 #endif
26084
26085 int
26086 main ()
26087 {
26088 return f != $ac_func;
26089   ;
26090   return 0;
26091 }
26092 _ACEOF
26093 rm -f conftest.$ac_objext conftest$ac_exeext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26095   (eval $ac_link) 2>&5
26096   ac_status=$?
26097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098   (exit $ac_status); } &&
26099          { ac_try='test -s conftest$ac_exeext'
26100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101   (eval $ac_try) 2>&5
26102   ac_status=$?
26103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104   (exit $ac_status); }; }; then
26105   eval "$as_ac_var=yes"
26106 else
26107   echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 eval "$as_ac_var=no"
26111 fi
26112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26113 fi
26114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26116 if test `eval echo '${'$as_ac_var'}'` = yes; then
26117   cat >>confdefs.h <<_ACEOF
26118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26119 _ACEOF
26120
26121 fi
26122 done
26123
26124   fi
26125
26126
26127   CXXFLAGS="$ac_save_CXXFLAGS"
26128
26129
26130   # For showmanyc_helper().
26131
26132
26133 for ac_header in sys/ioctl.h sys/filio.h
26134 do
26135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26137   echo "$as_me:$LINENO: checking for $ac_header" >&5
26138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26140   echo $ECHO_N "(cached) $ECHO_C" >&6
26141 fi
26142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26144 else
26145   # Is the header compilable?
26146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26148 cat >conftest.$ac_ext <<_ACEOF
26149 #line $LINENO "configure"
26150 /* confdefs.h.  */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h.  */
26155 $ac_includes_default
26156 #include <$ac_header>
26157 _ACEOF
26158 rm -f conftest.$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160   (eval $ac_compile) 2>&5
26161   ac_status=$?
26162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163   (exit $ac_status); } &&
26164          { ac_try='test -s conftest.$ac_objext'
26165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166   (eval $ac_try) 2>&5
26167   ac_status=$?
26168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169   (exit $ac_status); }; }; then
26170   ac_header_compiler=yes
26171 else
26172   echo "$as_me: failed program was:" >&5
26173 sed 's/^/| /' conftest.$ac_ext >&5
26174
26175 ac_header_compiler=no
26176 fi
26177 rm -f conftest.$ac_objext conftest.$ac_ext
26178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26179 echo "${ECHO_T}$ac_header_compiler" >&6
26180
26181 # Is the header present?
26182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26184 cat >conftest.$ac_ext <<_ACEOF
26185 #line $LINENO "configure"
26186 /* confdefs.h.  */
26187 _ACEOF
26188 cat confdefs.h >>conftest.$ac_ext
26189 cat >>conftest.$ac_ext <<_ACEOF
26190 /* end confdefs.h.  */
26191 #include <$ac_header>
26192 _ACEOF
26193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26194   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26195   ac_status=$?
26196   grep -v '^ *+' conftest.er1 >conftest.err
26197   rm -f conftest.er1
26198   cat conftest.err >&5
26199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200   (exit $ac_status); } >/dev/null; then
26201   if test -s conftest.err; then
26202     ac_cpp_err=$ac_c_preproc_warn_flag
26203   else
26204     ac_cpp_err=
26205   fi
26206 else
26207   ac_cpp_err=yes
26208 fi
26209 if test -z "$ac_cpp_err"; then
26210   ac_header_preproc=yes
26211 else
26212   echo "$as_me: failed program was:" >&5
26213 sed 's/^/| /' conftest.$ac_ext >&5
26214
26215   ac_header_preproc=no
26216 fi
26217 rm -f conftest.err conftest.$ac_ext
26218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26219 echo "${ECHO_T}$ac_header_preproc" >&6
26220
26221 # So?  What about this header?
26222 case $ac_header_compiler:$ac_header_preproc in
26223   yes:no )
26224     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26226     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26228     (
26229       cat <<\_ASBOX
26230 ## ------------------------------------ ##
26231 ## Report this to bug-autoconf@gnu.org. ##
26232 ## ------------------------------------ ##
26233 _ASBOX
26234     ) |
26235       sed "s/^/$as_me: WARNING:     /" >&2
26236     ;;
26237   no:yes )
26238     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26239 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26240     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26241 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26242     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26244     (
26245       cat <<\_ASBOX
26246 ## ------------------------------------ ##
26247 ## Report this to bug-autoconf@gnu.org. ##
26248 ## ------------------------------------ ##
26249 _ASBOX
26250     ) |
26251       sed "s/^/$as_me: WARNING:     /" >&2
26252     ;;
26253 esac
26254 echo "$as_me:$LINENO: checking for $ac_header" >&5
26255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26257   echo $ECHO_N "(cached) $ECHO_C" >&6
26258 else
26259   eval "$as_ac_Header=$ac_header_preproc"
26260 fi
26261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26263
26264 fi
26265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26266   cat >>confdefs.h <<_ACEOF
26267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26268 _ACEOF
26269
26270 fi
26271
26272 done
26273
26274
26275   if test "${glibcxx_cv_POLL+set}" = set; then
26276   echo $ECHO_N "(cached) $ECHO_C" >&6
26277 else
26278
26279     if test x$gcc_no_link = xyes; then
26280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26282    { (exit 1); exit 1; }; }
26283 fi
26284 cat >conftest.$ac_ext <<_ACEOF
26285 #line $LINENO "configure"
26286 /* confdefs.h.  */
26287 _ACEOF
26288 cat confdefs.h >>conftest.$ac_ext
26289 cat >>conftest.$ac_ext <<_ACEOF
26290 /* end confdefs.h.  */
26291 #include <poll.h>
26292 int
26293 main ()
26294 {
26295 struct pollfd pfd[1];
26296        pfd[0].events = POLLIN;
26297        poll(pfd, 1, 0);
26298   ;
26299   return 0;
26300 }
26301 _ACEOF
26302 rm -f conftest.$ac_objext conftest$ac_exeext
26303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26304   (eval $ac_link) 2>&5
26305   ac_status=$?
26306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307   (exit $ac_status); } &&
26308          { ac_try='test -s conftest$ac_exeext'
26309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26310   (eval $ac_try) 2>&5
26311   ac_status=$?
26312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313   (exit $ac_status); }; }; then
26314   glibcxx_cv_POLL=yes
26315 else
26316   echo "$as_me: failed program was:" >&5
26317 sed 's/^/| /' conftest.$ac_ext >&5
26318
26319 glibcxx_cv_POLL=no
26320 fi
26321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26322
26323 fi
26324
26325   if test $glibcxx_cv_POLL = yes; then
26326     cat >>confdefs.h <<\_ACEOF
26327 #define HAVE_POLL 1
26328 _ACEOF
26329
26330   fi
26331
26332
26333   if test "${glibcxx_cv_S_ISREG+set}" = set; then
26334   echo $ECHO_N "(cached) $ECHO_C" >&6
26335 else
26336
26337     if test x$gcc_no_link = xyes; then
26338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26340    { (exit 1); exit 1; }; }
26341 fi
26342 cat >conftest.$ac_ext <<_ACEOF
26343 #line $LINENO "configure"
26344 /* confdefs.h.  */
26345 _ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h.  */
26349 #include <sys/stat.h>
26350 int
26351 main ()
26352 {
26353 struct stat buffer;
26354        fstat(0, &buffer);
26355        S_ISREG(buffer.st_mode);
26356   ;
26357   return 0;
26358 }
26359 _ACEOF
26360 rm -f conftest.$ac_objext conftest$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362   (eval $ac_link) 2>&5
26363   ac_status=$?
26364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365   (exit $ac_status); } &&
26366          { ac_try='test -s conftest$ac_exeext'
26367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368   (eval $ac_try) 2>&5
26369   ac_status=$?
26370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371   (exit $ac_status); }; }; then
26372   glibcxx_cv_S_ISREG=yes
26373 else
26374   echo "$as_me: failed program was:" >&5
26375 sed 's/^/| /' conftest.$ac_ext >&5
26376
26377 glibcxx_cv_S_ISREG=no
26378 fi
26379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26380
26381 fi
26382
26383   if test "${glibcxx_cv_S_IFREG+set}" = set; then
26384   echo $ECHO_N "(cached) $ECHO_C" >&6
26385 else
26386
26387     if test x$gcc_no_link = xyes; then
26388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26390    { (exit 1); exit 1; }; }
26391 fi
26392 cat >conftest.$ac_ext <<_ACEOF
26393 #line $LINENO "configure"
26394 /* confdefs.h.  */
26395 _ACEOF
26396 cat confdefs.h >>conftest.$ac_ext
26397 cat >>conftest.$ac_ext <<_ACEOF
26398 /* end confdefs.h.  */
26399 #include <sys/stat.h>
26400 int
26401 main ()
26402 {
26403 struct stat buffer;
26404        fstat(0, &buffer);
26405        S_IFREG & buffer.st_mode;
26406   ;
26407   return 0;
26408 }
26409 _ACEOF
26410 rm -f conftest.$ac_objext conftest$ac_exeext
26411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26412   (eval $ac_link) 2>&5
26413   ac_status=$?
26414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415   (exit $ac_status); } &&
26416          { ac_try='test -s conftest$ac_exeext'
26417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418   (eval $ac_try) 2>&5
26419   ac_status=$?
26420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421   (exit $ac_status); }; }; then
26422   glibcxx_cv_S_IFREG=yes
26423 else
26424   echo "$as_me: failed program was:" >&5
26425 sed 's/^/| /' conftest.$ac_ext >&5
26426
26427 glibcxx_cv_S_IFREG=no
26428 fi
26429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26430
26431 fi
26432
26433   if test $glibcxx_cv_S_ISREG = yes; then
26434     cat >>confdefs.h <<\_ACEOF
26435 #define HAVE_S_ISREG 1
26436 _ACEOF
26437
26438   elif test $glibcxx_cv_S_IFREG = yes; then
26439     cat >>confdefs.h <<\_ACEOF
26440 #define HAVE_S_IFREG 1
26441 _ACEOF
26442
26443   fi
26444
26445
26446   # For xsputn_2().
26447
26448 for ac_header in sys/uio.h
26449 do
26450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26452   echo "$as_me:$LINENO: checking for $ac_header" >&5
26453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26455   echo $ECHO_N "(cached) $ECHO_C" >&6
26456 fi
26457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26459 else
26460   # Is the header compilable?
26461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26463 cat >conftest.$ac_ext <<_ACEOF
26464 #line $LINENO "configure"
26465 /* confdefs.h.  */
26466 _ACEOF
26467 cat confdefs.h >>conftest.$ac_ext
26468 cat >>conftest.$ac_ext <<_ACEOF
26469 /* end confdefs.h.  */
26470 $ac_includes_default
26471 #include <$ac_header>
26472 _ACEOF
26473 rm -f conftest.$ac_objext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26475   (eval $ac_compile) 2>&5
26476   ac_status=$?
26477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478   (exit $ac_status); } &&
26479          { ac_try='test -s conftest.$ac_objext'
26480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481   (eval $ac_try) 2>&5
26482   ac_status=$?
26483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484   (exit $ac_status); }; }; then
26485   ac_header_compiler=yes
26486 else
26487   echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26489
26490 ac_header_compiler=no
26491 fi
26492 rm -f conftest.$ac_objext conftest.$ac_ext
26493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26494 echo "${ECHO_T}$ac_header_compiler" >&6
26495
26496 # Is the header present?
26497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26499 cat >conftest.$ac_ext <<_ACEOF
26500 #line $LINENO "configure"
26501 /* confdefs.h.  */
26502 _ACEOF
26503 cat confdefs.h >>conftest.$ac_ext
26504 cat >>conftest.$ac_ext <<_ACEOF
26505 /* end confdefs.h.  */
26506 #include <$ac_header>
26507 _ACEOF
26508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26509   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26510   ac_status=$?
26511   grep -v '^ *+' conftest.er1 >conftest.err
26512   rm -f conftest.er1
26513   cat conftest.err >&5
26514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515   (exit $ac_status); } >/dev/null; then
26516   if test -s conftest.err; then
26517     ac_cpp_err=$ac_c_preproc_warn_flag
26518   else
26519     ac_cpp_err=
26520   fi
26521 else
26522   ac_cpp_err=yes
26523 fi
26524 if test -z "$ac_cpp_err"; then
26525   ac_header_preproc=yes
26526 else
26527   echo "$as_me: failed program was:" >&5
26528 sed 's/^/| /' conftest.$ac_ext >&5
26529
26530   ac_header_preproc=no
26531 fi
26532 rm -f conftest.err conftest.$ac_ext
26533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26534 echo "${ECHO_T}$ac_header_preproc" >&6
26535
26536 # So?  What about this header?
26537 case $ac_header_compiler:$ac_header_preproc in
26538   yes:no )
26539     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26541     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26543     (
26544       cat <<\_ASBOX
26545 ## ------------------------------------ ##
26546 ## Report this to bug-autoconf@gnu.org. ##
26547 ## ------------------------------------ ##
26548 _ASBOX
26549     ) |
26550       sed "s/^/$as_me: WARNING:     /" >&2
26551     ;;
26552   no:yes )
26553     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26555     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26559     (
26560       cat <<\_ASBOX
26561 ## ------------------------------------ ##
26562 ## Report this to bug-autoconf@gnu.org. ##
26563 ## ------------------------------------ ##
26564 _ASBOX
26565     ) |
26566       sed "s/^/$as_me: WARNING:     /" >&2
26567     ;;
26568 esac
26569 echo "$as_me:$LINENO: checking for $ac_header" >&5
26570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26572   echo $ECHO_N "(cached) $ECHO_C" >&6
26573 else
26574   eval "$as_ac_Header=$ac_header_preproc"
26575 fi
26576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26578
26579 fi
26580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26581   cat >>confdefs.h <<_ACEOF
26582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26583 _ACEOF
26584
26585 fi
26586
26587 done
26588
26589
26590   if test "${glibcxx_cv_WRITEV+set}" = set; then
26591   echo $ECHO_N "(cached) $ECHO_C" >&6
26592 else
26593
26594     if test x$gcc_no_link = xyes; then
26595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26597    { (exit 1); exit 1; }; }
26598 fi
26599 cat >conftest.$ac_ext <<_ACEOF
26600 #line $LINENO "configure"
26601 /* confdefs.h.  */
26602 _ACEOF
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h.  */
26606 #include <sys/uio.h>
26607 int
26608 main ()
26609 {
26610 struct iovec iov[2];
26611        writev(0, iov, 0);
26612   ;
26613   return 0;
26614 }
26615 _ACEOF
26616 rm -f conftest.$ac_objext conftest$ac_exeext
26617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26618   (eval $ac_link) 2>&5
26619   ac_status=$?
26620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621   (exit $ac_status); } &&
26622          { ac_try='test -s conftest$ac_exeext'
26623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624   (eval $ac_try) 2>&5
26625   ac_status=$?
26626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627   (exit $ac_status); }; }; then
26628   glibcxx_cv_WRITEV=yes
26629 else
26630   echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633 glibcxx_cv_WRITEV=no
26634 fi
26635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26636
26637 fi
26638
26639   if test $glibcxx_cv_WRITEV = yes; then
26640     cat >>confdefs.h <<\_ACEOF
26641 #define HAVE_WRITEV 1
26642 _ACEOF
26643
26644   fi
26645
26646
26647   # For the __streamoff_base_type typedef.
26648
26649   if test "${glibcxx_cv_INT64_T+set}" = set; then
26650   echo $ECHO_N "(cached) $ECHO_C" >&6
26651 else
26652
26653     cat >conftest.$ac_ext <<_ACEOF
26654 #line $LINENO "configure"
26655 /* confdefs.h.  */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h.  */
26660 #include <stdint.h>
26661 int
26662 main ()
26663 {
26664 int64_t var;
26665   ;
26666   return 0;
26667 }
26668 _ACEOF
26669 rm -f conftest.$ac_objext
26670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26671   (eval $ac_compile) 2>&5
26672   ac_status=$?
26673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674   (exit $ac_status); } &&
26675          { ac_try='test -s conftest.$ac_objext'
26676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677   (eval $ac_try) 2>&5
26678   ac_status=$?
26679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680   (exit $ac_status); }; }; then
26681   glibcxx_cv_INT64_T=yes
26682 else
26683   echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26685
26686 glibcxx_cv_INT64_T=no
26687 fi
26688 rm -f conftest.$ac_objext conftest.$ac_ext
26689
26690 fi
26691
26692   if test $glibcxx_cv_INT64_T = yes; then
26693     cat >>confdefs.h <<\_ACEOF
26694 #define HAVE_INT64_T 1
26695 _ACEOF
26696
26697   fi
26698
26699
26700   # For LFS support.
26701
26702
26703
26704   ac_ext=cc
26705 ac_cpp='$CXXCPP $CPPFLAGS'
26706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26709
26710   ac_save_CXXFLAGS="$CXXFLAGS"
26711   CXXFLAGS="$CXXFLAGS -fno-exceptions"
26712   if test "${glibcxx_cv_LFS+set}" = set; then
26713   echo $ECHO_N "(cached) $ECHO_C" >&6
26714 else
26715
26716     if test x$gcc_no_link = xyes; then
26717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26719    { (exit 1); exit 1; }; }
26720 fi
26721 cat >conftest.$ac_ext <<_ACEOF
26722 #line $LINENO "configure"
26723 /* confdefs.h.  */
26724 _ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h.  */
26728 #include <unistd.h>
26729        #include <stdio.h>
26730
26731 int
26732 main ()
26733 {
26734 FILE* fp;
26735        fopen64("t", "w");
26736        fseeko64(fp, 0, SEEK_CUR);
26737        ftello64(fp);
26738        lseek64(1, 0, SEEK_CUR);
26739   ;
26740   return 0;
26741 }
26742 _ACEOF
26743 rm -f conftest.$ac_objext conftest$ac_exeext
26744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26745   (eval $ac_link) 2>&5
26746   ac_status=$?
26747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748   (exit $ac_status); } &&
26749          { ac_try='test -s conftest$ac_exeext'
26750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26751   (eval $ac_try) 2>&5
26752   ac_status=$?
26753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754   (exit $ac_status); }; }; then
26755   glibcxx_cv_LFS=yes
26756 else
26757   echo "$as_me: failed program was:" >&5
26758 sed 's/^/| /' conftest.$ac_ext >&5
26759
26760 glibcxx_cv_LFS=no
26761 fi
26762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26763
26764 fi
26765
26766   if test $glibcxx_cv_LFS = yes; then
26767     cat >>confdefs.h <<\_ACEOF
26768 #define _GLIBCXX_USE_LFS 1
26769 _ACEOF
26770
26771   fi
26772   CXXFLAGS="$ac_save_CXXFLAGS"
26773   ac_ext=c
26774 ac_cpp='$CPP $CPPFLAGS'
26775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26778
26779
26780
26781
26782   if test "${ac_cv_header_locale_h+set}" = set; then
26783   echo "$as_me:$LINENO: checking for locale.h" >&5
26784 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26785 if test "${ac_cv_header_locale_h+set}" = set; then
26786   echo $ECHO_N "(cached) $ECHO_C" >&6
26787 fi
26788 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26789 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26790 else
26791   # Is the header compilable?
26792 echo "$as_me:$LINENO: checking locale.h usability" >&5
26793 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26794 cat >conftest.$ac_ext <<_ACEOF
26795 #line $LINENO "configure"
26796 /* confdefs.h.  */
26797 _ACEOF
26798 cat confdefs.h >>conftest.$ac_ext
26799 cat >>conftest.$ac_ext <<_ACEOF
26800 /* end confdefs.h.  */
26801 $ac_includes_default
26802 #include <locale.h>
26803 _ACEOF
26804 rm -f conftest.$ac_objext
26805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26806   (eval $ac_compile) 2>&5
26807   ac_status=$?
26808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809   (exit $ac_status); } &&
26810          { ac_try='test -s conftest.$ac_objext'
26811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26812   (eval $ac_try) 2>&5
26813   ac_status=$?
26814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815   (exit $ac_status); }; }; then
26816   ac_header_compiler=yes
26817 else
26818   echo "$as_me: failed program was:" >&5
26819 sed 's/^/| /' conftest.$ac_ext >&5
26820
26821 ac_header_compiler=no
26822 fi
26823 rm -f conftest.$ac_objext conftest.$ac_ext
26824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26825 echo "${ECHO_T}$ac_header_compiler" >&6
26826
26827 # Is the header present?
26828 echo "$as_me:$LINENO: checking locale.h presence" >&5
26829 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26830 cat >conftest.$ac_ext <<_ACEOF
26831 #line $LINENO "configure"
26832 /* confdefs.h.  */
26833 _ACEOF
26834 cat confdefs.h >>conftest.$ac_ext
26835 cat >>conftest.$ac_ext <<_ACEOF
26836 /* end confdefs.h.  */
26837 #include <locale.h>
26838 _ACEOF
26839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26840   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26841   ac_status=$?
26842   grep -v '^ *+' conftest.er1 >conftest.err
26843   rm -f conftest.er1
26844   cat conftest.err >&5
26845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846   (exit $ac_status); } >/dev/null; then
26847   if test -s conftest.err; then
26848     ac_cpp_err=$ac_c_preproc_warn_flag
26849   else
26850     ac_cpp_err=
26851   fi
26852 else
26853   ac_cpp_err=yes
26854 fi
26855 if test -z "$ac_cpp_err"; then
26856   ac_header_preproc=yes
26857 else
26858   echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26860
26861   ac_header_preproc=no
26862 fi
26863 rm -f conftest.err conftest.$ac_ext
26864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26865 echo "${ECHO_T}$ac_header_preproc" >&6
26866
26867 # So?  What about this header?
26868 case $ac_header_compiler:$ac_header_preproc in
26869   yes:no )
26870     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26871 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26872     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26873 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26874     (
26875       cat <<\_ASBOX
26876 ## ------------------------------------ ##
26877 ## Report this to bug-autoconf@gnu.org. ##
26878 ## ------------------------------------ ##
26879 _ASBOX
26880     ) |
26881       sed "s/^/$as_me: WARNING:     /" >&2
26882     ;;
26883   no:yes )
26884     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26885 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26886     { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26887 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26888     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26889 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26890     (
26891       cat <<\_ASBOX
26892 ## ------------------------------------ ##
26893 ## Report this to bug-autoconf@gnu.org. ##
26894 ## ------------------------------------ ##
26895 _ASBOX
26896     ) |
26897       sed "s/^/$as_me: WARNING:     /" >&2
26898     ;;
26899 esac
26900 echo "$as_me:$LINENO: checking for locale.h" >&5
26901 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26902 if test "${ac_cv_header_locale_h+set}" = set; then
26903   echo $ECHO_N "(cached) $ECHO_C" >&6
26904 else
26905   ac_cv_header_locale_h=$ac_header_preproc
26906 fi
26907 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26908 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26909
26910 fi
26911 if test $ac_cv_header_locale_h = yes; then
26912
26913     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26914 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26915 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26916   echo $ECHO_N "(cached) $ECHO_C" >&6
26917 else
26918   if test x$gcc_no_link = xyes; then
26919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26921    { (exit 1); exit 1; }; }
26922 fi
26923 cat >conftest.$ac_ext <<_ACEOF
26924 #line $LINENO "configure"
26925 /* confdefs.h.  */
26926 _ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h.  */
26930 #include <locale.h>
26931 int
26932 main ()
26933 {
26934 return LC_MESSAGES
26935   ;
26936   return 0;
26937 }
26938 _ACEOF
26939 rm -f conftest.$ac_objext conftest$ac_exeext
26940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26941   (eval $ac_link) 2>&5
26942   ac_status=$?
26943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944   (exit $ac_status); } &&
26945          { ac_try='test -s conftest$ac_exeext'
26946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26947   (eval $ac_try) 2>&5
26948   ac_status=$?
26949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950   (exit $ac_status); }; }; then
26951   ac_cv_val_LC_MESSAGES=yes
26952 else
26953   echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26955
26956 ac_cv_val_LC_MESSAGES=no
26957 fi
26958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26959 fi
26960 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26961 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26962     if test $ac_cv_val_LC_MESSAGES = yes; then
26963       cat >>confdefs.h <<\_ACEOF
26964 #define HAVE_LC_MESSAGES 1
26965 _ACEOF
26966
26967     fi
26968
26969 fi
26970
26971
26972
26973
26974   cat >conftest.$ac_ext <<_ACEOF
26975 #line $LINENO "configure"
26976 /* confdefs.h.  */
26977 _ACEOF
26978 cat confdefs.h >>conftest.$ac_ext
26979 cat >>conftest.$ac_ext <<_ACEOF
26980 /* end confdefs.h.  */
26981 #include <setjmp.h>
26982 int
26983 main ()
26984 {
26985 sigjmp_buf env;
26986      while (! sigsetjmp (env, 1))
26987        siglongjmp (env, 1);
26988
26989   ;
26990   return 0;
26991 }
26992 _ACEOF
26993 rm -f conftest.$ac_objext
26994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26995   (eval $ac_compile) 2>&5
26996   ac_status=$?
26997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998   (exit $ac_status); } &&
26999          { ac_try='test -s conftest.$ac_objext'
27000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27001   (eval $ac_try) 2>&5
27002   ac_status=$?
27003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004   (exit $ac_status); }; }; then
27005
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE_SIGSETJMP 1
27008 _ACEOF
27009
27010 else
27011   echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.$ac_ext >&5
27013
27014 fi
27015 rm -f conftest.$ac_objext conftest.$ac_ext
27016
27017   if test x$gcc_no_link = xyes; then
27018   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27019     ac_cv_func_mmap_fixed_mapped=no
27020   fi
27021 fi
27022 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27023
27024
27025 for ac_header in stdlib.h unistd.h
27026 do
27027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27029   echo "$as_me:$LINENO: checking for $ac_header" >&5
27030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27032   echo $ECHO_N "(cached) $ECHO_C" >&6
27033 fi
27034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27036 else
27037   # Is the header compilable?
27038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27040 cat >conftest.$ac_ext <<_ACEOF
27041 #line $LINENO "configure"
27042 /* confdefs.h.  */
27043 _ACEOF
27044 cat confdefs.h >>conftest.$ac_ext
27045 cat >>conftest.$ac_ext <<_ACEOF
27046 /* end confdefs.h.  */
27047 $ac_includes_default
27048 #include <$ac_header>
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27052   (eval $ac_compile) 2>&5
27053   ac_status=$?
27054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055   (exit $ac_status); } &&
27056          { ac_try='test -s conftest.$ac_objext'
27057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058   (eval $ac_try) 2>&5
27059   ac_status=$?
27060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061   (exit $ac_status); }; }; then
27062   ac_header_compiler=yes
27063 else
27064   echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 ac_header_compiler=no
27068 fi
27069 rm -f conftest.$ac_objext conftest.$ac_ext
27070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27071 echo "${ECHO_T}$ac_header_compiler" >&6
27072
27073 # Is the header present?
27074 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27075 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27076 cat >conftest.$ac_ext <<_ACEOF
27077 #line $LINENO "configure"
27078 /* confdefs.h.  */
27079 _ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h.  */
27083 #include <$ac_header>
27084 _ACEOF
27085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27086   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27087   ac_status=$?
27088   grep -v '^ *+' conftest.er1 >conftest.err
27089   rm -f conftest.er1
27090   cat conftest.err >&5
27091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092   (exit $ac_status); } >/dev/null; then
27093   if test -s conftest.err; then
27094     ac_cpp_err=$ac_c_preproc_warn_flag
27095   else
27096     ac_cpp_err=
27097   fi
27098 else
27099   ac_cpp_err=yes
27100 fi
27101 if test -z "$ac_cpp_err"; then
27102   ac_header_preproc=yes
27103 else
27104   echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27106
27107   ac_header_preproc=no
27108 fi
27109 rm -f conftest.err conftest.$ac_ext
27110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27111 echo "${ECHO_T}$ac_header_preproc" >&6
27112
27113 # So?  What about this header?
27114 case $ac_header_compiler:$ac_header_preproc in
27115   yes:no )
27116     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27118     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27119 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27120     (
27121       cat <<\_ASBOX
27122 ## ------------------------------------ ##
27123 ## Report this to bug-autoconf@gnu.org. ##
27124 ## ------------------------------------ ##
27125 _ASBOX
27126     ) |
27127       sed "s/^/$as_me: WARNING:     /" >&2
27128     ;;
27129   no:yes )
27130     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27132     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27134     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27136     (
27137       cat <<\_ASBOX
27138 ## ------------------------------------ ##
27139 ## Report this to bug-autoconf@gnu.org. ##
27140 ## ------------------------------------ ##
27141 _ASBOX
27142     ) |
27143       sed "s/^/$as_me: WARNING:     /" >&2
27144     ;;
27145 esac
27146 echo "$as_me:$LINENO: checking for $ac_header" >&5
27147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27149   echo $ECHO_N "(cached) $ECHO_C" >&6
27150 else
27151   eval "$as_ac_Header=$ac_header_preproc"
27152 fi
27153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27155
27156 fi
27157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27158   cat >>confdefs.h <<_ACEOF
27159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27160 _ACEOF
27161
27162 fi
27163
27164 done
27165
27166
27167 for ac_func in getpagesize
27168 do
27169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27170 echo "$as_me:$LINENO: checking for $ac_func" >&5
27171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27172 if eval "test \"\${$as_ac_var+set}\" = set"; then
27173   echo $ECHO_N "(cached) $ECHO_C" >&6
27174 else
27175   if test x$gcc_no_link = xyes; then
27176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27178    { (exit 1); exit 1; }; }
27179 fi
27180 cat >conftest.$ac_ext <<_ACEOF
27181 #line $LINENO "configure"
27182 /* confdefs.h.  */
27183 _ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h.  */
27187 /* System header to define __stub macros and hopefully few prototypes,
27188     which can conflict with char $ac_func (); below.
27189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27190     <limits.h> exists even on freestanding compilers.  */
27191 #ifdef __STDC__
27192 # include <limits.h>
27193 #else
27194 # include <assert.h>
27195 #endif
27196 /* Override any gcc2 internal prototype to avoid an error.  */
27197 #ifdef __cplusplus
27198 extern "C"
27199 {
27200 #endif
27201 /* We use char because int might match the return type of a gcc2
27202    builtin and then its argument prototype would still apply.  */
27203 char $ac_func ();
27204 /* The GNU C library defines this for functions which it implements
27205     to always fail with ENOSYS.  Some functions are actually named
27206     something starting with __ and the normal name is an alias.  */
27207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27208 choke me
27209 #else
27210 char (*f) () = $ac_func;
27211 #endif
27212 #ifdef __cplusplus
27213 }
27214 #endif
27215
27216 int
27217 main ()
27218 {
27219 return f != $ac_func;
27220   ;
27221   return 0;
27222 }
27223 _ACEOF
27224 rm -f conftest.$ac_objext conftest$ac_exeext
27225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27226   (eval $ac_link) 2>&5
27227   ac_status=$?
27228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229   (exit $ac_status); } &&
27230          { ac_try='test -s conftest$ac_exeext'
27231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232   (eval $ac_try) 2>&5
27233   ac_status=$?
27234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235   (exit $ac_status); }; }; then
27236   eval "$as_ac_var=yes"
27237 else
27238   echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.$ac_ext >&5
27240
27241 eval "$as_ac_var=no"
27242 fi
27243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27244 fi
27245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27247 if test `eval echo '${'$as_ac_var'}'` = yes; then
27248   cat >>confdefs.h <<_ACEOF
27249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27250 _ACEOF
27251
27252 fi
27253 done
27254
27255 echo "$as_me:$LINENO: checking for working mmap" >&5
27256 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27257 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27258   echo $ECHO_N "(cached) $ECHO_C" >&6
27259 else
27260   if test "$cross_compiling" = yes; then
27261   ac_cv_func_mmap_fixed_mapped=no
27262 else
27263   cat >conftest.$ac_ext <<_ACEOF
27264 #line $LINENO "configure"
27265 /* confdefs.h.  */
27266 _ACEOF
27267 cat confdefs.h >>conftest.$ac_ext
27268 cat >>conftest.$ac_ext <<_ACEOF
27269 /* end confdefs.h.  */
27270 $ac_includes_default
27271 /* malloc might have been renamed as rpl_malloc. */
27272 #undef malloc
27273
27274 /* Thanks to Mike Haertel and Jim Avera for this test.
27275    Here is a matrix of mmap possibilities:
27276         mmap private not fixed
27277         mmap private fixed at somewhere currently unmapped
27278         mmap private fixed at somewhere already mapped
27279         mmap shared not fixed
27280         mmap shared fixed at somewhere currently unmapped
27281         mmap shared fixed at somewhere already mapped
27282    For private mappings, we should verify that changes cannot be read()
27283    back from the file, nor mmap's back from the file at a different
27284    address.  (There have been systems where private was not correctly
27285    implemented like the infamous i386 svr4.0, and systems where the
27286    VM page cache was not coherent with the file system buffer cache
27287    like early versions of FreeBSD and possibly contemporary NetBSD.)
27288    For shared mappings, we should conversely verify that changes get
27289    propagated back to all the places they're supposed to be.
27290
27291    Grep wants private fixed already mapped.
27292    The main things grep needs to know about mmap are:
27293    * does it exist and is it safe to write into the mmap'd area
27294    * how to use it (BSD variants)  */
27295
27296 #include <fcntl.h>
27297 #include <sys/mman.h>
27298
27299 #if !STDC_HEADERS && !HAVE_STDLIB_H
27300 char *malloc ();
27301 #endif
27302
27303 /* This mess was copied from the GNU getpagesize.h.  */
27304 #if !HAVE_GETPAGESIZE
27305 /* Assume that all systems that can run configure have sys/param.h.  */
27306 # if !HAVE_SYS_PARAM_H
27307 #  define HAVE_SYS_PARAM_H 1
27308 # endif
27309
27310 # ifdef _SC_PAGESIZE
27311 #  define getpagesize() sysconf(_SC_PAGESIZE)
27312 # else /* no _SC_PAGESIZE */
27313 #  if HAVE_SYS_PARAM_H
27314 #   include <sys/param.h>
27315 #   ifdef EXEC_PAGESIZE
27316 #    define getpagesize() EXEC_PAGESIZE
27317 #   else /* no EXEC_PAGESIZE */
27318 #    ifdef NBPG
27319 #     define getpagesize() NBPG * CLSIZE
27320 #     ifndef CLSIZE
27321 #      define CLSIZE 1
27322 #     endif /* no CLSIZE */
27323 #    else /* no NBPG */
27324 #     ifdef NBPC
27325 #      define getpagesize() NBPC
27326 #     else /* no NBPC */
27327 #      ifdef PAGESIZE
27328 #       define getpagesize() PAGESIZE
27329 #      endif /* PAGESIZE */
27330 #     endif /* no NBPC */
27331 #    endif /* no NBPG */
27332 #   endif /* no EXEC_PAGESIZE */
27333 #  else /* no HAVE_SYS_PARAM_H */
27334 #   define getpagesize() 8192   /* punt totally */
27335 #  endif /* no HAVE_SYS_PARAM_H */
27336 # endif /* no _SC_PAGESIZE */
27337
27338 #endif /* no HAVE_GETPAGESIZE */
27339
27340 int
27341 main ()
27342 {
27343   char *data, *data2, *data3;
27344   int i, pagesize;
27345   int fd;
27346
27347   pagesize = getpagesize ();
27348
27349   /* First, make a file with some known garbage in it. */
27350   data = (char *) malloc (pagesize);
27351   if (!data)
27352     exit (1);
27353   for (i = 0; i < pagesize; ++i)
27354     *(data + i) = rand ();
27355   umask (0);
27356   fd = creat ("conftest.mmap", 0600);
27357   if (fd < 0)
27358     exit (1);
27359   if (write (fd, data, pagesize) != pagesize)
27360     exit (1);
27361   close (fd);
27362
27363   /* Next, try to mmap the file at a fixed address which already has
27364      something else allocated at it.  If we can, also make sure that
27365      we see the same garbage.  */
27366   fd = open ("conftest.mmap", O_RDWR);
27367   if (fd < 0)
27368     exit (1);
27369   data2 = (char *) malloc (2 * pagesize);
27370   if (!data2)
27371     exit (1);
27372   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27373   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27374                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
27375     exit (1);
27376   for (i = 0; i < pagesize; ++i)
27377     if (*(data + i) != *(data2 + i))
27378       exit (1);
27379
27380   /* Finally, make sure that changes to the mapped area do not
27381      percolate back to the file as seen by read().  (This is a bug on
27382      some variants of i386 svr4.0.)  */
27383   for (i = 0; i < pagesize; ++i)
27384     *(data2 + i) = *(data2 + i) + 1;
27385   data3 = (char *) malloc (pagesize);
27386   if (!data3)
27387     exit (1);
27388   if (read (fd, data3, pagesize) != pagesize)
27389     exit (1);
27390   for (i = 0; i < pagesize; ++i)
27391     if (*(data + i) != *(data3 + i))
27392       exit (1);
27393   close (fd);
27394   exit (0);
27395 }
27396 _ACEOF
27397 rm -f conftest$ac_exeext
27398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27399   (eval $ac_link) 2>&5
27400   ac_status=$?
27401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404   (eval $ac_try) 2>&5
27405   ac_status=$?
27406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407   (exit $ac_status); }; }; then
27408   ac_cv_func_mmap_fixed_mapped=yes
27409 else
27410   echo "$as_me: program exited with status $ac_status" >&5
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27413
27414 ( exit $ac_status )
27415 ac_cv_func_mmap_fixed_mapped=no
27416 fi
27417 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27418 fi
27419 fi
27420 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27421 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27422 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27423
27424 cat >>confdefs.h <<\_ACEOF
27425 #define HAVE_MMAP 1
27426 _ACEOF
27427
27428 fi
27429 rm -f conftest.mmap
27430
27431 fi
27432
27433 else
27434
27435   # This lets us hard-code the functionality we know we'll have in the cross
27436   # target environment.  "Let" is a sugar-coated word placed on an especially
27437   # dull and tedious hack, actually.
27438   #
27439   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27440   # that involve linking, can't be used:
27441   #    "cannot open sim-crt0.o"
27442   #    "cannot open crt0.o"
27443   # etc.  All this is because there currently exists no unified, consistent
27444   # way for top level CC information to be passed down to target directories:
27445   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27446   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27447   # crosses can be removed.
27448
27449   # If Canadian cross, then don't pick up tools from the build directory.
27450   # Used only in GLIBCXX_EXPORT_INCLUDES.
27451   if test -n "$with_cross_host" &&
27452      test x"$build_alias" != x"$with_cross_host" &&
27453      test x"$build" != x"$target";
27454   then
27455     CANADIAN=yes
27456   else
27457     CANADIAN=no
27458   fi
27459
27460   # Construct crosses by hand, eliminating bits that need ld...
27461   # GLIBCXX_CHECK_COMPILER_FEATURES
27462   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27463   # GLIBCXX_CHECK_MATH_SUPPORT
27464
27465   # First, test for "known" system libraries.  We may be using newlib even
27466   # on a hosted environment.
27467   if test "x${with_newlib}" = "xyes"; then
27468     os_include_dir="os/newlib"
27469     cat >>confdefs.h <<\_ACEOF
27470 #define HAVE_HYPOT 1
27471 _ACEOF
27472
27473
27474     # GLIBCXX_CHECK_STDLIB_SUPPORT
27475     cat >>confdefs.h <<\_ACEOF
27476 #define HAVE_STRTOF 1
27477 _ACEOF
27478
27479     cat >>confdefs.h <<\_ACEOF
27480 #define HAVE_STRTOLD 1
27481 _ACEOF
27482
27483     # AC_FUNC_MMAP
27484     cat >>confdefs.h <<\_ACEOF
27485 #define HAVE_MMAP 1
27486 _ACEOF
27487
27488
27489     cat >>confdefs.h <<\_ACEOF
27490 #define HAVE_ACOSF 1
27491 _ACEOF
27492
27493     cat >>confdefs.h <<\_ACEOF
27494 #define HAVE_ASINF 1
27495 _ACEOF
27496
27497     cat >>confdefs.h <<\_ACEOF
27498 #define HAVE_ATAN2F 1
27499 _ACEOF
27500
27501     cat >>confdefs.h <<\_ACEOF
27502 #define HAVE_ATANF 1
27503 _ACEOF
27504
27505     cat >>confdefs.h <<\_ACEOF
27506 #define HAVE_CEILF 1
27507 _ACEOF
27508
27509     cat >>confdefs.h <<\_ACEOF
27510 #define HAVE_COPYSIGN 1
27511 _ACEOF
27512
27513     cat >>confdefs.h <<\_ACEOF
27514 #define HAVE_COPYSIGNF 1
27515 _ACEOF
27516
27517     cat >>confdefs.h <<\_ACEOF
27518 #define HAVE_COSF 1
27519 _ACEOF
27520
27521     cat >>confdefs.h <<\_ACEOF
27522 #define HAVE_COSHF 1
27523 _ACEOF
27524
27525     cat >>confdefs.h <<\_ACEOF
27526 #define HAVE_EXPF 1
27527 _ACEOF
27528
27529     cat >>confdefs.h <<\_ACEOF
27530 #define HAVE_FABSF 1
27531 _ACEOF
27532
27533     cat >>confdefs.h <<\_ACEOF
27534 #define HAVE_FLOORF 1
27535 _ACEOF
27536
27537     cat >>confdefs.h <<\_ACEOF
27538 #define HAVE_FMODF 1
27539 _ACEOF
27540
27541     cat >>confdefs.h <<\_ACEOF
27542 #define HAVE_FREXPF 1
27543 _ACEOF
27544
27545     cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_LDEXPF 1
27547 _ACEOF
27548
27549     cat >>confdefs.h <<\_ACEOF
27550 #define HAVE_LOG10F 1
27551 _ACEOF
27552
27553     cat >>confdefs.h <<\_ACEOF
27554 #define HAVE_LOGF 1
27555 _ACEOF
27556
27557     cat >>confdefs.h <<\_ACEOF
27558 #define HAVE_MODFF 1
27559 _ACEOF
27560
27561     cat >>confdefs.h <<\_ACEOF
27562 #define HAVE_POWF 1
27563 _ACEOF
27564
27565     cat >>confdefs.h <<\_ACEOF
27566 #define HAVE_SINF 1
27567 _ACEOF
27568
27569     cat >>confdefs.h <<\_ACEOF
27570 #define HAVE_SINHF 1
27571 _ACEOF
27572
27573     cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_SQRTF 1
27575 _ACEOF
27576
27577     cat >>confdefs.h <<\_ACEOF
27578 #define HAVE_TANF 1
27579 _ACEOF
27580
27581     cat >>confdefs.h <<\_ACEOF
27582 #define HAVE_TANHF 1
27583 _ACEOF
27584
27585
27586     cat >>confdefs.h <<\_ACEOF
27587 #define HAVE_S_ISREG 1
27588 _ACEOF
27589
27590     cat >>confdefs.h <<\_ACEOF
27591 #define HAVE_S_IFREG 1
27592 _ACEOF
27593
27594   else
27595
27596 # Base decisions on target environment.
27597 case "${host}" in
27598   *-darwin*)
27599     # Darwin versions vary, but the linker should work in a cross environment,
27600     # so we just check for all the features here.
27601     # Check for available headers.
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27616     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27617     sys/types.h
27618 do
27619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27621   echo "$as_me:$LINENO: checking for $ac_header" >&5
27622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27624   echo $ECHO_N "(cached) $ECHO_C" >&6
27625 fi
27626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27628 else
27629   # Is the header compilable?
27630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27632 cat >conftest.$ac_ext <<_ACEOF
27633 #line $LINENO "configure"
27634 /* confdefs.h.  */
27635 _ACEOF
27636 cat confdefs.h >>conftest.$ac_ext
27637 cat >>conftest.$ac_ext <<_ACEOF
27638 /* end confdefs.h.  */
27639 $ac_includes_default
27640 #include <$ac_header>
27641 _ACEOF
27642 rm -f conftest.$ac_objext
27643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27644   (eval $ac_compile) 2>&5
27645   ac_status=$?
27646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647   (exit $ac_status); } &&
27648          { ac_try='test -s conftest.$ac_objext'
27649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650   (eval $ac_try) 2>&5
27651   ac_status=$?
27652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653   (exit $ac_status); }; }; then
27654   ac_header_compiler=yes
27655 else
27656   echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 ac_header_compiler=no
27660 fi
27661 rm -f conftest.$ac_objext conftest.$ac_ext
27662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27663 echo "${ECHO_T}$ac_header_compiler" >&6
27664
27665 # Is the header present?
27666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27668 cat >conftest.$ac_ext <<_ACEOF
27669 #line $LINENO "configure"
27670 /* confdefs.h.  */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h.  */
27675 #include <$ac_header>
27676 _ACEOF
27677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27678   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27679   ac_status=$?
27680   grep -v '^ *+' conftest.er1 >conftest.err
27681   rm -f conftest.er1
27682   cat conftest.err >&5
27683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684   (exit $ac_status); } >/dev/null; then
27685   if test -s conftest.err; then
27686     ac_cpp_err=$ac_c_preproc_warn_flag
27687   else
27688     ac_cpp_err=
27689   fi
27690 else
27691   ac_cpp_err=yes
27692 fi
27693 if test -z "$ac_cpp_err"; then
27694   ac_header_preproc=yes
27695 else
27696   echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.$ac_ext >&5
27698
27699   ac_header_preproc=no
27700 fi
27701 rm -f conftest.err conftest.$ac_ext
27702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27703 echo "${ECHO_T}$ac_header_preproc" >&6
27704
27705 # So?  What about this header?
27706 case $ac_header_compiler:$ac_header_preproc in
27707   yes:no )
27708     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27712     (
27713       cat <<\_ASBOX
27714 ## ------------------------------------ ##
27715 ## Report this to bug-autoconf@gnu.org. ##
27716 ## ------------------------------------ ##
27717 _ASBOX
27718     ) |
27719       sed "s/^/$as_me: WARNING:     /" >&2
27720     ;;
27721   no:yes )
27722     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27724     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27725 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27726     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27728     (
27729       cat <<\_ASBOX
27730 ## ------------------------------------ ##
27731 ## Report this to bug-autoconf@gnu.org. ##
27732 ## ------------------------------------ ##
27733 _ASBOX
27734     ) |
27735       sed "s/^/$as_me: WARNING:     /" >&2
27736     ;;
27737 esac
27738 echo "$as_me:$LINENO: checking for $ac_header" >&5
27739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27741   echo $ECHO_N "(cached) $ECHO_C" >&6
27742 else
27743   eval "$as_ac_Header=$ac_header_preproc"
27744 fi
27745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27747
27748 fi
27749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27750   cat >>confdefs.h <<_ACEOF
27751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27752 _ACEOF
27753
27754 fi
27755
27756 done
27757
27758
27759
27760   # All these tests are for C++; save the language and the compiler flags.
27761   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27762   # found in GLIBCXX_CONFIGURE.
27763
27764
27765   ac_ext=cc
27766 ac_cpp='$CXXCPP $CPPFLAGS'
27767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27770
27771   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27772   ac_save_CXXFLAGS="$CXXFLAGS"
27773
27774   # Check for maintainer-mode bits.
27775   if test x"$USE_MAINTAINER_MODE" = xno; then
27776     WERROR=''
27777   else
27778     WERROR='-Werror'
27779   fi
27780
27781   # Check for -ffunction-sections -fdata-sections
27782   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27783 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27784   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
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 int
27794 main ()
27795 {
27796 int foo;
27797   ;
27798   return 0;
27799 }
27800 _ACEOF
27801 rm -f conftest.$ac_objext
27802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27803   (eval $ac_compile) 2>&5
27804   ac_status=$?
27805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806   (exit $ac_status); } &&
27807          { ac_try='test -s conftest.$ac_objext'
27808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27809   (eval $ac_try) 2>&5
27810   ac_status=$?
27811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812   (exit $ac_status); }; }; then
27813   ac_fdsections=yes
27814 else
27815   echo "$as_me: failed program was:" >&5
27816 sed 's/^/| /' conftest.$ac_ext >&5
27817
27818 ac_fdsections=no
27819 fi
27820 rm -f conftest.$ac_objext conftest.$ac_ext
27821   if test "$ac_test_CXXFLAGS" = set; then
27822     CXXFLAGS="$ac_save_CXXFLAGS"
27823   else
27824     # this is the suspicious part
27825     CXXFLAGS=''
27826   fi
27827   if test x"$ac_fdsections" = x"yes"; then
27828     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27829   fi
27830   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27831 echo "${ECHO_T}$ac_fdsections" >&6
27832
27833   ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27838
27839
27840
27841
27842     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27843
27844   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27845   ac_save_CXXFLAGS="$CXXFLAGS"
27846   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27847
27848     echo "$as_me:$LINENO: checking for sin in -lm" >&5
27849 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27850 if test "${ac_cv_lib_m_sin+set}" = set; then
27851   echo $ECHO_N "(cached) $ECHO_C" >&6
27852 else
27853   ac_check_lib_save_LIBS=$LIBS
27854 LIBS="-lm  $LIBS"
27855 if test x$gcc_no_link = xyes; then
27856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27858    { (exit 1); exit 1; }; }
27859 fi
27860 cat >conftest.$ac_ext <<_ACEOF
27861 #line $LINENO "configure"
27862 /* confdefs.h.  */
27863 _ACEOF
27864 cat confdefs.h >>conftest.$ac_ext
27865 cat >>conftest.$ac_ext <<_ACEOF
27866 /* end confdefs.h.  */
27867
27868 /* Override any gcc2 internal prototype to avoid an error.  */
27869 #ifdef __cplusplus
27870 extern "C"
27871 #endif
27872 /* We use char because int might match the return type of a gcc2
27873    builtin and then its argument prototype would still apply.  */
27874 char sin ();
27875 int
27876 main ()
27877 {
27878 sin ();
27879   ;
27880   return 0;
27881 }
27882 _ACEOF
27883 rm -f conftest.$ac_objext conftest$ac_exeext
27884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27885   (eval $ac_link) 2>&5
27886   ac_status=$?
27887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888   (exit $ac_status); } &&
27889          { ac_try='test -s conftest$ac_exeext'
27890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891   (eval $ac_try) 2>&5
27892   ac_status=$?
27893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894   (exit $ac_status); }; }; then
27895   ac_cv_lib_m_sin=yes
27896 else
27897   echo "$as_me: failed program was:" >&5
27898 sed 's/^/| /' conftest.$ac_ext >&5
27899
27900 ac_cv_lib_m_sin=no
27901 fi
27902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27903 LIBS=$ac_check_lib_save_LIBS
27904 fi
27905 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27906 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27907 if test $ac_cv_lib_m_sin = yes; then
27908   libm="-lm"
27909 fi
27910
27911   ac_save_LIBS="$LIBS"
27912   LIBS="$LIBS $libm"
27913
27914
27915
27916   echo "$as_me:$LINENO: checking for isinf declaration" >&5
27917 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27918   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27919     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27920   echo $ECHO_N "(cached) $ECHO_C" >&6
27921 else
27922
27923
27924
27925       ac_ext=cc
27926 ac_cpp='$CXXCPP $CPPFLAGS'
27927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27930
27931       cat >conftest.$ac_ext <<_ACEOF
27932 #line $LINENO "configure"
27933 /* confdefs.h.  */
27934 _ACEOF
27935 cat confdefs.h >>conftest.$ac_ext
27936 cat >>conftest.$ac_ext <<_ACEOF
27937 /* end confdefs.h.  */
27938 #include <math.h>
27939                       #ifdef HAVE_IEEEFP_H
27940                       #include <ieeefp.h>
27941                       #endif
27942
27943 int
27944 main ()
27945 {
27946  isinf(0);
27947   ;
27948   return 0;
27949 }
27950 _ACEOF
27951 rm -f conftest.$ac_objext
27952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27953   (eval $ac_compile) 2>&5
27954   ac_status=$?
27955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956   (exit $ac_status); } &&
27957          { ac_try='test -s conftest.$ac_objext'
27958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959   (eval $ac_try) 2>&5
27960   ac_status=$?
27961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962   (exit $ac_status); }; }; then
27963   glibcxx_cv_func_isinf_use=yes
27964 else
27965   echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27967
27968 glibcxx_cv_func_isinf_use=no
27969 fi
27970 rm -f conftest.$ac_objext conftest.$ac_ext
27971       ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27976
27977
27978 fi
27979
27980   fi
27981   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27982 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27983
27984   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27985
27986 for ac_func in isinf
27987 do
27988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27989 echo "$as_me:$LINENO: checking for $ac_func" >&5
27990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27991 if eval "test \"\${$as_ac_var+set}\" = set"; then
27992   echo $ECHO_N "(cached) $ECHO_C" >&6
27993 else
27994   if test x$gcc_no_link = xyes; then
27995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27997    { (exit 1); exit 1; }; }
27998 fi
27999 cat >conftest.$ac_ext <<_ACEOF
28000 #line $LINENO "configure"
28001 /* confdefs.h.  */
28002 _ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h.  */
28006 /* System header to define __stub macros and hopefully few prototypes,
28007     which can conflict with char $ac_func (); below.
28008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28009     <limits.h> exists even on freestanding compilers.  */
28010 #ifdef __STDC__
28011 # include <limits.h>
28012 #else
28013 # include <assert.h>
28014 #endif
28015 /* Override any gcc2 internal prototype to avoid an error.  */
28016 #ifdef __cplusplus
28017 extern "C"
28018 {
28019 #endif
28020 /* We use char because int might match the return type of a gcc2
28021    builtin and then its argument prototype would still apply.  */
28022 char $ac_func ();
28023 /* The GNU C library defines this for functions which it implements
28024     to always fail with ENOSYS.  Some functions are actually named
28025     something starting with __ and the normal name is an alias.  */
28026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28027 choke me
28028 #else
28029 char (*f) () = $ac_func;
28030 #endif
28031 #ifdef __cplusplus
28032 }
28033 #endif
28034
28035 int
28036 main ()
28037 {
28038 return f != $ac_func;
28039   ;
28040   return 0;
28041 }
28042 _ACEOF
28043 rm -f conftest.$ac_objext conftest$ac_exeext
28044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28045   (eval $ac_link) 2>&5
28046   ac_status=$?
28047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048   (exit $ac_status); } &&
28049          { ac_try='test -s conftest$ac_exeext'
28050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28051   (eval $ac_try) 2>&5
28052   ac_status=$?
28053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28054   (exit $ac_status); }; }; then
28055   eval "$as_ac_var=yes"
28056 else
28057   echo "$as_me: failed program was:" >&5
28058 sed 's/^/| /' conftest.$ac_ext >&5
28059
28060 eval "$as_ac_var=no"
28061 fi
28062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28063 fi
28064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28066 if test `eval echo '${'$as_ac_var'}'` = yes; then
28067   cat >>confdefs.h <<_ACEOF
28068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28069 _ACEOF
28070
28071 fi
28072 done
28073
28074   else
28075
28076   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28077 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28078   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28079     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28080   echo $ECHO_N "(cached) $ECHO_C" >&6
28081 else
28082
28083
28084
28085       ac_ext=cc
28086 ac_cpp='$CXXCPP $CPPFLAGS'
28087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28090
28091       cat >conftest.$ac_ext <<_ACEOF
28092 #line $LINENO "configure"
28093 /* confdefs.h.  */
28094 _ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h.  */
28098 #include <math.h>
28099                       #ifdef HAVE_IEEEFP_H
28100                       #include <ieeefp.h>
28101                       #endif
28102
28103 int
28104 main ()
28105 {
28106  _isinf(0);
28107   ;
28108   return 0;
28109 }
28110 _ACEOF
28111 rm -f conftest.$ac_objext
28112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28113   (eval $ac_compile) 2>&5
28114   ac_status=$?
28115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116   (exit $ac_status); } &&
28117          { ac_try='test -s conftest.$ac_objext'
28118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119   (eval $ac_try) 2>&5
28120   ac_status=$?
28121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122   (exit $ac_status); }; }; then
28123   glibcxx_cv_func__isinf_use=yes
28124 else
28125   echo "$as_me: failed program was:" >&5
28126 sed 's/^/| /' conftest.$ac_ext >&5
28127
28128 glibcxx_cv_func__isinf_use=no
28129 fi
28130 rm -f conftest.$ac_objext conftest.$ac_ext
28131       ac_ext=c
28132 ac_cpp='$CPP $CPPFLAGS'
28133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28136
28137
28138 fi
28139
28140   fi
28141   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28142 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28143
28144     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28145
28146 for ac_func in _isinf
28147 do
28148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28149 echo "$as_me:$LINENO: checking for $ac_func" >&5
28150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28151 if eval "test \"\${$as_ac_var+set}\" = set"; then
28152   echo $ECHO_N "(cached) $ECHO_C" >&6
28153 else
28154   if test x$gcc_no_link = xyes; then
28155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28157    { (exit 1); exit 1; }; }
28158 fi
28159 cat >conftest.$ac_ext <<_ACEOF
28160 #line $LINENO "configure"
28161 /* confdefs.h.  */
28162 _ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h.  */
28166 /* System header to define __stub macros and hopefully few prototypes,
28167     which can conflict with char $ac_func (); below.
28168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169     <limits.h> exists even on freestanding compilers.  */
28170 #ifdef __STDC__
28171 # include <limits.h>
28172 #else
28173 # include <assert.h>
28174 #endif
28175 /* Override any gcc2 internal prototype to avoid an error.  */
28176 #ifdef __cplusplus
28177 extern "C"
28178 {
28179 #endif
28180 /* We use char because int might match the return type of a gcc2
28181    builtin and then its argument prototype would still apply.  */
28182 char $ac_func ();
28183 /* The GNU C library defines this for functions which it implements
28184     to always fail with ENOSYS.  Some functions are actually named
28185     something starting with __ and the normal name is an alias.  */
28186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28187 choke me
28188 #else
28189 char (*f) () = $ac_func;
28190 #endif
28191 #ifdef __cplusplus
28192 }
28193 #endif
28194
28195 int
28196 main ()
28197 {
28198 return f != $ac_func;
28199   ;
28200   return 0;
28201 }
28202 _ACEOF
28203 rm -f conftest.$ac_objext conftest$ac_exeext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28205   (eval $ac_link) 2>&5
28206   ac_status=$?
28207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208   (exit $ac_status); } &&
28209          { ac_try='test -s conftest$ac_exeext'
28210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211   (eval $ac_try) 2>&5
28212   ac_status=$?
28213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214   (exit $ac_status); }; }; then
28215   eval "$as_ac_var=yes"
28216 else
28217   echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28219
28220 eval "$as_ac_var=no"
28221 fi
28222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28223 fi
28224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28226 if test `eval echo '${'$as_ac_var'}'` = yes; then
28227   cat >>confdefs.h <<_ACEOF
28228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28229 _ACEOF
28230
28231 fi
28232 done
28233
28234     fi
28235   fi
28236
28237
28238
28239   echo "$as_me:$LINENO: checking for isnan declaration" >&5
28240 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28241   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28242     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28243   echo $ECHO_N "(cached) $ECHO_C" >&6
28244 else
28245
28246
28247
28248       ac_ext=cc
28249 ac_cpp='$CXXCPP $CPPFLAGS'
28250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28253
28254       cat >conftest.$ac_ext <<_ACEOF
28255 #line $LINENO "configure"
28256 /* confdefs.h.  */
28257 _ACEOF
28258 cat confdefs.h >>conftest.$ac_ext
28259 cat >>conftest.$ac_ext <<_ACEOF
28260 /* end confdefs.h.  */
28261 #include <math.h>
28262                       #ifdef HAVE_IEEEFP_H
28263                       #include <ieeefp.h>
28264                       #endif
28265
28266 int
28267 main ()
28268 {
28269  isnan(0);
28270   ;
28271   return 0;
28272 }
28273 _ACEOF
28274 rm -f conftest.$ac_objext
28275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28276   (eval $ac_compile) 2>&5
28277   ac_status=$?
28278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279   (exit $ac_status); } &&
28280          { ac_try='test -s conftest.$ac_objext'
28281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282   (eval $ac_try) 2>&5
28283   ac_status=$?
28284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285   (exit $ac_status); }; }; then
28286   glibcxx_cv_func_isnan_use=yes
28287 else
28288   echo "$as_me: failed program was:" >&5
28289 sed 's/^/| /' conftest.$ac_ext >&5
28290
28291 glibcxx_cv_func_isnan_use=no
28292 fi
28293 rm -f conftest.$ac_objext conftest.$ac_ext
28294       ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28299
28300
28301 fi
28302
28303   fi
28304   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28305 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28306
28307   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28308
28309 for ac_func in isnan
28310 do
28311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28312 echo "$as_me:$LINENO: checking for $ac_func" >&5
28313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28314 if eval "test \"\${$as_ac_var+set}\" = set"; then
28315   echo $ECHO_N "(cached) $ECHO_C" >&6
28316 else
28317   if test x$gcc_no_link = xyes; then
28318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28320    { (exit 1); exit 1; }; }
28321 fi
28322 cat >conftest.$ac_ext <<_ACEOF
28323 #line $LINENO "configure"
28324 /* confdefs.h.  */
28325 _ACEOF
28326 cat confdefs.h >>conftest.$ac_ext
28327 cat >>conftest.$ac_ext <<_ACEOF
28328 /* end confdefs.h.  */
28329 /* System header to define __stub macros and hopefully few prototypes,
28330     which can conflict with char $ac_func (); below.
28331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28332     <limits.h> exists even on freestanding compilers.  */
28333 #ifdef __STDC__
28334 # include <limits.h>
28335 #else
28336 # include <assert.h>
28337 #endif
28338 /* Override any gcc2 internal prototype to avoid an error.  */
28339 #ifdef __cplusplus
28340 extern "C"
28341 {
28342 #endif
28343 /* We use char because int might match the return type of a gcc2
28344    builtin and then its argument prototype would still apply.  */
28345 char $ac_func ();
28346 /* The GNU C library defines this for functions which it implements
28347     to always fail with ENOSYS.  Some functions are actually named
28348     something starting with __ and the normal name is an alias.  */
28349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28350 choke me
28351 #else
28352 char (*f) () = $ac_func;
28353 #endif
28354 #ifdef __cplusplus
28355 }
28356 #endif
28357
28358 int
28359 main ()
28360 {
28361 return f != $ac_func;
28362   ;
28363   return 0;
28364 }
28365 _ACEOF
28366 rm -f conftest.$ac_objext conftest$ac_exeext
28367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28368   (eval $ac_link) 2>&5
28369   ac_status=$?
28370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371   (exit $ac_status); } &&
28372          { ac_try='test -s conftest$ac_exeext'
28373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28374   (eval $ac_try) 2>&5
28375   ac_status=$?
28376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377   (exit $ac_status); }; }; then
28378   eval "$as_ac_var=yes"
28379 else
28380   echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.$ac_ext >&5
28382
28383 eval "$as_ac_var=no"
28384 fi
28385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28386 fi
28387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28389 if test `eval echo '${'$as_ac_var'}'` = yes; then
28390   cat >>confdefs.h <<_ACEOF
28391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28392 _ACEOF
28393
28394 fi
28395 done
28396
28397   else
28398
28399   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28400 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28401   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28402     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28403   echo $ECHO_N "(cached) $ECHO_C" >&6
28404 else
28405
28406
28407
28408       ac_ext=cc
28409 ac_cpp='$CXXCPP $CPPFLAGS'
28410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28413
28414       cat >conftest.$ac_ext <<_ACEOF
28415 #line $LINENO "configure"
28416 /* confdefs.h.  */
28417 _ACEOF
28418 cat confdefs.h >>conftest.$ac_ext
28419 cat >>conftest.$ac_ext <<_ACEOF
28420 /* end confdefs.h.  */
28421 #include <math.h>
28422                       #ifdef HAVE_IEEEFP_H
28423                       #include <ieeefp.h>
28424                       #endif
28425
28426 int
28427 main ()
28428 {
28429  _isnan(0);
28430   ;
28431   return 0;
28432 }
28433 _ACEOF
28434 rm -f conftest.$ac_objext
28435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28436   (eval $ac_compile) 2>&5
28437   ac_status=$?
28438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439   (exit $ac_status); } &&
28440          { ac_try='test -s conftest.$ac_objext'
28441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442   (eval $ac_try) 2>&5
28443   ac_status=$?
28444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445   (exit $ac_status); }; }; then
28446   glibcxx_cv_func__isnan_use=yes
28447 else
28448   echo "$as_me: failed program was:" >&5
28449 sed 's/^/| /' conftest.$ac_ext >&5
28450
28451 glibcxx_cv_func__isnan_use=no
28452 fi
28453 rm -f conftest.$ac_objext conftest.$ac_ext
28454       ac_ext=c
28455 ac_cpp='$CPP $CPPFLAGS'
28456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28459
28460
28461 fi
28462
28463   fi
28464   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28465 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28466
28467     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28468
28469 for ac_func in _isnan
28470 do
28471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28472 echo "$as_me:$LINENO: checking for $ac_func" >&5
28473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28474 if eval "test \"\${$as_ac_var+set}\" = set"; then
28475   echo $ECHO_N "(cached) $ECHO_C" >&6
28476 else
28477   if test x$gcc_no_link = xyes; then
28478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28480    { (exit 1); exit 1; }; }
28481 fi
28482 cat >conftest.$ac_ext <<_ACEOF
28483 #line $LINENO "configure"
28484 /* confdefs.h.  */
28485 _ACEOF
28486 cat confdefs.h >>conftest.$ac_ext
28487 cat >>conftest.$ac_ext <<_ACEOF
28488 /* end confdefs.h.  */
28489 /* System header to define __stub macros and hopefully few prototypes,
28490     which can conflict with char $ac_func (); below.
28491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28492     <limits.h> exists even on freestanding compilers.  */
28493 #ifdef __STDC__
28494 # include <limits.h>
28495 #else
28496 # include <assert.h>
28497 #endif
28498 /* Override any gcc2 internal prototype to avoid an error.  */
28499 #ifdef __cplusplus
28500 extern "C"
28501 {
28502 #endif
28503 /* We use char because int might match the return type of a gcc2
28504    builtin and then its argument prototype would still apply.  */
28505 char $ac_func ();
28506 /* The GNU C library defines this for functions which it implements
28507     to always fail with ENOSYS.  Some functions are actually named
28508     something starting with __ and the normal name is an alias.  */
28509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28510 choke me
28511 #else
28512 char (*f) () = $ac_func;
28513 #endif
28514 #ifdef __cplusplus
28515 }
28516 #endif
28517
28518 int
28519 main ()
28520 {
28521 return f != $ac_func;
28522   ;
28523   return 0;
28524 }
28525 _ACEOF
28526 rm -f conftest.$ac_objext conftest$ac_exeext
28527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28528   (eval $ac_link) 2>&5
28529   ac_status=$?
28530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531   (exit $ac_status); } &&
28532          { ac_try='test -s conftest$ac_exeext'
28533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28534   (eval $ac_try) 2>&5
28535   ac_status=$?
28536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537   (exit $ac_status); }; }; then
28538   eval "$as_ac_var=yes"
28539 else
28540   echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28542
28543 eval "$as_ac_var=no"
28544 fi
28545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28546 fi
28547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28549 if test `eval echo '${'$as_ac_var'}'` = yes; then
28550   cat >>confdefs.h <<_ACEOF
28551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28552 _ACEOF
28553
28554 fi
28555 done
28556
28557     fi
28558   fi
28559
28560
28561
28562   echo "$as_me:$LINENO: checking for finite declaration" >&5
28563 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28564   if test x${glibcxx_cv_func_finite_use+set} != xset; then
28565     if test "${glibcxx_cv_func_finite_use+set}" = set; then
28566   echo $ECHO_N "(cached) $ECHO_C" >&6
28567 else
28568
28569
28570
28571       ac_ext=cc
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576
28577       cat >conftest.$ac_ext <<_ACEOF
28578 #line $LINENO "configure"
28579 /* confdefs.h.  */
28580 _ACEOF
28581 cat confdefs.h >>conftest.$ac_ext
28582 cat >>conftest.$ac_ext <<_ACEOF
28583 /* end confdefs.h.  */
28584 #include <math.h>
28585                       #ifdef HAVE_IEEEFP_H
28586                       #include <ieeefp.h>
28587                       #endif
28588
28589 int
28590 main ()
28591 {
28592  finite(0);
28593   ;
28594   return 0;
28595 }
28596 _ACEOF
28597 rm -f conftest.$ac_objext
28598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28599   (eval $ac_compile) 2>&5
28600   ac_status=$?
28601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602   (exit $ac_status); } &&
28603          { ac_try='test -s conftest.$ac_objext'
28604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605   (eval $ac_try) 2>&5
28606   ac_status=$?
28607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608   (exit $ac_status); }; }; then
28609   glibcxx_cv_func_finite_use=yes
28610 else
28611   echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.$ac_ext >&5
28613
28614 glibcxx_cv_func_finite_use=no
28615 fi
28616 rm -f conftest.$ac_objext conftest.$ac_ext
28617       ac_ext=c
28618 ac_cpp='$CPP $CPPFLAGS'
28619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28622
28623
28624 fi
28625
28626   fi
28627   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28628 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28629
28630   if test x$glibcxx_cv_func_finite_use = x"yes"; then
28631
28632 for ac_func in finite
28633 do
28634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28635 echo "$as_me:$LINENO: checking for $ac_func" >&5
28636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28637 if eval "test \"\${$as_ac_var+set}\" = set"; then
28638   echo $ECHO_N "(cached) $ECHO_C" >&6
28639 else
28640   if test x$gcc_no_link = xyes; then
28641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28643    { (exit 1); exit 1; }; }
28644 fi
28645 cat >conftest.$ac_ext <<_ACEOF
28646 #line $LINENO "configure"
28647 /* confdefs.h.  */
28648 _ACEOF
28649 cat confdefs.h >>conftest.$ac_ext
28650 cat >>conftest.$ac_ext <<_ACEOF
28651 /* end confdefs.h.  */
28652 /* System header to define __stub macros and hopefully few prototypes,
28653     which can conflict with char $ac_func (); below.
28654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28655     <limits.h> exists even on freestanding compilers.  */
28656 #ifdef __STDC__
28657 # include <limits.h>
28658 #else
28659 # include <assert.h>
28660 #endif
28661 /* Override any gcc2 internal prototype to avoid an error.  */
28662 #ifdef __cplusplus
28663 extern "C"
28664 {
28665 #endif
28666 /* We use char because int might match the return type of a gcc2
28667    builtin and then its argument prototype would still apply.  */
28668 char $ac_func ();
28669 /* The GNU C library defines this for functions which it implements
28670     to always fail with ENOSYS.  Some functions are actually named
28671     something starting with __ and the normal name is an alias.  */
28672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28673 choke me
28674 #else
28675 char (*f) () = $ac_func;
28676 #endif
28677 #ifdef __cplusplus
28678 }
28679 #endif
28680
28681 int
28682 main ()
28683 {
28684 return f != $ac_func;
28685   ;
28686   return 0;
28687 }
28688 _ACEOF
28689 rm -f conftest.$ac_objext conftest$ac_exeext
28690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28691   (eval $ac_link) 2>&5
28692   ac_status=$?
28693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694   (exit $ac_status); } &&
28695          { ac_try='test -s conftest$ac_exeext'
28696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697   (eval $ac_try) 2>&5
28698   ac_status=$?
28699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700   (exit $ac_status); }; }; then
28701   eval "$as_ac_var=yes"
28702 else
28703   echo "$as_me: failed program was:" >&5
28704 sed 's/^/| /' conftest.$ac_ext >&5
28705
28706 eval "$as_ac_var=no"
28707 fi
28708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28709 fi
28710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28712 if test `eval echo '${'$as_ac_var'}'` = yes; then
28713   cat >>confdefs.h <<_ACEOF
28714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28715 _ACEOF
28716
28717 fi
28718 done
28719
28720   else
28721
28722   echo "$as_me:$LINENO: checking for _finite declaration" >&5
28723 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28724   if test x${glibcxx_cv_func__finite_use+set} != xset; then
28725     if test "${glibcxx_cv_func__finite_use+set}" = set; then
28726   echo $ECHO_N "(cached) $ECHO_C" >&6
28727 else
28728
28729
28730
28731       ac_ext=cc
28732 ac_cpp='$CXXCPP $CPPFLAGS'
28733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28736
28737       cat >conftest.$ac_ext <<_ACEOF
28738 #line $LINENO "configure"
28739 /* confdefs.h.  */
28740 _ACEOF
28741 cat confdefs.h >>conftest.$ac_ext
28742 cat >>conftest.$ac_ext <<_ACEOF
28743 /* end confdefs.h.  */
28744 #include <math.h>
28745                       #ifdef HAVE_IEEEFP_H
28746                       #include <ieeefp.h>
28747                       #endif
28748
28749 int
28750 main ()
28751 {
28752  _finite(0);
28753   ;
28754   return 0;
28755 }
28756 _ACEOF
28757 rm -f conftest.$ac_objext
28758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28759   (eval $ac_compile) 2>&5
28760   ac_status=$?
28761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762   (exit $ac_status); } &&
28763          { ac_try='test -s conftest.$ac_objext'
28764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28765   (eval $ac_try) 2>&5
28766   ac_status=$?
28767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768   (exit $ac_status); }; }; then
28769   glibcxx_cv_func__finite_use=yes
28770 else
28771   echo "$as_me: failed program was:" >&5
28772 sed 's/^/| /' conftest.$ac_ext >&5
28773
28774 glibcxx_cv_func__finite_use=no
28775 fi
28776 rm -f conftest.$ac_objext conftest.$ac_ext
28777       ac_ext=c
28778 ac_cpp='$CPP $CPPFLAGS'
28779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28782
28783
28784 fi
28785
28786   fi
28787   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28788 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28789
28790     if test x$glibcxx_cv_func__finite_use = x"yes"; then
28791
28792 for ac_func in _finite
28793 do
28794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28795 echo "$as_me:$LINENO: checking for $ac_func" >&5
28796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28797 if eval "test \"\${$as_ac_var+set}\" = set"; then
28798   echo $ECHO_N "(cached) $ECHO_C" >&6
28799 else
28800   if test x$gcc_no_link = xyes; then
28801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28803    { (exit 1); exit 1; }; }
28804 fi
28805 cat >conftest.$ac_ext <<_ACEOF
28806 #line $LINENO "configure"
28807 /* confdefs.h.  */
28808 _ACEOF
28809 cat confdefs.h >>conftest.$ac_ext
28810 cat >>conftest.$ac_ext <<_ACEOF
28811 /* end confdefs.h.  */
28812 /* System header to define __stub macros and hopefully few prototypes,
28813     which can conflict with char $ac_func (); below.
28814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28815     <limits.h> exists even on freestanding compilers.  */
28816 #ifdef __STDC__
28817 # include <limits.h>
28818 #else
28819 # include <assert.h>
28820 #endif
28821 /* Override any gcc2 internal prototype to avoid an error.  */
28822 #ifdef __cplusplus
28823 extern "C"
28824 {
28825 #endif
28826 /* We use char because int might match the return type of a gcc2
28827    builtin and then its argument prototype would still apply.  */
28828 char $ac_func ();
28829 /* The GNU C library defines this for functions which it implements
28830     to always fail with ENOSYS.  Some functions are actually named
28831     something starting with __ and the normal name is an alias.  */
28832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28833 choke me
28834 #else
28835 char (*f) () = $ac_func;
28836 #endif
28837 #ifdef __cplusplus
28838 }
28839 #endif
28840
28841 int
28842 main ()
28843 {
28844 return f != $ac_func;
28845   ;
28846   return 0;
28847 }
28848 _ACEOF
28849 rm -f conftest.$ac_objext conftest$ac_exeext
28850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28851   (eval $ac_link) 2>&5
28852   ac_status=$?
28853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854   (exit $ac_status); } &&
28855          { ac_try='test -s conftest$ac_exeext'
28856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857   (eval $ac_try) 2>&5
28858   ac_status=$?
28859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860   (exit $ac_status); }; }; then
28861   eval "$as_ac_var=yes"
28862 else
28863   echo "$as_me: failed program was:" >&5
28864 sed 's/^/| /' conftest.$ac_ext >&5
28865
28866 eval "$as_ac_var=no"
28867 fi
28868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28869 fi
28870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28872 if test `eval echo '${'$as_ac_var'}'` = yes; then
28873   cat >>confdefs.h <<_ACEOF
28874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28875 _ACEOF
28876
28877 fi
28878 done
28879
28880     fi
28881   fi
28882
28883
28884
28885   echo "$as_me:$LINENO: checking for copysign declaration" >&5
28886 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28887   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28888     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28889   echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891
28892
28893
28894       ac_ext=cc
28895 ac_cpp='$CXXCPP $CPPFLAGS'
28896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28899
28900       cat >conftest.$ac_ext <<_ACEOF
28901 #line $LINENO "configure"
28902 /* confdefs.h.  */
28903 _ACEOF
28904 cat confdefs.h >>conftest.$ac_ext
28905 cat >>conftest.$ac_ext <<_ACEOF
28906 /* end confdefs.h.  */
28907 #include <math.h>
28908 int
28909 main ()
28910 {
28911  copysign(0, 0);
28912   ;
28913   return 0;
28914 }
28915 _ACEOF
28916 rm -f conftest.$ac_objext
28917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28918   (eval $ac_compile) 2>&5
28919   ac_status=$?
28920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921   (exit $ac_status); } &&
28922          { ac_try='test -s conftest.$ac_objext'
28923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924   (eval $ac_try) 2>&5
28925   ac_status=$?
28926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927   (exit $ac_status); }; }; then
28928   glibcxx_cv_func_copysign_use=yes
28929 else
28930   echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28932
28933 glibcxx_cv_func_copysign_use=no
28934 fi
28935 rm -f conftest.$ac_objext conftest.$ac_ext
28936       ac_ext=c
28937 ac_cpp='$CPP $CPPFLAGS'
28938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28941
28942
28943 fi
28944
28945   fi
28946   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28947 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28948
28949   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28950
28951 for ac_func in copysign
28952 do
28953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28954 echo "$as_me:$LINENO: checking for $ac_func" >&5
28955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28956 if eval "test \"\${$as_ac_var+set}\" = set"; then
28957   echo $ECHO_N "(cached) $ECHO_C" >&6
28958 else
28959   if test x$gcc_no_link = xyes; then
28960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28962    { (exit 1); exit 1; }; }
28963 fi
28964 cat >conftest.$ac_ext <<_ACEOF
28965 #line $LINENO "configure"
28966 /* confdefs.h.  */
28967 _ACEOF
28968 cat confdefs.h >>conftest.$ac_ext
28969 cat >>conftest.$ac_ext <<_ACEOF
28970 /* end confdefs.h.  */
28971 /* System header to define __stub macros and hopefully few prototypes,
28972     which can conflict with char $ac_func (); below.
28973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28974     <limits.h> exists even on freestanding compilers.  */
28975 #ifdef __STDC__
28976 # include <limits.h>
28977 #else
28978 # include <assert.h>
28979 #endif
28980 /* Override any gcc2 internal prototype to avoid an error.  */
28981 #ifdef __cplusplus
28982 extern "C"
28983 {
28984 #endif
28985 /* We use char because int might match the return type of a gcc2
28986    builtin and then its argument prototype would still apply.  */
28987 char $ac_func ();
28988 /* The GNU C library defines this for functions which it implements
28989     to always fail with ENOSYS.  Some functions are actually named
28990     something starting with __ and the normal name is an alias.  */
28991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28992 choke me
28993 #else
28994 char (*f) () = $ac_func;
28995 #endif
28996 #ifdef __cplusplus
28997 }
28998 #endif
28999
29000 int
29001 main ()
29002 {
29003 return f != $ac_func;
29004   ;
29005   return 0;
29006 }
29007 _ACEOF
29008 rm -f conftest.$ac_objext conftest$ac_exeext
29009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29010   (eval $ac_link) 2>&5
29011   ac_status=$?
29012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013   (exit $ac_status); } &&
29014          { ac_try='test -s conftest$ac_exeext'
29015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016   (eval $ac_try) 2>&5
29017   ac_status=$?
29018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019   (exit $ac_status); }; }; then
29020   eval "$as_ac_var=yes"
29021 else
29022   echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 eval "$as_ac_var=no"
29026 fi
29027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29028 fi
29029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29031 if test `eval echo '${'$as_ac_var'}'` = yes; then
29032   cat >>confdefs.h <<_ACEOF
29033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29034 _ACEOF
29035
29036 fi
29037 done
29038
29039   else
29040
29041   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
29042 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
29043   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
29044     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
29045   echo $ECHO_N "(cached) $ECHO_C" >&6
29046 else
29047
29048
29049
29050       ac_ext=cc
29051 ac_cpp='$CXXCPP $CPPFLAGS'
29052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29055
29056       cat >conftest.$ac_ext <<_ACEOF
29057 #line $LINENO "configure"
29058 /* confdefs.h.  */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h.  */
29063 #include <math.h>
29064 int
29065 main ()
29066 {
29067  _copysign(0, 0);
29068   ;
29069   return 0;
29070 }
29071 _ACEOF
29072 rm -f conftest.$ac_objext
29073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29074   (eval $ac_compile) 2>&5
29075   ac_status=$?
29076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077   (exit $ac_status); } &&
29078          { ac_try='test -s conftest.$ac_objext'
29079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29080   (eval $ac_try) 2>&5
29081   ac_status=$?
29082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083   (exit $ac_status); }; }; then
29084   glibcxx_cv_func__copysign_use=yes
29085 else
29086   echo "$as_me: failed program was:" >&5
29087 sed 's/^/| /' conftest.$ac_ext >&5
29088
29089 glibcxx_cv_func__copysign_use=no
29090 fi
29091 rm -f conftest.$ac_objext conftest.$ac_ext
29092       ac_ext=c
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097
29098
29099 fi
29100
29101   fi
29102   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29103 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29104
29105     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29106
29107 for ac_func in _copysign
29108 do
29109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29110 echo "$as_me:$LINENO: checking for $ac_func" >&5
29111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29112 if eval "test \"\${$as_ac_var+set}\" = set"; then
29113   echo $ECHO_N "(cached) $ECHO_C" >&6
29114 else
29115   if test x$gcc_no_link = xyes; then
29116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29118    { (exit 1); exit 1; }; }
29119 fi
29120 cat >conftest.$ac_ext <<_ACEOF
29121 #line $LINENO "configure"
29122 /* confdefs.h.  */
29123 _ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h.  */
29127 /* System header to define __stub macros and hopefully few prototypes,
29128     which can conflict with char $ac_func (); below.
29129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29130     <limits.h> exists even on freestanding compilers.  */
29131 #ifdef __STDC__
29132 # include <limits.h>
29133 #else
29134 # include <assert.h>
29135 #endif
29136 /* Override any gcc2 internal prototype to avoid an error.  */
29137 #ifdef __cplusplus
29138 extern "C"
29139 {
29140 #endif
29141 /* We use char because int might match the return type of a gcc2
29142    builtin and then its argument prototype would still apply.  */
29143 char $ac_func ();
29144 /* The GNU C library defines this for functions which it implements
29145     to always fail with ENOSYS.  Some functions are actually named
29146     something starting with __ and the normal name is an alias.  */
29147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29148 choke me
29149 #else
29150 char (*f) () = $ac_func;
29151 #endif
29152 #ifdef __cplusplus
29153 }
29154 #endif
29155
29156 int
29157 main ()
29158 {
29159 return f != $ac_func;
29160   ;
29161   return 0;
29162 }
29163 _ACEOF
29164 rm -f conftest.$ac_objext conftest$ac_exeext
29165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29166   (eval $ac_link) 2>&5
29167   ac_status=$?
29168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169   (exit $ac_status); } &&
29170          { ac_try='test -s conftest$ac_exeext'
29171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29172   (eval $ac_try) 2>&5
29173   ac_status=$?
29174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175   (exit $ac_status); }; }; then
29176   eval "$as_ac_var=yes"
29177 else
29178   echo "$as_me: failed program was:" >&5
29179 sed 's/^/| /' conftest.$ac_ext >&5
29180
29181 eval "$as_ac_var=no"
29182 fi
29183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29184 fi
29185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29187 if test `eval echo '${'$as_ac_var'}'` = yes; then
29188   cat >>confdefs.h <<_ACEOF
29189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29190 _ACEOF
29191
29192 fi
29193 done
29194
29195     fi
29196   fi
29197
29198
29199
29200   echo "$as_me:$LINENO: checking for sincos declaration" >&5
29201 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29202   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29203     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29204   echo $ECHO_N "(cached) $ECHO_C" >&6
29205 else
29206
29207
29208
29209       ac_ext=cc
29210 ac_cpp='$CXXCPP $CPPFLAGS'
29211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29214
29215       cat >conftest.$ac_ext <<_ACEOF
29216 #line $LINENO "configure"
29217 /* confdefs.h.  */
29218 _ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h.  */
29222 #include <math.h>
29223 int
29224 main ()
29225 {
29226  sincos(0, 0, 0);
29227   ;
29228   return 0;
29229 }
29230 _ACEOF
29231 rm -f conftest.$ac_objext
29232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29233   (eval $ac_compile) 2>&5
29234   ac_status=$?
29235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236   (exit $ac_status); } &&
29237          { ac_try='test -s conftest.$ac_objext'
29238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239   (eval $ac_try) 2>&5
29240   ac_status=$?
29241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242   (exit $ac_status); }; }; then
29243   glibcxx_cv_func_sincos_use=yes
29244 else
29245   echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29247
29248 glibcxx_cv_func_sincos_use=no
29249 fi
29250 rm -f conftest.$ac_objext conftest.$ac_ext
29251       ac_ext=c
29252 ac_cpp='$CPP $CPPFLAGS'
29253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29256
29257
29258 fi
29259
29260   fi
29261   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29262 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29263
29264   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29265
29266 for ac_func in sincos
29267 do
29268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29269 echo "$as_me:$LINENO: checking for $ac_func" >&5
29270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29271 if eval "test \"\${$as_ac_var+set}\" = set"; then
29272   echo $ECHO_N "(cached) $ECHO_C" >&6
29273 else
29274   if test x$gcc_no_link = xyes; then
29275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29277    { (exit 1); exit 1; }; }
29278 fi
29279 cat >conftest.$ac_ext <<_ACEOF
29280 #line $LINENO "configure"
29281 /* confdefs.h.  */
29282 _ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h.  */
29286 /* System header to define __stub macros and hopefully few prototypes,
29287     which can conflict with char $ac_func (); below.
29288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29289     <limits.h> exists even on freestanding compilers.  */
29290 #ifdef __STDC__
29291 # include <limits.h>
29292 #else
29293 # include <assert.h>
29294 #endif
29295 /* Override any gcc2 internal prototype to avoid an error.  */
29296 #ifdef __cplusplus
29297 extern "C"
29298 {
29299 #endif
29300 /* We use char because int might match the return type of a gcc2
29301    builtin and then its argument prototype would still apply.  */
29302 char $ac_func ();
29303 /* The GNU C library defines this for functions which it implements
29304     to always fail with ENOSYS.  Some functions are actually named
29305     something starting with __ and the normal name is an alias.  */
29306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29307 choke me
29308 #else
29309 char (*f) () = $ac_func;
29310 #endif
29311 #ifdef __cplusplus
29312 }
29313 #endif
29314
29315 int
29316 main ()
29317 {
29318 return f != $ac_func;
29319   ;
29320   return 0;
29321 }
29322 _ACEOF
29323 rm -f conftest.$ac_objext conftest$ac_exeext
29324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29325   (eval $ac_link) 2>&5
29326   ac_status=$?
29327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328   (exit $ac_status); } &&
29329          { ac_try='test -s conftest$ac_exeext'
29330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331   (eval $ac_try) 2>&5
29332   ac_status=$?
29333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334   (exit $ac_status); }; }; then
29335   eval "$as_ac_var=yes"
29336 else
29337   echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.$ac_ext >&5
29339
29340 eval "$as_ac_var=no"
29341 fi
29342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29343 fi
29344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29346 if test `eval echo '${'$as_ac_var'}'` = yes; then
29347   cat >>confdefs.h <<_ACEOF
29348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29349 _ACEOF
29350
29351 fi
29352 done
29353
29354   else
29355
29356   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29357 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29358   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29359     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29360   echo $ECHO_N "(cached) $ECHO_C" >&6
29361 else
29362
29363
29364
29365       ac_ext=cc
29366 ac_cpp='$CXXCPP $CPPFLAGS'
29367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29370
29371       cat >conftest.$ac_ext <<_ACEOF
29372 #line $LINENO "configure"
29373 /* confdefs.h.  */
29374 _ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h.  */
29378 #include <math.h>
29379 int
29380 main ()
29381 {
29382  _sincos(0, 0, 0);
29383   ;
29384   return 0;
29385 }
29386 _ACEOF
29387 rm -f conftest.$ac_objext
29388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29389   (eval $ac_compile) 2>&5
29390   ac_status=$?
29391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392   (exit $ac_status); } &&
29393          { ac_try='test -s conftest.$ac_objext'
29394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29395   (eval $ac_try) 2>&5
29396   ac_status=$?
29397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398   (exit $ac_status); }; }; then
29399   glibcxx_cv_func__sincos_use=yes
29400 else
29401   echo "$as_me: failed program was:" >&5
29402 sed 's/^/| /' conftest.$ac_ext >&5
29403
29404 glibcxx_cv_func__sincos_use=no
29405 fi
29406 rm -f conftest.$ac_objext conftest.$ac_ext
29407       ac_ext=c
29408 ac_cpp='$CPP $CPPFLAGS'
29409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29412
29413
29414 fi
29415
29416   fi
29417   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29418 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29419
29420     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29421
29422 for ac_func in _sincos
29423 do
29424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29425 echo "$as_me:$LINENO: checking for $ac_func" >&5
29426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29427 if eval "test \"\${$as_ac_var+set}\" = set"; then
29428   echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29430   if test x$gcc_no_link = xyes; then
29431   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29433    { (exit 1); exit 1; }; }
29434 fi
29435 cat >conftest.$ac_ext <<_ACEOF
29436 #line $LINENO "configure"
29437 /* confdefs.h.  */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h.  */
29442 /* System header to define __stub macros and hopefully few prototypes,
29443     which can conflict with char $ac_func (); below.
29444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29445     <limits.h> exists even on freestanding compilers.  */
29446 #ifdef __STDC__
29447 # include <limits.h>
29448 #else
29449 # include <assert.h>
29450 #endif
29451 /* Override any gcc2 internal prototype to avoid an error.  */
29452 #ifdef __cplusplus
29453 extern "C"
29454 {
29455 #endif
29456 /* We use char because int might match the return type of a gcc2
29457    builtin and then its argument prototype would still apply.  */
29458 char $ac_func ();
29459 /* The GNU C library defines this for functions which it implements
29460     to always fail with ENOSYS.  Some functions are actually named
29461     something starting with __ and the normal name is an alias.  */
29462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29463 choke me
29464 #else
29465 char (*f) () = $ac_func;
29466 #endif
29467 #ifdef __cplusplus
29468 }
29469 #endif
29470
29471 int
29472 main ()
29473 {
29474 return f != $ac_func;
29475   ;
29476   return 0;
29477 }
29478 _ACEOF
29479 rm -f conftest.$ac_objext conftest$ac_exeext
29480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29481   (eval $ac_link) 2>&5
29482   ac_status=$?
29483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484   (exit $ac_status); } &&
29485          { ac_try='test -s conftest$ac_exeext'
29486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29487   (eval $ac_try) 2>&5
29488   ac_status=$?
29489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490   (exit $ac_status); }; }; then
29491   eval "$as_ac_var=yes"
29492 else
29493   echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.$ac_ext >&5
29495
29496 eval "$as_ac_var=no"
29497 fi
29498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29499 fi
29500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29502 if test `eval echo '${'$as_ac_var'}'` = yes; then
29503   cat >>confdefs.h <<_ACEOF
29504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29505 _ACEOF
29506
29507 fi
29508 done
29509
29510     fi
29511   fi
29512
29513
29514
29515   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29516 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29517   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29518     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29519   echo $ECHO_N "(cached) $ECHO_C" >&6
29520 else
29521
29522
29523
29524       ac_ext=cc
29525 ac_cpp='$CXXCPP $CPPFLAGS'
29526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29529
29530       cat >conftest.$ac_ext <<_ACEOF
29531 #line $LINENO "configure"
29532 /* confdefs.h.  */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h.  */
29537 #include <math.h>
29538                       #ifdef HAVE_IEEEFP_H
29539                       #include <ieeefp.h>
29540                       #endif
29541
29542 int
29543 main ()
29544 {
29545  fpclass(0);
29546   ;
29547   return 0;
29548 }
29549 _ACEOF
29550 rm -f conftest.$ac_objext
29551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29552   (eval $ac_compile) 2>&5
29553   ac_status=$?
29554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555   (exit $ac_status); } &&
29556          { ac_try='test -s conftest.$ac_objext'
29557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558   (eval $ac_try) 2>&5
29559   ac_status=$?
29560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561   (exit $ac_status); }; }; then
29562   glibcxx_cv_func_fpclass_use=yes
29563 else
29564   echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29566
29567 glibcxx_cv_func_fpclass_use=no
29568 fi
29569 rm -f conftest.$ac_objext conftest.$ac_ext
29570       ac_ext=c
29571 ac_cpp='$CPP $CPPFLAGS'
29572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29575
29576
29577 fi
29578
29579   fi
29580   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29581 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29582
29583   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29584
29585 for ac_func in fpclass
29586 do
29587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29588 echo "$as_me:$LINENO: checking for $ac_func" >&5
29589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29590 if eval "test \"\${$as_ac_var+set}\" = set"; then
29591   echo $ECHO_N "(cached) $ECHO_C" >&6
29592 else
29593   if test x$gcc_no_link = xyes; then
29594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29596    { (exit 1); exit 1; }; }
29597 fi
29598 cat >conftest.$ac_ext <<_ACEOF
29599 #line $LINENO "configure"
29600 /* confdefs.h.  */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h.  */
29605 /* System header to define __stub macros and hopefully few prototypes,
29606     which can conflict with char $ac_func (); below.
29607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29608     <limits.h> exists even on freestanding compilers.  */
29609 #ifdef __STDC__
29610 # include <limits.h>
29611 #else
29612 # include <assert.h>
29613 #endif
29614 /* Override any gcc2 internal prototype to avoid an error.  */
29615 #ifdef __cplusplus
29616 extern "C"
29617 {
29618 #endif
29619 /* We use char because int might match the return type of a gcc2
29620    builtin and then its argument prototype would still apply.  */
29621 char $ac_func ();
29622 /* The GNU C library defines this for functions which it implements
29623     to always fail with ENOSYS.  Some functions are actually named
29624     something starting with __ and the normal name is an alias.  */
29625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29626 choke me
29627 #else
29628 char (*f) () = $ac_func;
29629 #endif
29630 #ifdef __cplusplus
29631 }
29632 #endif
29633
29634 int
29635 main ()
29636 {
29637 return f != $ac_func;
29638   ;
29639   return 0;
29640 }
29641 _ACEOF
29642 rm -f conftest.$ac_objext conftest$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644   (eval $ac_link) 2>&5
29645   ac_status=$?
29646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647   (exit $ac_status); } &&
29648          { ac_try='test -s conftest$ac_exeext'
29649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29650   (eval $ac_try) 2>&5
29651   ac_status=$?
29652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653   (exit $ac_status); }; }; then
29654   eval "$as_ac_var=yes"
29655 else
29656   echo "$as_me: failed program was:" >&5
29657 sed 's/^/| /' conftest.$ac_ext >&5
29658
29659 eval "$as_ac_var=no"
29660 fi
29661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29662 fi
29663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29665 if test `eval echo '${'$as_ac_var'}'` = yes; then
29666   cat >>confdefs.h <<_ACEOF
29667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29668 _ACEOF
29669
29670 fi
29671 done
29672
29673   else
29674
29675   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29676 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29677   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29678     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29679   echo $ECHO_N "(cached) $ECHO_C" >&6
29680 else
29681
29682
29683
29684       ac_ext=cc
29685 ac_cpp='$CXXCPP $CPPFLAGS'
29686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689
29690       cat >conftest.$ac_ext <<_ACEOF
29691 #line $LINENO "configure"
29692 /* confdefs.h.  */
29693 _ACEOF
29694 cat confdefs.h >>conftest.$ac_ext
29695 cat >>conftest.$ac_ext <<_ACEOF
29696 /* end confdefs.h.  */
29697 #include <math.h>
29698                       #ifdef HAVE_IEEEFP_H
29699                       #include <ieeefp.h>
29700                       #endif
29701
29702 int
29703 main ()
29704 {
29705  _fpclass(0);
29706   ;
29707   return 0;
29708 }
29709 _ACEOF
29710 rm -f conftest.$ac_objext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29712   (eval $ac_compile) 2>&5
29713   ac_status=$?
29714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715   (exit $ac_status); } &&
29716          { ac_try='test -s conftest.$ac_objext'
29717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718   (eval $ac_try) 2>&5
29719   ac_status=$?
29720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721   (exit $ac_status); }; }; then
29722   glibcxx_cv_func__fpclass_use=yes
29723 else
29724   echo "$as_me: failed program was:" >&5
29725 sed 's/^/| /' conftest.$ac_ext >&5
29726
29727 glibcxx_cv_func__fpclass_use=no
29728 fi
29729 rm -f conftest.$ac_objext conftest.$ac_ext
29730       ac_ext=c
29731 ac_cpp='$CPP $CPPFLAGS'
29732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29735
29736
29737 fi
29738
29739   fi
29740   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29741 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29742
29743     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29744
29745 for ac_func in _fpclass
29746 do
29747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29748 echo "$as_me:$LINENO: checking for $ac_func" >&5
29749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29750 if eval "test \"\${$as_ac_var+set}\" = set"; then
29751   echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29753   if test x$gcc_no_link = xyes; then
29754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29756    { (exit 1); exit 1; }; }
29757 fi
29758 cat >conftest.$ac_ext <<_ACEOF
29759 #line $LINENO "configure"
29760 /* confdefs.h.  */
29761 _ACEOF
29762 cat confdefs.h >>conftest.$ac_ext
29763 cat >>conftest.$ac_ext <<_ACEOF
29764 /* end confdefs.h.  */
29765 /* System header to define __stub macros and hopefully few prototypes,
29766     which can conflict with char $ac_func (); below.
29767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29768     <limits.h> exists even on freestanding compilers.  */
29769 #ifdef __STDC__
29770 # include <limits.h>
29771 #else
29772 # include <assert.h>
29773 #endif
29774 /* Override any gcc2 internal prototype to avoid an error.  */
29775 #ifdef __cplusplus
29776 extern "C"
29777 {
29778 #endif
29779 /* We use char because int might match the return type of a gcc2
29780    builtin and then its argument prototype would still apply.  */
29781 char $ac_func ();
29782 /* The GNU C library defines this for functions which it implements
29783     to always fail with ENOSYS.  Some functions are actually named
29784     something starting with __ and the normal name is an alias.  */
29785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29786 choke me
29787 #else
29788 char (*f) () = $ac_func;
29789 #endif
29790 #ifdef __cplusplus
29791 }
29792 #endif
29793
29794 int
29795 main ()
29796 {
29797 return f != $ac_func;
29798   ;
29799   return 0;
29800 }
29801 _ACEOF
29802 rm -f conftest.$ac_objext conftest$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804   (eval $ac_link) 2>&5
29805   ac_status=$?
29806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807   (exit $ac_status); } &&
29808          { ac_try='test -s conftest$ac_exeext'
29809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810   (eval $ac_try) 2>&5
29811   ac_status=$?
29812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813   (exit $ac_status); }; }; then
29814   eval "$as_ac_var=yes"
29815 else
29816   echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.$ac_ext >&5
29818
29819 eval "$as_ac_var=no"
29820 fi
29821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29822 fi
29823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29825 if test `eval echo '${'$as_ac_var'}'` = yes; then
29826   cat >>confdefs.h <<_ACEOF
29827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29828 _ACEOF
29829
29830 fi
29831 done
29832
29833     fi
29834   fi
29835
29836
29837
29838   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29839 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29840   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29841     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29842   echo $ECHO_N "(cached) $ECHO_C" >&6
29843 else
29844
29845
29846
29847       ac_ext=cc
29848 ac_cpp='$CXXCPP $CPPFLAGS'
29849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29852
29853       cat >conftest.$ac_ext <<_ACEOF
29854 #line $LINENO "configure"
29855 /* confdefs.h.  */
29856 _ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h.  */
29860 #include <math.h>
29861                       #ifdef HAVE_IEEEFP_H
29862                       #include <ieeefp.h>
29863                       #endif
29864
29865 int
29866 main ()
29867 {
29868  qfpclass(0);
29869   ;
29870   return 0;
29871 }
29872 _ACEOF
29873 rm -f conftest.$ac_objext
29874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29875   (eval $ac_compile) 2>&5
29876   ac_status=$?
29877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878   (exit $ac_status); } &&
29879          { ac_try='test -s conftest.$ac_objext'
29880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881   (eval $ac_try) 2>&5
29882   ac_status=$?
29883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884   (exit $ac_status); }; }; then
29885   glibcxx_cv_func_qfpclass_use=yes
29886 else
29887   echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 glibcxx_cv_func_qfpclass_use=no
29891 fi
29892 rm -f conftest.$ac_objext conftest.$ac_ext
29893       ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29898
29899
29900 fi
29901
29902   fi
29903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29904 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29905
29906   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29907
29908 for ac_func in qfpclass
29909 do
29910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29911 echo "$as_me:$LINENO: checking for $ac_func" >&5
29912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29913 if eval "test \"\${$as_ac_var+set}\" = set"; then
29914   echo $ECHO_N "(cached) $ECHO_C" >&6
29915 else
29916   if test x$gcc_no_link = xyes; then
29917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29919    { (exit 1); exit 1; }; }
29920 fi
29921 cat >conftest.$ac_ext <<_ACEOF
29922 #line $LINENO "configure"
29923 /* confdefs.h.  */
29924 _ACEOF
29925 cat confdefs.h >>conftest.$ac_ext
29926 cat >>conftest.$ac_ext <<_ACEOF
29927 /* end confdefs.h.  */
29928 /* System header to define __stub macros and hopefully few prototypes,
29929     which can conflict with char $ac_func (); below.
29930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29931     <limits.h> exists even on freestanding compilers.  */
29932 #ifdef __STDC__
29933 # include <limits.h>
29934 #else
29935 # include <assert.h>
29936 #endif
29937 /* Override any gcc2 internal prototype to avoid an error.  */
29938 #ifdef __cplusplus
29939 extern "C"
29940 {
29941 #endif
29942 /* We use char because int might match the return type of a gcc2
29943    builtin and then its argument prototype would still apply.  */
29944 char $ac_func ();
29945 /* The GNU C library defines this for functions which it implements
29946     to always fail with ENOSYS.  Some functions are actually named
29947     something starting with __ and the normal name is an alias.  */
29948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29949 choke me
29950 #else
29951 char (*f) () = $ac_func;
29952 #endif
29953 #ifdef __cplusplus
29954 }
29955 #endif
29956
29957 int
29958 main ()
29959 {
29960 return f != $ac_func;
29961   ;
29962   return 0;
29963 }
29964 _ACEOF
29965 rm -f conftest.$ac_objext conftest$ac_exeext
29966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29967   (eval $ac_link) 2>&5
29968   ac_status=$?
29969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970   (exit $ac_status); } &&
29971          { ac_try='test -s conftest$ac_exeext'
29972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973   (eval $ac_try) 2>&5
29974   ac_status=$?
29975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976   (exit $ac_status); }; }; then
29977   eval "$as_ac_var=yes"
29978 else
29979   echo "$as_me: failed program was:" >&5
29980 sed 's/^/| /' conftest.$ac_ext >&5
29981
29982 eval "$as_ac_var=no"
29983 fi
29984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29985 fi
29986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29988 if test `eval echo '${'$as_ac_var'}'` = yes; then
29989   cat >>confdefs.h <<_ACEOF
29990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29991 _ACEOF
29992
29993 fi
29994 done
29995
29996   else
29997
29998   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
29999 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
30000   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30001     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
30002   echo $ECHO_N "(cached) $ECHO_C" >&6
30003 else
30004
30005
30006
30007       ac_ext=cc
30008 ac_cpp='$CXXCPP $CPPFLAGS'
30009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30012
30013       cat >conftest.$ac_ext <<_ACEOF
30014 #line $LINENO "configure"
30015 /* confdefs.h.  */
30016 _ACEOF
30017 cat confdefs.h >>conftest.$ac_ext
30018 cat >>conftest.$ac_ext <<_ACEOF
30019 /* end confdefs.h.  */
30020 #include <math.h>
30021                       #ifdef HAVE_IEEEFP_H
30022                       #include <ieeefp.h>
30023                       #endif
30024
30025 int
30026 main ()
30027 {
30028  _qfpclass(0);
30029   ;
30030   return 0;
30031 }
30032 _ACEOF
30033 rm -f conftest.$ac_objext
30034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30035   (eval $ac_compile) 2>&5
30036   ac_status=$?
30037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038   (exit $ac_status); } &&
30039          { ac_try='test -s conftest.$ac_objext'
30040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041   (eval $ac_try) 2>&5
30042   ac_status=$?
30043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044   (exit $ac_status); }; }; then
30045   glibcxx_cv_func__qfpclass_use=yes
30046 else
30047   echo "$as_me: failed program was:" >&5
30048 sed 's/^/| /' conftest.$ac_ext >&5
30049
30050 glibcxx_cv_func__qfpclass_use=no
30051 fi
30052 rm -f conftest.$ac_objext conftest.$ac_ext
30053       ac_ext=c
30054 ac_cpp='$CPP $CPPFLAGS'
30055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30058
30059
30060 fi
30061
30062   fi
30063   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
30064 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
30065
30066     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30067
30068 for ac_func in _qfpclass
30069 do
30070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30071 echo "$as_me:$LINENO: checking for $ac_func" >&5
30072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30073 if eval "test \"\${$as_ac_var+set}\" = set"; then
30074   echo $ECHO_N "(cached) $ECHO_C" >&6
30075 else
30076   if test x$gcc_no_link = xyes; then
30077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30079    { (exit 1); exit 1; }; }
30080 fi
30081 cat >conftest.$ac_ext <<_ACEOF
30082 #line $LINENO "configure"
30083 /* confdefs.h.  */
30084 _ACEOF
30085 cat confdefs.h >>conftest.$ac_ext
30086 cat >>conftest.$ac_ext <<_ACEOF
30087 /* end confdefs.h.  */
30088 /* System header to define __stub macros and hopefully few prototypes,
30089     which can conflict with char $ac_func (); below.
30090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30091     <limits.h> exists even on freestanding compilers.  */
30092 #ifdef __STDC__
30093 # include <limits.h>
30094 #else
30095 # include <assert.h>
30096 #endif
30097 /* Override any gcc2 internal prototype to avoid an error.  */
30098 #ifdef __cplusplus
30099 extern "C"
30100 {
30101 #endif
30102 /* We use char because int might match the return type of a gcc2
30103    builtin and then its argument prototype would still apply.  */
30104 char $ac_func ();
30105 /* The GNU C library defines this for functions which it implements
30106     to always fail with ENOSYS.  Some functions are actually named
30107     something starting with __ and the normal name is an alias.  */
30108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30109 choke me
30110 #else
30111 char (*f) () = $ac_func;
30112 #endif
30113 #ifdef __cplusplus
30114 }
30115 #endif
30116
30117 int
30118 main ()
30119 {
30120 return f != $ac_func;
30121   ;
30122   return 0;
30123 }
30124 _ACEOF
30125 rm -f conftest.$ac_objext conftest$ac_exeext
30126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30127   (eval $ac_link) 2>&5
30128   ac_status=$?
30129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130   (exit $ac_status); } &&
30131          { ac_try='test -s conftest$ac_exeext'
30132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133   (eval $ac_try) 2>&5
30134   ac_status=$?
30135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136   (exit $ac_status); }; }; then
30137   eval "$as_ac_var=yes"
30138 else
30139   echo "$as_me: failed program was:" >&5
30140 sed 's/^/| /' conftest.$ac_ext >&5
30141
30142 eval "$as_ac_var=no"
30143 fi
30144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30145 fi
30146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30148 if test `eval echo '${'$as_ac_var'}'` = yes; then
30149   cat >>confdefs.h <<_ACEOF
30150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30151 _ACEOF
30152
30153 fi
30154 done
30155
30156     fi
30157   fi
30158
30159
30160
30161   echo "$as_me:$LINENO: checking for hypot declaration" >&5
30162 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30163   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30164     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30165   echo $ECHO_N "(cached) $ECHO_C" >&6
30166 else
30167
30168
30169
30170       ac_ext=cc
30171 ac_cpp='$CXXCPP $CPPFLAGS'
30172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30175
30176       cat >conftest.$ac_ext <<_ACEOF
30177 #line $LINENO "configure"
30178 /* confdefs.h.  */
30179 _ACEOF
30180 cat confdefs.h >>conftest.$ac_ext
30181 cat >>conftest.$ac_ext <<_ACEOF
30182 /* end confdefs.h.  */
30183 #include <math.h>
30184 int
30185 main ()
30186 {
30187  hypot(0, 0);
30188   ;
30189   return 0;
30190 }
30191 _ACEOF
30192 rm -f conftest.$ac_objext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30194   (eval $ac_compile) 2>&5
30195   ac_status=$?
30196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197   (exit $ac_status); } &&
30198          { ac_try='test -s conftest.$ac_objext'
30199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200   (eval $ac_try) 2>&5
30201   ac_status=$?
30202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203   (exit $ac_status); }; }; then
30204   glibcxx_cv_func_hypot_use=yes
30205 else
30206   echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.$ac_ext >&5
30208
30209 glibcxx_cv_func_hypot_use=no
30210 fi
30211 rm -f conftest.$ac_objext conftest.$ac_ext
30212       ac_ext=c
30213 ac_cpp='$CPP $CPPFLAGS'
30214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30217
30218
30219 fi
30220
30221   fi
30222   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30223 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30224
30225   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30226
30227 for ac_func in hypot
30228 do
30229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30230 echo "$as_me:$LINENO: checking for $ac_func" >&5
30231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30232 if eval "test \"\${$as_ac_var+set}\" = set"; then
30233   echo $ECHO_N "(cached) $ECHO_C" >&6
30234 else
30235   if test x$gcc_no_link = xyes; then
30236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30238    { (exit 1); exit 1; }; }
30239 fi
30240 cat >conftest.$ac_ext <<_ACEOF
30241 #line $LINENO "configure"
30242 /* confdefs.h.  */
30243 _ACEOF
30244 cat confdefs.h >>conftest.$ac_ext
30245 cat >>conftest.$ac_ext <<_ACEOF
30246 /* end confdefs.h.  */
30247 /* System header to define __stub macros and hopefully few prototypes,
30248     which can conflict with char $ac_func (); below.
30249     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30250     <limits.h> exists even on freestanding compilers.  */
30251 #ifdef __STDC__
30252 # include <limits.h>
30253 #else
30254 # include <assert.h>
30255 #endif
30256 /* Override any gcc2 internal prototype to avoid an error.  */
30257 #ifdef __cplusplus
30258 extern "C"
30259 {
30260 #endif
30261 /* We use char because int might match the return type of a gcc2
30262    builtin and then its argument prototype would still apply.  */
30263 char $ac_func ();
30264 /* The GNU C library defines this for functions which it implements
30265     to always fail with ENOSYS.  Some functions are actually named
30266     something starting with __ and the normal name is an alias.  */
30267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30268 choke me
30269 #else
30270 char (*f) () = $ac_func;
30271 #endif
30272 #ifdef __cplusplus
30273 }
30274 #endif
30275
30276 int
30277 main ()
30278 {
30279 return f != $ac_func;
30280   ;
30281   return 0;
30282 }
30283 _ACEOF
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30286   (eval $ac_link) 2>&5
30287   ac_status=$?
30288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289   (exit $ac_status); } &&
30290          { ac_try='test -s conftest$ac_exeext'
30291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292   (eval $ac_try) 2>&5
30293   ac_status=$?
30294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295   (exit $ac_status); }; }; then
30296   eval "$as_ac_var=yes"
30297 else
30298   echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30300
30301 eval "$as_ac_var=no"
30302 fi
30303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30304 fi
30305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30307 if test `eval echo '${'$as_ac_var'}'` = yes; then
30308   cat >>confdefs.h <<_ACEOF
30309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30310 _ACEOF
30311
30312 fi
30313 done
30314
30315   else
30316
30317   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30318 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30319   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30320     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30321   echo $ECHO_N "(cached) $ECHO_C" >&6
30322 else
30323
30324
30325
30326       ac_ext=cc
30327 ac_cpp='$CXXCPP $CPPFLAGS'
30328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331
30332       cat >conftest.$ac_ext <<_ACEOF
30333 #line $LINENO "configure"
30334 /* confdefs.h.  */
30335 _ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h.  */
30339 #include <math.h>
30340 int
30341 main ()
30342 {
30343  _hypot(0, 0);
30344   ;
30345   return 0;
30346 }
30347 _ACEOF
30348 rm -f conftest.$ac_objext
30349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30350   (eval $ac_compile) 2>&5
30351   ac_status=$?
30352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353   (exit $ac_status); } &&
30354          { ac_try='test -s conftest.$ac_objext'
30355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356   (eval $ac_try) 2>&5
30357   ac_status=$?
30358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359   (exit $ac_status); }; }; then
30360   glibcxx_cv_func__hypot_use=yes
30361 else
30362   echo "$as_me: failed program was:" >&5
30363 sed 's/^/| /' conftest.$ac_ext >&5
30364
30365 glibcxx_cv_func__hypot_use=no
30366 fi
30367 rm -f conftest.$ac_objext conftest.$ac_ext
30368       ac_ext=c
30369 ac_cpp='$CPP $CPPFLAGS'
30370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30373
30374
30375 fi
30376
30377   fi
30378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30379 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30380
30381     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30382
30383 for ac_func in _hypot
30384 do
30385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30386 echo "$as_me:$LINENO: checking for $ac_func" >&5
30387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30388 if eval "test \"\${$as_ac_var+set}\" = set"; then
30389   echo $ECHO_N "(cached) $ECHO_C" >&6
30390 else
30391   if test x$gcc_no_link = xyes; then
30392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30394    { (exit 1); exit 1; }; }
30395 fi
30396 cat >conftest.$ac_ext <<_ACEOF
30397 #line $LINENO "configure"
30398 /* confdefs.h.  */
30399 _ACEOF
30400 cat confdefs.h >>conftest.$ac_ext
30401 cat >>conftest.$ac_ext <<_ACEOF
30402 /* end confdefs.h.  */
30403 /* System header to define __stub macros and hopefully few prototypes,
30404     which can conflict with char $ac_func (); below.
30405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30406     <limits.h> exists even on freestanding compilers.  */
30407 #ifdef __STDC__
30408 # include <limits.h>
30409 #else
30410 # include <assert.h>
30411 #endif
30412 /* Override any gcc2 internal prototype to avoid an error.  */
30413 #ifdef __cplusplus
30414 extern "C"
30415 {
30416 #endif
30417 /* We use char because int might match the return type of a gcc2
30418    builtin and then its argument prototype would still apply.  */
30419 char $ac_func ();
30420 /* The GNU C library defines this for functions which it implements
30421     to always fail with ENOSYS.  Some functions are actually named
30422     something starting with __ and the normal name is an alias.  */
30423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30424 choke me
30425 #else
30426 char (*f) () = $ac_func;
30427 #endif
30428 #ifdef __cplusplus
30429 }
30430 #endif
30431
30432 int
30433 main ()
30434 {
30435 return f != $ac_func;
30436   ;
30437   return 0;
30438 }
30439 _ACEOF
30440 rm -f conftest.$ac_objext conftest$ac_exeext
30441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30442   (eval $ac_link) 2>&5
30443   ac_status=$?
30444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445   (exit $ac_status); } &&
30446          { ac_try='test -s conftest$ac_exeext'
30447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448   (eval $ac_try) 2>&5
30449   ac_status=$?
30450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451   (exit $ac_status); }; }; then
30452   eval "$as_ac_var=yes"
30453 else
30454   echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.$ac_ext >&5
30456
30457 eval "$as_ac_var=no"
30458 fi
30459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30460 fi
30461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30463 if test `eval echo '${'$as_ac_var'}'` = yes; then
30464   cat >>confdefs.h <<_ACEOF
30465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30466 _ACEOF
30467
30468 fi
30469 done
30470
30471     fi
30472   fi
30473
30474
30475
30476   echo "$as_me:$LINENO: checking for float trig functions" >&5
30477 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30478   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30479   echo $ECHO_N "(cached) $ECHO_C" >&6
30480 else
30481
30482
30483
30484     ac_ext=cc
30485 ac_cpp='$CXXCPP $CPPFLAGS'
30486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30489
30490     cat >conftest.$ac_ext <<_ACEOF
30491 #line $LINENO "configure"
30492 /* confdefs.h.  */
30493 _ACEOF
30494 cat confdefs.h >>conftest.$ac_ext
30495 cat >>conftest.$ac_ext <<_ACEOF
30496 /* end confdefs.h.  */
30497 #include <math.h>
30498 int
30499 main ()
30500 {
30501  `for x in acosf asinf atanf \
30502                                           cosf sinf tanf \
30503                                           coshf sinhf tanhf; do echo "$x (0);"; done`
30504   ;
30505   return 0;
30506 }
30507 _ACEOF
30508 rm -f conftest.$ac_objext
30509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30510   (eval $ac_compile) 2>&5
30511   ac_status=$?
30512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513   (exit $ac_status); } &&
30514          { ac_try='test -s conftest.$ac_objext'
30515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516   (eval $ac_try) 2>&5
30517   ac_status=$?
30518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519   (exit $ac_status); }; }; then
30520   glibcxx_cv_func_float_trig_use=yes
30521 else
30522   echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 glibcxx_cv_func_float_trig_use=no
30526 fi
30527 rm -f conftest.$ac_objext conftest.$ac_ext
30528     ac_ext=c
30529 ac_cpp='$CPP $CPPFLAGS'
30530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30533
30534 fi
30535
30536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30537 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30538   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548 for ac_func in acosf asinf atanf \
30549                                           cosf sinf tanf \
30550                                           coshf sinhf tanhf
30551 do
30552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30553 echo "$as_me:$LINENO: checking for $ac_func" >&5
30554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30555 if eval "test \"\${$as_ac_var+set}\" = set"; then
30556   echo $ECHO_N "(cached) $ECHO_C" >&6
30557 else
30558   if test x$gcc_no_link = xyes; then
30559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30561    { (exit 1); exit 1; }; }
30562 fi
30563 cat >conftest.$ac_ext <<_ACEOF
30564 #line $LINENO "configure"
30565 /* confdefs.h.  */
30566 _ACEOF
30567 cat confdefs.h >>conftest.$ac_ext
30568 cat >>conftest.$ac_ext <<_ACEOF
30569 /* end confdefs.h.  */
30570 /* System header to define __stub macros and hopefully few prototypes,
30571     which can conflict with char $ac_func (); below.
30572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30573     <limits.h> exists even on freestanding compilers.  */
30574 #ifdef __STDC__
30575 # include <limits.h>
30576 #else
30577 # include <assert.h>
30578 #endif
30579 /* Override any gcc2 internal prototype to avoid an error.  */
30580 #ifdef __cplusplus
30581 extern "C"
30582 {
30583 #endif
30584 /* We use char because int might match the return type of a gcc2
30585    builtin and then its argument prototype would still apply.  */
30586 char $ac_func ();
30587 /* The GNU C library defines this for functions which it implements
30588     to always fail with ENOSYS.  Some functions are actually named
30589     something starting with __ and the normal name is an alias.  */
30590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30591 choke me
30592 #else
30593 char (*f) () = $ac_func;
30594 #endif
30595 #ifdef __cplusplus
30596 }
30597 #endif
30598
30599 int
30600 main ()
30601 {
30602 return f != $ac_func;
30603   ;
30604   return 0;
30605 }
30606 _ACEOF
30607 rm -f conftest.$ac_objext conftest$ac_exeext
30608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30609   (eval $ac_link) 2>&5
30610   ac_status=$?
30611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30612   (exit $ac_status); } &&
30613          { ac_try='test -s conftest$ac_exeext'
30614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30615   (eval $ac_try) 2>&5
30616   ac_status=$?
30617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618   (exit $ac_status); }; }; then
30619   eval "$as_ac_var=yes"
30620 else
30621   echo "$as_me: failed program was:" >&5
30622 sed 's/^/| /' conftest.$ac_ext >&5
30623
30624 eval "$as_ac_var=no"
30625 fi
30626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30627 fi
30628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30630 if test `eval echo '${'$as_ac_var'}'` = yes; then
30631   cat >>confdefs.h <<_ACEOF
30632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30633 _ACEOF
30634
30635 fi
30636 done
30637
30638   fi
30639
30640
30641   echo "$as_me:$LINENO: checking for float round functions" >&5
30642 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30643   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30644   echo $ECHO_N "(cached) $ECHO_C" >&6
30645 else
30646
30647
30648
30649     ac_ext=cc
30650 ac_cpp='$CXXCPP $CPPFLAGS'
30651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30654
30655     cat >conftest.$ac_ext <<_ACEOF
30656 #line $LINENO "configure"
30657 /* confdefs.h.  */
30658 _ACEOF
30659 cat confdefs.h >>conftest.$ac_ext
30660 cat >>conftest.$ac_ext <<_ACEOF
30661 /* end confdefs.h.  */
30662 #include <math.h>
30663 int
30664 main ()
30665 {
30666  `for x in ceilf floorf; do echo "$x (0);"; done`
30667   ;
30668   return 0;
30669 }
30670 _ACEOF
30671 rm -f conftest.$ac_objext
30672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30673   (eval $ac_compile) 2>&5
30674   ac_status=$?
30675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676   (exit $ac_status); } &&
30677          { ac_try='test -s conftest.$ac_objext'
30678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30679   (eval $ac_try) 2>&5
30680   ac_status=$?
30681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30682   (exit $ac_status); }; }; then
30683   glibcxx_cv_func_float_round_use=yes
30684 else
30685   echo "$as_me: failed program was:" >&5
30686 sed 's/^/| /' conftest.$ac_ext >&5
30687
30688 glibcxx_cv_func_float_round_use=no
30689 fi
30690 rm -f conftest.$ac_objext conftest.$ac_ext
30691     ac_ext=c
30692 ac_cpp='$CPP $CPPFLAGS'
30693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30696
30697 fi
30698
30699   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30700 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30701   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30702
30703
30704 for ac_func in ceilf floorf
30705 do
30706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30707 echo "$as_me:$LINENO: checking for $ac_func" >&5
30708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30709 if eval "test \"\${$as_ac_var+set}\" = set"; then
30710   echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712   if test x$gcc_no_link = xyes; then
30713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30715    { (exit 1); exit 1; }; }
30716 fi
30717 cat >conftest.$ac_ext <<_ACEOF
30718 #line $LINENO "configure"
30719 /* confdefs.h.  */
30720 _ACEOF
30721 cat confdefs.h >>conftest.$ac_ext
30722 cat >>conftest.$ac_ext <<_ACEOF
30723 /* end confdefs.h.  */
30724 /* System header to define __stub macros and hopefully few prototypes,
30725     which can conflict with char $ac_func (); below.
30726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30727     <limits.h> exists even on freestanding compilers.  */
30728 #ifdef __STDC__
30729 # include <limits.h>
30730 #else
30731 # include <assert.h>
30732 #endif
30733 /* Override any gcc2 internal prototype to avoid an error.  */
30734 #ifdef __cplusplus
30735 extern "C"
30736 {
30737 #endif
30738 /* We use char because int might match the return type of a gcc2
30739    builtin and then its argument prototype would still apply.  */
30740 char $ac_func ();
30741 /* The GNU C library defines this for functions which it implements
30742     to always fail with ENOSYS.  Some functions are actually named
30743     something starting with __ and the normal name is an alias.  */
30744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30745 choke me
30746 #else
30747 char (*f) () = $ac_func;
30748 #endif
30749 #ifdef __cplusplus
30750 }
30751 #endif
30752
30753 int
30754 main ()
30755 {
30756 return f != $ac_func;
30757   ;
30758   return 0;
30759 }
30760 _ACEOF
30761 rm -f conftest.$ac_objext conftest$ac_exeext
30762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30763   (eval $ac_link) 2>&5
30764   ac_status=$?
30765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766   (exit $ac_status); } &&
30767          { ac_try='test -s conftest$ac_exeext'
30768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769   (eval $ac_try) 2>&5
30770   ac_status=$?
30771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772   (exit $ac_status); }; }; then
30773   eval "$as_ac_var=yes"
30774 else
30775   echo "$as_me: failed program was:" >&5
30776 sed 's/^/| /' conftest.$ac_ext >&5
30777
30778 eval "$as_ac_var=no"
30779 fi
30780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30781 fi
30782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30784 if test `eval echo '${'$as_ac_var'}'` = yes; then
30785   cat >>confdefs.h <<_ACEOF
30786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30787 _ACEOF
30788
30789 fi
30790 done
30791
30792   fi
30793
30794
30795
30796   echo "$as_me:$LINENO: checking for expf declaration" >&5
30797 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30798   if test x${glibcxx_cv_func_expf_use+set} != xset; then
30799     if test "${glibcxx_cv_func_expf_use+set}" = set; then
30800   echo $ECHO_N "(cached) $ECHO_C" >&6
30801 else
30802
30803
30804
30805       ac_ext=cc
30806 ac_cpp='$CXXCPP $CPPFLAGS'
30807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30810
30811       cat >conftest.$ac_ext <<_ACEOF
30812 #line $LINENO "configure"
30813 /* confdefs.h.  */
30814 _ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h.  */
30818 #include <math.h>
30819                       #ifdef HAVE_IEEEFP_H
30820                       #include <ieeefp.h>
30821                       #endif
30822
30823 int
30824 main ()
30825 {
30826  expf(0);
30827   ;
30828   return 0;
30829 }
30830 _ACEOF
30831 rm -f conftest.$ac_objext
30832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30833   (eval $ac_compile) 2>&5
30834   ac_status=$?
30835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836   (exit $ac_status); } &&
30837          { ac_try='test -s conftest.$ac_objext'
30838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839   (eval $ac_try) 2>&5
30840   ac_status=$?
30841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842   (exit $ac_status); }; }; then
30843   glibcxx_cv_func_expf_use=yes
30844 else
30845   echo "$as_me: failed program was:" >&5
30846 sed 's/^/| /' conftest.$ac_ext >&5
30847
30848 glibcxx_cv_func_expf_use=no
30849 fi
30850 rm -f conftest.$ac_objext conftest.$ac_ext
30851       ac_ext=c
30852 ac_cpp='$CPP $CPPFLAGS'
30853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30856
30857
30858 fi
30859
30860   fi
30861   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30862 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30863
30864   if test x$glibcxx_cv_func_expf_use = x"yes"; then
30865
30866 for ac_func in expf
30867 do
30868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30869 echo "$as_me:$LINENO: checking for $ac_func" >&5
30870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30871 if eval "test \"\${$as_ac_var+set}\" = set"; then
30872   echo $ECHO_N "(cached) $ECHO_C" >&6
30873 else
30874   if test x$gcc_no_link = xyes; then
30875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30877    { (exit 1); exit 1; }; }
30878 fi
30879 cat >conftest.$ac_ext <<_ACEOF
30880 #line $LINENO "configure"
30881 /* confdefs.h.  */
30882 _ACEOF
30883 cat confdefs.h >>conftest.$ac_ext
30884 cat >>conftest.$ac_ext <<_ACEOF
30885 /* end confdefs.h.  */
30886 /* System header to define __stub macros and hopefully few prototypes,
30887     which can conflict with char $ac_func (); below.
30888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30889     <limits.h> exists even on freestanding compilers.  */
30890 #ifdef __STDC__
30891 # include <limits.h>
30892 #else
30893 # include <assert.h>
30894 #endif
30895 /* Override any gcc2 internal prototype to avoid an error.  */
30896 #ifdef __cplusplus
30897 extern "C"
30898 {
30899 #endif
30900 /* We use char because int might match the return type of a gcc2
30901    builtin and then its argument prototype would still apply.  */
30902 char $ac_func ();
30903 /* The GNU C library defines this for functions which it implements
30904     to always fail with ENOSYS.  Some functions are actually named
30905     something starting with __ and the normal name is an alias.  */
30906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30907 choke me
30908 #else
30909 char (*f) () = $ac_func;
30910 #endif
30911 #ifdef __cplusplus
30912 }
30913 #endif
30914
30915 int
30916 main ()
30917 {
30918 return f != $ac_func;
30919   ;
30920   return 0;
30921 }
30922 _ACEOF
30923 rm -f conftest.$ac_objext conftest$ac_exeext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30925   (eval $ac_link) 2>&5
30926   ac_status=$?
30927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928   (exit $ac_status); } &&
30929          { ac_try='test -s conftest$ac_exeext'
30930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931   (eval $ac_try) 2>&5
30932   ac_status=$?
30933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934   (exit $ac_status); }; }; then
30935   eval "$as_ac_var=yes"
30936 else
30937   echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.$ac_ext >&5
30939
30940 eval "$as_ac_var=no"
30941 fi
30942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30943 fi
30944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30946 if test `eval echo '${'$as_ac_var'}'` = yes; then
30947   cat >>confdefs.h <<_ACEOF
30948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30949 _ACEOF
30950
30951 fi
30952 done
30953
30954   else
30955
30956   echo "$as_me:$LINENO: checking for _expf declaration" >&5
30957 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30958   if test x${glibcxx_cv_func__expf_use+set} != xset; then
30959     if test "${glibcxx_cv_func__expf_use+set}" = set; then
30960   echo $ECHO_N "(cached) $ECHO_C" >&6
30961 else
30962
30963
30964
30965       ac_ext=cc
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970
30971       cat >conftest.$ac_ext <<_ACEOF
30972 #line $LINENO "configure"
30973 /* confdefs.h.  */
30974 _ACEOF
30975 cat confdefs.h >>conftest.$ac_ext
30976 cat >>conftest.$ac_ext <<_ACEOF
30977 /* end confdefs.h.  */
30978 #include <math.h>
30979                       #ifdef HAVE_IEEEFP_H
30980                       #include <ieeefp.h>
30981                       #endif
30982
30983 int
30984 main ()
30985 {
30986  _expf(0);
30987   ;
30988   return 0;
30989 }
30990 _ACEOF
30991 rm -f conftest.$ac_objext
30992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30993   (eval $ac_compile) 2>&5
30994   ac_status=$?
30995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996   (exit $ac_status); } &&
30997          { ac_try='test -s conftest.$ac_objext'
30998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999   (eval $ac_try) 2>&5
31000   ac_status=$?
31001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002   (exit $ac_status); }; }; then
31003   glibcxx_cv_func__expf_use=yes
31004 else
31005   echo "$as_me: failed program was:" >&5
31006 sed 's/^/| /' conftest.$ac_ext >&5
31007
31008 glibcxx_cv_func__expf_use=no
31009 fi
31010 rm -f conftest.$ac_objext conftest.$ac_ext
31011       ac_ext=c
31012 ac_cpp='$CPP $CPPFLAGS'
31013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31016
31017
31018 fi
31019
31020   fi
31021   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
31022 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
31023
31024     if test x$glibcxx_cv_func__expf_use = x"yes"; then
31025
31026 for ac_func in _expf
31027 do
31028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31029 echo "$as_me:$LINENO: checking for $ac_func" >&5
31030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31031 if eval "test \"\${$as_ac_var+set}\" = set"; then
31032   echo $ECHO_N "(cached) $ECHO_C" >&6
31033 else
31034   if test x$gcc_no_link = xyes; then
31035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31037    { (exit 1); exit 1; }; }
31038 fi
31039 cat >conftest.$ac_ext <<_ACEOF
31040 #line $LINENO "configure"
31041 /* confdefs.h.  */
31042 _ACEOF
31043 cat confdefs.h >>conftest.$ac_ext
31044 cat >>conftest.$ac_ext <<_ACEOF
31045 /* end confdefs.h.  */
31046 /* System header to define __stub macros and hopefully few prototypes,
31047     which can conflict with char $ac_func (); below.
31048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31049     <limits.h> exists even on freestanding compilers.  */
31050 #ifdef __STDC__
31051 # include <limits.h>
31052 #else
31053 # include <assert.h>
31054 #endif
31055 /* Override any gcc2 internal prototype to avoid an error.  */
31056 #ifdef __cplusplus
31057 extern "C"
31058 {
31059 #endif
31060 /* We use char because int might match the return type of a gcc2
31061    builtin and then its argument prototype would still apply.  */
31062 char $ac_func ();
31063 /* The GNU C library defines this for functions which it implements
31064     to always fail with ENOSYS.  Some functions are actually named
31065     something starting with __ and the normal name is an alias.  */
31066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31067 choke me
31068 #else
31069 char (*f) () = $ac_func;
31070 #endif
31071 #ifdef __cplusplus
31072 }
31073 #endif
31074
31075 int
31076 main ()
31077 {
31078 return f != $ac_func;
31079   ;
31080   return 0;
31081 }
31082 _ACEOF
31083 rm -f conftest.$ac_objext conftest$ac_exeext
31084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31085   (eval $ac_link) 2>&5
31086   ac_status=$?
31087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088   (exit $ac_status); } &&
31089          { ac_try='test -s conftest$ac_exeext'
31090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31091   (eval $ac_try) 2>&5
31092   ac_status=$?
31093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094   (exit $ac_status); }; }; then
31095   eval "$as_ac_var=yes"
31096 else
31097   echo "$as_me: failed program was:" >&5
31098 sed 's/^/| /' conftest.$ac_ext >&5
31099
31100 eval "$as_ac_var=no"
31101 fi
31102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31103 fi
31104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31106 if test `eval echo '${'$as_ac_var'}'` = yes; then
31107   cat >>confdefs.h <<_ACEOF
31108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31109 _ACEOF
31110
31111 fi
31112 done
31113
31114     fi
31115   fi
31116
31117
31118
31119   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31120 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31121   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31122     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31123   echo $ECHO_N "(cached) $ECHO_C" >&6
31124 else
31125
31126
31127
31128       ac_ext=cc
31129 ac_cpp='$CXXCPP $CPPFLAGS'
31130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31133
31134       cat >conftest.$ac_ext <<_ACEOF
31135 #line $LINENO "configure"
31136 /* confdefs.h.  */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h.  */
31141 #include <math.h>
31142                       #ifdef HAVE_IEEEFP_H
31143                       #include <ieeefp.h>
31144                       #endif
31145
31146 int
31147 main ()
31148 {
31149  isnanf(0);
31150   ;
31151   return 0;
31152 }
31153 _ACEOF
31154 rm -f conftest.$ac_objext
31155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31156   (eval $ac_compile) 2>&5
31157   ac_status=$?
31158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159   (exit $ac_status); } &&
31160          { ac_try='test -s conftest.$ac_objext'
31161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162   (eval $ac_try) 2>&5
31163   ac_status=$?
31164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165   (exit $ac_status); }; }; then
31166   glibcxx_cv_func_isnanf_use=yes
31167 else
31168   echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.$ac_ext >&5
31170
31171 glibcxx_cv_func_isnanf_use=no
31172 fi
31173 rm -f conftest.$ac_objext conftest.$ac_ext
31174       ac_ext=c
31175 ac_cpp='$CPP $CPPFLAGS'
31176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179
31180
31181 fi
31182
31183   fi
31184   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31185 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31186
31187   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31188
31189 for ac_func in isnanf
31190 do
31191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31192 echo "$as_me:$LINENO: checking for $ac_func" >&5
31193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31194 if eval "test \"\${$as_ac_var+set}\" = set"; then
31195   echo $ECHO_N "(cached) $ECHO_C" >&6
31196 else
31197   if test x$gcc_no_link = xyes; then
31198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31200    { (exit 1); exit 1; }; }
31201 fi
31202 cat >conftest.$ac_ext <<_ACEOF
31203 #line $LINENO "configure"
31204 /* confdefs.h.  */
31205 _ACEOF
31206 cat confdefs.h >>conftest.$ac_ext
31207 cat >>conftest.$ac_ext <<_ACEOF
31208 /* end confdefs.h.  */
31209 /* System header to define __stub macros and hopefully few prototypes,
31210     which can conflict with char $ac_func (); below.
31211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31212     <limits.h> exists even on freestanding compilers.  */
31213 #ifdef __STDC__
31214 # include <limits.h>
31215 #else
31216 # include <assert.h>
31217 #endif
31218 /* Override any gcc2 internal prototype to avoid an error.  */
31219 #ifdef __cplusplus
31220 extern "C"
31221 {
31222 #endif
31223 /* We use char because int might match the return type of a gcc2
31224    builtin and then its argument prototype would still apply.  */
31225 char $ac_func ();
31226 /* The GNU C library defines this for functions which it implements
31227     to always fail with ENOSYS.  Some functions are actually named
31228     something starting with __ and the normal name is an alias.  */
31229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31230 choke me
31231 #else
31232 char (*f) () = $ac_func;
31233 #endif
31234 #ifdef __cplusplus
31235 }
31236 #endif
31237
31238 int
31239 main ()
31240 {
31241 return f != $ac_func;
31242   ;
31243   return 0;
31244 }
31245 _ACEOF
31246 rm -f conftest.$ac_objext conftest$ac_exeext
31247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31248   (eval $ac_link) 2>&5
31249   ac_status=$?
31250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251   (exit $ac_status); } &&
31252          { ac_try='test -s conftest$ac_exeext'
31253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31254   (eval $ac_try) 2>&5
31255   ac_status=$?
31256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257   (exit $ac_status); }; }; then
31258   eval "$as_ac_var=yes"
31259 else
31260   echo "$as_me: failed program was:" >&5
31261 sed 's/^/| /' conftest.$ac_ext >&5
31262
31263 eval "$as_ac_var=no"
31264 fi
31265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31266 fi
31267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31269 if test `eval echo '${'$as_ac_var'}'` = yes; then
31270   cat >>confdefs.h <<_ACEOF
31271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31272 _ACEOF
31273
31274 fi
31275 done
31276
31277   else
31278
31279   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31280 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31281   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31282     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31283   echo $ECHO_N "(cached) $ECHO_C" >&6
31284 else
31285
31286
31287
31288       ac_ext=cc
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31293
31294       cat >conftest.$ac_ext <<_ACEOF
31295 #line $LINENO "configure"
31296 /* confdefs.h.  */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h.  */
31301 #include <math.h>
31302                       #ifdef HAVE_IEEEFP_H
31303                       #include <ieeefp.h>
31304                       #endif
31305
31306 int
31307 main ()
31308 {
31309  _isnanf(0);
31310   ;
31311   return 0;
31312 }
31313 _ACEOF
31314 rm -f conftest.$ac_objext
31315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31316   (eval $ac_compile) 2>&5
31317   ac_status=$?
31318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319   (exit $ac_status); } &&
31320          { ac_try='test -s conftest.$ac_objext'
31321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322   (eval $ac_try) 2>&5
31323   ac_status=$?
31324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325   (exit $ac_status); }; }; then
31326   glibcxx_cv_func__isnanf_use=yes
31327 else
31328   echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.$ac_ext >&5
31330
31331 glibcxx_cv_func__isnanf_use=no
31332 fi
31333 rm -f conftest.$ac_objext conftest.$ac_ext
31334       ac_ext=c
31335 ac_cpp='$CPP $CPPFLAGS'
31336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31339
31340
31341 fi
31342
31343   fi
31344   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31345 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31346
31347     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31348
31349 for ac_func in _isnanf
31350 do
31351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31352 echo "$as_me:$LINENO: checking for $ac_func" >&5
31353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31354 if eval "test \"\${$as_ac_var+set}\" = set"; then
31355   echo $ECHO_N "(cached) $ECHO_C" >&6
31356 else
31357   if test x$gcc_no_link = xyes; then
31358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31360    { (exit 1); exit 1; }; }
31361 fi
31362 cat >conftest.$ac_ext <<_ACEOF
31363 #line $LINENO "configure"
31364 /* confdefs.h.  */
31365 _ACEOF
31366 cat confdefs.h >>conftest.$ac_ext
31367 cat >>conftest.$ac_ext <<_ACEOF
31368 /* end confdefs.h.  */
31369 /* System header to define __stub macros and hopefully few prototypes,
31370     which can conflict with char $ac_func (); below.
31371     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31372     <limits.h> exists even on freestanding compilers.  */
31373 #ifdef __STDC__
31374 # include <limits.h>
31375 #else
31376 # include <assert.h>
31377 #endif
31378 /* Override any gcc2 internal prototype to avoid an error.  */
31379 #ifdef __cplusplus
31380 extern "C"
31381 {
31382 #endif
31383 /* We use char because int might match the return type of a gcc2
31384    builtin and then its argument prototype would still apply.  */
31385 char $ac_func ();
31386 /* The GNU C library defines this for functions which it implements
31387     to always fail with ENOSYS.  Some functions are actually named
31388     something starting with __ and the normal name is an alias.  */
31389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31390 choke me
31391 #else
31392 char (*f) () = $ac_func;
31393 #endif
31394 #ifdef __cplusplus
31395 }
31396 #endif
31397
31398 int
31399 main ()
31400 {
31401 return f != $ac_func;
31402   ;
31403   return 0;
31404 }
31405 _ACEOF
31406 rm -f conftest.$ac_objext conftest$ac_exeext
31407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31408   (eval $ac_link) 2>&5
31409   ac_status=$?
31410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411   (exit $ac_status); } &&
31412          { ac_try='test -s conftest$ac_exeext'
31413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414   (eval $ac_try) 2>&5
31415   ac_status=$?
31416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417   (exit $ac_status); }; }; then
31418   eval "$as_ac_var=yes"
31419 else
31420   echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.$ac_ext >&5
31422
31423 eval "$as_ac_var=no"
31424 fi
31425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31426 fi
31427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31429 if test `eval echo '${'$as_ac_var'}'` = yes; then
31430   cat >>confdefs.h <<_ACEOF
31431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31432 _ACEOF
31433
31434 fi
31435 done
31436
31437     fi
31438   fi
31439
31440
31441
31442   echo "$as_me:$LINENO: checking for isinff declaration" >&5
31443 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31444   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31445     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31446   echo $ECHO_N "(cached) $ECHO_C" >&6
31447 else
31448
31449
31450
31451       ac_ext=cc
31452 ac_cpp='$CXXCPP $CPPFLAGS'
31453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31456
31457       cat >conftest.$ac_ext <<_ACEOF
31458 #line $LINENO "configure"
31459 /* confdefs.h.  */
31460 _ACEOF
31461 cat confdefs.h >>conftest.$ac_ext
31462 cat >>conftest.$ac_ext <<_ACEOF
31463 /* end confdefs.h.  */
31464 #include <math.h>
31465                       #ifdef HAVE_IEEEFP_H
31466                       #include <ieeefp.h>
31467                       #endif
31468
31469 int
31470 main ()
31471 {
31472  isinff(0);
31473   ;
31474   return 0;
31475 }
31476 _ACEOF
31477 rm -f conftest.$ac_objext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31479   (eval $ac_compile) 2>&5
31480   ac_status=$?
31481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482   (exit $ac_status); } &&
31483          { ac_try='test -s conftest.$ac_objext'
31484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31485   (eval $ac_try) 2>&5
31486   ac_status=$?
31487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31488   (exit $ac_status); }; }; then
31489   glibcxx_cv_func_isinff_use=yes
31490 else
31491   echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 glibcxx_cv_func_isinff_use=no
31495 fi
31496 rm -f conftest.$ac_objext conftest.$ac_ext
31497       ac_ext=c
31498 ac_cpp='$CPP $CPPFLAGS'
31499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31502
31503
31504 fi
31505
31506   fi
31507   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31508 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31509
31510   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31511
31512 for ac_func in isinff
31513 do
31514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31515 echo "$as_me:$LINENO: checking for $ac_func" >&5
31516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31517 if eval "test \"\${$as_ac_var+set}\" = set"; then
31518   echo $ECHO_N "(cached) $ECHO_C" >&6
31519 else
31520   if test x$gcc_no_link = xyes; then
31521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31523    { (exit 1); exit 1; }; }
31524 fi
31525 cat >conftest.$ac_ext <<_ACEOF
31526 #line $LINENO "configure"
31527 /* confdefs.h.  */
31528 _ACEOF
31529 cat confdefs.h >>conftest.$ac_ext
31530 cat >>conftest.$ac_ext <<_ACEOF
31531 /* end confdefs.h.  */
31532 /* System header to define __stub macros and hopefully few prototypes,
31533     which can conflict with char $ac_func (); below.
31534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31535     <limits.h> exists even on freestanding compilers.  */
31536 #ifdef __STDC__
31537 # include <limits.h>
31538 #else
31539 # include <assert.h>
31540 #endif
31541 /* Override any gcc2 internal prototype to avoid an error.  */
31542 #ifdef __cplusplus
31543 extern "C"
31544 {
31545 #endif
31546 /* We use char because int might match the return type of a gcc2
31547    builtin and then its argument prototype would still apply.  */
31548 char $ac_func ();
31549 /* The GNU C library defines this for functions which it implements
31550     to always fail with ENOSYS.  Some functions are actually named
31551     something starting with __ and the normal name is an alias.  */
31552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31553 choke me
31554 #else
31555 char (*f) () = $ac_func;
31556 #endif
31557 #ifdef __cplusplus
31558 }
31559 #endif
31560
31561 int
31562 main ()
31563 {
31564 return f != $ac_func;
31565   ;
31566   return 0;
31567 }
31568 _ACEOF
31569 rm -f conftest.$ac_objext conftest$ac_exeext
31570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31571   (eval $ac_link) 2>&5
31572   ac_status=$?
31573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574   (exit $ac_status); } &&
31575          { ac_try='test -s conftest$ac_exeext'
31576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577   (eval $ac_try) 2>&5
31578   ac_status=$?
31579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580   (exit $ac_status); }; }; then
31581   eval "$as_ac_var=yes"
31582 else
31583   echo "$as_me: failed program was:" >&5
31584 sed 's/^/| /' conftest.$ac_ext >&5
31585
31586 eval "$as_ac_var=no"
31587 fi
31588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31589 fi
31590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31592 if test `eval echo '${'$as_ac_var'}'` = yes; then
31593   cat >>confdefs.h <<_ACEOF
31594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31595 _ACEOF
31596
31597 fi
31598 done
31599
31600   else
31601
31602   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31603 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31604   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31605     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31606   echo $ECHO_N "(cached) $ECHO_C" >&6
31607 else
31608
31609
31610
31611       ac_ext=cc
31612 ac_cpp='$CXXCPP $CPPFLAGS'
31613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31616
31617       cat >conftest.$ac_ext <<_ACEOF
31618 #line $LINENO "configure"
31619 /* confdefs.h.  */
31620 _ACEOF
31621 cat confdefs.h >>conftest.$ac_ext
31622 cat >>conftest.$ac_ext <<_ACEOF
31623 /* end confdefs.h.  */
31624 #include <math.h>
31625                       #ifdef HAVE_IEEEFP_H
31626                       #include <ieeefp.h>
31627                       #endif
31628
31629 int
31630 main ()
31631 {
31632  _isinff(0);
31633   ;
31634   return 0;
31635 }
31636 _ACEOF
31637 rm -f conftest.$ac_objext
31638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31639   (eval $ac_compile) 2>&5
31640   ac_status=$?
31641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642   (exit $ac_status); } &&
31643          { ac_try='test -s conftest.$ac_objext'
31644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31645   (eval $ac_try) 2>&5
31646   ac_status=$?
31647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648   (exit $ac_status); }; }; then
31649   glibcxx_cv_func__isinff_use=yes
31650 else
31651   echo "$as_me: failed program was:" >&5
31652 sed 's/^/| /' conftest.$ac_ext >&5
31653
31654 glibcxx_cv_func__isinff_use=no
31655 fi
31656 rm -f conftest.$ac_objext conftest.$ac_ext
31657       ac_ext=c
31658 ac_cpp='$CPP $CPPFLAGS'
31659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31662
31663
31664 fi
31665
31666   fi
31667   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31668 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31669
31670     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31671
31672 for ac_func in _isinff
31673 do
31674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31675 echo "$as_me:$LINENO: checking for $ac_func" >&5
31676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31677 if eval "test \"\${$as_ac_var+set}\" = set"; then
31678   echo $ECHO_N "(cached) $ECHO_C" >&6
31679 else
31680   if test x$gcc_no_link = xyes; then
31681   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31683    { (exit 1); exit 1; }; }
31684 fi
31685 cat >conftest.$ac_ext <<_ACEOF
31686 #line $LINENO "configure"
31687 /* confdefs.h.  */
31688 _ACEOF
31689 cat confdefs.h >>conftest.$ac_ext
31690 cat >>conftest.$ac_ext <<_ACEOF
31691 /* end confdefs.h.  */
31692 /* System header to define __stub macros and hopefully few prototypes,
31693     which can conflict with char $ac_func (); below.
31694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31695     <limits.h> exists even on freestanding compilers.  */
31696 #ifdef __STDC__
31697 # include <limits.h>
31698 #else
31699 # include <assert.h>
31700 #endif
31701 /* Override any gcc2 internal prototype to avoid an error.  */
31702 #ifdef __cplusplus
31703 extern "C"
31704 {
31705 #endif
31706 /* We use char because int might match the return type of a gcc2
31707    builtin and then its argument prototype would still apply.  */
31708 char $ac_func ();
31709 /* The GNU C library defines this for functions which it implements
31710     to always fail with ENOSYS.  Some functions are actually named
31711     something starting with __ and the normal name is an alias.  */
31712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31713 choke me
31714 #else
31715 char (*f) () = $ac_func;
31716 #endif
31717 #ifdef __cplusplus
31718 }
31719 #endif
31720
31721 int
31722 main ()
31723 {
31724 return f != $ac_func;
31725   ;
31726   return 0;
31727 }
31728 _ACEOF
31729 rm -f conftest.$ac_objext conftest$ac_exeext
31730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31731   (eval $ac_link) 2>&5
31732   ac_status=$?
31733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734   (exit $ac_status); } &&
31735          { ac_try='test -s conftest$ac_exeext'
31736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31737   (eval $ac_try) 2>&5
31738   ac_status=$?
31739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31740   (exit $ac_status); }; }; then
31741   eval "$as_ac_var=yes"
31742 else
31743   echo "$as_me: failed program was:" >&5
31744 sed 's/^/| /' conftest.$ac_ext >&5
31745
31746 eval "$as_ac_var=no"
31747 fi
31748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31749 fi
31750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31752 if test `eval echo '${'$as_ac_var'}'` = yes; then
31753   cat >>confdefs.h <<_ACEOF
31754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31755 _ACEOF
31756
31757 fi
31758 done
31759
31760     fi
31761   fi
31762
31763
31764
31765   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31766 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31767   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31768     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31769   echo $ECHO_N "(cached) $ECHO_C" >&6
31770 else
31771
31772
31773
31774       ac_ext=cc
31775 ac_cpp='$CXXCPP $CPPFLAGS'
31776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31779
31780       cat >conftest.$ac_ext <<_ACEOF
31781 #line $LINENO "configure"
31782 /* confdefs.h.  */
31783 _ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h.  */
31787 #include <math.h>
31788 int
31789 main ()
31790 {
31791  atan2f(0, 0);
31792   ;
31793   return 0;
31794 }
31795 _ACEOF
31796 rm -f conftest.$ac_objext
31797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31798   (eval $ac_compile) 2>&5
31799   ac_status=$?
31800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801   (exit $ac_status); } &&
31802          { ac_try='test -s conftest.$ac_objext'
31803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31804   (eval $ac_try) 2>&5
31805   ac_status=$?
31806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807   (exit $ac_status); }; }; then
31808   glibcxx_cv_func_atan2f_use=yes
31809 else
31810   echo "$as_me: failed program was:" >&5
31811 sed 's/^/| /' conftest.$ac_ext >&5
31812
31813 glibcxx_cv_func_atan2f_use=no
31814 fi
31815 rm -f conftest.$ac_objext conftest.$ac_ext
31816       ac_ext=c
31817 ac_cpp='$CPP $CPPFLAGS'
31818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31821
31822
31823 fi
31824
31825   fi
31826   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31827 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31828
31829   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31830
31831 for ac_func in atan2f
31832 do
31833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31834 echo "$as_me:$LINENO: checking for $ac_func" >&5
31835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31836 if eval "test \"\${$as_ac_var+set}\" = set"; then
31837   echo $ECHO_N "(cached) $ECHO_C" >&6
31838 else
31839   if test x$gcc_no_link = xyes; then
31840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31842    { (exit 1); exit 1; }; }
31843 fi
31844 cat >conftest.$ac_ext <<_ACEOF
31845 #line $LINENO "configure"
31846 /* confdefs.h.  */
31847 _ACEOF
31848 cat confdefs.h >>conftest.$ac_ext
31849 cat >>conftest.$ac_ext <<_ACEOF
31850 /* end confdefs.h.  */
31851 /* System header to define __stub macros and hopefully few prototypes,
31852     which can conflict with char $ac_func (); below.
31853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31854     <limits.h> exists even on freestanding compilers.  */
31855 #ifdef __STDC__
31856 # include <limits.h>
31857 #else
31858 # include <assert.h>
31859 #endif
31860 /* Override any gcc2 internal prototype to avoid an error.  */
31861 #ifdef __cplusplus
31862 extern "C"
31863 {
31864 #endif
31865 /* We use char because int might match the return type of a gcc2
31866    builtin and then its argument prototype would still apply.  */
31867 char $ac_func ();
31868 /* The GNU C library defines this for functions which it implements
31869     to always fail with ENOSYS.  Some functions are actually named
31870     something starting with __ and the normal name is an alias.  */
31871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31872 choke me
31873 #else
31874 char (*f) () = $ac_func;
31875 #endif
31876 #ifdef __cplusplus
31877 }
31878 #endif
31879
31880 int
31881 main ()
31882 {
31883 return f != $ac_func;
31884   ;
31885   return 0;
31886 }
31887 _ACEOF
31888 rm -f conftest.$ac_objext conftest$ac_exeext
31889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31890   (eval $ac_link) 2>&5
31891   ac_status=$?
31892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893   (exit $ac_status); } &&
31894          { ac_try='test -s conftest$ac_exeext'
31895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896   (eval $ac_try) 2>&5
31897   ac_status=$?
31898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899   (exit $ac_status); }; }; then
31900   eval "$as_ac_var=yes"
31901 else
31902   echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31904
31905 eval "$as_ac_var=no"
31906 fi
31907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31908 fi
31909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31911 if test `eval echo '${'$as_ac_var'}'` = yes; then
31912   cat >>confdefs.h <<_ACEOF
31913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31914 _ACEOF
31915
31916 fi
31917 done
31918
31919   else
31920
31921   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31922 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31923   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31924     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31925   echo $ECHO_N "(cached) $ECHO_C" >&6
31926 else
31927
31928
31929
31930       ac_ext=cc
31931 ac_cpp='$CXXCPP $CPPFLAGS'
31932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31935
31936       cat >conftest.$ac_ext <<_ACEOF
31937 #line $LINENO "configure"
31938 /* confdefs.h.  */
31939 _ACEOF
31940 cat confdefs.h >>conftest.$ac_ext
31941 cat >>conftest.$ac_ext <<_ACEOF
31942 /* end confdefs.h.  */
31943 #include <math.h>
31944 int
31945 main ()
31946 {
31947  _atan2f(0, 0);
31948   ;
31949   return 0;
31950 }
31951 _ACEOF
31952 rm -f conftest.$ac_objext
31953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31954   (eval $ac_compile) 2>&5
31955   ac_status=$?
31956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957   (exit $ac_status); } &&
31958          { ac_try='test -s conftest.$ac_objext'
31959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31960   (eval $ac_try) 2>&5
31961   ac_status=$?
31962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963   (exit $ac_status); }; }; then
31964   glibcxx_cv_func__atan2f_use=yes
31965 else
31966   echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969 glibcxx_cv_func__atan2f_use=no
31970 fi
31971 rm -f conftest.$ac_objext conftest.$ac_ext
31972       ac_ext=c
31973 ac_cpp='$CPP $CPPFLAGS'
31974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31977
31978
31979 fi
31980
31981   fi
31982   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31983 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31984
31985     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31986
31987 for ac_func in _atan2f
31988 do
31989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31990 echo "$as_me:$LINENO: checking for $ac_func" >&5
31991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31992 if eval "test \"\${$as_ac_var+set}\" = set"; then
31993   echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995   if test x$gcc_no_link = xyes; then
31996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31998    { (exit 1); exit 1; }; }
31999 fi
32000 cat >conftest.$ac_ext <<_ACEOF
32001 #line $LINENO "configure"
32002 /* confdefs.h.  */
32003 _ACEOF
32004 cat confdefs.h >>conftest.$ac_ext
32005 cat >>conftest.$ac_ext <<_ACEOF
32006 /* end confdefs.h.  */
32007 /* System header to define __stub macros and hopefully few prototypes,
32008     which can conflict with char $ac_func (); below.
32009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32010     <limits.h> exists even on freestanding compilers.  */
32011 #ifdef __STDC__
32012 # include <limits.h>
32013 #else
32014 # include <assert.h>
32015 #endif
32016 /* Override any gcc2 internal prototype to avoid an error.  */
32017 #ifdef __cplusplus
32018 extern "C"
32019 {
32020 #endif
32021 /* We use char because int might match the return type of a gcc2
32022    builtin and then its argument prototype would still apply.  */
32023 char $ac_func ();
32024 /* The GNU C library defines this for functions which it implements
32025     to always fail with ENOSYS.  Some functions are actually named
32026     something starting with __ and the normal name is an alias.  */
32027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32028 choke me
32029 #else
32030 char (*f) () = $ac_func;
32031 #endif
32032 #ifdef __cplusplus
32033 }
32034 #endif
32035
32036 int
32037 main ()
32038 {
32039 return f != $ac_func;
32040   ;
32041   return 0;
32042 }
32043 _ACEOF
32044 rm -f conftest.$ac_objext conftest$ac_exeext
32045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32046   (eval $ac_link) 2>&5
32047   ac_status=$?
32048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049   (exit $ac_status); } &&
32050          { ac_try='test -s conftest$ac_exeext'
32051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32052   (eval $ac_try) 2>&5
32053   ac_status=$?
32054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055   (exit $ac_status); }; }; then
32056   eval "$as_ac_var=yes"
32057 else
32058   echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32060
32061 eval "$as_ac_var=no"
32062 fi
32063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32064 fi
32065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32067 if test `eval echo '${'$as_ac_var'}'` = yes; then
32068   cat >>confdefs.h <<_ACEOF
32069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32070 _ACEOF
32071
32072 fi
32073 done
32074
32075     fi
32076   fi
32077
32078
32079
32080   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32081 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32082   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32083     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32084   echo $ECHO_N "(cached) $ECHO_C" >&6
32085 else
32086
32087
32088
32089       ac_ext=cc
32090 ac_cpp='$CXXCPP $CPPFLAGS'
32091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32094
32095       cat >conftest.$ac_ext <<_ACEOF
32096 #line $LINENO "configure"
32097 /* confdefs.h.  */
32098 _ACEOF
32099 cat confdefs.h >>conftest.$ac_ext
32100 cat >>conftest.$ac_ext <<_ACEOF
32101 /* end confdefs.h.  */
32102 #include <math.h>
32103                       #ifdef HAVE_IEEEFP_H
32104                       #include <ieeefp.h>
32105                       #endif
32106
32107 int
32108 main ()
32109 {
32110  fabsf(0);
32111   ;
32112   return 0;
32113 }
32114 _ACEOF
32115 rm -f conftest.$ac_objext
32116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32117   (eval $ac_compile) 2>&5
32118   ac_status=$?
32119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120   (exit $ac_status); } &&
32121          { ac_try='test -s conftest.$ac_objext'
32122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123   (eval $ac_try) 2>&5
32124   ac_status=$?
32125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126   (exit $ac_status); }; }; then
32127   glibcxx_cv_func_fabsf_use=yes
32128 else
32129   echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32131
32132 glibcxx_cv_func_fabsf_use=no
32133 fi
32134 rm -f conftest.$ac_objext conftest.$ac_ext
32135       ac_ext=c
32136 ac_cpp='$CPP $CPPFLAGS'
32137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32140
32141
32142 fi
32143
32144   fi
32145   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32146 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32147
32148   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32149
32150 for ac_func in fabsf
32151 do
32152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32153 echo "$as_me:$LINENO: checking for $ac_func" >&5
32154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32155 if eval "test \"\${$as_ac_var+set}\" = set"; then
32156   echo $ECHO_N "(cached) $ECHO_C" >&6
32157 else
32158   if test x$gcc_no_link = xyes; then
32159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32161    { (exit 1); exit 1; }; }
32162 fi
32163 cat >conftest.$ac_ext <<_ACEOF
32164 #line $LINENO "configure"
32165 /* confdefs.h.  */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h.  */
32170 /* System header to define __stub macros and hopefully few prototypes,
32171     which can conflict with char $ac_func (); below.
32172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32173     <limits.h> exists even on freestanding compilers.  */
32174 #ifdef __STDC__
32175 # include <limits.h>
32176 #else
32177 # include <assert.h>
32178 #endif
32179 /* Override any gcc2 internal prototype to avoid an error.  */
32180 #ifdef __cplusplus
32181 extern "C"
32182 {
32183 #endif
32184 /* We use char because int might match the return type of a gcc2
32185    builtin and then its argument prototype would still apply.  */
32186 char $ac_func ();
32187 /* The GNU C library defines this for functions which it implements
32188     to always fail with ENOSYS.  Some functions are actually named
32189     something starting with __ and the normal name is an alias.  */
32190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32191 choke me
32192 #else
32193 char (*f) () = $ac_func;
32194 #endif
32195 #ifdef __cplusplus
32196 }
32197 #endif
32198
32199 int
32200 main ()
32201 {
32202 return f != $ac_func;
32203   ;
32204   return 0;
32205 }
32206 _ACEOF
32207 rm -f conftest.$ac_objext conftest$ac_exeext
32208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32209   (eval $ac_link) 2>&5
32210   ac_status=$?
32211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32212   (exit $ac_status); } &&
32213          { ac_try='test -s conftest$ac_exeext'
32214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215   (eval $ac_try) 2>&5
32216   ac_status=$?
32217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218   (exit $ac_status); }; }; then
32219   eval "$as_ac_var=yes"
32220 else
32221   echo "$as_me: failed program was:" >&5
32222 sed 's/^/| /' conftest.$ac_ext >&5
32223
32224 eval "$as_ac_var=no"
32225 fi
32226 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32227 fi
32228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32230 if test `eval echo '${'$as_ac_var'}'` = yes; then
32231   cat >>confdefs.h <<_ACEOF
32232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32233 _ACEOF
32234
32235 fi
32236 done
32237
32238   else
32239
32240   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32241 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32242   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32243     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32244   echo $ECHO_N "(cached) $ECHO_C" >&6
32245 else
32246
32247
32248
32249       ac_ext=cc
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255       cat >conftest.$ac_ext <<_ACEOF
32256 #line $LINENO "configure"
32257 /* confdefs.h.  */
32258 _ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h.  */
32262 #include <math.h>
32263                       #ifdef HAVE_IEEEFP_H
32264                       #include <ieeefp.h>
32265                       #endif
32266
32267 int
32268 main ()
32269 {
32270  _fabsf(0);
32271   ;
32272   return 0;
32273 }
32274 _ACEOF
32275 rm -f conftest.$ac_objext
32276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32277   (eval $ac_compile) 2>&5
32278   ac_status=$?
32279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280   (exit $ac_status); } &&
32281          { ac_try='test -s conftest.$ac_objext'
32282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283   (eval $ac_try) 2>&5
32284   ac_status=$?
32285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286   (exit $ac_status); }; }; then
32287   glibcxx_cv_func__fabsf_use=yes
32288 else
32289   echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.$ac_ext >&5
32291
32292 glibcxx_cv_func__fabsf_use=no
32293 fi
32294 rm -f conftest.$ac_objext conftest.$ac_ext
32295       ac_ext=c
32296 ac_cpp='$CPP $CPPFLAGS'
32297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32300
32301
32302 fi
32303
32304   fi
32305   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32306 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32307
32308     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32309
32310 for ac_func in _fabsf
32311 do
32312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32313 echo "$as_me:$LINENO: checking for $ac_func" >&5
32314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32315 if eval "test \"\${$as_ac_var+set}\" = set"; then
32316   echo $ECHO_N "(cached) $ECHO_C" >&6
32317 else
32318   if test x$gcc_no_link = xyes; then
32319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32321    { (exit 1); exit 1; }; }
32322 fi
32323 cat >conftest.$ac_ext <<_ACEOF
32324 #line $LINENO "configure"
32325 /* confdefs.h.  */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h.  */
32330 /* System header to define __stub macros and hopefully few prototypes,
32331     which can conflict with char $ac_func (); below.
32332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32333     <limits.h> exists even on freestanding compilers.  */
32334 #ifdef __STDC__
32335 # include <limits.h>
32336 #else
32337 # include <assert.h>
32338 #endif
32339 /* Override any gcc2 internal prototype to avoid an error.  */
32340 #ifdef __cplusplus
32341 extern "C"
32342 {
32343 #endif
32344 /* We use char because int might match the return type of a gcc2
32345    builtin and then its argument prototype would still apply.  */
32346 char $ac_func ();
32347 /* The GNU C library defines this for functions which it implements
32348     to always fail with ENOSYS.  Some functions are actually named
32349     something starting with __ and the normal name is an alias.  */
32350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32351 choke me
32352 #else
32353 char (*f) () = $ac_func;
32354 #endif
32355 #ifdef __cplusplus
32356 }
32357 #endif
32358
32359 int
32360 main ()
32361 {
32362 return f != $ac_func;
32363   ;
32364   return 0;
32365 }
32366 _ACEOF
32367 rm -f conftest.$ac_objext conftest$ac_exeext
32368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32369   (eval $ac_link) 2>&5
32370   ac_status=$?
32371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372   (exit $ac_status); } &&
32373          { ac_try='test -s conftest$ac_exeext'
32374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32375   (eval $ac_try) 2>&5
32376   ac_status=$?
32377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378   (exit $ac_status); }; }; then
32379   eval "$as_ac_var=yes"
32380 else
32381   echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.$ac_ext >&5
32383
32384 eval "$as_ac_var=no"
32385 fi
32386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32387 fi
32388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32390 if test `eval echo '${'$as_ac_var'}'` = yes; then
32391   cat >>confdefs.h <<_ACEOF
32392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32393 _ACEOF
32394
32395 fi
32396 done
32397
32398     fi
32399   fi
32400
32401
32402
32403   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32404 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32405   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32406     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32407   echo $ECHO_N "(cached) $ECHO_C" >&6
32408 else
32409
32410
32411
32412       ac_ext=cc
32413 ac_cpp='$CXXCPP $CPPFLAGS'
32414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32417
32418       cat >conftest.$ac_ext <<_ACEOF
32419 #line $LINENO "configure"
32420 /* confdefs.h.  */
32421 _ACEOF
32422 cat confdefs.h >>conftest.$ac_ext
32423 cat >>conftest.$ac_ext <<_ACEOF
32424 /* end confdefs.h.  */
32425 #include <math.h>
32426 int
32427 main ()
32428 {
32429  fmodf(0, 0);
32430   ;
32431   return 0;
32432 }
32433 _ACEOF
32434 rm -f conftest.$ac_objext
32435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32436   (eval $ac_compile) 2>&5
32437   ac_status=$?
32438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439   (exit $ac_status); } &&
32440          { ac_try='test -s conftest.$ac_objext'
32441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32442   (eval $ac_try) 2>&5
32443   ac_status=$?
32444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445   (exit $ac_status); }; }; then
32446   glibcxx_cv_func_fmodf_use=yes
32447 else
32448   echo "$as_me: failed program was:" >&5
32449 sed 's/^/| /' conftest.$ac_ext >&5
32450
32451 glibcxx_cv_func_fmodf_use=no
32452 fi
32453 rm -f conftest.$ac_objext conftest.$ac_ext
32454       ac_ext=c
32455 ac_cpp='$CPP $CPPFLAGS'
32456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32459
32460
32461 fi
32462
32463   fi
32464   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32465 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32466
32467   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32468
32469 for ac_func in fmodf
32470 do
32471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32472 echo "$as_me:$LINENO: checking for $ac_func" >&5
32473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32474 if eval "test \"\${$as_ac_var+set}\" = set"; then
32475   echo $ECHO_N "(cached) $ECHO_C" >&6
32476 else
32477   if test x$gcc_no_link = xyes; then
32478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32480    { (exit 1); exit 1; }; }
32481 fi
32482 cat >conftest.$ac_ext <<_ACEOF
32483 #line $LINENO "configure"
32484 /* confdefs.h.  */
32485 _ACEOF
32486 cat confdefs.h >>conftest.$ac_ext
32487 cat >>conftest.$ac_ext <<_ACEOF
32488 /* end confdefs.h.  */
32489 /* System header to define __stub macros and hopefully few prototypes,
32490     which can conflict with char $ac_func (); below.
32491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32492     <limits.h> exists even on freestanding compilers.  */
32493 #ifdef __STDC__
32494 # include <limits.h>
32495 #else
32496 # include <assert.h>
32497 #endif
32498 /* Override any gcc2 internal prototype to avoid an error.  */
32499 #ifdef __cplusplus
32500 extern "C"
32501 {
32502 #endif
32503 /* We use char because int might match the return type of a gcc2
32504    builtin and then its argument prototype would still apply.  */
32505 char $ac_func ();
32506 /* The GNU C library defines this for functions which it implements
32507     to always fail with ENOSYS.  Some functions are actually named
32508     something starting with __ and the normal name is an alias.  */
32509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32510 choke me
32511 #else
32512 char (*f) () = $ac_func;
32513 #endif
32514 #ifdef __cplusplus
32515 }
32516 #endif
32517
32518 int
32519 main ()
32520 {
32521 return f != $ac_func;
32522   ;
32523   return 0;
32524 }
32525 _ACEOF
32526 rm -f conftest.$ac_objext conftest$ac_exeext
32527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32528   (eval $ac_link) 2>&5
32529   ac_status=$?
32530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531   (exit $ac_status); } &&
32532          { ac_try='test -s conftest$ac_exeext'
32533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534   (eval $ac_try) 2>&5
32535   ac_status=$?
32536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537   (exit $ac_status); }; }; then
32538   eval "$as_ac_var=yes"
32539 else
32540   echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.$ac_ext >&5
32542
32543 eval "$as_ac_var=no"
32544 fi
32545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32546 fi
32547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32549 if test `eval echo '${'$as_ac_var'}'` = yes; then
32550   cat >>confdefs.h <<_ACEOF
32551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32552 _ACEOF
32553
32554 fi
32555 done
32556
32557   else
32558
32559   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32560 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32561   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32562     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32563   echo $ECHO_N "(cached) $ECHO_C" >&6
32564 else
32565
32566
32567
32568       ac_ext=cc
32569 ac_cpp='$CXXCPP $CPPFLAGS'
32570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32573
32574       cat >conftest.$ac_ext <<_ACEOF
32575 #line $LINENO "configure"
32576 /* confdefs.h.  */
32577 _ACEOF
32578 cat confdefs.h >>conftest.$ac_ext
32579 cat >>conftest.$ac_ext <<_ACEOF
32580 /* end confdefs.h.  */
32581 #include <math.h>
32582 int
32583 main ()
32584 {
32585  _fmodf(0, 0);
32586   ;
32587   return 0;
32588 }
32589 _ACEOF
32590 rm -f conftest.$ac_objext
32591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32592   (eval $ac_compile) 2>&5
32593   ac_status=$?
32594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595   (exit $ac_status); } &&
32596          { ac_try='test -s conftest.$ac_objext'
32597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598   (eval $ac_try) 2>&5
32599   ac_status=$?
32600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601   (exit $ac_status); }; }; then
32602   glibcxx_cv_func__fmodf_use=yes
32603 else
32604   echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.$ac_ext >&5
32606
32607 glibcxx_cv_func__fmodf_use=no
32608 fi
32609 rm -f conftest.$ac_objext conftest.$ac_ext
32610       ac_ext=c
32611 ac_cpp='$CPP $CPPFLAGS'
32612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32615
32616
32617 fi
32618
32619   fi
32620   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32621 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32622
32623     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32624
32625 for ac_func in _fmodf
32626 do
32627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32628 echo "$as_me:$LINENO: checking for $ac_func" >&5
32629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32630 if eval "test \"\${$as_ac_var+set}\" = set"; then
32631   echo $ECHO_N "(cached) $ECHO_C" >&6
32632 else
32633   if test x$gcc_no_link = xyes; then
32634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32636    { (exit 1); exit 1; }; }
32637 fi
32638 cat >conftest.$ac_ext <<_ACEOF
32639 #line $LINENO "configure"
32640 /* confdefs.h.  */
32641 _ACEOF
32642 cat confdefs.h >>conftest.$ac_ext
32643 cat >>conftest.$ac_ext <<_ACEOF
32644 /* end confdefs.h.  */
32645 /* System header to define __stub macros and hopefully few prototypes,
32646     which can conflict with char $ac_func (); below.
32647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32648     <limits.h> exists even on freestanding compilers.  */
32649 #ifdef __STDC__
32650 # include <limits.h>
32651 #else
32652 # include <assert.h>
32653 #endif
32654 /* Override any gcc2 internal prototype to avoid an error.  */
32655 #ifdef __cplusplus
32656 extern "C"
32657 {
32658 #endif
32659 /* We use char because int might match the return type of a gcc2
32660    builtin and then its argument prototype would still apply.  */
32661 char $ac_func ();
32662 /* The GNU C library defines this for functions which it implements
32663     to always fail with ENOSYS.  Some functions are actually named
32664     something starting with __ and the normal name is an alias.  */
32665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32666 choke me
32667 #else
32668 char (*f) () = $ac_func;
32669 #endif
32670 #ifdef __cplusplus
32671 }
32672 #endif
32673
32674 int
32675 main ()
32676 {
32677 return f != $ac_func;
32678   ;
32679   return 0;
32680 }
32681 _ACEOF
32682 rm -f conftest.$ac_objext conftest$ac_exeext
32683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32684   (eval $ac_link) 2>&5
32685   ac_status=$?
32686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32687   (exit $ac_status); } &&
32688          { ac_try='test -s conftest$ac_exeext'
32689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32690   (eval $ac_try) 2>&5
32691   ac_status=$?
32692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693   (exit $ac_status); }; }; then
32694   eval "$as_ac_var=yes"
32695 else
32696   echo "$as_me: failed program was:" >&5
32697 sed 's/^/| /' conftest.$ac_ext >&5
32698
32699 eval "$as_ac_var=no"
32700 fi
32701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32702 fi
32703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32705 if test `eval echo '${'$as_ac_var'}'` = yes; then
32706   cat >>confdefs.h <<_ACEOF
32707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32708 _ACEOF
32709
32710 fi
32711 done
32712
32713     fi
32714   fi
32715
32716
32717
32718   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32719 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32720   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32721     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32722   echo $ECHO_N "(cached) $ECHO_C" >&6
32723 else
32724
32725
32726
32727       ac_ext=cc
32728 ac_cpp='$CXXCPP $CPPFLAGS'
32729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732
32733       cat >conftest.$ac_ext <<_ACEOF
32734 #line $LINENO "configure"
32735 /* confdefs.h.  */
32736 _ACEOF
32737 cat confdefs.h >>conftest.$ac_ext
32738 cat >>conftest.$ac_ext <<_ACEOF
32739 /* end confdefs.h.  */
32740 #include <math.h>
32741 int
32742 main ()
32743 {
32744  frexpf(0, 0);
32745   ;
32746   return 0;
32747 }
32748 _ACEOF
32749 rm -f conftest.$ac_objext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32751   (eval $ac_compile) 2>&5
32752   ac_status=$?
32753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754   (exit $ac_status); } &&
32755          { ac_try='test -s conftest.$ac_objext'
32756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32757   (eval $ac_try) 2>&5
32758   ac_status=$?
32759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760   (exit $ac_status); }; }; then
32761   glibcxx_cv_func_frexpf_use=yes
32762 else
32763   echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32765
32766 glibcxx_cv_func_frexpf_use=no
32767 fi
32768 rm -f conftest.$ac_objext conftest.$ac_ext
32769       ac_ext=c
32770 ac_cpp='$CPP $CPPFLAGS'
32771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32774
32775
32776 fi
32777
32778   fi
32779   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32780 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32781
32782   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32783
32784 for ac_func in frexpf
32785 do
32786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32787 echo "$as_me:$LINENO: checking for $ac_func" >&5
32788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32789 if eval "test \"\${$as_ac_var+set}\" = set"; then
32790   echo $ECHO_N "(cached) $ECHO_C" >&6
32791 else
32792   if test x$gcc_no_link = xyes; then
32793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32795    { (exit 1); exit 1; }; }
32796 fi
32797 cat >conftest.$ac_ext <<_ACEOF
32798 #line $LINENO "configure"
32799 /* confdefs.h.  */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h.  */
32804 /* System header to define __stub macros and hopefully few prototypes,
32805     which can conflict with char $ac_func (); below.
32806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32807     <limits.h> exists even on freestanding compilers.  */
32808 #ifdef __STDC__
32809 # include <limits.h>
32810 #else
32811 # include <assert.h>
32812 #endif
32813 /* Override any gcc2 internal prototype to avoid an error.  */
32814 #ifdef __cplusplus
32815 extern "C"
32816 {
32817 #endif
32818 /* We use char because int might match the return type of a gcc2
32819    builtin and then its argument prototype would still apply.  */
32820 char $ac_func ();
32821 /* The GNU C library defines this for functions which it implements
32822     to always fail with ENOSYS.  Some functions are actually named
32823     something starting with __ and the normal name is an alias.  */
32824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32825 choke me
32826 #else
32827 char (*f) () = $ac_func;
32828 #endif
32829 #ifdef __cplusplus
32830 }
32831 #endif
32832
32833 int
32834 main ()
32835 {
32836 return f != $ac_func;
32837   ;
32838   return 0;
32839 }
32840 _ACEOF
32841 rm -f conftest.$ac_objext conftest$ac_exeext
32842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32843   (eval $ac_link) 2>&5
32844   ac_status=$?
32845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846   (exit $ac_status); } &&
32847          { ac_try='test -s conftest$ac_exeext'
32848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849   (eval $ac_try) 2>&5
32850   ac_status=$?
32851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852   (exit $ac_status); }; }; then
32853   eval "$as_ac_var=yes"
32854 else
32855   echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32857
32858 eval "$as_ac_var=no"
32859 fi
32860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32861 fi
32862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32864 if test `eval echo '${'$as_ac_var'}'` = yes; then
32865   cat >>confdefs.h <<_ACEOF
32866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32867 _ACEOF
32868
32869 fi
32870 done
32871
32872   else
32873
32874   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32875 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32876   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32877     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32878   echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32880
32881
32882
32883       ac_ext=cc
32884 ac_cpp='$CXXCPP $CPPFLAGS'
32885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32888
32889       cat >conftest.$ac_ext <<_ACEOF
32890 #line $LINENO "configure"
32891 /* confdefs.h.  */
32892 _ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h.  */
32896 #include <math.h>
32897 int
32898 main ()
32899 {
32900  _frexpf(0, 0);
32901   ;
32902   return 0;
32903 }
32904 _ACEOF
32905 rm -f conftest.$ac_objext
32906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32907   (eval $ac_compile) 2>&5
32908   ac_status=$?
32909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910   (exit $ac_status); } &&
32911          { ac_try='test -s conftest.$ac_objext'
32912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913   (eval $ac_try) 2>&5
32914   ac_status=$?
32915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916   (exit $ac_status); }; }; then
32917   glibcxx_cv_func__frexpf_use=yes
32918 else
32919   echo "$as_me: failed program was:" >&5
32920 sed 's/^/| /' conftest.$ac_ext >&5
32921
32922 glibcxx_cv_func__frexpf_use=no
32923 fi
32924 rm -f conftest.$ac_objext conftest.$ac_ext
32925       ac_ext=c
32926 ac_cpp='$CPP $CPPFLAGS'
32927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32930
32931
32932 fi
32933
32934   fi
32935   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32936 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32937
32938     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32939
32940 for ac_func in _frexpf
32941 do
32942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32943 echo "$as_me:$LINENO: checking for $ac_func" >&5
32944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32945 if eval "test \"\${$as_ac_var+set}\" = set"; then
32946   echo $ECHO_N "(cached) $ECHO_C" >&6
32947 else
32948   if test x$gcc_no_link = xyes; then
32949   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32951    { (exit 1); exit 1; }; }
32952 fi
32953 cat >conftest.$ac_ext <<_ACEOF
32954 #line $LINENO "configure"
32955 /* confdefs.h.  */
32956 _ACEOF
32957 cat confdefs.h >>conftest.$ac_ext
32958 cat >>conftest.$ac_ext <<_ACEOF
32959 /* end confdefs.h.  */
32960 /* System header to define __stub macros and hopefully few prototypes,
32961     which can conflict with char $ac_func (); below.
32962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32963     <limits.h> exists even on freestanding compilers.  */
32964 #ifdef __STDC__
32965 # include <limits.h>
32966 #else
32967 # include <assert.h>
32968 #endif
32969 /* Override any gcc2 internal prototype to avoid an error.  */
32970 #ifdef __cplusplus
32971 extern "C"
32972 {
32973 #endif
32974 /* We use char because int might match the return type of a gcc2
32975    builtin and then its argument prototype would still apply.  */
32976 char $ac_func ();
32977 /* The GNU C library defines this for functions which it implements
32978     to always fail with ENOSYS.  Some functions are actually named
32979     something starting with __ and the normal name is an alias.  */
32980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32981 choke me
32982 #else
32983 char (*f) () = $ac_func;
32984 #endif
32985 #ifdef __cplusplus
32986 }
32987 #endif
32988
32989 int
32990 main ()
32991 {
32992 return f != $ac_func;
32993   ;
32994   return 0;
32995 }
32996 _ACEOF
32997 rm -f conftest.$ac_objext conftest$ac_exeext
32998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32999   (eval $ac_link) 2>&5
33000   ac_status=$?
33001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002   (exit $ac_status); } &&
33003          { ac_try='test -s conftest$ac_exeext'
33004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33005   (eval $ac_try) 2>&5
33006   ac_status=$?
33007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008   (exit $ac_status); }; }; then
33009   eval "$as_ac_var=yes"
33010 else
33011   echo "$as_me: failed program was:" >&5
33012 sed 's/^/| /' conftest.$ac_ext >&5
33013
33014 eval "$as_ac_var=no"
33015 fi
33016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33017 fi
33018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33020 if test `eval echo '${'$as_ac_var'}'` = yes; then
33021   cat >>confdefs.h <<_ACEOF
33022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33023 _ACEOF
33024
33025 fi
33026 done
33027
33028     fi
33029   fi
33030
33031
33032
33033   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
33034 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
33035   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33036     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
33037   echo $ECHO_N "(cached) $ECHO_C" >&6
33038 else
33039
33040
33041
33042       ac_ext=cc
33043 ac_cpp='$CXXCPP $CPPFLAGS'
33044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33047
33048       cat >conftest.$ac_ext <<_ACEOF
33049 #line $LINENO "configure"
33050 /* confdefs.h.  */
33051 _ACEOF
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h.  */
33055 #include <math.h>
33056 int
33057 main ()
33058 {
33059  hypotf(0, 0);
33060   ;
33061   return 0;
33062 }
33063 _ACEOF
33064 rm -f conftest.$ac_objext
33065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33066   (eval $ac_compile) 2>&5
33067   ac_status=$?
33068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069   (exit $ac_status); } &&
33070          { ac_try='test -s conftest.$ac_objext'
33071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33072   (eval $ac_try) 2>&5
33073   ac_status=$?
33074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075   (exit $ac_status); }; }; then
33076   glibcxx_cv_func_hypotf_use=yes
33077 else
33078   echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33080
33081 glibcxx_cv_func_hypotf_use=no
33082 fi
33083 rm -f conftest.$ac_objext conftest.$ac_ext
33084       ac_ext=c
33085 ac_cpp='$CPP $CPPFLAGS'
33086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33089
33090
33091 fi
33092
33093   fi
33094   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33095 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33096
33097   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33098
33099 for ac_func in hypotf
33100 do
33101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33102 echo "$as_me:$LINENO: checking for $ac_func" >&5
33103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33104 if eval "test \"\${$as_ac_var+set}\" = set"; then
33105   echo $ECHO_N "(cached) $ECHO_C" >&6
33106 else
33107   if test x$gcc_no_link = xyes; then
33108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33110    { (exit 1); exit 1; }; }
33111 fi
33112 cat >conftest.$ac_ext <<_ACEOF
33113 #line $LINENO "configure"
33114 /* confdefs.h.  */
33115 _ACEOF
33116 cat confdefs.h >>conftest.$ac_ext
33117 cat >>conftest.$ac_ext <<_ACEOF
33118 /* end confdefs.h.  */
33119 /* System header to define __stub macros and hopefully few prototypes,
33120     which can conflict with char $ac_func (); below.
33121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33122     <limits.h> exists even on freestanding compilers.  */
33123 #ifdef __STDC__
33124 # include <limits.h>
33125 #else
33126 # include <assert.h>
33127 #endif
33128 /* Override any gcc2 internal prototype to avoid an error.  */
33129 #ifdef __cplusplus
33130 extern "C"
33131 {
33132 #endif
33133 /* We use char because int might match the return type of a gcc2
33134    builtin and then its argument prototype would still apply.  */
33135 char $ac_func ();
33136 /* The GNU C library defines this for functions which it implements
33137     to always fail with ENOSYS.  Some functions are actually named
33138     something starting with __ and the normal name is an alias.  */
33139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33140 choke me
33141 #else
33142 char (*f) () = $ac_func;
33143 #endif
33144 #ifdef __cplusplus
33145 }
33146 #endif
33147
33148 int
33149 main ()
33150 {
33151 return f != $ac_func;
33152   ;
33153   return 0;
33154 }
33155 _ACEOF
33156 rm -f conftest.$ac_objext conftest$ac_exeext
33157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33158   (eval $ac_link) 2>&5
33159   ac_status=$?
33160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161   (exit $ac_status); } &&
33162          { ac_try='test -s conftest$ac_exeext'
33163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164   (eval $ac_try) 2>&5
33165   ac_status=$?
33166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167   (exit $ac_status); }; }; then
33168   eval "$as_ac_var=yes"
33169 else
33170   echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33172
33173 eval "$as_ac_var=no"
33174 fi
33175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33176 fi
33177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33179 if test `eval echo '${'$as_ac_var'}'` = yes; then
33180   cat >>confdefs.h <<_ACEOF
33181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33182 _ACEOF
33183
33184 fi
33185 done
33186
33187   else
33188
33189   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33190 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33191   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33192     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33193   echo $ECHO_N "(cached) $ECHO_C" >&6
33194 else
33195
33196
33197
33198       ac_ext=cc
33199 ac_cpp='$CXXCPP $CPPFLAGS'
33200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203
33204       cat >conftest.$ac_ext <<_ACEOF
33205 #line $LINENO "configure"
33206 /* confdefs.h.  */
33207 _ACEOF
33208 cat confdefs.h >>conftest.$ac_ext
33209 cat >>conftest.$ac_ext <<_ACEOF
33210 /* end confdefs.h.  */
33211 #include <math.h>
33212 int
33213 main ()
33214 {
33215  _hypotf(0, 0);
33216   ;
33217   return 0;
33218 }
33219 _ACEOF
33220 rm -f conftest.$ac_objext
33221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33222   (eval $ac_compile) 2>&5
33223   ac_status=$?
33224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33225   (exit $ac_status); } &&
33226          { ac_try='test -s conftest.$ac_objext'
33227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33228   (eval $ac_try) 2>&5
33229   ac_status=$?
33230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33231   (exit $ac_status); }; }; then
33232   glibcxx_cv_func__hypotf_use=yes
33233 else
33234   echo "$as_me: failed program was:" >&5
33235 sed 's/^/| /' conftest.$ac_ext >&5
33236
33237 glibcxx_cv_func__hypotf_use=no
33238 fi
33239 rm -f conftest.$ac_objext conftest.$ac_ext
33240       ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249   fi
33250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33251 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33252
33253     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33254
33255 for ac_func in _hypotf
33256 do
33257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33258 echo "$as_me:$LINENO: checking for $ac_func" >&5
33259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33260 if eval "test \"\${$as_ac_var+set}\" = set"; then
33261   echo $ECHO_N "(cached) $ECHO_C" >&6
33262 else
33263   if test x$gcc_no_link = xyes; then
33264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33266    { (exit 1); exit 1; }; }
33267 fi
33268 cat >conftest.$ac_ext <<_ACEOF
33269 #line $LINENO "configure"
33270 /* confdefs.h.  */
33271 _ACEOF
33272 cat confdefs.h >>conftest.$ac_ext
33273 cat >>conftest.$ac_ext <<_ACEOF
33274 /* end confdefs.h.  */
33275 /* System header to define __stub macros and hopefully few prototypes,
33276     which can conflict with char $ac_func (); below.
33277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33278     <limits.h> exists even on freestanding compilers.  */
33279 #ifdef __STDC__
33280 # include <limits.h>
33281 #else
33282 # include <assert.h>
33283 #endif
33284 /* Override any gcc2 internal prototype to avoid an error.  */
33285 #ifdef __cplusplus
33286 extern "C"
33287 {
33288 #endif
33289 /* We use char because int might match the return type of a gcc2
33290    builtin and then its argument prototype would still apply.  */
33291 char $ac_func ();
33292 /* The GNU C library defines this for functions which it implements
33293     to always fail with ENOSYS.  Some functions are actually named
33294     something starting with __ and the normal name is an alias.  */
33295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33296 choke me
33297 #else
33298 char (*f) () = $ac_func;
33299 #endif
33300 #ifdef __cplusplus
33301 }
33302 #endif
33303
33304 int
33305 main ()
33306 {
33307 return f != $ac_func;
33308   ;
33309   return 0;
33310 }
33311 _ACEOF
33312 rm -f conftest.$ac_objext conftest$ac_exeext
33313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33314   (eval $ac_link) 2>&5
33315   ac_status=$?
33316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317   (exit $ac_status); } &&
33318          { ac_try='test -s conftest$ac_exeext'
33319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320   (eval $ac_try) 2>&5
33321   ac_status=$?
33322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323   (exit $ac_status); }; }; then
33324   eval "$as_ac_var=yes"
33325 else
33326   echo "$as_me: failed program was:" >&5
33327 sed 's/^/| /' conftest.$ac_ext >&5
33328
33329 eval "$as_ac_var=no"
33330 fi
33331 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33332 fi
33333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33335 if test `eval echo '${'$as_ac_var'}'` = yes; then
33336   cat >>confdefs.h <<_ACEOF
33337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33338 _ACEOF
33339
33340 fi
33341 done
33342
33343     fi
33344   fi
33345
33346
33347
33348   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33349 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33350   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33351     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33352   echo $ECHO_N "(cached) $ECHO_C" >&6
33353 else
33354
33355
33356
33357       ac_ext=cc
33358 ac_cpp='$CXXCPP $CPPFLAGS'
33359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33362
33363       cat >conftest.$ac_ext <<_ACEOF
33364 #line $LINENO "configure"
33365 /* confdefs.h.  */
33366 _ACEOF
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h.  */
33370 #include <math.h>
33371 int
33372 main ()
33373 {
33374  ldexpf(0, 0);
33375   ;
33376   return 0;
33377 }
33378 _ACEOF
33379 rm -f conftest.$ac_objext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33381   (eval $ac_compile) 2>&5
33382   ac_status=$?
33383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384   (exit $ac_status); } &&
33385          { ac_try='test -s conftest.$ac_objext'
33386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387   (eval $ac_try) 2>&5
33388   ac_status=$?
33389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390   (exit $ac_status); }; }; then
33391   glibcxx_cv_func_ldexpf_use=yes
33392 else
33393   echo "$as_me: failed program was:" >&5
33394 sed 's/^/| /' conftest.$ac_ext >&5
33395
33396 glibcxx_cv_func_ldexpf_use=no
33397 fi
33398 rm -f conftest.$ac_objext conftest.$ac_ext
33399       ac_ext=c
33400 ac_cpp='$CPP $CPPFLAGS'
33401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33404
33405
33406 fi
33407
33408   fi
33409   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33410 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33411
33412   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33413
33414 for ac_func in ldexpf
33415 do
33416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33417 echo "$as_me:$LINENO: checking for $ac_func" >&5
33418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33419 if eval "test \"\${$as_ac_var+set}\" = set"; then
33420   echo $ECHO_N "(cached) $ECHO_C" >&6
33421 else
33422   if test x$gcc_no_link = xyes; then
33423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33425    { (exit 1); exit 1; }; }
33426 fi
33427 cat >conftest.$ac_ext <<_ACEOF
33428 #line $LINENO "configure"
33429 /* confdefs.h.  */
33430 _ACEOF
33431 cat confdefs.h >>conftest.$ac_ext
33432 cat >>conftest.$ac_ext <<_ACEOF
33433 /* end confdefs.h.  */
33434 /* System header to define __stub macros and hopefully few prototypes,
33435     which can conflict with char $ac_func (); below.
33436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33437     <limits.h> exists even on freestanding compilers.  */
33438 #ifdef __STDC__
33439 # include <limits.h>
33440 #else
33441 # include <assert.h>
33442 #endif
33443 /* Override any gcc2 internal prototype to avoid an error.  */
33444 #ifdef __cplusplus
33445 extern "C"
33446 {
33447 #endif
33448 /* We use char because int might match the return type of a gcc2
33449    builtin and then its argument prototype would still apply.  */
33450 char $ac_func ();
33451 /* The GNU C library defines this for functions which it implements
33452     to always fail with ENOSYS.  Some functions are actually named
33453     something starting with __ and the normal name is an alias.  */
33454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33455 choke me
33456 #else
33457 char (*f) () = $ac_func;
33458 #endif
33459 #ifdef __cplusplus
33460 }
33461 #endif
33462
33463 int
33464 main ()
33465 {
33466 return f != $ac_func;
33467   ;
33468   return 0;
33469 }
33470 _ACEOF
33471 rm -f conftest.$ac_objext conftest$ac_exeext
33472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33473   (eval $ac_link) 2>&5
33474   ac_status=$?
33475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476   (exit $ac_status); } &&
33477          { ac_try='test -s conftest$ac_exeext'
33478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33479   (eval $ac_try) 2>&5
33480   ac_status=$?
33481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33482   (exit $ac_status); }; }; then
33483   eval "$as_ac_var=yes"
33484 else
33485   echo "$as_me: failed program was:" >&5
33486 sed 's/^/| /' conftest.$ac_ext >&5
33487
33488 eval "$as_ac_var=no"
33489 fi
33490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33491 fi
33492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33494 if test `eval echo '${'$as_ac_var'}'` = yes; then
33495   cat >>confdefs.h <<_ACEOF
33496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33497 _ACEOF
33498
33499 fi
33500 done
33501
33502   else
33503
33504   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33505 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33506   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33507     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33508   echo $ECHO_N "(cached) $ECHO_C" >&6
33509 else
33510
33511
33512
33513       ac_ext=cc
33514 ac_cpp='$CXXCPP $CPPFLAGS'
33515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518
33519       cat >conftest.$ac_ext <<_ACEOF
33520 #line $LINENO "configure"
33521 /* confdefs.h.  */
33522 _ACEOF
33523 cat confdefs.h >>conftest.$ac_ext
33524 cat >>conftest.$ac_ext <<_ACEOF
33525 /* end confdefs.h.  */
33526 #include <math.h>
33527 int
33528 main ()
33529 {
33530  _ldexpf(0, 0);
33531   ;
33532   return 0;
33533 }
33534 _ACEOF
33535 rm -f conftest.$ac_objext
33536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33537   (eval $ac_compile) 2>&5
33538   ac_status=$?
33539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540   (exit $ac_status); } &&
33541          { ac_try='test -s conftest.$ac_objext'
33542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543   (eval $ac_try) 2>&5
33544   ac_status=$?
33545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546   (exit $ac_status); }; }; then
33547   glibcxx_cv_func__ldexpf_use=yes
33548 else
33549   echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 glibcxx_cv_func__ldexpf_use=no
33553 fi
33554 rm -f conftest.$ac_objext conftest.$ac_ext
33555       ac_ext=c
33556 ac_cpp='$CPP $CPPFLAGS'
33557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33560
33561
33562 fi
33563
33564   fi
33565   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33566 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33567
33568     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33569
33570 for ac_func in _ldexpf
33571 do
33572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33573 echo "$as_me:$LINENO: checking for $ac_func" >&5
33574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33575 if eval "test \"\${$as_ac_var+set}\" = set"; then
33576   echo $ECHO_N "(cached) $ECHO_C" >&6
33577 else
33578   if test x$gcc_no_link = xyes; then
33579   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33581    { (exit 1); exit 1; }; }
33582 fi
33583 cat >conftest.$ac_ext <<_ACEOF
33584 #line $LINENO "configure"
33585 /* confdefs.h.  */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h.  */
33590 /* System header to define __stub macros and hopefully few prototypes,
33591     which can conflict with char $ac_func (); below.
33592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33593     <limits.h> exists even on freestanding compilers.  */
33594 #ifdef __STDC__
33595 # include <limits.h>
33596 #else
33597 # include <assert.h>
33598 #endif
33599 /* Override any gcc2 internal prototype to avoid an error.  */
33600 #ifdef __cplusplus
33601 extern "C"
33602 {
33603 #endif
33604 /* We use char because int might match the return type of a gcc2
33605    builtin and then its argument prototype would still apply.  */
33606 char $ac_func ();
33607 /* The GNU C library defines this for functions which it implements
33608     to always fail with ENOSYS.  Some functions are actually named
33609     something starting with __ and the normal name is an alias.  */
33610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33611 choke me
33612 #else
33613 char (*f) () = $ac_func;
33614 #endif
33615 #ifdef __cplusplus
33616 }
33617 #endif
33618
33619 int
33620 main ()
33621 {
33622 return f != $ac_func;
33623   ;
33624   return 0;
33625 }
33626 _ACEOF
33627 rm -f conftest.$ac_objext conftest$ac_exeext
33628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33629   (eval $ac_link) 2>&5
33630   ac_status=$?
33631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632   (exit $ac_status); } &&
33633          { ac_try='test -s conftest$ac_exeext'
33634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33635   (eval $ac_try) 2>&5
33636   ac_status=$?
33637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638   (exit $ac_status); }; }; then
33639   eval "$as_ac_var=yes"
33640 else
33641   echo "$as_me: failed program was:" >&5
33642 sed 's/^/| /' conftest.$ac_ext >&5
33643
33644 eval "$as_ac_var=no"
33645 fi
33646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33647 fi
33648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33650 if test `eval echo '${'$as_ac_var'}'` = yes; then
33651   cat >>confdefs.h <<_ACEOF
33652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33653 _ACEOF
33654
33655 fi
33656 done
33657
33658     fi
33659   fi
33660
33661
33662
33663   echo "$as_me:$LINENO: checking for logf declaration" >&5
33664 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33665   if test x${glibcxx_cv_func_logf_use+set} != xset; then
33666     if test "${glibcxx_cv_func_logf_use+set}" = set; then
33667   echo $ECHO_N "(cached) $ECHO_C" >&6
33668 else
33669
33670
33671
33672       ac_ext=cc
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33677
33678       cat >conftest.$ac_ext <<_ACEOF
33679 #line $LINENO "configure"
33680 /* confdefs.h.  */
33681 _ACEOF
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h.  */
33685 #include <math.h>
33686                       #ifdef HAVE_IEEEFP_H
33687                       #include <ieeefp.h>
33688                       #endif
33689
33690 int
33691 main ()
33692 {
33693  logf(0);
33694   ;
33695   return 0;
33696 }
33697 _ACEOF
33698 rm -f conftest.$ac_objext
33699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33700   (eval $ac_compile) 2>&5
33701   ac_status=$?
33702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703   (exit $ac_status); } &&
33704          { ac_try='test -s conftest.$ac_objext'
33705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33706   (eval $ac_try) 2>&5
33707   ac_status=$?
33708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709   (exit $ac_status); }; }; then
33710   glibcxx_cv_func_logf_use=yes
33711 else
33712   echo "$as_me: failed program was:" >&5
33713 sed 's/^/| /' conftest.$ac_ext >&5
33714
33715 glibcxx_cv_func_logf_use=no
33716 fi
33717 rm -f conftest.$ac_objext conftest.$ac_ext
33718       ac_ext=c
33719 ac_cpp='$CPP $CPPFLAGS'
33720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33723
33724
33725 fi
33726
33727   fi
33728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33729 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33730
33731   if test x$glibcxx_cv_func_logf_use = x"yes"; then
33732
33733 for ac_func in logf
33734 do
33735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33736 echo "$as_me:$LINENO: checking for $ac_func" >&5
33737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33738 if eval "test \"\${$as_ac_var+set}\" = set"; then
33739   echo $ECHO_N "(cached) $ECHO_C" >&6
33740 else
33741   if test x$gcc_no_link = xyes; then
33742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33744    { (exit 1); exit 1; }; }
33745 fi
33746 cat >conftest.$ac_ext <<_ACEOF
33747 #line $LINENO "configure"
33748 /* confdefs.h.  */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h.  */
33753 /* System header to define __stub macros and hopefully few prototypes,
33754     which can conflict with char $ac_func (); below.
33755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33756     <limits.h> exists even on freestanding compilers.  */
33757 #ifdef __STDC__
33758 # include <limits.h>
33759 #else
33760 # include <assert.h>
33761 #endif
33762 /* Override any gcc2 internal prototype to avoid an error.  */
33763 #ifdef __cplusplus
33764 extern "C"
33765 {
33766 #endif
33767 /* We use char because int might match the return type of a gcc2
33768    builtin and then its argument prototype would still apply.  */
33769 char $ac_func ();
33770 /* The GNU C library defines this for functions which it implements
33771     to always fail with ENOSYS.  Some functions are actually named
33772     something starting with __ and the normal name is an alias.  */
33773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33774 choke me
33775 #else
33776 char (*f) () = $ac_func;
33777 #endif
33778 #ifdef __cplusplus
33779 }
33780 #endif
33781
33782 int
33783 main ()
33784 {
33785 return f != $ac_func;
33786   ;
33787   return 0;
33788 }
33789 _ACEOF
33790 rm -f conftest.$ac_objext conftest$ac_exeext
33791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33792   (eval $ac_link) 2>&5
33793   ac_status=$?
33794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795   (exit $ac_status); } &&
33796          { ac_try='test -s conftest$ac_exeext'
33797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798   (eval $ac_try) 2>&5
33799   ac_status=$?
33800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801   (exit $ac_status); }; }; then
33802   eval "$as_ac_var=yes"
33803 else
33804   echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33806
33807 eval "$as_ac_var=no"
33808 fi
33809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33810 fi
33811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33813 if test `eval echo '${'$as_ac_var'}'` = yes; then
33814   cat >>confdefs.h <<_ACEOF
33815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33816 _ACEOF
33817
33818 fi
33819 done
33820
33821   else
33822
33823   echo "$as_me:$LINENO: checking for _logf declaration" >&5
33824 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33825   if test x${glibcxx_cv_func__logf_use+set} != xset; then
33826     if test "${glibcxx_cv_func__logf_use+set}" = set; then
33827   echo $ECHO_N "(cached) $ECHO_C" >&6
33828 else
33829
33830
33831
33832       ac_ext=cc
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837
33838       cat >conftest.$ac_ext <<_ACEOF
33839 #line $LINENO "configure"
33840 /* confdefs.h.  */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h.  */
33845 #include <math.h>
33846                       #ifdef HAVE_IEEEFP_H
33847                       #include <ieeefp.h>
33848                       #endif
33849
33850 int
33851 main ()
33852 {
33853  _logf(0);
33854   ;
33855   return 0;
33856 }
33857 _ACEOF
33858 rm -f conftest.$ac_objext
33859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33860   (eval $ac_compile) 2>&5
33861   ac_status=$?
33862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863   (exit $ac_status); } &&
33864          { ac_try='test -s conftest.$ac_objext'
33865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866   (eval $ac_try) 2>&5
33867   ac_status=$?
33868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869   (exit $ac_status); }; }; then
33870   glibcxx_cv_func__logf_use=yes
33871 else
33872   echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33874
33875 glibcxx_cv_func__logf_use=no
33876 fi
33877 rm -f conftest.$ac_objext conftest.$ac_ext
33878       ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883
33884
33885 fi
33886
33887   fi
33888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
33889 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
33890
33891     if test x$glibcxx_cv_func__logf_use = x"yes"; then
33892
33893 for ac_func in _logf
33894 do
33895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33896 echo "$as_me:$LINENO: checking for $ac_func" >&5
33897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33898 if eval "test \"\${$as_ac_var+set}\" = set"; then
33899   echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901   if test x$gcc_no_link = xyes; then
33902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33904    { (exit 1); exit 1; }; }
33905 fi
33906 cat >conftest.$ac_ext <<_ACEOF
33907 #line $LINENO "configure"
33908 /* confdefs.h.  */
33909 _ACEOF
33910 cat confdefs.h >>conftest.$ac_ext
33911 cat >>conftest.$ac_ext <<_ACEOF
33912 /* end confdefs.h.  */
33913 /* System header to define __stub macros and hopefully few prototypes,
33914     which can conflict with char $ac_func (); below.
33915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33916     <limits.h> exists even on freestanding compilers.  */
33917 #ifdef __STDC__
33918 # include <limits.h>
33919 #else
33920 # include <assert.h>
33921 #endif
33922 /* Override any gcc2 internal prototype to avoid an error.  */
33923 #ifdef __cplusplus
33924 extern "C"
33925 {
33926 #endif
33927 /* We use char because int might match the return type of a gcc2
33928    builtin and then its argument prototype would still apply.  */
33929 char $ac_func ();
33930 /* The GNU C library defines this for functions which it implements
33931     to always fail with ENOSYS.  Some functions are actually named
33932     something starting with __ and the normal name is an alias.  */
33933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33934 choke me
33935 #else
33936 char (*f) () = $ac_func;
33937 #endif
33938 #ifdef __cplusplus
33939 }
33940 #endif
33941
33942 int
33943 main ()
33944 {
33945 return f != $ac_func;
33946   ;
33947   return 0;
33948 }
33949 _ACEOF
33950 rm -f conftest.$ac_objext conftest$ac_exeext
33951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33952   (eval $ac_link) 2>&5
33953   ac_status=$?
33954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955   (exit $ac_status); } &&
33956          { ac_try='test -s conftest$ac_exeext'
33957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958   (eval $ac_try) 2>&5
33959   ac_status=$?
33960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961   (exit $ac_status); }; }; then
33962   eval "$as_ac_var=yes"
33963 else
33964   echo "$as_me: failed program was:" >&5
33965 sed 's/^/| /' conftest.$ac_ext >&5
33966
33967 eval "$as_ac_var=no"
33968 fi
33969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33970 fi
33971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33973 if test `eval echo '${'$as_ac_var'}'` = yes; then
33974   cat >>confdefs.h <<_ACEOF
33975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33976 _ACEOF
33977
33978 fi
33979 done
33980
33981     fi
33982   fi
33983
33984
33985
33986   echo "$as_me:$LINENO: checking for log10f declaration" >&5
33987 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33988   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33989     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33990   echo $ECHO_N "(cached) $ECHO_C" >&6
33991 else
33992
33993
33994
33995       ac_ext=cc
33996 ac_cpp='$CXXCPP $CPPFLAGS'
33997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34000
34001       cat >conftest.$ac_ext <<_ACEOF
34002 #line $LINENO "configure"
34003 /* confdefs.h.  */
34004 _ACEOF
34005 cat confdefs.h >>conftest.$ac_ext
34006 cat >>conftest.$ac_ext <<_ACEOF
34007 /* end confdefs.h.  */
34008 #include <math.h>
34009                       #ifdef HAVE_IEEEFP_H
34010                       #include <ieeefp.h>
34011                       #endif
34012
34013 int
34014 main ()
34015 {
34016  log10f(0);
34017   ;
34018   return 0;
34019 }
34020 _ACEOF
34021 rm -f conftest.$ac_objext
34022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34023   (eval $ac_compile) 2>&5
34024   ac_status=$?
34025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026   (exit $ac_status); } &&
34027          { ac_try='test -s conftest.$ac_objext'
34028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34029   (eval $ac_try) 2>&5
34030   ac_status=$?
34031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032   (exit $ac_status); }; }; then
34033   glibcxx_cv_func_log10f_use=yes
34034 else
34035   echo "$as_me: failed program was:" >&5
34036 sed 's/^/| /' conftest.$ac_ext >&5
34037
34038 glibcxx_cv_func_log10f_use=no
34039 fi
34040 rm -f conftest.$ac_objext conftest.$ac_ext
34041       ac_ext=c
34042 ac_cpp='$CPP $CPPFLAGS'
34043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34046
34047
34048 fi
34049
34050   fi
34051   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
34052 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
34053
34054   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34055
34056 for ac_func in log10f
34057 do
34058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34059 echo "$as_me:$LINENO: checking for $ac_func" >&5
34060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34061 if eval "test \"\${$as_ac_var+set}\" = set"; then
34062   echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064   if test x$gcc_no_link = xyes; then
34065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34067    { (exit 1); exit 1; }; }
34068 fi
34069 cat >conftest.$ac_ext <<_ACEOF
34070 #line $LINENO "configure"
34071 /* confdefs.h.  */
34072 _ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h.  */
34076 /* System header to define __stub macros and hopefully few prototypes,
34077     which can conflict with char $ac_func (); below.
34078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34079     <limits.h> exists even on freestanding compilers.  */
34080 #ifdef __STDC__
34081 # include <limits.h>
34082 #else
34083 # include <assert.h>
34084 #endif
34085 /* Override any gcc2 internal prototype to avoid an error.  */
34086 #ifdef __cplusplus
34087 extern "C"
34088 {
34089 #endif
34090 /* We use char because int might match the return type of a gcc2
34091    builtin and then its argument prototype would still apply.  */
34092 char $ac_func ();
34093 /* The GNU C library defines this for functions which it implements
34094     to always fail with ENOSYS.  Some functions are actually named
34095     something starting with __ and the normal name is an alias.  */
34096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34097 choke me
34098 #else
34099 char (*f) () = $ac_func;
34100 #endif
34101 #ifdef __cplusplus
34102 }
34103 #endif
34104
34105 int
34106 main ()
34107 {
34108 return f != $ac_func;
34109   ;
34110   return 0;
34111 }
34112 _ACEOF
34113 rm -f conftest.$ac_objext conftest$ac_exeext
34114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34115   (eval $ac_link) 2>&5
34116   ac_status=$?
34117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118   (exit $ac_status); } &&
34119          { ac_try='test -s conftest$ac_exeext'
34120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121   (eval $ac_try) 2>&5
34122   ac_status=$?
34123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124   (exit $ac_status); }; }; then
34125   eval "$as_ac_var=yes"
34126 else
34127   echo "$as_me: failed program was:" >&5
34128 sed 's/^/| /' conftest.$ac_ext >&5
34129
34130 eval "$as_ac_var=no"
34131 fi
34132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34133 fi
34134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34136 if test `eval echo '${'$as_ac_var'}'` = yes; then
34137   cat >>confdefs.h <<_ACEOF
34138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34139 _ACEOF
34140
34141 fi
34142 done
34143
34144   else
34145
34146   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34147 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34148   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34149     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34150   echo $ECHO_N "(cached) $ECHO_C" >&6
34151 else
34152
34153
34154
34155       ac_ext=cc
34156 ac_cpp='$CXXCPP $CPPFLAGS'
34157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34160
34161       cat >conftest.$ac_ext <<_ACEOF
34162 #line $LINENO "configure"
34163 /* confdefs.h.  */
34164 _ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h.  */
34168 #include <math.h>
34169                       #ifdef HAVE_IEEEFP_H
34170                       #include <ieeefp.h>
34171                       #endif
34172
34173 int
34174 main ()
34175 {
34176  _log10f(0);
34177   ;
34178   return 0;
34179 }
34180 _ACEOF
34181 rm -f conftest.$ac_objext
34182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34183   (eval $ac_compile) 2>&5
34184   ac_status=$?
34185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186   (exit $ac_status); } &&
34187          { ac_try='test -s conftest.$ac_objext'
34188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34189   (eval $ac_try) 2>&5
34190   ac_status=$?
34191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192   (exit $ac_status); }; }; then
34193   glibcxx_cv_func__log10f_use=yes
34194 else
34195   echo "$as_me: failed program was:" >&5
34196 sed 's/^/| /' conftest.$ac_ext >&5
34197
34198 glibcxx_cv_func__log10f_use=no
34199 fi
34200 rm -f conftest.$ac_objext conftest.$ac_ext
34201       ac_ext=c
34202 ac_cpp='$CPP $CPPFLAGS'
34203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34206
34207
34208 fi
34209
34210   fi
34211   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34212 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34213
34214     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34215
34216 for ac_func in _log10f
34217 do
34218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34219 echo "$as_me:$LINENO: checking for $ac_func" >&5
34220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34221 if eval "test \"\${$as_ac_var+set}\" = set"; then
34222   echo $ECHO_N "(cached) $ECHO_C" >&6
34223 else
34224   if test x$gcc_no_link = xyes; then
34225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34227    { (exit 1); exit 1; }; }
34228 fi
34229 cat >conftest.$ac_ext <<_ACEOF
34230 #line $LINENO "configure"
34231 /* confdefs.h.  */
34232 _ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h.  */
34236 /* System header to define __stub macros and hopefully few prototypes,
34237     which can conflict with char $ac_func (); below.
34238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34239     <limits.h> exists even on freestanding compilers.  */
34240 #ifdef __STDC__
34241 # include <limits.h>
34242 #else
34243 # include <assert.h>
34244 #endif
34245 /* Override any gcc2 internal prototype to avoid an error.  */
34246 #ifdef __cplusplus
34247 extern "C"
34248 {
34249 #endif
34250 /* We use char because int might match the return type of a gcc2
34251    builtin and then its argument prototype would still apply.  */
34252 char $ac_func ();
34253 /* The GNU C library defines this for functions which it implements
34254     to always fail with ENOSYS.  Some functions are actually named
34255     something starting with __ and the normal name is an alias.  */
34256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34257 choke me
34258 #else
34259 char (*f) () = $ac_func;
34260 #endif
34261 #ifdef __cplusplus
34262 }
34263 #endif
34264
34265 int
34266 main ()
34267 {
34268 return f != $ac_func;
34269   ;
34270   return 0;
34271 }
34272 _ACEOF
34273 rm -f conftest.$ac_objext conftest$ac_exeext
34274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34275   (eval $ac_link) 2>&5
34276   ac_status=$?
34277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34278   (exit $ac_status); } &&
34279          { ac_try='test -s conftest$ac_exeext'
34280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281   (eval $ac_try) 2>&5
34282   ac_status=$?
34283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284   (exit $ac_status); }; }; then
34285   eval "$as_ac_var=yes"
34286 else
34287   echo "$as_me: failed program was:" >&5
34288 sed 's/^/| /' conftest.$ac_ext >&5
34289
34290 eval "$as_ac_var=no"
34291 fi
34292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34293 fi
34294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34296 if test `eval echo '${'$as_ac_var'}'` = yes; then
34297   cat >>confdefs.h <<_ACEOF
34298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34299 _ACEOF
34300
34301 fi
34302 done
34303
34304     fi
34305   fi
34306
34307
34308
34309   echo "$as_me:$LINENO: checking for modff declaration" >&5
34310 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34311   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34312     if test "${glibcxx_cv_func_modff_use+set}" = set; then
34313   echo $ECHO_N "(cached) $ECHO_C" >&6
34314 else
34315
34316
34317
34318       ac_ext=cc
34319 ac_cpp='$CXXCPP $CPPFLAGS'
34320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323
34324       cat >conftest.$ac_ext <<_ACEOF
34325 #line $LINENO "configure"
34326 /* confdefs.h.  */
34327 _ACEOF
34328 cat confdefs.h >>conftest.$ac_ext
34329 cat >>conftest.$ac_ext <<_ACEOF
34330 /* end confdefs.h.  */
34331 #include <math.h>
34332 int
34333 main ()
34334 {
34335  modff(0, 0);
34336   ;
34337   return 0;
34338 }
34339 _ACEOF
34340 rm -f conftest.$ac_objext
34341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34342   (eval $ac_compile) 2>&5
34343   ac_status=$?
34344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345   (exit $ac_status); } &&
34346          { ac_try='test -s conftest.$ac_objext'
34347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348   (eval $ac_try) 2>&5
34349   ac_status=$?
34350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351   (exit $ac_status); }; }; then
34352   glibcxx_cv_func_modff_use=yes
34353 else
34354   echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.$ac_ext >&5
34356
34357 glibcxx_cv_func_modff_use=no
34358 fi
34359 rm -f conftest.$ac_objext conftest.$ac_ext
34360       ac_ext=c
34361 ac_cpp='$CPP $CPPFLAGS'
34362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34365
34366
34367 fi
34368
34369   fi
34370   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34371 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34372
34373   if test x$glibcxx_cv_func_modff_use = x"yes"; then
34374
34375 for ac_func in modff
34376 do
34377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34378 echo "$as_me:$LINENO: checking for $ac_func" >&5
34379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34380 if eval "test \"\${$as_ac_var+set}\" = set"; then
34381   echo $ECHO_N "(cached) $ECHO_C" >&6
34382 else
34383   if test x$gcc_no_link = xyes; then
34384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34386    { (exit 1); exit 1; }; }
34387 fi
34388 cat >conftest.$ac_ext <<_ACEOF
34389 #line $LINENO "configure"
34390 /* confdefs.h.  */
34391 _ACEOF
34392 cat confdefs.h >>conftest.$ac_ext
34393 cat >>conftest.$ac_ext <<_ACEOF
34394 /* end confdefs.h.  */
34395 /* System header to define __stub macros and hopefully few prototypes,
34396     which can conflict with char $ac_func (); below.
34397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34398     <limits.h> exists even on freestanding compilers.  */
34399 #ifdef __STDC__
34400 # include <limits.h>
34401 #else
34402 # include <assert.h>
34403 #endif
34404 /* Override any gcc2 internal prototype to avoid an error.  */
34405 #ifdef __cplusplus
34406 extern "C"
34407 {
34408 #endif
34409 /* We use char because int might match the return type of a gcc2
34410    builtin and then its argument prototype would still apply.  */
34411 char $ac_func ();
34412 /* The GNU C library defines this for functions which it implements
34413     to always fail with ENOSYS.  Some functions are actually named
34414     something starting with __ and the normal name is an alias.  */
34415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34416 choke me
34417 #else
34418 char (*f) () = $ac_func;
34419 #endif
34420 #ifdef __cplusplus
34421 }
34422 #endif
34423
34424 int
34425 main ()
34426 {
34427 return f != $ac_func;
34428   ;
34429   return 0;
34430 }
34431 _ACEOF
34432 rm -f conftest.$ac_objext conftest$ac_exeext
34433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34434   (eval $ac_link) 2>&5
34435   ac_status=$?
34436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437   (exit $ac_status); } &&
34438          { ac_try='test -s conftest$ac_exeext'
34439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440   (eval $ac_try) 2>&5
34441   ac_status=$?
34442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443   (exit $ac_status); }; }; then
34444   eval "$as_ac_var=yes"
34445 else
34446   echo "$as_me: failed program was:" >&5
34447 sed 's/^/| /' conftest.$ac_ext >&5
34448
34449 eval "$as_ac_var=no"
34450 fi
34451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34452 fi
34453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34455 if test `eval echo '${'$as_ac_var'}'` = yes; then
34456   cat >>confdefs.h <<_ACEOF
34457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34458 _ACEOF
34459
34460 fi
34461 done
34462
34463   else
34464
34465   echo "$as_me:$LINENO: checking for _modff declaration" >&5
34466 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34467   if test x${glibcxx_cv_func__modff_use+set} != xset; then
34468     if test "${glibcxx_cv_func__modff_use+set}" = set; then
34469   echo $ECHO_N "(cached) $ECHO_C" >&6
34470 else
34471
34472
34473
34474       ac_ext=cc
34475 ac_cpp='$CXXCPP $CPPFLAGS'
34476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34479
34480       cat >conftest.$ac_ext <<_ACEOF
34481 #line $LINENO "configure"
34482 /* confdefs.h.  */
34483 _ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h.  */
34487 #include <math.h>
34488 int
34489 main ()
34490 {
34491  _modff(0, 0);
34492   ;
34493   return 0;
34494 }
34495 _ACEOF
34496 rm -f conftest.$ac_objext
34497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34498   (eval $ac_compile) 2>&5
34499   ac_status=$?
34500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34501   (exit $ac_status); } &&
34502          { ac_try='test -s conftest.$ac_objext'
34503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34504   (eval $ac_try) 2>&5
34505   ac_status=$?
34506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34507   (exit $ac_status); }; }; then
34508   glibcxx_cv_func__modff_use=yes
34509 else
34510   echo "$as_me: failed program was:" >&5
34511 sed 's/^/| /' conftest.$ac_ext >&5
34512
34513 glibcxx_cv_func__modff_use=no
34514 fi
34515 rm -f conftest.$ac_objext conftest.$ac_ext
34516       ac_ext=c
34517 ac_cpp='$CPP $CPPFLAGS'
34518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34521
34522
34523 fi
34524
34525   fi
34526   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34527 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34528
34529     if test x$glibcxx_cv_func__modff_use = x"yes"; then
34530
34531 for ac_func in _modff
34532 do
34533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34534 echo "$as_me:$LINENO: checking for $ac_func" >&5
34535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34536 if eval "test \"\${$as_ac_var+set}\" = set"; then
34537   echo $ECHO_N "(cached) $ECHO_C" >&6
34538 else
34539   if test x$gcc_no_link = xyes; then
34540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34542    { (exit 1); exit 1; }; }
34543 fi
34544 cat >conftest.$ac_ext <<_ACEOF
34545 #line $LINENO "configure"
34546 /* confdefs.h.  */
34547 _ACEOF
34548 cat confdefs.h >>conftest.$ac_ext
34549 cat >>conftest.$ac_ext <<_ACEOF
34550 /* end confdefs.h.  */
34551 /* System header to define __stub macros and hopefully few prototypes,
34552     which can conflict with char $ac_func (); below.
34553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34554     <limits.h> exists even on freestanding compilers.  */
34555 #ifdef __STDC__
34556 # include <limits.h>
34557 #else
34558 # include <assert.h>
34559 #endif
34560 /* Override any gcc2 internal prototype to avoid an error.  */
34561 #ifdef __cplusplus
34562 extern "C"
34563 {
34564 #endif
34565 /* We use char because int might match the return type of a gcc2
34566    builtin and then its argument prototype would still apply.  */
34567 char $ac_func ();
34568 /* The GNU C library defines this for functions which it implements
34569     to always fail with ENOSYS.  Some functions are actually named
34570     something starting with __ and the normal name is an alias.  */
34571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34572 choke me
34573 #else
34574 char (*f) () = $ac_func;
34575 #endif
34576 #ifdef __cplusplus
34577 }
34578 #endif
34579
34580 int
34581 main ()
34582 {
34583 return f != $ac_func;
34584   ;
34585   return 0;
34586 }
34587 _ACEOF
34588 rm -f conftest.$ac_objext conftest$ac_exeext
34589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34590   (eval $ac_link) 2>&5
34591   ac_status=$?
34592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593   (exit $ac_status); } &&
34594          { ac_try='test -s conftest$ac_exeext'
34595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34596   (eval $ac_try) 2>&5
34597   ac_status=$?
34598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599   (exit $ac_status); }; }; then
34600   eval "$as_ac_var=yes"
34601 else
34602   echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 eval "$as_ac_var=no"
34606 fi
34607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34608 fi
34609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34611 if test `eval echo '${'$as_ac_var'}'` = yes; then
34612   cat >>confdefs.h <<_ACEOF
34613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34614 _ACEOF
34615
34616 fi
34617 done
34618
34619     fi
34620   fi
34621
34622
34623
34624   echo "$as_me:$LINENO: checking for powf declaration" >&5
34625 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34626   if test x${glibcxx_cv_func_powf_use+set} != xset; then
34627     if test "${glibcxx_cv_func_powf_use+set}" = set; then
34628   echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630
34631
34632
34633       ac_ext=cc
34634 ac_cpp='$CXXCPP $CPPFLAGS'
34635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638
34639       cat >conftest.$ac_ext <<_ACEOF
34640 #line $LINENO "configure"
34641 /* confdefs.h.  */
34642 _ACEOF
34643 cat confdefs.h >>conftest.$ac_ext
34644 cat >>conftest.$ac_ext <<_ACEOF
34645 /* end confdefs.h.  */
34646 #include <math.h>
34647 int
34648 main ()
34649 {
34650  powf(0, 0);
34651   ;
34652   return 0;
34653 }
34654 _ACEOF
34655 rm -f conftest.$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657   (eval $ac_compile) 2>&5
34658   ac_status=$?
34659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660   (exit $ac_status); } &&
34661          { ac_try='test -s conftest.$ac_objext'
34662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663   (eval $ac_try) 2>&5
34664   ac_status=$?
34665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666   (exit $ac_status); }; }; then
34667   glibcxx_cv_func_powf_use=yes
34668 else
34669   echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34671
34672 glibcxx_cv_func_powf_use=no
34673 fi
34674 rm -f conftest.$ac_objext conftest.$ac_ext
34675       ac_ext=c
34676 ac_cpp='$CPP $CPPFLAGS'
34677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34680
34681
34682 fi
34683
34684   fi
34685   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34686 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34687
34688   if test x$glibcxx_cv_func_powf_use = x"yes"; then
34689
34690 for ac_func in powf
34691 do
34692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34693 echo "$as_me:$LINENO: checking for $ac_func" >&5
34694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34695 if eval "test \"\${$as_ac_var+set}\" = set"; then
34696   echo $ECHO_N "(cached) $ECHO_C" >&6
34697 else
34698   if test x$gcc_no_link = xyes; then
34699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34701    { (exit 1); exit 1; }; }
34702 fi
34703 cat >conftest.$ac_ext <<_ACEOF
34704 #line $LINENO "configure"
34705 /* confdefs.h.  */
34706 _ACEOF
34707 cat confdefs.h >>conftest.$ac_ext
34708 cat >>conftest.$ac_ext <<_ACEOF
34709 /* end confdefs.h.  */
34710 /* System header to define __stub macros and hopefully few prototypes,
34711     which can conflict with char $ac_func (); below.
34712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34713     <limits.h> exists even on freestanding compilers.  */
34714 #ifdef __STDC__
34715 # include <limits.h>
34716 #else
34717 # include <assert.h>
34718 #endif
34719 /* Override any gcc2 internal prototype to avoid an error.  */
34720 #ifdef __cplusplus
34721 extern "C"
34722 {
34723 #endif
34724 /* We use char because int might match the return type of a gcc2
34725    builtin and then its argument prototype would still apply.  */
34726 char $ac_func ();
34727 /* The GNU C library defines this for functions which it implements
34728     to always fail with ENOSYS.  Some functions are actually named
34729     something starting with __ and the normal name is an alias.  */
34730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34731 choke me
34732 #else
34733 char (*f) () = $ac_func;
34734 #endif
34735 #ifdef __cplusplus
34736 }
34737 #endif
34738
34739 int
34740 main ()
34741 {
34742 return f != $ac_func;
34743   ;
34744   return 0;
34745 }
34746 _ACEOF
34747 rm -f conftest.$ac_objext conftest$ac_exeext
34748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34749   (eval $ac_link) 2>&5
34750   ac_status=$?
34751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752   (exit $ac_status); } &&
34753          { ac_try='test -s conftest$ac_exeext'
34754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755   (eval $ac_try) 2>&5
34756   ac_status=$?
34757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758   (exit $ac_status); }; }; then
34759   eval "$as_ac_var=yes"
34760 else
34761   echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.$ac_ext >&5
34763
34764 eval "$as_ac_var=no"
34765 fi
34766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34767 fi
34768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34770 if test `eval echo '${'$as_ac_var'}'` = yes; then
34771   cat >>confdefs.h <<_ACEOF
34772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34773 _ACEOF
34774
34775 fi
34776 done
34777
34778   else
34779
34780   echo "$as_me:$LINENO: checking for _powf declaration" >&5
34781 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34782   if test x${glibcxx_cv_func__powf_use+set} != xset; then
34783     if test "${glibcxx_cv_func__powf_use+set}" = set; then
34784   echo $ECHO_N "(cached) $ECHO_C" >&6
34785 else
34786
34787
34788
34789       ac_ext=cc
34790 ac_cpp='$CXXCPP $CPPFLAGS'
34791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34794
34795       cat >conftest.$ac_ext <<_ACEOF
34796 #line $LINENO "configure"
34797 /* confdefs.h.  */
34798 _ACEOF
34799 cat confdefs.h >>conftest.$ac_ext
34800 cat >>conftest.$ac_ext <<_ACEOF
34801 /* end confdefs.h.  */
34802 #include <math.h>
34803 int
34804 main ()
34805 {
34806  _powf(0, 0);
34807   ;
34808   return 0;
34809 }
34810 _ACEOF
34811 rm -f conftest.$ac_objext
34812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34813   (eval $ac_compile) 2>&5
34814   ac_status=$?
34815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816   (exit $ac_status); } &&
34817          { ac_try='test -s conftest.$ac_objext'
34818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819   (eval $ac_try) 2>&5
34820   ac_status=$?
34821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822   (exit $ac_status); }; }; then
34823   glibcxx_cv_func__powf_use=yes
34824 else
34825   echo "$as_me: failed program was:" >&5
34826 sed 's/^/| /' conftest.$ac_ext >&5
34827
34828 glibcxx_cv_func__powf_use=no
34829 fi
34830 rm -f conftest.$ac_objext conftest.$ac_ext
34831       ac_ext=c
34832 ac_cpp='$CPP $CPPFLAGS'
34833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34836
34837
34838 fi
34839
34840   fi
34841   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34842 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34843
34844     if test x$glibcxx_cv_func__powf_use = x"yes"; then
34845
34846 for ac_func in _powf
34847 do
34848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34849 echo "$as_me:$LINENO: checking for $ac_func" >&5
34850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34851 if eval "test \"\${$as_ac_var+set}\" = set"; then
34852   echo $ECHO_N "(cached) $ECHO_C" >&6
34853 else
34854   if test x$gcc_no_link = xyes; then
34855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34857    { (exit 1); exit 1; }; }
34858 fi
34859 cat >conftest.$ac_ext <<_ACEOF
34860 #line $LINENO "configure"
34861 /* confdefs.h.  */
34862 _ACEOF
34863 cat confdefs.h >>conftest.$ac_ext
34864 cat >>conftest.$ac_ext <<_ACEOF
34865 /* end confdefs.h.  */
34866 /* System header to define __stub macros and hopefully few prototypes,
34867     which can conflict with char $ac_func (); below.
34868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34869     <limits.h> exists even on freestanding compilers.  */
34870 #ifdef __STDC__
34871 # include <limits.h>
34872 #else
34873 # include <assert.h>
34874 #endif
34875 /* Override any gcc2 internal prototype to avoid an error.  */
34876 #ifdef __cplusplus
34877 extern "C"
34878 {
34879 #endif
34880 /* We use char because int might match the return type of a gcc2
34881    builtin and then its argument prototype would still apply.  */
34882 char $ac_func ();
34883 /* The GNU C library defines this for functions which it implements
34884     to always fail with ENOSYS.  Some functions are actually named
34885     something starting with __ and the normal name is an alias.  */
34886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34887 choke me
34888 #else
34889 char (*f) () = $ac_func;
34890 #endif
34891 #ifdef __cplusplus
34892 }
34893 #endif
34894
34895 int
34896 main ()
34897 {
34898 return f != $ac_func;
34899   ;
34900   return 0;
34901 }
34902 _ACEOF
34903 rm -f conftest.$ac_objext conftest$ac_exeext
34904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34905   (eval $ac_link) 2>&5
34906   ac_status=$?
34907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908   (exit $ac_status); } &&
34909          { ac_try='test -s conftest$ac_exeext'
34910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911   (eval $ac_try) 2>&5
34912   ac_status=$?
34913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914   (exit $ac_status); }; }; then
34915   eval "$as_ac_var=yes"
34916 else
34917   echo "$as_me: failed program was:" >&5
34918 sed 's/^/| /' conftest.$ac_ext >&5
34919
34920 eval "$as_ac_var=no"
34921 fi
34922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34923 fi
34924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34926 if test `eval echo '${'$as_ac_var'}'` = yes; then
34927   cat >>confdefs.h <<_ACEOF
34928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34929 _ACEOF
34930
34931 fi
34932 done
34933
34934     fi
34935   fi
34936
34937
34938
34939   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34940 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34941   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34942     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34943   echo $ECHO_N "(cached) $ECHO_C" >&6
34944 else
34945
34946
34947
34948       ac_ext=cc
34949 ac_cpp='$CXXCPP $CPPFLAGS'
34950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953
34954       cat >conftest.$ac_ext <<_ACEOF
34955 #line $LINENO "configure"
34956 /* confdefs.h.  */
34957 _ACEOF
34958 cat confdefs.h >>conftest.$ac_ext
34959 cat >>conftest.$ac_ext <<_ACEOF
34960 /* end confdefs.h.  */
34961 #include <math.h>
34962                       #ifdef HAVE_IEEEFP_H
34963                       #include <ieeefp.h>
34964                       #endif
34965
34966 int
34967 main ()
34968 {
34969  sqrtf(0);
34970   ;
34971   return 0;
34972 }
34973 _ACEOF
34974 rm -f conftest.$ac_objext
34975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34976   (eval $ac_compile) 2>&5
34977   ac_status=$?
34978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979   (exit $ac_status); } &&
34980          { ac_try='test -s conftest.$ac_objext'
34981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34982   (eval $ac_try) 2>&5
34983   ac_status=$?
34984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985   (exit $ac_status); }; }; then
34986   glibcxx_cv_func_sqrtf_use=yes
34987 else
34988   echo "$as_me: failed program was:" >&5
34989 sed 's/^/| /' conftest.$ac_ext >&5
34990
34991 glibcxx_cv_func_sqrtf_use=no
34992 fi
34993 rm -f conftest.$ac_objext conftest.$ac_ext
34994       ac_ext=c
34995 ac_cpp='$CPP $CPPFLAGS'
34996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999
35000
35001 fi
35002
35003   fi
35004   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
35005 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
35006
35007   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35008
35009 for ac_func in sqrtf
35010 do
35011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35012 echo "$as_me:$LINENO: checking for $ac_func" >&5
35013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35014 if eval "test \"\${$as_ac_var+set}\" = set"; then
35015   echo $ECHO_N "(cached) $ECHO_C" >&6
35016 else
35017   if test x$gcc_no_link = xyes; then
35018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35020    { (exit 1); exit 1; }; }
35021 fi
35022 cat >conftest.$ac_ext <<_ACEOF
35023 #line $LINENO "configure"
35024 /* confdefs.h.  */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h.  */
35029 /* System header to define __stub macros and hopefully few prototypes,
35030     which can conflict with char $ac_func (); below.
35031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35032     <limits.h> exists even on freestanding compilers.  */
35033 #ifdef __STDC__
35034 # include <limits.h>
35035 #else
35036 # include <assert.h>
35037 #endif
35038 /* Override any gcc2 internal prototype to avoid an error.  */
35039 #ifdef __cplusplus
35040 extern "C"
35041 {
35042 #endif
35043 /* We use char because int might match the return type of a gcc2
35044    builtin and then its argument prototype would still apply.  */
35045 char $ac_func ();
35046 /* The GNU C library defines this for functions which it implements
35047     to always fail with ENOSYS.  Some functions are actually named
35048     something starting with __ and the normal name is an alias.  */
35049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35050 choke me
35051 #else
35052 char (*f) () = $ac_func;
35053 #endif
35054 #ifdef __cplusplus
35055 }
35056 #endif
35057
35058 int
35059 main ()
35060 {
35061 return f != $ac_func;
35062   ;
35063   return 0;
35064 }
35065 _ACEOF
35066 rm -f conftest.$ac_objext conftest$ac_exeext
35067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35068   (eval $ac_link) 2>&5
35069   ac_status=$?
35070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071   (exit $ac_status); } &&
35072          { ac_try='test -s conftest$ac_exeext'
35073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35074   (eval $ac_try) 2>&5
35075   ac_status=$?
35076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077   (exit $ac_status); }; }; then
35078   eval "$as_ac_var=yes"
35079 else
35080   echo "$as_me: failed program was:" >&5
35081 sed 's/^/| /' conftest.$ac_ext >&5
35082
35083 eval "$as_ac_var=no"
35084 fi
35085 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35086 fi
35087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35089 if test `eval echo '${'$as_ac_var'}'` = yes; then
35090   cat >>confdefs.h <<_ACEOF
35091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35092 _ACEOF
35093
35094 fi
35095 done
35096
35097   else
35098
35099   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35100 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35101   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35102     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35103   echo $ECHO_N "(cached) $ECHO_C" >&6
35104 else
35105
35106
35107
35108       ac_ext=cc
35109 ac_cpp='$CXXCPP $CPPFLAGS'
35110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35113
35114       cat >conftest.$ac_ext <<_ACEOF
35115 #line $LINENO "configure"
35116 /* confdefs.h.  */
35117 _ACEOF
35118 cat confdefs.h >>conftest.$ac_ext
35119 cat >>conftest.$ac_ext <<_ACEOF
35120 /* end confdefs.h.  */
35121 #include <math.h>
35122                       #ifdef HAVE_IEEEFP_H
35123                       #include <ieeefp.h>
35124                       #endif
35125
35126 int
35127 main ()
35128 {
35129  _sqrtf(0);
35130   ;
35131   return 0;
35132 }
35133 _ACEOF
35134 rm -f conftest.$ac_objext
35135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35136   (eval $ac_compile) 2>&5
35137   ac_status=$?
35138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139   (exit $ac_status); } &&
35140          { ac_try='test -s conftest.$ac_objext'
35141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142   (eval $ac_try) 2>&5
35143   ac_status=$?
35144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145   (exit $ac_status); }; }; then
35146   glibcxx_cv_func__sqrtf_use=yes
35147 else
35148   echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.$ac_ext >&5
35150
35151 glibcxx_cv_func__sqrtf_use=no
35152 fi
35153 rm -f conftest.$ac_objext conftest.$ac_ext
35154       ac_ext=c
35155 ac_cpp='$CPP $CPPFLAGS'
35156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35159
35160
35161 fi
35162
35163   fi
35164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35165 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35166
35167     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35168
35169 for ac_func in _sqrtf
35170 do
35171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35172 echo "$as_me:$LINENO: checking for $ac_func" >&5
35173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35174 if eval "test \"\${$as_ac_var+set}\" = set"; then
35175   echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177   if test x$gcc_no_link = xyes; then
35178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35180    { (exit 1); exit 1; }; }
35181 fi
35182 cat >conftest.$ac_ext <<_ACEOF
35183 #line $LINENO "configure"
35184 /* confdefs.h.  */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h.  */
35189 /* System header to define __stub macros and hopefully few prototypes,
35190     which can conflict with char $ac_func (); below.
35191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35192     <limits.h> exists even on freestanding compilers.  */
35193 #ifdef __STDC__
35194 # include <limits.h>
35195 #else
35196 # include <assert.h>
35197 #endif
35198 /* Override any gcc2 internal prototype to avoid an error.  */
35199 #ifdef __cplusplus
35200 extern "C"
35201 {
35202 #endif
35203 /* We use char because int might match the return type of a gcc2
35204    builtin and then its argument prototype would still apply.  */
35205 char $ac_func ();
35206 /* The GNU C library defines this for functions which it implements
35207     to always fail with ENOSYS.  Some functions are actually named
35208     something starting with __ and the normal name is an alias.  */
35209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35210 choke me
35211 #else
35212 char (*f) () = $ac_func;
35213 #endif
35214 #ifdef __cplusplus
35215 }
35216 #endif
35217
35218 int
35219 main ()
35220 {
35221 return f != $ac_func;
35222   ;
35223   return 0;
35224 }
35225 _ACEOF
35226 rm -f conftest.$ac_objext conftest$ac_exeext
35227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35228   (eval $ac_link) 2>&5
35229   ac_status=$?
35230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231   (exit $ac_status); } &&
35232          { ac_try='test -s conftest$ac_exeext'
35233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35234   (eval $ac_try) 2>&5
35235   ac_status=$?
35236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237   (exit $ac_status); }; }; then
35238   eval "$as_ac_var=yes"
35239 else
35240   echo "$as_me: failed program was:" >&5
35241 sed 's/^/| /' conftest.$ac_ext >&5
35242
35243 eval "$as_ac_var=no"
35244 fi
35245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35246 fi
35247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35249 if test `eval echo '${'$as_ac_var'}'` = yes; then
35250   cat >>confdefs.h <<_ACEOF
35251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35252 _ACEOF
35253
35254 fi
35255 done
35256
35257     fi
35258   fi
35259
35260
35261
35262   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35263 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35264   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35265     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35266   echo $ECHO_N "(cached) $ECHO_C" >&6
35267 else
35268
35269
35270
35271       ac_ext=cc
35272 ac_cpp='$CXXCPP $CPPFLAGS'
35273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35276
35277       cat >conftest.$ac_ext <<_ACEOF
35278 #line $LINENO "configure"
35279 /* confdefs.h.  */
35280 _ACEOF
35281 cat confdefs.h >>conftest.$ac_ext
35282 cat >>conftest.$ac_ext <<_ACEOF
35283 /* end confdefs.h.  */
35284 #include <math.h>
35285 int
35286 main ()
35287 {
35288  sincosf(0, 0, 0);
35289   ;
35290   return 0;
35291 }
35292 _ACEOF
35293 rm -f conftest.$ac_objext
35294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35295   (eval $ac_compile) 2>&5
35296   ac_status=$?
35297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298   (exit $ac_status); } &&
35299          { ac_try='test -s conftest.$ac_objext'
35300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301   (eval $ac_try) 2>&5
35302   ac_status=$?
35303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304   (exit $ac_status); }; }; then
35305   glibcxx_cv_func_sincosf_use=yes
35306 else
35307   echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35309
35310 glibcxx_cv_func_sincosf_use=no
35311 fi
35312 rm -f conftest.$ac_objext conftest.$ac_ext
35313       ac_ext=c
35314 ac_cpp='$CPP $CPPFLAGS'
35315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35318
35319
35320 fi
35321
35322   fi
35323   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35324 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35325
35326   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35327
35328 for ac_func in sincosf
35329 do
35330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35331 echo "$as_me:$LINENO: checking for $ac_func" >&5
35332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35333 if eval "test \"\${$as_ac_var+set}\" = set"; then
35334   echo $ECHO_N "(cached) $ECHO_C" >&6
35335 else
35336   if test x$gcc_no_link = xyes; then
35337   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35339    { (exit 1); exit 1; }; }
35340 fi
35341 cat >conftest.$ac_ext <<_ACEOF
35342 #line $LINENO "configure"
35343 /* confdefs.h.  */
35344 _ACEOF
35345 cat confdefs.h >>conftest.$ac_ext
35346 cat >>conftest.$ac_ext <<_ACEOF
35347 /* end confdefs.h.  */
35348 /* System header to define __stub macros and hopefully few prototypes,
35349     which can conflict with char $ac_func (); below.
35350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35351     <limits.h> exists even on freestanding compilers.  */
35352 #ifdef __STDC__
35353 # include <limits.h>
35354 #else
35355 # include <assert.h>
35356 #endif
35357 /* Override any gcc2 internal prototype to avoid an error.  */
35358 #ifdef __cplusplus
35359 extern "C"
35360 {
35361 #endif
35362 /* We use char because int might match the return type of a gcc2
35363    builtin and then its argument prototype would still apply.  */
35364 char $ac_func ();
35365 /* The GNU C library defines this for functions which it implements
35366     to always fail with ENOSYS.  Some functions are actually named
35367     something starting with __ and the normal name is an alias.  */
35368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35369 choke me
35370 #else
35371 char (*f) () = $ac_func;
35372 #endif
35373 #ifdef __cplusplus
35374 }
35375 #endif
35376
35377 int
35378 main ()
35379 {
35380 return f != $ac_func;
35381   ;
35382   return 0;
35383 }
35384 _ACEOF
35385 rm -f conftest.$ac_objext conftest$ac_exeext
35386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35387   (eval $ac_link) 2>&5
35388   ac_status=$?
35389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390   (exit $ac_status); } &&
35391          { ac_try='test -s conftest$ac_exeext'
35392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393   (eval $ac_try) 2>&5
35394   ac_status=$?
35395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396   (exit $ac_status); }; }; then
35397   eval "$as_ac_var=yes"
35398 else
35399   echo "$as_me: failed program was:" >&5
35400 sed 's/^/| /' conftest.$ac_ext >&5
35401
35402 eval "$as_ac_var=no"
35403 fi
35404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35405 fi
35406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35408 if test `eval echo '${'$as_ac_var'}'` = yes; then
35409   cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35411 _ACEOF
35412
35413 fi
35414 done
35415
35416   else
35417
35418   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35419 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35420   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35421     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35422   echo $ECHO_N "(cached) $ECHO_C" >&6
35423 else
35424
35425
35426
35427       ac_ext=cc
35428 ac_cpp='$CXXCPP $CPPFLAGS'
35429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432
35433       cat >conftest.$ac_ext <<_ACEOF
35434 #line $LINENO "configure"
35435 /* confdefs.h.  */
35436 _ACEOF
35437 cat confdefs.h >>conftest.$ac_ext
35438 cat >>conftest.$ac_ext <<_ACEOF
35439 /* end confdefs.h.  */
35440 #include <math.h>
35441 int
35442 main ()
35443 {
35444  _sincosf(0, 0, 0);
35445   ;
35446   return 0;
35447 }
35448 _ACEOF
35449 rm -f conftest.$ac_objext
35450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35451   (eval $ac_compile) 2>&5
35452   ac_status=$?
35453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454   (exit $ac_status); } &&
35455          { ac_try='test -s conftest.$ac_objext'
35456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457   (eval $ac_try) 2>&5
35458   ac_status=$?
35459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460   (exit $ac_status); }; }; then
35461   glibcxx_cv_func__sincosf_use=yes
35462 else
35463   echo "$as_me: failed program was:" >&5
35464 sed 's/^/| /' conftest.$ac_ext >&5
35465
35466 glibcxx_cv_func__sincosf_use=no
35467 fi
35468 rm -f conftest.$ac_objext conftest.$ac_ext
35469       ac_ext=c
35470 ac_cpp='$CPP $CPPFLAGS'
35471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35474
35475
35476 fi
35477
35478   fi
35479   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35480 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35481
35482     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35483
35484 for ac_func in _sincosf
35485 do
35486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35487 echo "$as_me:$LINENO: checking for $ac_func" >&5
35488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35489 if eval "test \"\${$as_ac_var+set}\" = set"; then
35490   echo $ECHO_N "(cached) $ECHO_C" >&6
35491 else
35492   if test x$gcc_no_link = xyes; then
35493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35495    { (exit 1); exit 1; }; }
35496 fi
35497 cat >conftest.$ac_ext <<_ACEOF
35498 #line $LINENO "configure"
35499 /* confdefs.h.  */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h.  */
35504 /* System header to define __stub macros and hopefully few prototypes,
35505     which can conflict with char $ac_func (); below.
35506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35507     <limits.h> exists even on freestanding compilers.  */
35508 #ifdef __STDC__
35509 # include <limits.h>
35510 #else
35511 # include <assert.h>
35512 #endif
35513 /* Override any gcc2 internal prototype to avoid an error.  */
35514 #ifdef __cplusplus
35515 extern "C"
35516 {
35517 #endif
35518 /* We use char because int might match the return type of a gcc2
35519    builtin and then its argument prototype would still apply.  */
35520 char $ac_func ();
35521 /* The GNU C library defines this for functions which it implements
35522     to always fail with ENOSYS.  Some functions are actually named
35523     something starting with __ and the normal name is an alias.  */
35524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35525 choke me
35526 #else
35527 char (*f) () = $ac_func;
35528 #endif
35529 #ifdef __cplusplus
35530 }
35531 #endif
35532
35533 int
35534 main ()
35535 {
35536 return f != $ac_func;
35537   ;
35538   return 0;
35539 }
35540 _ACEOF
35541 rm -f conftest.$ac_objext conftest$ac_exeext
35542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35543   (eval $ac_link) 2>&5
35544   ac_status=$?
35545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546   (exit $ac_status); } &&
35547          { ac_try='test -s conftest$ac_exeext'
35548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549   (eval $ac_try) 2>&5
35550   ac_status=$?
35551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552   (exit $ac_status); }; }; then
35553   eval "$as_ac_var=yes"
35554 else
35555   echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.$ac_ext >&5
35557
35558 eval "$as_ac_var=no"
35559 fi
35560 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35561 fi
35562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35564 if test `eval echo '${'$as_ac_var'}'` = yes; then
35565   cat >>confdefs.h <<_ACEOF
35566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35567 _ACEOF
35568
35569 fi
35570 done
35571
35572     fi
35573   fi
35574
35575
35576
35577   echo "$as_me:$LINENO: checking for finitef declaration" >&5
35578 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35579   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35580     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35581   echo $ECHO_N "(cached) $ECHO_C" >&6
35582 else
35583
35584
35585
35586       ac_ext=cc
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591
35592       cat >conftest.$ac_ext <<_ACEOF
35593 #line $LINENO "configure"
35594 /* confdefs.h.  */
35595 _ACEOF
35596 cat confdefs.h >>conftest.$ac_ext
35597 cat >>conftest.$ac_ext <<_ACEOF
35598 /* end confdefs.h.  */
35599 #include <math.h>
35600                       #ifdef HAVE_IEEEFP_H
35601                       #include <ieeefp.h>
35602                       #endif
35603
35604 int
35605 main ()
35606 {
35607  finitef(0);
35608   ;
35609   return 0;
35610 }
35611 _ACEOF
35612 rm -f conftest.$ac_objext
35613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35614   (eval $ac_compile) 2>&5
35615   ac_status=$?
35616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617   (exit $ac_status); } &&
35618          { ac_try='test -s conftest.$ac_objext'
35619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35620   (eval $ac_try) 2>&5
35621   ac_status=$?
35622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623   (exit $ac_status); }; }; then
35624   glibcxx_cv_func_finitef_use=yes
35625 else
35626   echo "$as_me: failed program was:" >&5
35627 sed 's/^/| /' conftest.$ac_ext >&5
35628
35629 glibcxx_cv_func_finitef_use=no
35630 fi
35631 rm -f conftest.$ac_objext conftest.$ac_ext
35632       ac_ext=c
35633 ac_cpp='$CPP $CPPFLAGS'
35634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35637
35638
35639 fi
35640
35641   fi
35642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35643 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35644
35645   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35646
35647 for ac_func in finitef
35648 do
35649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35650 echo "$as_me:$LINENO: checking for $ac_func" >&5
35651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35652 if eval "test \"\${$as_ac_var+set}\" = set"; then
35653   echo $ECHO_N "(cached) $ECHO_C" >&6
35654 else
35655   if test x$gcc_no_link = xyes; then
35656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35658    { (exit 1); exit 1; }; }
35659 fi
35660 cat >conftest.$ac_ext <<_ACEOF
35661 #line $LINENO "configure"
35662 /* confdefs.h.  */
35663 _ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h.  */
35667 /* System header to define __stub macros and hopefully few prototypes,
35668     which can conflict with char $ac_func (); below.
35669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35670     <limits.h> exists even on freestanding compilers.  */
35671 #ifdef __STDC__
35672 # include <limits.h>
35673 #else
35674 # include <assert.h>
35675 #endif
35676 /* Override any gcc2 internal prototype to avoid an error.  */
35677 #ifdef __cplusplus
35678 extern "C"
35679 {
35680 #endif
35681 /* We use char because int might match the return type of a gcc2
35682    builtin and then its argument prototype would still apply.  */
35683 char $ac_func ();
35684 /* The GNU C library defines this for functions which it implements
35685     to always fail with ENOSYS.  Some functions are actually named
35686     something starting with __ and the normal name is an alias.  */
35687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35688 choke me
35689 #else
35690 char (*f) () = $ac_func;
35691 #endif
35692 #ifdef __cplusplus
35693 }
35694 #endif
35695
35696 int
35697 main ()
35698 {
35699 return f != $ac_func;
35700   ;
35701   return 0;
35702 }
35703 _ACEOF
35704 rm -f conftest.$ac_objext conftest$ac_exeext
35705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35706   (eval $ac_link) 2>&5
35707   ac_status=$?
35708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709   (exit $ac_status); } &&
35710          { ac_try='test -s conftest$ac_exeext'
35711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35712   (eval $ac_try) 2>&5
35713   ac_status=$?
35714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35715   (exit $ac_status); }; }; then
35716   eval "$as_ac_var=yes"
35717 else
35718   echo "$as_me: failed program was:" >&5
35719 sed 's/^/| /' conftest.$ac_ext >&5
35720
35721 eval "$as_ac_var=no"
35722 fi
35723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35724 fi
35725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35727 if test `eval echo '${'$as_ac_var'}'` = yes; then
35728   cat >>confdefs.h <<_ACEOF
35729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735   else
35736
35737   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35738 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35739   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35740     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35741   echo $ECHO_N "(cached) $ECHO_C" >&6
35742 else
35743
35744
35745
35746       ac_ext=cc
35747 ac_cpp='$CXXCPP $CPPFLAGS'
35748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35751
35752       cat >conftest.$ac_ext <<_ACEOF
35753 #line $LINENO "configure"
35754 /* confdefs.h.  */
35755 _ACEOF
35756 cat confdefs.h >>conftest.$ac_ext
35757 cat >>conftest.$ac_ext <<_ACEOF
35758 /* end confdefs.h.  */
35759 #include <math.h>
35760                       #ifdef HAVE_IEEEFP_H
35761                       #include <ieeefp.h>
35762                       #endif
35763
35764 int
35765 main ()
35766 {
35767  _finitef(0);
35768   ;
35769   return 0;
35770 }
35771 _ACEOF
35772 rm -f conftest.$ac_objext
35773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35774   (eval $ac_compile) 2>&5
35775   ac_status=$?
35776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777   (exit $ac_status); } &&
35778          { ac_try='test -s conftest.$ac_objext'
35779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35780   (eval $ac_try) 2>&5
35781   ac_status=$?
35782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35783   (exit $ac_status); }; }; then
35784   glibcxx_cv_func__finitef_use=yes
35785 else
35786   echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 glibcxx_cv_func__finitef_use=no
35790 fi
35791 rm -f conftest.$ac_objext conftest.$ac_ext
35792       ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799 fi
35800
35801   fi
35802   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35803 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35804
35805     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35806
35807 for ac_func in _finitef
35808 do
35809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35810 echo "$as_me:$LINENO: checking for $ac_func" >&5
35811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35812 if eval "test \"\${$as_ac_var+set}\" = set"; then
35813   echo $ECHO_N "(cached) $ECHO_C" >&6
35814 else
35815   if test x$gcc_no_link = xyes; then
35816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35818    { (exit 1); exit 1; }; }
35819 fi
35820 cat >conftest.$ac_ext <<_ACEOF
35821 #line $LINENO "configure"
35822 /* confdefs.h.  */
35823 _ACEOF
35824 cat confdefs.h >>conftest.$ac_ext
35825 cat >>conftest.$ac_ext <<_ACEOF
35826 /* end confdefs.h.  */
35827 /* System header to define __stub macros and hopefully few prototypes,
35828     which can conflict with char $ac_func (); below.
35829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830     <limits.h> exists even on freestanding compilers.  */
35831 #ifdef __STDC__
35832 # include <limits.h>
35833 #else
35834 # include <assert.h>
35835 #endif
35836 /* Override any gcc2 internal prototype to avoid an error.  */
35837 #ifdef __cplusplus
35838 extern "C"
35839 {
35840 #endif
35841 /* We use char because int might match the return type of a gcc2
35842    builtin and then its argument prototype would still apply.  */
35843 char $ac_func ();
35844 /* The GNU C library defines this for functions which it implements
35845     to always fail with ENOSYS.  Some functions are actually named
35846     something starting with __ and the normal name is an alias.  */
35847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35848 choke me
35849 #else
35850 char (*f) () = $ac_func;
35851 #endif
35852 #ifdef __cplusplus
35853 }
35854 #endif
35855
35856 int
35857 main ()
35858 {
35859 return f != $ac_func;
35860   ;
35861   return 0;
35862 }
35863 _ACEOF
35864 rm -f conftest.$ac_objext conftest$ac_exeext
35865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35866   (eval $ac_link) 2>&5
35867   ac_status=$?
35868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869   (exit $ac_status); } &&
35870          { ac_try='test -s conftest$ac_exeext'
35871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35872   (eval $ac_try) 2>&5
35873   ac_status=$?
35874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35875   (exit $ac_status); }; }; then
35876   eval "$as_ac_var=yes"
35877 else
35878   echo "$as_me: failed program was:" >&5
35879 sed 's/^/| /' conftest.$ac_ext >&5
35880
35881 eval "$as_ac_var=no"
35882 fi
35883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35884 fi
35885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35887 if test `eval echo '${'$as_ac_var'}'` = yes; then
35888   cat >>confdefs.h <<_ACEOF
35889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 _ACEOF
35891
35892 fi
35893 done
35894
35895     fi
35896   fi
35897
35898
35899
35900   echo "$as_me:$LINENO: checking for long double trig functions" >&5
35901 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35902   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35903   echo $ECHO_N "(cached) $ECHO_C" >&6
35904 else
35905
35906
35907
35908     ac_ext=cc
35909 ac_cpp='$CXXCPP $CPPFLAGS'
35910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35913
35914     cat >conftest.$ac_ext <<_ACEOF
35915 #line $LINENO "configure"
35916 /* confdefs.h.  */
35917 _ACEOF
35918 cat confdefs.h >>conftest.$ac_ext
35919 cat >>conftest.$ac_ext <<_ACEOF
35920 /* end confdefs.h.  */
35921 #include <math.h>
35922 int
35923 main ()
35924 {
35925  `for x in acosl asinl atanl \
35926                                           cosl sinl tanl \
35927                                           coshl sinhl tanhl; do echo "$x (0);"; done`
35928   ;
35929   return 0;
35930 }
35931 _ACEOF
35932 rm -f conftest.$ac_objext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35934   (eval $ac_compile) 2>&5
35935   ac_status=$?
35936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937   (exit $ac_status); } &&
35938          { ac_try='test -s conftest.$ac_objext'
35939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940   (eval $ac_try) 2>&5
35941   ac_status=$?
35942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943   (exit $ac_status); }; }; then
35944   glibcxx_cv_func_long_double_trig_use=yes
35945 else
35946   echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.$ac_ext >&5
35948
35949 glibcxx_cv_func_long_double_trig_use=no
35950 fi
35951 rm -f conftest.$ac_objext conftest.$ac_ext
35952     ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957
35958 fi
35959
35960   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35961 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35962   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972 for ac_func in acosl asinl atanl \
35973                                           cosl sinl tanl \
35974                                           coshl sinhl tanhl
35975 do
35976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35977 echo "$as_me:$LINENO: checking for $ac_func" >&5
35978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35979 if eval "test \"\${$as_ac_var+set}\" = set"; then
35980   echo $ECHO_N "(cached) $ECHO_C" >&6
35981 else
35982   if test x$gcc_no_link = xyes; then
35983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35985    { (exit 1); exit 1; }; }
35986 fi
35987 cat >conftest.$ac_ext <<_ACEOF
35988 #line $LINENO "configure"
35989 /* confdefs.h.  */
35990 _ACEOF
35991 cat confdefs.h >>conftest.$ac_ext
35992 cat >>conftest.$ac_ext <<_ACEOF
35993 /* end confdefs.h.  */
35994 /* System header to define __stub macros and hopefully few prototypes,
35995     which can conflict with char $ac_func (); below.
35996     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35997     <limits.h> exists even on freestanding compilers.  */
35998 #ifdef __STDC__
35999 # include <limits.h>
36000 #else
36001 # include <assert.h>
36002 #endif
36003 /* Override any gcc2 internal prototype to avoid an error.  */
36004 #ifdef __cplusplus
36005 extern "C"
36006 {
36007 #endif
36008 /* We use char because int might match the return type of a gcc2
36009    builtin and then its argument prototype would still apply.  */
36010 char $ac_func ();
36011 /* The GNU C library defines this for functions which it implements
36012     to always fail with ENOSYS.  Some functions are actually named
36013     something starting with __ and the normal name is an alias.  */
36014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36015 choke me
36016 #else
36017 char (*f) () = $ac_func;
36018 #endif
36019 #ifdef __cplusplus
36020 }
36021 #endif
36022
36023 int
36024 main ()
36025 {
36026 return f != $ac_func;
36027   ;
36028   return 0;
36029 }
36030 _ACEOF
36031 rm -f conftest.$ac_objext conftest$ac_exeext
36032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36033   (eval $ac_link) 2>&5
36034   ac_status=$?
36035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036   (exit $ac_status); } &&
36037          { ac_try='test -s conftest$ac_exeext'
36038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039   (eval $ac_try) 2>&5
36040   ac_status=$?
36041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042   (exit $ac_status); }; }; then
36043   eval "$as_ac_var=yes"
36044 else
36045   echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36047
36048 eval "$as_ac_var=no"
36049 fi
36050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36051 fi
36052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36054 if test `eval echo '${'$as_ac_var'}'` = yes; then
36055   cat >>confdefs.h <<_ACEOF
36056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36057 _ACEOF
36058
36059 fi
36060 done
36061
36062   fi
36063
36064
36065   echo "$as_me:$LINENO: checking for long double round functions" >&5
36066 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
36067   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
36068   echo $ECHO_N "(cached) $ECHO_C" >&6
36069 else
36070
36071
36072
36073     ac_ext=cc
36074 ac_cpp='$CXXCPP $CPPFLAGS'
36075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36078
36079     cat >conftest.$ac_ext <<_ACEOF
36080 #line $LINENO "configure"
36081 /* confdefs.h.  */
36082 _ACEOF
36083 cat confdefs.h >>conftest.$ac_ext
36084 cat >>conftest.$ac_ext <<_ACEOF
36085 /* end confdefs.h.  */
36086 #include <math.h>
36087 int
36088 main ()
36089 {
36090  `for x in ceill floorl; do echo "$x (0);"; done`
36091   ;
36092   return 0;
36093 }
36094 _ACEOF
36095 rm -f conftest.$ac_objext
36096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36097   (eval $ac_compile) 2>&5
36098   ac_status=$?
36099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100   (exit $ac_status); } &&
36101          { ac_try='test -s conftest.$ac_objext'
36102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36103   (eval $ac_try) 2>&5
36104   ac_status=$?
36105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106   (exit $ac_status); }; }; then
36107   glibcxx_cv_func_long_double_round_use=yes
36108 else
36109   echo "$as_me: failed program was:" >&5
36110 sed 's/^/| /' conftest.$ac_ext >&5
36111
36112 glibcxx_cv_func_long_double_round_use=no
36113 fi
36114 rm -f conftest.$ac_objext conftest.$ac_ext
36115     ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36120
36121 fi
36122
36123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36124 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36125   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36126
36127
36128 for ac_func in ceill floorl
36129 do
36130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36131 echo "$as_me:$LINENO: checking for $ac_func" >&5
36132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36133 if eval "test \"\${$as_ac_var+set}\" = set"; then
36134   echo $ECHO_N "(cached) $ECHO_C" >&6
36135 else
36136   if test x$gcc_no_link = xyes; then
36137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36139    { (exit 1); exit 1; }; }
36140 fi
36141 cat >conftest.$ac_ext <<_ACEOF
36142 #line $LINENO "configure"
36143 /* confdefs.h.  */
36144 _ACEOF
36145 cat confdefs.h >>conftest.$ac_ext
36146 cat >>conftest.$ac_ext <<_ACEOF
36147 /* end confdefs.h.  */
36148 /* System header to define __stub macros and hopefully few prototypes,
36149     which can conflict with char $ac_func (); below.
36150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36151     <limits.h> exists even on freestanding compilers.  */
36152 #ifdef __STDC__
36153 # include <limits.h>
36154 #else
36155 # include <assert.h>
36156 #endif
36157 /* Override any gcc2 internal prototype to avoid an error.  */
36158 #ifdef __cplusplus
36159 extern "C"
36160 {
36161 #endif
36162 /* We use char because int might match the return type of a gcc2
36163    builtin and then its argument prototype would still apply.  */
36164 char $ac_func ();
36165 /* The GNU C library defines this for functions which it implements
36166     to always fail with ENOSYS.  Some functions are actually named
36167     something starting with __ and the normal name is an alias.  */
36168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36169 choke me
36170 #else
36171 char (*f) () = $ac_func;
36172 #endif
36173 #ifdef __cplusplus
36174 }
36175 #endif
36176
36177 int
36178 main ()
36179 {
36180 return f != $ac_func;
36181   ;
36182   return 0;
36183 }
36184 _ACEOF
36185 rm -f conftest.$ac_objext conftest$ac_exeext
36186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36187   (eval $ac_link) 2>&5
36188   ac_status=$?
36189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190   (exit $ac_status); } &&
36191          { ac_try='test -s conftest$ac_exeext'
36192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193   (eval $ac_try) 2>&5
36194   ac_status=$?
36195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196   (exit $ac_status); }; }; then
36197   eval "$as_ac_var=yes"
36198 else
36199   echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36201
36202 eval "$as_ac_var=no"
36203 fi
36204 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36205 fi
36206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36208 if test `eval echo '${'$as_ac_var'}'` = yes; then
36209   cat >>confdefs.h <<_ACEOF
36210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36211 _ACEOF
36212
36213 fi
36214 done
36215
36216   fi
36217
36218
36219
36220   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36221 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36222   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36223     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36224   echo $ECHO_N "(cached) $ECHO_C" >&6
36225 else
36226
36227
36228
36229       ac_ext=cc
36230 ac_cpp='$CXXCPP $CPPFLAGS'
36231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234
36235       cat >conftest.$ac_ext <<_ACEOF
36236 #line $LINENO "configure"
36237 /* confdefs.h.  */
36238 _ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h.  */
36242 #include <math.h>
36243                       #ifdef HAVE_IEEEFP_H
36244                       #include <ieeefp.h>
36245                       #endif
36246
36247 int
36248 main ()
36249 {
36250  isnanl(0);
36251   ;
36252   return 0;
36253 }
36254 _ACEOF
36255 rm -f conftest.$ac_objext
36256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36257   (eval $ac_compile) 2>&5
36258   ac_status=$?
36259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260   (exit $ac_status); } &&
36261          { ac_try='test -s conftest.$ac_objext'
36262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36263   (eval $ac_try) 2>&5
36264   ac_status=$?
36265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266   (exit $ac_status); }; }; then
36267   glibcxx_cv_func_isnanl_use=yes
36268 else
36269   echo "$as_me: failed program was:" >&5
36270 sed 's/^/| /' conftest.$ac_ext >&5
36271
36272 glibcxx_cv_func_isnanl_use=no
36273 fi
36274 rm -f conftest.$ac_objext conftest.$ac_ext
36275       ac_ext=c
36276 ac_cpp='$CPP $CPPFLAGS'
36277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36280
36281
36282 fi
36283
36284   fi
36285   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36286 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36287
36288   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36289
36290 for ac_func in isnanl
36291 do
36292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36293 echo "$as_me:$LINENO: checking for $ac_func" >&5
36294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36295 if eval "test \"\${$as_ac_var+set}\" = set"; then
36296   echo $ECHO_N "(cached) $ECHO_C" >&6
36297 else
36298   if test x$gcc_no_link = xyes; then
36299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36301    { (exit 1); exit 1; }; }
36302 fi
36303 cat >conftest.$ac_ext <<_ACEOF
36304 #line $LINENO "configure"
36305 /* confdefs.h.  */
36306 _ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h.  */
36310 /* System header to define __stub macros and hopefully few prototypes,
36311     which can conflict with char $ac_func (); below.
36312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36313     <limits.h> exists even on freestanding compilers.  */
36314 #ifdef __STDC__
36315 # include <limits.h>
36316 #else
36317 # include <assert.h>
36318 #endif
36319 /* Override any gcc2 internal prototype to avoid an error.  */
36320 #ifdef __cplusplus
36321 extern "C"
36322 {
36323 #endif
36324 /* We use char because int might match the return type of a gcc2
36325    builtin and then its argument prototype would still apply.  */
36326 char $ac_func ();
36327 /* The GNU C library defines this for functions which it implements
36328     to always fail with ENOSYS.  Some functions are actually named
36329     something starting with __ and the normal name is an alias.  */
36330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36331 choke me
36332 #else
36333 char (*f) () = $ac_func;
36334 #endif
36335 #ifdef __cplusplus
36336 }
36337 #endif
36338
36339 int
36340 main ()
36341 {
36342 return f != $ac_func;
36343   ;
36344   return 0;
36345 }
36346 _ACEOF
36347 rm -f conftest.$ac_objext conftest$ac_exeext
36348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36349   (eval $ac_link) 2>&5
36350   ac_status=$?
36351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352   (exit $ac_status); } &&
36353          { ac_try='test -s conftest$ac_exeext'
36354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355   (eval $ac_try) 2>&5
36356   ac_status=$?
36357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358   (exit $ac_status); }; }; then
36359   eval "$as_ac_var=yes"
36360 else
36361   echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36363
36364 eval "$as_ac_var=no"
36365 fi
36366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36367 fi
36368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36370 if test `eval echo '${'$as_ac_var'}'` = yes; then
36371   cat >>confdefs.h <<_ACEOF
36372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36373 _ACEOF
36374
36375 fi
36376 done
36377
36378   else
36379
36380   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36381 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36382   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36383     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36384   echo $ECHO_N "(cached) $ECHO_C" >&6
36385 else
36386
36387
36388
36389       ac_ext=cc
36390 ac_cpp='$CXXCPP $CPPFLAGS'
36391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36394
36395       cat >conftest.$ac_ext <<_ACEOF
36396 #line $LINENO "configure"
36397 /* confdefs.h.  */
36398 _ACEOF
36399 cat confdefs.h >>conftest.$ac_ext
36400 cat >>conftest.$ac_ext <<_ACEOF
36401 /* end confdefs.h.  */
36402 #include <math.h>
36403                       #ifdef HAVE_IEEEFP_H
36404                       #include <ieeefp.h>
36405                       #endif
36406
36407 int
36408 main ()
36409 {
36410  _isnanl(0);
36411   ;
36412   return 0;
36413 }
36414 _ACEOF
36415 rm -f conftest.$ac_objext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36417   (eval $ac_compile) 2>&5
36418   ac_status=$?
36419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420   (exit $ac_status); } &&
36421          { ac_try='test -s conftest.$ac_objext'
36422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36423   (eval $ac_try) 2>&5
36424   ac_status=$?
36425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36426   (exit $ac_status); }; }; then
36427   glibcxx_cv_func__isnanl_use=yes
36428 else
36429   echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36431
36432 glibcxx_cv_func__isnanl_use=no
36433 fi
36434 rm -f conftest.$ac_objext conftest.$ac_ext
36435       ac_ext=c
36436 ac_cpp='$CPP $CPPFLAGS'
36437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36440
36441
36442 fi
36443
36444   fi
36445   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36446 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36447
36448     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36449
36450 for ac_func in _isnanl
36451 do
36452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36453 echo "$as_me:$LINENO: checking for $ac_func" >&5
36454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36455 if eval "test \"\${$as_ac_var+set}\" = set"; then
36456   echo $ECHO_N "(cached) $ECHO_C" >&6
36457 else
36458   if test x$gcc_no_link = xyes; then
36459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36461    { (exit 1); exit 1; }; }
36462 fi
36463 cat >conftest.$ac_ext <<_ACEOF
36464 #line $LINENO "configure"
36465 /* confdefs.h.  */
36466 _ACEOF
36467 cat confdefs.h >>conftest.$ac_ext
36468 cat >>conftest.$ac_ext <<_ACEOF
36469 /* end confdefs.h.  */
36470 /* System header to define __stub macros and hopefully few prototypes,
36471     which can conflict with char $ac_func (); below.
36472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36473     <limits.h> exists even on freestanding compilers.  */
36474 #ifdef __STDC__
36475 # include <limits.h>
36476 #else
36477 # include <assert.h>
36478 #endif
36479 /* Override any gcc2 internal prototype to avoid an error.  */
36480 #ifdef __cplusplus
36481 extern "C"
36482 {
36483 #endif
36484 /* We use char because int might match the return type of a gcc2
36485    builtin and then its argument prototype would still apply.  */
36486 char $ac_func ();
36487 /* The GNU C library defines this for functions which it implements
36488     to always fail with ENOSYS.  Some functions are actually named
36489     something starting with __ and the normal name is an alias.  */
36490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36491 choke me
36492 #else
36493 char (*f) () = $ac_func;
36494 #endif
36495 #ifdef __cplusplus
36496 }
36497 #endif
36498
36499 int
36500 main ()
36501 {
36502 return f != $ac_func;
36503   ;
36504   return 0;
36505 }
36506 _ACEOF
36507 rm -f conftest.$ac_objext conftest$ac_exeext
36508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36509   (eval $ac_link) 2>&5
36510   ac_status=$?
36511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512   (exit $ac_status); } &&
36513          { ac_try='test -s conftest$ac_exeext'
36514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515   (eval $ac_try) 2>&5
36516   ac_status=$?
36517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518   (exit $ac_status); }; }; then
36519   eval "$as_ac_var=yes"
36520 else
36521   echo "$as_me: failed program was:" >&5
36522 sed 's/^/| /' conftest.$ac_ext >&5
36523
36524 eval "$as_ac_var=no"
36525 fi
36526 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36527 fi
36528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36530 if test `eval echo '${'$as_ac_var'}'` = yes; then
36531   cat >>confdefs.h <<_ACEOF
36532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36533 _ACEOF
36534
36535 fi
36536 done
36537
36538     fi
36539   fi
36540
36541
36542
36543   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36544 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36545   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36546     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36547   echo $ECHO_N "(cached) $ECHO_C" >&6
36548 else
36549
36550
36551
36552       ac_ext=cc
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557
36558       cat >conftest.$ac_ext <<_ACEOF
36559 #line $LINENO "configure"
36560 /* confdefs.h.  */
36561 _ACEOF
36562 cat confdefs.h >>conftest.$ac_ext
36563 cat >>conftest.$ac_ext <<_ACEOF
36564 /* end confdefs.h.  */
36565 #include <math.h>
36566                       #ifdef HAVE_IEEEFP_H
36567                       #include <ieeefp.h>
36568                       #endif
36569
36570 int
36571 main ()
36572 {
36573  isinfl(0);
36574   ;
36575   return 0;
36576 }
36577 _ACEOF
36578 rm -f conftest.$ac_objext
36579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36580   (eval $ac_compile) 2>&5
36581   ac_status=$?
36582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583   (exit $ac_status); } &&
36584          { ac_try='test -s conftest.$ac_objext'
36585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586   (eval $ac_try) 2>&5
36587   ac_status=$?
36588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589   (exit $ac_status); }; }; then
36590   glibcxx_cv_func_isinfl_use=yes
36591 else
36592   echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36594
36595 glibcxx_cv_func_isinfl_use=no
36596 fi
36597 rm -f conftest.$ac_objext conftest.$ac_ext
36598       ac_ext=c
36599 ac_cpp='$CPP $CPPFLAGS'
36600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36603
36604
36605 fi
36606
36607   fi
36608   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36609 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36610
36611   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36612
36613 for ac_func in isinfl
36614 do
36615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36616 echo "$as_me:$LINENO: checking for $ac_func" >&5
36617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36618 if eval "test \"\${$as_ac_var+set}\" = set"; then
36619   echo $ECHO_N "(cached) $ECHO_C" >&6
36620 else
36621   if test x$gcc_no_link = xyes; then
36622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36624    { (exit 1); exit 1; }; }
36625 fi
36626 cat >conftest.$ac_ext <<_ACEOF
36627 #line $LINENO "configure"
36628 /* confdefs.h.  */
36629 _ACEOF
36630 cat confdefs.h >>conftest.$ac_ext
36631 cat >>conftest.$ac_ext <<_ACEOF
36632 /* end confdefs.h.  */
36633 /* System header to define __stub macros and hopefully few prototypes,
36634     which can conflict with char $ac_func (); below.
36635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36636     <limits.h> exists even on freestanding compilers.  */
36637 #ifdef __STDC__
36638 # include <limits.h>
36639 #else
36640 # include <assert.h>
36641 #endif
36642 /* Override any gcc2 internal prototype to avoid an error.  */
36643 #ifdef __cplusplus
36644 extern "C"
36645 {
36646 #endif
36647 /* We use char because int might match the return type of a gcc2
36648    builtin and then its argument prototype would still apply.  */
36649 char $ac_func ();
36650 /* The GNU C library defines this for functions which it implements
36651     to always fail with ENOSYS.  Some functions are actually named
36652     something starting with __ and the normal name is an alias.  */
36653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36654 choke me
36655 #else
36656 char (*f) () = $ac_func;
36657 #endif
36658 #ifdef __cplusplus
36659 }
36660 #endif
36661
36662 int
36663 main ()
36664 {
36665 return f != $ac_func;
36666   ;
36667   return 0;
36668 }
36669 _ACEOF
36670 rm -f conftest.$ac_objext conftest$ac_exeext
36671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36672   (eval $ac_link) 2>&5
36673   ac_status=$?
36674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675   (exit $ac_status); } &&
36676          { ac_try='test -s conftest$ac_exeext'
36677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36678   (eval $ac_try) 2>&5
36679   ac_status=$?
36680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681   (exit $ac_status); }; }; then
36682   eval "$as_ac_var=yes"
36683 else
36684   echo "$as_me: failed program was:" >&5
36685 sed 's/^/| /' conftest.$ac_ext >&5
36686
36687 eval "$as_ac_var=no"
36688 fi
36689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36690 fi
36691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36693 if test `eval echo '${'$as_ac_var'}'` = yes; then
36694   cat >>confdefs.h <<_ACEOF
36695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36696 _ACEOF
36697
36698 fi
36699 done
36700
36701   else
36702
36703   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36704 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36705   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36706     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36707   echo $ECHO_N "(cached) $ECHO_C" >&6
36708 else
36709
36710
36711
36712       ac_ext=cc
36713 ac_cpp='$CXXCPP $CPPFLAGS'
36714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36717
36718       cat >conftest.$ac_ext <<_ACEOF
36719 #line $LINENO "configure"
36720 /* confdefs.h.  */
36721 _ACEOF
36722 cat confdefs.h >>conftest.$ac_ext
36723 cat >>conftest.$ac_ext <<_ACEOF
36724 /* end confdefs.h.  */
36725 #include <math.h>
36726                       #ifdef HAVE_IEEEFP_H
36727                       #include <ieeefp.h>
36728                       #endif
36729
36730 int
36731 main ()
36732 {
36733  _isinfl(0);
36734   ;
36735   return 0;
36736 }
36737 _ACEOF
36738 rm -f conftest.$ac_objext
36739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36740   (eval $ac_compile) 2>&5
36741   ac_status=$?
36742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743   (exit $ac_status); } &&
36744          { ac_try='test -s conftest.$ac_objext'
36745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746   (eval $ac_try) 2>&5
36747   ac_status=$?
36748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749   (exit $ac_status); }; }; then
36750   glibcxx_cv_func__isinfl_use=yes
36751 else
36752   echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.$ac_ext >&5
36754
36755 glibcxx_cv_func__isinfl_use=no
36756 fi
36757 rm -f conftest.$ac_objext conftest.$ac_ext
36758       ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763
36764
36765 fi
36766
36767   fi
36768   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36769 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36770
36771     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36772
36773 for ac_func in _isinfl
36774 do
36775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36776 echo "$as_me:$LINENO: checking for $ac_func" >&5
36777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36778 if eval "test \"\${$as_ac_var+set}\" = set"; then
36779   echo $ECHO_N "(cached) $ECHO_C" >&6
36780 else
36781   if test x$gcc_no_link = xyes; then
36782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36784    { (exit 1); exit 1; }; }
36785 fi
36786 cat >conftest.$ac_ext <<_ACEOF
36787 #line $LINENO "configure"
36788 /* confdefs.h.  */
36789 _ACEOF
36790 cat confdefs.h >>conftest.$ac_ext
36791 cat >>conftest.$ac_ext <<_ACEOF
36792 /* end confdefs.h.  */
36793 /* System header to define __stub macros and hopefully few prototypes,
36794     which can conflict with char $ac_func (); below.
36795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36796     <limits.h> exists even on freestanding compilers.  */
36797 #ifdef __STDC__
36798 # include <limits.h>
36799 #else
36800 # include <assert.h>
36801 #endif
36802 /* Override any gcc2 internal prototype to avoid an error.  */
36803 #ifdef __cplusplus
36804 extern "C"
36805 {
36806 #endif
36807 /* We use char because int might match the return type of a gcc2
36808    builtin and then its argument prototype would still apply.  */
36809 char $ac_func ();
36810 /* The GNU C library defines this for functions which it implements
36811     to always fail with ENOSYS.  Some functions are actually named
36812     something starting with __ and the normal name is an alias.  */
36813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36814 choke me
36815 #else
36816 char (*f) () = $ac_func;
36817 #endif
36818 #ifdef __cplusplus
36819 }
36820 #endif
36821
36822 int
36823 main ()
36824 {
36825 return f != $ac_func;
36826   ;
36827   return 0;
36828 }
36829 _ACEOF
36830 rm -f conftest.$ac_objext conftest$ac_exeext
36831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36832   (eval $ac_link) 2>&5
36833   ac_status=$?
36834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835   (exit $ac_status); } &&
36836          { ac_try='test -s conftest$ac_exeext'
36837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36838   (eval $ac_try) 2>&5
36839   ac_status=$?
36840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36841   (exit $ac_status); }; }; then
36842   eval "$as_ac_var=yes"
36843 else
36844   echo "$as_me: failed program was:" >&5
36845 sed 's/^/| /' conftest.$ac_ext >&5
36846
36847 eval "$as_ac_var=no"
36848 fi
36849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36850 fi
36851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36853 if test `eval echo '${'$as_ac_var'}'` = yes; then
36854   cat >>confdefs.h <<_ACEOF
36855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36856 _ACEOF
36857
36858 fi
36859 done
36860
36861     fi
36862   fi
36863
36864
36865
36866   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36867 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36868   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36869     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36870   echo $ECHO_N "(cached) $ECHO_C" >&6
36871 else
36872
36873
36874
36875       ac_ext=cc
36876 ac_cpp='$CXXCPP $CPPFLAGS'
36877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880
36881       cat >conftest.$ac_ext <<_ACEOF
36882 #line $LINENO "configure"
36883 /* confdefs.h.  */
36884 _ACEOF
36885 cat confdefs.h >>conftest.$ac_ext
36886 cat >>conftest.$ac_ext <<_ACEOF
36887 /* end confdefs.h.  */
36888 #include <math.h>
36889 int
36890 main ()
36891 {
36892  copysignl(0, 0);
36893   ;
36894   return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36899   (eval $ac_compile) 2>&5
36900   ac_status=$?
36901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902   (exit $ac_status); } &&
36903          { ac_try='test -s conftest.$ac_objext'
36904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905   (eval $ac_try) 2>&5
36906   ac_status=$?
36907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908   (exit $ac_status); }; }; then
36909   glibcxx_cv_func_copysignl_use=yes
36910 else
36911   echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36913
36914 glibcxx_cv_func_copysignl_use=no
36915 fi
36916 rm -f conftest.$ac_objext conftest.$ac_ext
36917       ac_ext=c
36918 ac_cpp='$CPP $CPPFLAGS'
36919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36922
36923
36924 fi
36925
36926   fi
36927   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36928 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36929
36930   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36931
36932 for ac_func in copysignl
36933 do
36934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36935 echo "$as_me:$LINENO: checking for $ac_func" >&5
36936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36937 if eval "test \"\${$as_ac_var+set}\" = set"; then
36938   echo $ECHO_N "(cached) $ECHO_C" >&6
36939 else
36940   if test x$gcc_no_link = xyes; then
36941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36943    { (exit 1); exit 1; }; }
36944 fi
36945 cat >conftest.$ac_ext <<_ACEOF
36946 #line $LINENO "configure"
36947 /* confdefs.h.  */
36948 _ACEOF
36949 cat confdefs.h >>conftest.$ac_ext
36950 cat >>conftest.$ac_ext <<_ACEOF
36951 /* end confdefs.h.  */
36952 /* System header to define __stub macros and hopefully few prototypes,
36953     which can conflict with char $ac_func (); below.
36954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36955     <limits.h> exists even on freestanding compilers.  */
36956 #ifdef __STDC__
36957 # include <limits.h>
36958 #else
36959 # include <assert.h>
36960 #endif
36961 /* Override any gcc2 internal prototype to avoid an error.  */
36962 #ifdef __cplusplus
36963 extern "C"
36964 {
36965 #endif
36966 /* We use char because int might match the return type of a gcc2
36967    builtin and then its argument prototype would still apply.  */
36968 char $ac_func ();
36969 /* The GNU C library defines this for functions which it implements
36970     to always fail with ENOSYS.  Some functions are actually named
36971     something starting with __ and the normal name is an alias.  */
36972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36973 choke me
36974 #else
36975 char (*f) () = $ac_func;
36976 #endif
36977 #ifdef __cplusplus
36978 }
36979 #endif
36980
36981 int
36982 main ()
36983 {
36984 return f != $ac_func;
36985   ;
36986   return 0;
36987 }
36988 _ACEOF
36989 rm -f conftest.$ac_objext conftest$ac_exeext
36990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36991   (eval $ac_link) 2>&5
36992   ac_status=$?
36993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994   (exit $ac_status); } &&
36995          { ac_try='test -s conftest$ac_exeext'
36996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997   (eval $ac_try) 2>&5
36998   ac_status=$?
36999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000   (exit $ac_status); }; }; then
37001   eval "$as_ac_var=yes"
37002 else
37003   echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.$ac_ext >&5
37005
37006 eval "$as_ac_var=no"
37007 fi
37008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37009 fi
37010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37012 if test `eval echo '${'$as_ac_var'}'` = yes; then
37013   cat >>confdefs.h <<_ACEOF
37014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37015 _ACEOF
37016
37017 fi
37018 done
37019
37020   else
37021
37022   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
37023 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
37024   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
37025     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
37026   echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028
37029
37030
37031       ac_ext=cc
37032 ac_cpp='$CXXCPP $CPPFLAGS'
37033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37036
37037       cat >conftest.$ac_ext <<_ACEOF
37038 #line $LINENO "configure"
37039 /* confdefs.h.  */
37040 _ACEOF
37041 cat confdefs.h >>conftest.$ac_ext
37042 cat >>conftest.$ac_ext <<_ACEOF
37043 /* end confdefs.h.  */
37044 #include <math.h>
37045 int
37046 main ()
37047 {
37048  _copysignl(0, 0);
37049   ;
37050   return 0;
37051 }
37052 _ACEOF
37053 rm -f conftest.$ac_objext
37054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37055   (eval $ac_compile) 2>&5
37056   ac_status=$?
37057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058   (exit $ac_status); } &&
37059          { ac_try='test -s conftest.$ac_objext'
37060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37061   (eval $ac_try) 2>&5
37062   ac_status=$?
37063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064   (exit $ac_status); }; }; then
37065   glibcxx_cv_func__copysignl_use=yes
37066 else
37067   echo "$as_me: failed program was:" >&5
37068 sed 's/^/| /' conftest.$ac_ext >&5
37069
37070 glibcxx_cv_func__copysignl_use=no
37071 fi
37072 rm -f conftest.$ac_objext conftest.$ac_ext
37073       ac_ext=c
37074 ac_cpp='$CPP $CPPFLAGS'
37075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37078
37079
37080 fi
37081
37082   fi
37083   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
37084 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37085
37086     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37087
37088 for ac_func in _copysignl
37089 do
37090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37091 echo "$as_me:$LINENO: checking for $ac_func" >&5
37092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37093 if eval "test \"\${$as_ac_var+set}\" = set"; then
37094   echo $ECHO_N "(cached) $ECHO_C" >&6
37095 else
37096   if test x$gcc_no_link = xyes; then
37097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37099    { (exit 1); exit 1; }; }
37100 fi
37101 cat >conftest.$ac_ext <<_ACEOF
37102 #line $LINENO "configure"
37103 /* confdefs.h.  */
37104 _ACEOF
37105 cat confdefs.h >>conftest.$ac_ext
37106 cat >>conftest.$ac_ext <<_ACEOF
37107 /* end confdefs.h.  */
37108 /* System header to define __stub macros and hopefully few prototypes,
37109     which can conflict with char $ac_func (); below.
37110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37111     <limits.h> exists even on freestanding compilers.  */
37112 #ifdef __STDC__
37113 # include <limits.h>
37114 #else
37115 # include <assert.h>
37116 #endif
37117 /* Override any gcc2 internal prototype to avoid an error.  */
37118 #ifdef __cplusplus
37119 extern "C"
37120 {
37121 #endif
37122 /* We use char because int might match the return type of a gcc2
37123    builtin and then its argument prototype would still apply.  */
37124 char $ac_func ();
37125 /* The GNU C library defines this for functions which it implements
37126     to always fail with ENOSYS.  Some functions are actually named
37127     something starting with __ and the normal name is an alias.  */
37128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37129 choke me
37130 #else
37131 char (*f) () = $ac_func;
37132 #endif
37133 #ifdef __cplusplus
37134 }
37135 #endif
37136
37137 int
37138 main ()
37139 {
37140 return f != $ac_func;
37141   ;
37142   return 0;
37143 }
37144 _ACEOF
37145 rm -f conftest.$ac_objext conftest$ac_exeext
37146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37147   (eval $ac_link) 2>&5
37148   ac_status=$?
37149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150   (exit $ac_status); } &&
37151          { ac_try='test -s conftest$ac_exeext'
37152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37153   (eval $ac_try) 2>&5
37154   ac_status=$?
37155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156   (exit $ac_status); }; }; then
37157   eval "$as_ac_var=yes"
37158 else
37159   echo "$as_me: failed program was:" >&5
37160 sed 's/^/| /' conftest.$ac_ext >&5
37161
37162 eval "$as_ac_var=no"
37163 fi
37164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37165 fi
37166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37168 if test `eval echo '${'$as_ac_var'}'` = yes; then
37169   cat >>confdefs.h <<_ACEOF
37170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37171 _ACEOF
37172
37173 fi
37174 done
37175
37176     fi
37177   fi
37178
37179
37180
37181   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37182 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37183   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37184     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37185   echo $ECHO_N "(cached) $ECHO_C" >&6
37186 else
37187
37188
37189
37190       ac_ext=cc
37191 ac_cpp='$CXXCPP $CPPFLAGS'
37192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37195
37196       cat >conftest.$ac_ext <<_ACEOF
37197 #line $LINENO "configure"
37198 /* confdefs.h.  */
37199 _ACEOF
37200 cat confdefs.h >>conftest.$ac_ext
37201 cat >>conftest.$ac_ext <<_ACEOF
37202 /* end confdefs.h.  */
37203 #include <math.h>
37204 int
37205 main ()
37206 {
37207  atan2l(0, 0);
37208   ;
37209   return 0;
37210 }
37211 _ACEOF
37212 rm -f conftest.$ac_objext
37213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37214   (eval $ac_compile) 2>&5
37215   ac_status=$?
37216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217   (exit $ac_status); } &&
37218          { ac_try='test -s conftest.$ac_objext'
37219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220   (eval $ac_try) 2>&5
37221   ac_status=$?
37222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223   (exit $ac_status); }; }; then
37224   glibcxx_cv_func_atan2l_use=yes
37225 else
37226   echo "$as_me: failed program was:" >&5
37227 sed 's/^/| /' conftest.$ac_ext >&5
37228
37229 glibcxx_cv_func_atan2l_use=no
37230 fi
37231 rm -f conftest.$ac_objext conftest.$ac_ext
37232       ac_ext=c
37233 ac_cpp='$CPP $CPPFLAGS'
37234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37237
37238
37239 fi
37240
37241   fi
37242   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37243 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37244
37245   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37246
37247 for ac_func in atan2l
37248 do
37249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37250 echo "$as_me:$LINENO: checking for $ac_func" >&5
37251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37252 if eval "test \"\${$as_ac_var+set}\" = set"; then
37253   echo $ECHO_N "(cached) $ECHO_C" >&6
37254 else
37255   if test x$gcc_no_link = xyes; then
37256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37258    { (exit 1); exit 1; }; }
37259 fi
37260 cat >conftest.$ac_ext <<_ACEOF
37261 #line $LINENO "configure"
37262 /* confdefs.h.  */
37263 _ACEOF
37264 cat confdefs.h >>conftest.$ac_ext
37265 cat >>conftest.$ac_ext <<_ACEOF
37266 /* end confdefs.h.  */
37267 /* System header to define __stub macros and hopefully few prototypes,
37268     which can conflict with char $ac_func (); below.
37269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270     <limits.h> exists even on freestanding compilers.  */
37271 #ifdef __STDC__
37272 # include <limits.h>
37273 #else
37274 # include <assert.h>
37275 #endif
37276 /* Override any gcc2 internal prototype to avoid an error.  */
37277 #ifdef __cplusplus
37278 extern "C"
37279 {
37280 #endif
37281 /* We use char because int might match the return type of a gcc2
37282    builtin and then its argument prototype would still apply.  */
37283 char $ac_func ();
37284 /* The GNU C library defines this for functions which it implements
37285     to always fail with ENOSYS.  Some functions are actually named
37286     something starting with __ and the normal name is an alias.  */
37287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37288 choke me
37289 #else
37290 char (*f) () = $ac_func;
37291 #endif
37292 #ifdef __cplusplus
37293 }
37294 #endif
37295
37296 int
37297 main ()
37298 {
37299 return f != $ac_func;
37300   ;
37301   return 0;
37302 }
37303 _ACEOF
37304 rm -f conftest.$ac_objext conftest$ac_exeext
37305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37306   (eval $ac_link) 2>&5
37307   ac_status=$?
37308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309   (exit $ac_status); } &&
37310          { ac_try='test -s conftest$ac_exeext'
37311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37312   (eval $ac_try) 2>&5
37313   ac_status=$?
37314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315   (exit $ac_status); }; }; then
37316   eval "$as_ac_var=yes"
37317 else
37318   echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.$ac_ext >&5
37320
37321 eval "$as_ac_var=no"
37322 fi
37323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37324 fi
37325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37327 if test `eval echo '${'$as_ac_var'}'` = yes; then
37328   cat >>confdefs.h <<_ACEOF
37329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37330 _ACEOF
37331
37332 fi
37333 done
37334
37335   else
37336
37337   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37338 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37339   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37340     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37341   echo $ECHO_N "(cached) $ECHO_C" >&6
37342 else
37343
37344
37345
37346       ac_ext=cc
37347 ac_cpp='$CXXCPP $CPPFLAGS'
37348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37351
37352       cat >conftest.$ac_ext <<_ACEOF
37353 #line $LINENO "configure"
37354 /* confdefs.h.  */
37355 _ACEOF
37356 cat confdefs.h >>conftest.$ac_ext
37357 cat >>conftest.$ac_ext <<_ACEOF
37358 /* end confdefs.h.  */
37359 #include <math.h>
37360 int
37361 main ()
37362 {
37363  _atan2l(0, 0);
37364   ;
37365   return 0;
37366 }
37367 _ACEOF
37368 rm -f conftest.$ac_objext
37369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37370   (eval $ac_compile) 2>&5
37371   ac_status=$?
37372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37373   (exit $ac_status); } &&
37374          { ac_try='test -s conftest.$ac_objext'
37375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37376   (eval $ac_try) 2>&5
37377   ac_status=$?
37378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379   (exit $ac_status); }; }; then
37380   glibcxx_cv_func__atan2l_use=yes
37381 else
37382   echo "$as_me: failed program was:" >&5
37383 sed 's/^/| /' conftest.$ac_ext >&5
37384
37385 glibcxx_cv_func__atan2l_use=no
37386 fi
37387 rm -f conftest.$ac_objext conftest.$ac_ext
37388       ac_ext=c
37389 ac_cpp='$CPP $CPPFLAGS'
37390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37393
37394
37395 fi
37396
37397   fi
37398   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37399 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37400
37401     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37402
37403 for ac_func in _atan2l
37404 do
37405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37406 echo "$as_me:$LINENO: checking for $ac_func" >&5
37407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37408 if eval "test \"\${$as_ac_var+set}\" = set"; then
37409   echo $ECHO_N "(cached) $ECHO_C" >&6
37410 else
37411   if test x$gcc_no_link = xyes; then
37412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37414    { (exit 1); exit 1; }; }
37415 fi
37416 cat >conftest.$ac_ext <<_ACEOF
37417 #line $LINENO "configure"
37418 /* confdefs.h.  */
37419 _ACEOF
37420 cat confdefs.h >>conftest.$ac_ext
37421 cat >>conftest.$ac_ext <<_ACEOF
37422 /* end confdefs.h.  */
37423 /* System header to define __stub macros and hopefully few prototypes,
37424     which can conflict with char $ac_func (); below.
37425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37426     <limits.h> exists even on freestanding compilers.  */
37427 #ifdef __STDC__
37428 # include <limits.h>
37429 #else
37430 # include <assert.h>
37431 #endif
37432 /* Override any gcc2 internal prototype to avoid an error.  */
37433 #ifdef __cplusplus
37434 extern "C"
37435 {
37436 #endif
37437 /* We use char because int might match the return type of a gcc2
37438    builtin and then its argument prototype would still apply.  */
37439 char $ac_func ();
37440 /* The GNU C library defines this for functions which it implements
37441     to always fail with ENOSYS.  Some functions are actually named
37442     something starting with __ and the normal name is an alias.  */
37443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37444 choke me
37445 #else
37446 char (*f) () = $ac_func;
37447 #endif
37448 #ifdef __cplusplus
37449 }
37450 #endif
37451
37452 int
37453 main ()
37454 {
37455 return f != $ac_func;
37456   ;
37457   return 0;
37458 }
37459 _ACEOF
37460 rm -f conftest.$ac_objext conftest$ac_exeext
37461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37462   (eval $ac_link) 2>&5
37463   ac_status=$?
37464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465   (exit $ac_status); } &&
37466          { ac_try='test -s conftest$ac_exeext'
37467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37468   (eval $ac_try) 2>&5
37469   ac_status=$?
37470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471   (exit $ac_status); }; }; then
37472   eval "$as_ac_var=yes"
37473 else
37474   echo "$as_me: failed program was:" >&5
37475 sed 's/^/| /' conftest.$ac_ext >&5
37476
37477 eval "$as_ac_var=no"
37478 fi
37479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37480 fi
37481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37483 if test `eval echo '${'$as_ac_var'}'` = yes; then
37484   cat >>confdefs.h <<_ACEOF
37485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37486 _ACEOF
37487
37488 fi
37489 done
37490
37491     fi
37492   fi
37493
37494
37495
37496   echo "$as_me:$LINENO: checking for expl declaration" >&5
37497 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37498   if test x${glibcxx_cv_func_expl_use+set} != xset; then
37499     if test "${glibcxx_cv_func_expl_use+set}" = set; then
37500   echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502
37503
37504
37505       ac_ext=cc
37506 ac_cpp='$CXXCPP $CPPFLAGS'
37507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510
37511       cat >conftest.$ac_ext <<_ACEOF
37512 #line $LINENO "configure"
37513 /* confdefs.h.  */
37514 _ACEOF
37515 cat confdefs.h >>conftest.$ac_ext
37516 cat >>conftest.$ac_ext <<_ACEOF
37517 /* end confdefs.h.  */
37518 #include <math.h>
37519                       #ifdef HAVE_IEEEFP_H
37520                       #include <ieeefp.h>
37521                       #endif
37522
37523 int
37524 main ()
37525 {
37526  expl(0);
37527   ;
37528   return 0;
37529 }
37530 _ACEOF
37531 rm -f conftest.$ac_objext
37532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37533   (eval $ac_compile) 2>&5
37534   ac_status=$?
37535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536   (exit $ac_status); } &&
37537          { ac_try='test -s conftest.$ac_objext'
37538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37539   (eval $ac_try) 2>&5
37540   ac_status=$?
37541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542   (exit $ac_status); }; }; then
37543   glibcxx_cv_func_expl_use=yes
37544 else
37545   echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37547
37548 glibcxx_cv_func_expl_use=no
37549 fi
37550 rm -f conftest.$ac_objext conftest.$ac_ext
37551       ac_ext=c
37552 ac_cpp='$CPP $CPPFLAGS'
37553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37556
37557
37558 fi
37559
37560   fi
37561   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37562 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37563
37564   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37565
37566 for ac_func in expl
37567 do
37568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37569 echo "$as_me:$LINENO: checking for $ac_func" >&5
37570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37571 if eval "test \"\${$as_ac_var+set}\" = set"; then
37572   echo $ECHO_N "(cached) $ECHO_C" >&6
37573 else
37574   if test x$gcc_no_link = xyes; then
37575   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37577    { (exit 1); exit 1; }; }
37578 fi
37579 cat >conftest.$ac_ext <<_ACEOF
37580 #line $LINENO "configure"
37581 /* confdefs.h.  */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h.  */
37586 /* System header to define __stub macros and hopefully few prototypes,
37587     which can conflict with char $ac_func (); below.
37588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37589     <limits.h> exists even on freestanding compilers.  */
37590 #ifdef __STDC__
37591 # include <limits.h>
37592 #else
37593 # include <assert.h>
37594 #endif
37595 /* Override any gcc2 internal prototype to avoid an error.  */
37596 #ifdef __cplusplus
37597 extern "C"
37598 {
37599 #endif
37600 /* We use char because int might match the return type of a gcc2
37601    builtin and then its argument prototype would still apply.  */
37602 char $ac_func ();
37603 /* The GNU C library defines this for functions which it implements
37604     to always fail with ENOSYS.  Some functions are actually named
37605     something starting with __ and the normal name is an alias.  */
37606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37607 choke me
37608 #else
37609 char (*f) () = $ac_func;
37610 #endif
37611 #ifdef __cplusplus
37612 }
37613 #endif
37614
37615 int
37616 main ()
37617 {
37618 return f != $ac_func;
37619   ;
37620   return 0;
37621 }
37622 _ACEOF
37623 rm -f conftest.$ac_objext conftest$ac_exeext
37624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37625   (eval $ac_link) 2>&5
37626   ac_status=$?
37627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628   (exit $ac_status); } &&
37629          { ac_try='test -s conftest$ac_exeext'
37630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37631   (eval $ac_try) 2>&5
37632   ac_status=$?
37633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634   (exit $ac_status); }; }; then
37635   eval "$as_ac_var=yes"
37636 else
37637   echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.$ac_ext >&5
37639
37640 eval "$as_ac_var=no"
37641 fi
37642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37643 fi
37644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37646 if test `eval echo '${'$as_ac_var'}'` = yes; then
37647   cat >>confdefs.h <<_ACEOF
37648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37649 _ACEOF
37650
37651 fi
37652 done
37653
37654   else
37655
37656   echo "$as_me:$LINENO: checking for _expl declaration" >&5
37657 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37658   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37659     if test "${glibcxx_cv_func__expl_use+set}" = set; then
37660   echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37662
37663
37664
37665       ac_ext=cc
37666 ac_cpp='$CXXCPP $CPPFLAGS'
37667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37670
37671       cat >conftest.$ac_ext <<_ACEOF
37672 #line $LINENO "configure"
37673 /* confdefs.h.  */
37674 _ACEOF
37675 cat confdefs.h >>conftest.$ac_ext
37676 cat >>conftest.$ac_ext <<_ACEOF
37677 /* end confdefs.h.  */
37678 #include <math.h>
37679                       #ifdef HAVE_IEEEFP_H
37680                       #include <ieeefp.h>
37681                       #endif
37682
37683 int
37684 main ()
37685 {
37686  _expl(0);
37687   ;
37688   return 0;
37689 }
37690 _ACEOF
37691 rm -f conftest.$ac_objext
37692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37693   (eval $ac_compile) 2>&5
37694   ac_status=$?
37695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696   (exit $ac_status); } &&
37697          { ac_try='test -s conftest.$ac_objext'
37698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37699   (eval $ac_try) 2>&5
37700   ac_status=$?
37701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702   (exit $ac_status); }; }; then
37703   glibcxx_cv_func__expl_use=yes
37704 else
37705   echo "$as_me: failed program was:" >&5
37706 sed 's/^/| /' conftest.$ac_ext >&5
37707
37708 glibcxx_cv_func__expl_use=no
37709 fi
37710 rm -f conftest.$ac_objext conftest.$ac_ext
37711       ac_ext=c
37712 ac_cpp='$CPP $CPPFLAGS'
37713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37716
37717
37718 fi
37719
37720   fi
37721   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37722 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37723
37724     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37725
37726 for ac_func in _expl
37727 do
37728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37729 echo "$as_me:$LINENO: checking for $ac_func" >&5
37730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37731 if eval "test \"\${$as_ac_var+set}\" = set"; then
37732   echo $ECHO_N "(cached) $ECHO_C" >&6
37733 else
37734   if test x$gcc_no_link = xyes; then
37735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37737    { (exit 1); exit 1; }; }
37738 fi
37739 cat >conftest.$ac_ext <<_ACEOF
37740 #line $LINENO "configure"
37741 /* confdefs.h.  */
37742 _ACEOF
37743 cat confdefs.h >>conftest.$ac_ext
37744 cat >>conftest.$ac_ext <<_ACEOF
37745 /* end confdefs.h.  */
37746 /* System header to define __stub macros and hopefully few prototypes,
37747     which can conflict with char $ac_func (); below.
37748     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37749     <limits.h> exists even on freestanding compilers.  */
37750 #ifdef __STDC__
37751 # include <limits.h>
37752 #else
37753 # include <assert.h>
37754 #endif
37755 /* Override any gcc2 internal prototype to avoid an error.  */
37756 #ifdef __cplusplus
37757 extern "C"
37758 {
37759 #endif
37760 /* We use char because int might match the return type of a gcc2
37761    builtin and then its argument prototype would still apply.  */
37762 char $ac_func ();
37763 /* The GNU C library defines this for functions which it implements
37764     to always fail with ENOSYS.  Some functions are actually named
37765     something starting with __ and the normal name is an alias.  */
37766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37767 choke me
37768 #else
37769 char (*f) () = $ac_func;
37770 #endif
37771 #ifdef __cplusplus
37772 }
37773 #endif
37774
37775 int
37776 main ()
37777 {
37778 return f != $ac_func;
37779   ;
37780   return 0;
37781 }
37782 _ACEOF
37783 rm -f conftest.$ac_objext conftest$ac_exeext
37784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37785   (eval $ac_link) 2>&5
37786   ac_status=$?
37787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788   (exit $ac_status); } &&
37789          { ac_try='test -s conftest$ac_exeext'
37790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791   (eval $ac_try) 2>&5
37792   ac_status=$?
37793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794   (exit $ac_status); }; }; then
37795   eval "$as_ac_var=yes"
37796 else
37797   echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.$ac_ext >&5
37799
37800 eval "$as_ac_var=no"
37801 fi
37802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37803 fi
37804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37806 if test `eval echo '${'$as_ac_var'}'` = yes; then
37807   cat >>confdefs.h <<_ACEOF
37808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37809 _ACEOF
37810
37811 fi
37812 done
37813
37814     fi
37815   fi
37816
37817
37818
37819   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37820 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37821   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37822     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37823   echo $ECHO_N "(cached) $ECHO_C" >&6
37824 else
37825
37826
37827
37828       ac_ext=cc
37829 ac_cpp='$CXXCPP $CPPFLAGS'
37830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37833
37834       cat >conftest.$ac_ext <<_ACEOF
37835 #line $LINENO "configure"
37836 /* confdefs.h.  */
37837 _ACEOF
37838 cat confdefs.h >>conftest.$ac_ext
37839 cat >>conftest.$ac_ext <<_ACEOF
37840 /* end confdefs.h.  */
37841 #include <math.h>
37842                       #ifdef HAVE_IEEEFP_H
37843                       #include <ieeefp.h>
37844                       #endif
37845
37846 int
37847 main ()
37848 {
37849  fabsl(0);
37850   ;
37851   return 0;
37852 }
37853 _ACEOF
37854 rm -f conftest.$ac_objext
37855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37856   (eval $ac_compile) 2>&5
37857   ac_status=$?
37858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859   (exit $ac_status); } &&
37860          { ac_try='test -s conftest.$ac_objext'
37861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862   (eval $ac_try) 2>&5
37863   ac_status=$?
37864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865   (exit $ac_status); }; }; then
37866   glibcxx_cv_func_fabsl_use=yes
37867 else
37868   echo "$as_me: failed program was:" >&5
37869 sed 's/^/| /' conftest.$ac_ext >&5
37870
37871 glibcxx_cv_func_fabsl_use=no
37872 fi
37873 rm -f conftest.$ac_objext conftest.$ac_ext
37874       ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879
37880
37881 fi
37882
37883   fi
37884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37885 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37886
37887   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37888
37889 for ac_func in fabsl
37890 do
37891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37892 echo "$as_me:$LINENO: checking for $ac_func" >&5
37893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37894 if eval "test \"\${$as_ac_var+set}\" = set"; then
37895   echo $ECHO_N "(cached) $ECHO_C" >&6
37896 else
37897   if test x$gcc_no_link = xyes; then
37898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37900    { (exit 1); exit 1; }; }
37901 fi
37902 cat >conftest.$ac_ext <<_ACEOF
37903 #line $LINENO "configure"
37904 /* confdefs.h.  */
37905 _ACEOF
37906 cat confdefs.h >>conftest.$ac_ext
37907 cat >>conftest.$ac_ext <<_ACEOF
37908 /* end confdefs.h.  */
37909 /* System header to define __stub macros and hopefully few prototypes,
37910     which can conflict with char $ac_func (); below.
37911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37912     <limits.h> exists even on freestanding compilers.  */
37913 #ifdef __STDC__
37914 # include <limits.h>
37915 #else
37916 # include <assert.h>
37917 #endif
37918 /* Override any gcc2 internal prototype to avoid an error.  */
37919 #ifdef __cplusplus
37920 extern "C"
37921 {
37922 #endif
37923 /* We use char because int might match the return type of a gcc2
37924    builtin and then its argument prototype would still apply.  */
37925 char $ac_func ();
37926 /* The GNU C library defines this for functions which it implements
37927     to always fail with ENOSYS.  Some functions are actually named
37928     something starting with __ and the normal name is an alias.  */
37929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37930 choke me
37931 #else
37932 char (*f) () = $ac_func;
37933 #endif
37934 #ifdef __cplusplus
37935 }
37936 #endif
37937
37938 int
37939 main ()
37940 {
37941 return f != $ac_func;
37942   ;
37943   return 0;
37944 }
37945 _ACEOF
37946 rm -f conftest.$ac_objext conftest$ac_exeext
37947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37948   (eval $ac_link) 2>&5
37949   ac_status=$?
37950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951   (exit $ac_status); } &&
37952          { ac_try='test -s conftest$ac_exeext'
37953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37954   (eval $ac_try) 2>&5
37955   ac_status=$?
37956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957   (exit $ac_status); }; }; then
37958   eval "$as_ac_var=yes"
37959 else
37960   echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963 eval "$as_ac_var=no"
37964 fi
37965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37966 fi
37967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37969 if test `eval echo '${'$as_ac_var'}'` = yes; then
37970   cat >>confdefs.h <<_ACEOF
37971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37972 _ACEOF
37973
37974 fi
37975 done
37976
37977   else
37978
37979   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
37980 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
37981   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37982     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
37983   echo $ECHO_N "(cached) $ECHO_C" >&6
37984 else
37985
37986
37987
37988       ac_ext=cc
37989 ac_cpp='$CXXCPP $CPPFLAGS'
37990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37993
37994       cat >conftest.$ac_ext <<_ACEOF
37995 #line $LINENO "configure"
37996 /* confdefs.h.  */
37997 _ACEOF
37998 cat confdefs.h >>conftest.$ac_ext
37999 cat >>conftest.$ac_ext <<_ACEOF
38000 /* end confdefs.h.  */
38001 #include <math.h>
38002                       #ifdef HAVE_IEEEFP_H
38003                       #include <ieeefp.h>
38004                       #endif
38005
38006 int
38007 main ()
38008 {
38009  _fabsl(0);
38010   ;
38011   return 0;
38012 }
38013 _ACEOF
38014 rm -f conftest.$ac_objext
38015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38016   (eval $ac_compile) 2>&5
38017   ac_status=$?
38018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019   (exit $ac_status); } &&
38020          { ac_try='test -s conftest.$ac_objext'
38021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022   (eval $ac_try) 2>&5
38023   ac_status=$?
38024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025   (exit $ac_status); }; }; then
38026   glibcxx_cv_func__fabsl_use=yes
38027 else
38028   echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38030
38031 glibcxx_cv_func__fabsl_use=no
38032 fi
38033 rm -f conftest.$ac_objext conftest.$ac_ext
38034       ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38039
38040
38041 fi
38042
38043   fi
38044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
38045 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
38046
38047     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38048
38049 for ac_func in _fabsl
38050 do
38051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38052 echo "$as_me:$LINENO: checking for $ac_func" >&5
38053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_var+set}\" = set"; then
38055   echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057   if test x$gcc_no_link = xyes; then
38058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38060    { (exit 1); exit 1; }; }
38061 fi
38062 cat >conftest.$ac_ext <<_ACEOF
38063 #line $LINENO "configure"
38064 /* confdefs.h.  */
38065 _ACEOF
38066 cat confdefs.h >>conftest.$ac_ext
38067 cat >>conftest.$ac_ext <<_ACEOF
38068 /* end confdefs.h.  */
38069 /* System header to define __stub macros and hopefully few prototypes,
38070     which can conflict with char $ac_func (); below.
38071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38072     <limits.h> exists even on freestanding compilers.  */
38073 #ifdef __STDC__
38074 # include <limits.h>
38075 #else
38076 # include <assert.h>
38077 #endif
38078 /* Override any gcc2 internal prototype to avoid an error.  */
38079 #ifdef __cplusplus
38080 extern "C"
38081 {
38082 #endif
38083 /* We use char because int might match the return type of a gcc2
38084    builtin and then its argument prototype would still apply.  */
38085 char $ac_func ();
38086 /* The GNU C library defines this for functions which it implements
38087     to always fail with ENOSYS.  Some functions are actually named
38088     something starting with __ and the normal name is an alias.  */
38089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38090 choke me
38091 #else
38092 char (*f) () = $ac_func;
38093 #endif
38094 #ifdef __cplusplus
38095 }
38096 #endif
38097
38098 int
38099 main ()
38100 {
38101 return f != $ac_func;
38102   ;
38103   return 0;
38104 }
38105 _ACEOF
38106 rm -f conftest.$ac_objext conftest$ac_exeext
38107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38108   (eval $ac_link) 2>&5
38109   ac_status=$?
38110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111   (exit $ac_status); } &&
38112          { ac_try='test -s conftest$ac_exeext'
38113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114   (eval $ac_try) 2>&5
38115   ac_status=$?
38116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117   (exit $ac_status); }; }; then
38118   eval "$as_ac_var=yes"
38119 else
38120   echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38122
38123 eval "$as_ac_var=no"
38124 fi
38125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38126 fi
38127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38129 if test `eval echo '${'$as_ac_var'}'` = yes; then
38130   cat >>confdefs.h <<_ACEOF
38131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38132 _ACEOF
38133
38134 fi
38135 done
38136
38137     fi
38138   fi
38139
38140
38141
38142   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38143 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38144   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38145     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38146   echo $ECHO_N "(cached) $ECHO_C" >&6
38147 else
38148
38149
38150
38151       ac_ext=cc
38152 ac_cpp='$CXXCPP $CPPFLAGS'
38153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38156
38157       cat >conftest.$ac_ext <<_ACEOF
38158 #line $LINENO "configure"
38159 /* confdefs.h.  */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h.  */
38164 #include <math.h>
38165 int
38166 main ()
38167 {
38168  fmodl(0, 0);
38169   ;
38170   return 0;
38171 }
38172 _ACEOF
38173 rm -f conftest.$ac_objext
38174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38175   (eval $ac_compile) 2>&5
38176   ac_status=$?
38177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178   (exit $ac_status); } &&
38179          { ac_try='test -s conftest.$ac_objext'
38180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38181   (eval $ac_try) 2>&5
38182   ac_status=$?
38183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184   (exit $ac_status); }; }; then
38185   glibcxx_cv_func_fmodl_use=yes
38186 else
38187   echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38189
38190 glibcxx_cv_func_fmodl_use=no
38191 fi
38192 rm -f conftest.$ac_objext conftest.$ac_ext
38193       ac_ext=c
38194 ac_cpp='$CPP $CPPFLAGS'
38195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38198
38199
38200 fi
38201
38202   fi
38203   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38204 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38205
38206   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38207
38208 for ac_func in fmodl
38209 do
38210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38211 echo "$as_me:$LINENO: checking for $ac_func" >&5
38212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38213 if eval "test \"\${$as_ac_var+set}\" = set"; then
38214   echo $ECHO_N "(cached) $ECHO_C" >&6
38215 else
38216   if test x$gcc_no_link = xyes; then
38217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38219    { (exit 1); exit 1; }; }
38220 fi
38221 cat >conftest.$ac_ext <<_ACEOF
38222 #line $LINENO "configure"
38223 /* confdefs.h.  */
38224 _ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h.  */
38228 /* System header to define __stub macros and hopefully few prototypes,
38229     which can conflict with char $ac_func (); below.
38230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38231     <limits.h> exists even on freestanding compilers.  */
38232 #ifdef __STDC__
38233 # include <limits.h>
38234 #else
38235 # include <assert.h>
38236 #endif
38237 /* Override any gcc2 internal prototype to avoid an error.  */
38238 #ifdef __cplusplus
38239 extern "C"
38240 {
38241 #endif
38242 /* We use char because int might match the return type of a gcc2
38243    builtin and then its argument prototype would still apply.  */
38244 char $ac_func ();
38245 /* The GNU C library defines this for functions which it implements
38246     to always fail with ENOSYS.  Some functions are actually named
38247     something starting with __ and the normal name is an alias.  */
38248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38249 choke me
38250 #else
38251 char (*f) () = $ac_func;
38252 #endif
38253 #ifdef __cplusplus
38254 }
38255 #endif
38256
38257 int
38258 main ()
38259 {
38260 return f != $ac_func;
38261   ;
38262   return 0;
38263 }
38264 _ACEOF
38265 rm -f conftest.$ac_objext conftest$ac_exeext
38266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38267   (eval $ac_link) 2>&5
38268   ac_status=$?
38269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38270   (exit $ac_status); } &&
38271          { ac_try='test -s conftest$ac_exeext'
38272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38273   (eval $ac_try) 2>&5
38274   ac_status=$?
38275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276   (exit $ac_status); }; }; then
38277   eval "$as_ac_var=yes"
38278 else
38279   echo "$as_me: failed program was:" >&5
38280 sed 's/^/| /' conftest.$ac_ext >&5
38281
38282 eval "$as_ac_var=no"
38283 fi
38284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38285 fi
38286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38288 if test `eval echo '${'$as_ac_var'}'` = yes; then
38289   cat >>confdefs.h <<_ACEOF
38290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38291 _ACEOF
38292
38293 fi
38294 done
38295
38296   else
38297
38298   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38299 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38300   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38301     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38302   echo $ECHO_N "(cached) $ECHO_C" >&6
38303 else
38304
38305
38306
38307       ac_ext=cc
38308 ac_cpp='$CXXCPP $CPPFLAGS'
38309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38312
38313       cat >conftest.$ac_ext <<_ACEOF
38314 #line $LINENO "configure"
38315 /* confdefs.h.  */
38316 _ACEOF
38317 cat confdefs.h >>conftest.$ac_ext
38318 cat >>conftest.$ac_ext <<_ACEOF
38319 /* end confdefs.h.  */
38320 #include <math.h>
38321 int
38322 main ()
38323 {
38324  _fmodl(0, 0);
38325   ;
38326   return 0;
38327 }
38328 _ACEOF
38329 rm -f conftest.$ac_objext
38330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38331   (eval $ac_compile) 2>&5
38332   ac_status=$?
38333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334   (exit $ac_status); } &&
38335          { ac_try='test -s conftest.$ac_objext'
38336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337   (eval $ac_try) 2>&5
38338   ac_status=$?
38339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340   (exit $ac_status); }; }; then
38341   glibcxx_cv_func__fmodl_use=yes
38342 else
38343   echo "$as_me: failed program was:" >&5
38344 sed 's/^/| /' conftest.$ac_ext >&5
38345
38346 glibcxx_cv_func__fmodl_use=no
38347 fi
38348 rm -f conftest.$ac_objext conftest.$ac_ext
38349       ac_ext=c
38350 ac_cpp='$CPP $CPPFLAGS'
38351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38354
38355
38356 fi
38357
38358   fi
38359   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38360 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38361
38362     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38363
38364 for ac_func in _fmodl
38365 do
38366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38367 echo "$as_me:$LINENO: checking for $ac_func" >&5
38368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38369 if eval "test \"\${$as_ac_var+set}\" = set"; then
38370   echo $ECHO_N "(cached) $ECHO_C" >&6
38371 else
38372   if test x$gcc_no_link = xyes; then
38373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38375    { (exit 1); exit 1; }; }
38376 fi
38377 cat >conftest.$ac_ext <<_ACEOF
38378 #line $LINENO "configure"
38379 /* confdefs.h.  */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h.  */
38384 /* System header to define __stub macros and hopefully few prototypes,
38385     which can conflict with char $ac_func (); below.
38386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38387     <limits.h> exists even on freestanding compilers.  */
38388 #ifdef __STDC__
38389 # include <limits.h>
38390 #else
38391 # include <assert.h>
38392 #endif
38393 /* Override any gcc2 internal prototype to avoid an error.  */
38394 #ifdef __cplusplus
38395 extern "C"
38396 {
38397 #endif
38398 /* We use char because int might match the return type of a gcc2
38399    builtin and then its argument prototype would still apply.  */
38400 char $ac_func ();
38401 /* The GNU C library defines this for functions which it implements
38402     to always fail with ENOSYS.  Some functions are actually named
38403     something starting with __ and the normal name is an alias.  */
38404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38405 choke me
38406 #else
38407 char (*f) () = $ac_func;
38408 #endif
38409 #ifdef __cplusplus
38410 }
38411 #endif
38412
38413 int
38414 main ()
38415 {
38416 return f != $ac_func;
38417   ;
38418   return 0;
38419 }
38420 _ACEOF
38421 rm -f conftest.$ac_objext conftest$ac_exeext
38422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38423   (eval $ac_link) 2>&5
38424   ac_status=$?
38425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426   (exit $ac_status); } &&
38427          { ac_try='test -s conftest$ac_exeext'
38428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38429   (eval $ac_try) 2>&5
38430   ac_status=$?
38431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432   (exit $ac_status); }; }; then
38433   eval "$as_ac_var=yes"
38434 else
38435   echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.$ac_ext >&5
38437
38438 eval "$as_ac_var=no"
38439 fi
38440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38441 fi
38442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38444 if test `eval echo '${'$as_ac_var'}'` = yes; then
38445   cat >>confdefs.h <<_ACEOF
38446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38447 _ACEOF
38448
38449 fi
38450 done
38451
38452     fi
38453   fi
38454
38455
38456
38457   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38458 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38459   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38460     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38461   echo $ECHO_N "(cached) $ECHO_C" >&6
38462 else
38463
38464
38465
38466       ac_ext=cc
38467 ac_cpp='$CXXCPP $CPPFLAGS'
38468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471
38472       cat >conftest.$ac_ext <<_ACEOF
38473 #line $LINENO "configure"
38474 /* confdefs.h.  */
38475 _ACEOF
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h.  */
38479 #include <math.h>
38480 int
38481 main ()
38482 {
38483  frexpl(0, 0);
38484   ;
38485   return 0;
38486 }
38487 _ACEOF
38488 rm -f conftest.$ac_objext
38489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38490   (eval $ac_compile) 2>&5
38491   ac_status=$?
38492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493   (exit $ac_status); } &&
38494          { ac_try='test -s conftest.$ac_objext'
38495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496   (eval $ac_try) 2>&5
38497   ac_status=$?
38498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499   (exit $ac_status); }; }; then
38500   glibcxx_cv_func_frexpl_use=yes
38501 else
38502   echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38504
38505 glibcxx_cv_func_frexpl_use=no
38506 fi
38507 rm -f conftest.$ac_objext conftest.$ac_ext
38508       ac_ext=c
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38513
38514
38515 fi
38516
38517   fi
38518   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38519 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38520
38521   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38522
38523 for ac_func in frexpl
38524 do
38525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38526 echo "$as_me:$LINENO: checking for $ac_func" >&5
38527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38528 if eval "test \"\${$as_ac_var+set}\" = set"; then
38529   echo $ECHO_N "(cached) $ECHO_C" >&6
38530 else
38531   if test x$gcc_no_link = xyes; then
38532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38534    { (exit 1); exit 1; }; }
38535 fi
38536 cat >conftest.$ac_ext <<_ACEOF
38537 #line $LINENO "configure"
38538 /* confdefs.h.  */
38539 _ACEOF
38540 cat confdefs.h >>conftest.$ac_ext
38541 cat >>conftest.$ac_ext <<_ACEOF
38542 /* end confdefs.h.  */
38543 /* System header to define __stub macros and hopefully few prototypes,
38544     which can conflict with char $ac_func (); below.
38545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38546     <limits.h> exists even on freestanding compilers.  */
38547 #ifdef __STDC__
38548 # include <limits.h>
38549 #else
38550 # include <assert.h>
38551 #endif
38552 /* Override any gcc2 internal prototype to avoid an error.  */
38553 #ifdef __cplusplus
38554 extern "C"
38555 {
38556 #endif
38557 /* We use char because int might match the return type of a gcc2
38558    builtin and then its argument prototype would still apply.  */
38559 char $ac_func ();
38560 /* The GNU C library defines this for functions which it implements
38561     to always fail with ENOSYS.  Some functions are actually named
38562     something starting with __ and the normal name is an alias.  */
38563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38564 choke me
38565 #else
38566 char (*f) () = $ac_func;
38567 #endif
38568 #ifdef __cplusplus
38569 }
38570 #endif
38571
38572 int
38573 main ()
38574 {
38575 return f != $ac_func;
38576   ;
38577   return 0;
38578 }
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582   (eval $ac_link) 2>&5
38583   ac_status=$?
38584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585   (exit $ac_status); } &&
38586          { ac_try='test -s conftest$ac_exeext'
38587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38588   (eval $ac_try) 2>&5
38589   ac_status=$?
38590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591   (exit $ac_status); }; }; then
38592   eval "$as_ac_var=yes"
38593 else
38594   echo "$as_me: failed program was:" >&5
38595 sed 's/^/| /' conftest.$ac_ext >&5
38596
38597 eval "$as_ac_var=no"
38598 fi
38599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38600 fi
38601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38603 if test `eval echo '${'$as_ac_var'}'` = yes; then
38604   cat >>confdefs.h <<_ACEOF
38605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38606 _ACEOF
38607
38608 fi
38609 done
38610
38611   else
38612
38613   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38614 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38615   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38616     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38617   echo $ECHO_N "(cached) $ECHO_C" >&6
38618 else
38619
38620
38621
38622       ac_ext=cc
38623 ac_cpp='$CXXCPP $CPPFLAGS'
38624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38627
38628       cat >conftest.$ac_ext <<_ACEOF
38629 #line $LINENO "configure"
38630 /* confdefs.h.  */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h.  */
38635 #include <math.h>
38636 int
38637 main ()
38638 {
38639  _frexpl(0, 0);
38640   ;
38641   return 0;
38642 }
38643 _ACEOF
38644 rm -f conftest.$ac_objext
38645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38646   (eval $ac_compile) 2>&5
38647   ac_status=$?
38648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649   (exit $ac_status); } &&
38650          { ac_try='test -s conftest.$ac_objext'
38651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652   (eval $ac_try) 2>&5
38653   ac_status=$?
38654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655   (exit $ac_status); }; }; then
38656   glibcxx_cv_func__frexpl_use=yes
38657 else
38658   echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38660
38661 glibcxx_cv_func__frexpl_use=no
38662 fi
38663 rm -f conftest.$ac_objext conftest.$ac_ext
38664       ac_ext=c
38665 ac_cpp='$CPP $CPPFLAGS'
38666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38669
38670
38671 fi
38672
38673   fi
38674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38675 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38676
38677     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38678
38679 for ac_func in _frexpl
38680 do
38681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38682 echo "$as_me:$LINENO: checking for $ac_func" >&5
38683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38684 if eval "test \"\${$as_ac_var+set}\" = set"; then
38685   echo $ECHO_N "(cached) $ECHO_C" >&6
38686 else
38687   if test x$gcc_no_link = xyes; then
38688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38690    { (exit 1); exit 1; }; }
38691 fi
38692 cat >conftest.$ac_ext <<_ACEOF
38693 #line $LINENO "configure"
38694 /* confdefs.h.  */
38695 _ACEOF
38696 cat confdefs.h >>conftest.$ac_ext
38697 cat >>conftest.$ac_ext <<_ACEOF
38698 /* end confdefs.h.  */
38699 /* System header to define __stub macros and hopefully few prototypes,
38700     which can conflict with char $ac_func (); below.
38701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38702     <limits.h> exists even on freestanding compilers.  */
38703 #ifdef __STDC__
38704 # include <limits.h>
38705 #else
38706 # include <assert.h>
38707 #endif
38708 /* Override any gcc2 internal prototype to avoid an error.  */
38709 #ifdef __cplusplus
38710 extern "C"
38711 {
38712 #endif
38713 /* We use char because int might match the return type of a gcc2
38714    builtin and then its argument prototype would still apply.  */
38715 char $ac_func ();
38716 /* The GNU C library defines this for functions which it implements
38717     to always fail with ENOSYS.  Some functions are actually named
38718     something starting with __ and the normal name is an alias.  */
38719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38720 choke me
38721 #else
38722 char (*f) () = $ac_func;
38723 #endif
38724 #ifdef __cplusplus
38725 }
38726 #endif
38727
38728 int
38729 main ()
38730 {
38731 return f != $ac_func;
38732   ;
38733   return 0;
38734 }
38735 _ACEOF
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38738   (eval $ac_link) 2>&5
38739   ac_status=$?
38740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741   (exit $ac_status); } &&
38742          { ac_try='test -s conftest$ac_exeext'
38743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38744   (eval $ac_try) 2>&5
38745   ac_status=$?
38746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38747   (exit $ac_status); }; }; then
38748   eval "$as_ac_var=yes"
38749 else
38750   echo "$as_me: failed program was:" >&5
38751 sed 's/^/| /' conftest.$ac_ext >&5
38752
38753 eval "$as_ac_var=no"
38754 fi
38755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38756 fi
38757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38759 if test `eval echo '${'$as_ac_var'}'` = yes; then
38760   cat >>confdefs.h <<_ACEOF
38761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38762 _ACEOF
38763
38764 fi
38765 done
38766
38767     fi
38768   fi
38769
38770
38771
38772   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38773 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38774   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38775     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38776   echo $ECHO_N "(cached) $ECHO_C" >&6
38777 else
38778
38779
38780
38781       ac_ext=cc
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38786
38787       cat >conftest.$ac_ext <<_ACEOF
38788 #line $LINENO "configure"
38789 /* confdefs.h.  */
38790 _ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h.  */
38794 #include <math.h>
38795 int
38796 main ()
38797 {
38798  hypotl(0, 0);
38799   ;
38800   return 0;
38801 }
38802 _ACEOF
38803 rm -f conftest.$ac_objext
38804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38805   (eval $ac_compile) 2>&5
38806   ac_status=$?
38807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808   (exit $ac_status); } &&
38809          { ac_try='test -s conftest.$ac_objext'
38810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38811   (eval $ac_try) 2>&5
38812   ac_status=$?
38813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814   (exit $ac_status); }; }; then
38815   glibcxx_cv_func_hypotl_use=yes
38816 else
38817   echo "$as_me: failed program was:" >&5
38818 sed 's/^/| /' conftest.$ac_ext >&5
38819
38820 glibcxx_cv_func_hypotl_use=no
38821 fi
38822 rm -f conftest.$ac_objext conftest.$ac_ext
38823       ac_ext=c
38824 ac_cpp='$CPP $CPPFLAGS'
38825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38828
38829
38830 fi
38831
38832   fi
38833   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38834 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38835
38836   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38837
38838 for ac_func in hypotl
38839 do
38840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38841 echo "$as_me:$LINENO: checking for $ac_func" >&5
38842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38843 if eval "test \"\${$as_ac_var+set}\" = set"; then
38844   echo $ECHO_N "(cached) $ECHO_C" >&6
38845 else
38846   if test x$gcc_no_link = xyes; then
38847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38849    { (exit 1); exit 1; }; }
38850 fi
38851 cat >conftest.$ac_ext <<_ACEOF
38852 #line $LINENO "configure"
38853 /* confdefs.h.  */
38854 _ACEOF
38855 cat confdefs.h >>conftest.$ac_ext
38856 cat >>conftest.$ac_ext <<_ACEOF
38857 /* end confdefs.h.  */
38858 /* System header to define __stub macros and hopefully few prototypes,
38859     which can conflict with char $ac_func (); below.
38860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861     <limits.h> exists even on freestanding compilers.  */
38862 #ifdef __STDC__
38863 # include <limits.h>
38864 #else
38865 # include <assert.h>
38866 #endif
38867 /* Override any gcc2 internal prototype to avoid an error.  */
38868 #ifdef __cplusplus
38869 extern "C"
38870 {
38871 #endif
38872 /* We use char because int might match the return type of a gcc2
38873    builtin and then its argument prototype would still apply.  */
38874 char $ac_func ();
38875 /* The GNU C library defines this for functions which it implements
38876     to always fail with ENOSYS.  Some functions are actually named
38877     something starting with __ and the normal name is an alias.  */
38878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38879 choke me
38880 #else
38881 char (*f) () = $ac_func;
38882 #endif
38883 #ifdef __cplusplus
38884 }
38885 #endif
38886
38887 int
38888 main ()
38889 {
38890 return f != $ac_func;
38891   ;
38892   return 0;
38893 }
38894 _ACEOF
38895 rm -f conftest.$ac_objext conftest$ac_exeext
38896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38897   (eval $ac_link) 2>&5
38898   ac_status=$?
38899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38900   (exit $ac_status); } &&
38901          { ac_try='test -s conftest$ac_exeext'
38902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38903   (eval $ac_try) 2>&5
38904   ac_status=$?
38905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906   (exit $ac_status); }; }; then
38907   eval "$as_ac_var=yes"
38908 else
38909   echo "$as_me: failed program was:" >&5
38910 sed 's/^/| /' conftest.$ac_ext >&5
38911
38912 eval "$as_ac_var=no"
38913 fi
38914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38915 fi
38916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38918 if test `eval echo '${'$as_ac_var'}'` = yes; then
38919   cat >>confdefs.h <<_ACEOF
38920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38921 _ACEOF
38922
38923 fi
38924 done
38925
38926   else
38927
38928   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38929 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38930   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38931     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38932   echo $ECHO_N "(cached) $ECHO_C" >&6
38933 else
38934
38935
38936
38937       ac_ext=cc
38938 ac_cpp='$CXXCPP $CPPFLAGS'
38939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38942
38943       cat >conftest.$ac_ext <<_ACEOF
38944 #line $LINENO "configure"
38945 /* confdefs.h.  */
38946 _ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h.  */
38950 #include <math.h>
38951 int
38952 main ()
38953 {
38954  _hypotl(0, 0);
38955   ;
38956   return 0;
38957 }
38958 _ACEOF
38959 rm -f conftest.$ac_objext
38960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38961   (eval $ac_compile) 2>&5
38962   ac_status=$?
38963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964   (exit $ac_status); } &&
38965          { ac_try='test -s conftest.$ac_objext'
38966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38967   (eval $ac_try) 2>&5
38968   ac_status=$?
38969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970   (exit $ac_status); }; }; then
38971   glibcxx_cv_func__hypotl_use=yes
38972 else
38973   echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38975
38976 glibcxx_cv_func__hypotl_use=no
38977 fi
38978 rm -f conftest.$ac_objext conftest.$ac_ext
38979       ac_ext=c
38980 ac_cpp='$CPP $CPPFLAGS'
38981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38984
38985
38986 fi
38987
38988   fi
38989   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
38990 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
38991
38992     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38993
38994 for ac_func in _hypotl
38995 do
38996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38997 echo "$as_me:$LINENO: checking for $ac_func" >&5
38998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38999 if eval "test \"\${$as_ac_var+set}\" = set"; then
39000   echo $ECHO_N "(cached) $ECHO_C" >&6
39001 else
39002   if test x$gcc_no_link = xyes; then
39003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39005    { (exit 1); exit 1; }; }
39006 fi
39007 cat >conftest.$ac_ext <<_ACEOF
39008 #line $LINENO "configure"
39009 /* confdefs.h.  */
39010 _ACEOF
39011 cat confdefs.h >>conftest.$ac_ext
39012 cat >>conftest.$ac_ext <<_ACEOF
39013 /* end confdefs.h.  */
39014 /* System header to define __stub macros and hopefully few prototypes,
39015     which can conflict with char $ac_func (); below.
39016     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39017     <limits.h> exists even on freestanding compilers.  */
39018 #ifdef __STDC__
39019 # include <limits.h>
39020 #else
39021 # include <assert.h>
39022 #endif
39023 /* Override any gcc2 internal prototype to avoid an error.  */
39024 #ifdef __cplusplus
39025 extern "C"
39026 {
39027 #endif
39028 /* We use char because int might match the return type of a gcc2
39029    builtin and then its argument prototype would still apply.  */
39030 char $ac_func ();
39031 /* The GNU C library defines this for functions which it implements
39032     to always fail with ENOSYS.  Some functions are actually named
39033     something starting with __ and the normal name is an alias.  */
39034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39035 choke me
39036 #else
39037 char (*f) () = $ac_func;
39038 #endif
39039 #ifdef __cplusplus
39040 }
39041 #endif
39042
39043 int
39044 main ()
39045 {
39046 return f != $ac_func;
39047   ;
39048   return 0;
39049 }
39050 _ACEOF
39051 rm -f conftest.$ac_objext conftest$ac_exeext
39052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39053   (eval $ac_link) 2>&5
39054   ac_status=$?
39055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056   (exit $ac_status); } &&
39057          { ac_try='test -s conftest$ac_exeext'
39058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059   (eval $ac_try) 2>&5
39060   ac_status=$?
39061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062   (exit $ac_status); }; }; then
39063   eval "$as_ac_var=yes"
39064 else
39065   echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39067
39068 eval "$as_ac_var=no"
39069 fi
39070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39071 fi
39072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39074 if test `eval echo '${'$as_ac_var'}'` = yes; then
39075   cat >>confdefs.h <<_ACEOF
39076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39077 _ACEOF
39078
39079 fi
39080 done
39081
39082     fi
39083   fi
39084
39085
39086
39087   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39088 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39089   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39090     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39091   echo $ECHO_N "(cached) $ECHO_C" >&6
39092 else
39093
39094
39095
39096       ac_ext=cc
39097 ac_cpp='$CXXCPP $CPPFLAGS'
39098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101
39102       cat >conftest.$ac_ext <<_ACEOF
39103 #line $LINENO "configure"
39104 /* confdefs.h.  */
39105 _ACEOF
39106 cat confdefs.h >>conftest.$ac_ext
39107 cat >>conftest.$ac_ext <<_ACEOF
39108 /* end confdefs.h.  */
39109 #include <math.h>
39110 int
39111 main ()
39112 {
39113  ldexpl(0, 0);
39114   ;
39115   return 0;
39116 }
39117 _ACEOF
39118 rm -f conftest.$ac_objext
39119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39120   (eval $ac_compile) 2>&5
39121   ac_status=$?
39122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123   (exit $ac_status); } &&
39124          { ac_try='test -s conftest.$ac_objext'
39125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39126   (eval $ac_try) 2>&5
39127   ac_status=$?
39128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129   (exit $ac_status); }; }; then
39130   glibcxx_cv_func_ldexpl_use=yes
39131 else
39132   echo "$as_me: failed program was:" >&5
39133 sed 's/^/| /' conftest.$ac_ext >&5
39134
39135 glibcxx_cv_func_ldexpl_use=no
39136 fi
39137 rm -f conftest.$ac_objext conftest.$ac_ext
39138       ac_ext=c
39139 ac_cpp='$CPP $CPPFLAGS'
39140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39143
39144
39145 fi
39146
39147   fi
39148   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39149 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39150
39151   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39152
39153 for ac_func in ldexpl
39154 do
39155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39156 echo "$as_me:$LINENO: checking for $ac_func" >&5
39157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39158 if eval "test \"\${$as_ac_var+set}\" = set"; then
39159   echo $ECHO_N "(cached) $ECHO_C" >&6
39160 else
39161   if test x$gcc_no_link = xyes; then
39162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39164    { (exit 1); exit 1; }; }
39165 fi
39166 cat >conftest.$ac_ext <<_ACEOF
39167 #line $LINENO "configure"
39168 /* confdefs.h.  */
39169 _ACEOF
39170 cat confdefs.h >>conftest.$ac_ext
39171 cat >>conftest.$ac_ext <<_ACEOF
39172 /* end confdefs.h.  */
39173 /* System header to define __stub macros and hopefully few prototypes,
39174     which can conflict with char $ac_func (); below.
39175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39176     <limits.h> exists even on freestanding compilers.  */
39177 #ifdef __STDC__
39178 # include <limits.h>
39179 #else
39180 # include <assert.h>
39181 #endif
39182 /* Override any gcc2 internal prototype to avoid an error.  */
39183 #ifdef __cplusplus
39184 extern "C"
39185 {
39186 #endif
39187 /* We use char because int might match the return type of a gcc2
39188    builtin and then its argument prototype would still apply.  */
39189 char $ac_func ();
39190 /* The GNU C library defines this for functions which it implements
39191     to always fail with ENOSYS.  Some functions are actually named
39192     something starting with __ and the normal name is an alias.  */
39193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39194 choke me
39195 #else
39196 char (*f) () = $ac_func;
39197 #endif
39198 #ifdef __cplusplus
39199 }
39200 #endif
39201
39202 int
39203 main ()
39204 {
39205 return f != $ac_func;
39206   ;
39207   return 0;
39208 }
39209 _ACEOF
39210 rm -f conftest.$ac_objext conftest$ac_exeext
39211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39212   (eval $ac_link) 2>&5
39213   ac_status=$?
39214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215   (exit $ac_status); } &&
39216          { ac_try='test -s conftest$ac_exeext'
39217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218   (eval $ac_try) 2>&5
39219   ac_status=$?
39220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221   (exit $ac_status); }; }; then
39222   eval "$as_ac_var=yes"
39223 else
39224   echo "$as_me: failed program was:" >&5
39225 sed 's/^/| /' conftest.$ac_ext >&5
39226
39227 eval "$as_ac_var=no"
39228 fi
39229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39230 fi
39231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39233 if test `eval echo '${'$as_ac_var'}'` = yes; then
39234   cat >>confdefs.h <<_ACEOF
39235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39236 _ACEOF
39237
39238 fi
39239 done
39240
39241   else
39242
39243   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39244 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39245   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39246     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39247   echo $ECHO_N "(cached) $ECHO_C" >&6
39248 else
39249
39250
39251
39252       ac_ext=cc
39253 ac_cpp='$CXXCPP $CPPFLAGS'
39254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39257
39258       cat >conftest.$ac_ext <<_ACEOF
39259 #line $LINENO "configure"
39260 /* confdefs.h.  */
39261 _ACEOF
39262 cat confdefs.h >>conftest.$ac_ext
39263 cat >>conftest.$ac_ext <<_ACEOF
39264 /* end confdefs.h.  */
39265 #include <math.h>
39266 int
39267 main ()
39268 {
39269  _ldexpl(0, 0);
39270   ;
39271   return 0;
39272 }
39273 _ACEOF
39274 rm -f conftest.$ac_objext
39275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39276   (eval $ac_compile) 2>&5
39277   ac_status=$?
39278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279   (exit $ac_status); } &&
39280          { ac_try='test -s conftest.$ac_objext'
39281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282   (eval $ac_try) 2>&5
39283   ac_status=$?
39284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285   (exit $ac_status); }; }; then
39286   glibcxx_cv_func__ldexpl_use=yes
39287 else
39288   echo "$as_me: failed program was:" >&5
39289 sed 's/^/| /' conftest.$ac_ext >&5
39290
39291 glibcxx_cv_func__ldexpl_use=no
39292 fi
39293 rm -f conftest.$ac_objext conftest.$ac_ext
39294       ac_ext=c
39295 ac_cpp='$CPP $CPPFLAGS'
39296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39299
39300
39301 fi
39302
39303   fi
39304   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39305 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39306
39307     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39308
39309 for ac_func in _ldexpl
39310 do
39311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39312 echo "$as_me:$LINENO: checking for $ac_func" >&5
39313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39314 if eval "test \"\${$as_ac_var+set}\" = set"; then
39315   echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317   if test x$gcc_no_link = xyes; then
39318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39320    { (exit 1); exit 1; }; }
39321 fi
39322 cat >conftest.$ac_ext <<_ACEOF
39323 #line $LINENO "configure"
39324 /* confdefs.h.  */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h.  */
39329 /* System header to define __stub macros and hopefully few prototypes,
39330     which can conflict with char $ac_func (); below.
39331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39332     <limits.h> exists even on freestanding compilers.  */
39333 #ifdef __STDC__
39334 # include <limits.h>
39335 #else
39336 # include <assert.h>
39337 #endif
39338 /* Override any gcc2 internal prototype to avoid an error.  */
39339 #ifdef __cplusplus
39340 extern "C"
39341 {
39342 #endif
39343 /* We use char because int might match the return type of a gcc2
39344    builtin and then its argument prototype would still apply.  */
39345 char $ac_func ();
39346 /* The GNU C library defines this for functions which it implements
39347     to always fail with ENOSYS.  Some functions are actually named
39348     something starting with __ and the normal name is an alias.  */
39349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39350 choke me
39351 #else
39352 char (*f) () = $ac_func;
39353 #endif
39354 #ifdef __cplusplus
39355 }
39356 #endif
39357
39358 int
39359 main ()
39360 {
39361 return f != $ac_func;
39362   ;
39363   return 0;
39364 }
39365 _ACEOF
39366 rm -f conftest.$ac_objext conftest$ac_exeext
39367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39368   (eval $ac_link) 2>&5
39369   ac_status=$?
39370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371   (exit $ac_status); } &&
39372          { ac_try='test -s conftest$ac_exeext'
39373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39374   (eval $ac_try) 2>&5
39375   ac_status=$?
39376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377   (exit $ac_status); }; }; then
39378   eval "$as_ac_var=yes"
39379 else
39380   echo "$as_me: failed program was:" >&5
39381 sed 's/^/| /' conftest.$ac_ext >&5
39382
39383 eval "$as_ac_var=no"
39384 fi
39385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39386 fi
39387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39389 if test `eval echo '${'$as_ac_var'}'` = yes; then
39390   cat >>confdefs.h <<_ACEOF
39391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39392 _ACEOF
39393
39394 fi
39395 done
39396
39397     fi
39398   fi
39399
39400
39401
39402   echo "$as_me:$LINENO: checking for logl declaration" >&5
39403 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39404   if test x${glibcxx_cv_func_logl_use+set} != xset; then
39405     if test "${glibcxx_cv_func_logl_use+set}" = set; then
39406   echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39408
39409
39410
39411       ac_ext=cc
39412 ac_cpp='$CXXCPP $CPPFLAGS'
39413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39416
39417       cat >conftest.$ac_ext <<_ACEOF
39418 #line $LINENO "configure"
39419 /* confdefs.h.  */
39420 _ACEOF
39421 cat confdefs.h >>conftest.$ac_ext
39422 cat >>conftest.$ac_ext <<_ACEOF
39423 /* end confdefs.h.  */
39424 #include <math.h>
39425                       #ifdef HAVE_IEEEFP_H
39426                       #include <ieeefp.h>
39427                       #endif
39428
39429 int
39430 main ()
39431 {
39432  logl(0);
39433   ;
39434   return 0;
39435 }
39436 _ACEOF
39437 rm -f conftest.$ac_objext
39438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39439   (eval $ac_compile) 2>&5
39440   ac_status=$?
39441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442   (exit $ac_status); } &&
39443          { ac_try='test -s conftest.$ac_objext'
39444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39445   (eval $ac_try) 2>&5
39446   ac_status=$?
39447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448   (exit $ac_status); }; }; then
39449   glibcxx_cv_func_logl_use=yes
39450 else
39451   echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.$ac_ext >&5
39453
39454 glibcxx_cv_func_logl_use=no
39455 fi
39456 rm -f conftest.$ac_objext conftest.$ac_ext
39457       ac_ext=c
39458 ac_cpp='$CPP $CPPFLAGS'
39459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39462
39463
39464 fi
39465
39466   fi
39467   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39468 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39469
39470   if test x$glibcxx_cv_func_logl_use = x"yes"; then
39471
39472 for ac_func in logl
39473 do
39474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39475 echo "$as_me:$LINENO: checking for $ac_func" >&5
39476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39477 if eval "test \"\${$as_ac_var+set}\" = set"; then
39478   echo $ECHO_N "(cached) $ECHO_C" >&6
39479 else
39480   if test x$gcc_no_link = xyes; then
39481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39483    { (exit 1); exit 1; }; }
39484 fi
39485 cat >conftest.$ac_ext <<_ACEOF
39486 #line $LINENO "configure"
39487 /* confdefs.h.  */
39488 _ACEOF
39489 cat confdefs.h >>conftest.$ac_ext
39490 cat >>conftest.$ac_ext <<_ACEOF
39491 /* end confdefs.h.  */
39492 /* System header to define __stub macros and hopefully few prototypes,
39493     which can conflict with char $ac_func (); below.
39494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39495     <limits.h> exists even on freestanding compilers.  */
39496 #ifdef __STDC__
39497 # include <limits.h>
39498 #else
39499 # include <assert.h>
39500 #endif
39501 /* Override any gcc2 internal prototype to avoid an error.  */
39502 #ifdef __cplusplus
39503 extern "C"
39504 {
39505 #endif
39506 /* We use char because int might match the return type of a gcc2
39507    builtin and then its argument prototype would still apply.  */
39508 char $ac_func ();
39509 /* The GNU C library defines this for functions which it implements
39510     to always fail with ENOSYS.  Some functions are actually named
39511     something starting with __ and the normal name is an alias.  */
39512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39513 choke me
39514 #else
39515 char (*f) () = $ac_func;
39516 #endif
39517 #ifdef __cplusplus
39518 }
39519 #endif
39520
39521 int
39522 main ()
39523 {
39524 return f != $ac_func;
39525   ;
39526   return 0;
39527 }
39528 _ACEOF
39529 rm -f conftest.$ac_objext conftest$ac_exeext
39530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39531   (eval $ac_link) 2>&5
39532   ac_status=$?
39533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534   (exit $ac_status); } &&
39535          { ac_try='test -s conftest$ac_exeext'
39536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39537   (eval $ac_try) 2>&5
39538   ac_status=$?
39539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540   (exit $ac_status); }; }; then
39541   eval "$as_ac_var=yes"
39542 else
39543   echo "$as_me: failed program was:" >&5
39544 sed 's/^/| /' conftest.$ac_ext >&5
39545
39546 eval "$as_ac_var=no"
39547 fi
39548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39549 fi
39550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39552 if test `eval echo '${'$as_ac_var'}'` = yes; then
39553   cat >>confdefs.h <<_ACEOF
39554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39555 _ACEOF
39556
39557 fi
39558 done
39559
39560   else
39561
39562   echo "$as_me:$LINENO: checking for _logl declaration" >&5
39563 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39564   if test x${glibcxx_cv_func__logl_use+set} != xset; then
39565     if test "${glibcxx_cv_func__logl_use+set}" = set; then
39566   echo $ECHO_N "(cached) $ECHO_C" >&6
39567 else
39568
39569
39570
39571       ac_ext=cc
39572 ac_cpp='$CXXCPP $CPPFLAGS'
39573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39576
39577       cat >conftest.$ac_ext <<_ACEOF
39578 #line $LINENO "configure"
39579 /* confdefs.h.  */
39580 _ACEOF
39581 cat confdefs.h >>conftest.$ac_ext
39582 cat >>conftest.$ac_ext <<_ACEOF
39583 /* end confdefs.h.  */
39584 #include <math.h>
39585                       #ifdef HAVE_IEEEFP_H
39586                       #include <ieeefp.h>
39587                       #endif
39588
39589 int
39590 main ()
39591 {
39592  _logl(0);
39593   ;
39594   return 0;
39595 }
39596 _ACEOF
39597 rm -f conftest.$ac_objext
39598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39599   (eval $ac_compile) 2>&5
39600   ac_status=$?
39601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602   (exit $ac_status); } &&
39603          { ac_try='test -s conftest.$ac_objext'
39604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39605   (eval $ac_try) 2>&5
39606   ac_status=$?
39607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608   (exit $ac_status); }; }; then
39609   glibcxx_cv_func__logl_use=yes
39610 else
39611   echo "$as_me: failed program was:" >&5
39612 sed 's/^/| /' conftest.$ac_ext >&5
39613
39614 glibcxx_cv_func__logl_use=no
39615 fi
39616 rm -f conftest.$ac_objext conftest.$ac_ext
39617       ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39622
39623
39624 fi
39625
39626   fi
39627   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39628 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39629
39630     if test x$glibcxx_cv_func__logl_use = x"yes"; then
39631
39632 for ac_func in _logl
39633 do
39634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39635 echo "$as_me:$LINENO: checking for $ac_func" >&5
39636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39637 if eval "test \"\${$as_ac_var+set}\" = set"; then
39638   echo $ECHO_N "(cached) $ECHO_C" >&6
39639 else
39640   if test x$gcc_no_link = xyes; then
39641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39643    { (exit 1); exit 1; }; }
39644 fi
39645 cat >conftest.$ac_ext <<_ACEOF
39646 #line $LINENO "configure"
39647 /* confdefs.h.  */
39648 _ACEOF
39649 cat confdefs.h >>conftest.$ac_ext
39650 cat >>conftest.$ac_ext <<_ACEOF
39651 /* end confdefs.h.  */
39652 /* System header to define __stub macros and hopefully few prototypes,
39653     which can conflict with char $ac_func (); below.
39654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39655     <limits.h> exists even on freestanding compilers.  */
39656 #ifdef __STDC__
39657 # include <limits.h>
39658 #else
39659 # include <assert.h>
39660 #endif
39661 /* Override any gcc2 internal prototype to avoid an error.  */
39662 #ifdef __cplusplus
39663 extern "C"
39664 {
39665 #endif
39666 /* We use char because int might match the return type of a gcc2
39667    builtin and then its argument prototype would still apply.  */
39668 char $ac_func ();
39669 /* The GNU C library defines this for functions which it implements
39670     to always fail with ENOSYS.  Some functions are actually named
39671     something starting with __ and the normal name is an alias.  */
39672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39673 choke me
39674 #else
39675 char (*f) () = $ac_func;
39676 #endif
39677 #ifdef __cplusplus
39678 }
39679 #endif
39680
39681 int
39682 main ()
39683 {
39684 return f != $ac_func;
39685   ;
39686   return 0;
39687 }
39688 _ACEOF
39689 rm -f conftest.$ac_objext conftest$ac_exeext
39690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39691   (eval $ac_link) 2>&5
39692   ac_status=$?
39693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39694   (exit $ac_status); } &&
39695          { ac_try='test -s conftest$ac_exeext'
39696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39697   (eval $ac_try) 2>&5
39698   ac_status=$?
39699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700   (exit $ac_status); }; }; then
39701   eval "$as_ac_var=yes"
39702 else
39703   echo "$as_me: failed program was:" >&5
39704 sed 's/^/| /' conftest.$ac_ext >&5
39705
39706 eval "$as_ac_var=no"
39707 fi
39708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39709 fi
39710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39712 if test `eval echo '${'$as_ac_var'}'` = yes; then
39713   cat >>confdefs.h <<_ACEOF
39714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39715 _ACEOF
39716
39717 fi
39718 done
39719
39720     fi
39721   fi
39722
39723
39724
39725   echo "$as_me:$LINENO: checking for log10l declaration" >&5
39726 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39727   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39728     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39729   echo $ECHO_N "(cached) $ECHO_C" >&6
39730 else
39731
39732
39733
39734       ac_ext=cc
39735 ac_cpp='$CXXCPP $CPPFLAGS'
39736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39739
39740       cat >conftest.$ac_ext <<_ACEOF
39741 #line $LINENO "configure"
39742 /* confdefs.h.  */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h.  */
39747 #include <math.h>
39748                       #ifdef HAVE_IEEEFP_H
39749                       #include <ieeefp.h>
39750                       #endif
39751
39752 int
39753 main ()
39754 {
39755  log10l(0);
39756   ;
39757   return 0;
39758 }
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39762   (eval $ac_compile) 2>&5
39763   ac_status=$?
39764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765   (exit $ac_status); } &&
39766          { ac_try='test -s conftest.$ac_objext'
39767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768   (eval $ac_try) 2>&5
39769   ac_status=$?
39770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771   (exit $ac_status); }; }; then
39772   glibcxx_cv_func_log10l_use=yes
39773 else
39774   echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.$ac_ext >&5
39776
39777 glibcxx_cv_func_log10l_use=no
39778 fi
39779 rm -f conftest.$ac_objext conftest.$ac_ext
39780       ac_ext=c
39781 ac_cpp='$CPP $CPPFLAGS'
39782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39785
39786
39787 fi
39788
39789   fi
39790   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39791 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39792
39793   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39794
39795 for ac_func in log10l
39796 do
39797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39798 echo "$as_me:$LINENO: checking for $ac_func" >&5
39799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39800 if eval "test \"\${$as_ac_var+set}\" = set"; then
39801   echo $ECHO_N "(cached) $ECHO_C" >&6
39802 else
39803   if test x$gcc_no_link = xyes; then
39804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39806    { (exit 1); exit 1; }; }
39807 fi
39808 cat >conftest.$ac_ext <<_ACEOF
39809 #line $LINENO "configure"
39810 /* confdefs.h.  */
39811 _ACEOF
39812 cat confdefs.h >>conftest.$ac_ext
39813 cat >>conftest.$ac_ext <<_ACEOF
39814 /* end confdefs.h.  */
39815 /* System header to define __stub macros and hopefully few prototypes,
39816     which can conflict with char $ac_func (); below.
39817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39818     <limits.h> exists even on freestanding compilers.  */
39819 #ifdef __STDC__
39820 # include <limits.h>
39821 #else
39822 # include <assert.h>
39823 #endif
39824 /* Override any gcc2 internal prototype to avoid an error.  */
39825 #ifdef __cplusplus
39826 extern "C"
39827 {
39828 #endif
39829 /* We use char because int might match the return type of a gcc2
39830    builtin and then its argument prototype would still apply.  */
39831 char $ac_func ();
39832 /* The GNU C library defines this for functions which it implements
39833     to always fail with ENOSYS.  Some functions are actually named
39834     something starting with __ and the normal name is an alias.  */
39835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39836 choke me
39837 #else
39838 char (*f) () = $ac_func;
39839 #endif
39840 #ifdef __cplusplus
39841 }
39842 #endif
39843
39844 int
39845 main ()
39846 {
39847 return f != $ac_func;
39848   ;
39849   return 0;
39850 }
39851 _ACEOF
39852 rm -f conftest.$ac_objext conftest$ac_exeext
39853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39854   (eval $ac_link) 2>&5
39855   ac_status=$?
39856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857   (exit $ac_status); } &&
39858          { ac_try='test -s conftest$ac_exeext'
39859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39860   (eval $ac_try) 2>&5
39861   ac_status=$?
39862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39863   (exit $ac_status); }; }; then
39864   eval "$as_ac_var=yes"
39865 else
39866   echo "$as_me: failed program was:" >&5
39867 sed 's/^/| /' conftest.$ac_ext >&5
39868
39869 eval "$as_ac_var=no"
39870 fi
39871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39872 fi
39873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39875 if test `eval echo '${'$as_ac_var'}'` = yes; then
39876   cat >>confdefs.h <<_ACEOF
39877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39878 _ACEOF
39879
39880 fi
39881 done
39882
39883   else
39884
39885   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
39886 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
39887   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39888     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
39889   echo $ECHO_N "(cached) $ECHO_C" >&6
39890 else
39891
39892
39893
39894       ac_ext=cc
39895 ac_cpp='$CXXCPP $CPPFLAGS'
39896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39899
39900       cat >conftest.$ac_ext <<_ACEOF
39901 #line $LINENO "configure"
39902 /* confdefs.h.  */
39903 _ACEOF
39904 cat confdefs.h >>conftest.$ac_ext
39905 cat >>conftest.$ac_ext <<_ACEOF
39906 /* end confdefs.h.  */
39907 #include <math.h>
39908                       #ifdef HAVE_IEEEFP_H
39909                       #include <ieeefp.h>
39910                       #endif
39911
39912 int
39913 main ()
39914 {
39915  _log10l(0);
39916   ;
39917   return 0;
39918 }
39919 _ACEOF
39920 rm -f conftest.$ac_objext
39921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39922   (eval $ac_compile) 2>&5
39923   ac_status=$?
39924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925   (exit $ac_status); } &&
39926          { ac_try='test -s conftest.$ac_objext'
39927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39928   (eval $ac_try) 2>&5
39929   ac_status=$?
39930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39931   (exit $ac_status); }; }; then
39932   glibcxx_cv_func__log10l_use=yes
39933 else
39934   echo "$as_me: failed program was:" >&5
39935 sed 's/^/| /' conftest.$ac_ext >&5
39936
39937 glibcxx_cv_func__log10l_use=no
39938 fi
39939 rm -f conftest.$ac_objext conftest.$ac_ext
39940       ac_ext=c
39941 ac_cpp='$CPP $CPPFLAGS'
39942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39945
39946
39947 fi
39948
39949   fi
39950   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
39951 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
39952
39953     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39954
39955 for ac_func in _log10l
39956 do
39957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39958 echo "$as_me:$LINENO: checking for $ac_func" >&5
39959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39960 if eval "test \"\${$as_ac_var+set}\" = set"; then
39961   echo $ECHO_N "(cached) $ECHO_C" >&6
39962 else
39963   if test x$gcc_no_link = xyes; then
39964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39966    { (exit 1); exit 1; }; }
39967 fi
39968 cat >conftest.$ac_ext <<_ACEOF
39969 #line $LINENO "configure"
39970 /* confdefs.h.  */
39971 _ACEOF
39972 cat confdefs.h >>conftest.$ac_ext
39973 cat >>conftest.$ac_ext <<_ACEOF
39974 /* end confdefs.h.  */
39975 /* System header to define __stub macros and hopefully few prototypes,
39976     which can conflict with char $ac_func (); below.
39977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39978     <limits.h> exists even on freestanding compilers.  */
39979 #ifdef __STDC__
39980 # include <limits.h>
39981 #else
39982 # include <assert.h>
39983 #endif
39984 /* Override any gcc2 internal prototype to avoid an error.  */
39985 #ifdef __cplusplus
39986 extern "C"
39987 {
39988 #endif
39989 /* We use char because int might match the return type of a gcc2
39990    builtin and then its argument prototype would still apply.  */
39991 char $ac_func ();
39992 /* The GNU C library defines this for functions which it implements
39993     to always fail with ENOSYS.  Some functions are actually named
39994     something starting with __ and the normal name is an alias.  */
39995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39996 choke me
39997 #else
39998 char (*f) () = $ac_func;
39999 #endif
40000 #ifdef __cplusplus
40001 }
40002 #endif
40003
40004 int
40005 main ()
40006 {
40007 return f != $ac_func;
40008   ;
40009   return 0;
40010 }
40011 _ACEOF
40012 rm -f conftest.$ac_objext conftest$ac_exeext
40013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40014   (eval $ac_link) 2>&5
40015   ac_status=$?
40016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017   (exit $ac_status); } &&
40018          { ac_try='test -s conftest$ac_exeext'
40019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40020   (eval $ac_try) 2>&5
40021   ac_status=$?
40022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023   (exit $ac_status); }; }; then
40024   eval "$as_ac_var=yes"
40025 else
40026   echo "$as_me: failed program was:" >&5
40027 sed 's/^/| /' conftest.$ac_ext >&5
40028
40029 eval "$as_ac_var=no"
40030 fi
40031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40032 fi
40033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40035 if test `eval echo '${'$as_ac_var'}'` = yes; then
40036   cat >>confdefs.h <<_ACEOF
40037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40038 _ACEOF
40039
40040 fi
40041 done
40042
40043     fi
40044   fi
40045
40046
40047
40048   echo "$as_me:$LINENO: checking for modfl declaration" >&5
40049 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
40050   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40051     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
40052   echo $ECHO_N "(cached) $ECHO_C" >&6
40053 else
40054
40055
40056
40057       ac_ext=cc
40058 ac_cpp='$CXXCPP $CPPFLAGS'
40059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40062
40063       cat >conftest.$ac_ext <<_ACEOF
40064 #line $LINENO "configure"
40065 /* confdefs.h.  */
40066 _ACEOF
40067 cat confdefs.h >>conftest.$ac_ext
40068 cat >>conftest.$ac_ext <<_ACEOF
40069 /* end confdefs.h.  */
40070 #include <math.h>
40071 int
40072 main ()
40073 {
40074  modfl(0, 0);
40075   ;
40076   return 0;
40077 }
40078 _ACEOF
40079 rm -f conftest.$ac_objext
40080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40081   (eval $ac_compile) 2>&5
40082   ac_status=$?
40083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084   (exit $ac_status); } &&
40085          { ac_try='test -s conftest.$ac_objext'
40086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40087   (eval $ac_try) 2>&5
40088   ac_status=$?
40089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40090   (exit $ac_status); }; }; then
40091   glibcxx_cv_func_modfl_use=yes
40092 else
40093   echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40095
40096 glibcxx_cv_func_modfl_use=no
40097 fi
40098 rm -f conftest.$ac_objext conftest.$ac_ext
40099       ac_ext=c
40100 ac_cpp='$CPP $CPPFLAGS'
40101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40104
40105
40106 fi
40107
40108   fi
40109   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40110 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40111
40112   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40113
40114 for ac_func in modfl
40115 do
40116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40117 echo "$as_me:$LINENO: checking for $ac_func" >&5
40118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40119 if eval "test \"\${$as_ac_var+set}\" = set"; then
40120   echo $ECHO_N "(cached) $ECHO_C" >&6
40121 else
40122   if test x$gcc_no_link = xyes; then
40123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40125    { (exit 1); exit 1; }; }
40126 fi
40127 cat >conftest.$ac_ext <<_ACEOF
40128 #line $LINENO "configure"
40129 /* confdefs.h.  */
40130 _ACEOF
40131 cat confdefs.h >>conftest.$ac_ext
40132 cat >>conftest.$ac_ext <<_ACEOF
40133 /* end confdefs.h.  */
40134 /* System header to define __stub macros and hopefully few prototypes,
40135     which can conflict with char $ac_func (); below.
40136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40137     <limits.h> exists even on freestanding compilers.  */
40138 #ifdef __STDC__
40139 # include <limits.h>
40140 #else
40141 # include <assert.h>
40142 #endif
40143 /* Override any gcc2 internal prototype to avoid an error.  */
40144 #ifdef __cplusplus
40145 extern "C"
40146 {
40147 #endif
40148 /* We use char because int might match the return type of a gcc2
40149    builtin and then its argument prototype would still apply.  */
40150 char $ac_func ();
40151 /* The GNU C library defines this for functions which it implements
40152     to always fail with ENOSYS.  Some functions are actually named
40153     something starting with __ and the normal name is an alias.  */
40154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40155 choke me
40156 #else
40157 char (*f) () = $ac_func;
40158 #endif
40159 #ifdef __cplusplus
40160 }
40161 #endif
40162
40163 int
40164 main ()
40165 {
40166 return f != $ac_func;
40167   ;
40168   return 0;
40169 }
40170 _ACEOF
40171 rm -f conftest.$ac_objext conftest$ac_exeext
40172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40173   (eval $ac_link) 2>&5
40174   ac_status=$?
40175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176   (exit $ac_status); } &&
40177          { ac_try='test -s conftest$ac_exeext'
40178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179   (eval $ac_try) 2>&5
40180   ac_status=$?
40181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182   (exit $ac_status); }; }; then
40183   eval "$as_ac_var=yes"
40184 else
40185   echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40187
40188 eval "$as_ac_var=no"
40189 fi
40190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40191 fi
40192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40194 if test `eval echo '${'$as_ac_var'}'` = yes; then
40195   cat >>confdefs.h <<_ACEOF
40196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40197 _ACEOF
40198
40199 fi
40200 done
40201
40202   else
40203
40204   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40205 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40206   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40207     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40208   echo $ECHO_N "(cached) $ECHO_C" >&6
40209 else
40210
40211
40212
40213       ac_ext=cc
40214 ac_cpp='$CXXCPP $CPPFLAGS'
40215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40218
40219       cat >conftest.$ac_ext <<_ACEOF
40220 #line $LINENO "configure"
40221 /* confdefs.h.  */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h.  */
40226 #include <math.h>
40227 int
40228 main ()
40229 {
40230  _modfl(0, 0);
40231   ;
40232   return 0;
40233 }
40234 _ACEOF
40235 rm -f conftest.$ac_objext
40236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40237   (eval $ac_compile) 2>&5
40238   ac_status=$?
40239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40240   (exit $ac_status); } &&
40241          { ac_try='test -s conftest.$ac_objext'
40242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40243   (eval $ac_try) 2>&5
40244   ac_status=$?
40245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40246   (exit $ac_status); }; }; then
40247   glibcxx_cv_func__modfl_use=yes
40248 else
40249   echo "$as_me: failed program was:" >&5
40250 sed 's/^/| /' conftest.$ac_ext >&5
40251
40252 glibcxx_cv_func__modfl_use=no
40253 fi
40254 rm -f conftest.$ac_objext conftest.$ac_ext
40255       ac_ext=c
40256 ac_cpp='$CPP $CPPFLAGS'
40257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40260
40261
40262 fi
40263
40264   fi
40265   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40266 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40267
40268     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40269
40270 for ac_func in _modfl
40271 do
40272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40273 echo "$as_me:$LINENO: checking for $ac_func" >&5
40274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40275 if eval "test \"\${$as_ac_var+set}\" = set"; then
40276   echo $ECHO_N "(cached) $ECHO_C" >&6
40277 else
40278   if test x$gcc_no_link = xyes; then
40279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40281    { (exit 1); exit 1; }; }
40282 fi
40283 cat >conftest.$ac_ext <<_ACEOF
40284 #line $LINENO "configure"
40285 /* confdefs.h.  */
40286 _ACEOF
40287 cat confdefs.h >>conftest.$ac_ext
40288 cat >>conftest.$ac_ext <<_ACEOF
40289 /* end confdefs.h.  */
40290 /* System header to define __stub macros and hopefully few prototypes,
40291     which can conflict with char $ac_func (); below.
40292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40293     <limits.h> exists even on freestanding compilers.  */
40294 #ifdef __STDC__
40295 # include <limits.h>
40296 #else
40297 # include <assert.h>
40298 #endif
40299 /* Override any gcc2 internal prototype to avoid an error.  */
40300 #ifdef __cplusplus
40301 extern "C"
40302 {
40303 #endif
40304 /* We use char because int might match the return type of a gcc2
40305    builtin and then its argument prototype would still apply.  */
40306 char $ac_func ();
40307 /* The GNU C library defines this for functions which it implements
40308     to always fail with ENOSYS.  Some functions are actually named
40309     something starting with __ and the normal name is an alias.  */
40310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40311 choke me
40312 #else
40313 char (*f) () = $ac_func;
40314 #endif
40315 #ifdef __cplusplus
40316 }
40317 #endif
40318
40319 int
40320 main ()
40321 {
40322 return f != $ac_func;
40323   ;
40324   return 0;
40325 }
40326 _ACEOF
40327 rm -f conftest.$ac_objext conftest$ac_exeext
40328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40329   (eval $ac_link) 2>&5
40330   ac_status=$?
40331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332   (exit $ac_status); } &&
40333          { ac_try='test -s conftest$ac_exeext'
40334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40335   (eval $ac_try) 2>&5
40336   ac_status=$?
40337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40338   (exit $ac_status); }; }; then
40339   eval "$as_ac_var=yes"
40340 else
40341   echo "$as_me: failed program was:" >&5
40342 sed 's/^/| /' conftest.$ac_ext >&5
40343
40344 eval "$as_ac_var=no"
40345 fi
40346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40347 fi
40348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40350 if test `eval echo '${'$as_ac_var'}'` = yes; then
40351   cat >>confdefs.h <<_ACEOF
40352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40353 _ACEOF
40354
40355 fi
40356 done
40357
40358     fi
40359   fi
40360
40361
40362
40363   echo "$as_me:$LINENO: checking for powl declaration" >&5
40364 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40365   if test x${glibcxx_cv_func_powl_use+set} != xset; then
40366     if test "${glibcxx_cv_func_powl_use+set}" = set; then
40367   echo $ECHO_N "(cached) $ECHO_C" >&6
40368 else
40369
40370
40371
40372       ac_ext=cc
40373 ac_cpp='$CXXCPP $CPPFLAGS'
40374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40377
40378       cat >conftest.$ac_ext <<_ACEOF
40379 #line $LINENO "configure"
40380 /* confdefs.h.  */
40381 _ACEOF
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h.  */
40385 #include <math.h>
40386 int
40387 main ()
40388 {
40389  powl(0, 0);
40390   ;
40391   return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40396   (eval $ac_compile) 2>&5
40397   ac_status=$?
40398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399   (exit $ac_status); } &&
40400          { ac_try='test -s conftest.$ac_objext'
40401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40402   (eval $ac_try) 2>&5
40403   ac_status=$?
40404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405   (exit $ac_status); }; }; then
40406   glibcxx_cv_func_powl_use=yes
40407 else
40408   echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.$ac_ext >&5
40410
40411 glibcxx_cv_func_powl_use=no
40412 fi
40413 rm -f conftest.$ac_objext conftest.$ac_ext
40414       ac_ext=c
40415 ac_cpp='$CPP $CPPFLAGS'
40416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40419
40420
40421 fi
40422
40423   fi
40424   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40425 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40426
40427   if test x$glibcxx_cv_func_powl_use = x"yes"; then
40428
40429 for ac_func in powl
40430 do
40431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40432 echo "$as_me:$LINENO: checking for $ac_func" >&5
40433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40434 if eval "test \"\${$as_ac_var+set}\" = set"; then
40435   echo $ECHO_N "(cached) $ECHO_C" >&6
40436 else
40437   if test x$gcc_no_link = xyes; then
40438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40440    { (exit 1); exit 1; }; }
40441 fi
40442 cat >conftest.$ac_ext <<_ACEOF
40443 #line $LINENO "configure"
40444 /* confdefs.h.  */
40445 _ACEOF
40446 cat confdefs.h >>conftest.$ac_ext
40447 cat >>conftest.$ac_ext <<_ACEOF
40448 /* end confdefs.h.  */
40449 /* System header to define __stub macros and hopefully few prototypes,
40450     which can conflict with char $ac_func (); below.
40451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40452     <limits.h> exists even on freestanding compilers.  */
40453 #ifdef __STDC__
40454 # include <limits.h>
40455 #else
40456 # include <assert.h>
40457 #endif
40458 /* Override any gcc2 internal prototype to avoid an error.  */
40459 #ifdef __cplusplus
40460 extern "C"
40461 {
40462 #endif
40463 /* We use char because int might match the return type of a gcc2
40464    builtin and then its argument prototype would still apply.  */
40465 char $ac_func ();
40466 /* The GNU C library defines this for functions which it implements
40467     to always fail with ENOSYS.  Some functions are actually named
40468     something starting with __ and the normal name is an alias.  */
40469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40470 choke me
40471 #else
40472 char (*f) () = $ac_func;
40473 #endif
40474 #ifdef __cplusplus
40475 }
40476 #endif
40477
40478 int
40479 main ()
40480 {
40481 return f != $ac_func;
40482   ;
40483   return 0;
40484 }
40485 _ACEOF
40486 rm -f conftest.$ac_objext conftest$ac_exeext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40488   (eval $ac_link) 2>&5
40489   ac_status=$?
40490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491   (exit $ac_status); } &&
40492          { ac_try='test -s conftest$ac_exeext'
40493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40494   (eval $ac_try) 2>&5
40495   ac_status=$?
40496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497   (exit $ac_status); }; }; then
40498   eval "$as_ac_var=yes"
40499 else
40500   echo "$as_me: failed program was:" >&5
40501 sed 's/^/| /' conftest.$ac_ext >&5
40502
40503 eval "$as_ac_var=no"
40504 fi
40505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40506 fi
40507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40509 if test `eval echo '${'$as_ac_var'}'` = yes; then
40510   cat >>confdefs.h <<_ACEOF
40511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40512 _ACEOF
40513
40514 fi
40515 done
40516
40517   else
40518
40519   echo "$as_me:$LINENO: checking for _powl declaration" >&5
40520 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40521   if test x${glibcxx_cv_func__powl_use+set} != xset; then
40522     if test "${glibcxx_cv_func__powl_use+set}" = set; then
40523   echo $ECHO_N "(cached) $ECHO_C" >&6
40524 else
40525
40526
40527
40528       ac_ext=cc
40529 ac_cpp='$CXXCPP $CPPFLAGS'
40530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533
40534       cat >conftest.$ac_ext <<_ACEOF
40535 #line $LINENO "configure"
40536 /* confdefs.h.  */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h.  */
40541 #include <math.h>
40542 int
40543 main ()
40544 {
40545  _powl(0, 0);
40546   ;
40547   return 0;
40548 }
40549 _ACEOF
40550 rm -f conftest.$ac_objext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40552   (eval $ac_compile) 2>&5
40553   ac_status=$?
40554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555   (exit $ac_status); } &&
40556          { ac_try='test -s conftest.$ac_objext'
40557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558   (eval $ac_try) 2>&5
40559   ac_status=$?
40560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561   (exit $ac_status); }; }; then
40562   glibcxx_cv_func__powl_use=yes
40563 else
40564   echo "$as_me: failed program was:" >&5
40565 sed 's/^/| /' conftest.$ac_ext >&5
40566
40567 glibcxx_cv_func__powl_use=no
40568 fi
40569 rm -f conftest.$ac_objext conftest.$ac_ext
40570       ac_ext=c
40571 ac_cpp='$CPP $CPPFLAGS'
40572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575
40576
40577 fi
40578
40579   fi
40580   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40581 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40582
40583     if test x$glibcxx_cv_func__powl_use = x"yes"; then
40584
40585 for ac_func in _powl
40586 do
40587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40588 echo "$as_me:$LINENO: checking for $ac_func" >&5
40589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40590 if eval "test \"\${$as_ac_var+set}\" = set"; then
40591   echo $ECHO_N "(cached) $ECHO_C" >&6
40592 else
40593   if test x$gcc_no_link = xyes; then
40594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40596    { (exit 1); exit 1; }; }
40597 fi
40598 cat >conftest.$ac_ext <<_ACEOF
40599 #line $LINENO "configure"
40600 /* confdefs.h.  */
40601 _ACEOF
40602 cat confdefs.h >>conftest.$ac_ext
40603 cat >>conftest.$ac_ext <<_ACEOF
40604 /* end confdefs.h.  */
40605 /* System header to define __stub macros and hopefully few prototypes,
40606     which can conflict with char $ac_func (); below.
40607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40608     <limits.h> exists even on freestanding compilers.  */
40609 #ifdef __STDC__
40610 # include <limits.h>
40611 #else
40612 # include <assert.h>
40613 #endif
40614 /* Override any gcc2 internal prototype to avoid an error.  */
40615 #ifdef __cplusplus
40616 extern "C"
40617 {
40618 #endif
40619 /* We use char because int might match the return type of a gcc2
40620    builtin and then its argument prototype would still apply.  */
40621 char $ac_func ();
40622 /* The GNU C library defines this for functions which it implements
40623     to always fail with ENOSYS.  Some functions are actually named
40624     something starting with __ and the normal name is an alias.  */
40625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40626 choke me
40627 #else
40628 char (*f) () = $ac_func;
40629 #endif
40630 #ifdef __cplusplus
40631 }
40632 #endif
40633
40634 int
40635 main ()
40636 {
40637 return f != $ac_func;
40638   ;
40639   return 0;
40640 }
40641 _ACEOF
40642 rm -f conftest.$ac_objext conftest$ac_exeext
40643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40644   (eval $ac_link) 2>&5
40645   ac_status=$?
40646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647   (exit $ac_status); } &&
40648          { ac_try='test -s conftest$ac_exeext'
40649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40650   (eval $ac_try) 2>&5
40651   ac_status=$?
40652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653   (exit $ac_status); }; }; then
40654   eval "$as_ac_var=yes"
40655 else
40656   echo "$as_me: failed program was:" >&5
40657 sed 's/^/| /' conftest.$ac_ext >&5
40658
40659 eval "$as_ac_var=no"
40660 fi
40661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40662 fi
40663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40665 if test `eval echo '${'$as_ac_var'}'` = yes; then
40666   cat >>confdefs.h <<_ACEOF
40667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40668 _ACEOF
40669
40670 fi
40671 done
40672
40673     fi
40674   fi
40675
40676
40677
40678   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40679 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40680   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40681     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40682   echo $ECHO_N "(cached) $ECHO_C" >&6
40683 else
40684
40685
40686
40687       ac_ext=cc
40688 ac_cpp='$CXXCPP $CPPFLAGS'
40689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40692
40693       cat >conftest.$ac_ext <<_ACEOF
40694 #line $LINENO "configure"
40695 /* confdefs.h.  */
40696 _ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h.  */
40700 #include <math.h>
40701                       #ifdef HAVE_IEEEFP_H
40702                       #include <ieeefp.h>
40703                       #endif
40704
40705 int
40706 main ()
40707 {
40708  sqrtl(0);
40709   ;
40710   return 0;
40711 }
40712 _ACEOF
40713 rm -f conftest.$ac_objext
40714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40715   (eval $ac_compile) 2>&5
40716   ac_status=$?
40717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40718   (exit $ac_status); } &&
40719          { ac_try='test -s conftest.$ac_objext'
40720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40721   (eval $ac_try) 2>&5
40722   ac_status=$?
40723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40724   (exit $ac_status); }; }; then
40725   glibcxx_cv_func_sqrtl_use=yes
40726 else
40727   echo "$as_me: failed program was:" >&5
40728 sed 's/^/| /' conftest.$ac_ext >&5
40729
40730 glibcxx_cv_func_sqrtl_use=no
40731 fi
40732 rm -f conftest.$ac_objext conftest.$ac_ext
40733       ac_ext=c
40734 ac_cpp='$CPP $CPPFLAGS'
40735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40738
40739
40740 fi
40741
40742   fi
40743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40744 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40745
40746   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40747
40748 for ac_func in sqrtl
40749 do
40750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40751 echo "$as_me:$LINENO: checking for $ac_func" >&5
40752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40753 if eval "test \"\${$as_ac_var+set}\" = set"; then
40754   echo $ECHO_N "(cached) $ECHO_C" >&6
40755 else
40756   if test x$gcc_no_link = xyes; then
40757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40759    { (exit 1); exit 1; }; }
40760 fi
40761 cat >conftest.$ac_ext <<_ACEOF
40762 #line $LINENO "configure"
40763 /* confdefs.h.  */
40764 _ACEOF
40765 cat confdefs.h >>conftest.$ac_ext
40766 cat >>conftest.$ac_ext <<_ACEOF
40767 /* end confdefs.h.  */
40768 /* System header to define __stub macros and hopefully few prototypes,
40769     which can conflict with char $ac_func (); below.
40770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40771     <limits.h> exists even on freestanding compilers.  */
40772 #ifdef __STDC__
40773 # include <limits.h>
40774 #else
40775 # include <assert.h>
40776 #endif
40777 /* Override any gcc2 internal prototype to avoid an error.  */
40778 #ifdef __cplusplus
40779 extern "C"
40780 {
40781 #endif
40782 /* We use char because int might match the return type of a gcc2
40783    builtin and then its argument prototype would still apply.  */
40784 char $ac_func ();
40785 /* The GNU C library defines this for functions which it implements
40786     to always fail with ENOSYS.  Some functions are actually named
40787     something starting with __ and the normal name is an alias.  */
40788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40789 choke me
40790 #else
40791 char (*f) () = $ac_func;
40792 #endif
40793 #ifdef __cplusplus
40794 }
40795 #endif
40796
40797 int
40798 main ()
40799 {
40800 return f != $ac_func;
40801   ;
40802   return 0;
40803 }
40804 _ACEOF
40805 rm -f conftest.$ac_objext conftest$ac_exeext
40806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40807   (eval $ac_link) 2>&5
40808   ac_status=$?
40809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810   (exit $ac_status); } &&
40811          { ac_try='test -s conftest$ac_exeext'
40812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40813   (eval $ac_try) 2>&5
40814   ac_status=$?
40815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816   (exit $ac_status); }; }; then
40817   eval "$as_ac_var=yes"
40818 else
40819   echo "$as_me: failed program was:" >&5
40820 sed 's/^/| /' conftest.$ac_ext >&5
40821
40822 eval "$as_ac_var=no"
40823 fi
40824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40825 fi
40826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40828 if test `eval echo '${'$as_ac_var'}'` = yes; then
40829   cat >>confdefs.h <<_ACEOF
40830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40831 _ACEOF
40832
40833 fi
40834 done
40835
40836   else
40837
40838   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40839 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40840   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40841     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
40842   echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40844
40845
40846
40847       ac_ext=cc
40848 ac_cpp='$CXXCPP $CPPFLAGS'
40849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40852
40853       cat >conftest.$ac_ext <<_ACEOF
40854 #line $LINENO "configure"
40855 /* confdefs.h.  */
40856 _ACEOF
40857 cat confdefs.h >>conftest.$ac_ext
40858 cat >>conftest.$ac_ext <<_ACEOF
40859 /* end confdefs.h.  */
40860 #include <math.h>
40861                       #ifdef HAVE_IEEEFP_H
40862                       #include <ieeefp.h>
40863                       #endif
40864
40865 int
40866 main ()
40867 {
40868  _sqrtl(0);
40869   ;
40870   return 0;
40871 }
40872 _ACEOF
40873 rm -f conftest.$ac_objext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40875   (eval $ac_compile) 2>&5
40876   ac_status=$?
40877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878   (exit $ac_status); } &&
40879          { ac_try='test -s conftest.$ac_objext'
40880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40881   (eval $ac_try) 2>&5
40882   ac_status=$?
40883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884   (exit $ac_status); }; }; then
40885   glibcxx_cv_func__sqrtl_use=yes
40886 else
40887   echo "$as_me: failed program was:" >&5
40888 sed 's/^/| /' conftest.$ac_ext >&5
40889
40890 glibcxx_cv_func__sqrtl_use=no
40891 fi
40892 rm -f conftest.$ac_objext conftest.$ac_ext
40893       ac_ext=c
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898
40899
40900 fi
40901
40902   fi
40903   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
40904 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
40905
40906     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40907
40908 for ac_func in _sqrtl
40909 do
40910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40911 echo "$as_me:$LINENO: checking for $ac_func" >&5
40912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40913 if eval "test \"\${$as_ac_var+set}\" = set"; then
40914   echo $ECHO_N "(cached) $ECHO_C" >&6
40915 else
40916   if test x$gcc_no_link = xyes; then
40917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40919    { (exit 1); exit 1; }; }
40920 fi
40921 cat >conftest.$ac_ext <<_ACEOF
40922 #line $LINENO "configure"
40923 /* confdefs.h.  */
40924 _ACEOF
40925 cat confdefs.h >>conftest.$ac_ext
40926 cat >>conftest.$ac_ext <<_ACEOF
40927 /* end confdefs.h.  */
40928 /* System header to define __stub macros and hopefully few prototypes,
40929     which can conflict with char $ac_func (); below.
40930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40931     <limits.h> exists even on freestanding compilers.  */
40932 #ifdef __STDC__
40933 # include <limits.h>
40934 #else
40935 # include <assert.h>
40936 #endif
40937 /* Override any gcc2 internal prototype to avoid an error.  */
40938 #ifdef __cplusplus
40939 extern "C"
40940 {
40941 #endif
40942 /* We use char because int might match the return type of a gcc2
40943    builtin and then its argument prototype would still apply.  */
40944 char $ac_func ();
40945 /* The GNU C library defines this for functions which it implements
40946     to always fail with ENOSYS.  Some functions are actually named
40947     something starting with __ and the normal name is an alias.  */
40948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40949 choke me
40950 #else
40951 char (*f) () = $ac_func;
40952 #endif
40953 #ifdef __cplusplus
40954 }
40955 #endif
40956
40957 int
40958 main ()
40959 {
40960 return f != $ac_func;
40961   ;
40962   return 0;
40963 }
40964 _ACEOF
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40967   (eval $ac_link) 2>&5
40968   ac_status=$?
40969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970   (exit $ac_status); } &&
40971          { ac_try='test -s conftest$ac_exeext'
40972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40973   (eval $ac_try) 2>&5
40974   ac_status=$?
40975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976   (exit $ac_status); }; }; then
40977   eval "$as_ac_var=yes"
40978 else
40979   echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40981
40982 eval "$as_ac_var=no"
40983 fi
40984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40985 fi
40986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40988 if test `eval echo '${'$as_ac_var'}'` = yes; then
40989   cat >>confdefs.h <<_ACEOF
40990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40991 _ACEOF
40992
40993 fi
40994 done
40995
40996     fi
40997   fi
40998
40999
41000
41001   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
41002 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
41003   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41004     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
41005   echo $ECHO_N "(cached) $ECHO_C" >&6
41006 else
41007
41008
41009
41010       ac_ext=cc
41011 ac_cpp='$CXXCPP $CPPFLAGS'
41012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41015
41016       cat >conftest.$ac_ext <<_ACEOF
41017 #line $LINENO "configure"
41018 /* confdefs.h.  */
41019 _ACEOF
41020 cat confdefs.h >>conftest.$ac_ext
41021 cat >>conftest.$ac_ext <<_ACEOF
41022 /* end confdefs.h.  */
41023 #include <math.h>
41024 int
41025 main ()
41026 {
41027  sincosl(0, 0, 0);
41028   ;
41029   return 0;
41030 }
41031 _ACEOF
41032 rm -f conftest.$ac_objext
41033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41034   (eval $ac_compile) 2>&5
41035   ac_status=$?
41036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037   (exit $ac_status); } &&
41038          { ac_try='test -s conftest.$ac_objext'
41039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040   (eval $ac_try) 2>&5
41041   ac_status=$?
41042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043   (exit $ac_status); }; }; then
41044   glibcxx_cv_func_sincosl_use=yes
41045 else
41046   echo "$as_me: failed program was:" >&5
41047 sed 's/^/| /' conftest.$ac_ext >&5
41048
41049 glibcxx_cv_func_sincosl_use=no
41050 fi
41051 rm -f conftest.$ac_objext conftest.$ac_ext
41052       ac_ext=c
41053 ac_cpp='$CPP $CPPFLAGS'
41054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41057
41058
41059 fi
41060
41061   fi
41062   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
41063 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
41064
41065   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41066
41067 for ac_func in sincosl
41068 do
41069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41070 echo "$as_me:$LINENO: checking for $ac_func" >&5
41071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41072 if eval "test \"\${$as_ac_var+set}\" = set"; then
41073   echo $ECHO_N "(cached) $ECHO_C" >&6
41074 else
41075   if test x$gcc_no_link = xyes; then
41076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41078    { (exit 1); exit 1; }; }
41079 fi
41080 cat >conftest.$ac_ext <<_ACEOF
41081 #line $LINENO "configure"
41082 /* confdefs.h.  */
41083 _ACEOF
41084 cat confdefs.h >>conftest.$ac_ext
41085 cat >>conftest.$ac_ext <<_ACEOF
41086 /* end confdefs.h.  */
41087 /* System header to define __stub macros and hopefully few prototypes,
41088     which can conflict with char $ac_func (); below.
41089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41090     <limits.h> exists even on freestanding compilers.  */
41091 #ifdef __STDC__
41092 # include <limits.h>
41093 #else
41094 # include <assert.h>
41095 #endif
41096 /* Override any gcc2 internal prototype to avoid an error.  */
41097 #ifdef __cplusplus
41098 extern "C"
41099 {
41100 #endif
41101 /* We use char because int might match the return type of a gcc2
41102    builtin and then its argument prototype would still apply.  */
41103 char $ac_func ();
41104 /* The GNU C library defines this for functions which it implements
41105     to always fail with ENOSYS.  Some functions are actually named
41106     something starting with __ and the normal name is an alias.  */
41107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41108 choke me
41109 #else
41110 char (*f) () = $ac_func;
41111 #endif
41112 #ifdef __cplusplus
41113 }
41114 #endif
41115
41116 int
41117 main ()
41118 {
41119 return f != $ac_func;
41120   ;
41121   return 0;
41122 }
41123 _ACEOF
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41126   (eval $ac_link) 2>&5
41127   ac_status=$?
41128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129   (exit $ac_status); } &&
41130          { ac_try='test -s conftest$ac_exeext'
41131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41132   (eval $ac_try) 2>&5
41133   ac_status=$?
41134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135   (exit $ac_status); }; }; then
41136   eval "$as_ac_var=yes"
41137 else
41138   echo "$as_me: failed program was:" >&5
41139 sed 's/^/| /' conftest.$ac_ext >&5
41140
41141 eval "$as_ac_var=no"
41142 fi
41143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41144 fi
41145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41147 if test `eval echo '${'$as_ac_var'}'` = yes; then
41148   cat >>confdefs.h <<_ACEOF
41149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41150 _ACEOF
41151
41152 fi
41153 done
41154
41155   else
41156
41157   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41158 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41159   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41160     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41161   echo $ECHO_N "(cached) $ECHO_C" >&6
41162 else
41163
41164
41165
41166       ac_ext=cc
41167 ac_cpp='$CXXCPP $CPPFLAGS'
41168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41171
41172       cat >conftest.$ac_ext <<_ACEOF
41173 #line $LINENO "configure"
41174 /* confdefs.h.  */
41175 _ACEOF
41176 cat confdefs.h >>conftest.$ac_ext
41177 cat >>conftest.$ac_ext <<_ACEOF
41178 /* end confdefs.h.  */
41179 #include <math.h>
41180 int
41181 main ()
41182 {
41183  _sincosl(0, 0, 0);
41184   ;
41185   return 0;
41186 }
41187 _ACEOF
41188 rm -f conftest.$ac_objext
41189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41190   (eval $ac_compile) 2>&5
41191   ac_status=$?
41192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193   (exit $ac_status); } &&
41194          { ac_try='test -s conftest.$ac_objext'
41195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41196   (eval $ac_try) 2>&5
41197   ac_status=$?
41198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199   (exit $ac_status); }; }; then
41200   glibcxx_cv_func__sincosl_use=yes
41201 else
41202   echo "$as_me: failed program was:" >&5
41203 sed 's/^/| /' conftest.$ac_ext >&5
41204
41205 glibcxx_cv_func__sincosl_use=no
41206 fi
41207 rm -f conftest.$ac_objext conftest.$ac_ext
41208       ac_ext=c
41209 ac_cpp='$CPP $CPPFLAGS'
41210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41213
41214
41215 fi
41216
41217   fi
41218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41219 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41220
41221     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41222
41223 for ac_func in _sincosl
41224 do
41225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41226 echo "$as_me:$LINENO: checking for $ac_func" >&5
41227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41228 if eval "test \"\${$as_ac_var+set}\" = set"; then
41229   echo $ECHO_N "(cached) $ECHO_C" >&6
41230 else
41231   if test x$gcc_no_link = xyes; then
41232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41234    { (exit 1); exit 1; }; }
41235 fi
41236 cat >conftest.$ac_ext <<_ACEOF
41237 #line $LINENO "configure"
41238 /* confdefs.h.  */
41239 _ACEOF
41240 cat confdefs.h >>conftest.$ac_ext
41241 cat >>conftest.$ac_ext <<_ACEOF
41242 /* end confdefs.h.  */
41243 /* System header to define __stub macros and hopefully few prototypes,
41244     which can conflict with char $ac_func (); below.
41245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41246     <limits.h> exists even on freestanding compilers.  */
41247 #ifdef __STDC__
41248 # include <limits.h>
41249 #else
41250 # include <assert.h>
41251 #endif
41252 /* Override any gcc2 internal prototype to avoid an error.  */
41253 #ifdef __cplusplus
41254 extern "C"
41255 {
41256 #endif
41257 /* We use char because int might match the return type of a gcc2
41258    builtin and then its argument prototype would still apply.  */
41259 char $ac_func ();
41260 /* The GNU C library defines this for functions which it implements
41261     to always fail with ENOSYS.  Some functions are actually named
41262     something starting with __ and the normal name is an alias.  */
41263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41264 choke me
41265 #else
41266 char (*f) () = $ac_func;
41267 #endif
41268 #ifdef __cplusplus
41269 }
41270 #endif
41271
41272 int
41273 main ()
41274 {
41275 return f != $ac_func;
41276   ;
41277   return 0;
41278 }
41279 _ACEOF
41280 rm -f conftest.$ac_objext conftest$ac_exeext
41281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41282   (eval $ac_link) 2>&5
41283   ac_status=$?
41284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285   (exit $ac_status); } &&
41286          { ac_try='test -s conftest$ac_exeext'
41287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41288   (eval $ac_try) 2>&5
41289   ac_status=$?
41290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291   (exit $ac_status); }; }; then
41292   eval "$as_ac_var=yes"
41293 else
41294   echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41296
41297 eval "$as_ac_var=no"
41298 fi
41299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41300 fi
41301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41303 if test `eval echo '${'$as_ac_var'}'` = yes; then
41304   cat >>confdefs.h <<_ACEOF
41305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41306 _ACEOF
41307
41308 fi
41309 done
41310
41311     fi
41312   fi
41313
41314
41315
41316   echo "$as_me:$LINENO: checking for finitel declaration" >&5
41317 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41318   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41319     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41320   echo $ECHO_N "(cached) $ECHO_C" >&6
41321 else
41322
41323
41324
41325       ac_ext=cc
41326 ac_cpp='$CXXCPP $CPPFLAGS'
41327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41330
41331       cat >conftest.$ac_ext <<_ACEOF
41332 #line $LINENO "configure"
41333 /* confdefs.h.  */
41334 _ACEOF
41335 cat confdefs.h >>conftest.$ac_ext
41336 cat >>conftest.$ac_ext <<_ACEOF
41337 /* end confdefs.h.  */
41338 #include <math.h>
41339                       #ifdef HAVE_IEEEFP_H
41340                       #include <ieeefp.h>
41341                       #endif
41342
41343 int
41344 main ()
41345 {
41346  finitel(0);
41347   ;
41348   return 0;
41349 }
41350 _ACEOF
41351 rm -f conftest.$ac_objext
41352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41353   (eval $ac_compile) 2>&5
41354   ac_status=$?
41355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356   (exit $ac_status); } &&
41357          { ac_try='test -s conftest.$ac_objext'
41358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41359   (eval $ac_try) 2>&5
41360   ac_status=$?
41361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362   (exit $ac_status); }; }; then
41363   glibcxx_cv_func_finitel_use=yes
41364 else
41365   echo "$as_me: failed program was:" >&5
41366 sed 's/^/| /' conftest.$ac_ext >&5
41367
41368 glibcxx_cv_func_finitel_use=no
41369 fi
41370 rm -f conftest.$ac_objext conftest.$ac_ext
41371       ac_ext=c
41372 ac_cpp='$CPP $CPPFLAGS'
41373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41376
41377
41378 fi
41379
41380   fi
41381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41382 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41383
41384   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41385
41386 for ac_func in finitel
41387 do
41388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41389 echo "$as_me:$LINENO: checking for $ac_func" >&5
41390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41391 if eval "test \"\${$as_ac_var+set}\" = set"; then
41392   echo $ECHO_N "(cached) $ECHO_C" >&6
41393 else
41394   if test x$gcc_no_link = xyes; then
41395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41397    { (exit 1); exit 1; }; }
41398 fi
41399 cat >conftest.$ac_ext <<_ACEOF
41400 #line $LINENO "configure"
41401 /* confdefs.h.  */
41402 _ACEOF
41403 cat confdefs.h >>conftest.$ac_ext
41404 cat >>conftest.$ac_ext <<_ACEOF
41405 /* end confdefs.h.  */
41406 /* System header to define __stub macros and hopefully few prototypes,
41407     which can conflict with char $ac_func (); below.
41408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41409     <limits.h> exists even on freestanding compilers.  */
41410 #ifdef __STDC__
41411 # include <limits.h>
41412 #else
41413 # include <assert.h>
41414 #endif
41415 /* Override any gcc2 internal prototype to avoid an error.  */
41416 #ifdef __cplusplus
41417 extern "C"
41418 {
41419 #endif
41420 /* We use char because int might match the return type of a gcc2
41421    builtin and then its argument prototype would still apply.  */
41422 char $ac_func ();
41423 /* The GNU C library defines this for functions which it implements
41424     to always fail with ENOSYS.  Some functions are actually named
41425     something starting with __ and the normal name is an alias.  */
41426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41427 choke me
41428 #else
41429 char (*f) () = $ac_func;
41430 #endif
41431 #ifdef __cplusplus
41432 }
41433 #endif
41434
41435 int
41436 main ()
41437 {
41438 return f != $ac_func;
41439   ;
41440   return 0;
41441 }
41442 _ACEOF
41443 rm -f conftest.$ac_objext conftest$ac_exeext
41444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41445   (eval $ac_link) 2>&5
41446   ac_status=$?
41447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41448   (exit $ac_status); } &&
41449          { ac_try='test -s conftest$ac_exeext'
41450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41451   (eval $ac_try) 2>&5
41452   ac_status=$?
41453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454   (exit $ac_status); }; }; then
41455   eval "$as_ac_var=yes"
41456 else
41457   echo "$as_me: failed program was:" >&5
41458 sed 's/^/| /' conftest.$ac_ext >&5
41459
41460 eval "$as_ac_var=no"
41461 fi
41462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41463 fi
41464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41466 if test `eval echo '${'$as_ac_var'}'` = yes; then
41467   cat >>confdefs.h <<_ACEOF
41468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41469 _ACEOF
41470
41471 fi
41472 done
41473
41474   else
41475
41476   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41477 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41478   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41479     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41480   echo $ECHO_N "(cached) $ECHO_C" >&6
41481 else
41482
41483
41484
41485       ac_ext=cc
41486 ac_cpp='$CXXCPP $CPPFLAGS'
41487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41490
41491       cat >conftest.$ac_ext <<_ACEOF
41492 #line $LINENO "configure"
41493 /* confdefs.h.  */
41494 _ACEOF
41495 cat confdefs.h >>conftest.$ac_ext
41496 cat >>conftest.$ac_ext <<_ACEOF
41497 /* end confdefs.h.  */
41498 #include <math.h>
41499                       #ifdef HAVE_IEEEFP_H
41500                       #include <ieeefp.h>
41501                       #endif
41502
41503 int
41504 main ()
41505 {
41506  _finitel(0);
41507   ;
41508   return 0;
41509 }
41510 _ACEOF
41511 rm -f conftest.$ac_objext
41512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41513   (eval $ac_compile) 2>&5
41514   ac_status=$?
41515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516   (exit $ac_status); } &&
41517          { ac_try='test -s conftest.$ac_objext'
41518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519   (eval $ac_try) 2>&5
41520   ac_status=$?
41521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522   (exit $ac_status); }; }; then
41523   glibcxx_cv_func__finitel_use=yes
41524 else
41525   echo "$as_me: failed program was:" >&5
41526 sed 's/^/| /' conftest.$ac_ext >&5
41527
41528 glibcxx_cv_func__finitel_use=no
41529 fi
41530 rm -f conftest.$ac_objext conftest.$ac_ext
41531       ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536
41537
41538 fi
41539
41540   fi
41541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41542 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41543
41544     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41545
41546 for ac_func in _finitel
41547 do
41548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41549 echo "$as_me:$LINENO: checking for $ac_func" >&5
41550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41551 if eval "test \"\${$as_ac_var+set}\" = set"; then
41552   echo $ECHO_N "(cached) $ECHO_C" >&6
41553 else
41554   if test x$gcc_no_link = xyes; then
41555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41557    { (exit 1); exit 1; }; }
41558 fi
41559 cat >conftest.$ac_ext <<_ACEOF
41560 #line $LINENO "configure"
41561 /* confdefs.h.  */
41562 _ACEOF
41563 cat confdefs.h >>conftest.$ac_ext
41564 cat >>conftest.$ac_ext <<_ACEOF
41565 /* end confdefs.h.  */
41566 /* System header to define __stub macros and hopefully few prototypes,
41567     which can conflict with char $ac_func (); below.
41568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41569     <limits.h> exists even on freestanding compilers.  */
41570 #ifdef __STDC__
41571 # include <limits.h>
41572 #else
41573 # include <assert.h>
41574 #endif
41575 /* Override any gcc2 internal prototype to avoid an error.  */
41576 #ifdef __cplusplus
41577 extern "C"
41578 {
41579 #endif
41580 /* We use char because int might match the return type of a gcc2
41581    builtin and then its argument prototype would still apply.  */
41582 char $ac_func ();
41583 /* The GNU C library defines this for functions which it implements
41584     to always fail with ENOSYS.  Some functions are actually named
41585     something starting with __ and the normal name is an alias.  */
41586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41587 choke me
41588 #else
41589 char (*f) () = $ac_func;
41590 #endif
41591 #ifdef __cplusplus
41592 }
41593 #endif
41594
41595 int
41596 main ()
41597 {
41598 return f != $ac_func;
41599   ;
41600   return 0;
41601 }
41602 _ACEOF
41603 rm -f conftest.$ac_objext conftest$ac_exeext
41604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41605   (eval $ac_link) 2>&5
41606   ac_status=$?
41607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608   (exit $ac_status); } &&
41609          { ac_try='test -s conftest$ac_exeext'
41610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611   (eval $ac_try) 2>&5
41612   ac_status=$?
41613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614   (exit $ac_status); }; }; then
41615   eval "$as_ac_var=yes"
41616 else
41617   echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620 eval "$as_ac_var=no"
41621 fi
41622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41623 fi
41624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41626 if test `eval echo '${'$as_ac_var'}'` = yes; then
41627   cat >>confdefs.h <<_ACEOF
41628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41629 _ACEOF
41630
41631 fi
41632 done
41633
41634     fi
41635   fi
41636
41637
41638
41639
41640   echo "$as_me:$LINENO: checking for _float trig functions" >&5
41641 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41642   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41643   echo $ECHO_N "(cached) $ECHO_C" >&6
41644 else
41645
41646
41647
41648     ac_ext=cc
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653
41654     cat >conftest.$ac_ext <<_ACEOF
41655 #line $LINENO "configure"
41656 /* confdefs.h.  */
41657 _ACEOF
41658 cat confdefs.h >>conftest.$ac_ext
41659 cat >>conftest.$ac_ext <<_ACEOF
41660 /* end confdefs.h.  */
41661 #include <math.h>
41662 int
41663 main ()
41664 {
41665  `for x in _acosf _asinf _atanf \
41666                                           _cosf _sinf _tanf \
41667                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41668   ;
41669   return 0;
41670 }
41671 _ACEOF
41672 rm -f conftest.$ac_objext
41673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41674   (eval $ac_compile) 2>&5
41675   ac_status=$?
41676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677   (exit $ac_status); } &&
41678          { ac_try='test -s conftest.$ac_objext'
41679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680   (eval $ac_try) 2>&5
41681   ac_status=$?
41682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683   (exit $ac_status); }; }; then
41684   glibcxx_cv_func__float_trig_use=yes
41685 else
41686   echo "$as_me: failed program was:" >&5
41687 sed 's/^/| /' conftest.$ac_ext >&5
41688
41689 glibcxx_cv_func__float_trig_use=no
41690 fi
41691 rm -f conftest.$ac_objext conftest.$ac_ext
41692     ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41697
41698 fi
41699
41700   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41701 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41702   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712 for ac_func in _acosf _asinf _atanf \
41713                                           _cosf _sinf _tanf \
41714                                           _coshf _sinhf _tanhf
41715 do
41716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41717 echo "$as_me:$LINENO: checking for $ac_func" >&5
41718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41719 if eval "test \"\${$as_ac_var+set}\" = set"; then
41720   echo $ECHO_N "(cached) $ECHO_C" >&6
41721 else
41722   if test x$gcc_no_link = xyes; then
41723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41725    { (exit 1); exit 1; }; }
41726 fi
41727 cat >conftest.$ac_ext <<_ACEOF
41728 #line $LINENO "configure"
41729 /* confdefs.h.  */
41730 _ACEOF
41731 cat confdefs.h >>conftest.$ac_ext
41732 cat >>conftest.$ac_ext <<_ACEOF
41733 /* end confdefs.h.  */
41734 /* System header to define __stub macros and hopefully few prototypes,
41735     which can conflict with char $ac_func (); below.
41736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41737     <limits.h> exists even on freestanding compilers.  */
41738 #ifdef __STDC__
41739 # include <limits.h>
41740 #else
41741 # include <assert.h>
41742 #endif
41743 /* Override any gcc2 internal prototype to avoid an error.  */
41744 #ifdef __cplusplus
41745 extern "C"
41746 {
41747 #endif
41748 /* We use char because int might match the return type of a gcc2
41749    builtin and then its argument prototype would still apply.  */
41750 char $ac_func ();
41751 /* The GNU C library defines this for functions which it implements
41752     to always fail with ENOSYS.  Some functions are actually named
41753     something starting with __ and the normal name is an alias.  */
41754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41755 choke me
41756 #else
41757 char (*f) () = $ac_func;
41758 #endif
41759 #ifdef __cplusplus
41760 }
41761 #endif
41762
41763 int
41764 main ()
41765 {
41766 return f != $ac_func;
41767   ;
41768   return 0;
41769 }
41770 _ACEOF
41771 rm -f conftest.$ac_objext conftest$ac_exeext
41772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41773   (eval $ac_link) 2>&5
41774   ac_status=$?
41775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41776   (exit $ac_status); } &&
41777          { ac_try='test -s conftest$ac_exeext'
41778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41779   (eval $ac_try) 2>&5
41780   ac_status=$?
41781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41782   (exit $ac_status); }; }; then
41783   eval "$as_ac_var=yes"
41784 else
41785   echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41787
41788 eval "$as_ac_var=no"
41789 fi
41790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41791 fi
41792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41794 if test `eval echo '${'$as_ac_var'}'` = yes; then
41795   cat >>confdefs.h <<_ACEOF
41796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41797 _ACEOF
41798
41799 fi
41800 done
41801
41802   fi
41803
41804
41805   echo "$as_me:$LINENO: checking for _float round functions" >&5
41806 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41807   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41808   echo $ECHO_N "(cached) $ECHO_C" >&6
41809 else
41810
41811
41812
41813     ac_ext=cc
41814 ac_cpp='$CXXCPP $CPPFLAGS'
41815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818
41819     cat >conftest.$ac_ext <<_ACEOF
41820 #line $LINENO "configure"
41821 /* confdefs.h.  */
41822 _ACEOF
41823 cat confdefs.h >>conftest.$ac_ext
41824 cat >>conftest.$ac_ext <<_ACEOF
41825 /* end confdefs.h.  */
41826 #include <math.h>
41827 int
41828 main ()
41829 {
41830  `for x in _ceilf _floorf; do echo "$x (0);"; done`
41831   ;
41832   return 0;
41833 }
41834 _ACEOF
41835 rm -f conftest.$ac_objext
41836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41837   (eval $ac_compile) 2>&5
41838   ac_status=$?
41839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840   (exit $ac_status); } &&
41841          { ac_try='test -s conftest.$ac_objext'
41842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843   (eval $ac_try) 2>&5
41844   ac_status=$?
41845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846   (exit $ac_status); }; }; then
41847   glibcxx_cv_func__float_round_use=yes
41848 else
41849   echo "$as_me: failed program was:" >&5
41850 sed 's/^/| /' conftest.$ac_ext >&5
41851
41852 glibcxx_cv_func__float_round_use=no
41853 fi
41854 rm -f conftest.$ac_objext conftest.$ac_ext
41855     ac_ext=c
41856 ac_cpp='$CPP $CPPFLAGS'
41857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41860
41861 fi
41862
41863   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41864 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41865   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41866
41867
41868 for ac_func in _ceilf _floorf
41869 do
41870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41871 echo "$as_me:$LINENO: checking for $ac_func" >&5
41872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41873 if eval "test \"\${$as_ac_var+set}\" = set"; then
41874   echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41876   if test x$gcc_no_link = xyes; then
41877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41879    { (exit 1); exit 1; }; }
41880 fi
41881 cat >conftest.$ac_ext <<_ACEOF
41882 #line $LINENO "configure"
41883 /* confdefs.h.  */
41884 _ACEOF
41885 cat confdefs.h >>conftest.$ac_ext
41886 cat >>conftest.$ac_ext <<_ACEOF
41887 /* end confdefs.h.  */
41888 /* System header to define __stub macros and hopefully few prototypes,
41889     which can conflict with char $ac_func (); below.
41890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41891     <limits.h> exists even on freestanding compilers.  */
41892 #ifdef __STDC__
41893 # include <limits.h>
41894 #else
41895 # include <assert.h>
41896 #endif
41897 /* Override any gcc2 internal prototype to avoid an error.  */
41898 #ifdef __cplusplus
41899 extern "C"
41900 {
41901 #endif
41902 /* We use char because int might match the return type of a gcc2
41903    builtin and then its argument prototype would still apply.  */
41904 char $ac_func ();
41905 /* The GNU C library defines this for functions which it implements
41906     to always fail with ENOSYS.  Some functions are actually named
41907     something starting with __ and the normal name is an alias.  */
41908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41909 choke me
41910 #else
41911 char (*f) () = $ac_func;
41912 #endif
41913 #ifdef __cplusplus
41914 }
41915 #endif
41916
41917 int
41918 main ()
41919 {
41920 return f != $ac_func;
41921   ;
41922   return 0;
41923 }
41924 _ACEOF
41925 rm -f conftest.$ac_objext conftest$ac_exeext
41926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41927   (eval $ac_link) 2>&5
41928   ac_status=$?
41929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930   (exit $ac_status); } &&
41931          { ac_try='test -s conftest$ac_exeext'
41932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41933   (eval $ac_try) 2>&5
41934   ac_status=$?
41935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41936   (exit $ac_status); }; }; then
41937   eval "$as_ac_var=yes"
41938 else
41939   echo "$as_me: failed program was:" >&5
41940 sed 's/^/| /' conftest.$ac_ext >&5
41941
41942 eval "$as_ac_var=no"
41943 fi
41944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41945 fi
41946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41948 if test `eval echo '${'$as_ac_var'}'` = yes; then
41949   cat >>confdefs.h <<_ACEOF
41950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41951 _ACEOF
41952
41953 fi
41954 done
41955
41956   fi
41957
41958
41959
41960   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41961 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41962   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41963   echo $ECHO_N "(cached) $ECHO_C" >&6
41964 else
41965
41966
41967
41968     ac_ext=cc
41969 ac_cpp='$CXXCPP $CPPFLAGS'
41970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41973
41974     cat >conftest.$ac_ext <<_ACEOF
41975 #line $LINENO "configure"
41976 /* confdefs.h.  */
41977 _ACEOF
41978 cat confdefs.h >>conftest.$ac_ext
41979 cat >>conftest.$ac_ext <<_ACEOF
41980 /* end confdefs.h.  */
41981 #include <math.h>
41982 int
41983 main ()
41984 {
41985  `for x in _acosl _asinl _atanl \
41986                                           _cosl _sinl _tanl \
41987                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
41988   ;
41989   return 0;
41990 }
41991 _ACEOF
41992 rm -f conftest.$ac_objext
41993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41994   (eval $ac_compile) 2>&5
41995   ac_status=$?
41996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41997   (exit $ac_status); } &&
41998          { ac_try='test -s conftest.$ac_objext'
41999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42000   (eval $ac_try) 2>&5
42001   ac_status=$?
42002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42003   (exit $ac_status); }; }; then
42004   glibcxx_cv_func__long_double_trig_use=yes
42005 else
42006   echo "$as_me: failed program was:" >&5
42007 sed 's/^/| /' conftest.$ac_ext >&5
42008
42009 glibcxx_cv_func__long_double_trig_use=no
42010 fi
42011 rm -f conftest.$ac_objext conftest.$ac_ext
42012     ac_ext=c
42013 ac_cpp='$CPP $CPPFLAGS'
42014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42017
42018 fi
42019
42020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42021 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42022   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032 for ac_func in _acosl _asinl _atanl \
42033                                           _cosl _sinl _tanl \
42034                                           _coshl _sinhl _tanhl
42035 do
42036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42037 echo "$as_me:$LINENO: checking for $ac_func" >&5
42038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42039 if eval "test \"\${$as_ac_var+set}\" = set"; then
42040   echo $ECHO_N "(cached) $ECHO_C" >&6
42041 else
42042   if test x$gcc_no_link = xyes; then
42043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42045    { (exit 1); exit 1; }; }
42046 fi
42047 cat >conftest.$ac_ext <<_ACEOF
42048 #line $LINENO "configure"
42049 /* confdefs.h.  */
42050 _ACEOF
42051 cat confdefs.h >>conftest.$ac_ext
42052 cat >>conftest.$ac_ext <<_ACEOF
42053 /* end confdefs.h.  */
42054 /* System header to define __stub macros and hopefully few prototypes,
42055     which can conflict with char $ac_func (); below.
42056     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42057     <limits.h> exists even on freestanding compilers.  */
42058 #ifdef __STDC__
42059 # include <limits.h>
42060 #else
42061 # include <assert.h>
42062 #endif
42063 /* Override any gcc2 internal prototype to avoid an error.  */
42064 #ifdef __cplusplus
42065 extern "C"
42066 {
42067 #endif
42068 /* We use char because int might match the return type of a gcc2
42069    builtin and then its argument prototype would still apply.  */
42070 char $ac_func ();
42071 /* The GNU C library defines this for functions which it implements
42072     to always fail with ENOSYS.  Some functions are actually named
42073     something starting with __ and the normal name is an alias.  */
42074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42075 choke me
42076 #else
42077 char (*f) () = $ac_func;
42078 #endif
42079 #ifdef __cplusplus
42080 }
42081 #endif
42082
42083 int
42084 main ()
42085 {
42086 return f != $ac_func;
42087   ;
42088   return 0;
42089 }
42090 _ACEOF
42091 rm -f conftest.$ac_objext conftest$ac_exeext
42092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42093   (eval $ac_link) 2>&5
42094   ac_status=$?
42095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096   (exit $ac_status); } &&
42097          { ac_try='test -s conftest$ac_exeext'
42098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42099   (eval $ac_try) 2>&5
42100   ac_status=$?
42101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102   (exit $ac_status); }; }; then
42103   eval "$as_ac_var=yes"
42104 else
42105   echo "$as_me: failed program was:" >&5
42106 sed 's/^/| /' conftest.$ac_ext >&5
42107
42108 eval "$as_ac_var=no"
42109 fi
42110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42111 fi
42112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42114 if test `eval echo '${'$as_ac_var'}'` = yes; then
42115   cat >>confdefs.h <<_ACEOF
42116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42117 _ACEOF
42118
42119 fi
42120 done
42121
42122   fi
42123
42124
42125   echo "$as_me:$LINENO: checking for _long double round functions" >&5
42126 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42127   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42128   echo $ECHO_N "(cached) $ECHO_C" >&6
42129 else
42130
42131
42132
42133     ac_ext=cc
42134 ac_cpp='$CXXCPP $CPPFLAGS'
42135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42138
42139     cat >conftest.$ac_ext <<_ACEOF
42140 #line $LINENO "configure"
42141 /* confdefs.h.  */
42142 _ACEOF
42143 cat confdefs.h >>conftest.$ac_ext
42144 cat >>conftest.$ac_ext <<_ACEOF
42145 /* end confdefs.h.  */
42146 #include <math.h>
42147 int
42148 main ()
42149 {
42150  `for x in _ceill _floorl; do echo "$x (0);"; done`
42151   ;
42152   return 0;
42153 }
42154 _ACEOF
42155 rm -f conftest.$ac_objext
42156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42157   (eval $ac_compile) 2>&5
42158   ac_status=$?
42159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160   (exit $ac_status); } &&
42161          { ac_try='test -s conftest.$ac_objext'
42162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42163   (eval $ac_try) 2>&5
42164   ac_status=$?
42165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166   (exit $ac_status); }; }; then
42167   glibcxx_cv_func__long_double_round_use=yes
42168 else
42169   echo "$as_me: failed program was:" >&5
42170 sed 's/^/| /' conftest.$ac_ext >&5
42171
42172 glibcxx_cv_func__long_double_round_use=no
42173 fi
42174 rm -f conftest.$ac_objext conftest.$ac_ext
42175     ac_ext=c
42176 ac_cpp='$CPP $CPPFLAGS'
42177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42180
42181 fi
42182
42183   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42184 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42185   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42186
42187
42188 for ac_func in _ceill _floorl
42189 do
42190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42191 echo "$as_me:$LINENO: checking for $ac_func" >&5
42192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42193 if eval "test \"\${$as_ac_var+set}\" = set"; then
42194   echo $ECHO_N "(cached) $ECHO_C" >&6
42195 else
42196   if test x$gcc_no_link = xyes; then
42197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42199    { (exit 1); exit 1; }; }
42200 fi
42201 cat >conftest.$ac_ext <<_ACEOF
42202 #line $LINENO "configure"
42203 /* confdefs.h.  */
42204 _ACEOF
42205 cat confdefs.h >>conftest.$ac_ext
42206 cat >>conftest.$ac_ext <<_ACEOF
42207 /* end confdefs.h.  */
42208 /* System header to define __stub macros and hopefully few prototypes,
42209     which can conflict with char $ac_func (); below.
42210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42211     <limits.h> exists even on freestanding compilers.  */
42212 #ifdef __STDC__
42213 # include <limits.h>
42214 #else
42215 # include <assert.h>
42216 #endif
42217 /* Override any gcc2 internal prototype to avoid an error.  */
42218 #ifdef __cplusplus
42219 extern "C"
42220 {
42221 #endif
42222 /* We use char because int might match the return type of a gcc2
42223    builtin and then its argument prototype would still apply.  */
42224 char $ac_func ();
42225 /* The GNU C library defines this for functions which it implements
42226     to always fail with ENOSYS.  Some functions are actually named
42227     something starting with __ and the normal name is an alias.  */
42228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42229 choke me
42230 #else
42231 char (*f) () = $ac_func;
42232 #endif
42233 #ifdef __cplusplus
42234 }
42235 #endif
42236
42237 int
42238 main ()
42239 {
42240 return f != $ac_func;
42241   ;
42242   return 0;
42243 }
42244 _ACEOF
42245 rm -f conftest.$ac_objext conftest$ac_exeext
42246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42247   (eval $ac_link) 2>&5
42248   ac_status=$?
42249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250   (exit $ac_status); } &&
42251          { ac_try='test -s conftest$ac_exeext'
42252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42253   (eval $ac_try) 2>&5
42254   ac_status=$?
42255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256   (exit $ac_status); }; }; then
42257   eval "$as_ac_var=yes"
42258 else
42259   echo "$as_me: failed program was:" >&5
42260 sed 's/^/| /' conftest.$ac_ext >&5
42261
42262 eval "$as_ac_var=no"
42263 fi
42264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42265 fi
42266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42268 if test `eval echo '${'$as_ac_var'}'` = yes; then
42269   cat >>confdefs.h <<_ACEOF
42270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42271 _ACEOF
42272
42273 fi
42274 done
42275
42276   fi
42277
42278
42279   LIBS="$ac_save_LIBS"
42280   CXXFLAGS="$ac_save_CXXFLAGS"
42281
42282
42283
42284   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42285 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42286   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42287     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42288   echo $ECHO_N "(cached) $ECHO_C" >&6
42289 else
42290
42291
42292
42293       ac_ext=cc
42294 ac_cpp='$CXXCPP $CPPFLAGS'
42295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42298
42299       cat >conftest.$ac_ext <<_ACEOF
42300 #line $LINENO "configure"
42301 /* confdefs.h.  */
42302 _ACEOF
42303 cat confdefs.h >>conftest.$ac_ext
42304 cat >>conftest.$ac_ext <<_ACEOF
42305 /* end confdefs.h.  */
42306 #include <math.h>
42307 int
42308 main ()
42309 {
42310  __builtin_abs(0);
42311   ;
42312   return 0;
42313 }
42314 _ACEOF
42315 rm -f conftest.$ac_objext
42316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42317   (eval $ac_compile) 2>&5
42318   ac_status=$?
42319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320   (exit $ac_status); } &&
42321          { ac_try='test -s conftest.$ac_objext'
42322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323   (eval $ac_try) 2>&5
42324   ac_status=$?
42325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326   (exit $ac_status); }; }; then
42327   glibcxx_cv_func___builtin_abs_use=yes
42328 else
42329   echo "$as_me: failed program was:" >&5
42330 sed 's/^/| /' conftest.$ac_ext >&5
42331
42332 glibcxx_cv_func___builtin_abs_use=no
42333 fi
42334 rm -f conftest.$ac_objext conftest.$ac_ext
42335       ac_ext=c
42336 ac_cpp='$CPP $CPPFLAGS'
42337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42340
42341
42342 fi
42343
42344   fi
42345   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42346 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42347   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42348     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42349 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42350     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42351       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42352   echo $ECHO_N "(cached) $ECHO_C" >&6
42353 else
42354
42355         if test x$gcc_no_link = xyes; then
42356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42358    { (exit 1); exit 1; }; }
42359 fi
42360 cat >conftest.$ac_ext <<_ACEOF
42361 #line $LINENO "configure"
42362 /* confdefs.h.  */
42363 _ACEOF
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h.  */
42367 #include <math.h>
42368 int
42369 main ()
42370 {
42371  __builtin_abs(0);
42372   ;
42373   return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext conftest$ac_exeext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42378   (eval $ac_link) 2>&5
42379   ac_status=$?
42380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381   (exit $ac_status); } &&
42382          { ac_try='test -s conftest$ac_exeext'
42383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42384   (eval $ac_try) 2>&5
42385   ac_status=$?
42386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42387   (exit $ac_status); }; }; then
42388   glibcxx_cv_func___builtin_abs_link=yes
42389 else
42390   echo "$as_me: failed program was:" >&5
42391 sed 's/^/| /' conftest.$ac_ext >&5
42392
42393 glibcxx_cv_func___builtin_abs_link=no
42394 fi
42395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42396
42397 fi
42398
42399     fi
42400     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42401 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42402     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42403       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42404       cat >>confdefs.h <<_ACEOF
42405 #define ${ac_tr_func} 1
42406 _ACEOF
42407
42408     fi
42409   fi
42410
42411
42412   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42413 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42414   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42415     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42416   echo $ECHO_N "(cached) $ECHO_C" >&6
42417 else
42418
42419
42420
42421       ac_ext=cc
42422 ac_cpp='$CXXCPP $CPPFLAGS'
42423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42426
42427       cat >conftest.$ac_ext <<_ACEOF
42428 #line $LINENO "configure"
42429 /* confdefs.h.  */
42430 _ACEOF
42431 cat confdefs.h >>conftest.$ac_ext
42432 cat >>conftest.$ac_ext <<_ACEOF
42433 /* end confdefs.h.  */
42434 #include <math.h>
42435 int
42436 main ()
42437 {
42438  __builtin_fabsf(0);
42439   ;
42440   return 0;
42441 }
42442 _ACEOF
42443 rm -f conftest.$ac_objext
42444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42445   (eval $ac_compile) 2>&5
42446   ac_status=$?
42447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448   (exit $ac_status); } &&
42449          { ac_try='test -s conftest.$ac_objext'
42450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42451   (eval $ac_try) 2>&5
42452   ac_status=$?
42453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454   (exit $ac_status); }; }; then
42455   glibcxx_cv_func___builtin_fabsf_use=yes
42456 else
42457   echo "$as_me: failed program was:" >&5
42458 sed 's/^/| /' conftest.$ac_ext >&5
42459
42460 glibcxx_cv_func___builtin_fabsf_use=no
42461 fi
42462 rm -f conftest.$ac_objext conftest.$ac_ext
42463       ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468
42469
42470 fi
42471
42472   fi
42473   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42474 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42475   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42476     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42477 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42478     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42479       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42480   echo $ECHO_N "(cached) $ECHO_C" >&6
42481 else
42482
42483         if test x$gcc_no_link = xyes; then
42484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42486    { (exit 1); exit 1; }; }
42487 fi
42488 cat >conftest.$ac_ext <<_ACEOF
42489 #line $LINENO "configure"
42490 /* confdefs.h.  */
42491 _ACEOF
42492 cat confdefs.h >>conftest.$ac_ext
42493 cat >>conftest.$ac_ext <<_ACEOF
42494 /* end confdefs.h.  */
42495 #include <math.h>
42496 int
42497 main ()
42498 {
42499  __builtin_fabsf(0);
42500   ;
42501   return 0;
42502 }
42503 _ACEOF
42504 rm -f conftest.$ac_objext conftest$ac_exeext
42505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42506   (eval $ac_link) 2>&5
42507   ac_status=$?
42508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509   (exit $ac_status); } &&
42510          { ac_try='test -s conftest$ac_exeext'
42511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42512   (eval $ac_try) 2>&5
42513   ac_status=$?
42514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515   (exit $ac_status); }; }; then
42516   glibcxx_cv_func___builtin_fabsf_link=yes
42517 else
42518   echo "$as_me: failed program was:" >&5
42519 sed 's/^/| /' conftest.$ac_ext >&5
42520
42521 glibcxx_cv_func___builtin_fabsf_link=no
42522 fi
42523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42524
42525 fi
42526
42527     fi
42528     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42529 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42530     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42531       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42532       cat >>confdefs.h <<_ACEOF
42533 #define ${ac_tr_func} 1
42534 _ACEOF
42535
42536     fi
42537   fi
42538
42539
42540   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42541 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42542   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42543     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42544   echo $ECHO_N "(cached) $ECHO_C" >&6
42545 else
42546
42547
42548
42549       ac_ext=cc
42550 ac_cpp='$CXXCPP $CPPFLAGS'
42551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42554
42555       cat >conftest.$ac_ext <<_ACEOF
42556 #line $LINENO "configure"
42557 /* confdefs.h.  */
42558 _ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h.  */
42562 #include <math.h>
42563 int
42564 main ()
42565 {
42566  __builtin_fabs(0);
42567   ;
42568   return 0;
42569 }
42570 _ACEOF
42571 rm -f conftest.$ac_objext
42572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42573   (eval $ac_compile) 2>&5
42574   ac_status=$?
42575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576   (exit $ac_status); } &&
42577          { ac_try='test -s conftest.$ac_objext'
42578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42579   (eval $ac_try) 2>&5
42580   ac_status=$?
42581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582   (exit $ac_status); }; }; then
42583   glibcxx_cv_func___builtin_fabs_use=yes
42584 else
42585   echo "$as_me: failed program was:" >&5
42586 sed 's/^/| /' conftest.$ac_ext >&5
42587
42588 glibcxx_cv_func___builtin_fabs_use=no
42589 fi
42590 rm -f conftest.$ac_objext conftest.$ac_ext
42591       ac_ext=c
42592 ac_cpp='$CPP $CPPFLAGS'
42593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42596
42597
42598 fi
42599
42600   fi
42601   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42602 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42603   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42604     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42605 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42606     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42607       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42608   echo $ECHO_N "(cached) $ECHO_C" >&6
42609 else
42610
42611         if test x$gcc_no_link = xyes; then
42612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42614    { (exit 1); exit 1; }; }
42615 fi
42616 cat >conftest.$ac_ext <<_ACEOF
42617 #line $LINENO "configure"
42618 /* confdefs.h.  */
42619 _ACEOF
42620 cat confdefs.h >>conftest.$ac_ext
42621 cat >>conftest.$ac_ext <<_ACEOF
42622 /* end confdefs.h.  */
42623 #include <math.h>
42624 int
42625 main ()
42626 {
42627  __builtin_fabs(0);
42628   ;
42629   return 0;
42630 }
42631 _ACEOF
42632 rm -f conftest.$ac_objext conftest$ac_exeext
42633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42634   (eval $ac_link) 2>&5
42635   ac_status=$?
42636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637   (exit $ac_status); } &&
42638          { ac_try='test -s conftest$ac_exeext'
42639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42640   (eval $ac_try) 2>&5
42641   ac_status=$?
42642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42643   (exit $ac_status); }; }; then
42644   glibcxx_cv_func___builtin_fabs_link=yes
42645 else
42646   echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42648
42649 glibcxx_cv_func___builtin_fabs_link=no
42650 fi
42651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42652
42653 fi
42654
42655     fi
42656     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42657 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42658     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42659       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42660       cat >>confdefs.h <<_ACEOF
42661 #define ${ac_tr_func} 1
42662 _ACEOF
42663
42664     fi
42665   fi
42666
42667
42668   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42669 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42670   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42671     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42672   echo $ECHO_N "(cached) $ECHO_C" >&6
42673 else
42674
42675
42676
42677       ac_ext=cc
42678 ac_cpp='$CXXCPP $CPPFLAGS'
42679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42682
42683       cat >conftest.$ac_ext <<_ACEOF
42684 #line $LINENO "configure"
42685 /* confdefs.h.  */
42686 _ACEOF
42687 cat confdefs.h >>conftest.$ac_ext
42688 cat >>conftest.$ac_ext <<_ACEOF
42689 /* end confdefs.h.  */
42690 #include <math.h>
42691 int
42692 main ()
42693 {
42694  __builtin_fabsl(0);
42695   ;
42696   return 0;
42697 }
42698 _ACEOF
42699 rm -f conftest.$ac_objext
42700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42701   (eval $ac_compile) 2>&5
42702   ac_status=$?
42703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704   (exit $ac_status); } &&
42705          { ac_try='test -s conftest.$ac_objext'
42706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42707   (eval $ac_try) 2>&5
42708   ac_status=$?
42709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710   (exit $ac_status); }; }; then
42711   glibcxx_cv_func___builtin_fabsl_use=yes
42712 else
42713   echo "$as_me: failed program was:" >&5
42714 sed 's/^/| /' conftest.$ac_ext >&5
42715
42716 glibcxx_cv_func___builtin_fabsl_use=no
42717 fi
42718 rm -f conftest.$ac_objext conftest.$ac_ext
42719       ac_ext=c
42720 ac_cpp='$CPP $CPPFLAGS'
42721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42724
42725
42726 fi
42727
42728   fi
42729   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42730 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42731   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42732     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42733 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42734     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42735       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42736   echo $ECHO_N "(cached) $ECHO_C" >&6
42737 else
42738
42739         if test x$gcc_no_link = xyes; then
42740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42742    { (exit 1); exit 1; }; }
42743 fi
42744 cat >conftest.$ac_ext <<_ACEOF
42745 #line $LINENO "configure"
42746 /* confdefs.h.  */
42747 _ACEOF
42748 cat confdefs.h >>conftest.$ac_ext
42749 cat >>conftest.$ac_ext <<_ACEOF
42750 /* end confdefs.h.  */
42751 #include <math.h>
42752 int
42753 main ()
42754 {
42755  __builtin_fabsl(0);
42756   ;
42757   return 0;
42758 }
42759 _ACEOF
42760 rm -f conftest.$ac_objext conftest$ac_exeext
42761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42762   (eval $ac_link) 2>&5
42763   ac_status=$?
42764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765   (exit $ac_status); } &&
42766          { ac_try='test -s conftest$ac_exeext'
42767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42768   (eval $ac_try) 2>&5
42769   ac_status=$?
42770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771   (exit $ac_status); }; }; then
42772   glibcxx_cv_func___builtin_fabsl_link=yes
42773 else
42774   echo "$as_me: failed program was:" >&5
42775 sed 's/^/| /' conftest.$ac_ext >&5
42776
42777 glibcxx_cv_func___builtin_fabsl_link=no
42778 fi
42779 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42780
42781 fi
42782
42783     fi
42784     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42785 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42786     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42787       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42788       cat >>confdefs.h <<_ACEOF
42789 #define ${ac_tr_func} 1
42790 _ACEOF
42791
42792     fi
42793   fi
42794
42795
42796   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42797 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42798   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42799     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42800   echo $ECHO_N "(cached) $ECHO_C" >&6
42801 else
42802
42803
42804
42805       ac_ext=cc
42806 ac_cpp='$CXXCPP $CPPFLAGS'
42807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42810
42811       cat >conftest.$ac_ext <<_ACEOF
42812 #line $LINENO "configure"
42813 /* confdefs.h.  */
42814 _ACEOF
42815 cat confdefs.h >>conftest.$ac_ext
42816 cat >>conftest.$ac_ext <<_ACEOF
42817 /* end confdefs.h.  */
42818 #include <math.h>
42819 int
42820 main ()
42821 {
42822  __builtin_labs(0);
42823   ;
42824   return 0;
42825 }
42826 _ACEOF
42827 rm -f conftest.$ac_objext
42828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42829   (eval $ac_compile) 2>&5
42830   ac_status=$?
42831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42832   (exit $ac_status); } &&
42833          { ac_try='test -s conftest.$ac_objext'
42834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42835   (eval $ac_try) 2>&5
42836   ac_status=$?
42837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838   (exit $ac_status); }; }; then
42839   glibcxx_cv_func___builtin_labs_use=yes
42840 else
42841   echo "$as_me: failed program was:" >&5
42842 sed 's/^/| /' conftest.$ac_ext >&5
42843
42844 glibcxx_cv_func___builtin_labs_use=no
42845 fi
42846 rm -f conftest.$ac_objext conftest.$ac_ext
42847       ac_ext=c
42848 ac_cpp='$CPP $CPPFLAGS'
42849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42852
42853
42854 fi
42855
42856   fi
42857   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
42858 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42859   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42860     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42861 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42862     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42863       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42864   echo $ECHO_N "(cached) $ECHO_C" >&6
42865 else
42866
42867         if test x$gcc_no_link = xyes; then
42868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42870    { (exit 1); exit 1; }; }
42871 fi
42872 cat >conftest.$ac_ext <<_ACEOF
42873 #line $LINENO "configure"
42874 /* confdefs.h.  */
42875 _ACEOF
42876 cat confdefs.h >>conftest.$ac_ext
42877 cat >>conftest.$ac_ext <<_ACEOF
42878 /* end confdefs.h.  */
42879 #include <math.h>
42880 int
42881 main ()
42882 {
42883  __builtin_labs(0);
42884   ;
42885   return 0;
42886 }
42887 _ACEOF
42888 rm -f conftest.$ac_objext conftest$ac_exeext
42889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42890   (eval $ac_link) 2>&5
42891   ac_status=$?
42892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42893   (exit $ac_status); } &&
42894          { ac_try='test -s conftest$ac_exeext'
42895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42896   (eval $ac_try) 2>&5
42897   ac_status=$?
42898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899   (exit $ac_status); }; }; then
42900   glibcxx_cv_func___builtin_labs_link=yes
42901 else
42902   echo "$as_me: failed program was:" >&5
42903 sed 's/^/| /' conftest.$ac_ext >&5
42904
42905 glibcxx_cv_func___builtin_labs_link=no
42906 fi
42907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42908
42909 fi
42910
42911     fi
42912     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42913 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42914     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42915       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42916       cat >>confdefs.h <<_ACEOF
42917 #define ${ac_tr_func} 1
42918 _ACEOF
42919
42920     fi
42921   fi
42922
42923
42924
42925   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42926 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42927   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42928     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42929   echo $ECHO_N "(cached) $ECHO_C" >&6
42930 else
42931
42932
42933
42934       ac_ext=cc
42935 ac_cpp='$CXXCPP $CPPFLAGS'
42936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939
42940       cat >conftest.$ac_ext <<_ACEOF
42941 #line $LINENO "configure"
42942 /* confdefs.h.  */
42943 _ACEOF
42944 cat confdefs.h >>conftest.$ac_ext
42945 cat >>conftest.$ac_ext <<_ACEOF
42946 /* end confdefs.h.  */
42947 #include <math.h>
42948 int
42949 main ()
42950 {
42951  __builtin_sqrtf(0);
42952   ;
42953   return 0;
42954 }
42955 _ACEOF
42956 rm -f conftest.$ac_objext
42957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42958   (eval $ac_compile) 2>&5
42959   ac_status=$?
42960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42961   (exit $ac_status); } &&
42962          { ac_try='test -s conftest.$ac_objext'
42963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42964   (eval $ac_try) 2>&5
42965   ac_status=$?
42966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967   (exit $ac_status); }; }; then
42968   glibcxx_cv_func___builtin_sqrtf_use=yes
42969 else
42970   echo "$as_me: failed program was:" >&5
42971 sed 's/^/| /' conftest.$ac_ext >&5
42972
42973 glibcxx_cv_func___builtin_sqrtf_use=no
42974 fi
42975 rm -f conftest.$ac_objext conftest.$ac_ext
42976       ac_ext=c
42977 ac_cpp='$CPP $CPPFLAGS'
42978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42981
42982
42983 fi
42984
42985   fi
42986   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
42987 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
42988   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
42989     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
42990 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
42991     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
42992       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
42993   echo $ECHO_N "(cached) $ECHO_C" >&6
42994 else
42995
42996         if test x$gcc_no_link = xyes; then
42997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42999    { (exit 1); exit 1; }; }
43000 fi
43001 cat >conftest.$ac_ext <<_ACEOF
43002 #line $LINENO "configure"
43003 /* confdefs.h.  */
43004 _ACEOF
43005 cat confdefs.h >>conftest.$ac_ext
43006 cat >>conftest.$ac_ext <<_ACEOF
43007 /* end confdefs.h.  */
43008 #include <math.h>
43009 int
43010 main ()
43011 {
43012  __builtin_sqrtf(0);
43013   ;
43014   return 0;
43015 }
43016 _ACEOF
43017 rm -f conftest.$ac_objext conftest$ac_exeext
43018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43019   (eval $ac_link) 2>&5
43020   ac_status=$?
43021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022   (exit $ac_status); } &&
43023          { ac_try='test -s conftest$ac_exeext'
43024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43025   (eval $ac_try) 2>&5
43026   ac_status=$?
43027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028   (exit $ac_status); }; }; then
43029   glibcxx_cv_func___builtin_sqrtf_link=yes
43030 else
43031   echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.$ac_ext >&5
43033
43034 glibcxx_cv_func___builtin_sqrtf_link=no
43035 fi
43036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43037
43038 fi
43039
43040     fi
43041     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
43042 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
43043     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
43044       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43045       cat >>confdefs.h <<_ACEOF
43046 #define ${ac_tr_func} 1
43047 _ACEOF
43048
43049     fi
43050   fi
43051
43052
43053   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
43054 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
43055   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
43056     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
43057   echo $ECHO_N "(cached) $ECHO_C" >&6
43058 else
43059
43060
43061
43062       ac_ext=cc
43063 ac_cpp='$CXXCPP $CPPFLAGS'
43064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067
43068       cat >conftest.$ac_ext <<_ACEOF
43069 #line $LINENO "configure"
43070 /* confdefs.h.  */
43071 _ACEOF
43072 cat confdefs.h >>conftest.$ac_ext
43073 cat >>conftest.$ac_ext <<_ACEOF
43074 /* end confdefs.h.  */
43075 #include <math.h>
43076 int
43077 main ()
43078 {
43079  __builtin_sqrt(0);
43080   ;
43081   return 0;
43082 }
43083 _ACEOF
43084 rm -f conftest.$ac_objext
43085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43086   (eval $ac_compile) 2>&5
43087   ac_status=$?
43088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089   (exit $ac_status); } &&
43090          { ac_try='test -s conftest.$ac_objext'
43091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43092   (eval $ac_try) 2>&5
43093   ac_status=$?
43094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095   (exit $ac_status); }; }; then
43096   glibcxx_cv_func___builtin_sqrt_use=yes
43097 else
43098   echo "$as_me: failed program was:" >&5
43099 sed 's/^/| /' conftest.$ac_ext >&5
43100
43101 glibcxx_cv_func___builtin_sqrt_use=no
43102 fi
43103 rm -f conftest.$ac_objext conftest.$ac_ext
43104       ac_ext=c
43105 ac_cpp='$CPP $CPPFLAGS'
43106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43109
43110
43111 fi
43112
43113   fi
43114   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43116   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43117     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43118 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43119     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43120       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43121   echo $ECHO_N "(cached) $ECHO_C" >&6
43122 else
43123
43124         if test x$gcc_no_link = xyes; then
43125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43127    { (exit 1); exit 1; }; }
43128 fi
43129 cat >conftest.$ac_ext <<_ACEOF
43130 #line $LINENO "configure"
43131 /* confdefs.h.  */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h.  */
43136 #include <math.h>
43137 int
43138 main ()
43139 {
43140  __builtin_sqrt(0);
43141   ;
43142   return 0;
43143 }
43144 _ACEOF
43145 rm -f conftest.$ac_objext conftest$ac_exeext
43146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43147   (eval $ac_link) 2>&5
43148   ac_status=$?
43149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150   (exit $ac_status); } &&
43151          { ac_try='test -s conftest$ac_exeext'
43152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43153   (eval $ac_try) 2>&5
43154   ac_status=$?
43155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43156   (exit $ac_status); }; }; then
43157   glibcxx_cv_func___builtin_sqrt_link=yes
43158 else
43159   echo "$as_me: failed program was:" >&5
43160 sed 's/^/| /' conftest.$ac_ext >&5
43161
43162 glibcxx_cv_func___builtin_sqrt_link=no
43163 fi
43164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43165
43166 fi
43167
43168     fi
43169     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43171     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43172       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43173       cat >>confdefs.h <<_ACEOF
43174 #define ${ac_tr_func} 1
43175 _ACEOF
43176
43177     fi
43178   fi
43179
43180
43181   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43182 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43183   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43184     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43185   echo $ECHO_N "(cached) $ECHO_C" >&6
43186 else
43187
43188
43189
43190       ac_ext=cc
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43195
43196       cat >conftest.$ac_ext <<_ACEOF
43197 #line $LINENO "configure"
43198 /* confdefs.h.  */
43199 _ACEOF
43200 cat confdefs.h >>conftest.$ac_ext
43201 cat >>conftest.$ac_ext <<_ACEOF
43202 /* end confdefs.h.  */
43203 #include <math.h>
43204 int
43205 main ()
43206 {
43207  __builtin_sqrtl(0);
43208   ;
43209   return 0;
43210 }
43211 _ACEOF
43212 rm -f conftest.$ac_objext
43213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43214   (eval $ac_compile) 2>&5
43215   ac_status=$?
43216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43217   (exit $ac_status); } &&
43218          { ac_try='test -s conftest.$ac_objext'
43219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43220   (eval $ac_try) 2>&5
43221   ac_status=$?
43222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223   (exit $ac_status); }; }; then
43224   glibcxx_cv_func___builtin_sqrtl_use=yes
43225 else
43226   echo "$as_me: failed program was:" >&5
43227 sed 's/^/| /' conftest.$ac_ext >&5
43228
43229 glibcxx_cv_func___builtin_sqrtl_use=no
43230 fi
43231 rm -f conftest.$ac_objext conftest.$ac_ext
43232       ac_ext=c
43233 ac_cpp='$CPP $CPPFLAGS'
43234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43237
43238
43239 fi
43240
43241   fi
43242   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43243 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43244   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43245     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43246 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43247     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43248       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43249   echo $ECHO_N "(cached) $ECHO_C" >&6
43250 else
43251
43252         if test x$gcc_no_link = xyes; then
43253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43255    { (exit 1); exit 1; }; }
43256 fi
43257 cat >conftest.$ac_ext <<_ACEOF
43258 #line $LINENO "configure"
43259 /* confdefs.h.  */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h.  */
43264 #include <math.h>
43265 int
43266 main ()
43267 {
43268  __builtin_sqrtl(0);
43269   ;
43270   return 0;
43271 }
43272 _ACEOF
43273 rm -f conftest.$ac_objext conftest$ac_exeext
43274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43275   (eval $ac_link) 2>&5
43276   ac_status=$?
43277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278   (exit $ac_status); } &&
43279          { ac_try='test -s conftest$ac_exeext'
43280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43281   (eval $ac_try) 2>&5
43282   ac_status=$?
43283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284   (exit $ac_status); }; }; then
43285   glibcxx_cv_func___builtin_sqrtl_link=yes
43286 else
43287   echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.$ac_ext >&5
43289
43290 glibcxx_cv_func___builtin_sqrtl_link=no
43291 fi
43292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43293
43294 fi
43295
43296     fi
43297     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43298 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43299     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43300       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43301       cat >>confdefs.h <<_ACEOF
43302 #define ${ac_tr_func} 1
43303 _ACEOF
43304
43305     fi
43306   fi
43307
43308
43309
43310   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43311 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43312   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43313     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43314   echo $ECHO_N "(cached) $ECHO_C" >&6
43315 else
43316
43317
43318
43319       ac_ext=cc
43320 ac_cpp='$CXXCPP $CPPFLAGS'
43321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43324
43325       cat >conftest.$ac_ext <<_ACEOF
43326 #line $LINENO "configure"
43327 /* confdefs.h.  */
43328 _ACEOF
43329 cat confdefs.h >>conftest.$ac_ext
43330 cat >>conftest.$ac_ext <<_ACEOF
43331 /* end confdefs.h.  */
43332 #include <math.h>
43333 int
43334 main ()
43335 {
43336  __builtin_sinf(0);
43337   ;
43338   return 0;
43339 }
43340 _ACEOF
43341 rm -f conftest.$ac_objext
43342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43343   (eval $ac_compile) 2>&5
43344   ac_status=$?
43345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43346   (exit $ac_status); } &&
43347          { ac_try='test -s conftest.$ac_objext'
43348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43349   (eval $ac_try) 2>&5
43350   ac_status=$?
43351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352   (exit $ac_status); }; }; then
43353   glibcxx_cv_func___builtin_sinf_use=yes
43354 else
43355   echo "$as_me: failed program was:" >&5
43356 sed 's/^/| /' conftest.$ac_ext >&5
43357
43358 glibcxx_cv_func___builtin_sinf_use=no
43359 fi
43360 rm -f conftest.$ac_objext conftest.$ac_ext
43361       ac_ext=c
43362 ac_cpp='$CPP $CPPFLAGS'
43363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43366
43367
43368 fi
43369
43370   fi
43371   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43372 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43373   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43374     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43375 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43376     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43377       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43378   echo $ECHO_N "(cached) $ECHO_C" >&6
43379 else
43380
43381         if test x$gcc_no_link = xyes; then
43382   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43384    { (exit 1); exit 1; }; }
43385 fi
43386 cat >conftest.$ac_ext <<_ACEOF
43387 #line $LINENO "configure"
43388 /* confdefs.h.  */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h.  */
43393 #include <math.h>
43394 int
43395 main ()
43396 {
43397  __builtin_sinf(0);
43398   ;
43399   return 0;
43400 }
43401 _ACEOF
43402 rm -f conftest.$ac_objext conftest$ac_exeext
43403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43404   (eval $ac_link) 2>&5
43405   ac_status=$?
43406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43407   (exit $ac_status); } &&
43408          { ac_try='test -s conftest$ac_exeext'
43409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43410   (eval $ac_try) 2>&5
43411   ac_status=$?
43412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43413   (exit $ac_status); }; }; then
43414   glibcxx_cv_func___builtin_sinf_link=yes
43415 else
43416   echo "$as_me: failed program was:" >&5
43417 sed 's/^/| /' conftest.$ac_ext >&5
43418
43419 glibcxx_cv_func___builtin_sinf_link=no
43420 fi
43421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43422
43423 fi
43424
43425     fi
43426     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43427 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43428     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43429       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43430       cat >>confdefs.h <<_ACEOF
43431 #define ${ac_tr_func} 1
43432 _ACEOF
43433
43434     fi
43435   fi
43436
43437
43438   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43439 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43440   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43441     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43442   echo $ECHO_N "(cached) $ECHO_C" >&6
43443 else
43444
43445
43446
43447       ac_ext=cc
43448 ac_cpp='$CXXCPP $CPPFLAGS'
43449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43452
43453       cat >conftest.$ac_ext <<_ACEOF
43454 #line $LINENO "configure"
43455 /* confdefs.h.  */
43456 _ACEOF
43457 cat confdefs.h >>conftest.$ac_ext
43458 cat >>conftest.$ac_ext <<_ACEOF
43459 /* end confdefs.h.  */
43460 #include <math.h>
43461 int
43462 main ()
43463 {
43464  __builtin_sin(0);
43465   ;
43466   return 0;
43467 }
43468 _ACEOF
43469 rm -f conftest.$ac_objext
43470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43471   (eval $ac_compile) 2>&5
43472   ac_status=$?
43473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474   (exit $ac_status); } &&
43475          { ac_try='test -s conftest.$ac_objext'
43476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477   (eval $ac_try) 2>&5
43478   ac_status=$?
43479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480   (exit $ac_status); }; }; then
43481   glibcxx_cv_func___builtin_sin_use=yes
43482 else
43483   echo "$as_me: failed program was:" >&5
43484 sed 's/^/| /' conftest.$ac_ext >&5
43485
43486 glibcxx_cv_func___builtin_sin_use=no
43487 fi
43488 rm -f conftest.$ac_objext conftest.$ac_ext
43489       ac_ext=c
43490 ac_cpp='$CPP $CPPFLAGS'
43491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43494
43495
43496 fi
43497
43498   fi
43499   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43500 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43501   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43502     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43503 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43504     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43505       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43506   echo $ECHO_N "(cached) $ECHO_C" >&6
43507 else
43508
43509         if test x$gcc_no_link = xyes; then
43510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43512    { (exit 1); exit 1; }; }
43513 fi
43514 cat >conftest.$ac_ext <<_ACEOF
43515 #line $LINENO "configure"
43516 /* confdefs.h.  */
43517 _ACEOF
43518 cat confdefs.h >>conftest.$ac_ext
43519 cat >>conftest.$ac_ext <<_ACEOF
43520 /* end confdefs.h.  */
43521 #include <math.h>
43522 int
43523 main ()
43524 {
43525  __builtin_sin(0);
43526   ;
43527   return 0;
43528 }
43529 _ACEOF
43530 rm -f conftest.$ac_objext conftest$ac_exeext
43531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43532   (eval $ac_link) 2>&5
43533   ac_status=$?
43534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535   (exit $ac_status); } &&
43536          { ac_try='test -s conftest$ac_exeext'
43537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43538   (eval $ac_try) 2>&5
43539   ac_status=$?
43540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541   (exit $ac_status); }; }; then
43542   glibcxx_cv_func___builtin_sin_link=yes
43543 else
43544   echo "$as_me: failed program was:" >&5
43545 sed 's/^/| /' conftest.$ac_ext >&5
43546
43547 glibcxx_cv_func___builtin_sin_link=no
43548 fi
43549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43550
43551 fi
43552
43553     fi
43554     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43555 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43556     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43557       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43558       cat >>confdefs.h <<_ACEOF
43559 #define ${ac_tr_func} 1
43560 _ACEOF
43561
43562     fi
43563   fi
43564
43565
43566   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43567 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43568   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43569     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43570   echo $ECHO_N "(cached) $ECHO_C" >&6
43571 else
43572
43573
43574
43575       ac_ext=cc
43576 ac_cpp='$CXXCPP $CPPFLAGS'
43577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43580
43581       cat >conftest.$ac_ext <<_ACEOF
43582 #line $LINENO "configure"
43583 /* confdefs.h.  */
43584 _ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h.  */
43588 #include <math.h>
43589 int
43590 main ()
43591 {
43592  __builtin_sinl(0);
43593   ;
43594   return 0;
43595 }
43596 _ACEOF
43597 rm -f conftest.$ac_objext
43598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43599   (eval $ac_compile) 2>&5
43600   ac_status=$?
43601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43602   (exit $ac_status); } &&
43603          { ac_try='test -s conftest.$ac_objext'
43604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43605   (eval $ac_try) 2>&5
43606   ac_status=$?
43607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608   (exit $ac_status); }; }; then
43609   glibcxx_cv_func___builtin_sinl_use=yes
43610 else
43611   echo "$as_me: failed program was:" >&5
43612 sed 's/^/| /' conftest.$ac_ext >&5
43613
43614 glibcxx_cv_func___builtin_sinl_use=no
43615 fi
43616 rm -f conftest.$ac_objext conftest.$ac_ext
43617       ac_ext=c
43618 ac_cpp='$CPP $CPPFLAGS'
43619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43622
43623
43624 fi
43625
43626   fi
43627   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43628 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43629   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43630     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43631 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43632     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43633       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43634   echo $ECHO_N "(cached) $ECHO_C" >&6
43635 else
43636
43637         if test x$gcc_no_link = xyes; then
43638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43640    { (exit 1); exit 1; }; }
43641 fi
43642 cat >conftest.$ac_ext <<_ACEOF
43643 #line $LINENO "configure"
43644 /* confdefs.h.  */
43645 _ACEOF
43646 cat confdefs.h >>conftest.$ac_ext
43647 cat >>conftest.$ac_ext <<_ACEOF
43648 /* end confdefs.h.  */
43649 #include <math.h>
43650 int
43651 main ()
43652 {
43653  __builtin_sinl(0);
43654   ;
43655   return 0;
43656 }
43657 _ACEOF
43658 rm -f conftest.$ac_objext conftest$ac_exeext
43659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43660   (eval $ac_link) 2>&5
43661   ac_status=$?
43662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663   (exit $ac_status); } &&
43664          { ac_try='test -s conftest$ac_exeext'
43665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43666   (eval $ac_try) 2>&5
43667   ac_status=$?
43668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669   (exit $ac_status); }; }; then
43670   glibcxx_cv_func___builtin_sinl_link=yes
43671 else
43672   echo "$as_me: failed program was:" >&5
43673 sed 's/^/| /' conftest.$ac_ext >&5
43674
43675 glibcxx_cv_func___builtin_sinl_link=no
43676 fi
43677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43678
43679 fi
43680
43681     fi
43682     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43683 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43684     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43685       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43686       cat >>confdefs.h <<_ACEOF
43687 #define ${ac_tr_func} 1
43688 _ACEOF
43689
43690     fi
43691   fi
43692
43693
43694
43695   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43696 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43697   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43698     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43699   echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43701
43702
43703
43704       ac_ext=cc
43705 ac_cpp='$CXXCPP $CPPFLAGS'
43706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709
43710       cat >conftest.$ac_ext <<_ACEOF
43711 #line $LINENO "configure"
43712 /* confdefs.h.  */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h.  */
43717 #include <math.h>
43718 int
43719 main ()
43720 {
43721  __builtin_cosf(0);
43722   ;
43723   return 0;
43724 }
43725 _ACEOF
43726 rm -f conftest.$ac_objext
43727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43728   (eval $ac_compile) 2>&5
43729   ac_status=$?
43730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731   (exit $ac_status); } &&
43732          { ac_try='test -s conftest.$ac_objext'
43733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43734   (eval $ac_try) 2>&5
43735   ac_status=$?
43736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737   (exit $ac_status); }; }; then
43738   glibcxx_cv_func___builtin_cosf_use=yes
43739 else
43740   echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43742
43743 glibcxx_cv_func___builtin_cosf_use=no
43744 fi
43745 rm -f conftest.$ac_objext conftest.$ac_ext
43746       ac_ext=c
43747 ac_cpp='$CPP $CPPFLAGS'
43748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43751
43752
43753 fi
43754
43755   fi
43756   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43757 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43758   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43759     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43760 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43761     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43762       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43763   echo $ECHO_N "(cached) $ECHO_C" >&6
43764 else
43765
43766         if test x$gcc_no_link = xyes; then
43767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43769    { (exit 1); exit 1; }; }
43770 fi
43771 cat >conftest.$ac_ext <<_ACEOF
43772 #line $LINENO "configure"
43773 /* confdefs.h.  */
43774 _ACEOF
43775 cat confdefs.h >>conftest.$ac_ext
43776 cat >>conftest.$ac_ext <<_ACEOF
43777 /* end confdefs.h.  */
43778 #include <math.h>
43779 int
43780 main ()
43781 {
43782  __builtin_cosf(0);
43783   ;
43784   return 0;
43785 }
43786 _ACEOF
43787 rm -f conftest.$ac_objext conftest$ac_exeext
43788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43789   (eval $ac_link) 2>&5
43790   ac_status=$?
43791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792   (exit $ac_status); } &&
43793          { ac_try='test -s conftest$ac_exeext'
43794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43795   (eval $ac_try) 2>&5
43796   ac_status=$?
43797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43798   (exit $ac_status); }; }; then
43799   glibcxx_cv_func___builtin_cosf_link=yes
43800 else
43801   echo "$as_me: failed program was:" >&5
43802 sed 's/^/| /' conftest.$ac_ext >&5
43803
43804 glibcxx_cv_func___builtin_cosf_link=no
43805 fi
43806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43807
43808 fi
43809
43810     fi
43811     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43812 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43813     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43814       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43815       cat >>confdefs.h <<_ACEOF
43816 #define ${ac_tr_func} 1
43817 _ACEOF
43818
43819     fi
43820   fi
43821
43822
43823   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43824 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43825   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43826     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43827   echo $ECHO_N "(cached) $ECHO_C" >&6
43828 else
43829
43830
43831
43832       ac_ext=cc
43833 ac_cpp='$CXXCPP $CPPFLAGS'
43834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43837
43838       cat >conftest.$ac_ext <<_ACEOF
43839 #line $LINENO "configure"
43840 /* confdefs.h.  */
43841 _ACEOF
43842 cat confdefs.h >>conftest.$ac_ext
43843 cat >>conftest.$ac_ext <<_ACEOF
43844 /* end confdefs.h.  */
43845 #include <math.h>
43846 int
43847 main ()
43848 {
43849  __builtin_cos(0);
43850   ;
43851   return 0;
43852 }
43853 _ACEOF
43854 rm -f conftest.$ac_objext
43855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43856   (eval $ac_compile) 2>&5
43857   ac_status=$?
43858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859   (exit $ac_status); } &&
43860          { ac_try='test -s conftest.$ac_objext'
43861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43862   (eval $ac_try) 2>&5
43863   ac_status=$?
43864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43865   (exit $ac_status); }; }; then
43866   glibcxx_cv_func___builtin_cos_use=yes
43867 else
43868   echo "$as_me: failed program was:" >&5
43869 sed 's/^/| /' conftest.$ac_ext >&5
43870
43871 glibcxx_cv_func___builtin_cos_use=no
43872 fi
43873 rm -f conftest.$ac_objext conftest.$ac_ext
43874       ac_ext=c
43875 ac_cpp='$CPP $CPPFLAGS'
43876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43879
43880
43881 fi
43882
43883   fi
43884   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43885 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43886   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43887     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43888 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43889     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43890       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43891   echo $ECHO_N "(cached) $ECHO_C" >&6
43892 else
43893
43894         if test x$gcc_no_link = xyes; then
43895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43897    { (exit 1); exit 1; }; }
43898 fi
43899 cat >conftest.$ac_ext <<_ACEOF
43900 #line $LINENO "configure"
43901 /* confdefs.h.  */
43902 _ACEOF
43903 cat confdefs.h >>conftest.$ac_ext
43904 cat >>conftest.$ac_ext <<_ACEOF
43905 /* end confdefs.h.  */
43906 #include <math.h>
43907 int
43908 main ()
43909 {
43910  __builtin_cos(0);
43911   ;
43912   return 0;
43913 }
43914 _ACEOF
43915 rm -f conftest.$ac_objext conftest$ac_exeext
43916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43917   (eval $ac_link) 2>&5
43918   ac_status=$?
43919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920   (exit $ac_status); } &&
43921          { ac_try='test -s conftest$ac_exeext'
43922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43923   (eval $ac_try) 2>&5
43924   ac_status=$?
43925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926   (exit $ac_status); }; }; then
43927   glibcxx_cv_func___builtin_cos_link=yes
43928 else
43929   echo "$as_me: failed program was:" >&5
43930 sed 's/^/| /' conftest.$ac_ext >&5
43931
43932 glibcxx_cv_func___builtin_cos_link=no
43933 fi
43934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43935
43936 fi
43937
43938     fi
43939     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43940 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43941     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43942       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43943       cat >>confdefs.h <<_ACEOF
43944 #define ${ac_tr_func} 1
43945 _ACEOF
43946
43947     fi
43948   fi
43949
43950
43951   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43952 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43953   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43954     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43955   echo $ECHO_N "(cached) $ECHO_C" >&6
43956 else
43957
43958
43959
43960       ac_ext=cc
43961 ac_cpp='$CXXCPP $CPPFLAGS'
43962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965
43966       cat >conftest.$ac_ext <<_ACEOF
43967 #line $LINENO "configure"
43968 /* confdefs.h.  */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h.  */
43973 #include <math.h>
43974 int
43975 main ()
43976 {
43977  __builtin_cosl(0);
43978   ;
43979   return 0;
43980 }
43981 _ACEOF
43982 rm -f conftest.$ac_objext
43983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43984   (eval $ac_compile) 2>&5
43985   ac_status=$?
43986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987   (exit $ac_status); } &&
43988          { ac_try='test -s conftest.$ac_objext'
43989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43990   (eval $ac_try) 2>&5
43991   ac_status=$?
43992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993   (exit $ac_status); }; }; then
43994   glibcxx_cv_func___builtin_cosl_use=yes
43995 else
43996   echo "$as_me: failed program was:" >&5
43997 sed 's/^/| /' conftest.$ac_ext >&5
43998
43999 glibcxx_cv_func___builtin_cosl_use=no
44000 fi
44001 rm -f conftest.$ac_objext conftest.$ac_ext
44002       ac_ext=c
44003 ac_cpp='$CPP $CPPFLAGS'
44004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44007
44008
44009 fi
44010
44011   fi
44012   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
44013 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
44014   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
44015     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
44016 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
44017     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
44018       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
44019   echo $ECHO_N "(cached) $ECHO_C" >&6
44020 else
44021
44022         if test x$gcc_no_link = xyes; then
44023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44025    { (exit 1); exit 1; }; }
44026 fi
44027 cat >conftest.$ac_ext <<_ACEOF
44028 #line $LINENO "configure"
44029 /* confdefs.h.  */
44030 _ACEOF
44031 cat confdefs.h >>conftest.$ac_ext
44032 cat >>conftest.$ac_ext <<_ACEOF
44033 /* end confdefs.h.  */
44034 #include <math.h>
44035 int
44036 main ()
44037 {
44038  __builtin_cosl(0);
44039   ;
44040   return 0;
44041 }
44042 _ACEOF
44043 rm -f conftest.$ac_objext conftest$ac_exeext
44044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44045   (eval $ac_link) 2>&5
44046   ac_status=$?
44047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048   (exit $ac_status); } &&
44049          { ac_try='test -s conftest$ac_exeext'
44050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44051   (eval $ac_try) 2>&5
44052   ac_status=$?
44053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054   (exit $ac_status); }; }; then
44055   glibcxx_cv_func___builtin_cosl_link=yes
44056 else
44057   echo "$as_me: failed program was:" >&5
44058 sed 's/^/| /' conftest.$ac_ext >&5
44059
44060 glibcxx_cv_func___builtin_cosl_link=no
44061 fi
44062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44063
44064 fi
44065
44066     fi
44067     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44068 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44069     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44070       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44071       cat >>confdefs.h <<_ACEOF
44072 #define ${ac_tr_func} 1
44073 _ACEOF
44074
44075     fi
44076   fi
44077
44078
44079               dummyvar=no
44080   if test x$dummyvar = x"yes"; then
44081     cat >>confdefs.h <<\_ACEOF
44082 #define HAVE___BUILTIN_ABS 1
44083 _ACEOF
44084
44085     cat >>confdefs.h <<\_ACEOF
44086 #define HAVE___BUILTIN_LABS 1
44087 _ACEOF
44088
44089     cat >>confdefs.h <<\_ACEOF
44090 #define HAVE___BUILTIN_COS 1
44091 _ACEOF
44092
44093     cat >>confdefs.h <<\_ACEOF
44094 #define HAVE___BUILTIN_COSF 1
44095 _ACEOF
44096
44097     cat >>confdefs.h <<\_ACEOF
44098 #define HAVE___BUILTIN_COSL 1
44099 _ACEOF
44100
44101     cat >>confdefs.h <<\_ACEOF
44102 #define HAVE___BUILTIN_FABS 1
44103 _ACEOF
44104
44105     cat >>confdefs.h <<\_ACEOF
44106 #define HAVE___BUILTIN_FABSF 1
44107 _ACEOF
44108
44109     cat >>confdefs.h <<\_ACEOF
44110 #define HAVE___BUILTIN_FABSL 1
44111 _ACEOF
44112
44113     cat >>confdefs.h <<\_ACEOF
44114 #define HAVE___BUILTIN_SIN 1
44115 _ACEOF
44116
44117     cat >>confdefs.h <<\_ACEOF
44118 #define HAVE___BUILTIN_SINF 1
44119 _ACEOF
44120
44121     cat >>confdefs.h <<\_ACEOF
44122 #define HAVE___BUILTIN_SINL 1
44123 _ACEOF
44124
44125     cat >>confdefs.h <<\_ACEOF
44126 #define HAVE___BUILTIN_SQRT 1
44127 _ACEOF
44128
44129     cat >>confdefs.h <<\_ACEOF
44130 #define HAVE___BUILTIN_SQRTF 1
44131 _ACEOF
44132
44133     cat >>confdefs.h <<\_ACEOF
44134 #define HAVE___BUILTIN_SQRTL 1
44135 _ACEOF
44136
44137   fi
44138
44139
44140
44141 echo "$as_me:$LINENO: checking for main in -lm" >&5
44142 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44143 if test "${ac_cv_lib_m_main+set}" = set; then
44144   echo $ECHO_N "(cached) $ECHO_C" >&6
44145 else
44146   ac_check_lib_save_LIBS=$LIBS
44147 LIBS="-lm  $LIBS"
44148 if test x$gcc_no_link = xyes; then
44149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44151    { (exit 1); exit 1; }; }
44152 fi
44153 cat >conftest.$ac_ext <<_ACEOF
44154 #line $LINENO "configure"
44155 /* confdefs.h.  */
44156 _ACEOF
44157 cat confdefs.h >>conftest.$ac_ext
44158 cat >>conftest.$ac_ext <<_ACEOF
44159 /* end confdefs.h.  */
44160
44161
44162 int
44163 main ()
44164 {
44165 main ();
44166   ;
44167   return 0;
44168 }
44169 _ACEOF
44170 rm -f conftest.$ac_objext conftest$ac_exeext
44171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44172   (eval $ac_link) 2>&5
44173   ac_status=$?
44174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44175   (exit $ac_status); } &&
44176          { ac_try='test -s conftest$ac_exeext'
44177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44178   (eval $ac_try) 2>&5
44179   ac_status=$?
44180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44181   (exit $ac_status); }; }; then
44182   ac_cv_lib_m_main=yes
44183 else
44184   echo "$as_me: failed program was:" >&5
44185 sed 's/^/| /' conftest.$ac_ext >&5
44186
44187 ac_cv_lib_m_main=no
44188 fi
44189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44190 LIBS=$ac_check_lib_save_LIBS
44191 fi
44192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44193 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44194 if test $ac_cv_lib_m_main = yes; then
44195   cat >>confdefs.h <<_ACEOF
44196 #define HAVE_LIBM 1
44197 _ACEOF
44198
44199   LIBS="-lm $LIBS"
44200
44201 fi
44202
44203
44204
44205 for ac_func in nan copysignf
44206 do
44207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44208 echo "$as_me:$LINENO: checking for $ac_func" >&5
44209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44210 if eval "test \"\${$as_ac_var+set}\" = set"; then
44211   echo $ECHO_N "(cached) $ECHO_C" >&6
44212 else
44213   if test x$gcc_no_link = xyes; then
44214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44216    { (exit 1); exit 1; }; }
44217 fi
44218 cat >conftest.$ac_ext <<_ACEOF
44219 #line $LINENO "configure"
44220 /* confdefs.h.  */
44221 _ACEOF
44222 cat confdefs.h >>conftest.$ac_ext
44223 cat >>conftest.$ac_ext <<_ACEOF
44224 /* end confdefs.h.  */
44225 /* System header to define __stub macros and hopefully few prototypes,
44226     which can conflict with char $ac_func (); below.
44227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44228     <limits.h> exists even on freestanding compilers.  */
44229 #ifdef __STDC__
44230 # include <limits.h>
44231 #else
44232 # include <assert.h>
44233 #endif
44234 /* Override any gcc2 internal prototype to avoid an error.  */
44235 #ifdef __cplusplus
44236 extern "C"
44237 {
44238 #endif
44239 /* We use char because int might match the return type of a gcc2
44240    builtin and then its argument prototype would still apply.  */
44241 char $ac_func ();
44242 /* The GNU C library defines this for functions which it implements
44243     to always fail with ENOSYS.  Some functions are actually named
44244     something starting with __ and the normal name is an alias.  */
44245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44246 choke me
44247 #else
44248 char (*f) () = $ac_func;
44249 #endif
44250 #ifdef __cplusplus
44251 }
44252 #endif
44253
44254 int
44255 main ()
44256 {
44257 return f != $ac_func;
44258   ;
44259   return 0;
44260 }
44261 _ACEOF
44262 rm -f conftest.$ac_objext conftest$ac_exeext
44263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44264   (eval $ac_link) 2>&5
44265   ac_status=$?
44266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44267   (exit $ac_status); } &&
44268          { ac_try='test -s conftest$ac_exeext'
44269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44270   (eval $ac_try) 2>&5
44271   ac_status=$?
44272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44273   (exit $ac_status); }; }; then
44274   eval "$as_ac_var=yes"
44275 else
44276   echo "$as_me: failed program was:" >&5
44277 sed 's/^/| /' conftest.$ac_ext >&5
44278
44279 eval "$as_ac_var=no"
44280 fi
44281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44282 fi
44283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44285 if test `eval echo '${'$as_ac_var'}'` = yes; then
44286   cat >>confdefs.h <<_ACEOF
44287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44288 _ACEOF
44289
44290 else
44291   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44292 fi
44293 done
44294
44295
44296
44297 for ac_func in __signbit
44298 do
44299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44300 echo "$as_me:$LINENO: checking for $ac_func" >&5
44301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44302 if eval "test \"\${$as_ac_var+set}\" = set"; then
44303   echo $ECHO_N "(cached) $ECHO_C" >&6
44304 else
44305   if test x$gcc_no_link = xyes; then
44306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44308    { (exit 1); exit 1; }; }
44309 fi
44310 cat >conftest.$ac_ext <<_ACEOF
44311 #line $LINENO "configure"
44312 /* confdefs.h.  */
44313 _ACEOF
44314 cat confdefs.h >>conftest.$ac_ext
44315 cat >>conftest.$ac_ext <<_ACEOF
44316 /* end confdefs.h.  */
44317 /* System header to define __stub macros and hopefully few prototypes,
44318     which can conflict with char $ac_func (); below.
44319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44320     <limits.h> exists even on freestanding compilers.  */
44321 #ifdef __STDC__
44322 # include <limits.h>
44323 #else
44324 # include <assert.h>
44325 #endif
44326 /* Override any gcc2 internal prototype to avoid an error.  */
44327 #ifdef __cplusplus
44328 extern "C"
44329 {
44330 #endif
44331 /* We use char because int might match the return type of a gcc2
44332    builtin and then its argument prototype would still apply.  */
44333 char $ac_func ();
44334 /* The GNU C library defines this for functions which it implements
44335     to always fail with ENOSYS.  Some functions are actually named
44336     something starting with __ and the normal name is an alias.  */
44337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44338 choke me
44339 #else
44340 char (*f) () = $ac_func;
44341 #endif
44342 #ifdef __cplusplus
44343 }
44344 #endif
44345
44346 int
44347 main ()
44348 {
44349 return f != $ac_func;
44350   ;
44351   return 0;
44352 }
44353 _ACEOF
44354 rm -f conftest.$ac_objext conftest$ac_exeext
44355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44356   (eval $ac_link) 2>&5
44357   ac_status=$?
44358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44359   (exit $ac_status); } &&
44360          { ac_try='test -s conftest$ac_exeext'
44361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44362   (eval $ac_try) 2>&5
44363   ac_status=$?
44364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44365   (exit $ac_status); }; }; then
44366   eval "$as_ac_var=yes"
44367 else
44368   echo "$as_me: failed program was:" >&5
44369 sed 's/^/| /' conftest.$ac_ext >&5
44370
44371 eval "$as_ac_var=no"
44372 fi
44373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44374 fi
44375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44377 if test `eval echo '${'$as_ac_var'}'` = yes; then
44378   cat >>confdefs.h <<_ACEOF
44379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44380 _ACEOF
44381
44382 else
44383   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44384 fi
44385 done
44386
44387
44388 for ac_func in __signbitf
44389 do
44390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44391 echo "$as_me:$LINENO: checking for $ac_func" >&5
44392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44393 if eval "test \"\${$as_ac_var+set}\" = set"; then
44394   echo $ECHO_N "(cached) $ECHO_C" >&6
44395 else
44396   if test x$gcc_no_link = xyes; then
44397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44399    { (exit 1); exit 1; }; }
44400 fi
44401 cat >conftest.$ac_ext <<_ACEOF
44402 #line $LINENO "configure"
44403 /* confdefs.h.  */
44404 _ACEOF
44405 cat confdefs.h >>conftest.$ac_ext
44406 cat >>conftest.$ac_ext <<_ACEOF
44407 /* end confdefs.h.  */
44408 /* System header to define __stub macros and hopefully few prototypes,
44409     which can conflict with char $ac_func (); below.
44410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44411     <limits.h> exists even on freestanding compilers.  */
44412 #ifdef __STDC__
44413 # include <limits.h>
44414 #else
44415 # include <assert.h>
44416 #endif
44417 /* Override any gcc2 internal prototype to avoid an error.  */
44418 #ifdef __cplusplus
44419 extern "C"
44420 {
44421 #endif
44422 /* We use char because int might match the return type of a gcc2
44423    builtin and then its argument prototype would still apply.  */
44424 char $ac_func ();
44425 /* The GNU C library defines this for functions which it implements
44426     to always fail with ENOSYS.  Some functions are actually named
44427     something starting with __ and the normal name is an alias.  */
44428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44429 choke me
44430 #else
44431 char (*f) () = $ac_func;
44432 #endif
44433 #ifdef __cplusplus
44434 }
44435 #endif
44436
44437 int
44438 main ()
44439 {
44440 return f != $ac_func;
44441   ;
44442   return 0;
44443 }
44444 _ACEOF
44445 rm -f conftest.$ac_objext conftest$ac_exeext
44446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44447   (eval $ac_link) 2>&5
44448   ac_status=$?
44449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450   (exit $ac_status); } &&
44451          { ac_try='test -s conftest$ac_exeext'
44452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44453   (eval $ac_try) 2>&5
44454   ac_status=$?
44455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456   (exit $ac_status); }; }; then
44457   eval "$as_ac_var=yes"
44458 else
44459   echo "$as_me: failed program was:" >&5
44460 sed 's/^/| /' conftest.$ac_ext >&5
44461
44462 eval "$as_ac_var=no"
44463 fi
44464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44465 fi
44466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44468 if test `eval echo '${'$as_ac_var'}'` = yes; then
44469   cat >>confdefs.h <<_ACEOF
44470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44471 _ACEOF
44472
44473 else
44474   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44475 fi
44476 done
44477
44478
44479           if test x$ac_cv_func_copysignl = x"yes"; then
44480
44481 for ac_func in __signbitl
44482 do
44483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44484 echo "$as_me:$LINENO: checking for $ac_func" >&5
44485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44486 if eval "test \"\${$as_ac_var+set}\" = set"; then
44487   echo $ECHO_N "(cached) $ECHO_C" >&6
44488 else
44489   if test x$gcc_no_link = xyes; then
44490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44492    { (exit 1); exit 1; }; }
44493 fi
44494 cat >conftest.$ac_ext <<_ACEOF
44495 #line $LINENO "configure"
44496 /* confdefs.h.  */
44497 _ACEOF
44498 cat confdefs.h >>conftest.$ac_ext
44499 cat >>conftest.$ac_ext <<_ACEOF
44500 /* end confdefs.h.  */
44501 /* System header to define __stub macros and hopefully few prototypes,
44502     which can conflict with char $ac_func (); below.
44503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44504     <limits.h> exists even on freestanding compilers.  */
44505 #ifdef __STDC__
44506 # include <limits.h>
44507 #else
44508 # include <assert.h>
44509 #endif
44510 /* Override any gcc2 internal prototype to avoid an error.  */
44511 #ifdef __cplusplus
44512 extern "C"
44513 {
44514 #endif
44515 /* We use char because int might match the return type of a gcc2
44516    builtin and then its argument prototype would still apply.  */
44517 char $ac_func ();
44518 /* The GNU C library defines this for functions which it implements
44519     to always fail with ENOSYS.  Some functions are actually named
44520     something starting with __ and the normal name is an alias.  */
44521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44522 choke me
44523 #else
44524 char (*f) () = $ac_func;
44525 #endif
44526 #ifdef __cplusplus
44527 }
44528 #endif
44529
44530 int
44531 main ()
44532 {
44533 return f != $ac_func;
44534   ;
44535   return 0;
44536 }
44537 _ACEOF
44538 rm -f conftest.$ac_objext conftest$ac_exeext
44539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44540   (eval $ac_link) 2>&5
44541   ac_status=$?
44542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44543   (exit $ac_status); } &&
44544          { ac_try='test -s conftest$ac_exeext'
44545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44546   (eval $ac_try) 2>&5
44547   ac_status=$?
44548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44549   (exit $ac_status); }; }; then
44550   eval "$as_ac_var=yes"
44551 else
44552   echo "$as_me: failed program was:" >&5
44553 sed 's/^/| /' conftest.$ac_ext >&5
44554
44555 eval "$as_ac_var=no"
44556 fi
44557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44558 fi
44559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44561 if test `eval echo '${'$as_ac_var'}'` = yes; then
44562   cat >>confdefs.h <<_ACEOF
44563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44564 _ACEOF
44565
44566 else
44567   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44568 fi
44569 done
44570
44571   fi
44572
44573   # XXX Review this.  Nothing uses it.
44574   if test -n "$LIBMATHOBJS"; then
44575     need_libmath=yes
44576   fi
44577
44578
44579
44580   # Test wchar.h for mbstate_t, which is needed for char_traits and
44581   # others even if wchar_t support is not on.
44582   echo "$as_me:$LINENO: checking for mbstate_t" >&5
44583 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44584   cat >conftest.$ac_ext <<_ACEOF
44585 #line $LINENO "configure"
44586 /* confdefs.h.  */
44587 _ACEOF
44588 cat confdefs.h >>conftest.$ac_ext
44589 cat >>conftest.$ac_ext <<_ACEOF
44590 /* end confdefs.h.  */
44591 #include <wchar.h>
44592 int
44593 main ()
44594 {
44595 mbstate_t teststate;
44596   ;
44597   return 0;
44598 }
44599 _ACEOF
44600 rm -f conftest.$ac_objext
44601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44602   (eval $ac_compile) 2>&5
44603   ac_status=$?
44604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605   (exit $ac_status); } &&
44606          { ac_try='test -s conftest.$ac_objext'
44607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44608   (eval $ac_try) 2>&5
44609   ac_status=$?
44610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44611   (exit $ac_status); }; }; then
44612   have_mbstate_t=yes
44613 else
44614   echo "$as_me: failed program was:" >&5
44615 sed 's/^/| /' conftest.$ac_ext >&5
44616
44617 have_mbstate_t=no
44618 fi
44619 rm -f conftest.$ac_objext conftest.$ac_ext
44620   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44621 echo "${ECHO_T}$have_mbstate_t" >&6
44622   if test x"$have_mbstate_t" = xyes; then
44623     cat >>confdefs.h <<\_ACEOF
44624 #define HAVE_MBSTATE_T 1
44625 _ACEOF
44626
44627   fi
44628
44629   # Sanity check for existence of ISO C99 headers for extended encoding.
44630
44631 for ac_header in wchar.h
44632 do
44633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44635   echo "$as_me:$LINENO: checking for $ac_header" >&5
44636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44638   echo $ECHO_N "(cached) $ECHO_C" >&6
44639 fi
44640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44641 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44642 else
44643   # Is the header compilable?
44644 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44645 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44646 cat >conftest.$ac_ext <<_ACEOF
44647 #line $LINENO "configure"
44648 /* confdefs.h.  */
44649 _ACEOF
44650 cat confdefs.h >>conftest.$ac_ext
44651 cat >>conftest.$ac_ext <<_ACEOF
44652 /* end confdefs.h.  */
44653 $ac_includes_default
44654 #include <$ac_header>
44655 _ACEOF
44656 rm -f conftest.$ac_objext
44657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44658   (eval $ac_compile) 2>&5
44659   ac_status=$?
44660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44661   (exit $ac_status); } &&
44662          { ac_try='test -s conftest.$ac_objext'
44663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44664   (eval $ac_try) 2>&5
44665   ac_status=$?
44666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44667   (exit $ac_status); }; }; then
44668   ac_header_compiler=yes
44669 else
44670   echo "$as_me: failed program was:" >&5
44671 sed 's/^/| /' conftest.$ac_ext >&5
44672
44673 ac_header_compiler=no
44674 fi
44675 rm -f conftest.$ac_objext conftest.$ac_ext
44676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44677 echo "${ECHO_T}$ac_header_compiler" >&6
44678
44679 # Is the header present?
44680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44682 cat >conftest.$ac_ext <<_ACEOF
44683 #line $LINENO "configure"
44684 /* confdefs.h.  */
44685 _ACEOF
44686 cat confdefs.h >>conftest.$ac_ext
44687 cat >>conftest.$ac_ext <<_ACEOF
44688 /* end confdefs.h.  */
44689 #include <$ac_header>
44690 _ACEOF
44691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44692   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44693   ac_status=$?
44694   grep -v '^ *+' conftest.er1 >conftest.err
44695   rm -f conftest.er1
44696   cat conftest.err >&5
44697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698   (exit $ac_status); } >/dev/null; then
44699   if test -s conftest.err; then
44700     ac_cpp_err=$ac_c_preproc_warn_flag
44701   else
44702     ac_cpp_err=
44703   fi
44704 else
44705   ac_cpp_err=yes
44706 fi
44707 if test -z "$ac_cpp_err"; then
44708   ac_header_preproc=yes
44709 else
44710   echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.$ac_ext >&5
44712
44713   ac_header_preproc=no
44714 fi
44715 rm -f conftest.err conftest.$ac_ext
44716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44717 echo "${ECHO_T}$ac_header_preproc" >&6
44718
44719 # So?  What about this header?
44720 case $ac_header_compiler:$ac_header_preproc in
44721   yes:no )
44722     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44724     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44726     (
44727       cat <<\_ASBOX
44728 ## ------------------------------------ ##
44729 ## Report this to bug-autoconf@gnu.org. ##
44730 ## ------------------------------------ ##
44731 _ASBOX
44732     ) |
44733       sed "s/^/$as_me: WARNING:     /" >&2
44734     ;;
44735   no:yes )
44736     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44738     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44740     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44742     (
44743       cat <<\_ASBOX
44744 ## ------------------------------------ ##
44745 ## Report this to bug-autoconf@gnu.org. ##
44746 ## ------------------------------------ ##
44747 _ASBOX
44748     ) |
44749       sed "s/^/$as_me: WARNING:     /" >&2
44750     ;;
44751 esac
44752 echo "$as_me:$LINENO: checking for $ac_header" >&5
44753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44755   echo $ECHO_N "(cached) $ECHO_C" >&6
44756 else
44757   eval "$as_ac_Header=$ac_header_preproc"
44758 fi
44759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44761
44762 fi
44763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44764   cat >>confdefs.h <<_ACEOF
44765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44766 _ACEOF
44767  ac_has_wchar_h=yes
44768 else
44769   ac_has_wchar_h=no
44770 fi
44771
44772 done
44773
44774
44775 for ac_header in wctype.h
44776 do
44777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44779   echo "$as_me:$LINENO: checking for $ac_header" >&5
44780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44782   echo $ECHO_N "(cached) $ECHO_C" >&6
44783 fi
44784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44786 else
44787   # Is the header compilable?
44788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44790 cat >conftest.$ac_ext <<_ACEOF
44791 #line $LINENO "configure"
44792 /* confdefs.h.  */
44793 _ACEOF
44794 cat confdefs.h >>conftest.$ac_ext
44795 cat >>conftest.$ac_ext <<_ACEOF
44796 /* end confdefs.h.  */
44797 $ac_includes_default
44798 #include <$ac_header>
44799 _ACEOF
44800 rm -f conftest.$ac_objext
44801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44802   (eval $ac_compile) 2>&5
44803   ac_status=$?
44804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44805   (exit $ac_status); } &&
44806          { ac_try='test -s conftest.$ac_objext'
44807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44808   (eval $ac_try) 2>&5
44809   ac_status=$?
44810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811   (exit $ac_status); }; }; then
44812   ac_header_compiler=yes
44813 else
44814   echo "$as_me: failed program was:" >&5
44815 sed 's/^/| /' conftest.$ac_ext >&5
44816
44817 ac_header_compiler=no
44818 fi
44819 rm -f conftest.$ac_objext conftest.$ac_ext
44820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44821 echo "${ECHO_T}$ac_header_compiler" >&6
44822
44823 # Is the header present?
44824 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44826 cat >conftest.$ac_ext <<_ACEOF
44827 #line $LINENO "configure"
44828 /* confdefs.h.  */
44829 _ACEOF
44830 cat confdefs.h >>conftest.$ac_ext
44831 cat >>conftest.$ac_ext <<_ACEOF
44832 /* end confdefs.h.  */
44833 #include <$ac_header>
44834 _ACEOF
44835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44836   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44837   ac_status=$?
44838   grep -v '^ *+' conftest.er1 >conftest.err
44839   rm -f conftest.er1
44840   cat conftest.err >&5
44841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842   (exit $ac_status); } >/dev/null; then
44843   if test -s conftest.err; then
44844     ac_cpp_err=$ac_c_preproc_warn_flag
44845   else
44846     ac_cpp_err=
44847   fi
44848 else
44849   ac_cpp_err=yes
44850 fi
44851 if test -z "$ac_cpp_err"; then
44852   ac_header_preproc=yes
44853 else
44854   echo "$as_me: failed program was:" >&5
44855 sed 's/^/| /' conftest.$ac_ext >&5
44856
44857   ac_header_preproc=no
44858 fi
44859 rm -f conftest.err conftest.$ac_ext
44860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44861 echo "${ECHO_T}$ac_header_preproc" >&6
44862
44863 # So?  What about this header?
44864 case $ac_header_compiler:$ac_header_preproc in
44865   yes:no )
44866     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44867 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44868     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44870     (
44871       cat <<\_ASBOX
44872 ## ------------------------------------ ##
44873 ## Report this to bug-autoconf@gnu.org. ##
44874 ## ------------------------------------ ##
44875 _ASBOX
44876     ) |
44877       sed "s/^/$as_me: WARNING:     /" >&2
44878     ;;
44879   no:yes )
44880     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44882     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44884     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44886     (
44887       cat <<\_ASBOX
44888 ## ------------------------------------ ##
44889 ## Report this to bug-autoconf@gnu.org. ##
44890 ## ------------------------------------ ##
44891 _ASBOX
44892     ) |
44893       sed "s/^/$as_me: WARNING:     /" >&2
44894     ;;
44895 esac
44896 echo "$as_me:$LINENO: checking for $ac_header" >&5
44897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44899   echo $ECHO_N "(cached) $ECHO_C" >&6
44900 else
44901   eval "$as_ac_Header=$ac_header_preproc"
44902 fi
44903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44905
44906 fi
44907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44908   cat >>confdefs.h <<_ACEOF
44909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44910 _ACEOF
44911  ac_has_wctype_h=yes
44912 else
44913   ac_has_wctype_h=no
44914 fi
44915
44916 done
44917
44918
44919   # Only continue checking if the ISO C99 headers exist and support is on.
44920   if test x"$ac_has_wchar_h" = xyes &&
44921      test x"$ac_has_wctype_h" = xyes &&
44922      test x"$enable_c_mbchar" != xno; then
44923
44924     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44925     # numeric_limits can instantiate type_traits<wchar_t>
44926     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44927 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44928     cat >conftest.$ac_ext <<_ACEOF
44929 #line $LINENO "configure"
44930 /* confdefs.h.  */
44931 _ACEOF
44932 cat confdefs.h >>conftest.$ac_ext
44933 cat >>conftest.$ac_ext <<_ACEOF
44934 /* end confdefs.h.  */
44935 #include <wchar.h>
44936 int
44937 main ()
44938 {
44939 int i = WCHAR_MIN; int j = WCHAR_MAX;
44940   ;
44941   return 0;
44942 }
44943 _ACEOF
44944 rm -f conftest.$ac_objext
44945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44946   (eval $ac_compile) 2>&5
44947   ac_status=$?
44948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949   (exit $ac_status); } &&
44950          { ac_try='test -s conftest.$ac_objext'
44951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44952   (eval $ac_try) 2>&5
44953   ac_status=$?
44954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44955   (exit $ac_status); }; }; then
44956   has_wchar_minmax=yes
44957 else
44958   echo "$as_me: failed program was:" >&5
44959 sed 's/^/| /' conftest.$ac_ext >&5
44960
44961 has_wchar_minmax=no
44962 fi
44963 rm -f conftest.$ac_objext conftest.$ac_ext
44964     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44965 echo "${ECHO_T}$has_wchar_minmax" >&6
44966
44967     # Test wchar.h for WEOF, which is what we use to determine whether
44968     # to specialize for char_traits<wchar_t> or not.
44969     echo "$as_me:$LINENO: checking for WEOF" >&5
44970 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44971     cat >conftest.$ac_ext <<_ACEOF
44972 #line $LINENO "configure"
44973 /* confdefs.h.  */
44974 _ACEOF
44975 cat confdefs.h >>conftest.$ac_ext
44976 cat >>conftest.$ac_ext <<_ACEOF
44977 /* end confdefs.h.  */
44978
44979       #include <wchar.h>
44980       #include <stddef.h>
44981 int
44982 main ()
44983 {
44984 wint_t i = WEOF;
44985   ;
44986   return 0;
44987 }
44988 _ACEOF
44989 rm -f conftest.$ac_objext
44990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44991   (eval $ac_compile) 2>&5
44992   ac_status=$?
44993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44994   (exit $ac_status); } &&
44995          { ac_try='test -s conftest.$ac_objext'
44996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44997   (eval $ac_try) 2>&5
44998   ac_status=$?
44999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000   (exit $ac_status); }; }; then
45001   has_weof=yes
45002 else
45003   echo "$as_me: failed program was:" >&5
45004 sed 's/^/| /' conftest.$ac_ext >&5
45005
45006 has_weof=no
45007 fi
45008 rm -f conftest.$ac_objext conftest.$ac_ext
45009     echo "$as_me:$LINENO: result: $has_weof" >&5
45010 echo "${ECHO_T}$has_weof" >&6
45011
45012     # Tests for wide character functions used in char_traits<wchar_t>.
45013     ac_wfuncs=yes
45014
45015
45016
45017
45018
45019
45020 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
45021 do
45022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45023 echo "$as_me:$LINENO: checking for $ac_func" >&5
45024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45025 if eval "test \"\${$as_ac_var+set}\" = set"; then
45026   echo $ECHO_N "(cached) $ECHO_C" >&6
45027 else
45028   if test x$gcc_no_link = xyes; then
45029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45031    { (exit 1); exit 1; }; }
45032 fi
45033 cat >conftest.$ac_ext <<_ACEOF
45034 #line $LINENO "configure"
45035 /* confdefs.h.  */
45036 _ACEOF
45037 cat confdefs.h >>conftest.$ac_ext
45038 cat >>conftest.$ac_ext <<_ACEOF
45039 /* end confdefs.h.  */
45040 /* System header to define __stub macros and hopefully few prototypes,
45041     which can conflict with char $ac_func (); below.
45042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45043     <limits.h> exists even on freestanding compilers.  */
45044 #ifdef __STDC__
45045 # include <limits.h>
45046 #else
45047 # include <assert.h>
45048 #endif
45049 /* Override any gcc2 internal prototype to avoid an error.  */
45050 #ifdef __cplusplus
45051 extern "C"
45052 {
45053 #endif
45054 /* We use char because int might match the return type of a gcc2
45055    builtin and then its argument prototype would still apply.  */
45056 char $ac_func ();
45057 /* The GNU C library defines this for functions which it implements
45058     to always fail with ENOSYS.  Some functions are actually named
45059     something starting with __ and the normal name is an alias.  */
45060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45061 choke me
45062 #else
45063 char (*f) () = $ac_func;
45064 #endif
45065 #ifdef __cplusplus
45066 }
45067 #endif
45068
45069 int
45070 main ()
45071 {
45072 return f != $ac_func;
45073   ;
45074   return 0;
45075 }
45076 _ACEOF
45077 rm -f conftest.$ac_objext conftest$ac_exeext
45078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45079   (eval $ac_link) 2>&5
45080   ac_status=$?
45081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082   (exit $ac_status); } &&
45083          { ac_try='test -s conftest$ac_exeext'
45084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45085   (eval $ac_try) 2>&5
45086   ac_status=$?
45087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088   (exit $ac_status); }; }; then
45089   eval "$as_ac_var=yes"
45090 else
45091   echo "$as_me: failed program was:" >&5
45092 sed 's/^/| /' conftest.$ac_ext >&5
45093
45094 eval "$as_ac_var=no"
45095 fi
45096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45097 fi
45098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45100 if test `eval echo '${'$as_ac_var'}'` = yes; then
45101   cat >>confdefs.h <<_ACEOF
45102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45103 _ACEOF
45104
45105 else
45106   ac_wfuncs=no
45107 fi
45108 done
45109
45110
45111     # Checks for names injected into std:: by the c_std headers.
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45159     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45160     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45161     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45162     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45163     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45164 do
45165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45166 echo "$as_me:$LINENO: checking for $ac_func" >&5
45167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45168 if eval "test \"\${$as_ac_var+set}\" = set"; then
45169   echo $ECHO_N "(cached) $ECHO_C" >&6
45170 else
45171   if test x$gcc_no_link = xyes; then
45172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45174    { (exit 1); exit 1; }; }
45175 fi
45176 cat >conftest.$ac_ext <<_ACEOF
45177 #line $LINENO "configure"
45178 /* confdefs.h.  */
45179 _ACEOF
45180 cat confdefs.h >>conftest.$ac_ext
45181 cat >>conftest.$ac_ext <<_ACEOF
45182 /* end confdefs.h.  */
45183 /* System header to define __stub macros and hopefully few prototypes,
45184     which can conflict with char $ac_func (); below.
45185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45186     <limits.h> exists even on freestanding compilers.  */
45187 #ifdef __STDC__
45188 # include <limits.h>
45189 #else
45190 # include <assert.h>
45191 #endif
45192 /* Override any gcc2 internal prototype to avoid an error.  */
45193 #ifdef __cplusplus
45194 extern "C"
45195 {
45196 #endif
45197 /* We use char because int might match the return type of a gcc2
45198    builtin and then its argument prototype would still apply.  */
45199 char $ac_func ();
45200 /* The GNU C library defines this for functions which it implements
45201     to always fail with ENOSYS.  Some functions are actually named
45202     something starting with __ and the normal name is an alias.  */
45203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45204 choke me
45205 #else
45206 char (*f) () = $ac_func;
45207 #endif
45208 #ifdef __cplusplus
45209 }
45210 #endif
45211
45212 int
45213 main ()
45214 {
45215 return f != $ac_func;
45216   ;
45217   return 0;
45218 }
45219 _ACEOF
45220 rm -f conftest.$ac_objext conftest$ac_exeext
45221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45222   (eval $ac_link) 2>&5
45223   ac_status=$?
45224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45225   (exit $ac_status); } &&
45226          { ac_try='test -s conftest$ac_exeext'
45227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45228   (eval $ac_try) 2>&5
45229   ac_status=$?
45230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45231   (exit $ac_status); }; }; then
45232   eval "$as_ac_var=yes"
45233 else
45234   echo "$as_me: failed program was:" >&5
45235 sed 's/^/| /' conftest.$ac_ext >&5
45236
45237 eval "$as_ac_var=no"
45238 fi
45239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45240 fi
45241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45243 if test `eval echo '${'$as_ac_var'}'` = yes; then
45244   cat >>confdefs.h <<_ACEOF
45245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45246 _ACEOF
45247
45248 else
45249   ac_wfuncs=no
45250 fi
45251 done
45252
45253
45254     # Checks for wide character functions that are not required
45255     # for basic wchar_t support.  Don't disable support if they are missing.
45256     # Injection of these is wrapped with guard macros.
45257
45258
45259
45260
45261
45262 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45263 do
45264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45265 echo "$as_me:$LINENO: checking for $ac_func" >&5
45266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45267 if eval "test \"\${$as_ac_var+set}\" = set"; then
45268   echo $ECHO_N "(cached) $ECHO_C" >&6
45269 else
45270   if test x$gcc_no_link = xyes; then
45271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45273    { (exit 1); exit 1; }; }
45274 fi
45275 cat >conftest.$ac_ext <<_ACEOF
45276 #line $LINENO "configure"
45277 /* confdefs.h.  */
45278 _ACEOF
45279 cat confdefs.h >>conftest.$ac_ext
45280 cat >>conftest.$ac_ext <<_ACEOF
45281 /* end confdefs.h.  */
45282 /* System header to define __stub macros and hopefully few prototypes,
45283     which can conflict with char $ac_func (); below.
45284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45285     <limits.h> exists even on freestanding compilers.  */
45286 #ifdef __STDC__
45287 # include <limits.h>
45288 #else
45289 # include <assert.h>
45290 #endif
45291 /* Override any gcc2 internal prototype to avoid an error.  */
45292 #ifdef __cplusplus
45293 extern "C"
45294 {
45295 #endif
45296 /* We use char because int might match the return type of a gcc2
45297    builtin and then its argument prototype would still apply.  */
45298 char $ac_func ();
45299 /* The GNU C library defines this for functions which it implements
45300     to always fail with ENOSYS.  Some functions are actually named
45301     something starting with __ and the normal name is an alias.  */
45302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45303 choke me
45304 #else
45305 char (*f) () = $ac_func;
45306 #endif
45307 #ifdef __cplusplus
45308 }
45309 #endif
45310
45311 int
45312 main ()
45313 {
45314 return f != $ac_func;
45315   ;
45316   return 0;
45317 }
45318 _ACEOF
45319 rm -f conftest.$ac_objext conftest$ac_exeext
45320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45321   (eval $ac_link) 2>&5
45322   ac_status=$?
45323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45324   (exit $ac_status); } &&
45325          { ac_try='test -s conftest$ac_exeext'
45326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45327   (eval $ac_try) 2>&5
45328   ac_status=$?
45329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45330   (exit $ac_status); }; }; then
45331   eval "$as_ac_var=yes"
45332 else
45333   echo "$as_me: failed program was:" >&5
45334 sed 's/^/| /' conftest.$ac_ext >&5
45335
45336 eval "$as_ac_var=no"
45337 fi
45338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45339 fi
45340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45342 if test `eval echo '${'$as_ac_var'}'` = yes; then
45343   cat >>confdefs.h <<_ACEOF
45344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45345 _ACEOF
45346
45347 fi
45348 done
45349
45350
45351     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45352 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45353     if test x"$has_weof" = xyes &&
45354        test x"$has_wchar_minmax" = xyes &&
45355        test x"$ac_wfuncs" = xyes;
45356     then
45357       ac_isoC99_wchar_t=yes
45358     else
45359       ac_isoC99_wchar_t=no
45360     fi
45361     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45362 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45363
45364     # Use iconv for wchar_t to char conversions. As such, check for
45365     # X/Open Portability Guide, version 2 features (XPG2).
45366     if test "${ac_cv_header_iconv_h+set}" = set; then
45367   echo "$as_me:$LINENO: checking for iconv.h" >&5
45368 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45369 if test "${ac_cv_header_iconv_h+set}" = set; then
45370   echo $ECHO_N "(cached) $ECHO_C" >&6
45371 fi
45372 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45373 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45374 else
45375   # Is the header compilable?
45376 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45377 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45378 cat >conftest.$ac_ext <<_ACEOF
45379 #line $LINENO "configure"
45380 /* confdefs.h.  */
45381 _ACEOF
45382 cat confdefs.h >>conftest.$ac_ext
45383 cat >>conftest.$ac_ext <<_ACEOF
45384 /* end confdefs.h.  */
45385 $ac_includes_default
45386 #include <iconv.h>
45387 _ACEOF
45388 rm -f conftest.$ac_objext
45389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45390   (eval $ac_compile) 2>&5
45391   ac_status=$?
45392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393   (exit $ac_status); } &&
45394          { ac_try='test -s conftest.$ac_objext'
45395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45396   (eval $ac_try) 2>&5
45397   ac_status=$?
45398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399   (exit $ac_status); }; }; then
45400   ac_header_compiler=yes
45401 else
45402   echo "$as_me: failed program was:" >&5
45403 sed 's/^/| /' conftest.$ac_ext >&5
45404
45405 ac_header_compiler=no
45406 fi
45407 rm -f conftest.$ac_objext conftest.$ac_ext
45408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45409 echo "${ECHO_T}$ac_header_compiler" >&6
45410
45411 # Is the header present?
45412 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45413 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45414 cat >conftest.$ac_ext <<_ACEOF
45415 #line $LINENO "configure"
45416 /* confdefs.h.  */
45417 _ACEOF
45418 cat confdefs.h >>conftest.$ac_ext
45419 cat >>conftest.$ac_ext <<_ACEOF
45420 /* end confdefs.h.  */
45421 #include <iconv.h>
45422 _ACEOF
45423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45424   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45425   ac_status=$?
45426   grep -v '^ *+' conftest.er1 >conftest.err
45427   rm -f conftest.er1
45428   cat conftest.err >&5
45429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45430   (exit $ac_status); } >/dev/null; then
45431   if test -s conftest.err; then
45432     ac_cpp_err=$ac_c_preproc_warn_flag
45433   else
45434     ac_cpp_err=
45435   fi
45436 else
45437   ac_cpp_err=yes
45438 fi
45439 if test -z "$ac_cpp_err"; then
45440   ac_header_preproc=yes
45441 else
45442   echo "$as_me: failed program was:" >&5
45443 sed 's/^/| /' conftest.$ac_ext >&5
45444
45445   ac_header_preproc=no
45446 fi
45447 rm -f conftest.err conftest.$ac_ext
45448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45449 echo "${ECHO_T}$ac_header_preproc" >&6
45450
45451 # So?  What about this header?
45452 case $ac_header_compiler:$ac_header_preproc in
45453   yes:no )
45454     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45455 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45456     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45457 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45458     (
45459       cat <<\_ASBOX
45460 ## ------------------------------------ ##
45461 ## Report this to bug-autoconf@gnu.org. ##
45462 ## ------------------------------------ ##
45463 _ASBOX
45464     ) |
45465       sed "s/^/$as_me: WARNING:     /" >&2
45466     ;;
45467   no:yes )
45468     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45469 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45470     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45471 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45472     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45473 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45474     (
45475       cat <<\_ASBOX
45476 ## ------------------------------------ ##
45477 ## Report this to bug-autoconf@gnu.org. ##
45478 ## ------------------------------------ ##
45479 _ASBOX
45480     ) |
45481       sed "s/^/$as_me: WARNING:     /" >&2
45482     ;;
45483 esac
45484 echo "$as_me:$LINENO: checking for iconv.h" >&5
45485 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45486 if test "${ac_cv_header_iconv_h+set}" = set; then
45487   echo $ECHO_N "(cached) $ECHO_C" >&6
45488 else
45489   ac_cv_header_iconv_h=$ac_header_preproc
45490 fi
45491 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45492 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45493
45494 fi
45495 if test $ac_cv_header_iconv_h = yes; then
45496   ac_has_iconv_h=yes
45497 else
45498   ac_has_iconv_h=no
45499 fi
45500
45501
45502     if test "${ac_cv_header_langinfo_h+set}" = set; then
45503   echo "$as_me:$LINENO: checking for langinfo.h" >&5
45504 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45505 if test "${ac_cv_header_langinfo_h+set}" = set; then
45506   echo $ECHO_N "(cached) $ECHO_C" >&6
45507 fi
45508 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45509 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45510 else
45511   # Is the header compilable?
45512 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45513 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45514 cat >conftest.$ac_ext <<_ACEOF
45515 #line $LINENO "configure"
45516 /* confdefs.h.  */
45517 _ACEOF
45518 cat confdefs.h >>conftest.$ac_ext
45519 cat >>conftest.$ac_ext <<_ACEOF
45520 /* end confdefs.h.  */
45521 $ac_includes_default
45522 #include <langinfo.h>
45523 _ACEOF
45524 rm -f conftest.$ac_objext
45525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45526   (eval $ac_compile) 2>&5
45527   ac_status=$?
45528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529   (exit $ac_status); } &&
45530          { ac_try='test -s conftest.$ac_objext'
45531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532   (eval $ac_try) 2>&5
45533   ac_status=$?
45534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535   (exit $ac_status); }; }; then
45536   ac_header_compiler=yes
45537 else
45538   echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45540
45541 ac_header_compiler=no
45542 fi
45543 rm -f conftest.$ac_objext conftest.$ac_ext
45544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45545 echo "${ECHO_T}$ac_header_compiler" >&6
45546
45547 # Is the header present?
45548 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45549 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45550 cat >conftest.$ac_ext <<_ACEOF
45551 #line $LINENO "configure"
45552 /* confdefs.h.  */
45553 _ACEOF
45554 cat confdefs.h >>conftest.$ac_ext
45555 cat >>conftest.$ac_ext <<_ACEOF
45556 /* end confdefs.h.  */
45557 #include <langinfo.h>
45558 _ACEOF
45559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45560   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45561   ac_status=$?
45562   grep -v '^ *+' conftest.er1 >conftest.err
45563   rm -f conftest.er1
45564   cat conftest.err >&5
45565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45566   (exit $ac_status); } >/dev/null; then
45567   if test -s conftest.err; then
45568     ac_cpp_err=$ac_c_preproc_warn_flag
45569   else
45570     ac_cpp_err=
45571   fi
45572 else
45573   ac_cpp_err=yes
45574 fi
45575 if test -z "$ac_cpp_err"; then
45576   ac_header_preproc=yes
45577 else
45578   echo "$as_me: failed program was:" >&5
45579 sed 's/^/| /' conftest.$ac_ext >&5
45580
45581   ac_header_preproc=no
45582 fi
45583 rm -f conftest.err conftest.$ac_ext
45584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45585 echo "${ECHO_T}$ac_header_preproc" >&6
45586
45587 # So?  What about this header?
45588 case $ac_header_compiler:$ac_header_preproc in
45589   yes:no )
45590     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45591 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45592     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45593 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45594     (
45595       cat <<\_ASBOX
45596 ## ------------------------------------ ##
45597 ## Report this to bug-autoconf@gnu.org. ##
45598 ## ------------------------------------ ##
45599 _ASBOX
45600     ) |
45601       sed "s/^/$as_me: WARNING:     /" >&2
45602     ;;
45603   no:yes )
45604     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45605 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45606     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45607 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45608     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45609 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45610     (
45611       cat <<\_ASBOX
45612 ## ------------------------------------ ##
45613 ## Report this to bug-autoconf@gnu.org. ##
45614 ## ------------------------------------ ##
45615 _ASBOX
45616     ) |
45617       sed "s/^/$as_me: WARNING:     /" >&2
45618     ;;
45619 esac
45620 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45621 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45622 if test "${ac_cv_header_langinfo_h+set}" = set; then
45623   echo $ECHO_N "(cached) $ECHO_C" >&6
45624 else
45625   ac_cv_header_langinfo_h=$ac_header_preproc
45626 fi
45627 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45628 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45629
45630 fi
45631 if test $ac_cv_header_langinfo_h = yes; then
45632   ac_has_langinfo_h=yes
45633 else
45634   ac_has_langinfo_h=no
45635 fi
45636
45637
45638
45639     # Check for existence of libiconv.a providing XPG2 wchar_t support.
45640     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45641 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45642 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45643   echo $ECHO_N "(cached) $ECHO_C" >&6
45644 else
45645   ac_check_lib_save_LIBS=$LIBS
45646 LIBS="-liconv  $LIBS"
45647 if test x$gcc_no_link = xyes; then
45648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45650    { (exit 1); exit 1; }; }
45651 fi
45652 cat >conftest.$ac_ext <<_ACEOF
45653 #line $LINENO "configure"
45654 /* confdefs.h.  */
45655 _ACEOF
45656 cat confdefs.h >>conftest.$ac_ext
45657 cat >>conftest.$ac_ext <<_ACEOF
45658 /* end confdefs.h.  */
45659
45660 /* Override any gcc2 internal prototype to avoid an error.  */
45661 #ifdef __cplusplus
45662 extern "C"
45663 #endif
45664 /* We use char because int might match the return type of a gcc2
45665    builtin and then its argument prototype would still apply.  */
45666 char iconv ();
45667 int
45668 main ()
45669 {
45670 iconv ();
45671   ;
45672   return 0;
45673 }
45674 _ACEOF
45675 rm -f conftest.$ac_objext conftest$ac_exeext
45676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45677   (eval $ac_link) 2>&5
45678   ac_status=$?
45679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45680   (exit $ac_status); } &&
45681          { ac_try='test -s conftest$ac_exeext'
45682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45683   (eval $ac_try) 2>&5
45684   ac_status=$?
45685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686   (exit $ac_status); }; }; then
45687   ac_cv_lib_iconv_iconv=yes
45688 else
45689   echo "$as_me: failed program was:" >&5
45690 sed 's/^/| /' conftest.$ac_ext >&5
45691
45692 ac_cv_lib_iconv_iconv=no
45693 fi
45694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45695 LIBS=$ac_check_lib_save_LIBS
45696 fi
45697 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45698 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45699 if test $ac_cv_lib_iconv_iconv = yes; then
45700   libiconv="-liconv"
45701 fi
45702
45703     ac_save_LIBS="$LIBS"
45704     LIBS="$LIBS $libiconv"
45705
45706
45707
45708
45709
45710 for ac_func in iconv_open iconv_close iconv nl_langinfo
45711 do
45712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45713 echo "$as_me:$LINENO: checking for $ac_func" >&5
45714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45715 if eval "test \"\${$as_ac_var+set}\" = set"; then
45716   echo $ECHO_N "(cached) $ECHO_C" >&6
45717 else
45718   if test x$gcc_no_link = xyes; then
45719   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45721    { (exit 1); exit 1; }; }
45722 fi
45723 cat >conftest.$ac_ext <<_ACEOF
45724 #line $LINENO "configure"
45725 /* confdefs.h.  */
45726 _ACEOF
45727 cat confdefs.h >>conftest.$ac_ext
45728 cat >>conftest.$ac_ext <<_ACEOF
45729 /* end confdefs.h.  */
45730 /* System header to define __stub macros and hopefully few prototypes,
45731     which can conflict with char $ac_func (); below.
45732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45733     <limits.h> exists even on freestanding compilers.  */
45734 #ifdef __STDC__
45735 # include <limits.h>
45736 #else
45737 # include <assert.h>
45738 #endif
45739 /* Override any gcc2 internal prototype to avoid an error.  */
45740 #ifdef __cplusplus
45741 extern "C"
45742 {
45743 #endif
45744 /* We use char because int might match the return type of a gcc2
45745    builtin and then its argument prototype would still apply.  */
45746 char $ac_func ();
45747 /* The GNU C library defines this for functions which it implements
45748     to always fail with ENOSYS.  Some functions are actually named
45749     something starting with __ and the normal name is an alias.  */
45750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45751 choke me
45752 #else
45753 char (*f) () = $ac_func;
45754 #endif
45755 #ifdef __cplusplus
45756 }
45757 #endif
45758
45759 int
45760 main ()
45761 {
45762 return f != $ac_func;
45763   ;
45764   return 0;
45765 }
45766 _ACEOF
45767 rm -f conftest.$ac_objext conftest$ac_exeext
45768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45769   (eval $ac_link) 2>&5
45770   ac_status=$?
45771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772   (exit $ac_status); } &&
45773          { ac_try='test -s conftest$ac_exeext'
45774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45775   (eval $ac_try) 2>&5
45776   ac_status=$?
45777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45778   (exit $ac_status); }; }; then
45779   eval "$as_ac_var=yes"
45780 else
45781   echo "$as_me: failed program was:" >&5
45782 sed 's/^/| /' conftest.$ac_ext >&5
45783
45784 eval "$as_ac_var=no"
45785 fi
45786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45787 fi
45788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45790 if test `eval echo '${'$as_ac_var'}'` = yes; then
45791   cat >>confdefs.h <<_ACEOF
45792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45793 _ACEOF
45794  ac_XPG2funcs=yes
45795 else
45796   ac_XPG2funcs=no
45797 fi
45798 done
45799
45800
45801     LIBS="$ac_save_LIBS"
45802
45803     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45804 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45805     if test x"$ac_has_iconv_h" = xyes &&
45806        test x"$ac_has_langinfo_h" = xyes &&
45807        test x"$ac_XPG2funcs" = xyes;
45808     then
45809       ac_XPG2_wchar_t=yes
45810     else
45811       ac_XPG2_wchar_t=no
45812     fi
45813     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45814 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45815
45816     # At the moment, only enable wchar_t specializations if all the
45817     # above support is present.
45818     if test x"$ac_isoC99_wchar_t" = xyes &&
45819        test x"$ac_XPG2_wchar_t" = xyes;
45820     then
45821       cat >>confdefs.h <<\_ACEOF
45822 #define _GLIBCXX_USE_WCHAR_T 1
45823 _ACEOF
45824
45825       enable_wchar_t=yes
45826     fi
45827   fi
45828   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45829 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45830   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45831 echo "${ECHO_T}$enable_wchar_t" >&6
45832
45833
45834   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45835   ac_save_CXXFLAGS="$CXXFLAGS"
45836   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45837
45838
45839   echo "$as_me:$LINENO: checking for strtold declaration" >&5
45840 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45841   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45842     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45843   echo $ECHO_N "(cached) $ECHO_C" >&6
45844 else
45845
45846
45847
45848       ac_ext=cc
45849 ac_cpp='$CXXCPP $CPPFLAGS'
45850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45853
45854       cat >conftest.$ac_ext <<_ACEOF
45855 #line $LINENO "configure"
45856 /* confdefs.h.  */
45857 _ACEOF
45858 cat confdefs.h >>conftest.$ac_ext
45859 cat >>conftest.$ac_ext <<_ACEOF
45860 /* end confdefs.h.  */
45861 #include <stdlib.h>
45862 int
45863 main ()
45864 {
45865  strtold(0, 0);
45866   ;
45867   return 0;
45868 }
45869 _ACEOF
45870 rm -f conftest.$ac_objext
45871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45872   (eval $ac_compile) 2>&5
45873   ac_status=$?
45874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875   (exit $ac_status); } &&
45876          { ac_try='test -s conftest.$ac_objext'
45877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45878   (eval $ac_try) 2>&5
45879   ac_status=$?
45880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45881   (exit $ac_status); }; }; then
45882   glibcxx_cv_func_strtold_use=yes
45883 else
45884   echo "$as_me: failed program was:" >&5
45885 sed 's/^/| /' conftest.$ac_ext >&5
45886
45887 glibcxx_cv_func_strtold_use=no
45888 fi
45889 rm -f conftest.$ac_objext conftest.$ac_ext
45890       ac_ext=c
45891 ac_cpp='$CPP $CPPFLAGS'
45892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45895
45896
45897 fi
45898
45899   fi
45900   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45901 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45902   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45903
45904 for ac_func in strtold
45905 do
45906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45907 echo "$as_me:$LINENO: checking for $ac_func" >&5
45908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45909 if eval "test \"\${$as_ac_var+set}\" = set"; then
45910   echo $ECHO_N "(cached) $ECHO_C" >&6
45911 else
45912   if test x$gcc_no_link = xyes; then
45913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45915    { (exit 1); exit 1; }; }
45916 fi
45917 cat >conftest.$ac_ext <<_ACEOF
45918 #line $LINENO "configure"
45919 /* confdefs.h.  */
45920 _ACEOF
45921 cat confdefs.h >>conftest.$ac_ext
45922 cat >>conftest.$ac_ext <<_ACEOF
45923 /* end confdefs.h.  */
45924 /* System header to define __stub macros and hopefully few prototypes,
45925     which can conflict with char $ac_func (); below.
45926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45927     <limits.h> exists even on freestanding compilers.  */
45928 #ifdef __STDC__
45929 # include <limits.h>
45930 #else
45931 # include <assert.h>
45932 #endif
45933 /* Override any gcc2 internal prototype to avoid an error.  */
45934 #ifdef __cplusplus
45935 extern "C"
45936 {
45937 #endif
45938 /* We use char because int might match the return type of a gcc2
45939    builtin and then its argument prototype would still apply.  */
45940 char $ac_func ();
45941 /* The GNU C library defines this for functions which it implements
45942     to always fail with ENOSYS.  Some functions are actually named
45943     something starting with __ and the normal name is an alias.  */
45944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45945 choke me
45946 #else
45947 char (*f) () = $ac_func;
45948 #endif
45949 #ifdef __cplusplus
45950 }
45951 #endif
45952
45953 int
45954 main ()
45955 {
45956 return f != $ac_func;
45957   ;
45958   return 0;
45959 }
45960 _ACEOF
45961 rm -f conftest.$ac_objext conftest$ac_exeext
45962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45963   (eval $ac_link) 2>&5
45964   ac_status=$?
45965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45966   (exit $ac_status); } &&
45967          { ac_try='test -s conftest$ac_exeext'
45968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45969   (eval $ac_try) 2>&5
45970   ac_status=$?
45971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45972   (exit $ac_status); }; }; then
45973   eval "$as_ac_var=yes"
45974 else
45975   echo "$as_me: failed program was:" >&5
45976 sed 's/^/| /' conftest.$ac_ext >&5
45977
45978 eval "$as_ac_var=no"
45979 fi
45980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45981 fi
45982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45984 if test `eval echo '${'$as_ac_var'}'` = yes; then
45985   cat >>confdefs.h <<_ACEOF
45986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45987 _ACEOF
45988
45989 fi
45990 done
45991
45992   fi
45993
45994
45995   echo "$as_me:$LINENO: checking for strtof declaration" >&5
45996 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
45997   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45998     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
45999   echo $ECHO_N "(cached) $ECHO_C" >&6
46000 else
46001
46002
46003
46004       ac_ext=cc
46005 ac_cpp='$CXXCPP $CPPFLAGS'
46006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46009
46010       cat >conftest.$ac_ext <<_ACEOF
46011 #line $LINENO "configure"
46012 /* confdefs.h.  */
46013 _ACEOF
46014 cat confdefs.h >>conftest.$ac_ext
46015 cat >>conftest.$ac_ext <<_ACEOF
46016 /* end confdefs.h.  */
46017 #include <stdlib.h>
46018 int
46019 main ()
46020 {
46021  strtof(0, 0);
46022   ;
46023   return 0;
46024 }
46025 _ACEOF
46026 rm -f conftest.$ac_objext
46027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46028   (eval $ac_compile) 2>&5
46029   ac_status=$?
46030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031   (exit $ac_status); } &&
46032          { ac_try='test -s conftest.$ac_objext'
46033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46034   (eval $ac_try) 2>&5
46035   ac_status=$?
46036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46037   (exit $ac_status); }; }; then
46038   glibcxx_cv_func_strtof_use=yes
46039 else
46040   echo "$as_me: failed program was:" >&5
46041 sed 's/^/| /' conftest.$ac_ext >&5
46042
46043 glibcxx_cv_func_strtof_use=no
46044 fi
46045 rm -f conftest.$ac_objext conftest.$ac_ext
46046       ac_ext=c
46047 ac_cpp='$CPP $CPPFLAGS'
46048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46051
46052
46053 fi
46054
46055   fi
46056   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
46057 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
46058   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46059
46060 for ac_func in strtof
46061 do
46062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46063 echo "$as_me:$LINENO: checking for $ac_func" >&5
46064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46065 if eval "test \"\${$as_ac_var+set}\" = set"; then
46066   echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46068   if test x$gcc_no_link = xyes; then
46069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46071    { (exit 1); exit 1; }; }
46072 fi
46073 cat >conftest.$ac_ext <<_ACEOF
46074 #line $LINENO "configure"
46075 /* confdefs.h.  */
46076 _ACEOF
46077 cat confdefs.h >>conftest.$ac_ext
46078 cat >>conftest.$ac_ext <<_ACEOF
46079 /* end confdefs.h.  */
46080 /* System header to define __stub macros and hopefully few prototypes,
46081     which can conflict with char $ac_func (); below.
46082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46083     <limits.h> exists even on freestanding compilers.  */
46084 #ifdef __STDC__
46085 # include <limits.h>
46086 #else
46087 # include <assert.h>
46088 #endif
46089 /* Override any gcc2 internal prototype to avoid an error.  */
46090 #ifdef __cplusplus
46091 extern "C"
46092 {
46093 #endif
46094 /* We use char because int might match the return type of a gcc2
46095    builtin and then its argument prototype would still apply.  */
46096 char $ac_func ();
46097 /* The GNU C library defines this for functions which it implements
46098     to always fail with ENOSYS.  Some functions are actually named
46099     something starting with __ and the normal name is an alias.  */
46100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46101 choke me
46102 #else
46103 char (*f) () = $ac_func;
46104 #endif
46105 #ifdef __cplusplus
46106 }
46107 #endif
46108
46109 int
46110 main ()
46111 {
46112 return f != $ac_func;
46113   ;
46114   return 0;
46115 }
46116 _ACEOF
46117 rm -f conftest.$ac_objext conftest$ac_exeext
46118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46119   (eval $ac_link) 2>&5
46120   ac_status=$?
46121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46122   (exit $ac_status); } &&
46123          { ac_try='test -s conftest$ac_exeext'
46124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46125   (eval $ac_try) 2>&5
46126   ac_status=$?
46127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128   (exit $ac_status); }; }; then
46129   eval "$as_ac_var=yes"
46130 else
46131   echo "$as_me: failed program was:" >&5
46132 sed 's/^/| /' conftest.$ac_ext >&5
46133
46134 eval "$as_ac_var=no"
46135 fi
46136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46137 fi
46138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46140 if test `eval echo '${'$as_ac_var'}'` = yes; then
46141   cat >>confdefs.h <<_ACEOF
46142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46143 _ACEOF
46144
46145 fi
46146 done
46147
46148   fi
46149
46150
46151   CXXFLAGS="$ac_save_CXXFLAGS"
46152
46153
46154     # For showmanyc_helper().
46155
46156
46157 for ac_header in sys/ioctl.h sys/filio.h
46158 do
46159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46161   echo "$as_me:$LINENO: checking for $ac_header" >&5
46162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46164   echo $ECHO_N "(cached) $ECHO_C" >&6
46165 fi
46166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46168 else
46169   # Is the header compilable?
46170 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46172 cat >conftest.$ac_ext <<_ACEOF
46173 #line $LINENO "configure"
46174 /* confdefs.h.  */
46175 _ACEOF
46176 cat confdefs.h >>conftest.$ac_ext
46177 cat >>conftest.$ac_ext <<_ACEOF
46178 /* end confdefs.h.  */
46179 $ac_includes_default
46180 #include <$ac_header>
46181 _ACEOF
46182 rm -f conftest.$ac_objext
46183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46184   (eval $ac_compile) 2>&5
46185   ac_status=$?
46186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46187   (exit $ac_status); } &&
46188          { ac_try='test -s conftest.$ac_objext'
46189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46190   (eval $ac_try) 2>&5
46191   ac_status=$?
46192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193   (exit $ac_status); }; }; then
46194   ac_header_compiler=yes
46195 else
46196   echo "$as_me: failed program was:" >&5
46197 sed 's/^/| /' conftest.$ac_ext >&5
46198
46199 ac_header_compiler=no
46200 fi
46201 rm -f conftest.$ac_objext conftest.$ac_ext
46202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46203 echo "${ECHO_T}$ac_header_compiler" >&6
46204
46205 # Is the header present?
46206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46208 cat >conftest.$ac_ext <<_ACEOF
46209 #line $LINENO "configure"
46210 /* confdefs.h.  */
46211 _ACEOF
46212 cat confdefs.h >>conftest.$ac_ext
46213 cat >>conftest.$ac_ext <<_ACEOF
46214 /* end confdefs.h.  */
46215 #include <$ac_header>
46216 _ACEOF
46217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46218   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46219   ac_status=$?
46220   grep -v '^ *+' conftest.er1 >conftest.err
46221   rm -f conftest.er1
46222   cat conftest.err >&5
46223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46224   (exit $ac_status); } >/dev/null; then
46225   if test -s conftest.err; then
46226     ac_cpp_err=$ac_c_preproc_warn_flag
46227   else
46228     ac_cpp_err=
46229   fi
46230 else
46231   ac_cpp_err=yes
46232 fi
46233 if test -z "$ac_cpp_err"; then
46234   ac_header_preproc=yes
46235 else
46236   echo "$as_me: failed program was:" >&5
46237 sed 's/^/| /' conftest.$ac_ext >&5
46238
46239   ac_header_preproc=no
46240 fi
46241 rm -f conftest.err conftest.$ac_ext
46242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46243 echo "${ECHO_T}$ac_header_preproc" >&6
46244
46245 # So?  What about this header?
46246 case $ac_header_compiler:$ac_header_preproc in
46247   yes:no )
46248     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46250     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46252     (
46253       cat <<\_ASBOX
46254 ## ------------------------------------ ##
46255 ## Report this to bug-autoconf@gnu.org. ##
46256 ## ------------------------------------ ##
46257 _ASBOX
46258     ) |
46259       sed "s/^/$as_me: WARNING:     /" >&2
46260     ;;
46261   no:yes )
46262     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46264     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46266     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46268     (
46269       cat <<\_ASBOX
46270 ## ------------------------------------ ##
46271 ## Report this to bug-autoconf@gnu.org. ##
46272 ## ------------------------------------ ##
46273 _ASBOX
46274     ) |
46275       sed "s/^/$as_me: WARNING:     /" >&2
46276     ;;
46277 esac
46278 echo "$as_me:$LINENO: checking for $ac_header" >&5
46279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46281   echo $ECHO_N "(cached) $ECHO_C" >&6
46282 else
46283   eval "$as_ac_Header=$ac_header_preproc"
46284 fi
46285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46287
46288 fi
46289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46290   cat >>confdefs.h <<_ACEOF
46291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46292 _ACEOF
46293
46294 fi
46295
46296 done
46297
46298
46299   if test "${glibcxx_cv_POLL+set}" = set; then
46300   echo $ECHO_N "(cached) $ECHO_C" >&6
46301 else
46302
46303     if test x$gcc_no_link = xyes; then
46304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46306    { (exit 1); exit 1; }; }
46307 fi
46308 cat >conftest.$ac_ext <<_ACEOF
46309 #line $LINENO "configure"
46310 /* confdefs.h.  */
46311 _ACEOF
46312 cat confdefs.h >>conftest.$ac_ext
46313 cat >>conftest.$ac_ext <<_ACEOF
46314 /* end confdefs.h.  */
46315 #include <poll.h>
46316 int
46317 main ()
46318 {
46319 struct pollfd pfd[1];
46320        pfd[0].events = POLLIN;
46321        poll(pfd, 1, 0);
46322   ;
46323   return 0;
46324 }
46325 _ACEOF
46326 rm -f conftest.$ac_objext conftest$ac_exeext
46327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46328   (eval $ac_link) 2>&5
46329   ac_status=$?
46330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46331   (exit $ac_status); } &&
46332          { ac_try='test -s conftest$ac_exeext'
46333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46334   (eval $ac_try) 2>&5
46335   ac_status=$?
46336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46337   (exit $ac_status); }; }; then
46338   glibcxx_cv_POLL=yes
46339 else
46340   echo "$as_me: failed program was:" >&5
46341 sed 's/^/| /' conftest.$ac_ext >&5
46342
46343 glibcxx_cv_POLL=no
46344 fi
46345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46346
46347 fi
46348
46349   if test $glibcxx_cv_POLL = yes; then
46350     cat >>confdefs.h <<\_ACEOF
46351 #define HAVE_POLL 1
46352 _ACEOF
46353
46354   fi
46355
46356
46357   if test "${glibcxx_cv_S_ISREG+set}" = set; then
46358   echo $ECHO_N "(cached) $ECHO_C" >&6
46359 else
46360
46361     if test x$gcc_no_link = xyes; then
46362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46364    { (exit 1); exit 1; }; }
46365 fi
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 #include <sys/stat.h>
46374 int
46375 main ()
46376 {
46377 struct stat buffer;
46378        fstat(0, &buffer);
46379        S_ISREG(buffer.st_mode);
46380   ;
46381   return 0;
46382 }
46383 _ACEOF
46384 rm -f conftest.$ac_objext conftest$ac_exeext
46385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46386   (eval $ac_link) 2>&5
46387   ac_status=$?
46388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46389   (exit $ac_status); } &&
46390          { ac_try='test -s conftest$ac_exeext'
46391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46392   (eval $ac_try) 2>&5
46393   ac_status=$?
46394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46395   (exit $ac_status); }; }; then
46396   glibcxx_cv_S_ISREG=yes
46397 else
46398   echo "$as_me: failed program was:" >&5
46399 sed 's/^/| /' conftest.$ac_ext >&5
46400
46401 glibcxx_cv_S_ISREG=no
46402 fi
46403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46404
46405 fi
46406
46407   if test "${glibcxx_cv_S_IFREG+set}" = set; then
46408   echo $ECHO_N "(cached) $ECHO_C" >&6
46409 else
46410
46411     if test x$gcc_no_link = xyes; then
46412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46414    { (exit 1); exit 1; }; }
46415 fi
46416 cat >conftest.$ac_ext <<_ACEOF
46417 #line $LINENO "configure"
46418 /* confdefs.h.  */
46419 _ACEOF
46420 cat confdefs.h >>conftest.$ac_ext
46421 cat >>conftest.$ac_ext <<_ACEOF
46422 /* end confdefs.h.  */
46423 #include <sys/stat.h>
46424 int
46425 main ()
46426 {
46427 struct stat buffer;
46428        fstat(0, &buffer);
46429        S_IFREG & buffer.st_mode;
46430   ;
46431   return 0;
46432 }
46433 _ACEOF
46434 rm -f conftest.$ac_objext conftest$ac_exeext
46435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46436   (eval $ac_link) 2>&5
46437   ac_status=$?
46438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439   (exit $ac_status); } &&
46440          { ac_try='test -s conftest$ac_exeext'
46441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46442   (eval $ac_try) 2>&5
46443   ac_status=$?
46444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46445   (exit $ac_status); }; }; then
46446   glibcxx_cv_S_IFREG=yes
46447 else
46448   echo "$as_me: failed program was:" >&5
46449 sed 's/^/| /' conftest.$ac_ext >&5
46450
46451 glibcxx_cv_S_IFREG=no
46452 fi
46453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46454
46455 fi
46456
46457   if test $glibcxx_cv_S_ISREG = yes; then
46458     cat >>confdefs.h <<\_ACEOF
46459 #define HAVE_S_ISREG 1
46460 _ACEOF
46461
46462   elif test $glibcxx_cv_S_IFREG = yes; then
46463     cat >>confdefs.h <<\_ACEOF
46464 #define HAVE_S_IFREG 1
46465 _ACEOF
46466
46467   fi
46468
46469
46470     # For xsputn_2().
46471
46472 for ac_header in sys/uio.h
46473 do
46474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46476   echo "$as_me:$LINENO: checking for $ac_header" >&5
46477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46479   echo $ECHO_N "(cached) $ECHO_C" >&6
46480 fi
46481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46483 else
46484   # Is the header compilable?
46485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46487 cat >conftest.$ac_ext <<_ACEOF
46488 #line $LINENO "configure"
46489 /* confdefs.h.  */
46490 _ACEOF
46491 cat confdefs.h >>conftest.$ac_ext
46492 cat >>conftest.$ac_ext <<_ACEOF
46493 /* end confdefs.h.  */
46494 $ac_includes_default
46495 #include <$ac_header>
46496 _ACEOF
46497 rm -f conftest.$ac_objext
46498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46499   (eval $ac_compile) 2>&5
46500   ac_status=$?
46501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46502   (exit $ac_status); } &&
46503          { ac_try='test -s conftest.$ac_objext'
46504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46505   (eval $ac_try) 2>&5
46506   ac_status=$?
46507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46508   (exit $ac_status); }; }; then
46509   ac_header_compiler=yes
46510 else
46511   echo "$as_me: failed program was:" >&5
46512 sed 's/^/| /' conftest.$ac_ext >&5
46513
46514 ac_header_compiler=no
46515 fi
46516 rm -f conftest.$ac_objext conftest.$ac_ext
46517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46518 echo "${ECHO_T}$ac_header_compiler" >&6
46519
46520 # Is the header present?
46521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46523 cat >conftest.$ac_ext <<_ACEOF
46524 #line $LINENO "configure"
46525 /* confdefs.h.  */
46526 _ACEOF
46527 cat confdefs.h >>conftest.$ac_ext
46528 cat >>conftest.$ac_ext <<_ACEOF
46529 /* end confdefs.h.  */
46530 #include <$ac_header>
46531 _ACEOF
46532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46533   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46534   ac_status=$?
46535   grep -v '^ *+' conftest.er1 >conftest.err
46536   rm -f conftest.er1
46537   cat conftest.err >&5
46538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46539   (exit $ac_status); } >/dev/null; then
46540   if test -s conftest.err; then
46541     ac_cpp_err=$ac_c_preproc_warn_flag
46542   else
46543     ac_cpp_err=
46544   fi
46545 else
46546   ac_cpp_err=yes
46547 fi
46548 if test -z "$ac_cpp_err"; then
46549   ac_header_preproc=yes
46550 else
46551   echo "$as_me: failed program was:" >&5
46552 sed 's/^/| /' conftest.$ac_ext >&5
46553
46554   ac_header_preproc=no
46555 fi
46556 rm -f conftest.err conftest.$ac_ext
46557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46558 echo "${ECHO_T}$ac_header_preproc" >&6
46559
46560 # So?  What about this header?
46561 case $ac_header_compiler:$ac_header_preproc in
46562   yes:no )
46563     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46565     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46567     (
46568       cat <<\_ASBOX
46569 ## ------------------------------------ ##
46570 ## Report this to bug-autoconf@gnu.org. ##
46571 ## ------------------------------------ ##
46572 _ASBOX
46573     ) |
46574       sed "s/^/$as_me: WARNING:     /" >&2
46575     ;;
46576   no:yes )
46577     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46579     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46581     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46583     (
46584       cat <<\_ASBOX
46585 ## ------------------------------------ ##
46586 ## Report this to bug-autoconf@gnu.org. ##
46587 ## ------------------------------------ ##
46588 _ASBOX
46589     ) |
46590       sed "s/^/$as_me: WARNING:     /" >&2
46591     ;;
46592 esac
46593 echo "$as_me:$LINENO: checking for $ac_header" >&5
46594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46596   echo $ECHO_N "(cached) $ECHO_C" >&6
46597 else
46598   eval "$as_ac_Header=$ac_header_preproc"
46599 fi
46600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46602
46603 fi
46604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46605   cat >>confdefs.h <<_ACEOF
46606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46607 _ACEOF
46608
46609 fi
46610
46611 done
46612
46613
46614   if test "${glibcxx_cv_WRITEV+set}" = set; then
46615   echo $ECHO_N "(cached) $ECHO_C" >&6
46616 else
46617
46618     if test x$gcc_no_link = xyes; then
46619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46621    { (exit 1); exit 1; }; }
46622 fi
46623 cat >conftest.$ac_ext <<_ACEOF
46624 #line $LINENO "configure"
46625 /* confdefs.h.  */
46626 _ACEOF
46627 cat confdefs.h >>conftest.$ac_ext
46628 cat >>conftest.$ac_ext <<_ACEOF
46629 /* end confdefs.h.  */
46630 #include <sys/uio.h>
46631 int
46632 main ()
46633 {
46634 struct iovec iov[2];
46635        writev(0, iov, 0);
46636   ;
46637   return 0;
46638 }
46639 _ACEOF
46640 rm -f conftest.$ac_objext conftest$ac_exeext
46641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46642   (eval $ac_link) 2>&5
46643   ac_status=$?
46644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46645   (exit $ac_status); } &&
46646          { ac_try='test -s conftest$ac_exeext'
46647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46648   (eval $ac_try) 2>&5
46649   ac_status=$?
46650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651   (exit $ac_status); }; }; then
46652   glibcxx_cv_WRITEV=yes
46653 else
46654   echo "$as_me: failed program was:" >&5
46655 sed 's/^/| /' conftest.$ac_ext >&5
46656
46657 glibcxx_cv_WRITEV=no
46658 fi
46659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46660
46661 fi
46662
46663   if test $glibcxx_cv_WRITEV = yes; then
46664     cat >>confdefs.h <<\_ACEOF
46665 #define HAVE_WRITEV 1
46666 _ACEOF
46667
46668   fi
46669
46670
46671     cat >>confdefs.h <<\_ACEOF
46672 #define HAVE_LC_MESSAGES 1
46673 _ACEOF
46674
46675
46676     cat >conftest.$ac_ext <<_ACEOF
46677 #line $LINENO "configure"
46678 /* confdefs.h.  */
46679 _ACEOF
46680 cat confdefs.h >>conftest.$ac_ext
46681 cat >>conftest.$ac_ext <<_ACEOF
46682 /* end confdefs.h.  */
46683 #include <setjmp.h>
46684 int
46685 main ()
46686 {
46687 sigjmp_buf env;
46688        while (! sigsetjmp (env, 1))
46689          siglongjmp (env, 1);
46690
46691   ;
46692   return 0;
46693 }
46694 _ACEOF
46695 rm -f conftest.$ac_objext
46696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46697   (eval $ac_compile) 2>&5
46698   ac_status=$?
46699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46700   (exit $ac_status); } &&
46701          { ac_try='test -s conftest.$ac_objext'
46702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46703   (eval $ac_try) 2>&5
46704   ac_status=$?
46705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46706   (exit $ac_status); }; }; then
46707
46708 cat >>confdefs.h <<\_ACEOF
46709 #define HAVE_SIGSETJMP 1
46710 _ACEOF
46711
46712 else
46713   echo "$as_me: failed program was:" >&5
46714 sed 's/^/| /' conftest.$ac_ext >&5
46715
46716 fi
46717 rm -f conftest.$ac_objext conftest.$ac_ext
46718
46719     cat >>confdefs.h <<\_ACEOF
46720 #define HAVE_MMAP 1
46721 _ACEOF
46722
46723     ;;
46724
46725   *-freebsd*)
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
46743       machine/endian.h machine/param.h sys/machine.h sys/types.h \
46744       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
46745       sys/time.h unistd.h
46746 do
46747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
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 fi
46754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46756 else
46757   # Is the header compilable?
46758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46760 cat >conftest.$ac_ext <<_ACEOF
46761 #line $LINENO "configure"
46762 /* confdefs.h.  */
46763 _ACEOF
46764 cat confdefs.h >>conftest.$ac_ext
46765 cat >>conftest.$ac_ext <<_ACEOF
46766 /* end confdefs.h.  */
46767 $ac_includes_default
46768 #include <$ac_header>
46769 _ACEOF
46770 rm -f conftest.$ac_objext
46771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46772   (eval $ac_compile) 2>&5
46773   ac_status=$?
46774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46775   (exit $ac_status); } &&
46776          { ac_try='test -s conftest.$ac_objext'
46777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46778   (eval $ac_try) 2>&5
46779   ac_status=$?
46780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46781   (exit $ac_status); }; }; then
46782   ac_header_compiler=yes
46783 else
46784   echo "$as_me: failed program was:" >&5
46785 sed 's/^/| /' conftest.$ac_ext >&5
46786
46787 ac_header_compiler=no
46788 fi
46789 rm -f conftest.$ac_objext conftest.$ac_ext
46790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46791 echo "${ECHO_T}$ac_header_compiler" >&6
46792
46793 # Is the header present?
46794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46796 cat >conftest.$ac_ext <<_ACEOF
46797 #line $LINENO "configure"
46798 /* confdefs.h.  */
46799 _ACEOF
46800 cat confdefs.h >>conftest.$ac_ext
46801 cat >>conftest.$ac_ext <<_ACEOF
46802 /* end confdefs.h.  */
46803 #include <$ac_header>
46804 _ACEOF
46805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46806   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46807   ac_status=$?
46808   grep -v '^ *+' conftest.er1 >conftest.err
46809   rm -f conftest.er1
46810   cat conftest.err >&5
46811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812   (exit $ac_status); } >/dev/null; then
46813   if test -s conftest.err; then
46814     ac_cpp_err=$ac_c_preproc_warn_flag
46815   else
46816     ac_cpp_err=
46817   fi
46818 else
46819   ac_cpp_err=yes
46820 fi
46821 if test -z "$ac_cpp_err"; then
46822   ac_header_preproc=yes
46823 else
46824   echo "$as_me: failed program was:" >&5
46825 sed 's/^/| /' conftest.$ac_ext >&5
46826
46827   ac_header_preproc=no
46828 fi
46829 rm -f conftest.err conftest.$ac_ext
46830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46831 echo "${ECHO_T}$ac_header_preproc" >&6
46832
46833 # So?  What about this header?
46834 case $ac_header_compiler:$ac_header_preproc in
46835   yes:no )
46836     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46838     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46840     (
46841       cat <<\_ASBOX
46842 ## ------------------------------------ ##
46843 ## Report this to bug-autoconf@gnu.org. ##
46844 ## ------------------------------------ ##
46845 _ASBOX
46846     ) |
46847       sed "s/^/$as_me: WARNING:     /" >&2
46848     ;;
46849   no:yes )
46850     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46852     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46854     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46856     (
46857       cat <<\_ASBOX
46858 ## ------------------------------------ ##
46859 ## Report this to bug-autoconf@gnu.org. ##
46860 ## ------------------------------------ ##
46861 _ASBOX
46862     ) |
46863       sed "s/^/$as_me: WARNING:     /" >&2
46864     ;;
46865 esac
46866 echo "$as_me:$LINENO: checking for $ac_header" >&5
46867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46869   echo $ECHO_N "(cached) $ECHO_C" >&6
46870 else
46871   eval "$as_ac_Header=$ac_header_preproc"
46872 fi
46873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46875
46876 fi
46877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46878   cat >>confdefs.h <<_ACEOF
46879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46880 _ACEOF
46881
46882 fi
46883
46884 done
46885
46886     SECTION_FLAGS='-ffunction-sections -fdata-sections'
46887
46888
46889   # If we're not using GNU ld, then there's no point in even trying these
46890   # tests.  Check for that first.  We should have already tested for gld
46891   # by now (in libtool), but require it now just to be safe...
46892   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46893   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46894
46895
46896
46897   # The name set by libtool depends on the version of libtool.  Shame on us
46898   # for depending on an impl detail, but c'est la vie.  Older versions used
46899   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46900   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46901   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
46902   # set (hence we're using an older libtool), then set it.
46903   if test x${with_gnu_ld+set} != xset; then
46904     if test x${ac_cv_prog_gnu_ld+set} != xset; then
46905       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
46906       with_gnu_ld=no
46907     else
46908       with_gnu_ld=$ac_cv_prog_gnu_ld
46909     fi
46910   fi
46911
46912   # Start by getting the version number.  I think the libtool test already
46913   # does some of this, but throws away the result.
46914
46915   ldver=`$LD --version 2>/dev/null | head -1 | \
46916          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
46917
46918   glibcxx_gnu_ld_version=`echo $ldver | \
46919          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46920
46921   # Set --gc-sections.
46922   if test "$with_gnu_ld" = "notbroken"; then
46923     # GNU ld it is!  Joy and bunny rabbits!
46924
46925     # All these tests are for C++; save the language and the compiler flags.
46926     # Need to do this so that g++ won't try to link in libstdc++
46927     ac_test_CFLAGS="${CFLAGS+set}"
46928     ac_save_CFLAGS="$CFLAGS"
46929     CFLAGS='-x c++  -Wl,--gc-sections'
46930
46931     # Check for -Wl,--gc-sections
46932     # XXX This test is broken at the moment, as symbols required for linking
46933     # are now in libsupc++ (not built yet).  In addition, this test has
46934     # cored on solaris in the past.  In addition, --gc-sections doesn't
46935     # really work at the moment (keeps on discarding used sections, first
46936     # .eh_frame and now some of the glibc sections for iconv).
46937     # Bzzzzt.  Thanks for playing, maybe next time.
46938     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
46939 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
46940     if test "$cross_compiling" = yes; then
46941   ac_sectionLDflags=yes
46942 else
46943   cat >conftest.$ac_ext <<_ACEOF
46944 #line $LINENO "configure"
46945 /* confdefs.h.  */
46946 _ACEOF
46947 cat confdefs.h >>conftest.$ac_ext
46948 cat >>conftest.$ac_ext <<_ACEOF
46949 /* end confdefs.h.  */
46950
46951      int main(void)
46952      {
46953        try { throw 1; }
46954        catch (...) { };
46955        return 0;
46956      }
46957
46958 _ACEOF
46959 rm -f conftest$ac_exeext
46960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46961   (eval $ac_link) 2>&5
46962   ac_status=$?
46963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46964   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46966   (eval $ac_try) 2>&5
46967   ac_status=$?
46968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969   (exit $ac_status); }; }; then
46970   ac_sectionLDflags=yes
46971 else
46972   echo "$as_me: program exited with status $ac_status" >&5
46973 echo "$as_me: failed program was:" >&5
46974 sed 's/^/| /' conftest.$ac_ext >&5
46975
46976 ( exit $ac_status )
46977 ac_sectionLDflags=no
46978 fi
46979 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46980 fi
46981     if test "$ac_test_CFLAGS" = set; then
46982       CFLAGS="$ac_save_CFLAGS"
46983     else
46984       # this is the suspicious part
46985       CFLAGS=''
46986     fi
46987     if test "$ac_sectionLDflags" = "yes"; then
46988       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46989     fi
46990     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
46991 echo "${ECHO_T}$ac_sectionLDflags" >&6
46992   fi
46993
46994   # Set linker optimization flags.
46995   if test x"$with_gnu_ld" = x"yes"; then
46996     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46997   fi
46998
46999
47000
47001
47002
47003
47004 echo "$as_me:$LINENO: checking for main in -lm" >&5
47005 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47006 if test "${ac_cv_lib_m_main+set}" = set; then
47007   echo $ECHO_N "(cached) $ECHO_C" >&6
47008 else
47009   ac_check_lib_save_LIBS=$LIBS
47010 LIBS="-lm  $LIBS"
47011 if test x$gcc_no_link = xyes; then
47012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47014    { (exit 1); exit 1; }; }
47015 fi
47016 cat >conftest.$ac_ext <<_ACEOF
47017 #line $LINENO "configure"
47018 /* confdefs.h.  */
47019 _ACEOF
47020 cat confdefs.h >>conftest.$ac_ext
47021 cat >>conftest.$ac_ext <<_ACEOF
47022 /* end confdefs.h.  */
47023
47024
47025 int
47026 main ()
47027 {
47028 main ();
47029   ;
47030   return 0;
47031 }
47032 _ACEOF
47033 rm -f conftest.$ac_objext conftest$ac_exeext
47034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47035   (eval $ac_link) 2>&5
47036   ac_status=$?
47037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47038   (exit $ac_status); } &&
47039          { ac_try='test -s conftest$ac_exeext'
47040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47041   (eval $ac_try) 2>&5
47042   ac_status=$?
47043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47044   (exit $ac_status); }; }; then
47045   ac_cv_lib_m_main=yes
47046 else
47047   echo "$as_me: failed program was:" >&5
47048 sed 's/^/| /' conftest.$ac_ext >&5
47049
47050 ac_cv_lib_m_main=no
47051 fi
47052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47053 LIBS=$ac_check_lib_save_LIBS
47054 fi
47055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47056 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47057 if test $ac_cv_lib_m_main = yes; then
47058   cat >>confdefs.h <<_ACEOF
47059 #define HAVE_LIBM 1
47060 _ACEOF
47061
47062   LIBS="-lm $LIBS"
47063
47064 fi
47065
47066
47067
47068 for ac_func in nan copysignf
47069 do
47070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47071 echo "$as_me:$LINENO: checking for $ac_func" >&5
47072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47073 if eval "test \"\${$as_ac_var+set}\" = set"; then
47074   echo $ECHO_N "(cached) $ECHO_C" >&6
47075 else
47076   if test x$gcc_no_link = xyes; then
47077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47079    { (exit 1); exit 1; }; }
47080 fi
47081 cat >conftest.$ac_ext <<_ACEOF
47082 #line $LINENO "configure"
47083 /* confdefs.h.  */
47084 _ACEOF
47085 cat confdefs.h >>conftest.$ac_ext
47086 cat >>conftest.$ac_ext <<_ACEOF
47087 /* end confdefs.h.  */
47088 /* System header to define __stub macros and hopefully few prototypes,
47089     which can conflict with char $ac_func (); below.
47090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47091     <limits.h> exists even on freestanding compilers.  */
47092 #ifdef __STDC__
47093 # include <limits.h>
47094 #else
47095 # include <assert.h>
47096 #endif
47097 /* Override any gcc2 internal prototype to avoid an error.  */
47098 #ifdef __cplusplus
47099 extern "C"
47100 {
47101 #endif
47102 /* We use char because int might match the return type of a gcc2
47103    builtin and then its argument prototype would still apply.  */
47104 char $ac_func ();
47105 /* The GNU C library defines this for functions which it implements
47106     to always fail with ENOSYS.  Some functions are actually named
47107     something starting with __ and the normal name is an alias.  */
47108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47109 choke me
47110 #else
47111 char (*f) () = $ac_func;
47112 #endif
47113 #ifdef __cplusplus
47114 }
47115 #endif
47116
47117 int
47118 main ()
47119 {
47120 return f != $ac_func;
47121   ;
47122   return 0;
47123 }
47124 _ACEOF
47125 rm -f conftest.$ac_objext conftest$ac_exeext
47126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47127   (eval $ac_link) 2>&5
47128   ac_status=$?
47129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130   (exit $ac_status); } &&
47131          { ac_try='test -s conftest$ac_exeext'
47132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47133   (eval $ac_try) 2>&5
47134   ac_status=$?
47135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136   (exit $ac_status); }; }; then
47137   eval "$as_ac_var=yes"
47138 else
47139   echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47141
47142 eval "$as_ac_var=no"
47143 fi
47144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47145 fi
47146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47148 if test `eval echo '${'$as_ac_var'}'` = yes; then
47149   cat >>confdefs.h <<_ACEOF
47150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47151 _ACEOF
47152
47153 else
47154   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47155 fi
47156 done
47157
47158
47159
47160 for ac_func in __signbit
47161 do
47162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47163 echo "$as_me:$LINENO: checking for $ac_func" >&5
47164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47165 if eval "test \"\${$as_ac_var+set}\" = set"; then
47166   echo $ECHO_N "(cached) $ECHO_C" >&6
47167 else
47168   if test x$gcc_no_link = xyes; then
47169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47171    { (exit 1); exit 1; }; }
47172 fi
47173 cat >conftest.$ac_ext <<_ACEOF
47174 #line $LINENO "configure"
47175 /* confdefs.h.  */
47176 _ACEOF
47177 cat confdefs.h >>conftest.$ac_ext
47178 cat >>conftest.$ac_ext <<_ACEOF
47179 /* end confdefs.h.  */
47180 /* System header to define __stub macros and hopefully few prototypes,
47181     which can conflict with char $ac_func (); below.
47182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47183     <limits.h> exists even on freestanding compilers.  */
47184 #ifdef __STDC__
47185 # include <limits.h>
47186 #else
47187 # include <assert.h>
47188 #endif
47189 /* Override any gcc2 internal prototype to avoid an error.  */
47190 #ifdef __cplusplus
47191 extern "C"
47192 {
47193 #endif
47194 /* We use char because int might match the return type of a gcc2
47195    builtin and then its argument prototype would still apply.  */
47196 char $ac_func ();
47197 /* The GNU C library defines this for functions which it implements
47198     to always fail with ENOSYS.  Some functions are actually named
47199     something starting with __ and the normal name is an alias.  */
47200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47201 choke me
47202 #else
47203 char (*f) () = $ac_func;
47204 #endif
47205 #ifdef __cplusplus
47206 }
47207 #endif
47208
47209 int
47210 main ()
47211 {
47212 return f != $ac_func;
47213   ;
47214   return 0;
47215 }
47216 _ACEOF
47217 rm -f conftest.$ac_objext conftest$ac_exeext
47218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47219   (eval $ac_link) 2>&5
47220   ac_status=$?
47221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47222   (exit $ac_status); } &&
47223          { ac_try='test -s conftest$ac_exeext'
47224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47225   (eval $ac_try) 2>&5
47226   ac_status=$?
47227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47228   (exit $ac_status); }; }; then
47229   eval "$as_ac_var=yes"
47230 else
47231   echo "$as_me: failed program was:" >&5
47232 sed 's/^/| /' conftest.$ac_ext >&5
47233
47234 eval "$as_ac_var=no"
47235 fi
47236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47237 fi
47238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47240 if test `eval echo '${'$as_ac_var'}'` = yes; then
47241   cat >>confdefs.h <<_ACEOF
47242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47243 _ACEOF
47244
47245 else
47246   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47247 fi
47248 done
47249
47250
47251 for ac_func in __signbitf
47252 do
47253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47254 echo "$as_me:$LINENO: checking for $ac_func" >&5
47255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47256 if eval "test \"\${$as_ac_var+set}\" = set"; then
47257   echo $ECHO_N "(cached) $ECHO_C" >&6
47258 else
47259   if test x$gcc_no_link = xyes; then
47260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47262    { (exit 1); exit 1; }; }
47263 fi
47264 cat >conftest.$ac_ext <<_ACEOF
47265 #line $LINENO "configure"
47266 /* confdefs.h.  */
47267 _ACEOF
47268 cat confdefs.h >>conftest.$ac_ext
47269 cat >>conftest.$ac_ext <<_ACEOF
47270 /* end confdefs.h.  */
47271 /* System header to define __stub macros and hopefully few prototypes,
47272     which can conflict with char $ac_func (); below.
47273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47274     <limits.h> exists even on freestanding compilers.  */
47275 #ifdef __STDC__
47276 # include <limits.h>
47277 #else
47278 # include <assert.h>
47279 #endif
47280 /* Override any gcc2 internal prototype to avoid an error.  */
47281 #ifdef __cplusplus
47282 extern "C"
47283 {
47284 #endif
47285 /* We use char because int might match the return type of a gcc2
47286    builtin and then its argument prototype would still apply.  */
47287 char $ac_func ();
47288 /* The GNU C library defines this for functions which it implements
47289     to always fail with ENOSYS.  Some functions are actually named
47290     something starting with __ and the normal name is an alias.  */
47291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47292 choke me
47293 #else
47294 char (*f) () = $ac_func;
47295 #endif
47296 #ifdef __cplusplus
47297 }
47298 #endif
47299
47300 int
47301 main ()
47302 {
47303 return f != $ac_func;
47304   ;
47305   return 0;
47306 }
47307 _ACEOF
47308 rm -f conftest.$ac_objext conftest$ac_exeext
47309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47310   (eval $ac_link) 2>&5
47311   ac_status=$?
47312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313   (exit $ac_status); } &&
47314          { ac_try='test -s conftest$ac_exeext'
47315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47316   (eval $ac_try) 2>&5
47317   ac_status=$?
47318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319   (exit $ac_status); }; }; then
47320   eval "$as_ac_var=yes"
47321 else
47322   echo "$as_me: failed program was:" >&5
47323 sed 's/^/| /' conftest.$ac_ext >&5
47324
47325 eval "$as_ac_var=no"
47326 fi
47327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47328 fi
47329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47331 if test `eval echo '${'$as_ac_var'}'` = yes; then
47332   cat >>confdefs.h <<_ACEOF
47333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47334 _ACEOF
47335
47336 else
47337   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47338 fi
47339 done
47340
47341
47342           if test x$ac_cv_func_copysignl = x"yes"; then
47343
47344 for ac_func in __signbitl
47345 do
47346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47347 echo "$as_me:$LINENO: checking for $ac_func" >&5
47348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47349 if eval "test \"\${$as_ac_var+set}\" = set"; then
47350   echo $ECHO_N "(cached) $ECHO_C" >&6
47351 else
47352   if test x$gcc_no_link = xyes; then
47353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47355    { (exit 1); exit 1; }; }
47356 fi
47357 cat >conftest.$ac_ext <<_ACEOF
47358 #line $LINENO "configure"
47359 /* confdefs.h.  */
47360 _ACEOF
47361 cat confdefs.h >>conftest.$ac_ext
47362 cat >>conftest.$ac_ext <<_ACEOF
47363 /* end confdefs.h.  */
47364 /* System header to define __stub macros and hopefully few prototypes,
47365     which can conflict with char $ac_func (); below.
47366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47367     <limits.h> exists even on freestanding compilers.  */
47368 #ifdef __STDC__
47369 # include <limits.h>
47370 #else
47371 # include <assert.h>
47372 #endif
47373 /* Override any gcc2 internal prototype to avoid an error.  */
47374 #ifdef __cplusplus
47375 extern "C"
47376 {
47377 #endif
47378 /* We use char because int might match the return type of a gcc2
47379    builtin and then its argument prototype would still apply.  */
47380 char $ac_func ();
47381 /* The GNU C library defines this for functions which it implements
47382     to always fail with ENOSYS.  Some functions are actually named
47383     something starting with __ and the normal name is an alias.  */
47384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47385 choke me
47386 #else
47387 char (*f) () = $ac_func;
47388 #endif
47389 #ifdef __cplusplus
47390 }
47391 #endif
47392
47393 int
47394 main ()
47395 {
47396 return f != $ac_func;
47397   ;
47398   return 0;
47399 }
47400 _ACEOF
47401 rm -f conftest.$ac_objext conftest$ac_exeext
47402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47403   (eval $ac_link) 2>&5
47404   ac_status=$?
47405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47406   (exit $ac_status); } &&
47407          { ac_try='test -s conftest$ac_exeext'
47408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47409   (eval $ac_try) 2>&5
47410   ac_status=$?
47411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47412   (exit $ac_status); }; }; then
47413   eval "$as_ac_var=yes"
47414 else
47415   echo "$as_me: failed program was:" >&5
47416 sed 's/^/| /' conftest.$ac_ext >&5
47417
47418 eval "$as_ac_var=no"
47419 fi
47420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47421 fi
47422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47424 if test `eval echo '${'$as_ac_var'}'` = yes; then
47425   cat >>confdefs.h <<_ACEOF
47426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47427 _ACEOF
47428
47429 else
47430   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47431 fi
47432 done
47433
47434   fi
47435
47436   # XXX Review this.  Nothing uses it.
47437   if test -n "$LIBMATHOBJS"; then
47438     need_libmath=yes
47439   fi
47440
47441
47442
47443   # Test wchar.h for mbstate_t, which is needed for char_traits and
47444   # others even if wchar_t support is not on.
47445   echo "$as_me:$LINENO: checking for mbstate_t" >&5
47446 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47447   cat >conftest.$ac_ext <<_ACEOF
47448 #line $LINENO "configure"
47449 /* confdefs.h.  */
47450 _ACEOF
47451 cat confdefs.h >>conftest.$ac_ext
47452 cat >>conftest.$ac_ext <<_ACEOF
47453 /* end confdefs.h.  */
47454 #include <wchar.h>
47455 int
47456 main ()
47457 {
47458 mbstate_t teststate;
47459   ;
47460   return 0;
47461 }
47462 _ACEOF
47463 rm -f conftest.$ac_objext
47464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47465   (eval $ac_compile) 2>&5
47466   ac_status=$?
47467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47468   (exit $ac_status); } &&
47469          { ac_try='test -s conftest.$ac_objext'
47470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47471   (eval $ac_try) 2>&5
47472   ac_status=$?
47473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47474   (exit $ac_status); }; }; then
47475   have_mbstate_t=yes
47476 else
47477   echo "$as_me: failed program was:" >&5
47478 sed 's/^/| /' conftest.$ac_ext >&5
47479
47480 have_mbstate_t=no
47481 fi
47482 rm -f conftest.$ac_objext conftest.$ac_ext
47483   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47484 echo "${ECHO_T}$have_mbstate_t" >&6
47485   if test x"$have_mbstate_t" = xyes; then
47486     cat >>confdefs.h <<\_ACEOF
47487 #define HAVE_MBSTATE_T 1
47488 _ACEOF
47489
47490   fi
47491
47492   # Sanity check for existence of ISO C99 headers for extended encoding.
47493
47494 for ac_header in wchar.h
47495 do
47496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47498   echo "$as_me:$LINENO: checking for $ac_header" >&5
47499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47501   echo $ECHO_N "(cached) $ECHO_C" >&6
47502 fi
47503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47505 else
47506   # Is the header compilable?
47507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47509 cat >conftest.$ac_ext <<_ACEOF
47510 #line $LINENO "configure"
47511 /* confdefs.h.  */
47512 _ACEOF
47513 cat confdefs.h >>conftest.$ac_ext
47514 cat >>conftest.$ac_ext <<_ACEOF
47515 /* end confdefs.h.  */
47516 $ac_includes_default
47517 #include <$ac_header>
47518 _ACEOF
47519 rm -f conftest.$ac_objext
47520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47521   (eval $ac_compile) 2>&5
47522   ac_status=$?
47523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524   (exit $ac_status); } &&
47525          { ac_try='test -s conftest.$ac_objext'
47526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47527   (eval $ac_try) 2>&5
47528   ac_status=$?
47529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47530   (exit $ac_status); }; }; then
47531   ac_header_compiler=yes
47532 else
47533   echo "$as_me: failed program was:" >&5
47534 sed 's/^/| /' conftest.$ac_ext >&5
47535
47536 ac_header_compiler=no
47537 fi
47538 rm -f conftest.$ac_objext conftest.$ac_ext
47539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47540 echo "${ECHO_T}$ac_header_compiler" >&6
47541
47542 # Is the header present?
47543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47545 cat >conftest.$ac_ext <<_ACEOF
47546 #line $LINENO "configure"
47547 /* confdefs.h.  */
47548 _ACEOF
47549 cat confdefs.h >>conftest.$ac_ext
47550 cat >>conftest.$ac_ext <<_ACEOF
47551 /* end confdefs.h.  */
47552 #include <$ac_header>
47553 _ACEOF
47554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47555   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47556   ac_status=$?
47557   grep -v '^ *+' conftest.er1 >conftest.err
47558   rm -f conftest.er1
47559   cat conftest.err >&5
47560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47561   (exit $ac_status); } >/dev/null; then
47562   if test -s conftest.err; then
47563     ac_cpp_err=$ac_c_preproc_warn_flag
47564   else
47565     ac_cpp_err=
47566   fi
47567 else
47568   ac_cpp_err=yes
47569 fi
47570 if test -z "$ac_cpp_err"; then
47571   ac_header_preproc=yes
47572 else
47573   echo "$as_me: failed program was:" >&5
47574 sed 's/^/| /' conftest.$ac_ext >&5
47575
47576   ac_header_preproc=no
47577 fi
47578 rm -f conftest.err conftest.$ac_ext
47579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47580 echo "${ECHO_T}$ac_header_preproc" >&6
47581
47582 # So?  What about this header?
47583 case $ac_header_compiler:$ac_header_preproc in
47584   yes:no )
47585     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47587     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47589     (
47590       cat <<\_ASBOX
47591 ## ------------------------------------ ##
47592 ## Report this to bug-autoconf@gnu.org. ##
47593 ## ------------------------------------ ##
47594 _ASBOX
47595     ) |
47596       sed "s/^/$as_me: WARNING:     /" >&2
47597     ;;
47598   no:yes )
47599     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47601     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47603     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47605     (
47606       cat <<\_ASBOX
47607 ## ------------------------------------ ##
47608 ## Report this to bug-autoconf@gnu.org. ##
47609 ## ------------------------------------ ##
47610 _ASBOX
47611     ) |
47612       sed "s/^/$as_me: WARNING:     /" >&2
47613     ;;
47614 esac
47615 echo "$as_me:$LINENO: checking for $ac_header" >&5
47616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47618   echo $ECHO_N "(cached) $ECHO_C" >&6
47619 else
47620   eval "$as_ac_Header=$ac_header_preproc"
47621 fi
47622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47624
47625 fi
47626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47627   cat >>confdefs.h <<_ACEOF
47628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47629 _ACEOF
47630  ac_has_wchar_h=yes
47631 else
47632   ac_has_wchar_h=no
47633 fi
47634
47635 done
47636
47637
47638 for ac_header in wctype.h
47639 do
47640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47642   echo "$as_me:$LINENO: checking for $ac_header" >&5
47643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47645   echo $ECHO_N "(cached) $ECHO_C" >&6
47646 fi
47647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47649 else
47650   # Is the header compilable?
47651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47653 cat >conftest.$ac_ext <<_ACEOF
47654 #line $LINENO "configure"
47655 /* confdefs.h.  */
47656 _ACEOF
47657 cat confdefs.h >>conftest.$ac_ext
47658 cat >>conftest.$ac_ext <<_ACEOF
47659 /* end confdefs.h.  */
47660 $ac_includes_default
47661 #include <$ac_header>
47662 _ACEOF
47663 rm -f conftest.$ac_objext
47664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47665   (eval $ac_compile) 2>&5
47666   ac_status=$?
47667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668   (exit $ac_status); } &&
47669          { ac_try='test -s conftest.$ac_objext'
47670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47671   (eval $ac_try) 2>&5
47672   ac_status=$?
47673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47674   (exit $ac_status); }; }; then
47675   ac_header_compiler=yes
47676 else
47677   echo "$as_me: failed program was:" >&5
47678 sed 's/^/| /' conftest.$ac_ext >&5
47679
47680 ac_header_compiler=no
47681 fi
47682 rm -f conftest.$ac_objext conftest.$ac_ext
47683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47684 echo "${ECHO_T}$ac_header_compiler" >&6
47685
47686 # Is the header present?
47687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47689 cat >conftest.$ac_ext <<_ACEOF
47690 #line $LINENO "configure"
47691 /* confdefs.h.  */
47692 _ACEOF
47693 cat confdefs.h >>conftest.$ac_ext
47694 cat >>conftest.$ac_ext <<_ACEOF
47695 /* end confdefs.h.  */
47696 #include <$ac_header>
47697 _ACEOF
47698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47699   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47700   ac_status=$?
47701   grep -v '^ *+' conftest.er1 >conftest.err
47702   rm -f conftest.er1
47703   cat conftest.err >&5
47704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47705   (exit $ac_status); } >/dev/null; then
47706   if test -s conftest.err; then
47707     ac_cpp_err=$ac_c_preproc_warn_flag
47708   else
47709     ac_cpp_err=
47710   fi
47711 else
47712   ac_cpp_err=yes
47713 fi
47714 if test -z "$ac_cpp_err"; then
47715   ac_header_preproc=yes
47716 else
47717   echo "$as_me: failed program was:" >&5
47718 sed 's/^/| /' conftest.$ac_ext >&5
47719
47720   ac_header_preproc=no
47721 fi
47722 rm -f conftest.err conftest.$ac_ext
47723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47724 echo "${ECHO_T}$ac_header_preproc" >&6
47725
47726 # So?  What about this header?
47727 case $ac_header_compiler:$ac_header_preproc in
47728   yes:no )
47729     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47731     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47733     (
47734       cat <<\_ASBOX
47735 ## ------------------------------------ ##
47736 ## Report this to bug-autoconf@gnu.org. ##
47737 ## ------------------------------------ ##
47738 _ASBOX
47739     ) |
47740       sed "s/^/$as_me: WARNING:     /" >&2
47741     ;;
47742   no:yes )
47743     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47745     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47747     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47749     (
47750       cat <<\_ASBOX
47751 ## ------------------------------------ ##
47752 ## Report this to bug-autoconf@gnu.org. ##
47753 ## ------------------------------------ ##
47754 _ASBOX
47755     ) |
47756       sed "s/^/$as_me: WARNING:     /" >&2
47757     ;;
47758 esac
47759 echo "$as_me:$LINENO: checking for $ac_header" >&5
47760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47762   echo $ECHO_N "(cached) $ECHO_C" >&6
47763 else
47764   eval "$as_ac_Header=$ac_header_preproc"
47765 fi
47766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47768
47769 fi
47770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47771   cat >>confdefs.h <<_ACEOF
47772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47773 _ACEOF
47774  ac_has_wctype_h=yes
47775 else
47776   ac_has_wctype_h=no
47777 fi
47778
47779 done
47780
47781
47782   # Only continue checking if the ISO C99 headers exist and support is on.
47783   if test x"$ac_has_wchar_h" = xyes &&
47784      test x"$ac_has_wctype_h" = xyes &&
47785      test x"$enable_c_mbchar" != xno; then
47786
47787     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
47788     # numeric_limits can instantiate type_traits<wchar_t>
47789     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
47790 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
47791     cat >conftest.$ac_ext <<_ACEOF
47792 #line $LINENO "configure"
47793 /* confdefs.h.  */
47794 _ACEOF
47795 cat confdefs.h >>conftest.$ac_ext
47796 cat >>conftest.$ac_ext <<_ACEOF
47797 /* end confdefs.h.  */
47798 #include <wchar.h>
47799 int
47800 main ()
47801 {
47802 int i = WCHAR_MIN; int j = WCHAR_MAX;
47803   ;
47804   return 0;
47805 }
47806 _ACEOF
47807 rm -f conftest.$ac_objext
47808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47809   (eval $ac_compile) 2>&5
47810   ac_status=$?
47811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47812   (exit $ac_status); } &&
47813          { ac_try='test -s conftest.$ac_objext'
47814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47815   (eval $ac_try) 2>&5
47816   ac_status=$?
47817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47818   (exit $ac_status); }; }; then
47819   has_wchar_minmax=yes
47820 else
47821   echo "$as_me: failed program was:" >&5
47822 sed 's/^/| /' conftest.$ac_ext >&5
47823
47824 has_wchar_minmax=no
47825 fi
47826 rm -f conftest.$ac_objext conftest.$ac_ext
47827     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
47828 echo "${ECHO_T}$has_wchar_minmax" >&6
47829
47830     # Test wchar.h for WEOF, which is what we use to determine whether
47831     # to specialize for char_traits<wchar_t> or not.
47832     echo "$as_me:$LINENO: checking for WEOF" >&5
47833 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
47834     cat >conftest.$ac_ext <<_ACEOF
47835 #line $LINENO "configure"
47836 /* confdefs.h.  */
47837 _ACEOF
47838 cat confdefs.h >>conftest.$ac_ext
47839 cat >>conftest.$ac_ext <<_ACEOF
47840 /* end confdefs.h.  */
47841
47842       #include <wchar.h>
47843       #include <stddef.h>
47844 int
47845 main ()
47846 {
47847 wint_t i = WEOF;
47848   ;
47849   return 0;
47850 }
47851 _ACEOF
47852 rm -f conftest.$ac_objext
47853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47854   (eval $ac_compile) 2>&5
47855   ac_status=$?
47856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47857   (exit $ac_status); } &&
47858          { ac_try='test -s conftest.$ac_objext'
47859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47860   (eval $ac_try) 2>&5
47861   ac_status=$?
47862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47863   (exit $ac_status); }; }; then
47864   has_weof=yes
47865 else
47866   echo "$as_me: failed program was:" >&5
47867 sed 's/^/| /' conftest.$ac_ext >&5
47868
47869 has_weof=no
47870 fi
47871 rm -f conftest.$ac_objext conftest.$ac_ext
47872     echo "$as_me:$LINENO: result: $has_weof" >&5
47873 echo "${ECHO_T}$has_weof" >&6
47874
47875     # Tests for wide character functions used in char_traits<wchar_t>.
47876     ac_wfuncs=yes
47877
47878
47879
47880
47881
47882
47883 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
47884 do
47885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47886 echo "$as_me:$LINENO: checking for $ac_func" >&5
47887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47888 if eval "test \"\${$as_ac_var+set}\" = set"; then
47889   echo $ECHO_N "(cached) $ECHO_C" >&6
47890 else
47891   if test x$gcc_no_link = xyes; then
47892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47894    { (exit 1); exit 1; }; }
47895 fi
47896 cat >conftest.$ac_ext <<_ACEOF
47897 #line $LINENO "configure"
47898 /* confdefs.h.  */
47899 _ACEOF
47900 cat confdefs.h >>conftest.$ac_ext
47901 cat >>conftest.$ac_ext <<_ACEOF
47902 /* end confdefs.h.  */
47903 /* System header to define __stub macros and hopefully few prototypes,
47904     which can conflict with char $ac_func (); below.
47905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47906     <limits.h> exists even on freestanding compilers.  */
47907 #ifdef __STDC__
47908 # include <limits.h>
47909 #else
47910 # include <assert.h>
47911 #endif
47912 /* Override any gcc2 internal prototype to avoid an error.  */
47913 #ifdef __cplusplus
47914 extern "C"
47915 {
47916 #endif
47917 /* We use char because int might match the return type of a gcc2
47918    builtin and then its argument prototype would still apply.  */
47919 char $ac_func ();
47920 /* The GNU C library defines this for functions which it implements
47921     to always fail with ENOSYS.  Some functions are actually named
47922     something starting with __ and the normal name is an alias.  */
47923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47924 choke me
47925 #else
47926 char (*f) () = $ac_func;
47927 #endif
47928 #ifdef __cplusplus
47929 }
47930 #endif
47931
47932 int
47933 main ()
47934 {
47935 return f != $ac_func;
47936   ;
47937   return 0;
47938 }
47939 _ACEOF
47940 rm -f conftest.$ac_objext conftest$ac_exeext
47941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47942   (eval $ac_link) 2>&5
47943   ac_status=$?
47944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945   (exit $ac_status); } &&
47946          { ac_try='test -s conftest$ac_exeext'
47947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47948   (eval $ac_try) 2>&5
47949   ac_status=$?
47950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47951   (exit $ac_status); }; }; then
47952   eval "$as_ac_var=yes"
47953 else
47954   echo "$as_me: failed program was:" >&5
47955 sed 's/^/| /' conftest.$ac_ext >&5
47956
47957 eval "$as_ac_var=no"
47958 fi
47959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47960 fi
47961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47963 if test `eval echo '${'$as_ac_var'}'` = yes; then
47964   cat >>confdefs.h <<_ACEOF
47965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47966 _ACEOF
47967
47968 else
47969   ac_wfuncs=no
47970 fi
47971 done
47972
47973
47974     # Checks for names injected into std:: by the c_std headers.
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48022     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
48023     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48024     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
48025     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48026     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48027 do
48028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48029 echo "$as_me:$LINENO: checking for $ac_func" >&5
48030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48031 if eval "test \"\${$as_ac_var+set}\" = set"; then
48032   echo $ECHO_N "(cached) $ECHO_C" >&6
48033 else
48034   if test x$gcc_no_link = xyes; then
48035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48037    { (exit 1); exit 1; }; }
48038 fi
48039 cat >conftest.$ac_ext <<_ACEOF
48040 #line $LINENO "configure"
48041 /* confdefs.h.  */
48042 _ACEOF
48043 cat confdefs.h >>conftest.$ac_ext
48044 cat >>conftest.$ac_ext <<_ACEOF
48045 /* end confdefs.h.  */
48046 /* System header to define __stub macros and hopefully few prototypes,
48047     which can conflict with char $ac_func (); below.
48048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48049     <limits.h> exists even on freestanding compilers.  */
48050 #ifdef __STDC__
48051 # include <limits.h>
48052 #else
48053 # include <assert.h>
48054 #endif
48055 /* Override any gcc2 internal prototype to avoid an error.  */
48056 #ifdef __cplusplus
48057 extern "C"
48058 {
48059 #endif
48060 /* We use char because int might match the return type of a gcc2
48061    builtin and then its argument prototype would still apply.  */
48062 char $ac_func ();
48063 /* The GNU C library defines this for functions which it implements
48064     to always fail with ENOSYS.  Some functions are actually named
48065     something starting with __ and the normal name is an alias.  */
48066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48067 choke me
48068 #else
48069 char (*f) () = $ac_func;
48070 #endif
48071 #ifdef __cplusplus
48072 }
48073 #endif
48074
48075 int
48076 main ()
48077 {
48078 return f != $ac_func;
48079   ;
48080   return 0;
48081 }
48082 _ACEOF
48083 rm -f conftest.$ac_objext conftest$ac_exeext
48084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48085   (eval $ac_link) 2>&5
48086   ac_status=$?
48087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48088   (exit $ac_status); } &&
48089          { ac_try='test -s conftest$ac_exeext'
48090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48091   (eval $ac_try) 2>&5
48092   ac_status=$?
48093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094   (exit $ac_status); }; }; then
48095   eval "$as_ac_var=yes"
48096 else
48097   echo "$as_me: failed program was:" >&5
48098 sed 's/^/| /' conftest.$ac_ext >&5
48099
48100 eval "$as_ac_var=no"
48101 fi
48102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48103 fi
48104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48106 if test `eval echo '${'$as_ac_var'}'` = yes; then
48107   cat >>confdefs.h <<_ACEOF
48108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48109 _ACEOF
48110
48111 else
48112   ac_wfuncs=no
48113 fi
48114 done
48115
48116
48117     # Checks for wide character functions that are not required
48118     # for basic wchar_t support.  Don't disable support if they are missing.
48119     # Injection of these is wrapped with guard macros.
48120
48121
48122
48123
48124
48125 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
48126 do
48127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48128 echo "$as_me:$LINENO: checking for $ac_func" >&5
48129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48130 if eval "test \"\${$as_ac_var+set}\" = set"; then
48131   echo $ECHO_N "(cached) $ECHO_C" >&6
48132 else
48133   if test x$gcc_no_link = xyes; then
48134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48136    { (exit 1); exit 1; }; }
48137 fi
48138 cat >conftest.$ac_ext <<_ACEOF
48139 #line $LINENO "configure"
48140 /* confdefs.h.  */
48141 _ACEOF
48142 cat confdefs.h >>conftest.$ac_ext
48143 cat >>conftest.$ac_ext <<_ACEOF
48144 /* end confdefs.h.  */
48145 /* System header to define __stub macros and hopefully few prototypes,
48146     which can conflict with char $ac_func (); below.
48147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48148     <limits.h> exists even on freestanding compilers.  */
48149 #ifdef __STDC__
48150 # include <limits.h>
48151 #else
48152 # include <assert.h>
48153 #endif
48154 /* Override any gcc2 internal prototype to avoid an error.  */
48155 #ifdef __cplusplus
48156 extern "C"
48157 {
48158 #endif
48159 /* We use char because int might match the return type of a gcc2
48160    builtin and then its argument prototype would still apply.  */
48161 char $ac_func ();
48162 /* The GNU C library defines this for functions which it implements
48163     to always fail with ENOSYS.  Some functions are actually named
48164     something starting with __ and the normal name is an alias.  */
48165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48166 choke me
48167 #else
48168 char (*f) () = $ac_func;
48169 #endif
48170 #ifdef __cplusplus
48171 }
48172 #endif
48173
48174 int
48175 main ()
48176 {
48177 return f != $ac_func;
48178   ;
48179   return 0;
48180 }
48181 _ACEOF
48182 rm -f conftest.$ac_objext conftest$ac_exeext
48183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48184   (eval $ac_link) 2>&5
48185   ac_status=$?
48186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48187   (exit $ac_status); } &&
48188          { ac_try='test -s conftest$ac_exeext'
48189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48190   (eval $ac_try) 2>&5
48191   ac_status=$?
48192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48193   (exit $ac_status); }; }; then
48194   eval "$as_ac_var=yes"
48195 else
48196   echo "$as_me: failed program was:" >&5
48197 sed 's/^/| /' conftest.$ac_ext >&5
48198
48199 eval "$as_ac_var=no"
48200 fi
48201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48202 fi
48203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48205 if test `eval echo '${'$as_ac_var'}'` = yes; then
48206   cat >>confdefs.h <<_ACEOF
48207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48208 _ACEOF
48209
48210 fi
48211 done
48212
48213
48214     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48215 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48216     if test x"$has_weof" = xyes &&
48217        test x"$has_wchar_minmax" = xyes &&
48218        test x"$ac_wfuncs" = xyes;
48219     then
48220       ac_isoC99_wchar_t=yes
48221     else
48222       ac_isoC99_wchar_t=no
48223     fi
48224     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48225 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48226
48227     # Use iconv for wchar_t to char conversions. As such, check for
48228     # X/Open Portability Guide, version 2 features (XPG2).
48229     if test "${ac_cv_header_iconv_h+set}" = set; then
48230   echo "$as_me:$LINENO: checking for iconv.h" >&5
48231 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48232 if test "${ac_cv_header_iconv_h+set}" = set; then
48233   echo $ECHO_N "(cached) $ECHO_C" >&6
48234 fi
48235 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48236 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48237 else
48238   # Is the header compilable?
48239 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48240 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48241 cat >conftest.$ac_ext <<_ACEOF
48242 #line $LINENO "configure"
48243 /* confdefs.h.  */
48244 _ACEOF
48245 cat confdefs.h >>conftest.$ac_ext
48246 cat >>conftest.$ac_ext <<_ACEOF
48247 /* end confdefs.h.  */
48248 $ac_includes_default
48249 #include <iconv.h>
48250 _ACEOF
48251 rm -f conftest.$ac_objext
48252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48253   (eval $ac_compile) 2>&5
48254   ac_status=$?
48255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48256   (exit $ac_status); } &&
48257          { ac_try='test -s conftest.$ac_objext'
48258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259   (eval $ac_try) 2>&5
48260   ac_status=$?
48261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262   (exit $ac_status); }; }; then
48263   ac_header_compiler=yes
48264 else
48265   echo "$as_me: failed program was:" >&5
48266 sed 's/^/| /' conftest.$ac_ext >&5
48267
48268 ac_header_compiler=no
48269 fi
48270 rm -f conftest.$ac_objext conftest.$ac_ext
48271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48272 echo "${ECHO_T}$ac_header_compiler" >&6
48273
48274 # Is the header present?
48275 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48276 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48277 cat >conftest.$ac_ext <<_ACEOF
48278 #line $LINENO "configure"
48279 /* confdefs.h.  */
48280 _ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h.  */
48284 #include <iconv.h>
48285 _ACEOF
48286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48287   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48288   ac_status=$?
48289   grep -v '^ *+' conftest.er1 >conftest.err
48290   rm -f conftest.er1
48291   cat conftest.err >&5
48292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48293   (exit $ac_status); } >/dev/null; then
48294   if test -s conftest.err; then
48295     ac_cpp_err=$ac_c_preproc_warn_flag
48296   else
48297     ac_cpp_err=
48298   fi
48299 else
48300   ac_cpp_err=yes
48301 fi
48302 if test -z "$ac_cpp_err"; then
48303   ac_header_preproc=yes
48304 else
48305   echo "$as_me: failed program was:" >&5
48306 sed 's/^/| /' conftest.$ac_ext >&5
48307
48308   ac_header_preproc=no
48309 fi
48310 rm -f conftest.err conftest.$ac_ext
48311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48312 echo "${ECHO_T}$ac_header_preproc" >&6
48313
48314 # So?  What about this header?
48315 case $ac_header_compiler:$ac_header_preproc in
48316   yes:no )
48317     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48318 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48319     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48320 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48321     (
48322       cat <<\_ASBOX
48323 ## ------------------------------------ ##
48324 ## Report this to bug-autoconf@gnu.org. ##
48325 ## ------------------------------------ ##
48326 _ASBOX
48327     ) |
48328       sed "s/^/$as_me: WARNING:     /" >&2
48329     ;;
48330   no:yes )
48331     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48332 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48333     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48334 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48335     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48336 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48337     (
48338       cat <<\_ASBOX
48339 ## ------------------------------------ ##
48340 ## Report this to bug-autoconf@gnu.org. ##
48341 ## ------------------------------------ ##
48342 _ASBOX
48343     ) |
48344       sed "s/^/$as_me: WARNING:     /" >&2
48345     ;;
48346 esac
48347 echo "$as_me:$LINENO: checking for iconv.h" >&5
48348 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48349 if test "${ac_cv_header_iconv_h+set}" = set; then
48350   echo $ECHO_N "(cached) $ECHO_C" >&6
48351 else
48352   ac_cv_header_iconv_h=$ac_header_preproc
48353 fi
48354 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48355 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48356
48357 fi
48358 if test $ac_cv_header_iconv_h = yes; then
48359   ac_has_iconv_h=yes
48360 else
48361   ac_has_iconv_h=no
48362 fi
48363
48364
48365     if test "${ac_cv_header_langinfo_h+set}" = set; then
48366   echo "$as_me:$LINENO: checking for langinfo.h" >&5
48367 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48368 if test "${ac_cv_header_langinfo_h+set}" = set; then
48369   echo $ECHO_N "(cached) $ECHO_C" >&6
48370 fi
48371 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48372 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48373 else
48374   # Is the header compilable?
48375 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48376 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48377 cat >conftest.$ac_ext <<_ACEOF
48378 #line $LINENO "configure"
48379 /* confdefs.h.  */
48380 _ACEOF
48381 cat confdefs.h >>conftest.$ac_ext
48382 cat >>conftest.$ac_ext <<_ACEOF
48383 /* end confdefs.h.  */
48384 $ac_includes_default
48385 #include <langinfo.h>
48386 _ACEOF
48387 rm -f conftest.$ac_objext
48388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48389   (eval $ac_compile) 2>&5
48390   ac_status=$?
48391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392   (exit $ac_status); } &&
48393          { ac_try='test -s conftest.$ac_objext'
48394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48395   (eval $ac_try) 2>&5
48396   ac_status=$?
48397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48398   (exit $ac_status); }; }; then
48399   ac_header_compiler=yes
48400 else
48401   echo "$as_me: failed program was:" >&5
48402 sed 's/^/| /' conftest.$ac_ext >&5
48403
48404 ac_header_compiler=no
48405 fi
48406 rm -f conftest.$ac_objext conftest.$ac_ext
48407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48408 echo "${ECHO_T}$ac_header_compiler" >&6
48409
48410 # Is the header present?
48411 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48412 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48413 cat >conftest.$ac_ext <<_ACEOF
48414 #line $LINENO "configure"
48415 /* confdefs.h.  */
48416 _ACEOF
48417 cat confdefs.h >>conftest.$ac_ext
48418 cat >>conftest.$ac_ext <<_ACEOF
48419 /* end confdefs.h.  */
48420 #include <langinfo.h>
48421 _ACEOF
48422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48423   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48424   ac_status=$?
48425   grep -v '^ *+' conftest.er1 >conftest.err
48426   rm -f conftest.er1
48427   cat conftest.err >&5
48428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48429   (exit $ac_status); } >/dev/null; then
48430   if test -s conftest.err; then
48431     ac_cpp_err=$ac_c_preproc_warn_flag
48432   else
48433     ac_cpp_err=
48434   fi
48435 else
48436   ac_cpp_err=yes
48437 fi
48438 if test -z "$ac_cpp_err"; then
48439   ac_header_preproc=yes
48440 else
48441   echo "$as_me: failed program was:" >&5
48442 sed 's/^/| /' conftest.$ac_ext >&5
48443
48444   ac_header_preproc=no
48445 fi
48446 rm -f conftest.err conftest.$ac_ext
48447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48448 echo "${ECHO_T}$ac_header_preproc" >&6
48449
48450 # So?  What about this header?
48451 case $ac_header_compiler:$ac_header_preproc in
48452   yes:no )
48453     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48454 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48455     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48456 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48457     (
48458       cat <<\_ASBOX
48459 ## ------------------------------------ ##
48460 ## Report this to bug-autoconf@gnu.org. ##
48461 ## ------------------------------------ ##
48462 _ASBOX
48463     ) |
48464       sed "s/^/$as_me: WARNING:     /" >&2
48465     ;;
48466   no:yes )
48467     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48468 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48469     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48470 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48471     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48472 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48473     (
48474       cat <<\_ASBOX
48475 ## ------------------------------------ ##
48476 ## Report this to bug-autoconf@gnu.org. ##
48477 ## ------------------------------------ ##
48478 _ASBOX
48479     ) |
48480       sed "s/^/$as_me: WARNING:     /" >&2
48481     ;;
48482 esac
48483 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48484 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48485 if test "${ac_cv_header_langinfo_h+set}" = set; then
48486   echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488   ac_cv_header_langinfo_h=$ac_header_preproc
48489 fi
48490 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48491 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48492
48493 fi
48494 if test $ac_cv_header_langinfo_h = yes; then
48495   ac_has_langinfo_h=yes
48496 else
48497   ac_has_langinfo_h=no
48498 fi
48499
48500
48501
48502     # Check for existence of libiconv.a providing XPG2 wchar_t support.
48503     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48504 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48505 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48506   echo $ECHO_N "(cached) $ECHO_C" >&6
48507 else
48508   ac_check_lib_save_LIBS=$LIBS
48509 LIBS="-liconv  $LIBS"
48510 if test x$gcc_no_link = xyes; then
48511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48513    { (exit 1); exit 1; }; }
48514 fi
48515 cat >conftest.$ac_ext <<_ACEOF
48516 #line $LINENO "configure"
48517 /* confdefs.h.  */
48518 _ACEOF
48519 cat confdefs.h >>conftest.$ac_ext
48520 cat >>conftest.$ac_ext <<_ACEOF
48521 /* end confdefs.h.  */
48522
48523 /* Override any gcc2 internal prototype to avoid an error.  */
48524 #ifdef __cplusplus
48525 extern "C"
48526 #endif
48527 /* We use char because int might match the return type of a gcc2
48528    builtin and then its argument prototype would still apply.  */
48529 char iconv ();
48530 int
48531 main ()
48532 {
48533 iconv ();
48534   ;
48535   return 0;
48536 }
48537 _ACEOF
48538 rm -f conftest.$ac_objext conftest$ac_exeext
48539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48540   (eval $ac_link) 2>&5
48541   ac_status=$?
48542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48543   (exit $ac_status); } &&
48544          { ac_try='test -s conftest$ac_exeext'
48545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48546   (eval $ac_try) 2>&5
48547   ac_status=$?
48548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48549   (exit $ac_status); }; }; then
48550   ac_cv_lib_iconv_iconv=yes
48551 else
48552   echo "$as_me: failed program was:" >&5
48553 sed 's/^/| /' conftest.$ac_ext >&5
48554
48555 ac_cv_lib_iconv_iconv=no
48556 fi
48557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48558 LIBS=$ac_check_lib_save_LIBS
48559 fi
48560 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48561 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48562 if test $ac_cv_lib_iconv_iconv = yes; then
48563   libiconv="-liconv"
48564 fi
48565
48566     ac_save_LIBS="$LIBS"
48567     LIBS="$LIBS $libiconv"
48568
48569
48570
48571
48572
48573 for ac_func in iconv_open iconv_close iconv nl_langinfo
48574 do
48575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48576 echo "$as_me:$LINENO: checking for $ac_func" >&5
48577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48578 if eval "test \"\${$as_ac_var+set}\" = set"; then
48579   echo $ECHO_N "(cached) $ECHO_C" >&6
48580 else
48581   if test x$gcc_no_link = xyes; then
48582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48584    { (exit 1); exit 1; }; }
48585 fi
48586 cat >conftest.$ac_ext <<_ACEOF
48587 #line $LINENO "configure"
48588 /* confdefs.h.  */
48589 _ACEOF
48590 cat confdefs.h >>conftest.$ac_ext
48591 cat >>conftest.$ac_ext <<_ACEOF
48592 /* end confdefs.h.  */
48593 /* System header to define __stub macros and hopefully few prototypes,
48594     which can conflict with char $ac_func (); below.
48595     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48596     <limits.h> exists even on freestanding compilers.  */
48597 #ifdef __STDC__
48598 # include <limits.h>
48599 #else
48600 # include <assert.h>
48601 #endif
48602 /* Override any gcc2 internal prototype to avoid an error.  */
48603 #ifdef __cplusplus
48604 extern "C"
48605 {
48606 #endif
48607 /* We use char because int might match the return type of a gcc2
48608    builtin and then its argument prototype would still apply.  */
48609 char $ac_func ();
48610 /* The GNU C library defines this for functions which it implements
48611     to always fail with ENOSYS.  Some functions are actually named
48612     something starting with __ and the normal name is an alias.  */
48613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48614 choke me
48615 #else
48616 char (*f) () = $ac_func;
48617 #endif
48618 #ifdef __cplusplus
48619 }
48620 #endif
48621
48622 int
48623 main ()
48624 {
48625 return f != $ac_func;
48626   ;
48627   return 0;
48628 }
48629 _ACEOF
48630 rm -f conftest.$ac_objext conftest$ac_exeext
48631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48632   (eval $ac_link) 2>&5
48633   ac_status=$?
48634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635   (exit $ac_status); } &&
48636          { ac_try='test -s conftest$ac_exeext'
48637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48638   (eval $ac_try) 2>&5
48639   ac_status=$?
48640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641   (exit $ac_status); }; }; then
48642   eval "$as_ac_var=yes"
48643 else
48644   echo "$as_me: failed program was:" >&5
48645 sed 's/^/| /' conftest.$ac_ext >&5
48646
48647 eval "$as_ac_var=no"
48648 fi
48649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48650 fi
48651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48653 if test `eval echo '${'$as_ac_var'}'` = yes; then
48654   cat >>confdefs.h <<_ACEOF
48655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48656 _ACEOF
48657  ac_XPG2funcs=yes
48658 else
48659   ac_XPG2funcs=no
48660 fi
48661 done
48662
48663
48664     LIBS="$ac_save_LIBS"
48665
48666     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48667 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48668     if test x"$ac_has_iconv_h" = xyes &&
48669        test x"$ac_has_langinfo_h" = xyes &&
48670        test x"$ac_XPG2funcs" = xyes;
48671     then
48672       ac_XPG2_wchar_t=yes
48673     else
48674       ac_XPG2_wchar_t=no
48675     fi
48676     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48677 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48678
48679     # At the moment, only enable wchar_t specializations if all the
48680     # above support is present.
48681     if test x"$ac_isoC99_wchar_t" = xyes &&
48682        test x"$ac_XPG2_wchar_t" = xyes;
48683     then
48684       cat >>confdefs.h <<\_ACEOF
48685 #define _GLIBCXX_USE_WCHAR_T 1
48686 _ACEOF
48687
48688       enable_wchar_t=yes
48689     fi
48690   fi
48691   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
48692 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
48693   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
48694 echo "${ECHO_T}$enable_wchar_t" >&6
48695
48696     cat >>confdefs.h <<\_ACEOF
48697 #define HAVE_LC_MESSAGES 1
48698 _ACEOF
48699
48700     cat >>confdefs.h <<\_ACEOF
48701 #define HAVE_GETPAGESIZE 1
48702 _ACEOF
48703
48704     cat >>confdefs.h <<\_ACEOF
48705 #define HAVE_SETENV 1
48706 _ACEOF
48707
48708     cat >>confdefs.h <<\_ACEOF
48709 #define HAVE_SIGSETJMP 1
48710 _ACEOF
48711
48712     cat >>confdefs.h <<\_ACEOF
48713 #define HAVE_COPYSIGN 1
48714 _ACEOF
48715
48716     cat >>confdefs.h <<\_ACEOF
48717 #define HAVE_COPYSIGNF 1
48718 _ACEOF
48719
48720     cat >>confdefs.h <<\_ACEOF
48721 #define HAVE_FINITEF 1
48722 _ACEOF
48723
48724     cat >>confdefs.h <<\_ACEOF
48725 #define HAVE_FINITE 1
48726 _ACEOF
48727
48728     cat >>confdefs.h <<\_ACEOF
48729 #define HAVE_FREXPF 1
48730 _ACEOF
48731
48732     cat >>confdefs.h <<\_ACEOF
48733 #define HAVE_HYPOT 1
48734 _ACEOF
48735
48736     cat >>confdefs.h <<\_ACEOF
48737 #define HAVE_HYPOTF 1
48738 _ACEOF
48739
48740     cat >>confdefs.h <<\_ACEOF
48741 #define HAVE_ISINF 1
48742 _ACEOF
48743
48744     cat >>confdefs.h <<\_ACEOF
48745 #define HAVE_ISNAN 1
48746 _ACEOF
48747
48748     cat >>confdefs.h <<\_ACEOF
48749 #define HAVE_ISNANF 1
48750 _ACEOF
48751
48752
48753     cat >>confdefs.h <<\_ACEOF
48754 #define HAVE_MMAP 1
48755 _ACEOF
48756
48757     cat >>confdefs.h <<\_ACEOF
48758 #define HAVE_ACOSF 1
48759 _ACEOF
48760
48761     cat >>confdefs.h <<\_ACEOF
48762 #define HAVE_ASINF 1
48763 _ACEOF
48764
48765     cat >>confdefs.h <<\_ACEOF
48766 #define HAVE_ATAN2F 1
48767 _ACEOF
48768
48769     cat >>confdefs.h <<\_ACEOF
48770 #define HAVE_ATANF 1
48771 _ACEOF
48772
48773     cat >>confdefs.h <<\_ACEOF
48774 #define HAVE_CEILF 1
48775 _ACEOF
48776
48777     cat >>confdefs.h <<\_ACEOF
48778 #define HAVE_COPYSIGN 1
48779 _ACEOF
48780
48781     cat >>confdefs.h <<\_ACEOF
48782 #define HAVE_COPYSIGNF 1
48783 _ACEOF
48784
48785     cat >>confdefs.h <<\_ACEOF
48786 #define HAVE_COSF 1
48787 _ACEOF
48788
48789     cat >>confdefs.h <<\_ACEOF
48790 #define HAVE_COSHF 1
48791 _ACEOF
48792
48793     cat >>confdefs.h <<\_ACEOF
48794 #define HAVE_EXPF 1
48795 _ACEOF
48796
48797     cat >>confdefs.h <<\_ACEOF
48798 #define HAVE_FABSF 1
48799 _ACEOF
48800
48801     cat >>confdefs.h <<\_ACEOF
48802 #define HAVE_FLOORF 1
48803 _ACEOF
48804
48805     cat >>confdefs.h <<\_ACEOF
48806 #define HAVE_FMODF 1
48807 _ACEOF
48808
48809     cat >>confdefs.h <<\_ACEOF
48810 #define HAVE_FREXPF 1
48811 _ACEOF
48812
48813     cat >>confdefs.h <<\_ACEOF
48814 #define HAVE_LDEXPF 1
48815 _ACEOF
48816
48817     cat >>confdefs.h <<\_ACEOF
48818 #define HAVE_LOG10F 1
48819 _ACEOF
48820
48821     cat >>confdefs.h <<\_ACEOF
48822 #define HAVE_LOGF 1
48823 _ACEOF
48824
48825     cat >>confdefs.h <<\_ACEOF
48826 #define HAVE_MODFF 1
48827 _ACEOF
48828
48829     cat >>confdefs.h <<\_ACEOF
48830 #define HAVE_POWF 1
48831 _ACEOF
48832
48833     cat >>confdefs.h <<\_ACEOF
48834 #define HAVE_SINF 1
48835 _ACEOF
48836
48837     cat >>confdefs.h <<\_ACEOF
48838 #define HAVE_SINHF 1
48839 _ACEOF
48840
48841     cat >>confdefs.h <<\_ACEOF
48842 #define HAVE_SQRTF 1
48843 _ACEOF
48844
48845     cat >>confdefs.h <<\_ACEOF
48846 #define HAVE_TANF 1
48847 _ACEOF
48848
48849     cat >>confdefs.h <<\_ACEOF
48850 #define HAVE_TANHF 1
48851 _ACEOF
48852
48853     if test x"long_double_math_on_this_cpu" = x"yes"; then
48854       cat >>confdefs.h <<\_ACEOF
48855 #define HAVE_FINITEL 1
48856 _ACEOF
48857
48858       cat >>confdefs.h <<\_ACEOF
48859 #define HAVE_ISINFL 1
48860 _ACEOF
48861
48862       cat >>confdefs.h <<\_ACEOF
48863 #define HAVE_ISNANL 1
48864 _ACEOF
48865
48866     fi
48867     ;;
48868   *-hpux*)
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
48882       machine/endian.h machine/param.h sys/machine.h sys/types.h \
48883       fp.h locale.h float.h inttypes.h
48884 do
48885 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48887   echo "$as_me:$LINENO: checking for $ac_header" >&5
48888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48890   echo $ECHO_N "(cached) $ECHO_C" >&6
48891 fi
48892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48894 else
48895   # Is the header compilable?
48896 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48897 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48898 cat >conftest.$ac_ext <<_ACEOF
48899 #line $LINENO "configure"
48900 /* confdefs.h.  */
48901 _ACEOF
48902 cat confdefs.h >>conftest.$ac_ext
48903 cat >>conftest.$ac_ext <<_ACEOF
48904 /* end confdefs.h.  */
48905 $ac_includes_default
48906 #include <$ac_header>
48907 _ACEOF
48908 rm -f conftest.$ac_objext
48909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48910   (eval $ac_compile) 2>&5
48911   ac_status=$?
48912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48913   (exit $ac_status); } &&
48914          { ac_try='test -s conftest.$ac_objext'
48915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48916   (eval $ac_try) 2>&5
48917   ac_status=$?
48918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919   (exit $ac_status); }; }; then
48920   ac_header_compiler=yes
48921 else
48922   echo "$as_me: failed program was:" >&5
48923 sed 's/^/| /' conftest.$ac_ext >&5
48924
48925 ac_header_compiler=no
48926 fi
48927 rm -f conftest.$ac_objext conftest.$ac_ext
48928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48929 echo "${ECHO_T}$ac_header_compiler" >&6
48930
48931 # Is the header present?
48932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48934 cat >conftest.$ac_ext <<_ACEOF
48935 #line $LINENO "configure"
48936 /* confdefs.h.  */
48937 _ACEOF
48938 cat confdefs.h >>conftest.$ac_ext
48939 cat >>conftest.$ac_ext <<_ACEOF
48940 /* end confdefs.h.  */
48941 #include <$ac_header>
48942 _ACEOF
48943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48944   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48945   ac_status=$?
48946   grep -v '^ *+' conftest.er1 >conftest.err
48947   rm -f conftest.er1
48948   cat conftest.err >&5
48949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950   (exit $ac_status); } >/dev/null; then
48951   if test -s conftest.err; then
48952     ac_cpp_err=$ac_c_preproc_warn_flag
48953   else
48954     ac_cpp_err=
48955   fi
48956 else
48957   ac_cpp_err=yes
48958 fi
48959 if test -z "$ac_cpp_err"; then
48960   ac_header_preproc=yes
48961 else
48962   echo "$as_me: failed program was:" >&5
48963 sed 's/^/| /' conftest.$ac_ext >&5
48964
48965   ac_header_preproc=no
48966 fi
48967 rm -f conftest.err conftest.$ac_ext
48968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48969 echo "${ECHO_T}$ac_header_preproc" >&6
48970
48971 # So?  What about this header?
48972 case $ac_header_compiler:$ac_header_preproc in
48973   yes:no )
48974     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48976     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48978     (
48979       cat <<\_ASBOX
48980 ## ------------------------------------ ##
48981 ## Report this to bug-autoconf@gnu.org. ##
48982 ## ------------------------------------ ##
48983 _ASBOX
48984     ) |
48985       sed "s/^/$as_me: WARNING:     /" >&2
48986     ;;
48987   no:yes )
48988     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48990     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48992     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48994     (
48995       cat <<\_ASBOX
48996 ## ------------------------------------ ##
48997 ## Report this to bug-autoconf@gnu.org. ##
48998 ## ------------------------------------ ##
48999 _ASBOX
49000     ) |
49001       sed "s/^/$as_me: WARNING:     /" >&2
49002     ;;
49003 esac
49004 echo "$as_me:$LINENO: checking for $ac_header" >&5
49005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49007   echo $ECHO_N "(cached) $ECHO_C" >&6
49008 else
49009   eval "$as_ac_Header=$ac_header_preproc"
49010 fi
49011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49013
49014 fi
49015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49016   cat >>confdefs.h <<_ACEOF
49017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49018 _ACEOF
49019
49020 fi
49021
49022 done
49023
49024     SECTION_FLAGS='-ffunction-sections -fdata-sections'
49025
49026
49027   # If we're not using GNU ld, then there's no point in even trying these
49028   # tests.  Check for that first.  We should have already tested for gld
49029   # by now (in libtool), but require it now just to be safe...
49030   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49031   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49032
49033
49034
49035   # The name set by libtool depends on the version of libtool.  Shame on us
49036   # for depending on an impl detail, but c'est la vie.  Older versions used
49037   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49038   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49039   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
49040   # set (hence we're using an older libtool), then set it.
49041   if test x${with_gnu_ld+set} != xset; then
49042     if test x${ac_cv_prog_gnu_ld+set} != xset; then
49043       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
49044       with_gnu_ld=no
49045     else
49046       with_gnu_ld=$ac_cv_prog_gnu_ld
49047     fi
49048   fi
49049
49050   # Start by getting the version number.  I think the libtool test already
49051   # does some of this, but throws away the result.
49052
49053   ldver=`$LD --version 2>/dev/null | head -1 | \
49054          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49055
49056   glibcxx_gnu_ld_version=`echo $ldver | \
49057          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49058
49059   # Set --gc-sections.
49060   if test "$with_gnu_ld" = "notbroken"; then
49061     # GNU ld it is!  Joy and bunny rabbits!
49062
49063     # All these tests are for C++; save the language and the compiler flags.
49064     # Need to do this so that g++ won't try to link in libstdc++
49065     ac_test_CFLAGS="${CFLAGS+set}"
49066     ac_save_CFLAGS="$CFLAGS"
49067     CFLAGS='-x c++  -Wl,--gc-sections'
49068
49069     # Check for -Wl,--gc-sections
49070     # XXX This test is broken at the moment, as symbols required for linking
49071     # are now in libsupc++ (not built yet).  In addition, this test has
49072     # cored on solaris in the past.  In addition, --gc-sections doesn't
49073     # really work at the moment (keeps on discarding used sections, first
49074     # .eh_frame and now some of the glibc sections for iconv).
49075     # Bzzzzt.  Thanks for playing, maybe next time.
49076     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49077 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49078     if test "$cross_compiling" = yes; then
49079   ac_sectionLDflags=yes
49080 else
49081   cat >conftest.$ac_ext <<_ACEOF
49082 #line $LINENO "configure"
49083 /* confdefs.h.  */
49084 _ACEOF
49085 cat confdefs.h >>conftest.$ac_ext
49086 cat >>conftest.$ac_ext <<_ACEOF
49087 /* end confdefs.h.  */
49088
49089      int main(void)
49090      {
49091        try { throw 1; }
49092        catch (...) { };
49093        return 0;
49094      }
49095
49096 _ACEOF
49097 rm -f conftest$ac_exeext
49098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49099   (eval $ac_link) 2>&5
49100   ac_status=$?
49101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49102   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49104   (eval $ac_try) 2>&5
49105   ac_status=$?
49106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49107   (exit $ac_status); }; }; then
49108   ac_sectionLDflags=yes
49109 else
49110   echo "$as_me: program exited with status $ac_status" >&5
49111 echo "$as_me: failed program was:" >&5
49112 sed 's/^/| /' conftest.$ac_ext >&5
49113
49114 ( exit $ac_status )
49115 ac_sectionLDflags=no
49116 fi
49117 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49118 fi
49119     if test "$ac_test_CFLAGS" = set; then
49120       CFLAGS="$ac_save_CFLAGS"
49121     else
49122       # this is the suspicious part
49123       CFLAGS=''
49124     fi
49125     if test "$ac_sectionLDflags" = "yes"; then
49126       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49127     fi
49128     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49129 echo "${ECHO_T}$ac_sectionLDflags" >&6
49130   fi
49131
49132   # Set linker optimization flags.
49133   if test x"$with_gnu_ld" = x"yes"; then
49134     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49135   fi
49136
49137
49138
49139
49140
49141
49142 echo "$as_me:$LINENO: checking for main in -lm" >&5
49143 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49144 if test "${ac_cv_lib_m_main+set}" = set; then
49145   echo $ECHO_N "(cached) $ECHO_C" >&6
49146 else
49147   ac_check_lib_save_LIBS=$LIBS
49148 LIBS="-lm  $LIBS"
49149 if test x$gcc_no_link = xyes; then
49150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49152    { (exit 1); exit 1; }; }
49153 fi
49154 cat >conftest.$ac_ext <<_ACEOF
49155 #line $LINENO "configure"
49156 /* confdefs.h.  */
49157 _ACEOF
49158 cat confdefs.h >>conftest.$ac_ext
49159 cat >>conftest.$ac_ext <<_ACEOF
49160 /* end confdefs.h.  */
49161
49162
49163 int
49164 main ()
49165 {
49166 main ();
49167   ;
49168   return 0;
49169 }
49170 _ACEOF
49171 rm -f conftest.$ac_objext conftest$ac_exeext
49172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49173   (eval $ac_link) 2>&5
49174   ac_status=$?
49175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49176   (exit $ac_status); } &&
49177          { ac_try='test -s conftest$ac_exeext'
49178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49179   (eval $ac_try) 2>&5
49180   ac_status=$?
49181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49182   (exit $ac_status); }; }; then
49183   ac_cv_lib_m_main=yes
49184 else
49185   echo "$as_me: failed program was:" >&5
49186 sed 's/^/| /' conftest.$ac_ext >&5
49187
49188 ac_cv_lib_m_main=no
49189 fi
49190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49191 LIBS=$ac_check_lib_save_LIBS
49192 fi
49193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49194 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49195 if test $ac_cv_lib_m_main = yes; then
49196   cat >>confdefs.h <<_ACEOF
49197 #define HAVE_LIBM 1
49198 _ACEOF
49199
49200   LIBS="-lm $LIBS"
49201
49202 fi
49203
49204
49205
49206 for ac_func in nan copysignf
49207 do
49208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49209 echo "$as_me:$LINENO: checking for $ac_func" >&5
49210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49211 if eval "test \"\${$as_ac_var+set}\" = set"; then
49212   echo $ECHO_N "(cached) $ECHO_C" >&6
49213 else
49214   if test x$gcc_no_link = xyes; then
49215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49217    { (exit 1); exit 1; }; }
49218 fi
49219 cat >conftest.$ac_ext <<_ACEOF
49220 #line $LINENO "configure"
49221 /* confdefs.h.  */
49222 _ACEOF
49223 cat confdefs.h >>conftest.$ac_ext
49224 cat >>conftest.$ac_ext <<_ACEOF
49225 /* end confdefs.h.  */
49226 /* System header to define __stub macros and hopefully few prototypes,
49227     which can conflict with char $ac_func (); below.
49228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49229     <limits.h> exists even on freestanding compilers.  */
49230 #ifdef __STDC__
49231 # include <limits.h>
49232 #else
49233 # include <assert.h>
49234 #endif
49235 /* Override any gcc2 internal prototype to avoid an error.  */
49236 #ifdef __cplusplus
49237 extern "C"
49238 {
49239 #endif
49240 /* We use char because int might match the return type of a gcc2
49241    builtin and then its argument prototype would still apply.  */
49242 char $ac_func ();
49243 /* The GNU C library defines this for functions which it implements
49244     to always fail with ENOSYS.  Some functions are actually named
49245     something starting with __ and the normal name is an alias.  */
49246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49247 choke me
49248 #else
49249 char (*f) () = $ac_func;
49250 #endif
49251 #ifdef __cplusplus
49252 }
49253 #endif
49254
49255 int
49256 main ()
49257 {
49258 return f != $ac_func;
49259   ;
49260   return 0;
49261 }
49262 _ACEOF
49263 rm -f conftest.$ac_objext conftest$ac_exeext
49264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49265   (eval $ac_link) 2>&5
49266   ac_status=$?
49267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49268   (exit $ac_status); } &&
49269          { ac_try='test -s conftest$ac_exeext'
49270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49271   (eval $ac_try) 2>&5
49272   ac_status=$?
49273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49274   (exit $ac_status); }; }; then
49275   eval "$as_ac_var=yes"
49276 else
49277   echo "$as_me: failed program was:" >&5
49278 sed 's/^/| /' conftest.$ac_ext >&5
49279
49280 eval "$as_ac_var=no"
49281 fi
49282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49283 fi
49284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49286 if test `eval echo '${'$as_ac_var'}'` = yes; then
49287   cat >>confdefs.h <<_ACEOF
49288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49289 _ACEOF
49290
49291 else
49292   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49293 fi
49294 done
49295
49296
49297
49298 for ac_func in __signbit
49299 do
49300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49301 echo "$as_me:$LINENO: checking for $ac_func" >&5
49302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49303 if eval "test \"\${$as_ac_var+set}\" = set"; then
49304   echo $ECHO_N "(cached) $ECHO_C" >&6
49305 else
49306   if test x$gcc_no_link = xyes; then
49307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49309    { (exit 1); exit 1; }; }
49310 fi
49311 cat >conftest.$ac_ext <<_ACEOF
49312 #line $LINENO "configure"
49313 /* confdefs.h.  */
49314 _ACEOF
49315 cat confdefs.h >>conftest.$ac_ext
49316 cat >>conftest.$ac_ext <<_ACEOF
49317 /* end confdefs.h.  */
49318 /* System header to define __stub macros and hopefully few prototypes,
49319     which can conflict with char $ac_func (); below.
49320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49321     <limits.h> exists even on freestanding compilers.  */
49322 #ifdef __STDC__
49323 # include <limits.h>
49324 #else
49325 # include <assert.h>
49326 #endif
49327 /* Override any gcc2 internal prototype to avoid an error.  */
49328 #ifdef __cplusplus
49329 extern "C"
49330 {
49331 #endif
49332 /* We use char because int might match the return type of a gcc2
49333    builtin and then its argument prototype would still apply.  */
49334 char $ac_func ();
49335 /* The GNU C library defines this for functions which it implements
49336     to always fail with ENOSYS.  Some functions are actually named
49337     something starting with __ and the normal name is an alias.  */
49338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49339 choke me
49340 #else
49341 char (*f) () = $ac_func;
49342 #endif
49343 #ifdef __cplusplus
49344 }
49345 #endif
49346
49347 int
49348 main ()
49349 {
49350 return f != $ac_func;
49351   ;
49352   return 0;
49353 }
49354 _ACEOF
49355 rm -f conftest.$ac_objext conftest$ac_exeext
49356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49357   (eval $ac_link) 2>&5
49358   ac_status=$?
49359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49360   (exit $ac_status); } &&
49361          { ac_try='test -s conftest$ac_exeext'
49362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49363   (eval $ac_try) 2>&5
49364   ac_status=$?
49365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366   (exit $ac_status); }; }; then
49367   eval "$as_ac_var=yes"
49368 else
49369   echo "$as_me: failed program was:" >&5
49370 sed 's/^/| /' conftest.$ac_ext >&5
49371
49372 eval "$as_ac_var=no"
49373 fi
49374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49375 fi
49376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49378 if test `eval echo '${'$as_ac_var'}'` = yes; then
49379   cat >>confdefs.h <<_ACEOF
49380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49381 _ACEOF
49382
49383 else
49384   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49385 fi
49386 done
49387
49388
49389 for ac_func in __signbitf
49390 do
49391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49392 echo "$as_me:$LINENO: checking for $ac_func" >&5
49393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49394 if eval "test \"\${$as_ac_var+set}\" = set"; then
49395   echo $ECHO_N "(cached) $ECHO_C" >&6
49396 else
49397   if test x$gcc_no_link = xyes; then
49398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49400    { (exit 1); exit 1; }; }
49401 fi
49402 cat >conftest.$ac_ext <<_ACEOF
49403 #line $LINENO "configure"
49404 /* confdefs.h.  */
49405 _ACEOF
49406 cat confdefs.h >>conftest.$ac_ext
49407 cat >>conftest.$ac_ext <<_ACEOF
49408 /* end confdefs.h.  */
49409 /* System header to define __stub macros and hopefully few prototypes,
49410     which can conflict with char $ac_func (); below.
49411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49412     <limits.h> exists even on freestanding compilers.  */
49413 #ifdef __STDC__
49414 # include <limits.h>
49415 #else
49416 # include <assert.h>
49417 #endif
49418 /* Override any gcc2 internal prototype to avoid an error.  */
49419 #ifdef __cplusplus
49420 extern "C"
49421 {
49422 #endif
49423 /* We use char because int might match the return type of a gcc2
49424    builtin and then its argument prototype would still apply.  */
49425 char $ac_func ();
49426 /* The GNU C library defines this for functions which it implements
49427     to always fail with ENOSYS.  Some functions are actually named
49428     something starting with __ and the normal name is an alias.  */
49429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49430 choke me
49431 #else
49432 char (*f) () = $ac_func;
49433 #endif
49434 #ifdef __cplusplus
49435 }
49436 #endif
49437
49438 int
49439 main ()
49440 {
49441 return f != $ac_func;
49442   ;
49443   return 0;
49444 }
49445 _ACEOF
49446 rm -f conftest.$ac_objext conftest$ac_exeext
49447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49448   (eval $ac_link) 2>&5
49449   ac_status=$?
49450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49451   (exit $ac_status); } &&
49452          { ac_try='test -s conftest$ac_exeext'
49453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49454   (eval $ac_try) 2>&5
49455   ac_status=$?
49456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49457   (exit $ac_status); }; }; then
49458   eval "$as_ac_var=yes"
49459 else
49460   echo "$as_me: failed program was:" >&5
49461 sed 's/^/| /' conftest.$ac_ext >&5
49462
49463 eval "$as_ac_var=no"
49464 fi
49465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49466 fi
49467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49469 if test `eval echo '${'$as_ac_var'}'` = yes; then
49470   cat >>confdefs.h <<_ACEOF
49471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49472 _ACEOF
49473
49474 else
49475   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49476 fi
49477 done
49478
49479
49480           if test x$ac_cv_func_copysignl = x"yes"; then
49481
49482 for ac_func in __signbitl
49483 do
49484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49485 echo "$as_me:$LINENO: checking for $ac_func" >&5
49486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49487 if eval "test \"\${$as_ac_var+set}\" = set"; then
49488   echo $ECHO_N "(cached) $ECHO_C" >&6
49489 else
49490   if test x$gcc_no_link = xyes; then
49491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49493    { (exit 1); exit 1; }; }
49494 fi
49495 cat >conftest.$ac_ext <<_ACEOF
49496 #line $LINENO "configure"
49497 /* confdefs.h.  */
49498 _ACEOF
49499 cat confdefs.h >>conftest.$ac_ext
49500 cat >>conftest.$ac_ext <<_ACEOF
49501 /* end confdefs.h.  */
49502 /* System header to define __stub macros and hopefully few prototypes,
49503     which can conflict with char $ac_func (); below.
49504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49505     <limits.h> exists even on freestanding compilers.  */
49506 #ifdef __STDC__
49507 # include <limits.h>
49508 #else
49509 # include <assert.h>
49510 #endif
49511 /* Override any gcc2 internal prototype to avoid an error.  */
49512 #ifdef __cplusplus
49513 extern "C"
49514 {
49515 #endif
49516 /* We use char because int might match the return type of a gcc2
49517    builtin and then its argument prototype would still apply.  */
49518 char $ac_func ();
49519 /* The GNU C library defines this for functions which it implements
49520     to always fail with ENOSYS.  Some functions are actually named
49521     something starting with __ and the normal name is an alias.  */
49522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49523 choke me
49524 #else
49525 char (*f) () = $ac_func;
49526 #endif
49527 #ifdef __cplusplus
49528 }
49529 #endif
49530
49531 int
49532 main ()
49533 {
49534 return f != $ac_func;
49535   ;
49536   return 0;
49537 }
49538 _ACEOF
49539 rm -f conftest.$ac_objext conftest$ac_exeext
49540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49541   (eval $ac_link) 2>&5
49542   ac_status=$?
49543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49544   (exit $ac_status); } &&
49545          { ac_try='test -s conftest$ac_exeext'
49546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49547   (eval $ac_try) 2>&5
49548   ac_status=$?
49549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49550   (exit $ac_status); }; }; then
49551   eval "$as_ac_var=yes"
49552 else
49553   echo "$as_me: failed program was:" >&5
49554 sed 's/^/| /' conftest.$ac_ext >&5
49555
49556 eval "$as_ac_var=no"
49557 fi
49558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49559 fi
49560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49562 if test `eval echo '${'$as_ac_var'}'` = yes; then
49563   cat >>confdefs.h <<_ACEOF
49564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49566
49567 else
49568   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49569 fi
49570 done
49571
49572   fi
49573
49574   # XXX Review this.  Nothing uses it.
49575   if test -n "$LIBMATHOBJS"; then
49576     need_libmath=yes
49577   fi
49578
49579
49580
49581   # Test wchar.h for mbstate_t, which is needed for char_traits and
49582   # others even if wchar_t support is not on.
49583   echo "$as_me:$LINENO: checking for mbstate_t" >&5
49584 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49585   cat >conftest.$ac_ext <<_ACEOF
49586 #line $LINENO "configure"
49587 /* confdefs.h.  */
49588 _ACEOF
49589 cat confdefs.h >>conftest.$ac_ext
49590 cat >>conftest.$ac_ext <<_ACEOF
49591 /* end confdefs.h.  */
49592 #include <wchar.h>
49593 int
49594 main ()
49595 {
49596 mbstate_t teststate;
49597   ;
49598   return 0;
49599 }
49600 _ACEOF
49601 rm -f conftest.$ac_objext
49602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49603   (eval $ac_compile) 2>&5
49604   ac_status=$?
49605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606   (exit $ac_status); } &&
49607          { ac_try='test -s conftest.$ac_objext'
49608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49609   (eval $ac_try) 2>&5
49610   ac_status=$?
49611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49612   (exit $ac_status); }; }; then
49613   have_mbstate_t=yes
49614 else
49615   echo "$as_me: failed program was:" >&5
49616 sed 's/^/| /' conftest.$ac_ext >&5
49617
49618 have_mbstate_t=no
49619 fi
49620 rm -f conftest.$ac_objext conftest.$ac_ext
49621   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49622 echo "${ECHO_T}$have_mbstate_t" >&6
49623   if test x"$have_mbstate_t" = xyes; then
49624     cat >>confdefs.h <<\_ACEOF
49625 #define HAVE_MBSTATE_T 1
49626 _ACEOF
49627
49628   fi
49629
49630   # Sanity check for existence of ISO C99 headers for extended encoding.
49631
49632 for ac_header in wchar.h
49633 do
49634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49636   echo "$as_me:$LINENO: checking for $ac_header" >&5
49637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49639   echo $ECHO_N "(cached) $ECHO_C" >&6
49640 fi
49641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49643 else
49644   # Is the header compilable?
49645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49647 cat >conftest.$ac_ext <<_ACEOF
49648 #line $LINENO "configure"
49649 /* confdefs.h.  */
49650 _ACEOF
49651 cat confdefs.h >>conftest.$ac_ext
49652 cat >>conftest.$ac_ext <<_ACEOF
49653 /* end confdefs.h.  */
49654 $ac_includes_default
49655 #include <$ac_header>
49656 _ACEOF
49657 rm -f conftest.$ac_objext
49658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49659   (eval $ac_compile) 2>&5
49660   ac_status=$?
49661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49662   (exit $ac_status); } &&
49663          { ac_try='test -s conftest.$ac_objext'
49664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49665   (eval $ac_try) 2>&5
49666   ac_status=$?
49667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49668   (exit $ac_status); }; }; then
49669   ac_header_compiler=yes
49670 else
49671   echo "$as_me: failed program was:" >&5
49672 sed 's/^/| /' conftest.$ac_ext >&5
49673
49674 ac_header_compiler=no
49675 fi
49676 rm -f conftest.$ac_objext conftest.$ac_ext
49677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49678 echo "${ECHO_T}$ac_header_compiler" >&6
49679
49680 # Is the header present?
49681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49683 cat >conftest.$ac_ext <<_ACEOF
49684 #line $LINENO "configure"
49685 /* confdefs.h.  */
49686 _ACEOF
49687 cat confdefs.h >>conftest.$ac_ext
49688 cat >>conftest.$ac_ext <<_ACEOF
49689 /* end confdefs.h.  */
49690 #include <$ac_header>
49691 _ACEOF
49692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49694   ac_status=$?
49695   grep -v '^ *+' conftest.er1 >conftest.err
49696   rm -f conftest.er1
49697   cat conftest.err >&5
49698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49699   (exit $ac_status); } >/dev/null; then
49700   if test -s conftest.err; then
49701     ac_cpp_err=$ac_c_preproc_warn_flag
49702   else
49703     ac_cpp_err=
49704   fi
49705 else
49706   ac_cpp_err=yes
49707 fi
49708 if test -z "$ac_cpp_err"; then
49709   ac_header_preproc=yes
49710 else
49711   echo "$as_me: failed program was:" >&5
49712 sed 's/^/| /' conftest.$ac_ext >&5
49713
49714   ac_header_preproc=no
49715 fi
49716 rm -f conftest.err conftest.$ac_ext
49717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49718 echo "${ECHO_T}$ac_header_preproc" >&6
49719
49720 # So?  What about this header?
49721 case $ac_header_compiler:$ac_header_preproc in
49722   yes:no )
49723     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49725     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49727     (
49728       cat <<\_ASBOX
49729 ## ------------------------------------ ##
49730 ## Report this to bug-autoconf@gnu.org. ##
49731 ## ------------------------------------ ##
49732 _ASBOX
49733     ) |
49734       sed "s/^/$as_me: WARNING:     /" >&2
49735     ;;
49736   no:yes )
49737     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49739     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49741     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49743     (
49744       cat <<\_ASBOX
49745 ## ------------------------------------ ##
49746 ## Report this to bug-autoconf@gnu.org. ##
49747 ## ------------------------------------ ##
49748 _ASBOX
49749     ) |
49750       sed "s/^/$as_me: WARNING:     /" >&2
49751     ;;
49752 esac
49753 echo "$as_me:$LINENO: checking for $ac_header" >&5
49754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49756   echo $ECHO_N "(cached) $ECHO_C" >&6
49757 else
49758   eval "$as_ac_Header=$ac_header_preproc"
49759 fi
49760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49762
49763 fi
49764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49765   cat >>confdefs.h <<_ACEOF
49766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49767 _ACEOF
49768  ac_has_wchar_h=yes
49769 else
49770   ac_has_wchar_h=no
49771 fi
49772
49773 done
49774
49775
49776 for ac_header in wctype.h
49777 do
49778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49780   echo "$as_me:$LINENO: checking for $ac_header" >&5
49781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49783   echo $ECHO_N "(cached) $ECHO_C" >&6
49784 fi
49785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49787 else
49788   # Is the header compilable?
49789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49791 cat >conftest.$ac_ext <<_ACEOF
49792 #line $LINENO "configure"
49793 /* confdefs.h.  */
49794 _ACEOF
49795 cat confdefs.h >>conftest.$ac_ext
49796 cat >>conftest.$ac_ext <<_ACEOF
49797 /* end confdefs.h.  */
49798 $ac_includes_default
49799 #include <$ac_header>
49800 _ACEOF
49801 rm -f conftest.$ac_objext
49802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49803   (eval $ac_compile) 2>&5
49804   ac_status=$?
49805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49806   (exit $ac_status); } &&
49807          { ac_try='test -s conftest.$ac_objext'
49808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49809   (eval $ac_try) 2>&5
49810   ac_status=$?
49811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49812   (exit $ac_status); }; }; then
49813   ac_header_compiler=yes
49814 else
49815   echo "$as_me: failed program was:" >&5
49816 sed 's/^/| /' conftest.$ac_ext >&5
49817
49818 ac_header_compiler=no
49819 fi
49820 rm -f conftest.$ac_objext conftest.$ac_ext
49821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49822 echo "${ECHO_T}$ac_header_compiler" >&6
49823
49824 # Is the header present?
49825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49827 cat >conftest.$ac_ext <<_ACEOF
49828 #line $LINENO "configure"
49829 /* confdefs.h.  */
49830 _ACEOF
49831 cat confdefs.h >>conftest.$ac_ext
49832 cat >>conftest.$ac_ext <<_ACEOF
49833 /* end confdefs.h.  */
49834 #include <$ac_header>
49835 _ACEOF
49836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49837   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49838   ac_status=$?
49839   grep -v '^ *+' conftest.er1 >conftest.err
49840   rm -f conftest.er1
49841   cat conftest.err >&5
49842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49843   (exit $ac_status); } >/dev/null; then
49844   if test -s conftest.err; then
49845     ac_cpp_err=$ac_c_preproc_warn_flag
49846   else
49847     ac_cpp_err=
49848   fi
49849 else
49850   ac_cpp_err=yes
49851 fi
49852 if test -z "$ac_cpp_err"; then
49853   ac_header_preproc=yes
49854 else
49855   echo "$as_me: failed program was:" >&5
49856 sed 's/^/| /' conftest.$ac_ext >&5
49857
49858   ac_header_preproc=no
49859 fi
49860 rm -f conftest.err conftest.$ac_ext
49861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49862 echo "${ECHO_T}$ac_header_preproc" >&6
49863
49864 # So?  What about this header?
49865 case $ac_header_compiler:$ac_header_preproc in
49866   yes:no )
49867     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49869     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49871     (
49872       cat <<\_ASBOX
49873 ## ------------------------------------ ##
49874 ## Report this to bug-autoconf@gnu.org. ##
49875 ## ------------------------------------ ##
49876 _ASBOX
49877     ) |
49878       sed "s/^/$as_me: WARNING:     /" >&2
49879     ;;
49880   no:yes )
49881     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49883     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49885     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49887     (
49888       cat <<\_ASBOX
49889 ## ------------------------------------ ##
49890 ## Report this to bug-autoconf@gnu.org. ##
49891 ## ------------------------------------ ##
49892 _ASBOX
49893     ) |
49894       sed "s/^/$as_me: WARNING:     /" >&2
49895     ;;
49896 esac
49897 echo "$as_me:$LINENO: checking for $ac_header" >&5
49898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49900   echo $ECHO_N "(cached) $ECHO_C" >&6
49901 else
49902   eval "$as_ac_Header=$ac_header_preproc"
49903 fi
49904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49906
49907 fi
49908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49909   cat >>confdefs.h <<_ACEOF
49910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49911 _ACEOF
49912  ac_has_wctype_h=yes
49913 else
49914   ac_has_wctype_h=no
49915 fi
49916
49917 done
49918
49919
49920   # Only continue checking if the ISO C99 headers exist and support is on.
49921   if test x"$ac_has_wchar_h" = xyes &&
49922      test x"$ac_has_wctype_h" = xyes &&
49923      test x"$enable_c_mbchar" != xno; then
49924
49925     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
49926     # numeric_limits can instantiate type_traits<wchar_t>
49927     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
49928 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
49929     cat >conftest.$ac_ext <<_ACEOF
49930 #line $LINENO "configure"
49931 /* confdefs.h.  */
49932 _ACEOF
49933 cat confdefs.h >>conftest.$ac_ext
49934 cat >>conftest.$ac_ext <<_ACEOF
49935 /* end confdefs.h.  */
49936 #include <wchar.h>
49937 int
49938 main ()
49939 {
49940 int i = WCHAR_MIN; int j = WCHAR_MAX;
49941   ;
49942   return 0;
49943 }
49944 _ACEOF
49945 rm -f conftest.$ac_objext
49946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49947   (eval $ac_compile) 2>&5
49948   ac_status=$?
49949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49950   (exit $ac_status); } &&
49951          { ac_try='test -s conftest.$ac_objext'
49952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49953   (eval $ac_try) 2>&5
49954   ac_status=$?
49955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49956   (exit $ac_status); }; }; then
49957   has_wchar_minmax=yes
49958 else
49959   echo "$as_me: failed program was:" >&5
49960 sed 's/^/| /' conftest.$ac_ext >&5
49961
49962 has_wchar_minmax=no
49963 fi
49964 rm -f conftest.$ac_objext conftest.$ac_ext
49965     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
49966 echo "${ECHO_T}$has_wchar_minmax" >&6
49967
49968     # Test wchar.h for WEOF, which is what we use to determine whether
49969     # to specialize for char_traits<wchar_t> or not.
49970     echo "$as_me:$LINENO: checking for WEOF" >&5
49971 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
49972     cat >conftest.$ac_ext <<_ACEOF
49973 #line $LINENO "configure"
49974 /* confdefs.h.  */
49975 _ACEOF
49976 cat confdefs.h >>conftest.$ac_ext
49977 cat >>conftest.$ac_ext <<_ACEOF
49978 /* end confdefs.h.  */
49979
49980       #include <wchar.h>
49981       #include <stddef.h>
49982 int
49983 main ()
49984 {
49985 wint_t i = WEOF;
49986   ;
49987   return 0;
49988 }
49989 _ACEOF
49990 rm -f conftest.$ac_objext
49991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49992   (eval $ac_compile) 2>&5
49993   ac_status=$?
49994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49995   (exit $ac_status); } &&
49996          { ac_try='test -s conftest.$ac_objext'
49997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49998   (eval $ac_try) 2>&5
49999   ac_status=$?
50000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50001   (exit $ac_status); }; }; then
50002   has_weof=yes
50003 else
50004   echo "$as_me: failed program was:" >&5
50005 sed 's/^/| /' conftest.$ac_ext >&5
50006
50007 has_weof=no
50008 fi
50009 rm -f conftest.$ac_objext conftest.$ac_ext
50010     echo "$as_me:$LINENO: result: $has_weof" >&5
50011 echo "${ECHO_T}$has_weof" >&6
50012
50013     # Tests for wide character functions used in char_traits<wchar_t>.
50014     ac_wfuncs=yes
50015
50016
50017
50018
50019
50020
50021 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50022 do
50023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50024 echo "$as_me:$LINENO: checking for $ac_func" >&5
50025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50026 if eval "test \"\${$as_ac_var+set}\" = set"; then
50027   echo $ECHO_N "(cached) $ECHO_C" >&6
50028 else
50029   if test x$gcc_no_link = xyes; then
50030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50032    { (exit 1); exit 1; }; }
50033 fi
50034 cat >conftest.$ac_ext <<_ACEOF
50035 #line $LINENO "configure"
50036 /* confdefs.h.  */
50037 _ACEOF
50038 cat confdefs.h >>conftest.$ac_ext
50039 cat >>conftest.$ac_ext <<_ACEOF
50040 /* end confdefs.h.  */
50041 /* System header to define __stub macros and hopefully few prototypes,
50042     which can conflict with char $ac_func (); below.
50043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50044     <limits.h> exists even on freestanding compilers.  */
50045 #ifdef __STDC__
50046 # include <limits.h>
50047 #else
50048 # include <assert.h>
50049 #endif
50050 /* Override any gcc2 internal prototype to avoid an error.  */
50051 #ifdef __cplusplus
50052 extern "C"
50053 {
50054 #endif
50055 /* We use char because int might match the return type of a gcc2
50056    builtin and then its argument prototype would still apply.  */
50057 char $ac_func ();
50058 /* The GNU C library defines this for functions which it implements
50059     to always fail with ENOSYS.  Some functions are actually named
50060     something starting with __ and the normal name is an alias.  */
50061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50062 choke me
50063 #else
50064 char (*f) () = $ac_func;
50065 #endif
50066 #ifdef __cplusplus
50067 }
50068 #endif
50069
50070 int
50071 main ()
50072 {
50073 return f != $ac_func;
50074   ;
50075   return 0;
50076 }
50077 _ACEOF
50078 rm -f conftest.$ac_objext conftest$ac_exeext
50079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50080   (eval $ac_link) 2>&5
50081   ac_status=$?
50082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50083   (exit $ac_status); } &&
50084          { ac_try='test -s conftest$ac_exeext'
50085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50086   (eval $ac_try) 2>&5
50087   ac_status=$?
50088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089   (exit $ac_status); }; }; then
50090   eval "$as_ac_var=yes"
50091 else
50092   echo "$as_me: failed program was:" >&5
50093 sed 's/^/| /' conftest.$ac_ext >&5
50094
50095 eval "$as_ac_var=no"
50096 fi
50097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50098 fi
50099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50101 if test `eval echo '${'$as_ac_var'}'` = yes; then
50102   cat >>confdefs.h <<_ACEOF
50103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50104 _ACEOF
50105
50106 else
50107   ac_wfuncs=no
50108 fi
50109 done
50110
50111
50112     # Checks for names injected into std:: by the c_std headers.
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50160     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50161     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50162     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50163     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50164     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50165 do
50166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50167 echo "$as_me:$LINENO: checking for $ac_func" >&5
50168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50169 if eval "test \"\${$as_ac_var+set}\" = set"; then
50170   echo $ECHO_N "(cached) $ECHO_C" >&6
50171 else
50172   if test x$gcc_no_link = xyes; then
50173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50175    { (exit 1); exit 1; }; }
50176 fi
50177 cat >conftest.$ac_ext <<_ACEOF
50178 #line $LINENO "configure"
50179 /* confdefs.h.  */
50180 _ACEOF
50181 cat confdefs.h >>conftest.$ac_ext
50182 cat >>conftest.$ac_ext <<_ACEOF
50183 /* end confdefs.h.  */
50184 /* System header to define __stub macros and hopefully few prototypes,
50185     which can conflict with char $ac_func (); below.
50186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50187     <limits.h> exists even on freestanding compilers.  */
50188 #ifdef __STDC__
50189 # include <limits.h>
50190 #else
50191 # include <assert.h>
50192 #endif
50193 /* Override any gcc2 internal prototype to avoid an error.  */
50194 #ifdef __cplusplus
50195 extern "C"
50196 {
50197 #endif
50198 /* We use char because int might match the return type of a gcc2
50199    builtin and then its argument prototype would still apply.  */
50200 char $ac_func ();
50201 /* The GNU C library defines this for functions which it implements
50202     to always fail with ENOSYS.  Some functions are actually named
50203     something starting with __ and the normal name is an alias.  */
50204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50205 choke me
50206 #else
50207 char (*f) () = $ac_func;
50208 #endif
50209 #ifdef __cplusplus
50210 }
50211 #endif
50212
50213 int
50214 main ()
50215 {
50216 return f != $ac_func;
50217   ;
50218   return 0;
50219 }
50220 _ACEOF
50221 rm -f conftest.$ac_objext conftest$ac_exeext
50222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50223   (eval $ac_link) 2>&5
50224   ac_status=$?
50225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50226   (exit $ac_status); } &&
50227          { ac_try='test -s conftest$ac_exeext'
50228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50229   (eval $ac_try) 2>&5
50230   ac_status=$?
50231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50232   (exit $ac_status); }; }; then
50233   eval "$as_ac_var=yes"
50234 else
50235   echo "$as_me: failed program was:" >&5
50236 sed 's/^/| /' conftest.$ac_ext >&5
50237
50238 eval "$as_ac_var=no"
50239 fi
50240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50241 fi
50242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50244 if test `eval echo '${'$as_ac_var'}'` = yes; then
50245   cat >>confdefs.h <<_ACEOF
50246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50247 _ACEOF
50248
50249 else
50250   ac_wfuncs=no
50251 fi
50252 done
50253
50254
50255     # Checks for wide character functions that are not required
50256     # for basic wchar_t support.  Don't disable support if they are missing.
50257     # Injection of these is wrapped with guard macros.
50258
50259
50260
50261
50262
50263 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
50264 do
50265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50266 echo "$as_me:$LINENO: checking for $ac_func" >&5
50267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50268 if eval "test \"\${$as_ac_var+set}\" = set"; then
50269   echo $ECHO_N "(cached) $ECHO_C" >&6
50270 else
50271   if test x$gcc_no_link = xyes; then
50272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50274    { (exit 1); exit 1; }; }
50275 fi
50276 cat >conftest.$ac_ext <<_ACEOF
50277 #line $LINENO "configure"
50278 /* confdefs.h.  */
50279 _ACEOF
50280 cat confdefs.h >>conftest.$ac_ext
50281 cat >>conftest.$ac_ext <<_ACEOF
50282 /* end confdefs.h.  */
50283 /* System header to define __stub macros and hopefully few prototypes,
50284     which can conflict with char $ac_func (); below.
50285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50286     <limits.h> exists even on freestanding compilers.  */
50287 #ifdef __STDC__
50288 # include <limits.h>
50289 #else
50290 # include <assert.h>
50291 #endif
50292 /* Override any gcc2 internal prototype to avoid an error.  */
50293 #ifdef __cplusplus
50294 extern "C"
50295 {
50296 #endif
50297 /* We use char because int might match the return type of a gcc2
50298    builtin and then its argument prototype would still apply.  */
50299 char $ac_func ();
50300 /* The GNU C library defines this for functions which it implements
50301     to always fail with ENOSYS.  Some functions are actually named
50302     something starting with __ and the normal name is an alias.  */
50303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50304 choke me
50305 #else
50306 char (*f) () = $ac_func;
50307 #endif
50308 #ifdef __cplusplus
50309 }
50310 #endif
50311
50312 int
50313 main ()
50314 {
50315 return f != $ac_func;
50316   ;
50317   return 0;
50318 }
50319 _ACEOF
50320 rm -f conftest.$ac_objext conftest$ac_exeext
50321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50322   (eval $ac_link) 2>&5
50323   ac_status=$?
50324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325   (exit $ac_status); } &&
50326          { ac_try='test -s conftest$ac_exeext'
50327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50328   (eval $ac_try) 2>&5
50329   ac_status=$?
50330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50331   (exit $ac_status); }; }; then
50332   eval "$as_ac_var=yes"
50333 else
50334   echo "$as_me: failed program was:" >&5
50335 sed 's/^/| /' conftest.$ac_ext >&5
50336
50337 eval "$as_ac_var=no"
50338 fi
50339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50340 fi
50341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50343 if test `eval echo '${'$as_ac_var'}'` = yes; then
50344   cat >>confdefs.h <<_ACEOF
50345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50346 _ACEOF
50347
50348 fi
50349 done
50350
50351
50352     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50353 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50354     if test x"$has_weof" = xyes &&
50355        test x"$has_wchar_minmax" = xyes &&
50356        test x"$ac_wfuncs" = xyes;
50357     then
50358       ac_isoC99_wchar_t=yes
50359     else
50360       ac_isoC99_wchar_t=no
50361     fi
50362     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50363 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50364
50365     # Use iconv for wchar_t to char conversions. As such, check for
50366     # X/Open Portability Guide, version 2 features (XPG2).
50367     if test "${ac_cv_header_iconv_h+set}" = set; then
50368   echo "$as_me:$LINENO: checking for iconv.h" >&5
50369 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50370 if test "${ac_cv_header_iconv_h+set}" = set; then
50371   echo $ECHO_N "(cached) $ECHO_C" >&6
50372 fi
50373 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50374 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50375 else
50376   # Is the header compilable?
50377 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50378 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50379 cat >conftest.$ac_ext <<_ACEOF
50380 #line $LINENO "configure"
50381 /* confdefs.h.  */
50382 _ACEOF
50383 cat confdefs.h >>conftest.$ac_ext
50384 cat >>conftest.$ac_ext <<_ACEOF
50385 /* end confdefs.h.  */
50386 $ac_includes_default
50387 #include <iconv.h>
50388 _ACEOF
50389 rm -f conftest.$ac_objext
50390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50391   (eval $ac_compile) 2>&5
50392   ac_status=$?
50393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394   (exit $ac_status); } &&
50395          { ac_try='test -s conftest.$ac_objext'
50396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50397   (eval $ac_try) 2>&5
50398   ac_status=$?
50399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50400   (exit $ac_status); }; }; then
50401   ac_header_compiler=yes
50402 else
50403   echo "$as_me: failed program was:" >&5
50404 sed 's/^/| /' conftest.$ac_ext >&5
50405
50406 ac_header_compiler=no
50407 fi
50408 rm -f conftest.$ac_objext conftest.$ac_ext
50409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50410 echo "${ECHO_T}$ac_header_compiler" >&6
50411
50412 # Is the header present?
50413 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50414 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50415 cat >conftest.$ac_ext <<_ACEOF
50416 #line $LINENO "configure"
50417 /* confdefs.h.  */
50418 _ACEOF
50419 cat confdefs.h >>conftest.$ac_ext
50420 cat >>conftest.$ac_ext <<_ACEOF
50421 /* end confdefs.h.  */
50422 #include <iconv.h>
50423 _ACEOF
50424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50425   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50426   ac_status=$?
50427   grep -v '^ *+' conftest.er1 >conftest.err
50428   rm -f conftest.er1
50429   cat conftest.err >&5
50430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50431   (exit $ac_status); } >/dev/null; then
50432   if test -s conftest.err; then
50433     ac_cpp_err=$ac_c_preproc_warn_flag
50434   else
50435     ac_cpp_err=
50436   fi
50437 else
50438   ac_cpp_err=yes
50439 fi
50440 if test -z "$ac_cpp_err"; then
50441   ac_header_preproc=yes
50442 else
50443   echo "$as_me: failed program was:" >&5
50444 sed 's/^/| /' conftest.$ac_ext >&5
50445
50446   ac_header_preproc=no
50447 fi
50448 rm -f conftest.err conftest.$ac_ext
50449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50450 echo "${ECHO_T}$ac_header_preproc" >&6
50451
50452 # So?  What about this header?
50453 case $ac_header_compiler:$ac_header_preproc in
50454   yes:no )
50455     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50456 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50457     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50458 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50459     (
50460       cat <<\_ASBOX
50461 ## ------------------------------------ ##
50462 ## Report this to bug-autoconf@gnu.org. ##
50463 ## ------------------------------------ ##
50464 _ASBOX
50465     ) |
50466       sed "s/^/$as_me: WARNING:     /" >&2
50467     ;;
50468   no:yes )
50469     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50470 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50471     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50472 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50473     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50474 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50475     (
50476       cat <<\_ASBOX
50477 ## ------------------------------------ ##
50478 ## Report this to bug-autoconf@gnu.org. ##
50479 ## ------------------------------------ ##
50480 _ASBOX
50481     ) |
50482       sed "s/^/$as_me: WARNING:     /" >&2
50483     ;;
50484 esac
50485 echo "$as_me:$LINENO: checking for iconv.h" >&5
50486 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50487 if test "${ac_cv_header_iconv_h+set}" = set; then
50488   echo $ECHO_N "(cached) $ECHO_C" >&6
50489 else
50490   ac_cv_header_iconv_h=$ac_header_preproc
50491 fi
50492 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50493 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50494
50495 fi
50496 if test $ac_cv_header_iconv_h = yes; then
50497   ac_has_iconv_h=yes
50498 else
50499   ac_has_iconv_h=no
50500 fi
50501
50502
50503     if test "${ac_cv_header_langinfo_h+set}" = set; then
50504   echo "$as_me:$LINENO: checking for langinfo.h" >&5
50505 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50506 if test "${ac_cv_header_langinfo_h+set}" = set; then
50507   echo $ECHO_N "(cached) $ECHO_C" >&6
50508 fi
50509 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50510 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50511 else
50512   # Is the header compilable?
50513 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50514 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50515 cat >conftest.$ac_ext <<_ACEOF
50516 #line $LINENO "configure"
50517 /* confdefs.h.  */
50518 _ACEOF
50519 cat confdefs.h >>conftest.$ac_ext
50520 cat >>conftest.$ac_ext <<_ACEOF
50521 /* end confdefs.h.  */
50522 $ac_includes_default
50523 #include <langinfo.h>
50524 _ACEOF
50525 rm -f conftest.$ac_objext
50526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50527   (eval $ac_compile) 2>&5
50528   ac_status=$?
50529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50530   (exit $ac_status); } &&
50531          { ac_try='test -s conftest.$ac_objext'
50532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50533   (eval $ac_try) 2>&5
50534   ac_status=$?
50535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50536   (exit $ac_status); }; }; then
50537   ac_header_compiler=yes
50538 else
50539   echo "$as_me: failed program was:" >&5
50540 sed 's/^/| /' conftest.$ac_ext >&5
50541
50542 ac_header_compiler=no
50543 fi
50544 rm -f conftest.$ac_objext conftest.$ac_ext
50545 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50546 echo "${ECHO_T}$ac_header_compiler" >&6
50547
50548 # Is the header present?
50549 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50550 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50551 cat >conftest.$ac_ext <<_ACEOF
50552 #line $LINENO "configure"
50553 /* confdefs.h.  */
50554 _ACEOF
50555 cat confdefs.h >>conftest.$ac_ext
50556 cat >>conftest.$ac_ext <<_ACEOF
50557 /* end confdefs.h.  */
50558 #include <langinfo.h>
50559 _ACEOF
50560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50561   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50562   ac_status=$?
50563   grep -v '^ *+' conftest.er1 >conftest.err
50564   rm -f conftest.er1
50565   cat conftest.err >&5
50566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50567   (exit $ac_status); } >/dev/null; then
50568   if test -s conftest.err; then
50569     ac_cpp_err=$ac_c_preproc_warn_flag
50570   else
50571     ac_cpp_err=
50572   fi
50573 else
50574   ac_cpp_err=yes
50575 fi
50576 if test -z "$ac_cpp_err"; then
50577   ac_header_preproc=yes
50578 else
50579   echo "$as_me: failed program was:" >&5
50580 sed 's/^/| /' conftest.$ac_ext >&5
50581
50582   ac_header_preproc=no
50583 fi
50584 rm -f conftest.err conftest.$ac_ext
50585 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50586 echo "${ECHO_T}$ac_header_preproc" >&6
50587
50588 # So?  What about this header?
50589 case $ac_header_compiler:$ac_header_preproc in
50590   yes:no )
50591     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50592 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50593     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50594 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50595     (
50596       cat <<\_ASBOX
50597 ## ------------------------------------ ##
50598 ## Report this to bug-autoconf@gnu.org. ##
50599 ## ------------------------------------ ##
50600 _ASBOX
50601     ) |
50602       sed "s/^/$as_me: WARNING:     /" >&2
50603     ;;
50604   no:yes )
50605     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50606 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50607     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50608 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50609     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50610 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50611     (
50612       cat <<\_ASBOX
50613 ## ------------------------------------ ##
50614 ## Report this to bug-autoconf@gnu.org. ##
50615 ## ------------------------------------ ##
50616 _ASBOX
50617     ) |
50618       sed "s/^/$as_me: WARNING:     /" >&2
50619     ;;
50620 esac
50621 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50622 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50623 if test "${ac_cv_header_langinfo_h+set}" = set; then
50624   echo $ECHO_N "(cached) $ECHO_C" >&6
50625 else
50626   ac_cv_header_langinfo_h=$ac_header_preproc
50627 fi
50628 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50629 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50630
50631 fi
50632 if test $ac_cv_header_langinfo_h = yes; then
50633   ac_has_langinfo_h=yes
50634 else
50635   ac_has_langinfo_h=no
50636 fi
50637
50638
50639
50640     # Check for existence of libiconv.a providing XPG2 wchar_t support.
50641     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50642 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50643 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50644   echo $ECHO_N "(cached) $ECHO_C" >&6
50645 else
50646   ac_check_lib_save_LIBS=$LIBS
50647 LIBS="-liconv  $LIBS"
50648 if test x$gcc_no_link = xyes; then
50649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50651    { (exit 1); exit 1; }; }
50652 fi
50653 cat >conftest.$ac_ext <<_ACEOF
50654 #line $LINENO "configure"
50655 /* confdefs.h.  */
50656 _ACEOF
50657 cat confdefs.h >>conftest.$ac_ext
50658 cat >>conftest.$ac_ext <<_ACEOF
50659 /* end confdefs.h.  */
50660
50661 /* Override any gcc2 internal prototype to avoid an error.  */
50662 #ifdef __cplusplus
50663 extern "C"
50664 #endif
50665 /* We use char because int might match the return type of a gcc2
50666    builtin and then its argument prototype would still apply.  */
50667 char iconv ();
50668 int
50669 main ()
50670 {
50671 iconv ();
50672   ;
50673   return 0;
50674 }
50675 _ACEOF
50676 rm -f conftest.$ac_objext conftest$ac_exeext
50677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50678   (eval $ac_link) 2>&5
50679   ac_status=$?
50680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681   (exit $ac_status); } &&
50682          { ac_try='test -s conftest$ac_exeext'
50683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50684   (eval $ac_try) 2>&5
50685   ac_status=$?
50686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50687   (exit $ac_status); }; }; then
50688   ac_cv_lib_iconv_iconv=yes
50689 else
50690   echo "$as_me: failed program was:" >&5
50691 sed 's/^/| /' conftest.$ac_ext >&5
50692
50693 ac_cv_lib_iconv_iconv=no
50694 fi
50695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50696 LIBS=$ac_check_lib_save_LIBS
50697 fi
50698 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50699 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50700 if test $ac_cv_lib_iconv_iconv = yes; then
50701   libiconv="-liconv"
50702 fi
50703
50704     ac_save_LIBS="$LIBS"
50705     LIBS="$LIBS $libiconv"
50706
50707
50708
50709
50710
50711 for ac_func in iconv_open iconv_close iconv nl_langinfo
50712 do
50713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50714 echo "$as_me:$LINENO: checking for $ac_func" >&5
50715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50716 if eval "test \"\${$as_ac_var+set}\" = set"; then
50717   echo $ECHO_N "(cached) $ECHO_C" >&6
50718 else
50719   if test x$gcc_no_link = xyes; then
50720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50722    { (exit 1); exit 1; }; }
50723 fi
50724 cat >conftest.$ac_ext <<_ACEOF
50725 #line $LINENO "configure"
50726 /* confdefs.h.  */
50727 _ACEOF
50728 cat confdefs.h >>conftest.$ac_ext
50729 cat >>conftest.$ac_ext <<_ACEOF
50730 /* end confdefs.h.  */
50731 /* System header to define __stub macros and hopefully few prototypes,
50732     which can conflict with char $ac_func (); below.
50733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50734     <limits.h> exists even on freestanding compilers.  */
50735 #ifdef __STDC__
50736 # include <limits.h>
50737 #else
50738 # include <assert.h>
50739 #endif
50740 /* Override any gcc2 internal prototype to avoid an error.  */
50741 #ifdef __cplusplus
50742 extern "C"
50743 {
50744 #endif
50745 /* We use char because int might match the return type of a gcc2
50746    builtin and then its argument prototype would still apply.  */
50747 char $ac_func ();
50748 /* The GNU C library defines this for functions which it implements
50749     to always fail with ENOSYS.  Some functions are actually named
50750     something starting with __ and the normal name is an alias.  */
50751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50752 choke me
50753 #else
50754 char (*f) () = $ac_func;
50755 #endif
50756 #ifdef __cplusplus
50757 }
50758 #endif
50759
50760 int
50761 main ()
50762 {
50763 return f != $ac_func;
50764   ;
50765   return 0;
50766 }
50767 _ACEOF
50768 rm -f conftest.$ac_objext conftest$ac_exeext
50769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50770   (eval $ac_link) 2>&5
50771   ac_status=$?
50772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50773   (exit $ac_status); } &&
50774          { ac_try='test -s conftest$ac_exeext'
50775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50776   (eval $ac_try) 2>&5
50777   ac_status=$?
50778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50779   (exit $ac_status); }; }; then
50780   eval "$as_ac_var=yes"
50781 else
50782   echo "$as_me: failed program was:" >&5
50783 sed 's/^/| /' conftest.$ac_ext >&5
50784
50785 eval "$as_ac_var=no"
50786 fi
50787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50788 fi
50789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50791 if test `eval echo '${'$as_ac_var'}'` = yes; then
50792   cat >>confdefs.h <<_ACEOF
50793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50794 _ACEOF
50795  ac_XPG2funcs=yes
50796 else
50797   ac_XPG2funcs=no
50798 fi
50799 done
50800
50801
50802     LIBS="$ac_save_LIBS"
50803
50804     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
50805 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
50806     if test x"$ac_has_iconv_h" = xyes &&
50807        test x"$ac_has_langinfo_h" = xyes &&
50808        test x"$ac_XPG2funcs" = xyes;
50809     then
50810       ac_XPG2_wchar_t=yes
50811     else
50812       ac_XPG2_wchar_t=no
50813     fi
50814     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
50815 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
50816
50817     # At the moment, only enable wchar_t specializations if all the
50818     # above support is present.
50819     if test x"$ac_isoC99_wchar_t" = xyes &&
50820        test x"$ac_XPG2_wchar_t" = xyes;
50821     then
50822       cat >>confdefs.h <<\_ACEOF
50823 #define _GLIBCXX_USE_WCHAR_T 1
50824 _ACEOF
50825
50826       enable_wchar_t=yes
50827     fi
50828   fi
50829   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
50830 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
50831   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
50832 echo "${ECHO_T}$enable_wchar_t" >&6
50833
50834     cat >>confdefs.h <<\_ACEOF
50835 #define HAVE_COPYSIGN 1
50836 _ACEOF
50837
50838     cat >>confdefs.h <<\_ACEOF
50839 #define HAVE_COPYSIGNF 1
50840 _ACEOF
50841
50842     cat >>confdefs.h <<\_ACEOF
50843 #define HAVE_FREXPF 1
50844 _ACEOF
50845
50846     cat >>confdefs.h <<\_ACEOF
50847 #define HAVE_HYPOT 1
50848 _ACEOF
50849
50850     case "$target" in
50851       *-hpux10*)
50852         cat >>confdefs.h <<\_ACEOF
50853 #define HAVE_FINITE 1
50854 _ACEOF
50855
50856         cat >>confdefs.h <<\_ACEOF
50857 #define HAVE_FINITEF 1
50858 _ACEOF
50859
50860         cat >>confdefs.h <<\_ACEOF
50861 #define HAVE_ISINF 1
50862 _ACEOF
50863
50864         cat >>confdefs.h <<\_ACEOF
50865 #define HAVE_ISINFF 1
50866 _ACEOF
50867
50868         cat >>confdefs.h <<\_ACEOF
50869 #define HAVE_ISNAN 1
50870 _ACEOF
50871
50872         cat >>confdefs.h <<\_ACEOF
50873 #define HAVE_ISNANF 1
50874 _ACEOF
50875
50876         ;;
50877     esac
50878     ;;
50879   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
50893       machine/endian.h machine/param.h sys/machine.h sys/types.h \
50894       fp.h locale.h float.h inttypes.h
50895 do
50896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50898   echo "$as_me:$LINENO: checking for $ac_header" >&5
50899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50901   echo $ECHO_N "(cached) $ECHO_C" >&6
50902 fi
50903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50905 else
50906   # Is the header compilable?
50907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50909 cat >conftest.$ac_ext <<_ACEOF
50910 #line $LINENO "configure"
50911 /* confdefs.h.  */
50912 _ACEOF
50913 cat confdefs.h >>conftest.$ac_ext
50914 cat >>conftest.$ac_ext <<_ACEOF
50915 /* end confdefs.h.  */
50916 $ac_includes_default
50917 #include <$ac_header>
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   ac_header_compiler=yes
50932 else
50933   echo "$as_me: failed program was:" >&5
50934 sed 's/^/| /' conftest.$ac_ext >&5
50935
50936 ac_header_compiler=no
50937 fi
50938 rm -f conftest.$ac_objext conftest.$ac_ext
50939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50940 echo "${ECHO_T}$ac_header_compiler" >&6
50941
50942 # Is the header present?
50943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50945 cat >conftest.$ac_ext <<_ACEOF
50946 #line $LINENO "configure"
50947 /* confdefs.h.  */
50948 _ACEOF
50949 cat confdefs.h >>conftest.$ac_ext
50950 cat >>conftest.$ac_ext <<_ACEOF
50951 /* end confdefs.h.  */
50952 #include <$ac_header>
50953 _ACEOF
50954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50955   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50956   ac_status=$?
50957   grep -v '^ *+' conftest.er1 >conftest.err
50958   rm -f conftest.er1
50959   cat conftest.err >&5
50960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961   (exit $ac_status); } >/dev/null; then
50962   if test -s conftest.err; then
50963     ac_cpp_err=$ac_c_preproc_warn_flag
50964   else
50965     ac_cpp_err=
50966   fi
50967 else
50968   ac_cpp_err=yes
50969 fi
50970 if test -z "$ac_cpp_err"; then
50971   ac_header_preproc=yes
50972 else
50973   echo "$as_me: failed program was:" >&5
50974 sed 's/^/| /' conftest.$ac_ext >&5
50975
50976   ac_header_preproc=no
50977 fi
50978 rm -f conftest.err conftest.$ac_ext
50979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50980 echo "${ECHO_T}$ac_header_preproc" >&6
50981
50982 # So?  What about this header?
50983 case $ac_header_compiler:$ac_header_preproc in
50984   yes:no )
50985     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50987     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50989     (
50990       cat <<\_ASBOX
50991 ## ------------------------------------ ##
50992 ## Report this to bug-autoconf@gnu.org. ##
50993 ## ------------------------------------ ##
50994 _ASBOX
50995     ) |
50996       sed "s/^/$as_me: WARNING:     /" >&2
50997     ;;
50998   no:yes )
50999     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51000 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51001     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51002 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51003     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51005     (
51006       cat <<\_ASBOX
51007 ## ------------------------------------ ##
51008 ## Report this to bug-autoconf@gnu.org. ##
51009 ## ------------------------------------ ##
51010 _ASBOX
51011     ) |
51012       sed "s/^/$as_me: WARNING:     /" >&2
51013     ;;
51014 esac
51015 echo "$as_me:$LINENO: checking for $ac_header" >&5
51016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51018   echo $ECHO_N "(cached) $ECHO_C" >&6
51019 else
51020   eval "$as_ac_Header=$ac_header_preproc"
51021 fi
51022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51024
51025 fi
51026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51027   cat >>confdefs.h <<_ACEOF
51028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51029 _ACEOF
51030
51031 fi
51032
51033 done
51034
51035     SECTION_FLAGS='-ffunction-sections -fdata-sections'
51036
51037
51038   # If we're not using GNU ld, then there's no point in even trying these
51039   # tests.  Check for that first.  We should have already tested for gld
51040   # by now (in libtool), but require it now just to be safe...
51041   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51042   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51043
51044
51045
51046   # The name set by libtool depends on the version of libtool.  Shame on us
51047   # for depending on an impl detail, but c'est la vie.  Older versions used
51048   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51049   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51050   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51051   # set (hence we're using an older libtool), then set it.
51052   if test x${with_gnu_ld+set} != xset; then
51053     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51054       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51055       with_gnu_ld=no
51056     else
51057       with_gnu_ld=$ac_cv_prog_gnu_ld
51058     fi
51059   fi
51060
51061   # Start by getting the version number.  I think the libtool test already
51062   # does some of this, but throws away the result.
51063
51064   ldver=`$LD --version 2>/dev/null | head -1 | \
51065          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51066
51067   glibcxx_gnu_ld_version=`echo $ldver | \
51068          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51069
51070   # Set --gc-sections.
51071   if test "$with_gnu_ld" = "notbroken"; then
51072     # GNU ld it is!  Joy and bunny rabbits!
51073
51074     # All these tests are for C++; save the language and the compiler flags.
51075     # Need to do this so that g++ won't try to link in libstdc++
51076     ac_test_CFLAGS="${CFLAGS+set}"
51077     ac_save_CFLAGS="$CFLAGS"
51078     CFLAGS='-x c++  -Wl,--gc-sections'
51079
51080     # Check for -Wl,--gc-sections
51081     # XXX This test is broken at the moment, as symbols required for linking
51082     # are now in libsupc++ (not built yet).  In addition, this test has
51083     # cored on solaris in the past.  In addition, --gc-sections doesn't
51084     # really work at the moment (keeps on discarding used sections, first
51085     # .eh_frame and now some of the glibc sections for iconv).
51086     # Bzzzzt.  Thanks for playing, maybe next time.
51087     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51088 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51089     if test "$cross_compiling" = yes; then
51090   ac_sectionLDflags=yes
51091 else
51092   cat >conftest.$ac_ext <<_ACEOF
51093 #line $LINENO "configure"
51094 /* confdefs.h.  */
51095 _ACEOF
51096 cat confdefs.h >>conftest.$ac_ext
51097 cat >>conftest.$ac_ext <<_ACEOF
51098 /* end confdefs.h.  */
51099
51100      int main(void)
51101      {
51102        try { throw 1; }
51103        catch (...) { };
51104        return 0;
51105      }
51106
51107 _ACEOF
51108 rm -f conftest$ac_exeext
51109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51110   (eval $ac_link) 2>&5
51111   ac_status=$?
51112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51113   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51115   (eval $ac_try) 2>&5
51116   ac_status=$?
51117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51118   (exit $ac_status); }; }; then
51119   ac_sectionLDflags=yes
51120 else
51121   echo "$as_me: program exited with status $ac_status" >&5
51122 echo "$as_me: failed program was:" >&5
51123 sed 's/^/| /' conftest.$ac_ext >&5
51124
51125 ( exit $ac_status )
51126 ac_sectionLDflags=no
51127 fi
51128 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51129 fi
51130     if test "$ac_test_CFLAGS" = set; then
51131       CFLAGS="$ac_save_CFLAGS"
51132     else
51133       # this is the suspicious part
51134       CFLAGS=''
51135     fi
51136     if test "$ac_sectionLDflags" = "yes"; then
51137       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51138     fi
51139     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51140 echo "${ECHO_T}$ac_sectionLDflags" >&6
51141   fi
51142
51143   # Set linker optimization flags.
51144   if test x"$with_gnu_ld" = x"yes"; then
51145     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51146   fi
51147
51148
51149
51150
51151
51152
51153 echo "$as_me:$LINENO: checking for main in -lm" >&5
51154 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51155 if test "${ac_cv_lib_m_main+set}" = set; then
51156   echo $ECHO_N "(cached) $ECHO_C" >&6
51157 else
51158   ac_check_lib_save_LIBS=$LIBS
51159 LIBS="-lm  $LIBS"
51160 if test x$gcc_no_link = xyes; then
51161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51163    { (exit 1); exit 1; }; }
51164 fi
51165 cat >conftest.$ac_ext <<_ACEOF
51166 #line $LINENO "configure"
51167 /* confdefs.h.  */
51168 _ACEOF
51169 cat confdefs.h >>conftest.$ac_ext
51170 cat >>conftest.$ac_ext <<_ACEOF
51171 /* end confdefs.h.  */
51172
51173
51174 int
51175 main ()
51176 {
51177 main ();
51178   ;
51179   return 0;
51180 }
51181 _ACEOF
51182 rm -f conftest.$ac_objext conftest$ac_exeext
51183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51184   (eval $ac_link) 2>&5
51185   ac_status=$?
51186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51187   (exit $ac_status); } &&
51188          { ac_try='test -s conftest$ac_exeext'
51189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51190   (eval $ac_try) 2>&5
51191   ac_status=$?
51192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51193   (exit $ac_status); }; }; then
51194   ac_cv_lib_m_main=yes
51195 else
51196   echo "$as_me: failed program was:" >&5
51197 sed 's/^/| /' conftest.$ac_ext >&5
51198
51199 ac_cv_lib_m_main=no
51200 fi
51201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51202 LIBS=$ac_check_lib_save_LIBS
51203 fi
51204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51205 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51206 if test $ac_cv_lib_m_main = yes; then
51207   cat >>confdefs.h <<_ACEOF
51208 #define HAVE_LIBM 1
51209 _ACEOF
51210
51211   LIBS="-lm $LIBS"
51212
51213 fi
51214
51215
51216
51217 for ac_func in nan copysignf
51218 do
51219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51220 echo "$as_me:$LINENO: checking for $ac_func" >&5
51221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51222 if eval "test \"\${$as_ac_var+set}\" = set"; then
51223   echo $ECHO_N "(cached) $ECHO_C" >&6
51224 else
51225   if test x$gcc_no_link = xyes; then
51226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51228    { (exit 1); exit 1; }; }
51229 fi
51230 cat >conftest.$ac_ext <<_ACEOF
51231 #line $LINENO "configure"
51232 /* confdefs.h.  */
51233 _ACEOF
51234 cat confdefs.h >>conftest.$ac_ext
51235 cat >>conftest.$ac_ext <<_ACEOF
51236 /* end confdefs.h.  */
51237 /* System header to define __stub macros and hopefully few prototypes,
51238     which can conflict with char $ac_func (); below.
51239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51240     <limits.h> exists even on freestanding compilers.  */
51241 #ifdef __STDC__
51242 # include <limits.h>
51243 #else
51244 # include <assert.h>
51245 #endif
51246 /* Override any gcc2 internal prototype to avoid an error.  */
51247 #ifdef __cplusplus
51248 extern "C"
51249 {
51250 #endif
51251 /* We use char because int might match the return type of a gcc2
51252    builtin and then its argument prototype would still apply.  */
51253 char $ac_func ();
51254 /* The GNU C library defines this for functions which it implements
51255     to always fail with ENOSYS.  Some functions are actually named
51256     something starting with __ and the normal name is an alias.  */
51257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51258 choke me
51259 #else
51260 char (*f) () = $ac_func;
51261 #endif
51262 #ifdef __cplusplus
51263 }
51264 #endif
51265
51266 int
51267 main ()
51268 {
51269 return f != $ac_func;
51270   ;
51271   return 0;
51272 }
51273 _ACEOF
51274 rm -f conftest.$ac_objext conftest$ac_exeext
51275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51276   (eval $ac_link) 2>&5
51277   ac_status=$?
51278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51279   (exit $ac_status); } &&
51280          { ac_try='test -s conftest$ac_exeext'
51281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51282   (eval $ac_try) 2>&5
51283   ac_status=$?
51284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285   (exit $ac_status); }; }; then
51286   eval "$as_ac_var=yes"
51287 else
51288   echo "$as_me: failed program was:" >&5
51289 sed 's/^/| /' conftest.$ac_ext >&5
51290
51291 eval "$as_ac_var=no"
51292 fi
51293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51294 fi
51295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51297 if test `eval echo '${'$as_ac_var'}'` = yes; then
51298   cat >>confdefs.h <<_ACEOF
51299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51300 _ACEOF
51301
51302 else
51303   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51304 fi
51305 done
51306
51307
51308
51309 for ac_func in __signbit
51310 do
51311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51312 echo "$as_me:$LINENO: checking for $ac_func" >&5
51313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51314 if eval "test \"\${$as_ac_var+set}\" = set"; then
51315   echo $ECHO_N "(cached) $ECHO_C" >&6
51316 else
51317   if test x$gcc_no_link = xyes; then
51318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51320    { (exit 1); exit 1; }; }
51321 fi
51322 cat >conftest.$ac_ext <<_ACEOF
51323 #line $LINENO "configure"
51324 /* confdefs.h.  */
51325 _ACEOF
51326 cat confdefs.h >>conftest.$ac_ext
51327 cat >>conftest.$ac_ext <<_ACEOF
51328 /* end confdefs.h.  */
51329 /* System header to define __stub macros and hopefully few prototypes,
51330     which can conflict with char $ac_func (); below.
51331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51332     <limits.h> exists even on freestanding compilers.  */
51333 #ifdef __STDC__
51334 # include <limits.h>
51335 #else
51336 # include <assert.h>
51337 #endif
51338 /* Override any gcc2 internal prototype to avoid an error.  */
51339 #ifdef __cplusplus
51340 extern "C"
51341 {
51342 #endif
51343 /* We use char because int might match the return type of a gcc2
51344    builtin and then its argument prototype would still apply.  */
51345 char $ac_func ();
51346 /* The GNU C library defines this for functions which it implements
51347     to always fail with ENOSYS.  Some functions are actually named
51348     something starting with __ and the normal name is an alias.  */
51349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51350 choke me
51351 #else
51352 char (*f) () = $ac_func;
51353 #endif
51354 #ifdef __cplusplus
51355 }
51356 #endif
51357
51358 int
51359 main ()
51360 {
51361 return f != $ac_func;
51362   ;
51363   return 0;
51364 }
51365 _ACEOF
51366 rm -f conftest.$ac_objext conftest$ac_exeext
51367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51368   (eval $ac_link) 2>&5
51369   ac_status=$?
51370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51371   (exit $ac_status); } &&
51372          { ac_try='test -s conftest$ac_exeext'
51373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51374   (eval $ac_try) 2>&5
51375   ac_status=$?
51376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51377   (exit $ac_status); }; }; then
51378   eval "$as_ac_var=yes"
51379 else
51380   echo "$as_me: failed program was:" >&5
51381 sed 's/^/| /' conftest.$ac_ext >&5
51382
51383 eval "$as_ac_var=no"
51384 fi
51385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51386 fi
51387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51389 if test `eval echo '${'$as_ac_var'}'` = yes; then
51390   cat >>confdefs.h <<_ACEOF
51391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51392 _ACEOF
51393
51394 else
51395   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51396 fi
51397 done
51398
51399
51400 for ac_func in __signbitf
51401 do
51402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51403 echo "$as_me:$LINENO: checking for $ac_func" >&5
51404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51405 if eval "test \"\${$as_ac_var+set}\" = set"; then
51406   echo $ECHO_N "(cached) $ECHO_C" >&6
51407 else
51408   if test x$gcc_no_link = xyes; then
51409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51411    { (exit 1); exit 1; }; }
51412 fi
51413 cat >conftest.$ac_ext <<_ACEOF
51414 #line $LINENO "configure"
51415 /* confdefs.h.  */
51416 _ACEOF
51417 cat confdefs.h >>conftest.$ac_ext
51418 cat >>conftest.$ac_ext <<_ACEOF
51419 /* end confdefs.h.  */
51420 /* System header to define __stub macros and hopefully few prototypes,
51421     which can conflict with char $ac_func (); below.
51422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51423     <limits.h> exists even on freestanding compilers.  */
51424 #ifdef __STDC__
51425 # include <limits.h>
51426 #else
51427 # include <assert.h>
51428 #endif
51429 /* Override any gcc2 internal prototype to avoid an error.  */
51430 #ifdef __cplusplus
51431 extern "C"
51432 {
51433 #endif
51434 /* We use char because int might match the return type of a gcc2
51435    builtin and then its argument prototype would still apply.  */
51436 char $ac_func ();
51437 /* The GNU C library defines this for functions which it implements
51438     to always fail with ENOSYS.  Some functions are actually named
51439     something starting with __ and the normal name is an alias.  */
51440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51441 choke me
51442 #else
51443 char (*f) () = $ac_func;
51444 #endif
51445 #ifdef __cplusplus
51446 }
51447 #endif
51448
51449 int
51450 main ()
51451 {
51452 return f != $ac_func;
51453   ;
51454   return 0;
51455 }
51456 _ACEOF
51457 rm -f conftest.$ac_objext conftest$ac_exeext
51458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51459   (eval $ac_link) 2>&5
51460   ac_status=$?
51461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51462   (exit $ac_status); } &&
51463          { ac_try='test -s conftest$ac_exeext'
51464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51465   (eval $ac_try) 2>&5
51466   ac_status=$?
51467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51468   (exit $ac_status); }; }; then
51469   eval "$as_ac_var=yes"
51470 else
51471   echo "$as_me: failed program was:" >&5
51472 sed 's/^/| /' conftest.$ac_ext >&5
51473
51474 eval "$as_ac_var=no"
51475 fi
51476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51477 fi
51478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51480 if test `eval echo '${'$as_ac_var'}'` = yes; then
51481   cat >>confdefs.h <<_ACEOF
51482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51483 _ACEOF
51484
51485 else
51486   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51487 fi
51488 done
51489
51490
51491           if test x$ac_cv_func_copysignl = x"yes"; then
51492
51493 for ac_func in __signbitl
51494 do
51495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51496 echo "$as_me:$LINENO: checking for $ac_func" >&5
51497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51498 if eval "test \"\${$as_ac_var+set}\" = set"; then
51499   echo $ECHO_N "(cached) $ECHO_C" >&6
51500 else
51501   if test x$gcc_no_link = xyes; then
51502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51504    { (exit 1); exit 1; }; }
51505 fi
51506 cat >conftest.$ac_ext <<_ACEOF
51507 #line $LINENO "configure"
51508 /* confdefs.h.  */
51509 _ACEOF
51510 cat confdefs.h >>conftest.$ac_ext
51511 cat >>conftest.$ac_ext <<_ACEOF
51512 /* end confdefs.h.  */
51513 /* System header to define __stub macros and hopefully few prototypes,
51514     which can conflict with char $ac_func (); below.
51515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51516     <limits.h> exists even on freestanding compilers.  */
51517 #ifdef __STDC__
51518 # include <limits.h>
51519 #else
51520 # include <assert.h>
51521 #endif
51522 /* Override any gcc2 internal prototype to avoid an error.  */
51523 #ifdef __cplusplus
51524 extern "C"
51525 {
51526 #endif
51527 /* We use char because int might match the return type of a gcc2
51528    builtin and then its argument prototype would still apply.  */
51529 char $ac_func ();
51530 /* The GNU C library defines this for functions which it implements
51531     to always fail with ENOSYS.  Some functions are actually named
51532     something starting with __ and the normal name is an alias.  */
51533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51534 choke me
51535 #else
51536 char (*f) () = $ac_func;
51537 #endif
51538 #ifdef __cplusplus
51539 }
51540 #endif
51541
51542 int
51543 main ()
51544 {
51545 return f != $ac_func;
51546   ;
51547   return 0;
51548 }
51549 _ACEOF
51550 rm -f conftest.$ac_objext conftest$ac_exeext
51551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51552   (eval $ac_link) 2>&5
51553   ac_status=$?
51554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555   (exit $ac_status); } &&
51556          { ac_try='test -s conftest$ac_exeext'
51557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51558   (eval $ac_try) 2>&5
51559   ac_status=$?
51560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51561   (exit $ac_status); }; }; then
51562   eval "$as_ac_var=yes"
51563 else
51564   echo "$as_me: failed program was:" >&5
51565 sed 's/^/| /' conftest.$ac_ext >&5
51566
51567 eval "$as_ac_var=no"
51568 fi
51569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51570 fi
51571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51573 if test `eval echo '${'$as_ac_var'}'` = yes; then
51574   cat >>confdefs.h <<_ACEOF
51575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51576 _ACEOF
51577
51578 else
51579   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51580 fi
51581 done
51582
51583   fi
51584
51585   # XXX Review this.  Nothing uses it.
51586   if test -n "$LIBMATHOBJS"; then
51587     need_libmath=yes
51588   fi
51589
51590
51591
51592   # Test wchar.h for mbstate_t, which is needed for char_traits and
51593   # others even if wchar_t support is not on.
51594   echo "$as_me:$LINENO: checking for mbstate_t" >&5
51595 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51596   cat >conftest.$ac_ext <<_ACEOF
51597 #line $LINENO "configure"
51598 /* confdefs.h.  */
51599 _ACEOF
51600 cat confdefs.h >>conftest.$ac_ext
51601 cat >>conftest.$ac_ext <<_ACEOF
51602 /* end confdefs.h.  */
51603 #include <wchar.h>
51604 int
51605 main ()
51606 {
51607 mbstate_t teststate;
51608   ;
51609   return 0;
51610 }
51611 _ACEOF
51612 rm -f conftest.$ac_objext
51613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51614   (eval $ac_compile) 2>&5
51615   ac_status=$?
51616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51617   (exit $ac_status); } &&
51618          { ac_try='test -s conftest.$ac_objext'
51619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51620   (eval $ac_try) 2>&5
51621   ac_status=$?
51622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51623   (exit $ac_status); }; }; then
51624   have_mbstate_t=yes
51625 else
51626   echo "$as_me: failed program was:" >&5
51627 sed 's/^/| /' conftest.$ac_ext >&5
51628
51629 have_mbstate_t=no
51630 fi
51631 rm -f conftest.$ac_objext conftest.$ac_ext
51632   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51633 echo "${ECHO_T}$have_mbstate_t" >&6
51634   if test x"$have_mbstate_t" = xyes; then
51635     cat >>confdefs.h <<\_ACEOF
51636 #define HAVE_MBSTATE_T 1
51637 _ACEOF
51638
51639   fi
51640
51641   # Sanity check for existence of ISO C99 headers for extended encoding.
51642
51643 for ac_header in wchar.h
51644 do
51645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51647   echo "$as_me:$LINENO: checking for $ac_header" >&5
51648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51650   echo $ECHO_N "(cached) $ECHO_C" >&6
51651 fi
51652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51653 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51654 else
51655   # Is the header compilable?
51656 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51657 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51658 cat >conftest.$ac_ext <<_ACEOF
51659 #line $LINENO "configure"
51660 /* confdefs.h.  */
51661 _ACEOF
51662 cat confdefs.h >>conftest.$ac_ext
51663 cat >>conftest.$ac_ext <<_ACEOF
51664 /* end confdefs.h.  */
51665 $ac_includes_default
51666 #include <$ac_header>
51667 _ACEOF
51668 rm -f conftest.$ac_objext
51669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51670   (eval $ac_compile) 2>&5
51671   ac_status=$?
51672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51673   (exit $ac_status); } &&
51674          { ac_try='test -s conftest.$ac_objext'
51675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51676   (eval $ac_try) 2>&5
51677   ac_status=$?
51678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51679   (exit $ac_status); }; }; then
51680   ac_header_compiler=yes
51681 else
51682   echo "$as_me: failed program was:" >&5
51683 sed 's/^/| /' conftest.$ac_ext >&5
51684
51685 ac_header_compiler=no
51686 fi
51687 rm -f conftest.$ac_objext conftest.$ac_ext
51688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51689 echo "${ECHO_T}$ac_header_compiler" >&6
51690
51691 # Is the header present?
51692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51694 cat >conftest.$ac_ext <<_ACEOF
51695 #line $LINENO "configure"
51696 /* confdefs.h.  */
51697 _ACEOF
51698 cat confdefs.h >>conftest.$ac_ext
51699 cat >>conftest.$ac_ext <<_ACEOF
51700 /* end confdefs.h.  */
51701 #include <$ac_header>
51702 _ACEOF
51703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51704   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51705   ac_status=$?
51706   grep -v '^ *+' conftest.er1 >conftest.err
51707   rm -f conftest.er1
51708   cat conftest.err >&5
51709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51710   (exit $ac_status); } >/dev/null; then
51711   if test -s conftest.err; then
51712     ac_cpp_err=$ac_c_preproc_warn_flag
51713   else
51714     ac_cpp_err=
51715   fi
51716 else
51717   ac_cpp_err=yes
51718 fi
51719 if test -z "$ac_cpp_err"; then
51720   ac_header_preproc=yes
51721 else
51722   echo "$as_me: failed program was:" >&5
51723 sed 's/^/| /' conftest.$ac_ext >&5
51724
51725   ac_header_preproc=no
51726 fi
51727 rm -f conftest.err conftest.$ac_ext
51728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51729 echo "${ECHO_T}$ac_header_preproc" >&6
51730
51731 # So?  What about this header?
51732 case $ac_header_compiler:$ac_header_preproc in
51733   yes:no )
51734     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51736     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51738     (
51739       cat <<\_ASBOX
51740 ## ------------------------------------ ##
51741 ## Report this to bug-autoconf@gnu.org. ##
51742 ## ------------------------------------ ##
51743 _ASBOX
51744     ) |
51745       sed "s/^/$as_me: WARNING:     /" >&2
51746     ;;
51747   no:yes )
51748     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51750     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51752     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51754     (
51755       cat <<\_ASBOX
51756 ## ------------------------------------ ##
51757 ## Report this to bug-autoconf@gnu.org. ##
51758 ## ------------------------------------ ##
51759 _ASBOX
51760     ) |
51761       sed "s/^/$as_me: WARNING:     /" >&2
51762     ;;
51763 esac
51764 echo "$as_me:$LINENO: checking for $ac_header" >&5
51765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51767   echo $ECHO_N "(cached) $ECHO_C" >&6
51768 else
51769   eval "$as_ac_Header=$ac_header_preproc"
51770 fi
51771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51773
51774 fi
51775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51776   cat >>confdefs.h <<_ACEOF
51777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51778 _ACEOF
51779  ac_has_wchar_h=yes
51780 else
51781   ac_has_wchar_h=no
51782 fi
51783
51784 done
51785
51786
51787 for ac_header in wctype.h
51788 do
51789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51791   echo "$as_me:$LINENO: checking for $ac_header" >&5
51792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51794   echo $ECHO_N "(cached) $ECHO_C" >&6
51795 fi
51796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51798 else
51799   # Is the header compilable?
51800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51802 cat >conftest.$ac_ext <<_ACEOF
51803 #line $LINENO "configure"
51804 /* confdefs.h.  */
51805 _ACEOF
51806 cat confdefs.h >>conftest.$ac_ext
51807 cat >>conftest.$ac_ext <<_ACEOF
51808 /* end confdefs.h.  */
51809 $ac_includes_default
51810 #include <$ac_header>
51811 _ACEOF
51812 rm -f conftest.$ac_objext
51813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51814   (eval $ac_compile) 2>&5
51815   ac_status=$?
51816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51817   (exit $ac_status); } &&
51818          { ac_try='test -s conftest.$ac_objext'
51819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51820   (eval $ac_try) 2>&5
51821   ac_status=$?
51822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51823   (exit $ac_status); }; }; then
51824   ac_header_compiler=yes
51825 else
51826   echo "$as_me: failed program was:" >&5
51827 sed 's/^/| /' conftest.$ac_ext >&5
51828
51829 ac_header_compiler=no
51830 fi
51831 rm -f conftest.$ac_objext conftest.$ac_ext
51832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51833 echo "${ECHO_T}$ac_header_compiler" >&6
51834
51835 # Is the header present?
51836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51838 cat >conftest.$ac_ext <<_ACEOF
51839 #line $LINENO "configure"
51840 /* confdefs.h.  */
51841 _ACEOF
51842 cat confdefs.h >>conftest.$ac_ext
51843 cat >>conftest.$ac_ext <<_ACEOF
51844 /* end confdefs.h.  */
51845 #include <$ac_header>
51846 _ACEOF
51847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51848   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51849   ac_status=$?
51850   grep -v '^ *+' conftest.er1 >conftest.err
51851   rm -f conftest.er1
51852   cat conftest.err >&5
51853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854   (exit $ac_status); } >/dev/null; then
51855   if test -s conftest.err; then
51856     ac_cpp_err=$ac_c_preproc_warn_flag
51857   else
51858     ac_cpp_err=
51859   fi
51860 else
51861   ac_cpp_err=yes
51862 fi
51863 if test -z "$ac_cpp_err"; then
51864   ac_header_preproc=yes
51865 else
51866   echo "$as_me: failed program was:" >&5
51867 sed 's/^/| /' conftest.$ac_ext >&5
51868
51869   ac_header_preproc=no
51870 fi
51871 rm -f conftest.err conftest.$ac_ext
51872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51873 echo "${ECHO_T}$ac_header_preproc" >&6
51874
51875 # So?  What about this header?
51876 case $ac_header_compiler:$ac_header_preproc in
51877   yes:no )
51878     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51880     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51882     (
51883       cat <<\_ASBOX
51884 ## ------------------------------------ ##
51885 ## Report this to bug-autoconf@gnu.org. ##
51886 ## ------------------------------------ ##
51887 _ASBOX
51888     ) |
51889       sed "s/^/$as_me: WARNING:     /" >&2
51890     ;;
51891   no:yes )
51892     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51894     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51898     (
51899       cat <<\_ASBOX
51900 ## ------------------------------------ ##
51901 ## Report this to bug-autoconf@gnu.org. ##
51902 ## ------------------------------------ ##
51903 _ASBOX
51904     ) |
51905       sed "s/^/$as_me: WARNING:     /" >&2
51906     ;;
51907 esac
51908 echo "$as_me:$LINENO: checking for $ac_header" >&5
51909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51911   echo $ECHO_N "(cached) $ECHO_C" >&6
51912 else
51913   eval "$as_ac_Header=$ac_header_preproc"
51914 fi
51915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51917
51918 fi
51919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51920   cat >>confdefs.h <<_ACEOF
51921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51922 _ACEOF
51923  ac_has_wctype_h=yes
51924 else
51925   ac_has_wctype_h=no
51926 fi
51927
51928 done
51929
51930
51931   # Only continue checking if the ISO C99 headers exist and support is on.
51932   if test x"$ac_has_wchar_h" = xyes &&
51933      test x"$ac_has_wctype_h" = xyes &&
51934      test x"$enable_c_mbchar" != xno; then
51935
51936     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51937     # numeric_limits can instantiate type_traits<wchar_t>
51938     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51939 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51940     cat >conftest.$ac_ext <<_ACEOF
51941 #line $LINENO "configure"
51942 /* confdefs.h.  */
51943 _ACEOF
51944 cat confdefs.h >>conftest.$ac_ext
51945 cat >>conftest.$ac_ext <<_ACEOF
51946 /* end confdefs.h.  */
51947 #include <wchar.h>
51948 int
51949 main ()
51950 {
51951 int i = WCHAR_MIN; int j = WCHAR_MAX;
51952   ;
51953   return 0;
51954 }
51955 _ACEOF
51956 rm -f conftest.$ac_objext
51957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51958   (eval $ac_compile) 2>&5
51959   ac_status=$?
51960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51961   (exit $ac_status); } &&
51962          { ac_try='test -s conftest.$ac_objext'
51963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51964   (eval $ac_try) 2>&5
51965   ac_status=$?
51966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51967   (exit $ac_status); }; }; then
51968   has_wchar_minmax=yes
51969 else
51970   echo "$as_me: failed program was:" >&5
51971 sed 's/^/| /' conftest.$ac_ext >&5
51972
51973 has_wchar_minmax=no
51974 fi
51975 rm -f conftest.$ac_objext conftest.$ac_ext
51976     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51977 echo "${ECHO_T}$has_wchar_minmax" >&6
51978
51979     # Test wchar.h for WEOF, which is what we use to determine whether
51980     # to specialize for char_traits<wchar_t> or not.
51981     echo "$as_me:$LINENO: checking for WEOF" >&5
51982 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51983     cat >conftest.$ac_ext <<_ACEOF
51984 #line $LINENO "configure"
51985 /* confdefs.h.  */
51986 _ACEOF
51987 cat confdefs.h >>conftest.$ac_ext
51988 cat >>conftest.$ac_ext <<_ACEOF
51989 /* end confdefs.h.  */
51990
51991       #include <wchar.h>
51992       #include <stddef.h>
51993 int
51994 main ()
51995 {
51996 wint_t i = WEOF;
51997   ;
51998   return 0;
51999 }
52000 _ACEOF
52001 rm -f conftest.$ac_objext
52002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52003   (eval $ac_compile) 2>&5
52004   ac_status=$?
52005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52006   (exit $ac_status); } &&
52007          { ac_try='test -s conftest.$ac_objext'
52008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52009   (eval $ac_try) 2>&5
52010   ac_status=$?
52011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52012   (exit $ac_status); }; }; then
52013   has_weof=yes
52014 else
52015   echo "$as_me: failed program was:" >&5
52016 sed 's/^/| /' conftest.$ac_ext >&5
52017
52018 has_weof=no
52019 fi
52020 rm -f conftest.$ac_objext conftest.$ac_ext
52021     echo "$as_me:$LINENO: result: $has_weof" >&5
52022 echo "${ECHO_T}$has_weof" >&6
52023
52024     # Tests for wide character functions used in char_traits<wchar_t>.
52025     ac_wfuncs=yes
52026
52027
52028
52029
52030
52031
52032 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52033 do
52034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52035 echo "$as_me:$LINENO: checking for $ac_func" >&5
52036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52037 if eval "test \"\${$as_ac_var+set}\" = set"; then
52038   echo $ECHO_N "(cached) $ECHO_C" >&6
52039 else
52040   if test x$gcc_no_link = xyes; then
52041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52043    { (exit 1); exit 1; }; }
52044 fi
52045 cat >conftest.$ac_ext <<_ACEOF
52046 #line $LINENO "configure"
52047 /* confdefs.h.  */
52048 _ACEOF
52049 cat confdefs.h >>conftest.$ac_ext
52050 cat >>conftest.$ac_ext <<_ACEOF
52051 /* end confdefs.h.  */
52052 /* System header to define __stub macros and hopefully few prototypes,
52053     which can conflict with char $ac_func (); below.
52054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52055     <limits.h> exists even on freestanding compilers.  */
52056 #ifdef __STDC__
52057 # include <limits.h>
52058 #else
52059 # include <assert.h>
52060 #endif
52061 /* Override any gcc2 internal prototype to avoid an error.  */
52062 #ifdef __cplusplus
52063 extern "C"
52064 {
52065 #endif
52066 /* We use char because int might match the return type of a gcc2
52067    builtin and then its argument prototype would still apply.  */
52068 char $ac_func ();
52069 /* The GNU C library defines this for functions which it implements
52070     to always fail with ENOSYS.  Some functions are actually named
52071     something starting with __ and the normal name is an alias.  */
52072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52073 choke me
52074 #else
52075 char (*f) () = $ac_func;
52076 #endif
52077 #ifdef __cplusplus
52078 }
52079 #endif
52080
52081 int
52082 main ()
52083 {
52084 return f != $ac_func;
52085   ;
52086   return 0;
52087 }
52088 _ACEOF
52089 rm -f conftest.$ac_objext conftest$ac_exeext
52090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52091   (eval $ac_link) 2>&5
52092   ac_status=$?
52093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52094   (exit $ac_status); } &&
52095          { ac_try='test -s conftest$ac_exeext'
52096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52097   (eval $ac_try) 2>&5
52098   ac_status=$?
52099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52100   (exit $ac_status); }; }; then
52101   eval "$as_ac_var=yes"
52102 else
52103   echo "$as_me: failed program was:" >&5
52104 sed 's/^/| /' conftest.$ac_ext >&5
52105
52106 eval "$as_ac_var=no"
52107 fi
52108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52109 fi
52110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52112 if test `eval echo '${'$as_ac_var'}'` = yes; then
52113   cat >>confdefs.h <<_ACEOF
52114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52115 _ACEOF
52116
52117 else
52118   ac_wfuncs=no
52119 fi
52120 done
52121
52122
52123     # Checks for names injected into std:: by the c_std headers.
52124
52125
52126
52127
52128
52129
52130
52131
52132
52133
52134
52135
52136
52137
52138
52139
52140
52141
52142
52143
52144
52145
52146
52147
52148
52149
52150
52151
52152
52153
52154
52155
52156
52157
52158
52159
52160
52161
52162
52163
52164
52165
52166
52167
52168
52169
52170 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52171     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
52172     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52173     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
52174     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52175     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52176 do
52177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52178 echo "$as_me:$LINENO: checking for $ac_func" >&5
52179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52180 if eval "test \"\${$as_ac_var+set}\" = set"; then
52181   echo $ECHO_N "(cached) $ECHO_C" >&6
52182 else
52183   if test x$gcc_no_link = xyes; then
52184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52186    { (exit 1); exit 1; }; }
52187 fi
52188 cat >conftest.$ac_ext <<_ACEOF
52189 #line $LINENO "configure"
52190 /* confdefs.h.  */
52191 _ACEOF
52192 cat confdefs.h >>conftest.$ac_ext
52193 cat >>conftest.$ac_ext <<_ACEOF
52194 /* end confdefs.h.  */
52195 /* System header to define __stub macros and hopefully few prototypes,
52196     which can conflict with char $ac_func (); below.
52197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52198     <limits.h> exists even on freestanding compilers.  */
52199 #ifdef __STDC__
52200 # include <limits.h>
52201 #else
52202 # include <assert.h>
52203 #endif
52204 /* Override any gcc2 internal prototype to avoid an error.  */
52205 #ifdef __cplusplus
52206 extern "C"
52207 {
52208 #endif
52209 /* We use char because int might match the return type of a gcc2
52210    builtin and then its argument prototype would still apply.  */
52211 char $ac_func ();
52212 /* The GNU C library defines this for functions which it implements
52213     to always fail with ENOSYS.  Some functions are actually named
52214     something starting with __ and the normal name is an alias.  */
52215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52216 choke me
52217 #else
52218 char (*f) () = $ac_func;
52219 #endif
52220 #ifdef __cplusplus
52221 }
52222 #endif
52223
52224 int
52225 main ()
52226 {
52227 return f != $ac_func;
52228   ;
52229   return 0;
52230 }
52231 _ACEOF
52232 rm -f conftest.$ac_objext conftest$ac_exeext
52233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52234   (eval $ac_link) 2>&5
52235   ac_status=$?
52236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52237   (exit $ac_status); } &&
52238          { ac_try='test -s conftest$ac_exeext'
52239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52240   (eval $ac_try) 2>&5
52241   ac_status=$?
52242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52243   (exit $ac_status); }; }; then
52244   eval "$as_ac_var=yes"
52245 else
52246   echo "$as_me: failed program was:" >&5
52247 sed 's/^/| /' conftest.$ac_ext >&5
52248
52249 eval "$as_ac_var=no"
52250 fi
52251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52252 fi
52253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52255 if test `eval echo '${'$as_ac_var'}'` = yes; then
52256   cat >>confdefs.h <<_ACEOF
52257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52258 _ACEOF
52259
52260 else
52261   ac_wfuncs=no
52262 fi
52263 done
52264
52265
52266     # Checks for wide character functions that are not required
52267     # for basic wchar_t support.  Don't disable support if they are missing.
52268     # Injection of these is wrapped with guard macros.
52269
52270
52271
52272
52273
52274 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
52275 do
52276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52277 echo "$as_me:$LINENO: checking for $ac_func" >&5
52278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52279 if eval "test \"\${$as_ac_var+set}\" = set"; then
52280   echo $ECHO_N "(cached) $ECHO_C" >&6
52281 else
52282   if test x$gcc_no_link = xyes; then
52283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52285    { (exit 1); exit 1; }; }
52286 fi
52287 cat >conftest.$ac_ext <<_ACEOF
52288 #line $LINENO "configure"
52289 /* confdefs.h.  */
52290 _ACEOF
52291 cat confdefs.h >>conftest.$ac_ext
52292 cat >>conftest.$ac_ext <<_ACEOF
52293 /* end confdefs.h.  */
52294 /* System header to define __stub macros and hopefully few prototypes,
52295     which can conflict with char $ac_func (); below.
52296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52297     <limits.h> exists even on freestanding compilers.  */
52298 #ifdef __STDC__
52299 # include <limits.h>
52300 #else
52301 # include <assert.h>
52302 #endif
52303 /* Override any gcc2 internal prototype to avoid an error.  */
52304 #ifdef __cplusplus
52305 extern "C"
52306 {
52307 #endif
52308 /* We use char because int might match the return type of a gcc2
52309    builtin and then its argument prototype would still apply.  */
52310 char $ac_func ();
52311 /* The GNU C library defines this for functions which it implements
52312     to always fail with ENOSYS.  Some functions are actually named
52313     something starting with __ and the normal name is an alias.  */
52314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52315 choke me
52316 #else
52317 char (*f) () = $ac_func;
52318 #endif
52319 #ifdef __cplusplus
52320 }
52321 #endif
52322
52323 int
52324 main ()
52325 {
52326 return f != $ac_func;
52327   ;
52328   return 0;
52329 }
52330 _ACEOF
52331 rm -f conftest.$ac_objext conftest$ac_exeext
52332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52333   (eval $ac_link) 2>&5
52334   ac_status=$?
52335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52336   (exit $ac_status); } &&
52337          { ac_try='test -s conftest$ac_exeext'
52338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52339   (eval $ac_try) 2>&5
52340   ac_status=$?
52341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52342   (exit $ac_status); }; }; then
52343   eval "$as_ac_var=yes"
52344 else
52345   echo "$as_me: failed program was:" >&5
52346 sed 's/^/| /' conftest.$ac_ext >&5
52347
52348 eval "$as_ac_var=no"
52349 fi
52350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52351 fi
52352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52354 if test `eval echo '${'$as_ac_var'}'` = yes; then
52355   cat >>confdefs.h <<_ACEOF
52356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52357 _ACEOF
52358
52359 fi
52360 done
52361
52362
52363     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52364 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52365     if test x"$has_weof" = xyes &&
52366        test x"$has_wchar_minmax" = xyes &&
52367        test x"$ac_wfuncs" = xyes;
52368     then
52369       ac_isoC99_wchar_t=yes
52370     else
52371       ac_isoC99_wchar_t=no
52372     fi
52373     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52374 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52375
52376     # Use iconv for wchar_t to char conversions. As such, check for
52377     # X/Open Portability Guide, version 2 features (XPG2).
52378     if test "${ac_cv_header_iconv_h+set}" = set; then
52379   echo "$as_me:$LINENO: checking for iconv.h" >&5
52380 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52381 if test "${ac_cv_header_iconv_h+set}" = set; then
52382   echo $ECHO_N "(cached) $ECHO_C" >&6
52383 fi
52384 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52385 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52386 else
52387   # Is the header compilable?
52388 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52389 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52390 cat >conftest.$ac_ext <<_ACEOF
52391 #line $LINENO "configure"
52392 /* confdefs.h.  */
52393 _ACEOF
52394 cat confdefs.h >>conftest.$ac_ext
52395 cat >>conftest.$ac_ext <<_ACEOF
52396 /* end confdefs.h.  */
52397 $ac_includes_default
52398 #include <iconv.h>
52399 _ACEOF
52400 rm -f conftest.$ac_objext
52401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52402   (eval $ac_compile) 2>&5
52403   ac_status=$?
52404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52405   (exit $ac_status); } &&
52406          { ac_try='test -s conftest.$ac_objext'
52407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52408   (eval $ac_try) 2>&5
52409   ac_status=$?
52410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52411   (exit $ac_status); }; }; then
52412   ac_header_compiler=yes
52413 else
52414   echo "$as_me: failed program was:" >&5
52415 sed 's/^/| /' conftest.$ac_ext >&5
52416
52417 ac_header_compiler=no
52418 fi
52419 rm -f conftest.$ac_objext conftest.$ac_ext
52420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52421 echo "${ECHO_T}$ac_header_compiler" >&6
52422
52423 # Is the header present?
52424 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52425 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52426 cat >conftest.$ac_ext <<_ACEOF
52427 #line $LINENO "configure"
52428 /* confdefs.h.  */
52429 _ACEOF
52430 cat confdefs.h >>conftest.$ac_ext
52431 cat >>conftest.$ac_ext <<_ACEOF
52432 /* end confdefs.h.  */
52433 #include <iconv.h>
52434 _ACEOF
52435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52436   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52437   ac_status=$?
52438   grep -v '^ *+' conftest.er1 >conftest.err
52439   rm -f conftest.er1
52440   cat conftest.err >&5
52441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52442   (exit $ac_status); } >/dev/null; then
52443   if test -s conftest.err; then
52444     ac_cpp_err=$ac_c_preproc_warn_flag
52445   else
52446     ac_cpp_err=
52447   fi
52448 else
52449   ac_cpp_err=yes
52450 fi
52451 if test -z "$ac_cpp_err"; then
52452   ac_header_preproc=yes
52453 else
52454   echo "$as_me: failed program was:" >&5
52455 sed 's/^/| /' conftest.$ac_ext >&5
52456
52457   ac_header_preproc=no
52458 fi
52459 rm -f conftest.err conftest.$ac_ext
52460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52461 echo "${ECHO_T}$ac_header_preproc" >&6
52462
52463 # So?  What about this header?
52464 case $ac_header_compiler:$ac_header_preproc in
52465   yes:no )
52466     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52467 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52468     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52469 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52470     (
52471       cat <<\_ASBOX
52472 ## ------------------------------------ ##
52473 ## Report this to bug-autoconf@gnu.org. ##
52474 ## ------------------------------------ ##
52475 _ASBOX
52476     ) |
52477       sed "s/^/$as_me: WARNING:     /" >&2
52478     ;;
52479   no:yes )
52480     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52481 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52482     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52483 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52484     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52485 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52486     (
52487       cat <<\_ASBOX
52488 ## ------------------------------------ ##
52489 ## Report this to bug-autoconf@gnu.org. ##
52490 ## ------------------------------------ ##
52491 _ASBOX
52492     ) |
52493       sed "s/^/$as_me: WARNING:     /" >&2
52494     ;;
52495 esac
52496 echo "$as_me:$LINENO: checking for iconv.h" >&5
52497 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52498 if test "${ac_cv_header_iconv_h+set}" = set; then
52499   echo $ECHO_N "(cached) $ECHO_C" >&6
52500 else
52501   ac_cv_header_iconv_h=$ac_header_preproc
52502 fi
52503 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52504 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52505
52506 fi
52507 if test $ac_cv_header_iconv_h = yes; then
52508   ac_has_iconv_h=yes
52509 else
52510   ac_has_iconv_h=no
52511 fi
52512
52513
52514     if test "${ac_cv_header_langinfo_h+set}" = set; then
52515   echo "$as_me:$LINENO: checking for langinfo.h" >&5
52516 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52517 if test "${ac_cv_header_langinfo_h+set}" = set; then
52518   echo $ECHO_N "(cached) $ECHO_C" >&6
52519 fi
52520 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52521 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52522 else
52523   # Is the header compilable?
52524 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52525 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52526 cat >conftest.$ac_ext <<_ACEOF
52527 #line $LINENO "configure"
52528 /* confdefs.h.  */
52529 _ACEOF
52530 cat confdefs.h >>conftest.$ac_ext
52531 cat >>conftest.$ac_ext <<_ACEOF
52532 /* end confdefs.h.  */
52533 $ac_includes_default
52534 #include <langinfo.h>
52535 _ACEOF
52536 rm -f conftest.$ac_objext
52537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52538   (eval $ac_compile) 2>&5
52539   ac_status=$?
52540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52541   (exit $ac_status); } &&
52542          { ac_try='test -s conftest.$ac_objext'
52543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52544   (eval $ac_try) 2>&5
52545   ac_status=$?
52546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52547   (exit $ac_status); }; }; then
52548   ac_header_compiler=yes
52549 else
52550   echo "$as_me: failed program was:" >&5
52551 sed 's/^/| /' conftest.$ac_ext >&5
52552
52553 ac_header_compiler=no
52554 fi
52555 rm -f conftest.$ac_objext conftest.$ac_ext
52556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52557 echo "${ECHO_T}$ac_header_compiler" >&6
52558
52559 # Is the header present?
52560 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52561 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52562 cat >conftest.$ac_ext <<_ACEOF
52563 #line $LINENO "configure"
52564 /* confdefs.h.  */
52565 _ACEOF
52566 cat confdefs.h >>conftest.$ac_ext
52567 cat >>conftest.$ac_ext <<_ACEOF
52568 /* end confdefs.h.  */
52569 #include <langinfo.h>
52570 _ACEOF
52571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52572   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52573   ac_status=$?
52574   grep -v '^ *+' conftest.er1 >conftest.err
52575   rm -f conftest.er1
52576   cat conftest.err >&5
52577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52578   (exit $ac_status); } >/dev/null; then
52579   if test -s conftest.err; then
52580     ac_cpp_err=$ac_c_preproc_warn_flag
52581   else
52582     ac_cpp_err=
52583   fi
52584 else
52585   ac_cpp_err=yes
52586 fi
52587 if test -z "$ac_cpp_err"; then
52588   ac_header_preproc=yes
52589 else
52590   echo "$as_me: failed program was:" >&5
52591 sed 's/^/| /' conftest.$ac_ext >&5
52592
52593   ac_header_preproc=no
52594 fi
52595 rm -f conftest.err conftest.$ac_ext
52596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52597 echo "${ECHO_T}$ac_header_preproc" >&6
52598
52599 # So?  What about this header?
52600 case $ac_header_compiler:$ac_header_preproc in
52601   yes:no )
52602     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52603 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52604     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52605 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52606     (
52607       cat <<\_ASBOX
52608 ## ------------------------------------ ##
52609 ## Report this to bug-autoconf@gnu.org. ##
52610 ## ------------------------------------ ##
52611 _ASBOX
52612     ) |
52613       sed "s/^/$as_me: WARNING:     /" >&2
52614     ;;
52615   no:yes )
52616     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52617 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52618     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52619 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52620     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52621 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52622     (
52623       cat <<\_ASBOX
52624 ## ------------------------------------ ##
52625 ## Report this to bug-autoconf@gnu.org. ##
52626 ## ------------------------------------ ##
52627 _ASBOX
52628     ) |
52629       sed "s/^/$as_me: WARNING:     /" >&2
52630     ;;
52631 esac
52632 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52633 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52634 if test "${ac_cv_header_langinfo_h+set}" = set; then
52635   echo $ECHO_N "(cached) $ECHO_C" >&6
52636 else
52637   ac_cv_header_langinfo_h=$ac_header_preproc
52638 fi
52639 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52640 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52641
52642 fi
52643 if test $ac_cv_header_langinfo_h = yes; then
52644   ac_has_langinfo_h=yes
52645 else
52646   ac_has_langinfo_h=no
52647 fi
52648
52649
52650
52651     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52652     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52653 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52654 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52655   echo $ECHO_N "(cached) $ECHO_C" >&6
52656 else
52657   ac_check_lib_save_LIBS=$LIBS
52658 LIBS="-liconv  $LIBS"
52659 if test x$gcc_no_link = xyes; then
52660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52662    { (exit 1); exit 1; }; }
52663 fi
52664 cat >conftest.$ac_ext <<_ACEOF
52665 #line $LINENO "configure"
52666 /* confdefs.h.  */
52667 _ACEOF
52668 cat confdefs.h >>conftest.$ac_ext
52669 cat >>conftest.$ac_ext <<_ACEOF
52670 /* end confdefs.h.  */
52671
52672 /* Override any gcc2 internal prototype to avoid an error.  */
52673 #ifdef __cplusplus
52674 extern "C"
52675 #endif
52676 /* We use char because int might match the return type of a gcc2
52677    builtin and then its argument prototype would still apply.  */
52678 char iconv ();
52679 int
52680 main ()
52681 {
52682 iconv ();
52683   ;
52684   return 0;
52685 }
52686 _ACEOF
52687 rm -f conftest.$ac_objext conftest$ac_exeext
52688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52689   (eval $ac_link) 2>&5
52690   ac_status=$?
52691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52692   (exit $ac_status); } &&
52693          { ac_try='test -s conftest$ac_exeext'
52694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52695   (eval $ac_try) 2>&5
52696   ac_status=$?
52697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52698   (exit $ac_status); }; }; then
52699   ac_cv_lib_iconv_iconv=yes
52700 else
52701   echo "$as_me: failed program was:" >&5
52702 sed 's/^/| /' conftest.$ac_ext >&5
52703
52704 ac_cv_lib_iconv_iconv=no
52705 fi
52706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52707 LIBS=$ac_check_lib_save_LIBS
52708 fi
52709 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52710 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52711 if test $ac_cv_lib_iconv_iconv = yes; then
52712   libiconv="-liconv"
52713 fi
52714
52715     ac_save_LIBS="$LIBS"
52716     LIBS="$LIBS $libiconv"
52717
52718
52719
52720
52721
52722 for ac_func in iconv_open iconv_close iconv nl_langinfo
52723 do
52724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52725 echo "$as_me:$LINENO: checking for $ac_func" >&5
52726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52727 if eval "test \"\${$as_ac_var+set}\" = set"; then
52728   echo $ECHO_N "(cached) $ECHO_C" >&6
52729 else
52730   if test x$gcc_no_link = xyes; then
52731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52733    { (exit 1); exit 1; }; }
52734 fi
52735 cat >conftest.$ac_ext <<_ACEOF
52736 #line $LINENO "configure"
52737 /* confdefs.h.  */
52738 _ACEOF
52739 cat confdefs.h >>conftest.$ac_ext
52740 cat >>conftest.$ac_ext <<_ACEOF
52741 /* end confdefs.h.  */
52742 /* System header to define __stub macros and hopefully few prototypes,
52743     which can conflict with char $ac_func (); below.
52744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52745     <limits.h> exists even on freestanding compilers.  */
52746 #ifdef __STDC__
52747 # include <limits.h>
52748 #else
52749 # include <assert.h>
52750 #endif
52751 /* Override any gcc2 internal prototype to avoid an error.  */
52752 #ifdef __cplusplus
52753 extern "C"
52754 {
52755 #endif
52756 /* We use char because int might match the return type of a gcc2
52757    builtin and then its argument prototype would still apply.  */
52758 char $ac_func ();
52759 /* The GNU C library defines this for functions which it implements
52760     to always fail with ENOSYS.  Some functions are actually named
52761     something starting with __ and the normal name is an alias.  */
52762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52763 choke me
52764 #else
52765 char (*f) () = $ac_func;
52766 #endif
52767 #ifdef __cplusplus
52768 }
52769 #endif
52770
52771 int
52772 main ()
52773 {
52774 return f != $ac_func;
52775   ;
52776   return 0;
52777 }
52778 _ACEOF
52779 rm -f conftest.$ac_objext conftest$ac_exeext
52780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52781   (eval $ac_link) 2>&5
52782   ac_status=$?
52783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52784   (exit $ac_status); } &&
52785          { ac_try='test -s conftest$ac_exeext'
52786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52787   (eval $ac_try) 2>&5
52788   ac_status=$?
52789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52790   (exit $ac_status); }; }; then
52791   eval "$as_ac_var=yes"
52792 else
52793   echo "$as_me: failed program was:" >&5
52794 sed 's/^/| /' conftest.$ac_ext >&5
52795
52796 eval "$as_ac_var=no"
52797 fi
52798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52799 fi
52800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52802 if test `eval echo '${'$as_ac_var'}'` = yes; then
52803   cat >>confdefs.h <<_ACEOF
52804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52805 _ACEOF
52806  ac_XPG2funcs=yes
52807 else
52808   ac_XPG2funcs=no
52809 fi
52810 done
52811
52812
52813     LIBS="$ac_save_LIBS"
52814
52815     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52816 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52817     if test x"$ac_has_iconv_h" = xyes &&
52818        test x"$ac_has_langinfo_h" = xyes &&
52819        test x"$ac_XPG2funcs" = xyes;
52820     then
52821       ac_XPG2_wchar_t=yes
52822     else
52823       ac_XPG2_wchar_t=no
52824     fi
52825     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52826 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52827
52828     # At the moment, only enable wchar_t specializations if all the
52829     # above support is present.
52830     if test x"$ac_isoC99_wchar_t" = xyes &&
52831        test x"$ac_XPG2_wchar_t" = xyes;
52832     then
52833       cat >>confdefs.h <<\_ACEOF
52834 #define _GLIBCXX_USE_WCHAR_T 1
52835 _ACEOF
52836
52837       enable_wchar_t=yes
52838     fi
52839   fi
52840   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52841 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52842   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52843 echo "${ECHO_T}$enable_wchar_t" >&6
52844
52845
52846     # For LFS.
52847     cat >>confdefs.h <<\_ACEOF
52848 #define HAVE_INT64_T 1
52849 _ACEOF
52850
52851     cat >>confdefs.h <<\_ACEOF
52852 #define _GLIBCXX_USE_LFS 1
52853 _ACEOF
52854
52855
52856     # For showmanyc_helper().
52857
52858
52859 for ac_header in sys/ioctl.h sys/filio.h
52860 do
52861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52863   echo "$as_me:$LINENO: checking for $ac_header" >&5
52864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52866   echo $ECHO_N "(cached) $ECHO_C" >&6
52867 fi
52868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52870 else
52871   # Is the header compilable?
52872 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52874 cat >conftest.$ac_ext <<_ACEOF
52875 #line $LINENO "configure"
52876 /* confdefs.h.  */
52877 _ACEOF
52878 cat confdefs.h >>conftest.$ac_ext
52879 cat >>conftest.$ac_ext <<_ACEOF
52880 /* end confdefs.h.  */
52881 $ac_includes_default
52882 #include <$ac_header>
52883 _ACEOF
52884 rm -f conftest.$ac_objext
52885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52886   (eval $ac_compile) 2>&5
52887   ac_status=$?
52888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889   (exit $ac_status); } &&
52890          { ac_try='test -s conftest.$ac_objext'
52891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52892   (eval $ac_try) 2>&5
52893   ac_status=$?
52894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52895   (exit $ac_status); }; }; then
52896   ac_header_compiler=yes
52897 else
52898   echo "$as_me: failed program was:" >&5
52899 sed 's/^/| /' conftest.$ac_ext >&5
52900
52901 ac_header_compiler=no
52902 fi
52903 rm -f conftest.$ac_objext conftest.$ac_ext
52904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52905 echo "${ECHO_T}$ac_header_compiler" >&6
52906
52907 # Is the header present?
52908 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52910 cat >conftest.$ac_ext <<_ACEOF
52911 #line $LINENO "configure"
52912 /* confdefs.h.  */
52913 _ACEOF
52914 cat confdefs.h >>conftest.$ac_ext
52915 cat >>conftest.$ac_ext <<_ACEOF
52916 /* end confdefs.h.  */
52917 #include <$ac_header>
52918 _ACEOF
52919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52920   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52921   ac_status=$?
52922   grep -v '^ *+' conftest.er1 >conftest.err
52923   rm -f conftest.er1
52924   cat conftest.err >&5
52925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52926   (exit $ac_status); } >/dev/null; then
52927   if test -s conftest.err; then
52928     ac_cpp_err=$ac_c_preproc_warn_flag
52929   else
52930     ac_cpp_err=
52931   fi
52932 else
52933   ac_cpp_err=yes
52934 fi
52935 if test -z "$ac_cpp_err"; then
52936   ac_header_preproc=yes
52937 else
52938   echo "$as_me: failed program was:" >&5
52939 sed 's/^/| /' conftest.$ac_ext >&5
52940
52941   ac_header_preproc=no
52942 fi
52943 rm -f conftest.err conftest.$ac_ext
52944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52945 echo "${ECHO_T}$ac_header_preproc" >&6
52946
52947 # So?  What about this header?
52948 case $ac_header_compiler:$ac_header_preproc in
52949   yes:no )
52950     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52951 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52952     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52954     (
52955       cat <<\_ASBOX
52956 ## ------------------------------------ ##
52957 ## Report this to bug-autoconf@gnu.org. ##
52958 ## ------------------------------------ ##
52959 _ASBOX
52960     ) |
52961       sed "s/^/$as_me: WARNING:     /" >&2
52962     ;;
52963   no:yes )
52964     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52965 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52966     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52967 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52968     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52970     (
52971       cat <<\_ASBOX
52972 ## ------------------------------------ ##
52973 ## Report this to bug-autoconf@gnu.org. ##
52974 ## ------------------------------------ ##
52975 _ASBOX
52976     ) |
52977       sed "s/^/$as_me: WARNING:     /" >&2
52978     ;;
52979 esac
52980 echo "$as_me:$LINENO: checking for $ac_header" >&5
52981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52983   echo $ECHO_N "(cached) $ECHO_C" >&6
52984 else
52985   eval "$as_ac_Header=$ac_header_preproc"
52986 fi
52987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52989
52990 fi
52991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52992   cat >>confdefs.h <<_ACEOF
52993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52994 _ACEOF
52995
52996 fi
52997
52998 done
52999
53000
53001   if test "${glibcxx_cv_POLL+set}" = set; then
53002   echo $ECHO_N "(cached) $ECHO_C" >&6
53003 else
53004
53005     if test x$gcc_no_link = xyes; then
53006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53008    { (exit 1); exit 1; }; }
53009 fi
53010 cat >conftest.$ac_ext <<_ACEOF
53011 #line $LINENO "configure"
53012 /* confdefs.h.  */
53013 _ACEOF
53014 cat confdefs.h >>conftest.$ac_ext
53015 cat >>conftest.$ac_ext <<_ACEOF
53016 /* end confdefs.h.  */
53017 #include <poll.h>
53018 int
53019 main ()
53020 {
53021 struct pollfd pfd[1];
53022        pfd[0].events = POLLIN;
53023        poll(pfd, 1, 0);
53024   ;
53025   return 0;
53026 }
53027 _ACEOF
53028 rm -f conftest.$ac_objext conftest$ac_exeext
53029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53030   (eval $ac_link) 2>&5
53031   ac_status=$?
53032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53033   (exit $ac_status); } &&
53034          { ac_try='test -s conftest$ac_exeext'
53035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53036   (eval $ac_try) 2>&5
53037   ac_status=$?
53038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53039   (exit $ac_status); }; }; then
53040   glibcxx_cv_POLL=yes
53041 else
53042   echo "$as_me: failed program was:" >&5
53043 sed 's/^/| /' conftest.$ac_ext >&5
53044
53045 glibcxx_cv_POLL=no
53046 fi
53047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53048
53049 fi
53050
53051   if test $glibcxx_cv_POLL = yes; then
53052     cat >>confdefs.h <<\_ACEOF
53053 #define HAVE_POLL 1
53054 _ACEOF
53055
53056   fi
53057
53058
53059   if test "${glibcxx_cv_S_ISREG+set}" = set; then
53060   echo $ECHO_N "(cached) $ECHO_C" >&6
53061 else
53062
53063     if test x$gcc_no_link = xyes; then
53064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53066    { (exit 1); exit 1; }; }
53067 fi
53068 cat >conftest.$ac_ext <<_ACEOF
53069 #line $LINENO "configure"
53070 /* confdefs.h.  */
53071 _ACEOF
53072 cat confdefs.h >>conftest.$ac_ext
53073 cat >>conftest.$ac_ext <<_ACEOF
53074 /* end confdefs.h.  */
53075 #include <sys/stat.h>
53076 int
53077 main ()
53078 {
53079 struct stat buffer;
53080        fstat(0, &buffer);
53081        S_ISREG(buffer.st_mode);
53082   ;
53083   return 0;
53084 }
53085 _ACEOF
53086 rm -f conftest.$ac_objext conftest$ac_exeext
53087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53088   (eval $ac_link) 2>&5
53089   ac_status=$?
53090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53091   (exit $ac_status); } &&
53092          { ac_try='test -s conftest$ac_exeext'
53093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53094   (eval $ac_try) 2>&5
53095   ac_status=$?
53096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53097   (exit $ac_status); }; }; then
53098   glibcxx_cv_S_ISREG=yes
53099 else
53100   echo "$as_me: failed program was:" >&5
53101 sed 's/^/| /' conftest.$ac_ext >&5
53102
53103 glibcxx_cv_S_ISREG=no
53104 fi
53105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53106
53107 fi
53108
53109   if test "${glibcxx_cv_S_IFREG+set}" = set; then
53110   echo $ECHO_N "(cached) $ECHO_C" >&6
53111 else
53112
53113     if test x$gcc_no_link = xyes; then
53114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53116    { (exit 1); exit 1; }; }
53117 fi
53118 cat >conftest.$ac_ext <<_ACEOF
53119 #line $LINENO "configure"
53120 /* confdefs.h.  */
53121 _ACEOF
53122 cat confdefs.h >>conftest.$ac_ext
53123 cat >>conftest.$ac_ext <<_ACEOF
53124 /* end confdefs.h.  */
53125 #include <sys/stat.h>
53126 int
53127 main ()
53128 {
53129 struct stat buffer;
53130        fstat(0, &buffer);
53131        S_IFREG & buffer.st_mode;
53132   ;
53133   return 0;
53134 }
53135 _ACEOF
53136 rm -f conftest.$ac_objext conftest$ac_exeext
53137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53138   (eval $ac_link) 2>&5
53139   ac_status=$?
53140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53141   (exit $ac_status); } &&
53142          { ac_try='test -s conftest$ac_exeext'
53143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53144   (eval $ac_try) 2>&5
53145   ac_status=$?
53146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53147   (exit $ac_status); }; }; then
53148   glibcxx_cv_S_IFREG=yes
53149 else
53150   echo "$as_me: failed program was:" >&5
53151 sed 's/^/| /' conftest.$ac_ext >&5
53152
53153 glibcxx_cv_S_IFREG=no
53154 fi
53155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53156
53157 fi
53158
53159   if test $glibcxx_cv_S_ISREG = yes; then
53160     cat >>confdefs.h <<\_ACEOF
53161 #define HAVE_S_ISREG 1
53162 _ACEOF
53163
53164   elif test $glibcxx_cv_S_IFREG = yes; then
53165     cat >>confdefs.h <<\_ACEOF
53166 #define HAVE_S_IFREG 1
53167 _ACEOF
53168
53169   fi
53170
53171
53172     # For xsputn_2().
53173
53174 for ac_header in sys/uio.h
53175 do
53176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53178   echo "$as_me:$LINENO: checking for $ac_header" >&5
53179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53181   echo $ECHO_N "(cached) $ECHO_C" >&6
53182 fi
53183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53185 else
53186   # Is the header compilable?
53187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53189 cat >conftest.$ac_ext <<_ACEOF
53190 #line $LINENO "configure"
53191 /* confdefs.h.  */
53192 _ACEOF
53193 cat confdefs.h >>conftest.$ac_ext
53194 cat >>conftest.$ac_ext <<_ACEOF
53195 /* end confdefs.h.  */
53196 $ac_includes_default
53197 #include <$ac_header>
53198 _ACEOF
53199 rm -f conftest.$ac_objext
53200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53201   (eval $ac_compile) 2>&5
53202   ac_status=$?
53203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53204   (exit $ac_status); } &&
53205          { ac_try='test -s conftest.$ac_objext'
53206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53207   (eval $ac_try) 2>&5
53208   ac_status=$?
53209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53210   (exit $ac_status); }; }; then
53211   ac_header_compiler=yes
53212 else
53213   echo "$as_me: failed program was:" >&5
53214 sed 's/^/| /' conftest.$ac_ext >&5
53215
53216 ac_header_compiler=no
53217 fi
53218 rm -f conftest.$ac_objext conftest.$ac_ext
53219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53220 echo "${ECHO_T}$ac_header_compiler" >&6
53221
53222 # Is the header present?
53223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53225 cat >conftest.$ac_ext <<_ACEOF
53226 #line $LINENO "configure"
53227 /* confdefs.h.  */
53228 _ACEOF
53229 cat confdefs.h >>conftest.$ac_ext
53230 cat >>conftest.$ac_ext <<_ACEOF
53231 /* end confdefs.h.  */
53232 #include <$ac_header>
53233 _ACEOF
53234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53235   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53236   ac_status=$?
53237   grep -v '^ *+' conftest.er1 >conftest.err
53238   rm -f conftest.er1
53239   cat conftest.err >&5
53240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53241   (exit $ac_status); } >/dev/null; then
53242   if test -s conftest.err; then
53243     ac_cpp_err=$ac_c_preproc_warn_flag
53244   else
53245     ac_cpp_err=
53246   fi
53247 else
53248   ac_cpp_err=yes
53249 fi
53250 if test -z "$ac_cpp_err"; then
53251   ac_header_preproc=yes
53252 else
53253   echo "$as_me: failed program was:" >&5
53254 sed 's/^/| /' conftest.$ac_ext >&5
53255
53256   ac_header_preproc=no
53257 fi
53258 rm -f conftest.err conftest.$ac_ext
53259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53260 echo "${ECHO_T}$ac_header_preproc" >&6
53261
53262 # So?  What about this header?
53263 case $ac_header_compiler:$ac_header_preproc in
53264   yes:no )
53265     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53267     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53269     (
53270       cat <<\_ASBOX
53271 ## ------------------------------------ ##
53272 ## Report this to bug-autoconf@gnu.org. ##
53273 ## ------------------------------------ ##
53274 _ASBOX
53275     ) |
53276       sed "s/^/$as_me: WARNING:     /" >&2
53277     ;;
53278   no:yes )
53279     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53281     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53283     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53285     (
53286       cat <<\_ASBOX
53287 ## ------------------------------------ ##
53288 ## Report this to bug-autoconf@gnu.org. ##
53289 ## ------------------------------------ ##
53290 _ASBOX
53291     ) |
53292       sed "s/^/$as_me: WARNING:     /" >&2
53293     ;;
53294 esac
53295 echo "$as_me:$LINENO: checking for $ac_header" >&5
53296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53298   echo $ECHO_N "(cached) $ECHO_C" >&6
53299 else
53300   eval "$as_ac_Header=$ac_header_preproc"
53301 fi
53302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53304
53305 fi
53306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53307   cat >>confdefs.h <<_ACEOF
53308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53309 _ACEOF
53310
53311 fi
53312
53313 done
53314
53315
53316   if test "${glibcxx_cv_WRITEV+set}" = set; then
53317   echo $ECHO_N "(cached) $ECHO_C" >&6
53318 else
53319
53320     if test x$gcc_no_link = xyes; then
53321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53323    { (exit 1); exit 1; }; }
53324 fi
53325 cat >conftest.$ac_ext <<_ACEOF
53326 #line $LINENO "configure"
53327 /* confdefs.h.  */
53328 _ACEOF
53329 cat confdefs.h >>conftest.$ac_ext
53330 cat >>conftest.$ac_ext <<_ACEOF
53331 /* end confdefs.h.  */
53332 #include <sys/uio.h>
53333 int
53334 main ()
53335 {
53336 struct iovec iov[2];
53337        writev(0, iov, 0);
53338   ;
53339   return 0;
53340 }
53341 _ACEOF
53342 rm -f conftest.$ac_objext conftest$ac_exeext
53343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53344   (eval $ac_link) 2>&5
53345   ac_status=$?
53346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53347   (exit $ac_status); } &&
53348          { ac_try='test -s conftest$ac_exeext'
53349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53350   (eval $ac_try) 2>&5
53351   ac_status=$?
53352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53353   (exit $ac_status); }; }; then
53354   glibcxx_cv_WRITEV=yes
53355 else
53356   echo "$as_me: failed program was:" >&5
53357 sed 's/^/| /' conftest.$ac_ext >&5
53358
53359 glibcxx_cv_WRITEV=no
53360 fi
53361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53362
53363 fi
53364
53365   if test $glibcxx_cv_WRITEV = yes; then
53366     cat >>confdefs.h <<\_ACEOF
53367 #define HAVE_WRITEV 1
53368 _ACEOF
53369
53370   fi
53371
53372
53373     cat >>confdefs.h <<\_ACEOF
53374 #define HAVE_COPYSIGN 1
53375 _ACEOF
53376
53377     cat >>confdefs.h <<\_ACEOF
53378 #define HAVE_COPYSIGNF 1
53379 _ACEOF
53380
53381     cat >>confdefs.h <<\_ACEOF
53382 #define HAVE_FINITE 1
53383 _ACEOF
53384
53385     cat >>confdefs.h <<\_ACEOF
53386 #define HAVE_FINITEF 1
53387 _ACEOF
53388
53389     cat >>confdefs.h <<\_ACEOF
53390 #define HAVE_FREXPF 1
53391 _ACEOF
53392
53393     cat >>confdefs.h <<\_ACEOF
53394 #define HAVE_HYPOTF 1
53395 _ACEOF
53396
53397     cat >>confdefs.h <<\_ACEOF
53398 #define HAVE_ISINF 1
53399 _ACEOF
53400
53401     cat >>confdefs.h <<\_ACEOF
53402 #define HAVE_ISINFF 1
53403 _ACEOF
53404
53405     cat >>confdefs.h <<\_ACEOF
53406 #define HAVE_ISNAN 1
53407 _ACEOF
53408
53409     cat >>confdefs.h <<\_ACEOF
53410 #define HAVE_ISNANF 1
53411 _ACEOF
53412
53413     cat >>confdefs.h <<\_ACEOF
53414 #define HAVE_SINCOS 1
53415 _ACEOF
53416
53417     cat >>confdefs.h <<\_ACEOF
53418 #define HAVE_SINCOSF 1
53419 _ACEOF
53420
53421     if test x"long_double_math_on_this_cpu" = x"yes"; then
53422       cat >>confdefs.h <<\_ACEOF
53423 #define HAVE_FINITEL 1
53424 _ACEOF
53425
53426       cat >>confdefs.h <<\_ACEOF
53427 #define HAVE_HYPOTL 1
53428 _ACEOF
53429
53430       cat >>confdefs.h <<\_ACEOF
53431 #define HAVE_ISINFL 1
53432 _ACEOF
53433
53434       cat >>confdefs.h <<\_ACEOF
53435 #define HAVE_ISNANL 1
53436 _ACEOF
53437
53438     fi
53439     ;;
53440   *-mingw32*)
53441
53442
53443
53444 for ac_header in sys/types.h locale.h float.h
53445 do
53446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53448   echo "$as_me:$LINENO: checking for $ac_header" >&5
53449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53451   echo $ECHO_N "(cached) $ECHO_C" >&6
53452 fi
53453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53455 else
53456   # Is the header compilable?
53457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53459 cat >conftest.$ac_ext <<_ACEOF
53460 #line $LINENO "configure"
53461 /* confdefs.h.  */
53462 _ACEOF
53463 cat confdefs.h >>conftest.$ac_ext
53464 cat >>conftest.$ac_ext <<_ACEOF
53465 /* end confdefs.h.  */
53466 $ac_includes_default
53467 #include <$ac_header>
53468 _ACEOF
53469 rm -f conftest.$ac_objext
53470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53471   (eval $ac_compile) 2>&5
53472   ac_status=$?
53473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53474   (exit $ac_status); } &&
53475          { ac_try='test -s conftest.$ac_objext'
53476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53477   (eval $ac_try) 2>&5
53478   ac_status=$?
53479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53480   (exit $ac_status); }; }; then
53481   ac_header_compiler=yes
53482 else
53483   echo "$as_me: failed program was:" >&5
53484 sed 's/^/| /' conftest.$ac_ext >&5
53485
53486 ac_header_compiler=no
53487 fi
53488 rm -f conftest.$ac_objext conftest.$ac_ext
53489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53490 echo "${ECHO_T}$ac_header_compiler" >&6
53491
53492 # Is the header present?
53493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53495 cat >conftest.$ac_ext <<_ACEOF
53496 #line $LINENO "configure"
53497 /* confdefs.h.  */
53498 _ACEOF
53499 cat confdefs.h >>conftest.$ac_ext
53500 cat >>conftest.$ac_ext <<_ACEOF
53501 /* end confdefs.h.  */
53502 #include <$ac_header>
53503 _ACEOF
53504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53505   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53506   ac_status=$?
53507   grep -v '^ *+' conftest.er1 >conftest.err
53508   rm -f conftest.er1
53509   cat conftest.err >&5
53510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53511   (exit $ac_status); } >/dev/null; then
53512   if test -s conftest.err; then
53513     ac_cpp_err=$ac_c_preproc_warn_flag
53514   else
53515     ac_cpp_err=
53516   fi
53517 else
53518   ac_cpp_err=yes
53519 fi
53520 if test -z "$ac_cpp_err"; then
53521   ac_header_preproc=yes
53522 else
53523   echo "$as_me: failed program was:" >&5
53524 sed 's/^/| /' conftest.$ac_ext >&5
53525
53526   ac_header_preproc=no
53527 fi
53528 rm -f conftest.err conftest.$ac_ext
53529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53530 echo "${ECHO_T}$ac_header_preproc" >&6
53531
53532 # So?  What about this header?
53533 case $ac_header_compiler:$ac_header_preproc in
53534   yes:no )
53535     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53537     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53539     (
53540       cat <<\_ASBOX
53541 ## ------------------------------------ ##
53542 ## Report this to bug-autoconf@gnu.org. ##
53543 ## ------------------------------------ ##
53544 _ASBOX
53545     ) |
53546       sed "s/^/$as_me: WARNING:     /" >&2
53547     ;;
53548   no:yes )
53549     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53551     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53553     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53555     (
53556       cat <<\_ASBOX
53557 ## ------------------------------------ ##
53558 ## Report this to bug-autoconf@gnu.org. ##
53559 ## ------------------------------------ ##
53560 _ASBOX
53561     ) |
53562       sed "s/^/$as_me: WARNING:     /" >&2
53563     ;;
53564 esac
53565 echo "$as_me:$LINENO: checking for $ac_header" >&5
53566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53568   echo $ECHO_N "(cached) $ECHO_C" >&6
53569 else
53570   eval "$as_ac_Header=$ac_header_preproc"
53571 fi
53572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53574
53575 fi
53576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53577   cat >>confdefs.h <<_ACEOF
53578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53579 _ACEOF
53580
53581 fi
53582
53583 done
53584
53585
53586   # If we're not using GNU ld, then there's no point in even trying these
53587   # tests.  Check for that first.  We should have already tested for gld
53588   # by now (in libtool), but require it now just to be safe...
53589   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53590   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53591
53592
53593
53594   # The name set by libtool depends on the version of libtool.  Shame on us
53595   # for depending on an impl detail, but c'est la vie.  Older versions used
53596   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53597   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53598   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53599   # set (hence we're using an older libtool), then set it.
53600   if test x${with_gnu_ld+set} != xset; then
53601     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53602       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53603       with_gnu_ld=no
53604     else
53605       with_gnu_ld=$ac_cv_prog_gnu_ld
53606     fi
53607   fi
53608
53609   # Start by getting the version number.  I think the libtool test already
53610   # does some of this, but throws away the result.
53611
53612   ldver=`$LD --version 2>/dev/null | head -1 | \
53613          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53614
53615   glibcxx_gnu_ld_version=`echo $ldver | \
53616          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53617
53618   # Set --gc-sections.
53619   if test "$with_gnu_ld" = "notbroken"; then
53620     # GNU ld it is!  Joy and bunny rabbits!
53621
53622     # All these tests are for C++; save the language and the compiler flags.
53623     # Need to do this so that g++ won't try to link in libstdc++
53624     ac_test_CFLAGS="${CFLAGS+set}"
53625     ac_save_CFLAGS="$CFLAGS"
53626     CFLAGS='-x c++  -Wl,--gc-sections'
53627
53628     # Check for -Wl,--gc-sections
53629     # XXX This test is broken at the moment, as symbols required for linking
53630     # are now in libsupc++ (not built yet).  In addition, this test has
53631     # cored on solaris in the past.  In addition, --gc-sections doesn't
53632     # really work at the moment (keeps on discarding used sections, first
53633     # .eh_frame and now some of the glibc sections for iconv).
53634     # Bzzzzt.  Thanks for playing, maybe next time.
53635     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53636 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53637     if test "$cross_compiling" = yes; then
53638   ac_sectionLDflags=yes
53639 else
53640   cat >conftest.$ac_ext <<_ACEOF
53641 #line $LINENO "configure"
53642 /* confdefs.h.  */
53643 _ACEOF
53644 cat confdefs.h >>conftest.$ac_ext
53645 cat >>conftest.$ac_ext <<_ACEOF
53646 /* end confdefs.h.  */
53647
53648      int main(void)
53649      {
53650        try { throw 1; }
53651        catch (...) { };
53652        return 0;
53653      }
53654
53655 _ACEOF
53656 rm -f conftest$ac_exeext
53657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53658   (eval $ac_link) 2>&5
53659   ac_status=$?
53660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53663   (eval $ac_try) 2>&5
53664   ac_status=$?
53665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53666   (exit $ac_status); }; }; then
53667   ac_sectionLDflags=yes
53668 else
53669   echo "$as_me: program exited with status $ac_status" >&5
53670 echo "$as_me: failed program was:" >&5
53671 sed 's/^/| /' conftest.$ac_ext >&5
53672
53673 ( exit $ac_status )
53674 ac_sectionLDflags=no
53675 fi
53676 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53677 fi
53678     if test "$ac_test_CFLAGS" = set; then
53679       CFLAGS="$ac_save_CFLAGS"
53680     else
53681       # this is the suspicious part
53682       CFLAGS=''
53683     fi
53684     if test "$ac_sectionLDflags" = "yes"; then
53685       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53686     fi
53687     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53688 echo "${ECHO_T}$ac_sectionLDflags" >&6
53689   fi
53690
53691   # Set linker optimization flags.
53692   if test x"$with_gnu_ld" = x"yes"; then
53693     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53694   fi
53695
53696
53697
53698
53699
53700
53701 echo "$as_me:$LINENO: checking for main in -lm" >&5
53702 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53703 if test "${ac_cv_lib_m_main+set}" = set; then
53704   echo $ECHO_N "(cached) $ECHO_C" >&6
53705 else
53706   ac_check_lib_save_LIBS=$LIBS
53707 LIBS="-lm  $LIBS"
53708 if test x$gcc_no_link = xyes; then
53709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53711    { (exit 1); exit 1; }; }
53712 fi
53713 cat >conftest.$ac_ext <<_ACEOF
53714 #line $LINENO "configure"
53715 /* confdefs.h.  */
53716 _ACEOF
53717 cat confdefs.h >>conftest.$ac_ext
53718 cat >>conftest.$ac_ext <<_ACEOF
53719 /* end confdefs.h.  */
53720
53721
53722 int
53723 main ()
53724 {
53725 main ();
53726   ;
53727   return 0;
53728 }
53729 _ACEOF
53730 rm -f conftest.$ac_objext conftest$ac_exeext
53731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53732   (eval $ac_link) 2>&5
53733   ac_status=$?
53734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53735   (exit $ac_status); } &&
53736          { ac_try='test -s conftest$ac_exeext'
53737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53738   (eval $ac_try) 2>&5
53739   ac_status=$?
53740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53741   (exit $ac_status); }; }; then
53742   ac_cv_lib_m_main=yes
53743 else
53744   echo "$as_me: failed program was:" >&5
53745 sed 's/^/| /' conftest.$ac_ext >&5
53746
53747 ac_cv_lib_m_main=no
53748 fi
53749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53750 LIBS=$ac_check_lib_save_LIBS
53751 fi
53752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53753 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53754 if test $ac_cv_lib_m_main = yes; then
53755   cat >>confdefs.h <<_ACEOF
53756 #define HAVE_LIBM 1
53757 _ACEOF
53758
53759   LIBS="-lm $LIBS"
53760
53761 fi
53762
53763
53764
53765 for ac_func in nan copysignf
53766 do
53767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53768 echo "$as_me:$LINENO: checking for $ac_func" >&5
53769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53770 if eval "test \"\${$as_ac_var+set}\" = set"; then
53771   echo $ECHO_N "(cached) $ECHO_C" >&6
53772 else
53773   if test x$gcc_no_link = xyes; then
53774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53776    { (exit 1); exit 1; }; }
53777 fi
53778 cat >conftest.$ac_ext <<_ACEOF
53779 #line $LINENO "configure"
53780 /* confdefs.h.  */
53781 _ACEOF
53782 cat confdefs.h >>conftest.$ac_ext
53783 cat >>conftest.$ac_ext <<_ACEOF
53784 /* end confdefs.h.  */
53785 /* System header to define __stub macros and hopefully few prototypes,
53786     which can conflict with char $ac_func (); below.
53787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53788     <limits.h> exists even on freestanding compilers.  */
53789 #ifdef __STDC__
53790 # include <limits.h>
53791 #else
53792 # include <assert.h>
53793 #endif
53794 /* Override any gcc2 internal prototype to avoid an error.  */
53795 #ifdef __cplusplus
53796 extern "C"
53797 {
53798 #endif
53799 /* We use char because int might match the return type of a gcc2
53800    builtin and then its argument prototype would still apply.  */
53801 char $ac_func ();
53802 /* The GNU C library defines this for functions which it implements
53803     to always fail with ENOSYS.  Some functions are actually named
53804     something starting with __ and the normal name is an alias.  */
53805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53806 choke me
53807 #else
53808 char (*f) () = $ac_func;
53809 #endif
53810 #ifdef __cplusplus
53811 }
53812 #endif
53813
53814 int
53815 main ()
53816 {
53817 return f != $ac_func;
53818   ;
53819   return 0;
53820 }
53821 _ACEOF
53822 rm -f conftest.$ac_objext conftest$ac_exeext
53823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53824   (eval $ac_link) 2>&5
53825   ac_status=$?
53826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53827   (exit $ac_status); } &&
53828          { ac_try='test -s conftest$ac_exeext'
53829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53830   (eval $ac_try) 2>&5
53831   ac_status=$?
53832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53833   (exit $ac_status); }; }; then
53834   eval "$as_ac_var=yes"
53835 else
53836   echo "$as_me: failed program was:" >&5
53837 sed 's/^/| /' conftest.$ac_ext >&5
53838
53839 eval "$as_ac_var=no"
53840 fi
53841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53842 fi
53843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53845 if test `eval echo '${'$as_ac_var'}'` = yes; then
53846   cat >>confdefs.h <<_ACEOF
53847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53848 _ACEOF
53849
53850 else
53851   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53852 fi
53853 done
53854
53855
53856
53857 for ac_func in __signbit
53858 do
53859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53860 echo "$as_me:$LINENO: checking for $ac_func" >&5
53861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53862 if eval "test \"\${$as_ac_var+set}\" = set"; then
53863   echo $ECHO_N "(cached) $ECHO_C" >&6
53864 else
53865   if test x$gcc_no_link = xyes; then
53866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53868    { (exit 1); exit 1; }; }
53869 fi
53870 cat >conftest.$ac_ext <<_ACEOF
53871 #line $LINENO "configure"
53872 /* confdefs.h.  */
53873 _ACEOF
53874 cat confdefs.h >>conftest.$ac_ext
53875 cat >>conftest.$ac_ext <<_ACEOF
53876 /* end confdefs.h.  */
53877 /* System header to define __stub macros and hopefully few prototypes,
53878     which can conflict with char $ac_func (); below.
53879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53880     <limits.h> exists even on freestanding compilers.  */
53881 #ifdef __STDC__
53882 # include <limits.h>
53883 #else
53884 # include <assert.h>
53885 #endif
53886 /* Override any gcc2 internal prototype to avoid an error.  */
53887 #ifdef __cplusplus
53888 extern "C"
53889 {
53890 #endif
53891 /* We use char because int might match the return type of a gcc2
53892    builtin and then its argument prototype would still apply.  */
53893 char $ac_func ();
53894 /* The GNU C library defines this for functions which it implements
53895     to always fail with ENOSYS.  Some functions are actually named
53896     something starting with __ and the normal name is an alias.  */
53897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53898 choke me
53899 #else
53900 char (*f) () = $ac_func;
53901 #endif
53902 #ifdef __cplusplus
53903 }
53904 #endif
53905
53906 int
53907 main ()
53908 {
53909 return f != $ac_func;
53910   ;
53911   return 0;
53912 }
53913 _ACEOF
53914 rm -f conftest.$ac_objext conftest$ac_exeext
53915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53916   (eval $ac_link) 2>&5
53917   ac_status=$?
53918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919   (exit $ac_status); } &&
53920          { ac_try='test -s conftest$ac_exeext'
53921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53922   (eval $ac_try) 2>&5
53923   ac_status=$?
53924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925   (exit $ac_status); }; }; then
53926   eval "$as_ac_var=yes"
53927 else
53928   echo "$as_me: failed program was:" >&5
53929 sed 's/^/| /' conftest.$ac_ext >&5
53930
53931 eval "$as_ac_var=no"
53932 fi
53933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53934 fi
53935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53937 if test `eval echo '${'$as_ac_var'}'` = yes; then
53938   cat >>confdefs.h <<_ACEOF
53939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53940 _ACEOF
53941
53942 else
53943   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53944 fi
53945 done
53946
53947
53948 for ac_func in __signbitf
53949 do
53950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53951 echo "$as_me:$LINENO: checking for $ac_func" >&5
53952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53953 if eval "test \"\${$as_ac_var+set}\" = set"; then
53954   echo $ECHO_N "(cached) $ECHO_C" >&6
53955 else
53956   if test x$gcc_no_link = xyes; then
53957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53959    { (exit 1); exit 1; }; }
53960 fi
53961 cat >conftest.$ac_ext <<_ACEOF
53962 #line $LINENO "configure"
53963 /* confdefs.h.  */
53964 _ACEOF
53965 cat confdefs.h >>conftest.$ac_ext
53966 cat >>conftest.$ac_ext <<_ACEOF
53967 /* end confdefs.h.  */
53968 /* System header to define __stub macros and hopefully few prototypes,
53969     which can conflict with char $ac_func (); below.
53970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53971     <limits.h> exists even on freestanding compilers.  */
53972 #ifdef __STDC__
53973 # include <limits.h>
53974 #else
53975 # include <assert.h>
53976 #endif
53977 /* Override any gcc2 internal prototype to avoid an error.  */
53978 #ifdef __cplusplus
53979 extern "C"
53980 {
53981 #endif
53982 /* We use char because int might match the return type of a gcc2
53983    builtin and then its argument prototype would still apply.  */
53984 char $ac_func ();
53985 /* The GNU C library defines this for functions which it implements
53986     to always fail with ENOSYS.  Some functions are actually named
53987     something starting with __ and the normal name is an alias.  */
53988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53989 choke me
53990 #else
53991 char (*f) () = $ac_func;
53992 #endif
53993 #ifdef __cplusplus
53994 }
53995 #endif
53996
53997 int
53998 main ()
53999 {
54000 return f != $ac_func;
54001   ;
54002   return 0;
54003 }
54004 _ACEOF
54005 rm -f conftest.$ac_objext conftest$ac_exeext
54006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54007   (eval $ac_link) 2>&5
54008   ac_status=$?
54009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010   (exit $ac_status); } &&
54011          { ac_try='test -s conftest$ac_exeext'
54012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013   (eval $ac_try) 2>&5
54014   ac_status=$?
54015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016   (exit $ac_status); }; }; then
54017   eval "$as_ac_var=yes"
54018 else
54019   echo "$as_me: failed program was:" >&5
54020 sed 's/^/| /' conftest.$ac_ext >&5
54021
54022 eval "$as_ac_var=no"
54023 fi
54024 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54025 fi
54026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54028 if test `eval echo '${'$as_ac_var'}'` = yes; then
54029   cat >>confdefs.h <<_ACEOF
54030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54031 _ACEOF
54032
54033 else
54034   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
54035 fi
54036 done
54037
54038
54039           if test x$ac_cv_func_copysignl = x"yes"; then
54040
54041 for ac_func in __signbitl
54042 do
54043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54044 echo "$as_me:$LINENO: checking for $ac_func" >&5
54045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54046 if eval "test \"\${$as_ac_var+set}\" = set"; then
54047   echo $ECHO_N "(cached) $ECHO_C" >&6
54048 else
54049   if test x$gcc_no_link = xyes; then
54050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54052    { (exit 1); exit 1; }; }
54053 fi
54054 cat >conftest.$ac_ext <<_ACEOF
54055 #line $LINENO "configure"
54056 /* confdefs.h.  */
54057 _ACEOF
54058 cat confdefs.h >>conftest.$ac_ext
54059 cat >>conftest.$ac_ext <<_ACEOF
54060 /* end confdefs.h.  */
54061 /* System header to define __stub macros and hopefully few prototypes,
54062     which can conflict with char $ac_func (); below.
54063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54064     <limits.h> exists even on freestanding compilers.  */
54065 #ifdef __STDC__
54066 # include <limits.h>
54067 #else
54068 # include <assert.h>
54069 #endif
54070 /* Override any gcc2 internal prototype to avoid an error.  */
54071 #ifdef __cplusplus
54072 extern "C"
54073 {
54074 #endif
54075 /* We use char because int might match the return type of a gcc2
54076    builtin and then its argument prototype would still apply.  */
54077 char $ac_func ();
54078 /* The GNU C library defines this for functions which it implements
54079     to always fail with ENOSYS.  Some functions are actually named
54080     something starting with __ and the normal name is an alias.  */
54081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54082 choke me
54083 #else
54084 char (*f) () = $ac_func;
54085 #endif
54086 #ifdef __cplusplus
54087 }
54088 #endif
54089
54090 int
54091 main ()
54092 {
54093 return f != $ac_func;
54094   ;
54095   return 0;
54096 }
54097 _ACEOF
54098 rm -f conftest.$ac_objext conftest$ac_exeext
54099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54100   (eval $ac_link) 2>&5
54101   ac_status=$?
54102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54103   (exit $ac_status); } &&
54104          { ac_try='test -s conftest$ac_exeext'
54105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54106   (eval $ac_try) 2>&5
54107   ac_status=$?
54108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54109   (exit $ac_status); }; }; then
54110   eval "$as_ac_var=yes"
54111 else
54112   echo "$as_me: failed program was:" >&5
54113 sed 's/^/| /' conftest.$ac_ext >&5
54114
54115 eval "$as_ac_var=no"
54116 fi
54117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54118 fi
54119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54121 if test `eval echo '${'$as_ac_var'}'` = yes; then
54122   cat >>confdefs.h <<_ACEOF
54123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54124 _ACEOF
54125
54126 else
54127   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
54128 fi
54129 done
54130
54131   fi
54132
54133   # XXX Review this.  Nothing uses it.
54134   if test -n "$LIBMATHOBJS"; then
54135     need_libmath=yes
54136   fi
54137
54138
54139
54140   # Test wchar.h for mbstate_t, which is needed for char_traits and
54141   # others even if wchar_t support is not on.
54142   echo "$as_me:$LINENO: checking for mbstate_t" >&5
54143 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
54144   cat >conftest.$ac_ext <<_ACEOF
54145 #line $LINENO "configure"
54146 /* confdefs.h.  */
54147 _ACEOF
54148 cat confdefs.h >>conftest.$ac_ext
54149 cat >>conftest.$ac_ext <<_ACEOF
54150 /* end confdefs.h.  */
54151 #include <wchar.h>
54152 int
54153 main ()
54154 {
54155 mbstate_t teststate;
54156   ;
54157   return 0;
54158 }
54159 _ACEOF
54160 rm -f conftest.$ac_objext
54161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54162   (eval $ac_compile) 2>&5
54163   ac_status=$?
54164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54165   (exit $ac_status); } &&
54166          { ac_try='test -s conftest.$ac_objext'
54167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54168   (eval $ac_try) 2>&5
54169   ac_status=$?
54170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54171   (exit $ac_status); }; }; then
54172   have_mbstate_t=yes
54173 else
54174   echo "$as_me: failed program was:" >&5
54175 sed 's/^/| /' conftest.$ac_ext >&5
54176
54177 have_mbstate_t=no
54178 fi
54179 rm -f conftest.$ac_objext conftest.$ac_ext
54180   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
54181 echo "${ECHO_T}$have_mbstate_t" >&6
54182   if test x"$have_mbstate_t" = xyes; then
54183     cat >>confdefs.h <<\_ACEOF
54184 #define HAVE_MBSTATE_T 1
54185 _ACEOF
54186
54187   fi
54188
54189   # Sanity check for existence of ISO C99 headers for extended encoding.
54190
54191 for ac_header in wchar.h
54192 do
54193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54195   echo "$as_me:$LINENO: checking for $ac_header" >&5
54196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54198   echo $ECHO_N "(cached) $ECHO_C" >&6
54199 fi
54200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54202 else
54203   # Is the header compilable?
54204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54206 cat >conftest.$ac_ext <<_ACEOF
54207 #line $LINENO "configure"
54208 /* confdefs.h.  */
54209 _ACEOF
54210 cat confdefs.h >>conftest.$ac_ext
54211 cat >>conftest.$ac_ext <<_ACEOF
54212 /* end confdefs.h.  */
54213 $ac_includes_default
54214 #include <$ac_header>
54215 _ACEOF
54216 rm -f conftest.$ac_objext
54217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54218   (eval $ac_compile) 2>&5
54219   ac_status=$?
54220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221   (exit $ac_status); } &&
54222          { ac_try='test -s conftest.$ac_objext'
54223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54224   (eval $ac_try) 2>&5
54225   ac_status=$?
54226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54227   (exit $ac_status); }; }; then
54228   ac_header_compiler=yes
54229 else
54230   echo "$as_me: failed program was:" >&5
54231 sed 's/^/| /' conftest.$ac_ext >&5
54232
54233 ac_header_compiler=no
54234 fi
54235 rm -f conftest.$ac_objext conftest.$ac_ext
54236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54237 echo "${ECHO_T}$ac_header_compiler" >&6
54238
54239 # Is the header present?
54240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54242 cat >conftest.$ac_ext <<_ACEOF
54243 #line $LINENO "configure"
54244 /* confdefs.h.  */
54245 _ACEOF
54246 cat confdefs.h >>conftest.$ac_ext
54247 cat >>conftest.$ac_ext <<_ACEOF
54248 /* end confdefs.h.  */
54249 #include <$ac_header>
54250 _ACEOF
54251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54252   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54253   ac_status=$?
54254   grep -v '^ *+' conftest.er1 >conftest.err
54255   rm -f conftest.er1
54256   cat conftest.err >&5
54257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54258   (exit $ac_status); } >/dev/null; then
54259   if test -s conftest.err; then
54260     ac_cpp_err=$ac_c_preproc_warn_flag
54261   else
54262     ac_cpp_err=
54263   fi
54264 else
54265   ac_cpp_err=yes
54266 fi
54267 if test -z "$ac_cpp_err"; then
54268   ac_header_preproc=yes
54269 else
54270   echo "$as_me: failed program was:" >&5
54271 sed 's/^/| /' conftest.$ac_ext >&5
54272
54273   ac_header_preproc=no
54274 fi
54275 rm -f conftest.err conftest.$ac_ext
54276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54277 echo "${ECHO_T}$ac_header_preproc" >&6
54278
54279 # So?  What about this header?
54280 case $ac_header_compiler:$ac_header_preproc in
54281   yes:no )
54282     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54284     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54286     (
54287       cat <<\_ASBOX
54288 ## ------------------------------------ ##
54289 ## Report this to bug-autoconf@gnu.org. ##
54290 ## ------------------------------------ ##
54291 _ASBOX
54292     ) |
54293       sed "s/^/$as_me: WARNING:     /" >&2
54294     ;;
54295   no:yes )
54296     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54298     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54300     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54301 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54302     (
54303       cat <<\_ASBOX
54304 ## ------------------------------------ ##
54305 ## Report this to bug-autoconf@gnu.org. ##
54306 ## ------------------------------------ ##
54307 _ASBOX
54308     ) |
54309       sed "s/^/$as_me: WARNING:     /" >&2
54310     ;;
54311 esac
54312 echo "$as_me:$LINENO: checking for $ac_header" >&5
54313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54315   echo $ECHO_N "(cached) $ECHO_C" >&6
54316 else
54317   eval "$as_ac_Header=$ac_header_preproc"
54318 fi
54319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54321
54322 fi
54323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54324   cat >>confdefs.h <<_ACEOF
54325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54326 _ACEOF
54327  ac_has_wchar_h=yes
54328 else
54329   ac_has_wchar_h=no
54330 fi
54331
54332 done
54333
54334
54335 for ac_header in wctype.h
54336 do
54337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54339   echo "$as_me:$LINENO: checking for $ac_header" >&5
54340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54342   echo $ECHO_N "(cached) $ECHO_C" >&6
54343 fi
54344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54346 else
54347   # Is the header compilable?
54348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54350 cat >conftest.$ac_ext <<_ACEOF
54351 #line $LINENO "configure"
54352 /* confdefs.h.  */
54353 _ACEOF
54354 cat confdefs.h >>conftest.$ac_ext
54355 cat >>conftest.$ac_ext <<_ACEOF
54356 /* end confdefs.h.  */
54357 $ac_includes_default
54358 #include <$ac_header>
54359 _ACEOF
54360 rm -f conftest.$ac_objext
54361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54362   (eval $ac_compile) 2>&5
54363   ac_status=$?
54364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54365   (exit $ac_status); } &&
54366          { ac_try='test -s conftest.$ac_objext'
54367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54368   (eval $ac_try) 2>&5
54369   ac_status=$?
54370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54371   (exit $ac_status); }; }; then
54372   ac_header_compiler=yes
54373 else
54374   echo "$as_me: failed program was:" >&5
54375 sed 's/^/| /' conftest.$ac_ext >&5
54376
54377 ac_header_compiler=no
54378 fi
54379 rm -f conftest.$ac_objext conftest.$ac_ext
54380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54381 echo "${ECHO_T}$ac_header_compiler" >&6
54382
54383 # Is the header present?
54384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54386 cat >conftest.$ac_ext <<_ACEOF
54387 #line $LINENO "configure"
54388 /* confdefs.h.  */
54389 _ACEOF
54390 cat confdefs.h >>conftest.$ac_ext
54391 cat >>conftest.$ac_ext <<_ACEOF
54392 /* end confdefs.h.  */
54393 #include <$ac_header>
54394 _ACEOF
54395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54396   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54397   ac_status=$?
54398   grep -v '^ *+' conftest.er1 >conftest.err
54399   rm -f conftest.er1
54400   cat conftest.err >&5
54401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54402   (exit $ac_status); } >/dev/null; then
54403   if test -s conftest.err; then
54404     ac_cpp_err=$ac_c_preproc_warn_flag
54405   else
54406     ac_cpp_err=
54407   fi
54408 else
54409   ac_cpp_err=yes
54410 fi
54411 if test -z "$ac_cpp_err"; then
54412   ac_header_preproc=yes
54413 else
54414   echo "$as_me: failed program was:" >&5
54415 sed 's/^/| /' conftest.$ac_ext >&5
54416
54417   ac_header_preproc=no
54418 fi
54419 rm -f conftest.err conftest.$ac_ext
54420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54421 echo "${ECHO_T}$ac_header_preproc" >&6
54422
54423 # So?  What about this header?
54424 case $ac_header_compiler:$ac_header_preproc in
54425   yes:no )
54426     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54428     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54430     (
54431       cat <<\_ASBOX
54432 ## ------------------------------------ ##
54433 ## Report this to bug-autoconf@gnu.org. ##
54434 ## ------------------------------------ ##
54435 _ASBOX
54436     ) |
54437       sed "s/^/$as_me: WARNING:     /" >&2
54438     ;;
54439   no:yes )
54440     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54442     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54444     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54445 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54446     (
54447       cat <<\_ASBOX
54448 ## ------------------------------------ ##
54449 ## Report this to bug-autoconf@gnu.org. ##
54450 ## ------------------------------------ ##
54451 _ASBOX
54452     ) |
54453       sed "s/^/$as_me: WARNING:     /" >&2
54454     ;;
54455 esac
54456 echo "$as_me:$LINENO: checking for $ac_header" >&5
54457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54459   echo $ECHO_N "(cached) $ECHO_C" >&6
54460 else
54461   eval "$as_ac_Header=$ac_header_preproc"
54462 fi
54463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54465
54466 fi
54467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54468   cat >>confdefs.h <<_ACEOF
54469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54470 _ACEOF
54471  ac_has_wctype_h=yes
54472 else
54473   ac_has_wctype_h=no
54474 fi
54475
54476 done
54477
54478
54479   # Only continue checking if the ISO C99 headers exist and support is on.
54480   if test x"$ac_has_wchar_h" = xyes &&
54481      test x"$ac_has_wctype_h" = xyes &&
54482      test x"$enable_c_mbchar" != xno; then
54483
54484     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54485     # numeric_limits can instantiate type_traits<wchar_t>
54486     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54487 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54488     cat >conftest.$ac_ext <<_ACEOF
54489 #line $LINENO "configure"
54490 /* confdefs.h.  */
54491 _ACEOF
54492 cat confdefs.h >>conftest.$ac_ext
54493 cat >>conftest.$ac_ext <<_ACEOF
54494 /* end confdefs.h.  */
54495 #include <wchar.h>
54496 int
54497 main ()
54498 {
54499 int i = WCHAR_MIN; int j = WCHAR_MAX;
54500   ;
54501   return 0;
54502 }
54503 _ACEOF
54504 rm -f conftest.$ac_objext
54505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54506   (eval $ac_compile) 2>&5
54507   ac_status=$?
54508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54509   (exit $ac_status); } &&
54510          { ac_try='test -s conftest.$ac_objext'
54511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54512   (eval $ac_try) 2>&5
54513   ac_status=$?
54514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54515   (exit $ac_status); }; }; then
54516   has_wchar_minmax=yes
54517 else
54518   echo "$as_me: failed program was:" >&5
54519 sed 's/^/| /' conftest.$ac_ext >&5
54520
54521 has_wchar_minmax=no
54522 fi
54523 rm -f conftest.$ac_objext conftest.$ac_ext
54524     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54525 echo "${ECHO_T}$has_wchar_minmax" >&6
54526
54527     # Test wchar.h for WEOF, which is what we use to determine whether
54528     # to specialize for char_traits<wchar_t> or not.
54529     echo "$as_me:$LINENO: checking for WEOF" >&5
54530 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54531     cat >conftest.$ac_ext <<_ACEOF
54532 #line $LINENO "configure"
54533 /* confdefs.h.  */
54534 _ACEOF
54535 cat confdefs.h >>conftest.$ac_ext
54536 cat >>conftest.$ac_ext <<_ACEOF
54537 /* end confdefs.h.  */
54538
54539       #include <wchar.h>
54540       #include <stddef.h>
54541 int
54542 main ()
54543 {
54544 wint_t i = WEOF;
54545   ;
54546   return 0;
54547 }
54548 _ACEOF
54549 rm -f conftest.$ac_objext
54550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54551   (eval $ac_compile) 2>&5
54552   ac_status=$?
54553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54554   (exit $ac_status); } &&
54555          { ac_try='test -s conftest.$ac_objext'
54556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54557   (eval $ac_try) 2>&5
54558   ac_status=$?
54559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54560   (exit $ac_status); }; }; then
54561   has_weof=yes
54562 else
54563   echo "$as_me: failed program was:" >&5
54564 sed 's/^/| /' conftest.$ac_ext >&5
54565
54566 has_weof=no
54567 fi
54568 rm -f conftest.$ac_objext conftest.$ac_ext
54569     echo "$as_me:$LINENO: result: $has_weof" >&5
54570 echo "${ECHO_T}$has_weof" >&6
54571
54572     # Tests for wide character functions used in char_traits<wchar_t>.
54573     ac_wfuncs=yes
54574
54575
54576
54577
54578
54579
54580 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54581 do
54582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54583 echo "$as_me:$LINENO: checking for $ac_func" >&5
54584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54585 if eval "test \"\${$as_ac_var+set}\" = set"; then
54586   echo $ECHO_N "(cached) $ECHO_C" >&6
54587 else
54588   if test x$gcc_no_link = xyes; then
54589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54591    { (exit 1); exit 1; }; }
54592 fi
54593 cat >conftest.$ac_ext <<_ACEOF
54594 #line $LINENO "configure"
54595 /* confdefs.h.  */
54596 _ACEOF
54597 cat confdefs.h >>conftest.$ac_ext
54598 cat >>conftest.$ac_ext <<_ACEOF
54599 /* end confdefs.h.  */
54600 /* System header to define __stub macros and hopefully few prototypes,
54601     which can conflict with char $ac_func (); below.
54602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54603     <limits.h> exists even on freestanding compilers.  */
54604 #ifdef __STDC__
54605 # include <limits.h>
54606 #else
54607 # include <assert.h>
54608 #endif
54609 /* Override any gcc2 internal prototype to avoid an error.  */
54610 #ifdef __cplusplus
54611 extern "C"
54612 {
54613 #endif
54614 /* We use char because int might match the return type of a gcc2
54615    builtin and then its argument prototype would still apply.  */
54616 char $ac_func ();
54617 /* The GNU C library defines this for functions which it implements
54618     to always fail with ENOSYS.  Some functions are actually named
54619     something starting with __ and the normal name is an alias.  */
54620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54621 choke me
54622 #else
54623 char (*f) () = $ac_func;
54624 #endif
54625 #ifdef __cplusplus
54626 }
54627 #endif
54628
54629 int
54630 main ()
54631 {
54632 return f != $ac_func;
54633   ;
54634   return 0;
54635 }
54636 _ACEOF
54637 rm -f conftest.$ac_objext conftest$ac_exeext
54638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54639   (eval $ac_link) 2>&5
54640   ac_status=$?
54641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54642   (exit $ac_status); } &&
54643          { ac_try='test -s conftest$ac_exeext'
54644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54645   (eval $ac_try) 2>&5
54646   ac_status=$?
54647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54648   (exit $ac_status); }; }; then
54649   eval "$as_ac_var=yes"
54650 else
54651   echo "$as_me: failed program was:" >&5
54652 sed 's/^/| /' conftest.$ac_ext >&5
54653
54654 eval "$as_ac_var=no"
54655 fi
54656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54657 fi
54658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54660 if test `eval echo '${'$as_ac_var'}'` = yes; then
54661   cat >>confdefs.h <<_ACEOF
54662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54663 _ACEOF
54664
54665 else
54666   ac_wfuncs=no
54667 fi
54668 done
54669
54670
54671     # Checks for names injected into std:: by the c_std headers.
54672
54673
54674
54675
54676
54677
54678
54679
54680
54681
54682
54683
54684
54685
54686
54687
54688
54689
54690
54691
54692
54693
54694
54695
54696
54697
54698
54699
54700
54701
54702
54703
54704
54705
54706
54707
54708
54709
54710
54711
54712
54713
54714
54715
54716
54717
54718 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54719     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54720     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54721     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54722     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54723     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54724 do
54725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54726 echo "$as_me:$LINENO: checking for $ac_func" >&5
54727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54728 if eval "test \"\${$as_ac_var+set}\" = set"; then
54729   echo $ECHO_N "(cached) $ECHO_C" >&6
54730 else
54731   if test x$gcc_no_link = xyes; then
54732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54734    { (exit 1); exit 1; }; }
54735 fi
54736 cat >conftest.$ac_ext <<_ACEOF
54737 #line $LINENO "configure"
54738 /* confdefs.h.  */
54739 _ACEOF
54740 cat confdefs.h >>conftest.$ac_ext
54741 cat >>conftest.$ac_ext <<_ACEOF
54742 /* end confdefs.h.  */
54743 /* System header to define __stub macros and hopefully few prototypes,
54744     which can conflict with char $ac_func (); below.
54745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54746     <limits.h> exists even on freestanding compilers.  */
54747 #ifdef __STDC__
54748 # include <limits.h>
54749 #else
54750 # include <assert.h>
54751 #endif
54752 /* Override any gcc2 internal prototype to avoid an error.  */
54753 #ifdef __cplusplus
54754 extern "C"
54755 {
54756 #endif
54757 /* We use char because int might match the return type of a gcc2
54758    builtin and then its argument prototype would still apply.  */
54759 char $ac_func ();
54760 /* The GNU C library defines this for functions which it implements
54761     to always fail with ENOSYS.  Some functions are actually named
54762     something starting with __ and the normal name is an alias.  */
54763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54764 choke me
54765 #else
54766 char (*f) () = $ac_func;
54767 #endif
54768 #ifdef __cplusplus
54769 }
54770 #endif
54771
54772 int
54773 main ()
54774 {
54775 return f != $ac_func;
54776   ;
54777   return 0;
54778 }
54779 _ACEOF
54780 rm -f conftest.$ac_objext conftest$ac_exeext
54781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54782   (eval $ac_link) 2>&5
54783   ac_status=$?
54784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54785   (exit $ac_status); } &&
54786          { ac_try='test -s conftest$ac_exeext'
54787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54788   (eval $ac_try) 2>&5
54789   ac_status=$?
54790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54791   (exit $ac_status); }; }; then
54792   eval "$as_ac_var=yes"
54793 else
54794   echo "$as_me: failed program was:" >&5
54795 sed 's/^/| /' conftest.$ac_ext >&5
54796
54797 eval "$as_ac_var=no"
54798 fi
54799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54800 fi
54801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54803 if test `eval echo '${'$as_ac_var'}'` = yes; then
54804   cat >>confdefs.h <<_ACEOF
54805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54806 _ACEOF
54807
54808 else
54809   ac_wfuncs=no
54810 fi
54811 done
54812
54813
54814     # Checks for wide character functions that are not required
54815     # for basic wchar_t support.  Don't disable support if they are missing.
54816     # Injection of these is wrapped with guard macros.
54817
54818
54819
54820
54821
54822 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54823 do
54824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54825 echo "$as_me:$LINENO: checking for $ac_func" >&5
54826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54827 if eval "test \"\${$as_ac_var+set}\" = set"; then
54828   echo $ECHO_N "(cached) $ECHO_C" >&6
54829 else
54830   if test x$gcc_no_link = xyes; then
54831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54833    { (exit 1); exit 1; }; }
54834 fi
54835 cat >conftest.$ac_ext <<_ACEOF
54836 #line $LINENO "configure"
54837 /* confdefs.h.  */
54838 _ACEOF
54839 cat confdefs.h >>conftest.$ac_ext
54840 cat >>conftest.$ac_ext <<_ACEOF
54841 /* end confdefs.h.  */
54842 /* System header to define __stub macros and hopefully few prototypes,
54843     which can conflict with char $ac_func (); below.
54844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54845     <limits.h> exists even on freestanding compilers.  */
54846 #ifdef __STDC__
54847 # include <limits.h>
54848 #else
54849 # include <assert.h>
54850 #endif
54851 /* Override any gcc2 internal prototype to avoid an error.  */
54852 #ifdef __cplusplus
54853 extern "C"
54854 {
54855 #endif
54856 /* We use char because int might match the return type of a gcc2
54857    builtin and then its argument prototype would still apply.  */
54858 char $ac_func ();
54859 /* The GNU C library defines this for functions which it implements
54860     to always fail with ENOSYS.  Some functions are actually named
54861     something starting with __ and the normal name is an alias.  */
54862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54863 choke me
54864 #else
54865 char (*f) () = $ac_func;
54866 #endif
54867 #ifdef __cplusplus
54868 }
54869 #endif
54870
54871 int
54872 main ()
54873 {
54874 return f != $ac_func;
54875   ;
54876   return 0;
54877 }
54878 _ACEOF
54879 rm -f conftest.$ac_objext conftest$ac_exeext
54880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54881   (eval $ac_link) 2>&5
54882   ac_status=$?
54883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54884   (exit $ac_status); } &&
54885          { ac_try='test -s conftest$ac_exeext'
54886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54887   (eval $ac_try) 2>&5
54888   ac_status=$?
54889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54890   (exit $ac_status); }; }; then
54891   eval "$as_ac_var=yes"
54892 else
54893   echo "$as_me: failed program was:" >&5
54894 sed 's/^/| /' conftest.$ac_ext >&5
54895
54896 eval "$as_ac_var=no"
54897 fi
54898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54899 fi
54900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54902 if test `eval echo '${'$as_ac_var'}'` = yes; then
54903   cat >>confdefs.h <<_ACEOF
54904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54905 _ACEOF
54906
54907 fi
54908 done
54909
54910
54911     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54912 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54913     if test x"$has_weof" = xyes &&
54914        test x"$has_wchar_minmax" = xyes &&
54915        test x"$ac_wfuncs" = xyes;
54916     then
54917       ac_isoC99_wchar_t=yes
54918     else
54919       ac_isoC99_wchar_t=no
54920     fi
54921     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54922 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54923
54924     # Use iconv for wchar_t to char conversions. As such, check for
54925     # X/Open Portability Guide, version 2 features (XPG2).
54926     if test "${ac_cv_header_iconv_h+set}" = set; then
54927   echo "$as_me:$LINENO: checking for iconv.h" >&5
54928 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54929 if test "${ac_cv_header_iconv_h+set}" = set; then
54930   echo $ECHO_N "(cached) $ECHO_C" >&6
54931 fi
54932 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54933 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54934 else
54935   # Is the header compilable?
54936 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54937 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54938 cat >conftest.$ac_ext <<_ACEOF
54939 #line $LINENO "configure"
54940 /* confdefs.h.  */
54941 _ACEOF
54942 cat confdefs.h >>conftest.$ac_ext
54943 cat >>conftest.$ac_ext <<_ACEOF
54944 /* end confdefs.h.  */
54945 $ac_includes_default
54946 #include <iconv.h>
54947 _ACEOF
54948 rm -f conftest.$ac_objext
54949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54950   (eval $ac_compile) 2>&5
54951   ac_status=$?
54952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54953   (exit $ac_status); } &&
54954          { ac_try='test -s conftest.$ac_objext'
54955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54956   (eval $ac_try) 2>&5
54957   ac_status=$?
54958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54959   (exit $ac_status); }; }; then
54960   ac_header_compiler=yes
54961 else
54962   echo "$as_me: failed program was:" >&5
54963 sed 's/^/| /' conftest.$ac_ext >&5
54964
54965 ac_header_compiler=no
54966 fi
54967 rm -f conftest.$ac_objext conftest.$ac_ext
54968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54969 echo "${ECHO_T}$ac_header_compiler" >&6
54970
54971 # Is the header present?
54972 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54973 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54974 cat >conftest.$ac_ext <<_ACEOF
54975 #line $LINENO "configure"
54976 /* confdefs.h.  */
54977 _ACEOF
54978 cat confdefs.h >>conftest.$ac_ext
54979 cat >>conftest.$ac_ext <<_ACEOF
54980 /* end confdefs.h.  */
54981 #include <iconv.h>
54982 _ACEOF
54983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54984   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54985   ac_status=$?
54986   grep -v '^ *+' conftest.er1 >conftest.err
54987   rm -f conftest.er1
54988   cat conftest.err >&5
54989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54990   (exit $ac_status); } >/dev/null; then
54991   if test -s conftest.err; then
54992     ac_cpp_err=$ac_c_preproc_warn_flag
54993   else
54994     ac_cpp_err=
54995   fi
54996 else
54997   ac_cpp_err=yes
54998 fi
54999 if test -z "$ac_cpp_err"; then
55000   ac_header_preproc=yes
55001 else
55002   echo "$as_me: failed program was:" >&5
55003 sed 's/^/| /' conftest.$ac_ext >&5
55004
55005   ac_header_preproc=no
55006 fi
55007 rm -f conftest.err conftest.$ac_ext
55008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55009 echo "${ECHO_T}$ac_header_preproc" >&6
55010
55011 # So?  What about this header?
55012 case $ac_header_compiler:$ac_header_preproc in
55013   yes:no )
55014     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
55015 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55016     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55017 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55018     (
55019       cat <<\_ASBOX
55020 ## ------------------------------------ ##
55021 ## Report this to bug-autoconf@gnu.org. ##
55022 ## ------------------------------------ ##
55023 _ASBOX
55024     ) |
55025       sed "s/^/$as_me: WARNING:     /" >&2
55026     ;;
55027   no:yes )
55028     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
55029 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
55030     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
55031 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
55032     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55033 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55034     (
55035       cat <<\_ASBOX
55036 ## ------------------------------------ ##
55037 ## Report this to bug-autoconf@gnu.org. ##
55038 ## ------------------------------------ ##
55039 _ASBOX
55040     ) |
55041       sed "s/^/$as_me: WARNING:     /" >&2
55042     ;;
55043 esac
55044 echo "$as_me:$LINENO: checking for iconv.h" >&5
55045 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55046 if test "${ac_cv_header_iconv_h+set}" = set; then
55047   echo $ECHO_N "(cached) $ECHO_C" >&6
55048 else
55049   ac_cv_header_iconv_h=$ac_header_preproc
55050 fi
55051 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55052 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55053
55054 fi
55055 if test $ac_cv_header_iconv_h = yes; then
55056   ac_has_iconv_h=yes
55057 else
55058   ac_has_iconv_h=no
55059 fi
55060
55061
55062     if test "${ac_cv_header_langinfo_h+set}" = set; then
55063   echo "$as_me:$LINENO: checking for langinfo.h" >&5
55064 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55065 if test "${ac_cv_header_langinfo_h+set}" = set; then
55066   echo $ECHO_N "(cached) $ECHO_C" >&6
55067 fi
55068 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55069 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55070 else
55071   # Is the header compilable?
55072 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
55073 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
55074 cat >conftest.$ac_ext <<_ACEOF
55075 #line $LINENO "configure"
55076 /* confdefs.h.  */
55077 _ACEOF
55078 cat confdefs.h >>conftest.$ac_ext
55079 cat >>conftest.$ac_ext <<_ACEOF
55080 /* end confdefs.h.  */
55081 $ac_includes_default
55082 #include <langinfo.h>
55083 _ACEOF
55084 rm -f conftest.$ac_objext
55085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55086   (eval $ac_compile) 2>&5
55087   ac_status=$?
55088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55089   (exit $ac_status); } &&
55090          { ac_try='test -s conftest.$ac_objext'
55091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55092   (eval $ac_try) 2>&5
55093   ac_status=$?
55094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55095   (exit $ac_status); }; }; then
55096   ac_header_compiler=yes
55097 else
55098   echo "$as_me: failed program was:" >&5
55099 sed 's/^/| /' conftest.$ac_ext >&5
55100
55101 ac_header_compiler=no
55102 fi
55103 rm -f conftest.$ac_objext conftest.$ac_ext
55104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55105 echo "${ECHO_T}$ac_header_compiler" >&6
55106
55107 # Is the header present?
55108 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
55109 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
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 #include <langinfo.h>
55118 _ACEOF
55119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55120   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55121   ac_status=$?
55122   grep -v '^ *+' conftest.er1 >conftest.err
55123   rm -f conftest.er1
55124   cat conftest.err >&5
55125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55126   (exit $ac_status); } >/dev/null; then
55127   if test -s conftest.err; then
55128     ac_cpp_err=$ac_c_preproc_warn_flag
55129   else
55130     ac_cpp_err=
55131   fi
55132 else
55133   ac_cpp_err=yes
55134 fi
55135 if test -z "$ac_cpp_err"; then
55136   ac_header_preproc=yes
55137 else
55138   echo "$as_me: failed program was:" >&5
55139 sed 's/^/| /' conftest.$ac_ext >&5
55140
55141   ac_header_preproc=no
55142 fi
55143 rm -f conftest.err conftest.$ac_ext
55144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55145 echo "${ECHO_T}$ac_header_preproc" >&6
55146
55147 # So?  What about this header?
55148 case $ac_header_compiler:$ac_header_preproc in
55149   yes:no )
55150     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
55151 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55152     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55153 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55154     (
55155       cat <<\_ASBOX
55156 ## ------------------------------------ ##
55157 ## Report this to bug-autoconf@gnu.org. ##
55158 ## ------------------------------------ ##
55159 _ASBOX
55160     ) |
55161       sed "s/^/$as_me: WARNING:     /" >&2
55162     ;;
55163   no:yes )
55164     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
55165 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
55166     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
55167 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
55168     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55169 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55170     (
55171       cat <<\_ASBOX
55172 ## ------------------------------------ ##
55173 ## Report this to bug-autoconf@gnu.org. ##
55174 ## ------------------------------------ ##
55175 _ASBOX
55176     ) |
55177       sed "s/^/$as_me: WARNING:     /" >&2
55178     ;;
55179 esac
55180 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55181 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55182 if test "${ac_cv_header_langinfo_h+set}" = set; then
55183   echo $ECHO_N "(cached) $ECHO_C" >&6
55184 else
55185   ac_cv_header_langinfo_h=$ac_header_preproc
55186 fi
55187 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55188 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55189
55190 fi
55191 if test $ac_cv_header_langinfo_h = yes; then
55192   ac_has_langinfo_h=yes
55193 else
55194   ac_has_langinfo_h=no
55195 fi
55196
55197
55198
55199     # Check for existence of libiconv.a providing XPG2 wchar_t support.
55200     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
55201 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
55202 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
55203   echo $ECHO_N "(cached) $ECHO_C" >&6
55204 else
55205   ac_check_lib_save_LIBS=$LIBS
55206 LIBS="-liconv  $LIBS"
55207 if test x$gcc_no_link = xyes; then
55208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55210    { (exit 1); exit 1; }; }
55211 fi
55212 cat >conftest.$ac_ext <<_ACEOF
55213 #line $LINENO "configure"
55214 /* confdefs.h.  */
55215 _ACEOF
55216 cat confdefs.h >>conftest.$ac_ext
55217 cat >>conftest.$ac_ext <<_ACEOF
55218 /* end confdefs.h.  */
55219
55220 /* Override any gcc2 internal prototype to avoid an error.  */
55221 #ifdef __cplusplus
55222 extern "C"
55223 #endif
55224 /* We use char because int might match the return type of a gcc2
55225    builtin and then its argument prototype would still apply.  */
55226 char iconv ();
55227 int
55228 main ()
55229 {
55230 iconv ();
55231   ;
55232   return 0;
55233 }
55234 _ACEOF
55235 rm -f conftest.$ac_objext conftest$ac_exeext
55236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55237   (eval $ac_link) 2>&5
55238   ac_status=$?
55239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55240   (exit $ac_status); } &&
55241          { ac_try='test -s conftest$ac_exeext'
55242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55243   (eval $ac_try) 2>&5
55244   ac_status=$?
55245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55246   (exit $ac_status); }; }; then
55247   ac_cv_lib_iconv_iconv=yes
55248 else
55249   echo "$as_me: failed program was:" >&5
55250 sed 's/^/| /' conftest.$ac_ext >&5
55251
55252 ac_cv_lib_iconv_iconv=no
55253 fi
55254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55255 LIBS=$ac_check_lib_save_LIBS
55256 fi
55257 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55258 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55259 if test $ac_cv_lib_iconv_iconv = yes; then
55260   libiconv="-liconv"
55261 fi
55262
55263     ac_save_LIBS="$LIBS"
55264     LIBS="$LIBS $libiconv"
55265
55266
55267
55268
55269
55270 for ac_func in iconv_open iconv_close iconv nl_langinfo
55271 do
55272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55273 echo "$as_me:$LINENO: checking for $ac_func" >&5
55274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55275 if eval "test \"\${$as_ac_var+set}\" = set"; then
55276   echo $ECHO_N "(cached) $ECHO_C" >&6
55277 else
55278   if test x$gcc_no_link = xyes; then
55279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55281    { (exit 1); exit 1; }; }
55282 fi
55283 cat >conftest.$ac_ext <<_ACEOF
55284 #line $LINENO "configure"
55285 /* confdefs.h.  */
55286 _ACEOF
55287 cat confdefs.h >>conftest.$ac_ext
55288 cat >>conftest.$ac_ext <<_ACEOF
55289 /* end confdefs.h.  */
55290 /* System header to define __stub macros and hopefully few prototypes,
55291     which can conflict with char $ac_func (); below.
55292     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55293     <limits.h> exists even on freestanding compilers.  */
55294 #ifdef __STDC__
55295 # include <limits.h>
55296 #else
55297 # include <assert.h>
55298 #endif
55299 /* Override any gcc2 internal prototype to avoid an error.  */
55300 #ifdef __cplusplus
55301 extern "C"
55302 {
55303 #endif
55304 /* We use char because int might match the return type of a gcc2
55305    builtin and then its argument prototype would still apply.  */
55306 char $ac_func ();
55307 /* The GNU C library defines this for functions which it implements
55308     to always fail with ENOSYS.  Some functions are actually named
55309     something starting with __ and the normal name is an alias.  */
55310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55311 choke me
55312 #else
55313 char (*f) () = $ac_func;
55314 #endif
55315 #ifdef __cplusplus
55316 }
55317 #endif
55318
55319 int
55320 main ()
55321 {
55322 return f != $ac_func;
55323   ;
55324   return 0;
55325 }
55326 _ACEOF
55327 rm -f conftest.$ac_objext conftest$ac_exeext
55328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55329   (eval $ac_link) 2>&5
55330   ac_status=$?
55331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55332   (exit $ac_status); } &&
55333          { ac_try='test -s conftest$ac_exeext'
55334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55335   (eval $ac_try) 2>&5
55336   ac_status=$?
55337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55338   (exit $ac_status); }; }; then
55339   eval "$as_ac_var=yes"
55340 else
55341   echo "$as_me: failed program was:" >&5
55342 sed 's/^/| /' conftest.$ac_ext >&5
55343
55344 eval "$as_ac_var=no"
55345 fi
55346 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55347 fi
55348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55350 if test `eval echo '${'$as_ac_var'}'` = yes; then
55351   cat >>confdefs.h <<_ACEOF
55352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55353 _ACEOF
55354  ac_XPG2funcs=yes
55355 else
55356   ac_XPG2funcs=no
55357 fi
55358 done
55359
55360
55361     LIBS="$ac_save_LIBS"
55362
55363     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55364 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55365     if test x"$ac_has_iconv_h" = xyes &&
55366        test x"$ac_has_langinfo_h" = xyes &&
55367        test x"$ac_XPG2funcs" = xyes;
55368     then
55369       ac_XPG2_wchar_t=yes
55370     else
55371       ac_XPG2_wchar_t=no
55372     fi
55373     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55374 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55375
55376     # At the moment, only enable wchar_t specializations if all the
55377     # above support is present.
55378     if test x"$ac_isoC99_wchar_t" = xyes &&
55379        test x"$ac_XPG2_wchar_t" = xyes;
55380     then
55381       cat >>confdefs.h <<\_ACEOF
55382 #define _GLIBCXX_USE_WCHAR_T 1
55383 _ACEOF
55384
55385       enable_wchar_t=yes
55386     fi
55387   fi
55388   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55389 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55390   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55391 echo "${ECHO_T}$enable_wchar_t" >&6
55392
55393     ;;
55394   *-netbsd*)
55395
55396
55397
55398
55399
55400
55401
55402
55403
55404
55405
55406
55407 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55408       machine/endian.h machine/param.h sys/machine.h sys/types.h \
55409       fp.h locale.h float.h inttypes.h
55410 do
55411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55412 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55413   echo "$as_me:$LINENO: checking for $ac_header" >&5
55414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55416   echo $ECHO_N "(cached) $ECHO_C" >&6
55417 fi
55418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55420 else
55421   # Is the header compilable?
55422 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55424 cat >conftest.$ac_ext <<_ACEOF
55425 #line $LINENO "configure"
55426 /* confdefs.h.  */
55427 _ACEOF
55428 cat confdefs.h >>conftest.$ac_ext
55429 cat >>conftest.$ac_ext <<_ACEOF
55430 /* end confdefs.h.  */
55431 $ac_includes_default
55432 #include <$ac_header>
55433 _ACEOF
55434 rm -f conftest.$ac_objext
55435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55436   (eval $ac_compile) 2>&5
55437   ac_status=$?
55438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55439   (exit $ac_status); } &&
55440          { ac_try='test -s conftest.$ac_objext'
55441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55442   (eval $ac_try) 2>&5
55443   ac_status=$?
55444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55445   (exit $ac_status); }; }; then
55446   ac_header_compiler=yes
55447 else
55448   echo "$as_me: failed program was:" >&5
55449 sed 's/^/| /' conftest.$ac_ext >&5
55450
55451 ac_header_compiler=no
55452 fi
55453 rm -f conftest.$ac_objext conftest.$ac_ext
55454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55455 echo "${ECHO_T}$ac_header_compiler" >&6
55456
55457 # Is the header present?
55458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55460 cat >conftest.$ac_ext <<_ACEOF
55461 #line $LINENO "configure"
55462 /* confdefs.h.  */
55463 _ACEOF
55464 cat confdefs.h >>conftest.$ac_ext
55465 cat >>conftest.$ac_ext <<_ACEOF
55466 /* end confdefs.h.  */
55467 #include <$ac_header>
55468 _ACEOF
55469 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55470   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55471   ac_status=$?
55472   grep -v '^ *+' conftest.er1 >conftest.err
55473   rm -f conftest.er1
55474   cat conftest.err >&5
55475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55476   (exit $ac_status); } >/dev/null; then
55477   if test -s conftest.err; then
55478     ac_cpp_err=$ac_c_preproc_warn_flag
55479   else
55480     ac_cpp_err=
55481   fi
55482 else
55483   ac_cpp_err=yes
55484 fi
55485 if test -z "$ac_cpp_err"; then
55486   ac_header_preproc=yes
55487 else
55488   echo "$as_me: failed program was:" >&5
55489 sed 's/^/| /' conftest.$ac_ext >&5
55490
55491   ac_header_preproc=no
55492 fi
55493 rm -f conftest.err conftest.$ac_ext
55494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55495 echo "${ECHO_T}$ac_header_preproc" >&6
55496
55497 # So?  What about this header?
55498 case $ac_header_compiler:$ac_header_preproc in
55499   yes:no )
55500     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55502     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55504     (
55505       cat <<\_ASBOX
55506 ## ------------------------------------ ##
55507 ## Report this to bug-autoconf@gnu.org. ##
55508 ## ------------------------------------ ##
55509 _ASBOX
55510     ) |
55511       sed "s/^/$as_me: WARNING:     /" >&2
55512     ;;
55513   no:yes )
55514     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55516     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55517 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55518     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55520     (
55521       cat <<\_ASBOX
55522 ## ------------------------------------ ##
55523 ## Report this to bug-autoconf@gnu.org. ##
55524 ## ------------------------------------ ##
55525 _ASBOX
55526     ) |
55527       sed "s/^/$as_me: WARNING:     /" >&2
55528     ;;
55529 esac
55530 echo "$as_me:$LINENO: checking for $ac_header" >&5
55531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55533   echo $ECHO_N "(cached) $ECHO_C" >&6
55534 else
55535   eval "$as_ac_Header=$ac_header_preproc"
55536 fi
55537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55539
55540 fi
55541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55542   cat >>confdefs.h <<_ACEOF
55543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55544 _ACEOF
55545
55546 fi
55547
55548 done
55549
55550     SECTION_FLAGS='-ffunction-sections -fdata-sections'
55551
55552
55553   # If we're not using GNU ld, then there's no point in even trying these
55554   # tests.  Check for that first.  We should have already tested for gld
55555   # by now (in libtool), but require it now just to be safe...
55556   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55557   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55558
55559
55560
55561   # The name set by libtool depends on the version of libtool.  Shame on us
55562   # for depending on an impl detail, but c'est la vie.  Older versions used
55563   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55564   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55565   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
55566   # set (hence we're using an older libtool), then set it.
55567   if test x${with_gnu_ld+set} != xset; then
55568     if test x${ac_cv_prog_gnu_ld+set} != xset; then
55569       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
55570       with_gnu_ld=no
55571     else
55572       with_gnu_ld=$ac_cv_prog_gnu_ld
55573     fi
55574   fi
55575
55576   # Start by getting the version number.  I think the libtool test already
55577   # does some of this, but throws away the result.
55578
55579   ldver=`$LD --version 2>/dev/null | head -1 | \
55580          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55581
55582   glibcxx_gnu_ld_version=`echo $ldver | \
55583          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55584
55585   # Set --gc-sections.
55586   if test "$with_gnu_ld" = "notbroken"; then
55587     # GNU ld it is!  Joy and bunny rabbits!
55588
55589     # All these tests are for C++; save the language and the compiler flags.
55590     # Need to do this so that g++ won't try to link in libstdc++
55591     ac_test_CFLAGS="${CFLAGS+set}"
55592     ac_save_CFLAGS="$CFLAGS"
55593     CFLAGS='-x c++  -Wl,--gc-sections'
55594
55595     # Check for -Wl,--gc-sections
55596     # XXX This test is broken at the moment, as symbols required for linking
55597     # are now in libsupc++ (not built yet).  In addition, this test has
55598     # cored on solaris in the past.  In addition, --gc-sections doesn't
55599     # really work at the moment (keeps on discarding used sections, first
55600     # .eh_frame and now some of the glibc sections for iconv).
55601     # Bzzzzt.  Thanks for playing, maybe next time.
55602     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55603 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55604     if test "$cross_compiling" = yes; then
55605   ac_sectionLDflags=yes
55606 else
55607   cat >conftest.$ac_ext <<_ACEOF
55608 #line $LINENO "configure"
55609 /* confdefs.h.  */
55610 _ACEOF
55611 cat confdefs.h >>conftest.$ac_ext
55612 cat >>conftest.$ac_ext <<_ACEOF
55613 /* end confdefs.h.  */
55614
55615      int main(void)
55616      {
55617        try { throw 1; }
55618        catch (...) { };
55619        return 0;
55620      }
55621
55622 _ACEOF
55623 rm -f conftest$ac_exeext
55624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55625   (eval $ac_link) 2>&5
55626   ac_status=$?
55627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55628   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55630   (eval $ac_try) 2>&5
55631   ac_status=$?
55632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55633   (exit $ac_status); }; }; then
55634   ac_sectionLDflags=yes
55635 else
55636   echo "$as_me: program exited with status $ac_status" >&5
55637 echo "$as_me: failed program was:" >&5
55638 sed 's/^/| /' conftest.$ac_ext >&5
55639
55640 ( exit $ac_status )
55641 ac_sectionLDflags=no
55642 fi
55643 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55644 fi
55645     if test "$ac_test_CFLAGS" = set; then
55646       CFLAGS="$ac_save_CFLAGS"
55647     else
55648       # this is the suspicious part
55649       CFLAGS=''
55650     fi
55651     if test "$ac_sectionLDflags" = "yes"; then
55652       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55653     fi
55654     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55655 echo "${ECHO_T}$ac_sectionLDflags" >&6
55656   fi
55657
55658   # Set linker optimization flags.
55659   if test x"$with_gnu_ld" = x"yes"; then
55660     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55661   fi
55662
55663
55664
55665
55666
55667
55668 echo "$as_me:$LINENO: checking for main in -lm" >&5
55669 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55670 if test "${ac_cv_lib_m_main+set}" = set; then
55671   echo $ECHO_N "(cached) $ECHO_C" >&6
55672 else
55673   ac_check_lib_save_LIBS=$LIBS
55674 LIBS="-lm  $LIBS"
55675 if test x$gcc_no_link = xyes; then
55676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55678    { (exit 1); exit 1; }; }
55679 fi
55680 cat >conftest.$ac_ext <<_ACEOF
55681 #line $LINENO "configure"
55682 /* confdefs.h.  */
55683 _ACEOF
55684 cat confdefs.h >>conftest.$ac_ext
55685 cat >>conftest.$ac_ext <<_ACEOF
55686 /* end confdefs.h.  */
55687
55688
55689 int
55690 main ()
55691 {
55692 main ();
55693   ;
55694   return 0;
55695 }
55696 _ACEOF
55697 rm -f conftest.$ac_objext conftest$ac_exeext
55698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55699   (eval $ac_link) 2>&5
55700   ac_status=$?
55701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55702   (exit $ac_status); } &&
55703          { ac_try='test -s conftest$ac_exeext'
55704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55705   (eval $ac_try) 2>&5
55706   ac_status=$?
55707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55708   (exit $ac_status); }; }; then
55709   ac_cv_lib_m_main=yes
55710 else
55711   echo "$as_me: failed program was:" >&5
55712 sed 's/^/| /' conftest.$ac_ext >&5
55713
55714 ac_cv_lib_m_main=no
55715 fi
55716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55717 LIBS=$ac_check_lib_save_LIBS
55718 fi
55719 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55720 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55721 if test $ac_cv_lib_m_main = yes; then
55722   cat >>confdefs.h <<_ACEOF
55723 #define HAVE_LIBM 1
55724 _ACEOF
55725
55726   LIBS="-lm $LIBS"
55727
55728 fi
55729
55730
55731
55732 for ac_func in nan copysignf
55733 do
55734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55735 echo "$as_me:$LINENO: checking for $ac_func" >&5
55736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55737 if eval "test \"\${$as_ac_var+set}\" = set"; then
55738   echo $ECHO_N "(cached) $ECHO_C" >&6
55739 else
55740   if test x$gcc_no_link = xyes; then
55741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55743    { (exit 1); exit 1; }; }
55744 fi
55745 cat >conftest.$ac_ext <<_ACEOF
55746 #line $LINENO "configure"
55747 /* confdefs.h.  */
55748 _ACEOF
55749 cat confdefs.h >>conftest.$ac_ext
55750 cat >>conftest.$ac_ext <<_ACEOF
55751 /* end confdefs.h.  */
55752 /* System header to define __stub macros and hopefully few prototypes,
55753     which can conflict with char $ac_func (); below.
55754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55755     <limits.h> exists even on freestanding compilers.  */
55756 #ifdef __STDC__
55757 # include <limits.h>
55758 #else
55759 # include <assert.h>
55760 #endif
55761 /* Override any gcc2 internal prototype to avoid an error.  */
55762 #ifdef __cplusplus
55763 extern "C"
55764 {
55765 #endif
55766 /* We use char because int might match the return type of a gcc2
55767    builtin and then its argument prototype would still apply.  */
55768 char $ac_func ();
55769 /* The GNU C library defines this for functions which it implements
55770     to always fail with ENOSYS.  Some functions are actually named
55771     something starting with __ and the normal name is an alias.  */
55772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55773 choke me
55774 #else
55775 char (*f) () = $ac_func;
55776 #endif
55777 #ifdef __cplusplus
55778 }
55779 #endif
55780
55781 int
55782 main ()
55783 {
55784 return f != $ac_func;
55785   ;
55786   return 0;
55787 }
55788 _ACEOF
55789 rm -f conftest.$ac_objext conftest$ac_exeext
55790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55791   (eval $ac_link) 2>&5
55792   ac_status=$?
55793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55794   (exit $ac_status); } &&
55795          { ac_try='test -s conftest$ac_exeext'
55796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55797   (eval $ac_try) 2>&5
55798   ac_status=$?
55799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55800   (exit $ac_status); }; }; then
55801   eval "$as_ac_var=yes"
55802 else
55803   echo "$as_me: failed program was:" >&5
55804 sed 's/^/| /' conftest.$ac_ext >&5
55805
55806 eval "$as_ac_var=no"
55807 fi
55808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55809 fi
55810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55812 if test `eval echo '${'$as_ac_var'}'` = yes; then
55813   cat >>confdefs.h <<_ACEOF
55814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55815 _ACEOF
55816
55817 else
55818   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55819 fi
55820 done
55821
55822
55823
55824 for ac_func in __signbit
55825 do
55826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55827 echo "$as_me:$LINENO: checking for $ac_func" >&5
55828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55829 if eval "test \"\${$as_ac_var+set}\" = set"; then
55830   echo $ECHO_N "(cached) $ECHO_C" >&6
55831 else
55832   if test x$gcc_no_link = xyes; then
55833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55835    { (exit 1); exit 1; }; }
55836 fi
55837 cat >conftest.$ac_ext <<_ACEOF
55838 #line $LINENO "configure"
55839 /* confdefs.h.  */
55840 _ACEOF
55841 cat confdefs.h >>conftest.$ac_ext
55842 cat >>conftest.$ac_ext <<_ACEOF
55843 /* end confdefs.h.  */
55844 /* System header to define __stub macros and hopefully few prototypes,
55845     which can conflict with char $ac_func (); below.
55846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55847     <limits.h> exists even on freestanding compilers.  */
55848 #ifdef __STDC__
55849 # include <limits.h>
55850 #else
55851 # include <assert.h>
55852 #endif
55853 /* Override any gcc2 internal prototype to avoid an error.  */
55854 #ifdef __cplusplus
55855 extern "C"
55856 {
55857 #endif
55858 /* We use char because int might match the return type of a gcc2
55859    builtin and then its argument prototype would still apply.  */
55860 char $ac_func ();
55861 /* The GNU C library defines this for functions which it implements
55862     to always fail with ENOSYS.  Some functions are actually named
55863     something starting with __ and the normal name is an alias.  */
55864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55865 choke me
55866 #else
55867 char (*f) () = $ac_func;
55868 #endif
55869 #ifdef __cplusplus
55870 }
55871 #endif
55872
55873 int
55874 main ()
55875 {
55876 return f != $ac_func;
55877   ;
55878   return 0;
55879 }
55880 _ACEOF
55881 rm -f conftest.$ac_objext conftest$ac_exeext
55882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55883   (eval $ac_link) 2>&5
55884   ac_status=$?
55885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55886   (exit $ac_status); } &&
55887          { ac_try='test -s conftest$ac_exeext'
55888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55889   (eval $ac_try) 2>&5
55890   ac_status=$?
55891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55892   (exit $ac_status); }; }; then
55893   eval "$as_ac_var=yes"
55894 else
55895   echo "$as_me: failed program was:" >&5
55896 sed 's/^/| /' conftest.$ac_ext >&5
55897
55898 eval "$as_ac_var=no"
55899 fi
55900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55901 fi
55902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55904 if test `eval echo '${'$as_ac_var'}'` = yes; then
55905   cat >>confdefs.h <<_ACEOF
55906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55907 _ACEOF
55908
55909 else
55910   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55911 fi
55912 done
55913
55914
55915 for ac_func in __signbitf
55916 do
55917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55918 echo "$as_me:$LINENO: checking for $ac_func" >&5
55919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55920 if eval "test \"\${$as_ac_var+set}\" = set"; then
55921   echo $ECHO_N "(cached) $ECHO_C" >&6
55922 else
55923   if test x$gcc_no_link = xyes; then
55924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55926    { (exit 1); exit 1; }; }
55927 fi
55928 cat >conftest.$ac_ext <<_ACEOF
55929 #line $LINENO "configure"
55930 /* confdefs.h.  */
55931 _ACEOF
55932 cat confdefs.h >>conftest.$ac_ext
55933 cat >>conftest.$ac_ext <<_ACEOF
55934 /* end confdefs.h.  */
55935 /* System header to define __stub macros and hopefully few prototypes,
55936     which can conflict with char $ac_func (); below.
55937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55938     <limits.h> exists even on freestanding compilers.  */
55939 #ifdef __STDC__
55940 # include <limits.h>
55941 #else
55942 # include <assert.h>
55943 #endif
55944 /* Override any gcc2 internal prototype to avoid an error.  */
55945 #ifdef __cplusplus
55946 extern "C"
55947 {
55948 #endif
55949 /* We use char because int might match the return type of a gcc2
55950    builtin and then its argument prototype would still apply.  */
55951 char $ac_func ();
55952 /* The GNU C library defines this for functions which it implements
55953     to always fail with ENOSYS.  Some functions are actually named
55954     something starting with __ and the normal name is an alias.  */
55955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55956 choke me
55957 #else
55958 char (*f) () = $ac_func;
55959 #endif
55960 #ifdef __cplusplus
55961 }
55962 #endif
55963
55964 int
55965 main ()
55966 {
55967 return f != $ac_func;
55968   ;
55969   return 0;
55970 }
55971 _ACEOF
55972 rm -f conftest.$ac_objext conftest$ac_exeext
55973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55974   (eval $ac_link) 2>&5
55975   ac_status=$?
55976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55977   (exit $ac_status); } &&
55978          { ac_try='test -s conftest$ac_exeext'
55979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55980   (eval $ac_try) 2>&5
55981   ac_status=$?
55982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55983   (exit $ac_status); }; }; then
55984   eval "$as_ac_var=yes"
55985 else
55986   echo "$as_me: failed program was:" >&5
55987 sed 's/^/| /' conftest.$ac_ext >&5
55988
55989 eval "$as_ac_var=no"
55990 fi
55991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55992 fi
55993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55995 if test `eval echo '${'$as_ac_var'}'` = yes; then
55996   cat >>confdefs.h <<_ACEOF
55997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55998 _ACEOF
55999
56000 else
56001   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56002 fi
56003 done
56004
56005
56006           if test x$ac_cv_func_copysignl = x"yes"; then
56007
56008 for ac_func in __signbitl
56009 do
56010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56011 echo "$as_me:$LINENO: checking for $ac_func" >&5
56012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56013 if eval "test \"\${$as_ac_var+set}\" = set"; then
56014   echo $ECHO_N "(cached) $ECHO_C" >&6
56015 else
56016   if test x$gcc_no_link = xyes; then
56017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56019    { (exit 1); exit 1; }; }
56020 fi
56021 cat >conftest.$ac_ext <<_ACEOF
56022 #line $LINENO "configure"
56023 /* confdefs.h.  */
56024 _ACEOF
56025 cat confdefs.h >>conftest.$ac_ext
56026 cat >>conftest.$ac_ext <<_ACEOF
56027 /* end confdefs.h.  */
56028 /* System header to define __stub macros and hopefully few prototypes,
56029     which can conflict with char $ac_func (); below.
56030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56031     <limits.h> exists even on freestanding compilers.  */
56032 #ifdef __STDC__
56033 # include <limits.h>
56034 #else
56035 # include <assert.h>
56036 #endif
56037 /* Override any gcc2 internal prototype to avoid an error.  */
56038 #ifdef __cplusplus
56039 extern "C"
56040 {
56041 #endif
56042 /* We use char because int might match the return type of a gcc2
56043    builtin and then its argument prototype would still apply.  */
56044 char $ac_func ();
56045 /* The GNU C library defines this for functions which it implements
56046     to always fail with ENOSYS.  Some functions are actually named
56047     something starting with __ and the normal name is an alias.  */
56048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56049 choke me
56050 #else
56051 char (*f) () = $ac_func;
56052 #endif
56053 #ifdef __cplusplus
56054 }
56055 #endif
56056
56057 int
56058 main ()
56059 {
56060 return f != $ac_func;
56061   ;
56062   return 0;
56063 }
56064 _ACEOF
56065 rm -f conftest.$ac_objext conftest$ac_exeext
56066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56067   (eval $ac_link) 2>&5
56068   ac_status=$?
56069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56070   (exit $ac_status); } &&
56071          { ac_try='test -s conftest$ac_exeext'
56072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56073   (eval $ac_try) 2>&5
56074   ac_status=$?
56075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56076   (exit $ac_status); }; }; then
56077   eval "$as_ac_var=yes"
56078 else
56079   echo "$as_me: failed program was:" >&5
56080 sed 's/^/| /' conftest.$ac_ext >&5
56081
56082 eval "$as_ac_var=no"
56083 fi
56084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56085 fi
56086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56088 if test `eval echo '${'$as_ac_var'}'` = yes; then
56089   cat >>confdefs.h <<_ACEOF
56090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56091 _ACEOF
56092
56093 else
56094   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56095 fi
56096 done
56097
56098   fi
56099
56100   # XXX Review this.  Nothing uses it.
56101   if test -n "$LIBMATHOBJS"; then
56102     need_libmath=yes
56103   fi
56104
56105
56106
56107   # Test wchar.h for mbstate_t, which is needed for char_traits and
56108   # others even if wchar_t support is not on.
56109   echo "$as_me:$LINENO: checking for mbstate_t" >&5
56110 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
56111   cat >conftest.$ac_ext <<_ACEOF
56112 #line $LINENO "configure"
56113 /* confdefs.h.  */
56114 _ACEOF
56115 cat confdefs.h >>conftest.$ac_ext
56116 cat >>conftest.$ac_ext <<_ACEOF
56117 /* end confdefs.h.  */
56118 #include <wchar.h>
56119 int
56120 main ()
56121 {
56122 mbstate_t teststate;
56123   ;
56124   return 0;
56125 }
56126 _ACEOF
56127 rm -f conftest.$ac_objext
56128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56129   (eval $ac_compile) 2>&5
56130   ac_status=$?
56131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56132   (exit $ac_status); } &&
56133          { ac_try='test -s conftest.$ac_objext'
56134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56135   (eval $ac_try) 2>&5
56136   ac_status=$?
56137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56138   (exit $ac_status); }; }; then
56139   have_mbstate_t=yes
56140 else
56141   echo "$as_me: failed program was:" >&5
56142 sed 's/^/| /' conftest.$ac_ext >&5
56143
56144 have_mbstate_t=no
56145 fi
56146 rm -f conftest.$ac_objext conftest.$ac_ext
56147   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
56148 echo "${ECHO_T}$have_mbstate_t" >&6
56149   if test x"$have_mbstate_t" = xyes; then
56150     cat >>confdefs.h <<\_ACEOF
56151 #define HAVE_MBSTATE_T 1
56152 _ACEOF
56153
56154   fi
56155
56156   # Sanity check for existence of ISO C99 headers for extended encoding.
56157
56158 for ac_header in wchar.h
56159 do
56160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56162   echo "$as_me:$LINENO: checking for $ac_header" >&5
56163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56165   echo $ECHO_N "(cached) $ECHO_C" >&6
56166 fi
56167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56169 else
56170   # Is the header compilable?
56171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56173 cat >conftest.$ac_ext <<_ACEOF
56174 #line $LINENO "configure"
56175 /* confdefs.h.  */
56176 _ACEOF
56177 cat confdefs.h >>conftest.$ac_ext
56178 cat >>conftest.$ac_ext <<_ACEOF
56179 /* end confdefs.h.  */
56180 $ac_includes_default
56181 #include <$ac_header>
56182 _ACEOF
56183 rm -f conftest.$ac_objext
56184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56185   (eval $ac_compile) 2>&5
56186   ac_status=$?
56187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56188   (exit $ac_status); } &&
56189          { ac_try='test -s conftest.$ac_objext'
56190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56191   (eval $ac_try) 2>&5
56192   ac_status=$?
56193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56194   (exit $ac_status); }; }; then
56195   ac_header_compiler=yes
56196 else
56197   echo "$as_me: failed program was:" >&5
56198 sed 's/^/| /' conftest.$ac_ext >&5
56199
56200 ac_header_compiler=no
56201 fi
56202 rm -f conftest.$ac_objext conftest.$ac_ext
56203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56204 echo "${ECHO_T}$ac_header_compiler" >&6
56205
56206 # Is the header present?
56207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56209 cat >conftest.$ac_ext <<_ACEOF
56210 #line $LINENO "configure"
56211 /* confdefs.h.  */
56212 _ACEOF
56213 cat confdefs.h >>conftest.$ac_ext
56214 cat >>conftest.$ac_ext <<_ACEOF
56215 /* end confdefs.h.  */
56216 #include <$ac_header>
56217 _ACEOF
56218 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56219   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56220   ac_status=$?
56221   grep -v '^ *+' conftest.er1 >conftest.err
56222   rm -f conftest.er1
56223   cat conftest.err >&5
56224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56225   (exit $ac_status); } >/dev/null; then
56226   if test -s conftest.err; then
56227     ac_cpp_err=$ac_c_preproc_warn_flag
56228   else
56229     ac_cpp_err=
56230   fi
56231 else
56232   ac_cpp_err=yes
56233 fi
56234 if test -z "$ac_cpp_err"; then
56235   ac_header_preproc=yes
56236 else
56237   echo "$as_me: failed program was:" >&5
56238 sed 's/^/| /' conftest.$ac_ext >&5
56239
56240   ac_header_preproc=no
56241 fi
56242 rm -f conftest.err conftest.$ac_ext
56243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56244 echo "${ECHO_T}$ac_header_preproc" >&6
56245
56246 # So?  What about this header?
56247 case $ac_header_compiler:$ac_header_preproc in
56248   yes:no )
56249     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56251     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56253     (
56254       cat <<\_ASBOX
56255 ## ------------------------------------ ##
56256 ## Report this to bug-autoconf@gnu.org. ##
56257 ## ------------------------------------ ##
56258 _ASBOX
56259     ) |
56260       sed "s/^/$as_me: WARNING:     /" >&2
56261     ;;
56262   no:yes )
56263     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56265     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56267     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56268 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56269     (
56270       cat <<\_ASBOX
56271 ## ------------------------------------ ##
56272 ## Report this to bug-autoconf@gnu.org. ##
56273 ## ------------------------------------ ##
56274 _ASBOX
56275     ) |
56276       sed "s/^/$as_me: WARNING:     /" >&2
56277     ;;
56278 esac
56279 echo "$as_me:$LINENO: checking for $ac_header" >&5
56280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56282   echo $ECHO_N "(cached) $ECHO_C" >&6
56283 else
56284   eval "$as_ac_Header=$ac_header_preproc"
56285 fi
56286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56288
56289 fi
56290 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56291   cat >>confdefs.h <<_ACEOF
56292 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56293 _ACEOF
56294  ac_has_wchar_h=yes
56295 else
56296   ac_has_wchar_h=no
56297 fi
56298
56299 done
56300
56301
56302 for ac_header in wctype.h
56303 do
56304 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56306   echo "$as_me:$LINENO: checking for $ac_header" >&5
56307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56309   echo $ECHO_N "(cached) $ECHO_C" >&6
56310 fi
56311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56313 else
56314   # Is the header compilable?
56315 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56316 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56317 cat >conftest.$ac_ext <<_ACEOF
56318 #line $LINENO "configure"
56319 /* confdefs.h.  */
56320 _ACEOF
56321 cat confdefs.h >>conftest.$ac_ext
56322 cat >>conftest.$ac_ext <<_ACEOF
56323 /* end confdefs.h.  */
56324 $ac_includes_default
56325 #include <$ac_header>
56326 _ACEOF
56327 rm -f conftest.$ac_objext
56328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56329   (eval $ac_compile) 2>&5
56330   ac_status=$?
56331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56332   (exit $ac_status); } &&
56333          { ac_try='test -s conftest.$ac_objext'
56334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56335   (eval $ac_try) 2>&5
56336   ac_status=$?
56337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56338   (exit $ac_status); }; }; then
56339   ac_header_compiler=yes
56340 else
56341   echo "$as_me: failed program was:" >&5
56342 sed 's/^/| /' conftest.$ac_ext >&5
56343
56344 ac_header_compiler=no
56345 fi
56346 rm -f conftest.$ac_objext conftest.$ac_ext
56347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56348 echo "${ECHO_T}$ac_header_compiler" >&6
56349
56350 # Is the header present?
56351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56353 cat >conftest.$ac_ext <<_ACEOF
56354 #line $LINENO "configure"
56355 /* confdefs.h.  */
56356 _ACEOF
56357 cat confdefs.h >>conftest.$ac_ext
56358 cat >>conftest.$ac_ext <<_ACEOF
56359 /* end confdefs.h.  */
56360 #include <$ac_header>
56361 _ACEOF
56362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56363   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56364   ac_status=$?
56365   grep -v '^ *+' conftest.er1 >conftest.err
56366   rm -f conftest.er1
56367   cat conftest.err >&5
56368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56369   (exit $ac_status); } >/dev/null; then
56370   if test -s conftest.err; then
56371     ac_cpp_err=$ac_c_preproc_warn_flag
56372   else
56373     ac_cpp_err=
56374   fi
56375 else
56376   ac_cpp_err=yes
56377 fi
56378 if test -z "$ac_cpp_err"; then
56379   ac_header_preproc=yes
56380 else
56381   echo "$as_me: failed program was:" >&5
56382 sed 's/^/| /' conftest.$ac_ext >&5
56383
56384   ac_header_preproc=no
56385 fi
56386 rm -f conftest.err conftest.$ac_ext
56387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56388 echo "${ECHO_T}$ac_header_preproc" >&6
56389
56390 # So?  What about this header?
56391 case $ac_header_compiler:$ac_header_preproc in
56392   yes:no )
56393     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56395     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56397     (
56398       cat <<\_ASBOX
56399 ## ------------------------------------ ##
56400 ## Report this to bug-autoconf@gnu.org. ##
56401 ## ------------------------------------ ##
56402 _ASBOX
56403     ) |
56404       sed "s/^/$as_me: WARNING:     /" >&2
56405     ;;
56406   no:yes )
56407     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56409     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56411     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56413     (
56414       cat <<\_ASBOX
56415 ## ------------------------------------ ##
56416 ## Report this to bug-autoconf@gnu.org. ##
56417 ## ------------------------------------ ##
56418 _ASBOX
56419     ) |
56420       sed "s/^/$as_me: WARNING:     /" >&2
56421     ;;
56422 esac
56423 echo "$as_me:$LINENO: checking for $ac_header" >&5
56424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56426   echo $ECHO_N "(cached) $ECHO_C" >&6
56427 else
56428   eval "$as_ac_Header=$ac_header_preproc"
56429 fi
56430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56432
56433 fi
56434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56435   cat >>confdefs.h <<_ACEOF
56436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56437 _ACEOF
56438  ac_has_wctype_h=yes
56439 else
56440   ac_has_wctype_h=no
56441 fi
56442
56443 done
56444
56445
56446   # Only continue checking if the ISO C99 headers exist and support is on.
56447   if test x"$ac_has_wchar_h" = xyes &&
56448      test x"$ac_has_wctype_h" = xyes &&
56449      test x"$enable_c_mbchar" != xno; then
56450
56451     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56452     # numeric_limits can instantiate type_traits<wchar_t>
56453     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56454 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56455     cat >conftest.$ac_ext <<_ACEOF
56456 #line $LINENO "configure"
56457 /* confdefs.h.  */
56458 _ACEOF
56459 cat confdefs.h >>conftest.$ac_ext
56460 cat >>conftest.$ac_ext <<_ACEOF
56461 /* end confdefs.h.  */
56462 #include <wchar.h>
56463 int
56464 main ()
56465 {
56466 int i = WCHAR_MIN; int j = WCHAR_MAX;
56467   ;
56468   return 0;
56469 }
56470 _ACEOF
56471 rm -f conftest.$ac_objext
56472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56473   (eval $ac_compile) 2>&5
56474   ac_status=$?
56475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56476   (exit $ac_status); } &&
56477          { ac_try='test -s conftest.$ac_objext'
56478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56479   (eval $ac_try) 2>&5
56480   ac_status=$?
56481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56482   (exit $ac_status); }; }; then
56483   has_wchar_minmax=yes
56484 else
56485   echo "$as_me: failed program was:" >&5
56486 sed 's/^/| /' conftest.$ac_ext >&5
56487
56488 has_wchar_minmax=no
56489 fi
56490 rm -f conftest.$ac_objext conftest.$ac_ext
56491     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56492 echo "${ECHO_T}$has_wchar_minmax" >&6
56493
56494     # Test wchar.h for WEOF, which is what we use to determine whether
56495     # to specialize for char_traits<wchar_t> or not.
56496     echo "$as_me:$LINENO: checking for WEOF" >&5
56497 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56498     cat >conftest.$ac_ext <<_ACEOF
56499 #line $LINENO "configure"
56500 /* confdefs.h.  */
56501 _ACEOF
56502 cat confdefs.h >>conftest.$ac_ext
56503 cat >>conftest.$ac_ext <<_ACEOF
56504 /* end confdefs.h.  */
56505
56506       #include <wchar.h>
56507       #include <stddef.h>
56508 int
56509 main ()
56510 {
56511 wint_t i = WEOF;
56512   ;
56513   return 0;
56514 }
56515 _ACEOF
56516 rm -f conftest.$ac_objext
56517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56518   (eval $ac_compile) 2>&5
56519   ac_status=$?
56520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56521   (exit $ac_status); } &&
56522          { ac_try='test -s conftest.$ac_objext'
56523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56524   (eval $ac_try) 2>&5
56525   ac_status=$?
56526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56527   (exit $ac_status); }; }; then
56528   has_weof=yes
56529 else
56530   echo "$as_me: failed program was:" >&5
56531 sed 's/^/| /' conftest.$ac_ext >&5
56532
56533 has_weof=no
56534 fi
56535 rm -f conftest.$ac_objext conftest.$ac_ext
56536     echo "$as_me:$LINENO: result: $has_weof" >&5
56537 echo "${ECHO_T}$has_weof" >&6
56538
56539     # Tests for wide character functions used in char_traits<wchar_t>.
56540     ac_wfuncs=yes
56541
56542
56543
56544
56545
56546
56547 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56548 do
56549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56550 echo "$as_me:$LINENO: checking for $ac_func" >&5
56551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56552 if eval "test \"\${$as_ac_var+set}\" = set"; then
56553   echo $ECHO_N "(cached) $ECHO_C" >&6
56554 else
56555   if test x$gcc_no_link = xyes; then
56556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56558    { (exit 1); exit 1; }; }
56559 fi
56560 cat >conftest.$ac_ext <<_ACEOF
56561 #line $LINENO "configure"
56562 /* confdefs.h.  */
56563 _ACEOF
56564 cat confdefs.h >>conftest.$ac_ext
56565 cat >>conftest.$ac_ext <<_ACEOF
56566 /* end confdefs.h.  */
56567 /* System header to define __stub macros and hopefully few prototypes,
56568     which can conflict with char $ac_func (); below.
56569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56570     <limits.h> exists even on freestanding compilers.  */
56571 #ifdef __STDC__
56572 # include <limits.h>
56573 #else
56574 # include <assert.h>
56575 #endif
56576 /* Override any gcc2 internal prototype to avoid an error.  */
56577 #ifdef __cplusplus
56578 extern "C"
56579 {
56580 #endif
56581 /* We use char because int might match the return type of a gcc2
56582    builtin and then its argument prototype would still apply.  */
56583 char $ac_func ();
56584 /* The GNU C library defines this for functions which it implements
56585     to always fail with ENOSYS.  Some functions are actually named
56586     something starting with __ and the normal name is an alias.  */
56587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56588 choke me
56589 #else
56590 char (*f) () = $ac_func;
56591 #endif
56592 #ifdef __cplusplus
56593 }
56594 #endif
56595
56596 int
56597 main ()
56598 {
56599 return f != $ac_func;
56600   ;
56601   return 0;
56602 }
56603 _ACEOF
56604 rm -f conftest.$ac_objext conftest$ac_exeext
56605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56606   (eval $ac_link) 2>&5
56607   ac_status=$?
56608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56609   (exit $ac_status); } &&
56610          { ac_try='test -s conftest$ac_exeext'
56611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56612   (eval $ac_try) 2>&5
56613   ac_status=$?
56614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56615   (exit $ac_status); }; }; then
56616   eval "$as_ac_var=yes"
56617 else
56618   echo "$as_me: failed program was:" >&5
56619 sed 's/^/| /' conftest.$ac_ext >&5
56620
56621 eval "$as_ac_var=no"
56622 fi
56623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56624 fi
56625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56627 if test `eval echo '${'$as_ac_var'}'` = yes; then
56628   cat >>confdefs.h <<_ACEOF
56629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56630 _ACEOF
56631
56632 else
56633   ac_wfuncs=no
56634 fi
56635 done
56636
56637
56638     # Checks for names injected into std:: by the c_std headers.
56639
56640
56641
56642
56643
56644
56645
56646
56647
56648
56649
56650
56651
56652
56653
56654
56655
56656
56657
56658
56659
56660
56661
56662
56663
56664
56665
56666
56667
56668
56669
56670
56671
56672
56673
56674
56675
56676
56677
56678
56679
56680
56681
56682
56683
56684
56685 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
56686     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
56687     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
56688     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
56689     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
56690     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
56691 do
56692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56693 echo "$as_me:$LINENO: checking for $ac_func" >&5
56694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56695 if eval "test \"\${$as_ac_var+set}\" = set"; then
56696   echo $ECHO_N "(cached) $ECHO_C" >&6
56697 else
56698   if test x$gcc_no_link = xyes; then
56699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56701    { (exit 1); exit 1; }; }
56702 fi
56703 cat >conftest.$ac_ext <<_ACEOF
56704 #line $LINENO "configure"
56705 /* confdefs.h.  */
56706 _ACEOF
56707 cat confdefs.h >>conftest.$ac_ext
56708 cat >>conftest.$ac_ext <<_ACEOF
56709 /* end confdefs.h.  */
56710 /* System header to define __stub macros and hopefully few prototypes,
56711     which can conflict with char $ac_func (); below.
56712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56713     <limits.h> exists even on freestanding compilers.  */
56714 #ifdef __STDC__
56715 # include <limits.h>
56716 #else
56717 # include <assert.h>
56718 #endif
56719 /* Override any gcc2 internal prototype to avoid an error.  */
56720 #ifdef __cplusplus
56721 extern "C"
56722 {
56723 #endif
56724 /* We use char because int might match the return type of a gcc2
56725    builtin and then its argument prototype would still apply.  */
56726 char $ac_func ();
56727 /* The GNU C library defines this for functions which it implements
56728     to always fail with ENOSYS.  Some functions are actually named
56729     something starting with __ and the normal name is an alias.  */
56730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56731 choke me
56732 #else
56733 char (*f) () = $ac_func;
56734 #endif
56735 #ifdef __cplusplus
56736 }
56737 #endif
56738
56739 int
56740 main ()
56741 {
56742 return f != $ac_func;
56743   ;
56744   return 0;
56745 }
56746 _ACEOF
56747 rm -f conftest.$ac_objext conftest$ac_exeext
56748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56749   (eval $ac_link) 2>&5
56750   ac_status=$?
56751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56752   (exit $ac_status); } &&
56753          { ac_try='test -s conftest$ac_exeext'
56754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56755   (eval $ac_try) 2>&5
56756   ac_status=$?
56757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56758   (exit $ac_status); }; }; then
56759   eval "$as_ac_var=yes"
56760 else
56761   echo "$as_me: failed program was:" >&5
56762 sed 's/^/| /' conftest.$ac_ext >&5
56763
56764 eval "$as_ac_var=no"
56765 fi
56766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56767 fi
56768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56770 if test `eval echo '${'$as_ac_var'}'` = yes; then
56771   cat >>confdefs.h <<_ACEOF
56772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56773 _ACEOF
56774
56775 else
56776   ac_wfuncs=no
56777 fi
56778 done
56779
56780
56781     # Checks for wide character functions that are not required
56782     # for basic wchar_t support.  Don't disable support if they are missing.
56783     # Injection of these is wrapped with guard macros.
56784
56785
56786
56787
56788
56789 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
56790 do
56791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56792 echo "$as_me:$LINENO: checking for $ac_func" >&5
56793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56794 if eval "test \"\${$as_ac_var+set}\" = set"; then
56795   echo $ECHO_N "(cached) $ECHO_C" >&6
56796 else
56797   if test x$gcc_no_link = xyes; then
56798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56800    { (exit 1); exit 1; }; }
56801 fi
56802 cat >conftest.$ac_ext <<_ACEOF
56803 #line $LINENO "configure"
56804 /* confdefs.h.  */
56805 _ACEOF
56806 cat confdefs.h >>conftest.$ac_ext
56807 cat >>conftest.$ac_ext <<_ACEOF
56808 /* end confdefs.h.  */
56809 /* System header to define __stub macros and hopefully few prototypes,
56810     which can conflict with char $ac_func (); below.
56811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56812     <limits.h> exists even on freestanding compilers.  */
56813 #ifdef __STDC__
56814 # include <limits.h>
56815 #else
56816 # include <assert.h>
56817 #endif
56818 /* Override any gcc2 internal prototype to avoid an error.  */
56819 #ifdef __cplusplus
56820 extern "C"
56821 {
56822 #endif
56823 /* We use char because int might match the return type of a gcc2
56824    builtin and then its argument prototype would still apply.  */
56825 char $ac_func ();
56826 /* The GNU C library defines this for functions which it implements
56827     to always fail with ENOSYS.  Some functions are actually named
56828     something starting with __ and the normal name is an alias.  */
56829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56830 choke me
56831 #else
56832 char (*f) () = $ac_func;
56833 #endif
56834 #ifdef __cplusplus
56835 }
56836 #endif
56837
56838 int
56839 main ()
56840 {
56841 return f != $ac_func;
56842   ;
56843   return 0;
56844 }
56845 _ACEOF
56846 rm -f conftest.$ac_objext conftest$ac_exeext
56847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56848   (eval $ac_link) 2>&5
56849   ac_status=$?
56850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56851   (exit $ac_status); } &&
56852          { ac_try='test -s conftest$ac_exeext'
56853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56854   (eval $ac_try) 2>&5
56855   ac_status=$?
56856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56857   (exit $ac_status); }; }; then
56858   eval "$as_ac_var=yes"
56859 else
56860   echo "$as_me: failed program was:" >&5
56861 sed 's/^/| /' conftest.$ac_ext >&5
56862
56863 eval "$as_ac_var=no"
56864 fi
56865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56866 fi
56867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56869 if test `eval echo '${'$as_ac_var'}'` = yes; then
56870   cat >>confdefs.h <<_ACEOF
56871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56872 _ACEOF
56873
56874 fi
56875 done
56876
56877
56878     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56879 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56880     if test x"$has_weof" = xyes &&
56881        test x"$has_wchar_minmax" = xyes &&
56882        test x"$ac_wfuncs" = xyes;
56883     then
56884       ac_isoC99_wchar_t=yes
56885     else
56886       ac_isoC99_wchar_t=no
56887     fi
56888     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56889 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56890
56891     # Use iconv for wchar_t to char conversions. As such, check for
56892     # X/Open Portability Guide, version 2 features (XPG2).
56893     if test "${ac_cv_header_iconv_h+set}" = set; then
56894   echo "$as_me:$LINENO: checking for iconv.h" >&5
56895 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56896 if test "${ac_cv_header_iconv_h+set}" = set; then
56897   echo $ECHO_N "(cached) $ECHO_C" >&6
56898 fi
56899 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56900 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56901 else
56902   # Is the header compilable?
56903 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56904 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56905 cat >conftest.$ac_ext <<_ACEOF
56906 #line $LINENO "configure"
56907 /* confdefs.h.  */
56908 _ACEOF
56909 cat confdefs.h >>conftest.$ac_ext
56910 cat >>conftest.$ac_ext <<_ACEOF
56911 /* end confdefs.h.  */
56912 $ac_includes_default
56913 #include <iconv.h>
56914 _ACEOF
56915 rm -f conftest.$ac_objext
56916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56917   (eval $ac_compile) 2>&5
56918   ac_status=$?
56919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56920   (exit $ac_status); } &&
56921          { ac_try='test -s conftest.$ac_objext'
56922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56923   (eval $ac_try) 2>&5
56924   ac_status=$?
56925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56926   (exit $ac_status); }; }; then
56927   ac_header_compiler=yes
56928 else
56929   echo "$as_me: failed program was:" >&5
56930 sed 's/^/| /' conftest.$ac_ext >&5
56931
56932 ac_header_compiler=no
56933 fi
56934 rm -f conftest.$ac_objext conftest.$ac_ext
56935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56936 echo "${ECHO_T}$ac_header_compiler" >&6
56937
56938 # Is the header present?
56939 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56940 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56941 cat >conftest.$ac_ext <<_ACEOF
56942 #line $LINENO "configure"
56943 /* confdefs.h.  */
56944 _ACEOF
56945 cat confdefs.h >>conftest.$ac_ext
56946 cat >>conftest.$ac_ext <<_ACEOF
56947 /* end confdefs.h.  */
56948 #include <iconv.h>
56949 _ACEOF
56950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56951   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56952   ac_status=$?
56953   grep -v '^ *+' conftest.er1 >conftest.err
56954   rm -f conftest.er1
56955   cat conftest.err >&5
56956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56957   (exit $ac_status); } >/dev/null; then
56958   if test -s conftest.err; then
56959     ac_cpp_err=$ac_c_preproc_warn_flag
56960   else
56961     ac_cpp_err=
56962   fi
56963 else
56964   ac_cpp_err=yes
56965 fi
56966 if test -z "$ac_cpp_err"; then
56967   ac_header_preproc=yes
56968 else
56969   echo "$as_me: failed program was:" >&5
56970 sed 's/^/| /' conftest.$ac_ext >&5
56971
56972   ac_header_preproc=no
56973 fi
56974 rm -f conftest.err conftest.$ac_ext
56975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56976 echo "${ECHO_T}$ac_header_preproc" >&6
56977
56978 # So?  What about this header?
56979 case $ac_header_compiler:$ac_header_preproc in
56980   yes:no )
56981     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56982 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56983     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56984 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56985     (
56986       cat <<\_ASBOX
56987 ## ------------------------------------ ##
56988 ## Report this to bug-autoconf@gnu.org. ##
56989 ## ------------------------------------ ##
56990 _ASBOX
56991     ) |
56992       sed "s/^/$as_me: WARNING:     /" >&2
56993     ;;
56994   no:yes )
56995     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56996 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56997     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56998 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56999     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
57000 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
57001     (
57002       cat <<\_ASBOX
57003 ## ------------------------------------ ##
57004 ## Report this to bug-autoconf@gnu.org. ##
57005 ## ------------------------------------ ##
57006 _ASBOX
57007     ) |
57008       sed "s/^/$as_me: WARNING:     /" >&2
57009     ;;
57010 esac
57011 echo "$as_me:$LINENO: checking for iconv.h" >&5
57012 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57013 if test "${ac_cv_header_iconv_h+set}" = set; then
57014   echo $ECHO_N "(cached) $ECHO_C" >&6
57015 else
57016   ac_cv_header_iconv_h=$ac_header_preproc
57017 fi
57018 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57019 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57020
57021 fi
57022 if test $ac_cv_header_iconv_h = yes; then
57023   ac_has_iconv_h=yes
57024 else
57025   ac_has_iconv_h=no
57026 fi
57027
57028
57029     if test "${ac_cv_header_langinfo_h+set}" = set; then
57030   echo "$as_me:$LINENO: checking for langinfo.h" >&5
57031 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57032 if test "${ac_cv_header_langinfo_h+set}" = set; then
57033   echo $ECHO_N "(cached) $ECHO_C" >&6
57034 fi
57035 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57036 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57037 else
57038   # Is the header compilable?
57039 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
57040 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
57041 cat >conftest.$ac_ext <<_ACEOF
57042 #line $LINENO "configure"
57043 /* confdefs.h.  */
57044 _ACEOF
57045 cat confdefs.h >>conftest.$ac_ext
57046 cat >>conftest.$ac_ext <<_ACEOF
57047 /* end confdefs.h.  */
57048 $ac_includes_default
57049 #include <langinfo.h>
57050 _ACEOF
57051 rm -f conftest.$ac_objext
57052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57053   (eval $ac_compile) 2>&5
57054   ac_status=$?
57055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57056   (exit $ac_status); } &&
57057          { ac_try='test -s conftest.$ac_objext'
57058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059   (eval $ac_try) 2>&5
57060   ac_status=$?
57061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062   (exit $ac_status); }; }; then
57063   ac_header_compiler=yes
57064 else
57065   echo "$as_me: failed program was:" >&5
57066 sed 's/^/| /' conftest.$ac_ext >&5
57067
57068 ac_header_compiler=no
57069 fi
57070 rm -f conftest.$ac_objext conftest.$ac_ext
57071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57072 echo "${ECHO_T}$ac_header_compiler" >&6
57073
57074 # Is the header present?
57075 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
57076 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
57077 cat >conftest.$ac_ext <<_ACEOF
57078 #line $LINENO "configure"
57079 /* confdefs.h.  */
57080 _ACEOF
57081 cat confdefs.h >>conftest.$ac_ext
57082 cat >>conftest.$ac_ext <<_ACEOF
57083 /* end confdefs.h.  */
57084 #include <langinfo.h>
57085 _ACEOF
57086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57087   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57088   ac_status=$?
57089   grep -v '^ *+' conftest.er1 >conftest.err
57090   rm -f conftest.er1
57091   cat conftest.err >&5
57092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57093   (exit $ac_status); } >/dev/null; then
57094   if test -s conftest.err; then
57095     ac_cpp_err=$ac_c_preproc_warn_flag
57096   else
57097     ac_cpp_err=
57098   fi
57099 else
57100   ac_cpp_err=yes
57101 fi
57102 if test -z "$ac_cpp_err"; then
57103   ac_header_preproc=yes
57104 else
57105   echo "$as_me: failed program was:" >&5
57106 sed 's/^/| /' conftest.$ac_ext >&5
57107
57108   ac_header_preproc=no
57109 fi
57110 rm -f conftest.err conftest.$ac_ext
57111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57112 echo "${ECHO_T}$ac_header_preproc" >&6
57113
57114 # So?  What about this header?
57115 case $ac_header_compiler:$ac_header_preproc in
57116   yes:no )
57117     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
57118 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57119     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57120 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57121     (
57122       cat <<\_ASBOX
57123 ## ------------------------------------ ##
57124 ## Report this to bug-autoconf@gnu.org. ##
57125 ## ------------------------------------ ##
57126 _ASBOX
57127     ) |
57128       sed "s/^/$as_me: WARNING:     /" >&2
57129     ;;
57130   no:yes )
57131     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
57132 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
57133     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
57134 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
57135     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57136 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57137     (
57138       cat <<\_ASBOX
57139 ## ------------------------------------ ##
57140 ## Report this to bug-autoconf@gnu.org. ##
57141 ## ------------------------------------ ##
57142 _ASBOX
57143     ) |
57144       sed "s/^/$as_me: WARNING:     /" >&2
57145     ;;
57146 esac
57147 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57148 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57149 if test "${ac_cv_header_langinfo_h+set}" = set; then
57150   echo $ECHO_N "(cached) $ECHO_C" >&6
57151 else
57152   ac_cv_header_langinfo_h=$ac_header_preproc
57153 fi
57154 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57155 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57156
57157 fi
57158 if test $ac_cv_header_langinfo_h = yes; then
57159   ac_has_langinfo_h=yes
57160 else
57161   ac_has_langinfo_h=no
57162 fi
57163
57164
57165
57166     # Check for existence of libiconv.a providing XPG2 wchar_t support.
57167     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
57168 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
57169 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
57170   echo $ECHO_N "(cached) $ECHO_C" >&6
57171 else
57172   ac_check_lib_save_LIBS=$LIBS
57173 LIBS="-liconv  $LIBS"
57174 if test x$gcc_no_link = xyes; then
57175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57177    { (exit 1); exit 1; }; }
57178 fi
57179 cat >conftest.$ac_ext <<_ACEOF
57180 #line $LINENO "configure"
57181 /* confdefs.h.  */
57182 _ACEOF
57183 cat confdefs.h >>conftest.$ac_ext
57184 cat >>conftest.$ac_ext <<_ACEOF
57185 /* end confdefs.h.  */
57186
57187 /* Override any gcc2 internal prototype to avoid an error.  */
57188 #ifdef __cplusplus
57189 extern "C"
57190 #endif
57191 /* We use char because int might match the return type of a gcc2
57192    builtin and then its argument prototype would still apply.  */
57193 char iconv ();
57194 int
57195 main ()
57196 {
57197 iconv ();
57198   ;
57199   return 0;
57200 }
57201 _ACEOF
57202 rm -f conftest.$ac_objext conftest$ac_exeext
57203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57204   (eval $ac_link) 2>&5
57205   ac_status=$?
57206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57207   (exit $ac_status); } &&
57208          { ac_try='test -s conftest$ac_exeext'
57209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57210   (eval $ac_try) 2>&5
57211   ac_status=$?
57212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57213   (exit $ac_status); }; }; then
57214   ac_cv_lib_iconv_iconv=yes
57215 else
57216   echo "$as_me: failed program was:" >&5
57217 sed 's/^/| /' conftest.$ac_ext >&5
57218
57219 ac_cv_lib_iconv_iconv=no
57220 fi
57221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57222 LIBS=$ac_check_lib_save_LIBS
57223 fi
57224 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57225 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57226 if test $ac_cv_lib_iconv_iconv = yes; then
57227   libiconv="-liconv"
57228 fi
57229
57230     ac_save_LIBS="$LIBS"
57231     LIBS="$LIBS $libiconv"
57232
57233
57234
57235
57236
57237 for ac_func in iconv_open iconv_close iconv nl_langinfo
57238 do
57239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57240 echo "$as_me:$LINENO: checking for $ac_func" >&5
57241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57242 if eval "test \"\${$as_ac_var+set}\" = set"; then
57243   echo $ECHO_N "(cached) $ECHO_C" >&6
57244 else
57245   if test x$gcc_no_link = xyes; then
57246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57248    { (exit 1); exit 1; }; }
57249 fi
57250 cat >conftest.$ac_ext <<_ACEOF
57251 #line $LINENO "configure"
57252 /* confdefs.h.  */
57253 _ACEOF
57254 cat confdefs.h >>conftest.$ac_ext
57255 cat >>conftest.$ac_ext <<_ACEOF
57256 /* end confdefs.h.  */
57257 /* System header to define __stub macros and hopefully few prototypes,
57258     which can conflict with char $ac_func (); below.
57259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57260     <limits.h> exists even on freestanding compilers.  */
57261 #ifdef __STDC__
57262 # include <limits.h>
57263 #else
57264 # include <assert.h>
57265 #endif
57266 /* Override any gcc2 internal prototype to avoid an error.  */
57267 #ifdef __cplusplus
57268 extern "C"
57269 {
57270 #endif
57271 /* We use char because int might match the return type of a gcc2
57272    builtin and then its argument prototype would still apply.  */
57273 char $ac_func ();
57274 /* The GNU C library defines this for functions which it implements
57275     to always fail with ENOSYS.  Some functions are actually named
57276     something starting with __ and the normal name is an alias.  */
57277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57278 choke me
57279 #else
57280 char (*f) () = $ac_func;
57281 #endif
57282 #ifdef __cplusplus
57283 }
57284 #endif
57285
57286 int
57287 main ()
57288 {
57289 return f != $ac_func;
57290   ;
57291   return 0;
57292 }
57293 _ACEOF
57294 rm -f conftest.$ac_objext conftest$ac_exeext
57295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57296   (eval $ac_link) 2>&5
57297   ac_status=$?
57298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57299   (exit $ac_status); } &&
57300          { ac_try='test -s conftest$ac_exeext'
57301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57302   (eval $ac_try) 2>&5
57303   ac_status=$?
57304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57305   (exit $ac_status); }; }; then
57306   eval "$as_ac_var=yes"
57307 else
57308   echo "$as_me: failed program was:" >&5
57309 sed 's/^/| /' conftest.$ac_ext >&5
57310
57311 eval "$as_ac_var=no"
57312 fi
57313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57314 fi
57315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57317 if test `eval echo '${'$as_ac_var'}'` = yes; then
57318   cat >>confdefs.h <<_ACEOF
57319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57320 _ACEOF
57321  ac_XPG2funcs=yes
57322 else
57323   ac_XPG2funcs=no
57324 fi
57325 done
57326
57327
57328     LIBS="$ac_save_LIBS"
57329
57330     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57331 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57332     if test x"$ac_has_iconv_h" = xyes &&
57333        test x"$ac_has_langinfo_h" = xyes &&
57334        test x"$ac_XPG2funcs" = xyes;
57335     then
57336       ac_XPG2_wchar_t=yes
57337     else
57338       ac_XPG2_wchar_t=no
57339     fi
57340     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57341 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57342
57343     # At the moment, only enable wchar_t specializations if all the
57344     # above support is present.
57345     if test x"$ac_isoC99_wchar_t" = xyes &&
57346        test x"$ac_XPG2_wchar_t" = xyes;
57347     then
57348       cat >>confdefs.h <<\_ACEOF
57349 #define _GLIBCXX_USE_WCHAR_T 1
57350 _ACEOF
57351
57352       enable_wchar_t=yes
57353     fi
57354   fi
57355   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57356 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57357   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57358 echo "${ECHO_T}$enable_wchar_t" >&6
57359
57360     cat >>confdefs.h <<\_ACEOF
57361 #define HAVE_COPYSIGN 1
57362 _ACEOF
57363
57364     cat >>confdefs.h <<\_ACEOF
57365 #define HAVE_COPYSIGNF 1
57366 _ACEOF
57367
57368     cat >>confdefs.h <<\_ACEOF
57369 #define HAVE_FINITEF 1
57370 _ACEOF
57371
57372     cat >>confdefs.h <<\_ACEOF
57373 #define HAVE_FINITE 1
57374 _ACEOF
57375
57376     cat >>confdefs.h <<\_ACEOF
57377 #define HAVE_FREXPF 1
57378 _ACEOF
57379
57380     cat >>confdefs.h <<\_ACEOF
57381 #define HAVE_HYPOTF 1
57382 _ACEOF
57383
57384     cat >>confdefs.h <<\_ACEOF
57385 #define HAVE_ISINF 1
57386 _ACEOF
57387
57388     cat >>confdefs.h <<\_ACEOF
57389 #define HAVE_ISINFF 1
57390 _ACEOF
57391
57392     cat >>confdefs.h <<\_ACEOF
57393 #define HAVE_ISNAN 1
57394 _ACEOF
57395
57396     cat >>confdefs.h <<\_ACEOF
57397 #define HAVE_ISNANF 1
57398 _ACEOF
57399
57400     if test x"long_double_math_on_this_cpu" = x"yes"; then
57401       cat >>confdefs.h <<\_ACEOF
57402 #define HAVE_FINITEL 1
57403 _ACEOF
57404
57405       cat >>confdefs.h <<\_ACEOF
57406 #define HAVE_ISINFL 1
57407 _ACEOF
57408
57409       cat >>confdefs.h <<\_ACEOF
57410 #define HAVE_ISNANL 1
57411 _ACEOF
57412
57413     fi
57414     ;;
57415   *-qnx6.1* | *-qnx6.2*)
57416     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57417
57418
57419   # If we're not using GNU ld, then there's no point in even trying these
57420   # tests.  Check for that first.  We should have already tested for gld
57421   # by now (in libtool), but require it now just to be safe...
57422   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57423   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57424
57425
57426
57427   # The name set by libtool depends on the version of libtool.  Shame on us
57428   # for depending on an impl detail, but c'est la vie.  Older versions used
57429   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57430   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57431   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57432   # set (hence we're using an older libtool), then set it.
57433   if test x${with_gnu_ld+set} != xset; then
57434     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57435       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57436       with_gnu_ld=no
57437     else
57438       with_gnu_ld=$ac_cv_prog_gnu_ld
57439     fi
57440   fi
57441
57442   # Start by getting the version number.  I think the libtool test already
57443   # does some of this, but throws away the result.
57444
57445   ldver=`$LD --version 2>/dev/null | head -1 | \
57446          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
57447
57448   glibcxx_gnu_ld_version=`echo $ldver | \
57449          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57450
57451   # Set --gc-sections.
57452   if test "$with_gnu_ld" = "notbroken"; then
57453     # GNU ld it is!  Joy and bunny rabbits!
57454
57455     # All these tests are for C++; save the language and the compiler flags.
57456     # Need to do this so that g++ won't try to link in libstdc++
57457     ac_test_CFLAGS="${CFLAGS+set}"
57458     ac_save_CFLAGS="$CFLAGS"
57459     CFLAGS='-x c++  -Wl,--gc-sections'
57460
57461     # Check for -Wl,--gc-sections
57462     # XXX This test is broken at the moment, as symbols required for linking
57463     # are now in libsupc++ (not built yet).  In addition, this test has
57464     # cored on solaris in the past.  In addition, --gc-sections doesn't
57465     # really work at the moment (keeps on discarding used sections, first
57466     # .eh_frame and now some of the glibc sections for iconv).
57467     # Bzzzzt.  Thanks for playing, maybe next time.
57468     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
57469 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
57470     if test "$cross_compiling" = yes; then
57471   ac_sectionLDflags=yes
57472 else
57473   cat >conftest.$ac_ext <<_ACEOF
57474 #line $LINENO "configure"
57475 /* confdefs.h.  */
57476 _ACEOF
57477 cat confdefs.h >>conftest.$ac_ext
57478 cat >>conftest.$ac_ext <<_ACEOF
57479 /* end confdefs.h.  */
57480
57481      int main(void)
57482      {
57483        try { throw 1; }
57484        catch (...) { };
57485        return 0;
57486      }
57487
57488 _ACEOF
57489 rm -f conftest$ac_exeext
57490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57491   (eval $ac_link) 2>&5
57492   ac_status=$?
57493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57494   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
57495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57496   (eval $ac_try) 2>&5
57497   ac_status=$?
57498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57499   (exit $ac_status); }; }; then
57500   ac_sectionLDflags=yes
57501 else
57502   echo "$as_me: program exited with status $ac_status" >&5
57503 echo "$as_me: failed program was:" >&5
57504 sed 's/^/| /' conftest.$ac_ext >&5
57505
57506 ( exit $ac_status )
57507 ac_sectionLDflags=no
57508 fi
57509 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
57510 fi
57511     if test "$ac_test_CFLAGS" = set; then
57512       CFLAGS="$ac_save_CFLAGS"
57513     else
57514       # this is the suspicious part
57515       CFLAGS=''
57516     fi
57517     if test "$ac_sectionLDflags" = "yes"; then
57518       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57519     fi
57520     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
57521 echo "${ECHO_T}$ac_sectionLDflags" >&6
57522   fi
57523
57524   # Set linker optimization flags.
57525   if test x"$with_gnu_ld" = x"yes"; then
57526     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57527   fi
57528
57529
57530
57531
57532
57533
57534 echo "$as_me:$LINENO: checking for main in -lm" >&5
57535 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
57536 if test "${ac_cv_lib_m_main+set}" = set; then
57537   echo $ECHO_N "(cached) $ECHO_C" >&6
57538 else
57539   ac_check_lib_save_LIBS=$LIBS
57540 LIBS="-lm  $LIBS"
57541 if test x$gcc_no_link = xyes; then
57542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57544    { (exit 1); exit 1; }; }
57545 fi
57546 cat >conftest.$ac_ext <<_ACEOF
57547 #line $LINENO "configure"
57548 /* confdefs.h.  */
57549 _ACEOF
57550 cat confdefs.h >>conftest.$ac_ext
57551 cat >>conftest.$ac_ext <<_ACEOF
57552 /* end confdefs.h.  */
57553
57554
57555 int
57556 main ()
57557 {
57558 main ();
57559   ;
57560   return 0;
57561 }
57562 _ACEOF
57563 rm -f conftest.$ac_objext conftest$ac_exeext
57564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57565   (eval $ac_link) 2>&5
57566   ac_status=$?
57567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57568   (exit $ac_status); } &&
57569          { ac_try='test -s conftest$ac_exeext'
57570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57571   (eval $ac_try) 2>&5
57572   ac_status=$?
57573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57574   (exit $ac_status); }; }; then
57575   ac_cv_lib_m_main=yes
57576 else
57577   echo "$as_me: failed program was:" >&5
57578 sed 's/^/| /' conftest.$ac_ext >&5
57579
57580 ac_cv_lib_m_main=no
57581 fi
57582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57583 LIBS=$ac_check_lib_save_LIBS
57584 fi
57585 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
57586 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
57587 if test $ac_cv_lib_m_main = yes; then
57588   cat >>confdefs.h <<_ACEOF
57589 #define HAVE_LIBM 1
57590 _ACEOF
57591
57592   LIBS="-lm $LIBS"
57593
57594 fi
57595
57596
57597
57598 for ac_func in nan copysignf
57599 do
57600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57601 echo "$as_me:$LINENO: checking for $ac_func" >&5
57602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57603 if eval "test \"\${$as_ac_var+set}\" = set"; then
57604   echo $ECHO_N "(cached) $ECHO_C" >&6
57605 else
57606   if test x$gcc_no_link = xyes; then
57607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57609    { (exit 1); exit 1; }; }
57610 fi
57611 cat >conftest.$ac_ext <<_ACEOF
57612 #line $LINENO "configure"
57613 /* confdefs.h.  */
57614 _ACEOF
57615 cat confdefs.h >>conftest.$ac_ext
57616 cat >>conftest.$ac_ext <<_ACEOF
57617 /* end confdefs.h.  */
57618 /* System header to define __stub macros and hopefully few prototypes,
57619     which can conflict with char $ac_func (); below.
57620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57621     <limits.h> exists even on freestanding compilers.  */
57622 #ifdef __STDC__
57623 # include <limits.h>
57624 #else
57625 # include <assert.h>
57626 #endif
57627 /* Override any gcc2 internal prototype to avoid an error.  */
57628 #ifdef __cplusplus
57629 extern "C"
57630 {
57631 #endif
57632 /* We use char because int might match the return type of a gcc2
57633    builtin and then its argument prototype would still apply.  */
57634 char $ac_func ();
57635 /* The GNU C library defines this for functions which it implements
57636     to always fail with ENOSYS.  Some functions are actually named
57637     something starting with __ and the normal name is an alias.  */
57638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57639 choke me
57640 #else
57641 char (*f) () = $ac_func;
57642 #endif
57643 #ifdef __cplusplus
57644 }
57645 #endif
57646
57647 int
57648 main ()
57649 {
57650 return f != $ac_func;
57651   ;
57652   return 0;
57653 }
57654 _ACEOF
57655 rm -f conftest.$ac_objext conftest$ac_exeext
57656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57657   (eval $ac_link) 2>&5
57658   ac_status=$?
57659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57660   (exit $ac_status); } &&
57661          { ac_try='test -s conftest$ac_exeext'
57662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57663   (eval $ac_try) 2>&5
57664   ac_status=$?
57665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57666   (exit $ac_status); }; }; then
57667   eval "$as_ac_var=yes"
57668 else
57669   echo "$as_me: failed program was:" >&5
57670 sed 's/^/| /' conftest.$ac_ext >&5
57671
57672 eval "$as_ac_var=no"
57673 fi
57674 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57675 fi
57676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57678 if test `eval echo '${'$as_ac_var'}'` = yes; then
57679   cat >>confdefs.h <<_ACEOF
57680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57681 _ACEOF
57682
57683 else
57684   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
57685 fi
57686 done
57687
57688
57689
57690 for ac_func in __signbit
57691 do
57692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57693 echo "$as_me:$LINENO: checking for $ac_func" >&5
57694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57695 if eval "test \"\${$as_ac_var+set}\" = set"; then
57696   echo $ECHO_N "(cached) $ECHO_C" >&6
57697 else
57698   if test x$gcc_no_link = xyes; then
57699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57701    { (exit 1); exit 1; }; }
57702 fi
57703 cat >conftest.$ac_ext <<_ACEOF
57704 #line $LINENO "configure"
57705 /* confdefs.h.  */
57706 _ACEOF
57707 cat confdefs.h >>conftest.$ac_ext
57708 cat >>conftest.$ac_ext <<_ACEOF
57709 /* end confdefs.h.  */
57710 /* System header to define __stub macros and hopefully few prototypes,
57711     which can conflict with char $ac_func (); below.
57712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57713     <limits.h> exists even on freestanding compilers.  */
57714 #ifdef __STDC__
57715 # include <limits.h>
57716 #else
57717 # include <assert.h>
57718 #endif
57719 /* Override any gcc2 internal prototype to avoid an error.  */
57720 #ifdef __cplusplus
57721 extern "C"
57722 {
57723 #endif
57724 /* We use char because int might match the return type of a gcc2
57725    builtin and then its argument prototype would still apply.  */
57726 char $ac_func ();
57727 /* The GNU C library defines this for functions which it implements
57728     to always fail with ENOSYS.  Some functions are actually named
57729     something starting with __ and the normal name is an alias.  */
57730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57731 choke me
57732 #else
57733 char (*f) () = $ac_func;
57734 #endif
57735 #ifdef __cplusplus
57736 }
57737 #endif
57738
57739 int
57740 main ()
57741 {
57742 return f != $ac_func;
57743   ;
57744   return 0;
57745 }
57746 _ACEOF
57747 rm -f conftest.$ac_objext conftest$ac_exeext
57748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57749   (eval $ac_link) 2>&5
57750   ac_status=$?
57751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57752   (exit $ac_status); } &&
57753          { ac_try='test -s conftest$ac_exeext'
57754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57755   (eval $ac_try) 2>&5
57756   ac_status=$?
57757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57758   (exit $ac_status); }; }; then
57759   eval "$as_ac_var=yes"
57760 else
57761   echo "$as_me: failed program was:" >&5
57762 sed 's/^/| /' conftest.$ac_ext >&5
57763
57764 eval "$as_ac_var=no"
57765 fi
57766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57767 fi
57768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57770 if test `eval echo '${'$as_ac_var'}'` = yes; then
57771   cat >>confdefs.h <<_ACEOF
57772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57773 _ACEOF
57774
57775 else
57776   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
57777 fi
57778 done
57779
57780
57781 for ac_func in __signbitf
57782 do
57783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57784 echo "$as_me:$LINENO: checking for $ac_func" >&5
57785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57786 if eval "test \"\${$as_ac_var+set}\" = set"; then
57787   echo $ECHO_N "(cached) $ECHO_C" >&6
57788 else
57789   if test x$gcc_no_link = xyes; then
57790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57792    { (exit 1); exit 1; }; }
57793 fi
57794 cat >conftest.$ac_ext <<_ACEOF
57795 #line $LINENO "configure"
57796 /* confdefs.h.  */
57797 _ACEOF
57798 cat confdefs.h >>conftest.$ac_ext
57799 cat >>conftest.$ac_ext <<_ACEOF
57800 /* end confdefs.h.  */
57801 /* System header to define __stub macros and hopefully few prototypes,
57802     which can conflict with char $ac_func (); below.
57803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57804     <limits.h> exists even on freestanding compilers.  */
57805 #ifdef __STDC__
57806 # include <limits.h>
57807 #else
57808 # include <assert.h>
57809 #endif
57810 /* Override any gcc2 internal prototype to avoid an error.  */
57811 #ifdef __cplusplus
57812 extern "C"
57813 {
57814 #endif
57815 /* We use char because int might match the return type of a gcc2
57816    builtin and then its argument prototype would still apply.  */
57817 char $ac_func ();
57818 /* The GNU C library defines this for functions which it implements
57819     to always fail with ENOSYS.  Some functions are actually named
57820     something starting with __ and the normal name is an alias.  */
57821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57822 choke me
57823 #else
57824 char (*f) () = $ac_func;
57825 #endif
57826 #ifdef __cplusplus
57827 }
57828 #endif
57829
57830 int
57831 main ()
57832 {
57833 return f != $ac_func;
57834   ;
57835   return 0;
57836 }
57837 _ACEOF
57838 rm -f conftest.$ac_objext conftest$ac_exeext
57839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57840   (eval $ac_link) 2>&5
57841   ac_status=$?
57842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843   (exit $ac_status); } &&
57844          { ac_try='test -s conftest$ac_exeext'
57845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57846   (eval $ac_try) 2>&5
57847   ac_status=$?
57848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57849   (exit $ac_status); }; }; then
57850   eval "$as_ac_var=yes"
57851 else
57852   echo "$as_me: failed program was:" >&5
57853 sed 's/^/| /' conftest.$ac_ext >&5
57854
57855 eval "$as_ac_var=no"
57856 fi
57857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57858 fi
57859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57861 if test `eval echo '${'$as_ac_var'}'` = yes; then
57862   cat >>confdefs.h <<_ACEOF
57863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57864 _ACEOF
57865
57866 else
57867   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
57868 fi
57869 done
57870
57871
57872           if test x$ac_cv_func_copysignl = x"yes"; then
57873
57874 for ac_func in __signbitl
57875 do
57876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57877 echo "$as_me:$LINENO: checking for $ac_func" >&5
57878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57879 if eval "test \"\${$as_ac_var+set}\" = set"; then
57880   echo $ECHO_N "(cached) $ECHO_C" >&6
57881 else
57882   if test x$gcc_no_link = xyes; then
57883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57885    { (exit 1); exit 1; }; }
57886 fi
57887 cat >conftest.$ac_ext <<_ACEOF
57888 #line $LINENO "configure"
57889 /* confdefs.h.  */
57890 _ACEOF
57891 cat confdefs.h >>conftest.$ac_ext
57892 cat >>conftest.$ac_ext <<_ACEOF
57893 /* end confdefs.h.  */
57894 /* System header to define __stub macros and hopefully few prototypes,
57895     which can conflict with char $ac_func (); below.
57896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57897     <limits.h> exists even on freestanding compilers.  */
57898 #ifdef __STDC__
57899 # include <limits.h>
57900 #else
57901 # include <assert.h>
57902 #endif
57903 /* Override any gcc2 internal prototype to avoid an error.  */
57904 #ifdef __cplusplus
57905 extern "C"
57906 {
57907 #endif
57908 /* We use char because int might match the return type of a gcc2
57909    builtin and then its argument prototype would still apply.  */
57910 char $ac_func ();
57911 /* The GNU C library defines this for functions which it implements
57912     to always fail with ENOSYS.  Some functions are actually named
57913     something starting with __ and the normal name is an alias.  */
57914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57915 choke me
57916 #else
57917 char (*f) () = $ac_func;
57918 #endif
57919 #ifdef __cplusplus
57920 }
57921 #endif
57922
57923 int
57924 main ()
57925 {
57926 return f != $ac_func;
57927   ;
57928   return 0;
57929 }
57930 _ACEOF
57931 rm -f conftest.$ac_objext conftest$ac_exeext
57932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57933   (eval $ac_link) 2>&5
57934   ac_status=$?
57935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57936   (exit $ac_status); } &&
57937          { ac_try='test -s conftest$ac_exeext'
57938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57939   (eval $ac_try) 2>&5
57940   ac_status=$?
57941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57942   (exit $ac_status); }; }; then
57943   eval "$as_ac_var=yes"
57944 else
57945   echo "$as_me: failed program was:" >&5
57946 sed 's/^/| /' conftest.$ac_ext >&5
57947
57948 eval "$as_ac_var=no"
57949 fi
57950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57951 fi
57952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57954 if test `eval echo '${'$as_ac_var'}'` = yes; then
57955   cat >>confdefs.h <<_ACEOF
57956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57957 _ACEOF
57958
57959 else
57960   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
57961 fi
57962 done
57963
57964   fi
57965
57966   # XXX Review this.  Nothing uses it.
57967   if test -n "$LIBMATHOBJS"; then
57968     need_libmath=yes
57969   fi
57970
57971
57972
57973   # Test wchar.h for mbstate_t, which is needed for char_traits and
57974   # others even if wchar_t support is not on.
57975   echo "$as_me:$LINENO: checking for mbstate_t" >&5
57976 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
57977   cat >conftest.$ac_ext <<_ACEOF
57978 #line $LINENO "configure"
57979 /* confdefs.h.  */
57980 _ACEOF
57981 cat confdefs.h >>conftest.$ac_ext
57982 cat >>conftest.$ac_ext <<_ACEOF
57983 /* end confdefs.h.  */
57984 #include <wchar.h>
57985 int
57986 main ()
57987 {
57988 mbstate_t teststate;
57989   ;
57990   return 0;
57991 }
57992 _ACEOF
57993 rm -f conftest.$ac_objext
57994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57995   (eval $ac_compile) 2>&5
57996   ac_status=$?
57997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998   (exit $ac_status); } &&
57999          { ac_try='test -s conftest.$ac_objext'
58000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58001   (eval $ac_try) 2>&5
58002   ac_status=$?
58003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58004   (exit $ac_status); }; }; then
58005   have_mbstate_t=yes
58006 else
58007   echo "$as_me: failed program was:" >&5
58008 sed 's/^/| /' conftest.$ac_ext >&5
58009
58010 have_mbstate_t=no
58011 fi
58012 rm -f conftest.$ac_objext conftest.$ac_ext
58013   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
58014 echo "${ECHO_T}$have_mbstate_t" >&6
58015   if test x"$have_mbstate_t" = xyes; then
58016     cat >>confdefs.h <<\_ACEOF
58017 #define HAVE_MBSTATE_T 1
58018 _ACEOF
58019
58020   fi
58021
58022   # Sanity check for existence of ISO C99 headers for extended encoding.
58023
58024 for ac_header in wchar.h
58025 do
58026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58028   echo "$as_me:$LINENO: checking for $ac_header" >&5
58029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58031   echo $ECHO_N "(cached) $ECHO_C" >&6
58032 fi
58033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58035 else
58036   # Is the header compilable?
58037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58039 cat >conftest.$ac_ext <<_ACEOF
58040 #line $LINENO "configure"
58041 /* confdefs.h.  */
58042 _ACEOF
58043 cat confdefs.h >>conftest.$ac_ext
58044 cat >>conftest.$ac_ext <<_ACEOF
58045 /* end confdefs.h.  */
58046 $ac_includes_default
58047 #include <$ac_header>
58048 _ACEOF
58049 rm -f conftest.$ac_objext
58050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58051   (eval $ac_compile) 2>&5
58052   ac_status=$?
58053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58054   (exit $ac_status); } &&
58055          { ac_try='test -s conftest.$ac_objext'
58056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58057   (eval $ac_try) 2>&5
58058   ac_status=$?
58059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58060   (exit $ac_status); }; }; then
58061   ac_header_compiler=yes
58062 else
58063   echo "$as_me: failed program was:" >&5
58064 sed 's/^/| /' conftest.$ac_ext >&5
58065
58066 ac_header_compiler=no
58067 fi
58068 rm -f conftest.$ac_objext conftest.$ac_ext
58069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58070 echo "${ECHO_T}$ac_header_compiler" >&6
58071
58072 # Is the header present?
58073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58075 cat >conftest.$ac_ext <<_ACEOF
58076 #line $LINENO "configure"
58077 /* confdefs.h.  */
58078 _ACEOF
58079 cat confdefs.h >>conftest.$ac_ext
58080 cat >>conftest.$ac_ext <<_ACEOF
58081 /* end confdefs.h.  */
58082 #include <$ac_header>
58083 _ACEOF
58084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58085   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58086   ac_status=$?
58087   grep -v '^ *+' conftest.er1 >conftest.err
58088   rm -f conftest.er1
58089   cat conftest.err >&5
58090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58091   (exit $ac_status); } >/dev/null; then
58092   if test -s conftest.err; then
58093     ac_cpp_err=$ac_c_preproc_warn_flag
58094   else
58095     ac_cpp_err=
58096   fi
58097 else
58098   ac_cpp_err=yes
58099 fi
58100 if test -z "$ac_cpp_err"; then
58101   ac_header_preproc=yes
58102 else
58103   echo "$as_me: failed program was:" >&5
58104 sed 's/^/| /' conftest.$ac_ext >&5
58105
58106   ac_header_preproc=no
58107 fi
58108 rm -f conftest.err conftest.$ac_ext
58109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58110 echo "${ECHO_T}$ac_header_preproc" >&6
58111
58112 # So?  What about this header?
58113 case $ac_header_compiler:$ac_header_preproc in
58114   yes:no )
58115     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58117     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58119     (
58120       cat <<\_ASBOX
58121 ## ------------------------------------ ##
58122 ## Report this to bug-autoconf@gnu.org. ##
58123 ## ------------------------------------ ##
58124 _ASBOX
58125     ) |
58126       sed "s/^/$as_me: WARNING:     /" >&2
58127     ;;
58128   no:yes )
58129     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58131     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58133     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58135     (
58136       cat <<\_ASBOX
58137 ## ------------------------------------ ##
58138 ## Report this to bug-autoconf@gnu.org. ##
58139 ## ------------------------------------ ##
58140 _ASBOX
58141     ) |
58142       sed "s/^/$as_me: WARNING:     /" >&2
58143     ;;
58144 esac
58145 echo "$as_me:$LINENO: checking for $ac_header" >&5
58146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58148   echo $ECHO_N "(cached) $ECHO_C" >&6
58149 else
58150   eval "$as_ac_Header=$ac_header_preproc"
58151 fi
58152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58154
58155 fi
58156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58157   cat >>confdefs.h <<_ACEOF
58158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58159 _ACEOF
58160  ac_has_wchar_h=yes
58161 else
58162   ac_has_wchar_h=no
58163 fi
58164
58165 done
58166
58167
58168 for ac_header in wctype.h
58169 do
58170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58172   echo "$as_me:$LINENO: checking for $ac_header" >&5
58173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58175   echo $ECHO_N "(cached) $ECHO_C" >&6
58176 fi
58177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58179 else
58180   # Is the header compilable?
58181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58183 cat >conftest.$ac_ext <<_ACEOF
58184 #line $LINENO "configure"
58185 /* confdefs.h.  */
58186 _ACEOF
58187 cat confdefs.h >>conftest.$ac_ext
58188 cat >>conftest.$ac_ext <<_ACEOF
58189 /* end confdefs.h.  */
58190 $ac_includes_default
58191 #include <$ac_header>
58192 _ACEOF
58193 rm -f conftest.$ac_objext
58194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58195   (eval $ac_compile) 2>&5
58196   ac_status=$?
58197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58198   (exit $ac_status); } &&
58199          { ac_try='test -s conftest.$ac_objext'
58200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58201   (eval $ac_try) 2>&5
58202   ac_status=$?
58203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58204   (exit $ac_status); }; }; then
58205   ac_header_compiler=yes
58206 else
58207   echo "$as_me: failed program was:" >&5
58208 sed 's/^/| /' conftest.$ac_ext >&5
58209
58210 ac_header_compiler=no
58211 fi
58212 rm -f conftest.$ac_objext conftest.$ac_ext
58213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58214 echo "${ECHO_T}$ac_header_compiler" >&6
58215
58216 # Is the header present?
58217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58219 cat >conftest.$ac_ext <<_ACEOF
58220 #line $LINENO "configure"
58221 /* confdefs.h.  */
58222 _ACEOF
58223 cat confdefs.h >>conftest.$ac_ext
58224 cat >>conftest.$ac_ext <<_ACEOF
58225 /* end confdefs.h.  */
58226 #include <$ac_header>
58227 _ACEOF
58228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58230   ac_status=$?
58231   grep -v '^ *+' conftest.er1 >conftest.err
58232   rm -f conftest.er1
58233   cat conftest.err >&5
58234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58235   (exit $ac_status); } >/dev/null; then
58236   if test -s conftest.err; then
58237     ac_cpp_err=$ac_c_preproc_warn_flag
58238   else
58239     ac_cpp_err=
58240   fi
58241 else
58242   ac_cpp_err=yes
58243 fi
58244 if test -z "$ac_cpp_err"; then
58245   ac_header_preproc=yes
58246 else
58247   echo "$as_me: failed program was:" >&5
58248 sed 's/^/| /' conftest.$ac_ext >&5
58249
58250   ac_header_preproc=no
58251 fi
58252 rm -f conftest.err conftest.$ac_ext
58253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58254 echo "${ECHO_T}$ac_header_preproc" >&6
58255
58256 # So?  What about this header?
58257 case $ac_header_compiler:$ac_header_preproc in
58258   yes:no )
58259     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58263     (
58264       cat <<\_ASBOX
58265 ## ------------------------------------ ##
58266 ## Report this to bug-autoconf@gnu.org. ##
58267 ## ------------------------------------ ##
58268 _ASBOX
58269     ) |
58270       sed "s/^/$as_me: WARNING:     /" >&2
58271     ;;
58272   no:yes )
58273     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58275     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58277     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58279     (
58280       cat <<\_ASBOX
58281 ## ------------------------------------ ##
58282 ## Report this to bug-autoconf@gnu.org. ##
58283 ## ------------------------------------ ##
58284 _ASBOX
58285     ) |
58286       sed "s/^/$as_me: WARNING:     /" >&2
58287     ;;
58288 esac
58289 echo "$as_me:$LINENO: checking for $ac_header" >&5
58290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58292   echo $ECHO_N "(cached) $ECHO_C" >&6
58293 else
58294   eval "$as_ac_Header=$ac_header_preproc"
58295 fi
58296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58298
58299 fi
58300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58301   cat >>confdefs.h <<_ACEOF
58302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58303 _ACEOF
58304  ac_has_wctype_h=yes
58305 else
58306   ac_has_wctype_h=no
58307 fi
58308
58309 done
58310
58311
58312   # Only continue checking if the ISO C99 headers exist and support is on.
58313   if test x"$ac_has_wchar_h" = xyes &&
58314      test x"$ac_has_wctype_h" = xyes &&
58315      test x"$enable_c_mbchar" != xno; then
58316
58317     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
58318     # numeric_limits can instantiate type_traits<wchar_t>
58319     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
58320 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
58321     cat >conftest.$ac_ext <<_ACEOF
58322 #line $LINENO "configure"
58323 /* confdefs.h.  */
58324 _ACEOF
58325 cat confdefs.h >>conftest.$ac_ext
58326 cat >>conftest.$ac_ext <<_ACEOF
58327 /* end confdefs.h.  */
58328 #include <wchar.h>
58329 int
58330 main ()
58331 {
58332 int i = WCHAR_MIN; int j = WCHAR_MAX;
58333   ;
58334   return 0;
58335 }
58336 _ACEOF
58337 rm -f conftest.$ac_objext
58338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58339   (eval $ac_compile) 2>&5
58340   ac_status=$?
58341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58342   (exit $ac_status); } &&
58343          { ac_try='test -s conftest.$ac_objext'
58344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58345   (eval $ac_try) 2>&5
58346   ac_status=$?
58347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58348   (exit $ac_status); }; }; then
58349   has_wchar_minmax=yes
58350 else
58351   echo "$as_me: failed program was:" >&5
58352 sed 's/^/| /' conftest.$ac_ext >&5
58353
58354 has_wchar_minmax=no
58355 fi
58356 rm -f conftest.$ac_objext conftest.$ac_ext
58357     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
58358 echo "${ECHO_T}$has_wchar_minmax" >&6
58359
58360     # Test wchar.h for WEOF, which is what we use to determine whether
58361     # to specialize for char_traits<wchar_t> or not.
58362     echo "$as_me:$LINENO: checking for WEOF" >&5
58363 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
58364     cat >conftest.$ac_ext <<_ACEOF
58365 #line $LINENO "configure"
58366 /* confdefs.h.  */
58367 _ACEOF
58368 cat confdefs.h >>conftest.$ac_ext
58369 cat >>conftest.$ac_ext <<_ACEOF
58370 /* end confdefs.h.  */
58371
58372       #include <wchar.h>
58373       #include <stddef.h>
58374 int
58375 main ()
58376 {
58377 wint_t i = WEOF;
58378   ;
58379   return 0;
58380 }
58381 _ACEOF
58382 rm -f conftest.$ac_objext
58383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58384   (eval $ac_compile) 2>&5
58385   ac_status=$?
58386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58387   (exit $ac_status); } &&
58388          { ac_try='test -s conftest.$ac_objext'
58389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58390   (eval $ac_try) 2>&5
58391   ac_status=$?
58392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58393   (exit $ac_status); }; }; then
58394   has_weof=yes
58395 else
58396   echo "$as_me: failed program was:" >&5
58397 sed 's/^/| /' conftest.$ac_ext >&5
58398
58399 has_weof=no
58400 fi
58401 rm -f conftest.$ac_objext conftest.$ac_ext
58402     echo "$as_me:$LINENO: result: $has_weof" >&5
58403 echo "${ECHO_T}$has_weof" >&6
58404
58405     # Tests for wide character functions used in char_traits<wchar_t>.
58406     ac_wfuncs=yes
58407
58408
58409
58410
58411
58412
58413 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
58414 do
58415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58416 echo "$as_me:$LINENO: checking for $ac_func" >&5
58417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58418 if eval "test \"\${$as_ac_var+set}\" = set"; then
58419   echo $ECHO_N "(cached) $ECHO_C" >&6
58420 else
58421   if test x$gcc_no_link = xyes; then
58422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58424    { (exit 1); exit 1; }; }
58425 fi
58426 cat >conftest.$ac_ext <<_ACEOF
58427 #line $LINENO "configure"
58428 /* confdefs.h.  */
58429 _ACEOF
58430 cat confdefs.h >>conftest.$ac_ext
58431 cat >>conftest.$ac_ext <<_ACEOF
58432 /* end confdefs.h.  */
58433 /* System header to define __stub macros and hopefully few prototypes,
58434     which can conflict with char $ac_func (); below.
58435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58436     <limits.h> exists even on freestanding compilers.  */
58437 #ifdef __STDC__
58438 # include <limits.h>
58439 #else
58440 # include <assert.h>
58441 #endif
58442 /* Override any gcc2 internal prototype to avoid an error.  */
58443 #ifdef __cplusplus
58444 extern "C"
58445 {
58446 #endif
58447 /* We use char because int might match the return type of a gcc2
58448    builtin and then its argument prototype would still apply.  */
58449 char $ac_func ();
58450 /* The GNU C library defines this for functions which it implements
58451     to always fail with ENOSYS.  Some functions are actually named
58452     something starting with __ and the normal name is an alias.  */
58453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58454 choke me
58455 #else
58456 char (*f) () = $ac_func;
58457 #endif
58458 #ifdef __cplusplus
58459 }
58460 #endif
58461
58462 int
58463 main ()
58464 {
58465 return f != $ac_func;
58466   ;
58467   return 0;
58468 }
58469 _ACEOF
58470 rm -f conftest.$ac_objext conftest$ac_exeext
58471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58472   (eval $ac_link) 2>&5
58473   ac_status=$?
58474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475   (exit $ac_status); } &&
58476          { ac_try='test -s conftest$ac_exeext'
58477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58478   (eval $ac_try) 2>&5
58479   ac_status=$?
58480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58481   (exit $ac_status); }; }; then
58482   eval "$as_ac_var=yes"
58483 else
58484   echo "$as_me: failed program was:" >&5
58485 sed 's/^/| /' conftest.$ac_ext >&5
58486
58487 eval "$as_ac_var=no"
58488 fi
58489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58490 fi
58491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58493 if test `eval echo '${'$as_ac_var'}'` = yes; then
58494   cat >>confdefs.h <<_ACEOF
58495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58496 _ACEOF
58497
58498 else
58499   ac_wfuncs=no
58500 fi
58501 done
58502
58503
58504     # Checks for names injected into std:: by the c_std headers.
58505
58506
58507
58508
58509
58510
58511
58512
58513
58514
58515
58516
58517
58518
58519
58520
58521
58522
58523
58524
58525
58526
58527
58528
58529
58530
58531
58532
58533
58534
58535
58536
58537
58538
58539
58540
58541
58542
58543
58544
58545
58546
58547
58548
58549
58550
58551 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
58552     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
58553     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
58554     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
58555     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
58556     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
58557 do
58558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58559 echo "$as_me:$LINENO: checking for $ac_func" >&5
58560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58561 if eval "test \"\${$as_ac_var+set}\" = set"; then
58562   echo $ECHO_N "(cached) $ECHO_C" >&6
58563 else
58564   if test x$gcc_no_link = xyes; then
58565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58567    { (exit 1); exit 1; }; }
58568 fi
58569 cat >conftest.$ac_ext <<_ACEOF
58570 #line $LINENO "configure"
58571 /* confdefs.h.  */
58572 _ACEOF
58573 cat confdefs.h >>conftest.$ac_ext
58574 cat >>conftest.$ac_ext <<_ACEOF
58575 /* end confdefs.h.  */
58576 /* System header to define __stub macros and hopefully few prototypes,
58577     which can conflict with char $ac_func (); below.
58578     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58579     <limits.h> exists even on freestanding compilers.  */
58580 #ifdef __STDC__
58581 # include <limits.h>
58582 #else
58583 # include <assert.h>
58584 #endif
58585 /* Override any gcc2 internal prototype to avoid an error.  */
58586 #ifdef __cplusplus
58587 extern "C"
58588 {
58589 #endif
58590 /* We use char because int might match the return type of a gcc2
58591    builtin and then its argument prototype would still apply.  */
58592 char $ac_func ();
58593 /* The GNU C library defines this for functions which it implements
58594     to always fail with ENOSYS.  Some functions are actually named
58595     something starting with __ and the normal name is an alias.  */
58596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58597 choke me
58598 #else
58599 char (*f) () = $ac_func;
58600 #endif
58601 #ifdef __cplusplus
58602 }
58603 #endif
58604
58605 int
58606 main ()
58607 {
58608 return f != $ac_func;
58609   ;
58610   return 0;
58611 }
58612 _ACEOF
58613 rm -f conftest.$ac_objext conftest$ac_exeext
58614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58615   (eval $ac_link) 2>&5
58616   ac_status=$?
58617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618   (exit $ac_status); } &&
58619          { ac_try='test -s conftest$ac_exeext'
58620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58621   (eval $ac_try) 2>&5
58622   ac_status=$?
58623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624   (exit $ac_status); }; }; then
58625   eval "$as_ac_var=yes"
58626 else
58627   echo "$as_me: failed program was:" >&5
58628 sed 's/^/| /' conftest.$ac_ext >&5
58629
58630 eval "$as_ac_var=no"
58631 fi
58632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58633 fi
58634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58636 if test `eval echo '${'$as_ac_var'}'` = yes; then
58637   cat >>confdefs.h <<_ACEOF
58638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58639 _ACEOF
58640
58641 else
58642   ac_wfuncs=no
58643 fi
58644 done
58645
58646
58647     # Checks for wide character functions that are not required
58648     # for basic wchar_t support.  Don't disable support if they are missing.
58649     # Injection of these is wrapped with guard macros.
58650
58651
58652
58653
58654
58655 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
58656 do
58657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58658 echo "$as_me:$LINENO: checking for $ac_func" >&5
58659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58660 if eval "test \"\${$as_ac_var+set}\" = set"; then
58661   echo $ECHO_N "(cached) $ECHO_C" >&6
58662 else
58663   if test x$gcc_no_link = xyes; then
58664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58666    { (exit 1); exit 1; }; }
58667 fi
58668 cat >conftest.$ac_ext <<_ACEOF
58669 #line $LINENO "configure"
58670 /* confdefs.h.  */
58671 _ACEOF
58672 cat confdefs.h >>conftest.$ac_ext
58673 cat >>conftest.$ac_ext <<_ACEOF
58674 /* end confdefs.h.  */
58675 /* System header to define __stub macros and hopefully few prototypes,
58676     which can conflict with char $ac_func (); below.
58677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58678     <limits.h> exists even on freestanding compilers.  */
58679 #ifdef __STDC__
58680 # include <limits.h>
58681 #else
58682 # include <assert.h>
58683 #endif
58684 /* Override any gcc2 internal prototype to avoid an error.  */
58685 #ifdef __cplusplus
58686 extern "C"
58687 {
58688 #endif
58689 /* We use char because int might match the return type of a gcc2
58690    builtin and then its argument prototype would still apply.  */
58691 char $ac_func ();
58692 /* The GNU C library defines this for functions which it implements
58693     to always fail with ENOSYS.  Some functions are actually named
58694     something starting with __ and the normal name is an alias.  */
58695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58696 choke me
58697 #else
58698 char (*f) () = $ac_func;
58699 #endif
58700 #ifdef __cplusplus
58701 }
58702 #endif
58703
58704 int
58705 main ()
58706 {
58707 return f != $ac_func;
58708   ;
58709   return 0;
58710 }
58711 _ACEOF
58712 rm -f conftest.$ac_objext conftest$ac_exeext
58713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58714   (eval $ac_link) 2>&5
58715   ac_status=$?
58716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58717   (exit $ac_status); } &&
58718          { ac_try='test -s conftest$ac_exeext'
58719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58720   (eval $ac_try) 2>&5
58721   ac_status=$?
58722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58723   (exit $ac_status); }; }; then
58724   eval "$as_ac_var=yes"
58725 else
58726   echo "$as_me: failed program was:" >&5
58727 sed 's/^/| /' conftest.$ac_ext >&5
58728
58729 eval "$as_ac_var=no"
58730 fi
58731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58732 fi
58733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58735 if test `eval echo '${'$as_ac_var'}'` = yes; then
58736   cat >>confdefs.h <<_ACEOF
58737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58738 _ACEOF
58739
58740 fi
58741 done
58742
58743
58744     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
58745 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
58746     if test x"$has_weof" = xyes &&
58747        test x"$has_wchar_minmax" = xyes &&
58748        test x"$ac_wfuncs" = xyes;
58749     then
58750       ac_isoC99_wchar_t=yes
58751     else
58752       ac_isoC99_wchar_t=no
58753     fi
58754     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
58755 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
58756
58757     # Use iconv for wchar_t to char conversions. As such, check for
58758     # X/Open Portability Guide, version 2 features (XPG2).
58759     if test "${ac_cv_header_iconv_h+set}" = set; then
58760   echo "$as_me:$LINENO: checking for iconv.h" >&5
58761 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58762 if test "${ac_cv_header_iconv_h+set}" = set; then
58763   echo $ECHO_N "(cached) $ECHO_C" >&6
58764 fi
58765 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58766 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58767 else
58768   # Is the header compilable?
58769 echo "$as_me:$LINENO: checking iconv.h usability" >&5
58770 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
58771 cat >conftest.$ac_ext <<_ACEOF
58772 #line $LINENO "configure"
58773 /* confdefs.h.  */
58774 _ACEOF
58775 cat confdefs.h >>conftest.$ac_ext
58776 cat >>conftest.$ac_ext <<_ACEOF
58777 /* end confdefs.h.  */
58778 $ac_includes_default
58779 #include <iconv.h>
58780 _ACEOF
58781 rm -f conftest.$ac_objext
58782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58783   (eval $ac_compile) 2>&5
58784   ac_status=$?
58785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58786   (exit $ac_status); } &&
58787          { ac_try='test -s conftest.$ac_objext'
58788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58789   (eval $ac_try) 2>&5
58790   ac_status=$?
58791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58792   (exit $ac_status); }; }; then
58793   ac_header_compiler=yes
58794 else
58795   echo "$as_me: failed program was:" >&5
58796 sed 's/^/| /' conftest.$ac_ext >&5
58797
58798 ac_header_compiler=no
58799 fi
58800 rm -f conftest.$ac_objext conftest.$ac_ext
58801 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58802 echo "${ECHO_T}$ac_header_compiler" >&6
58803
58804 # Is the header present?
58805 echo "$as_me:$LINENO: checking iconv.h presence" >&5
58806 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
58807 cat >conftest.$ac_ext <<_ACEOF
58808 #line $LINENO "configure"
58809 /* confdefs.h.  */
58810 _ACEOF
58811 cat confdefs.h >>conftest.$ac_ext
58812 cat >>conftest.$ac_ext <<_ACEOF
58813 /* end confdefs.h.  */
58814 #include <iconv.h>
58815 _ACEOF
58816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58817   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58818   ac_status=$?
58819   grep -v '^ *+' conftest.er1 >conftest.err
58820   rm -f conftest.er1
58821   cat conftest.err >&5
58822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58823   (exit $ac_status); } >/dev/null; then
58824   if test -s conftest.err; then
58825     ac_cpp_err=$ac_c_preproc_warn_flag
58826   else
58827     ac_cpp_err=
58828   fi
58829 else
58830   ac_cpp_err=yes
58831 fi
58832 if test -z "$ac_cpp_err"; then
58833   ac_header_preproc=yes
58834 else
58835   echo "$as_me: failed program was:" >&5
58836 sed 's/^/| /' conftest.$ac_ext >&5
58837
58838   ac_header_preproc=no
58839 fi
58840 rm -f conftest.err conftest.$ac_ext
58841 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58842 echo "${ECHO_T}$ac_header_preproc" >&6
58843
58844 # So?  What about this header?
58845 case $ac_header_compiler:$ac_header_preproc in
58846   yes:no )
58847     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
58848 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58849     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58850 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58851     (
58852       cat <<\_ASBOX
58853 ## ------------------------------------ ##
58854 ## Report this to bug-autoconf@gnu.org. ##
58855 ## ------------------------------------ ##
58856 _ASBOX
58857     ) |
58858       sed "s/^/$as_me: WARNING:     /" >&2
58859     ;;
58860   no:yes )
58861     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
58862 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
58863     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
58864 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
58865     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58866 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58867     (
58868       cat <<\_ASBOX
58869 ## ------------------------------------ ##
58870 ## Report this to bug-autoconf@gnu.org. ##
58871 ## ------------------------------------ ##
58872 _ASBOX
58873     ) |
58874       sed "s/^/$as_me: WARNING:     /" >&2
58875     ;;
58876 esac
58877 echo "$as_me:$LINENO: checking for iconv.h" >&5
58878 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58879 if test "${ac_cv_header_iconv_h+set}" = set; then
58880   echo $ECHO_N "(cached) $ECHO_C" >&6
58881 else
58882   ac_cv_header_iconv_h=$ac_header_preproc
58883 fi
58884 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58885 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58886
58887 fi
58888 if test $ac_cv_header_iconv_h = yes; then
58889   ac_has_iconv_h=yes
58890 else
58891   ac_has_iconv_h=no
58892 fi
58893
58894
58895     if test "${ac_cv_header_langinfo_h+set}" = set; then
58896   echo "$as_me:$LINENO: checking for langinfo.h" >&5
58897 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58898 if test "${ac_cv_header_langinfo_h+set}" = set; then
58899   echo $ECHO_N "(cached) $ECHO_C" >&6
58900 fi
58901 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58902 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58903 else
58904   # Is the header compilable?
58905 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
58906 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
58907 cat >conftest.$ac_ext <<_ACEOF
58908 #line $LINENO "configure"
58909 /* confdefs.h.  */
58910 _ACEOF
58911 cat confdefs.h >>conftest.$ac_ext
58912 cat >>conftest.$ac_ext <<_ACEOF
58913 /* end confdefs.h.  */
58914 $ac_includes_default
58915 #include <langinfo.h>
58916 _ACEOF
58917 rm -f conftest.$ac_objext
58918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58919   (eval $ac_compile) 2>&5
58920   ac_status=$?
58921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58922   (exit $ac_status); } &&
58923          { ac_try='test -s conftest.$ac_objext'
58924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58925   (eval $ac_try) 2>&5
58926   ac_status=$?
58927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58928   (exit $ac_status); }; }; then
58929   ac_header_compiler=yes
58930 else
58931   echo "$as_me: failed program was:" >&5
58932 sed 's/^/| /' conftest.$ac_ext >&5
58933
58934 ac_header_compiler=no
58935 fi
58936 rm -f conftest.$ac_objext conftest.$ac_ext
58937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58938 echo "${ECHO_T}$ac_header_compiler" >&6
58939
58940 # Is the header present?
58941 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
58942 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
58943 cat >conftest.$ac_ext <<_ACEOF
58944 #line $LINENO "configure"
58945 /* confdefs.h.  */
58946 _ACEOF
58947 cat confdefs.h >>conftest.$ac_ext
58948 cat >>conftest.$ac_ext <<_ACEOF
58949 /* end confdefs.h.  */
58950 #include <langinfo.h>
58951 _ACEOF
58952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58953   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58954   ac_status=$?
58955   grep -v '^ *+' conftest.er1 >conftest.err
58956   rm -f conftest.er1
58957   cat conftest.err >&5
58958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58959   (exit $ac_status); } >/dev/null; then
58960   if test -s conftest.err; then
58961     ac_cpp_err=$ac_c_preproc_warn_flag
58962   else
58963     ac_cpp_err=
58964   fi
58965 else
58966   ac_cpp_err=yes
58967 fi
58968 if test -z "$ac_cpp_err"; then
58969   ac_header_preproc=yes
58970 else
58971   echo "$as_me: failed program was:" >&5
58972 sed 's/^/| /' conftest.$ac_ext >&5
58973
58974   ac_header_preproc=no
58975 fi
58976 rm -f conftest.err conftest.$ac_ext
58977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58978 echo "${ECHO_T}$ac_header_preproc" >&6
58979
58980 # So?  What about this header?
58981 case $ac_header_compiler:$ac_header_preproc in
58982   yes:no )
58983     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
58984 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58985     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58986 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58987     (
58988       cat <<\_ASBOX
58989 ## ------------------------------------ ##
58990 ## Report this to bug-autoconf@gnu.org. ##
58991 ## ------------------------------------ ##
58992 _ASBOX
58993     ) |
58994       sed "s/^/$as_me: WARNING:     /" >&2
58995     ;;
58996   no:yes )
58997     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
58998 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
58999     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
59000 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
59001     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
59002 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
59003     (
59004       cat <<\_ASBOX
59005 ## ------------------------------------ ##
59006 ## Report this to bug-autoconf@gnu.org. ##
59007 ## ------------------------------------ ##
59008 _ASBOX
59009     ) |
59010       sed "s/^/$as_me: WARNING:     /" >&2
59011     ;;
59012 esac
59013 echo "$as_me:$LINENO: checking for langinfo.h" >&5
59014 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
59015 if test "${ac_cv_header_langinfo_h+set}" = set; then
59016   echo $ECHO_N "(cached) $ECHO_C" >&6
59017 else
59018   ac_cv_header_langinfo_h=$ac_header_preproc
59019 fi
59020 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
59021 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
59022
59023 fi
59024 if test $ac_cv_header_langinfo_h = yes; then
59025   ac_has_langinfo_h=yes
59026 else
59027   ac_has_langinfo_h=no
59028 fi
59029
59030
59031
59032     # Check for existence of libiconv.a providing XPG2 wchar_t support.
59033     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
59034 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
59035 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
59036   echo $ECHO_N "(cached) $ECHO_C" >&6
59037 else
59038   ac_check_lib_save_LIBS=$LIBS
59039 LIBS="-liconv  $LIBS"
59040 if test x$gcc_no_link = xyes; then
59041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59043    { (exit 1); exit 1; }; }
59044 fi
59045 cat >conftest.$ac_ext <<_ACEOF
59046 #line $LINENO "configure"
59047 /* confdefs.h.  */
59048 _ACEOF
59049 cat confdefs.h >>conftest.$ac_ext
59050 cat >>conftest.$ac_ext <<_ACEOF
59051 /* end confdefs.h.  */
59052
59053 /* Override any gcc2 internal prototype to avoid an error.  */
59054 #ifdef __cplusplus
59055 extern "C"
59056 #endif
59057 /* We use char because int might match the return type of a gcc2
59058    builtin and then its argument prototype would still apply.  */
59059 char iconv ();
59060 int
59061 main ()
59062 {
59063 iconv ();
59064   ;
59065   return 0;
59066 }
59067 _ACEOF
59068 rm -f conftest.$ac_objext conftest$ac_exeext
59069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59070   (eval $ac_link) 2>&5
59071   ac_status=$?
59072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59073   (exit $ac_status); } &&
59074          { ac_try='test -s conftest$ac_exeext'
59075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59076   (eval $ac_try) 2>&5
59077   ac_status=$?
59078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59079   (exit $ac_status); }; }; then
59080   ac_cv_lib_iconv_iconv=yes
59081 else
59082   echo "$as_me: failed program was:" >&5
59083 sed 's/^/| /' conftest.$ac_ext >&5
59084
59085 ac_cv_lib_iconv_iconv=no
59086 fi
59087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59088 LIBS=$ac_check_lib_save_LIBS
59089 fi
59090 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
59091 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
59092 if test $ac_cv_lib_iconv_iconv = yes; then
59093   libiconv="-liconv"
59094 fi
59095
59096     ac_save_LIBS="$LIBS"
59097     LIBS="$LIBS $libiconv"
59098
59099
59100
59101
59102
59103 for ac_func in iconv_open iconv_close iconv nl_langinfo
59104 do
59105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59106 echo "$as_me:$LINENO: checking for $ac_func" >&5
59107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59108 if eval "test \"\${$as_ac_var+set}\" = set"; then
59109   echo $ECHO_N "(cached) $ECHO_C" >&6
59110 else
59111   if test x$gcc_no_link = xyes; then
59112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59114    { (exit 1); exit 1; }; }
59115 fi
59116 cat >conftest.$ac_ext <<_ACEOF
59117 #line $LINENO "configure"
59118 /* confdefs.h.  */
59119 _ACEOF
59120 cat confdefs.h >>conftest.$ac_ext
59121 cat >>conftest.$ac_ext <<_ACEOF
59122 /* end confdefs.h.  */
59123 /* System header to define __stub macros and hopefully few prototypes,
59124     which can conflict with char $ac_func (); below.
59125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59126     <limits.h> exists even on freestanding compilers.  */
59127 #ifdef __STDC__
59128 # include <limits.h>
59129 #else
59130 # include <assert.h>
59131 #endif
59132 /* Override any gcc2 internal prototype to avoid an error.  */
59133 #ifdef __cplusplus
59134 extern "C"
59135 {
59136 #endif
59137 /* We use char because int might match the return type of a gcc2
59138    builtin and then its argument prototype would still apply.  */
59139 char $ac_func ();
59140 /* The GNU C library defines this for functions which it implements
59141     to always fail with ENOSYS.  Some functions are actually named
59142     something starting with __ and the normal name is an alias.  */
59143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59144 choke me
59145 #else
59146 char (*f) () = $ac_func;
59147 #endif
59148 #ifdef __cplusplus
59149 }
59150 #endif
59151
59152 int
59153 main ()
59154 {
59155 return f != $ac_func;
59156   ;
59157   return 0;
59158 }
59159 _ACEOF
59160 rm -f conftest.$ac_objext conftest$ac_exeext
59161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59162   (eval $ac_link) 2>&5
59163   ac_status=$?
59164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59165   (exit $ac_status); } &&
59166          { ac_try='test -s conftest$ac_exeext'
59167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59168   (eval $ac_try) 2>&5
59169   ac_status=$?
59170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59171   (exit $ac_status); }; }; then
59172   eval "$as_ac_var=yes"
59173 else
59174   echo "$as_me: failed program was:" >&5
59175 sed 's/^/| /' conftest.$ac_ext >&5
59176
59177 eval "$as_ac_var=no"
59178 fi
59179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59180 fi
59181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59183 if test `eval echo '${'$as_ac_var'}'` = yes; then
59184   cat >>confdefs.h <<_ACEOF
59185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59186 _ACEOF
59187  ac_XPG2funcs=yes
59188 else
59189   ac_XPG2funcs=no
59190 fi
59191 done
59192
59193
59194     LIBS="$ac_save_LIBS"
59195
59196     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
59197 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
59198     if test x"$ac_has_iconv_h" = xyes &&
59199        test x"$ac_has_langinfo_h" = xyes &&
59200        test x"$ac_XPG2funcs" = xyes;
59201     then
59202       ac_XPG2_wchar_t=yes
59203     else
59204       ac_XPG2_wchar_t=no
59205     fi
59206     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
59207 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
59208
59209     # At the moment, only enable wchar_t specializations if all the
59210     # above support is present.
59211     if test x"$ac_isoC99_wchar_t" = xyes &&
59212        test x"$ac_XPG2_wchar_t" = xyes;
59213     then
59214       cat >>confdefs.h <<\_ACEOF
59215 #define _GLIBCXX_USE_WCHAR_T 1
59216 _ACEOF
59217
59218       enable_wchar_t=yes
59219     fi
59220   fi
59221   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
59222 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
59223   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
59224 echo "${ECHO_T}$enable_wchar_t" >&6
59225
59226     cat >>confdefs.h <<\_ACEOF
59227 #define HAVE_COSF 1
59228 _ACEOF
59229
59230     cat >>confdefs.h <<\_ACEOF
59231 #define HAVE_COSL 1
59232 _ACEOF
59233
59234     cat >>confdefs.h <<\_ACEOF
59235 #define HAVE_COSHF 1
59236 _ACEOF
59237
59238     cat >>confdefs.h <<\_ACEOF
59239 #define HAVE_COSHL 1
59240 _ACEOF
59241
59242     cat >>confdefs.h <<\_ACEOF
59243 #define HAVE_LOGF 1
59244 _ACEOF
59245
59246     cat >>confdefs.h <<\_ACEOF
59247 #define HAVE_LOGL 1
59248 _ACEOF
59249
59250     cat >>confdefs.h <<\_ACEOF
59251 #define HAVE_LOG10F 1
59252 _ACEOF
59253
59254     cat >>confdefs.h <<\_ACEOF
59255 #define HAVE_LOG10L 1
59256 _ACEOF
59257
59258     cat >>confdefs.h <<\_ACEOF
59259 #define HAVE_SINF 1
59260 _ACEOF
59261
59262     cat >>confdefs.h <<\_ACEOF
59263 #define HAVE_SINL 1
59264 _ACEOF
59265
59266     cat >>confdefs.h <<\_ACEOF
59267 #define HAVE_SINHF 1
59268 _ACEOF
59269
59270     cat >>confdefs.h <<\_ACEOF
59271 #define HAVE_SINHL 1
59272 _ACEOF
59273
59274     ;;
59275   *-solaris*)
59276     case "$target" in
59277     #  *-solaris2.5)
59278     #    os_include_dir="os/solaris/solaris2.5"
59279     #    ;;
59280     #  *-solaris2.6)
59281     #    os_include_dir="os/solaris/solaris2.6"
59282     #    ;;
59283       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
59284          cat >>confdefs.h <<\_ACEOF
59285 #define HAVE_GETPAGESIZE 1
59286 _ACEOF
59287
59288          cat >>confdefs.h <<\_ACEOF
59289 #define HAVE_SIGSETJMP 1
59290 _ACEOF
59291
59292          cat >>confdefs.h <<\_ACEOF
59293 #define HAVE_MBSTATE_T 1
59294 _ACEOF
59295
59296          cat >>confdefs.h <<\_ACEOF
59297 #define HAVE_POLL 1
59298 _ACEOF
59299
59300          cat >>confdefs.h <<\_ACEOF
59301 #define HAVE_S_ISREG 1
59302 _ACEOF
59303
59304          cat >>confdefs.h <<\_ACEOF
59305 #define HAVE_LC_MESSAGES 1
59306 _ACEOF
59307
59308          cat >>confdefs.h <<\_ACEOF
59309 #define HAVE_BTOWC 1
59310 _ACEOF
59311
59312          cat >>confdefs.h <<\_ACEOF
59313 #define HAVE_FGETWC 1
59314 _ACEOF
59315
59316          cat >>confdefs.h <<\_ACEOF
59317 #define HAVE_FGETWS 1
59318 _ACEOF
59319
59320          cat >>confdefs.h <<\_ACEOF
59321 #define HAVE_FINITE 1
59322 _ACEOF
59323
59324          cat >>confdefs.h <<\_ACEOF
59325 #define HAVE_FPCLASS 1
59326 _ACEOF
59327
59328          cat >>confdefs.h <<\_ACEOF
59329 #define HAVE_FPUTWC 1
59330 _ACEOF
59331
59332          cat >>confdefs.h <<\_ACEOF
59333 #define HAVE_FPUTWS 1
59334 _ACEOF
59335
59336          cat >>confdefs.h <<\_ACEOF
59337 #define HAVE_FWIDE 1
59338 _ACEOF
59339
59340          cat >>confdefs.h <<\_ACEOF
59341 #define HAVE_FWPRINTF 1
59342 _ACEOF
59343
59344          cat >>confdefs.h <<\_ACEOF
59345 #define HAVE_FWSCANF 1
59346 _ACEOF
59347
59348          cat >>confdefs.h <<\_ACEOF
59349 #define HAVE_GETPAGESIZE 1
59350 _ACEOF
59351
59352          cat >>confdefs.h <<\_ACEOF
59353 #define HAVE_GETWC 1
59354 _ACEOF
59355
59356          cat >>confdefs.h <<\_ACEOF
59357 #define HAVE_GETWCHAR 1
59358 _ACEOF
59359
59360          cat >>confdefs.h <<\_ACEOF
59361 #define HAVE_MBRLEN 1
59362 _ACEOF
59363
59364          cat >>confdefs.h <<\_ACEOF
59365 #define HAVE_MBRTOWC 1
59366 _ACEOF
59367
59368          cat >>confdefs.h <<\_ACEOF
59369 #define HAVE_MBSINIT 1
59370 _ACEOF
59371
59372          cat >>confdefs.h <<\_ACEOF
59373 #define HAVE_MBSRTOWCS 1
59374 _ACEOF
59375
59376          cat >>confdefs.h <<\_ACEOF
59377 #define HAVE_NL_LANGINFO 1
59378 _ACEOF
59379
59380          cat >>confdefs.h <<\_ACEOF
59381 #define HAVE_PUTWC 1
59382 _ACEOF
59383
59384          cat >>confdefs.h <<\_ACEOF
59385 #define HAVE_PUTWCHAR 1
59386 _ACEOF
59387
59388          cat >>confdefs.h <<\_ACEOF
59389 #define HAVE_SWPRINTF 1
59390 _ACEOF
59391
59392          cat >>confdefs.h <<\_ACEOF
59393 #define HAVE_SWSCANF 1
59394 _ACEOF
59395
59396          cat >>confdefs.h <<\_ACEOF
59397 #define HAVE_UNGETWC 1
59398 _ACEOF
59399
59400          cat >>confdefs.h <<\_ACEOF
59401 #define HAVE_VFWPRINTF 1
59402 _ACEOF
59403
59404          cat >>confdefs.h <<\_ACEOF
59405 #define HAVE_VSWPRINTF 1
59406 _ACEOF
59407
59408          cat >>confdefs.h <<\_ACEOF
59409 #define HAVE_VWPRINTF 1
59410 _ACEOF
59411
59412          cat >>confdefs.h <<\_ACEOF
59413 #define HAVE_WCRTOMB 1
59414 _ACEOF
59415
59416          cat >>confdefs.h <<\_ACEOF
59417 #define HAVE_WCSCAT 1
59418 _ACEOF
59419
59420          cat >>confdefs.h <<\_ACEOF
59421 #define HAVE_WCSCHR 1
59422 _ACEOF
59423
59424          cat >>confdefs.h <<\_ACEOF
59425 #define HAVE_WCSCMP 1
59426 _ACEOF
59427
59428          cat >>confdefs.h <<\_ACEOF
59429 #define HAVE_WCSCOLL 1
59430 _ACEOF
59431
59432          cat >>confdefs.h <<\_ACEOF
59433 #define HAVE_WCSCPY 1
59434 _ACEOF
59435
59436          cat >>confdefs.h <<\_ACEOF
59437 #define HAVE_WCSCSPN 1
59438 _ACEOF
59439
59440          cat >>confdefs.h <<\_ACEOF
59441 #define HAVE_WCSFTIME 1
59442 _ACEOF
59443
59444          cat >>confdefs.h <<\_ACEOF
59445 #define HAVE_WCSLEN 1
59446 _ACEOF
59447
59448          cat >>confdefs.h <<\_ACEOF
59449 #define HAVE_WCSNCAT 1
59450 _ACEOF
59451
59452          cat >>confdefs.h <<\_ACEOF
59453 #define HAVE_WCSNCMP 1
59454 _ACEOF
59455
59456          cat >>confdefs.h <<\_ACEOF
59457 #define HAVE_WCSNCPY 1
59458 _ACEOF
59459
59460          cat >>confdefs.h <<\_ACEOF
59461 #define HAVE_WCSPBRK 1
59462 _ACEOF
59463
59464          cat >>confdefs.h <<\_ACEOF
59465 #define HAVE_WCSRCHR 1
59466 _ACEOF
59467
59468          cat >>confdefs.h <<\_ACEOF
59469 #define HAVE_WCSRTOMBS 1
59470 _ACEOF
59471
59472          cat >>confdefs.h <<\_ACEOF
59473 #define HAVE_WCSSPN 1
59474 _ACEOF
59475
59476          cat >>confdefs.h <<\_ACEOF
59477 #define HAVE_WCSSTR 1
59478 _ACEOF
59479
59480          cat >>confdefs.h <<\_ACEOF
59481 #define HAVE_WCSTOD 1
59482 _ACEOF
59483
59484          cat >>confdefs.h <<\_ACEOF
59485 #define HAVE_WCSTOK 1
59486 _ACEOF
59487
59488          cat >>confdefs.h <<\_ACEOF
59489 #define HAVE_WCSTOL 1
59490 _ACEOF
59491
59492          cat >>confdefs.h <<\_ACEOF
59493 #define HAVE_WCSTOUL 1
59494 _ACEOF
59495
59496          cat >>confdefs.h <<\_ACEOF
59497 #define HAVE_WCSXFRM 1
59498 _ACEOF
59499
59500          cat >>confdefs.h <<\_ACEOF
59501 #define HAVE_WCTOB 1
59502 _ACEOF
59503
59504          cat >>confdefs.h <<\_ACEOF
59505 #define HAVE_WMEMCHR 1
59506 _ACEOF
59507
59508          cat >>confdefs.h <<\_ACEOF
59509 #define HAVE_WMEMCMP 1
59510 _ACEOF
59511
59512          cat >>confdefs.h <<\_ACEOF
59513 #define HAVE_WMEMCPY 1
59514 _ACEOF
59515
59516          cat >>confdefs.h <<\_ACEOF
59517 #define HAVE_WMEMMOVE 1
59518 _ACEOF
59519
59520          cat >>confdefs.h <<\_ACEOF
59521 #define HAVE_WMEMSET 1
59522 _ACEOF
59523
59524          cat >>confdefs.h <<\_ACEOF
59525 #define HAVE_WPRINTF 1
59526 _ACEOF
59527
59528          cat >>confdefs.h <<\_ACEOF
59529 #define HAVE_WSCANF 1
59530 _ACEOF
59531
59532          cat >>confdefs.h <<\_ACEOF
59533 #define HAVE_ICONV 1
59534 _ACEOF
59535
59536          cat >>confdefs.h <<\_ACEOF
59537 #define HAVE_ICONV_CLOSE 1
59538 _ACEOF
59539
59540          cat >>confdefs.h <<\_ACEOF
59541 #define HAVE_ICONV_OPEN 1
59542 _ACEOF
59543
59544          # Look for the pieces required for wchar_t support in order to
59545          # get all the right HAVE_* macros defined.
59546
59547   # Test wchar.h for mbstate_t, which is needed for char_traits and
59548   # others even if wchar_t support is not on.
59549   echo "$as_me:$LINENO: checking for mbstate_t" >&5
59550 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59551   cat >conftest.$ac_ext <<_ACEOF
59552 #line $LINENO "configure"
59553 /* confdefs.h.  */
59554 _ACEOF
59555 cat confdefs.h >>conftest.$ac_ext
59556 cat >>conftest.$ac_ext <<_ACEOF
59557 /* end confdefs.h.  */
59558 #include <wchar.h>
59559 int
59560 main ()
59561 {
59562 mbstate_t teststate;
59563   ;
59564   return 0;
59565 }
59566 _ACEOF
59567 rm -f conftest.$ac_objext
59568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59569   (eval $ac_compile) 2>&5
59570   ac_status=$?
59571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59572   (exit $ac_status); } &&
59573          { ac_try='test -s conftest.$ac_objext'
59574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59575   (eval $ac_try) 2>&5
59576   ac_status=$?
59577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59578   (exit $ac_status); }; }; then
59579   have_mbstate_t=yes
59580 else
59581   echo "$as_me: failed program was:" >&5
59582 sed 's/^/| /' conftest.$ac_ext >&5
59583
59584 have_mbstate_t=no
59585 fi
59586 rm -f conftest.$ac_objext conftest.$ac_ext
59587   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59588 echo "${ECHO_T}$have_mbstate_t" >&6
59589   if test x"$have_mbstate_t" = xyes; then
59590     cat >>confdefs.h <<\_ACEOF
59591 #define HAVE_MBSTATE_T 1
59592 _ACEOF
59593
59594   fi
59595
59596   # Sanity check for existence of ISO C99 headers for extended encoding.
59597
59598 for ac_header in wchar.h
59599 do
59600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59602   echo "$as_me:$LINENO: checking for $ac_header" >&5
59603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59605   echo $ECHO_N "(cached) $ECHO_C" >&6
59606 fi
59607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59609 else
59610   # Is the header compilable?
59611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59613 cat >conftest.$ac_ext <<_ACEOF
59614 #line $LINENO "configure"
59615 /* confdefs.h.  */
59616 _ACEOF
59617 cat confdefs.h >>conftest.$ac_ext
59618 cat >>conftest.$ac_ext <<_ACEOF
59619 /* end confdefs.h.  */
59620 $ac_includes_default
59621 #include <$ac_header>
59622 _ACEOF
59623 rm -f conftest.$ac_objext
59624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59625   (eval $ac_compile) 2>&5
59626   ac_status=$?
59627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59628   (exit $ac_status); } &&
59629          { ac_try='test -s conftest.$ac_objext'
59630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59631   (eval $ac_try) 2>&5
59632   ac_status=$?
59633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59634   (exit $ac_status); }; }; then
59635   ac_header_compiler=yes
59636 else
59637   echo "$as_me: failed program was:" >&5
59638 sed 's/^/| /' conftest.$ac_ext >&5
59639
59640 ac_header_compiler=no
59641 fi
59642 rm -f conftest.$ac_objext conftest.$ac_ext
59643 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59644 echo "${ECHO_T}$ac_header_compiler" >&6
59645
59646 # Is the header present?
59647 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59648 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59649 cat >conftest.$ac_ext <<_ACEOF
59650 #line $LINENO "configure"
59651 /* confdefs.h.  */
59652 _ACEOF
59653 cat confdefs.h >>conftest.$ac_ext
59654 cat >>conftest.$ac_ext <<_ACEOF
59655 /* end confdefs.h.  */
59656 #include <$ac_header>
59657 _ACEOF
59658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59659   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59660   ac_status=$?
59661   grep -v '^ *+' conftest.er1 >conftest.err
59662   rm -f conftest.er1
59663   cat conftest.err >&5
59664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59665   (exit $ac_status); } >/dev/null; then
59666   if test -s conftest.err; then
59667     ac_cpp_err=$ac_c_preproc_warn_flag
59668   else
59669     ac_cpp_err=
59670   fi
59671 else
59672   ac_cpp_err=yes
59673 fi
59674 if test -z "$ac_cpp_err"; then
59675   ac_header_preproc=yes
59676 else
59677   echo "$as_me: failed program was:" >&5
59678 sed 's/^/| /' conftest.$ac_ext >&5
59679
59680   ac_header_preproc=no
59681 fi
59682 rm -f conftest.err conftest.$ac_ext
59683 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59684 echo "${ECHO_T}$ac_header_preproc" >&6
59685
59686 # So?  What about this header?
59687 case $ac_header_compiler:$ac_header_preproc in
59688   yes:no )
59689     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59691     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59693     (
59694       cat <<\_ASBOX
59695 ## ------------------------------------ ##
59696 ## Report this to bug-autoconf@gnu.org. ##
59697 ## ------------------------------------ ##
59698 _ASBOX
59699     ) |
59700       sed "s/^/$as_me: WARNING:     /" >&2
59701     ;;
59702   no:yes )
59703     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59705     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59707     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59709     (
59710       cat <<\_ASBOX
59711 ## ------------------------------------ ##
59712 ## Report this to bug-autoconf@gnu.org. ##
59713 ## ------------------------------------ ##
59714 _ASBOX
59715     ) |
59716       sed "s/^/$as_me: WARNING:     /" >&2
59717     ;;
59718 esac
59719 echo "$as_me:$LINENO: checking for $ac_header" >&5
59720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59722   echo $ECHO_N "(cached) $ECHO_C" >&6
59723 else
59724   eval "$as_ac_Header=$ac_header_preproc"
59725 fi
59726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59728
59729 fi
59730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59731   cat >>confdefs.h <<_ACEOF
59732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59733 _ACEOF
59734  ac_has_wchar_h=yes
59735 else
59736   ac_has_wchar_h=no
59737 fi
59738
59739 done
59740
59741
59742 for ac_header in wctype.h
59743 do
59744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59746   echo "$as_me:$LINENO: checking for $ac_header" >&5
59747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59749   echo $ECHO_N "(cached) $ECHO_C" >&6
59750 fi
59751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59753 else
59754   # Is the header compilable?
59755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59757 cat >conftest.$ac_ext <<_ACEOF
59758 #line $LINENO "configure"
59759 /* confdefs.h.  */
59760 _ACEOF
59761 cat confdefs.h >>conftest.$ac_ext
59762 cat >>conftest.$ac_ext <<_ACEOF
59763 /* end confdefs.h.  */
59764 $ac_includes_default
59765 #include <$ac_header>
59766 _ACEOF
59767 rm -f conftest.$ac_objext
59768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59769   (eval $ac_compile) 2>&5
59770   ac_status=$?
59771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59772   (exit $ac_status); } &&
59773          { ac_try='test -s conftest.$ac_objext'
59774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59775   (eval $ac_try) 2>&5
59776   ac_status=$?
59777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59778   (exit $ac_status); }; }; then
59779   ac_header_compiler=yes
59780 else
59781   echo "$as_me: failed program was:" >&5
59782 sed 's/^/| /' conftest.$ac_ext >&5
59783
59784 ac_header_compiler=no
59785 fi
59786 rm -f conftest.$ac_objext conftest.$ac_ext
59787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59788 echo "${ECHO_T}$ac_header_compiler" >&6
59789
59790 # Is the header present?
59791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59793 cat >conftest.$ac_ext <<_ACEOF
59794 #line $LINENO "configure"
59795 /* confdefs.h.  */
59796 _ACEOF
59797 cat confdefs.h >>conftest.$ac_ext
59798 cat >>conftest.$ac_ext <<_ACEOF
59799 /* end confdefs.h.  */
59800 #include <$ac_header>
59801 _ACEOF
59802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59803   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59804   ac_status=$?
59805   grep -v '^ *+' conftest.er1 >conftest.err
59806   rm -f conftest.er1
59807   cat conftest.err >&5
59808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59809   (exit $ac_status); } >/dev/null; then
59810   if test -s conftest.err; then
59811     ac_cpp_err=$ac_c_preproc_warn_flag
59812   else
59813     ac_cpp_err=
59814   fi
59815 else
59816   ac_cpp_err=yes
59817 fi
59818 if test -z "$ac_cpp_err"; then
59819   ac_header_preproc=yes
59820 else
59821   echo "$as_me: failed program was:" >&5
59822 sed 's/^/| /' conftest.$ac_ext >&5
59823
59824   ac_header_preproc=no
59825 fi
59826 rm -f conftest.err conftest.$ac_ext
59827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59828 echo "${ECHO_T}$ac_header_preproc" >&6
59829
59830 # So?  What about this header?
59831 case $ac_header_compiler:$ac_header_preproc in
59832   yes:no )
59833     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59835     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59837     (
59838       cat <<\_ASBOX
59839 ## ------------------------------------ ##
59840 ## Report this to bug-autoconf@gnu.org. ##
59841 ## ------------------------------------ ##
59842 _ASBOX
59843     ) |
59844       sed "s/^/$as_me: WARNING:     /" >&2
59845     ;;
59846   no:yes )
59847     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59849     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59850 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59851     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59853     (
59854       cat <<\_ASBOX
59855 ## ------------------------------------ ##
59856 ## Report this to bug-autoconf@gnu.org. ##
59857 ## ------------------------------------ ##
59858 _ASBOX
59859     ) |
59860       sed "s/^/$as_me: WARNING:     /" >&2
59861     ;;
59862 esac
59863 echo "$as_me:$LINENO: checking for $ac_header" >&5
59864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59866   echo $ECHO_N "(cached) $ECHO_C" >&6
59867 else
59868   eval "$as_ac_Header=$ac_header_preproc"
59869 fi
59870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59872
59873 fi
59874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59875   cat >>confdefs.h <<_ACEOF
59876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59877 _ACEOF
59878  ac_has_wctype_h=yes
59879 else
59880   ac_has_wctype_h=no
59881 fi
59882
59883 done
59884
59885
59886   # Only continue checking if the ISO C99 headers exist and support is on.
59887   if test x"$ac_has_wchar_h" = xyes &&
59888      test x"$ac_has_wctype_h" = xyes &&
59889      test x"$enable_c_mbchar" != xno; then
59890
59891     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59892     # numeric_limits can instantiate type_traits<wchar_t>
59893     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59894 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59895     cat >conftest.$ac_ext <<_ACEOF
59896 #line $LINENO "configure"
59897 /* confdefs.h.  */
59898 _ACEOF
59899 cat confdefs.h >>conftest.$ac_ext
59900 cat >>conftest.$ac_ext <<_ACEOF
59901 /* end confdefs.h.  */
59902 #include <wchar.h>
59903 int
59904 main ()
59905 {
59906 int i = WCHAR_MIN; int j = WCHAR_MAX;
59907   ;
59908   return 0;
59909 }
59910 _ACEOF
59911 rm -f conftest.$ac_objext
59912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59913   (eval $ac_compile) 2>&5
59914   ac_status=$?
59915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59916   (exit $ac_status); } &&
59917          { ac_try='test -s conftest.$ac_objext'
59918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59919   (eval $ac_try) 2>&5
59920   ac_status=$?
59921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59922   (exit $ac_status); }; }; then
59923   has_wchar_minmax=yes
59924 else
59925   echo "$as_me: failed program was:" >&5
59926 sed 's/^/| /' conftest.$ac_ext >&5
59927
59928 has_wchar_minmax=no
59929 fi
59930 rm -f conftest.$ac_objext conftest.$ac_ext
59931     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59932 echo "${ECHO_T}$has_wchar_minmax" >&6
59933
59934     # Test wchar.h for WEOF, which is what we use to determine whether
59935     # to specialize for char_traits<wchar_t> or not.
59936     echo "$as_me:$LINENO: checking for WEOF" >&5
59937 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59938     cat >conftest.$ac_ext <<_ACEOF
59939 #line $LINENO "configure"
59940 /* confdefs.h.  */
59941 _ACEOF
59942 cat confdefs.h >>conftest.$ac_ext
59943 cat >>conftest.$ac_ext <<_ACEOF
59944 /* end confdefs.h.  */
59945
59946       #include <wchar.h>
59947       #include <stddef.h>
59948 int
59949 main ()
59950 {
59951 wint_t i = WEOF;
59952   ;
59953   return 0;
59954 }
59955 _ACEOF
59956 rm -f conftest.$ac_objext
59957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59958   (eval $ac_compile) 2>&5
59959   ac_status=$?
59960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59961   (exit $ac_status); } &&
59962          { ac_try='test -s conftest.$ac_objext'
59963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59964   (eval $ac_try) 2>&5
59965   ac_status=$?
59966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59967   (exit $ac_status); }; }; then
59968   has_weof=yes
59969 else
59970   echo "$as_me: failed program was:" >&5
59971 sed 's/^/| /' conftest.$ac_ext >&5
59972
59973 has_weof=no
59974 fi
59975 rm -f conftest.$ac_objext conftest.$ac_ext
59976     echo "$as_me:$LINENO: result: $has_weof" >&5
59977 echo "${ECHO_T}$has_weof" >&6
59978
59979     # Tests for wide character functions used in char_traits<wchar_t>.
59980     ac_wfuncs=yes
59981
59982
59983
59984
59985
59986
59987 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59988 do
59989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59990 echo "$as_me:$LINENO: checking for $ac_func" >&5
59991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59992 if eval "test \"\${$as_ac_var+set}\" = set"; then
59993   echo $ECHO_N "(cached) $ECHO_C" >&6
59994 else
59995   if test x$gcc_no_link = xyes; then
59996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59998    { (exit 1); exit 1; }; }
59999 fi
60000 cat >conftest.$ac_ext <<_ACEOF
60001 #line $LINENO "configure"
60002 /* confdefs.h.  */
60003 _ACEOF
60004 cat confdefs.h >>conftest.$ac_ext
60005 cat >>conftest.$ac_ext <<_ACEOF
60006 /* end confdefs.h.  */
60007 /* System header to define __stub macros and hopefully few prototypes,
60008     which can conflict with char $ac_func (); below.
60009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60010     <limits.h> exists even on freestanding compilers.  */
60011 #ifdef __STDC__
60012 # include <limits.h>
60013 #else
60014 # include <assert.h>
60015 #endif
60016 /* Override any gcc2 internal prototype to avoid an error.  */
60017 #ifdef __cplusplus
60018 extern "C"
60019 {
60020 #endif
60021 /* We use char because int might match the return type of a gcc2
60022    builtin and then its argument prototype would still apply.  */
60023 char $ac_func ();
60024 /* The GNU C library defines this for functions which it implements
60025     to always fail with ENOSYS.  Some functions are actually named
60026     something starting with __ and the normal name is an alias.  */
60027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60028 choke me
60029 #else
60030 char (*f) () = $ac_func;
60031 #endif
60032 #ifdef __cplusplus
60033 }
60034 #endif
60035
60036 int
60037 main ()
60038 {
60039 return f != $ac_func;
60040   ;
60041   return 0;
60042 }
60043 _ACEOF
60044 rm -f conftest.$ac_objext conftest$ac_exeext
60045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60046   (eval $ac_link) 2>&5
60047   ac_status=$?
60048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049   (exit $ac_status); } &&
60050          { ac_try='test -s conftest$ac_exeext'
60051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052   (eval $ac_try) 2>&5
60053   ac_status=$?
60054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055   (exit $ac_status); }; }; then
60056   eval "$as_ac_var=yes"
60057 else
60058   echo "$as_me: failed program was:" >&5
60059 sed 's/^/| /' conftest.$ac_ext >&5
60060
60061 eval "$as_ac_var=no"
60062 fi
60063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60064 fi
60065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60067 if test `eval echo '${'$as_ac_var'}'` = yes; then
60068   cat >>confdefs.h <<_ACEOF
60069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60070 _ACEOF
60071
60072 else
60073   ac_wfuncs=no
60074 fi
60075 done
60076
60077
60078     # Checks for names injected into std:: by the c_std headers.
60079
60080
60081
60082
60083
60084
60085
60086
60087
60088
60089
60090
60091
60092
60093
60094
60095
60096
60097
60098
60099
60100
60101
60102
60103
60104
60105
60106
60107
60108
60109
60110
60111
60112
60113
60114
60115
60116
60117
60118
60119
60120
60121
60122
60123
60124
60125 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
60126     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
60127     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
60128     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
60129     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
60130     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
60131 do
60132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60133 echo "$as_me:$LINENO: checking for $ac_func" >&5
60134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60135 if eval "test \"\${$as_ac_var+set}\" = set"; then
60136   echo $ECHO_N "(cached) $ECHO_C" >&6
60137 else
60138   if test x$gcc_no_link = xyes; then
60139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60141    { (exit 1); exit 1; }; }
60142 fi
60143 cat >conftest.$ac_ext <<_ACEOF
60144 #line $LINENO "configure"
60145 /* confdefs.h.  */
60146 _ACEOF
60147 cat confdefs.h >>conftest.$ac_ext
60148 cat >>conftest.$ac_ext <<_ACEOF
60149 /* end confdefs.h.  */
60150 /* System header to define __stub macros and hopefully few prototypes,
60151     which can conflict with char $ac_func (); below.
60152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60153     <limits.h> exists even on freestanding compilers.  */
60154 #ifdef __STDC__
60155 # include <limits.h>
60156 #else
60157 # include <assert.h>
60158 #endif
60159 /* Override any gcc2 internal prototype to avoid an error.  */
60160 #ifdef __cplusplus
60161 extern "C"
60162 {
60163 #endif
60164 /* We use char because int might match the return type of a gcc2
60165    builtin and then its argument prototype would still apply.  */
60166 char $ac_func ();
60167 /* The GNU C library defines this for functions which it implements
60168     to always fail with ENOSYS.  Some functions are actually named
60169     something starting with __ and the normal name is an alias.  */
60170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60171 choke me
60172 #else
60173 char (*f) () = $ac_func;
60174 #endif
60175 #ifdef __cplusplus
60176 }
60177 #endif
60178
60179 int
60180 main ()
60181 {
60182 return f != $ac_func;
60183   ;
60184   return 0;
60185 }
60186 _ACEOF
60187 rm -f conftest.$ac_objext conftest$ac_exeext
60188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60189   (eval $ac_link) 2>&5
60190   ac_status=$?
60191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60192   (exit $ac_status); } &&
60193          { ac_try='test -s conftest$ac_exeext'
60194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60195   (eval $ac_try) 2>&5
60196   ac_status=$?
60197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60198   (exit $ac_status); }; }; then
60199   eval "$as_ac_var=yes"
60200 else
60201   echo "$as_me: failed program was:" >&5
60202 sed 's/^/| /' conftest.$ac_ext >&5
60203
60204 eval "$as_ac_var=no"
60205 fi
60206 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60207 fi
60208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60210 if test `eval echo '${'$as_ac_var'}'` = yes; then
60211   cat >>confdefs.h <<_ACEOF
60212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60213 _ACEOF
60214
60215 else
60216   ac_wfuncs=no
60217 fi
60218 done
60219
60220
60221     # Checks for wide character functions that are not required
60222     # for basic wchar_t support.  Don't disable support if they are missing.
60223     # Injection of these is wrapped with guard macros.
60224
60225
60226
60227
60228
60229 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
60230 do
60231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60232 echo "$as_me:$LINENO: checking for $ac_func" >&5
60233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60234 if eval "test \"\${$as_ac_var+set}\" = set"; then
60235   echo $ECHO_N "(cached) $ECHO_C" >&6
60236 else
60237   if test x$gcc_no_link = xyes; then
60238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60240    { (exit 1); exit 1; }; }
60241 fi
60242 cat >conftest.$ac_ext <<_ACEOF
60243 #line $LINENO "configure"
60244 /* confdefs.h.  */
60245 _ACEOF
60246 cat confdefs.h >>conftest.$ac_ext
60247 cat >>conftest.$ac_ext <<_ACEOF
60248 /* end confdefs.h.  */
60249 /* System header to define __stub macros and hopefully few prototypes,
60250     which can conflict with char $ac_func (); below.
60251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60252     <limits.h> exists even on freestanding compilers.  */
60253 #ifdef __STDC__
60254 # include <limits.h>
60255 #else
60256 # include <assert.h>
60257 #endif
60258 /* Override any gcc2 internal prototype to avoid an error.  */
60259 #ifdef __cplusplus
60260 extern "C"
60261 {
60262 #endif
60263 /* We use char because int might match the return type of a gcc2
60264    builtin and then its argument prototype would still apply.  */
60265 char $ac_func ();
60266 /* The GNU C library defines this for functions which it implements
60267     to always fail with ENOSYS.  Some functions are actually named
60268     something starting with __ and the normal name is an alias.  */
60269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60270 choke me
60271 #else
60272 char (*f) () = $ac_func;
60273 #endif
60274 #ifdef __cplusplus
60275 }
60276 #endif
60277
60278 int
60279 main ()
60280 {
60281 return f != $ac_func;
60282   ;
60283   return 0;
60284 }
60285 _ACEOF
60286 rm -f conftest.$ac_objext conftest$ac_exeext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60288   (eval $ac_link) 2>&5
60289   ac_status=$?
60290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60291   (exit $ac_status); } &&
60292          { ac_try='test -s conftest$ac_exeext'
60293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60294   (eval $ac_try) 2>&5
60295   ac_status=$?
60296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60297   (exit $ac_status); }; }; then
60298   eval "$as_ac_var=yes"
60299 else
60300   echo "$as_me: failed program was:" >&5
60301 sed 's/^/| /' conftest.$ac_ext >&5
60302
60303 eval "$as_ac_var=no"
60304 fi
60305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60306 fi
60307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60309 if test `eval echo '${'$as_ac_var'}'` = yes; then
60310   cat >>confdefs.h <<_ACEOF
60311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60312 _ACEOF
60313
60314 fi
60315 done
60316
60317
60318     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
60319 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
60320     if test x"$has_weof" = xyes &&
60321        test x"$has_wchar_minmax" = xyes &&
60322        test x"$ac_wfuncs" = xyes;
60323     then
60324       ac_isoC99_wchar_t=yes
60325     else
60326       ac_isoC99_wchar_t=no
60327     fi
60328     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
60329 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
60330
60331     # Use iconv for wchar_t to char conversions. As such, check for
60332     # X/Open Portability Guide, version 2 features (XPG2).
60333     if test "${ac_cv_header_iconv_h+set}" = set; then
60334   echo "$as_me:$LINENO: checking for iconv.h" >&5
60335 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60336 if test "${ac_cv_header_iconv_h+set}" = set; then
60337   echo $ECHO_N "(cached) $ECHO_C" >&6
60338 fi
60339 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60340 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60341 else
60342   # Is the header compilable?
60343 echo "$as_me:$LINENO: checking iconv.h usability" >&5
60344 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
60345 cat >conftest.$ac_ext <<_ACEOF
60346 #line $LINENO "configure"
60347 /* confdefs.h.  */
60348 _ACEOF
60349 cat confdefs.h >>conftest.$ac_ext
60350 cat >>conftest.$ac_ext <<_ACEOF
60351 /* end confdefs.h.  */
60352 $ac_includes_default
60353 #include <iconv.h>
60354 _ACEOF
60355 rm -f conftest.$ac_objext
60356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60357   (eval $ac_compile) 2>&5
60358   ac_status=$?
60359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60360   (exit $ac_status); } &&
60361          { ac_try='test -s conftest.$ac_objext'
60362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60363   (eval $ac_try) 2>&5
60364   ac_status=$?
60365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60366   (exit $ac_status); }; }; then
60367   ac_header_compiler=yes
60368 else
60369   echo "$as_me: failed program was:" >&5
60370 sed 's/^/| /' conftest.$ac_ext >&5
60371
60372 ac_header_compiler=no
60373 fi
60374 rm -f conftest.$ac_objext conftest.$ac_ext
60375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60376 echo "${ECHO_T}$ac_header_compiler" >&6
60377
60378 # Is the header present?
60379 echo "$as_me:$LINENO: checking iconv.h presence" >&5
60380 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
60381 cat >conftest.$ac_ext <<_ACEOF
60382 #line $LINENO "configure"
60383 /* confdefs.h.  */
60384 _ACEOF
60385 cat confdefs.h >>conftest.$ac_ext
60386 cat >>conftest.$ac_ext <<_ACEOF
60387 /* end confdefs.h.  */
60388 #include <iconv.h>
60389 _ACEOF
60390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60391   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60392   ac_status=$?
60393   grep -v '^ *+' conftest.er1 >conftest.err
60394   rm -f conftest.er1
60395   cat conftest.err >&5
60396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60397   (exit $ac_status); } >/dev/null; then
60398   if test -s conftest.err; then
60399     ac_cpp_err=$ac_c_preproc_warn_flag
60400   else
60401     ac_cpp_err=
60402   fi
60403 else
60404   ac_cpp_err=yes
60405 fi
60406 if test -z "$ac_cpp_err"; then
60407   ac_header_preproc=yes
60408 else
60409   echo "$as_me: failed program was:" >&5
60410 sed 's/^/| /' conftest.$ac_ext >&5
60411
60412   ac_header_preproc=no
60413 fi
60414 rm -f conftest.err conftest.$ac_ext
60415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60416 echo "${ECHO_T}$ac_header_preproc" >&6
60417
60418 # So?  What about this header?
60419 case $ac_header_compiler:$ac_header_preproc in
60420   yes:no )
60421     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
60422 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60423     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60424 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60425     (
60426       cat <<\_ASBOX
60427 ## ------------------------------------ ##
60428 ## Report this to bug-autoconf@gnu.org. ##
60429 ## ------------------------------------ ##
60430 _ASBOX
60431     ) |
60432       sed "s/^/$as_me: WARNING:     /" >&2
60433     ;;
60434   no:yes )
60435     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60436 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60437     { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60438 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60439     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60440 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60441     (
60442       cat <<\_ASBOX
60443 ## ------------------------------------ ##
60444 ## Report this to bug-autoconf@gnu.org. ##
60445 ## ------------------------------------ ##
60446 _ASBOX
60447     ) |
60448       sed "s/^/$as_me: WARNING:     /" >&2
60449     ;;
60450 esac
60451 echo "$as_me:$LINENO: checking for iconv.h" >&5
60452 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60453 if test "${ac_cv_header_iconv_h+set}" = set; then
60454   echo $ECHO_N "(cached) $ECHO_C" >&6
60455 else
60456   ac_cv_header_iconv_h=$ac_header_preproc
60457 fi
60458 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60459 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60460
60461 fi
60462 if test $ac_cv_header_iconv_h = yes; then
60463   ac_has_iconv_h=yes
60464 else
60465   ac_has_iconv_h=no
60466 fi
60467
60468
60469     if test "${ac_cv_header_langinfo_h+set}" = set; then
60470   echo "$as_me:$LINENO: checking for langinfo.h" >&5
60471 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60472 if test "${ac_cv_header_langinfo_h+set}" = set; then
60473   echo $ECHO_N "(cached) $ECHO_C" >&6
60474 fi
60475 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60476 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60477 else
60478   # Is the header compilable?
60479 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60480 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60481 cat >conftest.$ac_ext <<_ACEOF
60482 #line $LINENO "configure"
60483 /* confdefs.h.  */
60484 _ACEOF
60485 cat confdefs.h >>conftest.$ac_ext
60486 cat >>conftest.$ac_ext <<_ACEOF
60487 /* end confdefs.h.  */
60488 $ac_includes_default
60489 #include <langinfo.h>
60490 _ACEOF
60491 rm -f conftest.$ac_objext
60492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60493   (eval $ac_compile) 2>&5
60494   ac_status=$?
60495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60496   (exit $ac_status); } &&
60497          { ac_try='test -s conftest.$ac_objext'
60498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60499   (eval $ac_try) 2>&5
60500   ac_status=$?
60501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60502   (exit $ac_status); }; }; then
60503   ac_header_compiler=yes
60504 else
60505   echo "$as_me: failed program was:" >&5
60506 sed 's/^/| /' conftest.$ac_ext >&5
60507
60508 ac_header_compiler=no
60509 fi
60510 rm -f conftest.$ac_objext conftest.$ac_ext
60511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60512 echo "${ECHO_T}$ac_header_compiler" >&6
60513
60514 # Is the header present?
60515 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60516 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60517 cat >conftest.$ac_ext <<_ACEOF
60518 #line $LINENO "configure"
60519 /* confdefs.h.  */
60520 _ACEOF
60521 cat confdefs.h >>conftest.$ac_ext
60522 cat >>conftest.$ac_ext <<_ACEOF
60523 /* end confdefs.h.  */
60524 #include <langinfo.h>
60525 _ACEOF
60526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60527   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60528   ac_status=$?
60529   grep -v '^ *+' conftest.er1 >conftest.err
60530   rm -f conftest.er1
60531   cat conftest.err >&5
60532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60533   (exit $ac_status); } >/dev/null; then
60534   if test -s conftest.err; then
60535     ac_cpp_err=$ac_c_preproc_warn_flag
60536   else
60537     ac_cpp_err=
60538   fi
60539 else
60540   ac_cpp_err=yes
60541 fi
60542 if test -z "$ac_cpp_err"; then
60543   ac_header_preproc=yes
60544 else
60545   echo "$as_me: failed program was:" >&5
60546 sed 's/^/| /' conftest.$ac_ext >&5
60547
60548   ac_header_preproc=no
60549 fi
60550 rm -f conftest.err conftest.$ac_ext
60551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60552 echo "${ECHO_T}$ac_header_preproc" >&6
60553
60554 # So?  What about this header?
60555 case $ac_header_compiler:$ac_header_preproc in
60556   yes:no )
60557     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60558 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60559     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60560 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60561     (
60562       cat <<\_ASBOX
60563 ## ------------------------------------ ##
60564 ## Report this to bug-autoconf@gnu.org. ##
60565 ## ------------------------------------ ##
60566 _ASBOX
60567     ) |
60568       sed "s/^/$as_me: WARNING:     /" >&2
60569     ;;
60570   no:yes )
60571     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60572 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60573     { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60574 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60575     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60576 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60577     (
60578       cat <<\_ASBOX
60579 ## ------------------------------------ ##
60580 ## Report this to bug-autoconf@gnu.org. ##
60581 ## ------------------------------------ ##
60582 _ASBOX
60583     ) |
60584       sed "s/^/$as_me: WARNING:     /" >&2
60585     ;;
60586 esac
60587 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60588 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60589 if test "${ac_cv_header_langinfo_h+set}" = set; then
60590   echo $ECHO_N "(cached) $ECHO_C" >&6
60591 else
60592   ac_cv_header_langinfo_h=$ac_header_preproc
60593 fi
60594 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60595 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60596
60597 fi
60598 if test $ac_cv_header_langinfo_h = yes; then
60599   ac_has_langinfo_h=yes
60600 else
60601   ac_has_langinfo_h=no
60602 fi
60603
60604
60605
60606     # Check for existence of libiconv.a providing XPG2 wchar_t support.
60607     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60608 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60609 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60610   echo $ECHO_N "(cached) $ECHO_C" >&6
60611 else
60612   ac_check_lib_save_LIBS=$LIBS
60613 LIBS="-liconv  $LIBS"
60614 if test x$gcc_no_link = xyes; then
60615   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60617    { (exit 1); exit 1; }; }
60618 fi
60619 cat >conftest.$ac_ext <<_ACEOF
60620 #line $LINENO "configure"
60621 /* confdefs.h.  */
60622 _ACEOF
60623 cat confdefs.h >>conftest.$ac_ext
60624 cat >>conftest.$ac_ext <<_ACEOF
60625 /* end confdefs.h.  */
60626
60627 /* Override any gcc2 internal prototype to avoid an error.  */
60628 #ifdef __cplusplus
60629 extern "C"
60630 #endif
60631 /* We use char because int might match the return type of a gcc2
60632    builtin and then its argument prototype would still apply.  */
60633 char iconv ();
60634 int
60635 main ()
60636 {
60637 iconv ();
60638   ;
60639   return 0;
60640 }
60641 _ACEOF
60642 rm -f conftest.$ac_objext conftest$ac_exeext
60643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60644   (eval $ac_link) 2>&5
60645   ac_status=$?
60646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60647   (exit $ac_status); } &&
60648          { ac_try='test -s conftest$ac_exeext'
60649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60650   (eval $ac_try) 2>&5
60651   ac_status=$?
60652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60653   (exit $ac_status); }; }; then
60654   ac_cv_lib_iconv_iconv=yes
60655 else
60656   echo "$as_me: failed program was:" >&5
60657 sed 's/^/| /' conftest.$ac_ext >&5
60658
60659 ac_cv_lib_iconv_iconv=no
60660 fi
60661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60662 LIBS=$ac_check_lib_save_LIBS
60663 fi
60664 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60665 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60666 if test $ac_cv_lib_iconv_iconv = yes; then
60667   libiconv="-liconv"
60668 fi
60669
60670     ac_save_LIBS="$LIBS"
60671     LIBS="$LIBS $libiconv"
60672
60673
60674
60675
60676
60677 for ac_func in iconv_open iconv_close iconv nl_langinfo
60678 do
60679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60680 echo "$as_me:$LINENO: checking for $ac_func" >&5
60681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60682 if eval "test \"\${$as_ac_var+set}\" = set"; then
60683   echo $ECHO_N "(cached) $ECHO_C" >&6
60684 else
60685   if test x$gcc_no_link = xyes; then
60686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60688    { (exit 1); exit 1; }; }
60689 fi
60690 cat >conftest.$ac_ext <<_ACEOF
60691 #line $LINENO "configure"
60692 /* confdefs.h.  */
60693 _ACEOF
60694 cat confdefs.h >>conftest.$ac_ext
60695 cat >>conftest.$ac_ext <<_ACEOF
60696 /* end confdefs.h.  */
60697 /* System header to define __stub macros and hopefully few prototypes,
60698     which can conflict with char $ac_func (); below.
60699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60700     <limits.h> exists even on freestanding compilers.  */
60701 #ifdef __STDC__
60702 # include <limits.h>
60703 #else
60704 # include <assert.h>
60705 #endif
60706 /* Override any gcc2 internal prototype to avoid an error.  */
60707 #ifdef __cplusplus
60708 extern "C"
60709 {
60710 #endif
60711 /* We use char because int might match the return type of a gcc2
60712    builtin and then its argument prototype would still apply.  */
60713 char $ac_func ();
60714 /* The GNU C library defines this for functions which it implements
60715     to always fail with ENOSYS.  Some functions are actually named
60716     something starting with __ and the normal name is an alias.  */
60717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60718 choke me
60719 #else
60720 char (*f) () = $ac_func;
60721 #endif
60722 #ifdef __cplusplus
60723 }
60724 #endif
60725
60726 int
60727 main ()
60728 {
60729 return f != $ac_func;
60730   ;
60731   return 0;
60732 }
60733 _ACEOF
60734 rm -f conftest.$ac_objext conftest$ac_exeext
60735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60736   (eval $ac_link) 2>&5
60737   ac_status=$?
60738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60739   (exit $ac_status); } &&
60740          { ac_try='test -s conftest$ac_exeext'
60741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60742   (eval $ac_try) 2>&5
60743   ac_status=$?
60744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60745   (exit $ac_status); }; }; then
60746   eval "$as_ac_var=yes"
60747 else
60748   echo "$as_me: failed program was:" >&5
60749 sed 's/^/| /' conftest.$ac_ext >&5
60750
60751 eval "$as_ac_var=no"
60752 fi
60753 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60754 fi
60755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60757 if test `eval echo '${'$as_ac_var'}'` = yes; then
60758   cat >>confdefs.h <<_ACEOF
60759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60760 _ACEOF
60761  ac_XPG2funcs=yes
60762 else
60763   ac_XPG2funcs=no
60764 fi
60765 done
60766
60767
60768     LIBS="$ac_save_LIBS"
60769
60770     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60771 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60772     if test x"$ac_has_iconv_h" = xyes &&
60773        test x"$ac_has_langinfo_h" = xyes &&
60774        test x"$ac_XPG2funcs" = xyes;
60775     then
60776       ac_XPG2_wchar_t=yes
60777     else
60778       ac_XPG2_wchar_t=no
60779     fi
60780     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60781 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60782
60783     # At the moment, only enable wchar_t specializations if all the
60784     # above support is present.
60785     if test x"$ac_isoC99_wchar_t" = xyes &&
60786        test x"$ac_XPG2_wchar_t" = xyes;
60787     then
60788       cat >>confdefs.h <<\_ACEOF
60789 #define _GLIBCXX_USE_WCHAR_T 1
60790 _ACEOF
60791
60792       enable_wchar_t=yes
60793     fi
60794   fi
60795   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60796 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60797   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60798 echo "${ECHO_T}$enable_wchar_t" >&6
60799
60800          # All of the dependencies for wide character support are here, so
60801          # turn it on.  This requires some syncronization with the
60802          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
60803          cat >>confdefs.h <<\_ACEOF
60804 #define _GLIBCXX_USE_WCHAR_T 1
60805 _ACEOF
60806
60807          # Are these tested for even when cross?
60808          cat >>confdefs.h <<\_ACEOF
60809 #define HAVE_FLOAT_H 1
60810 _ACEOF
60811
60812          cat >>confdefs.h <<\_ACEOF
60813 #define HAVE_IEEEFP_H 1
60814 _ACEOF
60815
60816          cat >>confdefs.h <<\_ACEOF
60817 #define HAVE_INTTYPES_H 1
60818 _ACEOF
60819
60820          cat >>confdefs.h <<\_ACEOF
60821 #define HAVE_LOCALE_H 1
60822 _ACEOF
60823
60824          cat >>confdefs.h <<\_ACEOF
60825 #define HAVE_NAN_H 1
60826 _ACEOF
60827
60828          cat >>confdefs.h <<\_ACEOF
60829 #define HAVE_SYS_FILIO_H 1
60830 _ACEOF
60831
60832          cat >>confdefs.h <<\_ACEOF
60833 #define HAVE_SYS_IOCTL_H 1
60834 _ACEOF
60835
60836          cat >>confdefs.h <<\_ACEOF
60837 #define HAVE_SYS_ISA_DEFS_H 1
60838 _ACEOF
60839
60840          cat >>confdefs.h <<\_ACEOF
60841 #define HAVE_SYS_RESOURCE_H 1
60842 _ACEOF
60843
60844          cat >>confdefs.h <<\_ACEOF
60845 #define HAVE_SYS_TIME_H 1
60846 _ACEOF
60847
60848          cat >>confdefs.h <<\_ACEOF
60849 #define HAVE_SYS_TYPES_H 1
60850 _ACEOF
60851
60852          cat >>confdefs.h <<\_ACEOF
60853 #define HAVE_UNISTD_H 1
60854 _ACEOF
60855
60856          cat >>confdefs.h <<\_ACEOF
60857 #define HAVE_WCHAR_H 1
60858 _ACEOF
60859
60860          cat >>confdefs.h <<\_ACEOF
60861 #define HAVE_WCTYPE_H 1
60862 _ACEOF
60863
60864          cat >>confdefs.h <<\_ACEOF
60865 #define HAVE_LIBM 1
60866 _ACEOF
60867
60868         ;;
60869     esac
60870     case "$target" in
60871       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
60872         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
60873         cat >>confdefs.h <<\_ACEOF
60874 #define HAVE___BUILTIN_ABS 1
60875 _ACEOF
60876
60877         cat >>confdefs.h <<\_ACEOF
60878 #define HAVE___BUILTIN_LABS 1
60879 _ACEOF
60880
60881         cat >>confdefs.h <<\_ACEOF
60882 #define HAVE___BUILTIN_FABS 1
60883 _ACEOF
60884
60885         cat >>confdefs.h <<\_ACEOF
60886 #define HAVE___BUILTIN_FABSF 1
60887 _ACEOF
60888
60889         cat >>confdefs.h <<\_ACEOF
60890 #define HAVE___BUILTIN_FABSL 1
60891 _ACEOF
60892
60893         cat >>confdefs.h <<\_ACEOF
60894 #define HAVE___BUILTIN_COS 1
60895 _ACEOF
60896
60897         cat >>confdefs.h <<\_ACEOF
60898 #define HAVE___BUILTIN_COSF 1
60899 _ACEOF
60900
60901         cat >>confdefs.h <<\_ACEOF
60902 #define HAVE___BUILTIN_SIN 1
60903 _ACEOF
60904
60905         cat >>confdefs.h <<\_ACEOF
60906 #define HAVE___BUILTIN_SINF 1
60907 _ACEOF
60908
60909        ;;
60910     esac
60911     cat >>confdefs.h <<\_ACEOF
60912 #define HAVE_STRTOF 1
60913 _ACEOF
60914
60915     cat >>confdefs.h <<\_ACEOF
60916 #define HAVE_STRTOLD 1
60917 _ACEOF
60918
60919     cat >>confdefs.h <<\_ACEOF
60920 #define HAVE_MMAP 1
60921 _ACEOF
60922
60923     cat >>confdefs.h <<\_ACEOF
60924 #define HAVE_COPYSIGN 1
60925 _ACEOF
60926
60927     cat >>confdefs.h <<\_ACEOF
60928 #define HAVE_ISNAN 1
60929 _ACEOF
60930
60931     cat >>confdefs.h <<\_ACEOF
60932 #define HAVE_ISNANF 1
60933 _ACEOF
60934
60935     cat >>confdefs.h <<\_ACEOF
60936 #define HAVE_MODFF 1
60937 _ACEOF
60938
60939     cat >>confdefs.h <<\_ACEOF
60940 #define HAVE_HYPOT 1
60941 _ACEOF
60942
60943     ;;
60944   *-vxworks)
60945     cat >>confdefs.h <<\_ACEOF
60946 #define HAVE_MMAP 1
60947 _ACEOF
60948
60949     cat >>confdefs.h <<\_ACEOF
60950 #define HAVE_ACOSF 1
60951 _ACEOF
60952
60953     cat >>confdefs.h <<\_ACEOF
60954 #define HAVE_ASINF 1
60955 _ACEOF
60956
60957     cat >>confdefs.h <<\_ACEOF
60958 #define HAVE_ATAN2F 1
60959 _ACEOF
60960
60961     cat >>confdefs.h <<\_ACEOF
60962 #define HAVE_ATANF 1
60963 _ACEOF
60964
60965     cat >>confdefs.h <<\_ACEOF
60966 #define HAVE_CEILF 1
60967 _ACEOF
60968
60969     cat >>confdefs.h <<\_ACEOF
60970 #define HAVE_COSF 1
60971 _ACEOF
60972
60973     cat >>confdefs.h <<\_ACEOF
60974 #define HAVE_COSHF 1
60975 _ACEOF
60976
60977     cat >>confdefs.h <<\_ACEOF
60978 #define HAVE_EXPF 1
60979 _ACEOF
60980
60981     cat >>confdefs.h <<\_ACEOF
60982 #define HAVE_FABSF 1
60983 _ACEOF
60984
60985     cat >>confdefs.h <<\_ACEOF
60986 #define HAVE_FLOORF 1
60987 _ACEOF
60988
60989     cat >>confdefs.h <<\_ACEOF
60990 #define HAVE_FMODF 1
60991 _ACEOF
60992
60993     cat >>confdefs.h <<\_ACEOF
60994 #define HAVE_HYPOT 1
60995 _ACEOF
60996
60997     cat >>confdefs.h <<\_ACEOF
60998 #define HAVE_LOG10F 1
60999 _ACEOF
61000
61001     cat >>confdefs.h <<\_ACEOF
61002 #define HAVE_LOGF 1
61003 _ACEOF
61004
61005     cat >>confdefs.h <<\_ACEOF
61006 #define HAVE_POWF 1
61007 _ACEOF
61008
61009     cat >>confdefs.h <<\_ACEOF
61010 #define HAVE_SINF 1
61011 _ACEOF
61012
61013     cat >>confdefs.h <<\_ACEOF
61014 #define HAVE_SINHF 1
61015 _ACEOF
61016
61017     cat >>confdefs.h <<\_ACEOF
61018 #define HAVE_SQRTF 1
61019 _ACEOF
61020
61021     cat >>confdefs.h <<\_ACEOF
61022 #define HAVE_TANF 1
61023 _ACEOF
61024
61025     cat >>confdefs.h <<\_ACEOF
61026 #define HAVE_TANHF 1
61027 _ACEOF
61028
61029     ;;
61030   *-windiss*)
61031     cat >>confdefs.h <<\_ACEOF
61032 #define HAVE_ACOSF 1
61033 _ACEOF
61034
61035     cat >>confdefs.h <<\_ACEOF
61036 #define HAVE_ACOSL 1
61037 _ACEOF
61038
61039     cat >>confdefs.h <<\_ACEOF
61040 #define HAVE_ASINF 1
61041 _ACEOF
61042
61043     cat >>confdefs.h <<\_ACEOF
61044 #define HAVE_ASINL 1
61045 _ACEOF
61046
61047     cat >>confdefs.h <<\_ACEOF
61048 #define HAVE_ATAN2F 1
61049 _ACEOF
61050
61051     cat >>confdefs.h <<\_ACEOF
61052 #define HAVE_ATAN2L 1
61053 _ACEOF
61054
61055     cat >>confdefs.h <<\_ACEOF
61056 #define HAVE_ATANF 1
61057 _ACEOF
61058
61059     cat >>confdefs.h <<\_ACEOF
61060 #define HAVE_ATANL 1
61061 _ACEOF
61062
61063     cat >>confdefs.h <<\_ACEOF
61064 #define HAVE_CEILF 1
61065 _ACEOF
61066
61067     cat >>confdefs.h <<\_ACEOF
61068 #define HAVE_CEILL 1
61069 _ACEOF
61070
61071     cat >>confdefs.h <<\_ACEOF
61072 #define HAVE_COPYSIGN 1
61073 _ACEOF
61074
61075     cat >>confdefs.h <<\_ACEOF
61076 #define HAVE_COPYSIGNF 1
61077 _ACEOF
61078
61079     cat >>confdefs.h <<\_ACEOF
61080 #define HAVE_COSF 1
61081 _ACEOF
61082
61083     cat >>confdefs.h <<\_ACEOF
61084 #define HAVE_COSL 1
61085 _ACEOF
61086
61087     cat >>confdefs.h <<\_ACEOF
61088 #define HAVE_COSHF 1
61089 _ACEOF
61090
61091     cat >>confdefs.h <<\_ACEOF
61092 #define HAVE_COSHL 1
61093 _ACEOF
61094
61095     cat >>confdefs.h <<\_ACEOF
61096 #define HAVE_EXPF 1
61097 _ACEOF
61098
61099     cat >>confdefs.h <<\_ACEOF
61100 #define HAVE_EXPL 1
61101 _ACEOF
61102
61103     cat >>confdefs.h <<\_ACEOF
61104 #define HAVE_FABSF 1
61105 _ACEOF
61106
61107     cat >>confdefs.h <<\_ACEOF
61108 #define HAVE_FABSL 1
61109 _ACEOF
61110
61111     cat >>confdefs.h <<\_ACEOF
61112 #define HAVE_FLOORF 1
61113 _ACEOF
61114
61115     cat >>confdefs.h <<\_ACEOF
61116 #define HAVE_FLOORL 1
61117 _ACEOF
61118
61119     cat >>confdefs.h <<\_ACEOF
61120 #define HAVE_FMODF 1
61121 _ACEOF
61122
61123     cat >>confdefs.h <<\_ACEOF
61124 #define HAVE_FMODL 1
61125 _ACEOF
61126
61127     cat >>confdefs.h <<\_ACEOF
61128 #define HAVE_FREXPF 1
61129 _ACEOF
61130
61131     cat >>confdefs.h <<\_ACEOF
61132 #define HAVE_FREXPL 1
61133 _ACEOF
61134
61135     cat >>confdefs.h <<\_ACEOF
61136 #define HAVE_LDEXPF 1
61137 _ACEOF
61138
61139     cat >>confdefs.h <<\_ACEOF
61140 #define HAVE_LDEXPL 1
61141 _ACEOF
61142
61143     cat >>confdefs.h <<\_ACEOF
61144 #define HAVE_LOG10F 1
61145 _ACEOF
61146
61147     cat >>confdefs.h <<\_ACEOF
61148 #define HAVE_LOG10L 1
61149 _ACEOF
61150
61151     cat >>confdefs.h <<\_ACEOF
61152 #define HAVE_LOGF 1
61153 _ACEOF
61154
61155     cat >>confdefs.h <<\_ACEOF
61156 #define HAVE_MODFF 1
61157 _ACEOF
61158
61159     cat >>confdefs.h <<\_ACEOF
61160 #define HAVE_MODFL 1
61161 _ACEOF
61162
61163     cat >>confdefs.h <<\_ACEOF
61164 #define HAVE_POWF 1
61165 _ACEOF
61166
61167     cat >>confdefs.h <<\_ACEOF
61168 #define HAVE_POWL 1
61169 _ACEOF
61170
61171     cat >>confdefs.h <<\_ACEOF
61172 #define HAVE_SINF 1
61173 _ACEOF
61174
61175     cat >>confdefs.h <<\_ACEOF
61176 #define HAVE_SINL 1
61177 _ACEOF
61178
61179     cat >>confdefs.h <<\_ACEOF
61180 #define HAVE_SINHF 1
61181 _ACEOF
61182
61183     cat >>confdefs.h <<\_ACEOF
61184 #define HAVE_SINHL 1
61185 _ACEOF
61186
61187     cat >>confdefs.h <<\_ACEOF
61188 #define HAVE_SQRTF 1
61189 _ACEOF
61190
61191     cat >>confdefs.h <<\_ACEOF
61192 #define HAVE_SQRTL 1
61193 _ACEOF
61194
61195     cat >>confdefs.h <<\_ACEOF
61196 #define HAVE_TANF 1
61197 _ACEOF
61198
61199     cat >>confdefs.h <<\_ACEOF
61200 #define HAVE_TANL 1
61201 _ACEOF
61202
61203     cat >>confdefs.h <<\_ACEOF
61204 #define HAVE_TANHF 1
61205 _ACEOF
61206
61207     cat >>confdefs.h <<\_ACEOF
61208 #define HAVE_TANHL 1
61209 _ACEOF
61210
61211     ;;
61212   *)
61213     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
61214 echo "$as_me: error: No support for this host/target combination." >&2;}
61215    { (exit 1); exit 1; }; }
61216    ;;
61217 esac
61218
61219
61220   fi
61221
61222   # At some point, we should differentiate between architectures
61223   # like x86, which have long double versions, and alpha/powerpc/etc.,
61224   # which don't. For the time being, punt.
61225   if test x"long_double_math_on_this_cpu" = x"yes"; then
61226     cat >>confdefs.h <<\_ACEOF
61227 #define HAVE_ACOSL 1
61228 _ACEOF
61229
61230     cat >>confdefs.h <<\_ACEOF
61231 #define HAVE_ASINL 1
61232 _ACEOF
61233
61234     cat >>confdefs.h <<\_ACEOF
61235 #define HAVE_ATAN2L 1
61236 _ACEOF
61237
61238     cat >>confdefs.h <<\_ACEOF
61239 #define HAVE_ATANL 1
61240 _ACEOF
61241
61242     cat >>confdefs.h <<\_ACEOF
61243 #define HAVE_CEILL 1
61244 _ACEOF
61245
61246     cat >>confdefs.h <<\_ACEOF
61247 #define HAVE_COPYSIGNL 1
61248 _ACEOF
61249
61250     cat >>confdefs.h <<\_ACEOF
61251 #define HAVE_COSL 1
61252 _ACEOF
61253
61254     cat >>confdefs.h <<\_ACEOF
61255 #define HAVE_COSHL 1
61256 _ACEOF
61257
61258     cat >>confdefs.h <<\_ACEOF
61259 #define HAVE_EXPL 1
61260 _ACEOF
61261
61262     cat >>confdefs.h <<\_ACEOF
61263 #define HAVE_FABSL 1
61264 _ACEOF
61265
61266     cat >>confdefs.h <<\_ACEOF
61267 #define HAVE_FLOORL 1
61268 _ACEOF
61269
61270     cat >>confdefs.h <<\_ACEOF
61271 #define HAVE_FMODL 1
61272 _ACEOF
61273
61274     cat >>confdefs.h <<\_ACEOF
61275 #define HAVE_FREXPL 1
61276 _ACEOF
61277
61278     cat >>confdefs.h <<\_ACEOF
61279 #define HAVE_LDEXPL 1
61280 _ACEOF
61281
61282     cat >>confdefs.h <<\_ACEOF
61283 #define HAVE_LOG10L 1
61284 _ACEOF
61285
61286     cat >>confdefs.h <<\_ACEOF
61287 #define HAVE_LOGL 1
61288 _ACEOF
61289
61290     cat >>confdefs.h <<\_ACEOF
61291 #define HAVE_MODFL 1
61292 _ACEOF
61293
61294     cat >>confdefs.h <<\_ACEOF
61295 #define HAVE_POWL 1
61296 _ACEOF
61297
61298     cat >>confdefs.h <<\_ACEOF
61299 #define HAVE_SINCOSL 1
61300 _ACEOF
61301
61302     cat >>confdefs.h <<\_ACEOF
61303 #define HAVE_SINL 1
61304 _ACEOF
61305
61306     cat >>confdefs.h <<\_ACEOF
61307 #define HAVE_SINHL 1
61308 _ACEOF
61309
61310     cat >>confdefs.h <<\_ACEOF
61311 #define HAVE_SQRTL 1
61312 _ACEOF
61313
61314     cat >>confdefs.h <<\_ACEOF
61315 #define HAVE_TANL 1
61316 _ACEOF
61317
61318     cat >>confdefs.h <<\_ACEOF
61319 #define HAVE_TANHL 1
61320 _ACEOF
61321
61322   fi
61323
61324 fi
61325
61326 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
61327
61328
61329  # Check whether --enable-symvers or --disable-symvers was given.
61330 if test "${enable_symvers+set}" = set; then
61331   enableval="$enable_symvers"
61332
61333       case "$enableval" in
61334        yes|no|gnu) ;;
61335        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
61336 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
61337    { (exit 1); exit 1; }; } ;;
61338                           esac
61339
61340 else
61341   enable_symvers=yes
61342 fi;
61343
61344
61345 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
61346 # don't know enough about $LD to do tricks...
61347
61348 # FIXME  The following test is too strict, in theory.
61349 if test $enable_shared = no ||
61350         test "x$LD" = x ||
61351         test x$glibcxx_gnu_ld_version = x; then
61352   enable_symvers=no
61353 fi
61354
61355 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
61356 if test $enable_symvers != no; then
61357   echo "$as_me:$LINENO: checking for shared libgcc" >&5
61358 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
61359   ac_save_CFLAGS="$CFLAGS"
61360   CFLAGS=' -lgcc_s'
61361   if test x$gcc_no_link = xyes; then
61362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61364    { (exit 1); exit 1; }; }
61365 fi
61366 cat >conftest.$ac_ext <<_ACEOF
61367 #line $LINENO "configure"
61368 /* confdefs.h.  */
61369 _ACEOF
61370 cat confdefs.h >>conftest.$ac_ext
61371 cat >>conftest.$ac_ext <<_ACEOF
61372 /* end confdefs.h.  */
61373
61374 int
61375 main ()
61376 {
61377 return 0;
61378   ;
61379   return 0;
61380 }
61381 _ACEOF
61382 rm -f conftest.$ac_objext conftest$ac_exeext
61383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61384   (eval $ac_link) 2>&5
61385   ac_status=$?
61386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61387   (exit $ac_status); } &&
61388          { ac_try='test -s conftest$ac_exeext'
61389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61390   (eval $ac_try) 2>&5
61391   ac_status=$?
61392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61393   (exit $ac_status); }; }; then
61394   glibcxx_shared_libgcc=yes
61395 else
61396   echo "$as_me: failed program was:" >&5
61397 sed 's/^/| /' conftest.$ac_ext >&5
61398
61399 glibcxx_shared_libgcc=no
61400 fi
61401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61402   CFLAGS="$ac_save_CFLAGS"
61403   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
61404 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
61405 fi
61406
61407 # For GNU ld, we need at least this version.  The format is described in
61408 # GLIBCXX_CHECK_LINKER_FEATURES above.
61409 glibcxx_min_gnu_ld_version=21400
61410 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
61411
61412 # Check to see if unspecified "yes" value can win, given results above.
61413 # Change "yes" into either "no" or a style name.
61414 if test $enable_symvers = yes; then
61415   if test $with_gnu_ld = yes &&
61416      test $glibcxx_shared_libgcc = yes;
61417   then
61418     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
61419       enable_symvers=gnu
61420     else
61421       # The right tools, the right setup, but too old.  Fallbacks?
61422       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
61423 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
61424       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
61425 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
61426       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
61427 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
61428       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
61429 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
61430       if test $glibcxx_gnu_ld_version -ge 21200 ; then
61431         # Globbing fix is present, proper block support is not.
61432                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61433 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61434         enable_symvers=no
61435       else
61436         # 2.11 or older.
61437         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61438 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61439         enable_symvers=no
61440       fi
61441     fi
61442   else
61443     # just fail for now
61444     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
61445 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
61446     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
61447 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
61448     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
61449 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
61450     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61451 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61452     enable_symvers=no
61453   fi
61454 fi
61455
61456 # Everything parsed; figure out what file to use.
61457 case $enable_symvers in
61458   no)
61459     SYMVER_MAP=config/linker-map.dummy
61460     ;;
61461   gnu)
61462     SYMVER_MAP=config/linker-map.gnu
61463     cat >>confdefs.h <<\_ACEOF
61464 #define _GLIBCXX_SYMVER 1
61465 _ACEOF
61466
61467     ;;
61468 esac
61469
61470
61471
61472
61473 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
61474 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
61475
61476
61477 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
61478
61479   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
61480     # Do checks for memory limit functions.
61481
61482   setrlimit_have_headers=yes
61483
61484
61485
61486 for ac_header in unistd.h sys/time.h sys/resource.h
61487 do
61488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61490   echo "$as_me:$LINENO: checking for $ac_header" >&5
61491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61493   echo $ECHO_N "(cached) $ECHO_C" >&6
61494 fi
61495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61497 else
61498   # Is the header compilable?
61499 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61501 cat >conftest.$ac_ext <<_ACEOF
61502 #line $LINENO "configure"
61503 /* confdefs.h.  */
61504 _ACEOF
61505 cat confdefs.h >>conftest.$ac_ext
61506 cat >>conftest.$ac_ext <<_ACEOF
61507 /* end confdefs.h.  */
61508 $ac_includes_default
61509 #include <$ac_header>
61510 _ACEOF
61511 rm -f conftest.$ac_objext
61512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61513   (eval $ac_compile) 2>&5
61514   ac_status=$?
61515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61516   (exit $ac_status); } &&
61517          { ac_try='test -s conftest.$ac_objext'
61518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61519   (eval $ac_try) 2>&5
61520   ac_status=$?
61521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61522   (exit $ac_status); }; }; then
61523   ac_header_compiler=yes
61524 else
61525   echo "$as_me: failed program was:" >&5
61526 sed 's/^/| /' conftest.$ac_ext >&5
61527
61528 ac_header_compiler=no
61529 fi
61530 rm -f conftest.$ac_objext conftest.$ac_ext
61531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61532 echo "${ECHO_T}$ac_header_compiler" >&6
61533
61534 # Is the header present?
61535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61537 cat >conftest.$ac_ext <<_ACEOF
61538 #line $LINENO "configure"
61539 /* confdefs.h.  */
61540 _ACEOF
61541 cat confdefs.h >>conftest.$ac_ext
61542 cat >>conftest.$ac_ext <<_ACEOF
61543 /* end confdefs.h.  */
61544 #include <$ac_header>
61545 _ACEOF
61546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61547   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61548   ac_status=$?
61549   grep -v '^ *+' conftest.er1 >conftest.err
61550   rm -f conftest.er1
61551   cat conftest.err >&5
61552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61553   (exit $ac_status); } >/dev/null; then
61554   if test -s conftest.err; then
61555     ac_cpp_err=$ac_c_preproc_warn_flag
61556   else
61557     ac_cpp_err=
61558   fi
61559 else
61560   ac_cpp_err=yes
61561 fi
61562 if test -z "$ac_cpp_err"; then
61563   ac_header_preproc=yes
61564 else
61565   echo "$as_me: failed program was:" >&5
61566 sed 's/^/| /' conftest.$ac_ext >&5
61567
61568   ac_header_preproc=no
61569 fi
61570 rm -f conftest.err conftest.$ac_ext
61571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61572 echo "${ECHO_T}$ac_header_preproc" >&6
61573
61574 # So?  What about this header?
61575 case $ac_header_compiler:$ac_header_preproc in
61576   yes:no )
61577     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61579     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61581     (
61582       cat <<\_ASBOX
61583 ## ------------------------------------ ##
61584 ## Report this to bug-autoconf@gnu.org. ##
61585 ## ------------------------------------ ##
61586 _ASBOX
61587     ) |
61588       sed "s/^/$as_me: WARNING:     /" >&2
61589     ;;
61590   no:yes )
61591     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61593     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61595     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61597     (
61598       cat <<\_ASBOX
61599 ## ------------------------------------ ##
61600 ## Report this to bug-autoconf@gnu.org. ##
61601 ## ------------------------------------ ##
61602 _ASBOX
61603     ) |
61604       sed "s/^/$as_me: WARNING:     /" >&2
61605     ;;
61606 esac
61607 echo "$as_me:$LINENO: checking for $ac_header" >&5
61608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61610   echo $ECHO_N "(cached) $ECHO_C" >&6
61611 else
61612   eval "$as_ac_Header=$ac_header_preproc"
61613 fi
61614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61616
61617 fi
61618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61619   cat >>confdefs.h <<_ACEOF
61620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61621 _ACEOF
61622
61623 else
61624   setrlimit_have_headers=no
61625 fi
61626
61627 done
61628
61629   # If don't have the headers, then we can't run the tests now, and we
61630   # won't be seeing any of these during testsuite compilation.
61631   if test $setrlimit_have_headers = yes; then
61632     # Can't do these in a loop, else the resulting syntax is wrong.
61633
61634   cat >conftest.$ac_ext <<_ACEOF
61635 #line $LINENO "configure"
61636 /* confdefs.h.  */
61637 _ACEOF
61638 cat confdefs.h >>conftest.$ac_ext
61639 cat >>conftest.$ac_ext <<_ACEOF
61640 /* end confdefs.h.  */
61641 #include <unistd.h>
61642      #include <sys/time.h>
61643      #include <sys/resource.h>
61644
61645 int
61646 main ()
61647 {
61648  int f = RLIMIT_DATA ;
61649   ;
61650   return 0;
61651 }
61652 _ACEOF
61653 rm -f conftest.$ac_objext
61654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61655   (eval $ac_compile) 2>&5
61656   ac_status=$?
61657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61658   (exit $ac_status); } &&
61659          { ac_try='test -s conftest.$ac_objext'
61660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61661   (eval $ac_try) 2>&5
61662   ac_status=$?
61663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61664   (exit $ac_status); }; }; then
61665   glibcxx_mresult=1
61666 else
61667   echo "$as_me: failed program was:" >&5
61668 sed 's/^/| /' conftest.$ac_ext >&5
61669
61670 glibcxx_mresult=0
61671 fi
61672 rm -f conftest.$ac_objext conftest.$ac_ext
61673
61674 cat >>confdefs.h <<_ACEOF
61675 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
61676 _ACEOF
61677
61678
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 <unistd.h>
61688      #include <sys/time.h>
61689      #include <sys/resource.h>
61690
61691 int
61692 main ()
61693 {
61694  int f = RLIMIT_RSS ;
61695   ;
61696   return 0;
61697 }
61698 _ACEOF
61699 rm -f conftest.$ac_objext
61700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61701   (eval $ac_compile) 2>&5
61702   ac_status=$?
61703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61704   (exit $ac_status); } &&
61705          { ac_try='test -s conftest.$ac_objext'
61706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61707   (eval $ac_try) 2>&5
61708   ac_status=$?
61709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61710   (exit $ac_status); }; }; then
61711   glibcxx_mresult=1
61712 else
61713   echo "$as_me: failed program was:" >&5
61714 sed 's/^/| /' conftest.$ac_ext >&5
61715
61716 glibcxx_mresult=0
61717 fi
61718 rm -f conftest.$ac_objext conftest.$ac_ext
61719
61720 cat >>confdefs.h <<_ACEOF
61721 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
61722 _ACEOF
61723
61724
61725
61726   cat >conftest.$ac_ext <<_ACEOF
61727 #line $LINENO "configure"
61728 /* confdefs.h.  */
61729 _ACEOF
61730 cat confdefs.h >>conftest.$ac_ext
61731 cat >>conftest.$ac_ext <<_ACEOF
61732 /* end confdefs.h.  */
61733 #include <unistd.h>
61734      #include <sys/time.h>
61735      #include <sys/resource.h>
61736
61737 int
61738 main ()
61739 {
61740  int f = RLIMIT_VMEM ;
61741   ;
61742   return 0;
61743 }
61744 _ACEOF
61745 rm -f conftest.$ac_objext
61746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61747   (eval $ac_compile) 2>&5
61748   ac_status=$?
61749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61750   (exit $ac_status); } &&
61751          { ac_try='test -s conftest.$ac_objext'
61752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61753   (eval $ac_try) 2>&5
61754   ac_status=$?
61755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61756   (exit $ac_status); }; }; then
61757   glibcxx_mresult=1
61758 else
61759   echo "$as_me: failed program was:" >&5
61760 sed 's/^/| /' conftest.$ac_ext >&5
61761
61762 glibcxx_mresult=0
61763 fi
61764 rm -f conftest.$ac_objext conftest.$ac_ext
61765
61766 cat >>confdefs.h <<_ACEOF
61767 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
61768 _ACEOF
61769
61770
61771
61772   cat >conftest.$ac_ext <<_ACEOF
61773 #line $LINENO "configure"
61774 /* confdefs.h.  */
61775 _ACEOF
61776 cat confdefs.h >>conftest.$ac_ext
61777 cat >>conftest.$ac_ext <<_ACEOF
61778 /* end confdefs.h.  */
61779 #include <unistd.h>
61780      #include <sys/time.h>
61781      #include <sys/resource.h>
61782
61783 int
61784 main ()
61785 {
61786  int f = RLIMIT_AS ;
61787   ;
61788   return 0;
61789 }
61790 _ACEOF
61791 rm -f conftest.$ac_objext
61792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61793   (eval $ac_compile) 2>&5
61794   ac_status=$?
61795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61796   (exit $ac_status); } &&
61797          { ac_try='test -s conftest.$ac_objext'
61798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61799   (eval $ac_try) 2>&5
61800   ac_status=$?
61801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61802   (exit $ac_status); }; }; then
61803   glibcxx_mresult=1
61804 else
61805   echo "$as_me: failed program was:" >&5
61806 sed 's/^/| /' conftest.$ac_ext >&5
61807
61808 glibcxx_mresult=0
61809 fi
61810 rm -f conftest.$ac_objext conftest.$ac_ext
61811
61812 cat >>confdefs.h <<_ACEOF
61813 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
61814 _ACEOF
61815
61816
61817
61818     # Check for rlimit, setrlimit.
61819     if test "${ac_setrlimit+set}" = set; then
61820   echo $ECHO_N "(cached) $ECHO_C" >&6
61821 else
61822
61823       cat >conftest.$ac_ext <<_ACEOF
61824 #line $LINENO "configure"
61825 /* confdefs.h.  */
61826 _ACEOF
61827 cat confdefs.h >>conftest.$ac_ext
61828 cat >>conftest.$ac_ext <<_ACEOF
61829 /* end confdefs.h.  */
61830 #include <unistd.h>
61831          #include <sys/time.h>
61832          #include <sys/resource.h>
61833
61834 int
61835 main ()
61836 {
61837 struct rlimit r;
61838          setrlimit(0, &r);
61839   ;
61840   return 0;
61841 }
61842 _ACEOF
61843 rm -f conftest.$ac_objext
61844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61845   (eval $ac_compile) 2>&5
61846   ac_status=$?
61847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61848   (exit $ac_status); } &&
61849          { ac_try='test -s conftest.$ac_objext'
61850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61851   (eval $ac_try) 2>&5
61852   ac_status=$?
61853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61854   (exit $ac_status); }; }; then
61855   ac_setrlimit=yes
61856 else
61857   echo "$as_me: failed program was:" >&5
61858 sed 's/^/| /' conftest.$ac_ext >&5
61859
61860 ac_setrlimit=no
61861 fi
61862 rm -f conftest.$ac_objext conftest.$ac_ext
61863
61864 fi
61865
61866   fi
61867
61868   echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
61869 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
61870   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
61871     ac_mem_limits=yes
61872     cat >>confdefs.h <<\_ACEOF
61873 #define _GLIBCXX_MEM_LIMITS 1
61874 _ACEOF
61875
61876   else
61877     ac_mem_limits=no
61878   fi
61879   echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
61880 echo "${ECHO_T}$ac_mem_limits" >&6
61881
61882
61883     # Look for setenv, so that extended locale tests can be performed.
61884
61885   echo "$as_me:$LINENO: checking for setenv declaration" >&5
61886 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
61887   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
61888     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
61889   echo $ECHO_N "(cached) $ECHO_C" >&6
61890 else
61891
61892
61893
61894       ac_ext=cc
61895 ac_cpp='$CXXCPP $CPPFLAGS'
61896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61899
61900       cat >conftest.$ac_ext <<_ACEOF
61901 #line $LINENO "configure"
61902 /* confdefs.h.  */
61903 _ACEOF
61904 cat confdefs.h >>conftest.$ac_ext
61905 cat >>conftest.$ac_ext <<_ACEOF
61906 /* end confdefs.h.  */
61907 #include <stdlib.h>
61908 int
61909 main ()
61910 {
61911  setenv(0, 0, 0);
61912   ;
61913   return 0;
61914 }
61915 _ACEOF
61916 rm -f conftest.$ac_objext
61917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61918   (eval $ac_compile) 2>&5
61919   ac_status=$?
61920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921   (exit $ac_status); } &&
61922          { ac_try='test -s conftest.$ac_objext'
61923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61924   (eval $ac_try) 2>&5
61925   ac_status=$?
61926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61927   (exit $ac_status); }; }; then
61928   glibcxx_cv_func_setenv_use=yes
61929 else
61930   echo "$as_me: failed program was:" >&5
61931 sed 's/^/| /' conftest.$ac_ext >&5
61932
61933 glibcxx_cv_func_setenv_use=no
61934 fi
61935 rm -f conftest.$ac_objext conftest.$ac_ext
61936       ac_ext=c
61937 ac_cpp='$CPP $CPPFLAGS'
61938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61941
61942
61943 fi
61944
61945   fi
61946   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
61947 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
61948   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
61949
61950 for ac_func in setenv
61951 do
61952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61953 echo "$as_me:$LINENO: checking for $ac_func" >&5
61954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61955 if eval "test \"\${$as_ac_var+set}\" = set"; then
61956   echo $ECHO_N "(cached) $ECHO_C" >&6
61957 else
61958   if test x$gcc_no_link = xyes; then
61959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61961    { (exit 1); exit 1; }; }
61962 fi
61963 cat >conftest.$ac_ext <<_ACEOF
61964 #line $LINENO "configure"
61965 /* confdefs.h.  */
61966 _ACEOF
61967 cat confdefs.h >>conftest.$ac_ext
61968 cat >>conftest.$ac_ext <<_ACEOF
61969 /* end confdefs.h.  */
61970 /* System header to define __stub macros and hopefully few prototypes,
61971     which can conflict with char $ac_func (); below.
61972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61973     <limits.h> exists even on freestanding compilers.  */
61974 #ifdef __STDC__
61975 # include <limits.h>
61976 #else
61977 # include <assert.h>
61978 #endif
61979 /* Override any gcc2 internal prototype to avoid an error.  */
61980 #ifdef __cplusplus
61981 extern "C"
61982 {
61983 #endif
61984 /* We use char because int might match the return type of a gcc2
61985    builtin and then its argument prototype would still apply.  */
61986 char $ac_func ();
61987 /* The GNU C library defines this for functions which it implements
61988     to always fail with ENOSYS.  Some functions are actually named
61989     something starting with __ and the normal name is an alias.  */
61990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61991 choke me
61992 #else
61993 char (*f) () = $ac_func;
61994 #endif
61995 #ifdef __cplusplus
61996 }
61997 #endif
61998
61999 int
62000 main ()
62001 {
62002 return f != $ac_func;
62003   ;
62004   return 0;
62005 }
62006 _ACEOF
62007 rm -f conftest.$ac_objext conftest$ac_exeext
62008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62009   (eval $ac_link) 2>&5
62010   ac_status=$?
62011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62012   (exit $ac_status); } &&
62013          { ac_try='test -s conftest$ac_exeext'
62014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62015   (eval $ac_try) 2>&5
62016   ac_status=$?
62017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62018   (exit $ac_status); }; }; then
62019   eval "$as_ac_var=yes"
62020 else
62021   echo "$as_me: failed program was:" >&5
62022 sed 's/^/| /' conftest.$ac_ext >&5
62023
62024 eval "$as_ac_var=no"
62025 fi
62026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62027 fi
62028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62030 if test `eval echo '${'$as_ac_var'}'` = yes; then
62031   cat >>confdefs.h <<_ACEOF
62032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62033 _ACEOF
62034
62035 fi
62036 done
62037
62038   fi
62039
62040
62041     if test $enable_symvers = no; then
62042       enable_abi_check=no
62043     else
62044       case "$host" in
62045         *-*-cygwin*)
62046           enable_abi_check=no ;;
62047         *)
62048           enable_abi_check=yes ;;
62049       esac
62050     fi
62051   else
62052     # Only build this as native, since automake does not understand
62053     # CXX_FOR_BUILD.
62054     enable_abi_check=no
62055   fi
62056
62057   # Export file names for ABI checking.
62058   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
62059
62060
62061
62062
62063
62064
62065 # Propagate the target-specific source directories through the build chain.
62066 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
62067 # uses it, and it only gets used in this file.)
62068 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
62069 OS_INC_SRCDIR=config/${os_include_dir}
62070
62071
62072
62073 # Determine cross-compile flags and AM_CONDITIONALs.
62074 #AC_SUBST(GLIBCXX_IS_NATIVE)
62075 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
62076 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
62077 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
62078
62079
62080 if test $is_hosted = yes; then
62081   GLIBCXX_HOSTED_TRUE=
62082   GLIBCXX_HOSTED_FALSE='#'
62083 else
62084   GLIBCXX_HOSTED_TRUE='#'
62085   GLIBCXX_HOSTED_FALSE=
62086 fi
62087
62088
62089
62090
62091 if test $enable_libstdcxx_pch = yes; then
62092   GLIBCXX_BUILD_PCH_TRUE=
62093   GLIBCXX_BUILD_PCH_FALSE='#'
62094 else
62095   GLIBCXX_BUILD_PCH_TRUE='#'
62096   GLIBCXX_BUILD_PCH_FALSE=
62097 fi
62098
62099
62100
62101
62102 if test $enable_cheaders = c; then
62103   GLIBCXX_C_HEADERS_C_TRUE=
62104   GLIBCXX_C_HEADERS_C_FALSE='#'
62105 else
62106   GLIBCXX_C_HEADERS_C_TRUE='#'
62107   GLIBCXX_C_HEADERS_C_FALSE=
62108 fi
62109
62110
62111
62112
62113 if test $enable_cheaders = c_std; then
62114   GLIBCXX_C_HEADERS_C_STD_TRUE=
62115   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
62116 else
62117   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
62118   GLIBCXX_C_HEADERS_C_STD_FALSE=
62119 fi
62120
62121
62122
62123
62124 if test $c_compatibility = yes; then
62125   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
62126   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
62127 else
62128   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
62129   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
62130 fi
62131
62132
62133
62134
62135 if test $enable_libstdcxx_debug = yes; then
62136   GLIBCXX_BUILD_DEBUG_TRUE=
62137   GLIBCXX_BUILD_DEBUG_FALSE='#'
62138 else
62139   GLIBCXX_BUILD_DEBUG_TRUE='#'
62140   GLIBCXX_BUILD_DEBUG_FALSE=
62141 fi
62142
62143
62144
62145
62146 if test $enable_symvers != no; then
62147   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
62148   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
62149 else
62150   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
62151   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
62152 fi
62153
62154
62155
62156
62157 if test $enable_wchar_t = yes; then
62158   GLIBCXX_TEST_WCHAR_T_TRUE=
62159   GLIBCXX_TEST_WCHAR_T_FALSE='#'
62160 else
62161   GLIBCXX_TEST_WCHAR_T_TRUE='#'
62162   GLIBCXX_TEST_WCHAR_T_FALSE=
62163 fi
62164
62165
62166
62167
62168 if test $enable_abi_check = yes; then
62169   GLIBCXX_TEST_ABI_TRUE=
62170   GLIBCXX_TEST_ABI_FALSE='#'
62171 else
62172   GLIBCXX_TEST_ABI_TRUE='#'
62173   GLIBCXX_TEST_ABI_FALSE=
62174 fi
62175
62176
62177
62178
62179 cat >confcache <<\_ACEOF
62180 # This file is a shell script that caches the results of configure
62181 # tests run on this system so they can be shared between configure
62182 # scripts and configure runs, see configure's option --config-cache.
62183 # It is not useful on other systems.  If it contains results you don't
62184 # want to keep, you may remove or edit it.
62185 #
62186 # config.status only pays attention to the cache file if you give it
62187 # the --recheck option to rerun configure.
62188 #
62189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
62190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
62191 # following values.
62192
62193 _ACEOF
62194
62195 # The following way of writing the cache mishandles newlines in values,
62196 # but we know of no workaround that is simple, portable, and efficient.
62197 # So, don't put newlines in cache variables' values.
62198 # Ultrix sh set writes to stderr and can't be redirected directly,
62199 # and sets the high bit in the cache file unless we assign to the vars.
62200 {
62201   (set) 2>&1 |
62202     case `(ac_space=' '; set | grep ac_space) 2>&1` in
62203     *ac_space=\ *)
62204       # `set' does not quote correctly, so add quotes (double-quote
62205       # substitution turns \\\\ into \\, and sed turns \\ into \).
62206       sed -n \
62207         "s/'/'\\\\''/g;
62208           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62209       ;;
62210     *)
62211       # `set' quotes correctly as required by POSIX, so do not add quotes.
62212       sed -n \
62213         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
62214       ;;
62215     esac;
62216 } |
62217   sed '
62218      t clear
62219      : clear
62220      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62221      t end
62222      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62223      : end' >>confcache
62224 if diff $cache_file confcache >/dev/null 2>&1; then :; else
62225   if test -w $cache_file; then
62226     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
62227     cat confcache >$cache_file
62228   else
62229     echo "not updating unwritable cache $cache_file"
62230   fi
62231 fi
62232 rm -f confcache
62233
62234 if test ${multilib} = yes; then
62235   multilib_arg="--enable-multilib"
62236 else
62237   multilib_arg=
62238 fi
62239
62240 # Export all the install information.
62241
62242   glibcxx_toolexecdir=no
62243   glibcxx_toolexeclibdir=no
62244   glibcxx_prefixdir=$prefix
62245
62246   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
62247 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
62248
62249 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
62250 if test "${with_gxx_include_dir+set}" = set; then
62251   withval="$with_gxx_include_dir"
62252   case "$withval" in
62253       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
62254 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
62255    { (exit 1); exit 1; }; } ;;
62256       no)  gxx_include_dir=no ;;
62257       *)   gxx_include_dir=$withval ;;
62258      esac
62259 else
62260   gxx_include_dir=no
62261 fi;
62262   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
62263 echo "${ECHO_T}$gxx_include_dir" >&6
62264
62265   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
62266 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
62267   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
62268 if test "${enable_version_specific_runtime_libs+set}" = set; then
62269   enableval="$enable_version_specific_runtime_libs"
62270   case "$enableval" in
62271       yes) version_specific_libs=yes ;;
62272       no)  version_specific_libs=no ;;
62273       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
62274 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
62275    { (exit 1); exit 1; }; };;
62276      esac
62277 else
62278   version_specific_libs=no
62279 fi;
62280   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
62281 echo "${ECHO_T}$version_specific_libs" >&6
62282
62283   # Default case for install directory for include files.
62284   if test $version_specific_libs = no && test $gxx_include_dir = no; then
62285     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
62286   fi
62287
62288   # Version-specific runtime libs processing.
62289   if test $version_specific_libs = yes; then
62290     # Need the gcc compiler version to know where to install libraries
62291     # and header files if --enable-version-specific-runtime-libs option
62292     # is selected.
62293     if test x"$gxx_include_dir" = x"no"; then
62294       gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
62295     fi
62296     glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
62297     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
62298   fi
62299
62300   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
62301   # Install a library built with a cross compiler in tooldir, not libdir.
62302   if test x"$glibcxx_toolexecdir" = x"no"; then
62303     if test -n "$with_cross_host" &&
62304        test x"$with_cross_host" != x"no"; then
62305       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
62306       glibcxx_toolexeclibdir='${toolexecdir}/lib'
62307     else
62308       glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
62309       glibcxx_toolexeclibdir='${libdir}'
62310     fi
62311     multi_os_directory=`$CXX -print-multi-os-directory`
62312     case $multi_os_directory in
62313       .) ;; # Avoid trailing /.
62314       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
62315     esac
62316   fi
62317
62318   echo "$as_me:$LINENO: checking for install location" >&5
62319 echo $ECHO_N "checking for install location... $ECHO_C" >&6
62320   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
62321 echo "${ECHO_T}$gxx_include_dir" >&6
62322
62323
62324
62325
62326
62327
62328
62329 # Export all the include and flag information to Makefiles.
62330
62331   # Used for every C++ compile we perform.
62332   GLIBCXX_INCLUDES="\
62333 -I$glibcxx_builddir/include/$host_alias \
62334 -I$glibcxx_builddir/include \
62335 -I$glibcxx_srcdir/libsupc++"
62336
62337   # For Canadian crosses, pick this up too.
62338   if test $CANADIAN = yes; then
62339     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
62340   fi
62341
62342   # Stuff in the actual top level.  Currently only used by libsupc++ to
62343   # get unwind* headers from the gcc dir.
62344   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
62345   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
62346
62347   # Now, export this to all the little Makefiles....
62348
62349
62350
62351
62352   # Optimization flags that are probably a good idea for thrill-seekers. Just
62353   # uncomment the lines below and make, everything else is ready to go...
62354   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
62355   OPTIMIZE_CXXFLAGS=
62356
62357
62358   WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
62359
62360
62361
62362 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
62363    grep "enable shared" > /dev/null;
62364 then
62365   LIBSUPCXX_PICFLAGS=-prefer-pic
62366 else
62367   LIBSUPCXX_PICFLAGS=
62368 fi
62369
62370
62371                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
62372
62373           ac_config_files="$ac_config_files scripts/check_survey"
62374
62375           ac_config_files="$ac_config_files scripts/testsuite_flags"
62376
62377
62378           ac_config_commands="$ac_config_commands default"
62379
62380
62381 cat >confcache <<\_ACEOF
62382 # This file is a shell script that caches the results of configure
62383 # tests run on this system so they can be shared between configure
62384 # scripts and configure runs, see configure's option --config-cache.
62385 # It is not useful on other systems.  If it contains results you don't
62386 # want to keep, you may remove or edit it.
62387 #
62388 # config.status only pays attention to the cache file if you give it
62389 # the --recheck option to rerun configure.
62390 #
62391 # `ac_cv_env_foo' variables (set or unset) will be overridden when
62392 # loading this file, other *unset* `ac_cv_foo' will be assigned the
62393 # following values.
62394
62395 _ACEOF
62396
62397 # The following way of writing the cache mishandles newlines in values,
62398 # but we know of no workaround that is simple, portable, and efficient.
62399 # So, don't put newlines in cache variables' values.
62400 # Ultrix sh set writes to stderr and can't be redirected directly,
62401 # and sets the high bit in the cache file unless we assign to the vars.
62402 {
62403   (set) 2>&1 |
62404     case `(ac_space=' '; set | grep ac_space) 2>&1` in
62405     *ac_space=\ *)
62406       # `set' does not quote correctly, so add quotes (double-quote
62407       # substitution turns \\\\ into \\, and sed turns \\ into \).
62408       sed -n \
62409         "s/'/'\\\\''/g;
62410           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62411       ;;
62412     *)
62413       # `set' quotes correctly as required by POSIX, so do not add quotes.
62414       sed -n \
62415         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
62416       ;;
62417     esac;
62418 } |
62419   sed '
62420      t clear
62421      : clear
62422      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62423      t end
62424      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62425      : end' >>confcache
62426 if diff $cache_file confcache >/dev/null 2>&1; then :; else
62427   if test -w $cache_file; then
62428     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
62429     cat confcache >$cache_file
62430   else
62431     echo "not updating unwritable cache $cache_file"
62432   fi
62433 fi
62434 rm -f confcache
62435
62436 test "x$prefix" = xNONE && prefix=$ac_default_prefix
62437 # Let make expand exec_prefix.
62438 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
62439
62440 # VPATH may cause trouble with some makes, so we remove $(srcdir),
62441 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
62442 # trailing colons and then remove the whole line if VPATH becomes empty
62443 # (actually we leave an empty line to preserve line numbers).
62444 if test "x$srcdir" = x.; then
62445   ac_vpsub='/^[         ]*VPATH[        ]*=/{
62446 s/:*\$(srcdir):*/:/;
62447 s/:*\${srcdir}:*/:/;
62448 s/:*@srcdir@:*/:/;
62449 s/^\([^=]*=[    ]*\):*/\1/;
62450 s/:*$//;
62451 s/^[^=]*=[      ]*$//;
62452 }'
62453 fi
62454
62455 DEFS=-DHAVE_CONFIG_H
62456
62457 ac_libobjs=
62458 ac_ltlibobjs=
62459 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
62460   # 1. Remove the extension, and $U if already installed.
62461   ac_i=`echo "$ac_i" |
62462          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
62463   # 2. Add them.
62464   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
62465   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
62466 done
62467 LIBOBJS=$ac_libobjs
62468
62469 LTLIBOBJS=$ac_ltlibobjs
62470
62471
62472 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
62473   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
62474 Usually this means the macro was only invoked conditionally." >&5
62475 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
62476 Usually this means the macro was only invoked conditionally." >&2;}
62477    { (exit 1); exit 1; }; }
62478 fi
62479 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
62480   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
62481 Usually this means the macro was only invoked conditionally." >&5
62482 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
62483 Usually this means the macro was only invoked conditionally." >&2;}
62484    { (exit 1); exit 1; }; }
62485 fi
62486 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
62487   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
62488 Usually this means the macro was only invoked conditionally." >&5
62489 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
62490 Usually this means the macro was only invoked conditionally." >&2;}
62491    { (exit 1); exit 1; }; }
62492 fi
62493 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
62494   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
62495 Usually this means the macro was only invoked conditionally." >&5
62496 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
62497 Usually this means the macro was only invoked conditionally." >&2;}
62498    { (exit 1); exit 1; }; }
62499 fi
62500 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
62501   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
62502 Usually this means the macro was only invoked conditionally." >&5
62503 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
62504 Usually this means the macro was only invoked conditionally." >&2;}
62505    { (exit 1); exit 1; }; }
62506 fi
62507 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
62508   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
62509 Usually this means the macro was only invoked conditionally." >&5
62510 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
62511 Usually this means the macro was only invoked conditionally." >&2;}
62512    { (exit 1); exit 1; }; }
62513 fi
62514 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
62515   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62516 Usually this means the macro was only invoked conditionally." >&5
62517 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62518 Usually this means the macro was only invoked conditionally." >&2;}
62519    { (exit 1); exit 1; }; }
62520 fi
62521 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
62522   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62523 Usually this means the macro was only invoked conditionally." >&5
62524 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62525 Usually this means the macro was only invoked conditionally." >&2;}
62526    { (exit 1); exit 1; }; }
62527 fi
62528 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
62529   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62530 Usually this means the macro was only invoked conditionally." >&5
62531 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62532 Usually this means the macro was only invoked conditionally." >&2;}
62533    { (exit 1); exit 1; }; }
62534 fi
62535 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
62536   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62537 Usually this means the macro was only invoked conditionally." >&5
62538 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62539 Usually this means the macro was only invoked conditionally." >&2;}
62540    { (exit 1); exit 1; }; }
62541 fi
62542
62543 : ${CONFIG_STATUS=./config.status}
62544 ac_clean_files_save=$ac_clean_files
62545 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
62546 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
62547 echo "$as_me: creating $CONFIG_STATUS" >&6;}
62548 cat >$CONFIG_STATUS <<_ACEOF
62549 #! $SHELL
62550 # Generated by $as_me.
62551 # Run this file to recreate the current configuration.
62552 # Compiler output produced by configure, useful for debugging
62553 # configure, is in config.log if it exists.
62554
62555 debug=false
62556 ac_cs_recheck=false
62557 ac_cs_silent=false
62558 SHELL=\${CONFIG_SHELL-$SHELL}
62559 _ACEOF
62560
62561 cat >>$CONFIG_STATUS <<\_ACEOF
62562 ## --------------------- ##
62563 ## M4sh Initialization.  ##
62564 ## --------------------- ##
62565
62566 # Be Bourne compatible
62567 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
62568   emulate sh
62569   NULLCMD=:
62570   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
62571   # is contrary to our usage.  Disable this feature.
62572   alias -g '${1+"$@"}'='"$@"'
62573 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
62574   set -o posix
62575 fi
62576
62577 # Support unset when possible.
62578 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62579   as_unset=unset
62580 else
62581   as_unset=false
62582 fi
62583
62584
62585 # Work around bugs in pre-3.0 UWIN ksh.
62586 $as_unset ENV MAIL MAILPATH
62587 PS1='$ '
62588 PS2='> '
62589 PS4='+ '
62590
62591 # NLS nuisances.
62592 for as_var in \
62593   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
62594   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
62595   LC_TELEPHONE LC_TIME
62596 do
62597   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
62598     eval $as_var=C; export $as_var
62599   else
62600     $as_unset $as_var
62601   fi
62602 done
62603
62604 # Required to use basename.
62605 if expr a : '\(a\)' >/dev/null 2>&1; then
62606   as_expr=expr
62607 else
62608   as_expr=false
62609 fi
62610
62611 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62612   as_basename=basename
62613 else
62614   as_basename=false
62615 fi
62616
62617
62618 # Name of the executable.
62619 as_me=`$as_basename "$0" ||
62620 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62621          X"$0" : 'X\(//\)$' \| \
62622          X"$0" : 'X\(/\)$' \| \
62623          .     : '\(.\)' 2>/dev/null ||
62624 echo X/"$0" |
62625     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
62626           /^X\/\(\/\/\)$/{ s//\1/; q; }
62627           /^X\/\(\/\).*/{ s//\1/; q; }
62628           s/.*/./; q'`
62629
62630
62631 # PATH needs CR, and LINENO needs CR and PATH.
62632 # Avoid depending upon Character Ranges.
62633 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62634 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62635 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62636 as_cr_digits='0123456789'
62637 as_cr_alnum=$as_cr_Letters$as_cr_digits
62638
62639 # The user is always right.
62640 if test "${PATH_SEPARATOR+set}" != set; then
62641   echo "#! /bin/sh" >conf$$.sh
62642   echo  "exit 0"   >>conf$$.sh
62643   chmod +x conf$$.sh
62644   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
62645     PATH_SEPARATOR=';'
62646   else
62647     PATH_SEPARATOR=:
62648   fi
62649   rm -f conf$$.sh
62650 fi
62651
62652
62653   as_lineno_1=$LINENO
62654   as_lineno_2=$LINENO
62655   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62656   test "x$as_lineno_1" != "x$as_lineno_2" &&
62657   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
62658   # Find who we are.  Look in the path if we contain no path at all
62659   # relative or not.
62660   case $0 in
62661     *[\\/]* ) as_myself=$0 ;;
62662     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62663 for as_dir in $PATH
62664 do
62665   IFS=$as_save_IFS
62666   test -z "$as_dir" && as_dir=.
62667   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
62668 done
62669
62670        ;;
62671   esac
62672   # We did not find ourselves, most probably we were run as `sh COMMAND'
62673   # in which case we are not to be found in the path.
62674   if test "x$as_myself" = x; then
62675     as_myself=$0
62676   fi
62677   if test ! -f "$as_myself"; then
62678     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
62679 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
62680    { (exit 1); exit 1; }; }
62681   fi
62682   case $CONFIG_SHELL in
62683   '')
62684     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62685 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
62686 do
62687   IFS=$as_save_IFS
62688   test -z "$as_dir" && as_dir=.
62689   for as_base in sh bash ksh sh5; do
62690          case $as_dir in
62691          /*)
62692            if ("$as_dir/$as_base" -c '
62693   as_lineno_1=$LINENO
62694   as_lineno_2=$LINENO
62695   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62696   test "x$as_lineno_1" != "x$as_lineno_2" &&
62697   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
62698              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
62699              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
62700              CONFIG_SHELL=$as_dir/$as_base
62701              export CONFIG_SHELL
62702              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
62703            fi;;
62704          esac
62705        done
62706 done
62707 ;;
62708   esac
62709
62710   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
62711   # uniformly replaced by the line number.  The first 'sed' inserts a
62712   # line-number line before each line; the second 'sed' does the real
62713   # work.  The second script uses 'N' to pair each line-number line
62714   # with the numbered line, and appends trailing '-' during
62715   # substitution so that $LINENO is not a special case at line end.
62716   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
62717   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
62718   sed '=' <$as_myself |
62719     sed '
62720       N
62721       s,$,-,
62722       : loop
62723       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
62724       t loop
62725       s,-$,,
62726       s,^['$as_cr_digits']*\n,,
62727     ' >$as_me.lineno &&
62728   chmod +x $as_me.lineno ||
62729     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
62730 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
62731    { (exit 1); exit 1; }; }
62732
62733   # Don't try to exec as it changes $[0], causing all sort of problems
62734   # (the dirname of $[0] is not the place where we might find the
62735   # original and so on.  Autoconf is especially sensible to this).
62736   . ./$as_me.lineno
62737   # Exit status is that of the last command.
62738   exit
62739 }
62740
62741
62742 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
62743   *c*,-n*) ECHO_N= ECHO_C='
62744 ' ECHO_T='      ' ;;
62745   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
62746   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
62747 esac
62748
62749 if expr a : '\(a\)' >/dev/null 2>&1; then
62750   as_expr=expr
62751 else
62752   as_expr=false
62753 fi
62754
62755 rm -f conf$$ conf$$.exe conf$$.file
62756 echo >conf$$.file
62757 if ln -s conf$$.file conf$$ 2>/dev/null; then
62758   # We could just check for DJGPP; but this test a) works b) is more generic
62759   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
62760   if test -f conf$$.exe; then
62761     # Don't use ln at all; we don't have any links
62762     as_ln_s='cp -p'
62763   else
62764     as_ln_s='ln -s'
62765   fi
62766 elif ln conf$$.file conf$$ 2>/dev/null; then
62767   as_ln_s=ln
62768 else
62769   as_ln_s='cp -p'
62770 fi
62771 rm -f conf$$ conf$$.exe conf$$.file
62772
62773 if mkdir -p . 2>/dev/null; then
62774   as_mkdir_p=:
62775 else
62776   as_mkdir_p=false
62777 fi
62778
62779 as_executable_p="test -f"
62780
62781 # Sed expression to map a string onto a valid CPP name.
62782 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62783
62784 # Sed expression to map a string onto a valid variable name.
62785 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
62786
62787
62788 # IFS
62789 # We need space, tab and new line, in precisely that order.
62790 as_nl='
62791 '
62792 IFS="   $as_nl"
62793
62794 # CDPATH.
62795 $as_unset CDPATH
62796
62797 exec 6>&1
62798
62799 # Open the log real soon, to keep \$[0] and so on meaningful, and to
62800 # report actual input values of CONFIG_FILES etc. instead of their
62801 # values after options handling.  Logging --version etc. is OK.
62802 exec 5>>config.log
62803 {
62804   echo
62805   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
62806 ## Running $as_me. ##
62807 _ASBOX
62808 } >&5
62809 cat >&5 <<_CSEOF
62810
62811 This file was extended by package-unused $as_me version-unused, which was
62812 generated by GNU Autoconf 2.57.  Invocation command line was
62813
62814   CONFIG_FILES    = $CONFIG_FILES
62815   CONFIG_HEADERS  = $CONFIG_HEADERS
62816   CONFIG_LINKS    = $CONFIG_LINKS
62817   CONFIG_COMMANDS = $CONFIG_COMMANDS
62818   $ $0 $@
62819
62820 _CSEOF
62821 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
62822 echo >&5
62823 _ACEOF
62824
62825 # Files that config.status was made for.
62826 if test -n "$ac_config_files"; then
62827   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
62828 fi
62829
62830 if test -n "$ac_config_headers"; then
62831   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
62832 fi
62833
62834 if test -n "$ac_config_links"; then
62835   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
62836 fi
62837
62838 if test -n "$ac_config_commands"; then
62839   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
62840 fi
62841
62842 cat >>$CONFIG_STATUS <<\_ACEOF
62843
62844 ac_cs_usage="\
62845 \`$as_me' instantiates files from templates according to the
62846 current configuration.
62847
62848 Usage: $0 [OPTIONS] [FILE]...
62849
62850   -h, --help       print this help, then exit
62851   -V, --version    print version number, then exit
62852   -q, --quiet      do not print progress messages
62853   -d, --debug      don't remove temporary files
62854       --recheck    update $as_me by reconfiguring in the same conditions
62855   --file=FILE[:TEMPLATE]
62856                    instantiate the configuration file FILE
62857   --header=FILE[:TEMPLATE]
62858                    instantiate the configuration header FILE
62859
62860 Configuration files:
62861 $config_files
62862
62863 Configuration headers:
62864 $config_headers
62865
62866 Configuration commands:
62867 $config_commands
62868
62869 Report bugs to <bug-autoconf@gnu.org>."
62870 _ACEOF
62871
62872 cat >>$CONFIG_STATUS <<_ACEOF
62873 ac_cs_version="\\
62874 package-unused config.status version-unused
62875 configured by $0, generated by GNU Autoconf 2.57,
62876   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
62877
62878 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
62879 Free Software Foundation, Inc.
62880 This config.status script is free software; the Free Software Foundation
62881 gives unlimited permission to copy, distribute and modify it."
62882 srcdir=$srcdir
62883 INSTALL="$INSTALL"
62884 _ACEOF
62885
62886 cat >>$CONFIG_STATUS <<\_ACEOF
62887 # If no file are specified by the user, then we need to provide default
62888 # value.  By we need to know if files were specified by the user.
62889 ac_need_defaults=:
62890 while test $# != 0
62891 do
62892   case $1 in
62893   --*=*)
62894     ac_option=`expr "x$1" : 'x\([^=]*\)='`
62895     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
62896     ac_shift=:
62897     ;;
62898   -*)
62899     ac_option=$1
62900     ac_optarg=$2
62901     ac_shift=shift
62902     ;;
62903   *) # This is not an option, so the user has probably given explicit
62904      # arguments.
62905      ac_option=$1
62906      ac_need_defaults=false;;
62907   esac
62908
62909   case $ac_option in
62910   # Handling of the options.
62911 _ACEOF
62912 cat >>$CONFIG_STATUS <<\_ACEOF
62913   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
62914     ac_cs_recheck=: ;;
62915   --version | --vers* | -V )
62916     echo "$ac_cs_version"; exit 0 ;;
62917   --he | --h)
62918     # Conflict between --help and --header
62919     { { echo "$as_me:$LINENO: error: ambiguous option: $1
62920 Try \`$0 --help' for more information." >&5
62921 echo "$as_me: error: ambiguous option: $1
62922 Try \`$0 --help' for more information." >&2;}
62923    { (exit 1); exit 1; }; };;
62924   --help | --hel | -h )
62925     echo "$ac_cs_usage"; exit 0 ;;
62926   --debug | --d* | -d )
62927     debug=: ;;
62928   --file | --fil | --fi | --f )
62929     $ac_shift
62930     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
62931     ac_need_defaults=false;;
62932   --header | --heade | --head | --hea )
62933     $ac_shift
62934     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
62935     ac_need_defaults=false;;
62936   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
62937   | -silent | --silent | --silen | --sile | --sil | --si | --s)
62938     ac_cs_silent=: ;;
62939
62940   # This is an error.
62941   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
62942 Try \`$0 --help' for more information." >&5
62943 echo "$as_me: error: unrecognized option: $1
62944 Try \`$0 --help' for more information." >&2;}
62945    { (exit 1); exit 1; }; } ;;
62946
62947   *) ac_config_targets="$ac_config_targets $1" ;;
62948
62949   esac
62950   shift
62951 done
62952
62953 ac_configure_extra_args=
62954
62955 if $ac_cs_silent; then
62956   exec 6>/dev/null
62957   ac_configure_extra_args="$ac_configure_extra_args --silent"
62958 fi
62959
62960 _ACEOF
62961 cat >>$CONFIG_STATUS <<_ACEOF
62962 if \$ac_cs_recheck; then
62963   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
62964   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
62965 fi
62966
62967 _ACEOF
62968
62969 cat >>$CONFIG_STATUS <<_ACEOF
62970 #
62971 # INIT-COMMANDS section.
62972 #
62973
62974
62975 srcdir="$srcdir"
62976 host="$host"
62977 target="$target"
62978 with_multisubdir="$with_multisubdir"
62979 with_multisrctop="$with_multisrctop"
62980 with_target_subdir="$with_target_subdir"
62981 ac_configure_args="${multilib_arg} ${ac_configure_args}"
62982 multi_basedir="$multi_basedir"
62983 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
62984 CC="$CC"
62985
62986 # Variables needed in config.status (file generation) which aren't already
62987 # passed by autoconf.
62988 SUBDIRS="$SUBDIRS"
62989
62990
62991 _ACEOF
62992
62993
62994
62995 cat >>$CONFIG_STATUS <<\_ACEOF
62996 for ac_config_target in $ac_config_targets
62997 do
62998   case "$ac_config_target" in
62999   # Handling of arguments.
63000   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
63001   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
63002   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
63003   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
63004   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
63005   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
63006   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
63007   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
63008   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
63009   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
63010   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
63011   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
63012   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
63013 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
63014    { (exit 1); exit 1; }; };;
63015   esac
63016 done
63017
63018 # If the user did not use the arguments to specify the items to instantiate,
63019 # then the envvar interface is used.  Set only those that are not.
63020 # We use the long form for the default assignment because of an extremely
63021 # bizarre bug on SunOS 4.1.3.
63022 if $ac_need_defaults; then
63023   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
63024   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
63025   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
63026 fi
63027
63028 # Have a temporary directory for convenience.  Make it in the build tree
63029 # simply because there is no reason to put it here, and in addition,
63030 # creating and moving files from /tmp can sometimes cause problems.
63031 # Create a temporary directory, and hook for its removal unless debugging.
63032 $debug ||
63033 {
63034   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
63035   trap '{ (exit 1); exit 1; }' 1 2 13 15
63036 }
63037
63038 # Create a (secure) tmp directory for tmp files.
63039
63040 {
63041   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
63042   test -n "$tmp" && test -d "$tmp"
63043 }  ||
63044 {
63045   tmp=./confstat$$-$RANDOM
63046   (umask 077 && mkdir $tmp)
63047 } ||
63048 {
63049    echo "$me: cannot create a temporary directory in ." >&2
63050    { (exit 1); exit 1; }
63051 }
63052
63053 _ACEOF
63054
63055 cat >>$CONFIG_STATUS <<_ACEOF
63056
63057 #
63058 # CONFIG_FILES section.
63059 #
63060
63061 # No need to generate the scripts if there are no CONFIG_FILES.
63062 # This happens for instance when ./config.status config.h
63063 if test -n "\$CONFIG_FILES"; then
63064   # Protect against being on the right side of a sed subst in config.status.
63065   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
63066    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
63067 s,@SHELL@,$SHELL,;t t
63068 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
63069 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
63070 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
63071 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
63072 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
63073 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
63074 s,@exec_prefix@,$exec_prefix,;t t
63075 s,@prefix@,$prefix,;t t
63076 s,@program_transform_name@,$program_transform_name,;t t
63077 s,@bindir@,$bindir,;t t
63078 s,@sbindir@,$sbindir,;t t
63079 s,@libexecdir@,$libexecdir,;t t
63080 s,@datadir@,$datadir,;t t
63081 s,@sysconfdir@,$sysconfdir,;t t
63082 s,@sharedstatedir@,$sharedstatedir,;t t
63083 s,@localstatedir@,$localstatedir,;t t
63084 s,@libdir@,$libdir,;t t
63085 s,@includedir@,$includedir,;t t
63086 s,@oldincludedir@,$oldincludedir,;t t
63087 s,@infodir@,$infodir,;t t
63088 s,@mandir@,$mandir,;t t
63089 s,@build_alias@,$build_alias,;t t
63090 s,@host_alias@,$host_alias,;t t
63091 s,@target_alias@,$target_alias,;t t
63092 s,@DEFS@,$DEFS,;t t
63093 s,@ECHO_C@,$ECHO_C,;t t
63094 s,@ECHO_N@,$ECHO_N,;t t
63095 s,@ECHO_T@,$ECHO_T,;t t
63096 s,@LIBS@,$LIBS,;t t
63097 s,@libtool_VERSION@,$libtool_VERSION,;t t
63098 s,@multi_basedir@,$multi_basedir,;t t
63099 s,@build@,$build,;t t
63100 s,@build_cpu@,$build_cpu,;t t
63101 s,@build_vendor@,$build_vendor,;t t
63102 s,@build_os@,$build_os,;t t
63103 s,@host@,$host,;t t
63104 s,@host_cpu@,$host_cpu,;t t
63105 s,@host_vendor@,$host_vendor,;t t
63106 s,@host_os@,$host_os,;t t
63107 s,@target@,$target,;t t
63108 s,@target_cpu@,$target_cpu,;t t
63109 s,@target_vendor@,$target_vendor,;t t
63110 s,@target_os@,$target_os,;t t
63111 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
63112 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
63113 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
63114 s,@CYGPATH_W@,$CYGPATH_W,;t t
63115 s,@PACKAGE@,$PACKAGE,;t t
63116 s,@VERSION@,$VERSION,;t t
63117 s,@ACLOCAL@,$ACLOCAL,;t t
63118 s,@AUTOCONF@,$AUTOCONF,;t t
63119 s,@AUTOMAKE@,$AUTOMAKE,;t t
63120 s,@AUTOHEADER@,$AUTOHEADER,;t t
63121 s,@MAKEINFO@,$MAKEINFO,;t t
63122 s,@AMTAR@,$AMTAR,;t t
63123 s,@install_sh@,$install_sh,;t t
63124 s,@STRIP@,$STRIP,;t t
63125 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
63126 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
63127 s,@AWK@,$AWK,;t t
63128 s,@SET_MAKE@,$SET_MAKE,;t t
63129 s,@am__leading_dot@,$am__leading_dot,;t t
63130 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
63131 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
63132 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
63133 s,@CC@,$CC,;t t
63134 s,@ac_ct_CC@,$ac_ct_CC,;t t
63135 s,@EXEEXT@,$EXEEXT,;t t
63136 s,@OBJEXT@,$OBJEXT,;t t
63137 s,@CXX@,$CXX,;t t
63138 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
63139 s,@CFLAGS@,$CFLAGS,;t t
63140 s,@CXXFLAGS@,$CXXFLAGS,;t t
63141 s,@LN_S@,$LN_S,;t t
63142 s,@AS@,$AS,;t t
63143 s,@ac_ct_AS@,$ac_ct_AS,;t t
63144 s,@AR@,$AR,;t t
63145 s,@ac_ct_AR@,$ac_ct_AR,;t t
63146 s,@RANLIB@,$RANLIB,;t t
63147 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
63148 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
63149 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
63150 s,@MAINT@,$MAINT,;t t
63151 s,@LIBTOOL@,$LIBTOOL,;t t
63152 s,@CXXCPP@,$CXXCPP,;t t
63153 s,@CPPFLAGS@,$CPPFLAGS,;t t
63154 s,@enable_shared@,$enable_shared,;t t
63155 s,@enable_static@,$enable_static,;t t
63156 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
63157 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
63158 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
63159 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
63160 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
63161 s,@CSTDIO_H@,$CSTDIO_H,;t t
63162 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
63163 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
63164 s,@CPP@,$CPP,;t t
63165 s,@EGREP@,$EGREP,;t t
63166 s,@check_msgfmt@,$check_msgfmt,;t t
63167 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
63168 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
63169 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
63170 s,@USE_NLS@,$USE_NLS,;t t
63171 s,@CLOCALE_H@,$CLOCALE_H,;t t
63172 s,@CCODECVT_H@,$CCODECVT_H,;t t
63173 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
63174 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
63175 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
63176 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
63177 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
63178 s,@CMONEY_CC@,$CMONEY_CC,;t t
63179 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
63180 s,@CTIME_H@,$CTIME_H,;t t
63181 s,@CTIME_CC@,$CTIME_CC,;t t
63182 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
63183 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
63184 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
63185 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
63186 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
63187 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
63188 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
63189 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
63190 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
63191 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
63192 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
63193 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
63194 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
63195 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
63196 s,@WERROR@,$WERROR,;t t
63197 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
63198 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
63199 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
63200 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
63201 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
63202 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
63203 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
63204 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
63205 s,@baseline_dir@,$baseline_dir,;t t
63206 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
63207 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
63208 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
63209 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
63210 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
63211 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
63212 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
63213 s,@gxx_include_dir@,$gxx_include_dir,;t t
63214 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
63215 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
63216 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
63217 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
63218 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
63219 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
63220 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
63221 s,@LIBOBJS@,$LIBOBJS,;t t
63222 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
63223 CEOF
63224
63225 _ACEOF
63226
63227   cat >>$CONFIG_STATUS <<\_ACEOF
63228   # Split the substitutions into bite-sized pieces for seds with
63229   # small command number limits, like on Digital OSF/1 and HP-UX.
63230   ac_max_sed_lines=48
63231   ac_sed_frag=1 # Number of current file.
63232   ac_beg=1 # First line for current file.
63233   ac_end=$ac_max_sed_lines # Line after last line for current file.
63234   ac_more_lines=:
63235   ac_sed_cmds=
63236   while $ac_more_lines; do
63237     if test $ac_beg -gt 1; then
63238       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
63239     else
63240       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
63241     fi
63242     if test ! -s $tmp/subs.frag; then
63243       ac_more_lines=false
63244     else
63245       # The purpose of the label and of the branching condition is to
63246       # speed up the sed processing (if there are no `@' at all, there
63247       # is no need to browse any of the substitutions).
63248       # These are the two extra sed commands mentioned above.
63249       (echo ':t
63250   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
63251       if test -z "$ac_sed_cmds"; then
63252         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
63253       else
63254         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
63255       fi
63256       ac_sed_frag=`expr $ac_sed_frag + 1`
63257       ac_beg=$ac_end
63258       ac_end=`expr $ac_end + $ac_max_sed_lines`
63259     fi
63260   done
63261   if test -z "$ac_sed_cmds"; then
63262     ac_sed_cmds=cat
63263   fi
63264 fi # test -n "$CONFIG_FILES"
63265
63266 _ACEOF
63267 cat >>$CONFIG_STATUS <<\_ACEOF
63268 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
63269   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
63270   case $ac_file in
63271   - | *:- | *:-:* ) # input from stdin
63272         cat >$tmp/stdin
63273         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63274         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63275   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63276         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63277   * )   ac_file_in=$ac_file.in ;;
63278   esac
63279
63280   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
63281   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63283          X"$ac_file" : 'X\(//\)[^/]' \| \
63284          X"$ac_file" : 'X\(//\)$' \| \
63285          X"$ac_file" : 'X\(/\)' \| \
63286          .     : '\(.\)' 2>/dev/null ||
63287 echo X"$ac_file" |
63288     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63289           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63290           /^X\(\/\/\)$/{ s//\1/; q; }
63291           /^X\(\/\).*/{ s//\1/; q; }
63292           s/.*/./; q'`
63293   { if $as_mkdir_p; then
63294     mkdir -p "$ac_dir"
63295   else
63296     as_dir="$ac_dir"
63297     as_dirs=
63298     while test ! -d "$as_dir"; do
63299       as_dirs="$as_dir $as_dirs"
63300       as_dir=`(dirname "$as_dir") 2>/dev/null ||
63301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63302          X"$as_dir" : 'X\(//\)[^/]' \| \
63303          X"$as_dir" : 'X\(//\)$' \| \
63304          X"$as_dir" : 'X\(/\)' \| \
63305          .     : '\(.\)' 2>/dev/null ||
63306 echo X"$as_dir" |
63307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63308           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63309           /^X\(\/\/\)$/{ s//\1/; q; }
63310           /^X\(\/\).*/{ s//\1/; q; }
63311           s/.*/./; q'`
63312     done
63313     test ! -n "$as_dirs" || mkdir $as_dirs
63314   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63315 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63316    { (exit 1); exit 1; }; }; }
63317
63318   ac_builddir=.
63319
63320 if test "$ac_dir" != .; then
63321   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63322   # A "../" for each directory in $ac_dir_suffix.
63323   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63324 else
63325   ac_dir_suffix= ac_top_builddir=
63326 fi
63327
63328 case $srcdir in
63329   .)  # No --srcdir option.  We are building in place.
63330     ac_srcdir=.
63331     if test -z "$ac_top_builddir"; then
63332        ac_top_srcdir=.
63333     else
63334        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63335     fi ;;
63336   [\\/]* | ?:[\\/]* )  # Absolute path.
63337     ac_srcdir=$srcdir$ac_dir_suffix;
63338     ac_top_srcdir=$srcdir ;;
63339   *) # Relative path.
63340     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63341     ac_top_srcdir=$ac_top_builddir$srcdir ;;
63342 esac
63343 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63344 # absolute.
63345 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63346 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63347 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63348 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63349
63350
63351   case $INSTALL in
63352   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
63353   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
63354   esac
63355
63356   if test x"$ac_file" != x-; then
63357     { echo "$as_me:$LINENO: creating $ac_file" >&5
63358 echo "$as_me: creating $ac_file" >&6;}
63359     rm -f "$ac_file"
63360   fi
63361   # Let's still pretend it is `configure' which instantiates (i.e., don't
63362   # use $as_me), people would be surprised to read:
63363   #    /* config.h.  Generated by config.status.  */
63364   if test x"$ac_file" = x-; then
63365     configure_input=
63366   else
63367     configure_input="$ac_file.  "
63368   fi
63369   configure_input=$configure_input"Generated from `echo $ac_file_in |
63370                                      sed 's,.*/,,'` by configure."
63371
63372   # First look for the input files in the build tree, otherwise in the
63373   # src tree.
63374   ac_file_inputs=`IFS=:
63375     for f in $ac_file_in; do
63376       case $f in
63377       -) echo $tmp/stdin ;;
63378       [\\/$]*)
63379          # Absolute (can't be DOS-style, as IFS=:)
63380          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63381 echo "$as_me: error: cannot find input file: $f" >&2;}
63382    { (exit 1); exit 1; }; }
63383          echo $f;;
63384       *) # Relative
63385          if test -f "$f"; then
63386            # Build tree
63387            echo $f
63388          elif test -f "$srcdir/$f"; then
63389            # Source tree
63390            echo $srcdir/$f
63391          else
63392            # /dev/null tree
63393            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63394 echo "$as_me: error: cannot find input file: $f" >&2;}
63395    { (exit 1); exit 1; }; }
63396          fi;;
63397       esac
63398     done` || { (exit 1); exit 1; }
63399 _ACEOF
63400 cat >>$CONFIG_STATUS <<_ACEOF
63401   sed "$ac_vpsub
63402 $extrasub
63403 _ACEOF
63404 cat >>$CONFIG_STATUS <<\_ACEOF
63405 :t
63406 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
63407 s,@configure_input@,$configure_input,;t t
63408 s,@srcdir@,$ac_srcdir,;t t
63409 s,@abs_srcdir@,$ac_abs_srcdir,;t t
63410 s,@top_srcdir@,$ac_top_srcdir,;t t
63411 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
63412 s,@builddir@,$ac_builddir,;t t
63413 s,@abs_builddir@,$ac_abs_builddir,;t t
63414 s,@top_builddir@,$ac_top_builddir,;t t
63415 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
63416 s,@INSTALL@,$ac_INSTALL,;t t
63417 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
63418   rm -f $tmp/stdin
63419   if test x"$ac_file" != x-; then
63420     mv $tmp/out $ac_file
63421   else
63422     cat $tmp/out
63423     rm -f $tmp/out
63424   fi
63425
63426   # Run the commands associated with the file.
63427   case $ac_file in
63428     scripts/check_survey ) chmod +x scripts/check_survey ;;
63429     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
63430   esac
63431 done
63432 _ACEOF
63433 cat >>$CONFIG_STATUS <<\_ACEOF
63434
63435 #
63436 # CONFIG_HEADER section.
63437 #
63438
63439 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
63440 # NAME is the cpp macro being defined and VALUE is the value it is being given.
63441 #
63442 # ac_d sets the value in "#define NAME VALUE" lines.
63443 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
63444 ac_dB='[        ].*$,\1#\2'
63445 ac_dC=' '
63446 ac_dD=',;t'
63447 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
63448 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
63449 ac_uB='$,\1#\2define\3'
63450 ac_uC=' '
63451 ac_uD=',;t'
63452
63453 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
63454   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
63455   case $ac_file in
63456   - | *:- | *:-:* ) # input from stdin
63457         cat >$tmp/stdin
63458         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63459         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63460   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63461         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63462   * )   ac_file_in=$ac_file.in ;;
63463   esac
63464
63465   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
63466 echo "$as_me: creating $ac_file" >&6;}
63467
63468   # First look for the input files in the build tree, otherwise in the
63469   # src tree.
63470   ac_file_inputs=`IFS=:
63471     for f in $ac_file_in; do
63472       case $f in
63473       -) echo $tmp/stdin ;;
63474       [\\/$]*)
63475          # Absolute (can't be DOS-style, as IFS=:)
63476          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63477 echo "$as_me: error: cannot find input file: $f" >&2;}
63478    { (exit 1); exit 1; }; }
63479          echo $f;;
63480       *) # Relative
63481          if test -f "$f"; then
63482            # Build tree
63483            echo $f
63484          elif test -f "$srcdir/$f"; then
63485            # Source tree
63486            echo $srcdir/$f
63487          else
63488            # /dev/null tree
63489            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63490 echo "$as_me: error: cannot find input file: $f" >&2;}
63491    { (exit 1); exit 1; }; }
63492          fi;;
63493       esac
63494     done` || { (exit 1); exit 1; }
63495   # Remove the trailing spaces.
63496   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
63497
63498 _ACEOF
63499
63500 # Transform confdefs.h into two sed scripts, `conftest.defines' and
63501 # `conftest.undefs', that substitutes the proper values into
63502 # config.h.in to produce config.h.  The first handles `#define'
63503 # templates, and the second `#undef' templates.
63504 # And first: Protect against being on the right side of a sed subst in
63505 # config.status.  Protect against being in an unquoted here document
63506 # in config.status.
63507 rm -f conftest.defines conftest.undefs
63508 # Using a here document instead of a string reduces the quoting nightmare.
63509 # Putting comments in sed scripts is not portable.
63510 #
63511 # `end' is used to avoid that the second main sed command (meant for
63512 # 0-ary CPP macros) applies to n-ary macro definitions.
63513 # See the Autoconf documentation for `clear'.
63514 cat >confdef2sed.sed <<\_ACEOF
63515 s/[\\&,]/\\&/g
63516 s,[\\$`],\\&,g
63517 t clear
63518 : clear
63519 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
63520 t end
63521 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
63522 : end
63523 _ACEOF
63524 # If some macros were called several times there might be several times
63525 # the same #defines, which is useless.  Nevertheless, we may not want to
63526 # sort them, since we want the *last* AC-DEFINE to be honored.
63527 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
63528 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
63529 rm -f confdef2sed.sed
63530
63531 # This sed command replaces #undef with comments.  This is necessary, for
63532 # example, in the case of _POSIX_SOURCE, which is predefined and required
63533 # on some systems where configure will not decide to define it.
63534 cat >>conftest.undefs <<\_ACEOF
63535 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
63536 _ACEOF
63537
63538 # Break up conftest.defines because some shells have a limit on the size
63539 # of here documents, and old seds have small limits too (100 cmds).
63540 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
63541 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
63542 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
63543 echo '  :' >>$CONFIG_STATUS
63544 rm -f conftest.tail
63545 while grep . conftest.defines >/dev/null
63546 do
63547   # Write a limited-size here document to $tmp/defines.sed.
63548   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
63549   # Speed up: don't consider the non `#define' lines.
63550   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
63551   # Work around the forget-to-reset-the-flag bug.
63552   echo 't clr' >>$CONFIG_STATUS
63553   echo ': clr' >>$CONFIG_STATUS
63554   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
63555   echo 'CEOF
63556   sed -f $tmp/defines.sed $tmp/in >$tmp/out
63557   rm -f $tmp/in
63558   mv $tmp/out $tmp/in
63559 ' >>$CONFIG_STATUS
63560   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
63561   rm -f conftest.defines
63562   mv conftest.tail conftest.defines
63563 done
63564 rm -f conftest.defines
63565 echo '  fi # grep' >>$CONFIG_STATUS
63566 echo >>$CONFIG_STATUS
63567
63568 # Break up conftest.undefs because some shells have a limit on the size
63569 # of here documents, and old seds have small limits too (100 cmds).
63570 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
63571 rm -f conftest.tail
63572 while grep . conftest.undefs >/dev/null
63573 do
63574   # Write a limited-size here document to $tmp/undefs.sed.
63575   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
63576   # Speed up: don't consider the non `#undef'
63577   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
63578   # Work around the forget-to-reset-the-flag bug.
63579   echo 't clr' >>$CONFIG_STATUS
63580   echo ': clr' >>$CONFIG_STATUS
63581   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
63582   echo 'CEOF
63583   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
63584   rm -f $tmp/in
63585   mv $tmp/out $tmp/in
63586 ' >>$CONFIG_STATUS
63587   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
63588   rm -f conftest.undefs
63589   mv conftest.tail conftest.undefs
63590 done
63591 rm -f conftest.undefs
63592
63593 cat >>$CONFIG_STATUS <<\_ACEOF
63594   # Let's still pretend it is `configure' which instantiates (i.e., don't
63595   # use $as_me), people would be surprised to read:
63596   #    /* config.h.  Generated by config.status.  */
63597   if test x"$ac_file" = x-; then
63598     echo "/* Generated by configure.  */" >$tmp/config.h
63599   else
63600     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
63601   fi
63602   cat $tmp/in >>$tmp/config.h
63603   rm -f $tmp/in
63604   if test x"$ac_file" != x-; then
63605     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
63606       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
63607 echo "$as_me: $ac_file is unchanged" >&6;}
63608     else
63609       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63611          X"$ac_file" : 'X\(//\)[^/]' \| \
63612          X"$ac_file" : 'X\(//\)$' \| \
63613          X"$ac_file" : 'X\(/\)' \| \
63614          .     : '\(.\)' 2>/dev/null ||
63615 echo X"$ac_file" |
63616     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63617           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63618           /^X\(\/\/\)$/{ s//\1/; q; }
63619           /^X\(\/\).*/{ s//\1/; q; }
63620           s/.*/./; q'`
63621       { if $as_mkdir_p; then
63622     mkdir -p "$ac_dir"
63623   else
63624     as_dir="$ac_dir"
63625     as_dirs=
63626     while test ! -d "$as_dir"; do
63627       as_dirs="$as_dir $as_dirs"
63628       as_dir=`(dirname "$as_dir") 2>/dev/null ||
63629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63630          X"$as_dir" : 'X\(//\)[^/]' \| \
63631          X"$as_dir" : 'X\(//\)$' \| \
63632          X"$as_dir" : 'X\(/\)' \| \
63633          .     : '\(.\)' 2>/dev/null ||
63634 echo X"$as_dir" |
63635     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63636           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63637           /^X\(\/\/\)$/{ s//\1/; q; }
63638           /^X\(\/\).*/{ s//\1/; q; }
63639           s/.*/./; q'`
63640     done
63641     test ! -n "$as_dirs" || mkdir $as_dirs
63642   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63644    { (exit 1); exit 1; }; }; }
63645
63646       rm -f $ac_file
63647       mv $tmp/config.h $ac_file
63648     fi
63649   else
63650     cat $tmp/config.h
63651     rm -f $tmp/config.h
63652   fi
63653 # Compute $ac_file's index in $config_headers.
63654 _am_stamp_count=1
63655 for _am_header in $config_headers :; do
63656   case $_am_header in
63657     $ac_file | $ac_file:* )
63658       break ;;
63659     * )
63660       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
63661   esac
63662 done
63663 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
63664 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63665          X$ac_file : 'X\(//\)[^/]' \| \
63666          X$ac_file : 'X\(//\)$' \| \
63667          X$ac_file : 'X\(/\)' \| \
63668          .     : '\(.\)' 2>/dev/null ||
63669 echo X$ac_file |
63670     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63671           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63672           /^X\(\/\/\)$/{ s//\1/; q; }
63673           /^X\(\/\).*/{ s//\1/; q; }
63674           s/.*/./; q'`/stamp-h$_am_stamp_count
63675 done
63676 _ACEOF
63677 cat >>$CONFIG_STATUS <<\_ACEOF
63678
63679 #
63680 # CONFIG_COMMANDS section.
63681 #
63682 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
63683   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
63684   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
63685   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
63686 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63687          X"$ac_dest" : 'X\(//\)[^/]' \| \
63688          X"$ac_dest" : 'X\(//\)$' \| \
63689          X"$ac_dest" : 'X\(/\)' \| \
63690          .     : '\(.\)' 2>/dev/null ||
63691 echo X"$ac_dest" |
63692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63693           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63694           /^X\(\/\/\)$/{ s//\1/; q; }
63695           /^X\(\/\).*/{ s//\1/; q; }
63696           s/.*/./; q'`
63697   ac_builddir=.
63698
63699 if test "$ac_dir" != .; then
63700   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63701   # A "../" for each directory in $ac_dir_suffix.
63702   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63703 else
63704   ac_dir_suffix= ac_top_builddir=
63705 fi
63706
63707 case $srcdir in
63708   .)  # No --srcdir option.  We are building in place.
63709     ac_srcdir=.
63710     if test -z "$ac_top_builddir"; then
63711        ac_top_srcdir=.
63712     else
63713        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63714     fi ;;
63715   [\\/]* | ?:[\\/]* )  # Absolute path.
63716     ac_srcdir=$srcdir$ac_dir_suffix;
63717     ac_top_srcdir=$srcdir ;;
63718   *) # Relative path.
63719     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63720     ac_top_srcdir=$ac_top_builddir$srcdir ;;
63721 esac
63722 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63723 # absolute.
63724 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63725 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63726 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63727 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63728
63729
63730   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
63731 echo "$as_me: executing $ac_dest commands" >&6;}
63732   case $ac_dest in
63733     default-1 )
63734 # Only add multilib support code if we just rebuilt the top-level
63735 # Makefile.
63736 case " $CONFIG_FILES " in
63737  *" Makefile "*)
63738    ac_file=Makefile . ${multi_basedir}/config-ml.in
63739    ;;
63740 esac ;;
63741     default ) if test -n "$CONFIG_FILES"; then
63742    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
63743    # that multilib installs will end up installed in the correct place.
63744    # The testsuite needs it for multilib-aware ABI baseline files.
63745    # To work around this not being passed down from config-ml.in ->
63746    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
63747    # append it here.  Only modify Makefiles that have just been created.
63748    #
63749    # Also, get rid of this simulated-VPATH thing that automake does.
63750    cat > vpsed << \_EOF
63751 s!`test -f '$<' || echo '$(srcdir)/'`!!
63752 _EOF
63753    for i in $SUBDIRS; do
63754     case $CONFIG_FILES in
63755      *${i}/Makefile*)
63756        #echo "Adding MULTISUBDIR to $i/Makefile"
63757        sed -f vpsed $i/Makefile > tmp
63758        grep '^MULTISUBDIR =' Makefile >> tmp
63759        mv tmp $i/Makefile
63760        ;;
63761     esac
63762    done
63763    rm vpsed
63764  fi
63765  (cd include && ${MAKE-make})
63766  ;;
63767   esac
63768 done
63769 _ACEOF
63770
63771 cat >>$CONFIG_STATUS <<\_ACEOF
63772
63773 { (exit 0); exit 0; }
63774 _ACEOF
63775 chmod +x $CONFIG_STATUS
63776 ac_clean_files=$ac_clean_files_save
63777
63778
63779 # configure is writing to config.log, and then calls config.status.
63780 # config.status does its own redirection, appending to config.log.
63781 # Unfortunately, on DOS this fails, as config.log is still kept open
63782 # by configure, so config.status won't be able to write to it; its
63783 # output is simply discarded.  So we exec the FD to /dev/null,
63784 # effectively closing config.log, so it can be properly (re)opened and
63785 # appended to by config.status.  When coming back to configure, we
63786 # need to make the FD available again.
63787 if test "$no_create" != yes; then
63788   ac_cs_success=:
63789   ac_config_status_args=
63790   test "$silent" = yes &&
63791     ac_config_status_args="$ac_config_status_args --quiet"
63792   exec 5>/dev/null
63793   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
63794   exec 5>>config.log
63795   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
63796   # would make configure fail if this is the last instruction.
63797   $ac_cs_success || { (exit 1); exit 1; }
63798 fi
63799